@nldd/design-system 0.8.44 → 0.8.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +170 -292
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +33 -79
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +24 -37
- package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +166 -292
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +32 -67
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +1 -0
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +42 -95
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/components.js +1 -1
- package/dist/components/content/blockquote/blockquote.d.ts +1 -9
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +1 -6
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +11 -10
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.template.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.template.js +4 -7
- package/dist/components/content/blockquote/blockquote.template.js.map +1 -1
- package/dist/components/content/code/code.d.ts +4 -0
- package/dist/components/content/code/code.d.ts.map +1 -1
- package/dist/components/content/code/code.js +20 -0
- package/dist/components/content/code/code.js.map +1 -1
- package/dist/components/content/code/code.styles.d.ts.map +1 -1
- package/dist/components/content/code/code.styles.js +7 -23
- package/dist/components/content/code/code.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +16 -7
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +7 -1
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +26 -1
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +30 -1
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +65 -14
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/icon/icon.template.d.ts.map +1 -1
- package/dist/components/content/icon/icon.template.js +1 -5
- package/dist/components/content/icon/icon.template.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +7 -13
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts +5 -0
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +22 -0
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +12 -23
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/tag/tag.template.d.ts.map +1 -1
- package/dist/components/content/tag/tag.template.js +12 -8
- package/dist/components/content/tag/tag.template.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +84 -97
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +12 -15
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +16 -16
- package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +39 -48
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/{index-1v33GjGX.js → index-iTa3Ua3y.js} +3345 -5393
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +4 -25
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +3 -6
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +15 -17
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +2 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +5 -0
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +33 -61
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +8 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +17 -0
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +82 -97
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +2 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +5 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +32 -59
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +1 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +27 -52
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +42 -89
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +1 -0
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +5 -26
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +3 -6
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +2 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +5 -0
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +38 -73
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.js +1 -0
- package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +34 -55
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.js +16 -30
- package/dist/components/inputs/stepper/stepper.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +26 -69
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +3 -6
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +2 -0
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +5 -0
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +30 -67
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.js +1 -0
- package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +5 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +16 -2
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +51 -98
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +10 -4
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/token/token.styles.d.ts.map +1 -1
- package/dist/components/inputs/token/token.styles.js +21 -47
- package/dist/components/inputs/token/token.styles.js.map +1 -1
- package/dist/components/layout/app-view/app-view.styles.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +13 -7
- package/dist/components/layout/app-view/app-view.styles.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +1 -7
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +17 -39
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.template.js +1 -0
- package/dist/components/layout/collection/collection.template.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +41 -43
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +143 -132
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.d.ts.map +1 -1
- package/dist/components/layout/container/container.styles.js +87 -1133
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/container/container.template.d.ts.map +1 -1
- package/dist/components/layout/container/container.template.js +1 -5
- package/dist/components/layout/container/container.template.js.map +1 -1
- package/dist/components/layout/divider/divider.styles.d.ts.map +1 -1
- package/dist/components/layout/divider/divider.styles.js +3 -1
- package/dist/components/layout/divider/divider.styles.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +13 -19
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +6 -15
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +12 -11
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +12 -11
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +6 -15
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +12 -11
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +2 -1
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +21 -4
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +7 -12
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +27 -38
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.d.ts.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +12 -4
- package/dist/components/layout/spacer/spacer.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +23 -20
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +65 -78
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +19 -12
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +25 -45
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +21 -7
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +19 -12
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +18 -26
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js +12 -11
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js +23 -26
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.js +15 -21
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.styles.js +40 -92
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js +26 -25
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +64 -125
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +71 -132
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/list/list.styles.js +20 -47
- package/dist/components/lists-and-menus/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-menus/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/list-item/list-item.styles.js +29 -20
- package/dist/components/lists-and-menus/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.d.ts +28 -9
- package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.js +105 -26
- package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.styles.js +88 -135
- package/dist/components/lists-and-menus/menu/menu.styles.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.js +2 -2
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +10 -6
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +24 -33
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +8 -8
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +34 -15
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +3 -2
- package/dist/components/navigation/menu-bar/menu-bar.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.js +1 -0
- package/dist/components/navigation/menu-bar/menu-bar.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +2 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +13 -5
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +9 -11
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +25 -26
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +6 -8
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -10
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +3 -28
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +22 -65
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +9 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +56 -17
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +13 -7
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +6 -10
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +13 -34
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/{prism-typescript-D2EqsCqV.js → prism-typescript-DG_p4Wyh.js} +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +21 -34
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +32 -33
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +18 -22
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/css/settings.css +33 -3
- package/dist/utilities/color-scheme-repaint.d.ts +44 -0
- package/dist/utilities/color-scheme-repaint.d.ts.map +1 -0
- package/dist/utilities/color-scheme-repaint.js +88 -0
- package/dist/utilities/color-scheme-repaint.js.map +1 -0
- package/package.json +11 -8
- package/dist/components/content/blockquote/blockquote.i18n.d.ts +0 -5
- package/dist/components/content/blockquote/blockquote.i18n.d.ts.map +0 -1
- package/dist/components/content/blockquote/blockquote.i18n.js +0 -4
- package/dist/components/content/blockquote/blockquote.i18n.js.map +0 -1
- package/dist/utilities/popover-guard.d.ts +0 -10
- package/dist/utilities/popover-guard.d.ts.map +0 -1
- package/dist/utilities/popover-guard.js +0 -10
- package/dist/utilities/popover-guard.js.map +0 -1
|
@@ -9,84 +9,86 @@ export const inlineDialogStyles = css `
|
|
|
9
9
|
--_icon-color: var(--components-inline-dialog-icon-color);
|
|
10
10
|
|
|
11
11
|
display: flex;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
align-items: center;
|
|
14
12
|
flex-grow: 1;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
:host([
|
|
18
|
-
|
|
17
|
+
:host([variant="alert"]) {
|
|
18
|
+
--_icon-color: var(--components-inline-dialog-icon-warning-color);
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
:host([variant=
|
|
21
|
+
:host([variant="success"]) {
|
|
22
|
+
--_icon-color: var(--components-inline-dialog-icon-success-color);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host([icon-color="secondary"]) {
|
|
26
|
+
--_icon-color: var(--components-inline-dialog-icon-secondary-color);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host([icon-color="accent"]) {
|
|
30
|
+
--_icon-color: var(--components-inline-dialog-icon-accent-color);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host([icon-color="critical"]) {
|
|
34
|
+
--_icon-color: var(--components-inline-dialog-icon-critical-color);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:host([icon-color="warning"]) {
|
|
22
38
|
--_icon-color: var(--components-inline-dialog-icon-warning-color);
|
|
23
39
|
}
|
|
24
40
|
|
|
25
|
-
:host([
|
|
41
|
+
:host([icon-color="success"]) {
|
|
26
42
|
--_icon-color: var(--components-inline-dialog-icon-success-color);
|
|
27
43
|
}
|
|
28
44
|
|
|
29
|
-
:host([
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
:host([icon-color='warning']) { --_icon-color: var(--components-inline-dialog-icon-warning-color); }
|
|
33
|
-
:host([icon-color='success']) { --_icon-color: var(--components-inline-dialog-icon-success-color); }
|
|
45
|
+
:host([hidden]) {
|
|
46
|
+
display: none;
|
|
47
|
+
}
|
|
34
48
|
|
|
35
49
|
|
|
36
|
-
/* #
|
|
50
|
+
/* # Elements */
|
|
37
51
|
|
|
38
52
|
.inline-dialog__body {
|
|
39
|
-
display: flex;
|
|
40
53
|
box-sizing: border-box;
|
|
54
|
+
display: flex;
|
|
41
55
|
max-width: var(--primitives-area-480);
|
|
42
56
|
flex-direction: column;
|
|
43
|
-
align-items: center;
|
|
44
57
|
flex-grow: 1;
|
|
58
|
+
align-items: center;
|
|
45
59
|
}
|
|
46
60
|
|
|
47
|
-
|
|
48
|
-
/* # Icon */
|
|
49
|
-
|
|
50
61
|
.inline-dialog__icon {
|
|
51
62
|
display: flex;
|
|
52
63
|
width: var(--_icon-size);
|
|
53
64
|
height: var(--_icon-size);
|
|
65
|
+
flex-shrink: 0;
|
|
54
66
|
align-items: center;
|
|
55
67
|
justify-content: center;
|
|
56
|
-
flex-shrink: 0;
|
|
57
68
|
color: var(--_icon-color);
|
|
58
69
|
}
|
|
59
70
|
|
|
60
|
-
|
|
61
|
-
/* # Text */
|
|
62
|
-
|
|
63
71
|
.inline-dialog__text {
|
|
64
72
|
margin: 0;
|
|
65
73
|
text-align: center;
|
|
66
|
-
font: var(--primitives-font-body-md-bold-tight);
|
|
67
74
|
color: var(--semantics-content-color);
|
|
75
|
+
font: var(--primitives-font-body-md-bold-tight);
|
|
68
76
|
text-wrap: pretty;
|
|
69
77
|
}
|
|
70
78
|
|
|
71
79
|
.inline-dialog__text:focus-visible {
|
|
72
|
-
box-shadow: none;
|
|
73
80
|
outline: none;
|
|
81
|
+
box-shadow: none;
|
|
74
82
|
}
|
|
75
83
|
|
|
76
|
-
|
|
77
|
-
/* # Supporting text */
|
|
78
|
-
|
|
79
84
|
.inline-dialog__supporting-text {
|
|
80
85
|
margin: 0;
|
|
81
86
|
text-align: center;
|
|
82
|
-
font: var(--primitives-font-body-sm-regular-tight);
|
|
83
87
|
color: var(--semantics-content-color);
|
|
88
|
+
font: var(--primitives-font-body-sm-regular-tight);
|
|
84
89
|
text-wrap: pretty;
|
|
85
90
|
}
|
|
86
91
|
|
|
87
|
-
|
|
88
|
-
/* # Content */
|
|
89
|
-
|
|
90
92
|
.inline-dialog__content {
|
|
91
93
|
width: 100%;
|
|
92
94
|
}
|
|
@@ -95,9 +97,6 @@ export const inlineDialogStyles = css `
|
|
|
95
97
|
display: none;
|
|
96
98
|
}
|
|
97
99
|
|
|
98
|
-
|
|
99
|
-
/* # Actions */
|
|
100
|
-
|
|
101
100
|
.inline-dialog__actions {
|
|
102
101
|
width: 100%;
|
|
103
102
|
padding-top: var(--primitives-space-16);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inline-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"inline-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/inline-dialog/inline-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0GpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/modal-dialog/modal-dialog.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"modal-dialog.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/modal-dialog/modal-dialog.styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,iBAAiB,yBA2F7B,CAAC"}
|
|
@@ -23,16 +23,15 @@ export const modalDialogStyles = css `
|
|
|
23
23
|
|
|
24
24
|
.modal-dialog {
|
|
25
25
|
box-sizing: border-box;
|
|
26
|
+
outline: none;
|
|
26
27
|
border: none;
|
|
27
28
|
border-radius: var(--semantics-overlays-corner-radius);
|
|
28
29
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
29
|
-
outline: none;
|
|
30
30
|
background-color: var(--semantics-surfaces-background-color);
|
|
31
|
-
max-width: var(--primitives-area-480);
|
|
32
31
|
width: calc(100% - var(--primitives-space-16) * 2);
|
|
32
|
+
max-width: var(--primitives-area-480);
|
|
33
33
|
max-height: var(--_max-height);
|
|
34
34
|
overflow-y: auto;
|
|
35
|
-
|
|
36
35
|
padding: var(--primitives-space-16);
|
|
37
36
|
|
|
38
37
|
@media (min-width: ${mdMin}) {
|
|
@@ -45,15 +44,30 @@ export const modalDialogStyles = css `
|
|
|
45
44
|
}
|
|
46
45
|
|
|
47
46
|
.modal-dialog:focus-visible:not(.is-pointer-focus) {
|
|
48
|
-
box-shadow: var(--semantics-focus-ring-box-shadow), var(--semantics-overlays-box-shadow);
|
|
49
47
|
outline: var(--semantics-focus-ring-outline);
|
|
50
48
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
49
|
+
box-shadow: var(--semantics-focus-ring-box-shadow), var(--semantics-overlays-box-shadow);
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
.modal-dialog::backdrop {
|
|
54
53
|
background: var(--semantics-overlays-backdrop-color);
|
|
55
54
|
}
|
|
56
55
|
|
|
56
|
+
.modal-dialog[open] {
|
|
57
|
+
animation: modal-dialog-in var(--_animation-duration) var(--_animation-easing) both;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.modal-dialog.is-closing {
|
|
61
|
+
animation: modal-dialog-out var(--_animation-duration) var(--_animation-easing) both;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media (prefers-reduced-motion: reduce) {
|
|
65
|
+
.modal-dialog[open],
|
|
66
|
+
.modal-dialog.is-closing {
|
|
67
|
+
animation: none;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
57
71
|
|
|
58
72
|
/* # Keyframes */
|
|
59
73
|
|
|
@@ -78,23 +92,5 @@ export const modalDialogStyles = css `
|
|
|
78
92
|
transform: scale(0.95);
|
|
79
93
|
}
|
|
80
94
|
}
|
|
81
|
-
|
|
82
|
-
.modal-dialog[open] {
|
|
83
|
-
animation: modal-dialog-in var(--_animation-duration) var(--_animation-easing) both;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.modal-dialog.is-closing {
|
|
87
|
-
animation: modal-dialog-out var(--_animation-duration) var(--_animation-easing) both;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
/* # Reduced motion */
|
|
92
|
-
|
|
93
|
-
@media (prefers-reduced-motion: reduce) {
|
|
94
|
-
.modal-dialog[open],
|
|
95
|
-
.modal-dialog.is-closing {
|
|
96
|
-
animation: none;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
95
|
`;
|
|
100
96
|
//# sourceMappingURL=modal-dialog.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/modal-dialog/modal-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"modal-dialog.styles.js","sourceRoot":"","sources":["../../../../src/components/status-and-feedback/modal-dialog/modal-dialog.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAiCb,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0D3B,CAAC"}
|
package/dist/css/settings.css
CHANGED
|
@@ -783,9 +783,9 @@
|
|
|
783
783
|
|
|
784
784
|
/* ## Links */
|
|
785
785
|
|
|
786
|
-
--semantics-links-color: light-dark(var(--primitives-color-
|
|
787
|
-
--semantics-links-is-hovered-color: light-dark(var(--primitives-color-
|
|
788
|
-
--semantics-links-is-active-color: light-dark(var(--primitives-color-
|
|
786
|
+
--semantics-links-color: light-dark(var(--primitives-color-lintblauw-550), var(--primitives-color-lintblauw-650));
|
|
787
|
+
--semantics-links-is-hovered-color: light-dark(var(--primitives-color-lintblauw-600), var(--primitives-color-lintblauw-700));
|
|
788
|
+
--semantics-links-is-active-color: light-dark(var(--primitives-color-lintblauw-650), var(--primitives-color-lintblauw-750));
|
|
789
789
|
|
|
790
790
|
/* ## Blockquotes */
|
|
791
791
|
|
|
@@ -1074,6 +1074,33 @@
|
|
|
1074
1074
|
|
|
1075
1075
|
--components-form-field-gap: var(--primitives-space-2);
|
|
1076
1076
|
|
|
1077
|
+
/* ## Icon — rijkskleuren
|
|
1078
|
+
|
|
1079
|
+
Shade per rijkskleur picked to keep ≥400 shade distance from the
|
|
1080
|
+
surface it's painted on (default = neutral-0 / dark mode = neutral-100;
|
|
1081
|
+
tinted = neutral-25 / neutral-75). Within that contrast budget the
|
|
1082
|
+
shade closest to --primitives-color-reference-X is preferred. Middle
|
|
1083
|
+
shades (500) are self-mirroring so a single ref is used. */
|
|
1084
|
+
|
|
1085
|
+
--components-icon-color-lintblauw-color: light-dark(var(--primitives-color-lintblauw-750), var(--primitives-color-lintblauw-500));
|
|
1086
|
+
--components-icon-color-donkerblauw-color: light-dark(var(--primitives-color-donkerblauw-600), var(--primitives-color-donkerblauw-500));
|
|
1087
|
+
--components-icon-color-hemelblauw-color: var(--primitives-color-hemelblauw-500);
|
|
1088
|
+
--components-icon-color-lichtblauw-color: light-dark(var(--primitives-color-lichtblauw-450), var(--primitives-color-lichtblauw-800));
|
|
1089
|
+
--components-icon-color-paars-color: light-dark(var(--primitives-color-paars-850), var(--primitives-color-paars-500));
|
|
1090
|
+
--components-icon-color-violet-color: light-dark(var(--primitives-color-violet-650), var(--primitives-color-violet-500));
|
|
1091
|
+
--components-icon-color-robijnrood-color: light-dark(var(--primitives-color-robijnrood-550), var(--primitives-color-robijnrood-500));
|
|
1092
|
+
--components-icon-color-roze-color: light-dark(var(--primitives-color-roze-450), var(--primitives-color-roze-750));
|
|
1093
|
+
--components-icon-color-rood-color: light-dark(var(--primitives-color-rood-550), var(--primitives-color-rood-500));
|
|
1094
|
+
--components-icon-color-oranje-color: light-dark(var(--primitives-color-oranje-450), var(--primitives-color-oranje-600));
|
|
1095
|
+
--components-icon-color-donkergeel-color: light-dark(var(--primitives-color-donkergeel-450), var(--primitives-color-donkergeel-800));
|
|
1096
|
+
--components-icon-color-geel-color: light-dark(var(--primitives-color-geel-450), var(--primitives-color-geel-900));
|
|
1097
|
+
--components-icon-color-donkerbruin-color: light-dark(var(--primitives-color-donkerbruin-750), var(--primitives-color-donkerbruin-500));
|
|
1098
|
+
--components-icon-color-bruin-color: var(--primitives-color-bruin-500);
|
|
1099
|
+
--components-icon-color-donkergroen-color: light-dark(var(--primitives-color-donkergroen-700), var(--primitives-color-donkergroen-500));
|
|
1100
|
+
--components-icon-color-groen-color: var(--primitives-color-groen-500);
|
|
1101
|
+
--components-icon-color-mosgroen-color: var(--primitives-color-mosgroen-500);
|
|
1102
|
+
--components-icon-color-mintgroen-color: light-dark(var(--primitives-color-mintgroen-450), var(--primitives-color-mintgroen-800));
|
|
1103
|
+
|
|
1077
1104
|
/* ## Inline dialog */
|
|
1078
1105
|
|
|
1079
1106
|
--components-inline-dialog-icon-color: var(--semantics-content-color);
|
|
@@ -1149,6 +1176,9 @@
|
|
|
1149
1176
|
--components-menu-item-is-highlighted-content-color: var(--semantics-controls-is-highlighted-contrast-color);
|
|
1150
1177
|
--components-menu-item-is-expanded-background-color: light-dark(var(--primitives-color-neutral-100), var(--primitives-color-neutral-250));
|
|
1151
1178
|
--components-menu-item-is-expanded-content-color: var(--primitives-color-neutral-1000);
|
|
1179
|
+
--components-menu-item-is-destructive-content-color: var(--semantics-content-critical-color);
|
|
1180
|
+
--components-menu-item-is-destructive-is-highlighted-background-color: light-dark(var(--primitives-color-critical-600), var(--primitives-color-critical-650));
|
|
1181
|
+
--components-menu-item-is-destructive-is-highlighted-content-color: var(--primitives-color-neutral-0);
|
|
1152
1182
|
|
|
1153
1183
|
/* ## Menu bar */
|
|
1154
1184
|
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Notifies subscribers when `:root[data-scheme]` flips, so they can force
|
|
3
|
+
* a repaint of any scrollable region with `light-dark()` colours.
|
|
4
|
+
*
|
|
5
|
+
* Why this exists: browsers (Chromium especially) cache off-screen tiles
|
|
6
|
+
* for composited scroll layers and don't always invalidate them when a
|
|
7
|
+
* `color-scheme` flip re-resolves `light-dark()` values. Scroll back
|
|
8
|
+
* after a theme switch and you see stale colours from the old scheme.
|
|
9
|
+
* Components with overflowing scroll containers can subscribe here and
|
|
10
|
+
* drop their compositor layer on each scheme change.
|
|
11
|
+
*
|
|
12
|
+
* The MutationObserver runs lazily — set up on first subscribe, torn
|
|
13
|
+
* down when the last subscriber unsubscribes.
|
|
14
|
+
*/
|
|
15
|
+
type Listener = () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Subscribe to color-scheme changes. The callback fires synchronously
|
|
18
|
+
* from the MutationObserver — before the next paint — so dropping a
|
|
19
|
+
* compositor layer from inside it invalidates stale tiles before they
|
|
20
|
+
* become visible.
|
|
21
|
+
*
|
|
22
|
+
* @returns Unsubscribe function. Tears down the global observer when
|
|
23
|
+
* the last subscriber leaves.
|
|
24
|
+
*/
|
|
25
|
+
export declare function onColorSchemeChange(callback: Listener): () => void;
|
|
26
|
+
/**
|
|
27
|
+
* Force a scrollable element to drop and recreate its compositor layer,
|
|
28
|
+
* invalidating any stale off-screen paint tiles. Preserves scrollLeft/Top
|
|
29
|
+
* so the user doesn't lose their position, and restores the caller's
|
|
30
|
+
* inline `display` value.
|
|
31
|
+
*
|
|
32
|
+
* Use this from an `onColorSchemeChange` callback.
|
|
33
|
+
*
|
|
34
|
+
* Caveat: the display:none → reflow → display cycle fires any
|
|
35
|
+
* ResizeObserver watching this element (it reports width/height 0, then
|
|
36
|
+
* the original size). Harmless for elements no one observes, but a
|
|
37
|
+
* component that observes its own scroll container should audit for
|
|
38
|
+
* resize-driven side effects before adopting this.
|
|
39
|
+
*/
|
|
40
|
+
export declare function forceScrollLayerRepaint(el: HTMLElement): void;
|
|
41
|
+
/** @internal Reset state for testing only. */
|
|
42
|
+
export declare function _resetColorSchemeRepaintForTesting(): void;
|
|
43
|
+
export {};
|
|
44
|
+
//# sourceMappingURL=color-scheme-repaint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color-scheme-repaint.d.ts","sourceRoot":"","sources":["../../src/utilities/color-scheme-repaint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;AAqB3B;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,IAAI,CAUlE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,WAAW,GAAG,IAAI,CAa7D;AAED,8CAA8C;AAC9C,wBAAgB,kCAAkC,IAAI,IAAI,CAIzD"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Notifies subscribers when `:root[data-scheme]` flips, so they can force
|
|
3
|
+
* a repaint of any scrollable region with `light-dark()` colours.
|
|
4
|
+
*
|
|
5
|
+
* Why this exists: browsers (Chromium especially) cache off-screen tiles
|
|
6
|
+
* for composited scroll layers and don't always invalidate them when a
|
|
7
|
+
* `color-scheme` flip re-resolves `light-dark()` values. Scroll back
|
|
8
|
+
* after a theme switch and you see stale colours from the old scheme.
|
|
9
|
+
* Components with overflowing scroll containers can subscribe here and
|
|
10
|
+
* drop their compositor layer on each scheme change.
|
|
11
|
+
*
|
|
12
|
+
* The MutationObserver runs lazily — set up on first subscribe, torn
|
|
13
|
+
* down when the last subscriber unsubscribes.
|
|
14
|
+
*/
|
|
15
|
+
const listeners = new Set();
|
|
16
|
+
let observer = null;
|
|
17
|
+
function init() {
|
|
18
|
+
if (observer)
|
|
19
|
+
return;
|
|
20
|
+
observer = new MutationObserver((mutations) => {
|
|
21
|
+
for (const m of mutations) {
|
|
22
|
+
if (m.attributeName === 'data-scheme') {
|
|
23
|
+
for (const l of listeners)
|
|
24
|
+
l();
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
observer.observe(document.documentElement, {
|
|
30
|
+
attributes: true,
|
|
31
|
+
attributeFilter: ['data-scheme'],
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Subscribe to color-scheme changes. The callback fires synchronously
|
|
36
|
+
* from the MutationObserver — before the next paint — so dropping a
|
|
37
|
+
* compositor layer from inside it invalidates stale tiles before they
|
|
38
|
+
* become visible.
|
|
39
|
+
*
|
|
40
|
+
* @returns Unsubscribe function. Tears down the global observer when
|
|
41
|
+
* the last subscriber leaves.
|
|
42
|
+
*/
|
|
43
|
+
export function onColorSchemeChange(callback) {
|
|
44
|
+
init();
|
|
45
|
+
listeners.add(callback);
|
|
46
|
+
return () => {
|
|
47
|
+
listeners.delete(callback);
|
|
48
|
+
if (listeners.size === 0) {
|
|
49
|
+
observer?.disconnect();
|
|
50
|
+
observer = null;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Force a scrollable element to drop and recreate its compositor layer,
|
|
56
|
+
* invalidating any stale off-screen paint tiles. Preserves scrollLeft/Top
|
|
57
|
+
* so the user doesn't lose their position, and restores the caller's
|
|
58
|
+
* inline `display` value.
|
|
59
|
+
*
|
|
60
|
+
* Use this from an `onColorSchemeChange` callback.
|
|
61
|
+
*
|
|
62
|
+
* Caveat: the display:none → reflow → display cycle fires any
|
|
63
|
+
* ResizeObserver watching this element (it reports width/height 0, then
|
|
64
|
+
* the original size). Harmless for elements no one observes, but a
|
|
65
|
+
* component that observes its own scroll container should audit for
|
|
66
|
+
* resize-driven side effects before adopting this.
|
|
67
|
+
*/
|
|
68
|
+
export function forceScrollLayerRepaint(el) {
|
|
69
|
+
const x = el.scrollLeft;
|
|
70
|
+
const y = el.scrollTop;
|
|
71
|
+
// Save the caller's inline display so a legitimate value (e.g. an
|
|
72
|
+
// explicit `display: flex`) survives — clearing to '' would drop it.
|
|
73
|
+
const prevDisplay = el.style.display;
|
|
74
|
+
el.style.display = 'none';
|
|
75
|
+
// Synchronous reflow drops the layer; the browser doesn't paint
|
|
76
|
+
// between this and re-showing, so there's no visible flicker.
|
|
77
|
+
void el.offsetHeight;
|
|
78
|
+
el.style.display = prevDisplay;
|
|
79
|
+
el.scrollLeft = x;
|
|
80
|
+
el.scrollTop = y;
|
|
81
|
+
}
|
|
82
|
+
/** @internal Reset state for testing only. */
|
|
83
|
+
export function _resetColorSchemeRepaintForTesting() {
|
|
84
|
+
observer?.disconnect();
|
|
85
|
+
observer = null;
|
|
86
|
+
listeners.clear();
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=color-scheme-repaint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color-scheme-repaint.js","sourceRoot":"","sources":["../../src/utilities/color-scheme-repaint.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,MAAM,SAAS,GAAG,IAAI,GAAG,EAAY,CAAC;AACtC,IAAI,QAAQ,GAA4B,IAAI,CAAC;AAE7C,SAAS,IAAI;IACZ,IAAI,QAAQ;QAAE,OAAO;IACrB,QAAQ,GAAG,IAAI,gBAAgB,CAAC,CAAC,SAAS,EAAE,EAAE;QAC7C,KAAK,MAAM,CAAC,IAAI,SAAS,EAAE,CAAC;YAC3B,IAAI,CAAC,CAAC,aAAa,KAAK,aAAa,EAAE,CAAC;gBACvC,KAAK,MAAM,CAAC,IAAI,SAAS;oBAAE,CAAC,EAAE,CAAC;gBAC/B,OAAO;YACR,CAAC;QACF,CAAC;IACF,CAAC,CAAC,CAAC;IACH,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,eAAe,EAAE;QAC1C,UAAU,EAAE,IAAI;QAChB,eAAe,EAAE,CAAC,aAAa,CAAC;KAChC,CAAC,CAAC;AACJ,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,mBAAmB,CAAC,QAAkB;IACrD,IAAI,EAAE,CAAC;IACP,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;IACxB,OAAO,GAAG,EAAE;QACX,SAAS,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAC3B,IAAI,SAAS,CAAC,IAAI,KAAK,CAAC,EAAE,CAAC;YAC1B,QAAQ,EAAE,UAAU,EAAE,CAAC;YACvB,QAAQ,GAAG,IAAI,CAAC;QACjB,CAAC;IACF,CAAC,CAAC;AACH,CAAC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,uBAAuB,CAAC,EAAe;IACtD,MAAM,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC;IACxB,MAAM,CAAC,GAAG,EAAE,CAAC,SAAS,CAAC;IACvB,kEAAkE;IAClE,qEAAqE;IACrE,MAAM,WAAW,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC;IACrC,EAAE,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;IAC1B,gEAAgE;IAChE,8DAA8D;IAC9D,KAAK,EAAE,CAAC,YAAY,CAAC;IACrB,EAAE,CAAC,KAAK,CAAC,OAAO,GAAG,WAAW,CAAC;IAC/B,EAAE,CAAC,UAAU,GAAG,CAAC,CAAC;IAClB,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC;AAClB,CAAC;AAED,8CAA8C;AAC9C,MAAM,UAAU,kCAAkC;IACjD,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,QAAQ,GAAG,IAAI,CAAC;IAChB,SAAS,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nldd/design-system",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.45",
|
|
4
4
|
"description": "Design System voor Nederlandse Digitale Dienst",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/components/components.js",
|
|
@@ -376,6 +376,7 @@
|
|
|
376
376
|
"lint": "eslint src/",
|
|
377
377
|
"lint:fix": "eslint src/ --fix",
|
|
378
378
|
"lint:a11y": "eslint src/ --rule 'lit-a11y/*: error'",
|
|
379
|
+
"changelog:draft": "node scripts/changelog-draft.mjs",
|
|
379
380
|
"prepare": "pre-commit install || true",
|
|
380
381
|
"pretest": "npm run build:icons",
|
|
381
382
|
"pretest:run": "npm run build:icons",
|
|
@@ -387,22 +388,24 @@
|
|
|
387
388
|
"@commitlint/cli": "^19.6.1",
|
|
388
389
|
"@commitlint/config-conventional": "^19.6.0",
|
|
389
390
|
"@eslint/js": "^9.17.0",
|
|
391
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
390
392
|
"@semantic-release/git": "^10.0.1",
|
|
391
|
-
"@storybook/addon-a11y": "^10.
|
|
392
|
-
"@storybook/addon-docs": "^10.
|
|
393
|
-
"@storybook/addon-themes": "^10.
|
|
394
|
-
"@storybook/addon-vitest": "^10.
|
|
395
|
-
"@storybook/web-components-vite": "^10.
|
|
393
|
+
"@storybook/addon-a11y": "^10.4.0",
|
|
394
|
+
"@storybook/addon-docs": "^10.4.0",
|
|
395
|
+
"@storybook/addon-themes": "^10.4.0",
|
|
396
|
+
"@storybook/addon-vitest": "^10.4.0",
|
|
397
|
+
"@storybook/web-components-vite": "^10.4.0",
|
|
396
398
|
"@types/prismjs": "^1.26.6",
|
|
397
399
|
"@vitest/browser-playwright": "^4.0.16",
|
|
398
400
|
"@vitest/coverage-v8": "^4.0.16",
|
|
401
|
+
"conventional-changelog": "^7.2.0",
|
|
399
402
|
"eslint": "^9.17.0",
|
|
400
403
|
"eslint-plugin-lit-a11y": "^5.1.1",
|
|
401
|
-
"eslint-plugin-storybook": "^10.
|
|
404
|
+
"eslint-plugin-storybook": "^10.4.0",
|
|
402
405
|
"globals": "^15.14.0",
|
|
403
406
|
"playwright": "^1.57.0",
|
|
404
407
|
"semantic-release": "^25.0.2",
|
|
405
|
-
"storybook": "^10.
|
|
408
|
+
"storybook": "^10.4.0",
|
|
406
409
|
"typescript": "^5.3.0",
|
|
407
410
|
"typescript-eslint": "^8.58.0",
|
|
408
411
|
"vite": "^7.3.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.i18n.d.ts","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B;;CAEtC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blockquote.i18n.js","sourceRoot":"","sources":["../../../../src/components/content/blockquote/blockquote.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACzC,0CAA0C,EAAE,IAAI;CAChD,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Minimum ms between popover close and reopen to prevent iOS
|
|
3
|
-
* touch light-dismiss from immediately reopening the popover.
|
|
4
|
-
*
|
|
5
|
-
* On iOS, tapping the anchor to close a popover triggers light dismiss
|
|
6
|
-
* first (closing the popover), then the click handler fires and would
|
|
7
|
-
* reopen it. This guard prevents reopening within the threshold.
|
|
8
|
-
*/
|
|
9
|
-
export declare const POPOVER_REOPEN_GUARD_MS = 100;
|
|
10
|
-
//# sourceMappingURL=popover-guard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"popover-guard.d.ts","sourceRoot":"","sources":["../../src/utilities/popover-guard.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,MAAM,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Minimum ms between popover close and reopen to prevent iOS
|
|
3
|
-
* touch light-dismiss from immediately reopening the popover.
|
|
4
|
-
*
|
|
5
|
-
* On iOS, tapping the anchor to close a popover triggers light dismiss
|
|
6
|
-
* first (closing the popover), then the click handler fires and would
|
|
7
|
-
* reopen it. This guard prevents reopening within the threshold.
|
|
8
|
-
*/
|
|
9
|
-
export const POPOVER_REOPEN_GUARD_MS = 100;
|
|
10
|
-
//# sourceMappingURL=popover-guard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"popover-guard.js","sourceRoot":"","sources":["../../src/utilities/popover-guard.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAC"}
|