@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/custom-elements.json
CHANGED
|
@@ -1519,10 +1519,10 @@
|
|
|
1519
1519
|
"kind": "field",
|
|
1520
1520
|
"name": "menuVariant",
|
|
1521
1521
|
"type": {
|
|
1522
|
-
"text": "'menu' | 'listbox'"
|
|
1522
|
+
"text": "'menu' | 'listbox' | null"
|
|
1523
1523
|
},
|
|
1524
|
-
"default": "
|
|
1525
|
-
"description": "
|
|
1524
|
+
"default": "null",
|
|
1525
|
+
"description": "Which menu owns this item, set by that nldd-menu. Not part of the public API.\n\n`null` until one claims it, and an unclaimed item carries no menu role.\nA menu role is a promise about what is around you, so an item cannot make\nit on its own. `nldd-toolbar-item` holds exactly such an item: the\ndeclaration of what belongs in the overflow menu, which the toolbar clones\ninto the real menu when it collapses. The clone is claimed there and the\ndeclaration stays what it is."
|
|
1526
1526
|
},
|
|
1527
1527
|
{
|
|
1528
1528
|
"kind": "method",
|
|
@@ -1735,7 +1735,7 @@
|
|
|
1735
1735
|
"name": ""
|
|
1736
1736
|
},
|
|
1737
1737
|
{
|
|
1738
|
-
"description": "Free content shown above the items, outside `role=\"menu\"` (so it may hold non-menuitem content such as an avatar + name, buttons or links — reached with Tab, skipped by arrow navigation). The region is unpadded; control spacing with your own content (e.g. an `nldd-container`). Root-only: never rendered in a submenu. Example: an account identity header (nldd-
|
|
1738
|
+
"description": "Free content shown above the items, outside `role=\"menu\"` (so it may hold non-menuitem content such as an avatar + name, buttons or links — reached with Tab, skipped by arrow navigation). The region is unpadded; control spacing with your own content (e.g. an `nldd-container`). Root-only: never rendered in a submenu. Example: an account identity header (nldd-identity).",
|
|
1739
1739
|
"name": "header"
|
|
1740
1740
|
},
|
|
1741
1741
|
{
|
|
@@ -2412,6 +2412,26 @@
|
|
|
2412
2412
|
"description": "",
|
|
2413
2413
|
"name": "NLDDToolbarTitle",
|
|
2414
2414
|
"members": [
|
|
2415
|
+
{
|
|
2416
|
+
"kind": "field",
|
|
2417
|
+
"name": "href",
|
|
2418
|
+
"type": {
|
|
2419
|
+
"text": "string"
|
|
2420
|
+
},
|
|
2421
|
+
"default": "''",
|
|
2422
|
+
"attribute": "href",
|
|
2423
|
+
"reflects": true
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"kind": "field",
|
|
2427
|
+
"name": "target",
|
|
2428
|
+
"type": {
|
|
2429
|
+
"text": "string"
|
|
2430
|
+
},
|
|
2431
|
+
"default": "''",
|
|
2432
|
+
"attribute": "target",
|
|
2433
|
+
"reflects": true
|
|
2434
|
+
},
|
|
2415
2435
|
{
|
|
2416
2436
|
"kind": "field",
|
|
2417
2437
|
"name": "text",
|
|
@@ -2471,9 +2491,36 @@
|
|
|
2471
2491
|
"default": "''",
|
|
2472
2492
|
"attribute": "max-width",
|
|
2473
2493
|
"reflects": true
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"kind": "field",
|
|
2497
|
+
"name": "translations",
|
|
2498
|
+
"type": {
|
|
2499
|
+
"text": "Partial<NLDDToolbarTranslations>"
|
|
2500
|
+
},
|
|
2501
|
+
"default": "{}",
|
|
2502
|
+
"attribute": "translations"
|
|
2474
2503
|
}
|
|
2475
2504
|
],
|
|
2476
2505
|
"attributes": [
|
|
2506
|
+
{
|
|
2507
|
+
"name": "href",
|
|
2508
|
+
"type": {
|
|
2509
|
+
"text": "string"
|
|
2510
|
+
},
|
|
2511
|
+
"default": "''",
|
|
2512
|
+
"fieldName": "href",
|
|
2513
|
+
"description": "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."
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
"name": "target",
|
|
2517
|
+
"type": {
|
|
2518
|
+
"text": "string"
|
|
2519
|
+
},
|
|
2520
|
+
"default": "''",
|
|
2521
|
+
"fieldName": "target",
|
|
2522
|
+
"description": "Where the link opens; only meaningful with `href`. `_blank` adds rel=\"noopener noreferrer\" and a visually hidden \"opens in a new tab\" announcement."
|
|
2523
|
+
},
|
|
2477
2524
|
{
|
|
2478
2525
|
"name": "text",
|
|
2479
2526
|
"type": {
|
|
@@ -2527,6 +2574,15 @@
|
|
|
2527
2574
|
"default": "''",
|
|
2528
2575
|
"fieldName": "maxWidth",
|
|
2529
2576
|
"description": "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)."
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"name": "translations",
|
|
2580
|
+
"type": {
|
|
2581
|
+
"text": "Partial<NLDDToolbarTranslations>"
|
|
2582
|
+
},
|
|
2583
|
+
"default": "{}",
|
|
2584
|
+
"fieldName": "translations",
|
|
2585
|
+
"description": "Override translation keys (the new-tab announcement); unset keys fall back to Dutch."
|
|
2530
2586
|
}
|
|
2531
2587
|
],
|
|
2532
2588
|
"superclass": {
|
|
@@ -2536,6 +2592,10 @@
|
|
|
2536
2592
|
"tagName": "nldd-toolbar-title",
|
|
2537
2593
|
"customElement": true,
|
|
2538
2594
|
"slots": [
|
|
2595
|
+
{
|
|
2596
|
+
"name": "media",
|
|
2597
|
+
"description": "Optional leading image before the title: a logo, a product mark, a file-type icon. Its height is capped to the title group so it cannot stretch the row; pick the size within that yourself. With no `text` the media stands alone and carries the name, so give it one (an `alt`, or an accessible label)."
|
|
2598
|
+
},
|
|
2539
2599
|
{
|
|
2540
2600
|
"name": "action",
|
|
2541
2601
|
"description": "Optional trailing control (e.g. an xs nldd-icon-button), shown inline after the title and tuned to sit against it. Empty by default."
|
|
@@ -2704,58 +2764,145 @@
|
|
|
2704
2764
|
},
|
|
2705
2765
|
{
|
|
2706
2766
|
"kind": "javascript-module",
|
|
2707
|
-
"path": "src/components/content/avatar/avatar.ts",
|
|
2767
|
+
"path": "src/components/content/avatar-group/avatar-group.ts",
|
|
2708
2768
|
"declarations": [
|
|
2709
2769
|
{
|
|
2710
2770
|
"kind": "class",
|
|
2711
|
-
"description": "
|
|
2712
|
-
"name": "
|
|
2771
|
+
"description": "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.",
|
|
2772
|
+
"name": "NLDDAvatarGroup",
|
|
2713
2773
|
"members": [
|
|
2714
2774
|
{
|
|
2715
2775
|
"kind": "field",
|
|
2716
|
-
"name": "
|
|
2776
|
+
"name": "size",
|
|
2717
2777
|
"type": {
|
|
2718
2778
|
"text": "string"
|
|
2719
2779
|
},
|
|
2720
|
-
"default": "''",
|
|
2721
|
-
"attribute": "
|
|
2780
|
+
"default": "'40'",
|
|
2781
|
+
"attribute": "size",
|
|
2782
|
+
"reflects": true
|
|
2722
2783
|
},
|
|
2723
2784
|
{
|
|
2724
2785
|
"kind": "field",
|
|
2725
|
-
"name": "
|
|
2786
|
+
"name": "max",
|
|
2726
2787
|
"type": {
|
|
2727
|
-
"text": "
|
|
2788
|
+
"text": "number | undefined"
|
|
2728
2789
|
},
|
|
2729
|
-
"default": "
|
|
2730
|
-
"attribute": "
|
|
2790
|
+
"default": "undefined",
|
|
2791
|
+
"attribute": "max",
|
|
2792
|
+
"reflects": true
|
|
2731
2793
|
},
|
|
2732
2794
|
{
|
|
2733
2795
|
"kind": "field",
|
|
2734
|
-
"name": "
|
|
2796
|
+
"name": "accessibleLabel",
|
|
2735
2797
|
"type": {
|
|
2736
2798
|
"text": "string"
|
|
2737
2799
|
},
|
|
2738
2800
|
"default": "''",
|
|
2739
|
-
"attribute": "
|
|
2801
|
+
"attribute": "accessible-label"
|
|
2740
2802
|
},
|
|
2741
2803
|
{
|
|
2742
2804
|
"kind": "field",
|
|
2743
|
-
"name": "
|
|
2805
|
+
"name": "translations",
|
|
2806
|
+
"type": {
|
|
2807
|
+
"text": "Partial<T>"
|
|
2808
|
+
},
|
|
2809
|
+
"default": "{}",
|
|
2810
|
+
"attribute": "translations",
|
|
2811
|
+
"inheritedFrom": {
|
|
2812
|
+
"name": "withTranslations",
|
|
2813
|
+
"module": "src/utilities/with-translations.ts"
|
|
2814
|
+
}
|
|
2815
|
+
}
|
|
2816
|
+
],
|
|
2817
|
+
"attributes": [
|
|
2818
|
+
{
|
|
2819
|
+
"name": "size",
|
|
2744
2820
|
"type": {
|
|
2745
2821
|
"text": "string"
|
|
2746
2822
|
},
|
|
2747
|
-
"default": "''",
|
|
2748
|
-
"
|
|
2823
|
+
"default": "'40'",
|
|
2824
|
+
"fieldName": "size",
|
|
2825
|
+
"description": "Diameter of each avatar in px (spacer-aligned: 16, 20, 24, 28, 32, 40, 44, 48, 56, 64, 80, 96); default 40"
|
|
2749
2826
|
},
|
|
2750
2827
|
{
|
|
2751
|
-
"
|
|
2752
|
-
"
|
|
2828
|
+
"name": "max",
|
|
2829
|
+
"type": {
|
|
2830
|
+
"text": "number | undefined"
|
|
2831
|
+
},
|
|
2832
|
+
"default": "undefined",
|
|
2833
|
+
"fieldName": "max",
|
|
2834
|
+
"description": "Shows at most this many avatars; the rest go behind a \"+N\" button that opens them as a list of names"
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"name": "accessible-label",
|
|
2753
2838
|
"type": {
|
|
2754
2839
|
"text": "string"
|
|
2755
2840
|
},
|
|
2756
2841
|
"default": "''",
|
|
2757
|
-
"
|
|
2842
|
+
"fieldName": "accessibleLabel",
|
|
2843
|
+
"description": "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"
|
|
2758
2844
|
},
|
|
2845
|
+
{
|
|
2846
|
+
"name": "translations",
|
|
2847
|
+
"type": {
|
|
2848
|
+
"text": "Partial<T>"
|
|
2849
|
+
},
|
|
2850
|
+
"default": "{}",
|
|
2851
|
+
"fieldName": "translations",
|
|
2852
|
+
"inheritedFrom": {
|
|
2853
|
+
"name": "withTranslations",
|
|
2854
|
+
"module": "src/utilities/with-translations.ts"
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
],
|
|
2858
|
+
"mixins": [
|
|
2859
|
+
{
|
|
2860
|
+
"name": "withTranslations",
|
|
2861
|
+
"module": "/src/utilities/with-translations.js"
|
|
2862
|
+
}
|
|
2863
|
+
],
|
|
2864
|
+
"superclass": {
|
|
2865
|
+
"name": "LitElement",
|
|
2866
|
+
"package": "lit"
|
|
2867
|
+
},
|
|
2868
|
+
"tagName": "nldd-avatar-group",
|
|
2869
|
+
"customElement": true,
|
|
2870
|
+
"slots": [
|
|
2871
|
+
{
|
|
2872
|
+
"name": "",
|
|
2873
|
+
"description": "One or more `nldd-avatar` elements"
|
|
2874
|
+
}
|
|
2875
|
+
]
|
|
2876
|
+
}
|
|
2877
|
+
],
|
|
2878
|
+
"exports": [
|
|
2879
|
+
{
|
|
2880
|
+
"kind": "js",
|
|
2881
|
+
"name": "NLDDAvatarGroup",
|
|
2882
|
+
"declaration": {
|
|
2883
|
+
"name": "NLDDAvatarGroup",
|
|
2884
|
+
"module": "src/components/content/avatar-group/avatar-group.ts"
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"kind": "custom-element-definition",
|
|
2889
|
+
"name": "nldd-avatar-group",
|
|
2890
|
+
"declaration": {
|
|
2891
|
+
"name": "NLDDAvatarGroup",
|
|
2892
|
+
"module": "src/components/content/avatar-group/avatar-group.ts"
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
]
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "javascript-module",
|
|
2899
|
+
"path": "src/components/content/avatar/avatar.ts",
|
|
2900
|
+
"declarations": [
|
|
2901
|
+
{
|
|
2902
|
+
"kind": "class",
|
|
2903
|
+
"description": "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.",
|
|
2904
|
+
"name": "NLDDAvatar",
|
|
2905
|
+
"members": [
|
|
2759
2906
|
{
|
|
2760
2907
|
"kind": "field",
|
|
2761
2908
|
"name": "type",
|
|
@@ -2768,22 +2915,22 @@
|
|
|
2768
2915
|
},
|
|
2769
2916
|
{
|
|
2770
2917
|
"kind": "field",
|
|
2771
|
-
"name": "
|
|
2918
|
+
"name": "size",
|
|
2772
2919
|
"type": {
|
|
2773
|
-
"text": "
|
|
2920
|
+
"text": "AvatarSize"
|
|
2774
2921
|
},
|
|
2775
|
-
"default": "'
|
|
2776
|
-
"attribute": "
|
|
2922
|
+
"default": "''",
|
|
2923
|
+
"attribute": "size",
|
|
2777
2924
|
"reflects": true
|
|
2778
2925
|
},
|
|
2779
2926
|
{
|
|
2780
2927
|
"kind": "field",
|
|
2781
|
-
"name": "
|
|
2928
|
+
"name": "color",
|
|
2782
2929
|
"type": {
|
|
2783
|
-
"text": "
|
|
2930
|
+
"text": "AvatarColor"
|
|
2784
2931
|
},
|
|
2785
|
-
"default": "''",
|
|
2786
|
-
"attribute": "
|
|
2932
|
+
"default": "'default'",
|
|
2933
|
+
"attribute": "color",
|
|
2787
2934
|
"reflects": true
|
|
2788
2935
|
},
|
|
2789
2936
|
{
|
|
@@ -2796,6 +2943,61 @@
|
|
|
2796
2943
|
"attribute": "icon-aligned",
|
|
2797
2944
|
"reflects": true
|
|
2798
2945
|
},
|
|
2946
|
+
{
|
|
2947
|
+
"kind": "field",
|
|
2948
|
+
"name": "name",
|
|
2949
|
+
"type": {
|
|
2950
|
+
"text": "string"
|
|
2951
|
+
},
|
|
2952
|
+
"default": "''",
|
|
2953
|
+
"attribute": "name"
|
|
2954
|
+
},
|
|
2955
|
+
{
|
|
2956
|
+
"kind": "field",
|
|
2957
|
+
"name": "initials",
|
|
2958
|
+
"type": {
|
|
2959
|
+
"text": "string"
|
|
2960
|
+
},
|
|
2961
|
+
"default": "''",
|
|
2962
|
+
"attribute": "initials"
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"kind": "field",
|
|
2966
|
+
"name": "src",
|
|
2967
|
+
"type": {
|
|
2968
|
+
"text": "string"
|
|
2969
|
+
},
|
|
2970
|
+
"default": "''",
|
|
2971
|
+
"attribute": "src"
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
"kind": "field",
|
|
2975
|
+
"name": "srcset",
|
|
2976
|
+
"type": {
|
|
2977
|
+
"text": "string"
|
|
2978
|
+
},
|
|
2979
|
+
"default": "''",
|
|
2980
|
+
"attribute": "srcset"
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"kind": "field",
|
|
2984
|
+
"name": "icon",
|
|
2985
|
+
"type": {
|
|
2986
|
+
"text": "string"
|
|
2987
|
+
},
|
|
2988
|
+
"default": "''",
|
|
2989
|
+
"attribute": "icon"
|
|
2990
|
+
},
|
|
2991
|
+
{
|
|
2992
|
+
"kind": "field",
|
|
2993
|
+
"name": "accessibleLabel",
|
|
2994
|
+
"type": {
|
|
2995
|
+
"text": "string"
|
|
2996
|
+
},
|
|
2997
|
+
"default": "''",
|
|
2998
|
+
"description": "Accessible name of the link or button. Without it, it falls back to\n`name`. Only matters when the avatar is interactive.",
|
|
2999
|
+
"attribute": "accessible-label"
|
|
3000
|
+
},
|
|
2799
3001
|
{
|
|
2800
3002
|
"kind": "field",
|
|
2801
3003
|
"name": "decorative",
|
|
@@ -2806,6 +3008,17 @@
|
|
|
2806
3008
|
"attribute": "decorative",
|
|
2807
3009
|
"reflects": true
|
|
2808
3010
|
},
|
|
3011
|
+
{
|
|
3012
|
+
"kind": "field",
|
|
3013
|
+
"name": "tooltipTiming",
|
|
3014
|
+
"type": {
|
|
3015
|
+
"text": "'default' | 'instant' | 'never'"
|
|
3016
|
+
},
|
|
3017
|
+
"default": "'default'",
|
|
3018
|
+
"description": "Forwarded to the inner nldd-tooltip's `timing`, like nldd-icon-button.\nOn by default: initials without a name are a riddle. An\navatar that sits beside that name is `decorative` and shows none.",
|
|
3019
|
+
"attribute": "tooltip-timing",
|
|
3020
|
+
"reflects": true
|
|
3021
|
+
},
|
|
2809
3022
|
{
|
|
2810
3023
|
"kind": "field",
|
|
2811
3024
|
"name": "href",
|
|
@@ -2813,7 +3026,7 @@
|
|
|
2813
3026
|
"text": "string"
|
|
2814
3027
|
},
|
|
2815
3028
|
"default": "''",
|
|
2816
|
-
"description": "Makes the avatar one link: the
|
|
3029
|
+
"description": "Makes the avatar one link: the shape itself becomes the <a>, so the click\narea and the focus ring follow its shape (an overlay would be square).",
|
|
2817
3030
|
"attribute": "href",
|
|
2818
3031
|
"reflects": true
|
|
2819
3032
|
},
|
|
@@ -2846,16 +3059,6 @@
|
|
|
2846
3059
|
"default": "''",
|
|
2847
3060
|
"attribute": "rel"
|
|
2848
3061
|
},
|
|
2849
|
-
{
|
|
2850
|
-
"kind": "field",
|
|
2851
|
-
"name": "accessibleLabel",
|
|
2852
|
-
"type": {
|
|
2853
|
-
"text": "string"
|
|
2854
|
-
},
|
|
2855
|
-
"default": "''",
|
|
2856
|
-
"description": "Accessible name of the link or button. Without it, it falls back to\n`name`. Only matters when the avatar is interactive.",
|
|
2857
|
-
"attribute": "accessible-label"
|
|
2858
|
-
},
|
|
2859
3062
|
{
|
|
2860
3063
|
"kind": "field",
|
|
2861
3064
|
"name": "isInteractive",
|
|
@@ -2899,22 +3102,40 @@
|
|
|
2899
3102
|
],
|
|
2900
3103
|
"attributes": [
|
|
2901
3104
|
{
|
|
2902
|
-
"name": "
|
|
3105
|
+
"name": "type",
|
|
2903
3106
|
"type": {
|
|
2904
|
-
"text": "
|
|
3107
|
+
"text": "AvatarType"
|
|
2905
3108
|
},
|
|
2906
|
-
"default": "''",
|
|
2907
|
-
"fieldName": "
|
|
2908
|
-
"description": "
|
|
3109
|
+
"default": "'person'",
|
|
3110
|
+
"fieldName": "type",
|
|
3111
|
+
"description": "`person` (circle, person icon) or `organization` (rounded, building icon); default `person`"
|
|
2909
3112
|
},
|
|
2910
3113
|
{
|
|
2911
|
-
"name": "
|
|
3114
|
+
"name": "size",
|
|
2912
3115
|
"type": {
|
|
2913
|
-
"text": "
|
|
3116
|
+
"text": "AvatarSize"
|
|
2914
3117
|
},
|
|
2915
3118
|
"default": "''",
|
|
2916
|
-
"fieldName": "
|
|
2917
|
-
"description": "
|
|
3119
|
+
"fieldName": "size",
|
|
3120
|
+
"description": "`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"
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"name": "color",
|
|
3124
|
+
"type": {
|
|
3125
|
+
"text": "AvatarColor"
|
|
3126
|
+
},
|
|
3127
|
+
"default": "'default'",
|
|
3128
|
+
"fieldName": "color",
|
|
3129
|
+
"description": "`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`"
|
|
3130
|
+
},
|
|
3131
|
+
{
|
|
3132
|
+
"name": "icon-aligned",
|
|
3133
|
+
"type": {
|
|
3134
|
+
"text": "boolean"
|
|
3135
|
+
},
|
|
3136
|
+
"default": "false",
|
|
3137
|
+
"fieldName": "iconAligned",
|
|
3138
|
+
"description": "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)"
|
|
2918
3139
|
},
|
|
2919
3140
|
{
|
|
2920
3141
|
"name": "name",
|
|
@@ -2923,7 +3144,7 @@
|
|
|
2923
3144
|
},
|
|
2924
3145
|
"default": "''",
|
|
2925
3146
|
"fieldName": "name",
|
|
2926
|
-
"description": "
|
|
3147
|
+
"description": "Name of the person or organization; supplies the derived initials and the accessible label"
|
|
2927
3148
|
},
|
|
2928
3149
|
{
|
|
2929
3150
|
"name": "initials",
|
|
@@ -2932,61 +3153,61 @@
|
|
|
2932
3153
|
},
|
|
2933
3154
|
"default": "''",
|
|
2934
3155
|
"fieldName": "initials",
|
|
2935
|
-
"description": "
|
|
3156
|
+
"description": "Explicit initials, at most 3 characters (overrides what is derived from `name`; also for organization acronyms)"
|
|
2936
3157
|
},
|
|
2937
3158
|
{
|
|
2938
|
-
"name": "
|
|
3159
|
+
"name": "src",
|
|
2939
3160
|
"type": {
|
|
2940
3161
|
"text": "string"
|
|
2941
3162
|
},
|
|
2942
3163
|
"default": "''",
|
|
2943
|
-
"fieldName": "
|
|
2944
|
-
"description": "
|
|
3164
|
+
"fieldName": "src",
|
|
3165
|
+
"description": "Image source; falls back to initials or icon when it fails to load"
|
|
2945
3166
|
},
|
|
2946
3167
|
{
|
|
2947
|
-
"name": "
|
|
3168
|
+
"name": "srcset",
|
|
2948
3169
|
"type": {
|
|
2949
|
-
"text": "
|
|
3170
|
+
"text": "string"
|
|
2950
3171
|
},
|
|
2951
|
-
"default": "'
|
|
2952
|
-
"fieldName": "
|
|
2953
|
-
"description": "
|
|
3172
|
+
"default": "''",
|
|
3173
|
+
"fieldName": "srcset",
|
|
3174
|
+
"description": "Responsive source set for the image (the component sets `sizes` itself)"
|
|
2954
3175
|
},
|
|
2955
3176
|
{
|
|
2956
|
-
"name": "
|
|
3177
|
+
"name": "icon",
|
|
2957
3178
|
"type": {
|
|
2958
|
-
"text": "
|
|
3179
|
+
"text": "string"
|
|
2959
3180
|
},
|
|
2960
|
-
"default": "'
|
|
2961
|
-
"fieldName": "
|
|
2962
|
-
"description": "
|
|
3181
|
+
"default": "''",
|
|
3182
|
+
"fieldName": "icon",
|
|
3183
|
+
"description": "Overrides the type-dependent fallback icon"
|
|
2963
3184
|
},
|
|
2964
3185
|
{
|
|
2965
|
-
"name": "
|
|
3186
|
+
"name": "accessible-label",
|
|
2966
3187
|
"type": {
|
|
2967
|
-
"text": "
|
|
3188
|
+
"text": "string"
|
|
2968
3189
|
},
|
|
2969
3190
|
"default": "''",
|
|
2970
|
-
"
|
|
2971
|
-
"
|
|
3191
|
+
"description": "Name of the link or button; without it `name` is used",
|
|
3192
|
+
"fieldName": "accessibleLabel"
|
|
2972
3193
|
},
|
|
2973
3194
|
{
|
|
2974
|
-
"name": "
|
|
3195
|
+
"name": "decorative",
|
|
2975
3196
|
"type": {
|
|
2976
3197
|
"text": "boolean"
|
|
2977
3198
|
},
|
|
2978
3199
|
"default": "false",
|
|
2979
|
-
"fieldName": "
|
|
2980
|
-
"description": "
|
|
3200
|
+
"fieldName": "decorative",
|
|
3201
|
+
"description": "Hides the avatar from assistive software (use when the name already stands beside it as text)"
|
|
2981
3202
|
},
|
|
2982
3203
|
{
|
|
2983
|
-
"name": "
|
|
3204
|
+
"name": "tooltip-timing",
|
|
2984
3205
|
"type": {
|
|
2985
|
-
"text": "
|
|
3206
|
+
"text": "'default' | 'instant' | 'never'"
|
|
2986
3207
|
},
|
|
2987
|
-
"default": "
|
|
2988
|
-
"
|
|
2989
|
-
"
|
|
3208
|
+
"default": "'default'",
|
|
3209
|
+
"description": "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",
|
|
3210
|
+
"fieldName": "tooltipTiming"
|
|
2990
3211
|
},
|
|
2991
3212
|
{
|
|
2992
3213
|
"name": "href",
|
|
@@ -2994,7 +3215,7 @@
|
|
|
2994
3215
|
"text": "string"
|
|
2995
3216
|
},
|
|
2996
3217
|
"default": "''",
|
|
2997
|
-
"description": "
|
|
3218
|
+
"description": "Makes the avatar a link to this URL; the shape itself becomes the link, so the hit area and the focus ring follow it",
|
|
2998
3219
|
"fieldName": "href"
|
|
2999
3220
|
},
|
|
3000
3221
|
{
|
|
@@ -3003,7 +3224,7 @@
|
|
|
3003
3224
|
"text": "boolean"
|
|
3004
3225
|
},
|
|
3005
3226
|
"default": "false",
|
|
3006
|
-
"description": "
|
|
3227
|
+
"description": "Makes the avatar a button; ignored when `href` is set",
|
|
3007
3228
|
"fieldName": "button"
|
|
3008
3229
|
},
|
|
3009
3230
|
{
|
|
@@ -3013,7 +3234,7 @@
|
|
|
3013
3234
|
},
|
|
3014
3235
|
"default": "''",
|
|
3015
3236
|
"fieldName": "target",
|
|
3016
|
-
"description": "Link target
|
|
3237
|
+
"description": "Link target for href (e.g. '_blank'); completes rel and announces \"Opens in a new tab\""
|
|
3017
3238
|
},
|
|
3018
3239
|
{
|
|
3019
3240
|
"name": "rel",
|
|
@@ -3022,16 +3243,7 @@
|
|
|
3022
3243
|
},
|
|
3023
3244
|
"default": "''",
|
|
3024
3245
|
"fieldName": "rel",
|
|
3025
|
-
"description": "Link rel
|
|
3026
|
-
},
|
|
3027
|
-
{
|
|
3028
|
-
"name": "accessible-label",
|
|
3029
|
-
"type": {
|
|
3030
|
-
"text": "string"
|
|
3031
|
-
},
|
|
3032
|
-
"default": "''",
|
|
3033
|
-
"description": "Naam van de link of knop; zonder deze wordt `name` gebruikt",
|
|
3034
|
-
"fieldName": "accessibleLabel"
|
|
3246
|
+
"description": "Link rel for href; defaults to 'noopener noreferrer' when target='_blank'"
|
|
3035
3247
|
},
|
|
3036
3248
|
{
|
|
3037
3249
|
"name": "translations",
|
|
@@ -3044,7 +3256,7 @@
|
|
|
3044
3256
|
"name": "withTranslations",
|
|
3045
3257
|
"module": "src/utilities/with-translations.ts"
|
|
3046
3258
|
},
|
|
3047
|
-
"description": "
|
|
3259
|
+
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
3048
3260
|
}
|
|
3049
3261
|
],
|
|
3050
3262
|
"mixins": [
|
|
@@ -3107,7 +3319,7 @@
|
|
|
3107
3319
|
},
|
|
3108
3320
|
"default": "undefined",
|
|
3109
3321
|
"fieldName": "cite",
|
|
3110
|
-
"description": "URL
|
|
3322
|
+
"description": "URL of the source (forwarded to the <blockquote> element)"
|
|
3111
3323
|
}
|
|
3112
3324
|
],
|
|
3113
3325
|
"superclass": {
|
|
@@ -3123,7 +3335,7 @@
|
|
|
3123
3335
|
},
|
|
3124
3336
|
{
|
|
3125
3337
|
"name": "attribution",
|
|
3126
|
-
"description": "Optionele bronvermelding (auteur, titel, etc.). Ook een nldd-
|
|
3338
|
+
"description": "Optionele bronvermelding (auteur, titel, etc.). Ook een An nldd-identity is allowed here; the em dash (\"— \") is then left out."
|
|
3127
3339
|
}
|
|
3128
3340
|
]
|
|
3129
3341
|
}
|
|
@@ -3147,151 +3359,6 @@
|
|
|
3147
3359
|
}
|
|
3148
3360
|
]
|
|
3149
3361
|
},
|
|
3150
|
-
{
|
|
3151
|
-
"kind": "javascript-module",
|
|
3152
|
-
"path": "src/components/content/byline/byline.ts",
|
|
3153
|
-
"declarations": [
|
|
3154
|
-
{
|
|
3155
|
-
"kind": "class",
|
|
3156
|
-
"description": "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`.",
|
|
3157
|
-
"name": "NLDDByline",
|
|
3158
|
-
"members": [
|
|
3159
|
-
{
|
|
3160
|
-
"kind": "field",
|
|
3161
|
-
"name": "text",
|
|
3162
|
-
"type": {
|
|
3163
|
-
"text": "string"
|
|
3164
|
-
},
|
|
3165
|
-
"default": "''",
|
|
3166
|
-
"attribute": "text",
|
|
3167
|
-
"reflects": true
|
|
3168
|
-
},
|
|
3169
|
-
{
|
|
3170
|
-
"kind": "field",
|
|
3171
|
-
"name": "supportingText",
|
|
3172
|
-
"type": {
|
|
3173
|
-
"text": "string"
|
|
3174
|
-
},
|
|
3175
|
-
"default": "''",
|
|
3176
|
-
"attribute": "supporting-text",
|
|
3177
|
-
"reflects": true
|
|
3178
|
-
},
|
|
3179
|
-
{
|
|
3180
|
-
"kind": "field",
|
|
3181
|
-
"name": "avatarSrc",
|
|
3182
|
-
"type": {
|
|
3183
|
-
"text": "string"
|
|
3184
|
-
},
|
|
3185
|
-
"default": "''",
|
|
3186
|
-
"attribute": "avatar-src"
|
|
3187
|
-
},
|
|
3188
|
-
{
|
|
3189
|
-
"kind": "field",
|
|
3190
|
-
"name": "avatarSrcset",
|
|
3191
|
-
"type": {
|
|
3192
|
-
"text": "string"
|
|
3193
|
-
},
|
|
3194
|
-
"default": "''",
|
|
3195
|
-
"attribute": "avatar-srcset"
|
|
3196
|
-
},
|
|
3197
|
-
{
|
|
3198
|
-
"kind": "field",
|
|
3199
|
-
"name": "avatarAlt",
|
|
3200
|
-
"type": {
|
|
3201
|
-
"text": "string"
|
|
3202
|
-
},
|
|
3203
|
-
"default": "''",
|
|
3204
|
-
"attribute": "avatar-alt"
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"attributes": [
|
|
3208
|
-
{
|
|
3209
|
-
"name": "text",
|
|
3210
|
-
"type": {
|
|
3211
|
-
"text": "string"
|
|
3212
|
-
},
|
|
3213
|
-
"default": "''",
|
|
3214
|
-
"fieldName": "text",
|
|
3215
|
-
"description": "Naamregel (bijv. \"Jan Jansen en Piet Pietersen\"); fallback wanneer de text-slot leeg is"
|
|
3216
|
-
},
|
|
3217
|
-
{
|
|
3218
|
-
"name": "supporting-text",
|
|
3219
|
-
"type": {
|
|
3220
|
-
"text": "string"
|
|
3221
|
-
},
|
|
3222
|
-
"default": "''",
|
|
3223
|
-
"fieldName": "supportingText",
|
|
3224
|
-
"description": "Ondersteunende tekst onder de naamregel (bijv. rol of datum); fallback wanneer de supporting-text-slot leeg is"
|
|
3225
|
-
},
|
|
3226
|
-
{
|
|
3227
|
-
"name": "avatar-src",
|
|
3228
|
-
"type": {
|
|
3229
|
-
"text": "string"
|
|
3230
|
-
},
|
|
3231
|
-
"default": "''",
|
|
3232
|
-
"fieldName": "avatarSrc",
|
|
3233
|
-
"description": "Bron van één avatar (alternatief voor de avatars-slot); genegeerd zodra de avatars-slot gevuld is"
|
|
3234
|
-
},
|
|
3235
|
-
{
|
|
3236
|
-
"name": "avatar-srcset",
|
|
3237
|
-
"type": {
|
|
3238
|
-
"text": "string"
|
|
3239
|
-
},
|
|
3240
|
-
"default": "''",
|
|
3241
|
-
"fieldName": "avatarSrcset",
|
|
3242
|
-
"description": "Responsive source set voor de avatar-src-afbeelding"
|
|
3243
|
-
},
|
|
3244
|
-
{
|
|
3245
|
-
"name": "avatar-alt",
|
|
3246
|
-
"type": {
|
|
3247
|
-
"text": "string"
|
|
3248
|
-
},
|
|
3249
|
-
"default": "''",
|
|
3250
|
-
"fieldName": "avatarAlt",
|
|
3251
|
-
"description": "Alt-tekst voor de avatar-src-afbeelding; leeg = decoratief"
|
|
3252
|
-
}
|
|
3253
|
-
],
|
|
3254
|
-
"superclass": {
|
|
3255
|
-
"name": "LitElement",
|
|
3256
|
-
"package": "lit"
|
|
3257
|
-
},
|
|
3258
|
-
"tagName": "nldd-byline",
|
|
3259
|
-
"customElement": true,
|
|
3260
|
-
"slots": [
|
|
3261
|
-
{
|
|
3262
|
-
"name": "avatars",
|
|
3263
|
-
"description": "Eén of meer img-elementen; gestyled als ronde, overlappende avatars"
|
|
3264
|
-
},
|
|
3265
|
-
{
|
|
3266
|
-
"name": "text",
|
|
3267
|
-
"description": "Naamregel als rijke inhoud (bijv. een link naar het auteursprofiel)"
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
"name": "supporting-text",
|
|
3271
|
-
"description": "Ondersteunende tekst als rijke inhoud (bijv. een time-element)"
|
|
3272
|
-
}
|
|
3273
|
-
]
|
|
3274
|
-
}
|
|
3275
|
-
],
|
|
3276
|
-
"exports": [
|
|
3277
|
-
{
|
|
3278
|
-
"kind": "js",
|
|
3279
|
-
"name": "NLDDByline",
|
|
3280
|
-
"declaration": {
|
|
3281
|
-
"name": "NLDDByline",
|
|
3282
|
-
"module": "src/components/content/byline/byline.ts"
|
|
3283
|
-
}
|
|
3284
|
-
},
|
|
3285
|
-
{
|
|
3286
|
-
"kind": "custom-element-definition",
|
|
3287
|
-
"name": "nldd-byline",
|
|
3288
|
-
"declaration": {
|
|
3289
|
-
"name": "NLDDByline",
|
|
3290
|
-
"module": "src/components/content/byline/byline.ts"
|
|
3291
|
-
}
|
|
3292
|
-
}
|
|
3293
|
-
]
|
|
3294
|
-
},
|
|
3295
3362
|
{
|
|
3296
3363
|
"kind": "javascript-module",
|
|
3297
3364
|
"path": "src/components/content/code-viewer/code-viewer.ts",
|
|
@@ -3305,24 +3372,13 @@
|
|
|
3305
3372
|
"kind": "field",
|
|
3306
3373
|
"name": "variant",
|
|
3307
3374
|
"type": {
|
|
3308
|
-
"text": "
|
|
3375
|
+
"text": "CodeViewerVariant"
|
|
3309
3376
|
},
|
|
3310
|
-
"default": "'box'",
|
|
3311
|
-
"description": "Visual style. `box`
|
|
3377
|
+
"default": "'box-tinted'",
|
|
3378
|
+
"description": "Visual style. The `box` values are a framed card and name the surface they\nfill with; `simple` drops the frame.",
|
|
3312
3379
|
"attribute": "variant",
|
|
3313
3380
|
"reflects": true
|
|
3314
3381
|
},
|
|
3315
|
-
{
|
|
3316
|
-
"kind": "field",
|
|
3317
|
-
"name": "background",
|
|
3318
|
-
"type": {
|
|
3319
|
-
"text": "'tinted' | 'base'"
|
|
3320
|
-
},
|
|
3321
|
-
"default": "'tinted'",
|
|
3322
|
-
"description": "Surface fill when `variant=\"box\"`.",
|
|
3323
|
-
"attribute": "background",
|
|
3324
|
-
"reflects": true
|
|
3325
|
-
},
|
|
3326
3382
|
{
|
|
3327
3383
|
"kind": "field",
|
|
3328
3384
|
"name": "language",
|
|
@@ -3396,21 +3452,12 @@
|
|
|
3396
3452
|
{
|
|
3397
3453
|
"name": "variant",
|
|
3398
3454
|
"type": {
|
|
3399
|
-
"text": "
|
|
3455
|
+
"text": "CodeViewerVariant"
|
|
3400
3456
|
},
|
|
3401
|
-
"default": "'box'",
|
|
3402
|
-
"description": "Visual style. `box`
|
|
3457
|
+
"default": "'box-tinted'",
|
|
3458
|
+
"description": "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.",
|
|
3403
3459
|
"fieldName": "variant"
|
|
3404
3460
|
},
|
|
3405
|
-
{
|
|
3406
|
-
"name": "background",
|
|
3407
|
-
"type": {
|
|
3408
|
-
"text": "'tinted' | 'base'"
|
|
3409
|
-
},
|
|
3410
|
-
"default": "'tinted'",
|
|
3411
|
-
"description": "Surface fill when `variant=\"box\"`.",
|
|
3412
|
-
"fieldName": "background"
|
|
3413
|
-
},
|
|
3414
3461
|
{
|
|
3415
3462
|
"name": "language",
|
|
3416
3463
|
"type": {
|
|
@@ -3609,64 +3656,209 @@
|
|
|
3609
3656
|
},
|
|
3610
3657
|
{
|
|
3611
3658
|
"kind": "javascript-module",
|
|
3612
|
-
"path": "src/components/content/
|
|
3659
|
+
"path": "src/components/content/identity/identity.ts",
|
|
3613
3660
|
"declarations": [
|
|
3614
3661
|
{
|
|
3615
3662
|
"kind": "class",
|
|
3616
|
-
"description": "
|
|
3617
|
-
"name": "
|
|
3663
|
+
"description": "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`.",
|
|
3664
|
+
"name": "NLDDIdentity",
|
|
3618
3665
|
"members": [
|
|
3619
3666
|
{
|
|
3620
3667
|
"kind": "field",
|
|
3621
|
-
"name": "
|
|
3668
|
+
"name": "text",
|
|
3622
3669
|
"type": {
|
|
3623
3670
|
"text": "string"
|
|
3624
3671
|
},
|
|
3625
3672
|
"default": "''",
|
|
3626
|
-
"attribute": "
|
|
3673
|
+
"attribute": "text",
|
|
3627
3674
|
"reflects": true
|
|
3628
3675
|
},
|
|
3629
3676
|
{
|
|
3630
3677
|
"kind": "field",
|
|
3631
|
-
"name": "
|
|
3678
|
+
"name": "supportingText",
|
|
3632
3679
|
"type": {
|
|
3633
3680
|
"text": "string"
|
|
3634
3681
|
},
|
|
3635
3682
|
"default": "''",
|
|
3636
|
-
"attribute": "
|
|
3683
|
+
"attribute": "supporting-text",
|
|
3684
|
+
"reflects": true
|
|
3637
3685
|
},
|
|
3638
3686
|
{
|
|
3639
3687
|
"kind": "field",
|
|
3640
|
-
"name": "
|
|
3688
|
+
"name": "avatarSrc",
|
|
3641
3689
|
"type": {
|
|
3642
3690
|
"text": "string"
|
|
3643
3691
|
},
|
|
3644
3692
|
"default": "''",
|
|
3645
|
-
"attribute": "
|
|
3693
|
+
"attribute": "avatar-src"
|
|
3646
3694
|
},
|
|
3647
3695
|
{
|
|
3648
3696
|
"kind": "field",
|
|
3649
|
-
"name": "
|
|
3697
|
+
"name": "avatarSrcset",
|
|
3650
3698
|
"type": {
|
|
3651
3699
|
"text": "string"
|
|
3652
3700
|
},
|
|
3653
3701
|
"default": "''",
|
|
3654
|
-
"attribute": "
|
|
3702
|
+
"attribute": "avatar-srcset"
|
|
3655
3703
|
},
|
|
3656
3704
|
{
|
|
3657
3705
|
"kind": "field",
|
|
3658
|
-
"name": "
|
|
3706
|
+
"name": "avatarAlt",
|
|
3659
3707
|
"type": {
|
|
3660
3708
|
"text": "string"
|
|
3661
3709
|
},
|
|
3662
|
-
"default": "'
|
|
3663
|
-
"
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3710
|
+
"default": "''",
|
|
3711
|
+
"attribute": "avatar-alt"
|
|
3712
|
+
}
|
|
3713
|
+
],
|
|
3714
|
+
"attributes": [
|
|
3667
3715
|
{
|
|
3668
|
-
"
|
|
3669
|
-
"
|
|
3716
|
+
"name": "text",
|
|
3717
|
+
"type": {
|
|
3718
|
+
"text": "string"
|
|
3719
|
+
},
|
|
3720
|
+
"default": "''",
|
|
3721
|
+
"fieldName": "text",
|
|
3722
|
+
"description": "Name line (e.g. \"Jan Jansen and Piet Pietersen\"); the fallback when the text slot is empty"
|
|
3723
|
+
},
|
|
3724
|
+
{
|
|
3725
|
+
"name": "supporting-text",
|
|
3726
|
+
"type": {
|
|
3727
|
+
"text": "string"
|
|
3728
|
+
},
|
|
3729
|
+
"default": "''",
|
|
3730
|
+
"fieldName": "supportingText",
|
|
3731
|
+
"description": "Supporting text under the name line (a role or a date, for instance); the fallback when the supporting-text slot is empty"
|
|
3732
|
+
},
|
|
3733
|
+
{
|
|
3734
|
+
"name": "avatar-src",
|
|
3735
|
+
"type": {
|
|
3736
|
+
"text": "string"
|
|
3737
|
+
},
|
|
3738
|
+
"default": "''",
|
|
3739
|
+
"fieldName": "avatarSrc",
|
|
3740
|
+
"description": "Source of a single avatar (an alternative to the avatars slot); ignored as soon as the avatars slot is filled"
|
|
3741
|
+
},
|
|
3742
|
+
{
|
|
3743
|
+
"name": "avatar-srcset",
|
|
3744
|
+
"type": {
|
|
3745
|
+
"text": "string"
|
|
3746
|
+
},
|
|
3747
|
+
"default": "''",
|
|
3748
|
+
"fieldName": "avatarSrcset",
|
|
3749
|
+
"description": "Responsive source set for the avatar-src image"
|
|
3750
|
+
},
|
|
3751
|
+
{
|
|
3752
|
+
"name": "avatar-alt",
|
|
3753
|
+
"type": {
|
|
3754
|
+
"text": "string"
|
|
3755
|
+
},
|
|
3756
|
+
"default": "''",
|
|
3757
|
+
"fieldName": "avatarAlt",
|
|
3758
|
+
"description": "Alt text for the avatar-src image; empty means decorative"
|
|
3759
|
+
}
|
|
3760
|
+
],
|
|
3761
|
+
"superclass": {
|
|
3762
|
+
"name": "LitElement",
|
|
3763
|
+
"package": "lit"
|
|
3764
|
+
},
|
|
3765
|
+
"tagName": "nldd-identity",
|
|
3766
|
+
"customElement": true,
|
|
3767
|
+
"slots": [
|
|
3768
|
+
{
|
|
3769
|
+
"name": "avatars",
|
|
3770
|
+
"description": "One avatar (`nldd-avatar` or `img`), or an `nldd-avatar-group` for more"
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
"name": "text",
|
|
3774
|
+
"description": "Name line as rich content (a link to the author's profile, for instance)"
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"name": "supporting-text",
|
|
3778
|
+
"description": "Supporting text as rich content (a time element, for instance)"
|
|
3779
|
+
}
|
|
3780
|
+
]
|
|
3781
|
+
}
|
|
3782
|
+
],
|
|
3783
|
+
"exports": [
|
|
3784
|
+
{
|
|
3785
|
+
"kind": "js",
|
|
3786
|
+
"name": "NLDDIdentity",
|
|
3787
|
+
"declaration": {
|
|
3788
|
+
"name": "NLDDIdentity",
|
|
3789
|
+
"module": "src/components/content/identity/identity.ts"
|
|
3790
|
+
}
|
|
3791
|
+
},
|
|
3792
|
+
{
|
|
3793
|
+
"kind": "custom-element-definition",
|
|
3794
|
+
"name": "nldd-identity",
|
|
3795
|
+
"declaration": {
|
|
3796
|
+
"name": "NLDDIdentity",
|
|
3797
|
+
"module": "src/components/content/identity/identity.ts"
|
|
3798
|
+
}
|
|
3799
|
+
}
|
|
3800
|
+
]
|
|
3801
|
+
},
|
|
3802
|
+
{
|
|
3803
|
+
"kind": "javascript-module",
|
|
3804
|
+
"path": "src/components/content/image/image.ts",
|
|
3805
|
+
"declarations": [
|
|
3806
|
+
{
|
|
3807
|
+
"kind": "class",
|
|
3808
|
+
"description": "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.",
|
|
3809
|
+
"name": "NLDDImage",
|
|
3810
|
+
"members": [
|
|
3811
|
+
{
|
|
3812
|
+
"kind": "field",
|
|
3813
|
+
"name": "src",
|
|
3814
|
+
"type": {
|
|
3815
|
+
"text": "string"
|
|
3816
|
+
},
|
|
3817
|
+
"default": "''",
|
|
3818
|
+
"attribute": "src",
|
|
3819
|
+
"reflects": true
|
|
3820
|
+
},
|
|
3821
|
+
{
|
|
3822
|
+
"kind": "field",
|
|
3823
|
+
"name": "alt",
|
|
3824
|
+
"type": {
|
|
3825
|
+
"text": "string"
|
|
3826
|
+
},
|
|
3827
|
+
"default": "''",
|
|
3828
|
+
"attribute": "alt"
|
|
3829
|
+
},
|
|
3830
|
+
{
|
|
3831
|
+
"kind": "field",
|
|
3832
|
+
"name": "srcset",
|
|
3833
|
+
"type": {
|
|
3834
|
+
"text": "string"
|
|
3835
|
+
},
|
|
3836
|
+
"default": "''",
|
|
3837
|
+
"attribute": "srcset"
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
"kind": "field",
|
|
3841
|
+
"name": "sizes",
|
|
3842
|
+
"type": {
|
|
3843
|
+
"text": "string"
|
|
3844
|
+
},
|
|
3845
|
+
"default": "''",
|
|
3846
|
+
"attribute": "sizes"
|
|
3847
|
+
},
|
|
3848
|
+
{
|
|
3849
|
+
"kind": "field",
|
|
3850
|
+
"name": "width",
|
|
3851
|
+
"type": {
|
|
3852
|
+
"text": "string"
|
|
3853
|
+
},
|
|
3854
|
+
"default": "'full'",
|
|
3855
|
+
"description": "`'full'` (fills the parent) or a numeric pixel string like `'320'`.\nTyped as `string` because `type: String` means a `width=\"320\"`\nattribute arrives as the string `\"320\"`, not the number `320` — the\n`_numericWidth` getter owns all parsing. A consumer setting the\nproperty directly should pass a string (`el.width = '320'`).",
|
|
3856
|
+
"attribute": "width",
|
|
3857
|
+
"reflects": true
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"kind": "field",
|
|
3861
|
+
"name": "height",
|
|
3670
3862
|
"type": {
|
|
3671
3863
|
"text": "number | undefined"
|
|
3672
3864
|
},
|
|
@@ -4438,7 +4630,7 @@
|
|
|
4438
4630
|
"declarations": [
|
|
4439
4631
|
{
|
|
4440
4632
|
"kind": "class",
|
|
4441
|
-
"description": "
|
|
4633
|
+
"description": "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`.",
|
|
4442
4634
|
"name": "NLDDTag",
|
|
4443
4635
|
"members": [
|
|
4444
4636
|
{
|
|
@@ -4508,7 +4700,7 @@
|
|
|
4508
4700
|
},
|
|
4509
4701
|
"default": "'neutral'",
|
|
4510
4702
|
"fieldName": "color",
|
|
4511
|
-
"description": "
|
|
4703
|
+
"description": "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')"
|
|
4512
4704
|
},
|
|
4513
4705
|
{
|
|
4514
4706
|
"name": "size",
|
|
@@ -4517,7 +4709,7 @@
|
|
|
4517
4709
|
},
|
|
4518
4710
|
"default": "'md'",
|
|
4519
4711
|
"fieldName": "size",
|
|
4520
|
-
"description": "Tag
|
|
4712
|
+
"description": "Tag size: 'sm' | 'md' (default: 'md')"
|
|
4521
4713
|
},
|
|
4522
4714
|
{
|
|
4523
4715
|
"name": "text",
|
|
@@ -4526,7 +4718,7 @@
|
|
|
4526
4718
|
},
|
|
4527
4719
|
"default": "''",
|
|
4528
4720
|
"fieldName": "text",
|
|
4529
|
-
"description": "Tag
|
|
4721
|
+
"description": "Tag text (alternative to the default slot)"
|
|
4530
4722
|
},
|
|
4531
4723
|
{
|
|
4532
4724
|
"name": "icon",
|
|
@@ -4535,7 +4727,7 @@
|
|
|
4535
4727
|
},
|
|
4536
4728
|
"default": "''",
|
|
4537
4729
|
"fieldName": "icon",
|
|
4538
|
-
"description": "
|
|
4730
|
+
"description": "Icon before the text"
|
|
4539
4731
|
},
|
|
4540
4732
|
{
|
|
4541
4733
|
"name": "variant",
|
|
@@ -4544,7 +4736,7 @@
|
|
|
4544
4736
|
},
|
|
4545
4737
|
"default": "''",
|
|
4546
4738
|
"fieldName": "variant",
|
|
4547
|
-
"description": "
|
|
4739
|
+
"description": "What is visible: 'text' | 'icon' | 'icon-and-text'. Unset → detected from which of text/icon is present."
|
|
4548
4740
|
},
|
|
4549
4741
|
{
|
|
4550
4742
|
"name": "accessible-label",
|
|
@@ -4553,7 +4745,7 @@
|
|
|
4553
4745
|
},
|
|
4554
4746
|
"default": "''",
|
|
4555
4747
|
"fieldName": "accessibleLabel",
|
|
4556
|
-
"description": "
|
|
4748
|
+
"description": "Accessible label for screen readers. Use this on icon-only tags without visible text."
|
|
4557
4749
|
}
|
|
4558
4750
|
],
|
|
4559
4751
|
"superclass": {
|
|
@@ -4565,11 +4757,11 @@
|
|
|
4565
4757
|
"slots": [
|
|
4566
4758
|
{
|
|
4567
4759
|
"name": "",
|
|
4568
|
-
"description": "Tag
|
|
4760
|
+
"description": "Tag text"
|
|
4569
4761
|
},
|
|
4570
4762
|
{
|
|
4571
4763
|
"name": "icon",
|
|
4572
|
-
"description": "Custom
|
|
4764
|
+
"description": "Custom icon before the text"
|
|
4573
4765
|
}
|
|
4574
4766
|
]
|
|
4575
4767
|
}
|
|
@@ -4599,7 +4791,7 @@
|
|
|
4599
4791
|
"declarations": [
|
|
4600
4792
|
{
|
|
4601
4793
|
"kind": "class",
|
|
4602
|
-
"description": "A title bar with an optional overline, title, and subtitle on the left, and a slot
|
|
4794
|
+
"description": "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.",
|
|
4603
4795
|
"name": "NLDDTitle",
|
|
4604
4796
|
"members": [
|
|
4605
4797
|
{
|
|
@@ -4640,7 +4832,7 @@
|
|
|
4640
4832
|
},
|
|
4641
4833
|
"default": "''",
|
|
4642
4834
|
"fieldName": "color",
|
|
4643
|
-
"description": "'inherit'
|
|
4835
|
+
"description": "'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."
|
|
4644
4836
|
}
|
|
4645
4837
|
],
|
|
4646
4838
|
"superclass": {
|
|
@@ -4663,8 +4855,8 @@
|
|
|
4663
4855
|
"description": "Optional subtitle below the title"
|
|
4664
4856
|
},
|
|
4665
4857
|
{
|
|
4666
|
-
"name": "
|
|
4667
|
-
"description": "
|
|
4858
|
+
"name": "end",
|
|
4859
|
+
"description": "Whatever belongs at the end of the title line: a button, a menu, a status badge, a version. Named for the position, not for a kind of content, because anything can sit there."
|
|
4668
4860
|
}
|
|
4669
4861
|
]
|
|
4670
4862
|
}
|
|
@@ -4694,7 +4886,7 @@
|
|
|
4694
4886
|
"declarations": [
|
|
4695
4887
|
{
|
|
4696
4888
|
"kind": "class",
|
|
4697
|
-
"description": "A
|
|
4889
|
+
"description": "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).",
|
|
4698
4890
|
"name": "NLDDToken",
|
|
4699
4891
|
"members": [
|
|
4700
4892
|
{
|
|
@@ -4900,7 +5092,7 @@
|
|
|
4900
5092
|
"declarations": [
|
|
4901
5093
|
{
|
|
4902
5094
|
"kind": "class",
|
|
4903
|
-
"description": "
|
|
5095
|
+
"description": "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.",
|
|
4904
5096
|
"name": "NLDDTooltip",
|
|
4905
5097
|
"members": [
|
|
4906
5098
|
{
|
|
@@ -4953,7 +5145,7 @@
|
|
|
4953
5145
|
},
|
|
4954
5146
|
"default": "''",
|
|
4955
5147
|
"fieldName": "text",
|
|
4956
|
-
"description": "Tooltip
|
|
5148
|
+
"description": "Tooltip text"
|
|
4957
5149
|
},
|
|
4958
5150
|
{
|
|
4959
5151
|
"name": "open",
|
|
@@ -4961,7 +5153,7 @@
|
|
|
4961
5153
|
"text": "boolean"
|
|
4962
5154
|
},
|
|
4963
5155
|
"default": "false",
|
|
4964
|
-
"description": "
|
|
5156
|
+
"description": "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.",
|
|
4965
5157
|
"fieldName": "open"
|
|
4966
5158
|
},
|
|
4967
5159
|
{
|
|
@@ -4971,7 +5163,7 @@
|
|
|
4971
5163
|
},
|
|
4972
5164
|
"default": "'bottom'",
|
|
4973
5165
|
"fieldName": "placement",
|
|
4974
|
-
"description": "
|
|
5166
|
+
"description": "Position: 'top' | 'bottom' | 'left' | 'right' (default: 'bottom'; automatically 'top' on touch devices)"
|
|
4975
5167
|
},
|
|
4976
5168
|
{
|
|
4977
5169
|
"name": "timing",
|
|
@@ -4980,7 +5172,7 @@
|
|
|
4980
5172
|
},
|
|
4981
5173
|
"default": "'default'",
|
|
4982
5174
|
"fieldName": "timing",
|
|
4983
|
-
"description": "
|
|
5175
|
+
"description": "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."
|
|
4984
5176
|
}
|
|
4985
5177
|
],
|
|
4986
5178
|
"superclass": {
|
|
@@ -4992,13 +5184,13 @@
|
|
|
4992
5184
|
"events": [
|
|
4993
5185
|
{
|
|
4994
5186
|
"name": "nldd-tooltip-dismiss",
|
|
4995
|
-
"description": "
|
|
5187
|
+
"description": "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."
|
|
4996
5188
|
}
|
|
4997
5189
|
],
|
|
4998
5190
|
"slots": [
|
|
4999
5191
|
{
|
|
5000
5192
|
"name": "",
|
|
5001
|
-
"description": "
|
|
5193
|
+
"description": "The element the tooltip is shown for"
|
|
5002
5194
|
}
|
|
5003
5195
|
]
|
|
5004
5196
|
}
|
|
@@ -5519,10 +5711,18 @@
|
|
|
5519
5711
|
},
|
|
5520
5712
|
{
|
|
5521
5713
|
"kind": "js",
|
|
5522
|
-
"name": "
|
|
5714
|
+
"name": "NLDDAvatarGroup",
|
|
5715
|
+
"declaration": {
|
|
5716
|
+
"name": "NLDDAvatarGroup",
|
|
5717
|
+
"module": "./content/avatar-group/avatar-group.js"
|
|
5718
|
+
}
|
|
5719
|
+
},
|
|
5720
|
+
{
|
|
5721
|
+
"kind": "js",
|
|
5722
|
+
"name": "NLDDIdentity",
|
|
5523
5723
|
"declaration": {
|
|
5524
|
-
"name": "
|
|
5525
|
-
"module": "./content/
|
|
5724
|
+
"name": "NLDDIdentity",
|
|
5725
|
+
"module": "./content/identity/identity.js"
|
|
5526
5726
|
}
|
|
5527
5727
|
},
|
|
5528
5728
|
{
|
|
@@ -5685,6 +5885,14 @@
|
|
|
5685
5885
|
"module": "./inputs/dropdown/dropdown.js"
|
|
5686
5886
|
}
|
|
5687
5887
|
},
|
|
5888
|
+
{
|
|
5889
|
+
"kind": "js",
|
|
5890
|
+
"name": "NLDDFileField",
|
|
5891
|
+
"declaration": {
|
|
5892
|
+
"name": "NLDDFileField",
|
|
5893
|
+
"module": "./inputs/file-field/file-field.js"
|
|
5894
|
+
}
|
|
5895
|
+
},
|
|
5688
5896
|
{
|
|
5689
5897
|
"kind": "js",
|
|
5690
5898
|
"name": "NLDDMultiLineTextField",
|
|
@@ -6261,6 +6469,14 @@
|
|
|
6261
6469
|
"module": "./status-and-feedback/banner/banner.js"
|
|
6262
6470
|
}
|
|
6263
6471
|
},
|
|
6472
|
+
{
|
|
6473
|
+
"kind": "js",
|
|
6474
|
+
"name": "NLDDNotification",
|
|
6475
|
+
"declaration": {
|
|
6476
|
+
"name": "NLDDNotification",
|
|
6477
|
+
"module": "./status-and-feedback/notification/notification.js"
|
|
6478
|
+
}
|
|
6479
|
+
},
|
|
6264
6480
|
{
|
|
6265
6481
|
"kind": "js",
|
|
6266
6482
|
"name": "NLDDBadge",
|
|
@@ -6352,6 +6568,16 @@
|
|
|
6352
6568
|
"description": "A checkbox with an inline label for use in forms. Form-associated: participates in native form submission under `name` with `value` when checked (the inner nldd-checkbox sits in the shadow root and never joins the consumer's form; the field submits on its behalf).",
|
|
6353
6569
|
"name": "NLDDCheckboxField",
|
|
6354
6570
|
"members": [
|
|
6571
|
+
{
|
|
6572
|
+
"kind": "field",
|
|
6573
|
+
"name": "isFormInput",
|
|
6574
|
+
"type": {
|
|
6575
|
+
"text": "boolean"
|
|
6576
|
+
},
|
|
6577
|
+
"static": true,
|
|
6578
|
+
"default": "true",
|
|
6579
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
6580
|
+
},
|
|
6355
6581
|
{
|
|
6356
6582
|
"kind": "field",
|
|
6357
6583
|
"name": "checked",
|
|
@@ -6451,6 +6677,25 @@
|
|
|
6451
6677
|
}
|
|
6452
6678
|
]
|
|
6453
6679
|
},
|
|
6680
|
+
{
|
|
6681
|
+
"kind": "method",
|
|
6682
|
+
"name": "focus",
|
|
6683
|
+
"return": {
|
|
6684
|
+
"type": {
|
|
6685
|
+
"text": "void"
|
|
6686
|
+
}
|
|
6687
|
+
},
|
|
6688
|
+
"parameters": [
|
|
6689
|
+
{
|
|
6690
|
+
"name": "options",
|
|
6691
|
+
"optional": true,
|
|
6692
|
+
"type": {
|
|
6693
|
+
"text": "FocusOptions"
|
|
6694
|
+
}
|
|
6695
|
+
}
|
|
6696
|
+
],
|
|
6697
|
+
"description": "Delegates focus to the inner `<nldd-checkbox>`, which in turn focuses its\nnative input. Lets consumers call `checkboxFieldEl.focus()` without\nreaching into shadow DOM."
|
|
6698
|
+
},
|
|
6454
6699
|
{
|
|
6455
6700
|
"kind": "field",
|
|
6456
6701
|
"name": "formAssociated",
|
|
@@ -6627,6 +6872,16 @@
|
|
|
6627
6872
|
"description": "",
|
|
6628
6873
|
"name": "NLDDCheckbox",
|
|
6629
6874
|
"members": [
|
|
6875
|
+
{
|
|
6876
|
+
"kind": "field",
|
|
6877
|
+
"name": "isFormInput",
|
|
6878
|
+
"type": {
|
|
6879
|
+
"text": "boolean"
|
|
6880
|
+
},
|
|
6881
|
+
"static": true,
|
|
6882
|
+
"default": "true",
|
|
6883
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
6884
|
+
},
|
|
6630
6885
|
{
|
|
6631
6886
|
"kind": "field",
|
|
6632
6887
|
"name": "checked",
|
|
@@ -6637,6 +6892,16 @@
|
|
|
6637
6892
|
"attribute": "checked",
|
|
6638
6893
|
"reflects": true
|
|
6639
6894
|
},
|
|
6895
|
+
{
|
|
6896
|
+
"kind": "field",
|
|
6897
|
+
"name": "decorative",
|
|
6898
|
+
"type": {
|
|
6899
|
+
"text": "boolean"
|
|
6900
|
+
},
|
|
6901
|
+
"default": "false",
|
|
6902
|
+
"attribute": "decorative",
|
|
6903
|
+
"reflects": true
|
|
6904
|
+
},
|
|
6640
6905
|
{
|
|
6641
6906
|
"kind": "field",
|
|
6642
6907
|
"name": "disabled",
|
|
@@ -6735,6 +7000,25 @@
|
|
|
6735
7000
|
}
|
|
6736
7001
|
}
|
|
6737
7002
|
},
|
|
7003
|
+
{
|
|
7004
|
+
"kind": "method",
|
|
7005
|
+
"name": "focus",
|
|
7006
|
+
"return": {
|
|
7007
|
+
"type": {
|
|
7008
|
+
"text": "void"
|
|
7009
|
+
}
|
|
7010
|
+
},
|
|
7011
|
+
"parameters": [
|
|
7012
|
+
{
|
|
7013
|
+
"name": "options",
|
|
7014
|
+
"optional": true,
|
|
7015
|
+
"type": {
|
|
7016
|
+
"text": "FocusOptions"
|
|
7017
|
+
}
|
|
7018
|
+
}
|
|
7019
|
+
],
|
|
7020
|
+
"description": "Delegates focus to the inner native checkbox `<input>`, so consumers can\ncall `checkboxEl.focus()` without reaching into shadow DOM."
|
|
7021
|
+
},
|
|
6738
7022
|
{
|
|
6739
7023
|
"kind": "field",
|
|
6740
7024
|
"name": "formAssociated",
|
|
@@ -6823,6 +7107,15 @@
|
|
|
6823
7107
|
"fieldName": "checked",
|
|
6824
7108
|
"description": "Checked state"
|
|
6825
7109
|
},
|
|
7110
|
+
{
|
|
7111
|
+
"name": "decorative",
|
|
7112
|
+
"type": {
|
|
7113
|
+
"text": "boolean"
|
|
7114
|
+
},
|
|
7115
|
+
"default": "false",
|
|
7116
|
+
"fieldName": "decorative",
|
|
7117
|
+
"description": "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."
|
|
7118
|
+
},
|
|
6826
7119
|
{
|
|
6827
7120
|
"name": "disabled",
|
|
6828
7121
|
"type": {
|
|
@@ -6920,6 +7213,16 @@
|
|
|
6920
7213
|
"static": true,
|
|
6921
7214
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
6922
7215
|
},
|
|
7216
|
+
{
|
|
7217
|
+
"kind": "field",
|
|
7218
|
+
"name": "isFormInput",
|
|
7219
|
+
"type": {
|
|
7220
|
+
"text": "boolean"
|
|
7221
|
+
},
|
|
7222
|
+
"static": true,
|
|
7223
|
+
"default": "true",
|
|
7224
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
7225
|
+
},
|
|
6923
7226
|
{
|
|
6924
7227
|
"kind": "field",
|
|
6925
7228
|
"name": "value",
|
|
@@ -7348,6 +7651,26 @@
|
|
|
7348
7651
|
"description": "A text input with autocomplete dropdown via nldd-menu. Add a slotted nldd-menu with nldd-menu-item children to provide options. The slotted nldd-menu keeps its default focus behavior (menu container receives focus) so that typing keeps focus on the input. The picker button moves focus to the menu explicitly on activation. Note: Only nldd-menu-item type=\"button\" is supported. Radio and checkbox types are not supported in this context.",
|
|
7349
7652
|
"name": "NLDDComboBox",
|
|
7350
7653
|
"members": [
|
|
7654
|
+
{
|
|
7655
|
+
"kind": "field",
|
|
7656
|
+
"name": "isFormInput",
|
|
7657
|
+
"type": {
|
|
7658
|
+
"text": "boolean"
|
|
7659
|
+
},
|
|
7660
|
+
"static": true,
|
|
7661
|
+
"default": "true",
|
|
7662
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
7663
|
+
},
|
|
7664
|
+
{
|
|
7665
|
+
"kind": "field",
|
|
7666
|
+
"name": "blocksImplicitSubmission",
|
|
7667
|
+
"type": {
|
|
7668
|
+
"text": "boolean"
|
|
7669
|
+
},
|
|
7670
|
+
"static": true,
|
|
7671
|
+
"default": "true",
|
|
7672
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
7673
|
+
},
|
|
7351
7674
|
{
|
|
7352
7675
|
"kind": "field",
|
|
7353
7676
|
"name": "value",
|
|
@@ -7834,21 +8157,41 @@
|
|
|
7834
8157
|
},
|
|
7835
8158
|
{
|
|
7836
8159
|
"kind": "field",
|
|
7837
|
-
"name": "
|
|
8160
|
+
"name": "isFormInput",
|
|
7838
8161
|
"type": {
|
|
7839
|
-
"text": "
|
|
8162
|
+
"text": "boolean"
|
|
7840
8163
|
},
|
|
7841
|
-
"
|
|
7842
|
-
"
|
|
7843
|
-
"
|
|
8164
|
+
"static": true,
|
|
8165
|
+
"default": "true",
|
|
8166
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
7844
8167
|
},
|
|
7845
8168
|
{
|
|
7846
8169
|
"kind": "field",
|
|
7847
|
-
"name": "
|
|
8170
|
+
"name": "blocksImplicitSubmission",
|
|
7848
8171
|
"type": {
|
|
7849
|
-
"text": "
|
|
8172
|
+
"text": "boolean"
|
|
7850
8173
|
},
|
|
7851
|
-
"
|
|
8174
|
+
"static": true,
|
|
8175
|
+
"default": "true",
|
|
8176
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
8177
|
+
},
|
|
8178
|
+
{
|
|
8179
|
+
"kind": "field",
|
|
8180
|
+
"name": "size",
|
|
8181
|
+
"type": {
|
|
8182
|
+
"text": "'md' | 'sm'"
|
|
8183
|
+
},
|
|
8184
|
+
"default": "'md'",
|
|
8185
|
+
"attribute": "size",
|
|
8186
|
+
"reflects": true
|
|
8187
|
+
},
|
|
8188
|
+
{
|
|
8189
|
+
"kind": "field",
|
|
8190
|
+
"name": "value",
|
|
8191
|
+
"type": {
|
|
8192
|
+
"text": "string"
|
|
8193
|
+
},
|
|
8194
|
+
"default": "''",
|
|
7852
8195
|
"attribute": "value"
|
|
7853
8196
|
},
|
|
7854
8197
|
{
|
|
@@ -8360,6 +8703,16 @@
|
|
|
8360
8703
|
"description": "Een kalender waarin een datum of een periode wordt gekozen. Het component is zelfstandig bruikbaar - inline op een pagina, in een filterpaneel - en zit ook in de popover van nldd-date-field. Waarden zijn altijd ISO (jjjj-mm-dd). Met `range` kiest de gebruiker in twee stappen een begin- en einddatum.",
|
|
8361
8704
|
"name": "NLDDDatePicker",
|
|
8362
8705
|
"members": [
|
|
8706
|
+
{
|
|
8707
|
+
"kind": "field",
|
|
8708
|
+
"name": "isFormInput",
|
|
8709
|
+
"type": {
|
|
8710
|
+
"text": "boolean"
|
|
8711
|
+
},
|
|
8712
|
+
"static": true,
|
|
8713
|
+
"default": "true",
|
|
8714
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
8715
|
+
},
|
|
8363
8716
|
{
|
|
8364
8717
|
"kind": "field",
|
|
8365
8718
|
"name": "value",
|
|
@@ -8583,146 +8936,598 @@
|
|
|
8583
8936
|
"type": {
|
|
8584
8937
|
"text": "boolean"
|
|
8585
8938
|
},
|
|
8586
|
-
"default": "false",
|
|
8587
|
-
"fieldName": "weekNumbers",
|
|
8588
|
-
"description": "Toont ISO-weeknummers in een kolom links."
|
|
8939
|
+
"default": "false",
|
|
8940
|
+
"fieldName": "weekNumbers",
|
|
8941
|
+
"description": "Toont ISO-weeknummers in een kolom links."
|
|
8942
|
+
},
|
|
8943
|
+
{
|
|
8944
|
+
"name": "accessible-label",
|
|
8945
|
+
"type": {
|
|
8946
|
+
"text": "string"
|
|
8947
|
+
},
|
|
8948
|
+
"default": "''",
|
|
8949
|
+
"fieldName": "accessibleLabel",
|
|
8950
|
+
"description": "Toegankelijke naam van de kalender."
|
|
8951
|
+
},
|
|
8952
|
+
{
|
|
8953
|
+
"name": "translations",
|
|
8954
|
+
"type": {
|
|
8955
|
+
"text": "Partial<T>"
|
|
8956
|
+
},
|
|
8957
|
+
"default": "{}",
|
|
8958
|
+
"fieldName": "translations",
|
|
8959
|
+
"inheritedFrom": {
|
|
8960
|
+
"name": "withTranslations",
|
|
8961
|
+
"module": "src/utilities/with-translations.ts"
|
|
8962
|
+
},
|
|
8963
|
+
"description": "Vertalingen; niet opgegeven sleutels vallen terug op het Nederlands."
|
|
8964
|
+
}
|
|
8965
|
+
],
|
|
8966
|
+
"mixins": [
|
|
8967
|
+
{
|
|
8968
|
+
"name": "withTranslations",
|
|
8969
|
+
"module": "/src/utilities/with-translations.js"
|
|
8970
|
+
}
|
|
8971
|
+
],
|
|
8972
|
+
"superclass": {
|
|
8973
|
+
"name": "LitElement",
|
|
8974
|
+
"package": "lit"
|
|
8975
|
+
},
|
|
8976
|
+
"tagName": "nldd-date-picker",
|
|
8977
|
+
"customElement": true
|
|
8978
|
+
}
|
|
8979
|
+
],
|
|
8980
|
+
"exports": [
|
|
8981
|
+
{
|
|
8982
|
+
"kind": "js",
|
|
8983
|
+
"name": "NLDDDatePicker",
|
|
8984
|
+
"declaration": {
|
|
8985
|
+
"name": "NLDDDatePicker",
|
|
8986
|
+
"module": "src/components/inputs/date-picker/date-picker.ts"
|
|
8987
|
+
}
|
|
8988
|
+
},
|
|
8989
|
+
{
|
|
8990
|
+
"kind": "custom-element-definition",
|
|
8991
|
+
"name": "nldd-date-picker",
|
|
8992
|
+
"declaration": {
|
|
8993
|
+
"name": "NLDDDatePicker",
|
|
8994
|
+
"module": "src/components/inputs/date-picker/date-picker.ts"
|
|
8995
|
+
}
|
|
8996
|
+
}
|
|
8997
|
+
]
|
|
8998
|
+
},
|
|
8999
|
+
{
|
|
9000
|
+
"kind": "javascript-module",
|
|
9001
|
+
"path": "src/components/inputs/dropdown/dropdown.ts",
|
|
9002
|
+
"declarations": [
|
|
9003
|
+
{
|
|
9004
|
+
"kind": "class",
|
|
9005
|
+
"description": "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.",
|
|
9006
|
+
"name": "NLDDDropdown",
|
|
9007
|
+
"members": [
|
|
9008
|
+
{
|
|
9009
|
+
"kind": "field",
|
|
9010
|
+
"name": "isFormInput",
|
|
9011
|
+
"type": {
|
|
9012
|
+
"text": "boolean"
|
|
9013
|
+
},
|
|
9014
|
+
"static": true,
|
|
9015
|
+
"default": "true",
|
|
9016
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
9017
|
+
},
|
|
9018
|
+
{
|
|
9019
|
+
"kind": "field",
|
|
9020
|
+
"name": "size",
|
|
9021
|
+
"type": {
|
|
9022
|
+
"text": "DropdownSize"
|
|
9023
|
+
},
|
|
9024
|
+
"default": "'md'",
|
|
9025
|
+
"attribute": "size",
|
|
9026
|
+
"reflects": true
|
|
9027
|
+
},
|
|
9028
|
+
{
|
|
9029
|
+
"kind": "field",
|
|
9030
|
+
"name": "valid",
|
|
9031
|
+
"type": {
|
|
9032
|
+
"text": "boolean"
|
|
9033
|
+
},
|
|
9034
|
+
"default": "false",
|
|
9035
|
+
"attribute": "valid",
|
|
9036
|
+
"reflects": true
|
|
9037
|
+
},
|
|
9038
|
+
{
|
|
9039
|
+
"kind": "field",
|
|
9040
|
+
"name": "invalid",
|
|
9041
|
+
"type": {
|
|
9042
|
+
"text": "boolean"
|
|
9043
|
+
},
|
|
9044
|
+
"default": "false",
|
|
9045
|
+
"attribute": "invalid",
|
|
9046
|
+
"reflects": true
|
|
9047
|
+
},
|
|
9048
|
+
{
|
|
9049
|
+
"kind": "field",
|
|
9050
|
+
"name": "disabled",
|
|
9051
|
+
"type": {
|
|
9052
|
+
"text": "boolean"
|
|
9053
|
+
},
|
|
9054
|
+
"default": "false",
|
|
9055
|
+
"attribute": "disabled",
|
|
9056
|
+
"reflects": true
|
|
9057
|
+
},
|
|
9058
|
+
{
|
|
9059
|
+
"kind": "field",
|
|
9060
|
+
"name": "expanded",
|
|
9061
|
+
"type": {
|
|
9062
|
+
"text": "boolean"
|
|
9063
|
+
},
|
|
9064
|
+
"default": "false",
|
|
9065
|
+
"attribute": "expanded",
|
|
9066
|
+
"reflects": true
|
|
9067
|
+
},
|
|
9068
|
+
{
|
|
9069
|
+
"kind": "field",
|
|
9070
|
+
"name": "width",
|
|
9071
|
+
"type": {
|
|
9072
|
+
"text": "string"
|
|
9073
|
+
},
|
|
9074
|
+
"default": "''",
|
|
9075
|
+
"description": "Optional fixed width (any CSS length). When unset, the field stretches to fill its container.",
|
|
9076
|
+
"attribute": "width",
|
|
9077
|
+
"reflects": true
|
|
9078
|
+
},
|
|
9079
|
+
{
|
|
9080
|
+
"kind": "field",
|
|
9081
|
+
"name": "accessibleLabel",
|
|
9082
|
+
"type": {
|
|
9083
|
+
"text": "string"
|
|
9084
|
+
},
|
|
9085
|
+
"default": "''",
|
|
9086
|
+
"description": "Accessible name, forwarded as aria-label to the slotted `<select>`. The\nwrapper is not the control, so a name on the wrapper reaches nobody. Leave\nit empty and name the `<select>` yourself if you prefer.",
|
|
9087
|
+
"attribute": "accessible-label"
|
|
9088
|
+
},
|
|
9089
|
+
{
|
|
9090
|
+
"kind": "method",
|
|
9091
|
+
"name": "focus",
|
|
9092
|
+
"return": {
|
|
9093
|
+
"type": {
|
|
9094
|
+
"text": "void"
|
|
9095
|
+
}
|
|
9096
|
+
},
|
|
9097
|
+
"parameters": [
|
|
9098
|
+
{
|
|
9099
|
+
"name": "options",
|
|
9100
|
+
"optional": true,
|
|
9101
|
+
"type": {
|
|
9102
|
+
"text": "FocusOptions"
|
|
9103
|
+
}
|
|
9104
|
+
}
|
|
9105
|
+
],
|
|
9106
|
+
"description": "Delegates focus to the slotted `<select>`. The wrapper itself is not\nfocusable, so without this a label pointing at the dropdown has nowhere\nto send focus."
|
|
9107
|
+
}
|
|
9108
|
+
],
|
|
9109
|
+
"attributes": [
|
|
9110
|
+
{
|
|
9111
|
+
"name": "size",
|
|
9112
|
+
"type": {
|
|
9113
|
+
"text": "DropdownSize"
|
|
9114
|
+
},
|
|
9115
|
+
"default": "'md'",
|
|
9116
|
+
"fieldName": "size",
|
|
9117
|
+
"description": "Size: 'xs' | 'sm' | 'md' (default: 'md')"
|
|
9118
|
+
},
|
|
9119
|
+
{
|
|
9120
|
+
"name": "valid",
|
|
9121
|
+
"type": {
|
|
9122
|
+
"text": "boolean"
|
|
9123
|
+
},
|
|
9124
|
+
"default": "false",
|
|
9125
|
+
"fieldName": "valid",
|
|
9126
|
+
"description": "Marks the field as valid"
|
|
9127
|
+
},
|
|
9128
|
+
{
|
|
9129
|
+
"name": "invalid",
|
|
9130
|
+
"type": {
|
|
9131
|
+
"text": "boolean"
|
|
9132
|
+
},
|
|
9133
|
+
"default": "false",
|
|
9134
|
+
"fieldName": "invalid",
|
|
9135
|
+
"description": "Marks the field as invalid"
|
|
9136
|
+
},
|
|
9137
|
+
{
|
|
9138
|
+
"name": "disabled",
|
|
9139
|
+
"type": {
|
|
9140
|
+
"text": "boolean"
|
|
9141
|
+
},
|
|
9142
|
+
"default": "false",
|
|
9143
|
+
"fieldName": "disabled",
|
|
9144
|
+
"description": "Disabled state; also forwarded to the slotted select"
|
|
9145
|
+
},
|
|
9146
|
+
{
|
|
9147
|
+
"name": "expanded",
|
|
9148
|
+
"type": {
|
|
9149
|
+
"text": "boolean"
|
|
9150
|
+
},
|
|
9151
|
+
"default": "false",
|
|
9152
|
+
"fieldName": "expanded",
|
|
9153
|
+
"description": "Reflects whether the native picker popup is open (driven internally)"
|
|
9154
|
+
},
|
|
9155
|
+
{
|
|
9156
|
+
"name": "width",
|
|
9157
|
+
"type": {
|
|
9158
|
+
"text": "string"
|
|
9159
|
+
},
|
|
9160
|
+
"default": "''",
|
|
9161
|
+
"description": "Optional fixed width (any CSS length, e.g. \"240px\"). Default: stretches to fill container.",
|
|
9162
|
+
"fieldName": "width"
|
|
9163
|
+
},
|
|
9164
|
+
{
|
|
9165
|
+
"name": "accessible-label",
|
|
9166
|
+
"type": {
|
|
9167
|
+
"text": "string"
|
|
9168
|
+
},
|
|
9169
|
+
"default": "''",
|
|
9170
|
+
"description": "Accessible name, forwarded as aria-label to the slotted select",
|
|
9171
|
+
"fieldName": "accessibleLabel"
|
|
9172
|
+
}
|
|
9173
|
+
],
|
|
9174
|
+
"superclass": {
|
|
9175
|
+
"name": "LitElement",
|
|
9176
|
+
"package": "lit"
|
|
9177
|
+
},
|
|
9178
|
+
"tagName": "nldd-dropdown",
|
|
9179
|
+
"customElement": true,
|
|
9180
|
+
"events": [
|
|
9181
|
+
{
|
|
9182
|
+
"name": "change",
|
|
9183
|
+
"description": "Bubbles up from the slotted select; detail: { value: string }"
|
|
9184
|
+
}
|
|
9185
|
+
],
|
|
9186
|
+
"slots": [
|
|
9187
|
+
{
|
|
9188
|
+
"name": "",
|
|
9189
|
+
"description": "A native `<select>` element with `<option>` and/or `<optgroup>` children"
|
|
9190
|
+
}
|
|
9191
|
+
]
|
|
9192
|
+
}
|
|
9193
|
+
],
|
|
9194
|
+
"exports": [
|
|
9195
|
+
{
|
|
9196
|
+
"kind": "js",
|
|
9197
|
+
"name": "NLDDDropdown",
|
|
9198
|
+
"declaration": {
|
|
9199
|
+
"name": "NLDDDropdown",
|
|
9200
|
+
"module": "src/components/inputs/dropdown/dropdown.ts"
|
|
9201
|
+
}
|
|
9202
|
+
},
|
|
9203
|
+
{
|
|
9204
|
+
"kind": "custom-element-definition",
|
|
9205
|
+
"name": "nldd-dropdown",
|
|
9206
|
+
"declaration": {
|
|
9207
|
+
"name": "NLDDDropdown",
|
|
9208
|
+
"module": "src/components/inputs/dropdown/dropdown.ts"
|
|
9209
|
+
}
|
|
9210
|
+
}
|
|
9211
|
+
]
|
|
9212
|
+
},
|
|
9213
|
+
{
|
|
9214
|
+
"kind": "javascript-module",
|
|
9215
|
+
"path": "src/components/inputs/file-field/file-field.ts",
|
|
9216
|
+
"declarations": [
|
|
9217
|
+
{
|
|
9218
|
+
"kind": "class",
|
|
9219
|
+
"description": "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.",
|
|
9220
|
+
"name": "NLDDFileField",
|
|
9221
|
+
"members": [
|
|
9222
|
+
{
|
|
9223
|
+
"kind": "field",
|
|
9224
|
+
"name": "isFormInput",
|
|
9225
|
+
"type": {
|
|
9226
|
+
"text": "boolean"
|
|
9227
|
+
},
|
|
9228
|
+
"static": true,
|
|
9229
|
+
"default": "true",
|
|
9230
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
9231
|
+
},
|
|
9232
|
+
{
|
|
9233
|
+
"kind": "field",
|
|
9234
|
+
"name": "size",
|
|
9235
|
+
"type": {
|
|
9236
|
+
"text": "'md' | 'sm'"
|
|
9237
|
+
},
|
|
9238
|
+
"default": "'md'",
|
|
9239
|
+
"attribute": "size",
|
|
9240
|
+
"reflects": true
|
|
9241
|
+
},
|
|
9242
|
+
{
|
|
9243
|
+
"kind": "field",
|
|
9244
|
+
"name": "accept",
|
|
9245
|
+
"type": {
|
|
9246
|
+
"text": "string"
|
|
9247
|
+
},
|
|
9248
|
+
"default": "''",
|
|
9249
|
+
"attribute": "accept",
|
|
9250
|
+
"reflects": true
|
|
9251
|
+
},
|
|
9252
|
+
{
|
|
9253
|
+
"kind": "field",
|
|
9254
|
+
"name": "multiple",
|
|
9255
|
+
"type": {
|
|
9256
|
+
"text": "boolean"
|
|
9257
|
+
},
|
|
9258
|
+
"default": "false",
|
|
9259
|
+
"attribute": "multiple",
|
|
9260
|
+
"reflects": true
|
|
9261
|
+
},
|
|
9262
|
+
{
|
|
9263
|
+
"kind": "field",
|
|
9264
|
+
"name": "accessibleLabel",
|
|
9265
|
+
"type": {
|
|
9266
|
+
"text": "string"
|
|
9267
|
+
},
|
|
9268
|
+
"default": "''",
|
|
9269
|
+
"description": "Accessible label forwarded to the inner <input>. Set automatically by nldd-form-field.",
|
|
9270
|
+
"attribute": "accessible-label"
|
|
9271
|
+
},
|
|
9272
|
+
{
|
|
9273
|
+
"kind": "field",
|
|
9274
|
+
"name": "inputId",
|
|
9275
|
+
"type": {
|
|
9276
|
+
"text": "string"
|
|
9277
|
+
},
|
|
9278
|
+
"default": "''",
|
|
9279
|
+
"attribute": "input-id"
|
|
9280
|
+
},
|
|
9281
|
+
{
|
|
9282
|
+
"kind": "field",
|
|
9283
|
+
"name": "errorMessageIds",
|
|
9284
|
+
"type": {
|
|
9285
|
+
"text": "string"
|
|
9286
|
+
},
|
|
9287
|
+
"default": "''",
|
|
9288
|
+
"attribute": "error-message-ids"
|
|
9289
|
+
},
|
|
9290
|
+
{
|
|
9291
|
+
"kind": "field",
|
|
9292
|
+
"name": "valid",
|
|
9293
|
+
"type": {
|
|
9294
|
+
"text": "boolean"
|
|
9295
|
+
},
|
|
9296
|
+
"default": "false",
|
|
9297
|
+
"attribute": "valid",
|
|
9298
|
+
"reflects": true
|
|
9299
|
+
},
|
|
9300
|
+
{
|
|
9301
|
+
"kind": "field",
|
|
9302
|
+
"name": "invalid",
|
|
9303
|
+
"type": {
|
|
9304
|
+
"text": "boolean"
|
|
9305
|
+
},
|
|
9306
|
+
"default": "false",
|
|
9307
|
+
"attribute": "invalid",
|
|
9308
|
+
"reflects": true
|
|
9309
|
+
},
|
|
9310
|
+
{
|
|
9311
|
+
"kind": "field",
|
|
9312
|
+
"name": "disabled",
|
|
9313
|
+
"type": {
|
|
9314
|
+
"text": "boolean"
|
|
9315
|
+
},
|
|
9316
|
+
"default": "false",
|
|
9317
|
+
"attribute": "disabled",
|
|
9318
|
+
"reflects": true
|
|
9319
|
+
},
|
|
9320
|
+
{
|
|
9321
|
+
"kind": "field",
|
|
9322
|
+
"name": "name",
|
|
9323
|
+
"type": {
|
|
9324
|
+
"text": "string"
|
|
9325
|
+
},
|
|
9326
|
+
"default": "''",
|
|
9327
|
+
"attribute": "name",
|
|
9328
|
+
"reflects": true
|
|
9329
|
+
},
|
|
9330
|
+
{
|
|
9331
|
+
"kind": "field",
|
|
9332
|
+
"name": "required",
|
|
9333
|
+
"type": {
|
|
9334
|
+
"text": "boolean"
|
|
9335
|
+
},
|
|
9336
|
+
"default": "false",
|
|
9337
|
+
"attribute": "required",
|
|
9338
|
+
"reflects": true
|
|
9339
|
+
},
|
|
9340
|
+
{
|
|
9341
|
+
"kind": "field",
|
|
9342
|
+
"name": "translations",
|
|
9343
|
+
"type": {
|
|
9344
|
+
"text": "Partial<NLDDFileFieldTranslations>"
|
|
9345
|
+
},
|
|
9346
|
+
"default": "{}",
|
|
9347
|
+
"attribute": "translations"
|
|
9348
|
+
},
|
|
9349
|
+
{
|
|
9350
|
+
"kind": "field",
|
|
9351
|
+
"name": "files",
|
|
9352
|
+
"type": {
|
|
9353
|
+
"text": "File[]"
|
|
9354
|
+
},
|
|
9355
|
+
"readonly": true
|
|
9356
|
+
},
|
|
9357
|
+
{
|
|
9358
|
+
"kind": "method",
|
|
9359
|
+
"name": "formValue",
|
|
9360
|
+
"return": {
|
|
9361
|
+
"type": {
|
|
9362
|
+
"text": "FormValue"
|
|
9363
|
+
}
|
|
9364
|
+
},
|
|
9365
|
+
"description": "Submit one entry per file under `name`, the way a native multiple file\ninput does. A single file is submitted as itself, so a form with one file\nreads back as a File rather than as FormData wrapping one.",
|
|
9366
|
+
"inheritedFrom": {
|
|
9367
|
+
"name": "FormAssociated",
|
|
9368
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9369
|
+
}
|
|
9370
|
+
},
|
|
9371
|
+
{
|
|
9372
|
+
"kind": "method",
|
|
9373
|
+
"name": "commitFormValue",
|
|
9374
|
+
"return": {
|
|
9375
|
+
"type": {
|
|
9376
|
+
"text": "void"
|
|
9377
|
+
}
|
|
9378
|
+
},
|
|
9379
|
+
"description": "Commit the value now, from the handler that changed it.",
|
|
9380
|
+
"inheritedFrom": {
|
|
9381
|
+
"name": "FormAssociated",
|
|
9382
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9383
|
+
}
|
|
9384
|
+
},
|
|
9385
|
+
{
|
|
9386
|
+
"kind": "method",
|
|
9387
|
+
"name": "formResetCallback",
|
|
9388
|
+
"return": {
|
|
9389
|
+
"type": {
|
|
9390
|
+
"text": "void"
|
|
9391
|
+
}
|
|
9392
|
+
}
|
|
9393
|
+
},
|
|
9394
|
+
{
|
|
9395
|
+
"kind": "method",
|
|
9396
|
+
"name": "focus",
|
|
9397
|
+
"return": {
|
|
9398
|
+
"type": {
|
|
9399
|
+
"text": "void"
|
|
9400
|
+
}
|
|
9401
|
+
},
|
|
9402
|
+
"parameters": [
|
|
9403
|
+
{
|
|
9404
|
+
"name": "options",
|
|
9405
|
+
"optional": true,
|
|
9406
|
+
"type": {
|
|
9407
|
+
"text": "FocusOptions"
|
|
9408
|
+
}
|
|
9409
|
+
}
|
|
9410
|
+
],
|
|
9411
|
+
"description": "Delegates focus to the choose button rather than the hidden input: an input\nthat is `display: none` cannot take focus, and the button is what a user\nsees as the control."
|
|
9412
|
+
},
|
|
9413
|
+
{
|
|
9414
|
+
"kind": "field",
|
|
9415
|
+
"name": "formAssociated",
|
|
9416
|
+
"type": {
|
|
9417
|
+
"text": "boolean"
|
|
9418
|
+
},
|
|
9419
|
+
"static": true,
|
|
9420
|
+
"default": "true",
|
|
9421
|
+
"inheritedFrom": {
|
|
9422
|
+
"name": "FormAssociated",
|
|
9423
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9424
|
+
}
|
|
8589
9425
|
},
|
|
8590
9426
|
{
|
|
8591
|
-
"
|
|
8592
|
-
"
|
|
8593
|
-
|
|
8594
|
-
|
|
8595
|
-
|
|
8596
|
-
|
|
8597
|
-
|
|
9427
|
+
"kind": "field",
|
|
9428
|
+
"name": "internals",
|
|
9429
|
+
"readonly": true,
|
|
9430
|
+
"inheritedFrom": {
|
|
9431
|
+
"name": "FormAssociated",
|
|
9432
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9433
|
+
}
|
|
8598
9434
|
},
|
|
8599
9435
|
{
|
|
8600
|
-
"
|
|
8601
|
-
"
|
|
8602
|
-
|
|
9436
|
+
"kind": "method",
|
|
9437
|
+
"name": "formState",
|
|
9438
|
+
"return": {
|
|
9439
|
+
"type": {
|
|
9440
|
+
"text": "FormValue | undefined"
|
|
9441
|
+
}
|
|
8603
9442
|
},
|
|
8604
|
-
"
|
|
8605
|
-
"fieldName": "translations",
|
|
9443
|
+
"description": "Extra state kept for bfcache and state restore, when the submitted\nvalue alone cannot rebuild the control (a combo box submits a code but\nshows a label). Override alongside `formValue()`.",
|
|
8606
9444
|
"inheritedFrom": {
|
|
8607
|
-
"name": "
|
|
8608
|
-
"module": "src/utilities/
|
|
9445
|
+
"name": "FormAssociated",
|
|
9446
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9447
|
+
}
|
|
9448
|
+
},
|
|
9449
|
+
{
|
|
9450
|
+
"kind": "method",
|
|
9451
|
+
"name": "formDisabledCallback",
|
|
9452
|
+
"return": {
|
|
9453
|
+
"type": {
|
|
9454
|
+
"text": "void"
|
|
9455
|
+
}
|
|
8609
9456
|
},
|
|
8610
|
-
"
|
|
9457
|
+
"parameters": [
|
|
9458
|
+
{
|
|
9459
|
+
"name": "disabled",
|
|
9460
|
+
"type": {
|
|
9461
|
+
"text": "boolean"
|
|
9462
|
+
}
|
|
9463
|
+
}
|
|
9464
|
+
],
|
|
9465
|
+
"inheritedFrom": {
|
|
9466
|
+
"name": "FormAssociated",
|
|
9467
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
9468
|
+
}
|
|
8611
9469
|
}
|
|
8612
9470
|
],
|
|
8613
|
-
"
|
|
9471
|
+
"events": [
|
|
8614
9472
|
{
|
|
8615
|
-
"name": "
|
|
8616
|
-
"
|
|
9473
|
+
"name": "change",
|
|
9474
|
+
"description": "When the chosen files change, including a clear; detail: { files: File[] }"
|
|
8617
9475
|
}
|
|
8618
9476
|
],
|
|
8619
|
-
"
|
|
8620
|
-
"name": "LitElement",
|
|
8621
|
-
"package": "lit"
|
|
8622
|
-
},
|
|
8623
|
-
"tagName": "nldd-date-picker",
|
|
8624
|
-
"customElement": true
|
|
8625
|
-
}
|
|
8626
|
-
],
|
|
8627
|
-
"exports": [
|
|
8628
|
-
{
|
|
8629
|
-
"kind": "js",
|
|
8630
|
-
"name": "NLDDDatePicker",
|
|
8631
|
-
"declaration": {
|
|
8632
|
-
"name": "NLDDDatePicker",
|
|
8633
|
-
"module": "src/components/inputs/date-picker/date-picker.ts"
|
|
8634
|
-
}
|
|
8635
|
-
},
|
|
8636
|
-
{
|
|
8637
|
-
"kind": "custom-element-definition",
|
|
8638
|
-
"name": "nldd-date-picker",
|
|
8639
|
-
"declaration": {
|
|
8640
|
-
"name": "NLDDDatePicker",
|
|
8641
|
-
"module": "src/components/inputs/date-picker/date-picker.ts"
|
|
8642
|
-
}
|
|
8643
|
-
}
|
|
8644
|
-
]
|
|
8645
|
-
},
|
|
8646
|
-
{
|
|
8647
|
-
"kind": "javascript-module",
|
|
8648
|
-
"path": "src/components/inputs/dropdown/dropdown.ts",
|
|
8649
|
-
"declarations": [
|
|
8650
|
-
{
|
|
8651
|
-
"kind": "class",
|
|
8652
|
-
"description": "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.",
|
|
8653
|
-
"name": "NLDDDropdown",
|
|
8654
|
-
"members": [
|
|
9477
|
+
"attributes": [
|
|
8655
9478
|
{
|
|
8656
|
-
"kind": "field",
|
|
8657
9479
|
"name": "size",
|
|
8658
9480
|
"type": {
|
|
8659
|
-
"text": "
|
|
9481
|
+
"text": "'md' | 'sm'"
|
|
8660
9482
|
},
|
|
8661
9483
|
"default": "'md'",
|
|
8662
|
-
"
|
|
8663
|
-
"
|
|
9484
|
+
"fieldName": "size",
|
|
9485
|
+
"description": "Field size: 'md' (default) | 'sm'. Set automatically by nldd-form-field."
|
|
8664
9486
|
},
|
|
8665
9487
|
{
|
|
8666
|
-
"
|
|
8667
|
-
"name": "valid",
|
|
9488
|
+
"name": "accept",
|
|
8668
9489
|
"type": {
|
|
8669
|
-
"text": "
|
|
9490
|
+
"text": "string"
|
|
8670
9491
|
},
|
|
8671
|
-
"default": "
|
|
8672
|
-
"
|
|
8673
|
-
"
|
|
9492
|
+
"default": "''",
|
|
9493
|
+
"fieldName": "accept",
|
|
9494
|
+
"description": "Comma-separated list of accepted file types, forwarded to the input (e.g. \".pdf,image/*\")"
|
|
8674
9495
|
},
|
|
8675
9496
|
{
|
|
8676
|
-
"
|
|
8677
|
-
"name": "invalid",
|
|
9497
|
+
"name": "multiple",
|
|
8678
9498
|
"type": {
|
|
8679
9499
|
"text": "boolean"
|
|
8680
9500
|
},
|
|
8681
9501
|
"default": "false",
|
|
8682
|
-
"
|
|
8683
|
-
"
|
|
9502
|
+
"fieldName": "multiple",
|
|
9503
|
+
"description": "Allows choosing more than one file"
|
|
8684
9504
|
},
|
|
8685
9505
|
{
|
|
8686
|
-
"
|
|
8687
|
-
"name": "disabled",
|
|
9506
|
+
"name": "accessible-label",
|
|
8688
9507
|
"type": {
|
|
8689
|
-
"text": "
|
|
9508
|
+
"text": "string"
|
|
8690
9509
|
},
|
|
8691
|
-
"default": "
|
|
8692
|
-
"
|
|
8693
|
-
"
|
|
9510
|
+
"default": "''",
|
|
9511
|
+
"description": "Accessible label forwarded to the inner input. Set automatically by nldd-form-field.",
|
|
9512
|
+
"fieldName": "accessibleLabel"
|
|
8694
9513
|
},
|
|
8695
9514
|
{
|
|
8696
|
-
"
|
|
8697
|
-
"name": "expanded",
|
|
9515
|
+
"name": "input-id",
|
|
8698
9516
|
"type": {
|
|
8699
|
-
"text": "
|
|
9517
|
+
"text": "string"
|
|
8700
9518
|
},
|
|
8701
|
-
"default": "
|
|
8702
|
-
"
|
|
8703
|
-
"
|
|
9519
|
+
"default": "''",
|
|
9520
|
+
"fieldName": "inputId",
|
|
9521
|
+
"description": "Sets the id on the native input. Set automatically by nldd-form-field."
|
|
8704
9522
|
},
|
|
8705
9523
|
{
|
|
8706
|
-
"
|
|
8707
|
-
"name": "width",
|
|
9524
|
+
"name": "error-message-ids",
|
|
8708
9525
|
"type": {
|
|
8709
9526
|
"text": "string"
|
|
8710
9527
|
},
|
|
8711
9528
|
"default": "''",
|
|
8712
|
-
"
|
|
8713
|
-
"
|
|
8714
|
-
"reflects": true
|
|
8715
|
-
}
|
|
8716
|
-
],
|
|
8717
|
-
"attributes": [
|
|
8718
|
-
{
|
|
8719
|
-
"name": "size",
|
|
8720
|
-
"type": {
|
|
8721
|
-
"text": "DropdownSize"
|
|
8722
|
-
},
|
|
8723
|
-
"default": "'md'",
|
|
8724
|
-
"fieldName": "size",
|
|
8725
|
-
"description": "Size: 'xs' | 'sm' | 'md' (default: 'md')"
|
|
9529
|
+
"fieldName": "errorMessageIds",
|
|
9530
|
+
"description": "Ids for aria-describedby on the inner input. Set automatically by nldd-form-field."
|
|
8726
9531
|
},
|
|
8727
9532
|
{
|
|
8728
9533
|
"name": "valid",
|
|
@@ -8731,7 +9536,7 @@
|
|
|
8731
9536
|
},
|
|
8732
9537
|
"default": "false",
|
|
8733
9538
|
"fieldName": "valid",
|
|
8734
|
-
"description": "Marks the field as valid"
|
|
9539
|
+
"description": "Marks the field as valid; shows a check icon on the right, like nldd-dropdown"
|
|
8735
9540
|
},
|
|
8736
9541
|
{
|
|
8737
9542
|
"name": "invalid",
|
|
@@ -8740,7 +9545,7 @@
|
|
|
8740
9545
|
},
|
|
8741
9546
|
"default": "false",
|
|
8742
9547
|
"fieldName": "invalid",
|
|
8743
|
-
"description": "Marks the field as invalid"
|
|
9548
|
+
"description": "Marks the field as invalid; shows an alert icon on the right, like nldd-dropdown"
|
|
8744
9549
|
},
|
|
8745
9550
|
{
|
|
8746
9551
|
"name": "disabled",
|
|
@@ -8749,62 +9554,65 @@
|
|
|
8749
9554
|
},
|
|
8750
9555
|
"default": "false",
|
|
8751
9556
|
"fieldName": "disabled",
|
|
8752
|
-
"description": "Disabled state
|
|
9557
|
+
"description": "Disabled state"
|
|
8753
9558
|
},
|
|
8754
9559
|
{
|
|
8755
|
-
"name": "
|
|
9560
|
+
"name": "name",
|
|
9561
|
+
"type": {
|
|
9562
|
+
"text": "string"
|
|
9563
|
+
},
|
|
9564
|
+
"default": "''",
|
|
9565
|
+
"fieldName": "name",
|
|
9566
|
+
"description": "Name for form submission"
|
|
9567
|
+
},
|
|
9568
|
+
{
|
|
9569
|
+
"name": "required",
|
|
8756
9570
|
"type": {
|
|
8757
9571
|
"text": "boolean"
|
|
8758
9572
|
},
|
|
8759
9573
|
"default": "false",
|
|
8760
|
-
"fieldName": "
|
|
8761
|
-
"description": "
|
|
9574
|
+
"fieldName": "required",
|
|
9575
|
+
"description": "Marks the field required (invalid while no file is chosen)"
|
|
8762
9576
|
},
|
|
8763
9577
|
{
|
|
8764
|
-
"name": "
|
|
9578
|
+
"name": "translations",
|
|
8765
9579
|
"type": {
|
|
8766
|
-
"text": "
|
|
9580
|
+
"text": "Partial<NLDDFileFieldTranslations>"
|
|
8767
9581
|
},
|
|
8768
|
-
"default": "
|
|
8769
|
-
"
|
|
8770
|
-
"
|
|
9582
|
+
"default": "{}",
|
|
9583
|
+
"fieldName": "translations",
|
|
9584
|
+
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
9585
|
+
}
|
|
9586
|
+
],
|
|
9587
|
+
"mixins": [
|
|
9588
|
+
{
|
|
9589
|
+
"name": "FormAssociated",
|
|
9590
|
+
"module": "/src/utilities/form-associated-mixin.js"
|
|
8771
9591
|
}
|
|
8772
9592
|
],
|
|
8773
9593
|
"superclass": {
|
|
8774
9594
|
"name": "LitElement",
|
|
8775
9595
|
"package": "lit"
|
|
8776
9596
|
},
|
|
8777
|
-
"tagName": "nldd-
|
|
8778
|
-
"customElement": true
|
|
8779
|
-
"events": [
|
|
8780
|
-
{
|
|
8781
|
-
"name": "change",
|
|
8782
|
-
"description": "Bubbles up from the slotted select; detail: { value: string }"
|
|
8783
|
-
}
|
|
8784
|
-
],
|
|
8785
|
-
"slots": [
|
|
8786
|
-
{
|
|
8787
|
-
"name": "",
|
|
8788
|
-
"description": "A native `<select>` element with `<option>` and/or `<optgroup>` children"
|
|
8789
|
-
}
|
|
8790
|
-
]
|
|
9597
|
+
"tagName": "nldd-file-field",
|
|
9598
|
+
"customElement": true
|
|
8791
9599
|
}
|
|
8792
9600
|
],
|
|
8793
9601
|
"exports": [
|
|
8794
9602
|
{
|
|
8795
9603
|
"kind": "js",
|
|
8796
|
-
"name": "
|
|
9604
|
+
"name": "NLDDFileField",
|
|
8797
9605
|
"declaration": {
|
|
8798
|
-
"name": "
|
|
8799
|
-
"module": "src/components/inputs/
|
|
9606
|
+
"name": "NLDDFileField",
|
|
9607
|
+
"module": "src/components/inputs/file-field/file-field.ts"
|
|
8800
9608
|
}
|
|
8801
9609
|
},
|
|
8802
9610
|
{
|
|
8803
9611
|
"kind": "custom-element-definition",
|
|
8804
|
-
"name": "nldd-
|
|
9612
|
+
"name": "nldd-file-field",
|
|
8805
9613
|
"declaration": {
|
|
8806
|
-
"name": "
|
|
8807
|
-
"module": "src/components/inputs/
|
|
9614
|
+
"name": "NLDDFileField",
|
|
9615
|
+
"module": "src/components/inputs/file-field/file-field.ts"
|
|
8808
9616
|
}
|
|
8809
9617
|
}
|
|
8810
9618
|
]
|
|
@@ -8827,6 +9635,16 @@
|
|
|
8827
9635
|
"static": true,
|
|
8828
9636
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
8829
9637
|
},
|
|
9638
|
+
{
|
|
9639
|
+
"kind": "field",
|
|
9640
|
+
"name": "isFormInput",
|
|
9641
|
+
"type": {
|
|
9642
|
+
"text": "boolean"
|
|
9643
|
+
},
|
|
9644
|
+
"static": true,
|
|
9645
|
+
"default": "true",
|
|
9646
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
9647
|
+
},
|
|
8830
9648
|
{
|
|
8831
9649
|
"kind": "field",
|
|
8832
9650
|
"name": "size",
|
|
@@ -9312,6 +10130,26 @@
|
|
|
9312
10130
|
"description": "A numeric input field with decrement and increment buttons.",
|
|
9313
10131
|
"name": "NLDDNumberField",
|
|
9314
10132
|
"members": [
|
|
10133
|
+
{
|
|
10134
|
+
"kind": "field",
|
|
10135
|
+
"name": "isFormInput",
|
|
10136
|
+
"type": {
|
|
10137
|
+
"text": "boolean"
|
|
10138
|
+
},
|
|
10139
|
+
"static": true,
|
|
10140
|
+
"default": "true",
|
|
10141
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
10142
|
+
},
|
|
10143
|
+
{
|
|
10144
|
+
"kind": "field",
|
|
10145
|
+
"name": "blocksImplicitSubmission",
|
|
10146
|
+
"type": {
|
|
10147
|
+
"text": "boolean"
|
|
10148
|
+
},
|
|
10149
|
+
"static": true,
|
|
10150
|
+
"default": "true",
|
|
10151
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
10152
|
+
},
|
|
9315
10153
|
{
|
|
9316
10154
|
"kind": "field",
|
|
9317
10155
|
"name": "value",
|
|
@@ -9704,7 +10542,27 @@
|
|
|
9704
10542
|
"text": "object"
|
|
9705
10543
|
},
|
|
9706
10544
|
"static": true,
|
|
9707
|
-
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
10545
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
10546
|
+
},
|
|
10547
|
+
{
|
|
10548
|
+
"kind": "field",
|
|
10549
|
+
"name": "isFormInput",
|
|
10550
|
+
"type": {
|
|
10551
|
+
"text": "boolean"
|
|
10552
|
+
},
|
|
10553
|
+
"static": true,
|
|
10554
|
+
"default": "true",
|
|
10555
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
10556
|
+
},
|
|
10557
|
+
{
|
|
10558
|
+
"kind": "field",
|
|
10559
|
+
"name": "blocksImplicitSubmission",
|
|
10560
|
+
"type": {
|
|
10561
|
+
"text": "boolean"
|
|
10562
|
+
},
|
|
10563
|
+
"static": true,
|
|
10564
|
+
"default": "true",
|
|
10565
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
9708
10566
|
},
|
|
9709
10567
|
{
|
|
9710
10568
|
"kind": "field",
|
|
@@ -10250,6 +11108,16 @@
|
|
|
10250
11108
|
"description": "A radio button with an inline label. Use inside nldd-radio-button-group for keyboard navigation and group semantics. The group sets the name. Form-associated: the checked field submits its `value` under `name` (the inner nldd-radio-button sits in the shadow root and never joins the consumer's form; the field submits on its behalf). Unchecking siblings is the group's job, so exactly one value per group reaches the form.",
|
|
10251
11109
|
"name": "NLDDRadioButtonField",
|
|
10252
11110
|
"members": [
|
|
11111
|
+
{
|
|
11112
|
+
"kind": "field",
|
|
11113
|
+
"name": "isFormInput",
|
|
11114
|
+
"type": {
|
|
11115
|
+
"text": "boolean"
|
|
11116
|
+
},
|
|
11117
|
+
"static": true,
|
|
11118
|
+
"default": "true",
|
|
11119
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
11120
|
+
},
|
|
10253
11121
|
{
|
|
10254
11122
|
"kind": "field",
|
|
10255
11123
|
"name": "checked",
|
|
@@ -10349,6 +11217,25 @@
|
|
|
10349
11217
|
}
|
|
10350
11218
|
]
|
|
10351
11219
|
},
|
|
11220
|
+
{
|
|
11221
|
+
"kind": "method",
|
|
11222
|
+
"name": "focus",
|
|
11223
|
+
"return": {
|
|
11224
|
+
"type": {
|
|
11225
|
+
"text": "void"
|
|
11226
|
+
}
|
|
11227
|
+
},
|
|
11228
|
+
"parameters": [
|
|
11229
|
+
{
|
|
11230
|
+
"name": "options",
|
|
11231
|
+
"optional": true,
|
|
11232
|
+
"type": {
|
|
11233
|
+
"text": "FocusOptions"
|
|
11234
|
+
}
|
|
11235
|
+
}
|
|
11236
|
+
],
|
|
11237
|
+
"description": "Delegates focus to the inner `<nldd-radio-button>`, which in turn focuses\nits native input. Lets consumers call `radioFieldEl.focus()` without\nreaching into shadow DOM."
|
|
11238
|
+
},
|
|
10352
11239
|
{
|
|
10353
11240
|
"kind": "field",
|
|
10354
11241
|
"name": "formAssociated",
|
|
@@ -10525,6 +11412,16 @@
|
|
|
10525
11412
|
"description": "Groups nldd-radio-button-field elements, handles keyboard navigation, and forwards name and disabled state to all child fields. Use inside nldd-form-field which provides the group label.",
|
|
10526
11413
|
"name": "NLDDRadioButtonGroup",
|
|
10527
11414
|
"members": [
|
|
11415
|
+
{
|
|
11416
|
+
"kind": "field",
|
|
11417
|
+
"name": "isFormInput",
|
|
11418
|
+
"type": {
|
|
11419
|
+
"text": "boolean"
|
|
11420
|
+
},
|
|
11421
|
+
"static": true,
|
|
11422
|
+
"default": "true",
|
|
11423
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
11424
|
+
},
|
|
10528
11425
|
{
|
|
10529
11426
|
"kind": "field",
|
|
10530
11427
|
"name": "name",
|
|
@@ -10554,6 +11451,16 @@
|
|
|
10554
11451
|
"attribute": "required",
|
|
10555
11452
|
"reflects": true
|
|
10556
11453
|
},
|
|
11454
|
+
{
|
|
11455
|
+
"kind": "field",
|
|
11456
|
+
"name": "accessibleLabel",
|
|
11457
|
+
"type": {
|
|
11458
|
+
"text": "string"
|
|
11459
|
+
},
|
|
11460
|
+
"default": "''",
|
|
11461
|
+
"description": "Accessible name forwarded as aria-label to the group host.",
|
|
11462
|
+
"attribute": "accessible-label"
|
|
11463
|
+
},
|
|
10557
11464
|
{
|
|
10558
11465
|
"kind": "field",
|
|
10559
11466
|
"name": "accessibleLabeledBy",
|
|
@@ -10562,6 +11469,25 @@
|
|
|
10562
11469
|
},
|
|
10563
11470
|
"default": "''",
|
|
10564
11471
|
"attribute": "accessible-labeled-by"
|
|
11472
|
+
},
|
|
11473
|
+
{
|
|
11474
|
+
"kind": "method",
|
|
11475
|
+
"name": "focus",
|
|
11476
|
+
"return": {
|
|
11477
|
+
"type": {
|
|
11478
|
+
"text": "void"
|
|
11479
|
+
}
|
|
11480
|
+
},
|
|
11481
|
+
"parameters": [
|
|
11482
|
+
{
|
|
11483
|
+
"name": "options",
|
|
11484
|
+
"optional": true,
|
|
11485
|
+
"type": {
|
|
11486
|
+
"text": "FocusOptions"
|
|
11487
|
+
}
|
|
11488
|
+
}
|
|
11489
|
+
],
|
|
11490
|
+
"description": "Delegates focus to the checked option, or to the first enabled one when\nnothing is checked. That is where the keyboard puts focus when tabbing\ninto a radio group, so a label pointing at the group lands in the same\nplace."
|
|
10565
11491
|
}
|
|
10566
11492
|
],
|
|
10567
11493
|
"attributes": [
|
|
@@ -10592,6 +11518,15 @@
|
|
|
10592
11518
|
"fieldName": "required",
|
|
10593
11519
|
"description": "Marks the group as required"
|
|
10594
11520
|
},
|
|
11521
|
+
{
|
|
11522
|
+
"name": "accessible-label",
|
|
11523
|
+
"type": {
|
|
11524
|
+
"text": "string"
|
|
11525
|
+
},
|
|
11526
|
+
"default": "''",
|
|
11527
|
+
"description": "Accessible name for the group, set as aria-label on the group",
|
|
11528
|
+
"fieldName": "accessibleLabel"
|
|
11529
|
+
},
|
|
10595
11530
|
{
|
|
10596
11531
|
"name": "accessible-labeled-by",
|
|
10597
11532
|
"type": {
|
|
@@ -10650,6 +11585,16 @@
|
|
|
10650
11585
|
"description": "WAI-ARIA: Wrap radio buttons in a <fieldset>/<legend> or a container with role=\"radiogroup\" and aria-labelledby for proper group semantics. <fieldset> <legend>Kies een optie</legend> <nldd-radio-button name=\"options\" value=\"1\">Optie 1</nldd-radio-button> <nldd-radio-button name=\"options\" value=\"2\">Optie 2</nldd-radio-button> </fieldset>",
|
|
10651
11586
|
"name": "NLDDRadioButton",
|
|
10652
11587
|
"members": [
|
|
11588
|
+
{
|
|
11589
|
+
"kind": "field",
|
|
11590
|
+
"name": "isFormInput",
|
|
11591
|
+
"type": {
|
|
11592
|
+
"text": "boolean"
|
|
11593
|
+
},
|
|
11594
|
+
"static": true,
|
|
11595
|
+
"default": "true",
|
|
11596
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
11597
|
+
},
|
|
10653
11598
|
{
|
|
10654
11599
|
"kind": "field",
|
|
10655
11600
|
"name": "checked",
|
|
@@ -10660,6 +11605,16 @@
|
|
|
10660
11605
|
"attribute": "checked",
|
|
10661
11606
|
"reflects": true
|
|
10662
11607
|
},
|
|
11608
|
+
{
|
|
11609
|
+
"kind": "field",
|
|
11610
|
+
"name": "decorative",
|
|
11611
|
+
"type": {
|
|
11612
|
+
"text": "boolean"
|
|
11613
|
+
},
|
|
11614
|
+
"default": "false",
|
|
11615
|
+
"attribute": "decorative",
|
|
11616
|
+
"reflects": true
|
|
11617
|
+
},
|
|
10663
11618
|
{
|
|
10664
11619
|
"kind": "field",
|
|
10665
11620
|
"name": "disabled",
|
|
@@ -10758,6 +11713,25 @@
|
|
|
10758
11713
|
}
|
|
10759
11714
|
}
|
|
10760
11715
|
},
|
|
11716
|
+
{
|
|
11717
|
+
"kind": "method",
|
|
11718
|
+
"name": "focus",
|
|
11719
|
+
"return": {
|
|
11720
|
+
"type": {
|
|
11721
|
+
"text": "void"
|
|
11722
|
+
}
|
|
11723
|
+
},
|
|
11724
|
+
"parameters": [
|
|
11725
|
+
{
|
|
11726
|
+
"name": "options",
|
|
11727
|
+
"optional": true,
|
|
11728
|
+
"type": {
|
|
11729
|
+
"text": "FocusOptions"
|
|
11730
|
+
}
|
|
11731
|
+
}
|
|
11732
|
+
],
|
|
11733
|
+
"description": "Delegates focus to the inner native radio `<input>`, so consumers can\ncall `radioEl.focus()` without reaching into shadow DOM."
|
|
11734
|
+
},
|
|
10761
11735
|
{
|
|
10762
11736
|
"kind": "field",
|
|
10763
11737
|
"name": "formAssociated",
|
|
@@ -10846,6 +11820,15 @@
|
|
|
10846
11820
|
"fieldName": "checked",
|
|
10847
11821
|
"description": "Checked state"
|
|
10848
11822
|
},
|
|
11823
|
+
{
|
|
11824
|
+
"name": "decorative",
|
|
11825
|
+
"type": {
|
|
11826
|
+
"text": "boolean"
|
|
11827
|
+
},
|
|
11828
|
+
"default": "false",
|
|
11829
|
+
"fieldName": "decorative",
|
|
11830
|
+
"description": "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."
|
|
11831
|
+
},
|
|
10849
11832
|
{
|
|
10850
11833
|
"name": "disabled",
|
|
10851
11834
|
"type": {
|
|
@@ -10934,6 +11917,26 @@
|
|
|
10934
11917
|
"description": "A search input with a leading search icon, an optional dismiss button, and an optional search button.",
|
|
10935
11918
|
"name": "NLDDSearchField",
|
|
10936
11919
|
"members": [
|
|
11920
|
+
{
|
|
11921
|
+
"kind": "field",
|
|
11922
|
+
"name": "isFormInput",
|
|
11923
|
+
"type": {
|
|
11924
|
+
"text": "boolean"
|
|
11925
|
+
},
|
|
11926
|
+
"static": true,
|
|
11927
|
+
"default": "true",
|
|
11928
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
11929
|
+
},
|
|
11930
|
+
{
|
|
11931
|
+
"kind": "field",
|
|
11932
|
+
"name": "blocksImplicitSubmission",
|
|
11933
|
+
"type": {
|
|
11934
|
+
"text": "boolean"
|
|
11935
|
+
},
|
|
11936
|
+
"static": true,
|
|
11937
|
+
"default": "true",
|
|
11938
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
11939
|
+
},
|
|
10937
11940
|
{
|
|
10938
11941
|
"kind": "field",
|
|
10939
11942
|
"name": "value",
|
|
@@ -11404,6 +12407,25 @@
|
|
|
11404
12407
|
"default": "''",
|
|
11405
12408
|
"description": "Icon name for nldd-icon. When not set, the icon slot is used; the icon and\nicon-and-text variants show a placeholder icon when neither is provided.",
|
|
11406
12409
|
"attribute": "icon"
|
|
12410
|
+
},
|
|
12411
|
+
{
|
|
12412
|
+
"kind": "method",
|
|
12413
|
+
"name": "focus",
|
|
12414
|
+
"return": {
|
|
12415
|
+
"type": {
|
|
12416
|
+
"text": "void"
|
|
12417
|
+
}
|
|
12418
|
+
},
|
|
12419
|
+
"parameters": [
|
|
12420
|
+
{
|
|
12421
|
+
"name": "options",
|
|
12422
|
+
"optional": true,
|
|
12423
|
+
"type": {
|
|
12424
|
+
"text": "FocusOptions"
|
|
12425
|
+
}
|
|
12426
|
+
}
|
|
12427
|
+
],
|
|
12428
|
+
"description": "Delegates focus to the inner native `<input>`, so consumers can call\n`itemEl.focus()` without reaching into shadow DOM."
|
|
11407
12429
|
}
|
|
11408
12430
|
],
|
|
11409
12431
|
"events": [
|
|
@@ -11513,6 +12535,16 @@
|
|
|
11513
12535
|
"description": "A horizontal group of mutually exclusive (radio) or multi-select (checkbox) options. Exports both NLDDSegmentedControl and NLDDSegmentedControlItem.",
|
|
11514
12536
|
"name": "NLDDSegmentedControl",
|
|
11515
12537
|
"members": [
|
|
12538
|
+
{
|
|
12539
|
+
"kind": "field",
|
|
12540
|
+
"name": "isFormInput",
|
|
12541
|
+
"type": {
|
|
12542
|
+
"text": "boolean"
|
|
12543
|
+
},
|
|
12544
|
+
"static": true,
|
|
12545
|
+
"default": "true",
|
|
12546
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
12547
|
+
},
|
|
11516
12548
|
{
|
|
11517
12549
|
"kind": "field",
|
|
11518
12550
|
"name": "value",
|
|
@@ -11655,6 +12687,25 @@
|
|
|
11655
12687
|
}
|
|
11656
12688
|
]
|
|
11657
12689
|
},
|
|
12690
|
+
{
|
|
12691
|
+
"kind": "method",
|
|
12692
|
+
"name": "focus",
|
|
12693
|
+
"return": {
|
|
12694
|
+
"type": {
|
|
12695
|
+
"text": "void"
|
|
12696
|
+
}
|
|
12697
|
+
},
|
|
12698
|
+
"parameters": [
|
|
12699
|
+
{
|
|
12700
|
+
"name": "options",
|
|
12701
|
+
"optional": true,
|
|
12702
|
+
"type": {
|
|
12703
|
+
"text": "FocusOptions"
|
|
12704
|
+
}
|
|
12705
|
+
}
|
|
12706
|
+
],
|
|
12707
|
+
"description": "Delegates focus to the selected item, or to the first enabled one when\nnothing is selected. Mirrors where the keyboard lands when tabbing into\nthe control."
|
|
12708
|
+
},
|
|
11658
12709
|
{
|
|
11659
12710
|
"kind": "field",
|
|
11660
12711
|
"name": "formAssociated",
|
|
@@ -11880,6 +12931,16 @@
|
|
|
11880
12931
|
"description": "A numeric control with increment and decrement buttons.",
|
|
11881
12932
|
"name": "NLDDStepper",
|
|
11882
12933
|
"members": [
|
|
12934
|
+
{
|
|
12935
|
+
"kind": "field",
|
|
12936
|
+
"name": "isFormInput",
|
|
12937
|
+
"type": {
|
|
12938
|
+
"text": "boolean"
|
|
12939
|
+
},
|
|
12940
|
+
"static": true,
|
|
12941
|
+
"default": "true",
|
|
12942
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
12943
|
+
},
|
|
11883
12944
|
{
|
|
11884
12945
|
"kind": "field",
|
|
11885
12946
|
"name": "value",
|
|
@@ -11943,6 +13004,16 @@
|
|
|
11943
13004
|
"attribute": "name",
|
|
11944
13005
|
"reflects": true
|
|
11945
13006
|
},
|
|
13007
|
+
{
|
|
13008
|
+
"kind": "field",
|
|
13009
|
+
"name": "accessibleLabel",
|
|
13010
|
+
"type": {
|
|
13011
|
+
"text": "string"
|
|
13012
|
+
},
|
|
13013
|
+
"default": "''",
|
|
13014
|
+
"description": "Accessible name for the spinbutton. Without one it falls back to a generic\n\"adjust the value\", which says what the control does but not which value,\nso give it the name of the field whenever there is one.",
|
|
13015
|
+
"attribute": "accessible-label"
|
|
13016
|
+
},
|
|
11946
13017
|
{
|
|
11947
13018
|
"kind": "field",
|
|
11948
13019
|
"name": "translations",
|
|
@@ -11993,6 +13064,25 @@
|
|
|
11993
13064
|
}
|
|
11994
13065
|
]
|
|
11995
13066
|
},
|
|
13067
|
+
{
|
|
13068
|
+
"kind": "method",
|
|
13069
|
+
"name": "focus",
|
|
13070
|
+
"return": {
|
|
13071
|
+
"type": {
|
|
13072
|
+
"text": "void"
|
|
13073
|
+
}
|
|
13074
|
+
},
|
|
13075
|
+
"parameters": [
|
|
13076
|
+
{
|
|
13077
|
+
"name": "options",
|
|
13078
|
+
"optional": true,
|
|
13079
|
+
"type": {
|
|
13080
|
+
"text": "FocusOptions"
|
|
13081
|
+
}
|
|
13082
|
+
}
|
|
13083
|
+
],
|
|
13084
|
+
"description": "Delegates focus to the spinbutton, the element that carries the tabindex\nand the keyboard handling. The two icon buttons are `tabindex=\"-1\"` on\npurpose, so the stepper is one stop rather than three. Does nothing while\ndisabled, because the spinbutton drops its tabindex then."
|
|
13085
|
+
},
|
|
11996
13086
|
{
|
|
11997
13087
|
"kind": "field",
|
|
11998
13088
|
"name": "formAssociated",
|
|
@@ -12132,6 +13222,15 @@
|
|
|
12132
13222
|
"fieldName": "name",
|
|
12133
13223
|
"description": "Name for form submission; the value is submitted under this name"
|
|
12134
13224
|
},
|
|
13225
|
+
{
|
|
13226
|
+
"name": "accessible-label",
|
|
13227
|
+
"type": {
|
|
13228
|
+
"text": "string"
|
|
13229
|
+
},
|
|
13230
|
+
"default": "''",
|
|
13231
|
+
"description": "Accessible name for the spinbutton; falls back to a generic label",
|
|
13232
|
+
"fieldName": "accessibleLabel"
|
|
13233
|
+
},
|
|
12135
13234
|
{
|
|
12136
13235
|
"name": "translations",
|
|
12137
13236
|
"type": {
|
|
@@ -12184,6 +13283,16 @@
|
|
|
12184
13283
|
"description": "A switch toggle with an inline label for use in forms.",
|
|
12185
13284
|
"name": "NLDDSwitchField",
|
|
12186
13285
|
"members": [
|
|
13286
|
+
{
|
|
13287
|
+
"kind": "field",
|
|
13288
|
+
"name": "isFormInput",
|
|
13289
|
+
"type": {
|
|
13290
|
+
"text": "boolean"
|
|
13291
|
+
},
|
|
13292
|
+
"static": true,
|
|
13293
|
+
"default": "true",
|
|
13294
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
13295
|
+
},
|
|
12187
13296
|
{
|
|
12188
13297
|
"kind": "field",
|
|
12189
13298
|
"name": "checked",
|
|
@@ -12340,6 +13449,16 @@
|
|
|
12340
13449
|
"description": "A toggle control for on/off settings. Prefer nldd-switch-field for labeled usage — it combines the switch with a visible label. Direct use of nldd-switch requires an accessible-label attribute for screen reader accessibility.",
|
|
12341
13450
|
"name": "NLDDSwitch",
|
|
12342
13451
|
"members": [
|
|
13452
|
+
{
|
|
13453
|
+
"kind": "field",
|
|
13454
|
+
"name": "isFormInput",
|
|
13455
|
+
"type": {
|
|
13456
|
+
"text": "boolean"
|
|
13457
|
+
},
|
|
13458
|
+
"static": true,
|
|
13459
|
+
"default": "true",
|
|
13460
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
13461
|
+
},
|
|
12343
13462
|
{
|
|
12344
13463
|
"kind": "field",
|
|
12345
13464
|
"name": "name",
|
|
@@ -13962,7 +15081,7 @@
|
|
|
13962
15081
|
"declarations": [
|
|
13963
15082
|
{
|
|
13964
15083
|
"kind": "class",
|
|
13965
|
-
"description": "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
|
|
15084
|
+
"description": "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.",
|
|
13966
15085
|
"name": "NLDDTextEditor",
|
|
13967
15086
|
"members": [
|
|
13968
15087
|
{
|
|
@@ -13974,6 +15093,16 @@
|
|
|
13974
15093
|
"static": true,
|
|
13975
15094
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
13976
15095
|
},
|
|
15096
|
+
{
|
|
15097
|
+
"kind": "field",
|
|
15098
|
+
"name": "isFormInput",
|
|
15099
|
+
"type": {
|
|
15100
|
+
"text": "boolean"
|
|
15101
|
+
},
|
|
15102
|
+
"static": true,
|
|
15103
|
+
"default": "true",
|
|
15104
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
15105
|
+
},
|
|
13977
15106
|
{
|
|
13978
15107
|
"kind": "field",
|
|
13979
15108
|
"name": "value",
|
|
@@ -14081,16 +15210,6 @@
|
|
|
14081
15210
|
"attribute": "variant",
|
|
14082
15211
|
"reflects": true
|
|
14083
15212
|
},
|
|
14084
|
-
{
|
|
14085
|
-
"kind": "field",
|
|
14086
|
-
"name": "font",
|
|
14087
|
-
"type": {
|
|
14088
|
-
"text": "TextEditorFont"
|
|
14089
|
-
},
|
|
14090
|
-
"default": "'sans'",
|
|
14091
|
-
"attribute": "font",
|
|
14092
|
-
"reflects": true
|
|
14093
|
-
},
|
|
14094
15213
|
{
|
|
14095
15214
|
"kind": "field",
|
|
14096
15215
|
"name": "accessibleLabel",
|
|
@@ -14634,18 +15753,9 @@
|
|
|
14634
15753
|
"type": {
|
|
14635
15754
|
"text": "TextEditorVariant"
|
|
14636
15755
|
},
|
|
14637
|
-
"default": "'simple'",
|
|
14638
|
-
"fieldName": "variant",
|
|
14639
|
-
"description": "'simple' (default, bare) | 'input-field' (framed surface)"
|
|
14640
|
-
},
|
|
14641
|
-
{
|
|
14642
|
-
"name": "font",
|
|
14643
|
-
"type": {
|
|
14644
|
-
"text": "TextEditorFont"
|
|
14645
|
-
},
|
|
14646
|
-
"default": "'sans'",
|
|
14647
|
-
"fieldName": "font",
|
|
14648
|
-
"description": "'sans' (default) | 'mono'"
|
|
15756
|
+
"default": "'simple'",
|
|
15757
|
+
"fieldName": "variant",
|
|
15758
|
+
"description": "'simple' (default, bare) | 'input-field' (framed surface)"
|
|
14649
15759
|
},
|
|
14650
15760
|
{
|
|
14651
15761
|
"name": "accessible-label",
|
|
@@ -14782,6 +15892,26 @@
|
|
|
14782
15892
|
"static": true,
|
|
14783
15893
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
14784
15894
|
},
|
|
15895
|
+
{
|
|
15896
|
+
"kind": "field",
|
|
15897
|
+
"name": "isFormInput",
|
|
15898
|
+
"type": {
|
|
15899
|
+
"text": "boolean"
|
|
15900
|
+
},
|
|
15901
|
+
"static": true,
|
|
15902
|
+
"default": "true",
|
|
15903
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
15904
|
+
},
|
|
15905
|
+
{
|
|
15906
|
+
"kind": "field",
|
|
15907
|
+
"name": "blocksImplicitSubmission",
|
|
15908
|
+
"type": {
|
|
15909
|
+
"text": "boolean"
|
|
15910
|
+
},
|
|
15911
|
+
"static": true,
|
|
15912
|
+
"default": "true",
|
|
15913
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
15914
|
+
},
|
|
14785
15915
|
{
|
|
14786
15916
|
"kind": "field",
|
|
14787
15917
|
"name": "size",
|
|
@@ -15332,6 +16462,26 @@
|
|
|
15332
16462
|
"static": true,
|
|
15333
16463
|
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
15334
16464
|
},
|
|
16465
|
+
{
|
|
16466
|
+
"kind": "field",
|
|
16467
|
+
"name": "isFormInput",
|
|
16468
|
+
"type": {
|
|
16469
|
+
"text": "boolean"
|
|
16470
|
+
},
|
|
16471
|
+
"static": true,
|
|
16472
|
+
"default": "true",
|
|
16473
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
16474
|
+
},
|
|
16475
|
+
{
|
|
16476
|
+
"kind": "field",
|
|
16477
|
+
"name": "blocksImplicitSubmission",
|
|
16478
|
+
"type": {
|
|
16479
|
+
"text": "boolean"
|
|
16480
|
+
},
|
|
16481
|
+
"static": true,
|
|
16482
|
+
"default": "true",
|
|
16483
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
16484
|
+
},
|
|
15335
16485
|
{
|
|
15336
16486
|
"kind": "field",
|
|
15337
16487
|
"name": "size",
|
|
@@ -15909,6 +17059,16 @@
|
|
|
15909
17059
|
"description": "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.",
|
|
15910
17060
|
"name": "NLDDTimePicker",
|
|
15911
17061
|
"members": [
|
|
17062
|
+
{
|
|
17063
|
+
"kind": "field",
|
|
17064
|
+
"name": "isFormInput",
|
|
17065
|
+
"type": {
|
|
17066
|
+
"text": "boolean"
|
|
17067
|
+
},
|
|
17068
|
+
"static": true,
|
|
17069
|
+
"default": "true",
|
|
17070
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
17071
|
+
},
|
|
15912
17072
|
{
|
|
15913
17073
|
"kind": "field",
|
|
15914
17074
|
"name": "value",
|
|
@@ -16150,6 +17310,16 @@
|
|
|
16150
17310
|
"description": "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.",
|
|
16151
17311
|
"name": "NLDDToggleButtonGroup",
|
|
16152
17312
|
"members": [
|
|
17313
|
+
{
|
|
17314
|
+
"kind": "field",
|
|
17315
|
+
"name": "isFormInput",
|
|
17316
|
+
"type": {
|
|
17317
|
+
"text": "boolean"
|
|
17318
|
+
},
|
|
17319
|
+
"static": true,
|
|
17320
|
+
"default": "true",
|
|
17321
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
17322
|
+
},
|
|
16153
17323
|
{
|
|
16154
17324
|
"kind": "field",
|
|
16155
17325
|
"name": "type",
|
|
@@ -16208,6 +17378,25 @@
|
|
|
16208
17378
|
"default": "''",
|
|
16209
17379
|
"description": "ID of an external label element forwarded as aria-labelledby to the group host.",
|
|
16210
17380
|
"attribute": "accessible-labeled-by"
|
|
17381
|
+
},
|
|
17382
|
+
{
|
|
17383
|
+
"kind": "method",
|
|
17384
|
+
"name": "focus",
|
|
17385
|
+
"return": {
|
|
17386
|
+
"type": {
|
|
17387
|
+
"text": "void"
|
|
17388
|
+
}
|
|
17389
|
+
},
|
|
17390
|
+
"parameters": [
|
|
17391
|
+
{
|
|
17392
|
+
"name": "options",
|
|
17393
|
+
"optional": true,
|
|
17394
|
+
"type": {
|
|
17395
|
+
"text": "FocusOptions"
|
|
17396
|
+
}
|
|
17397
|
+
}
|
|
17398
|
+
],
|
|
17399
|
+
"description": "Delegates focus to the first selected button, or to the first enabled one\nwhen nothing is selected. With `type=\"checkbox\"` more than one can be\nselected; focus goes to the first of them, in DOM order."
|
|
16211
17400
|
}
|
|
16212
17401
|
],
|
|
16213
17402
|
"attributes": [
|
|
@@ -16314,6 +17503,16 @@
|
|
|
16314
17503
|
"description": "A selectable button that toggles between selected and unselected. Available as a button (aria-pressed), checkbox, or radio input.",
|
|
16315
17504
|
"name": "NLDDToggleButton",
|
|
16316
17505
|
"members": [
|
|
17506
|
+
{
|
|
17507
|
+
"kind": "field",
|
|
17508
|
+
"name": "isFormInput",
|
|
17509
|
+
"type": {
|
|
17510
|
+
"text": "boolean"
|
|
17511
|
+
},
|
|
17512
|
+
"static": true,
|
|
17513
|
+
"default": "true",
|
|
17514
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
17515
|
+
},
|
|
16317
17516
|
{
|
|
16318
17517
|
"kind": "field",
|
|
16319
17518
|
"name": "type",
|
|
@@ -16463,6 +17662,25 @@
|
|
|
16463
17662
|
},
|
|
16464
17663
|
"description": "Toggle selected state programmatically.\nFor type=\"radio\", the button can only be selected, never deselected (native behavior)."
|
|
16465
17664
|
},
|
|
17665
|
+
{
|
|
17666
|
+
"kind": "method",
|
|
17667
|
+
"name": "focus",
|
|
17668
|
+
"return": {
|
|
17669
|
+
"type": {
|
|
17670
|
+
"text": "void"
|
|
17671
|
+
}
|
|
17672
|
+
},
|
|
17673
|
+
"parameters": [
|
|
17674
|
+
{
|
|
17675
|
+
"name": "options",
|
|
17676
|
+
"optional": true,
|
|
17677
|
+
"type": {
|
|
17678
|
+
"text": "FocusOptions"
|
|
17679
|
+
}
|
|
17680
|
+
}
|
|
17681
|
+
],
|
|
17682
|
+
"description": "Delegates focus to whichever control this type renders: the `<input>` for\n`checkbox` and `radio`, the `<button>` for `button`. Only one of the two\nexists at a time. Lets consumers call `toggleButtonEl.focus()` without\nreaching into shadow DOM."
|
|
17683
|
+
},
|
|
16466
17684
|
{
|
|
16467
17685
|
"kind": "field",
|
|
16468
17686
|
"name": "formAssociated",
|
|
@@ -16681,6 +17899,26 @@
|
|
|
16681
17899
|
"description": "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.",
|
|
16682
17900
|
"name": "NLDDTokenField",
|
|
16683
17901
|
"members": [
|
|
17902
|
+
{
|
|
17903
|
+
"kind": "field",
|
|
17904
|
+
"name": "isFormInput",
|
|
17905
|
+
"type": {
|
|
17906
|
+
"text": "boolean"
|
|
17907
|
+
},
|
|
17908
|
+
"static": true,
|
|
17909
|
+
"default": "true",
|
|
17910
|
+
"description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
|
|
17911
|
+
},
|
|
17912
|
+
{
|
|
17913
|
+
"kind": "field",
|
|
17914
|
+
"name": "blocksImplicitSubmission",
|
|
17915
|
+
"type": {
|
|
17916
|
+
"text": "boolean"
|
|
17917
|
+
},
|
|
17918
|
+
"static": true,
|
|
17919
|
+
"default": "true",
|
|
17920
|
+
"description": "Counts for the implicit-submission rule: a single-line field where Enter\nwould submit the form. See utilities/implicit-submission.ts."
|
|
17921
|
+
},
|
|
16684
17922
|
{
|
|
16685
17923
|
"kind": "field",
|
|
16686
17924
|
"name": "values",
|
|
@@ -17209,24 +18447,24 @@
|
|
|
17209
18447
|
"members": [
|
|
17210
18448
|
{
|
|
17211
18449
|
"kind": "field",
|
|
17212
|
-
"name": "
|
|
18450
|
+
"name": "variant",
|
|
17213
18451
|
"type": {
|
|
17214
|
-
"text": "
|
|
18452
|
+
"text": "BoxVariant"
|
|
17215
18453
|
},
|
|
17216
18454
|
"default": "'tinted'",
|
|
17217
|
-
"attribute": "
|
|
18455
|
+
"attribute": "variant",
|
|
17218
18456
|
"reflects": true
|
|
17219
18457
|
}
|
|
17220
18458
|
],
|
|
17221
18459
|
"attributes": [
|
|
17222
18460
|
{
|
|
17223
|
-
"name": "
|
|
18461
|
+
"name": "variant",
|
|
17224
18462
|
"type": {
|
|
17225
|
-
"text": "
|
|
18463
|
+
"text": "BoxVariant"
|
|
17226
18464
|
},
|
|
17227
18465
|
"default": "'tinted'",
|
|
17228
|
-
"fieldName": "
|
|
17229
|
-
"description": "
|
|
18466
|
+
"fieldName": "variant",
|
|
18467
|
+
"description": "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."
|
|
17230
18468
|
}
|
|
17231
18469
|
],
|
|
17232
18470
|
"superclass": {
|
|
@@ -17238,7 +18476,7 @@
|
|
|
17238
18476
|
"slots": [
|
|
17239
18477
|
{
|
|
17240
18478
|
"name": "",
|
|
17241
|
-
"description": "Place components inside the box"
|
|
18479
|
+
"description": "Place components inside the box, usually wrapped in an nldd-container that carries the padding"
|
|
17242
18480
|
}
|
|
17243
18481
|
]
|
|
17244
18482
|
}
|
|
@@ -17695,6 +18933,36 @@
|
|
|
17695
18933
|
"attribute": "lg-column-count",
|
|
17696
18934
|
"reflects": true
|
|
17697
18935
|
},
|
|
18936
|
+
{
|
|
18937
|
+
"kind": "field",
|
|
18938
|
+
"name": "width",
|
|
18939
|
+
"type": {
|
|
18940
|
+
"text": "string"
|
|
18941
|
+
},
|
|
18942
|
+
"default": "''",
|
|
18943
|
+
"attribute": "width",
|
|
18944
|
+
"reflects": true
|
|
18945
|
+
},
|
|
18946
|
+
{
|
|
18947
|
+
"kind": "field",
|
|
18948
|
+
"name": "minWidth",
|
|
18949
|
+
"type": {
|
|
18950
|
+
"text": "string"
|
|
18951
|
+
},
|
|
18952
|
+
"default": "''",
|
|
18953
|
+
"attribute": "min-width",
|
|
18954
|
+
"reflects": true
|
|
18955
|
+
},
|
|
18956
|
+
{
|
|
18957
|
+
"kind": "field",
|
|
18958
|
+
"name": "maxWidth",
|
|
18959
|
+
"type": {
|
|
18960
|
+
"text": "string"
|
|
18961
|
+
},
|
|
18962
|
+
"default": "''",
|
|
18963
|
+
"attribute": "max-width",
|
|
18964
|
+
"reflects": true
|
|
18965
|
+
},
|
|
17698
18966
|
{
|
|
17699
18967
|
"kind": "field",
|
|
17700
18968
|
"name": "horizontalAlignment",
|
|
@@ -18077,6 +19345,33 @@
|
|
|
18077
19345
|
"fieldName": "lgColumnCount",
|
|
18078
19346
|
"description": "Column count when this container is lg-wide"
|
|
18079
19347
|
},
|
|
19348
|
+
{
|
|
19349
|
+
"name": "width",
|
|
19350
|
+
"type": {
|
|
19351
|
+
"text": "string"
|
|
19352
|
+
},
|
|
19353
|
+
"default": "''",
|
|
19354
|
+
"fieldName": "width",
|
|
19355
|
+
"description": "'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."
|
|
19356
|
+
},
|
|
19357
|
+
{
|
|
19358
|
+
"name": "min-width",
|
|
19359
|
+
"type": {
|
|
19360
|
+
"text": "string"
|
|
19361
|
+
},
|
|
19362
|
+
"default": "''",
|
|
19363
|
+
"fieldName": "minWidth",
|
|
19364
|
+
"description": "Minimum width as a CSS length (e.g. '280px')"
|
|
19365
|
+
},
|
|
19366
|
+
{
|
|
19367
|
+
"name": "max-width",
|
|
19368
|
+
"type": {
|
|
19369
|
+
"text": "string"
|
|
19370
|
+
},
|
|
19371
|
+
"default": "''",
|
|
19372
|
+
"fieldName": "maxWidth",
|
|
19373
|
+
"description": "Maximum width as a CSS length (e.g. '480px')"
|
|
19374
|
+
},
|
|
18080
19375
|
{
|
|
18081
19376
|
"name": "horizontal-alignment",
|
|
18082
19377
|
"type": {
|
|
@@ -19132,7 +20427,7 @@
|
|
|
19132
20427
|
"declarations": [
|
|
19133
20428
|
{
|
|
19134
20429
|
"kind": "class",
|
|
19135
|
-
"description": "
|
|
20430
|
+
"description": "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.",
|
|
19136
20431
|
"name": "NLDDHero",
|
|
19137
20432
|
"members": [
|
|
19138
20433
|
{
|
|
@@ -19194,7 +20489,7 @@
|
|
|
19194
20489
|
"text": "string"
|
|
19195
20490
|
},
|
|
19196
20491
|
"default": "''",
|
|
19197
|
-
"description": "Hybrid media source: media-src renders an internal <img>, but a slotted\nmedia element wins (mirrors nldd-image / nldd-
|
|
20492
|
+
"description": "Hybrid media source: media-src renders an internal <img>, but a slotted\nmedia element wins (mirrors nldd-image / nldd-identity). srcset/sizes/alt\nfeed that internal img.",
|
|
19198
20493
|
"attribute": "media-src"
|
|
19199
20494
|
},
|
|
19200
20495
|
{
|
|
@@ -19430,7 +20725,7 @@
|
|
|
19430
20725
|
},
|
|
19431
20726
|
"default": "'bottom-left'",
|
|
19432
20727
|
"fieldName": "mainPosition",
|
|
19433
|
-
"description": "
|
|
20728
|
+
"description": "Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height"
|
|
19434
20729
|
},
|
|
19435
20730
|
{
|
|
19436
20731
|
"name": "main-width",
|
|
@@ -19439,7 +20734,7 @@
|
|
|
19439
20734
|
},
|
|
19440
20735
|
"default": "'1/2'",
|
|
19441
20736
|
"fieldName": "mainWidth",
|
|
19442
|
-
"description": "
|
|
20737
|
+
"description": "Width of the panel (default: '1/2'); 'full' makes a full top or bottom strip and is ignored with 'left'/'right'"
|
|
19443
20738
|
},
|
|
19444
20739
|
{
|
|
19445
20740
|
"name": "main-background",
|
|
@@ -19448,7 +20743,7 @@
|
|
|
19448
20743
|
},
|
|
19449
20744
|
"default": "'accent'",
|
|
19450
20745
|
"fieldName": "mainBackground",
|
|
19451
|
-
"description": "
|
|
20746
|
+
"description": "Surface color of the panel: 'base' (the base surface) or a category color — 'accent' (default) or a Rijkshuisstijl color such as 'lintblauw'|'donkerblauw'|'oranje'"
|
|
19452
20747
|
},
|
|
19453
20748
|
{
|
|
19454
20749
|
"name": "media-aspect-ratio",
|
|
@@ -19456,7 +20751,7 @@
|
|
|
19456
20751
|
"text": "string"
|
|
19457
20752
|
},
|
|
19458
20753
|
"default": "''",
|
|
19459
|
-
"description": "Aspect ratio
|
|
20754
|
+
"description": "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",
|
|
19460
20755
|
"fieldName": "mediaAspectRatio"
|
|
19461
20756
|
},
|
|
19462
20757
|
{
|
|
@@ -19465,7 +20760,7 @@
|
|
|
19465
20760
|
"text": "string"
|
|
19466
20761
|
},
|
|
19467
20762
|
"default": "''",
|
|
19468
|
-
"description": "Body max-width; 'full'
|
|
20763
|
+
"description": "Body max-width; 'full' removes the bound (section API)",
|
|
19469
20764
|
"fieldName": "width"
|
|
19470
20765
|
},
|
|
19471
20766
|
{
|
|
@@ -19474,7 +20769,7 @@
|
|
|
19474
20769
|
"text": "string"
|
|
19475
20770
|
},
|
|
19476
20771
|
"default": "''",
|
|
19477
|
-
"description": "
|
|
20772
|
+
"description": "Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled",
|
|
19478
20773
|
"fieldName": "mediaSrc"
|
|
19479
20774
|
},
|
|
19480
20775
|
{
|
|
@@ -19484,7 +20779,7 @@
|
|
|
19484
20779
|
},
|
|
19485
20780
|
"default": "''",
|
|
19486
20781
|
"fieldName": "mediaSrcset",
|
|
19487
|
-
"description": "Responsive source set
|
|
20782
|
+
"description": "Responsive source set for media-src"
|
|
19488
20783
|
},
|
|
19489
20784
|
{
|
|
19490
20785
|
"name": "media-sizes",
|
|
@@ -19493,7 +20788,7 @@
|
|
|
19493
20788
|
},
|
|
19494
20789
|
"default": "''",
|
|
19495
20790
|
"fieldName": "mediaSizes",
|
|
19496
|
-
"description": "Source sizes
|
|
20791
|
+
"description": "Source sizes hint for media-src"
|
|
19497
20792
|
},
|
|
19498
20793
|
{
|
|
19499
20794
|
"name": "media-alt",
|
|
@@ -19502,7 +20797,7 @@
|
|
|
19502
20797
|
},
|
|
19503
20798
|
"default": "''",
|
|
19504
20799
|
"fieldName": "mediaAlt",
|
|
19505
|
-
"description": "Alt
|
|
20800
|
+
"description": "Alt text for media-src; empty means decorative"
|
|
19506
20801
|
},
|
|
19507
20802
|
{
|
|
19508
20803
|
"name": "background",
|
|
@@ -19515,7 +20810,7 @@
|
|
|
19515
20810
|
"name": "PageSectionMixin",
|
|
19516
20811
|
"module": "src/utilities/page-section-mixin.ts"
|
|
19517
20812
|
},
|
|
19518
|
-
"description": "Surface
|
|
20813
|
+
"description": "Surface behind the hero (section API)"
|
|
19519
20814
|
},
|
|
19520
20815
|
{
|
|
19521
20816
|
"name": "scheme",
|
|
@@ -19528,7 +20823,7 @@
|
|
|
19528
20823
|
"name": "PageSectionMixin",
|
|
19529
20824
|
"module": "src/utilities/page-section-mixin.ts"
|
|
19530
20825
|
},
|
|
19531
|
-
"description": "
|
|
20826
|
+
"description": "Color scheme (section API)"
|
|
19532
20827
|
},
|
|
19533
20828
|
{
|
|
19534
20829
|
"name": "padding-block",
|
|
@@ -19540,7 +20835,7 @@
|
|
|
19540
20835
|
"name": "PageSectionMixin",
|
|
19541
20836
|
"module": "src/utilities/page-section-mixin.ts"
|
|
19542
20837
|
},
|
|
19543
|
-
"description": "
|
|
20838
|
+
"description": "Block padding override, also per edge and responsive (section API)"
|
|
19544
20839
|
},
|
|
19545
20840
|
{
|
|
19546
20841
|
"name": "padding-top",
|
|
@@ -19673,7 +20968,7 @@
|
|
|
19673
20968
|
"name": "PageSectionMixin",
|
|
19674
20969
|
"module": "src/utilities/page-section-mixin.ts"
|
|
19675
20970
|
},
|
|
19676
|
-
"description": "
|
|
20971
|
+
"description": "Minimum height of the section (section API)"
|
|
19677
20972
|
}
|
|
19678
20973
|
],
|
|
19679
20974
|
"mixins": [
|
|
@@ -19691,11 +20986,11 @@
|
|
|
19691
20986
|
"slots": [
|
|
19692
20987
|
{
|
|
19693
20988
|
"name": "media",
|
|
19694
|
-
"description": "
|
|
20989
|
+
"description": "Image or illustration (img or nldd-image); fills the area and is clipped. Takes precedence over the media-src attributes. Set `alt=\"\"` when the image is decorative; otherwise give a describing alt text."
|
|
19695
20990
|
},
|
|
19696
20991
|
{
|
|
19697
20992
|
"name": "",
|
|
19698
|
-
"description": "
|
|
20993
|
+
"description": "Content of the text panel (nldd-title and nldd-rich-text with color=\"inherit\", for instance)"
|
|
19699
20994
|
}
|
|
19700
20995
|
]
|
|
19701
20996
|
}
|
|
@@ -21316,6 +22611,27 @@
|
|
|
21316
22611
|
"attribute": "width",
|
|
21317
22612
|
"reflects": true
|
|
21318
22613
|
},
|
|
22614
|
+
{
|
|
22615
|
+
"kind": "field",
|
|
22616
|
+
"name": "horizontalAlignment",
|
|
22617
|
+
"type": {
|
|
22618
|
+
"text": "HorizontalAlignment"
|
|
22619
|
+
},
|
|
22620
|
+
"default": "'left'",
|
|
22621
|
+
"description": "Where the body's children sit; the body itself keeps its own max-width.",
|
|
22622
|
+
"attribute": "horizontal-alignment",
|
|
22623
|
+
"reflects": true
|
|
22624
|
+
},
|
|
22625
|
+
{
|
|
22626
|
+
"kind": "field",
|
|
22627
|
+
"name": "verticalAlignment",
|
|
22628
|
+
"type": {
|
|
22629
|
+
"text": "VerticalAlignment"
|
|
22630
|
+
},
|
|
22631
|
+
"default": "'top'",
|
|
22632
|
+
"attribute": "vertical-alignment",
|
|
22633
|
+
"reflects": true
|
|
22634
|
+
},
|
|
21319
22635
|
{
|
|
21320
22636
|
"kind": "field",
|
|
21321
22637
|
"name": "background",
|
|
@@ -21524,6 +22840,24 @@
|
|
|
21524
22840
|
"description": "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.",
|
|
21525
22841
|
"fieldName": "width"
|
|
21526
22842
|
},
|
|
22843
|
+
{
|
|
22844
|
+
"name": "horizontal-alignment",
|
|
22845
|
+
"type": {
|
|
22846
|
+
"text": "HorizontalAlignment"
|
|
22847
|
+
},
|
|
22848
|
+
"default": "'left'",
|
|
22849
|
+
"description": "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.",
|
|
22850
|
+
"fieldName": "horizontalAlignment"
|
|
22851
|
+
},
|
|
22852
|
+
{
|
|
22853
|
+
"name": "vertical-alignment",
|
|
22854
|
+
"type": {
|
|
22855
|
+
"text": "VerticalAlignment"
|
|
22856
|
+
},
|
|
22857
|
+
"default": "'top'",
|
|
22858
|
+
"fieldName": "verticalAlignment",
|
|
22859
|
+
"description": "Where the body's children sit down the section ('top' default). Only visible when the section is taller than its content."
|
|
22860
|
+
},
|
|
21527
22861
|
{
|
|
21528
22862
|
"name": "background",
|
|
21529
22863
|
"type": {
|
|
@@ -22328,7 +23662,7 @@
|
|
|
22328
23662
|
"declarations": [
|
|
22329
23663
|
{
|
|
22330
23664
|
"kind": "class",
|
|
22331
|
-
"description": "
|
|
23665
|
+
"description": "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.",
|
|
22332
23666
|
"name": "NLDDPopover",
|
|
22333
23667
|
"members": [
|
|
22334
23668
|
{
|
|
@@ -22501,7 +23835,7 @@
|
|
|
22501
23835
|
},
|
|
22502
23836
|
"default": "''",
|
|
22503
23837
|
"fieldName": "anchor",
|
|
22504
|
-
"description": "ID
|
|
23838
|
+
"description": "ID of the trigger element, used for positioning"
|
|
22505
23839
|
},
|
|
22506
23840
|
{
|
|
22507
23841
|
"name": "placement",
|
|
@@ -22518,7 +23852,7 @@
|
|
|
22518
23852
|
"text": "string | undefined"
|
|
22519
23853
|
},
|
|
22520
23854
|
"fieldName": "width",
|
|
22521
|
-
"description": "
|
|
23855
|
+
"description": "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."
|
|
22522
23856
|
},
|
|
22523
23857
|
{
|
|
22524
23858
|
"name": "top",
|
|
@@ -22527,7 +23861,7 @@
|
|
|
22527
23861
|
},
|
|
22528
23862
|
"default": "undefined",
|
|
22529
23863
|
"fieldName": "top",
|
|
22530
|
-
"description": "CSS top
|
|
23864
|
+
"description": "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."
|
|
22531
23865
|
},
|
|
22532
23866
|
{
|
|
22533
23867
|
"name": "left",
|
|
@@ -22536,7 +23870,7 @@
|
|
|
22536
23870
|
},
|
|
22537
23871
|
"default": "undefined",
|
|
22538
23872
|
"fieldName": "left",
|
|
22539
|
-
"description": "CSS left
|
|
23873
|
+
"description": "CSS left position. See `top` for the semantics."
|
|
22540
23874
|
},
|
|
22541
23875
|
{
|
|
22542
23876
|
"name": "right",
|
|
@@ -22545,7 +23879,7 @@
|
|
|
22545
23879
|
},
|
|
22546
23880
|
"default": "undefined",
|
|
22547
23881
|
"fieldName": "right",
|
|
22548
|
-
"description": "CSS right
|
|
23882
|
+
"description": "CSS right position. See `top` for the semantics."
|
|
22549
23883
|
},
|
|
22550
23884
|
{
|
|
22551
23885
|
"name": "bottom",
|
|
@@ -22554,7 +23888,7 @@
|
|
|
22554
23888
|
},
|
|
22555
23889
|
"default": "undefined",
|
|
22556
23890
|
"fieldName": "bottom",
|
|
22557
|
-
"description": "CSS bottom
|
|
23891
|
+
"description": "CSS bottom position. See `top` for the semantics."
|
|
22558
23892
|
},
|
|
22559
23893
|
{
|
|
22560
23894
|
"name": "centered",
|
|
@@ -22563,7 +23897,7 @@
|
|
|
22563
23897
|
},
|
|
22564
23898
|
"default": "false",
|
|
22565
23899
|
"fieldName": "centered",
|
|
22566
|
-
"description": "
|
|
23900
|
+
"description": "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."
|
|
22567
23901
|
},
|
|
22568
23902
|
{
|
|
22569
23903
|
"name": "sm-full-height",
|
|
@@ -22572,7 +23906,7 @@
|
|
|
22572
23906
|
},
|
|
22573
23907
|
"default": "false",
|
|
22574
23908
|
"fieldName": "smFullHeight",
|
|
22575
|
-
"description": "
|
|
23909
|
+
"description": "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."
|
|
22576
23910
|
},
|
|
22577
23911
|
{
|
|
22578
23912
|
"name": "accessible-label",
|
|
@@ -22581,7 +23915,7 @@
|
|
|
22581
23915
|
},
|
|
22582
23916
|
"default": "''",
|
|
22583
23917
|
"fieldName": "accessibleLabel",
|
|
22584
|
-
"description": "(
|
|
23918
|
+
"description": "(required) Accessible name (aria-label). Falls back to the i18n default ('Popover') when unset — always give a unique, describing name."
|
|
22585
23919
|
},
|
|
22586
23920
|
{
|
|
22587
23921
|
"name": "translations",
|
|
@@ -22589,7 +23923,7 @@
|
|
|
22589
23923
|
"text": "Partial<NLDDPopoverTranslations>"
|
|
22590
23924
|
},
|
|
22591
23925
|
"default": "{}",
|
|
22592
|
-
"description": "Override translation keys; unset keys
|
|
23926
|
+
"description": "Override translation keys; unset keys fall back to the Dutch default.",
|
|
22593
23927
|
"fieldName": "translations"
|
|
22594
23928
|
}
|
|
22595
23929
|
],
|
|
@@ -22602,17 +23936,17 @@
|
|
|
22602
23936
|
"events": [
|
|
22603
23937
|
{
|
|
22604
23938
|
"name": "open",
|
|
22605
|
-
"description": "
|
|
23939
|
+
"description": "When the popover opens"
|
|
22606
23940
|
},
|
|
22607
23941
|
{
|
|
22608
23942
|
"name": "close",
|
|
22609
|
-
"description": "
|
|
23943
|
+
"description": "When the popover closes"
|
|
22610
23944
|
}
|
|
22611
23945
|
],
|
|
22612
23946
|
"slots": [
|
|
22613
23947
|
{
|
|
22614
23948
|
"name": "",
|
|
22615
|
-
"description": "
|
|
23949
|
+
"description": "Free content (an nldd-container with a form or info, for instance)"
|
|
22616
23950
|
}
|
|
22617
23951
|
]
|
|
22618
23952
|
}
|
|
@@ -25029,7 +26363,7 @@
|
|
|
25029
26363
|
"declarations": [
|
|
25030
26364
|
{
|
|
25031
26365
|
"kind": "class",
|
|
25032
|
-
"description": "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.
|
|
26366
|
+
"description": "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.",
|
|
25033
26367
|
"name": "NLDDTimelineTrackCell",
|
|
25034
26368
|
"members": [
|
|
25035
26369
|
{
|
|
@@ -25146,7 +26480,7 @@
|
|
|
25146
26480
|
},
|
|
25147
26481
|
"default": "'past'",
|
|
25148
26482
|
"fieldName": "status",
|
|
25149
|
-
"description": "Status
|
|
26483
|
+
"description": "Status of this step (default 'past'); the same values as `nldd-step-indicator-item`. `none` draws the line only, without a dot"
|
|
25150
26484
|
},
|
|
25151
26485
|
{
|
|
25152
26486
|
"name": "variant",
|
|
@@ -25155,7 +26489,7 @@
|
|
|
25155
26489
|
},
|
|
25156
26490
|
"default": "'dot'",
|
|
25157
26491
|
"fieldName": "variant",
|
|
25158
|
-
"description": "
|
|
26492
|
+
"description": "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"
|
|
25159
26493
|
},
|
|
25160
26494
|
{
|
|
25161
26495
|
"name": "minor",
|
|
@@ -25163,7 +26497,7 @@
|
|
|
25163
26497
|
"text": "boolean"
|
|
25164
26498
|
},
|
|
25165
26499
|
"default": "false",
|
|
25166
|
-
"description": "
|
|
26500
|
+
"description": "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",
|
|
25167
26501
|
"fieldName": "minor"
|
|
25168
26502
|
},
|
|
25169
26503
|
{
|
|
@@ -25172,7 +26506,7 @@
|
|
|
25172
26506
|
"text": "Direction"
|
|
25173
26507
|
},
|
|
25174
26508
|
"default": "'down'",
|
|
25175
|
-
"description": "
|
|
26509
|
+
"description": "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",
|
|
25176
26510
|
"fieldName": "direction"
|
|
25177
26511
|
},
|
|
25178
26512
|
{
|
|
@@ -25182,7 +26516,7 @@
|
|
|
25182
26516
|
},
|
|
25183
26517
|
"default": "'between'",
|
|
25184
26518
|
"fieldName": "position",
|
|
25185
|
-
"description": "
|
|
26519
|
+
"description": "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"
|
|
25186
26520
|
},
|
|
25187
26521
|
{
|
|
25188
26522
|
"name": "text",
|
|
@@ -25191,7 +26525,7 @@
|
|
|
25191
26525
|
},
|
|
25192
26526
|
"default": "''",
|
|
25193
26527
|
"fieldName": "text",
|
|
25194
|
-
"description": "
|
|
26528
|
+
"description": "Number or short text in the dot"
|
|
25195
26529
|
},
|
|
25196
26530
|
{
|
|
25197
26531
|
"name": "icon",
|
|
@@ -25200,7 +26534,7 @@
|
|
|
25200
26534
|
},
|
|
25201
26535
|
"default": "''",
|
|
25202
26536
|
"fieldName": "icon",
|
|
25203
|
-
"description": "
|
|
26537
|
+
"description": "Icon name in the dot; wins over `text`"
|
|
25204
26538
|
},
|
|
25205
26539
|
{
|
|
25206
26540
|
"name": "hide-below",
|
|
@@ -25240,7 +26574,7 @@
|
|
|
25240
26574
|
"slots": [
|
|
25241
26575
|
{
|
|
25242
26576
|
"name": "",
|
|
25243
|
-
"description": "
|
|
26577
|
+
"description": "Custom content in the dot (an alternative to `text` and `icon`)"
|
|
25244
26578
|
}
|
|
25245
26579
|
]
|
|
25246
26580
|
}
|
|
@@ -25927,7 +27261,7 @@
|
|
|
25927
27261
|
"declarations": [
|
|
25928
27262
|
{
|
|
25929
27263
|
"kind": "class",
|
|
25930
|
-
"description": "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.
|
|
27264
|
+
"description": "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`).",
|
|
25931
27265
|
"name": "NLDDListItem",
|
|
25932
27266
|
"slots": [
|
|
25933
27267
|
{
|
|
@@ -26272,16 +27606,6 @@
|
|
|
26272
27606
|
"attribute": "variant",
|
|
26273
27607
|
"reflects": true
|
|
26274
27608
|
},
|
|
26275
|
-
{
|
|
26276
|
-
"kind": "field",
|
|
26277
|
-
"name": "background",
|
|
26278
|
-
"type": {
|
|
26279
|
-
"text": "ListBackground | undefined"
|
|
26280
|
-
},
|
|
26281
|
-
"description": "Surface fill for `variant=\"box\"`. `tinted` (default) for a list on\na plain page; `base` for a list on an already-tinted parent. No\neffect when `variant=\"simple\"`.",
|
|
26282
|
-
"attribute": "background",
|
|
26283
|
-
"reflects": true
|
|
26284
|
-
},
|
|
26285
27609
|
{
|
|
26286
27610
|
"kind": "field",
|
|
26287
27611
|
"name": "type",
|
|
@@ -26306,13 +27630,13 @@
|
|
|
26306
27630
|
},
|
|
26307
27631
|
{
|
|
26308
27632
|
"kind": "field",
|
|
26309
|
-
"name": "
|
|
27633
|
+
"name": "dividers",
|
|
26310
27634
|
"type": {
|
|
26311
|
-
"text": "
|
|
27635
|
+
"text": "ListDividers"
|
|
26312
27636
|
},
|
|
26313
|
-
"default": "
|
|
26314
|
-
"description": "
|
|
26315
|
-
"attribute": "
|
|
27637
|
+
"default": "'always'",
|
|
27638
|
+
"description": "When to draw the lines between the items. `on-touch` draws them where the\nprimary input is touch: a pointer has the hover highlight to tell one row\nfrom the next, and a finger has nothing.",
|
|
27639
|
+
"attribute": "dividers",
|
|
26316
27640
|
"reflects": true
|
|
26317
27641
|
},
|
|
26318
27642
|
{
|
|
@@ -26395,19 +27719,11 @@
|
|
|
26395
27719
|
"type": {
|
|
26396
27720
|
"text": "ListVariant"
|
|
26397
27721
|
},
|
|
26398
|
-
"description": "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",
|
|
27722
|
+
"description": "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)",
|
|
26399
27723
|
"name": "variant",
|
|
26400
27724
|
"default": "'simple'",
|
|
26401
27725
|
"fieldName": "variant"
|
|
26402
27726
|
},
|
|
26403
|
-
{
|
|
26404
|
-
"type": {
|
|
26405
|
-
"text": "ListBackground | undefined"
|
|
26406
|
-
},
|
|
26407
|
-
"description": "Surface fill for `variant=\"box\"` (default 'tinted'). Use `base` on an already-tinted parent. No effect with `variant=\"simple\"`.",
|
|
26408
|
-
"name": "background",
|
|
26409
|
-
"fieldName": "background"
|
|
26410
|
-
},
|
|
26411
27727
|
{
|
|
26412
27728
|
"type": {
|
|
26413
27729
|
"text": "ListType"
|
|
@@ -26428,12 +27744,12 @@
|
|
|
26428
27744
|
},
|
|
26429
27745
|
{
|
|
26430
27746
|
"type": {
|
|
26431
|
-
"text": "
|
|
27747
|
+
"text": "ListDividers"
|
|
26432
27748
|
},
|
|
26433
|
-
"description": "
|
|
26434
|
-
"name": "
|
|
26435
|
-
"default": "
|
|
26436
|
-
"fieldName": "
|
|
27749
|
+
"description": "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",
|
|
27750
|
+
"name": "dividers",
|
|
27751
|
+
"default": "'always'",
|
|
27752
|
+
"fieldName": "dividers"
|
|
26437
27753
|
},
|
|
26438
27754
|
{
|
|
26439
27755
|
"type": {
|
|
@@ -28913,7 +30229,7 @@
|
|
|
28913
30229
|
"declarations": [
|
|
28914
30230
|
{
|
|
28915
30231
|
"kind": "class",
|
|
28916
|
-
"description": "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).",
|
|
30232
|
+
"description": "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.",
|
|
28917
30233
|
"name": "NLDDTopTitleBar",
|
|
28918
30234
|
"members": [
|
|
28919
30235
|
{
|
|
@@ -29265,9 +30581,19 @@
|
|
|
29265
30581
|
"declarations": [
|
|
29266
30582
|
{
|
|
29267
30583
|
"kind": "class",
|
|
29268
|
-
"description": "
|
|
30584
|
+
"description": "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`.",
|
|
29269
30585
|
"name": "NLDDBadge",
|
|
29270
30586
|
"members": [
|
|
30587
|
+
{
|
|
30588
|
+
"kind": "field",
|
|
30589
|
+
"name": "size",
|
|
30590
|
+
"type": {
|
|
30591
|
+
"text": "Size"
|
|
30592
|
+
},
|
|
30593
|
+
"default": "'md'",
|
|
30594
|
+
"attribute": "size",
|
|
30595
|
+
"reflects": true
|
|
30596
|
+
},
|
|
29271
30597
|
{
|
|
29272
30598
|
"kind": "field",
|
|
29273
30599
|
"name": "color",
|
|
@@ -29280,12 +30606,12 @@
|
|
|
29280
30606
|
},
|
|
29281
30607
|
{
|
|
29282
30608
|
"kind": "field",
|
|
29283
|
-
"name": "
|
|
30609
|
+
"name": "pulse",
|
|
29284
30610
|
"type": {
|
|
29285
|
-
"text": "
|
|
30611
|
+
"text": "boolean"
|
|
29286
30612
|
},
|
|
29287
|
-
"default": "
|
|
29288
|
-
"attribute": "
|
|
30613
|
+
"default": "false",
|
|
30614
|
+
"attribute": "pulse",
|
|
29289
30615
|
"reflects": true
|
|
29290
30616
|
},
|
|
29291
30617
|
{
|
|
@@ -29336,6 +30662,16 @@
|
|
|
29336
30662
|
"default": "''",
|
|
29337
30663
|
"attribute": "accessible-label"
|
|
29338
30664
|
},
|
|
30665
|
+
{
|
|
30666
|
+
"kind": "field",
|
|
30667
|
+
"name": "decorative",
|
|
30668
|
+
"type": {
|
|
30669
|
+
"text": "boolean"
|
|
30670
|
+
},
|
|
30671
|
+
"default": "false",
|
|
30672
|
+
"attribute": "decorative",
|
|
30673
|
+
"reflects": true
|
|
30674
|
+
},
|
|
29339
30675
|
{
|
|
29340
30676
|
"kind": "field",
|
|
29341
30677
|
"name": "translations",
|
|
@@ -29351,6 +30687,15 @@
|
|
|
29351
30687
|
}
|
|
29352
30688
|
],
|
|
29353
30689
|
"attributes": [
|
|
30690
|
+
{
|
|
30691
|
+
"name": "size",
|
|
30692
|
+
"type": {
|
|
30693
|
+
"text": "Size"
|
|
30694
|
+
},
|
|
30695
|
+
"default": "'md'",
|
|
30696
|
+
"fieldName": "size",
|
|
30697
|
+
"description": "Size: 'sm' | 'md' (default: 'md')"
|
|
30698
|
+
},
|
|
29354
30699
|
{
|
|
29355
30700
|
"name": "color",
|
|
29356
30701
|
"type": {
|
|
@@ -29358,16 +30703,16 @@
|
|
|
29358
30703
|
},
|
|
29359
30704
|
"default": "'critical'",
|
|
29360
30705
|
"fieldName": "color",
|
|
29361
|
-
"description": "
|
|
30706
|
+
"description": "Semantic ('critical' | 'accent' | 'neutral' | 'warning' | 'success') or a Rijkshuisstijl color ('lintblauw' | 'hemelblauw' | 'oranje' | …). Default: 'critical'"
|
|
29362
30707
|
},
|
|
29363
30708
|
{
|
|
29364
|
-
"name": "
|
|
30709
|
+
"name": "pulse",
|
|
29365
30710
|
"type": {
|
|
29366
|
-
"text": "
|
|
30711
|
+
"text": "boolean"
|
|
29367
30712
|
},
|
|
29368
|
-
"default": "
|
|
29369
|
-
"fieldName": "
|
|
29370
|
-
"description": "
|
|
30713
|
+
"default": "false",
|
|
30714
|
+
"fieldName": "pulse",
|
|
30715
|
+
"description": "Grows a ring out of the badge and fades it, for something happening right now (a live connection, an outage). Respects `prefers-reduced-motion`."
|
|
29371
30716
|
},
|
|
29372
30717
|
{
|
|
29373
30718
|
"name": "text",
|
|
@@ -29376,7 +30721,7 @@
|
|
|
29376
30721
|
},
|
|
29377
30722
|
"default": "''",
|
|
29378
30723
|
"fieldName": "text",
|
|
29379
|
-
"description": "
|
|
30724
|
+
"description": "Text (takes precedence over number)"
|
|
29380
30725
|
},
|
|
29381
30726
|
{
|
|
29382
30727
|
"name": "number",
|
|
@@ -29385,7 +30730,7 @@
|
|
|
29385
30730
|
},
|
|
29386
30731
|
"default": "undefined",
|
|
29387
30732
|
"fieldName": "number",
|
|
29388
|
-
"description": "
|
|
30733
|
+
"description": "Numeric value. Shortened when it is over max"
|
|
29389
30734
|
},
|
|
29390
30735
|
{
|
|
29391
30736
|
"name": "max",
|
|
@@ -29394,7 +30739,7 @@
|
|
|
29394
30739
|
},
|
|
29395
30740
|
"default": "99",
|
|
29396
30741
|
"fieldName": "max",
|
|
29397
|
-
"description": "
|
|
30742
|
+
"description": "Value above which number is shown as \"{max}+\" (default: 99)"
|
|
29398
30743
|
},
|
|
29399
30744
|
{
|
|
29400
30745
|
"name": "icon",
|
|
@@ -29403,7 +30748,7 @@
|
|
|
29403
30748
|
},
|
|
29404
30749
|
"default": "''",
|
|
29405
30750
|
"fieldName": "icon",
|
|
29406
|
-
"description": "
|
|
30751
|
+
"description": "Icon name. Icon-only renders as a square; with text or number the icon goes on the left."
|
|
29407
30752
|
},
|
|
29408
30753
|
{
|
|
29409
30754
|
"name": "accessible-label",
|
|
@@ -29412,7 +30757,16 @@
|
|
|
29412
30757
|
},
|
|
29413
30758
|
"default": "''",
|
|
29414
30759
|
"fieldName": "accessibleLabel",
|
|
29415
|
-
"description": "
|
|
30760
|
+
"description": "Accessible label for screen readers. Falls back to text/number; otherwise to the i18n default (\"Notificatie\")."
|
|
30761
|
+
},
|
|
30762
|
+
{
|
|
30763
|
+
"name": "decorative",
|
|
30764
|
+
"type": {
|
|
30765
|
+
"text": "boolean"
|
|
30766
|
+
},
|
|
30767
|
+
"default": "false",
|
|
30768
|
+
"fieldName": "decorative",
|
|
30769
|
+
"description": "Hides the badge from assistive software (use when the text beside it says the same, such as a dot next to a status word)"
|
|
29416
30770
|
},
|
|
29417
30771
|
{
|
|
29418
30772
|
"name": "translations",
|
|
@@ -30014,43 +31368,280 @@
|
|
|
30014
31368
|
"description": "Pijllengte en dus de afstand tussen card en control, als CSS-lengte (bijv. \\`333px\\`, \\`30vh\\`). Leeg = DS-standaard; onder 40px wordt geklemd."
|
|
30015
31369
|
},
|
|
30016
31370
|
{
|
|
30017
|
-
"name": "no-arrow",
|
|
31371
|
+
"name": "no-arrow",
|
|
31372
|
+
"type": {
|
|
31373
|
+
"text": "boolean"
|
|
31374
|
+
},
|
|
31375
|
+
"default": "false",
|
|
31376
|
+
"fieldName": "noArrow",
|
|
31377
|
+
"description": "Verberg de pijl; de card staat dan dicht tegen het control."
|
|
31378
|
+
},
|
|
31379
|
+
{
|
|
31380
|
+
"name": "translations",
|
|
31381
|
+
"type": {
|
|
31382
|
+
"text": "Partial<T>"
|
|
31383
|
+
},
|
|
31384
|
+
"default": "{}",
|
|
31385
|
+
"fieldName": "translations",
|
|
31386
|
+
"inheritedFrom": {
|
|
31387
|
+
"name": "withTranslations",
|
|
31388
|
+
"module": "src/utilities/with-translations.ts"
|
|
31389
|
+
}
|
|
31390
|
+
}
|
|
31391
|
+
],
|
|
31392
|
+
"mixins": [
|
|
31393
|
+
{
|
|
31394
|
+
"name": "withTranslations",
|
|
31395
|
+
"module": "/src/utilities/with-translations.js"
|
|
31396
|
+
}
|
|
31397
|
+
],
|
|
31398
|
+
"superclass": {
|
|
31399
|
+
"name": "LitElement",
|
|
31400
|
+
"package": "lit"
|
|
31401
|
+
},
|
|
31402
|
+
"tagName": "nldd-just-in-time-education",
|
|
31403
|
+
"customElement": true,
|
|
31404
|
+
"slots": [
|
|
31405
|
+
{
|
|
31406
|
+
"name": "",
|
|
31407
|
+
"description": "Het control waar de coach-mark naar wijst (blijft in de normale flow)."
|
|
31408
|
+
}
|
|
31409
|
+
]
|
|
31410
|
+
}
|
|
31411
|
+
],
|
|
31412
|
+
"exports": [
|
|
31413
|
+
{
|
|
31414
|
+
"kind": "js",
|
|
31415
|
+
"name": "NLDDJustInTimeEducation",
|
|
31416
|
+
"declaration": {
|
|
31417
|
+
"name": "NLDDJustInTimeEducation",
|
|
31418
|
+
"module": "src/components/status-and-feedback/just-in-time-education/just-in-time-education.ts"
|
|
31419
|
+
}
|
|
31420
|
+
},
|
|
31421
|
+
{
|
|
31422
|
+
"kind": "custom-element-definition",
|
|
31423
|
+
"name": "nldd-just-in-time-education",
|
|
31424
|
+
"declaration": {
|
|
31425
|
+
"name": "NLDDJustInTimeEducation",
|
|
31426
|
+
"module": "src/components/status-and-feedback/just-in-time-education/just-in-time-education.ts"
|
|
31427
|
+
}
|
|
31428
|
+
}
|
|
31429
|
+
]
|
|
31430
|
+
},
|
|
31431
|
+
{
|
|
31432
|
+
"kind": "javascript-module",
|
|
31433
|
+
"path": "src/components/status-and-feedback/modal-dialog/modal-dialog.ts",
|
|
31434
|
+
"declarations": [
|
|
31435
|
+
{
|
|
31436
|
+
"kind": "class",
|
|
31437
|
+
"description": "A modal window with overlay backdrop, based on the native <dialog> element. Internally renders an <nldd-inline-dialog> for the visual structure.",
|
|
31438
|
+
"name": "NLDDModalDialog",
|
|
31439
|
+
"members": [
|
|
31440
|
+
{
|
|
31441
|
+
"kind": "field",
|
|
31442
|
+
"name": "variant",
|
|
31443
|
+
"type": {
|
|
31444
|
+
"text": "InlineDialogVariant | ''"
|
|
31445
|
+
},
|
|
31446
|
+
"default": "''",
|
|
31447
|
+
"attribute": "variant",
|
|
31448
|
+
"reflects": true
|
|
31449
|
+
},
|
|
31450
|
+
{
|
|
31451
|
+
"kind": "field",
|
|
31452
|
+
"name": "icon",
|
|
31453
|
+
"type": {
|
|
31454
|
+
"text": "string"
|
|
31455
|
+
},
|
|
31456
|
+
"default": "''",
|
|
31457
|
+
"attribute": "icon",
|
|
31458
|
+
"reflects": true
|
|
31459
|
+
},
|
|
31460
|
+
{
|
|
31461
|
+
"kind": "field",
|
|
31462
|
+
"name": "text",
|
|
31463
|
+
"type": {
|
|
31464
|
+
"text": "string"
|
|
31465
|
+
},
|
|
31466
|
+
"default": "''",
|
|
31467
|
+
"attribute": "text",
|
|
31468
|
+
"reflects": true
|
|
31469
|
+
},
|
|
31470
|
+
{
|
|
31471
|
+
"kind": "field",
|
|
31472
|
+
"name": "supportingText",
|
|
31473
|
+
"type": {
|
|
31474
|
+
"text": "string"
|
|
31475
|
+
},
|
|
31476
|
+
"default": "''",
|
|
31477
|
+
"attribute": "supporting-text",
|
|
31478
|
+
"reflects": true
|
|
31479
|
+
},
|
|
31480
|
+
{
|
|
31481
|
+
"kind": "field",
|
|
31482
|
+
"name": "accessibleLabel",
|
|
31483
|
+
"type": {
|
|
31484
|
+
"text": "string"
|
|
31485
|
+
},
|
|
31486
|
+
"default": "''",
|
|
31487
|
+
"description": "Accessible name for the dialog — forwarded as aria-label. Falls back to text.",
|
|
31488
|
+
"attribute": "accessible-label"
|
|
31489
|
+
},
|
|
31490
|
+
{
|
|
31491
|
+
"kind": "method",
|
|
31492
|
+
"name": "show",
|
|
31493
|
+
"return": {
|
|
31494
|
+
"type": {
|
|
31495
|
+
"text": "void"
|
|
31496
|
+
}
|
|
31497
|
+
}
|
|
31498
|
+
},
|
|
31499
|
+
{
|
|
31500
|
+
"kind": "method",
|
|
31501
|
+
"name": "hide",
|
|
31502
|
+
"return": {
|
|
31503
|
+
"type": {
|
|
31504
|
+
"text": "void"
|
|
31505
|
+
}
|
|
31506
|
+
}
|
|
31507
|
+
}
|
|
31508
|
+
],
|
|
31509
|
+
"events": [
|
|
31510
|
+
{
|
|
31511
|
+
"name": "open",
|
|
31512
|
+
"description": "When the dialog is opened"
|
|
31513
|
+
},
|
|
31514
|
+
{
|
|
31515
|
+
"name": "close",
|
|
31516
|
+
"description": "When the dialog is fully closed"
|
|
31517
|
+
}
|
|
31518
|
+
],
|
|
31519
|
+
"attributes": [
|
|
31520
|
+
{
|
|
31521
|
+
"name": "variant",
|
|
31522
|
+
"type": {
|
|
31523
|
+
"text": "InlineDialogVariant | ''"
|
|
31524
|
+
},
|
|
31525
|
+
"default": "''",
|
|
31526
|
+
"fieldName": "variant",
|
|
31527
|
+
"description": "Forwarded to nldd-inline-dialog; 'alert' forces icon and color"
|
|
31528
|
+
},
|
|
31529
|
+
{
|
|
31530
|
+
"name": "icon",
|
|
31531
|
+
"type": {
|
|
31532
|
+
"text": "string"
|
|
31533
|
+
},
|
|
31534
|
+
"default": "''",
|
|
31535
|
+
"fieldName": "icon",
|
|
31536
|
+
"description": "Forwarded to nldd-inline-dialog; absent when not set"
|
|
31537
|
+
},
|
|
31538
|
+
{
|
|
31539
|
+
"name": "text",
|
|
31540
|
+
"type": {
|
|
31541
|
+
"text": "string"
|
|
31542
|
+
},
|
|
31543
|
+
"default": "''",
|
|
31544
|
+
"fieldName": "text",
|
|
31545
|
+
"description": "Forwarded to nldd-inline-dialog; main text"
|
|
31546
|
+
},
|
|
31547
|
+
{
|
|
31548
|
+
"name": "supporting-text",
|
|
31549
|
+
"type": {
|
|
31550
|
+
"text": "string"
|
|
31551
|
+
},
|
|
31552
|
+
"default": "''",
|
|
31553
|
+
"fieldName": "supportingText",
|
|
31554
|
+
"description": "Forwarded to nldd-inline-dialog; supporting text"
|
|
31555
|
+
},
|
|
31556
|
+
{
|
|
31557
|
+
"name": "accessible-label",
|
|
31558
|
+
"type": {
|
|
31559
|
+
"text": "string"
|
|
31560
|
+
},
|
|
31561
|
+
"default": "''",
|
|
31562
|
+
"description": "Accessible name for the dialog (aria-label); falls back to text",
|
|
31563
|
+
"fieldName": "accessibleLabel"
|
|
31564
|
+
}
|
|
31565
|
+
],
|
|
31566
|
+
"superclass": {
|
|
31567
|
+
"name": "LitElement",
|
|
31568
|
+
"package": "lit"
|
|
31569
|
+
},
|
|
31570
|
+
"tagName": "nldd-modal-dialog",
|
|
31571
|
+
"customElement": true,
|
|
31572
|
+
"slots": [
|
|
31573
|
+
{
|
|
31574
|
+
"name": "",
|
|
31575
|
+
"description": "Optional custom content, forwarded to nldd-inline-dialog"
|
|
31576
|
+
},
|
|
31577
|
+
{
|
|
31578
|
+
"name": "actions",
|
|
31579
|
+
"description": "nldd-button elements, forwarded to nldd-inline-dialog"
|
|
31580
|
+
}
|
|
31581
|
+
]
|
|
31582
|
+
}
|
|
31583
|
+
],
|
|
31584
|
+
"exports": [
|
|
31585
|
+
{
|
|
31586
|
+
"kind": "js",
|
|
31587
|
+
"name": "NLDDModalDialog",
|
|
31588
|
+
"declaration": {
|
|
31589
|
+
"name": "NLDDModalDialog",
|
|
31590
|
+
"module": "src/components/status-and-feedback/modal-dialog/modal-dialog.ts"
|
|
31591
|
+
}
|
|
31592
|
+
},
|
|
31593
|
+
{
|
|
31594
|
+
"kind": "custom-element-definition",
|
|
31595
|
+
"name": "nldd-modal-dialog",
|
|
31596
|
+
"declaration": {
|
|
31597
|
+
"name": "NLDDModalDialog",
|
|
31598
|
+
"module": "src/components/status-and-feedback/modal-dialog/modal-dialog.ts"
|
|
31599
|
+
}
|
|
31600
|
+
}
|
|
31601
|
+
]
|
|
31602
|
+
},
|
|
31603
|
+
{
|
|
31604
|
+
"kind": "javascript-module",
|
|
31605
|
+
"path": "src/components/status-and-feedback/notification/notification-region.ts",
|
|
31606
|
+
"declarations": [
|
|
31607
|
+
{
|
|
31608
|
+
"kind": "function",
|
|
31609
|
+
"name": "joinRegion",
|
|
31610
|
+
"return": {
|
|
31611
|
+
"type": {
|
|
31612
|
+
"text": "void"
|
|
31613
|
+
}
|
|
31614
|
+
},
|
|
31615
|
+
"parameters": [
|
|
31616
|
+
{
|
|
31617
|
+
"name": "notification",
|
|
30018
31618
|
"type": {
|
|
30019
|
-
"text": "
|
|
30020
|
-
}
|
|
30021
|
-
"default": "false",
|
|
30022
|
-
"fieldName": "noArrow",
|
|
30023
|
-
"description": "Verberg de pijl; de card staat dan dicht tegen het control."
|
|
31619
|
+
"text": "NLDDNotification"
|
|
31620
|
+
}
|
|
30024
31621
|
},
|
|
30025
31622
|
{
|
|
30026
|
-
"name": "
|
|
31623
|
+
"name": "label",
|
|
30027
31624
|
"type": {
|
|
30028
|
-
"text": "
|
|
30029
|
-
},
|
|
30030
|
-
"default": "{}",
|
|
30031
|
-
"fieldName": "translations",
|
|
30032
|
-
"inheritedFrom": {
|
|
30033
|
-
"name": "withTranslations",
|
|
30034
|
-
"module": "src/utilities/with-translations.ts"
|
|
31625
|
+
"text": "string"
|
|
30035
31626
|
}
|
|
30036
31627
|
}
|
|
30037
31628
|
],
|
|
30038
|
-
"
|
|
30039
|
-
|
|
30040
|
-
|
|
30041
|
-
|
|
31629
|
+
"description": "Newest in front: what just happened is what you want to read, and the older\nones slide back and downwards behind it."
|
|
31630
|
+
},
|
|
31631
|
+
{
|
|
31632
|
+
"kind": "function",
|
|
31633
|
+
"name": "leaveRegion",
|
|
31634
|
+
"return": {
|
|
31635
|
+
"type": {
|
|
31636
|
+
"text": "void"
|
|
30042
31637
|
}
|
|
30043
|
-
],
|
|
30044
|
-
"superclass": {
|
|
30045
|
-
"name": "LitElement",
|
|
30046
|
-
"package": "lit"
|
|
30047
31638
|
},
|
|
30048
|
-
"
|
|
30049
|
-
"customElement": true,
|
|
30050
|
-
"slots": [
|
|
31639
|
+
"parameters": [
|
|
30051
31640
|
{
|
|
30052
|
-
"name": "",
|
|
30053
|
-
"
|
|
31641
|
+
"name": "notification",
|
|
31642
|
+
"type": {
|
|
31643
|
+
"text": "NLDDNotification"
|
|
31644
|
+
}
|
|
30054
31645
|
}
|
|
30055
31646
|
]
|
|
30056
31647
|
}
|
|
@@ -30058,38 +31649,38 @@
|
|
|
30058
31649
|
"exports": [
|
|
30059
31650
|
{
|
|
30060
31651
|
"kind": "js",
|
|
30061
|
-
"name": "
|
|
31652
|
+
"name": "joinRegion",
|
|
30062
31653
|
"declaration": {
|
|
30063
|
-
"name": "
|
|
30064
|
-
"module": "src/components/status-and-feedback/
|
|
31654
|
+
"name": "joinRegion",
|
|
31655
|
+
"module": "src/components/status-and-feedback/notification/notification-region.ts"
|
|
30065
31656
|
}
|
|
30066
31657
|
},
|
|
30067
31658
|
{
|
|
30068
|
-
"kind": "
|
|
30069
|
-
"name": "
|
|
31659
|
+
"kind": "js",
|
|
31660
|
+
"name": "leaveRegion",
|
|
30070
31661
|
"declaration": {
|
|
30071
|
-
"name": "
|
|
30072
|
-
"module": "src/components/status-and-feedback/
|
|
31662
|
+
"name": "leaveRegion",
|
|
31663
|
+
"module": "src/components/status-and-feedback/notification/notification-region.ts"
|
|
30073
31664
|
}
|
|
30074
31665
|
}
|
|
30075
31666
|
]
|
|
30076
31667
|
},
|
|
30077
31668
|
{
|
|
30078
31669
|
"kind": "javascript-module",
|
|
30079
|
-
"path": "src/components/status-and-feedback/
|
|
31670
|
+
"path": "src/components/status-and-feedback/notification/notification.ts",
|
|
30080
31671
|
"declarations": [
|
|
30081
31672
|
{
|
|
30082
31673
|
"kind": "class",
|
|
30083
|
-
"description": "A
|
|
30084
|
-
"name": "
|
|
31674
|
+
"description": "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.",
|
|
31675
|
+
"name": "NLDDNotification",
|
|
30085
31676
|
"members": [
|
|
30086
31677
|
{
|
|
30087
31678
|
"kind": "field",
|
|
30088
31679
|
"name": "variant",
|
|
30089
31680
|
"type": {
|
|
30090
|
-
"text": "
|
|
31681
|
+
"text": "NotificationVariant"
|
|
30091
31682
|
},
|
|
30092
|
-
"default": "''",
|
|
31683
|
+
"default": "'neutral'",
|
|
30093
31684
|
"attribute": "variant",
|
|
30094
31685
|
"reflects": true
|
|
30095
31686
|
},
|
|
@@ -30125,52 +31716,43 @@
|
|
|
30125
31716
|
},
|
|
30126
31717
|
{
|
|
30127
31718
|
"kind": "field",
|
|
30128
|
-
"name": "
|
|
31719
|
+
"name": "duration",
|
|
31720
|
+
"default": "10000",
|
|
31721
|
+
"attribute": "duration",
|
|
31722
|
+
"reflects": true,
|
|
30129
31723
|
"type": {
|
|
30130
|
-
"text": "
|
|
30131
|
-
},
|
|
30132
|
-
"default": "''",
|
|
30133
|
-
"description": "Accessible name for the dialog — forwarded as aria-label. Falls back to text.",
|
|
30134
|
-
"attribute": "accessible-label"
|
|
30135
|
-
},
|
|
30136
|
-
{
|
|
30137
|
-
"kind": "method",
|
|
30138
|
-
"name": "show",
|
|
30139
|
-
"return": {
|
|
30140
|
-
"type": {
|
|
30141
|
-
"text": "void"
|
|
30142
|
-
}
|
|
31724
|
+
"text": "number"
|
|
30143
31725
|
}
|
|
30144
31726
|
},
|
|
30145
31727
|
{
|
|
30146
|
-
"kind": "
|
|
30147
|
-
"name": "
|
|
30148
|
-
"
|
|
30149
|
-
"
|
|
30150
|
-
|
|
30151
|
-
|
|
31728
|
+
"kind": "field",
|
|
31729
|
+
"name": "translations",
|
|
31730
|
+
"type": {
|
|
31731
|
+
"text": "Partial<T>"
|
|
31732
|
+
},
|
|
31733
|
+
"default": "{}",
|
|
31734
|
+
"attribute": "translations",
|
|
31735
|
+
"inheritedFrom": {
|
|
31736
|
+
"name": "withTranslations",
|
|
31737
|
+
"module": "src/utilities/with-translations.ts"
|
|
30152
31738
|
}
|
|
30153
31739
|
}
|
|
30154
31740
|
],
|
|
30155
31741
|
"events": [
|
|
30156
31742
|
{
|
|
30157
|
-
"name": "
|
|
30158
|
-
"description": "
|
|
30159
|
-
},
|
|
30160
|
-
{
|
|
30161
|
-
"name": "close",
|
|
30162
|
-
"description": "When the dialog is fully closed"
|
|
31743
|
+
"name": "dismiss",
|
|
31744
|
+
"description": "Fired when the notification is dismissed, by the button, by Escape, or by its own clock. The consumer removes it."
|
|
30163
31745
|
}
|
|
30164
31746
|
],
|
|
30165
31747
|
"attributes": [
|
|
30166
31748
|
{
|
|
30167
31749
|
"name": "variant",
|
|
30168
31750
|
"type": {
|
|
30169
|
-
"text": "
|
|
31751
|
+
"text": "NotificationVariant"
|
|
30170
31752
|
},
|
|
30171
|
-
"default": "''",
|
|
31753
|
+
"default": "'neutral'",
|
|
30172
31754
|
"fieldName": "variant",
|
|
30173
|
-
"description": "
|
|
31755
|
+
"description": "What kind of message this is; sets the icon color and the ARIA role (default: 'neutral')"
|
|
30174
31756
|
},
|
|
30175
31757
|
{
|
|
30176
31758
|
"name": "icon",
|
|
@@ -30179,7 +31761,7 @@
|
|
|
30179
31761
|
},
|
|
30180
31762
|
"default": "''",
|
|
30181
31763
|
"fieldName": "icon",
|
|
30182
|
-
"description": "
|
|
31764
|
+
"description": "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"
|
|
30183
31765
|
},
|
|
30184
31766
|
{
|
|
30185
31767
|
"name": "text",
|
|
@@ -30188,7 +31770,7 @@
|
|
|
30188
31770
|
},
|
|
30189
31771
|
"default": "''",
|
|
30190
31772
|
"fieldName": "text",
|
|
30191
|
-
"description": "
|
|
31773
|
+
"description": "The message"
|
|
30192
31774
|
},
|
|
30193
31775
|
{
|
|
30194
31776
|
"name": "supporting-text",
|
|
@@ -30197,32 +31779,44 @@
|
|
|
30197
31779
|
},
|
|
30198
31780
|
"default": "''",
|
|
30199
31781
|
"fieldName": "supportingText",
|
|
30200
|
-
"description": "
|
|
31782
|
+
"description": "A second line under the message"
|
|
30201
31783
|
},
|
|
30202
31784
|
{
|
|
30203
|
-
"name": "
|
|
31785
|
+
"name": "duration",
|
|
31786
|
+
"default": "DEFAULT_DURATION",
|
|
31787
|
+
"fieldName": "duration",
|
|
31788
|
+
"description": "Milliseconds before it leaves once it is front of the deck (default: 10000). `0` keeps it until dismissed, which is what `critical` does regardless."
|
|
31789
|
+
},
|
|
31790
|
+
{
|
|
31791
|
+
"name": "translations",
|
|
30204
31792
|
"type": {
|
|
30205
|
-
"text": "
|
|
31793
|
+
"text": "Partial<T>"
|
|
30206
31794
|
},
|
|
30207
|
-
"default": "
|
|
30208
|
-
"
|
|
30209
|
-
"
|
|
31795
|
+
"default": "{}",
|
|
31796
|
+
"fieldName": "translations",
|
|
31797
|
+
"inheritedFrom": {
|
|
31798
|
+
"name": "withTranslations",
|
|
31799
|
+
"module": "src/utilities/with-translations.ts"
|
|
31800
|
+
},
|
|
31801
|
+
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
31802
|
+
}
|
|
31803
|
+
],
|
|
31804
|
+
"mixins": [
|
|
31805
|
+
{
|
|
31806
|
+
"name": "withTranslations",
|
|
31807
|
+
"module": "/src/utilities/with-translations.js"
|
|
30210
31808
|
}
|
|
30211
31809
|
],
|
|
30212
31810
|
"superclass": {
|
|
30213
31811
|
"name": "LitElement",
|
|
30214
31812
|
"package": "lit"
|
|
30215
31813
|
},
|
|
30216
|
-
"tagName": "nldd-
|
|
31814
|
+
"tagName": "nldd-notification",
|
|
30217
31815
|
"customElement": true,
|
|
30218
31816
|
"slots": [
|
|
30219
|
-
{
|
|
30220
|
-
"name": "",
|
|
30221
|
-
"description": "Optional custom content, forwarded to nldd-inline-dialog"
|
|
30222
|
-
},
|
|
30223
31817
|
{
|
|
30224
31818
|
"name": "actions",
|
|
30225
|
-
"description": "nldd-button elements,
|
|
31819
|
+
"description": "At most 2 nldd-button elements, under the text. More than 2 is refused with a DEV warning: a message that needs three choices is a dialog."
|
|
30226
31820
|
}
|
|
30227
31821
|
]
|
|
30228
31822
|
}
|
|
@@ -30230,18 +31824,18 @@
|
|
|
30230
31824
|
"exports": [
|
|
30231
31825
|
{
|
|
30232
31826
|
"kind": "js",
|
|
30233
|
-
"name": "
|
|
31827
|
+
"name": "NLDDNotification",
|
|
30234
31828
|
"declaration": {
|
|
30235
|
-
"name": "
|
|
30236
|
-
"module": "src/components/status-and-feedback/
|
|
31829
|
+
"name": "NLDDNotification",
|
|
31830
|
+
"module": "src/components/status-and-feedback/notification/notification.ts"
|
|
30237
31831
|
}
|
|
30238
31832
|
},
|
|
30239
31833
|
{
|
|
30240
31834
|
"kind": "custom-element-definition",
|
|
30241
|
-
"name": "nldd-
|
|
31835
|
+
"name": "nldd-notification",
|
|
30242
31836
|
"declaration": {
|
|
30243
|
-
"name": "
|
|
30244
|
-
"module": "src/components/status-and-feedback/
|
|
31837
|
+
"name": "NLDDNotification",
|
|
31838
|
+
"module": "src/components/status-and-feedback/notification/notification.ts"
|
|
30245
31839
|
}
|
|
30246
31840
|
}
|
|
30247
31841
|
]
|
|
@@ -31173,11 +32767,11 @@
|
|
|
31173
32767
|
"declarations": [
|
|
31174
32768
|
{
|
|
31175
32769
|
"kind": "class",
|
|
31176
|
-
"description": "
|
|
32770
|
+
"description": "One step in an `nldd-step-indicator`. The parent decides the status and the\nnumber; those live here as internal state rather than as public API, except\nfor `status`, which overrides what `current` derives.",
|
|
31177
32771
|
"name": "NLDDStepIndicatorItem",
|
|
31178
32772
|
"slots": [
|
|
31179
32773
|
{
|
|
31180
|
-
"description": "Label (
|
|
32774
|
+
"description": "Label (an alternative to `text`)",
|
|
31181
32775
|
"name": ""
|
|
31182
32776
|
}
|
|
31183
32777
|
],
|
|
@@ -31246,7 +32840,7 @@
|
|
|
31246
32840
|
"type": {
|
|
31247
32841
|
"text": "StepIndicatorStatus | undefined"
|
|
31248
32842
|
},
|
|
31249
|
-
"description": "`past` | `current` | `future`;
|
|
32843
|
+
"description": "`past` | `current` | `future`; overrides what the parent derives",
|
|
31250
32844
|
"name": "status",
|
|
31251
32845
|
"fieldName": "status"
|
|
31252
32846
|
},
|
|
@@ -31254,7 +32848,7 @@
|
|
|
31254
32848
|
"type": {
|
|
31255
32849
|
"text": "string"
|
|
31256
32850
|
},
|
|
31257
|
-
"description": "Label
|
|
32851
|
+
"description": "Label under the disc",
|
|
31258
32852
|
"name": "text",
|
|
31259
32853
|
"default": "''",
|
|
31260
32854
|
"fieldName": "text"
|
|
@@ -31263,7 +32857,7 @@
|
|
|
31263
32857
|
"type": {
|
|
31264
32858
|
"text": "string"
|
|
31265
32859
|
},
|
|
31266
|
-
"description": "
|
|
32860
|
+
"description": "Icon in the disc instead of the number or the check mark",
|
|
31267
32861
|
"name": "icon",
|
|
31268
32862
|
"default": "''",
|
|
31269
32863
|
"fieldName": "icon"
|
|
@@ -31272,7 +32866,7 @@
|
|
|
31272
32866
|
"type": {
|
|
31273
32867
|
"text": "string"
|
|
31274
32868
|
},
|
|
31275
|
-
"description": "
|
|
32869
|
+
"description": "Makes the step a link (back to a completed step, for instance)",
|
|
31276
32870
|
"name": "href",
|
|
31277
32871
|
"default": "''",
|
|
31278
32872
|
"fieldName": "href"
|
|
@@ -31296,7 +32890,7 @@
|
|
|
31296
32890
|
},
|
|
31297
32891
|
{
|
|
31298
32892
|
"kind": "class",
|
|
31299
|
-
"description": "
|
|
32893
|
+
"description": "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.",
|
|
31300
32894
|
"name": "NLDDStepIndicator",
|
|
31301
32895
|
"members": [
|
|
31302
32896
|
{
|
|
@@ -31365,7 +32959,7 @@
|
|
|
31365
32959
|
},
|
|
31366
32960
|
"default": "''",
|
|
31367
32961
|
"fieldName": "accessibleLabel",
|
|
31368
|
-
"description": "
|
|
32962
|
+
"description": "Name of the nav; defaults to the i18n value (\"Voortgang\")"
|
|
31369
32963
|
},
|
|
31370
32964
|
{
|
|
31371
32965
|
"name": "current",
|
|
@@ -31374,7 +32968,7 @@
|
|
|
31374
32968
|
},
|
|
31375
32969
|
"default": "1",
|
|
31376
32970
|
"fieldName": "current",
|
|
31377
|
-
"description": "1-based
|
|
32971
|
+
"description": "1-based number of the current step (default 1)"
|
|
31378
32972
|
},
|
|
31379
32973
|
{
|
|
31380
32974
|
"name": "translations",
|
|
@@ -31387,7 +32981,7 @@
|
|
|
31387
32981
|
"name": "withTranslations",
|
|
31388
32982
|
"module": "src/utilities/with-translations.ts"
|
|
31389
32983
|
},
|
|
31390
|
-
"description": "
|
|
32984
|
+
"description": "Override translation keys; unset keys fall back to Dutch"
|
|
31391
32985
|
}
|
|
31392
32986
|
],
|
|
31393
32987
|
"mixins": [
|
|
@@ -31405,7 +32999,7 @@
|
|
|
31405
32999
|
"slots": [
|
|
31406
33000
|
{
|
|
31407
33001
|
"name": "",
|
|
31408
|
-
"description": "`nldd-step-indicator-item`
|
|
33002
|
+
"description": "`nldd-step-indicator-item` children"
|
|
31409
33003
|
}
|
|
31410
33004
|
]
|
|
31411
33005
|
}
|
|
@@ -31665,6 +33259,46 @@
|
|
|
31665
33259
|
}
|
|
31666
33260
|
]
|
|
31667
33261
|
},
|
|
33262
|
+
{
|
|
33263
|
+
"kind": "javascript-module",
|
|
33264
|
+
"path": "src/utilities/implicit-submission.ts",
|
|
33265
|
+
"declarations": [
|
|
33266
|
+
{
|
|
33267
|
+
"kind": "function",
|
|
33268
|
+
"name": "submitOnEnter",
|
|
33269
|
+
"return": {
|
|
33270
|
+
"type": {
|
|
33271
|
+
"text": ""
|
|
33272
|
+
}
|
|
33273
|
+
},
|
|
33274
|
+
"parameters": [
|
|
33275
|
+
{
|
|
33276
|
+
"name": "host",
|
|
33277
|
+
"type": {
|
|
33278
|
+
"text": "HTMLElement & { internals: ElementInternals }"
|
|
33279
|
+
}
|
|
33280
|
+
},
|
|
33281
|
+
{
|
|
33282
|
+
"name": "event",
|
|
33283
|
+
"type": {
|
|
33284
|
+
"text": "KeyboardEvent"
|
|
33285
|
+
}
|
|
33286
|
+
}
|
|
33287
|
+
],
|
|
33288
|
+
"description": "Submits the form this field belongs to, under the same conditions the browser\nuses.\n\nDoes nothing when something already handled the Enter. A component that owns\nthe key calls `preventDefault` when it acts on it and leaves it alone when it\ndoes not, so an open date picker keeps its Enter and a token field that\ncommits nothing lets the form through.\n\nWithout a submit button the specification submits only when the form holds a\nsingle field that blocks implicit submission. Reproducing that rule matters\nmore than it looks: an Enter that behaves differently inside this design\nsystem than outside it is worse than one that does nothing."
|
|
33289
|
+
}
|
|
33290
|
+
],
|
|
33291
|
+
"exports": [
|
|
33292
|
+
{
|
|
33293
|
+
"kind": "js",
|
|
33294
|
+
"name": "submitOnEnter",
|
|
33295
|
+
"declaration": {
|
|
33296
|
+
"name": "submitOnEnter",
|
|
33297
|
+
"module": "src/utilities/implicit-submission.ts"
|
|
33298
|
+
}
|
|
33299
|
+
}
|
|
33300
|
+
]
|
|
33301
|
+
},
|
|
31668
33302
|
{
|
|
31669
33303
|
"kind": "javascript-module",
|
|
31670
33304
|
"path": "src/utilities/input-modality.ts",
|
|
@@ -31759,6 +33393,55 @@
|
|
|
31759
33393
|
}
|
|
31760
33394
|
]
|
|
31761
33395
|
},
|
|
33396
|
+
{
|
|
33397
|
+
"kind": "javascript-module",
|
|
33398
|
+
"path": "src/utilities/open-when-rendered.ts",
|
|
33399
|
+
"declarations": [
|
|
33400
|
+
{
|
|
33401
|
+
"kind": "function",
|
|
33402
|
+
"name": "openWhenRendered",
|
|
33403
|
+
"return": {
|
|
33404
|
+
"type": {
|
|
33405
|
+
"text": ""
|
|
33406
|
+
}
|
|
33407
|
+
},
|
|
33408
|
+
"parameters": [
|
|
33409
|
+
{
|
|
33410
|
+
"name": "host",
|
|
33411
|
+
"type": {
|
|
33412
|
+
"text": "LitElement"
|
|
33413
|
+
},
|
|
33414
|
+
"description": "The overlay element."
|
|
33415
|
+
},
|
|
33416
|
+
{
|
|
33417
|
+
"name": "getDialog",
|
|
33418
|
+
"type": {
|
|
33419
|
+
"text": "() => HTMLDialogElement | null"
|
|
33420
|
+
},
|
|
33421
|
+
"description": "Resolves the dialog from the shadow root."
|
|
33422
|
+
},
|
|
33423
|
+
{
|
|
33424
|
+
"name": "open",
|
|
33425
|
+
"type": {
|
|
33426
|
+
"text": "() => void"
|
|
33427
|
+
},
|
|
33428
|
+
"description": "Opens the overlay: the caller's own `show()`."
|
|
33429
|
+
}
|
|
33430
|
+
],
|
|
33431
|
+
"description": "Defers an overlay's `show()` until the element has rendered its `<dialog>`.\n\n`show()` needs a dialog in the shadow root to call `showModal()` on. A consumer\nthat opens an overlay in the same tick it is created — an overlay bound to\n`show=true` on a routed component, say — gets there first, and without this the\ncall would silently do nothing with nothing to retry it: the overlay stays shut\nfor good, which reads as a broken component rather than a race.\n\nRetried exactly once. If the dialog still is not there after the update, the\nelement was never rendered at all, and opening again would only queue another\nretry against the same missing dialog."
|
|
33432
|
+
}
|
|
33433
|
+
],
|
|
33434
|
+
"exports": [
|
|
33435
|
+
{
|
|
33436
|
+
"kind": "js",
|
|
33437
|
+
"name": "openWhenRendered",
|
|
33438
|
+
"declaration": {
|
|
33439
|
+
"name": "openWhenRendered",
|
|
33440
|
+
"module": "src/utilities/open-when-rendered.ts"
|
|
33441
|
+
}
|
|
33442
|
+
}
|
|
33443
|
+
]
|
|
33444
|
+
},
|
|
31762
33445
|
{
|
|
31763
33446
|
"kind": "javascript-module",
|
|
31764
33447
|
"path": "src/utilities/os.ts",
|
|
@@ -31853,6 +33536,59 @@
|
|
|
31853
33536
|
}
|
|
31854
33537
|
]
|
|
31855
33538
|
},
|
|
33539
|
+
{
|
|
33540
|
+
"kind": "javascript-module",
|
|
33541
|
+
"path": "src/utilities/owned-attribute.ts",
|
|
33542
|
+
"declarations": [
|
|
33543
|
+
{
|
|
33544
|
+
"kind": "function",
|
|
33545
|
+
"name": "setOwnedAttribute",
|
|
33546
|
+
"return": {
|
|
33547
|
+
"type": {
|
|
33548
|
+
"text": ""
|
|
33549
|
+
}
|
|
33550
|
+
},
|
|
33551
|
+
"parameters": [
|
|
33552
|
+
{
|
|
33553
|
+
"name": "el",
|
|
33554
|
+
"type": {
|
|
33555
|
+
"text": "Element"
|
|
33556
|
+
}
|
|
33557
|
+
},
|
|
33558
|
+
{
|
|
33559
|
+
"name": "name",
|
|
33560
|
+
"type": {
|
|
33561
|
+
"text": "string"
|
|
33562
|
+
}
|
|
33563
|
+
},
|
|
33564
|
+
{
|
|
33565
|
+
"name": "value",
|
|
33566
|
+
"type": {
|
|
33567
|
+
"text": "string"
|
|
33568
|
+
}
|
|
33569
|
+
},
|
|
33570
|
+
{
|
|
33571
|
+
"name": "applied",
|
|
33572
|
+
"type": {
|
|
33573
|
+
"text": "string | null"
|
|
33574
|
+
},
|
|
33575
|
+
"description": "what this component wrote here last time, or null"
|
|
33576
|
+
}
|
|
33577
|
+
],
|
|
33578
|
+
"description": "An attribute one component hands to another without overruling what is\nalready there.\n\nThe closer to the control, the more specific, so the heavier it weighs. An\n`aria-label` on a slotted `<select>` beats the `accessible-label` on the\nwrapper around it, which beats the caption of the `nldd-form-field` above\nthat. Every layer does two things and no more: it fills a gap, and it takes\nback only what it wrote itself.\n\nWithout that second half a component reads \"I have no name to give\" as\n\"remove the name that is there\", which is how a documented way of naming a\ncontrol quietly stopped working."
|
|
33579
|
+
}
|
|
33580
|
+
],
|
|
33581
|
+
"exports": [
|
|
33582
|
+
{
|
|
33583
|
+
"kind": "js",
|
|
33584
|
+
"name": "setOwnedAttribute",
|
|
33585
|
+
"declaration": {
|
|
33586
|
+
"name": "setOwnedAttribute",
|
|
33587
|
+
"module": "src/utilities/owned-attribute.ts"
|
|
33588
|
+
}
|
|
33589
|
+
}
|
|
33590
|
+
]
|
|
33591
|
+
},
|
|
31856
33592
|
{
|
|
31857
33593
|
"kind": "javascript-module",
|
|
31858
33594
|
"path": "src/utilities/page-section-mixin.ts",
|
|
@@ -32372,7 +34108,7 @@
|
|
|
32372
34108
|
}
|
|
32373
34109
|
}
|
|
32374
34110
|
],
|
|
32375
|
-
"description": "A Lit attribute converter for a reflected
|
|
34111
|
+
"description": "A Lit attribute converter for a reflected property whose DEFAULT value should\nnot appear in the DOM. Works for an enum (a string union) and for a number.\n\nIt reflects any non-default value to the attribute (so `:host([prop=\"x\"])`\nstyling and framework property binding keep working), but maps the default to\n*no* attribute (`toAttribute` returns null), so the DOM isn't polluted with a\nredundant `prop=\"<default>\"` on every instance.\n\nPair it with `reflect: true`. The component's default styling must then live\non the bare `:host` (not `:host([prop=\"<default>\"])`), since a default-valued\nelement carries no attribute to select on.\n\nKnown edge: if markup writes the default *explicitly* (e.g. `<nldd-button\nsize=\"md\">`), `fromAttribute` resolves the property to the value it already\nholds, so Lit's default `hasChanged` sees no change, schedules no update, and\n`toAttribute` never runs to strip the attribute — so that one authored default\nattribute stays in the DOM. Visual behavior is unaffected (styling keys off the\nbare `:host`); it only matters to code matching `[prop=\"<default>\"]`, which\nshould read the property instead. Not worth a fragile `hasChanged` workaround."
|
|
32376
34112
|
}
|
|
32377
34113
|
],
|
|
32378
34114
|
"exports": [
|