@nldd/design-system 0.8.70 → 0.8.71
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 +12 -5
- package/custom-elements.json +2990 -577
- package/dist/assets/styles/style-resets.d.ts +1 -1
- package/dist/assets/styles/style-resets.js +1 -1
- package/dist/components/actions/button/button.d.ts +10 -5
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.i18n.d.ts +1 -1
- package/dist/components/actions/button/button.i18n.js +1 -1
- package/dist/components/actions/button/button.i18n.js.map +1 -1
- package/dist/components/actions/button/button.js +19 -4
- 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 +13 -3
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +6 -0
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +26 -39
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.d.ts +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.js +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +25 -38
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +47 -52
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +55 -54
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +7 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.js +1 -1
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +10 -4
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +30 -11
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +3 -3
- package/dist/components/components.js +65 -62
- package/dist/components/content/avatar/avatar.d.ts +44 -12
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.i18n.d.ts +5 -0
- package/dist/components/content/avatar/avatar.i18n.d.ts.map +1 -0
- package/dist/components/content/avatar/avatar.i18n.js +4 -0
- package/dist/components/content/avatar/avatar.i18n.js.map +1 -0
- package/dist/components/content/avatar/avatar.js +87 -13
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +44 -9
- package/dist/components/content/avatar/avatar.styles.js.map +1 -1
- package/dist/components/content/avatar/avatar.template.d.ts +2 -1
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +53 -23
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/byline/byline.d.ts +6 -6
- package/dist/components/content/byline/byline.js +6 -6
- package/dist/components/content/code-viewer/code-viewer.js +2 -2
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +5 -4
- package/dist/components/content/code-viewer/code-viewer.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 +19 -5
- 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 +9 -2
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +14 -16
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +13 -15
- 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 +7 -4
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/image/image.d.ts +9 -9
- package/dist/components/content/image/image.js +9 -9
- package/dist/components/content/image/image.styles.js +2 -2
- package/dist/components/content/image/image.template.js +2 -2
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/image/lqip-encoder.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +2 -2
- package/dist/components/content/rich-text/rich-text.d.ts +4 -4
- package/dist/components/content/rich-text/rich-text.js +4 -4
- package/dist/components/content/token/token.d.ts +7 -7
- package/dist/components/content/token/token.js +7 -7
- package/dist/components/content/tooltip/tooltip.d.ts +4 -14
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +4 -14
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +10 -19
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +10 -19
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +2 -6
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +2 -6
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +7 -14
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +7 -14
- package/dist/components/forms/form-field/form-field.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 +15 -2
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +2 -3
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -3
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/{index-Dgxr-sEe.js → index-CDK46KLh.js} +1 -1
- package/dist/components/{index-Bh_hMHn8.js → index-CbaaFM8N.js} +1 -1
- package/dist/components/{index-DS-RnHMu.js → index-DRtuMofR.js} +1 -1
- package/dist/components/{index-BP0XMTYa.js → index-DuvuHfMi.js} +1 -1
- package/dist/components/{index-CTUlN5qN.js → index-DzJola_U.js} +1 -1
- package/dist/components/{index-sa60dMt-.js → index-n8evy8Za.js} +1 -1
- package/dist/components/{index-BuLJAwiB.js → index-t08wCuGl.js} +4213 -2494
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +11 -11
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +11 -15
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +20 -6
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +29 -7
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +19 -18
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +23 -23
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.d.ts +26 -29
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +74 -39
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +7 -7
- package/dist/components/inputs/date-field/date-field.d.ts +25 -24
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +26 -29
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +5 -5
- package/dist/components/inputs/date-picker/date-picker.d.ts +16 -13
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +35 -15
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +21 -29
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +4 -4
- package/dist/components/inputs/dropdown/dropdown.js +4 -4
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +21 -21
- 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 +23 -26
- 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.js +5 -5
- package/dist/components/inputs/number-field/number-field.d.ts +17 -20
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +20 -23
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +4 -4
- package/dist/components/inputs/password-field/password-field.d.ts +25 -24
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +27 -29
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +7 -7
- package/dist/components/inputs/radio-button/radio-button.d.ts +10 -10
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +9 -14
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +2 -2
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +24 -6
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +32 -7
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +3 -3
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +17 -10
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +15 -17
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +19 -22
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +5 -5
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +27 -29
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +47 -57
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +4 -4
- package/dist/components/inputs/stepper/stepper.d.ts +14 -14
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +13 -18
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +12 -13
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +13 -18
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +6 -6
- package/dist/components/inputs/switch-field/switch-field.d.ts +4 -4
- package/dist/components/inputs/switch-field/switch-field.js +4 -4
- package/dist/components/inputs/text-editor/text-editor.caret.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.caret.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +21 -21
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +27 -27
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +4 -4
- package/dist/components/inputs/text-editor/text-editor.markdown.js +7 -7
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +14 -14
- package/dist/components/inputs/text-field/text-field.d.ts +20 -19
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +22 -24
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +3 -3
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +14 -13
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +18 -18
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +7 -7
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +25 -17
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +24 -29
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.i18n.d.ts +1 -1
- package/dist/components/inputs/token-field/token-field.i18n.js +1 -1
- package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +35 -39
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +4 -4
- package/dist/components/inputs/token-field/token-field.template.js +1 -1
- package/dist/components/inputs/token-field/token-field.template.js.map +1 -1
- package/dist/components/layout/app-view/app-view.d.ts +16 -4
- package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.js +18 -13
- package/dist/components/layout/app-view/app-view.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +1 -1
- package/dist/components/layout/box/box.js +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +8 -18
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +26 -9
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.i18n.d.ts +1 -1
- package/dist/components/layout/card/card.i18n.js +1 -1
- package/dist/components/layout/card/card.i18n.js.map +1 -1
- package/dist/components/layout/card/card.js +51 -14
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +41 -4
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +14 -6
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +3 -10
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +3 -10
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +21 -3
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +41 -41
- package/dist/components/layout/container/container.js +41 -41
- package/dist/components/layout/page/page.d.ts +1 -1
- package/dist/components/layout/page/page.js +2 -2
- package/dist/components/layout/page-footer/page-footer.d.ts +10 -12
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +11 -13
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +8 -1
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -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 +1 -3
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -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 +1 -3
- 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-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -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 +1 -3
- 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/sidebar-section/sidebar-section.d.ts +20 -18
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +26 -20
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +20 -2
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -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 +1 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -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 +1 -3
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +18 -47
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +18 -47
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +9 -17
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +39 -27
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +4 -4
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +4 -4
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +17 -17
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +17 -17
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +2 -2
- package/dist/components/layout/window/window.d.ts +26 -20
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +58 -30
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.template.d.ts.map +1 -1
- package/dist/components/layout/window/window.template.js +1 -0
- package/dist/components/layout/window/window.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js +2 -2
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +43 -9
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +69 -9
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +96 -43
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +19 -7
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +1 -0
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +77 -31
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.d.ts +4 -4
- package/dist/components/lists-and-tables/list/list.i18n.js +4 -4
- package/dist/components/lists-and-tables/list/list.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +202 -70
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +29 -22
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.js +4 -3
- package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +189 -18
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +467 -45
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +133 -101
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +51 -24
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts +108 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.js +228 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.js.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js +145 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.styles.js.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts +3 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.js +35 -0
- package/dist/components/lists-and-tables/list-item-action/list-item-action.template.js.map +1 -0
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +4 -2
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +5 -7
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +5 -7
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +15 -16
- 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.i18n.d.ts +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +14 -15
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +2 -2
- package/dist/components/navigation/link/link.i18n.d.ts +1 -1
- package/dist/components/navigation/link/link.i18n.js +1 -1
- package/dist/components/navigation/link/link.i18n.js.map +1 -1
- package/dist/components/navigation/link/link.template.js +1 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +1 -1
- package/dist/components/navigation/pagination/pagination.i18n.d.ts +1 -1
- package/dist/components/navigation/pagination/pagination.i18n.js +1 -1
- package/dist/components/navigation/pagination/pagination.i18n.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +5 -5
- package/dist/components/navigation/pagination/pagination.template.js +1 -1
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +11 -11
- package/dist/components/navigation/tab-bar/tab-bar.js +11 -11
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +7 -7
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +11 -11
- 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 +11 -12
- 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 +9 -4
- 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.d.ts +5 -5
- package/dist/components/navigation/top-title-bar/top-title-bar.js +6 -6
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +3 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.js +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +4 -4
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +6 -6
- package/dist/components/status-and-feedback/badge/badge.d.ts +2 -2
- package/dist/components/status-and-feedback/badge/badge.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/badge/badge.i18n.js +1 -1
- package/dist/components/status-and-feedback/badge/badge.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +1 -1
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +9 -9
- package/dist/components/status-and-feedback/banner/banner.js +9 -9
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +6 -6
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +6 -6
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +7 -7
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +8 -8
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +22 -8
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +63 -27
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +1 -0
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +13 -13
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.d.ts +2 -2
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js +2 -2
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +14 -14
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +15 -15
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.d.ts +2 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js +2 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +20 -20
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +3 -3
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +4 -4
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +4 -4
- package/dist/components/status-and-feedback/status-bar/status-bar.js +4 -4
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +124 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts +9 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js +8 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js +210 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts +3 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js +294 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts +5 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +69 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js.map +1 -0
- package/dist/css/form.css +16 -7
- package/dist/css/settings.css +68 -73
- package/dist/types/vue.d.ts +186 -42
- package/dist/utilities/autofocus.d.ts +19 -0
- package/dist/utilities/autofocus.d.ts.map +1 -0
- package/dist/utilities/autofocus.js +35 -0
- package/dist/utilities/autofocus.js.map +1 -0
- package/dist/utilities/codemirror/theme.js +2 -2
- package/dist/utilities/codemirror/theme.js.map +1 -1
- package/dist/utilities/color-scheme-repaint.d.ts +2 -2
- package/dist/utilities/color-scheme-repaint.js +2 -2
- package/dist/utilities/form-associated-mixin.d.ts +33 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -0
- package/dist/utilities/form-associated-mixin.js +52 -0
- package/dist/utilities/form-associated-mixin.js.map +1 -0
- package/dist/utilities/input-modality.d.ts +3 -1
- package/dist/utilities/input-modality.d.ts.map +1 -1
- package/dist/utilities/input-modality.js +12 -1
- package/dist/utilities/input-modality.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +1 -1
- package/dist/utilities/page-section-mixin.js +2 -2
- package/dist/utilities/popup-anchor-controller.d.ts +2 -2
- package/package.json +9 -1
package/dist/types/vue.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// import '@nldd/design-system/vue';
|
|
7
7
|
//
|
|
8
8
|
// Every attribute is available both as written in markup (week-numbers) and in
|
|
9
|
-
// the form Vue
|
|
9
|
+
// the form Vue normalizes it to (weekNumbers). Events are the prop Vue derives
|
|
10
10
|
// from @change, so onChange.
|
|
11
11
|
|
|
12
12
|
import type { DefineComponent } from 'vue';
|
|
@@ -60,6 +60,7 @@ import type { NLDDKeyboardShortcut } from '@nldd/design-system/keyboard-shortcut
|
|
|
60
60
|
import type { NLDDLink } from '@nldd/design-system/link';
|
|
61
61
|
import type { NLDDList } from '@nldd/design-system/list';
|
|
62
62
|
import type { NLDDListItem } from '@nldd/design-system/list-item';
|
|
63
|
+
import type { NLDDListItemAction } from '@nldd/design-system/list-item-action';
|
|
63
64
|
import type { NLDDMenu } from '@nldd/design-system/menu';
|
|
64
65
|
import type { NLDDMenuBar } from '@nldd/design-system/menu-bar';
|
|
65
66
|
import type { NLDDMenuBarItem } from '@nldd/design-system/menu-bar-item';
|
|
@@ -102,6 +103,8 @@ import type { NLDDSplitViewDivider } from '@nldd/design-system/split-view-divide
|
|
|
102
103
|
import type { NLDDSplitViewPane } from '@nldd/design-system/split-view-pane';
|
|
103
104
|
import type { NLDDStackedSplitView } from '@nldd/design-system/stacked-split-view';
|
|
104
105
|
import type { NLDDStatusBar } from '@nldd/design-system/status-bar';
|
|
106
|
+
import type { NLDDStepIndicator } from '@nldd/design-system/step-indicator';
|
|
107
|
+
import type { NLDDStepIndicatorItem } from '@nldd/design-system/step-indicator';
|
|
105
108
|
import type { NLDDStepper } from '@nldd/design-system/stepper';
|
|
106
109
|
import type { NLDDSwitch } from '@nldd/design-system/switch';
|
|
107
110
|
import type { NLDDSwitchField } from '@nldd/design-system/switch-field';
|
|
@@ -171,7 +174,7 @@ declare module 'vue' {
|
|
|
171
174
|
'type'?: NLDDAvatar['type'];
|
|
172
175
|
/** `default` (neutrale vulling) of `inherit` (vulling in de content-kleur: de `--context-content-color`-channel, of `currentColor` als die niet gezet is; tekst in de contrastkleur, zodat de avatar een icoon in bijvoorbeeld een knop kan vervangen); standaard `default` */
|
|
173
176
|
'color'?: NLDDAvatar['color'];
|
|
174
|
-
/**
|
|
177
|
+
/** `full` (standaard) schaalt mee met de container, net als nldd-icon; of een vaste maat in px (spacer-uitgelijnd: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). Leeg gedraagt zich als `full`. De initialen en het icoon schalen mee */
|
|
175
178
|
'size'?: NLDDAvatar['size'];
|
|
176
179
|
/** Krimpt de zichtbare schijf naar 5/6 van de host, gecentreerd, zodat de avatar optisch uitlijnt met een icoon op hetzelfde grid (een icoon-glyph heeft ingebouwde marge) */
|
|
177
180
|
'icon-aligned'?: NLDDAvatar['iconAligned'];
|
|
@@ -179,6 +182,22 @@ declare module 'vue' {
|
|
|
179
182
|
'iconAligned'?: NLDDAvatar['iconAligned'];
|
|
180
183
|
/** Verbergt de avatar voor hulpsoftware (gebruik wanneer de naam er al als tekst naast staat) */
|
|
181
184
|
'decorative'?: NLDDAvatar['decorative'];
|
|
185
|
+
/** Maakt de avatar een link naar deze URL; de schijf zelf wordt de link, dus klikgebied en focusring volgen de vorm */
|
|
186
|
+
'href'?: NLDDAvatar['href'];
|
|
187
|
+
/** Maakt de avatar een knop; genegeerd wanneer `href` is gezet */
|
|
188
|
+
'button'?: NLDDAvatar['button'];
|
|
189
|
+
/** Link target voor href (bijv. '_blank'); vult rel aan en meldt "Opent in nieuw tabblad" */
|
|
190
|
+
'target'?: NLDDAvatar['target'];
|
|
191
|
+
/** Link rel voor href; standaard 'noopener noreferrer' bij target='_blank' */
|
|
192
|
+
'rel'?: NLDDAvatar['rel'];
|
|
193
|
+
/** Naam van de link of knop; zonder deze wordt `name` gebruikt */
|
|
194
|
+
'accessible-label'?: NLDDAvatar['accessibleLabel'];
|
|
195
|
+
/** Naam van de link of knop; zonder deze wordt `name` gebruikt */
|
|
196
|
+
'accessibleLabel'?: NLDDAvatar['accessibleLabel'];
|
|
197
|
+
/** Overschrijf translation keys; niet gezette keys vallen terug op het Nederlands */
|
|
198
|
+
'translations'?: NLDDAvatar['translations'];
|
|
199
|
+
/** True zodra de avatar zelf een control is. */
|
|
200
|
+
'isInteractive'?: NLDDAvatar['isInteractive'];
|
|
182
201
|
/** Initials shown when there is no image: an explicit `initials` wins, otherwise the first letter of the first and last word of `name`. */
|
|
183
202
|
'resolvedInitials'?: NLDDAvatar['resolvedInitials'];
|
|
184
203
|
/** Fallback icon when there is neither image nor initials. */
|
|
@@ -206,7 +225,7 @@ declare module 'vue' {
|
|
|
206
225
|
};
|
|
207
226
|
|
|
208
227
|
type NLDDBannerProps = {
|
|
209
|
-
/**
|
|
228
|
+
/** Color and default icon (default: 'neutral') */
|
|
210
229
|
'variant'?: NLDDBanner['variant'];
|
|
211
230
|
/** Icon override. Default per variant: neutral → info-circle-filled, accent → info-circle-filled, success → check-circle-filled, warning → exclamation-triangle-filled, critical → exclamation-circle-filled */
|
|
212
231
|
'icon'?: NLDDBanner['icon'];
|
|
@@ -272,6 +291,10 @@ declare module 'vue' {
|
|
|
272
291
|
'horizontalAlignment'?: NLDDButton['horizontalAlignment'];
|
|
273
292
|
/** Width mode: 'full' (stretches to container) or any CSS length (e.g. '240px') */
|
|
274
293
|
'width'?: NLDDButton['width'];
|
|
294
|
+
/** Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis — a cap only means something if the content respects it. */
|
|
295
|
+
'max-width'?: NLDDButton['maxWidth'];
|
|
296
|
+
/** Caps the width at this CSS length (e.g. '320px'). Combines with `width="full"`: the button follows its container up to the cap. A label that doesn't fit is truncated with an ellipsis — a cap only means something if the content respects it. */
|
|
297
|
+
'maxWidth'?: NLDDButton['maxWidth'];
|
|
275
298
|
/** Whether the button has a icon to indicate it opens a menu or popover */
|
|
276
299
|
'expandable'?: NLDDButton['expandable'];
|
|
277
300
|
/** 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. */
|
|
@@ -322,7 +345,7 @@ declare module 'vue' {
|
|
|
322
345
|
'rel'?: NLDDButton['rel'];
|
|
323
346
|
/** Override translation keys (e.g. the "opens in new tab" announcement); unset keys fall back to Dutch. */
|
|
324
347
|
'translations'?: NLDDButton['translations'];
|
|
325
|
-
/** Direct element reference to the popover this button invokes — IDL-only counterpart to `popovertarget` that works across shadow boundaries. Use this when the popover lives in a different tree (e.g. an `nldd-menu` reparented to `<body>`) so the browser still
|
|
348
|
+
/** Direct element reference to the popover this button invokes — IDL-only counterpart to `popovertarget` that works across shadow boundaries. Use this when the popover lives in a different tree (e.g. an `nldd-menu` reparented to `<body>`) so the browser still recognizes this button as the popover's invoker and excludes it from the popover light-dismiss algorithm. Set programmatically; not reflected to an HTML attribute (the attribute form is `popovertarget`, ID-based). */
|
|
326
349
|
'popoverTargetElement'?: NLDDButton['popoverTargetElement'];
|
|
327
350
|
/** Action the browser performs when the button is clicked, mirroring the standard `popovertargetaction` attribute. Defaults to `'toggle'`. Use `'show'` when a separate handler owns the close path (e.g. the consumer toggles the popover programmatically) so the browser's default action doesn't double-fire. */
|
|
328
351
|
'popoverTargetAction'?: NLDDButton['popoverTargetAction'];
|
|
@@ -371,12 +394,14 @@ declare module 'vue' {
|
|
|
371
394
|
};
|
|
372
395
|
|
|
373
396
|
type NLDDCardProps = {
|
|
374
|
-
/** Toegankelijke naam van de kaart; bij `href` benoemt deze de link, anders de kaart-region */
|
|
397
|
+
/** Toegankelijke naam van de kaart; bij `href`/`button` benoemt deze de link of knop, anders de kaart-region */
|
|
375
398
|
'accessible-label'?: NLDDCard['accessibleLabel'];
|
|
376
|
-
/** Toegankelijke naam van de kaart; bij `href` benoemt deze de link, anders de kaart-region */
|
|
399
|
+
/** Toegankelijke naam van de kaart; bij `href`/`button` benoemt deze de link of knop, anders de kaart-region */
|
|
377
400
|
'accessibleLabel'?: NLDDCard['accessibleLabel'];
|
|
378
401
|
/** Maakt de hele kaart een link naar deze URL (leeg = geen link) */
|
|
379
402
|
'href'?: NLDDCard['href'];
|
|
403
|
+
/** Maakt de hele kaart een knop; genegeerd wanneer `href` is gezet */
|
|
404
|
+
'button'?: NLDDCard['button'];
|
|
380
405
|
/** Link target voor href (bijv. '_blank'); stelt rel automatisch bij en voegt bij '_blank' een "Opent in nieuw tabblad"-melding toe */
|
|
381
406
|
'target'?: NLDDCard['target'];
|
|
382
407
|
/** Link rel voor href; standaard 'noopener noreferrer' bij target='_blank' */
|
|
@@ -429,6 +454,7 @@ declare module 'vue' {
|
|
|
429
454
|
'accessible-label'?: NLDDCheckbox['accessibleLabel'];
|
|
430
455
|
/** Accessible label forwarded as aria-label to the native input. Note: aria-labelledby is not supported as IDREF resolution cannot cross shadow DOM boundaries. */
|
|
431
456
|
'accessibleLabel'?: NLDDCheckbox['accessibleLabel'];
|
|
457
|
+
'internals'?: NLDDCheckbox['internals'];
|
|
432
458
|
/** Fired when the checkbox state changes; detail: { checked: boolean, value: string } */
|
|
433
459
|
'onChange'?: (event: CustomEvent) => void;
|
|
434
460
|
};
|
|
@@ -446,6 +472,7 @@ declare module 'vue' {
|
|
|
446
472
|
'name'?: NLDDCheckboxField['name'];
|
|
447
473
|
/** Label text for the checkbox */
|
|
448
474
|
'label'?: NLDDCheckboxField['label'];
|
|
475
|
+
'internals'?: NLDDCheckboxField['internals'];
|
|
449
476
|
/** When checked state changes; detail: { checked: boolean, value: string } */
|
|
450
477
|
'onChange'?: (event: CustomEvent) => void;
|
|
451
478
|
};
|
|
@@ -485,6 +512,7 @@ declare module 'vue' {
|
|
|
485
512
|
'accessible-label'?: NLDDCodeEditor['accessibleLabel'];
|
|
486
513
|
/** Accessible label forwarded to the editor. Set automatically by nldd-form-field. */
|
|
487
514
|
'accessibleLabel'?: NLDDCodeEditor['accessibleLabel'];
|
|
515
|
+
'internals'?: NLDDCodeEditor['internals'];
|
|
488
516
|
/** When the content changes (detail: { value }) */
|
|
489
517
|
'onInput'?: (event: CustomEvent) => void;
|
|
490
518
|
/** When the content is committed on blur (detail: { value }) */
|
|
@@ -576,6 +604,7 @@ declare module 'vue' {
|
|
|
576
604
|
'noSpellcheck'?: NLDDComboBox['noSpellcheck'];
|
|
577
605
|
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
578
606
|
'width'?: NLDDComboBox['width'];
|
|
607
|
+
'internals'?: NLDDComboBox['internals'];
|
|
579
608
|
/** When the input value changes; detail: { value: string } */
|
|
580
609
|
'onInput'?: (event: CustomEvent) => void;
|
|
581
610
|
/** When an option is selected or a custom value is committed; detail: { value: string } */
|
|
@@ -782,6 +811,7 @@ declare module 'vue' {
|
|
|
782
811
|
'width'?: NLDDDateField['width'];
|
|
783
812
|
/** Vertalingen; niet opgegeven sleutels vallen terug op het Nederlands. */
|
|
784
813
|
'translations'?: NLDDDateField['translations'];
|
|
814
|
+
'internals'?: NLDDDateField['internals'];
|
|
785
815
|
/** Bij elke wijziging. detail: { value } met de ISO-datum, of '' zolang er geen geldige datum staat. */
|
|
786
816
|
'onInput'?: (event: CustomEvent) => void;
|
|
787
817
|
/** Wanneer de waarde is vastgelegd. detail: { value } met de ISO-datum, of ''. */
|
|
@@ -795,6 +825,8 @@ declare module 'vue' {
|
|
|
795
825
|
'start'?: NLDDDatePicker['start'];
|
|
796
826
|
/** Einde van de periode als ISO. Alleen met `range`. */
|
|
797
827
|
'end'?: NLDDDatePicker['end'];
|
|
828
|
+
/** Breedte: `full` (vult de container) of een CSS-lengte (bv. `560px`). Leeg (standaard) is de intrinsieke breedte van zeven dagcellen; de cellen rekken mee met de opgegeven breedte. */
|
|
829
|
+
'width'?: NLDDDatePicker['width'];
|
|
798
830
|
/** Kies een periode in plaats van één datum. */
|
|
799
831
|
'range'?: NLDDDatePicker['range'];
|
|
800
832
|
/** Vroegst toegestane datum: ISO, of `today` met een verschuiving (`today-18y`). */
|
|
@@ -1088,7 +1120,7 @@ declare module 'vue' {
|
|
|
1088
1120
|
type NLDDIconProps = {
|
|
1089
1121
|
/** The name of the icon to display */
|
|
1090
1122
|
'name'?: NLDDIcon['name'];
|
|
1091
|
-
/**
|
|
1123
|
+
/** `full` (default) fills the container; `inherit` follows the surrounding text (1em); or a fixed spacer-aligned size in px (16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). Empty behaves as `full`. */
|
|
1092
1124
|
'size'?: NLDDIcon['size'];
|
|
1093
1125
|
/** Functional (`primary-content`, `secondary-content`, `accent`, `critical`, `warning`, `success`) or rijkskleur (`lintblauw`, `donkerblauw`, `hemelblauw`, `lichtblauw`, `paars`, `violet`, `robijnrood`, `roze`, `rood`, `oranje`, `donkergeel`, `geel`, `donkerbruin`, `bruin`, `donkergroen`, `groen`, `mosgroen`, `mintgroen`). Empty = inherit `color` from parent. */
|
|
1094
1126
|
'color'?: NLDDIcon['color'];
|
|
@@ -1149,7 +1181,7 @@ declare module 'vue' {
|
|
|
1149
1181
|
'rel'?: NLDDIconButton['rel'];
|
|
1150
1182
|
/** Override translation keys (e.g. the "opens in new tab" announcement); unset keys fall back to Dutch. */
|
|
1151
1183
|
'translations'?: NLDDIconButton['translations'];
|
|
1152
|
-
/** Direct element reference to the popover this button invokes — IDL-only counterpart to `popovertarget` that works across shadow boundaries. Use this when the popover lives in a different tree (e.g. an `nldd-menu` reparented to `<body>`) so the browser still
|
|
1184
|
+
/** Direct element reference to the popover this button invokes — IDL-only counterpart to `popovertarget` that works across shadow boundaries. Use this when the popover lives in a different tree (e.g. an `nldd-menu` reparented to `<body>`) so the browser still recognizes this button as the popover's invoker and excludes it from the popover light-dismiss algorithm. Set programmatically; not reflected to an HTML attribute (the attribute form is `popovertarget`, ID-based). */
|
|
1153
1185
|
'popoverTargetElement'?: NLDDIconButton['popoverTargetElement'];
|
|
1154
1186
|
/** Action the browser performs when the button is clicked, mirroring the standard `popovertargetaction` attribute. Defaults to `'toggle'`. Use `'show'` when a separate handler owns the close path (e.g. the consumer toggles the popover programmatically) so the browser's default action doesn't double-fire. */
|
|
1155
1187
|
'popoverTargetAction'?: NLDDIconButton['popoverTargetAction'];
|
|
@@ -1339,9 +1371,9 @@ declare module 'vue' {
|
|
|
1339
1371
|
'no-dividers'?: NLDDList['noDividers'];
|
|
1340
1372
|
/** Hides the dividers between list items */
|
|
1341
1373
|
'noDividers'?: NLDDList['noDividers'];
|
|
1342
|
-
/** Roving-tabindex arrow-key navigation: ArrowUp/ArrowDown move focus between
|
|
1374
|
+
/** Roving-tabindex arrow-key navigation: ArrowUp/ArrowDown move focus between the rows, Home/End jump to first/last, and the list becomes a single tab stop. Implied by `type="tree"` (which adds ArrowLeft/ArrowRight, see above). Ignored when `reorderable` is active on a `type="list"`, and in listbox mode. */
|
|
1343
1375
|
'arrow-navigation'?: NLDDList['arrowNavigation'];
|
|
1344
|
-
/** Roving-tabindex arrow-key navigation: ArrowUp/ArrowDown move focus between
|
|
1376
|
+
/** Roving-tabindex arrow-key navigation: ArrowUp/ArrowDown move focus between the rows, Home/End jump to first/last, and the list becomes a single tab stop. Implied by `type="tree"` (which adds ArrowLeft/ArrowRight, see above). Ignored when `reorderable` is active on a `type="list"`, and in listbox mode. */
|
|
1345
1377
|
'arrowNavigation'?: NLDDList['arrowNavigation'];
|
|
1346
1378
|
/** Listbox only: caps the options' scroll region at this CSS length (e.g. '320px'). Unset means no cap. */
|
|
1347
1379
|
'height'?: NLDDList['height'];
|
|
@@ -1366,12 +1398,18 @@ declare module 'vue' {
|
|
|
1366
1398
|
};
|
|
1367
1399
|
|
|
1368
1400
|
type NLDDListItemProps = {
|
|
1369
|
-
/** Row size (default: 'md') */
|
|
1401
|
+
/** Row size (default: 'md'). Pushed onto the cells whose `size` means the same scale (nldd-text-cell, nldd-drag-handle-cell), so it is written once per row instead of once per cell. A size set on the cell itself wins. Cells where `size` means something else — pixels on nldd-icon-cell / nldd-spacer-cell, a heading scale on nldd-title-cell — are left alone. */
|
|
1370
1402
|
'size'?: NLDDListItem['size'];
|
|
1371
1403
|
/** Marks the item as selected. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current="page"` on the inner action, in a `listbox` parent it drives `aria-selected`. */
|
|
1372
1404
|
'selected'?: NLDDListItem['selected'];
|
|
1373
1405
|
/** Renders the item as a `<button>`; ignored when `href` is set (a link wins) */
|
|
1374
1406
|
'button'?: NLDDListItem['button'];
|
|
1407
|
+
/** Makes the whole row a `role="checkbox"` control; ignored when `href` is set */
|
|
1408
|
+
'checkbox'?: NLDDListItem['checkbox'];
|
|
1409
|
+
/** Checked state of a `checkbox` row; the item toggles it on activation */
|
|
1410
|
+
'checked'?: NLDDListItem['checked'];
|
|
1411
|
+
/** Disclosure state. Drives the `children` group's visibility AND supplies `aria-expanded` — to the row's own control when the row is interactive, or to the segmented action marked `disclosure`. Written once either way; the item DEV-warns when there is nowhere for it to live. */
|
|
1412
|
+
'expanded'?: NLDDListItem['expanded'];
|
|
1375
1413
|
/** Renders the item as an `<a>` with this URL. Takes precedence over `button`; without either the item is a plain container with no action. */
|
|
1376
1414
|
'href'?: NLDDListItem['href'];
|
|
1377
1415
|
/** Link target forwarded to the `<a>` (e.g. '_blank'); only applies with `href`. With '_blank' a visually hidden "opens in new tab" announcement is added for assistive technology. */
|
|
@@ -1381,10 +1419,47 @@ declare module 'vue' {
|
|
|
1381
1419
|
/** Set by the parent `nldd-list` when its own `reorderable` is on (with `type="list"`); consumers do not set this. Serves as a CSS hook for drag handle visibility. */
|
|
1382
1420
|
'reorderable'?: NLDDListItem['reorderable'];
|
|
1383
1421
|
'translations'?: NLDDListItem['translations'];
|
|
1422
|
+
/** Nested rows sit in this item's `children` slot, not the list's, so a plain `querySelector` from the list walks past them. */
|
|
1423
|
+
'childRows'?: NLDDListItem['childRows'];
|
|
1424
|
+
/** The branch this row hangs under, or undefined for a top-level row. */
|
|
1425
|
+
'parentRow'?: NLDDListItem['parentRow'];
|
|
1426
|
+
/** On a `checkbox` row after it toggles; detail: { checked: boolean } */
|
|
1427
|
+
'onChange'?: (event: CustomEvent) => void;
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
type NLDDListItemActionProps = {
|
|
1431
|
+
/** Renders the segmented action as a `<button>`; ignored when `href` is set */
|
|
1432
|
+
'button'?: NLDDListItemAction['button'];
|
|
1433
|
+
/** Renders the segmented action as an `<a>` with this URL; wins over `button` and `checkbox` */
|
|
1434
|
+
'href'?: NLDDListItemAction['href'];
|
|
1435
|
+
/** Link target forwarded to the `<a>`; only applies with `href` */
|
|
1436
|
+
'target'?: NLDDListItemAction['target'];
|
|
1437
|
+
/** Link rel forwarded to the `<a>`; only applies with `href` */
|
|
1438
|
+
'rel'?: NLDDListItemAction['rel'];
|
|
1439
|
+
/** Makes the segmented action a `role="checkbox"` control; ignored when `href` is set */
|
|
1440
|
+
'checkbox'?: NLDDListItemAction['checkbox'];
|
|
1441
|
+
/** Checked state of a `checkbox` action; it toggles on activation */
|
|
1442
|
+
'checked'?: NLDDListItemAction['checked'];
|
|
1443
|
+
/** Disclosure state, reflected as `aria-expanded` on the control. Set it on the segmented action that opens something (e.g. a tree row's chevron). Leave it off entirely when the segmented action discloses nothing — an absent attribute emits no aria-expanded. */
|
|
1444
|
+
'expanded'?: NLDDListItemAction['expanded'];
|
|
1445
|
+
/** Marks the segmented action as the row's disclosure control: `aria-expanded` comes from the parent item's `expanded`, so the state lives in one place. A slotted `nldd-icon-cell` rotates a quarter turn while the row is open */
|
|
1446
|
+
'disclosure'?: NLDDListItemAction['disclosure'];
|
|
1447
|
+
/** Marks the segmented action as the current page (`aria-current="page"`) */
|
|
1448
|
+
'current'?: NLDDListItemAction['current'];
|
|
1449
|
+
/** Disabled state; only applies to button and checkbox segmented actions */
|
|
1450
|
+
'disabled'?: NLDDListItemAction['disabled'];
|
|
1451
|
+
/** `full` lets the segmented action grow to fill the row (default: 'fit-content') */
|
|
1452
|
+
'width'?: NLDDListItemAction['width'];
|
|
1453
|
+
/** Accessible name for the control. Set it when the segmented action holds only an icon, or when the cell text does not describe the action. */
|
|
1454
|
+
'accessible-label'?: NLDDListItemAction['accessibleLabel'];
|
|
1455
|
+
/** Accessible name for the control. Set it when the segmented action holds only an icon, or when the cell text does not describe the action. */
|
|
1456
|
+
'accessibleLabel'?: NLDDListItemAction['accessibleLabel'];
|
|
1457
|
+
/** On a `checkbox` action after it toggles; detail: { checked: boolean } */
|
|
1458
|
+
'onChange'?: (event: CustomEvent) => void;
|
|
1384
1459
|
};
|
|
1385
1460
|
|
|
1386
1461
|
type NLDDMenuProps = {
|
|
1387
|
-
/** ID of the anchor element. */
|
|
1462
|
+
/** ID of the anchor element. Positions the menu against it AND makes it a toggle: the menu listens on document click and opens/closes itself when the click lands on the anchor. Use this for a menu hung off a button. For a menu you open yourself (a type-ahead under a text field, say), set the `anchorElement` property instead — same positioning, no toggle. */
|
|
1388
1463
|
'anchor'?: NLDDMenu['anchor'];
|
|
1389
1464
|
/** Floating UI placement. Default: 'bottom-start'. */
|
|
1390
1465
|
'placement'?: NLDDMenu['placement'];
|
|
@@ -1408,6 +1483,7 @@ declare module 'vue' {
|
|
|
1408
1483
|
'filterFn'?: NLDDMenu['filterFn'];
|
|
1409
1484
|
/** Render variant. Use 'listbox' when the menu serves as a combobox popup — this switches role to "listbox" and item roles to "option" per ARIA spec. Default: 'menu'. */
|
|
1410
1485
|
'variant'?: NLDDMenu['variant'];
|
|
1486
|
+
/** The anchor as an element reference. Positions the menu exactly like the `anchor` attribute, but does NOT turn the anchor into a toggle — clicking it does not open the menu. Use this whenever you drive open/close yourself (`showPopover()` / `hidePopover()`), which is what nldd-combo-box and nldd-token-field do: their input must stay an input, not a menu button. */
|
|
1411
1487
|
'anchorElement'?: NLDDMenu['anchorElement'];
|
|
1412
1488
|
};
|
|
1413
1489
|
|
|
@@ -1460,7 +1536,7 @@ declare module 'vue' {
|
|
|
1460
1536
|
'haspopup'?: NLDDMenuBarItem['haspopup'];
|
|
1461
1537
|
/** Of de bijbehorende popover open is; zet aria-expanded op de knop wanneer expandable of haspopup is gezet. Wordt automatisch bijgehouden voor een geslotte `<nldd-menu>`. */
|
|
1462
1538
|
'expanded'?: NLDDMenuBarItem['expanded'];
|
|
1463
|
-
/** Direct element reference to the popover this item invokes — IDL-only counterpart to `popovertarget` that works across shadow boundaries. Set by `nldd-menu` when this item is wired up as the menu's anchor so the browser
|
|
1539
|
+
/** Direct element reference to the popover this item invokes — IDL-only counterpart to `popovertarget` that works across shadow boundaries. Set by `nldd-menu` when this item is wired up as the menu's anchor so the browser recognizes the inner button as the menu's invoker and excludes the click from popover light-dismiss. */
|
|
1464
1540
|
'popoverTargetElement'?: NLDDMenuBarItem['popoverTargetElement'];
|
|
1465
1541
|
/** Action the browser performs when the inner button is clicked, mirroring the standard `popovertargetaction` attribute. The menu keeps this in sync with its open state — `'hide'` while open, `'show'` while closed — so the browser's native invoker action always matches the intent of the click without racing. */
|
|
1466
1542
|
'popoverTargetAction'?: NLDDMenuBarItem['popoverTargetAction'];
|
|
@@ -1499,7 +1575,7 @@ declare module 'vue' {
|
|
|
1499
1575
|
'type'?: NLDDMenuItem['type'];
|
|
1500
1576
|
/** Selected state for checkbox and radio types. */
|
|
1501
1577
|
'selected'?: NLDDMenuItem['selected'];
|
|
1502
|
-
/** Marks the item as destructive (red text; red highlight bg). Use for irreversible actions like "Delete".
|
|
1578
|
+
/** Marks the item as destructive (red text; red highlight bg). Use for irreversible actions like "Delete". Color is the only built-in signal, so per WCAG 1.4.1 the item's own label must convey the destructive nature (e.g. "Verwijder") — don't rely on the red alone. Confirming the action (e.g. a follow-up dialog) is the consumer's responsibility. */
|
|
1503
1579
|
'destructive'?: NLDDMenuItem['destructive'];
|
|
1504
1580
|
/** Disabled state. */
|
|
1505
1581
|
'disabled'?: NLDDMenuItem['disabled'];
|
|
@@ -1585,6 +1661,7 @@ declare module 'vue' {
|
|
|
1585
1661
|
'noSpellcheck'?: NLDDMultiLineTextField['noSpellcheck'];
|
|
1586
1662
|
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
1587
1663
|
'width'?: NLDDMultiLineTextField['width'];
|
|
1664
|
+
'internals'?: NLDDMultiLineTextField['internals'];
|
|
1588
1665
|
/** When value changes */
|
|
1589
1666
|
'onInput'?: (event: CustomEvent) => void;
|
|
1590
1667
|
/** When value is committed (blur) */
|
|
@@ -1650,6 +1727,7 @@ declare module 'vue' {
|
|
|
1650
1727
|
'accessibleLabel'?: NLDDNumberField['accessibleLabel'];
|
|
1651
1728
|
/** Translations; unspecified keys fall back to Dutch */
|
|
1652
1729
|
'translations'?: NLDDNumberField['translations'];
|
|
1730
|
+
'internals'?: NLDDNumberField['internals'];
|
|
1653
1731
|
/** When the value changes (typing, +/- button, or on-commit correction); detail: { value: number } */
|
|
1654
1732
|
'onInput'?: (event: CustomEvent) => void;
|
|
1655
1733
|
/** When the value is committed (blur/Enter or +/- button), clamped to [min, max]; empty input falls back to the last valid value. When the committed value differs from the typed value, a matching input event is fired immediately before this one. detail: { value: number } */
|
|
@@ -1751,7 +1829,7 @@ declare module 'vue' {
|
|
|
1751
1829
|
'sticky-footer'?: NLDDPage['stickyFooter'];
|
|
1752
1830
|
/** Sticky footer */
|
|
1753
1831
|
'stickyFooter'?: NLDDPage['stickyFooter'];
|
|
1754
|
-
/** Use a
|
|
1832
|
+
/** Use a gray background instead of white */
|
|
1755
1833
|
'background'?: NLDDPage['background'];
|
|
1756
1834
|
'scrollTarget'?: NLDDPage['scrollTarget'];
|
|
1757
1835
|
};
|
|
@@ -1849,6 +1927,7 @@ declare module 'vue' {
|
|
|
1849
1927
|
'errorMessageIds'?: NLDDPasswordField['errorMessageIds'];
|
|
1850
1928
|
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
1851
1929
|
'width'?: NLDDPasswordField['width'];
|
|
1930
|
+
'internals'?: NLDDPasswordField['internals'];
|
|
1852
1931
|
/** When the input value changes ({ detail: { value } }) */
|
|
1853
1932
|
'onInput'?: (event: CustomEvent) => void;
|
|
1854
1933
|
/** When the input value is committed ({ detail: { value } }) */
|
|
@@ -1872,9 +1951,9 @@ declare module 'vue' {
|
|
|
1872
1951
|
'bottom'?: NLDDPopover['bottom'];
|
|
1873
1952
|
/** Centreert beide assen op de viewport. Per as overrideable: `centered top="0"` = horizontaal gecentreerd, top-aligned. Mirrort CSS `place-items: center` met `align-items`/`justify-items` overrides. */
|
|
1874
1953
|
'centered'?: NLDDPopover['centered'];
|
|
1875
|
-
/** Op sm-viewport (waar de popover als bottom-sheet rendert) de volledige beschikbare hoogte vullen i.p.v. te krimpen naar content. Geen effect op md+ (anchored modus). Opt-in voor content-heavy use cases zoals
|
|
1954
|
+
/** Op sm-viewport (waar de popover als bottom-sheet rendert) de volledige beschikbare hoogte vullen i.p.v. te krimpen naar content. Geen effect op md+ (anchored modus). Opt-in voor content-heavy use cases zoals zoekresultaten of lange detail-views; volgt Apple/Material conventie van content-sized als default. */
|
|
1876
1955
|
'sm-full-height'?: NLDDPopover['smFullHeight'];
|
|
1877
|
-
/** Op sm-viewport (waar de popover als bottom-sheet rendert) de volledige beschikbare hoogte vullen i.p.v. te krimpen naar content. Geen effect op md+ (anchored modus). Opt-in voor content-heavy use cases zoals
|
|
1956
|
+
/** Op sm-viewport (waar de popover als bottom-sheet rendert) de volledige beschikbare hoogte vullen i.p.v. te krimpen naar content. Geen effect op md+ (anchored modus). Opt-in voor content-heavy use cases zoals zoekresultaten of lange detail-views; volgt Apple/Material conventie van content-sized als default. */
|
|
1878
1957
|
'smFullHeight'?: NLDDPopover['smFullHeight'];
|
|
1879
1958
|
/** (verplicht) Toegankelijke naam (aria-label). Valt terug op de i18n default ('Popover') als niet gezet — geef altijd een unieke, beschrijvende naam. */
|
|
1880
1959
|
'accessible-label'?: NLDDPopover['accessibleLabel'];
|
|
@@ -1939,7 +2018,7 @@ declare module 'vue' {
|
|
|
1939
2018
|
};
|
|
1940
2019
|
|
|
1941
2020
|
type NLDDProgressCircleProps = {
|
|
1942
|
-
/** Semantics for ARIA and gap
|
|
2021
|
+
/** Semantics for ARIA and gap behavior (default: 'progress') */
|
|
1943
2022
|
'mode'?: NLDDProgressCircle['mode'];
|
|
1944
2023
|
/** Total value (default: 100) */
|
|
1945
2024
|
'max'?: NLDDProgressCircle['max'];
|
|
@@ -1997,6 +2076,7 @@ declare module 'vue' {
|
|
|
1997
2076
|
'accessible-label'?: NLDDRadioButton['accessibleLabel'];
|
|
1998
2077
|
/** Accessible label forwarded as aria-label to the native input. Note: aria-labelledby is not supported as IDREF resolution cannot cross shadow DOM boundaries. */
|
|
1999
2078
|
'accessibleLabel'?: NLDDRadioButton['accessibleLabel'];
|
|
2079
|
+
'internals'?: NLDDRadioButton['internals'];
|
|
2000
2080
|
/** When checked state changes; detail: { checked: boolean, value: string, name: string } */
|
|
2001
2081
|
'onChange'?: (event: CustomEvent) => void;
|
|
2002
2082
|
};
|
|
@@ -2014,6 +2094,7 @@ declare module 'vue' {
|
|
|
2014
2094
|
'required'?: NLDDRadioButtonField['required'];
|
|
2015
2095
|
/** Label text for the radio button */
|
|
2016
2096
|
'label'?: NLDDRadioButtonField['label'];
|
|
2097
|
+
'internals'?: NLDDRadioButtonField['internals'];
|
|
2017
2098
|
/** When checked state changes; detail: { checked: boolean, value: string } */
|
|
2018
2099
|
'onChange'?: (event: CustomEvent) => void;
|
|
2019
2100
|
};
|
|
@@ -2026,9 +2107,9 @@ declare module 'vue' {
|
|
|
2026
2107
|
/** Marks the group as required */
|
|
2027
2108
|
'required'?: NLDDRadioButtonGroup['required'];
|
|
2028
2109
|
/** Id of an external label element, set as aria-labelledby on the group */
|
|
2029
|
-
'accessible-
|
|
2110
|
+
'accessible-labeled-by'?: NLDDRadioButtonGroup['accessibleLabeledBy'];
|
|
2030
2111
|
/** Id of an external label element, set as aria-labelledby on the group */
|
|
2031
|
-
'
|
|
2112
|
+
'accessibleLabeledBy'?: NLDDRadioButtonGroup['accessibleLabeledBy'];
|
|
2032
2113
|
/** Bubbles up from the checked field; detail: { checked: boolean, value: string } */
|
|
2033
2114
|
'onChange'?: (event: CustomEvent) => void;
|
|
2034
2115
|
};
|
|
@@ -2073,6 +2154,7 @@ declare module 'vue' {
|
|
|
2073
2154
|
'noSpellcheck'?: NLDDSearchField['noSpellcheck'];
|
|
2074
2155
|
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
2075
2156
|
'width'?: NLDDSearchField['width'];
|
|
2157
|
+
'internals'?: NLDDSearchField['internals'];
|
|
2076
2158
|
/** When the input value changes; detail: { value: string } */
|
|
2077
2159
|
'onInput'?: (event: CustomEvent) => void;
|
|
2078
2160
|
/** When the input value is committed; detail: { value: string } */
|
|
@@ -2101,11 +2183,12 @@ declare module 'vue' {
|
|
|
2101
2183
|
/** Accessible name for the group, set as aria-label */
|
|
2102
2184
|
'accessibleLabel'?: NLDDSegmentedControl['accessibleLabel'];
|
|
2103
2185
|
/** Id of an external label element, set as aria-labelledby on the group */
|
|
2104
|
-
'accessible-
|
|
2186
|
+
'accessible-labeled-by'?: NLDDSegmentedControl['accessibleLabeledBy'];
|
|
2105
2187
|
/** Id of an external label element, set as aria-labelledby on the group */
|
|
2106
|
-
'
|
|
2188
|
+
'accessibleLabeledBy'?: NLDDSegmentedControl['accessibleLabeledBy'];
|
|
2107
2189
|
/** Selected values for checkbox type. Use property binding: .values=${['New York', 'Amsterdam']} Does not reflect to an attribute — safe for values containing spaces or special characters. */
|
|
2108
2190
|
'values'?: NLDDSegmentedControl['values'];
|
|
2191
|
+
'internals'?: NLDDSegmentedControl['internals'];
|
|
2109
2192
|
/** When selection changes; detail: { value: string } for radio, detail: { values: string[] } for checkbox */
|
|
2110
2193
|
'onChange'?: (event: CustomEvent) => void;
|
|
2111
2194
|
};
|
|
@@ -2183,6 +2266,8 @@ declare module 'vue' {
|
|
|
2183
2266
|
'no-collapse'?: NLDDSidebarSection['noCollapse'];
|
|
2184
2267
|
/** Opt out of the sheet: a narrow section stacks the sidebar above the main instead of collapsing. `collapsed` then stays false. */
|
|
2185
2268
|
'noCollapse'?: NLDDSidebarSection['noCollapse'];
|
|
2269
|
+
/** Override translation keys (sheet title fallback, dismiss label); unset keys fall back to Dutch. */
|
|
2270
|
+
'translations'?: NLDDSidebarSection['translations'];
|
|
2186
2271
|
/** Read-only, reflected: true while the sidebar is a sheet (the section is narrower than lg). Target it via CSS to reveal sheet-only chrome. */
|
|
2187
2272
|
'collapsed'?: NLDDSidebarSection['collapsed'];
|
|
2188
2273
|
'background'?: NLDDSidebarSection['background'];
|
|
@@ -2364,6 +2449,36 @@ declare module 'vue' {
|
|
|
2364
2449
|
'button'?: NLDDStatusBar['button'];
|
|
2365
2450
|
};
|
|
2366
2451
|
|
|
2452
|
+
type NLDDStepIndicatorProps = {
|
|
2453
|
+
/** Naam van de nav; standaard de i18n-waarde ("Voortgang") */
|
|
2454
|
+
'accessible-label'?: NLDDStepIndicator['accessibleLabel'];
|
|
2455
|
+
/** Naam van de nav; standaard de i18n-waarde ("Voortgang") */
|
|
2456
|
+
'accessibleLabel'?: NLDDStepIndicator['accessibleLabel'];
|
|
2457
|
+
/** 1-based nummer van de huidige stap (standaard 1) */
|
|
2458
|
+
'current'?: NLDDStepIndicator['current'];
|
|
2459
|
+
/** Overschrijf vertaalsleutels; niet gezette vallen terug op Nederlands */
|
|
2460
|
+
'translations'?: NLDDStepIndicator['translations'];
|
|
2461
|
+
'total'?: NLDDStepIndicator['total'];
|
|
2462
|
+
/** The current step, clamped to the number of steps: an out-of-range `current` would otherwise mark every step past (or none at all). */
|
|
2463
|
+
'resolvedCurrent'?: NLDDStepIndicator['resolvedCurrent'];
|
|
2464
|
+
'currentItem'?: NLDDStepIndicator['currentItem'];
|
|
2465
|
+
};
|
|
2466
|
+
|
|
2467
|
+
type NLDDStepIndicatorItemProps = {
|
|
2468
|
+
/** `past` | `current` | `future`; overschrijft wat de ouder afleidt */
|
|
2469
|
+
'status'?: NLDDStepIndicatorItem['status'];
|
|
2470
|
+
/** Label onder de bol */
|
|
2471
|
+
'text'?: NLDDStepIndicatorItem['text'];
|
|
2472
|
+
/** Icoon in de bol in plaats van het cijfer of het vinkje */
|
|
2473
|
+
'icon'?: NLDDStepIndicatorItem['icon'];
|
|
2474
|
+
/** Maakt de stap een link (bijvoorbeeld terug naar een afgeronde stap) */
|
|
2475
|
+
'href'?: NLDDStepIndicatorItem['href'];
|
|
2476
|
+
/** For flows without a URL per step (a wizard inside one window). Ignored once `href` is set: one step is one action, and a link outranks a button -- the same rule as nldd-card and nldd-avatar. */
|
|
2477
|
+
'button'?: NLDDStepIndicatorItem['button'];
|
|
2478
|
+
/** The status that counts: the item's own wins over the derived one. */
|
|
2479
|
+
'resolvedStatus'?: NLDDStepIndicatorItem['resolvedStatus'];
|
|
2480
|
+
};
|
|
2481
|
+
|
|
2367
2482
|
type NLDDStepperProps = {
|
|
2368
2483
|
/** Current value */
|
|
2369
2484
|
'value'?: NLDDStepper['value'];
|
|
@@ -2381,6 +2496,7 @@ declare module 'vue' {
|
|
|
2381
2496
|
'name'?: NLDDStepper['name'];
|
|
2382
2497
|
/** Translations; unspecified keys fall back to Dutch */
|
|
2383
2498
|
'translations'?: NLDDStepper['translations'];
|
|
2499
|
+
'internals'?: NLDDStepper['internals'];
|
|
2384
2500
|
/** When the value changes; detail: { value: number } */
|
|
2385
2501
|
'onChange'?: (event: CustomEvent) => void;
|
|
2386
2502
|
};
|
|
@@ -2400,6 +2516,7 @@ declare module 'vue' {
|
|
|
2400
2516
|
'accessibleLabel'?: NLDDSwitch['accessibleLabel'];
|
|
2401
2517
|
/** Value submitted with the form when the switch is on (default: 'on') */
|
|
2402
2518
|
'value'?: NLDDSwitch['value'];
|
|
2519
|
+
'internals'?: NLDDSwitch['internals'];
|
|
2403
2520
|
/** When the switch state changes; detail: { checked: boolean, value: string } */
|
|
2404
2521
|
'onChange'?: (event: CustomEvent) => void;
|
|
2405
2522
|
};
|
|
@@ -2598,6 +2715,7 @@ declare module 'vue' {
|
|
|
2598
2715
|
'mentionSource'?: NLDDTextEditor['mentionSource'];
|
|
2599
2716
|
/** Consumer-supplied annotations (W3C-style overlay). Property only (set via JS). Render only when `annotatable` is on. The text stays clean; these render as a light tint and a count badge, anchored by offset and mapped through edits. IMPORTANT: assign a NEW array to apply changes. Lit dirty-checks this property by identity, so mutating the existing array in place (`editor.annotations.push(next)`, `editor.annotations[0].end = 9`, …) does NOT trigger a re-render. Always replace it: `editor.annotations = [...editor.annotations, next]`. */
|
|
2600
2717
|
'annotations'?: NLDDTextEditor['annotations'];
|
|
2718
|
+
'internals'?: NLDDTextEditor['internals'];
|
|
2601
2719
|
/** When the content changes (detail: { value }) */
|
|
2602
2720
|
'onInput'?: (event: CustomEvent) => void;
|
|
2603
2721
|
/** When the content is committed on blur (detail: { value }) */
|
|
@@ -2651,6 +2769,7 @@ declare module 'vue' {
|
|
|
2651
2769
|
'noSpellcheck'?: NLDDTextField['noSpellcheck'];
|
|
2652
2770
|
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
2653
2771
|
'width'?: NLDDTextField['width'];
|
|
2772
|
+
'internals'?: NLDDTextField['internals'];
|
|
2654
2773
|
/** When input value changes */
|
|
2655
2774
|
'onInput'?: (event: CustomEvent) => void;
|
|
2656
2775
|
/** When input value is committed */
|
|
@@ -2658,10 +2777,22 @@ declare module 'vue' {
|
|
|
2658
2777
|
};
|
|
2659
2778
|
|
|
2660
2779
|
type NLDDTimelineTrackCellProps = {
|
|
2661
|
-
/**
|
|
2662
|
-
'
|
|
2663
|
-
/**
|
|
2664
|
-
'
|
|
2780
|
+
/** Status van deze stap (standaard 'past'); dezelfde waarden als `nldd-step-indicator-item`. `none` tekent alleen de lijn, zonder stip */
|
|
2781
|
+
'status'?: NLDDTimelineTrackCell['status'];
|
|
2782
|
+
/** Wat deze rij is: een `dot` (standaard) op een tijdlijn van gebeurtenissen, stip van 16px, of een `step` in een stappenlijst, stip van 24px waar een cijfer of icoon in past */
|
|
2783
|
+
'variant'?: NLDDTimelineTrackCell['variant'];
|
|
2784
|
+
/** Deze rij hoort onder de vorige: een kleinere stip in dezelfde baan, dus het spoor loopt recht door en er springt niets in. De stip blijft leeg (een cijfer of icoon past er niet in en zou de rij tot een eigen stap maken); de hiërarchie zet je verder met de rij zelf, bijvoorbeeld een `nldd-text-cell` in plaats van een `nldd-title-cell` */
|
|
2785
|
+
'minor'?: NLDDTimelineTrackCell['minor'];
|
|
2786
|
+
/** Richting waarin de tijdlijn vooruit loopt: `down` (standaard) zet het verleden boven, `up` eronder. Alleen de huidige stap heeft een half spoor, dus alleen daar heeft dit effect */
|
|
2787
|
+
'direction'?: NLDDTimelineTrackCell['direction'];
|
|
2788
|
+
/** Plek in de reeks (standaard 'between'): bepaalt of de lijn boven, onder of aan beide kanten van de stip doorloopt */
|
|
2789
|
+
'position'?: NLDDTimelineTrackCell['position'];
|
|
2790
|
+
/** Cijfer of korte tekst in de stip */
|
|
2791
|
+
'text'?: NLDDTimelineTrackCell['text'];
|
|
2792
|
+
/** Icoonnaam in de stip; wint van `text` */
|
|
2793
|
+
'icon'?: NLDDTimelineTrackCell['icon'];
|
|
2794
|
+
/** Only a step marker has room to read a number in, and a minor row is smaller still -- besides, a number would claim it is a step of its own. */
|
|
2795
|
+
'showsContent'?: NLDDTimelineTrackCell['showsContent'];
|
|
2665
2796
|
};
|
|
2666
2797
|
|
|
2667
2798
|
type NLDDTitleProps = {
|
|
@@ -2745,6 +2876,7 @@ declare module 'vue' {
|
|
|
2745
2876
|
'accessible-label'?: NLDDToggleButton['accessibleLabel'];
|
|
2746
2877
|
/** Accessible label; required for icon-only usage */
|
|
2747
2878
|
'accessibleLabel'?: NLDDToggleButton['accessibleLabel'];
|
|
2879
|
+
'internals'?: NLDDToggleButton['internals'];
|
|
2748
2880
|
/** When selection changes; detail: { selected: boolean, value: string } */
|
|
2749
2881
|
'onChange'?: (event: CustomEvent) => void;
|
|
2750
2882
|
};
|
|
@@ -2763,9 +2895,9 @@ declare module 'vue' {
|
|
|
2763
2895
|
/** Accessible name for the group (aria-label) */
|
|
2764
2896
|
'accessibleLabel'?: NLDDToggleButtonGroup['accessibleLabel'];
|
|
2765
2897
|
/** ID of an external label element (aria-labelledby) */
|
|
2766
|
-
'accessible-
|
|
2898
|
+
'accessible-labeled-by'?: NLDDToggleButtonGroup['accessibleLabeledBy'];
|
|
2767
2899
|
/** ID of an external label element (aria-labelledby) */
|
|
2768
|
-
'
|
|
2900
|
+
'accessibleLabeledBy'?: NLDDToggleButtonGroup['accessibleLabeledBy'];
|
|
2769
2901
|
/** Bubbles up from the changed button; detail: { selected: boolean, value: string } */
|
|
2770
2902
|
'onChange'?: (event: CustomEvent) => void;
|
|
2771
2903
|
};
|
|
@@ -2832,6 +2964,7 @@ declare module 'vue' {
|
|
|
2832
2964
|
'name'?: NLDDTokenField['name'];
|
|
2833
2965
|
/** Override translation keys; unset keys fall back to Dutch */
|
|
2834
2966
|
'translations'?: NLDDTokenField['translations'];
|
|
2967
|
+
'internals'?: NLDDTokenField['internals'];
|
|
2835
2968
|
/** When the selected values change; detail: { values: string[] } */
|
|
2836
2969
|
'onChange'?: (event: CustomEvent) => void;
|
|
2837
2970
|
/** When the input text changes; detail: { value: string } */
|
|
@@ -3025,6 +3158,10 @@ declare module 'vue' {
|
|
|
3025
3158
|
type NLDDWindowProps = {
|
|
3026
3159
|
/** Niet-modaal (geen backdrop of focusvergrendeling); standaard is het venster modaal */
|
|
3027
3160
|
'modeless'?: NLDDWindow['modeless'];
|
|
3161
|
+
/** Een klik op de backdrop sluit het venster niet. Voor vensters waar per ongeluk wegklikken werk kost: een wizard, een formulier met ingevulde velden. Escape en de dismiss-knop blijven werken. */
|
|
3162
|
+
'no-light-dismiss'?: NLDDWindow['noLightDismiss'];
|
|
3163
|
+
/** Een klik op de backdrop sluit het venster niet. Voor vensters waar per ongeluk wegklikken werk kost: een wizard, een formulier met ingevulde velden. Escape en de dismiss-knop blijven werken. */
|
|
3164
|
+
'noLightDismiss'?: NLDDWindow['noLightDismiss'];
|
|
3028
3165
|
/** (verplicht) Toegankelijke naam (aria-label). Valt terug op de i18n default ('Venster') als niet gezet — geef altijd een unieke, beschrijvende naam per venster. */
|
|
3029
3166
|
'accessible-label'?: NLDDWindow['accessibleLabel'];
|
|
3030
3167
|
/** (verplicht) Toegankelijke naam (aria-label). Valt terug op de i18n default ('Venster') als niet gezet — geef altijd een unieke, beschrijvende naam per venster. */
|
|
@@ -3054,15 +3191,15 @@ declare module 'vue' {
|
|
|
3054
3191
|
};
|
|
3055
3192
|
|
|
3056
3193
|
export interface GlobalComponents {
|
|
3057
|
-
/** Layout placeholder that fills its parent and
|
|
3194
|
+
/** Layout placeholder that fills its parent and centers an indeterminate activity indicator. By default the indicator is held back for 1000ms so brief loading states don't flash; once the delay passes it fades in. Set `timing="instant"` to skip the delay (the fade-in still plays) — this is what embedding components such as `nldd-button` use for their loading state. The default indicator is a simple icon-sized circle that follows the shared `--context-content-color` channel (set by list-item / table / menu on their content), falling back to `currentColor` wherever that channel is unset (buttons, rich-text, standalone) — so a spinner inside a cell tracks the row's state-aware content color, while embedders relying on currentColor are unaffected. An optional label sits below (hidden unless `show-text` is set). Drop a `<nldd-progress-circle>`, `<nldd-progress-bar>` or any element in the `indicator` slot to override it. Icon alignment: the visible ring already sits at 5/6 of its box (the SVG's r=9 plus a 2-unit stroke in a 24 view-box, the same optical inset a filled icon glyph has), so a standalone spinner lines up with an icon or an `icon-aligned` `nldd-avatar` on the same grid — no extra option needed (unlike `nldd-avatar`, which fills edge-to-edge and opts in via `icon-aligned`). Overlay mode: put content in the default slot and the indicator wraps it — it becomes a `position: relative` container, renders the spinner over a dimming backdrop (opt out with `no-backdrop`), and makes the content `inert` so its controls can't be focused or clicked. Toggle loading with `complete` (`?complete=${!isLoading}`). With no slotted content it stays the standalone placeholder described above. Reconnect behavior: every `connectedCallback` resets the timer and hides the indicator again. If a consumer toggles the element via a conditional render (remove + re-insert) the indicator disappears and re-fades after another delay. Keep the element mounted and toggle visibility / `hidden` instead if you want the timer to run only once. Accessibility: while connected and not `complete` the host is a polite live region (`role="status"`). The label (`text`, or the translated "Laden" fallback) always renders as the region's content — visually hidden when `show-text` is off (the default) — so assistive tech announces the loading state when the indicator appears. Set `complete` (or unmount) to clear it. */
|
|
3058
3195
|
'nldd-activity-indicator': DefineComponent<NLDDActivityIndicatorProps>;
|
|
3059
|
-
/** The required root shell of a Nederlandse Digitale Dienst application. Always contains a split view or an nldd-page as direct content. Set background="tinted" to give the whole application a tinted background. All descendants read --context-parent-background-color via --_background-color automatically. Individual components can override locally with their own background attribute. The same background color is forced on `document.body` so that browser- chrome surfaces (iOS overscroll bounce, status bar, page-margin areas) blend with the app instead of revealing the user-agent's default white. Cleared when the app-view disconnects.
|
|
3196
|
+
/** The required root shell of a Nederlandse Digitale Dienst application. Always contains a split view or an nldd-page as direct content. Set background="tinted" to give the whole application a tinted background. All descendants read --context-parent-background-color via --_background-color automatically. Individual components can override locally with their own background attribute. The same background color is forced on `document.body` so that browser- chrome surfaces (iOS overscroll bounce, status bar, page-margin areas) blend with the app instead of revealing the user-agent's default white. Cleared when the app-view disconnects. The app scrolls the DOCUMENT (root mode) or lets each `nldd-page` scroll inside its pane (nested mode). The mode is derived from the outermost horizontal split view: one column means the document scrolls, several columns mean the panes do. An app without such a split view is a single column at every width and therefore scrolls the document too — nested scrolling would cost it the rubber-band and the collapsing browser toolbar on iOS for nothing. Set `--context-scroll-mode` on the `nldd-app-view` itself to override the derived mode; an inherited value loses from it. In nested scroll mode `overscroll-behavior: none` is set on `document.documentElement` and `document.body` while the app-view is connected. Combined with `overscroll-behavior: contain` on `nldd-page`'s scroll target, this prevents iOS rubber-band on the viewport when scroll gestures land outside an `nldd-page` (e.g. on a top-bar). In root scroll mode the document itself is the scroller, so this is lifted to let the native rubber-band happen. Cleared on last disconnect. */
|
|
3060
3197
|
'nldd-app-view': DefineComponent<NLDDAppViewProps>;
|
|
3061
3198
|
/** Toont één persoon of organisatie als een compacte, ronde (persoon) of afgeronde (organisatie) representatie. De inhoud volgt een vaste terugvalketen: een afbeelding wanneer `src` laadt, anders de initialen (uit `initials` of afgeleid uit `name`), en anders een terugval-icoon. `type` bepaalt zowel de vorm als het terugval-icoon: `person` geeft een cirkel met een person-icoon, `organization` een afgeronde vierkant met een building-icoon. De vorm hoort dus bij de betekenis en is niet los instelbaar. Overschrijf het terugval-icoon desgewenst met `icon`. Zonder `size` schaalt de avatar mee met zijn container (net als `nldd-icon`); een vaste maat (dezelfde spacer-uitgelijnde schaal, 16 tot en met 96) is de uitzondering. De initialen en het icoon schalen mee. Brede initialen (WW, MMM) worden automatisch teruggeschaald zodat ze binnen de schijf blijven. Toegankelijkheid: het host-element draagt de betekenis. Met een `name` (en zonder `decorative`) krijgt het `role="img"` met de naam als label. Staat de naam al als tekst ernaast (bijvoorbeeld in een byline), zet dan `decorative` zodat de avatar voor hulpsoftware verborgen blijft. Een dode `src` valt automatisch terug op de initialen of het icoon, nooit op een gebroken-afbeelding-icoon. */
|
|
3062
3199
|
'nldd-avatar': DefineComponent<NLDDAvatarProps>;
|
|
3063
3200
|
/** Een notificatie-indicator, vaak voor ongelezen aantallen of statusdots. Kan tekst, een getal en/of een icoon tonen. Zonder inhoud verschijnt automatisch een stip. Gebruik in een hoek van een ander element (bijv. een icon) of standalone. */
|
|
3064
3201
|
'nldd-badge': DefineComponent<NLDDBadgeProps>;
|
|
3065
|
-
/** An inline notification with a tinted background per variant. Use for persistent, page-level feedback (e.g. an error summary at the top of a form). Banner is more visually present than nldd-inline-dialog — the tinted
|
|
3202
|
+
/** An inline notification with a tinted background per variant. Use for persistent, page-level feedback (e.g. an error summary at the top of a form). Banner is more visually present than nldd-inline-dialog — the tinted color catches the eye. If you need a quieter component, pick a different one rather than overriding the banner's ARIA. Layout: icon left, text + supporting text + optional rich content + actions in the center, optional dismiss button right. Buttons wrap to a second row on narrow viewports via nldd-button-group's flex wrapping. role and aria-live are set automatically from the variant: - critical → role="alert" (interrupts screen reader) - others → role="status" aria-live="polite" Not overridable — if you need a less prominent component, use one. aria-atomic="true" is also set so that updates to the structured region (icon + heading + supporting-text + actions) are announced as one unit rather than as a partial subtree. Trade-off: any programmatic content mutation re-reads the entire banner. Banners are designed for short, heading-scale copy — if you slot in a paragraph of rich body text and then toggle variant or supporting-text at runtime, AT will re-announce the whole thing. Keep banner content concise, or render long-form messages in a different surface. */
|
|
3066
3203
|
'nldd-banner': DefineComponent<NLDDBannerProps>;
|
|
3067
3204
|
/** A vertical split view with a main area and an unlimited number of bar panels. Each child determines its order per breakpoint via sm-order, md-order, and lg-order. Children without order attributes are sorted by DOM order. All bars are in normal flow at every breakpoint and stack vertically. A divider is drawn only where the main pane meets an adjacent bar — directly above and/or below main — at every breakpoint (including sm). Two stacked bars on the same side never get a divider between them, so a toolbar and a tab-bar read as one visual unit. Consumers never manage dividers themselves. Give each bar a unique slot name (e.g. slot="toolbar", slot="status-bar"). Use slot="bar-1", slot="bar-2" if no meaningful name applies. The main panel always uses slot="main". Sets --context-parent-background-color, which cascades to all descendants. */
|
|
3068
3205
|
'nldd-bar-split-view': DefineComponent<NLDDBarSplitViewProps>;
|
|
@@ -3082,12 +3219,12 @@ declare module 'vue' {
|
|
|
3082
3219
|
'nldd-button-group': DefineComponent<NLDDButtonGroupProps>;
|
|
3083
3220
|
/** Een redactionele regel die auteurs of redacteuren toont: optionele avatar(s), een naamregel en ondersteunende tekst (bijvoorbeeld functie of datum). Alle onderdelen zijn optioneel. De naamregel en ondersteunende tekst kunnen als attribuut of als slot worden aangeleverd. Gebruik de slots voor rijkere inhoud, zoals een `<time datetime="…">` voor machine-leesbare datums of een link naar het auteursprofiel. Geslotte inhoud vervangt het bijbehorende attribuut (het attribuut is de fallback van de slot). Bij meerdere redacteuren overlappen de avatars elkaar subtiel; elke avatar krijgt een ring in de surface-kleur (zelfde mechaniek als badge) zodat ze visueel gescheiden blijven. Op een gekleurde ondergrond kan de ringkleur meegegeven worden via `--context-parent-background-color`. Op smalle breedtes (een sm-container, ≤ 640px) met meerdere avatars komt de avatarrij boven de namen te staan, zodat de tekst de volle breedte houdt; met één avatar blijft de byline op één regel. Avatars worden geslot als `<img slot="avatars">`. Zet `alt=""` wanneer de namen al in de tekst staan (decoratief); geef anders een beschrijvende alt-tekst op. Voor één avatar kun je in plaats van slotten ook `avatar-src` (met optioneel `avatar-srcset`) als attribuut meegeven; de afmetingen liggen vast (40px), dus `sizes` zet het component zelf. Meerdere avatars gaan altijd via de slot, en geslotte avatars hebben voorrang op `avatar-src`. */
|
|
3084
3221
|
'nldd-byline': DefineComponent<NLDDBylineProps>;
|
|
3085
|
-
/** Een visueel afgebakende kaart met optionele header, body en footer secties. De kaart heeft een elevated look als standaard. Padding wordt overgelaten aan geneste containers. Met `href` wordt de hele kaart een link (een overlay-anchor over de kaart). Geneste interactieve content (bijv. footer-knoppen) moet je erboven tillen met `position: relative; z-index: 1` om klikbaar te blijven. */
|
|
3222
|
+
/** Een visueel afgebakende kaart met optionele header, body en footer secties. De kaart heeft een elevated look als standaard. Padding wordt overgelaten aan geneste containers. Met `href` wordt de hele kaart een link (een overlay-anchor over de kaart); met `button` een knop (een overlay-button die een gewone, composed `click` geeft — een klik-listener of htmx-attribuut op de kaart zelf werkt dus direct, en Enter/Space doen het native). `href` wint als beide gezet zijn. Geneste interactieve content (bijv. footer-knoppen) moet je erboven tillen met `position: relative; z-index: 1` om klikbaar te blijven. */
|
|
3086
3223
|
'nldd-card': DefineComponent<NLDDCardProps>;
|
|
3087
3224
|
/** A generic cell for wrapping arbitrary content in a list item. Controls vertical alignment and sizing without imposing content opinions. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. */
|
|
3088
3225
|
'nldd-cell': DefineComponent<NLDDCellProps>;
|
|
3089
3226
|
'nldd-checkbox': DefineComponent<NLDDCheckboxProps>;
|
|
3090
|
-
/** A checkbox with an inline label for use in forms. */
|
|
3227
|
+
/** A checkbox with an inline label for use in forms. Form-associated: participates in native form submission under `name` with `value` when checked (the inner nldd-checkbox sits in the shadow root and never joins the consumer's form; the field submits on its behalf). */
|
|
3091
3228
|
'nldd-checkbox-field': DefineComponent<NLDDCheckboxFieldProps>;
|
|
3092
3229
|
/** A monospace editor for code, YAML, JSON and other technical content, built on CodeMirror 6 (via NLDDCodeMirrorElement). Visually pairs with nldd-code-viewer for a matching read-only surface. Default `variant="simple"` is a bare, flush editor (no frame, no focus ring) for use inside an nldd-form-field or a consumer composition that owns its own chrome and focus treatment; the caret is rendered as a prominent accent as the focus cue. `variant="input-field"` adds the framed surface (border ring, tinted fill, inner padding, radius) and a focus ring for standalone use. The simple variant has no surrounding space of its own: let a layout container own the spacing and forward clicks with `focusFromPoint()` so clicking the padding still starts editing. Optional `language` enables lazy syntax highlighting; `line-numbers` adds a gutter (click a number to move the caret to that line). */
|
|
3093
3230
|
'nldd-code-editor': DefineComponent<NLDDCodeEditorProps>;
|
|
@@ -3110,7 +3247,7 @@ declare module 'vue' {
|
|
|
3110
3247
|
/** A horizontal tab bar for document tabs with an automatic overflow button and an end slot for action buttons. Exports both NLDDDocumentTabBar and NLDDDocumentTabBarItem. */
|
|
3111
3248
|
'nldd-document-tab-bar': DefineComponent<NLDDDocumentTabBarProps>;
|
|
3112
3249
|
'nldd-document-tab-bar-item': DefineComponent<NLDDDocumentTabBarItemProps>;
|
|
3113
|
-
/** A cell that displays a drag handle for reorderable list items. Always vertically centered and sized to fit the handle. To enable drag-to-reorder, add the `reorderable-only` attribute to this element. This attribute is required for `nldd-list` to detect the drag handle in the composed event path and activate pointer and keyboard drag mode: ```html <nldd-list reorderable> <nldd-list-item> <nldd-drag-handle-cell
|
|
3250
|
+
/** A cell that displays a drag handle for reorderable list items. Always vertically centered and sized to fit the handle. To enable drag-to-reorder, add the `reorderable-only` attribute to this element. This attribute is required for `nldd-list` to detect the drag handle in the composed event path and activate pointer and keyboard drag mode: ```html <nldd-list reorderable> <nldd-list-item> <nldd-drag-handle-cell reorderable-only></nldd-drag-handle-cell> <nldd-text-cell text="Item"></nldd-text-cell> </nldd-list-item> </nldd-list> ``` Without `reorderable-only`, pointer and keyboard drag will never trigger. */
|
|
3114
3251
|
'nldd-drag-handle-cell': DefineComponent<NLDDDragHandleCellProps>;
|
|
3115
3252
|
/** A visual wrapper around a native `<select>` element. The consumer provides a native `<select>` as a slotted child — this way the browser retains full control over form submission, accessibility and keyboard navigation, including `<optgroup>`, `data-*` attributes and dynamic changes to options. */
|
|
3116
3253
|
'nldd-dropdown': DefineComponent<NLDDDropdownProps>;
|
|
@@ -3127,7 +3264,7 @@ declare module 'vue' {
|
|
|
3127
3264
|
'nldd-full-bleed-section': DefineComponent<NLDDFullBleedSectionProps>;
|
|
3128
3265
|
/** Een paginakop met een mediavlak en een tekstpaneel (de main) dat op zes posities kan staan. Alle vlakken zijn rechthoekig. Bij `main-width="full"` staat het mediavlak als losse strook boven of onder het paneel, niet erachter. Op mobiel stapelt de media altijd boven het volle-breedte paneel. Zonder media vult de main het volledige vlak; met `main-background="base"` krijgt dat vlak een rand zodat het zichtbaar blijft op de base-surface. Met `main-background` krijgt het paneel een vlakkleur uit de filled-categories; die leveren een pure witte of zwarte contentkleur mee, zodat componenten met `color="inherit"` (title, rich-text) gegarandeerd contrast houden. */
|
|
3129
3266
|
'nldd-hero': DefineComponent<NLDDHeroProps>;
|
|
3130
|
-
/** A customizable icon component that renders SVG icons from a predefined library. Icons are decorative by default: the host gets `aria-hidden="true"` automatically. If you want the icon to be announced by assistive tech, set `aria-hidden="false"` on the consumer side together with an `aria-label`. Sizing:
|
|
3267
|
+
/** A customizable icon component that renders SVG icons from a predefined library. Icons are decorative by default: the host gets `aria-hidden="true"` automatically. If you want the icon to be announced by assistive tech, set `aria-hidden="false"` on the consumer side together with an `aria-label`. Sizing: the icon fills whatever sizes it — an `nldd-icon-cell`, a button, a menu item. `size="full"` names that default explicitly. `size="inherit"` makes it follow the surrounding text (1em), for an icon set inline in a sentence. Any spacer-aligned number (16–96) pins a fixed dimension. Reach for `inherit` rather than a global `nldd-icon { width: 1em }` rule in the consumer: such a rule wins over the component's own :host styling and so also shrinks the icons that a cell or button was already sizing correctly. Color: by default the icon inherits its parent's `color`. Set `color` to one of the functional semantics (`primary-content`, `secondary-content`, `accent`, `critical`, `warning`, `success`) or a rijkskleur (`lintblauw`, `paars`, `groen`, …). For arbitrary one-off colors, set `style="color: …"` on the host — the inherited `color` still drives the SVG fill/stroke. */
|
|
3131
3268
|
'nldd-icon': DefineComponent<NLDDIconProps>;
|
|
3132
3269
|
'nldd-icon-button': DefineComponent<NLDDIconButtonProps>;
|
|
3133
3270
|
/** A cell component for displaying icons in lists with configurable alignment and size. Set `icon` to render an `nldd-icon` by name, or slot custom content as an escape hatch for non-standard iconography. */
|
|
@@ -3142,18 +3279,21 @@ declare module 'vue' {
|
|
|
3142
3279
|
'nldd-keyboard-shortcut': DefineComponent<NLDDKeyboardShortcutProps>;
|
|
3143
3280
|
/** Hyperlink component met twee modi: 1. **Standalone (sized)** — set `size="xs"|"sm"|"md"|"lg"` voor menu's, actiegebieden of overzichten. Vaste tekstgrootte, `display: inline-flex` met `gap` voor icon-spacing. 2. **Inline (inherit)** — laat `size` weg of zet expliciet `size="inherit"`. De link erft `font-size`, `line-height` en `font-family` van zijn omgeving. Tekst wraps natuurlijk over regels (`display: inline`). Icons werken ook hier; de natuurlijke whitespace tussen icon en tekst zorgt voor de spacing. Voor links in CMS/markdown-output (waar de `<a>` als HTML binnenkomt) blijft `<nldd-rich-text>` met raw `<a>` de aangewezen route. */
|
|
3144
3281
|
'nldd-link': DefineComponent<NLDDLinkProps>;
|
|
3145
|
-
/** A container for `nldd-list-item` elements. The `type` attribute switches the list's a11y role and behavior: - `list` (default) — `role="list"`, items `role="listitem"`. Reorderable allowed.
|
|
3282
|
+
/** A container for `nldd-list-item` elements. The `type` attribute switches the list's a11y role and behavior: - `list` (default) — `role="list"`, items `role="listitem"`. Reorderable allowed. - `tree` — `role="tree"`, items `role="treeitem"`. Branch rows put their child rows in their own `slot="children"`, which the item renders as a `role="group"`. Level, position and set size are NOT authored: the nesting represents the hierarchy, so assistive technology derives them. A branch row must carry `expanded`; the group is hidden while it is false. Visual indentation is the consumer's — repeat a spacer-cell per level. Comes with its own keyboard, see "Tree" below. - `navigation` — host `role="navigation"`, items with `selected` get `aria-current="page"` on their inner `<a>` or `<button>`. - `listbox` — an accessible, filterable listbox (combobox pattern). The list renders its OWN search input (`role="combobox"`) pinned above the options; `.list__items` becomes `role="listbox"` and items become `role="option"`. Focus stays in the input, the active option moves via `aria-activedescendant`, and filtering is consumer-managed via the `input` event (toggle `[hidden]` on items). See "Listbox" below. Selection state is consumer-managed: the list never mutates `selected` itself. In `type="listbox"` the list owns a native `<input role="combobox">` (mirroring how `nldd-combo-box` wires an input to a slotted listbox). Keyboard, handled on the input so focus never leaves it: - ArrowDown / ArrowUp — move the active option among the VISIBLE (non-`[hidden]`) options (wrap around). - Home / End — first / last visible option. - Enter — activate the active option by triggering its inner action (a link navigates, a button fires the consumer's handler). Selection stays consumer-managed. - Escape — clear the search value (and refire `input`). On every active change the input's `aria-activedescendant` is set to the active option's id and the option is scrolled into view. The active option (`_highlighted` on the item, a highlight) is distinct from `selected`. Filtering is the consumer's job: listen to `input` (`{ detail: { value } }`) and toggle `[hidden]` on items; after the visible set changes the list resets the active option to the first visible one. `reorderable` and `arrow-navigation` are ignored in listbox mode (listbox has its own keyboard). A tree is a composite widget, so it brings its own keyboard — `arrow-navigation` is implied and needn't be set: - ArrowDown / ArrowUp — move between the rows in the order they appear on screen, the rows of an open branch included. - Home / End — first / last row. - ArrowRight — opens a closed branch; on an open one it steps to its first child. - ArrowLeft — closes an open branch; on a leaf it steps out to the parent row. - Enter / Space — open and close, the same as Right and Left. Only while focus sits on the row itself: a row that is its own control, and a segmented action you tabbed into, handle both keys themselves. Opening and closing runs through the row's own disclosure control — the segmented action marked `disclosure`, or the row itself when it is a button. The list activates that control rather than writing `expanded`, so the state keeps being set in one place: the consumer's handler. A row that is a link is never activated this way, since that would navigate away. The tree is one tab stop. Focus lands on the row itself when the row has no control of its own, because that is where `treeitem` sits and it makes assistive technology announce the row rather than a button inside it. Tab then walks the controls of THAT row (a chevron beside a checkbox, say) and leaves the list after the last one. A deliberate deviation: strictly speaking a row with several controls is a `treegrid`, not a `tree`. We keep the tree semantics — level and set size are what matters here, not rows and columns — and borrow the "Tab within the row" behaviour from the grid pattern. Should a tree with real columns come up, that is when `treegrid` earns its own type. On reorder (type="list" + reorderable), the list dispatches `nldd-reorder` with `fromIndex` / `toIndex` and expects the consumer to mutate the DOM (or their data model that renders the DOM). Focus is restored to the moved item's drag handle via a single `requestAnimationFrame` — this assumes the consumer reorders **synchronously** in the event handler. Async renderers (React, Vue, …) that update the DOM on a later tick will miss the focus restore and should manage focus themselves after their render commits. */
|
|
3146
3283
|
'nldd-list': DefineComponent<NLDDListProps>;
|
|
3147
|
-
/** A row within an `nldd-list
|
|
3284
|
+
/** A row within an `nldd-list`. Renders as a link when `href` is set, as a checkbox when `checkbox` is set, as a button when `button` is set, or as a plain container otherwise. All cells and action segmented actions share one flat slot, in source order. Two rules govern every row: 1. State fills always paint the WIDENED row geometry — the row box extended by the indicator inline inset on both sides — whether or not the row is interactive. Paint never differs between a selected plain row and a selected interactive row. 2. The widened strip belongs to the ROW, never to a segment. A row with any action (its own `href`/`button`/`checkbox`, or a slotted segment) pulls itself outward (`is-interactive` host class → negative inline margin) and pads the row block back by the same amount, so content stays on the grid. A row-wide action owns that padding itself, making the whole widened box one hit area; slotted segmented actions stay in the grid, so their footprint is position-independent and tree columns line up at any depth. The divider spans the content width by default. Mark a cell with `divider-start` and/or `divider-end` to run it from that cell's start edge to that cell's end edge instead (e.g. starting after an avatar). Multiple markers resolve as the union: first `divider-start` through last `divider-end`. A start past the last end is an authoring error — the item DEV-warns and falls back to the full content width. A branch row can disclose its children in two ways: a dedicated `nldd-list-item-action[disclosure]` segment (only the chevron is clickable), or the row itself as the control (`button` + `expanded`, the whole row toggles). In the second case, mark the chevron's `nldd-icon-cell` with `disclosure` and the row turns it with `expanded` — the same affordance, without having to trade a clickable row for a turning chevron. `checkbox` makes the WHOLE row the control: the inner action becomes a `role="checkbox"` button carrying `aria-checked`, it toggles `checked` on activation and fires `change`. Slot a visual `nldd-checkbox` (or any glyph) before the text and mark it `aria-hidden` + non-focusable — the row already conveys role and state, and a second focusable control would double the tab stops. Do NOT nest a real `<input type="checkbox">` in the action: interactive content inside a `<button>` is invalid HTML and AT announces the button, not the checked state. A `<label>` variant is not offered for the same reason it cannot work — label-to-input association walks the DOM tree, and a slotted input is not a descendant of a label in the shadow root. When it renders as a link, `target` and `rel` are forwarded to the inner `<a>` (e.g. `target="_blank" rel="noopener noreferrer"`). With `target="_blank"` the item also injects a visually hidden "opens in new tab" announcement for assistive technology (WCAG 2.1 SC 3.2.2). The item synchronises its ARIA with its parent `nldd-list`'s `type`: - `list` parent → `role="listitem"` - `navigation` parent → `role="listitem"` + `aria-current="page"` on the inner `<a>` / `<button>` when `selected` - `listbox` parent → `role="option"` + `aria-selected` reflecting `selected`. The list points its search input's `aria-activedescendant` at the active option via `_highlighted` (separate from `selected`). */
|
|
3148
3285
|
'nldd-list-item': DefineComponent<NLDDListItemProps>;
|
|
3286
|
+
/** A segmented action inside an `nldd-list-item`: it groups a run of cells and makes just that run clickable. Use it when a row needs more than one action — a tree row whose chevron expands while the label toggles a checkbox, or a row that navigates with a separate button beside it. Put it in the row where its cells would go: the item has one flat slot, and a segmented action takes the place of the cells it covers. Where the divider starts or stops is marked on the cells themselves (`divider-start` / `divider-end`), not by the slot an action sits in. A row is EITHER row-level interactive (`href` / `button` / `checkbox` on the `nldd-list-item`) OR segmented (one or more of these). Both at once nests a control inside a control, which is invalid HTML; the item DEV-warns. Unlike the row-wide action this does not bleed outward: a segmented action sits between siblings, so an outward inset would overlap them. It owns its inline padding and never drops below the row's control size, so an icon-only one still meets the WCAG 2.5.8 target size — do not add spacer cells inside it for room or hit area, that doubles the space. In a `type="listbox"` list the segmented action renders as a plain container (no control, not focusable) and DEV-warns: an `option` may not contain interactive descendants. The cells render unchanged, so nothing shifts. */
|
|
3287
|
+
'nldd-list-item-action': DefineComponent<NLDDListItemActionProps>;
|
|
3149
3288
|
/** A floating menu component using the Popover API. Positioned relative to an anchor element using Floating UI. Supports filtering, keyboard navigation, and highlight management. Use nldd-menu-item and nldd-menu-divider as children. Note: Only type="button" items are supported when used inside nldd-combo-box-field. Radio and checkbox types may be used in standalone menus. */
|
|
3150
3289
|
'nldd-menu': DefineComponent<NLDDMenuProps>;
|
|
3151
3290
|
/** Horizontale rij van nldd-menu-bar-item elementen met automatische overflow detectie. Items die niet passen worden verborgen achter een overflow button met een popover menu. */
|
|
3152
3291
|
'nldd-menu-bar': DefineComponent<NLDDMenuBarProps>;
|
|
3153
3292
|
/** Interactief bouwblok voor gebruik in een menu bar. Rendert als <a> (met href) of <button> (zonder href). Ondersteunt icon, text, disclosure indicator, en een expandable popover via een geslotte `<nldd-menu>` (of ander popover-element). */
|
|
3154
3293
|
'nldd-menu-bar-item': DefineComponent<NLDDMenuBarItemProps>;
|
|
3294
|
+
/** A horizontal rule between groups of items in an `nldd-menu`. */
|
|
3155
3295
|
'nldd-menu-divider': DefineComponent<NLDDMenuDividerProps>;
|
|
3156
|
-
/** A
|
|
3296
|
+
/** A labeled group of menu items inside an nldd-menu. Wraps its slotted items in `role="group"` with `aria-labelledby` pointing to the group's `text`, providing native ARIA group semantics that a flat title element can't deliver. The group renders an automatic divider above itself, except when it's the first child of the menu — so consumers don't need to manage separator placement around groups themselves. Spacing above the title is intentionally larger than below, to bind the title visually to the items it labels. Use the wrapper for grouping with a title; for ungrouped flat menus or a divider without a title, the existing `nldd-menu-item` + `nldd-menu-divider` flat structure keeps working unchanged. */
|
|
3157
3297
|
'nldd-menu-group': DefineComponent<NLDDMenuGroupProps>;
|
|
3158
3298
|
/** A single item within an nldd-menu. */
|
|
3159
3299
|
'nldd-menu-item': DefineComponent<NLDDMenuItemProps>;
|
|
@@ -3185,12 +3325,12 @@ declare module 'vue' {
|
|
|
3185
3325
|
/** Exports both NLDDProgressBar and NLDDProgressBarSegmentIndicator. A progress bar that supports a single value (loading-style) or multiple segments (multi-stage progress, or distribution like storage usage). The consumer provides raw values; the component computes percentages from `max`. Two modes: - `progress` (default): segments sum toward `max`; remaining space is empty track. ARIA reads "X% voltooid". - `distribution`: segments fill the bar; ARIA enumerates segments. If the sum of segment values exceeds `max`, segments are normalized proportionally to fit and a warning is logged. */
|
|
3186
3326
|
'nldd-progress-bar': DefineComponent<NLDDProgressBarProps>;
|
|
3187
3327
|
'nldd-progress-bar-segment-indicator': DefineComponent<NLDDProgressBarSegmentIndicatorProps>;
|
|
3188
|
-
/** Exports both NLDDProgressCircle and NLDDProgressCircleSegmentIndicator. A circular progress indicator that mirrors the API of nldd-progress-bar: single-value or multi-segment, progress or distribution mode, 24
|
|
3328
|
+
/** Exports both NLDDProgressCircle and NLDDProgressCircleSegmentIndicator. A circular progress indicator that mirrors the API of nldd-progress-bar: single-value or multi-segment, progress or distribution mode, 24 colors, fade transitions between determinate/indeterminate, indeterminate indicator. Visual differences vs the bar: - SVG arcs instead of rectangular bars. - Label below the circle (not above). - No center text; the consumer can wrap the circle if needed. - One combined tooltip on the whole circle showing all segment info (no per-segment tooltips). - Indeterminate uses a rotating elastic arc (Material-style) instead of the bar's Knight Rider scanner. */
|
|
3189
3329
|
'nldd-progress-circle': DefineComponent<NLDDProgressCircleProps>;
|
|
3190
3330
|
'nldd-progress-circle-segment-indicator': DefineComponent<NLDDProgressCircleSegmentIndicatorProps>;
|
|
3191
3331
|
/** WAI-ARIA: Wrap radio buttons in a <fieldset>/<legend> or a container with role="radiogroup" and aria-labelledby for proper group semantics. <fieldset> <legend>Kies een optie</legend> <nldd-radio-button name="options" value="1">Optie 1</nldd-radio-button> <nldd-radio-button name="options" value="2">Optie 2</nldd-radio-button> </fieldset> */
|
|
3192
3332
|
'nldd-radio-button': DefineComponent<NLDDRadioButtonProps>;
|
|
3193
|
-
/** A radio button with an inline label. Use inside nldd-radio-button-group for keyboard navigation and group semantics. The group sets the name. */
|
|
3333
|
+
/** A radio button with an inline label. Use inside nldd-radio-button-group for keyboard navigation and group semantics. The group sets the name. Form-associated: the checked field submits its `value` under `name` (the inner nldd-radio-button sits in the shadow root and never joins the consumer's form; the field submits on its behalf). Unchecking siblings is the group's job, so exactly one value per group reaches the form. */
|
|
3194
3334
|
'nldd-radio-button-field': DefineComponent<NLDDRadioButtonFieldProps>;
|
|
3195
3335
|
/** Groups nldd-radio-button-field elements, handles keyboard navigation, and forwards name and disabled state to all child fields. Use inside nldd-form-field which provides the group label. */
|
|
3196
3336
|
'nldd-radio-button-group': DefineComponent<NLDDRadioButtonGroupProps>;
|
|
@@ -3225,6 +3365,10 @@ declare module 'vue' {
|
|
|
3225
3365
|
'nldd-stacked-split-view': DefineComponent<NLDDStackedSplitViewProps>;
|
|
3226
3366
|
/** Een smalle, paginabrede statusbalk (24px) met een diepe achtergrondkleur per variant. Gebruik voor persistente systeemtoestand: een storing, gepland onderhoud, een conceptweergave of een lopende opname. De balk toont bewust geen icoon en ondersteunt alleen tekst — de tekst zelf moet de status benoemen ("Storing: …", "Gepland onderhoud …"), zodat de betekenis niet alleen uit kleur volgt (WCAG 1.4.1). Houd de tekst kort: de balk toont één regel en kapt af met ellipsis, zeker op smallere schermen. Bij een lang bericht met veel informatie hoort alleen de kern in de balk; verwijs voor de rest naar een losse pagina of sheet (bijvoorbeeld via `href` of `button`) waar de gebruiker verder kan lezen. De hele balk kan klikbaar zijn: zet `href` (rendert een `<a>`) of `button` (rendert een `<button>`; luister naar het native `click` event). Zonder beide is de balk statisch. Bij interactie verschijnt een chevron als affordance. Maximaal één actie per balk; meerdere acties of links in lopende tekst horen in nldd-banner. role en aria-live worden automatisch gezet op basis van de variant: - critical → role="alert" (impliceert aria-live="assertive"; onderbreekt de screen reader) - overige → role="status" aria-live="polite" Niet overschrijfbaar — is een rustiger component nodig, kies dan een ander. Gebruik `critical` alleen voor een echte noodsituatie: role="alert" onderbreekt de screen reader bij élke wijziging van de inhoud, dus plaats er geen tekst in die regelmatig verandert (zoals een aftellende timer). */
|
|
3227
3367
|
'nldd-status-bar': DefineComponent<NLDDStatusBarProps>;
|
|
3368
|
+
/** Toont waar je staat in een proces van meerdere stappen: een rij bollen met een cijfer (of een vinkje op wat af is), een label eronder en een lijn die ze verbindt. De ouder houdt de waarheid vast: `current` (1-based) leidt de status van elk kind af — ervoor `past`, daarna `future`. Een kind kan dat overschrijven met een eigen `status`, voor flows die terugspringen of een stap overslaan. Alleen horizontaal. Wil je stappen onder elkaar, bouw dan een `nldd-list` met per rij een `nldd-timeline-track-cell` en een `nldd-title-cell`: verticale stappen dragen meestal meer dan een titel, en dat kan een lijstrij al. Onder de sm-breakpoint (container query, dus gemeten op het component zelf en niet op de viewport) klapt het om naar één regel tekst plus een segmentbalk. De volledige stappenlijst blijft dan in de DOM staan, alleen visueel verborgen, zodat hulpsoftware niet minder te horen krijgt dan een breed scherm laat zien. Toegankelijkheid: een `nav` met een label, daarin een `role="list"` met per stap een `role="listitem"`. De huidige stap krijgt `aria-current="step"` — het enige begrip dat WAI-ARIA hiervoor kent. "Afgerond" en "nog te doen" bestaan niet als ARIA-token en reizen daarom als visueel verborgen tekst mee. */
|
|
3369
|
+
'nldd-step-indicator': DefineComponent<NLDDStepIndicatorProps>;
|
|
3370
|
+
/** Eén stap in een `nldd-step-indicator`. De ouder bepaalt de status en het volgnummer; die staan hier als interne state en niet als publieke API, op `status` na — dat overschrijft de afleiding uit `current`. */
|
|
3371
|
+
'nldd-step-indicator-item': DefineComponent<NLDDStepIndicatorItemProps>;
|
|
3228
3372
|
/** A numeric control with increment and decrement buttons. */
|
|
3229
3373
|
'nldd-stepper': DefineComponent<NLDDStepperProps>;
|
|
3230
3374
|
/** A toggle control for on/off settings. Prefer nldd-switch-field for labeled usage — it combines the switch with a visible label. Direct use of nldd-switch requires an accessible-label attribute for screen reader accessibility. */
|
|
@@ -3241,10 +3385,10 @@ declare module 'vue' {
|
|
|
3241
3385
|
'nldd-tag': DefineComponent<NLDDTagProps>;
|
|
3242
3386
|
/** A cell component for displaying text content in lists with configurable alignment, size and color. This is the most fundamental list cell component. `vertical-alignment="center"` (default) stretches the cell to fill the full row height and centers its content within that space. Use `min-height` to set a minimum centered region. For strict top alignment without a minimum height, use `vertical-alignment="top"`. Each text region (overline, main text, supporting text) accepts either a string attribute or slotted DOM content. The slot is the source of truth: if the consumer provides slotted content, it replaces the attribute-based render for that region. Use slots when you need inline elements like `<nldd-tag>`, `<a>` or `<nldd-icon>` mixed with text. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path — slotted content is rendered as-is. */
|
|
3243
3387
|
'nldd-text-cell': DefineComponent<NLDDTextCellProps>;
|
|
3244
|
-
/** A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are
|
|
3388
|
+
/** A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Default `variant="simple"` is bare (no frame, no focus ring) for use inside a composition (e.g. a message field) that owns its chrome and focus; the caret is a prominent accent. `variant="input-field"` adds a framed surface + focus ring. `font` is `sans` (default, best for prose) or `mono`. Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style "set" semantics), reads the active formats with getState(), listens to the nldd-text-editor-state event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Commands keep focus on the editor. An @-mention typeahead (mentionSource) collapses to an atomic token, and a W3C-style annotation overlay (annotations) marks ranges with a dashed underline, light tint and a count badge without touching the underlying text. */
|
|
3245
3389
|
'nldd-text-editor': DefineComponent<NLDDTextEditorProps>;
|
|
3246
3390
|
'nldd-text-field': DefineComponent<NLDDTextFieldProps>;
|
|
3247
|
-
/** A cell component for displaying timeline track indicators in lists. Shows a vertical line with a dot indicating timeline position and state. The
|
|
3391
|
+
/** A cell component for displaying timeline track indicators in lists. Shows a vertical line with a dot indicating timeline position and state. The row's block padding belongs to the cell itself (via `--context-cell-padding-block`), so the line spans the cell's own box edge to edge and consecutive steps connect without gaps. Standaard is de cel een kaal spoor: een lijn met een stip per rij, voor een tijdlijn van gebeurtenissen. Met `variant="step"` wordt de stip groot genoeg voor een cijfer of icoon en heb je een stappenlijst onder elkaar, de verticale tegenhanger van `nldd-step-indicator`. De maat hoort bij de variant en niet bij de inhoud: elke stip in een lijst is even groot, anders verspringt het spoor. */
|
|
3248
3392
|
'nldd-timeline-track-cell': DefineComponent<NLDDTimelineTrackCellProps>;
|
|
3249
3393
|
/** A title bar with an optional overline, title, and subtitle on the left, and a slot for actions on the right. */
|
|
3250
3394
|
'nldd-title': DefineComponent<NLDDTitleProps>;
|