Releases: kronostechnologies/design-elements
Releases · kronostechnologies/design-elements
v5.2.4
v5.2.3
v5.2.2
v5.2.1
v5.2.0
v5.1.0
v5.0.2
v5.0.1
v5.0.0
This major version brings support for React 18 with Typescript. This means that the library should work with React 17 and React 18 types.
The support for React 18 introduces a breaking change : we bumped react-router from v5 to v6.
⚠ BREAKING CHANGES
- migrate to react router v6 (3951648)
- rename
exact
prop toend
in NavMenu, GlobalNavigation, RouteLink, NavItem, NavMenuItem, and NavMenuOption to follow react-router v6 rename (3951648)
Features
- Support for React 18 with Typescript (74e163f)
- Lozenge: add default lozenge type in LozengeType enum (74d2869)
- Lozenge: add lozenge types (88c1569)
- Modal: add parentSelector (1cb1ac5)
- RadioButtonGroup: add tooltip to label (1a329f5)
- SectionalBanner: allow custom children type (c8ecf11)
- Tag: add forwardRef to Tag component (adf9fb5)
Bug Fixes
- Datepicker: fix width on wrapper (33dc9c0)
- DesignSystem: styleSheetManager allows only one child (7a3d31e)
- Lozenge: set font weight to 400 (71aad1f)
Libraries updates
- Updated date-fns from v2.22 to v2.29
- Updated react-datepicker from v4.1 to v4.8
- Updated react-modal from v3.14 to v3.16
- Updated react-popper-tooltip from v4.3 to v4.4
- Updated react-router and react-router-dom from v5 to v6
- Updated react-swipeable from v6.1 to v7.0
- Updated react-table from v7.7 to v7.8.0
Full Changelog: v4.1.0...v5.0.0
v4.1.0
Features
- add controllable data-testid to inputs (01ad6d5)
- Badge: add badge component (af928de)
- Badge: add offset props (7e3aa78)
- BentoMenuButton: add productGroups props (bea770c)
- Button: set button default html type to button (#441) (aad36a4)
- GlobalBanner: add onDismiss callback (5e1b0d1)
- Icon: add alert circle icon (14ac346)
- Icon: add megaphone icon (3182b69)
- IconGallery: use IconGallery to display icon components (5ea3ca4)
- PasswordCreationInput: create password creation input component (1e4215f)
- PhoneInput: add controllable data-testid (9a20ed6)
- RadioButtonGroup: add controllable data-testid (882a13d)
- Tabs: add onBeforeUnload callback to tabs (9874a4f)
- Tabs: make onBeforeUnload async (edd8d02)
Bug Fixes
- DatePicker: day names appear over the first row of the calendar (3c508f0)
- ListBox: increase list box z-index (2d74260)
- Select: fix select options when a value is already selected (a2d096d)
- Storybook: stories in the wrong order (migrate to SB v6.5) (d16a669)
- Tabs: allow Tabs to have a stable id (2683dd2)