v1.12.0
@digdir/designsystemet@1.12.0
Patch Changes
-
update npm non-major dependencies (#4517)
-
update npm non-major dependencies (#4497)
-
Updated dependencies []:
- @digdir/designsystemet-types@1.12.0
@digdir/designsystemet-css@1.12.0
Minor Changes
-
input: add support for
[aria-readonly='true'](#4409) -
field: add new css variables: (#4409)
--dsc-field-counter-over: '%d tegn for mye';
--dsc-field-counter-under: '%d tegn igjen'; -
Support for new package with custom elements and observers for Designsystemet. (#4409)
-
popover: add
--dsc-popover-placementwith default valuetop(#4409) -
fieldset: add
--dsc-fieldset-gapwith default valuevar(--ds-size-4)(#4409) -
tooltip: add
--dsc-tooltip-placementwith default valuetop(#4409) -
dropdown: add
--dsc-dropdown-placementwith default valuebottom(#4409) -
pagination: (#4409)
- add
--dsc-pagination-ellipsiswith default value'\2026' - set
--dsc-pagination-label: 'Bla i sider';if language is'nn','nb'or'no'
- add
Patch Changes
-
suggestion: various changes to chip styling. You no longer need to pass a class to
<data>(#4409) -
link: don't set
:visitedcolor and set defaultborder-radiusto 0 (#4409) -
dialog: style
.ds-dialog button[command='close']:empty::beforewith X-icon (#4409) -
toggle-group: remove
--dsc-togglegroup-text-color, as this was not used (#4409) -
update npm non-major dependencies (#4517)
-
Card: fix issues with deeply nested heading links. Now uses web observer
data-clickdelegateforinternally. (#4409) -
toggle-group: add styling for new DOM structure introduced in
@digdir/designsystemet-web(#4409) -
field: add styling for
<ds-field>counter. (#4409) -
tabs: add support for
<ds-tabs>(#4409) -
breadcrumbs: don't remove underline on
a[aria-current='page'], but onli:last-child a(#4409) -
added class
ds-floating, which is used on floating elements internally (#4409) -
Updated dependencies []:
- @digdir/designsystemet-types@1.12.0
@digdir/designsystemet-react@1.12.0
Minor Changes
-
Input Support for new attribute
data-indeterminateto toggle indeterminate state whentype="checkbox"insideField/ds-field. (#4409) -
Support for new package with custom elements and observers for Designsystemet. (#4409)
-
ToggleGroup: Updated DOM structure and now uses new web observer
data-toggle-group. (#4409) -
Add
suppressHydrationWarningto various components. This is to support@digdir/designsystemet-webbeing used internally. (#4409) -
Field.Counter: Deprecate
hint(#4409) -
Field: Deprecated
asChildas this component now uses<ds-field>internally. (#4409) -
ErrorSummary: Deprecate
asChildas this component now uses<ds-error-summary>internally. (#4409) -
Select: Deprecate
readOnly. Usearia-readonlyinstead. (#4409) -
RovingFocus: Deprecate component. This will be removed in the next major version (#4409)
-
Tooltip: Deprecate
open. This should not be used on Tooltip. Use aPopoverinstead. (#4409) -
Dialog: Deprecate
data-command="close". Usecommand="close"andcommandfor="DIALOG-ID"instead. (#4409)
Patch Changes
-
Breadcrumbs: Now uses
<ds-breadcrumbs>internally. (#4409) -
Card: Fix deeply nested anchors in headings causing navigation (#4409)
-
update npm non-major dependencies (#4517)
-
Card: fix issues with deeply nested heading links. Now uses web observer
data-clickdelegateforinternally. (#4409) -
Pagination: Now uses
<ds-pagination>internally. (#4409) -
update npm non-major dependencies (#4497)
-
Tabs: Now uses
<ds-tabs>and related web components internally (#4409) -
Tooltip: Now uses
data-tooltipfrom@digdir/designsystemet-webinternally (#4409) -
Details: Use
<details>and<summary>internally. (#4409) -
Updated dependencies [
6bde739,34c1ca7]:- @digdir/designsystemet-web@1.12.0
- @digdir/designsystemet-types@1.12.0
@digdir/designsystemet-types@1.12.0
@digdir/designsystemet-web@1.12.0
Minor Changes
-
New package with custom elements and observers for Designsystemet. (#4409)
Custom elements ds-breadcrumbsds-error-summaryds-fieldds-paginationds-suggestionds-tabsds-tablistds-tabds-tabpanelObserver data-clickdelegateforUsed for delegating click event data-toggle-groupUsed for adding arrow navigation plus Enter-key support data-tooltipUsed for adding tooltip text on element readonlyUsed for fixing readonlysupport onselectandinputelementspopoverEvent listnener on popovertargetfor placement ofds-floatingelements.Polyfill details&summaryBugfix for Firefox. dialogSupport for closedby="any". command&commandforSupport for invokers.
Patch Changes
- update npm non-major dependencies (#4517)