Releases: Mezzanine-UI/mezzanine
v0.15.3
What's Changed
- feat(react/autocomplete): add props.searchTextControlRef to allow customize inner search text
- Previously, the
<AutoComplete />
couldn't be controlled externally for search text, which prevented certain custom behaviors. Now, it can be controlled externally. For Example:
const searchTextControlRef = useRef<{ setSearchText: Dispatch<SetStateAction<string>>; }>(); useEffect(() => { // do something // ... const { current: searchTextControl } = searchTextControlRef; if (searchTextControl) { // clear Autocomplete search text searchTextControl.setSearchText(''); } }, []); return ( <AutoComplete searchTextControlRef={searchTextControlRef} /> );
- Previously, the
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.15.2...@mezzanine-ui/react@0.15.3
v0.15.2
What's Changed
- fix(core): luxon calendar methods month correction by @fantasywind in #228
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.15.1...@mezzanine-ui/react@0.15.2
v0.15.1
What's Changed
Feature
- 'Anchor' component implemented by @travor20814 in #227. Storybook Link
Bug Fixed
- Fix the issue that
getScrollbarWidth
should be called before body locked.
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.15.0...@mezzanine-ui/react@0.15.1
v0.15.0
No User Notable Changes
Bump minor version to 15 just in case. For more detailed update information, see #226
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.14.10...@mezzanine-ui/react@0.15.0
v0.14.10
What's Changed
- Fix the bug where scroll lock will cause layout shifting by @travor20814 in #225
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.14.9...@mezzanine-ui/react@0.14.10
v0.13.13
This update is for backward compatibility only.
New Utils:
- function
getScrollbarWidth
can get the scroll bar width
Bug Fix:
- Fix(react/utils): Fix the bug where scroll lock will cause layout shifting
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.13.12...@mezzanine-ui/react@0.13.13
v0.14.9
What's Changed
Project Structure Update:
- yarn
v1
->v4
- storybook
v7.5.2
->v7.6.20
- react
v18.2.0
->v18.3.1
- rollup typescript plugin update
Storybook Update:
- use mdx2 (prepare for storybook v8, mdx1 is not available in storybook v8)
- remove @storybook/addon-onboarding
Feature Update / Bug fixed:
- Remove
react-beautiful-dnd
and use@hello-pangea/dnd
for drag-n-drop feature instead. - Add
Drag
icon definition for@mezzanine-ui/icons
. - Fix
<Message />
key spread warning. - Fix
<TableBodyRow />
key spread warning.
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.14.8...@mezzanine-ui/react@0.14.9
v0.14.8
What's Changed
- Fix: Table fix type of bodyRowClassName by @ting-ting-ting in #220
- Feature: Table
props.rowSelection.disabledRowKeys
by @travor20814 in #221
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.14.7...@mezzanine-ui/react@0.14.8
v0.14.5
What's Changed
- Fixed a bug where the
<Select />
component was unexpectedly closing on mobile devices, ref issue #215 - Added the
weight
prop to<Typography />
, allowing customization of the font weight.
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.14.4...@mezzanine-ui/react@0.14.5
v0.14.4
What's Changed
- Fix autocomplete search text regex, #217
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.14.3...@mezzanine-ui/react@0.14.4