@nldd/design-system 0.8.79 → 0.8.82
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/custom-elements.json +2400 -664
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +4 -1
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +4 -1
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +44 -3
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +86 -33
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +7 -3
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +29 -0
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.i18n.d.ts +1 -0
- package/dist/components/actions/toolbar/toolbar.i18n.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.i18n.js +1 -0
- package/dist/components/actions/toolbar/toolbar.i18n.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +74 -0
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +39 -5
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +19 -1
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/breakpoints-CkxsiRgH.js +10 -0
- package/dist/components/components.js +51975 -114
- package/dist/components/content/avatar/avatar.d.ts +51 -47
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +85 -75
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +2 -2
- package/dist/components/content/avatar/avatar.template.d.ts +1 -0
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +26 -18
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +90 -0
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts +6 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.js +5 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.js.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.js +169 -0
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts +2 -0
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.styles.js +132 -0
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.template.d.ts +3 -0
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -0
- package/dist/components/content/avatar-group/avatar-group.template.js +50 -0
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -0
- package/dist/components/content/blockquote/blockquote.d.ts +3 -3
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +8 -8
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +1 -1
- package/dist/components/content/blockquote/blockquote.template.js +1 -1
- package/dist/components/content/blockquote/blockquote.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +4 -4
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +5 -13
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +18 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +75 -27
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +25 -13
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +71 -0
- package/dist/components/content/identity/identity.d.ts.map +1 -0
- package/dist/components/content/identity/identity.js +124 -0
- package/dist/components/content/identity/identity.js.map +1 -0
- package/dist/components/content/identity/identity.styles.d.ts +2 -0
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -0
- package/dist/components/content/{byline/byline.styles.js → identity/identity.styles.js} +28 -47
- package/dist/components/content/identity/identity.styles.js.map +1 -0
- package/dist/components/content/identity/identity.template.d.ts +3 -0
- package/dist/components/content/identity/identity.template.d.ts.map +1 -0
- package/dist/components/content/{byline/byline.template.js → identity/identity.template.js} +12 -11
- package/dist/components/content/identity/identity.template.js.map +1 -0
- package/dist/components/content/tag/tag.d.ts +15 -10
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +15 -10
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/title/title.d.ts +4 -4
- package/dist/components/content/title/title.js +4 -4
- package/dist/components/content/title/title.styles.js +1 -1
- package/dist/components/content/title/title.template.js +2 -2
- package/dist/components/content/token/token.d.ts +6 -2
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +6 -2
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +26 -25
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +31 -25
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/decorate-BKn10QQi.js +9 -0
- package/dist/components/dist-BYVOPNHp.js +381 -0
- package/dist/components/dist-Bq4xc7Bm.js +624 -0
- package/dist/components/dist-C0PiB1dr.js +870 -0
- package/dist/components/dist-C400RcFU.js +1498 -0
- package/dist/components/dist-CCg5Mso_.js +390 -0
- package/dist/components/dist-CJR_Rwhh.js +464 -0
- package/dist/components/dist-Ccw7ZfsU.js +18481 -0
- package/dist/components/dist-OBifyiJS.js +887 -0
- package/dist/components/dist-TpIL8G4G.js +1480 -0
- package/dist/components/dist-afrAoubg.js +1181 -0
- package/dist/components/dist-bO14jlsr.js +78 -0
- package/dist/components/forms/form-field/form-field.d.ts +59 -2
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +120 -35
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/gherkin-uCVRxsGf.js +108 -0
- package/dist/components/icon-CIpJq_cf.js +751 -0
- package/dist/components/icon-button-BAkUJTn6.js +1676 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +4 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-modality-DhTeUxKi.js +43 -0
- package/dist/components/inputs/checkbox/checkbox.d.ts +13 -0
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +18 -0
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +17 -0
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.template.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.template.js +11 -0
- package/dist/components/inputs/checkbox/checkbox.template.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +9 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +11 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +3 -0
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +3 -0
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +6 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +21 -0
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +6 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +11 -0
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +3 -0
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +4 -1
- 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 +7 -2
- package/dist/components/inputs/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +29 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +44 -1
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +115 -0
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.d.ts +10 -0
- package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.js +9 -0
- package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -0
- package/dist/components/inputs/file-field/file-field.js +249 -0
- package/dist/components/inputs/file-field/file-field.js.map +1 -0
- package/dist/components/inputs/file-field/file-field.styles.d.ts +2 -0
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.styles.js +134 -0
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -0
- package/dist/components/inputs/file-field/file-field.template.d.ts +7 -0
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.template.js +63 -0
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +3 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +3 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +9 -0
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +12 -0
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.template.js +1 -0
- package/dist/components/inputs/number-field/number-field.template.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +9 -0
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +12 -0
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +1 -0
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +13 -0
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +18 -0
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +11 -0
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.template.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.template.js +10 -0
- package/dist/components/inputs/radio-button/radio-button.template.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +9 -0
- 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 +11 -0
- 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 +16 -0
- 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 +33 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +6 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +6 -0
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +16 -0
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +26 -7
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +17 -0
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +22 -0
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.js +1 -1
- package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +3 -0
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +3 -0
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +3 -0
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +3 -0
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.caret.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.caret.js +7 -1
- package/dist/components/inputs/text-editor/text-editor.caret.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +3 -4
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +4 -7
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +1 -9
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +9 -0
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +12 -0
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.js +1 -0
- package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +6 -0
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +11 -0
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +3 -0
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +4 -1
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +7 -2
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +10 -0
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +14 -0
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +11 -0
- 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 +16 -6
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +6 -0
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +13 -0
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +17 -7
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +17 -7
- package/dist/components/layout/box/box.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +9 -2
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +10 -0
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +38 -0
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.d.ts.map +1 -1
- package/dist/components/layout/container/container.styles.js +10 -1
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +8 -1
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +32 -33
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +32 -33
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.js +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +7 -0
- 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 +12 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +19 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +34 -28
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +44 -31
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +2 -0
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +12 -1
- package/dist/components/layout/sheet/sheet.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 +9 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-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 +9 -1
- 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 +14 -14
- 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 +13 -13
- 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 +13 -2
- 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 +8 -11
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +8 -10
- 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 +13 -6
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +20 -16
- 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.js +44 -30
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +15 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +44 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js +3 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
- package/dist/components/reflect-non-default-OLaK60rT.js +37 -0
- package/dist/components/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/components/shadow-resets-aG-rgyNQ.js +61 -0
- package/dist/components/shell-C61GCsJA.js +223 -0
- package/dist/components/status-and-feedback/badge/badge.d.ts +23 -11
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +32 -14
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +59 -2
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.template.js +6 -1
- package/dist/components/status-and-feedback/badge/badge.template.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +6 -0
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +2 -0
- 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 +14 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification-region.d.ts +6 -0
- package/dist/components/status-and-feedback/notification/notification-region.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification-region.js +245 -0
- package/dist/components/status-and-feedback/notification/notification-region.js.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.d.ts +129 -0
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.i18n.d.ts +6 -0
- package/dist/components/status-and-feedback/notification/notification.i18n.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.i18n.js +5 -0
- package/dist/components/status-and-feedback/notification/notification.i18n.js.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.js +269 -0
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts +2 -0
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.styles.js +177 -0
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.template.d.ts +4 -0
- package/dist/components/status-and-feedback/notification/notification.template.d.ts.map +1 -0
- package/dist/components/status-and-feedback/notification/notification.template.js +40 -0
- package/dist/components/status-and-feedback/notification/notification.template.js.map +1 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +1 -0
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +30 -30
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js +33 -30
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
- package/dist/components/toml-C2HBbPgG.js +59 -0
- package/dist/components/visibility-mixin-GxbwkBb1.js +104 -0
- package/dist/components/with-translations-DzAdFTK8.js +48 -0
- package/dist/css/variables.css +24 -0
- package/dist/nldd.min.js +10763 -9942
- package/dist/types/vue.d.ts +270 -153
- package/dist/utilities/implicit-submission.d.ts +31 -0
- package/dist/utilities/implicit-submission.d.ts.map +1 -0
- package/dist/utilities/implicit-submission.js +65 -0
- package/dist/utilities/implicit-submission.js.map +1 -0
- package/dist/utilities/open-when-rendered.d.ts +21 -0
- package/dist/utilities/open-when-rendered.d.ts.map +1 -0
- package/dist/utilities/open-when-rendered.js +30 -0
- package/dist/utilities/open-when-rendered.js.map +1 -0
- package/dist/utilities/owned-attribute.d.ts +19 -0
- package/dist/utilities/owned-attribute.d.ts.map +1 -0
- package/dist/utilities/owned-attribute.js +32 -0
- package/dist/utilities/owned-attribute.js.map +1 -0
- package/dist/utilities/reflect-non-default.d.ts +3 -3
- package/dist/utilities/reflect-non-default.d.ts.map +1 -1
- package/dist/utilities/reflect-non-default.js +7 -4
- package/dist/utilities/reflect-non-default.js.map +1 -1
- package/dist/utilities/visibility-mixin.d.ts +5 -0
- package/dist/utilities/visibility-mixin.d.ts.map +1 -1
- package/dist/utilities/visibility-mixin.js +22 -0
- package/dist/utilities/visibility-mixin.js.map +1 -1
- package/package.json +34 -23
- package/dist/components/content/byline/byline.d.ts +0 -73
- package/dist/components/content/byline/byline.d.ts.map +0 -1
- package/dist/components/content/byline/byline.js +0 -125
- package/dist/components/content/byline/byline.js.map +0 -1
- package/dist/components/content/byline/byline.styles.d.ts +0 -2
- package/dist/components/content/byline/byline.styles.d.ts.map +0 -1
- package/dist/components/content/byline/byline.styles.js.map +0 -1
- package/dist/components/content/byline/byline.template.d.ts +0 -3
- package/dist/components/content/byline/byline.template.d.ts.map +0 -1
- package/dist/components/content/byline/byline.template.js.map +0 -1
- package/dist/components/gherkin-DhZlEZiy.js +0 -115
- package/dist/components/index--8_4HvE9.js +0 -688
- package/dist/components/index-BMeSmtdw.js +0 -384
- package/dist/components/index-Bonuul3m.js +0 -73466
- package/dist/components/index-CdOU-HVN.js +0 -81
- package/dist/components/index-CqhFJR7l.js +0 -703
- package/dist/components/index-CwmDMN6X.js +0 -177
- package/dist/components/index-yX0V7C44.js +0 -405
- package/dist/components/shell-BlsXDxCn.js +0 -222
- package/dist/components/toml-BOuWGMcf.js +0 -76
package/dist/types/vue.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import type { DefineComponent } from 'vue';
|
|
|
13
13
|
import type { NLDDActivityIndicator } from '@nldd/design-system/activity-indicator';
|
|
14
14
|
import type { NLDDAppView } from '@nldd/design-system/app-view';
|
|
15
15
|
import type { NLDDAvatar } from '@nldd/design-system/avatar';
|
|
16
|
+
import type { NLDDAvatarGroup } from '@nldd/design-system/avatar-group';
|
|
16
17
|
import type { NLDDBadge } from '@nldd/design-system/badge';
|
|
17
18
|
import type { NLDDBanner } from '@nldd/design-system/banner';
|
|
18
19
|
import type { NLDDBarSplitView } from '@nldd/design-system/bar-split-view';
|
|
@@ -24,7 +25,6 @@ import type { NLDDButton } from '@nldd/design-system/button';
|
|
|
24
25
|
import type { NLDDButtonBar } from '@nldd/design-system/button-bar';
|
|
25
26
|
import type { anonymous_0 } from '@nldd/design-system/button-bar';
|
|
26
27
|
import type { NLDDButtonGroup } from '@nldd/design-system/button-group';
|
|
27
|
-
import type { NLDDByline } from '@nldd/design-system/byline';
|
|
28
28
|
import type { NLDDCard } from '@nldd/design-system/card';
|
|
29
29
|
import type { NLDDCell } from '@nldd/design-system/cell';
|
|
30
30
|
import type { NLDDCheckbox } from '@nldd/design-system/checkbox';
|
|
@@ -42,6 +42,7 @@ import type { NLDDDocumentTabBar } from '@nldd/design-system/document-tab-bar';
|
|
|
42
42
|
import type { NLDDDocumentTabBarItem } from '@nldd/design-system/document-tab-bar';
|
|
43
43
|
import type { NLDDDragHandleCell } from '@nldd/design-system/drag-handle-cell';
|
|
44
44
|
import type { NLDDDropdown } from '@nldd/design-system/dropdown';
|
|
45
|
+
import type { NLDDFileField } from '@nldd/design-system/file-field';
|
|
45
46
|
import type { NLDDForm } from '@nldd/design-system/form';
|
|
46
47
|
import type { NLDDFormActions } from '@nldd/design-system/form-actions';
|
|
47
48
|
import type { NLDDFormField } from '@nldd/design-system/form-field';
|
|
@@ -53,6 +54,7 @@ import type { NLDDHero } from '@nldd/design-system/hero';
|
|
|
53
54
|
import type { NLDDIcon } from '@nldd/design-system/icon';
|
|
54
55
|
import type { NLDDIconButton } from '@nldd/design-system/icon-button';
|
|
55
56
|
import type { NLDDIconCell } from '@nldd/design-system/icon-cell';
|
|
57
|
+
import type { NLDDIdentity } from '@nldd/design-system/identity';
|
|
56
58
|
import type { NLDDImage } from '@nldd/design-system/image';
|
|
57
59
|
import type { NLDDInlineDialog } from '@nldd/design-system/inline-dialog';
|
|
58
60
|
import type { NLDDJustInTimeEducation } from '@nldd/design-system/just-in-time-education';
|
|
@@ -70,6 +72,7 @@ import type { NLDDMenuItem } from '@nldd/design-system/menu';
|
|
|
70
72
|
import type { NLDDModalDialog } from '@nldd/design-system/modal-dialog';
|
|
71
73
|
import type { NLDDMultiLineTextField } from '@nldd/design-system/multi-line-text-field';
|
|
72
74
|
import type { NLDDNavigationSplitView } from '@nldd/design-system/navigation-split-view';
|
|
75
|
+
import type { NLDDNotification } from '@nldd/design-system/notification';
|
|
73
76
|
import type { NLDDNumberField } from '@nldd/design-system/number-field';
|
|
74
77
|
import type { NLDDOneHalfOneHalfSection } from '@nldd/design-system/one-half-one-half-section';
|
|
75
78
|
import type { NLDDOneThirdTwoThirdsSection } from '@nldd/design-system/one-third-two-thirds-section';
|
|
@@ -162,41 +165,45 @@ declare module 'vue' {
|
|
|
162
165
|
};
|
|
163
166
|
|
|
164
167
|
type NLDDAvatarProps = {
|
|
165
|
-
/**
|
|
166
|
-
'src'?: NLDDAvatar['src'];
|
|
167
|
-
/** Responsive source set voor de afbeelding (het component zet zelf `sizes`) */
|
|
168
|
-
'srcset'?: NLDDAvatar['srcset'];
|
|
169
|
-
/** Naam van de persoon/organisatie; levert de afgeleide initialen en het toegankelijke label */
|
|
170
|
-
'name'?: NLDDAvatar['name'];
|
|
171
|
-
/** Expliciete initialen, max 3 tekens (overschrijft de afleiding uit `name`; ook voor organisatie-acroniemen) */
|
|
172
|
-
'initials'?: NLDDAvatar['initials'];
|
|
173
|
-
/** Overschrijft het type-afhankelijke terugval-icoon */
|
|
174
|
-
'icon'?: NLDDAvatar['icon'];
|
|
175
|
-
/** `person` (cirkel, person-icoon) of `organization` (afgerond, building-icoon); standaard `person` */
|
|
168
|
+
/** `person` (circle, person icon) or `organization` (rounded, building icon); default `person` */
|
|
176
169
|
'type'?: NLDDAvatar['type'];
|
|
177
|
-
/** `
|
|
178
|
-
'color'?: NLDDAvatar['color'];
|
|
179
|
-
/** `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 */
|
|
170
|
+
/** `full` (default) scales with the container, like nldd-icon; or a fixed size in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96). Empty behaves as `full`. The initials and the icon scale along */
|
|
180
171
|
'size'?: NLDDAvatar['size'];
|
|
181
|
-
/**
|
|
172
|
+
/** `default` (neutral fill) or `inherit` (fill in the content color: the `--context-content-color` channel, or `currentColor` when that is unset; text in the contrast color, so the avatar can replace an icon in a button for instance); default `default` */
|
|
173
|
+
'color'?: NLDDAvatar['color'];
|
|
174
|
+
/** Shrinks the visible shape to 5/6 of the host, centered, so the avatar aligns optically with an icon on the same grid (an icon glyph has built-in margin) */
|
|
182
175
|
'icon-aligned'?: NLDDAvatar['iconAligned'];
|
|
183
|
-
/**
|
|
176
|
+
/** Shrinks the visible shape to 5/6 of the host, centered, so the avatar aligns optically with an icon on the same grid (an icon glyph has built-in margin) */
|
|
184
177
|
'iconAligned'?: NLDDAvatar['iconAligned'];
|
|
185
|
-
/**
|
|
178
|
+
/** Name of the person or organization; supplies the derived initials and the accessible label */
|
|
179
|
+
'name'?: NLDDAvatar['name'];
|
|
180
|
+
/** Explicit initials, at most 3 characters (overrides what is derived from `name`; also for organization acronyms) */
|
|
181
|
+
'initials'?: NLDDAvatar['initials'];
|
|
182
|
+
/** Image source; falls back to initials or icon when it fails to load */
|
|
183
|
+
'src'?: NLDDAvatar['src'];
|
|
184
|
+
/** Responsive source set for the image (the component sets `sizes` itself) */
|
|
185
|
+
'srcset'?: NLDDAvatar['srcset'];
|
|
186
|
+
/** Overrides the type-dependent fallback icon */
|
|
187
|
+
'icon'?: NLDDAvatar['icon'];
|
|
188
|
+
/** Name of the link or button; without it `name` is used */
|
|
189
|
+
'accessible-label'?: NLDDAvatar['accessibleLabel'];
|
|
190
|
+
/** Name of the link or button; without it `name` is used */
|
|
191
|
+
'accessibleLabel'?: NLDDAvatar['accessibleLabel'];
|
|
192
|
+
/** Hides the avatar from assistive software (use when the name already stands beside it as text) */
|
|
186
193
|
'decorative'?: NLDDAvatar['decorative'];
|
|
187
|
-
/**
|
|
194
|
+
/** When the name appears as a tooltip on hover or focus: `default` (after 700ms; the default), `instant`, or `never`. An avatar shows no text, so without a tooltip the name is readable by assistive software only. A `decorative` avatar shows none regardless: there the name already stands beside it as text */
|
|
195
|
+
'tooltip-timing'?: NLDDAvatar['tooltipTiming'];
|
|
196
|
+
/** When the name appears as a tooltip on hover or focus: `default` (after 700ms; the default), `instant`, or `never`. An avatar shows no text, so without a tooltip the name is readable by assistive software only. A `decorative` avatar shows none regardless: there the name already stands beside it as text */
|
|
197
|
+
'tooltipTiming'?: NLDDAvatar['tooltipTiming'];
|
|
198
|
+
/** Makes the avatar a link to this URL; the shape itself becomes the link, so the hit area and the focus ring follow it */
|
|
188
199
|
'href'?: NLDDAvatar['href'];
|
|
189
|
-
/**
|
|
200
|
+
/** Makes the avatar a button; ignored when `href` is set */
|
|
190
201
|
'button'?: NLDDAvatar['button'];
|
|
191
|
-
/** Link target
|
|
202
|
+
/** Link target for href (e.g. '_blank'); completes rel and announces "Opens in a new tab" */
|
|
192
203
|
'target'?: NLDDAvatar['target'];
|
|
193
|
-
/** Link rel
|
|
204
|
+
/** Link rel for href; defaults to 'noopener noreferrer' when target='_blank' */
|
|
194
205
|
'rel'?: NLDDAvatar['rel'];
|
|
195
|
-
/**
|
|
196
|
-
'accessible-label'?: NLDDAvatar['accessibleLabel'];
|
|
197
|
-
/** Naam van de link of knop; zonder deze wordt `name` gebruikt */
|
|
198
|
-
'accessibleLabel'?: NLDDAvatar['accessibleLabel'];
|
|
199
|
-
/** Overschrijf translation keys; niet gezette keys vallen terug op het Nederlands */
|
|
206
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
200
207
|
'translations'?: NLDDAvatar['translations'];
|
|
201
208
|
/** True once the avatar is a control itself. */
|
|
202
209
|
'isInteractive'?: NLDDAvatar['isInteractive'];
|
|
@@ -206,23 +213,39 @@ declare module 'vue' {
|
|
|
206
213
|
'resolvedIcon'?: NLDDAvatar['resolvedIcon'];
|
|
207
214
|
};
|
|
208
215
|
|
|
216
|
+
type NLDDAvatarGroupProps = {
|
|
217
|
+
/** Diameter of each avatar in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96); default 40 */
|
|
218
|
+
'size'?: NLDDAvatarGroup['size'];
|
|
219
|
+
/** Shows at most this many avatars; the rest go behind a "+N" button that opens them as a list of names */
|
|
220
|
+
'max'?: NLDDAvatarGroup['max'];
|
|
221
|
+
/** Describes the group as a whole (e.g. "Editors"); without a label the group is not a landmark of its own and the avatars speak for themselves */
|
|
222
|
+
'accessible-label'?: NLDDAvatarGroup['accessibleLabel'];
|
|
223
|
+
/** Describes the group as a whole (e.g. "Editors"); without a label the group is not a landmark of its own and the avatars speak for themselves */
|
|
224
|
+
'accessibleLabel'?: NLDDAvatarGroup['accessibleLabel'];
|
|
225
|
+
'translations'?: NLDDAvatarGroup['translations'];
|
|
226
|
+
};
|
|
227
|
+
|
|
209
228
|
type NLDDBadgeProps = {
|
|
210
|
-
/**
|
|
211
|
-
'color'?: NLDDBadge['color'];
|
|
212
|
-
/** Grootte: 'sm' | 'md' (default: 'md') */
|
|
229
|
+
/** Size: 'sm' | 'md' (default: 'md') */
|
|
213
230
|
'size'?: NLDDBadge['size'];
|
|
214
|
-
/**
|
|
231
|
+
/** Semantic ('critical' | 'accent' | 'neutral' | 'warning' | 'success') or a Rijkshuisstijl color ('lintblauw' | 'hemelblauw' | 'oranje' | …). Default: 'critical' */
|
|
232
|
+
'color'?: NLDDBadge['color'];
|
|
233
|
+
/** Grows a ring out of the badge and fades it, for something happening right now (a live connection, an outage). Respects `prefers-reduced-motion`. */
|
|
234
|
+
'pulse'?: NLDDBadge['pulse'];
|
|
235
|
+
/** Text (takes precedence over number) */
|
|
215
236
|
'text'?: NLDDBadge['text'];
|
|
216
|
-
/**
|
|
237
|
+
/** Numeric value. Shortened when it is over max */
|
|
217
238
|
'number'?: NLDDBadge['number'];
|
|
218
|
-
/**
|
|
239
|
+
/** Value above which number is shown as "{max}+" (default: 99) */
|
|
219
240
|
'max'?: NLDDBadge['max'];
|
|
220
|
-
/**
|
|
241
|
+
/** Icon name. Icon-only renders as a square; with text or number the icon goes on the left. */
|
|
221
242
|
'icon'?: NLDDBadge['icon'];
|
|
222
|
-
/**
|
|
243
|
+
/** Accessible label for screen readers. Falls back to text/number; otherwise to the i18n default ("Notificatie"). */
|
|
223
244
|
'accessible-label'?: NLDDBadge['accessibleLabel'];
|
|
224
|
-
/**
|
|
245
|
+
/** Accessible label for screen readers. Falls back to text/number; otherwise to the i18n default ("Notificatie"). */
|
|
225
246
|
'accessibleLabel'?: NLDDBadge['accessibleLabel'];
|
|
247
|
+
/** Hides the badge from assistive software (use when the text beside it says the same, such as a dot next to a status word) */
|
|
248
|
+
'decorative'?: NLDDBadge['decorative'];
|
|
226
249
|
'translations'?: NLDDBadge['translations'];
|
|
227
250
|
};
|
|
228
251
|
|
|
@@ -257,13 +280,13 @@ declare module 'vue' {
|
|
|
257
280
|
};
|
|
258
281
|
|
|
259
282
|
type NLDDBlockquoteProps = {
|
|
260
|
-
/** URL
|
|
283
|
+
/** URL of the source (forwarded to the <blockquote> element) */
|
|
261
284
|
'cite'?: NLDDBlockquote['cite'];
|
|
262
285
|
};
|
|
263
286
|
|
|
264
287
|
type NLDDBoxProps = {
|
|
265
|
-
/**
|
|
266
|
-
'
|
|
288
|
+
/** Which surface this box draws. - `tinted` (default): a box on a plain page background. - `base`: a box on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card). - `critical`: a region whose actions are destructive or irreversible (a "danger zone"), tinted and outlined in critical. It carries no ARIA of its own: unlike nldd-banner this is not an announcement but a permanent part of the page, so the heading and the button labels have to name the danger — colour is a reinforcement, never the only signal (WCAG 1.4.1). The box draws the surface and nothing else: it has no padding of its own, the same way nldd-card has none. Put an nldd-container inside it and let that set the inset, so one component owns spacing wherever it is used. */
|
|
289
|
+
'variant'?: NLDDBox['variant'];
|
|
267
290
|
};
|
|
268
291
|
|
|
269
292
|
type NLDDBreadcrumbsProps = {
|
|
@@ -376,27 +399,6 @@ declare module 'vue' {
|
|
|
376
399
|
'orientation'?: NLDDButtonGroup['orientation'];
|
|
377
400
|
};
|
|
378
401
|
|
|
379
|
-
type NLDDBylineProps = {
|
|
380
|
-
/** Naamregel (bijv. "Jan Jansen en Piet Pietersen"); fallback wanneer de text-slot leeg is */
|
|
381
|
-
'text'?: NLDDByline['text'];
|
|
382
|
-
/** Ondersteunende tekst onder de naamregel (bijv. rol of datum); fallback wanneer de supporting-text-slot leeg is */
|
|
383
|
-
'supporting-text'?: NLDDByline['supportingText'];
|
|
384
|
-
/** Ondersteunende tekst onder de naamregel (bijv. rol of datum); fallback wanneer de supporting-text-slot leeg is */
|
|
385
|
-
'supportingText'?: NLDDByline['supportingText'];
|
|
386
|
-
/** Bron van één avatar (alternatief voor de avatars-slot); genegeerd zodra de avatars-slot gevuld is */
|
|
387
|
-
'avatar-src'?: NLDDByline['avatarSrc'];
|
|
388
|
-
/** Bron van één avatar (alternatief voor de avatars-slot); genegeerd zodra de avatars-slot gevuld is */
|
|
389
|
-
'avatarSrc'?: NLDDByline['avatarSrc'];
|
|
390
|
-
/** Responsive source set voor de avatar-src-afbeelding */
|
|
391
|
-
'avatar-srcset'?: NLDDByline['avatarSrcset'];
|
|
392
|
-
/** Responsive source set voor de avatar-src-afbeelding */
|
|
393
|
-
'avatarSrcset'?: NLDDByline['avatarSrcset'];
|
|
394
|
-
/** Alt-tekst voor de avatar-src-afbeelding; leeg = decoratief */
|
|
395
|
-
'avatar-alt'?: NLDDByline['avatarAlt'];
|
|
396
|
-
/** Alt-tekst voor de avatar-src-afbeelding; leeg = decoratief */
|
|
397
|
-
'avatarAlt'?: NLDDByline['avatarAlt'];
|
|
398
|
-
};
|
|
399
|
-
|
|
400
402
|
type NLDDCardProps = {
|
|
401
403
|
/** Vlakkleur van de kaart: `base` (standaard) op een gewone pagina-achtergrond, `tinted` wanneer de kaart juist mag opvallen tegen een base-surface */
|
|
402
404
|
'background'?: NLDDCard['background'];
|
|
@@ -448,6 +450,8 @@ declare module 'vue' {
|
|
|
448
450
|
type NLDDCheckboxProps = {
|
|
449
451
|
/** Checked state */
|
|
450
452
|
'checked'?: NLDDCheckbox['checked'];
|
|
453
|
+
/** Renders the box without the input: no focus, no name/value, nothing announced. For a control that owns the state elsewhere, such as a list row that is itself the checkbox; putting a real input in there would nest a control inside a control. */
|
|
454
|
+
'decorative'?: NLDDCheckbox['decorative'];
|
|
451
455
|
/** Disabled state */
|
|
452
456
|
'disabled'?: NLDDCheckbox['disabled'];
|
|
453
457
|
/** Indeterminate state (takes precedence over checked visually) */
|
|
@@ -526,10 +530,8 @@ declare module 'vue' {
|
|
|
526
530
|
};
|
|
527
531
|
|
|
528
532
|
type NLDDCodeViewerProps = {
|
|
529
|
-
/** Visual style. `box`
|
|
533
|
+
/** Visual style. The two `box` values are a framed card with rounded corners, padding, fill, and a 1px border ring, and differ in which surface they fill with; `box-tinted` is the default. `simple` drops the entire frame — use when embedding inside a parent surface. */
|
|
530
534
|
'variant'?: NLDDCodeViewer['variant'];
|
|
531
|
-
/** Surface fill when `variant="box"`. */
|
|
532
|
-
'background'?: NLDDCodeViewer['background'];
|
|
533
535
|
/** Grammar to highlight with. Empty disables highlighting. */
|
|
534
536
|
'language'?: NLDDCodeViewer['language'];
|
|
535
537
|
/** Hide the copy-to-clipboard button (shown by default). */
|
|
@@ -636,6 +638,16 @@ declare module 'vue' {
|
|
|
636
638
|
'lg-column-count'?: NLDDContainer['lgColumnCount'];
|
|
637
639
|
/** Column count when this container is lg-wide */
|
|
638
640
|
'lgColumnCount'?: NLDDContainer['lgColumnCount'];
|
|
641
|
+
/** 'full' (default, fills the parent) | 'fit-content' | a CSS length (e.g. '480px'). A container narrower than its parent stays where its parent puts it; use the parent's horizontal-alignment to move it. */
|
|
642
|
+
'width'?: NLDDContainer['width'];
|
|
643
|
+
/** Minimum width as a CSS length (e.g. '280px') */
|
|
644
|
+
'min-width'?: NLDDContainer['minWidth'];
|
|
645
|
+
/** Minimum width as a CSS length (e.g. '280px') */
|
|
646
|
+
'minWidth'?: NLDDContainer['minWidth'];
|
|
647
|
+
/** Maximum width as a CSS length (e.g. '480px') */
|
|
648
|
+
'max-width'?: NLDDContainer['maxWidth'];
|
|
649
|
+
/** Maximum width as a CSS length (e.g. '480px') */
|
|
650
|
+
'maxWidth'?: NLDDContainer['maxWidth'];
|
|
639
651
|
/** 'left' | 'center' | 'right' */
|
|
640
652
|
'horizontal-alignment'?: NLDDContainer['horizontalAlignment'];
|
|
641
653
|
/** 'left' | 'center' | 'right' */
|
|
@@ -953,10 +965,51 @@ declare module 'vue' {
|
|
|
953
965
|
'expanded'?: NLDDDropdown['expanded'];
|
|
954
966
|
/** Optional fixed width (any CSS length, e.g. "240px"). Default: stretches to fill container. */
|
|
955
967
|
'width'?: NLDDDropdown['width'];
|
|
968
|
+
/** Accessible name, forwarded as aria-label to the slotted select */
|
|
969
|
+
'accessible-label'?: NLDDDropdown['accessibleLabel'];
|
|
970
|
+
/** Accessible name, forwarded as aria-label to the slotted select */
|
|
971
|
+
'accessibleLabel'?: NLDDDropdown['accessibleLabel'];
|
|
956
972
|
/** Bubbles up from the slotted select; detail: { value: string } */
|
|
957
973
|
'onChange'?: (event: CustomEvent) => void;
|
|
958
974
|
};
|
|
959
975
|
|
|
976
|
+
type NLDDFileFieldProps = {
|
|
977
|
+
/** Field size: 'md' (default) | 'sm'. Set automatically by nldd-form-field. */
|
|
978
|
+
'size'?: NLDDFileField['size'];
|
|
979
|
+
/** Comma-separated list of accepted file types, forwarded to the input (e.g. ".pdf,image/*") */
|
|
980
|
+
'accept'?: NLDDFileField['accept'];
|
|
981
|
+
/** Allows choosing more than one file */
|
|
982
|
+
'multiple'?: NLDDFileField['multiple'];
|
|
983
|
+
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
984
|
+
'accessible-label'?: NLDDFileField['accessibleLabel'];
|
|
985
|
+
/** Accessible label forwarded to the inner input. Set automatically by nldd-form-field. */
|
|
986
|
+
'accessibleLabel'?: NLDDFileField['accessibleLabel'];
|
|
987
|
+
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
988
|
+
'input-id'?: NLDDFileField['inputId'];
|
|
989
|
+
/** Sets the id on the native input. Set automatically by nldd-form-field. */
|
|
990
|
+
'inputId'?: NLDDFileField['inputId'];
|
|
991
|
+
/** Ids for aria-describedby on the inner input. Set automatically by nldd-form-field. */
|
|
992
|
+
'error-message-ids'?: NLDDFileField['errorMessageIds'];
|
|
993
|
+
/** Ids for aria-describedby on the inner input. Set automatically by nldd-form-field. */
|
|
994
|
+
'errorMessageIds'?: NLDDFileField['errorMessageIds'];
|
|
995
|
+
/** Marks the field as valid; shows a check icon on the right, like nldd-dropdown */
|
|
996
|
+
'valid'?: NLDDFileField['valid'];
|
|
997
|
+
/** Marks the field as invalid; shows an alert icon on the right, like nldd-dropdown */
|
|
998
|
+
'invalid'?: NLDDFileField['invalid'];
|
|
999
|
+
/** Disabled state */
|
|
1000
|
+
'disabled'?: NLDDFileField['disabled'];
|
|
1001
|
+
/** Name for form submission */
|
|
1002
|
+
'name'?: NLDDFileField['name'];
|
|
1003
|
+
/** Marks the field required (invalid while no file is chosen) */
|
|
1004
|
+
'required'?: NLDDFileField['required'];
|
|
1005
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
1006
|
+
'translations'?: NLDDFileField['translations'];
|
|
1007
|
+
'files'?: NLDDFileField['files'];
|
|
1008
|
+
'internals'?: NLDDFileField['internals'];
|
|
1009
|
+
/** When the chosen files change, including a clear; detail: { files: File[] } */
|
|
1010
|
+
'onChange'?: (event: CustomEvent) => void;
|
|
1011
|
+
};
|
|
1012
|
+
|
|
960
1013
|
type NLDDFormProps = {
|
|
961
1014
|
/** Default `label-alignment` voor descendant nldd-form-field en nldd-form-actions ('top' | 'right' | 'left'). Wordt naar descendants gepropageerd als `form-label-alignment`. Een eigen `label-alignment` op de descendant heeft voorrang via CSS-cascade. */
|
|
962
1015
|
'label-alignment'?: NLDDForm['labelAlignment'];
|
|
@@ -1055,47 +1108,47 @@ declare module 'vue' {
|
|
|
1055
1108
|
};
|
|
1056
1109
|
|
|
1057
1110
|
type NLDDHeroProps = {
|
|
1058
|
-
/**
|
|
1111
|
+
/** Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height */
|
|
1059
1112
|
'main-position'?: NLDDHero['mainPosition'];
|
|
1060
|
-
/**
|
|
1113
|
+
/** Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height */
|
|
1061
1114
|
'mainPosition'?: NLDDHero['mainPosition'];
|
|
1062
|
-
/**
|
|
1115
|
+
/** Width of the panel (default: '1/2'); 'full' makes a full top or bottom strip and is ignored with 'left'/'right' */
|
|
1063
1116
|
'main-width'?: NLDDHero['mainWidth'];
|
|
1064
|
-
/**
|
|
1117
|
+
/** Width of the panel (default: '1/2'); 'full' makes a full top or bottom strip and is ignored with 'left'/'right' */
|
|
1065
1118
|
'mainWidth'?: NLDDHero['mainWidth'];
|
|
1066
|
-
/**
|
|
1119
|
+
/** Surface color of the panel: 'base' (the base surface) or a category color — 'accent' (default) or a Rijkshuisstijl color such as 'lintblauw'|'donkerblauw'|'oranje' */
|
|
1067
1120
|
'main-background'?: NLDDHero['mainBackground'];
|
|
1068
|
-
/**
|
|
1121
|
+
/** Surface color of the panel: 'base' (the base surface) or a category color — 'accent' (default) or a Rijkshuisstijl color such as 'lintblauw'|'donkerblauw'|'oranje' */
|
|
1069
1122
|
'mainBackground'?: NLDDHero['mainBackground'];
|
|
1070
|
-
/** Aspect ratio
|
|
1123
|
+
/** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
|
|
1071
1124
|
'media-aspect-ratio'?: NLDDHero['mediaAspectRatio'];
|
|
1072
|
-
/** Aspect ratio
|
|
1125
|
+
/** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
|
|
1073
1126
|
'mediaAspectRatio'?: NLDDHero['mediaAspectRatio'];
|
|
1074
|
-
/** Body max-width; 'full'
|
|
1127
|
+
/** Body max-width; 'full' removes the bound (section API) */
|
|
1075
1128
|
'width'?: NLDDHero['width'];
|
|
1076
|
-
/**
|
|
1129
|
+
/** Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled */
|
|
1077
1130
|
'media-src'?: NLDDHero['mediaSrc'];
|
|
1078
|
-
/**
|
|
1131
|
+
/** Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled */
|
|
1079
1132
|
'mediaSrc'?: NLDDHero['mediaSrc'];
|
|
1080
|
-
/** Responsive source set
|
|
1133
|
+
/** Responsive source set for media-src */
|
|
1081
1134
|
'media-srcset'?: NLDDHero['mediaSrcset'];
|
|
1082
|
-
/** Responsive source set
|
|
1135
|
+
/** Responsive source set for media-src */
|
|
1083
1136
|
'mediaSrcset'?: NLDDHero['mediaSrcset'];
|
|
1084
|
-
/** Source sizes
|
|
1137
|
+
/** Source sizes hint for media-src */
|
|
1085
1138
|
'media-sizes'?: NLDDHero['mediaSizes'];
|
|
1086
|
-
/** Source sizes
|
|
1139
|
+
/** Source sizes hint for media-src */
|
|
1087
1140
|
'mediaSizes'?: NLDDHero['mediaSizes'];
|
|
1088
|
-
/** Alt
|
|
1141
|
+
/** Alt text for media-src; empty means decorative */
|
|
1089
1142
|
'media-alt'?: NLDDHero['mediaAlt'];
|
|
1090
|
-
/** Alt
|
|
1143
|
+
/** Alt text for media-src; empty means decorative */
|
|
1091
1144
|
'mediaAlt'?: NLDDHero['mediaAlt'];
|
|
1092
|
-
/** Surface
|
|
1145
|
+
/** Surface behind the hero (section API) */
|
|
1093
1146
|
'background'?: NLDDHero['background'];
|
|
1094
|
-
/**
|
|
1147
|
+
/** Color scheme (section API) */
|
|
1095
1148
|
'scheme'?: NLDDHero['scheme'];
|
|
1096
|
-
/**
|
|
1149
|
+
/** Block padding override, also per edge and responsive (section API) */
|
|
1097
1150
|
'padding-block'?: NLDDHero['paddingBlock'];
|
|
1098
|
-
/**
|
|
1151
|
+
/** Block padding override, also per edge and responsive (section API) */
|
|
1099
1152
|
'paddingBlock'?: NLDDHero['paddingBlock'];
|
|
1100
1153
|
'padding-top'?: NLDDHero['paddingTop'];
|
|
1101
1154
|
'paddingTop'?: NLDDHero['paddingTop'];
|
|
@@ -1119,7 +1172,7 @@ declare module 'vue' {
|
|
|
1119
1172
|
'lgPaddingTop'?: NLDDHero['lgPaddingTop'];
|
|
1120
1173
|
'lg-padding-bottom'?: NLDDHero['lgPaddingBottom'];
|
|
1121
1174
|
'lgPaddingBottom'?: NLDDHero['lgPaddingBottom'];
|
|
1122
|
-
/**
|
|
1175
|
+
/** Minimum height of the section (section API) */
|
|
1123
1176
|
'height'?: NLDDHero['height'];
|
|
1124
1177
|
};
|
|
1125
1178
|
|
|
@@ -1212,6 +1265,27 @@ declare module 'vue' {
|
|
|
1212
1265
|
'hideAbove'?: NLDDIconCell['hideAbove'];
|
|
1213
1266
|
};
|
|
1214
1267
|
|
|
1268
|
+
type NLDDIdentityProps = {
|
|
1269
|
+
/** Name line (e.g. "Jan Jansen and Piet Pietersen"); the fallback when the text slot is empty */
|
|
1270
|
+
'text'?: NLDDIdentity['text'];
|
|
1271
|
+
/** Supporting text under the name line (a role or a date, for instance); the fallback when the supporting-text slot is empty */
|
|
1272
|
+
'supporting-text'?: NLDDIdentity['supportingText'];
|
|
1273
|
+
/** Supporting text under the name line (a role or a date, for instance); the fallback when the supporting-text slot is empty */
|
|
1274
|
+
'supportingText'?: NLDDIdentity['supportingText'];
|
|
1275
|
+
/** Source of a single avatar (an alternative to the avatars slot); ignored as soon as the avatars slot is filled */
|
|
1276
|
+
'avatar-src'?: NLDDIdentity['avatarSrc'];
|
|
1277
|
+
/** Source of a single avatar (an alternative to the avatars slot); ignored as soon as the avatars slot is filled */
|
|
1278
|
+
'avatarSrc'?: NLDDIdentity['avatarSrc'];
|
|
1279
|
+
/** Responsive source set for the avatar-src image */
|
|
1280
|
+
'avatar-srcset'?: NLDDIdentity['avatarSrcset'];
|
|
1281
|
+
/** Responsive source set for the avatar-src image */
|
|
1282
|
+
'avatarSrcset'?: NLDDIdentity['avatarSrcset'];
|
|
1283
|
+
/** Alt text for the avatar-src image; empty means decorative */
|
|
1284
|
+
'avatar-alt'?: NLDDIdentity['avatarAlt'];
|
|
1285
|
+
/** Alt text for the avatar-src image; empty means decorative */
|
|
1286
|
+
'avatarAlt'?: NLDDIdentity['avatarAlt'];
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1215
1289
|
type NLDDImageProps = {
|
|
1216
1290
|
/** Image URL */
|
|
1217
1291
|
'src'?: NLDDImage['src'];
|
|
@@ -1365,18 +1439,14 @@ declare module 'vue' {
|
|
|
1365
1439
|
};
|
|
1366
1440
|
|
|
1367
1441
|
type NLDDListProps = {
|
|
1368
|
-
/** Visual style (default 'simple'): `simple` is a plain vertical strip with no chrome, `box` a framed card with rounded corners, fill and inset border ring */
|
|
1442
|
+
/** Visual style (default 'simple'): `simple` is a plain vertical strip with no chrome, the two `box` values a framed card with rounded corners, fill and inset border ring. `box-tinted` for a list on a plain page, `box-base` for one on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card) */
|
|
1369
1443
|
'variant'?: NLDDList['variant'];
|
|
1370
|
-
/** Surface fill for `variant="box"` (default 'tinted'). Use `base` on an already-tinted parent. No effect with `variant="simple"`. */
|
|
1371
|
-
'background'?: NLDDList['background'];
|
|
1372
1444
|
/** A11y role and behavior (default 'list'). See the docblock above. */
|
|
1373
1445
|
'type'?: NLDDList['type'];
|
|
1374
1446
|
/** Enables drag-to-reorder and pushes `reorderable` onto the items. Only valid with `type="list"`; wins over `arrow-navigation` when both are set. */
|
|
1375
1447
|
'reorderable'?: NLDDList['reorderable'];
|
|
1376
|
-
/**
|
|
1377
|
-
'
|
|
1378
|
-
/** Hides the dividers between list items */
|
|
1379
|
-
'noDividers'?: NLDDList['noDividers'];
|
|
1448
|
+
/** When to draw the lines between the items (default 'always'). `on-touch` draws them only where the primary input is touch, under `(pointer: coarse)`: a pointer has the hover highlight to tell one row from the next and a finger has nothing, so the line earns its place in the one case and is clutter in the other. `never` hides them everywhere */
|
|
1449
|
+
'dividers'?: NLDDList['dividers'];
|
|
1380
1450
|
/** 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. */
|
|
1381
1451
|
'arrow-navigation'?: NLDDList['arrowNavigation'];
|
|
1382
1452
|
/** 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. */
|
|
@@ -1595,7 +1665,7 @@ declare module 'vue' {
|
|
|
1595
1665
|
'shortcutWindows'?: NLDDMenuItem['shortcutWindows'];
|
|
1596
1666
|
'shortcut-linux'?: NLDDMenuItem['shortcutLinux'];
|
|
1597
1667
|
'shortcutLinux'?: NLDDMenuItem['shortcutLinux'];
|
|
1598
|
-
/**
|
|
1668
|
+
/** Which menu owns this item, set by that nldd-menu. Not part of the public API. `null` until one claims it, and an unclaimed item carries no menu role. A menu role is a promise about what is around you, so an item cannot make it on its own. `nldd-toolbar-item` holds exactly such an item: the declaration of what belongs in the overflow menu, which the toolbar clones into the real menu when it collapses. The clone is claimed there and the declaration stays what it is. */
|
|
1599
1669
|
'menuVariant'?: NLDDMenuItem['menuVariant'];
|
|
1600
1670
|
'onMenuItemFocused'?: (event: CustomEvent) => void;
|
|
1601
1671
|
'onSubmenuOpen'?: (event: CustomEvent) => void;
|
|
@@ -1706,6 +1776,25 @@ declare module 'vue' {
|
|
|
1706
1776
|
'onSINGLE_COLUMN_CHANGE_EVENT'?: (event: CustomEvent) => void;
|
|
1707
1777
|
};
|
|
1708
1778
|
|
|
1779
|
+
type NLDDNotificationProps = {
|
|
1780
|
+
/** What kind of message this is; sets the icon color and the ARIA role (default: 'neutral') */
|
|
1781
|
+
'variant'?: NLDDNotification['variant'];
|
|
1782
|
+
/** 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 */
|
|
1783
|
+
'icon'?: NLDDNotification['icon'];
|
|
1784
|
+
/** The message */
|
|
1785
|
+
'text'?: NLDDNotification['text'];
|
|
1786
|
+
/** A second line under the message */
|
|
1787
|
+
'supporting-text'?: NLDDNotification['supportingText'];
|
|
1788
|
+
/** A second line under the message */
|
|
1789
|
+
'supportingText'?: NLDDNotification['supportingText'];
|
|
1790
|
+
/** Milliseconds before it leaves once it is front of the deck (default: 10000). `0` keeps it until dismissed, which is what `critical` does regardless. */
|
|
1791
|
+
'duration'?: NLDDNotification['duration'];
|
|
1792
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
1793
|
+
'translations'?: NLDDNotification['translations'];
|
|
1794
|
+
/** Fired when the notification is dismissed, by the button, by Escape, or by its own clock. The consumer removes it. */
|
|
1795
|
+
'onDismiss'?: (event: CustomEvent) => void;
|
|
1796
|
+
};
|
|
1797
|
+
|
|
1709
1798
|
type NLDDNumberFieldProps = {
|
|
1710
1799
|
/** Current value */
|
|
1711
1800
|
'value'?: NLDDNumberField['value'];
|
|
@@ -1941,37 +2030,37 @@ declare module 'vue' {
|
|
|
1941
2030
|
};
|
|
1942
2031
|
|
|
1943
2032
|
type NLDDPopoverProps = {
|
|
1944
|
-
/** ID
|
|
2033
|
+
/** ID of the trigger element, used for positioning */
|
|
1945
2034
|
'anchor'?: NLDDPopover['anchor'];
|
|
1946
2035
|
/** Floating UI placement (default: 'bottom-start') */
|
|
1947
2036
|
'placement'?: NLDDPopover['placement'];
|
|
1948
|
-
/**
|
|
2037
|
+
/** Width as a CSS length (default: 320px through --components-popover-default-width). A content-based size (`fit-content`, `min-content`, `max-content`, `auto`) is refused: the popover is an inline-size container so slotted components can adapt to it, and its width cannot then come from that same content. Such a value is ignored, with a warning in DEV. */
|
|
1949
2038
|
'width'?: NLDDPopover['width'];
|
|
1950
|
-
/** CSS top
|
|
2039
|
+
/** CSS top position. When set (on its own, or together with other edge attributes or `centered`) Floating UI's anchor positioning is skipped and the popover stands free on the screen. The `anchor` is still needed for the ARIA link on the trigger. No effect on sm, where the bottom sheet wins. */
|
|
1951
2040
|
'top'?: NLDDPopover['top'];
|
|
1952
|
-
/** CSS left
|
|
2041
|
+
/** CSS left position. See `top` for the semantics. */
|
|
1953
2042
|
'left'?: NLDDPopover['left'];
|
|
1954
|
-
/** CSS right
|
|
2043
|
+
/** CSS right position. See `top` for the semantics. */
|
|
1955
2044
|
'right'?: NLDDPopover['right'];
|
|
1956
|
-
/** CSS bottom
|
|
2045
|
+
/** CSS bottom position. See `top` for the semantics. */
|
|
1957
2046
|
'bottom'?: NLDDPopover['bottom'];
|
|
1958
|
-
/**
|
|
2047
|
+
/** Centers both axes on the viewport. Overridable per axis: `centered top="0"` is centered horizontally, aligned to the top. Mirrors CSS `place-items: center` with `align-items`/`justify-items` overrides. */
|
|
1959
2048
|
'centered'?: NLDDPopover['centered'];
|
|
1960
|
-
/**
|
|
2049
|
+
/** On an sm viewport (where the popover renders as a bottom sheet) fills the whole available height instead of shrinking to its content. No effect on md and up (anchored mode). Opt-in for content-heavy cases such as search results or long detail views; content-sized is the default, following the Apple and Material convention. */
|
|
1961
2050
|
'sm-full-height'?: NLDDPopover['smFullHeight'];
|
|
1962
|
-
/**
|
|
2051
|
+
/** On an sm viewport (where the popover renders as a bottom sheet) fills the whole available height instead of shrinking to its content. No effect on md and up (anchored mode). Opt-in for content-heavy cases such as search results or long detail views; content-sized is the default, following the Apple and Material convention. */
|
|
1963
2052
|
'smFullHeight'?: NLDDPopover['smFullHeight'];
|
|
1964
|
-
/** (
|
|
2053
|
+
/** (required) Accessible name (aria-label). Falls back to the i18n default ('Popover') when unset — always give a unique, describing name. */
|
|
1965
2054
|
'accessible-label'?: NLDDPopover['accessibleLabel'];
|
|
1966
|
-
/** (
|
|
2055
|
+
/** (required) Accessible name (aria-label). Falls back to the i18n default ('Popover') when unset — always give a unique, describing name. */
|
|
1967
2056
|
'accessibleLabel'?: NLDDPopover['accessibleLabel'];
|
|
1968
|
-
/** Override translation keys; unset keys
|
|
2057
|
+
/** Override translation keys; unset keys fall back to the Dutch default. */
|
|
1969
2058
|
'translations'?: NLDDPopover['translations'];
|
|
1970
2059
|
'anchorElement'?: NLDDPopover['anchorElement'];
|
|
1971
2060
|
'open'?: NLDDPopover['open'];
|
|
1972
|
-
/**
|
|
2061
|
+
/** When the popover opens */
|
|
1973
2062
|
'onOpen'?: (event: CustomEvent) => void;
|
|
1974
|
-
/**
|
|
2063
|
+
/** When the popover closes */
|
|
1975
2064
|
'onClose'?: (event: CustomEvent) => void;
|
|
1976
2065
|
};
|
|
1977
2066
|
|
|
@@ -2070,6 +2159,8 @@ declare module 'vue' {
|
|
|
2070
2159
|
type NLDDRadioButtonProps = {
|
|
2071
2160
|
/** Checked state */
|
|
2072
2161
|
'checked'?: NLDDRadioButton['checked'];
|
|
2162
|
+
/** Renders the shape without the input: no focus, no name/value, nothing announced. For a control that owns the state elsewhere, such as a list row that is itself the radio; putting a real input in there would nest a control inside a control. */
|
|
2163
|
+
'decorative'?: NLDDRadioButton['decorative'];
|
|
2073
2164
|
/** Disabled state */
|
|
2074
2165
|
'disabled'?: NLDDRadioButton['disabled'];
|
|
2075
2166
|
/** Required state */
|
|
@@ -2112,6 +2203,10 @@ declare module 'vue' {
|
|
|
2112
2203
|
'disabled'?: NLDDRadioButtonGroup['disabled'];
|
|
2113
2204
|
/** Marks the group as required */
|
|
2114
2205
|
'required'?: NLDDRadioButtonGroup['required'];
|
|
2206
|
+
/** Accessible name for the group, set as aria-label on the group */
|
|
2207
|
+
'accessible-label'?: NLDDRadioButtonGroup['accessibleLabel'];
|
|
2208
|
+
/** Accessible name for the group, set as aria-label on the group */
|
|
2209
|
+
'accessibleLabel'?: NLDDRadioButtonGroup['accessibleLabel'];
|
|
2115
2210
|
/** Id of an external label element, set as aria-labelledby on the group */
|
|
2116
2211
|
'accessible-labeled-by'?: NLDDRadioButtonGroup['accessibleLabeledBy'];
|
|
2117
2212
|
/** Id of an external label element, set as aria-labelledby on the group */
|
|
@@ -2314,6 +2409,14 @@ declare module 'vue' {
|
|
|
2314
2409
|
type NLDDSimpleSectionProps = {
|
|
2315
2410
|
/** Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width. */
|
|
2316
2411
|
'width'?: NLDDSimpleSection['width'];
|
|
2412
|
+
/** Where the body's children sit across the body ('left' default). Use it to place something narrower than the body, such as a container with a max-width. */
|
|
2413
|
+
'horizontal-alignment'?: NLDDSimpleSection['horizontalAlignment'];
|
|
2414
|
+
/** Where the body's children sit across the body ('left' default). Use it to place something narrower than the body, such as a container with a max-width. */
|
|
2415
|
+
'horizontalAlignment'?: NLDDSimpleSection['horizontalAlignment'];
|
|
2416
|
+
/** Where the body's children sit down the section ('top' default). Only visible when the section is taller than its content. */
|
|
2417
|
+
'vertical-alignment'?: NLDDSimpleSection['verticalAlignment'];
|
|
2418
|
+
/** Where the body's children sit down the section ('top' default). Only visible when the section is taller than its content. */
|
|
2419
|
+
'verticalAlignment'?: NLDDSimpleSection['verticalAlignment'];
|
|
2317
2420
|
/** Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface). */
|
|
2318
2421
|
'background'?: NLDDSimpleSection['background'];
|
|
2319
2422
|
/** Color scheme ('inherit' default; 'inverted' = opposite of the surrounding page scheme). */
|
|
@@ -2456,13 +2559,13 @@ declare module 'vue' {
|
|
|
2456
2559
|
};
|
|
2457
2560
|
|
|
2458
2561
|
type NLDDStepIndicatorProps = {
|
|
2459
|
-
/**
|
|
2562
|
+
/** Name of the nav; defaults to the i18n value ("Voortgang") */
|
|
2460
2563
|
'accessible-label'?: NLDDStepIndicator['accessibleLabel'];
|
|
2461
|
-
/**
|
|
2564
|
+
/** Name of the nav; defaults to the i18n value ("Voortgang") */
|
|
2462
2565
|
'accessibleLabel'?: NLDDStepIndicator['accessibleLabel'];
|
|
2463
|
-
/** 1-based
|
|
2566
|
+
/** 1-based number of the current step (default 1) */
|
|
2464
2567
|
'current'?: NLDDStepIndicator['current'];
|
|
2465
|
-
/**
|
|
2568
|
+
/** Override translation keys; unset keys fall back to Dutch */
|
|
2466
2569
|
'translations'?: NLDDStepIndicator['translations'];
|
|
2467
2570
|
'total'?: NLDDStepIndicator['total'];
|
|
2468
2571
|
/** The current step, clamped to the number of steps: an out-of-range `current` would otherwise mark every step past (or none at all). */
|
|
@@ -2471,13 +2574,13 @@ declare module 'vue' {
|
|
|
2471
2574
|
};
|
|
2472
2575
|
|
|
2473
2576
|
type NLDDStepIndicatorItemProps = {
|
|
2474
|
-
/** `past` | `current` | `future`;
|
|
2577
|
+
/** `past` | `current` | `future`; overrides what the parent derives */
|
|
2475
2578
|
'status'?: NLDDStepIndicatorItem['status'];
|
|
2476
|
-
/** Label
|
|
2579
|
+
/** Label under the disc */
|
|
2477
2580
|
'text'?: NLDDStepIndicatorItem['text'];
|
|
2478
|
-
/**
|
|
2581
|
+
/** Icon in the disc instead of the number or the check mark */
|
|
2479
2582
|
'icon'?: NLDDStepIndicatorItem['icon'];
|
|
2480
|
-
/**
|
|
2583
|
+
/** Makes the step a link (back to a completed step, for instance) */
|
|
2481
2584
|
'href'?: NLDDStepIndicatorItem['href'];
|
|
2482
2585
|
/** 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. */
|
|
2483
2586
|
'button'?: NLDDStepIndicatorItem['button'];
|
|
@@ -2500,6 +2603,10 @@ declare module 'vue' {
|
|
|
2500
2603
|
'size'?: NLDDStepper['size'];
|
|
2501
2604
|
/** Name for form submission; the value is submitted under this name */
|
|
2502
2605
|
'name'?: NLDDStepper['name'];
|
|
2606
|
+
/** Accessible name for the spinbutton; falls back to a generic label */
|
|
2607
|
+
'accessible-label'?: NLDDStepper['accessibleLabel'];
|
|
2608
|
+
/** Accessible name for the spinbutton; falls back to a generic label */
|
|
2609
|
+
'accessibleLabel'?: NLDDStepper['accessibleLabel'];
|
|
2503
2610
|
/** Translations; unspecified keys fall back to Dutch */
|
|
2504
2611
|
'translations'?: NLDDStepper['translations'];
|
|
2505
2612
|
'internals'?: NLDDStepper['internals'];
|
|
@@ -2619,19 +2726,19 @@ declare module 'vue' {
|
|
|
2619
2726
|
};
|
|
2620
2727
|
|
|
2621
2728
|
type NLDDTagProps = {
|
|
2622
|
-
/**
|
|
2729
|
+
/** Color variant. Semantic: 'neutral' | 'accent' | 'success' | 'warning' | 'critical'. Rijkshuisstijl colors: 'lintblauw' | 'donkerblauw' | 'hemelblauw' | 'lichtblauw' | 'paars' | 'violet' | 'robijnrood' | 'roze' | 'rood' | 'oranje' | 'donkergeel' | 'geel' | 'donkerbruin' | 'bruin' | 'donkergroen' | 'groen' | 'mosgroen' | 'mintgroen'. (default: 'neutral') */
|
|
2623
2730
|
'color'?: NLDDTag['color'];
|
|
2624
|
-
/** Tag
|
|
2731
|
+
/** Tag size: 'sm' | 'md' (default: 'md') */
|
|
2625
2732
|
'size'?: NLDDTag['size'];
|
|
2626
|
-
/** Tag
|
|
2733
|
+
/** Tag text (alternative to the default slot) */
|
|
2627
2734
|
'text'?: NLDDTag['text'];
|
|
2628
|
-
/**
|
|
2735
|
+
/** Icon before the text */
|
|
2629
2736
|
'icon'?: NLDDTag['icon'];
|
|
2630
|
-
/**
|
|
2737
|
+
/** What is visible: 'text' | 'icon' | 'icon-and-text'. Unset → detected from which of text/icon is present. */
|
|
2631
2738
|
'variant'?: NLDDTag['variant'];
|
|
2632
|
-
/**
|
|
2739
|
+
/** Accessible label for screen readers. Use this on icon-only tags without visible text. */
|
|
2633
2740
|
'accessible-label'?: NLDDTag['accessibleLabel'];
|
|
2634
|
-
/**
|
|
2741
|
+
/** Accessible label for screen readers. Use this on icon-only tags without visible text. */
|
|
2635
2742
|
'accessibleLabel'?: NLDDTag['accessibleLabel'];
|
|
2636
2743
|
};
|
|
2637
2744
|
|
|
@@ -2707,8 +2814,6 @@ declare module 'vue' {
|
|
|
2707
2814
|
'resize'?: NLDDTextEditor['resize'];
|
|
2708
2815
|
/** 'simple' (default, bare) | 'input-field' (framed surface) */
|
|
2709
2816
|
'variant'?: NLDDTextEditor['variant'];
|
|
2710
|
-
/** 'sans' (default) | 'mono' */
|
|
2711
|
-
'font'?: NLDDTextEditor['font'];
|
|
2712
2817
|
/** Accessible label forwarded to the editor. Set automatically by nldd-form-field. */
|
|
2713
2818
|
'accessible-label'?: NLDDTextEditor['accessibleLabel'];
|
|
2714
2819
|
/** Accessible label forwarded to the editor. Set automatically by nldd-form-field. */
|
|
@@ -2862,19 +2967,19 @@ declare module 'vue' {
|
|
|
2862
2967
|
};
|
|
2863
2968
|
|
|
2864
2969
|
type NLDDTimelineTrackCellProps = {
|
|
2865
|
-
/** Status
|
|
2970
|
+
/** Status of this step (default 'past'); the same values as `nldd-step-indicator-item`. `none` draws the line only, without a dot */
|
|
2866
2971
|
'status'?: NLDDTimelineTrackCell['status'];
|
|
2867
|
-
/**
|
|
2972
|
+
/** What this row is: a `dot` (default) on a timeline of events, a 16px dot, or a `step` in a list of steps, a 24px dot with room for a number or an icon */
|
|
2868
2973
|
'variant'?: NLDDTimelineTrackCell['variant'];
|
|
2869
|
-
/**
|
|
2974
|
+
/** This row belongs under the previous one: a smaller dot in the same lane, so the track runs straight on and nothing indents. The dot stays empty (a number or an icon would not fit, and would make the row a step of its own); carry the hierarchy in the row itself instead, with an `nldd-text-cell` rather than an `nldd-title-cell` for example */
|
|
2870
2975
|
'minor'?: NLDDTimelineTrackCell['minor'];
|
|
2871
|
-
/**
|
|
2976
|
+
/** The direction the timeline moves forward in: `down` (default) puts the past above, `up` below. Only the current step has half a track, so this only has an effect there */
|
|
2872
2977
|
'direction'?: NLDDTimelineTrackCell['direction'];
|
|
2873
|
-
/**
|
|
2978
|
+
/** Place in the series (default 'between'): decides whether the line continues above the dot, below it, or on both sides. `only` is the single row in the series and gets a line on neither side: a track of one dot leads nowhere */
|
|
2874
2979
|
'position'?: NLDDTimelineTrackCell['position'];
|
|
2875
|
-
/**
|
|
2980
|
+
/** Number or short text in the dot */
|
|
2876
2981
|
'text'?: NLDDTimelineTrackCell['text'];
|
|
2877
|
-
/**
|
|
2982
|
+
/** Icon name in the dot; wins over `text` */
|
|
2878
2983
|
'icon'?: NLDDTimelineTrackCell['icon'];
|
|
2879
2984
|
'hide-below'?: NLDDTimelineTrackCell['hideBelow'];
|
|
2880
2985
|
'hideBelow'?: NLDDTimelineTrackCell['hideBelow'];
|
|
@@ -2887,7 +2992,7 @@ declare module 'vue' {
|
|
|
2887
2992
|
type NLDDTitleProps = {
|
|
2888
2993
|
/** Visual size of the title: 1–6 (default: 3) */
|
|
2889
2994
|
'size'?: NLDDTitle['size'];
|
|
2890
|
-
/** 'inherit'
|
|
2995
|
+
/** 'inherit' lets the title take the text color of the ondergrond volgen (voor gekleurde vlakken zoals de filled-categories); overline en subtitle krijgen dezelfde kleur op verlaagde dekking. Leeg = standaard contentkleuren. */
|
|
2891
2996
|
'color'?: NLDDTitle['color'];
|
|
2892
2997
|
};
|
|
2893
2998
|
|
|
@@ -3093,6 +3198,10 @@ declare module 'vue' {
|
|
|
3093
3198
|
};
|
|
3094
3199
|
|
|
3095
3200
|
type NLDDToolbarTitleProps = {
|
|
3201
|
+
/** Makes the mark and the name one link, for the place this window belongs to (usually the app's own start). The `action` slot stays outside it: a control inside a link is a control you cannot reach without following the link. */
|
|
3202
|
+
'href'?: NLDDToolbarTitle['href'];
|
|
3203
|
+
/** Where the link opens; only meaningful with `href`. `_blank` adds rel="noopener noreferrer" and a visually hidden "opens in a new tab" announcement. */
|
|
3204
|
+
'target'?: NLDDToolbarTitle['target'];
|
|
3096
3205
|
/** Title text. */
|
|
3097
3206
|
'text'?: NLDDToolbarTitle['text'];
|
|
3098
3207
|
/** Secondary supporting text shown below the title. */
|
|
@@ -3111,18 +3220,20 @@ declare module 'vue' {
|
|
|
3111
3220
|
'max-width'?: NLDDToolbarTitle['maxWidth'];
|
|
3112
3221
|
/** Maximum width as a CSS length (default: '240px'); the title text truncates with an ellipsis beyond it. The cap is lifted while the title is the sole toolbar element (it then stretches to fill the row). */
|
|
3113
3222
|
'maxWidth'?: NLDDToolbarTitle['maxWidth'];
|
|
3223
|
+
/** Override translation keys (the new-tab announcement); unset keys fall back to Dutch. */
|
|
3224
|
+
'translations'?: NLDDToolbarTitle['translations'];
|
|
3114
3225
|
};
|
|
3115
3226
|
|
|
3116
3227
|
type NLDDTooltipProps = {
|
|
3117
|
-
/** Tooltip
|
|
3228
|
+
/** Tooltip text */
|
|
3118
3229
|
'text'?: NLDDTooltip['text'];
|
|
3119
|
-
/**
|
|
3230
|
+
/** Forces the tooltip visible, whatever hover or focus does. Use it for programmatic feedback ("Copied", for instance). Reset it to false to restore the hover behaviour. */
|
|
3120
3231
|
'open'?: NLDDTooltip['open'];
|
|
3121
|
-
/**
|
|
3232
|
+
/** Position: 'top' | 'bottom' | 'left' | 'right' (default: 'bottom'; automatically 'top' on touch devices) */
|
|
3122
3233
|
'placement'?: NLDDTooltip['placement'];
|
|
3123
|
-
/**
|
|
3234
|
+
/** When the tooltip appears on hover: 'instant' — right away, without a show delay. 'default' — after the standard show delay (700ms). 'never' — the tooltip is never shown; hover and focus events are ignored, aria-describedby is suppressed, and a tooltip that is already visible disappears. The hide delay and the touch suppression stay in force under every value. A focus trigger is always instant. */
|
|
3124
3235
|
'timing'?: NLDDTooltip['timing'];
|
|
3125
|
-
/**
|
|
3236
|
+
/** When a user presses Escape while `open=true`. The consumer owns the open lifecycle from there (we cannot clear `open` on our own), so this event is the consumer's chance to set `open` back to `false`. WCAG 1.4.13: a persistent hover or focus overlay has to be dismissible without moving focus. */
|
|
3126
3237
|
'onNlddTooltipDismiss'?: (event: CustomEvent) => void;
|
|
3127
3238
|
};
|
|
3128
3239
|
|
|
@@ -3284,9 +3395,11 @@ declare module 'vue' {
|
|
|
3284
3395
|
'nldd-activity-indicator': DefineComponent<NLDDActivityIndicatorProps>;
|
|
3285
3396
|
/** 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. */
|
|
3286
3397
|
'nldd-app-view': DefineComponent<NLDDAppViewProps>;
|
|
3287
|
-
/**
|
|
3398
|
+
/** Shows one person or organization as a compact, round (person) or rounded (organization) representation. The content follows a fixed fallback chain: an image when `src` loads, otherwise the initials (from `initials` or derived from `name`), and otherwise a fallback icon. `type` sets both the shape and the fallback icon: `person` gives a circle with a person icon, `organization` a rounded square with a building icon. The shape belongs to the meaning and cannot be set on its own. Override the fallback icon with `icon` where that helps. Without `size` the avatar scales with its container, like `nldd-icon`; a fixed size (the same spacer-aligned scale, 16 through 96) is the exception. The initials and the icon scale along. Wide initials (WW, MMM) are scaled down automatically so they stay inside the shape. Accessibility: the host element carries the meaning. With a `name` (and without `decorative`) it gets `role="img"` with the name as its label. When the name already stands beside it as text, in an identity for instance, set `decorative` so the avatar stays hidden from assistive software. A dead `src` falls back to the initials or the icon, never to a broken-image icon. */
|
|
3288
3399
|
'nldd-avatar': DefineComponent<NLDDAvatarProps>;
|
|
3289
|
-
/**
|
|
3400
|
+
/** Shows several avatars as one group: they overlap, and each one gets a ring in the surface color so they stay apart where they meet. The ring uses the same mechanism as the badge, so on a colored surface you hand the color over through `--context-parent-background-color`. Slot `nldd-avatar` elements, not bare `img`. An avatar already knows what to do with a dead image, when to fall back to initials, and how to show its name as a tooltip; a loose image would have to reproduce all of that and cannot do the last one. Set `decorative` when the names already stand beside the group as text; otherwise give every avatar a name, because the group itself describes nobody. The size applies to the whole group: it is imposed on the avatars, a slotted `img` included. That keeps the row on one line whatever a consumer hands over. */
|
|
3401
|
+
'nldd-avatar-group': DefineComponent<NLDDAvatarGroupProps>;
|
|
3402
|
+
/** Shows the state of something, or how much of it there is: a status, a number of unread messages, a dot saying something is new. What it says is decided by the system, and it changes without anyone touching it. A badge is never interactive. It shows text, a number and/or an icon; with no content it becomes a dot. Put it in a corner of another element (an icon, for instance) or on its own. For a property someone assigns to something, such as a category, a role or a certification, use `nldd-tag`. For standalone data the user works with, such as a chosen person or an active filter, use `nldd-token`. */
|
|
3290
3403
|
'nldd-badge': DefineComponent<NLDDBadgeProps>;
|
|
3291
3404
|
/** 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. */
|
|
3292
3405
|
'nldd-banner': DefineComponent<NLDDBannerProps>;
|
|
@@ -3306,8 +3419,6 @@ declare module 'vue' {
|
|
|
3306
3419
|
'nldd-button-bar-divider': DefineComponent<anonymous_0Props>;
|
|
3307
3420
|
/** A container for grouping related buttons together, either horizontally or vertically. */
|
|
3308
3421
|
'nldd-button-group': DefineComponent<NLDDButtonGroupProps>;
|
|
3309
|
-
/** 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`. */
|
|
3310
|
-
'nldd-byline': DefineComponent<NLDDBylineProps>;
|
|
3311
3422
|
/** 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. */
|
|
3312
3423
|
'nldd-card': DefineComponent<NLDDCardProps>;
|
|
3313
3424
|
/** 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"`. */
|
|
@@ -3340,6 +3451,8 @@ declare module 'vue' {
|
|
|
3340
3451
|
'nldd-drag-handle-cell': DefineComponent<NLDDDragHandleCellProps>;
|
|
3341
3452
|
/** 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. */
|
|
3342
3453
|
'nldd-dropdown': DefineComponent<NLDDDropdownProps>;
|
|
3454
|
+
/** A file picker that reads as one control: an nldd-button flush in the corner of a tinted surface, the chosen file next to it, and a dismiss button to clear it again. It wraps a hidden native `<input type="file">`, which is what makes the picker open at all — a file dialog only opens from a user gesture on a real input. The surface deliberately does not look like an input field. A border with field semantics promises you can type into it; here you can only press a button, so it uses button and surface colors instead of `--semantics-input-fields-*`. The button keeps its own tinted background and therefore sits a shade darker in the surface, which is what marks it as the thing to press. Several files are summarized, not listed: "3 bestanden" with a single cross that clears all of them. Every pick replaces the whole FileList, and rebuilding it to add or drop one file means going through DataTransfer, which does not deduplicate (even the same File object twice yields two entries) — and a File has no id, so deduplicating would come down to guessing from name, size and last-modified. A list with a cross per file would promise an edit the platform does not support. A page that does want to show the files renders its own list from the `File[]` in the change event. */
|
|
3455
|
+
'nldd-file-field': DefineComponent<NLDDFileFieldProps>;
|
|
3343
3456
|
/** Nederlandse Digitale Dienst Form Component Plain custom element (extends HTMLElement, no Lit) — required for light-DOM autofill. Renders a real <form> element in the LIGHT DOM around its children. Chrome's autofill engine looks for native <input> elements that have a <form> ancestor in the light DOM; with shadow-DOM inputs it can't find them, so we keep this component shadow-less. **Differs from other nldd-* components:** - Geen shadowRoot — alle children leven in light DOM (binnen het inner <form>) - Geen Lit — pure HTMLElement met handmatige attribute-mirroring - **Vereist global stylesheet import** — vertical rhythm en form-section divider-suppression regels staan in `dist/css/form.css` (of `global.css`), niet in een component-specifieke shadow stylesheet. Import deze als deel van je app's globale CSS bundle. **Two usage modes:** 1. **Auto-wrap** (default): write children directly. Component creates a `<form>` element and migrates children into it via MutationObserver. Simplest API. 2. **User-provided form** (framework-friendly): write your own `<form>` as direct child. Component detects it, takes over attribute-mirroring, en skipt de migration. Children blijven waar je framework ze plaatst — geen DOM-shuffling die met React/Vue/Angular reconciliation conflicteert. **Framework interop:** In auto-wrap mode wordt elke direct child verplaatst naar het inner form via een MutationObserver. Voor de meeste React/Vue use cases werkt dit prima omdat frameworks alleen DOM-mutaties doen wanneer hun virtual DOM verandert. Voor edge cases (animatie-libs die DOM-positie tracken, SSR-hydration mismatches, frameworks die actief sibling-positions controleren) gebruik dan **user-provided form** mode. Voor programmatische manipulatie: gebruik de `form` getter zodat je direct met het inner `<form>` element werkt: const inner = document.querySelector('nldd-form').form; inner.checkValidity(); inner.appendChild(myInput); // skipt migration-overhead */
|
|
3344
3457
|
'nldd-form': DefineComponent<NLDDFormProps>;
|
|
3345
3458
|
/** Een layout-wrapper voor de actie-knoppen onderaan een formulier (typisch een submit-button of button-group). Volgt dezelfde responsive layout als `nldd-form-field`: met `label-alignment="right"` of `"left"` krijgt de inhoud dezelfde insprong als de invoervelden boven, dankzij een `::before`-pseudo-element dat fungeert als spacer-kolom waar de label zou staan. Erft `label-alignment` automatisch over van een wrappende `<nldd-form>`: de form propageert z'n eigen `label-alignment` als `form-label-alignment` naar descendant `nldd-form-actions` (en `nldd-form-field`) via een MutationObserver. Een expliciete eigen `label-alignment` op de form-actions wint via CSS-cascade — de form-code raakt het `label-alignment` attribuut van de descendant nooit aan. <nldd-form label-alignment="right"> <nldd-form-field>...</nldd-form-field> <nldd-form-actions> <nldd-button-group> <nldd-button variant="primary" type="submit" text="Opslaan"></nldd-button> </nldd-button-group> </nldd-form-actions> </nldd-form> */
|
|
@@ -3351,13 +3464,15 @@ declare module 'vue' {
|
|
|
3351
3464
|
'nldd-form-section': DefineComponent<NLDDFormSectionProps>;
|
|
3352
3465
|
/** A section that spans the full width without horizontal padding. Useful for background colors, images, or other content that runs edge to edge. Vertical padding and gap adjust via container queries. */
|
|
3353
3466
|
'nldd-full-bleed-section': DefineComponent<NLDDFullBleedSectionProps>;
|
|
3354
|
-
/**
|
|
3467
|
+
/** A page header with a media area and a text panel (the main) that can stand in six positions. Every area is rectangular. With `main-width="full"` the media area sits as its own strip above or below the panel rather than behind it. On mobile the media always stacks above the full-width panel. Without media the main fills the whole area; with `main-background="base"` that area gets a border so it stays visible on the base surface. `main-background` gives the panel a surface color from the filled categories. Those carry a pure white or black content color along, so components with `color="inherit"` (title, rich-text) are guaranteed to keep their contrast. */
|
|
3355
3468
|
'nldd-hero': DefineComponent<NLDDHeroProps>;
|
|
3356
3469
|
/** 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. */
|
|
3357
3470
|
'nldd-icon': DefineComponent<NLDDIconProps>;
|
|
3358
3471
|
'nldd-icon-button': DefineComponent<NLDDIconButtonProps>;
|
|
3359
3472
|
/** 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. */
|
|
3360
3473
|
'nldd-icon-cell': DefineComponent<NLDDIconCellProps>;
|
|
3474
|
+
/** An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute or as a slot. Use the slots for richer content, such as a `<time datetime="…">` for a machine-readable date or a link to the author's profile. Slotted content replaces the matching attribute: the attribute is the slot's fallback. One avatar you slot as it is, and identity gives it its size. For more than one, slot an `nldd-avatar-group`: that overlaps them and draws the ring in the surface color. Identity does not build that group itself, because the avatars are the consumer's light DOM and a group can only style what arrives as its own child. Set the avatars to decorative (or an `img` to `alt=""`) when the names already stand in the text. On narrow widths (an sm container, 640px and under) with more than one avatar the row of avatars moves above the names, so the text keeps the full width. With one avatar the identity stays on a single line. For a single avatar you can also hand over `avatar-src` (with an optional `avatar-srcset`) as an attribute instead of slotting; its size is fixed at 40px. Slotted avatars take precedence over `avatar-src`. */
|
|
3475
|
+
'nldd-identity': DefineComponent<NLDDIdentityProps>;
|
|
3361
3476
|
/** Wraps a native `<img>` with design-system styling: corner radius variants, aspect-ratio reservation, object-fit/position control, optional caption + credit. Renders as `<figure>` + `<figcaption>` only when a caption or credit is set — otherwise just the image, no extra wrapping. Hybrid source: the `src` attribute renders an internal `<img>`. To use a custom `<img>` or `<picture>` (e.g. with art-direction sources), slot it into the default slot and we'll style and wrap it like our own image. */
|
|
3362
3477
|
'nldd-image': DefineComponent<NLDDImageProps>;
|
|
3363
3478
|
/** An inline status component for empty state, confirmations and feedback. Fills the container and has no minimum width. */
|
|
@@ -3370,7 +3485,7 @@ declare module 'vue' {
|
|
|
3370
3485
|
'nldd-link': DefineComponent<NLDDLinkProps>;
|
|
3371
3486
|
/** 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" behavior 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. */
|
|
3372
3487
|
'nldd-list': DefineComponent<NLDDListProps>;
|
|
3373
|
-
/** 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.
|
|
3488
|
+
/** 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. By default the divider starts at the row's first text or title cell, so the line lands on the words rather than on whatever leads up to them — an icon, an avatar, a checkbox, or the spacers a tree indents with. Rows of different shapes then still line their dividers up with each other, and a tree's dividers step inward with its indentation. Text inside an `nldd-list-item-action` counts as the row's content, and the marker is that text cell rather than the action: the action carries its own inline padding, so its edge sits before the words. A row with no text or title cell keeps the full content width. Mark a cell with `divider-start` and/or `divider-end` to place it yourself instead — an explicit marker replaces the derived one entirely, so `divider-start` on the leading cell restores the full-width line. 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 synchronizes 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`). */
|
|
3374
3489
|
'nldd-list-item': DefineComponent<NLDDListItemProps>;
|
|
3375
3490
|
/** 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. */
|
|
3376
3491
|
'nldd-list-item-action': DefineComponent<NLDDListItemActionProps>;
|
|
@@ -3391,6 +3506,8 @@ declare module 'vue' {
|
|
|
3391
3506
|
'nldd-multi-line-text-field': DefineComponent<NLDDMultiLineTextFieldProps>;
|
|
3392
3507
|
/** A four-column layout with a primary sidebar, secondary sidebar, main content area, and inspector. The sidebars show navigation or lists, the main area shows primary content, and the inspector shows additional details or properties of the selection. Panes are shown automatically when content is slotted into them. */
|
|
3393
3508
|
'nldd-navigation-split-view': DefineComponent<NLDDNavigationSplitViewProps>;
|
|
3509
|
+
/** A short message that arrives over the interface and leaves on its own: a save that worked, a request that failed. Not a banner, which stands in the page and stays there — this one floats, stacks, and goes away. It places itself. Write it wherever it belongs in your code and it moves to one shared region: top right from md, full width across the top below that. Nothing about the position is settable, so notifications from anywhere in an application land in the same place and stack in the same order. More than one is a deck, not a list: the front one is readable and the older ones peek out below it, so a burst of messages takes the room of roughly one. The newest is in front. Behind it a notification is a bare surface, cut to the height of the one in front; dismiss the front and it slides up into the place that came free while its message fades in, because it was standing there all along. Under the front notification sits a strip as wide as the deck and as tall as the deck is when it fans out. Pointing at it fans the deck out to fill it, which is the only hint that there is more here than the message you can read; clicking it, or moving focus into the region, lays the whole deck out as a list. Clicking or tabbing away puts it back. The notification itself is not a button: a click on the message you are reading does nothing. Only the front of the deck counts down, and only while the deck is closed: open means someone is reading. The rest wait, so nothing disappears from under the one you are reading. `critical` never leaves on its own: a failure is worth reading, and the count-down would take it away while you were. That also keeps this within WCAG 2.2.1, which allows a time limit when what disappears is not essential. The clock pauses while a pointer moves over the notification and while focus is inside it, and resumes where it left off rather than starting over. A pointer that merely happens to rest where the notification appears does not count: it never moved, so nobody is reading. role follows the variant: `critical` becomes role="alert", the rest role="status". Focus never moves on its own. Escape dismisses the notification that focus is in. */
|
|
3510
|
+
'nldd-notification': DefineComponent<NLDDNotificationProps>;
|
|
3394
3511
|
/** A numeric input field with decrement and increment buttons. */
|
|
3395
3512
|
'nldd-number-field': DefineComponent<NLDDNumberFieldProps>;
|
|
3396
3513
|
/** A section with two equal columns side by side. The columns wrap automatically when they become smaller than 280px. Padding and gap adjust via container queries. */
|
|
@@ -3409,7 +3526,7 @@ declare module 'vue' {
|
|
|
3409
3526
|
'nldd-pagination': DefineComponent<NLDDPaginationProps>;
|
|
3410
3527
|
/** A password input field with visibility toggle and validation states. */
|
|
3411
3528
|
'nldd-password-field': DefineComponent<NLDDPasswordFieldProps>;
|
|
3412
|
-
/**
|
|
3529
|
+
/** A non-modal floating panel anchored to a trigger element. Built on the native Popover API (popover="auto") with Floating UI for positioning. The browser handles opening, toggling and light dismiss; this component only handles positioning and focus. The recommended use is through popovertarget, so the browser owns the toggle: <nldd-button id="info-trigger" popovertarget="info-popover">Info</nldd-button> <nldd-popover id="info-popover" anchor="info-trigger" accessible-label="Info"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> For a custom focus target inside the popover, put `autofocus` on the child you want. Without it the popover host itself takes focus. */
|
|
3413
3530
|
'nldd-popover': DefineComponent<NLDDPopoverProps>;
|
|
3414
3531
|
/** 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. */
|
|
3415
3532
|
'nldd-progress-bar': DefineComponent<NLDDProgressBarProps>;
|
|
@@ -3454,9 +3571,9 @@ declare module 'vue' {
|
|
|
3454
3571
|
'nldd-stacked-split-view': DefineComponent<NLDDStackedSplitViewProps>;
|
|
3455
3572
|
/** 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). */
|
|
3456
3573
|
'nldd-status-bar': DefineComponent<NLDDStatusBarProps>;
|
|
3457
|
-
/**
|
|
3574
|
+
/** Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. The parent holds the truth: `current` (1-based) derives the status of every child — `past` before it, `future` after. A child can override that with a `status` of its own, for flows that jump back or skip a step. Horizontal only. For steps under each other, build an `nldd-list` with an `nldd-timeline-track-cell` and an `nldd-title-cell` per row: vertical steps usually carry more than a title, and a list row already does that. Below the sm breakpoint (a container query, so measured on the component itself rather than on the viewport) it folds into one line of text plus a segmented bar. The full list of steps stays in the DOM, only visually hidden, so assistive software hears no less than a wide screen shows. Accessibility: a `nav` with a label, holding a `role="list"` with a `role="listitem"` per step. The current step gets `aria-current="step"`, the only notion WAI-ARIA has for this. "Done" and "still to do" do not exist as ARIA tokens and travel along as visually hidden text instead. */
|
|
3458
3575
|
'nldd-step-indicator': DefineComponent<NLDDStepIndicatorProps>;
|
|
3459
|
-
/**
|
|
3576
|
+
/** One step in an `nldd-step-indicator`. The parent decides the status and the number; those live here as internal state rather than as public API, except for `status`, which overrides what `current` derives. */
|
|
3460
3577
|
'nldd-step-indicator-item': DefineComponent<NLDDStepIndicatorItemProps>;
|
|
3461
3578
|
/** A numeric control with increment and decrement buttons. */
|
|
3462
3579
|
'nldd-stepper': DefineComponent<NLDDStepperProps>;
|
|
@@ -3470,20 +3587,20 @@ declare module 'vue' {
|
|
|
3470
3587
|
/** Exports both NLDDTable and NLDDTableRow. A data table presented as a boxed surface (rounded corners, an inset border ring, a base or tinted fill) that aligns content into shared columns using a CSS grid + subgrid. Row dividers run full-bleed to the edges; the inline padding lives on the rows, so it insets the cell content but not the dividers. Column widths are defined ONCE on the table via the `columns` attribute (a CSS grid track list), like an HTML `<colgroup>`. Rows are `<nldd-table-row>` elements whose children are the existing `nldd-cell` family — every row uses `grid-template-columns: subgrid`, so all rows snap to the same columns. Header: put one `<nldd-table-row slot="header">` in the `header` slot. Its cells become column headers (role="columnheader"). Responsive: two complementary strategies. (1) Give columns a minimum width (e.g. `minmax(160px,1fr)`) — the table is its own scroll container, so it scrolls horizontally when too narrow (no wrapper needed). (2) Drop columns at breakpoints: provide `sm-columns`/`md-columns`/ `lg-columns` (shorter track lists) and hide the dropped columns' cells with `hide-below`/`hide-above` at the matching breakpoint. The table picks the track list for its own width via the standard sm/md/lg breakpoints. Selection and sorting are intentionally NOT built in: add a column with an `nldd-cell` + `nldd-checkbox` for selection, and drive sorting from an external control (e.g. a dropdown). */
|
|
3471
3588
|
'nldd-table': DefineComponent<NLDDTableProps>;
|
|
3472
3589
|
'nldd-table-row': DefineComponent<NLDDTableRowProps>;
|
|
3473
|
-
/**
|
|
3590
|
+
/** A compact property that has been assigned to something: a category, a type, a role, a certification. What it says changes only when someone edits the content. A tag is not interactive. Do not use it for a state the system keeps itself, such as "Active" or "Expired", because that is `nldd-badge`. If the user can remove the thing or click it, it is `nldd-token`. */
|
|
3474
3591
|
'nldd-tag': DefineComponent<NLDDTagProps>;
|
|
3475
3592
|
/** 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. */
|
|
3476
3593
|
'nldd-text-cell': DefineComponent<NLDDTextCellProps>;
|
|
3477
|
-
/** 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
|
|
3594
|
+
/** 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 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. */
|
|
3478
3595
|
'nldd-text-editor': DefineComponent<NLDDTextEditorProps>;
|
|
3479
3596
|
'nldd-text-field': DefineComponent<NLDDTextFieldProps>;
|
|
3480
3597
|
/** Een tekstveld voor een tijd. De waarde is altijd 24-uurs `HH:mm`; dat is in het Nederlands ook de weergave, dus anders dan bij nldd-date-field valt er niets om te rekenen. Er wordt niet gemaskeerd tijdens het typen: invoer wordt royaal geaccepteerd en pas bij het verlaten van het veld genormaliseerd. Foutmeldingen horen bij nldd-form-field, niet hier. Dit veld reflecteert alleen `invalid` / `valid`, net als nldd-text-field. Wat je in de picker doet is een voorbeeld tot je hem verlaat: het veld toont de tijd meteen, maar legt hem pas vast bij het sluiten. "Klaar" en Enter houden de keuze, een klik ernaast ook zodra je iets gekozen hebt, en Annuleer en Escape zetten de oude tijd terug. Op een leeg veld openen de wielen op `min`, of anders op de huidige tijd afgerond op `step`; dat vult het veld nog niet in. */
|
|
3481
3598
|
'nldd-time-field': DefineComponent<NLDDTimeFieldProps>;
|
|
3482
3599
|
/** Twee kolommen, uren en minuten, die als een wiel langs de selectie in het midden schuiven. Het component is zelfstandig bruikbaar (inline op een pagina, in een filterpaneel) en zit ook in de popover van nldd-time-field. Waarden zijn altijd 24-uurs `HH:mm`. Scrollen ís kiezen: wat in het midden tot stilstand komt, is de waarde. Met het toetsenbord bedien je de selectie, want dat is wat een wiel is: uur en minuut zijn er elk een spinbutton. De kolommen eronder staan op aria-hidden, zodat dezelfde waarden niet twee keer worden voorgelezen. */
|
|
3483
3600
|
'nldd-time-picker': DefineComponent<NLDDTimePickerProps>;
|
|
3484
|
-
/** 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.
|
|
3601
|
+
/** 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. By default the cell is a bare track: a line with a dot per row, for a timeline of events. With `variant="step"` the dot grows big enough for a number or an icon and you have a list of steps under each other, the vertical counterpart of `nldd-step-indicator`. The size belongs to the variant rather than to the content: every dot in a list is the same size, or the track would jump. */
|
|
3485
3602
|
'nldd-timeline-track-cell': DefineComponent<NLDDTimelineTrackCellProps>;
|
|
3486
|
-
/** A title bar with an optional overline, title, and subtitle on the left, and a slot
|
|
3603
|
+
/** A title bar with an optional overline, title, and subtitle on the left, and a slot at the end of the title line on the right. */
|
|
3487
3604
|
'nldd-title': DefineComponent<NLDDTitleProps>;
|
|
3488
3605
|
/** A cell component for displaying a title with optional overline and subtitle in lists. `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, title, 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>`, `<nldd-icon>` or other components mixed with text. Note that `query` highlighting and `**bold**` parsing only apply to the attribute path — slotted content is rendered as-is. */
|
|
3489
3606
|
'nldd-title-cell': DefineComponent<NLDDTitleCellProps>;
|
|
@@ -3491,18 +3608,18 @@ declare module 'vue' {
|
|
|
3491
3608
|
'nldd-toggle-button': DefineComponent<NLDDToggleButtonProps>;
|
|
3492
3609
|
/** Groups nldd-toggle-button elements and manages selection, keyboard navigation, and forwarding of type, name, size, and disabled state to all buttons. For type="radio" (single-select), arrow keys navigate between buttons and automatically select the focused one. For type="checkbox" (multi-select), multiple buttons can be selected simultaneously. */
|
|
3493
3610
|
'nldd-toggle-button-group': DefineComponent<NLDDToggleButtonGroupProps>;
|
|
3494
|
-
/** A
|
|
3611
|
+
/** A self-contained piece of data the user is handling: a person in an address field, an active filter value. Alone among the three it can be operated, so it is optionally dismissable or interactive through a contextual menu. For something you only read, reach for `nldd-tag` (a trait someone assigned) or `nldd-badge` (a state or a count the system keeps). */
|
|
3495
3612
|
'nldd-token': DefineComponent<NLDDTokenProps>;
|
|
3496
3613
|
/** A multi-select input that looks like a normal input field: chosen values show as dismissible tokens in a wrapping row, followed by an inline text input that stretches to fill the remaining space and wraps to a new line (growing the field) when it no longer fits. Options are supplied as a slotted nldd-menu, exactly like nldd-combo-box; the menu filters as you type, with a chevron picker button, arrow-key roving across the tokens and ElementInternals form participation. */
|
|
3497
3614
|
'nldd-token-field': DefineComponent<NLDDTokenFieldProps>;
|
|
3498
3615
|
'nldd-toolbar': DefineComponent<NLDDToolbarProps>;
|
|
3499
3616
|
'nldd-toolbar-item': DefineComponent<NLDDToolbarItemProps>;
|
|
3500
3617
|
'nldd-toolbar-title': DefineComponent<NLDDToolbarTitleProps>;
|
|
3501
|
-
/**
|
|
3618
|
+
/** A wrapper that shows a tooltip on hover or focus of its child element. It uses `display: contents`, so it does not affect the child's layout. */
|
|
3502
3619
|
'nldd-tooltip': DefineComponent<NLDDTooltipProps>;
|
|
3503
3620
|
/** De bovenste balk van een pagina: een logobalk met het Rijkslogo en een optioneel woordmerk, en daaronder de hoofdbalk met de websitetitel, een terugknop, de globale navigatie en de utility-navigatie. Op smalle breedtes verhuist de globale navigatie naar een menusheet achter de menuknop. */
|
|
3504
3621
|
'nldd-top-navigation-bar': DefineComponent<NLDDTopNavigationBarProps>;
|
|
3505
|
-
/** A toolbar for page and container headings with optional navigation and action buttons. The component has two states: - Default: the back button shows the previous page title as a text button - Compact (class `is-compact`): the back button is an icon button, a divider and the toolbar title are visible When `collapse-anchor` is set, the `is-compact` class is automatically applied as soon as the top of the anchor element reaches this bar's own top edge (the sticky header line). Measuring the bar rather than the page keeps it correct in both nested and root scroll modes; it also re-points at the live scroll target when the page switches mode. Without `collapse-anchor` the bar takes a static state: compact when `text` is set (so the title shows in the title-group), non-compact otherwise (so the `back-text` button stays visible). */
|
|
3622
|
+
/** A toolbar for page and container headings with optional navigation and action buttons. The component has two states: - Default: the back button shows the previous page title as a text button - Compact (class `is-compact`): the back button is an icon button, a divider and the toolbar title are visible When `collapse-anchor` is set, the `is-compact` class is automatically applied as soon as the top of the anchor element reaches this bar's own top edge (the sticky header line). Measuring the bar rather than the page keeps it correct in both nested and root scroll modes; it also re-points at the live scroll target when the page switches mode. Without `collapse-anchor` the bar takes a static state: compact when `text` is set (so the title shows in the title-group), non-compact otherwise (so the `back-text` button stays visible). An anchored bar hides its own title from assistive technology. The anchor is the heading the title swaps in for, so both carry the same words: once you scroll past the heading, a screen reader would otherwise find the same title twice. Sighted readers see one at a time, and this makes that true for everyone. Anchor at the heading, then, and not at some other element that happens to sit at the right height: the bar hands its title over to it. */
|
|
3506
3623
|
'nldd-top-title-bar': DefineComponent<NLDDTopTitleBarProps>;
|
|
3507
3624
|
/** A section with 2/3 main content on the left and a 1/3 sidebar on the right. The columns wrap automatically when they become smaller than 280px. Padding and gap adjust via container queries. */
|
|
3508
3625
|
'nldd-two-thirds-one-third-section': DefineComponent<NLDDTwoThirdsOneThirdSectionProps>;
|