@nldd/design-system 0.14.0 → 0.15.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 +665 -37
- package/dist/components/actions/button/button.d.ts +1 -1
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +10 -1
- 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 +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +10 -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 +25 -0
- 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 +54 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/components.js +2019 -563
- 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 +2 -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.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +4 -1
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/{decorate-x12uDAK4.js → decorate-CzRe1eif.js} +1 -1
- package/dist/components/{with-translations-DLzmBSkU.js → defer-focus-DIPAUUJa.js} +34 -3
- package/dist/components/{dev-checks-BgrW077W.js → dev-checks-tdnaA2UV.js} +16 -1
- 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-BPNDyhu9.js} +2 -1
- package/dist/components/{icon-button-B5tH4b3c.js → icon-button-Dbo_SGor.js} +46 -15
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +3 -0
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- 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 +36 -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 +235 -91
- 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 +282 -83
- 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/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 +32 -10
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +113 -34
- 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 +22 -13
- 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 +12 -4
- 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/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +3 -0
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts.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-BgCd3s-c.js} +47 -22
- 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 +22 -8
- 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/popover/popover.d.ts +14 -4
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +20 -5
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/task-board/task-board.d.ts +1 -1
- package/dist/components/layout/task-board/task-board.d.ts.map +1 -1
- package/dist/components/layout/task-board/task-board.js +8 -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 +8 -1
- 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 +21 -1
- package/dist/components/lists-and-tables/list-item/list-item.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 +11 -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/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-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-D-8UF1iR.js} +3 -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-CNCT26tu.js} +1 -1
- package/dist/css/rich-text.css +5 -0
- package/dist/nldd.min.js +1394 -898
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +44 -22
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +44 -22
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +32 -10
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +44 -22
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +44 -22
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +47 -29
- 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 +15 -0
- 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/popover-target.d.ts +14 -0
- package/dist/utilities/popover-target.d.ts.map +1 -0
- package/dist/utilities/popover-target.js +21 -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 +6 -1
- 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/data.generated.json +1 -1
- package/package.json +2 -1
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."
|
|
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."
|
|
1465
1465
|
},
|
|
1466
1466
|
{
|
|
1467
1467
|
"name": "text",
|
|
@@ -6503,7 +6503,7 @@
|
|
|
6503
6503
|
},
|
|
6504
6504
|
"default": "false",
|
|
6505
6505
|
"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,
|
|
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. 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
6507
|
}
|
|
6508
6508
|
],
|
|
6509
6509
|
"superclass": {
|
|
@@ -6864,7 +6864,7 @@
|
|
|
6864
6864
|
"declarations": [
|
|
6865
6865
|
{
|
|
6866
6866
|
"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.",
|
|
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. 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
6868
|
"name": "NLDDTitle",
|
|
6869
6869
|
"members": [
|
|
6870
6870
|
{
|
|
@@ -7729,7 +7729,7 @@
|
|
|
7729
7729
|
"text": "string"
|
|
7730
7730
|
},
|
|
7731
7731
|
"default": "''",
|
|
7732
|
-
"description": "Field label text. Omit for no-label layout.",
|
|
7732
|
+
"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
7733
|
"fieldName": "label"
|
|
7734
7734
|
},
|
|
7735
7735
|
{
|
|
@@ -7738,7 +7738,7 @@
|
|
|
7738
7738
|
"text": "string"
|
|
7739
7739
|
},
|
|
7740
7740
|
"default": "''",
|
|
7741
|
-
"description": "Short supporting text below the label. Same typography as optional badge.",
|
|
7741
|
+
"description": "Short supporting text below the label. Same typography as optional badge. Supports **bold** markdown syntax.",
|
|
7742
7742
|
"fieldName": "supportingLabel"
|
|
7743
7743
|
},
|
|
7744
7744
|
{
|
|
@@ -8186,7 +8186,7 @@
|
|
|
8186
8186
|
},
|
|
8187
8187
|
{
|
|
8188
8188
|
"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.",
|
|
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. 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
8190
|
"name": "NLDDValidationList",
|
|
8191
8191
|
"members": [
|
|
8192
8192
|
{
|
|
@@ -8236,6 +8236,15 @@
|
|
|
8236
8236
|
"text": "string | undefined"
|
|
8237
8237
|
},
|
|
8238
8238
|
"description": "The value to check, when there is no control to read it from."
|
|
8239
|
+
},
|
|
8240
|
+
{
|
|
8241
|
+
"kind": "field",
|
|
8242
|
+
"name": "translations",
|
|
8243
|
+
"type": {
|
|
8244
|
+
"text": "Partial<NLDDValidationListTranslations>"
|
|
8245
|
+
},
|
|
8246
|
+
"default": "{}",
|
|
8247
|
+
"attribute": "translations"
|
|
8239
8248
|
}
|
|
8240
8249
|
],
|
|
8241
8250
|
"attributes": [
|
|
@@ -8265,6 +8274,15 @@
|
|
|
8265
8274
|
"default": "false",
|
|
8266
8275
|
"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
8276
|
"fieldName": "judging"
|
|
8277
|
+
},
|
|
8278
|
+
{
|
|
8279
|
+
"name": "translations",
|
|
8280
|
+
"type": {
|
|
8281
|
+
"text": "Partial<NLDDValidationListTranslations>"
|
|
8282
|
+
},
|
|
8283
|
+
"default": "{}",
|
|
8284
|
+
"fieldName": "translations",
|
|
8285
|
+
"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
8286
|
}
|
|
8269
8287
|
],
|
|
8270
8288
|
"superclass": {
|
|
@@ -10971,7 +10989,7 @@
|
|
|
10971
10989
|
"declarations": [
|
|
10972
10990
|
{
|
|
10973
10991
|
"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.",
|
|
10992
|
+
"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
10993
|
"name": "NLDDComboBox",
|
|
10976
10994
|
"members": [
|
|
10977
10995
|
{
|
|
@@ -13309,6 +13327,24 @@
|
|
|
13309
13327
|
],
|
|
13310
13328
|
"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
13329
|
},
|
|
13330
|
+
{
|
|
13331
|
+
"kind": "function",
|
|
13332
|
+
"name": "readDrop",
|
|
13333
|
+
"return": {
|
|
13334
|
+
"type": {
|
|
13335
|
+
"text": "Promise<DroppedFile[]>"
|
|
13336
|
+
}
|
|
13337
|
+
},
|
|
13338
|
+
"parameters": [
|
|
13339
|
+
{
|
|
13340
|
+
"name": "transfer",
|
|
13341
|
+
"type": {
|
|
13342
|
+
"text": "DataTransfer"
|
|
13343
|
+
}
|
|
13344
|
+
}
|
|
13345
|
+
],
|
|
13346
|
+
"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."
|
|
13347
|
+
},
|
|
13312
13348
|
{
|
|
13313
13349
|
"kind": "function",
|
|
13314
13350
|
"name": "carriesFiles",
|
|
@@ -13396,6 +13432,14 @@
|
|
|
13396
13432
|
"module": "src/components/inputs/file-field/file-field.drop.ts"
|
|
13397
13433
|
}
|
|
13398
13434
|
},
|
|
13435
|
+
{
|
|
13436
|
+
"kind": "js",
|
|
13437
|
+
"name": "readDrop",
|
|
13438
|
+
"declaration": {
|
|
13439
|
+
"name": "readDrop",
|
|
13440
|
+
"module": "src/components/inputs/file-field/file-field.drop.ts"
|
|
13441
|
+
}
|
|
13442
|
+
},
|
|
13399
13443
|
{
|
|
13400
13444
|
"kind": "js",
|
|
13401
13445
|
"name": "carriesFiles",
|
|
@@ -13492,6 +13536,67 @@
|
|
|
13492
13536
|
],
|
|
13493
13537
|
"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
13538
|
},
|
|
13539
|
+
{
|
|
13540
|
+
"kind": "function",
|
|
13541
|
+
"name": "truncateMiddleToFit",
|
|
13542
|
+
"return": {
|
|
13543
|
+
"type": {
|
|
13544
|
+
"text": "{ text: string; truncated: boolean }"
|
|
13545
|
+
}
|
|
13546
|
+
},
|
|
13547
|
+
"parameters": [
|
|
13548
|
+
{
|
|
13549
|
+
"name": "name",
|
|
13550
|
+
"type": {
|
|
13551
|
+
"text": "string"
|
|
13552
|
+
}
|
|
13553
|
+
},
|
|
13554
|
+
{
|
|
13555
|
+
"name": "fits",
|
|
13556
|
+
"type": {
|
|
13557
|
+
"text": "(text: string) => boolean"
|
|
13558
|
+
}
|
|
13559
|
+
},
|
|
13560
|
+
{
|
|
13561
|
+
"name": "{ keepExtension = true }",
|
|
13562
|
+
"default": "{}",
|
|
13563
|
+
"type": {
|
|
13564
|
+
"text": "{ keepExtension?: boolean }"
|
|
13565
|
+
}
|
|
13566
|
+
}
|
|
13567
|
+
],
|
|
13568
|
+
"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."
|
|
13569
|
+
},
|
|
13570
|
+
{
|
|
13571
|
+
"kind": "function",
|
|
13572
|
+
"name": "lineFitter",
|
|
13573
|
+
"return": {
|
|
13574
|
+
"type": {
|
|
13575
|
+
"text": "{ fits: (text: string) => boolean; done: () => void }"
|
|
13576
|
+
}
|
|
13577
|
+
},
|
|
13578
|
+
"parameters": [
|
|
13579
|
+
{
|
|
13580
|
+
"name": "container",
|
|
13581
|
+
"type": {
|
|
13582
|
+
"text": "Element"
|
|
13583
|
+
}
|
|
13584
|
+
},
|
|
13585
|
+
{
|
|
13586
|
+
"name": "width",
|
|
13587
|
+
"type": {
|
|
13588
|
+
"text": "number"
|
|
13589
|
+
}
|
|
13590
|
+
},
|
|
13591
|
+
{
|
|
13592
|
+
"name": "lines",
|
|
13593
|
+
"type": {
|
|
13594
|
+
"text": "number"
|
|
13595
|
+
}
|
|
13596
|
+
}
|
|
13597
|
+
],
|
|
13598
|
+
"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."
|
|
13599
|
+
},
|
|
13495
13600
|
{
|
|
13496
13601
|
"kind": "function",
|
|
13497
13602
|
"name": "textMeasurer",
|
|
@@ -13536,6 +13641,22 @@
|
|
|
13536
13641
|
"module": "src/components/inputs/file-field/file-field.truncate.ts"
|
|
13537
13642
|
}
|
|
13538
13643
|
},
|
|
13644
|
+
{
|
|
13645
|
+
"kind": "js",
|
|
13646
|
+
"name": "truncateMiddleToFit",
|
|
13647
|
+
"declaration": {
|
|
13648
|
+
"name": "truncateMiddleToFit",
|
|
13649
|
+
"module": "src/components/inputs/file-field/file-field.truncate.ts"
|
|
13650
|
+
}
|
|
13651
|
+
},
|
|
13652
|
+
{
|
|
13653
|
+
"kind": "js",
|
|
13654
|
+
"name": "lineFitter",
|
|
13655
|
+
"declaration": {
|
|
13656
|
+
"name": "lineFitter",
|
|
13657
|
+
"module": "src/components/inputs/file-field/file-field.truncate.ts"
|
|
13658
|
+
}
|
|
13659
|
+
},
|
|
13539
13660
|
{
|
|
13540
13661
|
"kind": "js",
|
|
13541
13662
|
"name": "textMeasurer",
|
|
@@ -13552,7 +13673,7 @@
|
|
|
13552
13673
|
"declarations": [
|
|
13553
13674
|
{
|
|
13554
13675
|
"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 (\"
|
|
13676
|
+
"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
13677
|
"name": "NLDDFileField",
|
|
13557
13678
|
"members": [
|
|
13558
13679
|
{
|
|
@@ -13605,6 +13726,17 @@
|
|
|
13605
13726
|
"attribute": "multiple",
|
|
13606
13727
|
"reflects": true
|
|
13607
13728
|
},
|
|
13729
|
+
{
|
|
13730
|
+
"kind": "field",
|
|
13731
|
+
"name": "directory",
|
|
13732
|
+
"type": {
|
|
13733
|
+
"text": "boolean"
|
|
13734
|
+
},
|
|
13735
|
+
"default": "false",
|
|
13736
|
+
"description": "Offers a folder beside files: choosing opens a menu with both.",
|
|
13737
|
+
"attribute": "directory",
|
|
13738
|
+
"reflects": true
|
|
13739
|
+
},
|
|
13608
13740
|
{
|
|
13609
13741
|
"kind": "field",
|
|
13610
13742
|
"name": "accessibleLabel",
|
|
@@ -13691,6 +13823,15 @@
|
|
|
13691
13823
|
},
|
|
13692
13824
|
"readonly": true
|
|
13693
13825
|
},
|
|
13826
|
+
{
|
|
13827
|
+
"kind": "field",
|
|
13828
|
+
"name": "paths",
|
|
13829
|
+
"type": {
|
|
13830
|
+
"text": "string[]"
|
|
13831
|
+
},
|
|
13832
|
+
"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`.",
|
|
13833
|
+
"readonly": true
|
|
13834
|
+
},
|
|
13694
13835
|
{
|
|
13695
13836
|
"kind": "method",
|
|
13696
13837
|
"name": "formValue",
|
|
@@ -13699,7 +13840,7 @@
|
|
|
13699
13840
|
"text": "FormValue"
|
|
13700
13841
|
}
|
|
13701
13842
|
},
|
|
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.",
|
|
13843
|
+
"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
13844
|
"inheritedFrom": {
|
|
13704
13845
|
"name": "FormAssociated",
|
|
13705
13846
|
"module": "src/utilities/form-associated-mixin.ts"
|
|
@@ -13726,7 +13867,8 @@
|
|
|
13726
13867
|
"type": {
|
|
13727
13868
|
"text": "void"
|
|
13728
13869
|
}
|
|
13729
|
-
}
|
|
13870
|
+
},
|
|
13871
|
+
"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
13872
|
},
|
|
13731
13873
|
{
|
|
13732
13874
|
"kind": "method",
|
|
@@ -13913,7 +14055,7 @@
|
|
|
13913
14055
|
"events": [
|
|
13914
14056
|
{
|
|
13915
14057
|
"name": "change",
|
|
13916
|
-
"description": "When the chosen files change, including a clear; detail: { files: File[] }"
|
|
14058
|
+
"description": "When the chosen files change, including a clear; detail: { files: File[], paths: string[] }"
|
|
13917
14059
|
}
|
|
13918
14060
|
],
|
|
13919
14061
|
"attributes": [
|
|
@@ -13957,7 +14099,16 @@
|
|
|
13957
14099
|
},
|
|
13958
14100
|
"default": "false",
|
|
13959
14101
|
"fieldName": "multiple",
|
|
13960
|
-
"description": "Allows choosing more than one file"
|
|
14102
|
+
"description": "Allows choosing more than one file, and dropping a folder"
|
|
14103
|
+
},
|
|
14104
|
+
{
|
|
14105
|
+
"name": "directory",
|
|
14106
|
+
"type": {
|
|
14107
|
+
"text": "boolean"
|
|
14108
|
+
},
|
|
14109
|
+
"default": "false",
|
|
14110
|
+
"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",
|
|
14111
|
+
"fieldName": "directory"
|
|
13961
14112
|
},
|
|
13962
14113
|
{
|
|
13963
14114
|
"name": "accessible-label",
|
|
@@ -18750,7 +18901,7 @@
|
|
|
18750
18901
|
"declarations": [
|
|
18751
18902
|
{
|
|
18752
18903
|
"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. The thumbs do not pass each other; where they 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, while a thumb has keyboard focus and while it is
|
|
18904
|
+
"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. The thumbs do not pass each other; where they 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
18905
|
"name": "NLDDSlider",
|
|
18755
18906
|
"members": [
|
|
18756
18907
|
{
|
|
@@ -18951,7 +19102,8 @@
|
|
|
18951
19102
|
"type": {
|
|
18952
19103
|
"text": "void"
|
|
18953
19104
|
}
|
|
18954
|
-
}
|
|
19105
|
+
},
|
|
19106
|
+
"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
19107
|
},
|
|
18956
19108
|
{
|
|
18957
19109
|
"kind": "method",
|
|
@@ -19214,7 +19366,7 @@
|
|
|
19214
19366
|
},
|
|
19215
19367
|
"default": "''",
|
|
19216
19368
|
"fieldName": "startIcon",
|
|
19217
|
-
"description": "Icon at the start of the track, such as a quiet speaker for a volume"
|
|
19369
|
+
"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
19370
|
},
|
|
19219
19371
|
{
|
|
19220
19372
|
"name": "end-icon",
|
|
@@ -19223,7 +19375,7 @@
|
|
|
19223
19375
|
},
|
|
19224
19376
|
"default": "''",
|
|
19225
19377
|
"fieldName": "endIcon",
|
|
19226
|
-
"description": "Icon at the end of the track"
|
|
19378
|
+
"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
19379
|
},
|
|
19228
19380
|
{
|
|
19229
19381
|
"name": "accessible-label",
|
|
@@ -21724,7 +21876,7 @@
|
|
|
21724
21876
|
"type": {
|
|
21725
21877
|
"text": "Extension"
|
|
21726
21878
|
},
|
|
21727
|
-
"default": "[cursorLayer, pointerTracker, stepOverKeymap, typePastBadge
|
|
21879
|
+
"default": "[cursorLayer, pointerTracker, stepOverKeymap, typePastBadge]"
|
|
21728
21880
|
}
|
|
21729
21881
|
],
|
|
21730
21882
|
"exports": [
|
|
@@ -22154,6 +22306,24 @@
|
|
|
22154
22306
|
"kind": "javascript-module",
|
|
22155
22307
|
"path": "src/components/inputs/text-editor/text-editor.markdown.ts",
|
|
22156
22308
|
"declarations": [
|
|
22309
|
+
{
|
|
22310
|
+
"kind": "function",
|
|
22311
|
+
"name": "prefixLength",
|
|
22312
|
+
"return": {
|
|
22313
|
+
"type": {
|
|
22314
|
+
"text": "number"
|
|
22315
|
+
}
|
|
22316
|
+
},
|
|
22317
|
+
"parameters": [
|
|
22318
|
+
{
|
|
22319
|
+
"name": "text",
|
|
22320
|
+
"type": {
|
|
22321
|
+
"text": "string"
|
|
22322
|
+
}
|
|
22323
|
+
}
|
|
22324
|
+
],
|
|
22325
|
+
"description": "The length of the list and quote markers a line starts with, which the\nhanging indent of the line counts in mono advances."
|
|
22326
|
+
},
|
|
22157
22327
|
{
|
|
22158
22328
|
"kind": "variable",
|
|
22159
22329
|
"name": "markdownEditing",
|
|
@@ -22165,6 +22335,14 @@
|
|
|
22165
22335
|
}
|
|
22166
22336
|
],
|
|
22167
22337
|
"exports": [
|
|
22338
|
+
{
|
|
22339
|
+
"kind": "js",
|
|
22340
|
+
"name": "prefixLength",
|
|
22341
|
+
"declaration": {
|
|
22342
|
+
"name": "prefixLength",
|
|
22343
|
+
"module": "src/components/inputs/text-editor/text-editor.markdown.ts"
|
|
22344
|
+
}
|
|
22345
|
+
},
|
|
22168
22346
|
{
|
|
22169
22347
|
"kind": "js",
|
|
22170
22348
|
"name": "markdownEditing",
|
|
@@ -22609,6 +22787,13 @@
|
|
|
22609
22787
|
"type": {
|
|
22610
22788
|
"text": "(query: string) => string | null"
|
|
22611
22789
|
}
|
|
22790
|
+
},
|
|
22791
|
+
{
|
|
22792
|
+
"name": "countText",
|
|
22793
|
+
"default": "(count) => String(count)",
|
|
22794
|
+
"type": {
|
|
22795
|
+
"text": "(count: number) => string"
|
|
22796
|
+
}
|
|
22612
22797
|
}
|
|
22613
22798
|
],
|
|
22614
22799
|
"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 +24317,7 @@
|
|
|
24132
24317
|
"expandedType": {
|
|
24133
24318
|
"text": "'hidden' | 'visible'"
|
|
24134
24319
|
},
|
|
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
|
|
24320
|
+
"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
24321
|
},
|
|
24137
24322
|
{
|
|
24138
24323
|
"name": "annotatable",
|
|
@@ -27433,7 +27618,7 @@
|
|
|
27433
27618
|
"declarations": [
|
|
27434
27619
|
{
|
|
27435
27620
|
"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.",
|
|
27621
|
+
"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
27622
|
"name": "NLDDTokenField",
|
|
27438
27623
|
"members": [
|
|
27439
27624
|
{
|
|
@@ -29766,6 +29951,16 @@
|
|
|
29766
29951
|
"description": "Body max-width: 'full' (removes the constraint) or any CSS length.\nMirrors a page section's width.",
|
|
29767
29952
|
"attribute": "width",
|
|
29768
29953
|
"reflects": true
|
|
29954
|
+
},
|
|
29955
|
+
{
|
|
29956
|
+
"kind": "field",
|
|
29957
|
+
"name": "noRibbon",
|
|
29958
|
+
"type": {
|
|
29959
|
+
"text": "boolean"
|
|
29960
|
+
},
|
|
29961
|
+
"default": "false",
|
|
29962
|
+
"attribute": "no-ribbon",
|
|
29963
|
+
"reflects": true
|
|
29769
29964
|
}
|
|
29770
29965
|
],
|
|
29771
29966
|
"attributes": [
|
|
@@ -29777,6 +29972,15 @@
|
|
|
29777
29972
|
"default": "''",
|
|
29778
29973
|
"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
29974
|
"fieldName": "width"
|
|
29975
|
+
},
|
|
29976
|
+
{
|
|
29977
|
+
"name": "no-ribbon",
|
|
29978
|
+
"type": {
|
|
29979
|
+
"text": "boolean"
|
|
29980
|
+
},
|
|
29981
|
+
"default": "false",
|
|
29982
|
+
"fieldName": "noRibbon",
|
|
29983
|
+
"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
29984
|
}
|
|
29781
29985
|
],
|
|
29782
29986
|
"superclass": {
|
|
@@ -34108,7 +34312,7 @@
|
|
|
34108
34312
|
"declarations": [
|
|
34109
34313
|
{
|
|
34110
34314
|
"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: <nldd-button id=\"info-trigger\" popovertarget=\"info-popover\">Info</nldd-button> <nldd-popover id=\"info-popover\" anchor=\"info-trigger\" accessible-label=\"Info\"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> 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 sm the popover is a bottom sheet
|
|
34315
|
+
"description": "A non-modal floating panel anchored to a trigger element. Built on the native Popover API (popover=\"auto\") with Floating UI for positioning. The browser handles opening, toggling and light dismiss; this component only handles positioning and focus. The recommended use is through popovertarget, so the browser owns the toggle: <nldd-button id=\"info-trigger\" popovertarget=\"info-popover\">Info</nldd-button> <nldd-popover id=\"info-popover\" anchor=\"info-trigger\" accessible-label=\"Info\"> <nldd-container> <p>Content of the popover.</p> </nldd-container> </nldd-popover> 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
34316
|
"name": "NLDDPopover",
|
|
34113
34317
|
"members": [
|
|
34114
34318
|
{
|
|
@@ -36255,6 +36459,20 @@
|
|
|
36255
36459
|
"attribute": "vertical-alignment",
|
|
36256
36460
|
"reflects": true
|
|
36257
36461
|
},
|
|
36462
|
+
{
|
|
36463
|
+
"kind": "field",
|
|
36464
|
+
"name": "rowHeader",
|
|
36465
|
+
"type": {
|
|
36466
|
+
"text": "boolean"
|
|
36467
|
+
},
|
|
36468
|
+
"default": "false",
|
|
36469
|
+
"attribute": "row-header",
|
|
36470
|
+
"reflects": true,
|
|
36471
|
+
"inheritedFrom": {
|
|
36472
|
+
"name": "RowHeaderMixin",
|
|
36473
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
36474
|
+
}
|
|
36475
|
+
},
|
|
36258
36476
|
{
|
|
36259
36477
|
"kind": "field",
|
|
36260
36478
|
"name": "hideBelow",
|
|
@@ -36340,6 +36558,18 @@
|
|
|
36340
36558
|
},
|
|
36341
36559
|
"description": "Vertical alignment of slotted content (default: 'center')"
|
|
36342
36560
|
},
|
|
36561
|
+
{
|
|
36562
|
+
"name": "row-header",
|
|
36563
|
+
"type": {
|
|
36564
|
+
"text": "boolean"
|
|
36565
|
+
},
|
|
36566
|
+
"default": "false",
|
|
36567
|
+
"fieldName": "rowHeader",
|
|
36568
|
+
"inheritedFrom": {
|
|
36569
|
+
"name": "RowHeaderMixin",
|
|
36570
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
36571
|
+
}
|
|
36572
|
+
},
|
|
36343
36573
|
{
|
|
36344
36574
|
"name": "hide-below",
|
|
36345
36575
|
"type": {
|
|
@@ -36364,6 +36594,10 @@
|
|
|
36364
36594
|
}
|
|
36365
36595
|
],
|
|
36366
36596
|
"mixins": [
|
|
36597
|
+
{
|
|
36598
|
+
"name": "RowHeaderMixin",
|
|
36599
|
+
"module": "/src/utilities/row-header-mixin.js"
|
|
36600
|
+
},
|
|
36367
36601
|
{
|
|
36368
36602
|
"name": "VisibilityMixin",
|
|
36369
36603
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -36459,6 +36693,20 @@
|
|
|
36459
36693
|
"attribute": "vertical-alignment",
|
|
36460
36694
|
"reflects": true
|
|
36461
36695
|
},
|
|
36696
|
+
{
|
|
36697
|
+
"kind": "field",
|
|
36698
|
+
"name": "rowHeader",
|
|
36699
|
+
"type": {
|
|
36700
|
+
"text": "boolean"
|
|
36701
|
+
},
|
|
36702
|
+
"default": "false",
|
|
36703
|
+
"attribute": "row-header",
|
|
36704
|
+
"reflects": true,
|
|
36705
|
+
"inheritedFrom": {
|
|
36706
|
+
"name": "RowHeaderMixin",
|
|
36707
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
36708
|
+
}
|
|
36709
|
+
},
|
|
36462
36710
|
{
|
|
36463
36711
|
"kind": "field",
|
|
36464
36712
|
"name": "hideBelow",
|
|
@@ -36532,6 +36780,18 @@
|
|
|
36532
36780
|
},
|
|
36533
36781
|
"description": "Vertical alignment (default: 'center')"
|
|
36534
36782
|
},
|
|
36783
|
+
{
|
|
36784
|
+
"name": "row-header",
|
|
36785
|
+
"type": {
|
|
36786
|
+
"text": "boolean"
|
|
36787
|
+
},
|
|
36788
|
+
"default": "false",
|
|
36789
|
+
"fieldName": "rowHeader",
|
|
36790
|
+
"inheritedFrom": {
|
|
36791
|
+
"name": "RowHeaderMixin",
|
|
36792
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
36793
|
+
}
|
|
36794
|
+
},
|
|
36535
36795
|
{
|
|
36536
36796
|
"name": "hide-below",
|
|
36537
36797
|
"type": {
|
|
@@ -36556,6 +36816,10 @@
|
|
|
36556
36816
|
}
|
|
36557
36817
|
],
|
|
36558
36818
|
"mixins": [
|
|
36819
|
+
{
|
|
36820
|
+
"name": "RowHeaderMixin",
|
|
36821
|
+
"module": "/src/utilities/row-header-mixin.js"
|
|
36822
|
+
},
|
|
36559
36823
|
{
|
|
36560
36824
|
"name": "VisibilityMixin",
|
|
36561
36825
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -37440,6 +37704,20 @@
|
|
|
37440
37704
|
"default": "'predictive'",
|
|
37441
37705
|
"attribute": "query-mark-mode"
|
|
37442
37706
|
},
|
|
37707
|
+
{
|
|
37708
|
+
"kind": "field",
|
|
37709
|
+
"name": "rowHeader",
|
|
37710
|
+
"type": {
|
|
37711
|
+
"text": "boolean"
|
|
37712
|
+
},
|
|
37713
|
+
"default": "false",
|
|
37714
|
+
"attribute": "row-header",
|
|
37715
|
+
"reflects": true,
|
|
37716
|
+
"inheritedFrom": {
|
|
37717
|
+
"name": "RowHeaderMixin",
|
|
37718
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
37719
|
+
}
|
|
37720
|
+
},
|
|
37443
37721
|
{
|
|
37444
37722
|
"kind": "field",
|
|
37445
37723
|
"name": "hideBelow",
|
|
@@ -37597,6 +37875,18 @@
|
|
|
37597
37875
|
},
|
|
37598
37876
|
"description": "'match' | 'predictive' (default: 'predictive')"
|
|
37599
37877
|
},
|
|
37878
|
+
{
|
|
37879
|
+
"name": "row-header",
|
|
37880
|
+
"type": {
|
|
37881
|
+
"text": "boolean"
|
|
37882
|
+
},
|
|
37883
|
+
"default": "false",
|
|
37884
|
+
"fieldName": "rowHeader",
|
|
37885
|
+
"inheritedFrom": {
|
|
37886
|
+
"name": "RowHeaderMixin",
|
|
37887
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
37888
|
+
}
|
|
37889
|
+
},
|
|
37600
37890
|
{
|
|
37601
37891
|
"name": "hide-below",
|
|
37602
37892
|
"type": {
|
|
@@ -37621,6 +37911,10 @@
|
|
|
37621
37911
|
}
|
|
37622
37912
|
],
|
|
37623
37913
|
"mixins": [
|
|
37914
|
+
{
|
|
37915
|
+
"name": "RowHeaderMixin",
|
|
37916
|
+
"module": "/src/utilities/row-header-mixin.js"
|
|
37917
|
+
},
|
|
37624
37918
|
{
|
|
37625
37919
|
"name": "VisibilityMixin",
|
|
37626
37920
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -37680,9 +37974,9 @@
|
|
|
37680
37974
|
"kind": "field",
|
|
37681
37975
|
"name": "size",
|
|
37682
37976
|
"type": {
|
|
37683
|
-
"text": "TitleCellSize"
|
|
37977
|
+
"text": "TitleCellSize | undefined"
|
|
37684
37978
|
},
|
|
37685
|
-
"
|
|
37979
|
+
"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
37980
|
"attribute": "size",
|
|
37687
37981
|
"reflects": true
|
|
37688
37982
|
},
|
|
@@ -37812,6 +38106,20 @@
|
|
|
37812
38106
|
"default": "'predictive'",
|
|
37813
38107
|
"attribute": "query-mark-mode"
|
|
37814
38108
|
},
|
|
38109
|
+
{
|
|
38110
|
+
"kind": "field",
|
|
38111
|
+
"name": "rowHeader",
|
|
38112
|
+
"type": {
|
|
38113
|
+
"text": "boolean"
|
|
38114
|
+
},
|
|
38115
|
+
"default": "false",
|
|
38116
|
+
"attribute": "row-header",
|
|
38117
|
+
"reflects": true,
|
|
38118
|
+
"inheritedFrom": {
|
|
38119
|
+
"name": "RowHeaderMixin",
|
|
38120
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
38121
|
+
}
|
|
38122
|
+
},
|
|
37815
38123
|
{
|
|
37816
38124
|
"kind": "field",
|
|
37817
38125
|
"name": "hideBelow",
|
|
@@ -37843,14 +38151,13 @@
|
|
|
37843
38151
|
{
|
|
37844
38152
|
"name": "size",
|
|
37845
38153
|
"type": {
|
|
37846
|
-
"text": "TitleCellSize"
|
|
38154
|
+
"text": "TitleCellSize | undefined"
|
|
37847
38155
|
},
|
|
37848
|
-
"
|
|
38156
|
+
"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
38157
|
"fieldName": "size",
|
|
37850
38158
|
"expandedType": {
|
|
37851
38159
|
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
37852
|
-
}
|
|
37853
|
-
"description": "Visual size of the title (default: 5)"
|
|
38160
|
+
}
|
|
37854
38161
|
},
|
|
37855
38162
|
{
|
|
37856
38163
|
"name": "color",
|
|
@@ -37978,6 +38285,18 @@
|
|
|
37978
38285
|
},
|
|
37979
38286
|
"description": "'match' | 'predictive' (default: 'predictive')"
|
|
37980
38287
|
},
|
|
38288
|
+
{
|
|
38289
|
+
"name": "row-header",
|
|
38290
|
+
"type": {
|
|
38291
|
+
"text": "boolean"
|
|
38292
|
+
},
|
|
38293
|
+
"default": "false",
|
|
38294
|
+
"fieldName": "rowHeader",
|
|
38295
|
+
"inheritedFrom": {
|
|
38296
|
+
"name": "RowHeaderMixin",
|
|
38297
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
38298
|
+
}
|
|
38299
|
+
},
|
|
37981
38300
|
{
|
|
37982
38301
|
"name": "hide-below",
|
|
37983
38302
|
"type": {
|
|
@@ -38002,6 +38321,10 @@
|
|
|
38002
38321
|
}
|
|
38003
38322
|
],
|
|
38004
38323
|
"mixins": [
|
|
38324
|
+
{
|
|
38325
|
+
"name": "RowHeaderMixin",
|
|
38326
|
+
"module": "/src/utilities/row-header-mixin.js"
|
|
38327
|
+
},
|
|
38005
38328
|
{
|
|
38006
38329
|
"name": "VisibilityMixin",
|
|
38007
38330
|
"module": "/src/utilities/visibility-mixin.js"
|
|
@@ -38389,7 +38712,7 @@
|
|
|
38389
38712
|
"type": {
|
|
38390
38713
|
"text": "string | undefined"
|
|
38391
38714
|
},
|
|
38392
|
-
"description": "ID of a popover this segment toggles
|
|
38715
|
+
"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.",
|
|
38393
38716
|
"name": "popovertarget",
|
|
38394
38717
|
"fieldName": "popovertarget"
|
|
38395
38718
|
},
|
|
@@ -38806,7 +39129,7 @@
|
|
|
38806
39129
|
"type": {
|
|
38807
39130
|
"text": "string"
|
|
38808
39131
|
},
|
|
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.",
|
|
39132
|
+
"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
39133
|
"name": "accessible-label",
|
|
38811
39134
|
"default": "''",
|
|
38812
39135
|
"fieldName": "accessibleLabel"
|
|
@@ -39170,7 +39493,7 @@
|
|
|
39170
39493
|
"declarations": [
|
|
39171
39494
|
{
|
|
39172
39495
|
"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).",
|
|
39496
|
+
"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
39497
|
"name": "NLDDTable",
|
|
39175
39498
|
"members": [
|
|
39176
39499
|
{
|
|
@@ -39856,7 +40179,7 @@
|
|
|
39856
40179
|
"name": "withTranslations",
|
|
39857
40180
|
"module": "src/utilities/with-translations.ts"
|
|
39858
40181
|
},
|
|
39859
|
-
"description": "Translation overrides; unset keys fall back to Dutch. Available keys: 'components.document-tab-bar.
|
|
40182
|
+
"description": "Translation overrides; unset keys fall back to Dutch. Available keys: 'components.document-tab-bar.show-more-tabs-action' (default: 'Toon meer tabbladen')"
|
|
39860
40183
|
}
|
|
39861
40184
|
],
|
|
39862
40185
|
"mixins": [
|
|
@@ -41775,7 +42098,7 @@
|
|
|
41775
42098
|
"declarations": [
|
|
41776
42099
|
{
|
|
41777
42100
|
"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.",
|
|
42101
|
+
"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
42102
|
"name": "NLDDTopTitleBar",
|
|
41780
42103
|
"members": [
|
|
41781
42104
|
{
|
|
@@ -42005,7 +42328,7 @@
|
|
|
42005
42328
|
"text": "ActivityIndicatorTiming"
|
|
42006
42329
|
},
|
|
42007
42330
|
"default": "'delay'",
|
|
42008
|
-
"description": "'delay' waits
|
|
42331
|
+
"description": "'delay' waits SHOW_DELAY_MS before showing; 'instant' shows\nimmediately. The fade-in plays either way.",
|
|
42009
42332
|
"attribute": "timing",
|
|
42010
42333
|
"reflects": true
|
|
42011
42334
|
},
|
|
@@ -42802,7 +43125,7 @@
|
|
|
42802
43125
|
"expandedType": {
|
|
42803
43126
|
"text": "'' | 'center' | 'left'"
|
|
42804
43127
|
},
|
|
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.
|
|
43128
|
+
"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
43129
|
}
|
|
42807
43130
|
],
|
|
42808
43131
|
"superclass": {
|
|
@@ -42814,7 +43137,7 @@
|
|
|
42814
43137
|
"slots": [
|
|
42815
43138
|
{
|
|
42816
43139
|
"name": "",
|
|
42817
|
-
"description": "Optional custom content between text and actions"
|
|
43140
|
+
"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
43141
|
},
|
|
42819
43142
|
{
|
|
42820
43143
|
"name": "actions",
|
|
@@ -43258,7 +43581,7 @@
|
|
|
43258
43581
|
"slots": [
|
|
43259
43582
|
{
|
|
43260
43583
|
"name": "",
|
|
43261
|
-
"description": "Optional custom content, forwarded to nldd-inline-dialog"
|
|
43584
|
+
"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
43585
|
},
|
|
43263
43586
|
{
|
|
43264
43587
|
"name": "actions",
|
|
@@ -44844,6 +45167,24 @@
|
|
|
44844
45167
|
"kind": "javascript-module",
|
|
44845
45168
|
"path": "src/utilities/carried-context.ts",
|
|
44846
45169
|
"declarations": [
|
|
45170
|
+
{
|
|
45171
|
+
"kind": "function",
|
|
45172
|
+
"name": "langOf",
|
|
45173
|
+
"return": {
|
|
45174
|
+
"type": {
|
|
45175
|
+
"text": "string | null"
|
|
45176
|
+
}
|
|
45177
|
+
},
|
|
45178
|
+
"parameters": [
|
|
45179
|
+
{
|
|
45180
|
+
"name": "el",
|
|
45181
|
+
"type": {
|
|
45182
|
+
"text": "Element"
|
|
45183
|
+
}
|
|
45184
|
+
}
|
|
45185
|
+
],
|
|
45186
|
+
"description": "The language of an element, looking past shadow roots to their hosts."
|
|
45187
|
+
},
|
|
44847
45188
|
{
|
|
44848
45189
|
"kind": "function",
|
|
44849
45190
|
"name": "carryContext",
|
|
@@ -44864,9 +45205,13 @@
|
|
|
44864
45205
|
"type": {
|
|
44865
45206
|
"text": "Element | null"
|
|
44866
45207
|
}
|
|
45208
|
+
},
|
|
45209
|
+
{
|
|
45210
|
+
"name": "{ scheme: withScheme = true }",
|
|
45211
|
+
"default": "{}"
|
|
44867
45212
|
}
|
|
44868
45213
|
],
|
|
44869
|
-
"description": "Gives `element` the color scheme and language of `origin`. Call it each\
|
|
45214
|
+
"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
45215
|
},
|
|
44871
45216
|
{
|
|
44872
45217
|
"kind": "function",
|
|
@@ -44888,6 +45233,14 @@
|
|
|
44888
45233
|
}
|
|
44889
45234
|
],
|
|
44890
45235
|
"exports": [
|
|
45236
|
+
{
|
|
45237
|
+
"kind": "js",
|
|
45238
|
+
"name": "langOf",
|
|
45239
|
+
"declaration": {
|
|
45240
|
+
"name": "langOf",
|
|
45241
|
+
"module": "src/utilities/carried-context.ts"
|
|
45242
|
+
}
|
|
45243
|
+
},
|
|
44891
45244
|
{
|
|
44892
45245
|
"kind": "js",
|
|
44893
45246
|
"name": "carryContext",
|
|
@@ -45627,6 +45980,47 @@
|
|
|
45627
45980
|
}
|
|
45628
45981
|
]
|
|
45629
45982
|
},
|
|
45983
|
+
{
|
|
45984
|
+
"kind": "javascript-module",
|
|
45985
|
+
"path": "src/utilities/defer-focus.ts",
|
|
45986
|
+
"declarations": [
|
|
45987
|
+
{
|
|
45988
|
+
"kind": "function",
|
|
45989
|
+
"name": "deferFocus",
|
|
45990
|
+
"return": {
|
|
45991
|
+
"type": {
|
|
45992
|
+
"text": ""
|
|
45993
|
+
}
|
|
45994
|
+
},
|
|
45995
|
+
"parameters": [
|
|
45996
|
+
{
|
|
45997
|
+
"name": "host",
|
|
45998
|
+
"type": {
|
|
45999
|
+
"text": "LitElement"
|
|
46000
|
+
}
|
|
46001
|
+
},
|
|
46002
|
+
{
|
|
46003
|
+
"name": "options",
|
|
46004
|
+
"optional": true,
|
|
46005
|
+
"type": {
|
|
46006
|
+
"text": "FocusOptions"
|
|
46007
|
+
}
|
|
46008
|
+
}
|
|
46009
|
+
],
|
|
46010
|
+
"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```"
|
|
46011
|
+
}
|
|
46012
|
+
],
|
|
46013
|
+
"exports": [
|
|
46014
|
+
{
|
|
46015
|
+
"kind": "js",
|
|
46016
|
+
"name": "deferFocus",
|
|
46017
|
+
"declaration": {
|
|
46018
|
+
"name": "deferFocus",
|
|
46019
|
+
"module": "src/utilities/defer-focus.ts"
|
|
46020
|
+
}
|
|
46021
|
+
}
|
|
46022
|
+
]
|
|
46023
|
+
},
|
|
45630
46024
|
{
|
|
45631
46025
|
"kind": "javascript-module",
|
|
45632
46026
|
"path": "src/utilities/described-by-mixin.ts",
|
|
@@ -45887,6 +46281,83 @@
|
|
|
45887
46281
|
}
|
|
45888
46282
|
]
|
|
45889
46283
|
},
|
|
46284
|
+
{
|
|
46285
|
+
"kind": "javascript-module",
|
|
46286
|
+
"path": "src/utilities/file-drag-and-drop.ts",
|
|
46287
|
+
"declarations": [
|
|
46288
|
+
{
|
|
46289
|
+
"kind": "function",
|
|
46290
|
+
"name": "fileDragAndDropAvailable",
|
|
46291
|
+
"return": {
|
|
46292
|
+
"type": {
|
|
46293
|
+
"text": "boolean"
|
|
46294
|
+
}
|
|
46295
|
+
},
|
|
46296
|
+
"description": "Whether files can be dragged onto the page on this device, so a hint for it is worth showing."
|
|
46297
|
+
},
|
|
46298
|
+
{
|
|
46299
|
+
"kind": "class",
|
|
46300
|
+
"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.",
|
|
46301
|
+
"name": "FileDragAndDropAvailabilityController",
|
|
46302
|
+
"members": [
|
|
46303
|
+
{
|
|
46304
|
+
"kind": "field",
|
|
46305
|
+
"name": "_query",
|
|
46306
|
+
"privacy": "private"
|
|
46307
|
+
},
|
|
46308
|
+
{
|
|
46309
|
+
"kind": "field",
|
|
46310
|
+
"name": "_onChange",
|
|
46311
|
+
"type": {
|
|
46312
|
+
"text": "() => void"
|
|
46313
|
+
},
|
|
46314
|
+
"privacy": "private"
|
|
46315
|
+
},
|
|
46316
|
+
{
|
|
46317
|
+
"kind": "field",
|
|
46318
|
+
"name": "_handleChange",
|
|
46319
|
+
"privacy": "private"
|
|
46320
|
+
},
|
|
46321
|
+
{
|
|
46322
|
+
"kind": "method",
|
|
46323
|
+
"name": "hostConnected",
|
|
46324
|
+
"return": {
|
|
46325
|
+
"type": {
|
|
46326
|
+
"text": "void"
|
|
46327
|
+
}
|
|
46328
|
+
}
|
|
46329
|
+
},
|
|
46330
|
+
{
|
|
46331
|
+
"kind": "method",
|
|
46332
|
+
"name": "hostDisconnected",
|
|
46333
|
+
"return": {
|
|
46334
|
+
"type": {
|
|
46335
|
+
"text": "void"
|
|
46336
|
+
}
|
|
46337
|
+
}
|
|
46338
|
+
}
|
|
46339
|
+
]
|
|
46340
|
+
}
|
|
46341
|
+
],
|
|
46342
|
+
"exports": [
|
|
46343
|
+
{
|
|
46344
|
+
"kind": "js",
|
|
46345
|
+
"name": "fileDragAndDropAvailable",
|
|
46346
|
+
"declaration": {
|
|
46347
|
+
"name": "fileDragAndDropAvailable",
|
|
46348
|
+
"module": "src/utilities/file-drag-and-drop.ts"
|
|
46349
|
+
}
|
|
46350
|
+
},
|
|
46351
|
+
{
|
|
46352
|
+
"kind": "js",
|
|
46353
|
+
"name": "FileDragAndDropAvailabilityController",
|
|
46354
|
+
"declaration": {
|
|
46355
|
+
"name": "FileDragAndDropAvailabilityController",
|
|
46356
|
+
"module": "src/utilities/file-drag-and-drop.ts"
|
|
46357
|
+
}
|
|
46358
|
+
}
|
|
46359
|
+
]
|
|
46360
|
+
},
|
|
45890
46361
|
{
|
|
45891
46362
|
"kind": "javascript-module",
|
|
45892
46363
|
"path": "src/utilities/focus-target.ts",
|
|
@@ -46460,6 +46931,40 @@
|
|
|
46460
46931
|
}
|
|
46461
46932
|
]
|
|
46462
46933
|
},
|
|
46934
|
+
{
|
|
46935
|
+
"kind": "javascript-module",
|
|
46936
|
+
"path": "src/utilities/list-items.ts",
|
|
46937
|
+
"declarations": [
|
|
46938
|
+
{
|
|
46939
|
+
"kind": "function",
|
|
46940
|
+
"name": "markListItems",
|
|
46941
|
+
"return": {
|
|
46942
|
+
"type": {
|
|
46943
|
+
"text": "void"
|
|
46944
|
+
}
|
|
46945
|
+
},
|
|
46946
|
+
"parameters": [
|
|
46947
|
+
{
|
|
46948
|
+
"name": "elements",
|
|
46949
|
+
"type": {
|
|
46950
|
+
"text": "Element[]"
|
|
46951
|
+
}
|
|
46952
|
+
}
|
|
46953
|
+
],
|
|
46954
|
+
"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."
|
|
46955
|
+
}
|
|
46956
|
+
],
|
|
46957
|
+
"exports": [
|
|
46958
|
+
{
|
|
46959
|
+
"kind": "js",
|
|
46960
|
+
"name": "markListItems",
|
|
46961
|
+
"declaration": {
|
|
46962
|
+
"name": "markListItems",
|
|
46963
|
+
"module": "src/utilities/list-items.ts"
|
|
46964
|
+
}
|
|
46965
|
+
}
|
|
46966
|
+
]
|
|
46967
|
+
},
|
|
46463
46968
|
{
|
|
46464
46969
|
"kind": "javascript-module",
|
|
46465
46970
|
"path": "src/utilities/open-when-rendered.ts",
|
|
@@ -47004,6 +47509,52 @@
|
|
|
47004
47509
|
}
|
|
47005
47510
|
]
|
|
47006
47511
|
},
|
|
47512
|
+
{
|
|
47513
|
+
"kind": "javascript-module",
|
|
47514
|
+
"path": "src/utilities/popover-target.ts",
|
|
47515
|
+
"declarations": [
|
|
47516
|
+
{
|
|
47517
|
+
"kind": "function",
|
|
47518
|
+
"name": "popoverTargetOf",
|
|
47519
|
+
"return": {
|
|
47520
|
+
"type": {
|
|
47521
|
+
"text": "Element | null"
|
|
47522
|
+
}
|
|
47523
|
+
},
|
|
47524
|
+
"parameters": [
|
|
47525
|
+
{
|
|
47526
|
+
"name": "host",
|
|
47527
|
+
"type": {
|
|
47528
|
+
"text": "Element"
|
|
47529
|
+
}
|
|
47530
|
+
},
|
|
47531
|
+
{
|
|
47532
|
+
"name": "id",
|
|
47533
|
+
"type": {
|
|
47534
|
+
"text": "string | undefined"
|
|
47535
|
+
}
|
|
47536
|
+
},
|
|
47537
|
+
{
|
|
47538
|
+
"name": "element",
|
|
47539
|
+
"type": {
|
|
47540
|
+
"text": "Element | null"
|
|
47541
|
+
}
|
|
47542
|
+
}
|
|
47543
|
+
],
|
|
47544
|
+
"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."
|
|
47545
|
+
}
|
|
47546
|
+
],
|
|
47547
|
+
"exports": [
|
|
47548
|
+
{
|
|
47549
|
+
"kind": "js",
|
|
47550
|
+
"name": "popoverTargetOf",
|
|
47551
|
+
"declaration": {
|
|
47552
|
+
"name": "popoverTargetOf",
|
|
47553
|
+
"module": "src/utilities/popover-target.ts"
|
|
47554
|
+
}
|
|
47555
|
+
}
|
|
47556
|
+
]
|
|
47557
|
+
},
|
|
47007
47558
|
{
|
|
47008
47559
|
"kind": "javascript-module",
|
|
47009
47560
|
"path": "src/utilities/popup-anchor-controller.ts",
|
|
@@ -47419,6 +47970,24 @@
|
|
|
47419
47970
|
],
|
|
47420
47971
|
"description": "Renders text with `**bold**` markdown segments as `<b>` elements.\nReturns the original string when no markers are present (cheap path)."
|
|
47421
47972
|
},
|
|
47973
|
+
{
|
|
47974
|
+
"kind": "function",
|
|
47975
|
+
"name": "stripBold",
|
|
47976
|
+
"return": {
|
|
47977
|
+
"type": {
|
|
47978
|
+
"text": "string"
|
|
47979
|
+
}
|
|
47980
|
+
},
|
|
47981
|
+
"parameters": [
|
|
47982
|
+
{
|
|
47983
|
+
"name": "text",
|
|
47984
|
+
"type": {
|
|
47985
|
+
"text": "string"
|
|
47986
|
+
}
|
|
47987
|
+
}
|
|
47988
|
+
],
|
|
47989
|
+
"description": "The text of `**bold**` markdown without its markers, for an accessible name."
|
|
47990
|
+
},
|
|
47422
47991
|
{
|
|
47423
47992
|
"kind": "function",
|
|
47424
47993
|
"name": "renderQueryMark",
|
|
@@ -47460,6 +48029,14 @@
|
|
|
47460
48029
|
"module": "src/utilities/render-marked.ts"
|
|
47461
48030
|
}
|
|
47462
48031
|
},
|
|
48032
|
+
{
|
|
48033
|
+
"kind": "js",
|
|
48034
|
+
"name": "stripBold",
|
|
48035
|
+
"declaration": {
|
|
48036
|
+
"name": "stripBold",
|
|
48037
|
+
"module": "src/utilities/render-marked.ts"
|
|
48038
|
+
}
|
|
48039
|
+
},
|
|
47463
48040
|
{
|
|
47464
48041
|
"kind": "js",
|
|
47465
48042
|
"name": "renderQueryMark",
|
|
@@ -47585,6 +48162,57 @@
|
|
|
47585
48162
|
}
|
|
47586
48163
|
]
|
|
47587
48164
|
},
|
|
48165
|
+
{
|
|
48166
|
+
"kind": "javascript-module",
|
|
48167
|
+
"path": "src/utilities/row-header-mixin.ts",
|
|
48168
|
+
"declarations": [
|
|
48169
|
+
{
|
|
48170
|
+
"kind": "mixin",
|
|
48171
|
+
"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.",
|
|
48172
|
+
"name": "RowHeaderMixin",
|
|
48173
|
+
"members": [
|
|
48174
|
+
{
|
|
48175
|
+
"kind": "field",
|
|
48176
|
+
"name": "rowHeader",
|
|
48177
|
+
"type": {
|
|
48178
|
+
"text": "boolean"
|
|
48179
|
+
},
|
|
48180
|
+
"default": "false",
|
|
48181
|
+
"attribute": "row-header",
|
|
48182
|
+
"reflects": true
|
|
48183
|
+
}
|
|
48184
|
+
],
|
|
48185
|
+
"attributes": [
|
|
48186
|
+
{
|
|
48187
|
+
"name": "row-header",
|
|
48188
|
+
"type": {
|
|
48189
|
+
"text": "boolean"
|
|
48190
|
+
},
|
|
48191
|
+
"default": "false",
|
|
48192
|
+
"fieldName": "rowHeader"
|
|
48193
|
+
}
|
|
48194
|
+
],
|
|
48195
|
+
"parameters": [
|
|
48196
|
+
{
|
|
48197
|
+
"name": "Base",
|
|
48198
|
+
"type": {
|
|
48199
|
+
"text": "TBase"
|
|
48200
|
+
}
|
|
48201
|
+
}
|
|
48202
|
+
]
|
|
48203
|
+
}
|
|
48204
|
+
],
|
|
48205
|
+
"exports": [
|
|
48206
|
+
{
|
|
48207
|
+
"kind": "js",
|
|
48208
|
+
"name": "RowHeaderMixin",
|
|
48209
|
+
"declaration": {
|
|
48210
|
+
"name": "RowHeaderMixin",
|
|
48211
|
+
"module": "src/utilities/row-header-mixin.ts"
|
|
48212
|
+
}
|
|
48213
|
+
}
|
|
48214
|
+
]
|
|
48215
|
+
},
|
|
47588
48216
|
{
|
|
47589
48217
|
"kind": "javascript-module",
|
|
47590
48218
|
"path": "src/utilities/sanitize-url.ts",
|