Releases: equinor/design-system
Releases · equinor/design-system
[email protected]
[0.32.2] - 2023-07-13
Fixed
- 🐛
Rollup
config: addedinterop: auto
. This fixes an issue with the commonJs build where jest was unable to resolve styled-components in downstream tests
[email protected]
[0.32.1] - 2023-07-11
Changed
- ⏪️ Added back commonjs build and changed file extension of modules from
.mjs
to.js
due to a compatability issue withReact 17
. - 📌 Restricted
styled-components
to below version 6 inpeerDependencies
. this package does not support v6 yet.
[email protected]
[0.8.0] - 2023-07-10
Changed
- 💄
useHideBodyScroll
: added scrollbar detection and handling to prevent layout shift by @oddvernes in #2950 - ⬆️Updated dependencies by @oddvernes in #2925
- ⬆️Updated Rollup to v3.x by @oddvernes in #2908
Removed
- 🔥Removed deprecated usePopper hook by @oddvernes in #2955
[email protected]
[0.32.0] - 2023-07-10
Fixed
- 🐛
Autocomplete
: Allow option value of 0 by @oddvernes in #2957 - 🐛
Popover
,Card
: fixed style-syntax that affected users withstyled-components
v6 in by @oddvernes in #2953 - 🐛
Typography
: makecolor
a transient prop so it doesn't show up in the dom by @oddvernes in #2952 - 💄
Sidebar
: Remove visible scrollbar when collapsed by @oddvernes in #2863
Changed
- ♻️🚸
Dialog
: Refactored to use native dialog under the hood by @oddvernes in #2950 - ⚡️
Tabs
: conditionally render tab panels (previously display:none) by @oddvernes in #2947 - ⬆️ updated dependencies by @oddvernes in #2925
- ⬆️ Update floating-ui by @oddvernes in #2922
- ⬆️ Upgrade rollup to v3 by @oddvernes in #2908
- 🚸
Scrim
/Dialog
: trigger dismiss on mousedown to prevent accidental "click outside" by @oddvernes in #2923 - 📝
Autocomplete
: Improved selectAll story in storybook by @denektenina in #2883 - 📝 Storybook, improved documentation: Add null as a possible value for useState hooks that receive HTML elements to avoid type error by @FredrikMWold in #2891
- ⬆️ Storybook updated to v7 by @oddvernes in #2866
- 🚸
SideBar.Accordion
: Made the wayisExpanded
works more intuitive by @denektenina in #2870
Added
- ✅ Added test coverage for the new
SideBar.Accordion
andSideBar.AccordionItem
by @denektenina in #2867
Removed
- 🔥 Commonjs build was removed from the published package in this release
New Contributors
- @FredrikMWold made their first contribution in #2891
- @yusijs made their first contribution in #2931
Full Changelog: https://github.com/equinor/design-system/compare/[email protected]@0.32.0
[email protected]
[0.9.2] - 2023-07-04
Changed
- 📦️ Use
.mjs
file extension for es-modules in the build output, addedexports
field in package.json by @oddvernes in #2866 - ⬆️ Updated
rollup
to v3.x by @oddvernes in #2908
[email protected]
[0.19.2] - 2023-07-04
Changed
- 📦️ Use
.mjs
file extension for es-modules in the build output, addedexports
field in package.json by @oddvernes in #2866
[email protected]
[0.9.1] - 2023-04-25
- Added css variables for typography colors by @bjartebore in #2840
[email protected]
[0.31.1] - 2023-04-25
Fixed
- 🐛
Menu
: Fixed a warning occurring when usingMenu.Item
asreact-router
Link
by @oddvernes in #2858
Full Changelog: https://github.com/equinor/design-system/compare/[email protected]@0.31.1
[email protected]
[0.31.0] - 2023-04-25
Added
- ✨
Autocomplete
:optionComponent
prop for custom option templates by @oddvernes in #2852 - ✨
Sidebar
: AddedSidebar.Accordion
andSidebar.AccordionItem
by @denektenina in #2797 - ✨
Typography
: Added fallback css variables for colors by @bjartebore in #2840 - ✨
Menu
: polymorphicMenu.Item
(useas
prop to override element type) by @oddvernes in #2817
Changed
- 💄
Radio
/Checkbox
: changed visual size of hover background to conform to design by @oddvernes in #2824 - 💄
Switch
: physical size is now same asRadio
/Checkbox
to conform to design (from 40x40 to 48x48) by @oddvernes in #2824 - ⬆️ Updated production dependencies for all packages by @oddvernes in #2848
Full Changelog: https://github.com/equinor/design-system/compare/[email protected]@0.31.0
[email protected]
[0.7.0] - 2023-03-30
Added
DatePicker
: ForwardedrenderCustomHeader
prop and made an example calledDatePickerSelectHeader
by @bovan in #2826DatePicker
: Addeddisabled
prop and styles by @bovan in #2826DatePicker
: ForwardedminDate
,maxDate
&disableAfterDate
props by @bovan in #2826
Changed
DatePicker
: ReworkedfilterDate
to be able to use bothdisableBeforeDate
anddisableAfterDate
at the same time by @bovan in #2826DatePicker
: Uses edsLabel
instead of custom label by @bovan in #2826DatePicker
: Updatedreact-datepicker
tov4.10.0
(this is supposed to improve react 18 support) by @oddvernes in #2835
Fixed
DatePicker
: fixed input dimensions that were wrong in some cases by @oddvernes in #2835