Releases: Mezzanine-UI/mezzanine
v0.13.12
What's Changed
- Fix autocomplete search text regex, #217
(cherry-pick from v0.14)
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.13.11...@mezzanine-ui/react@0.13.12
v0.14.3
What's Changed
- Fix table column ellipsis
- Allow render custom element on Tooltip
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.14.2...@mezzanine-ui/react@0.14.3
v0.14.2
What's Changed
- Bug fixing for Calendar components and some new features by @travor20814 in #214
- Added
disabledMonthSwitch
anddisabledYearSwitch
, now allowing control over whether to disable the month/year switch buttons. - Fixed the bug in
isWeekDisabled
where the correct input was not being passed along with its typings. - Now, when
isYearDisabled
andisMonthDisabled
are passed, they will be synchronized and applied to their subsets.- In mode="month", it will now be affected by
isYearDisabled
. - In mode="week", it will now be affected by
isYearDisabled
andisMonthDisabled
. - In mode="day", it will now be affected by
isYearDisabled
andisMonthDisabled
.
- In mode="month", it will now be affected by
- Fixed issues with the Storybook examples.
- Added
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.14.1...@mezzanine-ui/react@0.14.2
v0.14.1
What's Changed
- Fix portal error when in SSR mode
- extend all colors for icon (text-primary, text-secondary ... etc)
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.14.0...@mezzanine-ui/react@0.14.1
v0.14.0
BREAKING CHANGES
The TableColumn
type of the Table
component has been refactored. Now, you cannot simultaneously use column.dataIndex
and column.render
(since the original column.render
would overwrite column.dataIndex
), and you cannot use title
and renderTitle
at the same time. Therefore, if you were already using the correct syntax, this change will not affect you.
// previous
const columns: TableColumn<SourceType> = [{
dataIndex: 'foo', // no effect and no type error
render: (source) => source.foo, // This will overwrite dataIndex
title: 'Foo title',
}];
// current
const columns: TableColumn<SourceType> = [{
// dataIndex: 'foo', /* This will cause TypeError: `dataIndex` should be undefined */
render: (source) => source.foo,
title: 'Foo title',
}];
Additionally, we have added column.key
. If you are using column.onSorted
, we recommend modifying it as follows:
const columns: TableColumn<SourceType> = [{
key: 'foo-key', // optional
dataIndex: 'foo',
title: 'Foo title',
onSorted: (key, sortedType) => {
/* key will be `foo-key`;
* If `column.key` is not provided, it will be automatically generated by mzn as a string.
*/
},
}];
What's Changed
<Table />
refactor by @travor20814 in #212
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.13.11...@mezzanine-ui/react@0.14.0
v0.13.11
What's Changed
- Storybook v7 by @travor20814 in #209
- Some Bug fixed and New Icons by @travor20814 in #211
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.13.10...@mezzanine-ui/react@0.13.11
v0.13.10
Bug Fix
- Select / Autocomplete can trigger open/close when clicked on suffix icon
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.13.9...@mezzanine-ui/react@0.13.10
v0.12.10
v0.12.x version hotfix
- Select / Autocomplete can trigger open/close when clicked on suffix icon
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.12.9...@mezzanine-ui/react@0.12.10
v0.13.9
What's Changed
- feat(react/select): allow generic on SelectValue id type by @fantasywind in #208
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.13.8...@mezzanine-ui/react@0.13.9
v0.13.8
What's Changed
- feat(react/select/autocomplete): clear search text after insert option by @ting-ting-ting in #207
Full Changelog: https://github.com/Mezzanine-UI/mezzanine/compare/@mezzanine-ui/react@0.13.7...@mezzanine-ui/react@0.13.8