@nldd/design-system 0.13.0 → 0.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICES.md +18 -1
- package/README.md +32 -24
- package/custom-elements.json +4390 -1037
- 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 +22 -7
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +38 -19
- 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 +43 -18
- package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
- package/dist/components/actions/button-group/button-group.template.js +1 -1
- package/dist/components/actions/button-group/button-group.template.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 +68 -269
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +147 -984
- 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 +4651 -2302
- package/dist/components/content/avatar-group/avatar-group.styles.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.styles.js +12 -1
- package/dist/components/content/avatar-group/avatar-group.styles.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 +2 -1
- 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 +21 -5
- 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 +10 -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 +10 -3
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/text/text.d.ts +1 -1
- package/dist/components/content/text/text.js +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +104 -1
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/token/token.styles.d.ts.map +1 -1
- package/dist/components/content/token/token.styles.js +2 -1
- package/dist/components/content/token/token.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +7 -7
- 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/forms/form-field/form-field.d.ts +9 -5
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +17 -6
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/{gherkin-uCVRxsGf.js → gherkin-DzYbEwDO.js} +1 -2
- package/dist/components/{icon-BJHKWhY5.js → icon-DRpTWSIg.js} +33 -20
- package/dist/components/{icon-button-DhBIq6lN.js → icon-button-DUEmWlBD.js} +41 -51
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/{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 +6 -1
- 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/file-field/file-field.d.ts +12 -0
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.i18n.d.ts +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.i18n.js +1 -0
- package/dist/components/inputs/file-field/file-field.i18n.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +28 -9
- 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 +91 -8
- 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 +51 -21
- package/dist/components/inputs/file-field/file-field.template.js.map +1 -1
- 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/slider/slider.d.ts +161 -0
- package/dist/components/inputs/slider/slider.d.ts.map +1 -0
- package/dist/components/inputs/slider/slider.i18n.d.ts +6 -0
- package/dist/components/inputs/slider/slider.i18n.d.ts.map +1 -0
- package/dist/components/inputs/slider/slider.i18n.js +5 -0
- package/dist/components/inputs/slider/slider.i18n.js.map +1 -0
- package/dist/components/inputs/slider/slider.js +436 -0
- package/dist/components/inputs/slider/slider.js.map +1 -0
- package/dist/components/inputs/slider/slider.styles.d.ts +2 -0
- package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -0
- package/dist/components/inputs/slider/slider.styles.js +360 -0
- package/dist/components/inputs/slider/slider.styles.js.map +1 -0
- package/dist/components/inputs/slider/slider.template.d.ts +5 -0
- package/dist/components/inputs/slider/slider.template.d.ts.map +1 -0
- package/dist/components/inputs/slider/slider.template.js +99 -0
- package/dist/components/inputs/slider/slider.template.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.selection.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.selection.js +35 -9
- 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 +17 -0
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.tasks.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.tasks.js +5 -1
- package/dist/components/inputs/text-editor/text-editor.tasks.js.map +1 -1
- 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/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/layout/task-board/task-board-column.d.ts +80 -0
- package/dist/components/layout/task-board/task-board-column.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board-column.js +207 -0
- package/dist/components/layout/task-board/task-board-column.js.map +1 -0
- package/dist/components/layout/task-board/task-board-column.template.d.ts +3 -0
- package/dist/components/layout/task-board/task-board-column.template.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board-column.template.js +45 -0
- package/dist/components/layout/task-board/task-board-column.template.js.map +1 -0
- package/dist/components/layout/task-board/task-board.d.ts +169 -0
- package/dist/components/layout/task-board/task-board.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board.i18n.d.ts +11 -0
- package/dist/components/layout/task-board/task-board.i18n.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board.i18n.js +10 -0
- package/dist/components/layout/task-board/task-board.i18n.js.map +1 -0
- package/dist/components/layout/task-board/task-board.js +701 -0
- package/dist/components/layout/task-board/task-board.js.map +1 -0
- package/dist/components/layout/task-board/task-board.styles.d.ts +3 -0
- package/dist/components/layout/task-board/task-board.styles.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board.styles.js +259 -0
- package/dist/components/layout/task-board/task-board.styles.js.map +1 -0
- package/dist/components/layout/task-board/task-board.template.d.ts +3 -0
- package/dist/components/layout/task-board/task-board.template.d.ts.map +1 -0
- package/dist/components/layout/task-board/task-board.template.js +25 -0
- package/dist/components/layout/task-board/task-board.template.js.map +1 -0
- 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/link/link.d.ts +11 -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 +27 -1
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +21 -16
- package/dist/components/navigation/link/link.template.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/tab-bar/tab-bar.template.js +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 -223
- 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/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/{global-system-font.css → global-open-font.css} +2 -0
- package/dist/css/global.css +1 -0
- package/dist/css/inter-font.css +47 -0
- package/dist/css/jetbrains-mono-font.css +22 -0
- package/dist/css/rijksoverheid-fonts.css +4 -21
- package/dist/css/themes/bruin.css +1 -0
- package/dist/css/themes/donkerblauw.css +1 -0
- package/dist/css/themes/donkerbruin.css +1 -0
- package/dist/css/themes/donkergeel.css +1 -0
- package/dist/css/themes/donkergroen.css +1 -0
- package/dist/css/themes/geel.css +1 -0
- package/dist/css/themes/groen.css +1 -0
- package/dist/css/themes/hemelblauw.css +1 -0
- package/dist/css/themes/lichtblauw.css +1 -0
- package/dist/css/themes/mintgroen.css +1 -0
- package/dist/css/themes/mosgroen.css +1 -0
- package/dist/css/themes/oranje.css +1 -0
- package/dist/css/themes/paars.css +1 -0
- package/dist/css/themes/robijnrood.css +1 -0
- package/dist/css/themes/rood.css +1 -0
- package/dist/css/themes/roze.css +1 -0
- package/dist/css/themes/violet.css +1 -0
- package/dist/css/themes.css +17 -0
- package/dist/css/tokens.css +1 -0
- package/dist/css/variables.css +27 -5
- package/dist/fonts/Inter-Latin-Italic[wght].woff2 +0 -0
- package/dist/fonts/Inter-LatinExt-Italic[wght].woff2 +0 -0
- package/dist/fonts/Inter-LatinExt[wght].woff2 +0 -0
- package/dist/fonts/Inter-Latin[wght].woff2 +0 -0
- package/dist/nldd.min.js +1902 -842
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +23 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +13 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +23 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +4 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +13 -0
- 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 +13 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +164 -24
- 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/dist/utilities/tab-order.d.ts +11 -0
- package/dist/utilities/tab-order.d.ts.map +1 -0
- package/dist/utilities/tab-order.js +55 -0
- package/dist/utilities/tab-order.js.map +1 -0
- package/package.json +13 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-title.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar-title.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,uBAAuB,EAAgC,MAAM,mBAAmB,CAAC;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAK/D;;;;;;;;;;;;;;;;;;GAkBG;AAEI,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAIN,UAAK,GAAG,EAAE,CAAC;QAGX,aAAQ,GAAG,EAAE,CAAC;QAGd,aAAQ,GAAG,EAAE,CAAC;QAGd,UAAK,GAAe,MAAM,CAAC;QAG3B,SAAI,GAAG,EAAE,CAAC;QAGV,mBAAc,GAAG,EAAE,CAAC;QAGpB,SAAI,GAAG,EAAE,CAAC;QAGV,WAAM,GAAG,EAAE,CAAC;QAGZ,iBAAY,GAAqC,EAAE,CAAC;QAEpD,iEAAiE;QAEjE,SAAI,GAAS,IAAI,CAAC;IA6BnB,CAAC;IA3BO,EAAE,CAAC,GAAkC;QAC3C,OAAO,SAAS,CAAC,IAAI,CAAC,YAAY,EAAE,uBAAuB,EAAE,GAAG,CAAC,CAAC;IACnE,CAAC;IAED,0EAA0E;IAC1E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,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAa,MAAM,CAAC,EAAE,CAAC;+CACnD;AAG3B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;8CAC5D;AAGV;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;wDAChF;AAGpB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;8CAChC;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAC9B;AAGZ;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sDACyB;AAIpD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAO,IAAI,CAAC,EAAE,CAAC;8CACpD;AAhCN,gBAAgB;IAD5B,aAAa,CAAC,oBAAoB,CAAC;GACvB,gBAAgB,CA6D5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-title.template.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar-title.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAM3D,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,gBAAgB,wCA4B/D"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { html, nothing } from 'lit';
|
|
2
|
+
import { linkRel } from '../../../utilities/link-rel.js';
|
|
3
|
+
import { linkHintKey } from '../../../utilities/link-hint.js';
|
|
4
|
+
// # Title template
|
|
5
|
+
export function toolbarTitleTemplate(component) {
|
|
6
|
+
const titleGroup = html `
|
|
7
|
+
<div class="toolbar__title-group">
|
|
8
|
+
${component.text ? html `<p class="toolbar__title">${component.text}</p>` : nothing}
|
|
9
|
+
${component.supportingText ? html `<p class="toolbar__supporting-text">${component.supportingText}</p>` : nothing}
|
|
10
|
+
</div>
|
|
11
|
+
`;
|
|
12
|
+
// The link takes the mark and the name, never the action slot: a control
|
|
13
|
+
// inside a link is a control you cannot reach without following the link.
|
|
14
|
+
// A link to another website or a new tab says so (WCAG 2.1 SC 3.2.2).
|
|
15
|
+
const hintKey = linkHintKey(component.href, component.target);
|
|
16
|
+
return html `
|
|
17
|
+
${component.href ? html `
|
|
18
|
+
<a class="toolbar__title-link"
|
|
19
|
+
href=${component.href}
|
|
20
|
+
target=${component.target || nothing}
|
|
21
|
+
rel=${linkRel(null, component.target) || nothing}
|
|
22
|
+
>
|
|
23
|
+
<slot name="media"></slot>
|
|
24
|
+
${titleGroup}${hintKey ? html `<span class="toolbar__link-hint">, ${component._t(`components.toolbar.${hintKey}`)}</span>` : nothing}
|
|
25
|
+
</a>
|
|
26
|
+
` : html `
|
|
27
|
+
<slot name="media"></slot>
|
|
28
|
+
${titleGroup}
|
|
29
|
+
`}
|
|
30
|
+
<slot name="action"></slot>
|
|
31
|
+
`;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=toolbar-title.template.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar-title.template.js","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar-title.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAE9D,mBAAmB;AAEnB,MAAM,UAAU,oBAAoB,CAAC,SAA2B;IAC/D,MAAM,UAAU,GAAG,IAAI,CAAA;;KAEnB,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA,6BAA6B,SAAS,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,OAAO;KAChF,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAA,uCAAuC,SAAS,CAAC,cAAc,MAAM,CAAC,CAAC,CAAC,OAAO;;EAEjH,CAAC;IAEF,yEAAyE;IACzE,0EAA0E;IAC1E,sEAAsE;IACtE,MAAM,OAAO,GAAG,WAAW,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAC9D,OAAO,IAAI,CAAA;IACR,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA;;WAEd,SAAS,CAAC,IAAI;aACZ,SAAS,CAAC,MAAM,IAAI,OAAO;UAC9B,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,IAAI,OAAO;;;MAG9C,UAAU,GAAG,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA,sCAAsC,SAAS,CAAC,EAAE,CAAC,sBAAsB,OAAO,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO;;GAEpI,CAAC,CAAC,CAAC,IAAI,CAAA;;KAEL,UAAU;GACZ;;EAED,CAAC;AACH,CAAC"}
|
|
@@ -26,82 +26,15 @@
|
|
|
26
26
|
* @slot center - nldd-toolbar-item and nldd-toolbar-title elements placed at the center
|
|
27
27
|
* @slot end - nldd-toolbar-item and nldd-toolbar-title elements placed at the end
|
|
28
28
|
* @slot overflow - nldd-menu-item, nldd-menu-divider and nldd-menu-group elements always shown in the overflow menu
|
|
29
|
-
*
|
|
30
|
-
* ---
|
|
31
|
-
*
|
|
32
|
-
* @element nldd-toolbar-item
|
|
33
|
-
* @attr {string} width - Fluid width: a percentage (e.g. '40%') or any CSS length (e.g. '240px'). Setting it (or min-width or max-width) makes the item fluid so it grows to fill the available space.
|
|
34
|
-
* @attr {string} min-width - Minimum (fluid) width as a CSS length (e.g. '240px'). Setting it also makes the item fluid.
|
|
35
|
-
* @attr {string} max-width - Maximum (fluid) width as a CSS length (e.g. '480px'). Setting it also makes the item fluid.
|
|
36
|
-
* @attr {string} label - Text label shown below the item when the toolbar has show-item-labels.
|
|
37
|
-
* @attr {number} priority - Overflow order: items with a lower priority move into the overflow menu first (default 0). Items sharing a priority overflow together, regardless of position.
|
|
38
|
-
* @attr {'sm'|'md'|'lg'} size - Set by nldd-toolbar, not a consumer attribute: mirrors the toolbar's size (default: 'md') onto the item host, so size-dependent styling can key off it.
|
|
39
|
-
* @attr {boolean} show-item-labels - Set by nldd-toolbar, not a consumer attribute: mirrors the toolbar's show-item-labels, so the item renders its label below the control.
|
|
40
|
-
* @attr {boolean} fluid - Set by nldd-toolbar, not a consumer attribute: marks an item that grows or shrinks to fill space. Toggled synchronously during measurement, so it can appear or disappear between layout frames — do not style against it. It is not reflected as a JS property — read it with hasAttribute('fluid').
|
|
41
|
-
* @attr {boolean} solo-fluid - Set by nldd-toolbar, not a consumer attribute: the sole fluid item, allowed to shrink below its content. Same synchronous-toggle and property-read caveats as fluid.
|
|
42
|
-
* @attr {boolean} hidden - Set by nldd-toolbar, not a consumer attribute, when the item moves into the overflow menu. Same synchronous-toggle caveat.
|
|
43
|
-
* @attr {boolean} shrinkable - Set by nldd-toolbar, not a consumer attribute: the item holds a control that overflows by itself (nldd-tab-bar), so it gets the width that control wants with everything shown. Same synchronous-toggle caveat.
|
|
44
|
-
* @attr {boolean} shrunk - Set by nldd-toolbar, not a consumer attribute: a shrinkable item narrowed down to what its control needs at least, before it would move into the overflow menu. Same synchronous-toggle caveat.
|
|
45
|
-
*
|
|
46
|
-
* @slot - The control shown in the toolbar (e.g. nldd-icon-button)
|
|
47
|
-
* @slot overflow - Required: nldd-menu-item / nldd-menu-divider / nldd-menu-group children, shown in the overflow menu when this item overflows. Without them the action is gone on a narrow toolbar, and the item warns in development.
|
|
48
|
-
*
|
|
49
|
-
* ---
|
|
50
|
-
*
|
|
51
|
-
* @element nldd-toolbar-title
|
|
52
|
-
* @attr {string} width - Preferred (fluid) width as a CSS length or percentage; the title grows toward it and shrinks to min-width.
|
|
53
|
-
* @attr {string} min-width - Minimum width as a CSS length (default: the width of its own text, up to `max-width`). Items move into the overflow menu before the title gets narrower than this; only when no item is left to move does the title truncate below it. Set `0` to let the title shrink first.
|
|
54
|
-
* @attr {string} max-width - Maximum width as a CSS length (default: '240px'); the title text truncates with an ellipsis beyond it. The cap is lifted while the title is the sole toolbar element (it then stretches to fill the row).
|
|
55
|
-
* @attr {string} align - Text alignment: 'left' | 'center' (default: 'left').
|
|
56
|
-
* @attr {string} text - Title text.
|
|
57
|
-
* @attr {string} supporting-text - Secondary supporting text shown below the title.
|
|
58
|
-
* @attr {'sm'|'md'|'lg'} size - Set by nldd-toolbar, not a consumer attribute: mirrors the toolbar's size (default: 'md'), which sets the title group height and, at 'sm', the title and supporting-text fonts.
|
|
59
|
-
*
|
|
60
|
-
* @attr {string} href - Makes the mark and the name one link, for the place this window belongs to (usually the app's own start). The `action` slot stays outside it: a control inside a link is a control you cannot reach without following the link.
|
|
61
|
-
* @attr {string} target - Where the link opens; only meaningful with `href`. `_blank` adds rel="noopener noreferrer" and a visually hidden "opens in a new tab" announcement. An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply; there is no way to switch it off.
|
|
62
|
-
* @attr {object} translations - Override translation keys (the new-tab announcement); unset keys fall back to Dutch.
|
|
63
|
-
*
|
|
64
|
-
* @slot media - Optional leading image before the title: a logo, a product mark, a file-type icon. Its height is capped to the title group so it cannot stretch the row; pick the size within that yourself. With no `text` the media stands alone and carries the name, so give it one (an `alt`, or an accessible label).
|
|
65
|
-
* @slot action - Optional trailing control (e.g. an xs nldd-icon-button), shown inline after the title and tuned to sit against it. Empty by default.
|
|
66
29
|
*/
|
|
67
30
|
import { LitElement } from 'lit';
|
|
68
|
-
import { type ToolbarChild } from './toolbar.template.js';
|
|
69
31
|
import type { NLDDToolbarTranslations } from './toolbar.i18n.js';
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
maxWidth: string;
|
|
77
|
-
label: string;
|
|
78
|
-
priority: number;
|
|
79
|
-
/** Set by nldd-toolbar; not part of the public API. @internal */
|
|
80
|
-
size: Size;
|
|
81
|
-
/** Set by nldd-toolbar; not part of the public API. @internal */
|
|
82
|
-
showItemLabels: boolean;
|
|
83
|
-
firstUpdated(): void;
|
|
84
|
-
private _warnWithoutOverflow;
|
|
85
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
86
|
-
}
|
|
87
|
-
export declare class NLDDToolbarTitle extends LitElement {
|
|
88
|
-
static styles: import("lit").CSSResult;
|
|
89
|
-
width: string;
|
|
90
|
-
minWidth: string;
|
|
91
|
-
maxWidth: string;
|
|
92
|
-
align: TitleAlign;
|
|
93
|
-
text: string;
|
|
94
|
-
supportingText: string;
|
|
95
|
-
href: string;
|
|
96
|
-
target: string;
|
|
97
|
-
translations: Partial<NLDDToolbarTranslations>;
|
|
98
|
-
/** Set by nldd-toolbar; not part of the public API. @internal */
|
|
99
|
-
size: Size;
|
|
100
|
-
_t(key: keyof NLDDToolbarTranslations): string;
|
|
101
|
-
willUpdate(changedProperties: Map<string, unknown>): void;
|
|
102
|
-
private _reflectSizeVar;
|
|
103
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
104
|
-
}
|
|
32
|
+
import { NLDDToolbarItem, type Size } from './toolbar-item.js';
|
|
33
|
+
import { NLDDToolbarTitle } from './toolbar-title.js';
|
|
34
|
+
import { ToolbarOverflowMenu } from './toolbar.overflow-menu.js';
|
|
35
|
+
export { NLDDToolbarItem } from './toolbar-item.js';
|
|
36
|
+
export { NLDDToolbarTitle } from './toolbar-title.js';
|
|
37
|
+
export { groupForOverflow } from './toolbar.layout.js';
|
|
105
38
|
export declare class NLDDToolbar extends LitElement {
|
|
106
39
|
static styles: import("lit").CSSResult;
|
|
107
40
|
size: Size;
|
|
@@ -109,7 +42,8 @@ export declare class NLDDToolbar extends LitElement {
|
|
|
109
42
|
accessibleLabel: string;
|
|
110
43
|
translations: Partial<NLDDToolbarTranslations>;
|
|
111
44
|
_t(key: keyof NLDDToolbarTranslations): string;
|
|
112
|
-
|
|
45
|
+
/** The menu for what does not fit. @internal */
|
|
46
|
+
readonly _overflowMenu: ToolbarOverflowMenu;
|
|
113
47
|
private _startChildren;
|
|
114
48
|
private _centerChildren;
|
|
115
49
|
private _endChildren;
|
|
@@ -131,14 +65,9 @@ export declare class NLDDToolbar extends LitElement {
|
|
|
131
65
|
private _pinnedOverflowItems;
|
|
132
66
|
private _childIds;
|
|
133
67
|
private _idCounter;
|
|
134
|
-
/** Maps the stamped `data-toolbar-oid` of an overflow item (and its
|
|
135
|
-
* descendants) back to the original element, so a clone's `select` can be
|
|
136
|
-
* forwarded to the original. Rebuilt on every _syncMenuItems. */
|
|
137
|
-
private _overflowOriginalById;
|
|
138
68
|
private _itemWidths;
|
|
139
69
|
private _observer;
|
|
140
70
|
private _resizeObserver;
|
|
141
|
-
private _menu;
|
|
142
71
|
private _isMeasuring;
|
|
143
72
|
private _childResizeObserver;
|
|
144
73
|
private _lastChildWidths;
|
|
@@ -155,21 +84,11 @@ export declare class NLDDToolbar extends LitElement {
|
|
|
155
84
|
disconnectedCallback(): void;
|
|
156
85
|
firstUpdated(): void;
|
|
157
86
|
updated(changedProperties: Map<string, unknown>): void;
|
|
158
|
-
private _createMenu;
|
|
159
|
-
/** The overflow menu holds CLONES of the slotted overflow items (see
|
|
160
|
-
* _syncMenuItems), so a clone's `select` never reaches the original element's
|
|
161
|
-
* listeners. Forward it: map the clicked clone back to its original via the
|
|
162
|
-
* `data-toolbar-oid` stamped at clone time, then re-dispatch `select` on the
|
|
163
|
-
* original so a consumer's `@select` handler (or a live-bound attribute) on
|
|
164
|
-
* the real overflow item fires. */
|
|
165
|
-
private _onOverflowMenuSelect;
|
|
166
87
|
private _syncMenuAnchor;
|
|
167
|
-
/**
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
* Consumers should avoid adding extra listeners directly on overflow `nldd-menu-item` elements.
|
|
172
|
-
*/
|
|
88
|
+
/** Fills the overflow menu: the alternatives of the items that did not fit,
|
|
89
|
+
* the last to go first, then the toolbar's own overflow items. A clone does
|
|
90
|
+
* not carry listeners added with addEventListener; its `select` is sent on
|
|
91
|
+
* to the original (see toolbar.overflow-menu.ts). */
|
|
173
92
|
private _syncMenuItems;
|
|
174
93
|
/**
|
|
175
94
|
* Syncs declarative state onto the slotted item and title hosts: size,
|
|
@@ -183,9 +102,11 @@ export declare class NLDDToolbar extends LitElement {
|
|
|
183
102
|
private _allHostChildren;
|
|
184
103
|
private _hostFor;
|
|
185
104
|
private _measureItemWidths;
|
|
186
|
-
private _computeAreaWidth;
|
|
187
|
-
private _computeSpacerZeros;
|
|
188
105
|
private _updateAreaVars;
|
|
106
|
+
/** Whether only the center has anything in it: nothing rendered at the
|
|
107
|
+
* start or end, and nothing moved from there into the overflow menu. One
|
|
108
|
+
* definition for measuring and for the layout it picks. */
|
|
109
|
+
private _isCenterOnly;
|
|
189
110
|
/** Whether any child in the list is actually rendered. getClientRects() is
|
|
190
111
|
* empty for a `display:none` element (consumer-hidden or toolbar-hidden via
|
|
191
112
|
* `[hidden]`), so this counts real on-screen presence, not mere DOM presence. */
|
|
@@ -230,21 +151,6 @@ export declare class NLDDToolbar extends LitElement {
|
|
|
230
151
|
private _hostChildElements;
|
|
231
152
|
render(): import("lit-html").TemplateResult<1>;
|
|
232
153
|
}
|
|
233
|
-
/** A toolbar child narrowed to an item; the overflow grouping operates on these. */
|
|
234
|
-
type OverflowItem = Extract<ToolbarChild, {
|
|
235
|
-
type: 'item';
|
|
236
|
-
}>;
|
|
237
|
-
/** Items bucketed into overflow groups (each inner array overflows together). */
|
|
238
|
-
type OverflowGroups = OverflowItem[][];
|
|
239
|
-
/**
|
|
240
|
-
* Groups prioritized items for overflow. Items with an explicit priority that
|
|
241
|
-
* share a value form one group and overflow together regardless of their
|
|
242
|
-
* position; items without a priority attribute each form their own group
|
|
243
|
-
* (they overflow individually).
|
|
244
|
-
*
|
|
245
|
-
* @internal Exported for unit tests only; not part of the public API.
|
|
246
|
-
*/
|
|
247
|
-
export declare function groupForOverflow(items: OverflowItem[]): OverflowGroups;
|
|
248
154
|
declare global {
|
|
249
155
|
interface HTMLElementTagNameMap {
|
|
250
156
|
'nldd-toolbar': NLDDToolbar;
|
|
@@ -252,5 +158,4 @@ declare global {
|
|
|
252
158
|
'nldd-toolbar-title': NLDDToolbarTitle;
|
|
253
159
|
}
|
|
254
160
|
}
|
|
255
|
-
export {};
|
|
256
161
|
//# sourceMappingURL=toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/toolbar/toolbar.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAEjE,OAAO,EAAE,eAAe,EAAE,KAAK,IAAI,EAAsB,MAAM,mBAAmB,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAWjE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD,qBACa,WAAY,SAAQ,UAAU;IAC1C,OAA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