@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-editor.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-editor/text-editor.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"text-editor.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-editor/text-editor.styles.ts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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EditorState, Facet, type Extension } from '@codemirror/state';
|
|
2
|
+
import { Decoration, EditorView } from '@codemirror/view';
|
|
3
|
+
export interface TaskLabels {
|
|
4
|
+
open: () => string;
|
|
5
|
+
done: () => string;
|
|
6
|
+
}
|
|
7
|
+
/** The texts a screen reader reads in place of a box. */
|
|
8
|
+
export declare const taskLabels: Facet<TaskLabels, TaskLabels>;
|
|
9
|
+
/** The box that replaces the `[ ]` or `[x]` of a task. */
|
|
10
|
+
export declare function taskBox(state: EditorState, checked: boolean): Decoration;
|
|
11
|
+
/** Checks or unchecks the tasks on the lines of the selection. False when no
|
|
12
|
+
* line there is a task, so the key does what it would otherwise do. */
|
|
13
|
+
export declare function toggleTasks(view: EditorView): boolean;
|
|
14
|
+
/** Checking a task by click and by Cmd/Ctrl+Enter, with the texts a screen
|
|
15
|
+
* reader reads for a box. */
|
|
16
|
+
export declare function tasks(labels: TaskLabels): Extension;
|
|
17
|
+
//# sourceMappingURL=text-editor.tasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-editor.tasks.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/text-editor/text-editor.tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,EAAQ,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,UAAU,EAAE,UAAU,EAAsB,MAAM,kBAAkB,CAAC;AAkB9E,MAAM,WAAW,UAAU;IAC1B,IAAI,EAAE,MAAM,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,MAAM,CAAC;CACnB;AAED,yDAAyD;AACzD,eAAO,MAAM,UAAU,+BAErB,CAAC;AAmCH,0DAA0D;AAC1D,wBAAgB,OAAO,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,UAAU,CAGxE;AAyBD;wEACwE;AACxE,wBAAgB,WAAW,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAWrD;AAmBD;8BAC8B;AAC9B,wBAAgB,KAAK,CAAC,MAAM,EAAE,UAAU,GAAG,SAAS,CAMnD"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { Facet, Prec } from '@codemirror/state';
|
|
2
|
+
import { Decoration, EditorView, WidgetType, keymap } from '@codemirror/view';
|
|
3
|
+
import { syntaxTree } from '@codemirror/language';
|
|
4
|
+
/** The texts a screen reader reads in place of a box. */
|
|
5
|
+
export const taskLabels = Facet.define({
|
|
6
|
+
combine: (values) => values[0] ?? { open: () => 'Taak, open', done: () => 'Taak, afgerond' },
|
|
7
|
+
});
|
|
8
|
+
class TaskBox extends WidgetType {
|
|
9
|
+
/** `label` is what a screen reader reads for the box, so a box whose text
|
|
10
|
+
* has changed is drawn again rather than kept. */
|
|
11
|
+
constructor(checked, label) {
|
|
12
|
+
super();
|
|
13
|
+
this.checked = checked;
|
|
14
|
+
this.label = label;
|
|
15
|
+
}
|
|
16
|
+
eq(other) {
|
|
17
|
+
return other.checked === this.checked && other.label === this.label;
|
|
18
|
+
}
|
|
19
|
+
toDOM() {
|
|
20
|
+
const box = document.createElement('span');
|
|
21
|
+
box.className = 'cm-md-task-box';
|
|
22
|
+
if (this.checked)
|
|
23
|
+
box.setAttribute('data-checked', '');
|
|
24
|
+
const icon = document.createElement('nldd-icon');
|
|
25
|
+
icon.className = 'cm-md-task-box-icon';
|
|
26
|
+
icon.setAttribute('icon', this.checked ? 'check-mark-square' : 'square');
|
|
27
|
+
icon.setAttribute('aria-hidden', 'true');
|
|
28
|
+
const label = document.createElement('span');
|
|
29
|
+
label.className = 'cm-md-task-box-label';
|
|
30
|
+
label.textContent = this.label;
|
|
31
|
+
box.append(icon, label);
|
|
32
|
+
return box;
|
|
33
|
+
}
|
|
34
|
+
// The click is the editor's to handle (see `toggleOnClick`), so a press on
|
|
35
|
+
// the box does not also place the caret.
|
|
36
|
+
ignoreEvent() {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
/** The box that replaces the `[ ]` or `[x]` of a task. */
|
|
41
|
+
export function taskBox(state, checked) {
|
|
42
|
+
const labels = state.facet(taskLabels);
|
|
43
|
+
return Decoration.replace({ widget: new TaskBox(checked, checked ? labels.done() : labels.open()) });
|
|
44
|
+
}
|
|
45
|
+
/** Every task marker in the document: where it is and whether it is checked. */
|
|
46
|
+
function taskMarkers(state) {
|
|
47
|
+
const found = [];
|
|
48
|
+
syntaxTree(state).iterate({
|
|
49
|
+
enter: (node) => {
|
|
50
|
+
if (node.name === 'FencedCode' || node.name === 'CodeBlock')
|
|
51
|
+
return false;
|
|
52
|
+
if (node.name !== 'TaskMarker')
|
|
53
|
+
return undefined;
|
|
54
|
+
found.push({ from: node.from, to: node.to, checked: /x/i.test(state.sliceDoc(node.from, node.to)) });
|
|
55
|
+
return false;
|
|
56
|
+
},
|
|
57
|
+
});
|
|
58
|
+
return found;
|
|
59
|
+
}
|
|
60
|
+
/** The change that checks or unchecks the markers in [from, to]: all of them
|
|
61
|
+
* checked when any is open, otherwise all of them unchecked. */
|
|
62
|
+
function toggleMarkers(state, from, to) {
|
|
63
|
+
const markers = taskMarkers(state).filter((marker) => marker.from <= to && marker.to >= from);
|
|
64
|
+
if (markers.length === 0)
|
|
65
|
+
return null;
|
|
66
|
+
const check = markers.some((marker) => !marker.checked);
|
|
67
|
+
return markers.map((marker) => ({ from: marker.from + 1, to: marker.from + 2, insert: check ? 'x' : ' ' }));
|
|
68
|
+
}
|
|
69
|
+
/** Checks or unchecks the tasks on the lines of the selection. False when no
|
|
70
|
+
* line there is a task, so the key does what it would otherwise do. */
|
|
71
|
+
export function toggleTasks(view) {
|
|
72
|
+
const { state } = view;
|
|
73
|
+
if (state.readOnly)
|
|
74
|
+
return false;
|
|
75
|
+
const changes = state.selection.ranges.flatMap((range) => {
|
|
76
|
+
const from = state.doc.lineAt(range.from).from;
|
|
77
|
+
const to = state.doc.lineAt(range.to).to;
|
|
78
|
+
return toggleMarkers(state, from, to) ?? [];
|
|
79
|
+
});
|
|
80
|
+
if (changes.length === 0)
|
|
81
|
+
return false;
|
|
82
|
+
view.dispatch({ changes, userEvent: 'input.task' });
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
const toggleOnClick = EditorView.domEventHandlers({
|
|
86
|
+
mousedown(event, view) {
|
|
87
|
+
// The box, or the empty space after it up to the text: the list prefix
|
|
88
|
+
// that holds the box runs exactly to where the text starts.
|
|
89
|
+
const target = event.target;
|
|
90
|
+
const box = target?.closest?.('.cm-md-task-box')
|
|
91
|
+
?? target?.closest?.('.cm-md-listprefix')?.querySelector(':scope > .cm-md-task-box');
|
|
92
|
+
if (!box || event.button !== 0)
|
|
93
|
+
return false;
|
|
94
|
+
event.preventDefault();
|
|
95
|
+
if (view.state.readOnly)
|
|
96
|
+
return true;
|
|
97
|
+
const pos = view.posAtDOM(box);
|
|
98
|
+
const changes = toggleMarkers(view.state, pos, pos);
|
|
99
|
+
if (changes)
|
|
100
|
+
view.dispatch({ changes, userEvent: 'input.task' });
|
|
101
|
+
return true;
|
|
102
|
+
},
|
|
103
|
+
});
|
|
104
|
+
/** Checking a task by click and by Cmd/Ctrl+Enter, with the texts a screen
|
|
105
|
+
* reader reads for a box. */
|
|
106
|
+
export function tasks(labels) {
|
|
107
|
+
return [
|
|
108
|
+
taskLabels.of(labels),
|
|
109
|
+
toggleOnClick,
|
|
110
|
+
Prec.high(keymap.of([{ key: 'Mod-Enter', run: toggleTasks }])),
|
|
111
|
+
];
|
|
112
|
+
}
|
|
113
|
+
//# sourceMappingURL=text-editor.tasks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-editor.tasks.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-editor/text-editor.tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,EAAE,IAAI,EAAkB,MAAM,mBAAmB,CAAC;AAC7E,OAAO,EAAE,UAAU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,EAAE,CAAC,MAAM,CAAC;QACrB,aAAa;QACb,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,WAAW,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC;KAC9D,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"text-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,yBA4J3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;IAiB9B,kBAAkB
|
|
1
|
+
{"version":3,"file":"text-field.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/text-field/text-field.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;IAiB9B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2IrB,CAAC"}
|
|
@@ -7,6 +7,14 @@
|
|
|
7
7
|
* the field is left. Error messages belong to nldd-form-field, not here. This
|
|
8
8
|
* field reflects only `invalid` / `valid`, like nldd-text-field.
|
|
9
9
|
*
|
|
10
|
+
* `value` holds a valid time or nothing, so an empty field and one with text
|
|
11
|
+
* that is no time both read as ''. `validity` tells them apart: `badInput` for
|
|
12
|
+
* text that is no time, `rangeUnderflow` / `rangeOverflow` for a time outside
|
|
13
|
+
* `min` / `max`. A form does not submit then, and nldd-form marks the field
|
|
14
|
+
* invalid. Without a submit, as in a filter that applies at once, the moment is
|
|
15
|
+
* yours: `field.invalid = !field.validity.valid` on `change`, with a message of
|
|
16
|
+
* your own in the nldd-form-field.
|
|
17
|
+
*
|
|
10
18
|
* What you do in the picker is a preview until you leave it. The field shows
|
|
11
19
|
* the time right away but commits it on close. "Klaar" and Enter keep the
|
|
12
20
|
* choice, and so does a click outside once you have picked something. Cancel
|
|
@@ -41,28 +49,9 @@
|
|
|
41
49
|
* @fires change - When the value is committed: on leaving the field, and on closing the picker in a way that keeps the choice. detail: { value } with `HH:mm`, or ''.
|
|
42
50
|
*/
|
|
43
51
|
import { LitElement, type PropertyValues } from 'lit';
|
|
44
|
-
import { type FormValue } from '../../../utilities/form-associated-mixin.js';
|
|
52
|
+
import { type FormValue, type OwnValidity } from '../../../utilities/form-associated-mixin.js';
|
|
45
53
|
import { type NLDDTimeFieldTranslations } from './time-field.i18n.js';
|
|
46
|
-
|
|
47
|
-
* Read a typed time generously. Deliberately not a mask: reformatting per
|
|
48
|
-
* keystroke moves the caret, breaks backspace mid-value and confuses screen
|
|
49
|
-
* readers, so we accept what people type and normalize once on commit.
|
|
50
|
-
*
|
|
51
|
-
* Accepts 9, 09, 9:30, 9.30, 9,30, 9u30, 930 and 0930. After a letter the
|
|
52
|
-
* minutes may be left off ("9u" is a finished thought), after punctuation they
|
|
53
|
-
* may not: "9:" is halfway through typing and should not produce a value yet.
|
|
54
|
-
*/
|
|
55
|
-
export declare function parseTime(raw: string): string | null;
|
|
56
|
-
/**
|
|
57
|
-
* The nearest time that falls on the step, counted from `base`. Input exactly
|
|
58
|
-
* in between rounds up.
|
|
59
|
-
*
|
|
60
|
-
* Never rolls over the edge of the day: if rounding up would pass 23:59, step
|
|
61
|
-
* back instead. Rolling over to 00:00 silently shifts the day, and a consumer
|
|
62
|
-
* who puts this field next to a date field then has a bug nobody sees
|
|
63
|
-
* coming.
|
|
64
|
-
*/
|
|
65
|
-
export declare function roundToStep(time: string, step: number, base?: string): string;
|
|
54
|
+
export { parseTime, roundToStep } from './time-field.times.js';
|
|
66
55
|
declare const NLDDTimeField_base: typeof LitElement & (abstract new (...args: any[]) => LitElement & import("../../../utilities/form-associated-mixin.js").FormAssociatedElement) & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
|
|
67
56
|
export declare class NLDDTimeField extends NLDDTimeField_base {
|
|
68
57
|
static shadowRootOptions: {
|
|
@@ -125,18 +114,11 @@ export declare class NLDDTimeField extends NLDDTimeField_base {
|
|
|
125
114
|
_t(key: keyof NLDDTimeFieldTranslations): string;
|
|
126
115
|
get _fieldLabel(): string;
|
|
127
116
|
get _displayValue(): string;
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
*
|
|
131
|
-
|
|
132
|
-
private _withinBounds;
|
|
133
|
-
/** The parsed time, or '' when it is unreadable or out of bounds. In both
|
|
134
|
-
* cases the raw text stays put, so the user sees and can repair what they
|
|
135
|
-
* wrote. */
|
|
117
|
+
private get _rules();
|
|
118
|
+
/** The time a text commits to, or '' when it is unreadable or out of bounds.
|
|
119
|
+
* In both cases the raw text stays put, so the user sees and can repair what
|
|
120
|
+
* they wrote. */
|
|
136
121
|
private _commit;
|
|
137
|
-
/** Rounding happens on commit, not on input: otherwise "09:1" jumps to 09:00
|
|
138
|
-
* before anyone can type the 5. */
|
|
139
|
-
private _rounded;
|
|
140
122
|
_handleInput(e: Event): void;
|
|
141
123
|
_handleChange(e: Event): void;
|
|
142
124
|
/**
|
|
@@ -146,8 +128,6 @@ export declare class NLDDTimeField extends NLDDTimeField_base {
|
|
|
146
128
|
* does the same: it opens on today as long as there is no date.
|
|
147
129
|
*/
|
|
148
130
|
_handleInputKeydown(e: KeyboardEvent): void;
|
|
149
|
-
private _startingPoint;
|
|
150
|
-
private _shift;
|
|
151
131
|
/**
|
|
152
132
|
* Whether a consumer put their own picker in the slot. As state, not read
|
|
153
133
|
* during render: the built-in picker has to disappear the moment something is
|
|
@@ -169,12 +149,12 @@ export declare class NLDDTimeField extends NLDDTimeField_base {
|
|
|
169
149
|
* click, so there it lands on the input instead of the button. We take over,
|
|
170
150
|
* but only after that restore, otherwise ours gets overwritten. */
|
|
171
151
|
private _focusTriggerOnClose;
|
|
172
|
-
/** The value from before opening,
|
|
173
|
-
* decide on close whether what stands in the selection stays
|
|
152
|
+
/** The value from before opening, and the last thing done in the picker.
|
|
153
|
+
* Together they decide on close whether what stands in the selection stays
|
|
154
|
+
* or falls back. The last action counts: an Escape that did not close the
|
|
155
|
+
* popover is undone by scrolling on, and "Klaar" after it still confirms. */
|
|
174
156
|
private _valueBeforePicker;
|
|
175
|
-
private
|
|
176
|
-
private _pickerConfirmed;
|
|
177
|
-
private _pickerCancelled;
|
|
157
|
+
private _pickerState;
|
|
178
158
|
/**
|
|
179
159
|
* Where the wheels open while the field is empty: `min` if there is one, and
|
|
180
160
|
* otherwise the current time rounded to the step. The same starting point the
|
|
@@ -229,6 +209,13 @@ export declare class NLDDTimeField extends NLDDTimeField_base {
|
|
|
229
209
|
private _closePicker;
|
|
230
210
|
_handlePickerDismiss(e: Event): void;
|
|
231
211
|
formValue(): FormValue;
|
|
212
|
+
/**
|
|
213
|
+
* What `value` cannot say. It holds a valid time or nothing, so text that is
|
|
214
|
+
* no time, a time outside min/max and an empty field all read as ''. The
|
|
215
|
+
* field tells them apart for the form; when to show it stays the caller's.
|
|
216
|
+
*/
|
|
217
|
+
ownValidity(): OwnValidity | null;
|
|
218
|
+
private _problemMessage;
|
|
232
219
|
formResetCallback(): void;
|
|
233
220
|
formStateRestoreCallback(state: File | string | FormData | null): void;
|
|
234
221
|
private _emit;
|
|
@@ -242,5 +229,4 @@ declare global {
|
|
|
242
229
|
'nldd-time-field': NLDDTimeField;
|
|
243
230
|
}
|
|
244
231
|
}
|
|
245
|
-
export {};
|
|
246
232
|
//# sourceMappingURL=time-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"time-field.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAItD,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,6CAA6C,CAAC;AAK/G,OAAO,EAA6B,KAAK,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAcjG,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;;AAE/D,qBACa,aAAc,SAAQ,kBAAuC;IAEzE,OAAgB,iBAAiB;;;;;;;MAG/B;IAEF,OAAgB,MAAM,0BAAmB;IAEzC;wEACoE;IACpE,MAAM,CAAC,WAAW,UAAQ;IAE1B;uEACmE;IACnE,MAAM,CAAC,wBAAwB,UAAQ;IAEvC,OAAO,CAAC,aAAa,CAAM;IAG3B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAQ;IAGzB,KAAK,SAAM;IAGX,GAAG,SAAM;IAGT,GAAG,SAAM;IAGT,IAAI,SAAK;IAGT,QAAQ,UAAS;IAGjB,OAAO,SAAM;IAGb,WAAW,SAAM;IAGjB,OAAO,UAAS;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
3
|
'components.time-field.to-pick-time-action': string;
|
|
4
4
|
'components.time-field.cancel-action': string;
|
|
5
5
|
'components.time-field.confirm-action': string;
|
|
6
|
+
'components.time-field.bad-input-error-text': string;
|
|
7
|
+
'components.time-field.range-underflow-error-text': string;
|
|
8
|
+
'components.time-field.range-overflow-error-text': string;
|
|
6
9
|
};
|
|
7
10
|
export type NLDDTimeFieldTranslations = typeof nlddTimeFieldTranslations;
|
|
8
11
|
//# sourceMappingURL=time-field.i18n.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-field.i18n.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"time-field.i18n.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.i18n.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB;;;;;;;;CAiBrC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC"}
|
|
@@ -10,5 +10,10 @@ export const nlddTimeFieldTranslations = {
|
|
|
10
10
|
// not "Opslaan": this confirms a choice, it does not save a form. A consumer
|
|
11
11
|
// who puts this in a save flow can override it.
|
|
12
12
|
'components.time-field.confirm-action': 'Klaar',
|
|
13
|
+
// Validation messages the field reports to the form. {time} is a bound as
|
|
14
|
+
// HH:mm.
|
|
15
|
+
'components.time-field.bad-input-error-text': 'Vul een tijd in als uu:mm',
|
|
16
|
+
'components.time-field.range-underflow-error-text': 'Vul een tijd in vanaf {time}',
|
|
17
|
+
'components.time-field.range-overflow-error-text': 'Vul een tijd in tot en met {time}',
|
|
13
18
|
};
|
|
14
19
|
//# sourceMappingURL=time-field.i18n.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-field.i18n.js","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC,6EAA6E;IAC7E,6EAA6E;IAC7E,qCAAqC,EAAE,MAAM;IAC7C,kEAAkE;IAClE,2CAA2C,EAAE,aAAa;IAC1D,8EAA8E;IAC9E,qCAAqC,EAAE,UAAU;IACjD,gFAAgF;IAChF,6EAA6E;IAC7E,gDAAgD;IAChD,sCAAsC,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"time-field.i18n.js","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.i18n.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACxC,6EAA6E;IAC7E,6EAA6E;IAC7E,qCAAqC,EAAE,MAAM;IAC7C,kEAAkE;IAClE,2CAA2C,EAAE,aAAa;IAC1D,8EAA8E;IAC9E,qCAAqC,EAAE,UAAU;IACjD,gFAAgF;IAChF,6EAA6E;IAC7E,gDAAgD;IAChD,sCAAsC,EAAE,OAAO;IAC/C,0EAA0E;IAC1E,SAAS;IACT,4CAA4C,EAAE,2BAA2B;IACzE,kDAAkD,EAAE,8BAA8B;IAClF,iDAAiD,EAAE,mCAAmC;CACtF,CAAC"}
|