@nldd/design-system 0.12.0 → 0.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +3253 -398
- package/dist/components/actions/button/button.d.ts +6 -1
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.i18n.d.ts +1 -0
- package/dist/components/actions/button/button.i18n.d.ts.map +1 -1
- package/dist/components/actions/button/button.i18n.js +1 -0
- package/dist/components/actions/button/button.i18n.js.map +1 -1
- package/dist/components/actions/button/button.js +7 -0
- 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 +5 -2
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts +4 -3
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +4 -3
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +6 -6
- package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +8 -1
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.d.ts +1 -0
- package/dist/components/actions/icon-button/icon-button.i18n.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.js +1 -0
- package/dist/components/actions/icon-button/icon-button.i18n.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +9 -0
- 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 +5 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu-divider.d.ts +14 -0
- package/dist/components/actions/menu/menu-divider.d.ts.map +1 -0
- package/dist/components/actions/menu/menu-divider.js +33 -0
- package/dist/components/actions/menu/menu-divider.js.map +1 -0
- package/dist/components/actions/menu/menu-group.d.ts +35 -0
- package/dist/components/actions/menu/menu-group.d.ts.map +1 -0
- package/dist/components/actions/menu/menu-group.js +69 -0
- package/dist/components/actions/menu/menu-group.js.map +1 -0
- package/dist/components/actions/menu/menu-item.d.ts +86 -0
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -0
- package/dist/components/actions/menu/menu-item.js +279 -0
- package/dist/components/actions/menu/menu-item.js.map +1 -0
- package/dist/components/actions/menu/menu.chain.d.ts +40 -0
- package/dist/components/actions/menu/menu.chain.d.ts.map +1 -0
- package/dist/components/actions/menu/menu.chain.js +150 -0
- package/dist/components/actions/menu/menu.chain.js.map +1 -0
- package/dist/components/actions/menu/menu.d.ts +54 -269
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +106 -981
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.pointer.d.ts +61 -0
- package/dist/components/actions/menu/menu.pointer.d.ts.map +1 -0
- package/dist/components/actions/menu/menu.pointer.js +143 -0
- package/dist/components/actions/menu/menu.pointer.js.map +1 -0
- package/dist/components/actions/menu/menu.safe-triangle.d.ts +79 -0
- package/dist/components/actions/menu/menu.safe-triangle.d.ts.map +1 -0
- package/dist/components/actions/menu/menu.safe-triangle.js +198 -0
- package/dist/components/actions/menu/menu.safe-triangle.js.map +1 -0
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +5 -4
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.d.ts +46 -0
- package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -0
- package/dist/components/actions/toolbar/toolbar-item.js +113 -0
- package/dist/components/actions/toolbar/toolbar-item.js.map +1 -0
- package/dist/components/actions/toolbar/toolbar-item.template.d.ts +3 -0
- package/dist/components/actions/toolbar/toolbar-item.template.d.ts.map +1 -0
- package/dist/components/actions/toolbar/toolbar-item.template.js +12 -0
- package/dist/components/actions/toolbar/toolbar-item.template.js.map +1 -0
- package/dist/components/actions/toolbar/toolbar-title.d.ts +43 -0
- package/dist/components/actions/toolbar/toolbar-title.d.ts.map +1 -0
- package/dist/components/actions/toolbar/toolbar-title.js +111 -0
- package/dist/components/actions/toolbar/toolbar-title.js.map +1 -0
- package/dist/components/actions/toolbar/toolbar-title.template.d.ts +3 -0
- package/dist/components/actions/toolbar/toolbar-title.template.d.ts.map +1 -0
- package/dist/components/actions/toolbar/toolbar-title.template.js +33 -0
- package/dist/components/actions/toolbar/toolbar-title.template.js.map +1 -0
- package/dist/components/actions/toolbar/toolbar.d.ts +16 -111
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +50 -423
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.layout.d.ts +40 -0
- package/dist/components/actions/toolbar/toolbar.layout.d.ts.map +1 -0
- package/dist/components/actions/toolbar/toolbar.layout.js +76 -0
- package/dist/components/actions/toolbar/toolbar.layout.js.map +1 -0
- package/dist/components/actions/toolbar/toolbar.overflow-menu.d.ts +52 -0
- package/dist/components/actions/toolbar/toolbar.overflow-menu.d.ts.map +1 -0
- package/dist/components/actions/toolbar/toolbar.overflow-menu.js +105 -0
- package/dist/components/actions/toolbar/toolbar.overflow-menu.js.map +1 -0
- package/dist/components/actions/toolbar/toolbar.template.d.ts +1 -4
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +0 -41
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/{breakpoints-Bpf2MgjM.js → breakpoints-Bti55RWY.js} +1 -2
- package/dist/components/components.js +5511 -3932
- package/dist/components/content/avatar/avatar.d.ts +2 -1
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +12 -1
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +30 -2
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.i18n.js +1 -0
- package/dist/components/content/avatar-group/avatar-group.i18n.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +96 -7
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +35 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.d.ts +1 -0
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.js +52 -29
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +48 -14
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +30 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +16 -0
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +16 -3
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +2 -0
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/{decorate-CO88j7Lc.js → decorate-Cz9-peTN.js} +1 -2
- package/dist/components/{dist-B5E3q-ea.js → dist-B9YBOGFW.js} +4 -6
- package/dist/components/{dist-BWlUmyq3.js → dist-BFZM0YsR.js} +57 -36
- package/dist/components/{dist-BFw_yEMS.js → dist-BNkeFjc3.js} +5 -7
- package/dist/components/{dist-Co-tsc9S.js → dist-BaLc58I_.js} +7 -9
- package/dist/components/{dist-BOVSVPSz.js → dist-Bm3708s5.js} +3 -4
- package/dist/components/{dist-IPm8ilWf.js → dist-CJ9uLG0u.js} +5 -17
- package/dist/components/{dist-Dz28se9B.js → dist-CJm4tkNC.js} +4 -6
- package/dist/components/{dist-CC8oiVtm.js → dist-CSC1dG3L.js} +2 -3
- package/dist/components/{dist-BPB3rWnd.js → dist-DHhnz3Gv.js} +3 -4
- package/dist/components/{dist-Dn9pjiud.js → dist-DgjvHvsN.js} +6 -8
- package/dist/components/{dist-COKR0tYU.js → dist-PeUX4vPq.js} +3 -6
- package/dist/components/{dist-D_9ZyZ5v.js → dist-YYLChwRq.js} +5 -7
- package/dist/components/{dist-BNLAXAyO.js → dist-m70B83qb.js} +4 -6
- package/dist/components/{gherkin-uCVRxsGf.js → gherkin-DzYbEwDO.js} +1 -2
- package/dist/components/{icon-DFhgRf3P.js → icon-DZ1UXCzO.js} +42 -16
- package/dist/components/{icon-button-Sxkh5cVr.js → icon-button-984CwkU1.js} +106 -43
- package/dist/components/{input-modality-DhTeUxKi.js → input-modality-CiPLYYMN.js} +1 -2
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +42 -7
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +41 -28
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.dates.d.ts +60 -0
- package/dist/components/inputs/date-field/date-field.dates.d.ts.map +1 -0
- package/dist/components/inputs/date-field/date-field.dates.js +106 -0
- package/dist/components/inputs/date-field/date-field.dates.js.map +1 -0
- package/dist/components/inputs/date-field/date-field.i18n.d.ts +4 -0
- package/dist/components/inputs/date-field/date-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.js +6 -0
- package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +110 -142
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +21 -17
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +2 -2
- package/dist/components/inputs/date-picker/date-picker.i18n.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.i18n.js +1 -1
- package/dist/components/inputs/date-picker/date-picker.i18n.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js +1 -1
- package/dist/components/inputs/date-picker/date-picker.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +86 -10
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.drop.d.ts +34 -0
- package/dist/components/inputs/file-field/file-field.drop.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.drop.js +176 -0
- package/dist/components/inputs/file-field/file-field.drop.js.map +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.d.ts +20 -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 +20 -1
- package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +283 -15
- 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 +245 -10
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.d.ts +1 -0
- package/dist/components/inputs/file-field/file-field.template.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.template.js +167 -28
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.truncate.d.ts +22 -0
- package/dist/components/inputs/file-field/file-field.truncate.d.ts.map +1 -0
- package/dist/components/inputs/file-field/file-field.truncate.js +62 -0
- package/dist/components/inputs/file-field/file-field.truncate.js.map +1 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +1 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +1 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +1 -1
- package/dist/components/inputs/search-field/search-field.js +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +6 -3
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +8 -10
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts +10 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.js +141 -0
- package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -0
- 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 +55 -7
- 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 +5 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +7 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +34 -3
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +6 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.js +43 -7
- package/dist/components/inputs/text-editor/text-editor.selection.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 +147 -7
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.tasks.d.ts +17 -0
- package/dist/components/inputs/text-editor/text-editor.tasks.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.tasks.js +113 -0
- package/dist/components/inputs/text-editor/text-editor.tasks.js.map +1 -0
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +1 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +26 -40
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts +3 -0
- package/dist/components/inputs/time-field/time-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.js +5 -0
- package/dist/components/inputs/time-field/time-field.i18n.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +68 -162
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +1 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.times.d.ts +74 -0
- package/dist/components/inputs/time-field/time-field.times.d.ts.map +1 -0
- package/dist/components/inputs/time-field/time-field.times.js +154 -0
- package/dist/components/inputs/time-field/time-field.times.js.map +1 -0
- package/dist/components/layout/card/card.d.ts +6 -1
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.i18n.d.ts +1 -0
- package/dist/components/layout/card/card.i18n.d.ts.map +1 -1
- package/dist/components/layout/card/card.i18n.js +1 -0
- package/dist/components/layout/card/card.i18n.js.map +1 -1
- package/dist/components/layout/card/card.js +7 -0
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +5 -2
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +3 -0
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +20 -3
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +25 -2
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page/page.template.js +1 -1
- package/dist/components/layout/page/page.template.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +61 -0
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +6 -0
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +16 -0
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +13 -0
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +5 -0
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +14 -6
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.template.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.template.js +1 -0
- package/dist/components/layout/sheet/sheet.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +6 -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.i18n.d.ts +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +12 -3
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +2 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +6 -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.i18n.d.ts +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.i18n.js +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +12 -3
- 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 +2 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
- 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.js +5 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +6 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.i18n.d.ts +1 -0
- package/dist/components/navigation/link/link.i18n.d.ts.map +1 -1
- package/dist/components/navigation/link/link.i18n.js +1 -0
- package/dist/components/navigation/link/link.i18n.js.map +1 -1
- package/dist/components/navigation/link/link.js +7 -0
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +5 -2
- package/dist/components/navigation/link/link.template.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 +2 -0
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +1 -0
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +9 -0
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +9 -24
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +29 -220
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts +48 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.d.ts.map +1 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js +220 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.menu-sheet.js.map +1 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +22 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +4 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
- package/dist/components/{reflect-non-default-OLaK60rT.js → reflect-non-default-B9wQcnne.js} +1 -2
- package/dist/components/{rolldown-runtime-D7D4PA-g.js → rolldown-runtime-D8jQpDG7.js} +1 -2
- package/dist/components/{shadow-resets-CPa58rmc.js → shadow-resets-BwOyyZFH.js} +1 -2
- package/dist/components/{shell-C61GCsJA.js → shell-Dh5IwHd-.js} +1 -2
- package/dist/components/status-and-feedback/banner/banner.d.ts +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +2 -2
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts +1 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +4 -2
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.i18n.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +10 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +22 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js +2 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -1
- package/dist/components/{toml-C2HBbPgG.js → toml-D0Pix_8Q.js} +1 -2
- package/dist/components/{visibility-mixin-djNSG5ZN.js → visibility-mixin-C-K7ho5Q.js} +4 -6
- package/dist/components/{with-translations-C6QfP6_S.js → with-translations-DRuOq3QK.js} +14 -10
- package/dist/css/themes/donkergeel.css +5 -0
- package/dist/css/themes/geel.css +5 -0
- package/dist/css/themes.css +10 -0
- package/dist/css/variables.css +11 -11
- package/dist/nldd.min.js +2089 -1398
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +42 -4
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +42 -4
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +42 -4
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +42 -4
- 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 +42 -4
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +69 -33
- package/dist/utilities/carried-context.d.ts +20 -0
- package/dist/utilities/carried-context.d.ts.map +1 -0
- package/dist/utilities/carried-context.js +76 -0
- package/dist/utilities/carried-context.js.map +1 -0
- package/dist/utilities/codemirror/languages.d.ts +5 -1
- package/dist/utilities/codemirror/languages.d.ts.map +1 -1
- package/dist/utilities/codemirror/languages.js +21 -1
- package/dist/utilities/codemirror/languages.js.map +1 -1
- package/dist/utilities/dismiss-from-title-bar.d.ts +1 -1
- package/dist/utilities/dismiss-from-title-bar.js +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +7 -0
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +13 -1
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/link-hint.d.ts +11 -0
- package/dist/utilities/link-hint.d.ts.map +1 -1
- package/dist/utilities/link-hint.js +15 -0
- package/dist/utilities/link-hint.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,8 +1,27 @@
|
|
|
1
1
|
export const nlddFileFieldTranslations = {
|
|
2
2
|
'components.file-field.to-choose-file-action': 'Bestand kiezen',
|
|
3
3
|
'components.file-field.to-choose-files-action': 'Bestanden kiezen',
|
|
4
|
-
'components.file-field.
|
|
4
|
+
'components.file-field.to-change-action': 'Wijzigen',
|
|
5
|
+
'components.file-field.drop-hint-lowercase-text': 'of sleep het hierheen',
|
|
6
|
+
'components.file-field.drop-hint-multiple-lowercase-text': 'of sleep ze hierheen',
|
|
7
|
+
'components.file-field.drag-here-text': 'Sleep het bestand hierheen',
|
|
8
|
+
'components.file-field.drag-here-multiple-text': 'Sleep de bestanden hierheen',
|
|
9
|
+
'components.file-field.drop-here-text': 'Zet het bestand hier neer',
|
|
10
|
+
'components.file-field.drop-here-multiple-text': 'Zet de bestanden hier neer',
|
|
11
|
+
'components.file-field.replace-drag-text': 'Sleep hierheen om te vervangen',
|
|
12
|
+
'components.file-field.replace-drop-text': 'Zet hier neer om te vervangen',
|
|
13
|
+
'components.file-field.file-type-error-text': 'Het bestand moet een {types} zijn',
|
|
14
|
+
'components.file-field.files-type-error-text': 'Elk bestand moet een {types} zijn',
|
|
15
|
+
'components.file-field.wrong-file-type-error-text': 'Dit bestandstype past niet',
|
|
16
|
+
'components.file-field.image-lowercase': 'afbeelding',
|
|
17
|
+
'components.file-field.video-lowercase': 'video',
|
|
18
|
+
'components.file-field.audio-file-lowercase': 'geluidsbestand',
|
|
19
|
+
'components.file-field.list-lowercase-text': '{items} of {last}',
|
|
20
|
+
'components.file-field.too-many-files-error-text': 'Sleep één bestand',
|
|
21
|
+
'components.file-field.folder-error-text': 'Sleep een bestand, geen map',
|
|
22
|
+
'components.file-field.folder-multiple-error-text': 'Sleep bestanden, geen map',
|
|
5
23
|
'components.file-field.file-count-text': '{count} bestanden',
|
|
24
|
+
'components.file-field.file-chosen-text': '{name} gekozen',
|
|
6
25
|
'components.file-field.clear-action': 'Wis selectie',
|
|
7
26
|
'components.file-field.required-error-text': 'Kies een bestand',
|
|
8
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-field.i18n.js","sourceRoot":"","sources":["../../../../src/components/inputs/file-field/file-field.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC,6CAA6C,EAAE,gBAAgB;IAC/D,8CAA8C,EAAE,kBAAkB;IAClE,
|
|
1
|
+
{"version":3,"file":"file-field.i18n.js","sourceRoot":"","sources":["../../../../src/components/inputs/file-field/file-field.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC,6CAA6C,EAAE,gBAAgB;IAC/D,8CAA8C,EAAE,kBAAkB;IAClE,wCAAwC,EAAE,UAAU;IACpD,gDAAgD,EAAE,uBAAuB;IACzE,yDAAyD,EAAE,sBAAsB;IACjF,sCAAsC,EAAE,4BAA4B;IACpE,+CAA+C,EAAE,6BAA6B;IAC9E,sCAAsC,EAAE,2BAA2B;IACnE,+CAA+C,EAAE,4BAA4B;IAC7E,yCAAyC,EAAE,gCAAgC;IAC3E,yCAAyC,EAAE,+BAA+B;IAC1E,4CAA4C,EAAE,mCAAmC;IACjF,6CAA6C,EAAE,mCAAmC;IAClF,kDAAkD,EAAE,4BAA4B;IAChF,uCAAuC,EAAE,YAAY;IACrD,uCAAuC,EAAE,OAAO;IAChD,4CAA4C,EAAE,gBAAgB;IAC9D,2CAA2C,EAAE,mBAAmB;IAChE,iDAAiD,EAAE,mBAAmB;IACtE,yCAAyC,EAAE,6BAA6B;IACxE,kDAAkD,EAAE,2BAA2B;IAC/E,uCAAuC,EAAE,mBAAmB;IAC5D,wCAAwC,EAAE,gBAAgB;IAC1D,oCAAoC,EAAE,cAAc;IACpD,2CAA2C,EAAE,kBAAkB;CAC/D,CAAC"}
|
|
@@ -7,18 +7,41 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
/**
|
|
8
8
|
* Nederlandse Digitale Dienst File Field Component (Lit + TypeScript)
|
|
9
9
|
*
|
|
10
|
-
* A file picker that reads as one control
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
10
|
+
* A file picker that reads as one control. Empty, the whole tinted surface is
|
|
11
|
+
* one button with one sentence centered in it, "Bestand kiezen of sleep het
|
|
12
|
+
* hierheen", its first part accented, so a press anywhere on it opens the file
|
|
13
|
+
* dialog. Once a file is chosen, the surface shows it with the icon of its
|
|
14
|
+
* format, its name, a button to choose another and a dismiss button to clear it
|
|
15
|
+
* again. A long name is cut in the middle, so its start and its end stay in
|
|
16
|
+
* view ("Screenshot 20…at 13.12.21.png"); it then shows whole in a tooltip, and
|
|
17
|
+
* a screen reader reads it whole either way. It wraps a hidden native
|
|
18
|
+
* `<input type="file">`, which is what makes the picker open at all — a file
|
|
19
|
+
* dialog only opens from a user gesture on a real input.
|
|
20
|
+
*
|
|
21
|
+
* Files can be dropped on the whole field. A drop goes through the same input,
|
|
22
|
+
* so it fires the same `change` with the same detail and submits the same way as
|
|
23
|
+
* a pick. `accept` and `multiple` hold for a drop too, which the native input
|
|
24
|
+
* does not do: a drop that does not fit is refused as a whole, the previous
|
|
25
|
+
* choice stays, and the field says why for a few seconds: "Sleep één
|
|
26
|
+
* bestand", or what `accept` takes, named from it ("Het bestand moet een PDF
|
|
27
|
+
* zijn"; "Dit bestandstype past niet" where a type in it has no name). A
|
|
28
|
+
* dropped folder is refused as well ("Sleep een bestand, geen map"): it
|
|
29
|
+
* arrives as a file without a type that cannot be read, and only the drop
|
|
30
|
+
* tells it apart, not the drag. The message stays for a few seconds and then
|
|
31
|
+
* gives way to the field again.
|
|
32
|
+
*
|
|
33
|
+
* While files are dragged over the page, every field marks itself as a place
|
|
34
|
+
* to put them, and the field under the pointer says it will take them (a field
|
|
35
|
+
* with a file: that they replace it), or turns critical and refuses already
|
|
36
|
+
* when the number or the type rules them out. A file dropped next to a field no
|
|
37
|
+
* longer makes the browser open it and leave the page; a drop that another drop zone or an
|
|
38
|
+
* editable field takes is left alone. On a device without hover there is no
|
|
39
|
+
* dragging, so the field there drops the hint.
|
|
15
40
|
*
|
|
16
41
|
* The surface deliberately does not look like an input field. A border with
|
|
17
|
-
* field semantics promises you can type into it; here you can only press
|
|
18
|
-
*
|
|
19
|
-
* `--semantics-input-fields-*`.
|
|
20
|
-
* therefore sits a shade darker in the surface, which is what marks it as the
|
|
21
|
-
* thing to press.
|
|
42
|
+
* field semantics promises you can type into it; here you can only press it or
|
|
43
|
+
* drop a file on it, so it has the border of a tinted surface instead of
|
|
44
|
+
* `--semantics-input-fields-*`.
|
|
22
45
|
*
|
|
23
46
|
* Several files are summarized, not listed: "3 bestanden" with a single cross
|
|
24
47
|
* that clears all of them. Every pick replaces the whole FileList, and rebuilding
|
|
@@ -53,8 +76,18 @@ import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
|
|
|
53
76
|
import { fileFieldStyles } from './file-field.styles.js';
|
|
54
77
|
import { fileFieldTemplate } from './file-field.template.js';
|
|
55
78
|
import { nlddFileFieldTranslations } from './file-field.i18n.js';
|
|
79
|
+
import { acceptNames, carriesFiles, holdsFolder, fileMatches, typeRuledOut, unwatchDrags, watchDrags, } from './file-field.drop.js';
|
|
80
|
+
import { textMeasurer, truncateMiddle } from './file-field.truncate.js';
|
|
56
81
|
import { DescribedBy } from '../../../utilities/described-by-mixin.js';
|
|
57
82
|
import { translate } from '../../../utilities/translations.js';
|
|
83
|
+
/** How long the message of a refused drop stays in the field. */
|
|
84
|
+
const REJECTION_MS = 4000;
|
|
85
|
+
/** The word for a family of types in `accept`, such as `image/*`. */
|
|
86
|
+
const FAMILY_KEYS = {
|
|
87
|
+
image: 'components.file-field.image-lowercase',
|
|
88
|
+
video: 'components.file-field.video-lowercase',
|
|
89
|
+
audio: 'components.file-field.audio-file-lowercase',
|
|
90
|
+
};
|
|
58
91
|
let NLDDFileField = class NLDDFileField extends DescribedBy(FormAssociated(LitElement)) {
|
|
59
92
|
constructor() {
|
|
60
93
|
super(...arguments);
|
|
@@ -74,6 +107,67 @@ let NLDDFileField = class NLDDFileField extends DescribedBy(FormAssociated(LitEl
|
|
|
74
107
|
/** The chosen files. Mirrors the input's FileList; there is no setter, because
|
|
75
108
|
* browsers refuse a programmatic file selection. */
|
|
76
109
|
this._files = [];
|
|
110
|
+
/** @internal Where a dragged file is, seen from this field. */
|
|
111
|
+
this._drag = 'none';
|
|
112
|
+
/** @internal Why the file under the pointer would be refused. */
|
|
113
|
+
this._dragRejection = null;
|
|
114
|
+
/** @internal The chosen name cut in the middle to fit, or null before it is
|
|
115
|
+
* measured, while CSS cuts it with its end in view. */
|
|
116
|
+
this._fittedName = null;
|
|
117
|
+
/** @internal Whether the name is cut short, and so shows whole in a tooltip. */
|
|
118
|
+
this._nameTruncated = false;
|
|
119
|
+
/** @internal What a screen reader hears after a drop that was taken. */
|
|
120
|
+
this._announcement = '';
|
|
121
|
+
/** @internal Why the last drop was refused; shown for a few seconds. */
|
|
122
|
+
this._rejection = null;
|
|
123
|
+
this._handleDragOver = (e) => {
|
|
124
|
+
if (this.disabled || !e.dataTransfer || !carriesFiles(e.dataTransfer))
|
|
125
|
+
return;
|
|
126
|
+
// Left unhandled, the window listener refuses the drop with a no-drop cursor.
|
|
127
|
+
if (this._judge(e.dataTransfer))
|
|
128
|
+
return;
|
|
129
|
+
e.preventDefault();
|
|
130
|
+
e.dataTransfer.dropEffect = 'copy';
|
|
131
|
+
};
|
|
132
|
+
this._handleDrop = (e) => {
|
|
133
|
+
if (!e.dataTransfer || !carriesFiles(e.dataTransfer))
|
|
134
|
+
return;
|
|
135
|
+
e.preventDefault();
|
|
136
|
+
if (this.disabled)
|
|
137
|
+
return;
|
|
138
|
+
const files = Array.from(e.dataTransfer.files);
|
|
139
|
+
const rejection = this._judge(e.dataTransfer, files);
|
|
140
|
+
if (rejection) {
|
|
141
|
+
this._rejection = rejection;
|
|
142
|
+
// Shown for a while, then the field reads as itself again: the message
|
|
143
|
+
// takes the place of "Bestand kiezen", and a field that kept it looked
|
|
144
|
+
// as if it no longer did anything. The status line keeps it for a
|
|
145
|
+
// screen reader.
|
|
146
|
+
clearTimeout(this._rejectionTimer);
|
|
147
|
+
this._rejectionTimer = setTimeout(() => {
|
|
148
|
+
this._announcement = this._rejectionText(rejection);
|
|
149
|
+
this._rejection = null;
|
|
150
|
+
}, REJECTION_MS);
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
if (this._input)
|
|
154
|
+
this._input.files = e.dataTransfer.files;
|
|
155
|
+
this._files = files;
|
|
156
|
+
this._rejection = null;
|
|
157
|
+
// A pick moves focus to the change button, which names the file; a drop
|
|
158
|
+
// moves nothing, so it is said.
|
|
159
|
+
this._announcement = this._t('components.file-field.file-chosen-text', { name: this._valueLabel() });
|
|
160
|
+
this._commit();
|
|
161
|
+
};
|
|
162
|
+
this._clearRejection = () => {
|
|
163
|
+
clearTimeout(this._rejectionTimer);
|
|
164
|
+
this._rejection = null;
|
|
165
|
+
this._announcement = '';
|
|
166
|
+
};
|
|
167
|
+
this._handleKeydown = (e) => {
|
|
168
|
+
if (e.key === 'Escape')
|
|
169
|
+
this._clearRejection();
|
|
170
|
+
};
|
|
77
171
|
}
|
|
78
172
|
get files() {
|
|
79
173
|
return this._files;
|
|
@@ -100,15 +194,130 @@ let NLDDFileField = class NLDDFileField extends DescribedBy(FormAssociated(LitEl
|
|
|
100
194
|
return '';
|
|
101
195
|
return `${this._chooseLabel()}, ${this.accessibleLabel}`;
|
|
102
196
|
}
|
|
197
|
+
/**
|
|
198
|
+
* The change button is where focus lands after a pick, so its name says for
|
|
199
|
+
* which field and which file is chosen, as a native file input does. The
|
|
200
|
+
* visible text comes first, so a voice command with it still finds the
|
|
201
|
+
* button (WCAG 2.5.3).
|
|
202
|
+
*
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
_changeAccessibleLabel() {
|
|
206
|
+
return [this._t('components.file-field.to-change-action'), this.accessibleLabel, this._valueLabel()]
|
|
207
|
+
.filter(Boolean)
|
|
208
|
+
.join(', ');
|
|
209
|
+
}
|
|
210
|
+
/** @internal The cross says which file it clears. */
|
|
211
|
+
_clearAccessibleLabel() {
|
|
212
|
+
return `${this._t('components.file-field.clear-action')}, ${this._valueLabel()}`;
|
|
213
|
+
}
|
|
214
|
+
/** @internal */
|
|
215
|
+
_rejectionText(reason) {
|
|
216
|
+
if (reason === 'count')
|
|
217
|
+
return this._t('components.file-field.too-many-files-error-text');
|
|
218
|
+
if (reason === 'folder') {
|
|
219
|
+
return this.multiple
|
|
220
|
+
? this._t('components.file-field.folder-multiple-error-text')
|
|
221
|
+
: this._t('components.file-field.folder-error-text');
|
|
222
|
+
}
|
|
223
|
+
const names = acceptNames(this.accept);
|
|
224
|
+
if (!names)
|
|
225
|
+
return this._t('components.file-field.wrong-file-type-error-text');
|
|
226
|
+
const named = names.map((name) => (typeof name === 'string'
|
|
227
|
+
? name
|
|
228
|
+
: this._t(FAMILY_KEYS[name.family])));
|
|
229
|
+
const types = named.length === 1
|
|
230
|
+
? named[0]
|
|
231
|
+
: this._t('components.file-field.list-lowercase-text', { items: named.slice(0, -1).join(', '), last: named[named.length - 1] });
|
|
232
|
+
return this.multiple
|
|
233
|
+
? this._t('components.file-field.files-type-error-text', { types })
|
|
234
|
+
: this._t('components.file-field.file-type-error-text', { types });
|
|
235
|
+
}
|
|
103
236
|
/** @internal */
|
|
104
237
|
_valueLabel() {
|
|
105
|
-
if (this._files.length === 0)
|
|
106
|
-
return this._t('components.file-field.no-file-chosen-text');
|
|
107
238
|
if (this._files.length === 1)
|
|
108
239
|
return this._files[0].name;
|
|
109
240
|
return this._t('components.file-field.file-count-text', { count: this._files.length });
|
|
110
241
|
}
|
|
242
|
+
connectedCallback() {
|
|
243
|
+
super.connectedCallback();
|
|
244
|
+
watchDrags(this);
|
|
245
|
+
this._resizeObserver ?? (this._resizeObserver = new ResizeObserver(() => this._fitName()));
|
|
246
|
+
this._resizeObserver.observe(this);
|
|
247
|
+
// The first measurement can run in the fallback font.
|
|
248
|
+
void document.fonts?.ready.then(() => {
|
|
249
|
+
if (this.isConnected)
|
|
250
|
+
this._fitName();
|
|
251
|
+
});
|
|
252
|
+
this.addEventListener('dragover', this._handleDragOver);
|
|
253
|
+
this.addEventListener('drop', this._handleDrop);
|
|
254
|
+
this.addEventListener('pointerdown', this._clearRejection);
|
|
255
|
+
this.addEventListener('keydown', this._handleKeydown);
|
|
256
|
+
}
|
|
257
|
+
disconnectedCallback() {
|
|
258
|
+
super.disconnectedCallback();
|
|
259
|
+
unwatchDrags(this);
|
|
260
|
+
this._resizeObserver?.disconnect();
|
|
261
|
+
clearTimeout(this._rejectionTimer);
|
|
262
|
+
this._observedValue = undefined;
|
|
263
|
+
this.removeEventListener('dragover', this._handleDragOver);
|
|
264
|
+
this.removeEventListener('drop', this._handleDrop);
|
|
265
|
+
this.removeEventListener('pointerdown', this._clearRejection);
|
|
266
|
+
this.removeEventListener('keydown', this._handleKeydown);
|
|
267
|
+
}
|
|
268
|
+
updated(changed) {
|
|
269
|
+
// Dragging hides the name, so it is measured again once it is back.
|
|
270
|
+
if (changed.has('_files') || changed.has('size') || changed.has('_drag'))
|
|
271
|
+
void this._fitNameAfterRender();
|
|
272
|
+
}
|
|
273
|
+
/** Measures once the buttons beside the name have rendered and taken their
|
|
274
|
+
* width, and after this update rather than in it, where a state change
|
|
275
|
+
* would start another. */
|
|
276
|
+
async _fitNameAfterRender() {
|
|
277
|
+
const buttons = this.shadowRoot?.querySelectorAll('nldd-button, nldd-icon-button') ?? [];
|
|
278
|
+
await Promise.all(Array.from(buttons, (button) => button.updateComplete));
|
|
279
|
+
this._fitName();
|
|
280
|
+
}
|
|
281
|
+
/** Cuts the chosen name in the middle to the width it has. Without a width
|
|
282
|
+
* (a hidden field), it falls back to the CSS cut of the first render. */
|
|
283
|
+
_fitName() {
|
|
284
|
+
const value = this.shadowRoot?.querySelector('.file-field__value');
|
|
285
|
+
const name = this.shadowRoot?.querySelector('.file-field__name');
|
|
286
|
+
if (this._files.length !== 1 || !value || !name) {
|
|
287
|
+
this._fittedName = null;
|
|
288
|
+
this._nameTruncated = false;
|
|
289
|
+
return;
|
|
290
|
+
}
|
|
291
|
+
// The buttons beside the name take their width after their own render, so
|
|
292
|
+
// the width of the name itself is watched, not only the host's.
|
|
293
|
+
if (value !== this._observedValue) {
|
|
294
|
+
if (this._observedValue)
|
|
295
|
+
this._resizeObserver?.unobserve(this._observedValue);
|
|
296
|
+
this._resizeObserver?.observe(value);
|
|
297
|
+
this._observedValue = value;
|
|
298
|
+
}
|
|
299
|
+
const style = getComputedStyle(value);
|
|
300
|
+
const width = value.clientWidth - parseFloat(style.paddingLeft) - parseFloat(style.paddingRight);
|
|
301
|
+
if (width <= 0) {
|
|
302
|
+
this._fittedName = null;
|
|
303
|
+
this._nameTruncated = false;
|
|
304
|
+
return;
|
|
305
|
+
}
|
|
306
|
+
const { measure, done } = textMeasurer(name);
|
|
307
|
+
try {
|
|
308
|
+
const { text, truncated } = truncateMiddle(this._files[0].name, width, measure);
|
|
309
|
+
this._fittedName = text;
|
|
310
|
+
this._nameTruncated = truncated;
|
|
311
|
+
}
|
|
312
|
+
finally {
|
|
313
|
+
done();
|
|
314
|
+
}
|
|
315
|
+
}
|
|
111
316
|
willUpdate(changed) {
|
|
317
|
+
if (changed.has('_files')) {
|
|
318
|
+
this._fittedName = null;
|
|
319
|
+
this._nameTruncated = false;
|
|
320
|
+
}
|
|
112
321
|
if (changed.has('required'))
|
|
113
322
|
this._updateValidity();
|
|
114
323
|
if (changed.has('accessibleLabel'))
|
|
@@ -116,14 +325,51 @@ let NLDDFileField = class NLDDFileField extends DescribedBy(FormAssociated(LitEl
|
|
|
116
325
|
}
|
|
117
326
|
/** @internal */
|
|
118
327
|
_handleChoose() {
|
|
328
|
+
this._clearRejection();
|
|
119
329
|
this._input?.click();
|
|
120
330
|
}
|
|
121
331
|
/** @internal */
|
|
122
332
|
_handleInputChange(e) {
|
|
123
333
|
e.stopPropagation();
|
|
124
334
|
const input = e.target;
|
|
335
|
+
// The choose button gives way to the change button once there is a file,
|
|
336
|
+
// and the other way round, so focus would land on the body.
|
|
337
|
+
const hadFocus = this.matches(':focus-within');
|
|
125
338
|
this._files = input.files ? Array.from(input.files) : [];
|
|
339
|
+
this._rejection = null;
|
|
126
340
|
this._commit();
|
|
341
|
+
if (hadFocus)
|
|
342
|
+
void this.updateComplete.then(() => this.focus());
|
|
343
|
+
}
|
|
344
|
+
// — Drag and drop ————————————————————————————————————————————————————————
|
|
345
|
+
/** Why a drag or drop would be refused: too many files for a field without
|
|
346
|
+
* `multiple`, or a type `accept` rules out. With `files` the drop is judged
|
|
347
|
+
* on names and types; without, a drag only on what it shows before the drop. */
|
|
348
|
+
_judge(transfer, files) {
|
|
349
|
+
if (files) {
|
|
350
|
+
if (!this.multiple && files.length > 1)
|
|
351
|
+
return 'count';
|
|
352
|
+
if (holdsFolder(transfer))
|
|
353
|
+
return 'folder';
|
|
354
|
+
return files.every((file) => fileMatches(this.accept, file)) ? null : 'type';
|
|
355
|
+
}
|
|
356
|
+
const items = Array.from(transfer.items).filter((item) => item.kind === 'file');
|
|
357
|
+
if (!this.multiple && items.length > 1)
|
|
358
|
+
return 'count';
|
|
359
|
+
return items.some((item) => typeRuledOut(this.accept, item.type)) ? 'type' : null;
|
|
360
|
+
}
|
|
361
|
+
/** @internal Called by the shared window listeners in file-field.drop.ts. */
|
|
362
|
+
_setDrag(state, transfer) {
|
|
363
|
+
if (this.disabled)
|
|
364
|
+
state = 'none';
|
|
365
|
+
// Called on every dragover on the page; only over the field is there
|
|
366
|
+
// anything to judge.
|
|
367
|
+
if (state !== 'over' && state === this._drag)
|
|
368
|
+
return;
|
|
369
|
+
if (state !== 'none' && this._drag === 'none')
|
|
370
|
+
this._clearRejection();
|
|
371
|
+
this._dragRejection = state === 'over' && transfer ? this._judge(transfer) : null;
|
|
372
|
+
this._drag = this._dragRejection ? 'rejected' : state;
|
|
127
373
|
}
|
|
128
374
|
/** @internal */
|
|
129
375
|
_handleClear() {
|
|
@@ -177,19 +423,23 @@ let NLDDFileField = class NLDDFileField extends DescribedBy(FormAssociated(LitEl
|
|
|
177
423
|
this._files = [];
|
|
178
424
|
this.commitFormValue();
|
|
179
425
|
}
|
|
426
|
+
/** The button that opens the dialog: the whole surface while the field is
|
|
427
|
+
* empty, "Wijzigen" once it has a file. */
|
|
428
|
+
_chooseButton() {
|
|
429
|
+
return this.shadowRoot?.querySelector('.file-field__browse-button, nldd-button') ?? null;
|
|
430
|
+
}
|
|
180
431
|
/**
|
|
181
432
|
* Delegates focus to the choose button rather than the hidden input: an input
|
|
182
433
|
* that is `display: none` cannot take focus, and the button is what a user
|
|
183
434
|
* sees as the control.
|
|
184
435
|
*/
|
|
185
436
|
focus(options) {
|
|
186
|
-
|
|
187
|
-
button?.focus(options);
|
|
437
|
+
this._chooseButton()?.focus(options);
|
|
188
438
|
}
|
|
189
439
|
/** The file input is display:none and therefore not in the accessibility tree.
|
|
190
440
|
* What a screen reader meets is the button, so the description goes there. */
|
|
191
441
|
describedTarget() {
|
|
192
|
-
return this.
|
|
442
|
+
return this._chooseButton();
|
|
193
443
|
}
|
|
194
444
|
render() {
|
|
195
445
|
return fileFieldTemplate(this);
|
|
@@ -235,6 +485,24 @@ __decorate([
|
|
|
235
485
|
__decorate([
|
|
236
486
|
state()
|
|
237
487
|
], NLDDFileField.prototype, "_files", void 0);
|
|
488
|
+
__decorate([
|
|
489
|
+
state()
|
|
490
|
+
], NLDDFileField.prototype, "_drag", void 0);
|
|
491
|
+
__decorate([
|
|
492
|
+
state()
|
|
493
|
+
], NLDDFileField.prototype, "_dragRejection", void 0);
|
|
494
|
+
__decorate([
|
|
495
|
+
state()
|
|
496
|
+
], NLDDFileField.prototype, "_fittedName", void 0);
|
|
497
|
+
__decorate([
|
|
498
|
+
state()
|
|
499
|
+
], NLDDFileField.prototype, "_nameTruncated", void 0);
|
|
500
|
+
__decorate([
|
|
501
|
+
state()
|
|
502
|
+
], NLDDFileField.prototype, "_announcement", void 0);
|
|
503
|
+
__decorate([
|
|
504
|
+
state()
|
|
505
|
+
], NLDDFileField.prototype, "_rejection", void 0);
|
|
238
506
|
__decorate([
|
|
239
507
|
query('.file-field__input')
|
|
240
508
|
], NLDDFileField.prototype, "_input", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-field.js","sourceRoot":"","sources":["../../../../src/components/inputs/file-field/file-field.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAI,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;8CACrC;AAIb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CAC7B;AAGd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAC3B;AAGhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAC,EAAE,CAAC,EAAE,CAAC;2CACpD;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;+CAC1B;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;mDAC2B;AAK9C;IADP,KAAK,EAAE;6CACoB;AAQ5B;IADC,KAAK,EAAE;4CACkB;AAI1B;IADC,KAAK,EAAE;qDACoC;AAK5C;IADC,KAAK,EAAE;kDAC0B;AAIlC;IADC,KAAK,EAAE;qDACe;AAQvB;IADC,KAAK,EAAE;oDACW;AAInB;IADC,KAAK,EAAE;iDACgC;AAGhC;IADP,KAAK,CAAC,oBAAoB,CAAC;6CACM;AAnFtB,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CA6ZzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/file-field/file-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"file-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/file-field/file-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,yBAgX3B,CAAC"}
|