@nldd/design-system 0.8.42 → 0.8.44
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/README.md +1 -1
- package/dist/components/actions/button/button.d.ts +36 -5
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +62 -6
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +149 -63
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +19 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +4 -4
- package/dist/components/actions/button-group/button-group.js +2 -2
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +43 -11
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +68 -14
- package/dist/components/actions/icon-button/icon-button.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 +163 -106
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +20 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -5
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +19 -15
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +1 -1
- package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +14 -12
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +4 -6
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +31 -28
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +17 -17
- package/dist/components/actions/toolbar/toolbar.template.d.ts +3 -3
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +17 -9
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +6 -6
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code/code.styles.js +3 -3
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +15 -0
- 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 +11 -5
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.styles.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +22 -0
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +46 -2
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -5
- package/dist/components/content/rich-text/rich-text.d.ts +3 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +6 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts +3 -3
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +3 -3
- 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 +113 -15
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/title/title.styles.js +20 -20
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +13 -7
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +34 -22
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +8 -8
- package/dist/components/forms/form-actions/form-actions.styles.js +2 -2
- package/dist/components/forms/form-field/form-field.styles.js +6 -6
- package/dist/components/{index-CJ3mdHHo.js → index-1v33GjGX.js} +4134 -3286
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +9 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -4
- package/dist/components/inputs/code-editor/code-editor.styles.js +14 -14
- package/dist/components/inputs/combo-box/combo-box.d.ts +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +8 -2
- 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 +17 -14
- 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 +4 -2
- package/dist/components/inputs/combo-box/combo-box.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +13 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +33 -2
- 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 +24 -16
- 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 +1 -1
- 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 +8 -2
- 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 +14 -11
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +2 -4
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +8 -12
- package/dist/components/inputs/number-field/number-field.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 +19 -18
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +2 -2
- package/dist/components/inputs/password-field/password-field.d.ts +9 -9
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +24 -18
- package/dist/components/inputs/password-field/password-field.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 +20 -17
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +3 -3
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +11 -11
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -4
- package/dist/components/inputs/search-field/search-field.d.ts +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +8 -2
- 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 +19 -16
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +8 -2
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +25 -4
- package/dist/components/inputs/segmented-control/segmented-control.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 +78 -107
- 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/stepper/stepper.styles.js +2 -2
- package/dist/components/inputs/stepper/stepper.template.js +2 -2
- package/dist/components/inputs/switch/switch.styles.js +13 -13
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -4
- package/dist/components/inputs/text-field/text-field.d.ts +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +8 -2
- 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 +19 -16
- package/dist/components/inputs/text-field/text-field.styles.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 +38 -18
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/token/token.d.ts +3 -3
- package/dist/components/inputs/token/token.d.ts.map +1 -1
- package/dist/components/inputs/token/token.js +6 -6
- package/dist/components/inputs/token/token.js.map +1 -1
- package/dist/components/inputs/token/token.styles.js +7 -7
- package/dist/components/inputs/token/token.template.js +2 -2
- package/dist/components/inputs/token/token.template.js.map +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +4 -4
- package/dist/components/layout/box/box.styles.js +2 -2
- package/dist/components/layout/card/card.js +1 -1
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.js +4 -4
- package/dist/components/layout/collection/collection.styles.js +6 -6
- package/dist/components/layout/container/container.d.ts +4 -4
- package/dist/components/layout/container/container.js +4 -4
- package/dist/components/layout/container/container.styles.js +399 -399
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/divider/divider.styles.js +2 -2
- package/dist/components/layout/page/page.js +1 -1
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +9 -9
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +6 -3
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +21 -5
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.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 +24 -23
- 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.d.ts +6 -3
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +21 -5
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +18 -18
- 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.d.ts +6 -3
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +21 -5
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +18 -18
- 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.d.ts +6 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +21 -5
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +23 -23
- 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.d.ts +6 -3
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +21 -5
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +18 -18
- 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.js +1 -1
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +4 -4
- package/dist/components/layout/sheet/sheet.d.ts +17 -4
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +43 -9
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +33 -40
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +5 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +9 -9
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +34 -34
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -3
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +7 -7
- package/dist/components/layout/window/window.js +1 -1
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.styles.js +8 -8
- package/dist/components/lists-and-menus/cells/cell/cell.d.ts +4 -2
- package/dist/components/lists-and-menus/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.js +17 -6
- package/dist/components/lists-and-menus/cells/cell/cell.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 +26 -15
- 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.d.ts +2 -2
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.js +12 -7
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.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 +9 -8
- 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.js +9 -9
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js +1 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts +3 -4
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.js +13 -9
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.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 +26 -9
- 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.d.ts +3 -4
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.js +12 -8
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.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 +26 -9
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-menus/list/list.i18n.js +1 -1
- package/dist/components/lists-and-menus/list/list.i18n.js.map +1 -1
- package/dist/components/lists-and-menus/list/list.js +7 -0
- package/dist/components/lists-and-menus/list/list.js.map +1 -1
- package/dist/components/lists-and-menus/list/list.styles.js +13 -13
- package/dist/components/lists-and-menus/list-item/list-item.styles.js +21 -21
- package/dist/components/lists-and-menus/menu/menu.d.ts +160 -29
- package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.js +2 -0
- package/dist/components/lists-and-menus/menu/menu.i18n.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.js +534 -102
- 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 +93 -32
- package/dist/components/lists-and-menus/menu/menu.styles.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.template.js +13 -0
- package/dist/components/lists-and-menus/menu/menu.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +0 -2
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +20 -22
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +48 -48
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +12 -10
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -0
- package/dist/components/navigation/link/link.js.map +1 -0
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -0
- package/dist/components/{actions → navigation}/link/link.styles.js +4 -4
- package/dist/components/navigation/link/link.styles.js.map +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -0
- package/dist/components/navigation/link/link.template.js.map +1 -0
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +17 -5
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +80 -35
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +2 -2
- package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.js +12 -2
- 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 +17 -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 +28 -6
- 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.js +21 -21
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +3 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +15 -2
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +24 -4
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +48 -76
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +23 -16
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +9 -9
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +5 -3
- 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 +55 -58
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
- 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 +57 -70
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.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 +16 -14
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
- package/dist/components/{prism-typescript-Cdpexfvg.js → prism-typescript-D2EqsCqV.js} +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -3
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +3 -3
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +13 -13
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +7 -7
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +5 -5
- package/dist/css/global.css +1 -0
- package/dist/css/reset.css +7 -0
- package/dist/css/rich-text.css +106 -79
- package/dist/css/settings.css +121 -89
- package/dist/utilities/os.d.ts +27 -0
- package/dist/utilities/os.d.ts.map +1 -0
- package/dist/utilities/os.js +60 -0
- package/dist/utilities/os.js.map +1 -0
- package/dist/utilities/visibility-mixin.d.ts +18 -12
- package/dist/utilities/visibility-mixin.d.ts.map +1 -1
- package/dist/utilities/visibility-mixin.js +21 -14
- package/dist/utilities/visibility-mixin.js.map +1 -1
- package/package.json +6 -6
- package/dist/components/actions/link/link.d.ts.map +0 -1
- package/dist/components/actions/link/link.js.map +0 -1
- package/dist/components/actions/link/link.styles.d.ts.map +0 -1
- package/dist/components/actions/link/link.styles.js.map +0 -1
- package/dist/components/actions/link/link.template.d.ts.map +0 -1
- package/dist/components/actions/link/link.template.js.map +0 -1
- /package/dist/components/{actions → navigation}/link/link.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.js +0 -0
- /package/dist/components/{actions → navigation}/link/link.styles.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.d.ts +0 -0
- /package/dist/components/{actions → navigation}/link/link.template.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACrC;AAyBD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;CACrC;AAyBD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,wCAkDlE"}
|
|
@@ -7,7 +7,7 @@ function renderContent(component) {
|
|
|
7
7
|
name=${component.startIcon}
|
|
8
8
|
></nldd-icon>
|
|
9
9
|
` : html `<slot name="start-icon"></slot>`}
|
|
10
|
-
|
|
10
|
+
<span class="button__text">${component.text}</span>
|
|
11
11
|
${component.endIcon ? html `
|
|
12
12
|
<nldd-icon class="button__end-icon"
|
|
13
13
|
name=${component.endIcon}
|
|
@@ -23,6 +23,13 @@ function renderContent(component) {
|
|
|
23
23
|
}
|
|
24
24
|
export function template(helpers) {
|
|
25
25
|
const content = renderContent(this);
|
|
26
|
+
// `expandable` (disclosure widget signal) or `popup-type` (popup container
|
|
27
|
+
// signal) both require aria-expanded to always be present so screen
|
|
28
|
+
// readers know the current open/closed state. Without one of these, only
|
|
29
|
+
// open=true forwards aria-expanded — keeps plain buttons free of
|
|
30
|
+
// irrelevant ARIA attributes.
|
|
31
|
+
const isDisclosure = this.expandable || !!this.popupType;
|
|
32
|
+
const ariaExpanded = isDisclosure ? String(this.expanded) : (this.expanded ? 'true' : nothing);
|
|
26
33
|
if (this.href) {
|
|
27
34
|
const resolvedRel = this._resolvedRel();
|
|
28
35
|
return html `
|
|
@@ -32,19 +39,30 @@ export function template(helpers) {
|
|
|
32
39
|
rel=${resolvedRel || nothing}
|
|
33
40
|
aria-disabled=${this.disabled ? 'true' : nothing}
|
|
34
41
|
aria-label=${this.accessibleLabel || nothing}
|
|
42
|
+
aria-haspopup=${this.popupType || nothing}
|
|
43
|
+
aria-expanded=${ariaExpanded}
|
|
35
44
|
@click=${helpers.handleClick}
|
|
36
45
|
>
|
|
37
46
|
${content}
|
|
38
47
|
</a>
|
|
39
48
|
`;
|
|
40
49
|
}
|
|
50
|
+
// .popoverTargetElement / .popoverTargetAction are bound unguarded: in
|
|
51
|
+
// browsers without Popover-invoker IDL support Lit sets a harmless expando
|
|
52
|
+
// and the cross-shadow association just doesn't take effect — but those
|
|
53
|
+
// browsers don't support the Popover API at all, so the menu this button
|
|
54
|
+
// drives is non-functional regardless. No per-binding capability check.
|
|
41
55
|
return html `
|
|
42
56
|
<button class="button"
|
|
43
57
|
type=${this.type}
|
|
44
58
|
?disabled=${this.disabled}
|
|
45
59
|
aria-disabled=${this.disabled ? 'true' : nothing}
|
|
46
60
|
aria-label=${this.accessibleLabel || nothing}
|
|
61
|
+
aria-haspopup=${this.popupType || nothing}
|
|
62
|
+
aria-expanded=${ariaExpanded}
|
|
47
63
|
popovertarget=${this.popovertarget || nothing}
|
|
64
|
+
.popoverTargetElement=${this.popoverTargetElement}
|
|
65
|
+
.popoverTargetAction=${this.popoverTargetAction}
|
|
48
66
|
@click=${helpers.handleClick}
|
|
49
67
|
>
|
|
50
68
|
${content}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAOpC,SAAS,aAAa,CAAC,SAAqB;IAC3C,OAAO,IAAI,CAAA;;KAEP,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;YAEnB,SAAS,CAAC,SAAS;;IAE3B,CAAC,CAAC,CAAC,IAAI,CAAA,iCAAiC;
|
|
1
|
+
{"version":3,"file":"button.template.js","sourceRoot":"","sources":["../../../../src/components/actions/button/button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAOpC,SAAS,aAAa,CAAC,SAAqB;IAC3C,OAAO,IAAI,CAAA;;KAEP,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;YAEnB,SAAS,CAAC,SAAS;;IAE3B,CAAC,CAAC,CAAC,IAAI,CAAA,iCAAiC;gCACZ,SAAS,CAAC,IAAI;KACzC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA;;YAEjB,SAAS,CAAC,OAAO;;IAEzB,CAAC,CAAC,CAAC,IAAI,CAAA,+BAA+B;KACrC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAA;;;;IAI5B,CAAC,CAAC,CAA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C,aAAa,IAAI,OAAO;2BACrB,IAAI,CAAC,oBAAoB;0BAC1B,IAAI,CAAC,mBAAmB;YACtC,OAAO,CAAC,WAAW;;KAE1B,OAAO;;EAEV,CAAC;AACH,CAAC"}
|
|
@@ -55,16 +55,16 @@ export const buttonBarStyles = css `
|
|
|
55
55
|
/* # Size: XS */
|
|
56
56
|
|
|
57
57
|
:host([size="xs"]) .button-bar {
|
|
58
|
-
height: var(--semantics-controls-xs-min-size);
|
|
59
58
|
border-radius: var(--semantics-controls-xs-corner-radius);
|
|
59
|
+
height: var(--semantics-controls-xs-min-size);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
/* # Size: SM */
|
|
64
64
|
|
|
65
65
|
:host([size="sm"]) .button-bar {
|
|
66
|
-
height: var(--semantics-controls-sm-min-size);
|
|
67
66
|
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
67
|
+
height: var(--semantics-controls-sm-min-size);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
|
|
@@ -72,8 +72,8 @@ export const buttonBarStyles = css `
|
|
|
72
72
|
|
|
73
73
|
:host([size="md"]) .button-bar,
|
|
74
74
|
:host(:not([size])) .button-bar {
|
|
75
|
-
height: var(--semantics-controls-md-min-size);
|
|
76
75
|
border-radius: var(--semantics-controls-md-corner-radius);
|
|
76
|
+
height: var(--semantics-controls-md-min-size);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
|
|
@@ -100,8 +100,8 @@ export const buttonBarStyles = css `
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.button-bar__divider-line {
|
|
103
|
-
width: var(--semantics-dividers-thickness);
|
|
104
103
|
background-color: var(--semantics-buttons-neutral-tinted-divider-color);
|
|
104
|
+
width: var(--semantics-dividers-thickness);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
:host([variant="accent-filled"]) .button-bar__divider-line,
|
|
@@ -38,10 +38,10 @@ let NLDDButtonGroup = class NLDDButtonGroup extends LitElement {
|
|
|
38
38
|
console.warn('nldd-button-group: Only 3 buttons are allowed. Extra buttons will be hidden.');
|
|
39
39
|
}
|
|
40
40
|
if (this.orientation === 'vertical') {
|
|
41
|
-
el.setAttribute('
|
|
41
|
+
el.setAttribute('width', 'full');
|
|
42
42
|
}
|
|
43
43
|
else {
|
|
44
|
-
el.removeAttribute('
|
|
44
|
+
el.removeAttribute('width');
|
|
45
45
|
}
|
|
46
46
|
el.setAttribute('size', this.size);
|
|
47
47
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.js","sourceRoot":"","sources":["../../../../src/components/actions/button-group/button-group.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAM/C,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,UAAU;IAAxC;;QAIN,SAAI,GAAS,IAAI,CAAC;QAGlB,gBAAW,GAAgB,UAAU,CAAC;IAmCvC,CAAC;IA9BA,gBAAgB;QACf,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK;aACzB,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;aACnC,MAAM,CAAC,CAAC,EAAE,EAAqB,EAAE,CAAC,EAAE,YAAY,WAAW,CAAC,CAAC;QAE/D,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE;YAC9B,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;gBAChB,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;gBAC9B,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE,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CAAC,CAAC;YAClC,CAAC;iBAAM,CAAC;gBACP,EAAE,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;YAC7B,CAAC;YAED,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;IACJ,CAAC;IAEQ,OAAO,CAAC,iBAAuC;QACvD,IAAI,iBAAiB,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;YAC3E,IAAI,CAAC,gBAAgB,EAAE,CAAC;QACzB,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;;AAxCe,sBAAM,GAAG,iBAAiB,AAApB,CAAqB;AAG3C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;6CACxB;AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oDACJ;AAG9B;IADP,KAAK,CAAC,MAAM,CAAC;8CACkB;AAVpB,eAAe;IAD3B,aAAa,CAAC,mBAAmB,CAAC;GACtB,eAAe,CA0C3B"}
|
|
@@ -2,22 +2,26 @@
|
|
|
2
2
|
* Nederlandse Digitale Dienst Icon Button Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
4
|
* @element nldd-icon-button
|
|
5
|
-
* @attr {string} variant - Button variant: 'accent-filled' | 'accent-
|
|
5
|
+
* @attr {string} variant - Button variant: 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'primary' | 'secondary' | 'destructive'
|
|
6
6
|
* @attr {string} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
|
|
7
7
|
* @attr {boolean} disabled - Disabled state
|
|
8
8
|
* @attr {string} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
|
|
9
9
|
* @attr {boolean} expandable - Whether the button opens a menu or popover and shows chevron next to the icon
|
|
10
|
-
* @attr {boolean}
|
|
10
|
+
* @attr {boolean} expanded - Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state.
|
|
11
|
+
* @attr {string} popup-type - Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state.
|
|
12
|
+
* @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
|
|
11
13
|
* @attr {string} text - Button text, used as aria-label and shown below the icon in lg size
|
|
12
14
|
* @attr {string} icon - Icon name for the nldd-icon element
|
|
13
15
|
* @attr {string} accessible-label - Accessible label for screen readers. Overrides text as aria-label
|
|
14
16
|
* and title tooltip. Use when the visible text alone lacks context for screen
|
|
15
17
|
* readers (e.g. text "Toon", accessible-label "Toon wachtwoord").
|
|
16
18
|
* The text is still shown visually in lg size regardless.
|
|
17
|
-
* @attr {
|
|
18
|
-
*
|
|
19
|
-
* (
|
|
20
|
-
*
|
|
19
|
+
* @attr {string} tooltip-timing - Forwarded to the inner nldd-tooltip's `timing`:
|
|
20
|
+
* 'default' (700 ms show-delay), 'instant', or 'never'
|
|
21
|
+
* (suppress the visual tooltip; screen readers still get the
|
|
22
|
+
* aria-label). Use 'never' when the surrounding context
|
|
23
|
+
* already explains the button (e.g. spin buttons in
|
|
24
|
+
* nldd-number-field, the chevron in nldd-split-button).
|
|
21
25
|
* @attr {string} href - When set, renders an <a> element instead of <button>
|
|
22
26
|
* @attr {string} target - Link target (e.g. '_blank'); only used when href is set
|
|
23
27
|
* @attr {string} rel - Link rel attribute; defaults to 'noopener noreferrer' when target is '_blank'
|
|
@@ -35,8 +39,9 @@
|
|
|
35
39
|
import { LitElement } from 'lit';
|
|
36
40
|
import './../../content/icon/icon.js';
|
|
37
41
|
export type Size = 'xs' | 'sm' | 'md' | 'lg';
|
|
38
|
-
export type Variant = 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-
|
|
42
|
+
export type Variant = 'primary' | 'secondary' | 'destructive' | 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent';
|
|
39
43
|
export type ButtonType = 'button' | 'submit' | 'reset';
|
|
44
|
+
export type PopupType = 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid';
|
|
40
45
|
export declare class NLDDIconButton extends LitElement {
|
|
41
46
|
static styles: import("lit").CSSResult;
|
|
42
47
|
variant: Variant;
|
|
@@ -44,8 +49,34 @@ export declare class NLDDIconButton extends LitElement {
|
|
|
44
49
|
disabled: boolean;
|
|
45
50
|
type: ButtonType;
|
|
46
51
|
expandable: boolean;
|
|
47
|
-
|
|
52
|
+
expanded: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Type of popup container this button opens. Sets `aria-haspopup` on the
|
|
55
|
+
* inner button and forces `aria-expanded` to always be present (true/false)
|
|
56
|
+
* so screen readers can announce both the popup type and its current state.
|
|
57
|
+
*/
|
|
58
|
+
popupType?: PopupType;
|
|
59
|
+
/** Width mode: 'full' (stretch to container) or any CSS length. */
|
|
60
|
+
width: string;
|
|
48
61
|
popovertarget: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Direct element reference to the popover this button invokes — IDL-only
|
|
64
|
+
* counterpart to `popovertarget` that works across shadow boundaries.
|
|
65
|
+
* Use this when the popover lives in a different tree (e.g. an
|
|
66
|
+
* `nldd-menu` reparented to `<body>`) so the browser still recognises
|
|
67
|
+
* this button as the popover's invoker and excludes it from the popover
|
|
68
|
+
* light-dismiss algorithm. Set programmatically; not reflected to an
|
|
69
|
+
* HTML attribute (the attribute form is `popovertarget`, ID-based).
|
|
70
|
+
*/
|
|
71
|
+
popoverTargetElement: Element | null;
|
|
72
|
+
/**
|
|
73
|
+
* Action the browser performs when the button is clicked, mirroring the
|
|
74
|
+
* standard `popovertargetaction` attribute. Defaults to `'toggle'`. Use
|
|
75
|
+
* `'show'` when a separate handler owns the close path (e.g. the
|
|
76
|
+
* consumer toggles the popover programmatically) so the browser's
|
|
77
|
+
* default action doesn't double-fire.
|
|
78
|
+
*/
|
|
79
|
+
popoverTargetAction: 'toggle' | 'show' | 'hide';
|
|
49
80
|
/** Button text, used as aria-label and shown below the icon in lg size. */
|
|
50
81
|
text: string;
|
|
51
82
|
/** Icon name for the nldd-icon element. When not set, the icon slot is used. */
|
|
@@ -53,8 +84,9 @@ export declare class NLDDIconButton extends LitElement {
|
|
|
53
84
|
/** Accessible label for screen readers. Overrides text as aria-label and title tooltip.
|
|
54
85
|
* The text is still shown visually in lg size regardless. */
|
|
55
86
|
accessibleLabel: string;
|
|
56
|
-
/**
|
|
57
|
-
|
|
87
|
+
/** Forwarded to the inner nldd-tooltip's `timing`. Use `'never'` to
|
|
88
|
+
* suppress the visual tooltip; aria-label still describes the button. */
|
|
89
|
+
tooltipTiming: 'default' | 'instant' | 'never';
|
|
58
90
|
/** When set, renders an <a> element instead of <button>. */
|
|
59
91
|
href: string | undefined;
|
|
60
92
|
/** Link target (e.g. '_blank'). Only used when href is set. */
|
|
@@ -67,7 +99,7 @@ export declare class NLDDIconButton extends LitElement {
|
|
|
67
99
|
/** Whether an icon is present via attribute or slot. */
|
|
68
100
|
private get _hasIcon();
|
|
69
101
|
private _warnedA11y;
|
|
70
|
-
updated(): void;
|
|
102
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
71
103
|
/** Resolves the effective rel value for link rendering. */
|
|
72
104
|
_resolvedRel(): string;
|
|
73
105
|
protected _handleClick(e: MouseEvent): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"icon-button.d.ts","sourceRoot":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AE3D,4DAA4D;IAE5D,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAErC,+DAA+D;IAE/D,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;;;OAGG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAEpC,wDAAwD;IACxD,OAAO,KAAK,QAAQ,GAInB;IAED,OAAO,CAAC,WAAW,CAAS;IAEnB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IA0B/D,2DAA2D;IAC3D,YAAY,IAAI,MAAM;IAMtB,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAQ3C;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAInC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
|
|
@@ -8,22 +8,26 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
* Nederlandse Digitale Dienst Icon Button Component (Lit + TypeScript)
|
|
9
9
|
*
|
|
10
10
|
* @element nldd-icon-button
|
|
11
|
-
* @attr {string} variant - Button variant: 'accent-filled' | 'accent-
|
|
11
|
+
* @attr {string} variant - Button variant: 'accent-filled' | 'accent-transparent' | 'neutral-tinted' | 'neutral-transparent' | 'critical-tinted' | 'critical-transparent' | 'primary' | 'secondary' | 'destructive'
|
|
12
12
|
* @attr {string} size - Button size: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')
|
|
13
13
|
* @attr {boolean} disabled - Disabled state
|
|
14
14
|
* @attr {string} type - Button type for form submission: 'button' | 'submit' | 'reset' (ignored when href is set)
|
|
15
15
|
* @attr {boolean} expandable - Whether the button opens a menu or popover and shows chevron next to the icon
|
|
16
|
-
* @attr {boolean}
|
|
16
|
+
* @attr {boolean} expanded - Whether the popover/menu controlled by this button is currently open. Forwarded as aria-expanded on the inner button; toggles the is-expanded visual state.
|
|
17
|
+
* @attr {string} popup-type - Type of popup container this button opens: 'menu' | 'listbox' | 'dialog' | 'tree' | 'grid'. Sets aria-haspopup on the inner button and forces aria-expanded to always be present (true/false) so screen readers know the popup state.
|
|
18
|
+
* @attr {string} width - Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px')
|
|
17
19
|
* @attr {string} text - Button text, used as aria-label and shown below the icon in lg size
|
|
18
20
|
* @attr {string} icon - Icon name for the nldd-icon element
|
|
19
21
|
* @attr {string} accessible-label - Accessible label for screen readers. Overrides text as aria-label
|
|
20
22
|
* and title tooltip. Use when the visible text alone lacks context for screen
|
|
21
23
|
* readers (e.g. text "Toon", accessible-label "Toon wachtwoord").
|
|
22
24
|
* The text is still shown visually in lg size regardless.
|
|
23
|
-
* @attr {
|
|
24
|
-
*
|
|
25
|
-
* (
|
|
26
|
-
*
|
|
25
|
+
* @attr {string} tooltip-timing - Forwarded to the inner nldd-tooltip's `timing`:
|
|
26
|
+
* 'default' (700 ms show-delay), 'instant', or 'never'
|
|
27
|
+
* (suppress the visual tooltip; screen readers still get the
|
|
28
|
+
* aria-label). Use 'never' when the surrounding context
|
|
29
|
+
* already explains the button (e.g. spin buttons in
|
|
30
|
+
* nldd-number-field, the chevron in nldd-split-button).
|
|
27
31
|
* @attr {string} href - When set, renders an <a> element instead of <button>
|
|
28
32
|
* @attr {string} target - Link target (e.g. '_blank'); only used when href is set
|
|
29
33
|
* @attr {string} rel - Link rel attribute; defaults to 'noopener noreferrer' when target is '_blank'
|
|
@@ -51,8 +55,28 @@ let NLDDIconButton = class NLDDIconButton extends LitElement {
|
|
|
51
55
|
this.disabled = false;
|
|
52
56
|
this.type = 'button';
|
|
53
57
|
this.expandable = false;
|
|
54
|
-
this.
|
|
58
|
+
this.expanded = false;
|
|
59
|
+
/** Width mode: 'full' (stretch to container) or any CSS length. */
|
|
60
|
+
this.width = '';
|
|
55
61
|
this.popovertarget = undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Direct element reference to the popover this button invokes — IDL-only
|
|
64
|
+
* counterpart to `popovertarget` that works across shadow boundaries.
|
|
65
|
+
* Use this when the popover lives in a different tree (e.g. an
|
|
66
|
+
* `nldd-menu` reparented to `<body>`) so the browser still recognises
|
|
67
|
+
* this button as the popover's invoker and excludes it from the popover
|
|
68
|
+
* light-dismiss algorithm. Set programmatically; not reflected to an
|
|
69
|
+
* HTML attribute (the attribute form is `popovertarget`, ID-based).
|
|
70
|
+
*/
|
|
71
|
+
this.popoverTargetElement = null;
|
|
72
|
+
/**
|
|
73
|
+
* Action the browser performs when the button is clicked, mirroring the
|
|
74
|
+
* standard `popovertargetaction` attribute. Defaults to `'toggle'`. Use
|
|
75
|
+
* `'show'` when a separate handler owns the close path (e.g. the
|
|
76
|
+
* consumer toggles the popover programmatically) so the browser's
|
|
77
|
+
* default action doesn't double-fire.
|
|
78
|
+
*/
|
|
79
|
+
this.popoverTargetAction = 'toggle';
|
|
56
80
|
/** Button text, used as aria-label and shown below the icon in lg size. */
|
|
57
81
|
this.text = '';
|
|
58
82
|
/** Icon name for the nldd-icon element. When not set, the icon slot is used. */
|
|
@@ -60,8 +84,9 @@ let NLDDIconButton = class NLDDIconButton extends LitElement {
|
|
|
60
84
|
/** Accessible label for screen readers. Overrides text as aria-label and title tooltip.
|
|
61
85
|
* The text is still shown visually in lg size regardless. */
|
|
62
86
|
this.accessibleLabel = '';
|
|
63
|
-
/**
|
|
64
|
-
|
|
87
|
+
/** Forwarded to the inner nldd-tooltip's `timing`. Use `'never'` to
|
|
88
|
+
* suppress the visual tooltip; aria-label still describes the button. */
|
|
89
|
+
this.tooltipTiming = 'default';
|
|
65
90
|
/** When set, renders an <a> element instead of <button>. */
|
|
66
91
|
this.href = undefined;
|
|
67
92
|
/** Link target (e.g. '_blank'). Only used when href is set. */
|
|
@@ -80,7 +105,24 @@ let NLDDIconButton = class NLDDIconButton extends LitElement {
|
|
|
80
105
|
const slot = this.shadowRoot?.querySelector('slot[name="icon"]');
|
|
81
106
|
return (slot?.assignedElements().length ?? 0) > 0;
|
|
82
107
|
}
|
|
83
|
-
updated() {
|
|
108
|
+
updated(changedProperties) {
|
|
109
|
+
if (changedProperties.has('width')) {
|
|
110
|
+
const w = this.width;
|
|
111
|
+
// 'full' switches host to block + 100% via CSS attribute selector.
|
|
112
|
+
// A valid CSS length is applied as inline style.width on the host.
|
|
113
|
+
// In either case the inner button stretches via --_width, so
|
|
114
|
+
// a custom width on the host translates to a wide button instead
|
|
115
|
+
// of leaving the size-based square. Invalid values do nothing.
|
|
116
|
+
const isFull = w === 'full';
|
|
117
|
+
const isValidLength = !!w && !isFull && CSS.supports('width', w);
|
|
118
|
+
this.style.width = isValidLength ? w : '';
|
|
119
|
+
if (isFull || isValidLength) {
|
|
120
|
+
this.style.setProperty('--_width', '100%');
|
|
121
|
+
}
|
|
122
|
+
else {
|
|
123
|
+
this.style.removeProperty('--_width');
|
|
124
|
+
}
|
|
125
|
+
}
|
|
84
126
|
const inaccessible = this._hasIcon && !this.text && !this.accessibleLabel;
|
|
85
127
|
if (import.meta.env?.DEV && inaccessible && !this._warnedA11y) {
|
|
86
128
|
this._warnedA11y = true;
|
|
@@ -133,11 +175,23 @@ __decorate([
|
|
|
133
175
|
property({ type: Boolean, reflect: true, attribute: 'expandable' })
|
|
134
176
|
], NLDDIconButton.prototype, "expandable", void 0);
|
|
135
177
|
__decorate([
|
|
136
|
-
property({ type: Boolean, reflect: true
|
|
137
|
-
], NLDDIconButton.prototype, "
|
|
178
|
+
property({ type: Boolean, reflect: true })
|
|
179
|
+
], NLDDIconButton.prototype, "expanded", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
property({ type: String, reflect: true, attribute: 'popup-type' })
|
|
182
|
+
], NLDDIconButton.prototype, "popupType", void 0);
|
|
183
|
+
__decorate([
|
|
184
|
+
property({ type: String, reflect: true })
|
|
185
|
+
], NLDDIconButton.prototype, "width", void 0);
|
|
138
186
|
__decorate([
|
|
139
187
|
property({ type: String })
|
|
140
188
|
], NLDDIconButton.prototype, "popovertarget", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
property({ attribute: false })
|
|
191
|
+
], NLDDIconButton.prototype, "popoverTargetElement", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
property({ attribute: false })
|
|
194
|
+
], NLDDIconButton.prototype, "popoverTargetAction", void 0);
|
|
141
195
|
__decorate([
|
|
142
196
|
property({ type: String })
|
|
143
197
|
], NLDDIconButton.prototype, "text", void 0);
|
|
@@ -148,8 +202,8 @@ __decorate([
|
|
|
148
202
|
property({ type: String, attribute: 'accessible-label' })
|
|
149
203
|
], NLDDIconButton.prototype, "accessibleLabel", void 0);
|
|
150
204
|
__decorate([
|
|
151
|
-
property({ type:
|
|
152
|
-
], NLDDIconButton.prototype, "
|
|
205
|
+
property({ type: String, reflect: true, attribute: 'tooltip-timing' })
|
|
206
|
+
], NLDDIconButton.prototype, "tooltipTiming", void 0);
|
|
153
207
|
__decorate([
|
|
154
208
|
property({ type: String, reflect: true })
|
|
155
209
|
], NLDDIconButton.prototype, "href", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,8BAA8B,CAAC;AAiB/B,IAA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,EAAE,CAAC;qDACmB;AAY9C;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;4DACa;AAU5C;IADC,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;2DAC4B;AAI3D;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CACjB;AAIV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CACjB;AAKV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;uDACrC;AAKrB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC;qDACZ;AAI3D;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CACL;AAIrC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;8CACY;AAOvC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CACS;AAzFxB,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CAwJ1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"icon-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,yBAgZ5B,CAAC"}
|