Skip to content

Releases: navikt/aksel

[email protected]

06 Mar 09:08
2473bf4
Compare
Choose a tag to compare

@navikt/ds-react

  • React 19: Resolve unknown-type in Slot. (#3627)

@navikt/ds-css

  • Darkside: All classNames are now starts with .aksel instead of .navds. (#3586)

[email protected]

06 Mar 09:07
a98bfb7
Compare
Choose a tag to compare

@navikt/aksel

  • CLI: Added primitives migration to new space-tokens. Run npx @navikt/aksel migration primitive-spacing to start migrating now. This update is supported for old and new (darkside) system. (#3597)
  • CLI: Added js/ts migration to new space-tokens. Run npx @navikt/aksel migration token-spacing-js to start migrating now. This update is supported for old and new (darkside) system. (#3597)

[email protected]

06 Mar 09:06
78fc16c
Compare
Choose a tag to compare

@navikt/ds-react

  • Datepicker: Fixed regression where some fromDate/toDate instances lead to that date ending up as disabled. (#3602)
  • DatePicker: Refactored locally to support react-day-picker v9. No external API has been changed. (#3525)
  • MonthPicker: Refactored locally and no longer depends on react-day-picker v9. No external API has been changed. (#3525)
  • Dependencies: react-day-picker bumped to v9.5.0. (#3525)
  • Dependencies: date-fns bumped to ^4.0.0. (#3525)
  • Darkside: Added 'arrow' back to Tooltip. (#3589)

@navikt/ds-tokens

  • Darkside: 💄 Bumped bg-raised token to neutral-200 in darkmode. (441d8b7)

@navikt/ds-css

  • Darkside: Changed outline-offset for tabpanel from -4px to -3px. (06fecf2)
  • DatePicker: Updated date.css to support react-day-picker v9. (#3525)
  • Darkside: Added 'arrow' back to Tooltip. (#3589)

@navikt/aksel-icons

Icons: 🎉 New icons LineHeight, SpaceHorizontal and SpaceVertical. (#3587)

[email protected]

06 Mar 09:05
09c44ed
Compare
Choose a tag to compare

@navikt/ds-react

  • Darkside: Added support for ConfirmationpPanel, Linkpanel, Panel and Dropdown. Note that all of these will be deprecated in the future. (#3581)

@navikt/ds-tailwind

  • Tailwind: Added darkside-support with import @navikt/ds-tailwind/darkside-tw3. (#3580)

@navikt/ds-css

  • Darkside: Added support for ConfirmationpPanel, Linkpanel, Panel and Dropdown. Note that all of these will be deprecated in the future. (#3581)

@navikt/aksel-icons

  • Icons: 🎉 New icons ExpandVertical and QuestionmarkCircle (#3583)

[email protected]

06 Mar 09:04
af39cbd
Compare
Choose a tag to compare

@navikt/ds-react

  • Box: Added export for BoxNew. (8576400)
  • Theme: theme-prop is now optional. (f269311)
  • List: Marked title, headingTag and description properties as deprecated. These will not be supported in future versions and should be migrated from when possible. (#3537)
  • Table: Updated sorting icons for ascending and descending. (#3536)

[email protected]

06 Mar 09:03
bb00b75
Compare
Choose a tag to compare

@navikt/ds-css

  • ExpansionCard: Removed dynamic padding on button-element. (#3532)
  • Modal: Defaults to margin: auto for tailwind 4 support. (#3532)

@navikt/aksel-icons

  • Icons: Added new icons 'SortUp' and 'SortDown' 🎉. (#3528)

[email protected]

24 Jan 13:16
b4f37e8
Compare
Choose a tag to compare

@navikt/ds-css

  • Table: New prop contentGutter added to <ExpandableRow />-component. This allows user more control for content layout inside expandable element. (#3507)
  • Button: Using <Loader /> within icon-prop now supported. (#3515)
  • Combobox: Always render maxSelected message when isMultiSelect is set. (#3506)

@navikt/ds-react

  • Table: New prop contentGutter added to <ExpandableRow />-component. This allows user more control for content layout inside expandable element. (#3507)
  • Combobox: Always render maxSelected message when isMultiSelect is set. (#3506)

[email protected]

20 Dec 18:16
8cd6512
Compare
Choose a tag to compare

@navikt/ds-react

  • ErrorSummary: ✨ new prop to prefix error with a warning icon. (#3445) All form components: replace dot with warning icon in error message.
  • Button: Fix edge-case where setting "loading={true}" in a Modal caused the button to get 0 width and not show spinner (#3252)
  • Switch: Update switch to better reflect unchecked state. (#3468)
  • Textarea: resize immediately upon receiving resize event (eg. inside modal opening). (#3463)

@navikt/ds-css

  • ErrorSummary: ✨ new prop to prefix error with a warning icon. (#3445) All form components: replace dot with warning icon in error message.
  • Switch: Update switch to better reflect unchecked state. (#3468)
  • Select: 🐛 Focus-border no longer cancels out error-border. (#3465)
  • Textarea: 🐛 Focus-border no longer cancels out error-border. (#3465)

[email protected]

20 Dec 18:16
ea19081
Compare
Choose a tag to compare

@navikt/aksel-stylelint

  • Combobox: Removed clear button, removed tokens staring with --ac-combobox-clear, deprecated props clearButton/clearButtonLabel. (#3433)

@navikt/ds-react

  • Combobox: Only open dropdown-list onClick, not onFocus. (#3440)
  • Combobox: Fix issue where you could select more options than defined in maxSelected (#3434)
  • Timeline: In cases where earliest found date were after current date, timeline-start ended up defaulting to current date. (#3458)
  • Chips.Removable: Removed prop removeLabel (#3429)
  • i18n: ✨ Implemented i18n support for all components. Components come with support for nb, nn and en locales (Docs) (#3429)
  • Combobox: Removed clear button, removed tokens staring with --ac-combobox-clear, deprecated props clearButton/clearButtonLabel. (#3433)
  • Combobox: Changed prop maxSelected to number (#3433)
  • DatePicker/MonthPicker: Added new translations prop and deprecated locale prop (#3429)
  • Timeline: Deprecated prop axisLabelTemplates. Use Provider if you still need to change the date formats. (#3429)
  • Search: Deprecated prop clearButtonLabel. Use Provider if you still need to change the label. (#3429)
  • Textarea: Deprecated prop i18n. Use Provider if you still need to change these texts. (#3429)

@navikt/ds-css

  • Alert: Link-components used within Alert variant='inline' now preserves default coloring (#3461)
  • Table: 🔥 Removed cursor 'pointer' when 'ExpandableRow' is disabled. (#3462)
  • Combobox: Removed clear button, removed tokens staring with --ac-combobox-clear, deprecated props clearButton/clearButtonLabel. (#3433)
  • CSS: Resolved regression where the complete stylesheet was included in scoped 'components.css' file. (#3427)

[email protected]

09 Dec 14:47
fbc580e
Compare
Choose a tag to compare

@navikt/ds-react

  • CopyButton: Removed prop activeTitle. Use activeText instead. (#3426)
  • Combobox: 💥 Removed prop toggleListButtonLabel (#3409)
  • Combobox: Hid buttons from screen readers, added title on clear button, removed sr-only text on toggle list button. (#3409)
  • InternalHeader.UserButton: Remove title-attribute on icon and improved types. (#3424)
  • CopyButton: Fix issue where state changes are announced multiple times using VO in Chrome (#3374)