@nldd/design-system 0.14.0 → 0.16.0
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/NOTICES.md +1 -1
- package/custom-elements.json +1795 -138
- package/dist/components/actions/button/button.d.ts +2 -17
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +18 -34
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +2 -2
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts +8 -3
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +32 -13
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +2 -1
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +16 -1
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +2 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +3 -0
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +34 -1
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.i18n.d.ts +2 -0
- package/dist/components/actions/menu/menu.i18n.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.i18n.js +4 -0
- package/dist/components/actions/menu/menu.i18n.js.map +1 -1
- package/dist/components/actions/menu/menu.js +65 -3
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +63 -34
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.i18n.d.ts +1 -1
- package/dist/components/actions/split-button/split-button.i18n.js +1 -1
- package/dist/components/actions/split-button/split-button.i18n.js.map +1 -1
- package/dist/components/actions/split-button/split-button.js +116 -76
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +4 -0
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.d.ts +2 -1
- package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +25 -20
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.story-sync.d.ts +13 -0
- package/dist/components/actions/toolbar/toolbar.story-sync.d.ts.map +1 -0
- package/dist/components/actions/toolbar/toolbar.story-sync.js +89 -0
- package/dist/components/actions/toolbar/toolbar.story-sync.js.map +1 -0
- package/dist/components/components.js +3195 -810
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +3 -0
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +4 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +4 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +4 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/title/title.d.ts +8 -0
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +8 -0
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +13 -0
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +8 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +48 -6
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +5 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/{decorate-x12uDAK4.js → decorate-pEFCObfp.js} +1 -1
- package/dist/components/{with-translations-DLzmBSkU.js → defer-focus-CkNrCf_g.js} +34 -3
- package/dist/components/{dev-checks-BgrW077W.js → dev-checks--aiYe9Pe.js} +100 -4
- package/dist/components/{dist-BaLc58I_.js → dist-245LaK9m.js} +1 -1
- package/dist/components/{dist-DgjvHvsN.js → dist-4g23YHP0.js} +1 -1
- package/dist/components/{dist-YYLChwRq.js → dist-Bf823YyL.js} +1 -1
- package/dist/components/{dist-Bm3708s5.js → dist-CeMOOqgP.js} +13 -1
- package/dist/components/{dist-CJ9uLG0u.js → dist-DFjwTlJV.js} +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +2 -2
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +4 -3
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.template.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.template.js +3 -2
- package/dist/components/forms/form-field/form-field.template.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts +26 -0
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.i18n.d.ts +12 -0
- package/dist/components/forms/validation-list/validation-list.i18n.d.ts.map +1 -0
- package/dist/components/forms/validation-list/validation-list.i18n.js +11 -0
- package/dist/components/forms/validation-list/validation-list.i18n.js.map +1 -0
- package/dist/components/forms/validation-list/validation-list.js +74 -2
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/{icon-IgCyk9ui.js → icon-BQjRjtKH.js} +3 -1
- package/dist/components/{icon-button-B5tH4b3c.js → icon-button-BivCiIpt.js} +124 -21
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +0 -5
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +3 -5
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +9 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +3 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +42 -13
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +4 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +12 -0
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.js +4 -4
- package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +3 -3
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.i18n.d.ts +2 -2
- package/dist/components/inputs/date-picker/date-picker.i18n.js +2 -2
- package/dist/components/inputs/date-picker/date-picker.i18n.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +3 -0
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +2 -2
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +5 -1
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +147 -17
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.drop.d.ts +16 -1
- package/dist/components/inputs/file-field/file-field.drop.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.drop.js +33 -0
- package/dist/components/inputs/file-field/file-field.drop.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.i18n.d.ts +11 -1
- package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.i18n.js +16 -6
- package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +419 -74
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +244 -100
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.d.ts +2 -1
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +284 -84
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.d.ts +17 -0
- package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.js +26 -3
- package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +3 -0
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +5 -12
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.i18n.d.ts +8 -0
- package/dist/components/inputs/password-field/password-field.i18n.d.ts.map +1 -0
- package/dist/components/inputs/password-field/password-field.i18n.js +7 -0
- package/dist/components/inputs/password-field/password-field.i18n.js.map +1 -0
- package/dist/components/inputs/password-field/password-field.js +10 -23
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.template.js +2 -2
- package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +0 -5
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +0 -5
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +9 -9
- 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 +3 -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.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +3 -0
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +5 -0
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +51 -14
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +197 -50
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.styles.js +42 -18
- package/dist/components/inputs/slider/slider.styles.js.map +1 -1
- package/dist/components/inputs/slider/slider.template.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.template.js +13 -5
- package/dist/components/inputs/slider/slider.template.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +3 -0
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +185 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.i18n.d.ts +22 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.i18n.d.ts.map +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.i18n.js +21 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.i18n.js.map +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.js +485 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts +3 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.d.ts.map +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js +177 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.styles.js.map +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.template.d.ts +6 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.template.d.ts.map +1 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.template.js +44 -0
- package/dist/components/inputs/swatch-picker/swatch-picker.template.js.map +1 -0
- package/dist/components/inputs/switch/switch.d.ts +0 -5
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +3 -5
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +2 -2
- 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.code-copy.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.cursor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.cursor.js +1 -11
- package/dist/components/inputs/text-editor/text-editor.cursor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +127 -11
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +3 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +5 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +7 -5
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts +3 -0
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +9 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +7 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +47 -145
- package/dist/components/inputs/text-editor/text-editor.mentions.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 +187 -2
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +3 -0
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.js +3 -3
- package/dist/components/inputs/time-field/time-field.i18n.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +3 -0
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +3 -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.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +3 -0
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +4 -0
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.i18n.d.ts +1 -1
- package/dist/components/inputs/token-field/token-field.i18n.js +1 -1
- package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +12 -0
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.template.js +1 -1
- package/dist/components/inputs/token-field/token-field.template.js.map +1 -1
- package/dist/components/{just-in-time-education.i18n-BJ5ovWVB.js → just-in-time-education.i18n-S05IOgqk.js} +76 -23
- package/dist/components/layout/collection/collection.d.ts +4 -0
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +56 -8
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.template.js +1 -1
- package/dist/components/layout/collection/collection.template.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +2 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +7 -0
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +33 -11
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.template.js +2 -0
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +19 -7
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +25 -8
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/task-board/task-board.d.ts +9 -1
- package/dist/components/layout/task-board/task-board.d.ts.map +1 -1
- package/dist/components/layout/task-board/task-board.js +67 -4
- package/dist/components/layout/task-board/task-board.js.map +1 -1
- package/dist/components/{list.i18n-nFB6dZpc.js → list.i18n-CKqbhFQ_.js} +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +2 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +7 -2
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +3 -3
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.d.ts +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.js +1 -1
- package/dist/components/lists-and-tables/list/list.js +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +9 -2
- 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 +22 -2
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +0 -6
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +14 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +1 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +24 -0
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +52 -4
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +4 -4
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.d.ts +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.i18n.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +5 -2
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +0 -4
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link-group/link-group.d.ts +47 -0
- package/dist/components/navigation/link-group/link-group.d.ts.map +1 -0
- package/dist/components/navigation/link-group/link-group.js +81 -0
- package/dist/components/navigation/link-group/link-group.js.map +1 -0
- package/dist/components/navigation/link-group/link-group.styles.d.ts +2 -0
- package/dist/components/navigation/link-group/link-group.styles.d.ts.map +1 -0
- package/dist/components/navigation/link-group/link-group.styles.js +60 -0
- package/dist/components/navigation/link-group/link-group.styles.js.map +1 -0
- package/dist/components/navigation/link-group/link-group.template.d.ts +3 -0
- package/dist/components/navigation/link-group/link-group.template.d.ts.map +1 -0
- package/dist/components/navigation/link-group/link-group.template.js +15 -0
- package/dist/components/navigation/link-group/link-group.template.js.map +1 -0
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +4 -0
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +9 -0
- package/dist/components/navigation/menu-bar/menu-bar.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.js +25 -19
- package/dist/components/navigation/menu-bar/menu-bar.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +10 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.i18n.d.ts +3 -3
- package/dist/components/navigation/pagination/pagination.i18n.js +3 -3
- package/dist/components/navigation/pagination/pagination.i18n.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +3 -3
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +3 -0
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +7 -6
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +11 -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 +37 -0
- 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.js +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
- package/dist/components/{nl.generated-Ny3Kwppu.js → nl.generated-CUo20aPV.js} +5 -2
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +3 -3
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +2 -2
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +2 -2
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +9 -2
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +9 -6
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/components/{visibility-mixin-DcwzF0_a.js → visibility-mixin-Ce0goNS6.js} +1 -1
- package/dist/css/rich-text.css +5 -0
- package/dist/css/variables.css +3 -1
- package/dist/nldd.min.js +1810 -1008
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +67 -23
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts +3 -3
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +82 -23
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +55 -11
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +6 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts +3 -3
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +82 -23
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts +3 -3
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +82 -23
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +153 -57
- package/dist/utilities/carried-context.d.ts +14 -3
- package/dist/utilities/carried-context.d.ts.map +1 -1
- package/dist/utilities/carried-context.js +12 -5
- package/dist/utilities/carried-context.js.map +1 -1
- package/dist/utilities/defer-focus.d.ts +24 -0
- package/dist/utilities/defer-focus.d.ts.map +1 -0
- package/dist/utilities/defer-focus.js +33 -0
- package/dist/utilities/defer-focus.js.map +1 -0
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +105 -3
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/file-drag-and-drop.d.ts +18 -0
- package/dist/utilities/file-drag-and-drop.d.ts.map +1 -0
- package/dist/utilities/file-drag-and-drop.js +31 -0
- package/dist/utilities/file-drag-and-drop.js.map +1 -0
- package/dist/utilities/list-items.d.ts +10 -0
- package/dist/utilities/list-items.d.ts.map +1 -0
- package/dist/utilities/list-items.js +21 -0
- package/dist/utilities/list-items.js.map +1 -0
- package/dist/utilities/owner-form.d.ts +21 -0
- package/dist/utilities/owner-form.d.ts.map +1 -0
- package/dist/utilities/owner-form.js +39 -0
- package/dist/utilities/owner-form.js.map +1 -0
- package/dist/utilities/popover-target.d.ts +25 -0
- package/dist/utilities/popover-target.d.ts.map +1 -0
- package/dist/utilities/popover-target.js +48 -0
- package/dist/utilities/popover-target.js.map +1 -0
- package/dist/utilities/popup-anchor-controller.d.ts.map +1 -1
- package/dist/utilities/popup-anchor-controller.js +11 -2
- package/dist/utilities/popup-anchor-controller.js.map +1 -1
- package/dist/utilities/render-marked.d.ts +2 -0
- package/dist/utilities/render-marked.d.ts.map +1 -1
- package/dist/utilities/render-marked.js +4 -0
- package/dist/utilities/render-marked.js.map +1 -1
- package/dist/utilities/row-header-mixin.d.ts +31 -0
- package/dist/utilities/row-header-mixin.d.ts.map +1 -0
- package/dist/utilities/row-header-mixin.js +44 -0
- package/dist/utilities/row-header-mixin.js.map +1 -0
- package/lint/cli.js +4 -4
- package/lint/data.generated.json +1 -1
- package/package.json +14 -5
package/custom-elements.json
CHANGED
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
},
|
|
744
744
|
"default": "undefined",
|
|
745
745
|
"fieldName": "popovertarget",
|
|
746
|
-
"description": "ID of a popover element this button invokes
|
|
746
|
+
"description": "ID of a popover element this button invokes, looked up in the tree of this button; the inner button gets the element. Use the popoverTargetElement property instead when the popover lives in another tree. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`."
|
|
747
747
|
},
|
|
748
748
|
{
|
|
749
749
|
"name": "loading",
|
|
@@ -1461,7 +1461,7 @@
|
|
|
1461
1461
|
},
|
|
1462
1462
|
"default": "undefined",
|
|
1463
1463
|
"fieldName": "popovertarget",
|
|
1464
|
-
"description": "ID of a popover element to toggle
|
|
1464
|
+
"description": "ID of a popover element to toggle, looked up in the tree of this button; the inner <button> gets the element. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`."
|
|
1465
1465
|
},
|
|
1466
1466
|
{
|
|
1467
1467
|
"name": "text",
|
|
@@ -3068,7 +3068,7 @@
|
|
|
3068
3068
|
"type": {
|
|
3069
3069
|
"text": "string"
|
|
3070
3070
|
},
|
|
3071
|
-
"description": "ID of the anchor element. Positions the menu against it AND makes it a toggle: the menu listens on document click and opens/closes itself when the click lands on the anchor. Use this for a
|
|
3071
|
+
"description": "ID of the anchor element. Positions the menu against it AND makes it a toggle: the menu listens on document click and opens/closes itself when the click lands on the anchor. Use this for a trigger that is not an nldd component, such as a plain `<button>`. An nldd-button, nldd-icon-button, nldd-split-button or nldd-list-item-segment needs no anchor: put the menu in its `popup` slot, or point its `popovertarget` at the menu, and it anchors and opens the menu itself. For a menu you open yourself (a type-ahead under a text field, say), set the `anchorElement` property instead — same positioning, no toggle.",
|
|
3072
3072
|
"name": "anchor",
|
|
3073
3073
|
"default": "''",
|
|
3074
3074
|
"fieldName": "anchor"
|
|
@@ -3183,9 +3183,19 @@
|
|
|
3183
3183
|
"declarations": [
|
|
3184
3184
|
{
|
|
3185
3185
|
"kind": "class",
|
|
3186
|
-
"description": "A split button combines a primary action
|
|
3186
|
+
"description": "A split button combines a primary action with a chevron that opens its alternatives. The main button performs the default action; the chevron opens a menu or popover of variants of that same action. The overlay is required. Put an `nldd-menu` or `nldd-popover` in the `popup` slot, as on nldd-button and nldd-icon-button: ```html <nldd-split-button text=\"Bewaar\"> <nldd-menu slot=\"popup\"> <nldd-menu-item text=\"Opslaan als…\"></nldd-menu-item> </nldd-menu> </nldd-split-button> ``` The split button has no other slots, so an overlay without `slot=\"popup\"` works too. When both hold one, the one in `popup` wins. For an overlay that lives elsewhere, point `popovertarget` at it instead. The chevron is the overlay's invoker: it anchors it, opens and closes it, and takes `aria-expanded` and `aria-haspopup` from it, exactly as an nldd-icon-button with a slotted overlay does. Its accessible name says which action it belongs to (\"Meer opties voor Bewaar\"). The API is narrower than nldd-button on purpose: a split button is an action with variants, so it has no supporting text, no end icon and no link target. Its label always stays on one line, without an ellipsis: keep it short.",
|
|
3187
3187
|
"name": "NLDDSplitButton",
|
|
3188
3188
|
"members": [
|
|
3189
|
+
{
|
|
3190
|
+
"kind": "field",
|
|
3191
|
+
"name": "formAssociated",
|
|
3192
|
+
"type": {
|
|
3193
|
+
"text": "boolean"
|
|
3194
|
+
},
|
|
3195
|
+
"static": true,
|
|
3196
|
+
"default": "true",
|
|
3197
|
+
"description": "Form-associated, so a submit split button finds the form it sits in:\nits action button is in this shadow root and has no form owner."
|
|
3198
|
+
},
|
|
3189
3199
|
{
|
|
3190
3200
|
"kind": "field",
|
|
3191
3201
|
"name": "size",
|
|
@@ -3200,7 +3210,7 @@
|
|
|
3200
3210
|
"kind": "field",
|
|
3201
3211
|
"name": "appearance",
|
|
3202
3212
|
"type": {
|
|
3203
|
-
"text": "
|
|
3213
|
+
"text": "SplitButtonAppearance"
|
|
3204
3214
|
},
|
|
3205
3215
|
"default": "'neutral-tinted'",
|
|
3206
3216
|
"attribute": "appearance",
|
|
@@ -3216,6 +3226,27 @@
|
|
|
3216
3226
|
"attribute": "disabled",
|
|
3217
3227
|
"reflects": true
|
|
3218
3228
|
},
|
|
3229
|
+
{
|
|
3230
|
+
"kind": "field",
|
|
3231
|
+
"name": "loading",
|
|
3232
|
+
"type": {
|
|
3233
|
+
"text": "boolean"
|
|
3234
|
+
},
|
|
3235
|
+
"default": "false",
|
|
3236
|
+
"description": "Loading state of the main action. The chevron stays available.",
|
|
3237
|
+
"attribute": "loading",
|
|
3238
|
+
"reflects": true
|
|
3239
|
+
},
|
|
3240
|
+
{
|
|
3241
|
+
"kind": "field",
|
|
3242
|
+
"name": "loadingText",
|
|
3243
|
+
"type": {
|
|
3244
|
+
"text": "string"
|
|
3245
|
+
},
|
|
3246
|
+
"default": "''",
|
|
3247
|
+
"description": "What the screen reader announces while `loading` is on.",
|
|
3248
|
+
"attribute": "loading-text"
|
|
3249
|
+
},
|
|
3219
3250
|
{
|
|
3220
3251
|
"kind": "field",
|
|
3221
3252
|
"name": "width",
|
|
@@ -3238,6 +3269,63 @@
|
|
|
3238
3269
|
"attribute": "text",
|
|
3239
3270
|
"reflects": true
|
|
3240
3271
|
},
|
|
3272
|
+
{
|
|
3273
|
+
"kind": "field",
|
|
3274
|
+
"name": "icon",
|
|
3275
|
+
"type": {
|
|
3276
|
+
"text": "string"
|
|
3277
|
+
},
|
|
3278
|
+
"default": "''",
|
|
3279
|
+
"description": "Icon name shown before the text on the primary action button.",
|
|
3280
|
+
"attribute": "icon"
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
"kind": "field",
|
|
3284
|
+
"name": "type",
|
|
3285
|
+
"type": {
|
|
3286
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
3287
|
+
},
|
|
3288
|
+
"default": "'button'",
|
|
3289
|
+
"description": "What the main action does in a form. Ignored when `href` is set.",
|
|
3290
|
+
"attribute": "type",
|
|
3291
|
+
"reflects": true
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
"kind": "field",
|
|
3295
|
+
"name": "href",
|
|
3296
|
+
"type": {
|
|
3297
|
+
"text": "string | undefined"
|
|
3298
|
+
},
|
|
3299
|
+
"description": "Turns the main action into a link.",
|
|
3300
|
+
"attribute": "href"
|
|
3301
|
+
},
|
|
3302
|
+
{
|
|
3303
|
+
"kind": "field",
|
|
3304
|
+
"name": "download",
|
|
3305
|
+
"type": {
|
|
3306
|
+
"text": "string | undefined"
|
|
3307
|
+
},
|
|
3308
|
+
"description": "Saves the file `href` points at instead of opening it.",
|
|
3309
|
+
"attribute": "download"
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"kind": "field",
|
|
3313
|
+
"name": "popovertarget",
|
|
3314
|
+
"type": {
|
|
3315
|
+
"text": "string | undefined"
|
|
3316
|
+
},
|
|
3317
|
+
"description": "ID of an overlay elsewhere in this tree that the chevron opens.",
|
|
3318
|
+
"attribute": "popovertarget"
|
|
3319
|
+
},
|
|
3320
|
+
{
|
|
3321
|
+
"kind": "field",
|
|
3322
|
+
"name": "popoverTargetElement",
|
|
3323
|
+
"type": {
|
|
3324
|
+
"text": "Element | null"
|
|
3325
|
+
},
|
|
3326
|
+
"default": "null",
|
|
3327
|
+
"description": "Direct reference to that overlay, for one in another tree."
|
|
3328
|
+
},
|
|
3241
3329
|
{
|
|
3242
3330
|
"kind": "field",
|
|
3243
3331
|
"name": "shortcut",
|
|
@@ -3278,16 +3366,6 @@
|
|
|
3278
3366
|
"attribute": "shortcut-linux",
|
|
3279
3367
|
"reflects": true
|
|
3280
3368
|
},
|
|
3281
|
-
{
|
|
3282
|
-
"kind": "field",
|
|
3283
|
-
"name": "icon",
|
|
3284
|
-
"type": {
|
|
3285
|
-
"text": "string"
|
|
3286
|
-
},
|
|
3287
|
-
"default": "''",
|
|
3288
|
-
"description": "Icon name shown before the text on the primary action button.",
|
|
3289
|
-
"attribute": "icon"
|
|
3290
|
-
},
|
|
3291
3369
|
{
|
|
3292
3370
|
"kind": "field",
|
|
3293
3371
|
"name": "translations",
|
|
@@ -3302,10 +3380,6 @@
|
|
|
3302
3380
|
{
|
|
3303
3381
|
"name": "action-click",
|
|
3304
3382
|
"description": "Fired when the main button is clicked"
|
|
3305
|
-
},
|
|
3306
|
-
{
|
|
3307
|
-
"name": "menu-click",
|
|
3308
|
-
"description": "Fired when the dropdown trigger is clicked and no overlay is slotted"
|
|
3309
3383
|
}
|
|
3310
3384
|
],
|
|
3311
3385
|
"attributes": [
|
|
@@ -3324,11 +3398,14 @@
|
|
|
3324
3398
|
{
|
|
3325
3399
|
"name": "appearance",
|
|
3326
3400
|
"type": {
|
|
3327
|
-
"text": "
|
|
3401
|
+
"text": "SplitButtonAppearance"
|
|
3328
3402
|
},
|
|
3329
3403
|
"default": "'neutral-tinted'",
|
|
3330
3404
|
"fieldName": "appearance",
|
|
3331
|
-
"
|
|
3405
|
+
"expandedType": {
|
|
3406
|
+
"text": "'accent-filled' | 'inherit-filled' | 'inherit-tinted' | 'neutral-base' | 'neutral-tinted' | 'primary' | 'secondary'"
|
|
3407
|
+
},
|
|
3408
|
+
"description": "Visual style: 'neutral-tinted' (default) | 'neutral-base' | 'accent-filled' | 'primary' | 'secondary' | 'inherit-tinted' | 'inherit-filled'. 'primary' is 'accent-filled' and 'secondary' is 'neutral-tinted'. The inherit appearances are for a colored surface. There are no transparent appearances: the split button needs a surface of its own to show it is one control."
|
|
3332
3409
|
},
|
|
3333
3410
|
{
|
|
3334
3411
|
"name": "disabled",
|
|
@@ -3339,6 +3416,24 @@
|
|
|
3339
3416
|
"fieldName": "disabled",
|
|
3340
3417
|
"description": "Disabled state. Avoid it: let the action run and say afterwards what is missing; the design guidelines say why."
|
|
3341
3418
|
},
|
|
3419
|
+
{
|
|
3420
|
+
"name": "loading",
|
|
3421
|
+
"type": {
|
|
3422
|
+
"text": "boolean"
|
|
3423
|
+
},
|
|
3424
|
+
"default": "false",
|
|
3425
|
+
"description": "Loading state of the main action, as on nldd-button. The chevron stays available.",
|
|
3426
|
+
"fieldName": "loading"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"name": "loading-text",
|
|
3430
|
+
"type": {
|
|
3431
|
+
"text": "string"
|
|
3432
|
+
},
|
|
3433
|
+
"default": "''",
|
|
3434
|
+
"description": "What the screen reader announces while `loading` is on, as on nldd-button.",
|
|
3435
|
+
"fieldName": "loadingText"
|
|
3436
|
+
},
|
|
3342
3437
|
{
|
|
3343
3438
|
"name": "width",
|
|
3344
3439
|
"type": {
|
|
@@ -3357,6 +3452,51 @@
|
|
|
3357
3452
|
"description": "Button text for the primary action",
|
|
3358
3453
|
"fieldName": "text"
|
|
3359
3454
|
},
|
|
3455
|
+
{
|
|
3456
|
+
"name": "icon",
|
|
3457
|
+
"type": {
|
|
3458
|
+
"text": "string"
|
|
3459
|
+
},
|
|
3460
|
+
"default": "''",
|
|
3461
|
+
"description": "Icon name shown before the text on the primary action button",
|
|
3462
|
+
"fieldName": "icon"
|
|
3463
|
+
},
|
|
3464
|
+
{
|
|
3465
|
+
"name": "type",
|
|
3466
|
+
"type": {
|
|
3467
|
+
"text": "'button' | 'submit' | 'reset'"
|
|
3468
|
+
},
|
|
3469
|
+
"default": "'button'",
|
|
3470
|
+
"description": "What the main action does in a form: 'button' (default) | 'submit' | 'reset'. Ignored when `href` is set.",
|
|
3471
|
+
"fieldName": "type",
|
|
3472
|
+
"expandedType": {
|
|
3473
|
+
"text": "'button' | 'reset' | 'submit'"
|
|
3474
|
+
}
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"name": "href",
|
|
3478
|
+
"type": {
|
|
3479
|
+
"text": "string | undefined"
|
|
3480
|
+
},
|
|
3481
|
+
"description": "Turns the main action into a link, as on nldd-button.",
|
|
3482
|
+
"fieldName": "href"
|
|
3483
|
+
},
|
|
3484
|
+
{
|
|
3485
|
+
"name": "download",
|
|
3486
|
+
"type": {
|
|
3487
|
+
"text": "string | undefined"
|
|
3488
|
+
},
|
|
3489
|
+
"description": "Saves the file `href` points at instead of opening it, as on nldd-button. Only used with `href`.",
|
|
3490
|
+
"fieldName": "download"
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"name": "popovertarget",
|
|
3494
|
+
"type": {
|
|
3495
|
+
"text": "string | undefined"
|
|
3496
|
+
},
|
|
3497
|
+
"description": "ID of an `nldd-menu` or `nldd-popover` elsewhere in this tree that the chevron opens, for an overlay that cannot be a child. A slotted overlay wins.",
|
|
3498
|
+
"fieldName": "popovertarget"
|
|
3499
|
+
},
|
|
3360
3500
|
{
|
|
3361
3501
|
"name": "shortcut",
|
|
3362
3502
|
"type": {
|
|
@@ -3393,15 +3533,6 @@
|
|
|
3393
3533
|
"fieldName": "shortcutLinux",
|
|
3394
3534
|
"description": "Override of `shortcut` on Linux (falls back to `shortcut`)."
|
|
3395
3535
|
},
|
|
3396
|
-
{
|
|
3397
|
-
"name": "icon",
|
|
3398
|
-
"type": {
|
|
3399
|
-
"text": "string"
|
|
3400
|
-
},
|
|
3401
|
-
"default": "''",
|
|
3402
|
-
"description": "Icon name shown before the text on the primary action button",
|
|
3403
|
-
"fieldName": "icon"
|
|
3404
|
-
},
|
|
3405
3536
|
{
|
|
3406
3537
|
"name": "translations",
|
|
3407
3538
|
"type": {
|
|
@@ -3410,6 +3541,13 @@
|
|
|
3410
3541
|
"default": "{}",
|
|
3411
3542
|
"fieldName": "translations",
|
|
3412
3543
|
"description": "Translations; unset keys fall back to Dutch"
|
|
3544
|
+
},
|
|
3545
|
+
{
|
|
3546
|
+
"name": "form",
|
|
3547
|
+
"description": "Id of the form the main action submits or resets, for a split button outside it. Takes an `nldd-form` as well as a plain `<form>`, as on nldd-button.",
|
|
3548
|
+
"type": {
|
|
3549
|
+
"text": "string"
|
|
3550
|
+
}
|
|
3413
3551
|
}
|
|
3414
3552
|
],
|
|
3415
3553
|
"superclass": {
|
|
@@ -3419,9 +3557,13 @@
|
|
|
3419
3557
|
"tagName": "nldd-split-button",
|
|
3420
3558
|
"customElement": true,
|
|
3421
3559
|
"slots": [
|
|
3560
|
+
{
|
|
3561
|
+
"name": "popup",
|
|
3562
|
+
"description": "The `nldd-menu` or `nldd-popover` the chevron opens."
|
|
3563
|
+
},
|
|
3422
3564
|
{
|
|
3423
3565
|
"name": "",
|
|
3424
|
-
"description": "
|
|
3566
|
+
"description": "Fallback for the overlay when it has no `slot=\"popup\"`. Anything that is not an `nldd-menu` or `nldd-popover` does nothing here."
|
|
3425
3567
|
}
|
|
3426
3568
|
]
|
|
3427
3569
|
}
|
|
@@ -4234,6 +4376,31 @@
|
|
|
4234
4376
|
}
|
|
4235
4377
|
]
|
|
4236
4378
|
},
|
|
4379
|
+
{
|
|
4380
|
+
"kind": "javascript-module",
|
|
4381
|
+
"path": "src/components/actions/toolbar/toolbar.story-sync.ts",
|
|
4382
|
+
"declarations": [
|
|
4383
|
+
{
|
|
4384
|
+
"kind": "function",
|
|
4385
|
+
"name": "syncToolbarOverflow",
|
|
4386
|
+
"return": {
|
|
4387
|
+
"type": {
|
|
4388
|
+
"text": "void"
|
|
4389
|
+
}
|
|
4390
|
+
}
|
|
4391
|
+
}
|
|
4392
|
+
],
|
|
4393
|
+
"exports": [
|
|
4394
|
+
{
|
|
4395
|
+
"kind": "js",
|
|
4396
|
+
"name": "syncToolbarOverflow",
|
|
4397
|
+
"declaration": {
|
|
4398
|
+
"name": "syncToolbarOverflow",
|
|
4399
|
+
"module": "src/components/actions/toolbar/toolbar.story-sync.ts"
|
|
4400
|
+
}
|
|
4401
|
+
}
|
|
4402
|
+
]
|
|
4403
|
+
},
|
|
4237
4404
|
{
|
|
4238
4405
|
"kind": "javascript-module",
|
|
4239
4406
|
"path": "src/components/actions/toolbar/toolbar.ts",
|
|
@@ -6503,7 +6670,7 @@
|
|
|
6503
6670
|
},
|
|
6504
6671
|
"default": "false",
|
|
6505
6672
|
"fieldName": "hyphens",
|
|
6506
|
-
"description": "Opt-in automatic hyphenation for running text (p, li, dd). Needs a correct `lang` on the page (`lang=\"nl\"` on `<html>`, for instance): without language information the browser does not hyphenate. An `overflow-wrap: break-word` safety net on headings, p and li is always on, independent of this attribute, so a word wider than the column breaks instead of overflowing,
|
|
6673
|
+
"description": "Opt-in automatic hyphenation for running text (p, li, dd). Needs a correct `lang` on the page (`lang=\"nl\"` on `<html>`, for instance): without language information the browser does not hyphenate. An `overflow-wrap: break-word` safety net on headings, p and li is always on, independent of this attribute, so a word wider than the column breaks instead of overflowing. Headings are hyphenated regardless of this attribute, but only a word of at least 12 letters, as in `nldd-title`, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own."
|
|
6507
6674
|
}
|
|
6508
6675
|
],
|
|
6509
6676
|
"superclass": {
|
|
@@ -6864,7 +7031,7 @@
|
|
|
6864
7031
|
"declarations": [
|
|
6865
7032
|
{
|
|
6866
7033
|
"kind": "class",
|
|
6867
|
-
"description": "A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. `size` is how it looks, `heading-level` what it is, and the two are set apart. `overline` and `supporting-text` go above and below it. Each of the three has a slot in the same place for content that is more than text, and a filled slot takes the place of the attribute.",
|
|
7034
|
+
"description": "A title bar with an optional overline, title, and supporting text on the left, and a slot at the end of the title line on the right. The title comes from `text`, with `heading-level` for its place in the heading structure. `size` is how it looks, `heading-level` what it is, and the two are set apart. `overline` and `supporting-text` go above and below it. Each of the three has a slot in the same place for content that is more than text, and a filled slot takes the place of the attribute. A word too long for the line is hyphenated by syllable, with the `lang` of the page: only a word of at least 12 letters, with at least 5 on each side, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own, also where the browser has no dictionary for the language: `overheids­informatie`, or `\\u00AD` in a string set from script, where an entity is not read. Most browsers then break that word only there; Safari may still pick a syllable of its own.",
|
|
6868
7035
|
"name": "NLDDTitle",
|
|
6869
7036
|
"members": [
|
|
6870
7037
|
{
|
|
@@ -7490,7 +7657,7 @@
|
|
|
7490
7657
|
"expandedType": {
|
|
7491
7658
|
"text": "'delay' | 'instant' | 'never'"
|
|
7492
7659
|
},
|
|
7493
|
-
"description": "When the tooltip appears on hover: 'instant' — right away, without a show delay. 'delay' (the 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."
|
|
7660
|
+
"description": "When the tooltip appears on hover: 'instant' — right away, without a show delay or a fade, also on the way out. 'delay' (the 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."
|
|
7494
7661
|
}
|
|
7495
7662
|
],
|
|
7496
7663
|
"superclass": {
|
|
@@ -7729,7 +7896,7 @@
|
|
|
7729
7896
|
"text": "string"
|
|
7730
7897
|
},
|
|
7731
7898
|
"default": "''",
|
|
7732
|
-
"description": "Field label text. Omit for no-label layout.",
|
|
7899
|
+
"description": "Field label text. Omit for no-label layout. Supports **bold** markdown syntax, for the word to type in a confirmation; the accessible name of the control takes the text without the markers.",
|
|
7733
7900
|
"fieldName": "label"
|
|
7734
7901
|
},
|
|
7735
7902
|
{
|
|
@@ -7738,7 +7905,7 @@
|
|
|
7738
7905
|
"text": "string"
|
|
7739
7906
|
},
|
|
7740
7907
|
"default": "''",
|
|
7741
|
-
"description": "Short supporting text below the label. Same typography as optional badge.",
|
|
7908
|
+
"description": "Short supporting text below the label. Same typography as optional badge. Supports **bold** markdown syntax.",
|
|
7742
7909
|
"fieldName": "supportingLabel"
|
|
7743
7910
|
},
|
|
7744
7911
|
{
|
|
@@ -8186,7 +8353,7 @@
|
|
|
8186
8353
|
},
|
|
8187
8354
|
{
|
|
8188
8355
|
"kind": "class",
|
|
8189
|
-
"description": "Nederlandse Digitale Dienst Validation List (Lit + TypeScript) Everything a value has to satisfy, in one list. A requirement you can state up front is an item with a rule, and it checks itself while you type. One only a server can decide is an item without a rule, and the app names it in `unmet` on the control. The list has two modes and `judging` is the switch. Before a verdict it shows its hints, which are the requirements of the field. After one it shows everything the value does not satisfy, and the hints are gone. It throws that switch itself the moment its control turns `invalid`, so when the field is judged is the consumer's decision, and the right moment is on submit. Hints are off by default. A phone number does not need its format spelled out before anyone has typed, while the rules for a password do. There are no checkmarks. The control already shows a validation icon of its own, and repeating that per line says the same thing three times.",
|
|
8356
|
+
"description": "Nederlandse Digitale Dienst Validation List (Lit + TypeScript) Everything a value has to satisfy, in one list. A requirement you can state up front is an item with a rule, and it checks itself while you type. One only a server can decide is an item without a rule, and the app names it in `unmet` on the control. The list has two modes and `judging` is the switch. Before a verdict it shows its hints, which are the requirements of the field. After one it shows everything the value does not satisfy, and the hints are gone. It throws that switch itself the moment its control turns `invalid`, so when the field is judged is the consumer's decision, and the right moment is on submit. Hints are off by default. A phone number does not need its format spelled out before anyone has typed, while the rules for a password do. There are no checkmarks. The control already shows a validation icon of its own, and repeating that per line says the same thing three times. A field can be `invalid` while no item fails: the browser rejects `naam@` as an e-mail address, and a `match=\"@\"` item passes it. The list then says what it can itself, so a field never turns red without a reason under it. It reads the control's `validity` and names what is wrong (an invalid e-mail or web address, an empty required field, too short, too long, too low, too high), and says \"Dit klopt nog niet.\" when it cannot tell. An item of your own that fails always wins over this line. The line is an nldd-validation-item the list adds to its own children while it is needed, so nldd-form-field reads it to the control as it does every other item: a line in the list's shadow root would be out of its reach.",
|
|
8190
8357
|
"name": "NLDDValidationList",
|
|
8191
8358
|
"members": [
|
|
8192
8359
|
{
|
|
@@ -8236,6 +8403,15 @@
|
|
|
8236
8403
|
"text": "string | undefined"
|
|
8237
8404
|
},
|
|
8238
8405
|
"description": "The value to check, when there is no control to read it from."
|
|
8406
|
+
},
|
|
8407
|
+
{
|
|
8408
|
+
"kind": "field",
|
|
8409
|
+
"name": "translations",
|
|
8410
|
+
"type": {
|
|
8411
|
+
"text": "Partial<NLDDValidationListTranslations>"
|
|
8412
|
+
},
|
|
8413
|
+
"default": "{}",
|
|
8414
|
+
"attribute": "translations"
|
|
8239
8415
|
}
|
|
8240
8416
|
],
|
|
8241
8417
|
"attributes": [
|
|
@@ -8265,6 +8441,15 @@
|
|
|
8265
8441
|
"default": "false",
|
|
8266
8442
|
"description": "Drop the hints, because this field has been judged. Turned on by the list itself once its control is `invalid`, and settable by hand. What turns red follows `invalid`, not this.",
|
|
8267
8443
|
"fieldName": "judging"
|
|
8444
|
+
},
|
|
8445
|
+
{
|
|
8446
|
+
"name": "translations",
|
|
8447
|
+
"type": {
|
|
8448
|
+
"text": "Partial<NLDDValidationListTranslations>"
|
|
8449
|
+
},
|
|
8450
|
+
"default": "{}",
|
|
8451
|
+
"fieldName": "translations",
|
|
8452
|
+
"description": "Override translation keys (the line the list shows when the field is invalid and no item fails); unset keys fall back to Dutch."
|
|
8268
8453
|
}
|
|
8269
8454
|
],
|
|
8270
8455
|
"superclass": {
|
|
@@ -8665,6 +8850,22 @@
|
|
|
8665
8850
|
"module": "./inputs/segmented-control/segmented-control.js"
|
|
8666
8851
|
}
|
|
8667
8852
|
},
|
|
8853
|
+
{
|
|
8854
|
+
"kind": "js",
|
|
8855
|
+
"name": "NLDDSwatchPicker",
|
|
8856
|
+
"declaration": {
|
|
8857
|
+
"name": "NLDDSwatchPicker",
|
|
8858
|
+
"module": "./inputs/swatch-picker/swatch-picker.js"
|
|
8859
|
+
}
|
|
8860
|
+
},
|
|
8861
|
+
{
|
|
8862
|
+
"kind": "js",
|
|
8863
|
+
"name": "NLDDSwatchPickerItem",
|
|
8864
|
+
"declaration": {
|
|
8865
|
+
"name": "NLDDSwatchPickerItem",
|
|
8866
|
+
"module": "./inputs/swatch-picker/swatch-picker.js"
|
|
8867
|
+
}
|
|
8868
|
+
},
|
|
8668
8869
|
{
|
|
8669
8870
|
"kind": "js",
|
|
8670
8871
|
"name": "NLDDStepper",
|
|
@@ -9129,6 +9330,14 @@
|
|
|
9129
9330
|
"module": "./navigation/link/link.js"
|
|
9130
9331
|
}
|
|
9131
9332
|
},
|
|
9333
|
+
{
|
|
9334
|
+
"kind": "js",
|
|
9335
|
+
"name": "NLDDLinkGroup",
|
|
9336
|
+
"declaration": {
|
|
9337
|
+
"name": "NLDDLinkGroup",
|
|
9338
|
+
"module": "./navigation/link-group/link-group.js"
|
|
9339
|
+
}
|
|
9340
|
+
},
|
|
9132
9341
|
{
|
|
9133
9342
|
"kind": "js",
|
|
9134
9343
|
"name": "NLDDSkipLink",
|
|
@@ -9780,7 +9989,7 @@
|
|
|
9780
9989
|
"declarations": [
|
|
9781
9990
|
{
|
|
9782
9991
|
"kind": "class",
|
|
9783
|
-
"description": "
|
|
9992
|
+
"description": "",
|
|
9784
9993
|
"name": "NLDDCheckbox",
|
|
9785
9994
|
"members": [
|
|
9786
9995
|
{
|
|
@@ -10971,7 +11180,7 @@
|
|
|
10971
11180
|
"declarations": [
|
|
10972
11181
|
{
|
|
10973
11182
|
"kind": "class",
|
|
10974
|
-
"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.",
|
|
11183
|
+
"description": "A text input with autocomplete dropdown via nldd-menu. Add a slotted nldd-menu with nldd-menu-item children to provide options. After typing, a screen reader hears how many options are shown (\"2 resultaten\"), or the empty text when none are, also for options that a server sends in later. Only the number it lands on: it waits until the options settle. 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.",
|
|
10975
11184
|
"name": "NLDDComboBox",
|
|
10976
11185
|
"members": [
|
|
10977
11186
|
{
|
|
@@ -13309,6 +13518,24 @@
|
|
|
13309
13518
|
],
|
|
13310
13519
|
"description": "Whether a drop holds a folder. It arrives as a File without type or\nextension, which the field could not read, so it is refused."
|
|
13311
13520
|
},
|
|
13521
|
+
{
|
|
13522
|
+
"kind": "function",
|
|
13523
|
+
"name": "readDrop",
|
|
13524
|
+
"return": {
|
|
13525
|
+
"type": {
|
|
13526
|
+
"text": "Promise<DroppedFile[]>"
|
|
13527
|
+
}
|
|
13528
|
+
},
|
|
13529
|
+
"parameters": [
|
|
13530
|
+
{
|
|
13531
|
+
"name": "transfer",
|
|
13532
|
+
"type": {
|
|
13533
|
+
"text": "DataTransfer"
|
|
13534
|
+
}
|
|
13535
|
+
}
|
|
13536
|
+
],
|
|
13537
|
+
"description": "Every file in a drop, folders read down to the files in them, with paths.\n\nThe entries have to be taken while the drop event runs: once its handler\nreturns, the DataTransfer is emptied. Reading a folder is asynchronous, and a\nreader hands out its entries in batches (100 in Chrome), so it is read until\na batch comes back empty. An empty folder yields nothing."
|
|
13538
|
+
},
|
|
13312
13539
|
{
|
|
13313
13540
|
"kind": "function",
|
|
13314
13541
|
"name": "carriesFiles",
|
|
@@ -13396,6 +13623,14 @@
|
|
|
13396
13623
|
"module": "src/components/inputs/file-field/file-field.drop.ts"
|
|
13397
13624
|
}
|
|
13398
13625
|
},
|
|
13626
|
+
{
|
|
13627
|
+
"kind": "js",
|
|
13628
|
+
"name": "readDrop",
|
|
13629
|
+
"declaration": {
|
|
13630
|
+
"name": "readDrop",
|
|
13631
|
+
"module": "src/components/inputs/file-field/file-field.drop.ts"
|
|
13632
|
+
}
|
|
13633
|
+
},
|
|
13399
13634
|
{
|
|
13400
13635
|
"kind": "js",
|
|
13401
13636
|
"name": "carriesFiles",
|
|
@@ -13492,6 +13727,67 @@
|
|
|
13492
13727
|
],
|
|
13493
13728
|
"description": "The name as it fits `width`, measured with `measure`: whole when it fits,\notherwise as many characters as fit, half from the start and half from the\nend, around an ellipsis and before the extension."
|
|
13494
13729
|
},
|
|
13730
|
+
{
|
|
13731
|
+
"kind": "function",
|
|
13732
|
+
"name": "truncateMiddleToFit",
|
|
13733
|
+
"return": {
|
|
13734
|
+
"type": {
|
|
13735
|
+
"text": "{ text: string; truncated: boolean }"
|
|
13736
|
+
}
|
|
13737
|
+
},
|
|
13738
|
+
"parameters": [
|
|
13739
|
+
{
|
|
13740
|
+
"name": "name",
|
|
13741
|
+
"type": {
|
|
13742
|
+
"text": "string"
|
|
13743
|
+
}
|
|
13744
|
+
},
|
|
13745
|
+
{
|
|
13746
|
+
"name": "fits",
|
|
13747
|
+
"type": {
|
|
13748
|
+
"text": "(text: string) => boolean"
|
|
13749
|
+
}
|
|
13750
|
+
},
|
|
13751
|
+
{
|
|
13752
|
+
"name": "{ keepExtension = true }",
|
|
13753
|
+
"default": "{}",
|
|
13754
|
+
"type": {
|
|
13755
|
+
"text": "{ keepExtension?: boolean }"
|
|
13756
|
+
}
|
|
13757
|
+
}
|
|
13758
|
+
],
|
|
13759
|
+
"description": "The name as it fits where `fits` says, cut as `truncateMiddle` cuts it. With\n`keepExtension` off, as for a folder, a dot in the name is no extension."
|
|
13760
|
+
},
|
|
13761
|
+
{
|
|
13762
|
+
"kind": "function",
|
|
13763
|
+
"name": "lineFitter",
|
|
13764
|
+
"return": {
|
|
13765
|
+
"type": {
|
|
13766
|
+
"text": "{ fits: (text: string) => boolean; done: () => void }"
|
|
13767
|
+
}
|
|
13768
|
+
},
|
|
13769
|
+
"parameters": [
|
|
13770
|
+
{
|
|
13771
|
+
"name": "container",
|
|
13772
|
+
"type": {
|
|
13773
|
+
"text": "Element"
|
|
13774
|
+
}
|
|
13775
|
+
},
|
|
13776
|
+
{
|
|
13777
|
+
"name": "width",
|
|
13778
|
+
"type": {
|
|
13779
|
+
"text": "number"
|
|
13780
|
+
}
|
|
13781
|
+
},
|
|
13782
|
+
{
|
|
13783
|
+
"name": "lines",
|
|
13784
|
+
"type": {
|
|
13785
|
+
"text": "number"
|
|
13786
|
+
}
|
|
13787
|
+
}
|
|
13788
|
+
],
|
|
13789
|
+
"description": "Tells whether text fits in `lines` lines of `width`, wrapped the way\n`container` wraps it: anywhere, as a file name has few spaces. Call `done`\nafter."
|
|
13790
|
+
},
|
|
13495
13791
|
{
|
|
13496
13792
|
"kind": "function",
|
|
13497
13793
|
"name": "textMeasurer",
|
|
@@ -13536,6 +13832,22 @@
|
|
|
13536
13832
|
"module": "src/components/inputs/file-field/file-field.truncate.ts"
|
|
13537
13833
|
}
|
|
13538
13834
|
},
|
|
13835
|
+
{
|
|
13836
|
+
"kind": "js",
|
|
13837
|
+
"name": "truncateMiddleToFit",
|
|
13838
|
+
"declaration": {
|
|
13839
|
+
"name": "truncateMiddleToFit",
|
|
13840
|
+
"module": "src/components/inputs/file-field/file-field.truncate.ts"
|
|
13841
|
+
}
|
|
13842
|
+
},
|
|
13843
|
+
{
|
|
13844
|
+
"kind": "js",
|
|
13845
|
+
"name": "lineFitter",
|
|
13846
|
+
"declaration": {
|
|
13847
|
+
"name": "lineFitter",
|
|
13848
|
+
"module": "src/components/inputs/file-field/file-field.truncate.ts"
|
|
13849
|
+
}
|
|
13850
|
+
},
|
|
13539
13851
|
{
|
|
13540
13852
|
"kind": "js",
|
|
13541
13853
|
"name": "textMeasurer",
|
|
@@ -13552,7 +13864,7 @@
|
|
|
13552
13864
|
"declarations": [
|
|
13553
13865
|
{
|
|
13554
13866
|
"kind": "class",
|
|
13555
|
-
"description": "A file picker that reads as one control. Empty, the whole tinted surface is one button with one sentence centered in it, \"Bestand kiezen of sleep het hierheen\", its first part accented, so a press anywhere on it opens the file dialog. Once a file is chosen, the surface shows it with the icon of its format, its name, a button to choose another and a dismiss button to clear it again. A long name is cut in the middle, so its start and its end stay in view (\"Screenshot 20…at 13.12.21.png\"); it then shows whole in a tooltip, and a screen reader reads it whole either way. 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. Files can be dropped on the whole field. A drop goes through the same input, so it fires the same `change` with the same detail and submits the same way as a pick. `accept` and `multiple` hold for a drop too, which the native input does not do: a drop that does not fit is refused as a whole, the previous choice stays, and the field says why for a few seconds: \"Sleep één bestand\", or what `accept` takes, named from it (\"
|
|
13867
|
+
"description": "A file picker that reads as one control. Empty, the whole tinted surface is one button with one sentence centered in it, \"Bestand kiezen of sleep het hierheen\", its first part accented, so a press anywhere on it opens the file dialog. Once a file is chosen, the surface shows it with the icon of its format, its name, a button to choose another and a dismiss button to clear it again. A long name is cut in the middle, so its start and its end stay in view (\"Screenshot 20…at 13.12.21.png\"); it then shows whole in a tooltip, and a screen reader reads it whole either way. 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. Files can be dropped on the whole field. A drop goes through the same input, so it fires the same `change` with the same detail and submits the same way as a pick. `accept` and `multiple` hold for a drop too, which the native input does not do: a drop that does not fit is refused as a whole, the previous choice stays, and the field says why for a few seconds: \"Sleep één bestand\", or what `accept` takes, named from it (\"Alleen PDF\"; \"Bestandstype past niet\" where a type in it has no name). The message stays for a few seconds and then gives way to the field again. While it shows, the message is a button of its own over the whole field, \"Alleen PDF, sluit melding, Bijlage\" to a screen reader: a press on it, or Enter, Space or Escape, dismisses it and puts focus on the button of the field again. A field that had focus when the message came gives it to the message, so focus does not fall back to the page. With `multiple`, a dropped folder is read down to the files in it, its subfolders included, and mixed with loose files in one drop if need be. The field then names the folder (\"site (124 bestanden)\", also \"site (1 bestand)\" for one), `paths` says where each file sat (\"site/css/main.css\"), and a form submits each file with its path as its name, as a native folder input does, so two files with one name in different folders stay apart. `accept` holds for every file in it. Without `multiple` a folder is refused (\"Sleep bestand, geen map\"): one file cannot be a folder. Only a drop tells a folder apart, not the drag. A folder that takes longer than a second to read shows the field empty with an `nldd-activity-indicator` (\"Laden\" in an area, the circle alone otherwise), as what was chosen gives way to it. An empty or unreadable folder is refused as any other drop, and the previous choice comes back after the message. `directory` offers a folder in the file dialog too. A dialog picks files or a folder, never both, so with it the field says \"Bestanden of map kiezen\" and a click opens a menu with both where it lands, as a context menu does; the keyboard opens it under the button. An area has room for both, so there it shows \"Bestanden kiezen\" and \"Map kiezen\" as two buttons with the drop hint under them, and the surface around them only takes a drop. \"Wijzigen\" opens the menu under itself. A folder is many files, so `directory` takes several without `multiple`. Safari on iOS picks a folder as well; a browser that cannot opens a dialog for files instead. While files are dragged over the page, every field marks itself as a place to put them, and the field under the pointer says it will take them (a field with a file: that they replace it), or turns critical and refuses already when the number or the type rules them out. A file dropped next to a field no longer makes the browser open it and leave the page; a drop that another drop zone or an editable field takes is left alone. On a device without hover there is no dragging, so the field there drops the hint. A control reserves the height of every text it can show, so fields of a size are as tall at one width, empty or with a file. Only a field with `directory` reserves the sentence that offers a folder, the longest of them. The name takes the lines that leaves it, and is cut in the middle only once those are full. A narrow field makes more room: below 320px \"Wijzigen\" and \"Wis selectie\" go in one menu behind \"Toon opties\" and a folder is counted as \"site (3)\", below 240px it leaves out the icon of the format. A refused drop says why in place of the name and the buttons, and an area shows its upload icon in red with it, as it did while the drop was refused. 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 it or drop a file on it, so it has the border of a tinted surface instead of `--semantics-input-fields-*`. 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. `variant=\"area\"` lays the same field out as a tall surface, for a page where handing in files is the main task. Empty, it shows an upload icon, the sentence and the types it takes (\"Toegestaan: PDF of JPG\"), named from `accept`; with a file, the icon of its format (a folder for a folder, a stack for several files), its name and the buttons \"Wijzigen\" and \"Wis selectie\" stacked in the middle. Both states have the same height, so the page does not move when a file is chosen: 160px, 120px at `size=\"sm\"`, and a step more with `directory`, whose buttons take a row of their own. Where those buttons no longer fit side by side, below 360px or 300px at `size=\"sm\"`, it is one step taller again.",
|
|
13556
13868
|
"name": "NLDDFileField",
|
|
13557
13869
|
"members": [
|
|
13558
13870
|
{
|
|
@@ -13605,6 +13917,17 @@
|
|
|
13605
13917
|
"attribute": "multiple",
|
|
13606
13918
|
"reflects": true
|
|
13607
13919
|
},
|
|
13920
|
+
{
|
|
13921
|
+
"kind": "field",
|
|
13922
|
+
"name": "directory",
|
|
13923
|
+
"type": {
|
|
13924
|
+
"text": "boolean"
|
|
13925
|
+
},
|
|
13926
|
+
"default": "false",
|
|
13927
|
+
"description": "Offers a folder beside files: choosing opens a menu with both.",
|
|
13928
|
+
"attribute": "directory",
|
|
13929
|
+
"reflects": true
|
|
13930
|
+
},
|
|
13608
13931
|
{
|
|
13609
13932
|
"kind": "field",
|
|
13610
13933
|
"name": "accessibleLabel",
|
|
@@ -13691,6 +14014,15 @@
|
|
|
13691
14014
|
},
|
|
13692
14015
|
"readonly": true
|
|
13693
14016
|
},
|
|
14017
|
+
{
|
|
14018
|
+
"kind": "field",
|
|
14019
|
+
"name": "paths",
|
|
14020
|
+
"type": {
|
|
14021
|
+
"text": "string[]"
|
|
14022
|
+
},
|
|
14023
|
+
"description": "Where each file sat: its name, or for a file from a dropped folder the\npath from that folder down (\"site/css/main.css\"). Same order as `files`.",
|
|
14024
|
+
"readonly": true
|
|
14025
|
+
},
|
|
13694
14026
|
{
|
|
13695
14027
|
"kind": "method",
|
|
13696
14028
|
"name": "formValue",
|
|
@@ -13699,7 +14031,7 @@
|
|
|
13699
14031
|
"text": "FormValue"
|
|
13700
14032
|
}
|
|
13701
14033
|
},
|
|
13702
|
-
"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.",
|
|
14034
|
+
"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. A file from a\ndropped folder goes with its path as its file name, which is how a native\nfolder input submits it too.",
|
|
13703
14035
|
"inheritedFrom": {
|
|
13704
14036
|
"name": "FormAssociated",
|
|
13705
14037
|
"module": "src/utilities/form-associated-mixin.ts"
|
|
@@ -13726,7 +14058,8 @@
|
|
|
13726
14058
|
"type": {
|
|
13727
14059
|
"text": "void"
|
|
13728
14060
|
}
|
|
13729
|
-
}
|
|
14061
|
+
},
|
|
14062
|
+
"description": "Back to empty, as a clear, but without a change event, as a native\ninput resets: a folder still being read is dropped too."
|
|
13730
14063
|
},
|
|
13731
14064
|
{
|
|
13732
14065
|
"kind": "method",
|
|
@@ -13913,7 +14246,7 @@
|
|
|
13913
14246
|
"events": [
|
|
13914
14247
|
{
|
|
13915
14248
|
"name": "change",
|
|
13916
|
-
"description": "When the chosen files change, including a clear; detail: { files: File[] }"
|
|
14249
|
+
"description": "When the chosen files change, including a clear; detail: { files: File[], paths: string[] }"
|
|
13917
14250
|
}
|
|
13918
14251
|
],
|
|
13919
14252
|
"attributes": [
|
|
@@ -13957,7 +14290,16 @@
|
|
|
13957
14290
|
},
|
|
13958
14291
|
"default": "false",
|
|
13959
14292
|
"fieldName": "multiple",
|
|
13960
|
-
"description": "Allows choosing more than one file"
|
|
14293
|
+
"description": "Allows choosing more than one file, and dropping a folder"
|
|
14294
|
+
},
|
|
14295
|
+
{
|
|
14296
|
+
"name": "directory",
|
|
14297
|
+
"type": {
|
|
14298
|
+
"text": "boolean"
|
|
14299
|
+
},
|
|
14300
|
+
"default": "false",
|
|
14301
|
+
"description": "Offers a folder beside files, since one dialog picks either: choosing and changing open a menu with both, and an area shows a button for each. Takes several files, as `multiple` does",
|
|
14302
|
+
"fieldName": "directory"
|
|
13961
14303
|
},
|
|
13962
14304
|
{
|
|
13963
14305
|
"name": "accessible-label",
|
|
@@ -15419,43 +15761,13 @@
|
|
|
15419
15761
|
},
|
|
15420
15762
|
{
|
|
15421
15763
|
"kind": "field",
|
|
15422
|
-
"name": "
|
|
15423
|
-
"type": {
|
|
15424
|
-
"text": "string"
|
|
15425
|
-
},
|
|
15426
|
-
"default": "'Toon'",
|
|
15427
|
-
"description": "Visible button label when the field is masked. Override for localisation.",
|
|
15428
|
-
"attribute": "show-button-text"
|
|
15429
|
-
},
|
|
15430
|
-
{
|
|
15431
|
-
"kind": "field",
|
|
15432
|
-
"name": "hideButtonText",
|
|
15433
|
-
"type": {
|
|
15434
|
-
"text": "string"
|
|
15435
|
-
},
|
|
15436
|
-
"default": "'Verberg'",
|
|
15437
|
-
"description": "Visible button label when the field is unmasked. Override for localisation.",
|
|
15438
|
-
"attribute": "hide-button-text"
|
|
15439
|
-
},
|
|
15440
|
-
{
|
|
15441
|
-
"kind": "field",
|
|
15442
|
-
"name": "showButtonAccessibleLabel",
|
|
15443
|
-
"type": {
|
|
15444
|
-
"text": "string"
|
|
15445
|
-
},
|
|
15446
|
-
"default": "'Toon wachtwoord'",
|
|
15447
|
-
"description": "Accessible aria-label for the toggle button when the field is masked. Override for localisation.",
|
|
15448
|
-
"attribute": "show-button-accessible-label"
|
|
15449
|
-
},
|
|
15450
|
-
{
|
|
15451
|
-
"kind": "field",
|
|
15452
|
-
"name": "hideButtonAccessibleLabel",
|
|
15764
|
+
"name": "translations",
|
|
15453
15765
|
"type": {
|
|
15454
|
-
"text": "
|
|
15766
|
+
"text": "Partial<NLDDPasswordFieldTranslations>"
|
|
15455
15767
|
},
|
|
15456
|
-
"default": "
|
|
15457
|
-
"description": "
|
|
15458
|
-
"attribute": "
|
|
15768
|
+
"default": "{}",
|
|
15769
|
+
"description": "Override one or more translation keys. Unset keys fall back to Dutch.",
|
|
15770
|
+
"attribute": "translations"
|
|
15459
15771
|
},
|
|
15460
15772
|
{
|
|
15461
15773
|
"kind": "field",
|
|
@@ -15872,40 +16184,13 @@
|
|
|
15872
16184
|
"description": "Whether the password is masked (default: true)"
|
|
15873
16185
|
},
|
|
15874
16186
|
{
|
|
15875
|
-
"name": "
|
|
15876
|
-
"type": {
|
|
15877
|
-
"text": "string"
|
|
15878
|
-
},
|
|
15879
|
-
"default": "'Toon'",
|
|
15880
|
-
"description": "Visible toggle button text when masked (default: 'Toon')",
|
|
15881
|
-
"fieldName": "showButtonText"
|
|
15882
|
-
},
|
|
15883
|
-
{
|
|
15884
|
-
"name": "hide-button-text",
|
|
15885
|
-
"type": {
|
|
15886
|
-
"text": "string"
|
|
15887
|
-
},
|
|
15888
|
-
"default": "'Verberg'",
|
|
15889
|
-
"description": "Visible toggle button text when unmasked (default: 'Verberg')",
|
|
15890
|
-
"fieldName": "hideButtonText"
|
|
15891
|
-
},
|
|
15892
|
-
{
|
|
15893
|
-
"name": "show-button-accessible-label",
|
|
16187
|
+
"name": "translations",
|
|
15894
16188
|
"type": {
|
|
15895
|
-
"text": "
|
|
16189
|
+
"text": "Partial<NLDDPasswordFieldTranslations>"
|
|
15896
16190
|
},
|
|
15897
|
-
"default": "
|
|
15898
|
-
"description": "
|
|
15899
|
-
"fieldName": "
|
|
15900
|
-
},
|
|
15901
|
-
{
|
|
15902
|
-
"name": "hide-button-accessible-label",
|
|
15903
|
-
"type": {
|
|
15904
|
-
"text": "string"
|
|
15905
|
-
},
|
|
15906
|
-
"default": "'Verberg wachtwoord'",
|
|
15907
|
-
"description": "aria-label for toggle when unmasked (default: 'Verberg wachtwoord')",
|
|
15908
|
-
"fieldName": "hideButtonAccessibleLabel"
|
|
16191
|
+
"default": "{}",
|
|
16192
|
+
"description": "Override translation keys; unset keys fall back to Dutch",
|
|
16193
|
+
"fieldName": "translations"
|
|
15909
16194
|
},
|
|
15910
16195
|
{
|
|
15911
16196
|
"name": "readonly",
|
|
@@ -16671,7 +16956,7 @@
|
|
|
16671
16956
|
"declarations": [
|
|
16672
16957
|
{
|
|
16673
16958
|
"kind": "class",
|
|
16674
|
-
"description": "WAI-ARIA: put the buttons of one group in a container with role=\"radiogroup\" and a name of its own. A screen reader counts the options from that container, so a bare <fieldset> (which is a group, not a radiogroup) leaves them uncounted. nldd-radio-button-group does this for you. Radio buttons with the same name, in the same form and the same tree, form one group the way native radios do: checking one unchecks the others, the arrow keys move between them, Tab stops at the group once, and a screen reader hears each one's place in it. The element itself is the radio, because an input per shadow root would leave every button a group of one. The shape is all this component draws. A radio with a label beside it is nldd-radio-button-field. <fieldset role=\"radiogroup\" aria-labelledby=\"options-label\"> <legend id=\"options-label\">Kies een optie</legend> <nldd-radio-button name=\"options\" value=\"1\" accessible-label=\"Optie 1\"></nldd-radio-button> <nldd-radio-button name=\"options\" value=\"2\" accessible-label=\"Optie 2\"></nldd-radio-button> </fieldset>
|
|
16959
|
+
"description": "WAI-ARIA: put the buttons of one group in a container with role=\"radiogroup\" and a name of its own. A screen reader counts the options from that container, so a bare <fieldset> (which is a group, not a radiogroup) leaves them uncounted. nldd-radio-button-group does this for you. Radio buttons with the same name, in the same form and the same tree, form one group the way native radios do: checking one unchecks the others, the arrow keys move between them, Tab stops at the group once, and a screen reader hears each one's place in it. The element itself is the radio, because an input per shadow root would leave every button a group of one. The shape is all this component draws. A radio with a label beside it is nldd-radio-button-field. <fieldset role=\"radiogroup\" aria-labelledby=\"options-label\"> <legend id=\"options-label\">Kies een optie</legend> <nldd-radio-button name=\"options\" value=\"1\" accessible-label=\"Optie 1\"></nldd-radio-button> <nldd-radio-button name=\"options\" value=\"2\" accessible-label=\"Optie 2\"></nldd-radio-button> </fieldset>",
|
|
16675
16960
|
"name": "NLDDRadioButton",
|
|
16676
16961
|
"members": [
|
|
16677
16962
|
{
|
|
@@ -18750,7 +19035,7 @@
|
|
|
18750
19035
|
"declarations": [
|
|
18751
19036
|
{
|
|
18752
19037
|
"kind": "class",
|
|
18753
|
-
"description": "A value picked along a track, by dragging its thumb, pressing the track or with the arrow keys. With `range` it picks a range instead, with a thumb for each end. The names follow Apple's: the track, the thumb, and the minimum track, the part filled up to the thumb, or between the thumbs of a range. A slider is for a value that may be roughly right, such as a filter (\"a price between …\"). For a value that has to be exact, an `nldd-number-field` is easier: a thumb is hard to put on one number, the more so with a hand that is not steady. It is built on native range inputs, so the keyboard (arrows, Page Up and Page Down, Home and End), touch, the form and a screen reader work as they do for any slider. A range is two of them over each other, each with its own name for a screen reader (\"Prijs, minimum\"), and a press on the track moves the nearer thumb there.
|
|
19038
|
+
"description": "A value picked along a track, by dragging its thumb, pressing the track or with the arrow keys. With `range` it picks a range instead, with a thumb for each end. The names follow Apple's: the track, the thumb, and the minimum track, the part filled up to the thumb, or between the thumbs of a range. A slider is for a value that may be roughly right, such as a filter (\"a price between …\"). For a value that has to be exact, an `nldd-number-field` is easier: a thumb is hard to put on one number, the more so with a hand that is not steady. It is built on native range inputs, so the keyboard (arrows, Page Up and Page Down, Home and End), touch, the form and a screen reader work as they do for any slider. A range is two of them over each other, each with its own name for a screen reader (\"Prijs, minimum\"), and a press on the track moves the nearer thumb there. A thumb dragged or moved with an arrow key (also with Shift) past the other one becomes that end of the range, and focus goes with it, so its name still says which end it is. Home, End, Page Up and Page Down stop at the other thumb, so they never turn the range around. Where the thumbs lie on one value, the first move picks one, to the left the start one. The value shows in a tooltip above the thumb while the pointer is over the slider or its icons, while a thumb has keyboard focus and while it or an icon is pressed; with `tooltip-timing=\"never\"` it does not, for a slider whose value already shows elsewhere. Where the two tooltips of a range would overlap, they show as one (\"200 – 1.200\"). `formatValue` turns a number into the text of the tooltip and of what a screen reader hears, such as `(value) => \\`€ ${value}\\``; without it the number is written in the language of the page (`lang`), and in Dutch where none is set. `histogram` draws counts as bars above the track, such as how many results there are at each price, so the range can be chosen with the spread in view. Give one count per bucket: n counts split min to max into n equal buckets of (max - min) / n, the first count for the first bucket. Only the proportions matter (the highest count is the full height), a 0 is an empty bucket, and 20 to 40 buckets read best, whatever the `step`. A bar whose middle lies within the chosen value or range is colored. The bars are decoration for a screen reader: say what they show in the text around it. A larger step than the arrow keys take is a tenth of the range, and at least one `step`: what Page Up and Page Down do, what Shift with an arrow key does (a Mac keyboard has no Page Up), and what a click on `start-icon` or `end-icon` does. The icons stay out of the tab order and out of the accessibility tree, because the keyboard already has those keys. In a range they only explain the ends, since a click could not say which thumb to move. In a form a slider submits its value under `name`; a range submits both ends under it, the start first.",
|
|
18754
19039
|
"name": "NLDDSlider",
|
|
18755
19040
|
"members": [
|
|
18756
19041
|
{
|
|
@@ -18951,7 +19236,8 @@
|
|
|
18951
19236
|
"type": {
|
|
18952
19237
|
"text": "void"
|
|
18953
19238
|
}
|
|
18954
|
-
}
|
|
19239
|
+
},
|
|
19240
|
+
"description": "Back to the values in the attributes, as a native input resets to its\n`value` attribute, or else to what it had when it was first connected."
|
|
18955
19241
|
},
|
|
18956
19242
|
{
|
|
18957
19243
|
"kind": "method",
|
|
@@ -19214,7 +19500,7 @@
|
|
|
19214
19500
|
},
|
|
19215
19501
|
"default": "''",
|
|
19216
19502
|
"fieldName": "startIcon",
|
|
19217
|
-
"description": "Icon at the start of the track, such as a quiet speaker for a volume"
|
|
19503
|
+
"description": "Icon at the start of the track, such as a quiet speaker for a volume. A click on it moves the value a tenth of the range down (not in a range)."
|
|
19218
19504
|
},
|
|
19219
19505
|
{
|
|
19220
19506
|
"name": "end-icon",
|
|
@@ -19223,7 +19509,7 @@
|
|
|
19223
19509
|
},
|
|
19224
19510
|
"default": "''",
|
|
19225
19511
|
"fieldName": "endIcon",
|
|
19226
|
-
"description": "Icon at the end of the track"
|
|
19512
|
+
"description": "Icon at the end of the track. A click on it moves the value a tenth of the range up (not in a range)."
|
|
19227
19513
|
},
|
|
19228
19514
|
{
|
|
19229
19515
|
"name": "accessible-label",
|
|
@@ -19858,6 +20144,700 @@
|
|
|
19858
20144
|
}
|
|
19859
20145
|
]
|
|
19860
20146
|
},
|
|
20147
|
+
{
|
|
20148
|
+
"kind": "javascript-module",
|
|
20149
|
+
"path": "src/components/inputs/swatch-picker/swatch-picker.ts",
|
|
20150
|
+
"declarations": [
|
|
20151
|
+
{
|
|
20152
|
+
"kind": "class",
|
|
20153
|
+
"description": "",
|
|
20154
|
+
"name": "NLDDSwatchPickerItem",
|
|
20155
|
+
"members": [
|
|
20156
|
+
{
|
|
20157
|
+
"kind": "field",
|
|
20158
|
+
"name": "color",
|
|
20159
|
+
"type": {
|
|
20160
|
+
"text": "SwatchColor | ''"
|
|
20161
|
+
},
|
|
20162
|
+
"default": "''",
|
|
20163
|
+
"attribute": "color",
|
|
20164
|
+
"reflects": true
|
|
20165
|
+
},
|
|
20166
|
+
{
|
|
20167
|
+
"kind": "field",
|
|
20168
|
+
"name": "customColor",
|
|
20169
|
+
"type": {
|
|
20170
|
+
"text": "string"
|
|
20171
|
+
},
|
|
20172
|
+
"default": "''",
|
|
20173
|
+
"attribute": "custom-color",
|
|
20174
|
+
"reflects": true
|
|
20175
|
+
},
|
|
20176
|
+
{
|
|
20177
|
+
"kind": "field",
|
|
20178
|
+
"name": "image",
|
|
20179
|
+
"type": {
|
|
20180
|
+
"text": "string"
|
|
20181
|
+
},
|
|
20182
|
+
"default": "''",
|
|
20183
|
+
"attribute": "image"
|
|
20184
|
+
},
|
|
20185
|
+
{
|
|
20186
|
+
"kind": "field",
|
|
20187
|
+
"name": "imageSrcset",
|
|
20188
|
+
"type": {
|
|
20189
|
+
"text": "string"
|
|
20190
|
+
},
|
|
20191
|
+
"default": "''",
|
|
20192
|
+
"attribute": "image-srcset"
|
|
20193
|
+
},
|
|
20194
|
+
{
|
|
20195
|
+
"kind": "field",
|
|
20196
|
+
"name": "text",
|
|
20197
|
+
"type": {
|
|
20198
|
+
"text": "string"
|
|
20199
|
+
},
|
|
20200
|
+
"default": "''",
|
|
20201
|
+
"attribute": "text",
|
|
20202
|
+
"reflects": true
|
|
20203
|
+
},
|
|
20204
|
+
{
|
|
20205
|
+
"kind": "field",
|
|
20206
|
+
"name": "selected",
|
|
20207
|
+
"type": {
|
|
20208
|
+
"text": "boolean"
|
|
20209
|
+
},
|
|
20210
|
+
"default": "false",
|
|
20211
|
+
"attribute": "selected",
|
|
20212
|
+
"reflects": true
|
|
20213
|
+
},
|
|
20214
|
+
{
|
|
20215
|
+
"kind": "field",
|
|
20216
|
+
"name": "disabled",
|
|
20217
|
+
"type": {
|
|
20218
|
+
"text": "boolean"
|
|
20219
|
+
},
|
|
20220
|
+
"default": "false",
|
|
20221
|
+
"attribute": "disabled",
|
|
20222
|
+
"reflects": true
|
|
20223
|
+
},
|
|
20224
|
+
{
|
|
20225
|
+
"kind": "field",
|
|
20226
|
+
"name": "value",
|
|
20227
|
+
"type": {
|
|
20228
|
+
"text": "string"
|
|
20229
|
+
},
|
|
20230
|
+
"default": "''",
|
|
20231
|
+
"attribute": "value"
|
|
20232
|
+
},
|
|
20233
|
+
{
|
|
20234
|
+
"kind": "field",
|
|
20235
|
+
"name": "size",
|
|
20236
|
+
"type": {
|
|
20237
|
+
"text": "SwatchPickerSize"
|
|
20238
|
+
},
|
|
20239
|
+
"default": "'md'",
|
|
20240
|
+
"description": "Set by nldd-swatch-picker. Not part of the public API.",
|
|
20241
|
+
"attribute": "size",
|
|
20242
|
+
"reflects": true
|
|
20243
|
+
},
|
|
20244
|
+
{
|
|
20245
|
+
"kind": "method",
|
|
20246
|
+
"name": "focus",
|
|
20247
|
+
"return": {
|
|
20248
|
+
"type": {
|
|
20249
|
+
"text": "void"
|
|
20250
|
+
}
|
|
20251
|
+
},
|
|
20252
|
+
"parameters": [
|
|
20253
|
+
{
|
|
20254
|
+
"name": "options",
|
|
20255
|
+
"optional": true,
|
|
20256
|
+
"type": {
|
|
20257
|
+
"text": "FocusOptions"
|
|
20258
|
+
}
|
|
20259
|
+
}
|
|
20260
|
+
]
|
|
20261
|
+
},
|
|
20262
|
+
{
|
|
20263
|
+
"kind": "field",
|
|
20264
|
+
"name": "translations",
|
|
20265
|
+
"type": {
|
|
20266
|
+
"text": "Partial<T>"
|
|
20267
|
+
},
|
|
20268
|
+
"default": "{}",
|
|
20269
|
+
"attribute": "translations",
|
|
20270
|
+
"inheritedFrom": {
|
|
20271
|
+
"name": "withTranslations",
|
|
20272
|
+
"module": "src/utilities/with-translations.ts"
|
|
20273
|
+
}
|
|
20274
|
+
}
|
|
20275
|
+
],
|
|
20276
|
+
"events": [
|
|
20277
|
+
{
|
|
20278
|
+
"name": "item-change",
|
|
20279
|
+
"type": {
|
|
20280
|
+
"text": "CustomEvent"
|
|
20281
|
+
}
|
|
20282
|
+
}
|
|
20283
|
+
],
|
|
20284
|
+
"attributes": [
|
|
20285
|
+
{
|
|
20286
|
+
"name": "color",
|
|
20287
|
+
"type": {
|
|
20288
|
+
"text": "SwatchColor | ''"
|
|
20289
|
+
},
|
|
20290
|
+
"default": "''",
|
|
20291
|
+
"fieldName": "color",
|
|
20292
|
+
"expandedType": {
|
|
20293
|
+
"text": "'' | 'bruin' | 'donkerblauw' | 'donkerbruin' | 'donkergeel' | 'donkergroen' | 'geel' | 'groen' | 'hemelblauw' | 'lichtblauw' | 'lintblauw' | 'mintgroen' | 'mosgroen' | 'oranje' | 'paars' | 'robijnrood' | 'rood' | 'roze' | 'violet'"
|
|
20294
|
+
},
|
|
20295
|
+
"description": "Category color: 'lintblauw' | 'donkerblauw' | 'hemelblauw' | 'lichtblauw' | 'paars' | 'violet' | 'robijnrood' | 'roze' | 'rood' | 'oranje' | 'donkergeel' | 'geel' | 'donkerbruin' | 'bruin' | 'donkergroen' | 'groen' | 'mosgroen' | 'mintgroen'. Brings its name along, so `text` is optional."
|
|
20296
|
+
},
|
|
20297
|
+
{
|
|
20298
|
+
"name": "custom-color",
|
|
20299
|
+
"type": {
|
|
20300
|
+
"text": "string"
|
|
20301
|
+
},
|
|
20302
|
+
"default": "''",
|
|
20303
|
+
"fieldName": "customColor",
|
|
20304
|
+
"description": "Any CSS color of your own (e.g. '#7a1f3d' or 'var(--brand-color)'), for a color outside the categories. Needs `text`."
|
|
20305
|
+
},
|
|
20306
|
+
{
|
|
20307
|
+
"name": "image",
|
|
20308
|
+
"type": {
|
|
20309
|
+
"text": "string"
|
|
20310
|
+
},
|
|
20311
|
+
"default": "''",
|
|
20312
|
+
"fieldName": "image",
|
|
20313
|
+
"description": "URL of an image that fills the swatch, for a pattern or a material. Needs `text`."
|
|
20314
|
+
},
|
|
20315
|
+
{
|
|
20316
|
+
"name": "image-srcset",
|
|
20317
|
+
"type": {
|
|
20318
|
+
"text": "string"
|
|
20319
|
+
},
|
|
20320
|
+
"default": "''",
|
|
20321
|
+
"fieldName": "imageSrcset",
|
|
20322
|
+
"description": "Sources of the image at other pixel densities, with x descriptors (e.g. '/oak.jpg 1x, /oak@2x.jpg 2x'). The swatch has a fixed size, so there are no widths to choose from."
|
|
20323
|
+
},
|
|
20324
|
+
{
|
|
20325
|
+
"name": "text",
|
|
20326
|
+
"type": {
|
|
20327
|
+
"text": "string"
|
|
20328
|
+
},
|
|
20329
|
+
"default": "''",
|
|
20330
|
+
"fieldName": "text",
|
|
20331
|
+
"description": "Name of the swatch, for screen readers and the tooltip. Overrides the name of a category `color`."
|
|
20332
|
+
},
|
|
20333
|
+
{
|
|
20334
|
+
"name": "selected",
|
|
20335
|
+
"type": {
|
|
20336
|
+
"text": "boolean"
|
|
20337
|
+
},
|
|
20338
|
+
"default": "false",
|
|
20339
|
+
"fieldName": "selected",
|
|
20340
|
+
"description": "Whether this swatch is chosen (set by the picker)"
|
|
20341
|
+
},
|
|
20342
|
+
{
|
|
20343
|
+
"name": "disabled",
|
|
20344
|
+
"type": {
|
|
20345
|
+
"text": "boolean"
|
|
20346
|
+
},
|
|
20347
|
+
"default": "false",
|
|
20348
|
+
"fieldName": "disabled",
|
|
20349
|
+
"description": "Disabled state"
|
|
20350
|
+
},
|
|
20351
|
+
{
|
|
20352
|
+
"name": "value",
|
|
20353
|
+
"type": {
|
|
20354
|
+
"text": "string"
|
|
20355
|
+
},
|
|
20356
|
+
"default": "''",
|
|
20357
|
+
"fieldName": "value",
|
|
20358
|
+
"description": "Value for this swatch"
|
|
20359
|
+
},
|
|
20360
|
+
{
|
|
20361
|
+
"name": "size",
|
|
20362
|
+
"type": {
|
|
20363
|
+
"text": "SwatchPickerSize"
|
|
20364
|
+
},
|
|
20365
|
+
"default": "'md'",
|
|
20366
|
+
"description": "Swatch size: 'xs' | 'sm' | 'md' (set by the picker, default: 'md')",
|
|
20367
|
+
"fieldName": "size",
|
|
20368
|
+
"expandedType": {
|
|
20369
|
+
"text": "'md' | 'sm' | 'xs'"
|
|
20370
|
+
}
|
|
20371
|
+
},
|
|
20372
|
+
{
|
|
20373
|
+
"name": "translations",
|
|
20374
|
+
"type": {
|
|
20375
|
+
"text": "Partial<T>"
|
|
20376
|
+
},
|
|
20377
|
+
"default": "{}",
|
|
20378
|
+
"fieldName": "translations",
|
|
20379
|
+
"inheritedFrom": {
|
|
20380
|
+
"name": "withTranslations",
|
|
20381
|
+
"module": "src/utilities/with-translations.ts"
|
|
20382
|
+
},
|
|
20383
|
+
"description": "Override translation keys (the names of the category colors); unset keys fall back to Dutch."
|
|
20384
|
+
}
|
|
20385
|
+
],
|
|
20386
|
+
"mixins": [
|
|
20387
|
+
{
|
|
20388
|
+
"name": "withTranslations",
|
|
20389
|
+
"module": "/src/utilities/with-translations.js"
|
|
20390
|
+
}
|
|
20391
|
+
],
|
|
20392
|
+
"superclass": {
|
|
20393
|
+
"name": "LitElement",
|
|
20394
|
+
"package": "lit"
|
|
20395
|
+
},
|
|
20396
|
+
"tagName": "nldd-swatch-picker-item",
|
|
20397
|
+
"customElement": true
|
|
20398
|
+
},
|
|
20399
|
+
{
|
|
20400
|
+
"kind": "class",
|
|
20401
|
+
"description": "A row of swatches to choose one from: a color, or an image of a pattern or a material. The row wraps onto the next line when the swatches do not fit. It is a radio group: Tab enters and leaves it in one stop, the arrow keys choose, and the value goes with a form under `name`. The chosen swatch shows a check mark. Put it in an `nldd-form-field`, which names the group. Every swatch needs a name, since a color or an image says nothing to a screen reader. A swatch with a category `color` takes the name of that color from the translations (\"Rood\"); one with a `custom-color` or an `image` has to say it in `text`. The name shows as a tooltip. Exports both NLDDSwatchPicker and NLDDSwatchPickerItem.",
|
|
20402
|
+
"name": "NLDDSwatchPicker",
|
|
20403
|
+
"members": [
|
|
20404
|
+
{
|
|
20405
|
+
"kind": "field",
|
|
20406
|
+
"name": "isFormInput",
|
|
20407
|
+
"type": {
|
|
20408
|
+
"text": "boolean"
|
|
20409
|
+
},
|
|
20410
|
+
"static": true,
|
|
20411
|
+
"default": "true",
|
|
20412
|
+
"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."
|
|
20413
|
+
},
|
|
20414
|
+
{
|
|
20415
|
+
"kind": "field",
|
|
20416
|
+
"name": "size",
|
|
20417
|
+
"type": {
|
|
20418
|
+
"text": "SwatchPickerSize"
|
|
20419
|
+
},
|
|
20420
|
+
"default": "'md'",
|
|
20421
|
+
"attribute": "size",
|
|
20422
|
+
"reflects": true
|
|
20423
|
+
},
|
|
20424
|
+
{
|
|
20425
|
+
"kind": "field",
|
|
20426
|
+
"name": "accessibleLabel",
|
|
20427
|
+
"type": {
|
|
20428
|
+
"text": "string"
|
|
20429
|
+
},
|
|
20430
|
+
"default": "''",
|
|
20431
|
+
"attribute": "accessible-label"
|
|
20432
|
+
},
|
|
20433
|
+
{
|
|
20434
|
+
"kind": "field",
|
|
20435
|
+
"name": "accessibleLabeledBy",
|
|
20436
|
+
"type": {
|
|
20437
|
+
"text": "string"
|
|
20438
|
+
},
|
|
20439
|
+
"default": "''",
|
|
20440
|
+
"attribute": "accessible-labeled-by"
|
|
20441
|
+
},
|
|
20442
|
+
{
|
|
20443
|
+
"kind": "field",
|
|
20444
|
+
"name": "invalid",
|
|
20445
|
+
"type": {
|
|
20446
|
+
"text": "boolean"
|
|
20447
|
+
},
|
|
20448
|
+
"default": "false",
|
|
20449
|
+
"description": "Marks the group as invalid. Announced and not drawn, and on the group: a\nred ring around one swatch would say that swatch is wrong, while it is the\nquestion that is unanswered.",
|
|
20450
|
+
"attribute": "invalid",
|
|
20451
|
+
"reflects": true
|
|
20452
|
+
},
|
|
20453
|
+
{
|
|
20454
|
+
"kind": "field",
|
|
20455
|
+
"name": "disabled",
|
|
20456
|
+
"type": {
|
|
20457
|
+
"text": "boolean"
|
|
20458
|
+
},
|
|
20459
|
+
"default": "false",
|
|
20460
|
+
"attribute": "disabled",
|
|
20461
|
+
"reflects": true
|
|
20462
|
+
},
|
|
20463
|
+
{
|
|
20464
|
+
"kind": "field",
|
|
20465
|
+
"name": "name",
|
|
20466
|
+
"type": {
|
|
20467
|
+
"text": "string"
|
|
20468
|
+
},
|
|
20469
|
+
"default": "''",
|
|
20470
|
+
"attribute": "name",
|
|
20471
|
+
"reflects": true
|
|
20472
|
+
},
|
|
20473
|
+
{
|
|
20474
|
+
"kind": "field",
|
|
20475
|
+
"name": "value",
|
|
20476
|
+
"type": {
|
|
20477
|
+
"text": "string"
|
|
20478
|
+
},
|
|
20479
|
+
"default": "''",
|
|
20480
|
+
"attribute": "value",
|
|
20481
|
+
"reflects": true
|
|
20482
|
+
},
|
|
20483
|
+
{
|
|
20484
|
+
"kind": "field",
|
|
20485
|
+
"name": "required",
|
|
20486
|
+
"type": {
|
|
20487
|
+
"text": "boolean"
|
|
20488
|
+
},
|
|
20489
|
+
"default": "false",
|
|
20490
|
+
"description": "Something has to be chosen. Carried by a hidden radio of the group's own,\nchecked as soon as anything is chosen, so the browser writes the message.",
|
|
20491
|
+
"attribute": "required",
|
|
20492
|
+
"reflects": true
|
|
20493
|
+
},
|
|
20494
|
+
{
|
|
20495
|
+
"kind": "method",
|
|
20496
|
+
"name": "formValue",
|
|
20497
|
+
"return": {
|
|
20498
|
+
"type": {
|
|
20499
|
+
"text": "FormValue"
|
|
20500
|
+
}
|
|
20501
|
+
},
|
|
20502
|
+
"description": "The value submitted under `name`; `null` submits nothing. Override.",
|
|
20503
|
+
"inheritedFrom": {
|
|
20504
|
+
"name": "FormAssociated",
|
|
20505
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20506
|
+
}
|
|
20507
|
+
},
|
|
20508
|
+
{
|
|
20509
|
+
"kind": "method",
|
|
20510
|
+
"name": "formResetCallback",
|
|
20511
|
+
"return": {
|
|
20512
|
+
"type": {
|
|
20513
|
+
"text": "void"
|
|
20514
|
+
}
|
|
20515
|
+
}
|
|
20516
|
+
},
|
|
20517
|
+
{
|
|
20518
|
+
"kind": "method",
|
|
20519
|
+
"name": "formStateRestoreCallback",
|
|
20520
|
+
"return": {
|
|
20521
|
+
"type": {
|
|
20522
|
+
"text": "void"
|
|
20523
|
+
}
|
|
20524
|
+
},
|
|
20525
|
+
"parameters": [
|
|
20526
|
+
{
|
|
20527
|
+
"name": "state",
|
|
20528
|
+
"type": {
|
|
20529
|
+
"text": "FormData | string | null"
|
|
20530
|
+
}
|
|
20531
|
+
}
|
|
20532
|
+
]
|
|
20533
|
+
},
|
|
20534
|
+
{
|
|
20535
|
+
"kind": "method",
|
|
20536
|
+
"name": "validationAnchor",
|
|
20537
|
+
"return": {
|
|
20538
|
+
"type": {
|
|
20539
|
+
"text": "HTMLElement | undefined"
|
|
20540
|
+
}
|
|
20541
|
+
},
|
|
20542
|
+
"description": "The group has no focus of its own, so an invalid submit lands where Tab\nwould: on the chosen swatch, or the first one that is enabled.",
|
|
20543
|
+
"inheritedFrom": {
|
|
20544
|
+
"name": "FormAssociated",
|
|
20545
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20546
|
+
}
|
|
20547
|
+
},
|
|
20548
|
+
{
|
|
20549
|
+
"kind": "method",
|
|
20550
|
+
"name": "focus",
|
|
20551
|
+
"return": {
|
|
20552
|
+
"type": {
|
|
20553
|
+
"text": "void"
|
|
20554
|
+
}
|
|
20555
|
+
},
|
|
20556
|
+
"parameters": [
|
|
20557
|
+
{
|
|
20558
|
+
"name": "options",
|
|
20559
|
+
"optional": true,
|
|
20560
|
+
"type": {
|
|
20561
|
+
"text": "FocusOptions"
|
|
20562
|
+
}
|
|
20563
|
+
}
|
|
20564
|
+
],
|
|
20565
|
+
"description": "Focus goes to the chosen swatch, or the first enabled one: where Tab lands."
|
|
20566
|
+
},
|
|
20567
|
+
{
|
|
20568
|
+
"kind": "field",
|
|
20569
|
+
"name": "formAssociated",
|
|
20570
|
+
"type": {
|
|
20571
|
+
"text": "boolean"
|
|
20572
|
+
},
|
|
20573
|
+
"static": true,
|
|
20574
|
+
"default": "true",
|
|
20575
|
+
"inheritedFrom": {
|
|
20576
|
+
"name": "FormAssociated",
|
|
20577
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20578
|
+
}
|
|
20579
|
+
},
|
|
20580
|
+
{
|
|
20581
|
+
"kind": "field",
|
|
20582
|
+
"name": "internals",
|
|
20583
|
+
"readonly": true,
|
|
20584
|
+
"inheritedFrom": {
|
|
20585
|
+
"name": "FormAssociated",
|
|
20586
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20587
|
+
}
|
|
20588
|
+
},
|
|
20589
|
+
{
|
|
20590
|
+
"kind": "method",
|
|
20591
|
+
"name": "formState",
|
|
20592
|
+
"return": {
|
|
20593
|
+
"type": {
|
|
20594
|
+
"text": "FormValue | undefined"
|
|
20595
|
+
}
|
|
20596
|
+
},
|
|
20597
|
+
"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()`.",
|
|
20598
|
+
"inheritedFrom": {
|
|
20599
|
+
"name": "FormAssociated",
|
|
20600
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20601
|
+
}
|
|
20602
|
+
},
|
|
20603
|
+
{
|
|
20604
|
+
"kind": "method",
|
|
20605
|
+
"name": "commitFormValue",
|
|
20606
|
+
"return": {
|
|
20607
|
+
"type": {
|
|
20608
|
+
"text": "void"
|
|
20609
|
+
}
|
|
20610
|
+
},
|
|
20611
|
+
"description": "Commit the value now, from the handler that changed it.",
|
|
20612
|
+
"inheritedFrom": {
|
|
20613
|
+
"name": "FormAssociated",
|
|
20614
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20615
|
+
}
|
|
20616
|
+
},
|
|
20617
|
+
{
|
|
20618
|
+
"kind": "method",
|
|
20619
|
+
"name": "validationTarget",
|
|
20620
|
+
"return": {
|
|
20621
|
+
"type": {
|
|
20622
|
+
"text": "HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement | null"
|
|
20623
|
+
}
|
|
20624
|
+
},
|
|
20625
|
+
"description": "The native control this host speaks for.\n\nThe constraint attributes are handed to a control inside the shadow\nroot, and that control is not a member of the form around the host: the\nform sees the host, the host sees the control, and without something\njoining them a `required` field submits empty. Override when the control\nis not the first one in the shadow root, or return null for a component\nthat has no native control to speak for.",
|
|
20626
|
+
"inheritedFrom": {
|
|
20627
|
+
"name": "FormAssociated",
|
|
20628
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20629
|
+
}
|
|
20630
|
+
},
|
|
20631
|
+
{
|
|
20632
|
+
"kind": "method",
|
|
20633
|
+
"name": "ownValidity",
|
|
20634
|
+
"return": {
|
|
20635
|
+
"type": {
|
|
20636
|
+
"text": "OwnValidity | null"
|
|
20637
|
+
}
|
|
20638
|
+
},
|
|
20639
|
+
"description": "What the component knows is wrong and its native control does not, such\nas typed text that is no date in a text input. Override; null is valid.",
|
|
20640
|
+
"inheritedFrom": {
|
|
20641
|
+
"name": "FormAssociated",
|
|
20642
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20643
|
+
}
|
|
20644
|
+
},
|
|
20645
|
+
{
|
|
20646
|
+
"kind": "method",
|
|
20647
|
+
"name": "setCustomValidity",
|
|
20648
|
+
"return": {
|
|
20649
|
+
"type": {
|
|
20650
|
+
"text": "void"
|
|
20651
|
+
}
|
|
20652
|
+
},
|
|
20653
|
+
"parameters": [
|
|
20654
|
+
{
|
|
20655
|
+
"name": "message",
|
|
20656
|
+
"type": {
|
|
20657
|
+
"text": "string"
|
|
20658
|
+
}
|
|
20659
|
+
}
|
|
20660
|
+
],
|
|
20661
|
+
"description": "A reason the host is invalid that no attribute can express: a server that\nrefused the value, or an nldd-validation-list whose rule it fails. Kept\nbeside the native flags rather than replacing them, because\n`setValidity` writes the whole set at once and the two arrive from\ndifferent places at different times.",
|
|
20662
|
+
"inheritedFrom": {
|
|
20663
|
+
"name": "FormAssociated",
|
|
20664
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20665
|
+
}
|
|
20666
|
+
},
|
|
20667
|
+
{
|
|
20668
|
+
"kind": "method",
|
|
20669
|
+
"name": "commitValidity",
|
|
20670
|
+
"return": {
|
|
20671
|
+
"type": {
|
|
20672
|
+
"text": "void"
|
|
20673
|
+
}
|
|
20674
|
+
},
|
|
20675
|
+
"description": "Hands the control's verdict to the form, as the host's own.\n\nCalled on every render and from `commitFormValue`, so it follows the\nvalue for the same reason and with the same timing.",
|
|
20676
|
+
"inheritedFrom": {
|
|
20677
|
+
"name": "FormAssociated",
|
|
20678
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20679
|
+
}
|
|
20680
|
+
},
|
|
20681
|
+
{
|
|
20682
|
+
"kind": "method",
|
|
20683
|
+
"name": "formDisabledCallback",
|
|
20684
|
+
"return": {
|
|
20685
|
+
"type": {
|
|
20686
|
+
"text": "void"
|
|
20687
|
+
}
|
|
20688
|
+
},
|
|
20689
|
+
"parameters": [
|
|
20690
|
+
{
|
|
20691
|
+
"name": "disabled",
|
|
20692
|
+
"type": {
|
|
20693
|
+
"text": "boolean"
|
|
20694
|
+
}
|
|
20695
|
+
}
|
|
20696
|
+
],
|
|
20697
|
+
"inheritedFrom": {
|
|
20698
|
+
"name": "FormAssociated",
|
|
20699
|
+
"module": "src/utilities/form-associated-mixin.ts"
|
|
20700
|
+
}
|
|
20701
|
+
}
|
|
20702
|
+
],
|
|
20703
|
+
"attributes": [
|
|
20704
|
+
{
|
|
20705
|
+
"name": "size",
|
|
20706
|
+
"type": {
|
|
20707
|
+
"text": "SwatchPickerSize"
|
|
20708
|
+
},
|
|
20709
|
+
"default": "'md'",
|
|
20710
|
+
"fieldName": "size",
|
|
20711
|
+
"expandedType": {
|
|
20712
|
+
"text": "'md' | 'sm' | 'xs'"
|
|
20713
|
+
},
|
|
20714
|
+
"description": "Swatch size, on the control scale: 'xs' (24px) | 'sm' (32px) | 'md' (44px) (default: 'md')"
|
|
20715
|
+
},
|
|
20716
|
+
{
|
|
20717
|
+
"name": "accessible-label",
|
|
20718
|
+
"type": {
|
|
20719
|
+
"text": "string"
|
|
20720
|
+
},
|
|
20721
|
+
"default": "''",
|
|
20722
|
+
"fieldName": "accessibleLabel",
|
|
20723
|
+
"description": "Accessible name for the group, set as aria-label. In an nldd-form-field the field names it."
|
|
20724
|
+
},
|
|
20725
|
+
{
|
|
20726
|
+
"name": "accessible-labeled-by",
|
|
20727
|
+
"type": {
|
|
20728
|
+
"text": "string"
|
|
20729
|
+
},
|
|
20730
|
+
"default": "''",
|
|
20731
|
+
"fieldName": "accessibleLabeledBy",
|
|
20732
|
+
"description": "Id of an external label element, set as aria-labelledby on the group"
|
|
20733
|
+
},
|
|
20734
|
+
{
|
|
20735
|
+
"name": "invalid",
|
|
20736
|
+
"type": {
|
|
20737
|
+
"text": "boolean"
|
|
20738
|
+
},
|
|
20739
|
+
"default": "false",
|
|
20740
|
+
"description": "Marks the group as invalid. Announced with aria-invalid; nothing is drawn for it.",
|
|
20741
|
+
"fieldName": "invalid"
|
|
20742
|
+
},
|
|
20743
|
+
{
|
|
20744
|
+
"name": "disabled",
|
|
20745
|
+
"type": {
|
|
20746
|
+
"text": "boolean"
|
|
20747
|
+
},
|
|
20748
|
+
"default": "false",
|
|
20749
|
+
"fieldName": "disabled",
|
|
20750
|
+
"description": "Disabled state for all swatches"
|
|
20751
|
+
},
|
|
20752
|
+
{
|
|
20753
|
+
"name": "name",
|
|
20754
|
+
"type": {
|
|
20755
|
+
"text": "string"
|
|
20756
|
+
},
|
|
20757
|
+
"default": "''",
|
|
20758
|
+
"fieldName": "name",
|
|
20759
|
+
"description": "Name for form submission"
|
|
20760
|
+
},
|
|
20761
|
+
{
|
|
20762
|
+
"name": "value",
|
|
20763
|
+
"type": {
|
|
20764
|
+
"text": "string"
|
|
20765
|
+
},
|
|
20766
|
+
"default": "''",
|
|
20767
|
+
"fieldName": "value",
|
|
20768
|
+
"description": "Value of the chosen swatch"
|
|
20769
|
+
},
|
|
20770
|
+
{
|
|
20771
|
+
"name": "required",
|
|
20772
|
+
"type": {
|
|
20773
|
+
"text": "boolean"
|
|
20774
|
+
},
|
|
20775
|
+
"default": "false",
|
|
20776
|
+
"description": "Something has to be chosen",
|
|
20777
|
+
"fieldName": "required"
|
|
20778
|
+
}
|
|
20779
|
+
],
|
|
20780
|
+
"mixins": [
|
|
20781
|
+
{
|
|
20782
|
+
"name": "FormAssociated",
|
|
20783
|
+
"module": "/src/utilities/form-associated-mixin.js"
|
|
20784
|
+
}
|
|
20785
|
+
],
|
|
20786
|
+
"superclass": {
|
|
20787
|
+
"name": "LitElement",
|
|
20788
|
+
"package": "lit"
|
|
20789
|
+
},
|
|
20790
|
+
"tagName": "nldd-swatch-picker",
|
|
20791
|
+
"customElement": true,
|
|
20792
|
+
"events": [
|
|
20793
|
+
{
|
|
20794
|
+
"name": "change",
|
|
20795
|
+
"description": "When the choice changes; detail: { value: string }"
|
|
20796
|
+
}
|
|
20797
|
+
],
|
|
20798
|
+
"slots": [
|
|
20799
|
+
{
|
|
20800
|
+
"name": "",
|
|
20801
|
+
"description": "nldd-swatch-picker-item elements"
|
|
20802
|
+
}
|
|
20803
|
+
]
|
|
20804
|
+
}
|
|
20805
|
+
],
|
|
20806
|
+
"exports": [
|
|
20807
|
+
{
|
|
20808
|
+
"kind": "js",
|
|
20809
|
+
"name": "NLDDSwatchPickerItem",
|
|
20810
|
+
"declaration": {
|
|
20811
|
+
"name": "NLDDSwatchPickerItem",
|
|
20812
|
+
"module": "src/components/inputs/swatch-picker/swatch-picker.ts"
|
|
20813
|
+
}
|
|
20814
|
+
},
|
|
20815
|
+
{
|
|
20816
|
+
"kind": "custom-element-definition",
|
|
20817
|
+
"name": "nldd-swatch-picker-item",
|
|
20818
|
+
"declaration": {
|
|
20819
|
+
"name": "NLDDSwatchPickerItem",
|
|
20820
|
+
"module": "src/components/inputs/swatch-picker/swatch-picker.ts"
|
|
20821
|
+
}
|
|
20822
|
+
},
|
|
20823
|
+
{
|
|
20824
|
+
"kind": "js",
|
|
20825
|
+
"name": "NLDDSwatchPicker",
|
|
20826
|
+
"declaration": {
|
|
20827
|
+
"name": "NLDDSwatchPicker",
|
|
20828
|
+
"module": "src/components/inputs/swatch-picker/swatch-picker.ts"
|
|
20829
|
+
}
|
|
20830
|
+
},
|
|
20831
|
+
{
|
|
20832
|
+
"kind": "custom-element-definition",
|
|
20833
|
+
"name": "nldd-swatch-picker",
|
|
20834
|
+
"declaration": {
|
|
20835
|
+
"name": "NLDDSwatchPicker",
|
|
20836
|
+
"module": "src/components/inputs/swatch-picker/swatch-picker.ts"
|
|
20837
|
+
}
|
|
20838
|
+
}
|
|
20839
|
+
]
|
|
20840
|
+
},
|
|
19861
20841
|
{
|
|
19862
20842
|
"kind": "javascript-module",
|
|
19863
20843
|
"path": "src/components/inputs/switch-field/switch-field.ts",
|
|
@@ -20125,7 +21105,7 @@
|
|
|
20125
21105
|
"declarations": [
|
|
20126
21106
|
{
|
|
20127
21107
|
"kind": "class",
|
|
20128
|
-
"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.
|
|
21108
|
+
"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.",
|
|
20129
21109
|
"name": "NLDDSwitch",
|
|
20130
21110
|
"members": [
|
|
20131
21111
|
{
|
|
@@ -21724,7 +22704,7 @@
|
|
|
21724
22704
|
"type": {
|
|
21725
22705
|
"text": "Extension"
|
|
21726
22706
|
},
|
|
21727
|
-
"default": "[cursorLayer, pointerTracker, stepOverKeymap, typePastBadge
|
|
22707
|
+
"default": "[cursorLayer, pointerTracker, stepOverKeymap, typePastBadge]"
|
|
21728
22708
|
}
|
|
21729
22709
|
],
|
|
21730
22710
|
"exports": [
|
|
@@ -22154,6 +23134,24 @@
|
|
|
22154
23134
|
"kind": "javascript-module",
|
|
22155
23135
|
"path": "src/components/inputs/text-editor/text-editor.markdown.ts",
|
|
22156
23136
|
"declarations": [
|
|
23137
|
+
{
|
|
23138
|
+
"kind": "function",
|
|
23139
|
+
"name": "prefixLength",
|
|
23140
|
+
"return": {
|
|
23141
|
+
"type": {
|
|
23142
|
+
"text": "number"
|
|
23143
|
+
}
|
|
23144
|
+
},
|
|
23145
|
+
"parameters": [
|
|
23146
|
+
{
|
|
23147
|
+
"name": "text",
|
|
23148
|
+
"type": {
|
|
23149
|
+
"text": "string"
|
|
23150
|
+
}
|
|
23151
|
+
}
|
|
23152
|
+
],
|
|
23153
|
+
"description": "The length of the list and quote markers a line starts with, which the\nhanging indent of the line counts in mono advances."
|
|
23154
|
+
},
|
|
22157
23155
|
{
|
|
22158
23156
|
"kind": "variable",
|
|
22159
23157
|
"name": "markdownEditing",
|
|
@@ -22165,6 +23163,14 @@
|
|
|
22165
23163
|
}
|
|
22166
23164
|
],
|
|
22167
23165
|
"exports": [
|
|
23166
|
+
{
|
|
23167
|
+
"kind": "js",
|
|
23168
|
+
"name": "prefixLength",
|
|
23169
|
+
"declaration": {
|
|
23170
|
+
"name": "prefixLength",
|
|
23171
|
+
"module": "src/components/inputs/text-editor/text-editor.markdown.ts"
|
|
23172
|
+
}
|
|
23173
|
+
},
|
|
22168
23174
|
{
|
|
22169
23175
|
"kind": "js",
|
|
22170
23176
|
"name": "markdownEditing",
|
|
@@ -22609,6 +23615,13 @@
|
|
|
22609
23615
|
"type": {
|
|
22610
23616
|
"text": "(query: string) => string | null"
|
|
22611
23617
|
}
|
|
23618
|
+
},
|
|
23619
|
+
{
|
|
23620
|
+
"name": "countText",
|
|
23621
|
+
"default": "(count) => String(count)",
|
|
23622
|
+
"type": {
|
|
23623
|
+
"text": "(count: number) => string"
|
|
23624
|
+
}
|
|
22612
23625
|
}
|
|
22613
23626
|
],
|
|
22614
23627
|
"description": "The typeaheads. `getTypeaheads` is read on every keystroke, so the editor can\nhand over its current lists; choosing a candidate writes what the list's\n`insert` says and calls `onChoose`. Without lists it is inert."
|
|
@@ -24132,7 +25145,7 @@
|
|
|
24132
25145
|
"expandedType": {
|
|
24133
25146
|
"text": "'hidden' | 'visible'"
|
|
24134
25147
|
},
|
|
24135
|
-
"description": "'visible' (default): every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`). 'hidden': the marks of bold, italic, strikethrough, inline code, links and the `#` of a heading are hidden and come back where the caret or the selection touches that construct, so the text reads closer to the result while what you edit is still the markdown. A bullet reads as a dot, and shows its character on the line the caret is on. A quote reads as a line on the left; with the caret anywhere in it, its `>` marks show instead
|
|
25148
|
+
"description": "'visible' (default): every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`). 'hidden': the marks of bold, italic, strikethrough, inline code, links and the `#` of a heading are hidden and come back where the caret or the selection touches that construct, so the text reads closer to the result while what you edit is still the markdown. A bullet reads as a dot, and shows its character on the line the caret is on. A quote reads as a line on the left per level, at the level the result gives each line, as in nldd-rich-text, with the spaces after a `>` beyond the first hidden and a missing one made room for, so every level is the same step; with the caret anywhere in it, its `>` marks and spaces show instead. A `---` line reads as a divider until the caret is on it, and a code block loses its closing ``` line until the caret is in it, since its own tint and edge already say what it is. Its opening line stays as the head of the block, with only the backticks hidden: the language as a label on the left, the copy button on the right. The numbers of a numbered list stay, in the color of the text: they are content. Read-only and disabled hide every mark, which makes a clean read view. The value is plain markdown either way."
|
|
24136
25149
|
},
|
|
24137
25150
|
{
|
|
24138
25151
|
"name": "annotatable",
|
|
@@ -27433,7 +28446,7 @@
|
|
|
27433
28446
|
"declarations": [
|
|
27434
28447
|
{
|
|
27435
28448
|
"kind": "class",
|
|
27436
|
-
"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. Options can arrive after the keystroke, from a server you query per keystroke. Slot them into the menu when they come in: if the user is still in the field and the keystroke found nothing to show, the menu opens then. After Escape, or once the user left the field, it stays shut.",
|
|
28449
|
+
"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. Options can arrive after the keystroke, from a server you query per keystroke. Slot them into the menu when they come in: if the user is still in the field and the keystroke found nothing to show, the menu opens then. After Escape, or once the user left the field, it stays shut. After typing, a screen reader hears how many options are shown (\"2 resultaten\"), or the empty text when none are, also for options that a server sends in later. Only the number it lands on: it waits until the options settle.",
|
|
27437
28450
|
"name": "NLDDTokenField",
|
|
27438
28451
|
"members": [
|
|
27439
28452
|
{
|
|
@@ -29766,6 +30779,16 @@
|
|
|
29766
30779
|
"description": "Body max-width: 'full' (removes the constraint) or any CSS length.\nMirrors a page section's width.",
|
|
29767
30780
|
"attribute": "width",
|
|
29768
30781
|
"reflects": true
|
|
30782
|
+
},
|
|
30783
|
+
{
|
|
30784
|
+
"kind": "field",
|
|
30785
|
+
"name": "noRibbon",
|
|
30786
|
+
"type": {
|
|
30787
|
+
"text": "boolean"
|
|
30788
|
+
},
|
|
30789
|
+
"default": "false",
|
|
30790
|
+
"attribute": "no-ribbon",
|
|
30791
|
+
"reflects": true
|
|
29769
30792
|
}
|
|
29770
30793
|
],
|
|
29771
30794
|
"attributes": [
|
|
@@ -29777,6 +30800,15 @@
|
|
|
29777
30800
|
"default": "''",
|
|
29778
30801
|
"description": "Body max-width, mirroring a page section: 'full' removes the constraint so the content spans the full width; any CSS length (e.g. '480px') overrides the default max-width.",
|
|
29779
30802
|
"fieldName": "width"
|
|
30803
|
+
},
|
|
30804
|
+
{
|
|
30805
|
+
"name": "no-ribbon",
|
|
30806
|
+
"type": {
|
|
30807
|
+
"text": "boolean"
|
|
30808
|
+
},
|
|
30809
|
+
"default": "false",
|
|
30810
|
+
"fieldName": "noRibbon",
|
|
30811
|
+
"description": "Leaves out the ribbon under the footer, and the room it takes, as `no-logo` does on nldd-top-navigation-bar. The ribbon belongs to the house style of the Rijksoverheid, so a site outside it, or one anyone may run, turns it off. An empty footer then takes no height at all."
|
|
29780
30812
|
}
|
|
29781
30813
|
],
|
|
29782
30814
|
"superclass": {
|
|
@@ -34108,7 +35140,7 @@
|
|
|
34108
35140
|
"declarations": [
|
|
34109
35141
|
{
|
|
34110
35142
|
"kind": "class",
|
|
34111
|
-
"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
|
|
35143
|
+
"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. An nldd-button, nldd-icon-button, nldd-split-button or nldd-list-item-segment also positions the popover against itself, so the popover needs no `anchor`: <nldd-button popovertarget=\"info-popover\">Info</nldd-button> <nldd-popover id=\"info-popover\" accessible-label=\"Info\"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> To open it from your own state instead, bind `open` together with the close event: the popover clears `open` itself on light dismiss, Escape or a click on its anchor. It needs that anchor to open against. For a custom focus target inside the popover, put `autofocus` on the child you want. Without it the popover host itself takes focus. On md and up the popover closes with Escape or a click outside it, and that click goes on to what it lands on, as with any native popover: the page has no backdrop and stays in use, so a click on another control does what it says in one go. It needs no close button of its own. Content that does, because a stray click must not close it (a form, a few steps, work you would lose), is more than a popover holds: use an nldd-sheet. nldd-just-in-time-education is the exception, a manual popover that stays until it is dismissed. On sm the popover is a bottom sheet with a dimmed backdrop, which closes with Escape or a tap outside it. That tap stops at the backdrop, as on every native sheet: the dimming says the page is out of play. Where that is not enough, give its content a title bar of its own, as in a sheet: an nldd-page with an nldd-top-title-bar and a `dismiss-text`. The popover catches the dismiss of that bar and closes. It draws no bar itself.",
|
|
34112
35144
|
"name": "NLDDPopover",
|
|
34113
35145
|
"members": [
|
|
34114
35146
|
{
|
|
@@ -36255,6 +37287,20 @@
|
|
|
36255
37287
|
"attribute": "vertical-alignment",
|
|
36256
37288
|
"reflects": true
|
|
36257
37289
|
},
|
|
37290
|
+
{
|
|
37291
|
+
"kind": "field",
|
|
37292
|
+
"name": "rowHeader",
|
|
37293
|
+
"type": {
|
|
37294
|
+
"text": "boolean"
|
|
37295
|
+
},
|
|
37296
|
+
"default": "false",
|
|
37297
|
+
"attribute": "row-header",
|
|
37298
|
+
"reflects": true,
|
|
37299
|
+
"inheritedFrom": {
|
|
37300
|
+
"name": "RowHeaderMixin",
|
|
37301
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
37302
|
+
}
|
|
37303
|
+
},
|
|
36258
37304
|
{
|
|
36259
37305
|
"kind": "field",
|
|
36260
37306
|
"name": "hideBelow",
|
|
@@ -36340,6 +37386,18 @@
|
|
|
36340
37386
|
},
|
|
36341
37387
|
"description": "Vertical alignment of slotted content (default: 'center')"
|
|
36342
37388
|
},
|
|
37389
|
+
{
|
|
37390
|
+
"name": "row-header",
|
|
37391
|
+
"type": {
|
|
37392
|
+
"text": "boolean"
|
|
37393
|
+
},
|
|
37394
|
+
"default": "false",
|
|
37395
|
+
"fieldName": "rowHeader",
|
|
37396
|
+
"inheritedFrom": {
|
|
37397
|
+
"name": "RowHeaderMixin",
|
|
37398
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
37399
|
+
}
|
|
37400
|
+
},
|
|
36343
37401
|
{
|
|
36344
37402
|
"name": "hide-below",
|
|
36345
37403
|
"type": {
|
|
@@ -36364,6 +37422,10 @@
|
|
|
36364
37422
|
}
|
|
36365
37423
|
],
|
|
36366
37424
|
"mixins": [
|
|
37425
|
+
{
|
|
37426
|
+
"name": "RowHeaderMixin",
|
|
37427
|
+
"module": "/src/utilities/row-header-mixin.js"
|
|
37428
|
+
},
|
|
36367
37429
|
{
|
|
36368
37430
|
"name": "VisibilityMixin",
|
|
36369
37431
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -36459,6 +37521,20 @@
|
|
|
36459
37521
|
"attribute": "vertical-alignment",
|
|
36460
37522
|
"reflects": true
|
|
36461
37523
|
},
|
|
37524
|
+
{
|
|
37525
|
+
"kind": "field",
|
|
37526
|
+
"name": "rowHeader",
|
|
37527
|
+
"type": {
|
|
37528
|
+
"text": "boolean"
|
|
37529
|
+
},
|
|
37530
|
+
"default": "false",
|
|
37531
|
+
"attribute": "row-header",
|
|
37532
|
+
"reflects": true,
|
|
37533
|
+
"inheritedFrom": {
|
|
37534
|
+
"name": "RowHeaderMixin",
|
|
37535
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
37536
|
+
}
|
|
37537
|
+
},
|
|
36462
37538
|
{
|
|
36463
37539
|
"kind": "field",
|
|
36464
37540
|
"name": "hideBelow",
|
|
@@ -36532,6 +37608,18 @@
|
|
|
36532
37608
|
},
|
|
36533
37609
|
"description": "Vertical alignment (default: 'center')"
|
|
36534
37610
|
},
|
|
37611
|
+
{
|
|
37612
|
+
"name": "row-header",
|
|
37613
|
+
"type": {
|
|
37614
|
+
"text": "boolean"
|
|
37615
|
+
},
|
|
37616
|
+
"default": "false",
|
|
37617
|
+
"fieldName": "rowHeader",
|
|
37618
|
+
"inheritedFrom": {
|
|
37619
|
+
"name": "RowHeaderMixin",
|
|
37620
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
37621
|
+
}
|
|
37622
|
+
},
|
|
36535
37623
|
{
|
|
36536
37624
|
"name": "hide-below",
|
|
36537
37625
|
"type": {
|
|
@@ -36556,6 +37644,10 @@
|
|
|
36556
37644
|
}
|
|
36557
37645
|
],
|
|
36558
37646
|
"mixins": [
|
|
37647
|
+
{
|
|
37648
|
+
"name": "RowHeaderMixin",
|
|
37649
|
+
"module": "/src/utilities/row-header-mixin.js"
|
|
37650
|
+
},
|
|
36559
37651
|
{
|
|
36560
37652
|
"name": "VisibilityMixin",
|
|
36561
37653
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -37440,6 +38532,20 @@
|
|
|
37440
38532
|
"default": "'predictive'",
|
|
37441
38533
|
"attribute": "query-mark-mode"
|
|
37442
38534
|
},
|
|
38535
|
+
{
|
|
38536
|
+
"kind": "field",
|
|
38537
|
+
"name": "rowHeader",
|
|
38538
|
+
"type": {
|
|
38539
|
+
"text": "boolean"
|
|
38540
|
+
},
|
|
38541
|
+
"default": "false",
|
|
38542
|
+
"attribute": "row-header",
|
|
38543
|
+
"reflects": true,
|
|
38544
|
+
"inheritedFrom": {
|
|
38545
|
+
"name": "RowHeaderMixin",
|
|
38546
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
38547
|
+
}
|
|
38548
|
+
},
|
|
37443
38549
|
{
|
|
37444
38550
|
"kind": "field",
|
|
37445
38551
|
"name": "hideBelow",
|
|
@@ -37597,6 +38703,18 @@
|
|
|
37597
38703
|
},
|
|
37598
38704
|
"description": "'match' | 'predictive' (default: 'predictive')"
|
|
37599
38705
|
},
|
|
38706
|
+
{
|
|
38707
|
+
"name": "row-header",
|
|
38708
|
+
"type": {
|
|
38709
|
+
"text": "boolean"
|
|
38710
|
+
},
|
|
38711
|
+
"default": "false",
|
|
38712
|
+
"fieldName": "rowHeader",
|
|
38713
|
+
"inheritedFrom": {
|
|
38714
|
+
"name": "RowHeaderMixin",
|
|
38715
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
38716
|
+
}
|
|
38717
|
+
},
|
|
37600
38718
|
{
|
|
37601
38719
|
"name": "hide-below",
|
|
37602
38720
|
"type": {
|
|
@@ -37621,6 +38739,10 @@
|
|
|
37621
38739
|
}
|
|
37622
38740
|
],
|
|
37623
38741
|
"mixins": [
|
|
38742
|
+
{
|
|
38743
|
+
"name": "RowHeaderMixin",
|
|
38744
|
+
"module": "/src/utilities/row-header-mixin.js"
|
|
38745
|
+
},
|
|
37624
38746
|
{
|
|
37625
38747
|
"name": "VisibilityMixin",
|
|
37626
38748
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -37680,9 +38802,9 @@
|
|
|
37680
38802
|
"kind": "field",
|
|
37681
38803
|
"name": "size",
|
|
37682
38804
|
"type": {
|
|
37683
|
-
"text": "TitleCellSize"
|
|
38805
|
+
"text": "TitleCellSize | undefined"
|
|
37684
38806
|
},
|
|
37685
|
-
"
|
|
38807
|
+
"description": "Unset looks like 5, and like 6 in an nldd-table-row, which is why it\nhas no value of its own: the row can only tell an unset size from a\nchosen 5 when unset is not 5.",
|
|
37686
38808
|
"attribute": "size",
|
|
37687
38809
|
"reflects": true
|
|
37688
38810
|
},
|
|
@@ -37812,6 +38934,20 @@
|
|
|
37812
38934
|
"default": "'predictive'",
|
|
37813
38935
|
"attribute": "query-mark-mode"
|
|
37814
38936
|
},
|
|
38937
|
+
{
|
|
38938
|
+
"kind": "field",
|
|
38939
|
+
"name": "rowHeader",
|
|
38940
|
+
"type": {
|
|
38941
|
+
"text": "boolean"
|
|
38942
|
+
},
|
|
38943
|
+
"default": "false",
|
|
38944
|
+
"attribute": "row-header",
|
|
38945
|
+
"reflects": true,
|
|
38946
|
+
"inheritedFrom": {
|
|
38947
|
+
"name": "RowHeaderMixin",
|
|
38948
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
38949
|
+
}
|
|
38950
|
+
},
|
|
37815
38951
|
{
|
|
37816
38952
|
"kind": "field",
|
|
37817
38953
|
"name": "hideBelow",
|
|
@@ -37843,14 +38979,13 @@
|
|
|
37843
38979
|
{
|
|
37844
38980
|
"name": "size",
|
|
37845
38981
|
"type": {
|
|
37846
|
-
"text": "TitleCellSize"
|
|
38982
|
+
"text": "TitleCellSize | undefined"
|
|
37847
38983
|
},
|
|
37848
|
-
"
|
|
38984
|
+
"description": "Visual size of the title (unset: looks like 5, and becomes 6 in an `nldd-table-row`, where a title the size of the other cells reads better)",
|
|
37849
38985
|
"fieldName": "size",
|
|
37850
38986
|
"expandedType": {
|
|
37851
38987
|
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
37852
|
-
}
|
|
37853
|
-
"description": "Visual size of the title (default: 5)"
|
|
38988
|
+
}
|
|
37854
38989
|
},
|
|
37855
38990
|
{
|
|
37856
38991
|
"name": "color",
|
|
@@ -37978,6 +39113,18 @@
|
|
|
37978
39113
|
},
|
|
37979
39114
|
"description": "'match' | 'predictive' (default: 'predictive')"
|
|
37980
39115
|
},
|
|
39116
|
+
{
|
|
39117
|
+
"name": "row-header",
|
|
39118
|
+
"type": {
|
|
39119
|
+
"text": "boolean"
|
|
39120
|
+
},
|
|
39121
|
+
"default": "false",
|
|
39122
|
+
"fieldName": "rowHeader",
|
|
39123
|
+
"inheritedFrom": {
|
|
39124
|
+
"name": "RowHeaderMixin",
|
|
39125
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
39126
|
+
}
|
|
39127
|
+
},
|
|
37981
39128
|
{
|
|
37982
39129
|
"name": "hide-below",
|
|
37983
39130
|
"type": {
|
|
@@ -38002,6 +39149,10 @@
|
|
|
38002
39149
|
}
|
|
38003
39150
|
],
|
|
38004
39151
|
"mixins": [
|
|
39152
|
+
{
|
|
39153
|
+
"name": "RowHeaderMixin",
|
|
39154
|
+
"module": "/src/utilities/row-header-mixin.js"
|
|
39155
|
+
},
|
|
38005
39156
|
{
|
|
38006
39157
|
"name": "VisibilityMixin",
|
|
38007
39158
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -38389,7 +39540,7 @@
|
|
|
38389
39540
|
"type": {
|
|
38390
39541
|
"text": "string | undefined"
|
|
38391
39542
|
},
|
|
38392
|
-
"description": "ID of a popover this segment toggles
|
|
39543
|
+
"description": "ID of a popover this segment toggles, looked up in the tree of the segment; the inner button gets the element. The IDL counterparts `popoverTargetElement` and `popoverTargetAction` work across shadow boundaries, as on nldd-icon-button. An nldd-menu or nldd-popover it points at is also positioned against this control, so it needs no `anchor`.",
|
|
38393
39544
|
"name": "popovertarget",
|
|
38394
39545
|
"fieldName": "popovertarget"
|
|
38395
39546
|
},
|
|
@@ -38806,7 +39957,7 @@
|
|
|
38806
39957
|
"type": {
|
|
38807
39958
|
"text": "string"
|
|
38808
39959
|
},
|
|
38809
|
-
"description": "Accessible name of the row's action (its link, button, checkbox or radio), for a row whose text does not say enough on its own. It replaces the content of the whole row for assistive technology, the supporting text and a status included, so set it only when the row has no text of its own, or put everything that matters in it. The hint for another website or a new tab is added to it.",
|
|
39960
|
+
"description": "Accessible name of the row's action (its link, button, checkbox or radio), for a row whose text does not say enough on its own. It replaces the content of the whole row for assistive technology, the supporting text and a status included, so set it only when the row has no text of its own, or put everything that matters in it. Start it with the row's visible title, so voice control finds the row by the words on screen (WCAG 2.5.3); development warns when it does not. The hint for another website or a new tab is added to it.",
|
|
38810
39961
|
"name": "accessible-label",
|
|
38811
39962
|
"default": "''",
|
|
38812
39963
|
"fieldName": "accessibleLabel"
|
|
@@ -38824,7 +39975,7 @@
|
|
|
38824
39975
|
"type": {
|
|
38825
39976
|
"text": "boolean"
|
|
38826
39977
|
},
|
|
38827
|
-
"description": "Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it.
|
|
39978
|
+
"description": "Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current` on the inner action, with `current-type` as its value; in a `listbox` parent it drives `aria-selected`.",
|
|
38828
39979
|
"name": "selected",
|
|
38829
39980
|
"default": "false",
|
|
38830
39981
|
"fieldName": "selected"
|
|
@@ -39170,7 +40321,7 @@
|
|
|
39170
40321
|
"declarations": [
|
|
39171
40322
|
{
|
|
39172
40323
|
"kind": "class",
|
|
39173
|
-
"description": "Exports both NLDDTable and NLDDTableRow. A data table presented as a boxed surface (rounded corners, an inset border ring, a base or tinted fill) that aligns content into shared columns using a CSS grid + subgrid. Row dividers run full-bleed to the edges; the inline padding lives on the rows, so it insets the cell content but not the dividers. Column widths are defined ONCE on the table via the `columns` attribute (a CSS grid track list), like an HTML `<colgroup>`. Rows are `<nldd-table-row>` elements whose children are the existing `nldd-cell` family — every row uses `grid-template-columns: subgrid`, so all rows snap to the same columns. Header: put one `<nldd-table-row slot=\"header\">` in the `header` slot. Its cells become column headers (role=\"columnheader\"). Responsive: two complementary strategies. (1) Give columns a minimum width (e.g. `minmax(160px,1fr)`) — the table is its own scroll container, so it scrolls horizontally when too narrow (no wrapper needed). (2) Drop columns at breakpoints: provide `sm-columns`/`md-columns`/ `lg-columns` (shorter track lists) and hide the dropped columns' cells with `hide-below`/`hide-above` at the matching breakpoint. The table picks the track list for its own width via the standard sm/md/lg breakpoints. Selection and sorting are intentionally NOT built in: add a column with an `nldd-cell` + `nldd-checkbox` for selection, and drive sorting from an external control (e.g. a dropdown).",
|
|
40324
|
+
"description": "Exports both NLDDTable and NLDDTableRow. A data table presented as a boxed surface (rounded corners, an inset border ring, a base or tinted fill) that aligns content into shared columns using a CSS grid + subgrid. Row dividers run full-bleed to the edges; the inline padding lives on the rows, so it insets the cell content but not the dividers. Column widths are defined ONCE on the table via the `columns` attribute (a CSS grid track list), like an HTML `<colgroup>`. Rows are `<nldd-table-row>` elements whose children are the existing `nldd-cell` family — every row uses `grid-template-columns: subgrid`, so all rows snap to the same columns. Header: put one `<nldd-table-row slot=\"header\">` in the `header` slot. Its cells become column headers (role=\"columnheader\"). Row headers: give the cell that says what a row is about `row-header` (`nldd-cell`, `nldd-title-cell`, `nldd-text-cell`, `nldd-description-cell`). The row then gives it role=\"rowheader\" instead of \"cell\", so a screen reader names the row along with every other cell in it, like `<th scope=\"row\">`. The attribute goes on the cell, not as a column index on the row or table, so it survives columns hidden at a breakpoint and needs no counting. It changes the semantics only: the cell variant still decides the look. The cell above the row headers, in the header row, stays a columnheader. Headers that span rows or columns are not supported. Responsive: two complementary strategies. (1) Give columns a minimum width (e.g. `minmax(160px,1fr)`) — the table is its own scroll container, so it scrolls horizontally when too narrow (no wrapper needed). (2) Drop columns at breakpoints: provide `sm-columns`/`md-columns`/ `lg-columns` (shorter track lists) and hide the dropped columns' cells with `hide-below`/`hide-above` at the matching breakpoint. The table picks the track list for its own width via the standard sm/md/lg breakpoints. Selection and sorting are intentionally NOT built in: add a column with an `nldd-cell` + `nldd-checkbox` for selection, and drive sorting from an external control (e.g. a dropdown).",
|
|
39174
40325
|
"name": "NLDDTable",
|
|
39175
40326
|
"members": [
|
|
39176
40327
|
{
|
|
@@ -39856,7 +41007,7 @@
|
|
|
39856
41007
|
"name": "withTranslations",
|
|
39857
41008
|
"module": "src/utilities/with-translations.ts"
|
|
39858
41009
|
},
|
|
39859
|
-
"description": "Translation overrides; unset keys fall back to Dutch. Available keys: 'components.document-tab-bar.
|
|
41010
|
+
"description": "Translation overrides; unset keys fall back to Dutch. Available keys: 'components.document-tab-bar.show-more-tabs-action' (default: 'Toon meer tabbladen')"
|
|
39860
41011
|
}
|
|
39861
41012
|
],
|
|
39862
41013
|
"mixins": [
|
|
@@ -39918,6 +41069,135 @@
|
|
|
39918
41069
|
}
|
|
39919
41070
|
]
|
|
39920
41071
|
},
|
|
41072
|
+
{
|
|
41073
|
+
"kind": "javascript-module",
|
|
41074
|
+
"path": "src/components/navigation/link-group/link-group.ts",
|
|
41075
|
+
"declarations": [
|
|
41076
|
+
{
|
|
41077
|
+
"kind": "class",
|
|
41078
|
+
"description": "A set of related `nldd-link` elements, such as the links under the name of a service in a footer or the links to the other parts of a site. The links sit in a row that wraps onto the next line when they do not fit, or stacked with `orientation=\"vertical\"`. With `horizontal-alignment=\"center\"` the whole set is centered, line by line, so a short list reads as one cloud in the middle. The group is a `nav` landmark with the links as a list, so a screen reader says how many there are. Give it an `accessible-label` as soon as a page has more than one `nav`, so each landmark can be told apart. The group sets its `size` on every link in it: links in one group are the same size.",
|
|
41079
|
+
"name": "NLDDLinkGroup",
|
|
41080
|
+
"members": [
|
|
41081
|
+
{
|
|
41082
|
+
"kind": "field",
|
|
41083
|
+
"name": "size",
|
|
41084
|
+
"type": {
|
|
41085
|
+
"text": "Size"
|
|
41086
|
+
},
|
|
41087
|
+
"default": "'md'",
|
|
41088
|
+
"attribute": "size",
|
|
41089
|
+
"reflects": true
|
|
41090
|
+
},
|
|
41091
|
+
{
|
|
41092
|
+
"kind": "field",
|
|
41093
|
+
"name": "orientation",
|
|
41094
|
+
"type": {
|
|
41095
|
+
"text": "Orientation"
|
|
41096
|
+
},
|
|
41097
|
+
"default": "'horizontal'",
|
|
41098
|
+
"attribute": "orientation",
|
|
41099
|
+
"reflects": true
|
|
41100
|
+
},
|
|
41101
|
+
{
|
|
41102
|
+
"kind": "field",
|
|
41103
|
+
"name": "horizontalAlignment",
|
|
41104
|
+
"type": {
|
|
41105
|
+
"text": "HorizontalAlignment"
|
|
41106
|
+
},
|
|
41107
|
+
"default": "'left'",
|
|
41108
|
+
"attribute": "horizontal-alignment",
|
|
41109
|
+
"reflects": true
|
|
41110
|
+
},
|
|
41111
|
+
{
|
|
41112
|
+
"kind": "field",
|
|
41113
|
+
"name": "accessibleLabel",
|
|
41114
|
+
"type": {
|
|
41115
|
+
"text": "string"
|
|
41116
|
+
},
|
|
41117
|
+
"default": "''",
|
|
41118
|
+
"attribute": "accessible-label"
|
|
41119
|
+
}
|
|
41120
|
+
],
|
|
41121
|
+
"attributes": [
|
|
41122
|
+
{
|
|
41123
|
+
"name": "size",
|
|
41124
|
+
"type": {
|
|
41125
|
+
"text": "Size"
|
|
41126
|
+
},
|
|
41127
|
+
"default": "'md'",
|
|
41128
|
+
"fieldName": "size",
|
|
41129
|
+
"expandedType": {
|
|
41130
|
+
"text": "'lg' | 'md' | 'sm' | 'xs'"
|
|
41131
|
+
},
|
|
41132
|
+
"description": "Text size, set on every link in it: 'xs' | 'sm' | 'md' | 'lg' (default: 'md')"
|
|
41133
|
+
},
|
|
41134
|
+
{
|
|
41135
|
+
"name": "orientation",
|
|
41136
|
+
"type": {
|
|
41137
|
+
"text": "Orientation"
|
|
41138
|
+
},
|
|
41139
|
+
"default": "'horizontal'",
|
|
41140
|
+
"fieldName": "orientation",
|
|
41141
|
+
"expandedType": {
|
|
41142
|
+
"text": "'horizontal' | 'vertical'"
|
|
41143
|
+
},
|
|
41144
|
+
"description": "Layout direction: 'horizontal' (a row that wraps) | 'vertical' (default: 'horizontal')"
|
|
41145
|
+
},
|
|
41146
|
+
{
|
|
41147
|
+
"name": "horizontal-alignment",
|
|
41148
|
+
"type": {
|
|
41149
|
+
"text": "HorizontalAlignment"
|
|
41150
|
+
},
|
|
41151
|
+
"default": "'left'",
|
|
41152
|
+
"fieldName": "horizontalAlignment",
|
|
41153
|
+
"expandedType": {
|
|
41154
|
+
"text": "'center' | 'left'"
|
|
41155
|
+
},
|
|
41156
|
+
"description": "Alignment of the links: 'left' | 'center' (default: 'left')"
|
|
41157
|
+
},
|
|
41158
|
+
{
|
|
41159
|
+
"name": "accessible-label",
|
|
41160
|
+
"type": {
|
|
41161
|
+
"text": "string"
|
|
41162
|
+
},
|
|
41163
|
+
"default": "''",
|
|
41164
|
+
"fieldName": "accessibleLabel",
|
|
41165
|
+
"description": "Accessible name of the nav landmark"
|
|
41166
|
+
}
|
|
41167
|
+
],
|
|
41168
|
+
"superclass": {
|
|
41169
|
+
"name": "LitElement",
|
|
41170
|
+
"package": "lit"
|
|
41171
|
+
},
|
|
41172
|
+
"tagName": "nldd-link-group",
|
|
41173
|
+
"customElement": true,
|
|
41174
|
+
"slots": [
|
|
41175
|
+
{
|
|
41176
|
+
"name": "",
|
|
41177
|
+
"description": "nldd-link elements"
|
|
41178
|
+
}
|
|
41179
|
+
]
|
|
41180
|
+
}
|
|
41181
|
+
],
|
|
41182
|
+
"exports": [
|
|
41183
|
+
{
|
|
41184
|
+
"kind": "js",
|
|
41185
|
+
"name": "NLDDLinkGroup",
|
|
41186
|
+
"declaration": {
|
|
41187
|
+
"name": "NLDDLinkGroup",
|
|
41188
|
+
"module": "src/components/navigation/link-group/link-group.ts"
|
|
41189
|
+
}
|
|
41190
|
+
},
|
|
41191
|
+
{
|
|
41192
|
+
"kind": "custom-element-definition",
|
|
41193
|
+
"name": "nldd-link-group",
|
|
41194
|
+
"declaration": {
|
|
41195
|
+
"name": "NLDDLinkGroup",
|
|
41196
|
+
"module": "src/components/navigation/link-group/link-group.ts"
|
|
41197
|
+
}
|
|
41198
|
+
}
|
|
41199
|
+
]
|
|
41200
|
+
},
|
|
39921
41201
|
{
|
|
39922
41202
|
"kind": "javascript-module",
|
|
39923
41203
|
"path": "src/components/navigation/link/link.ts",
|
|
@@ -41775,7 +43055,7 @@
|
|
|
41775
43055
|
"declarations": [
|
|
41776
43056
|
{
|
|
41777
43057
|
"kind": "class",
|
|
41778
|
-
"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. The title stays on one line and is cut off with an ellipsis when it does not fit, which on a narrow screen or at 400% zoom is soon. The bar is therefore not the place for the full title: put that in an `nldd-title` at the top of the content, which wraps and always fits, and point `collapse-anchor` at it. A bar without an anchor holds the only copy of its title, so keep that one to a word or two.",
|
|
43058
|
+
"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. An `nldd-title` anchor without a `heading-level` gets the bar's own, so the title it takes over is a heading of the same level. An anchor that is no heading at all, and holds none, would leave the page without one: the bar then keeps its own title for assistive technology and warns in development. The title stays on one line and is cut off with an ellipsis when it does not fit, which on a narrow screen or at 400% zoom is soon. The bar is therefore not the place for the full title: put that in an `nldd-title` at the top of the content, which wraps and always fits, and point `collapse-anchor` at it. A bar without an anchor holds the only copy of its title, so keep that one to a word or two.",
|
|
41779
43059
|
"name": "NLDDTopTitleBar",
|
|
41780
43060
|
"members": [
|
|
41781
43061
|
{
|
|
@@ -42005,7 +43285,7 @@
|
|
|
42005
43285
|
"text": "ActivityIndicatorTiming"
|
|
42006
43286
|
},
|
|
42007
43287
|
"default": "'delay'",
|
|
42008
|
-
"description": "'delay' waits
|
|
43288
|
+
"description": "'delay' waits SHOW_DELAY_MS before showing; 'instant' shows\nimmediately. The fade-in plays either way.",
|
|
42009
43289
|
"attribute": "timing",
|
|
42010
43290
|
"reflects": true
|
|
42011
43291
|
},
|
|
@@ -42802,7 +44082,7 @@
|
|
|
42802
44082
|
"expandedType": {
|
|
42803
44083
|
"text": "'' | 'center' | 'left'"
|
|
42804
44084
|
},
|
|
42805
|
-
"description": "Overrides the alignment of text, icon and actions. Unset (the default) derives it: content in the default slot means a task, which aligns left; a bare message stays centered.
|
|
44085
|
+
"description": "Overrides the alignment of text, icon and actions. Unset (the default) derives it: content in the default slot means a task, which aligns left; a bare message stays centered. Centered, the actions stack at most 360px wide, even where two would fit side by side. Left-aligned, they sit in a row, each as wide as its label."
|
|
42806
44086
|
}
|
|
42807
44087
|
],
|
|
42808
44088
|
"superclass": {
|
|
@@ -42814,7 +44094,7 @@
|
|
|
42814
44094
|
"slots": [
|
|
42815
44095
|
{
|
|
42816
44096
|
"name": "",
|
|
42817
|
-
"description": "Optional custom content between text and actions"
|
|
44097
|
+
"description": "Optional custom content between text and actions. Puts no space between its children, as a sheet or card does not: the app decides the distance. Put an nldd-spacer between different components, and a group of the same, such as form fields, in an nldd-container with layout=\"stack\" and a gap."
|
|
42818
44098
|
},
|
|
42819
44099
|
{
|
|
42820
44100
|
"name": "actions",
|
|
@@ -43258,7 +44538,7 @@
|
|
|
43258
44538
|
"slots": [
|
|
43259
44539
|
{
|
|
43260
44540
|
"name": "",
|
|
43261
|
-
"description": "Optional custom content, forwarded to nldd-inline-dialog"
|
|
44541
|
+
"description": "Optional custom content, forwarded to nldd-inline-dialog. Puts no space between its children, as a sheet or card does not: the app decides the distance. Put an nldd-spacer between different components, and a group of the same, such as form fields, in an nldd-container with layout=\"stack\" and a gap."
|
|
43262
44542
|
},
|
|
43263
44543
|
{
|
|
43264
44544
|
"name": "actions",
|
|
@@ -44844,6 +46124,24 @@
|
|
|
44844
46124
|
"kind": "javascript-module",
|
|
44845
46125
|
"path": "src/utilities/carried-context.ts",
|
|
44846
46126
|
"declarations": [
|
|
46127
|
+
{
|
|
46128
|
+
"kind": "function",
|
|
46129
|
+
"name": "langOf",
|
|
46130
|
+
"return": {
|
|
46131
|
+
"type": {
|
|
46132
|
+
"text": "string | null"
|
|
46133
|
+
}
|
|
46134
|
+
},
|
|
46135
|
+
"parameters": [
|
|
46136
|
+
{
|
|
46137
|
+
"name": "el",
|
|
46138
|
+
"type": {
|
|
46139
|
+
"text": "Element"
|
|
46140
|
+
}
|
|
46141
|
+
}
|
|
46142
|
+
],
|
|
46143
|
+
"description": "The language of an element, looking past shadow roots to their hosts."
|
|
46144
|
+
},
|
|
44847
46145
|
{
|
|
44848
46146
|
"kind": "function",
|
|
44849
46147
|
"name": "carryContext",
|
|
@@ -44864,9 +46162,13 @@
|
|
|
44864
46162
|
"type": {
|
|
44865
46163
|
"text": "Element | null"
|
|
44866
46164
|
}
|
|
46165
|
+
},
|
|
46166
|
+
{
|
|
46167
|
+
"name": "{ scheme: withScheme = true }",
|
|
46168
|
+
"default": "{}"
|
|
44867
46169
|
}
|
|
44868
46170
|
],
|
|
44869
|
-
"description": "Gives `element` the color scheme and language of `origin`. Call it each\
|
|
46171
|
+
"description": "Gives `element` the color scheme and language of `origin`. Call it each time\nthe element shows, since the page around the origin may have changed.\n\nReading the color scheme takes `getComputedStyle`, which recalculates the\nstyles of the page when they are dirty. An element nobody sees, such as the\nhidden description of a tooltip, only needs the language: pass\n`{ scheme: false }` and nothing is recalculated."
|
|
44870
46172
|
},
|
|
44871
46173
|
{
|
|
44872
46174
|
"kind": "function",
|
|
@@ -44888,6 +46190,14 @@
|
|
|
44888
46190
|
}
|
|
44889
46191
|
],
|
|
44890
46192
|
"exports": [
|
|
46193
|
+
{
|
|
46194
|
+
"kind": "js",
|
|
46195
|
+
"name": "langOf",
|
|
46196
|
+
"declaration": {
|
|
46197
|
+
"name": "langOf",
|
|
46198
|
+
"module": "src/utilities/carried-context.ts"
|
|
46199
|
+
}
|
|
46200
|
+
},
|
|
44891
46201
|
{
|
|
44892
46202
|
"kind": "js",
|
|
44893
46203
|
"name": "carryContext",
|
|
@@ -45627,6 +46937,47 @@
|
|
|
45627
46937
|
}
|
|
45628
46938
|
]
|
|
45629
46939
|
},
|
|
46940
|
+
{
|
|
46941
|
+
"kind": "javascript-module",
|
|
46942
|
+
"path": "src/utilities/defer-focus.ts",
|
|
46943
|
+
"declarations": [
|
|
46944
|
+
{
|
|
46945
|
+
"kind": "function",
|
|
46946
|
+
"name": "deferFocus",
|
|
46947
|
+
"return": {
|
|
46948
|
+
"type": {
|
|
46949
|
+
"text": ""
|
|
46950
|
+
}
|
|
46951
|
+
},
|
|
46952
|
+
"parameters": [
|
|
46953
|
+
{
|
|
46954
|
+
"name": "host",
|
|
46955
|
+
"type": {
|
|
46956
|
+
"text": "LitElement"
|
|
46957
|
+
}
|
|
46958
|
+
},
|
|
46959
|
+
{
|
|
46960
|
+
"name": "options",
|
|
46961
|
+
"optional": true,
|
|
46962
|
+
"type": {
|
|
46963
|
+
"text": "FocusOptions"
|
|
46964
|
+
}
|
|
46965
|
+
}
|
|
46966
|
+
],
|
|
46967
|
+
"description": "Holds on to a `focus()` that comes before the first render.\n\nA component that hands focus to an element in its shadow root has nothing to\nhand it to until it has rendered, so `focus()` right after the element is put\nin the page did nothing. A site that copies a field and focuses the copy then\nleaves focus where it was. This runs the call again once the component has\nrendered, unless focus has moved on in the meantime: a later `focus()` on\nsomething else wins, as it would have without the wait.\n\nCall it first in an overridden `focus()`, and return when it says it waits:\n\n```ts\noverride focus(options?: FocusOptions): void {\n if (deferFocus(this, options)) return;\n this._input?.focus(options);\n}\n```"
|
|
46968
|
+
}
|
|
46969
|
+
],
|
|
46970
|
+
"exports": [
|
|
46971
|
+
{
|
|
46972
|
+
"kind": "js",
|
|
46973
|
+
"name": "deferFocus",
|
|
46974
|
+
"declaration": {
|
|
46975
|
+
"name": "deferFocus",
|
|
46976
|
+
"module": "src/utilities/defer-focus.ts"
|
|
46977
|
+
}
|
|
46978
|
+
}
|
|
46979
|
+
]
|
|
46980
|
+
},
|
|
45630
46981
|
{
|
|
45631
46982
|
"kind": "javascript-module",
|
|
45632
46983
|
"path": "src/utilities/described-by-mixin.ts",
|
|
@@ -45887,6 +47238,83 @@
|
|
|
45887
47238
|
}
|
|
45888
47239
|
]
|
|
45889
47240
|
},
|
|
47241
|
+
{
|
|
47242
|
+
"kind": "javascript-module",
|
|
47243
|
+
"path": "src/utilities/file-drag-and-drop.ts",
|
|
47244
|
+
"declarations": [
|
|
47245
|
+
{
|
|
47246
|
+
"kind": "function",
|
|
47247
|
+
"name": "fileDragAndDropAvailable",
|
|
47248
|
+
"return": {
|
|
47249
|
+
"type": {
|
|
47250
|
+
"text": "boolean"
|
|
47251
|
+
}
|
|
47252
|
+
},
|
|
47253
|
+
"description": "Whether files can be dragged onto the page on this device, so a hint for it is worth showing."
|
|
47254
|
+
},
|
|
47255
|
+
{
|
|
47256
|
+
"kind": "class",
|
|
47257
|
+
"description": "Renders the host again when dragging files becomes available or unavailable,\nsuch as when a trackpad is attached to a tablet, so a drop hint in its\naccessible name follows the visible one. Pass `onChange` for work that a\nrender does not redo.",
|
|
47258
|
+
"name": "FileDragAndDropAvailabilityController",
|
|
47259
|
+
"members": [
|
|
47260
|
+
{
|
|
47261
|
+
"kind": "field",
|
|
47262
|
+
"name": "_query",
|
|
47263
|
+
"privacy": "private"
|
|
47264
|
+
},
|
|
47265
|
+
{
|
|
47266
|
+
"kind": "field",
|
|
47267
|
+
"name": "_onChange",
|
|
47268
|
+
"type": {
|
|
47269
|
+
"text": "() => void"
|
|
47270
|
+
},
|
|
47271
|
+
"privacy": "private"
|
|
47272
|
+
},
|
|
47273
|
+
{
|
|
47274
|
+
"kind": "field",
|
|
47275
|
+
"name": "_handleChange",
|
|
47276
|
+
"privacy": "private"
|
|
47277
|
+
},
|
|
47278
|
+
{
|
|
47279
|
+
"kind": "method",
|
|
47280
|
+
"name": "hostConnected",
|
|
47281
|
+
"return": {
|
|
47282
|
+
"type": {
|
|
47283
|
+
"text": "void"
|
|
47284
|
+
}
|
|
47285
|
+
}
|
|
47286
|
+
},
|
|
47287
|
+
{
|
|
47288
|
+
"kind": "method",
|
|
47289
|
+
"name": "hostDisconnected",
|
|
47290
|
+
"return": {
|
|
47291
|
+
"type": {
|
|
47292
|
+
"text": "void"
|
|
47293
|
+
}
|
|
47294
|
+
}
|
|
47295
|
+
}
|
|
47296
|
+
]
|
|
47297
|
+
}
|
|
47298
|
+
],
|
|
47299
|
+
"exports": [
|
|
47300
|
+
{
|
|
47301
|
+
"kind": "js",
|
|
47302
|
+
"name": "fileDragAndDropAvailable",
|
|
47303
|
+
"declaration": {
|
|
47304
|
+
"name": "fileDragAndDropAvailable",
|
|
47305
|
+
"module": "src/utilities/file-drag-and-drop.ts"
|
|
47306
|
+
}
|
|
47307
|
+
},
|
|
47308
|
+
{
|
|
47309
|
+
"kind": "js",
|
|
47310
|
+
"name": "FileDragAndDropAvailabilityController",
|
|
47311
|
+
"declaration": {
|
|
47312
|
+
"name": "FileDragAndDropAvailabilityController",
|
|
47313
|
+
"module": "src/utilities/file-drag-and-drop.ts"
|
|
47314
|
+
}
|
|
47315
|
+
}
|
|
47316
|
+
]
|
|
47317
|
+
},
|
|
45890
47318
|
{
|
|
45891
47319
|
"kind": "javascript-module",
|
|
45892
47320
|
"path": "src/utilities/focus-target.ts",
|
|
@@ -46460,6 +47888,40 @@
|
|
|
46460
47888
|
}
|
|
46461
47889
|
]
|
|
46462
47890
|
},
|
|
47891
|
+
{
|
|
47892
|
+
"kind": "javascript-module",
|
|
47893
|
+
"path": "src/utilities/list-items.ts",
|
|
47894
|
+
"declarations": [
|
|
47895
|
+
{
|
|
47896
|
+
"kind": "function",
|
|
47897
|
+
"name": "markListItems",
|
|
47898
|
+
"return": {
|
|
47899
|
+
"type": {
|
|
47900
|
+
"text": "void"
|
|
47901
|
+
}
|
|
47902
|
+
},
|
|
47903
|
+
"parameters": [
|
|
47904
|
+
{
|
|
47905
|
+
"name": "elements",
|
|
47906
|
+
"type": {
|
|
47907
|
+
"text": "Element[]"
|
|
47908
|
+
}
|
|
47909
|
+
}
|
|
47910
|
+
],
|
|
47911
|
+
"description": "Gives slotted children `role=\"listitem\"`, for a component that renders the\n`role=\"list\"` around its slot.\n\nA child with a role of its own, written or implied by its element, keeps it:\na consumer's `<article>` stays an article. An nldd-card carries its article\ninside its shadow root, so its host has room for the list item."
|
|
47912
|
+
}
|
|
47913
|
+
],
|
|
47914
|
+
"exports": [
|
|
47915
|
+
{
|
|
47916
|
+
"kind": "js",
|
|
47917
|
+
"name": "markListItems",
|
|
47918
|
+
"declaration": {
|
|
47919
|
+
"name": "markListItems",
|
|
47920
|
+
"module": "src/utilities/list-items.ts"
|
|
47921
|
+
}
|
|
47922
|
+
}
|
|
47923
|
+
]
|
|
47924
|
+
},
|
|
46463
47925
|
{
|
|
46464
47926
|
"kind": "javascript-module",
|
|
46465
47927
|
"path": "src/utilities/open-when-rendered.ts",
|
|
@@ -46656,6 +48118,46 @@
|
|
|
46656
48118
|
}
|
|
46657
48119
|
]
|
|
46658
48120
|
},
|
|
48121
|
+
{
|
|
48122
|
+
"kind": "javascript-module",
|
|
48123
|
+
"path": "src/utilities/owner-form.ts",
|
|
48124
|
+
"declarations": [
|
|
48125
|
+
{
|
|
48126
|
+
"kind": "function",
|
|
48127
|
+
"name": "ownerForm",
|
|
48128
|
+
"return": {
|
|
48129
|
+
"type": {
|
|
48130
|
+
"text": "HTMLFormElement | null"
|
|
48131
|
+
}
|
|
48132
|
+
},
|
|
48133
|
+
"parameters": [
|
|
48134
|
+
{
|
|
48135
|
+
"name": "host",
|
|
48136
|
+
"type": {
|
|
48137
|
+
"text": "HTMLElement"
|
|
48138
|
+
}
|
|
48139
|
+
},
|
|
48140
|
+
{
|
|
48141
|
+
"name": "internals",
|
|
48142
|
+
"type": {
|
|
48143
|
+
"text": "ElementInternals"
|
|
48144
|
+
}
|
|
48145
|
+
}
|
|
48146
|
+
],
|
|
48147
|
+
"description": "The form a form-associated button acts on: the one it sits in, or the one\nits `form` attribute names.\n\nThe platform resolves that attribute itself, but only to a real `<form>`.\nAn `nldd-form` renders its form in the light DOM without handing it the id\nthe consumer wrote, so an id pointing at the component finds an element\nthat is not a form, and the button ends up with no form owner at all. That\nis the whole reason a save button in a page footer, outside the form it\nbelongs to, used to do nothing.\n\nThe id is looked up in the host's own root, the same scope the platform\nsearches: a button inside a shadow tree reaches the forms in that tree, not\none in the document around it. Put the two in the same tree, or hand the\nbutton its form another way.\n\nShared by nldd-button and nldd-split-button, whose action button sits in a\nshadow root and so has no form owner of its own."
|
|
48148
|
+
}
|
|
48149
|
+
],
|
|
48150
|
+
"exports": [
|
|
48151
|
+
{
|
|
48152
|
+
"kind": "js",
|
|
48153
|
+
"name": "ownerForm",
|
|
48154
|
+
"declaration": {
|
|
48155
|
+
"name": "ownerForm",
|
|
48156
|
+
"module": "src/utilities/owner-form.ts"
|
|
48157
|
+
}
|
|
48158
|
+
}
|
|
48159
|
+
]
|
|
48160
|
+
},
|
|
46659
48161
|
{
|
|
46660
48162
|
"kind": "javascript-module",
|
|
46661
48163
|
"path": "src/utilities/page-section-mixin.ts",
|
|
@@ -47004,6 +48506,84 @@
|
|
|
47004
48506
|
}
|
|
47005
48507
|
]
|
|
47006
48508
|
},
|
|
48509
|
+
{
|
|
48510
|
+
"kind": "javascript-module",
|
|
48511
|
+
"path": "src/utilities/popover-target.ts",
|
|
48512
|
+
"declarations": [
|
|
48513
|
+
{
|
|
48514
|
+
"kind": "function",
|
|
48515
|
+
"name": "popoverTargetOf",
|
|
48516
|
+
"return": {
|
|
48517
|
+
"type": {
|
|
48518
|
+
"text": "Element | null"
|
|
48519
|
+
}
|
|
48520
|
+
},
|
|
48521
|
+
"parameters": [
|
|
48522
|
+
{
|
|
48523
|
+
"name": "host",
|
|
48524
|
+
"type": {
|
|
48525
|
+
"text": "Element"
|
|
48526
|
+
}
|
|
48527
|
+
},
|
|
48528
|
+
{
|
|
48529
|
+
"name": "id",
|
|
48530
|
+
"type": {
|
|
48531
|
+
"text": "string | undefined"
|
|
48532
|
+
}
|
|
48533
|
+
},
|
|
48534
|
+
{
|
|
48535
|
+
"name": "element",
|
|
48536
|
+
"type": {
|
|
48537
|
+
"text": "Element | null"
|
|
48538
|
+
}
|
|
48539
|
+
}
|
|
48540
|
+
],
|
|
48541
|
+
"description": "The popover a component's inner button invokes, from `popovertarget` or\n`popoverTargetElement` on the host.\n\nAn id written on the inner button is looked up in the component's own\nshadow root, where the popover never is, so the button opened nothing. The\nid is looked up here in the tree of the host instead, and the inner button\ngets the element. The element wins when both are set.\n\nLook it up again on click: a popover rendered after the button is not there\nyet on the button's first render."
|
|
48542
|
+
},
|
|
48543
|
+
{
|
|
48544
|
+
"kind": "function",
|
|
48545
|
+
"name": "anchorPopoverTarget",
|
|
48546
|
+
"return": {
|
|
48547
|
+
"type": {
|
|
48548
|
+
"text": "void"
|
|
48549
|
+
}
|
|
48550
|
+
},
|
|
48551
|
+
"parameters": [
|
|
48552
|
+
{
|
|
48553
|
+
"name": "host",
|
|
48554
|
+
"type": {
|
|
48555
|
+
"text": "Element"
|
|
48556
|
+
}
|
|
48557
|
+
},
|
|
48558
|
+
{
|
|
48559
|
+
"name": "target",
|
|
48560
|
+
"type": {
|
|
48561
|
+
"text": "Element | null"
|
|
48562
|
+
}
|
|
48563
|
+
}
|
|
48564
|
+
],
|
|
48565
|
+
"description": "Positions an `nldd-menu` or `nldd-popover` that `popovertarget` points at\nagainst the control that opens it, so the overlay needs no `anchor` of its\nown. The browser already opens and closes it; this adds where it stands and\nthe ARIA link back to the control, as a slotted overlay gets.\n\nAn overlay with an `anchor` id, or anchored to another element, is\nleft alone: someone chose where it goes. Pass `null` to let go, as on\ndisconnect or when `popovertarget` changes."
|
|
48566
|
+
}
|
|
48567
|
+
],
|
|
48568
|
+
"exports": [
|
|
48569
|
+
{
|
|
48570
|
+
"kind": "js",
|
|
48571
|
+
"name": "popoverTargetOf",
|
|
48572
|
+
"declaration": {
|
|
48573
|
+
"name": "popoverTargetOf",
|
|
48574
|
+
"module": "src/utilities/popover-target.ts"
|
|
48575
|
+
}
|
|
48576
|
+
},
|
|
48577
|
+
{
|
|
48578
|
+
"kind": "js",
|
|
48579
|
+
"name": "anchorPopoverTarget",
|
|
48580
|
+
"declaration": {
|
|
48581
|
+
"name": "anchorPopoverTarget",
|
|
48582
|
+
"module": "src/utilities/popover-target.ts"
|
|
48583
|
+
}
|
|
48584
|
+
}
|
|
48585
|
+
]
|
|
48586
|
+
},
|
|
47007
48587
|
{
|
|
47008
48588
|
"kind": "javascript-module",
|
|
47009
48589
|
"path": "src/utilities/popup-anchor-controller.ts",
|
|
@@ -47419,6 +48999,24 @@
|
|
|
47419
48999
|
],
|
|
47420
49000
|
"description": "Renders text with `**bold**` markdown segments as `<b>` elements.\nReturns the original string when no markers are present (cheap path)."
|
|
47421
49001
|
},
|
|
49002
|
+
{
|
|
49003
|
+
"kind": "function",
|
|
49004
|
+
"name": "stripBold",
|
|
49005
|
+
"return": {
|
|
49006
|
+
"type": {
|
|
49007
|
+
"text": "string"
|
|
49008
|
+
}
|
|
49009
|
+
},
|
|
49010
|
+
"parameters": [
|
|
49011
|
+
{
|
|
49012
|
+
"name": "text",
|
|
49013
|
+
"type": {
|
|
49014
|
+
"text": "string"
|
|
49015
|
+
}
|
|
49016
|
+
}
|
|
49017
|
+
],
|
|
49018
|
+
"description": "The text of `**bold**` markdown without its markers, for an accessible name."
|
|
49019
|
+
},
|
|
47422
49020
|
{
|
|
47423
49021
|
"kind": "function",
|
|
47424
49022
|
"name": "renderQueryMark",
|
|
@@ -47460,6 +49058,14 @@
|
|
|
47460
49058
|
"module": "src/utilities/render-marked.ts"
|
|
47461
49059
|
}
|
|
47462
49060
|
},
|
|
49061
|
+
{
|
|
49062
|
+
"kind": "js",
|
|
49063
|
+
"name": "stripBold",
|
|
49064
|
+
"declaration": {
|
|
49065
|
+
"name": "stripBold",
|
|
49066
|
+
"module": "src/utilities/render-marked.ts"
|
|
49067
|
+
}
|
|
49068
|
+
},
|
|
47463
49069
|
{
|
|
47464
49070
|
"kind": "js",
|
|
47465
49071
|
"name": "renderQueryMark",
|
|
@@ -47585,6 +49191,57 @@
|
|
|
47585
49191
|
}
|
|
47586
49192
|
]
|
|
47587
49193
|
},
|
|
49194
|
+
{
|
|
49195
|
+
"kind": "javascript-module",
|
|
49196
|
+
"path": "src/utilities/row-header-mixin.ts",
|
|
49197
|
+
"declarations": [
|
|
49198
|
+
{
|
|
49199
|
+
"kind": "mixin",
|
|
49200
|
+
"description": "Adds the `row-header` attribute to the cells that can say what a row is\nabout: `nldd-cell`, `nldd-title-cell`, `nldd-text-cell` and\n`nldd-description-cell`.\n\nIt is the `<th scope=\"row\">` of an `nldd-table`. The cell itself does\nnothing with it: the `nldd-table-row` around it reads the attribute and\ngives that cell `role=\"rowheader\"` instead of `role=\"cell\"`, so a screen\nreader names the row when it reads any other cell in it. The row assigns\nevery cell role already, which is why the decision stays there.\n\nIt sits on the cell rather than on the row, because a cell is what a header\nis in HTML too, and because a column index on the row breaks as soon as a\ncolumn is hidden at a breakpoint or reordered. It is a mixin so it works the\nsame on every cell variant, and the variant still decides how the cell\nlooks: a row header gets no styling of its own.\n\nIn a header row (`slot=\"header\"`) the attribute is ignored and the cell\nstays a `columnheader`. Outside an `nldd-table` it does nothing.",
|
|
49201
|
+
"name": "RowHeaderMixin",
|
|
49202
|
+
"members": [
|
|
49203
|
+
{
|
|
49204
|
+
"kind": "field",
|
|
49205
|
+
"name": "rowHeader",
|
|
49206
|
+
"type": {
|
|
49207
|
+
"text": "boolean"
|
|
49208
|
+
},
|
|
49209
|
+
"default": "false",
|
|
49210
|
+
"attribute": "row-header",
|
|
49211
|
+
"reflects": true
|
|
49212
|
+
}
|
|
49213
|
+
],
|
|
49214
|
+
"attributes": [
|
|
49215
|
+
{
|
|
49216
|
+
"name": "row-header",
|
|
49217
|
+
"type": {
|
|
49218
|
+
"text": "boolean"
|
|
49219
|
+
},
|
|
49220
|
+
"default": "false",
|
|
49221
|
+
"fieldName": "rowHeader"
|
|
49222
|
+
}
|
|
49223
|
+
],
|
|
49224
|
+
"parameters": [
|
|
49225
|
+
{
|
|
49226
|
+
"name": "Base",
|
|
49227
|
+
"type": {
|
|
49228
|
+
"text": "TBase"
|
|
49229
|
+
}
|
|
49230
|
+
}
|
|
49231
|
+
]
|
|
49232
|
+
}
|
|
49233
|
+
],
|
|
49234
|
+
"exports": [
|
|
49235
|
+
{
|
|
49236
|
+
"kind": "js",
|
|
49237
|
+
"name": "RowHeaderMixin",
|
|
49238
|
+
"declaration": {
|
|
49239
|
+
"name": "RowHeaderMixin",
|
|
49240
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
49241
|
+
}
|
|
49242
|
+
}
|
|
49243
|
+
]
|
|
49244
|
+
},
|
|
47588
49245
|
{
|
|
47589
49246
|
"kind": "javascript-module",
|
|
47590
49247
|
"path": "src/utilities/sanitize-url.ts",
|