@navikt/aksel
Advanced tools
Changelog
7.27.0
:has
selector-support correctly. (#3965)Changelog
7.24.0
LinkCard: :tada: Added new component 'LinkCard'. (#3883)
Table: :tada: Added prop 'stickyHeader', allowing header to remain sticky while scrolling in table. (#3893)
Forms: Added built-in scroll-margin to TextField, Textarea and Select. (#3897)
Switch: Size='small' are now visually comparable to radio and checkbox in the same size. (#3892)
LinkCard: :tada: Added new component 'LinkCard'. (#3883)
Table: :tada: Added prop 'stickyHeader', allowing header to remain sticky while scrolling in table. (#3893)
Changelog
7.23.0
Darkside: Renamed 'data-color-role' dynamic theme attribute to 'data-color'. (#3849)
Darkside: 'Accent' is now set as the default color palette in components when no other options are set. (#3849)
Darkside: Renamed 'data-color-role' dynamic theme attribute to 'data-color'. (#3849)
Darkside: Using attribute 'data-color' with one of the built-in colors from 'AkselColorRole' now allows re-coloring most components. (#3849)
Darkside: All components has been updated to use 'data-color' attribute for coloring. As a side-effect, most component CSS is either updated or refactored. (#3849)
Tag: Outline-variant now uses bg-moderate, replacing bg-moderateA. (#3865)
Darkside: Fix icon size in small Tabs (#3850)
List: Fix issue with incorrect padding in Safari (#3850)
Datepicker: Upgraded 'react-day-picker' dependency to v9.7.0 from v9.6.1. (#3820)
Darkside: Renamed 'data-color-role' dynamic theme attribute to 'data-color'. (#3849)
Darkside: Using attribute 'data-color' with one of the built-in colors from 'AkselColorRole' now allows re-coloring most components. (#3849)
Darkside: Adding type '@navikt/ds-react/types/theme' to your local 'tsconfig.json' types-field allows autocomplete for all available color-palettes in attribute 'data-color'. You can extend 'CustomAkselColor'-type to use your own color-palettes. (#3849)
Darkside: All components has been updated to use 'data-color' attribute for coloring. As a side-effect, most component CSS is either updated or refactored. (#3849)
Timeline: Reverted regression that lead to 'aria-controls' being ignored when passed to Pin or Period. (#3828)
Timeline: Removed 'aria-haspopup' from pins and periods. (#3834)
ErrorSummary: Heading size is now 'xsmall' for non-medium sizes and remains 'small' when size='medium'. (#3806)