@nldd/design-system 0.8.53 → 0.8.55
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/dist/assets/styles/slotted-reset.fixtures.d.ts +2 -3
- package/dist/assets/styles/slotted-reset.fixtures.d.ts.map +1 -1
- package/dist/assets/styles/slotted-reset.fixtures.js +2 -3
- package/dist/assets/styles/slotted-reset.fixtures.js.map +1 -1
- package/dist/components/actions/button/button.d.ts +11 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +15 -1
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +34 -2
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +21 -0
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +11 -0
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +15 -1
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +35 -1
- package/dist/components/actions/icon-button/icon-button.styles.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 +32 -5
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/{lists-and-menus → actions}/menu/menu.d.ts +3 -3
- package/dist/components/actions/menu/menu.d.ts.map +1 -0
- package/dist/components/actions/menu/menu.i18n.d.ts.map +1 -0
- package/dist/components/actions/menu/menu.i18n.js.map +1 -0
- package/dist/components/{lists-and-menus → actions}/menu/menu.js +3 -3
- package/dist/components/actions/menu/menu.js.map +1 -0
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -0
- package/dist/components/{lists-and-menus → actions}/menu/menu.styles.js +1 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -0
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -0
- package/dist/components/actions/menu/menu.template.js.map +1 -0
- package/dist/components/actions/split-button/split-button.d.ts +1 -1
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +1 -1
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/components.js +76 -74
- 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 -8
- 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 +5 -0
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +2 -0
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/image/lqip-encoder-element.js +1 -1
- package/dist/components/{index-Cwro7Ee_.js → index-C3JellW2.js} +1455 -803
- package/dist/components/index.d.ts +15 -14
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +16 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +1 -1
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/layout/app-view/app-view.js +1 -1
- package/dist/components/layout/app-view/app-view.js.map +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +1 -1
- package/dist/components/layout/page/page.styles.js +2 -2
- package/dist/components/layout/popover/popover.styles.js +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +2 -2
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +4 -4
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +2 -2
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +2 -2
- package/dist/components/layout/window/window.styles.js +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -0
- package/dist/components/{lists-and-menus → lists-and-tables}/cells/cell/cell.js +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/cell/cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/cell/cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/cell/cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.d.ts.map +1 -0
- package/dist/components/{lists-and-menus → lists-and-tables}/cells/description-cell/description-cell.js +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -0
- package/dist/components/{lists-and-menus → lists-and-tables}/cells/icon-cell/icon-cell.js +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts.map +1 -0
- package/dist/components/{lists-and-menus → lists-and-tables}/cells/spacer-cell/spacer-cell.js +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -0
- package/dist/components/{lists-and-menus → lists-and-tables}/cells/text-cell/text-cell.js +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -0
- package/dist/components/{lists-and-menus → lists-and-tables}/cells/title-cell/title-cell.js +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list/list.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list/list.i18n.js.map +1 -0
- package/dist/components/{lists-and-menus → lists-and-tables}/list/list.js +1 -1
- package/dist/components/lists-and-tables/list/list.js.map +1 -0
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -0
- package/dist/components/{lists-and-menus → lists-and-tables}/list/list.styles.js +3 -3
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -0
- package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list/list.template.js.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -0
- package/dist/components/lists-and-tables/table/table.d.ts +137 -0
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -0
- package/dist/components/lists-and-tables/table/table.i18n.d.ts +6 -0
- package/dist/components/lists-and-tables/table/table.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/table/table.i18n.js +5 -0
- package/dist/components/lists-and-tables/table/table.i18n.js.map +1 -0
- package/dist/components/lists-and-tables/table/table.js +359 -0
- package/dist/components/lists-and-tables/table/table.js.map +1 -0
- package/dist/components/lists-and-tables/table/table.styles.d.ts +3 -0
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/table/table.styles.js +120 -0
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -0
- package/dist/components/lists-and-tables/table/table.template.d.ts +3 -0
- package/dist/components/lists-and-tables/table/table.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/table/table.template.js +34 -0
- package/dist/components/lists-and-tables/table/table.template.js.map +1 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +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 +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +3 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/{prism-python-DupfA39T.js → prism-python-QiimuE8j.js} +1 -1
- package/dist/components/{prism-rust-yPrYE0Hd.js → prism-rust-D4vfxUpk.js} +1 -1
- package/dist/components/{prism-typescript-C1NT9IBX.js → prism-typescript-Dy2F4cF2.js} +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +80 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.d.ts +5 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.d.ts.map +1 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.js +4 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.i18n.js.map +1 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +163 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts +2 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +151 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts +4 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.d.ts.map +1 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js +41 -0
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.template.js.map +1 -0
- package/dist/components/status-and-feedback/badge/badge.styles.js +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +18 -16
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +68 -63
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +42 -39
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +14 -14
- package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +6 -6
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +42 -42
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +57 -56
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +12 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/css/rich-text.css +43 -15
- package/dist/css/settings.css +27 -15
- package/dist/utilities/page-section-mixin.js +1 -1
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/visibility-mixin.d.ts +8 -4
- package/dist/utilities/visibility-mixin.d.ts.map +1 -1
- package/dist/utilities/visibility-mixin.js +36 -8
- package/dist/utilities/visibility-mixin.js.map +1 -1
- package/package.json +37 -28
- package/dist/components/lists-and-menus/cells/cell/cell.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/cell/cell.js.map +0 -1
- package/dist/components/lists-and-menus/cells/cell/cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js.map +0 -1
- package/dist/components/lists-and-menus/cells/cell/cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/cell/cell.template.js.map +0 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.js.map +0 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js.map +0 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.template.js.map +0 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.i18n.js.map +0 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.js.map +0 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.js.map +0 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.template.js.map +0 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js.map +0 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.styles.js.map +0 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.template.js.map +0 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js.map +0 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js.map +0 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.template.js.map +0 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.js.map +0 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +0 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.template.js.map +0 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.js.map +0 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.js.map +0 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.js.map +0 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.js.map +0 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +0 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.template.js.map +0 -1
- package/dist/components/lists-and-menus/list/list.d.ts.map +0 -1
- package/dist/components/lists-and-menus/list/list.i18n.d.ts.map +0 -1
- package/dist/components/lists-and-menus/list/list.i18n.js.map +0 -1
- package/dist/components/lists-and-menus/list/list.js.map +0 -1
- package/dist/components/lists-and-menus/list/list.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/list/list.styles.js.map +0 -1
- package/dist/components/lists-and-menus/list/list.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/list/list.template.js.map +0 -1
- package/dist/components/lists-and-menus/list-item/list-item.d.ts.map +0 -1
- package/dist/components/lists-and-menus/list-item/list-item.js.map +0 -1
- package/dist/components/lists-and-menus/list-item/list-item.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/list-item/list-item.styles.js.map +0 -1
- package/dist/components/lists-and-menus/list-item/list-item.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/list-item/list-item.template.js.map +0 -1
- package/dist/components/lists-and-menus/menu/menu.d.ts.map +0 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.d.ts.map +0 -1
- package/dist/components/lists-and-menus/menu/menu.i18n.js.map +0 -1
- package/dist/components/lists-and-menus/menu/menu.js.map +0 -1
- package/dist/components/lists-and-menus/menu/menu.styles.d.ts.map +0 -1
- package/dist/components/lists-and-menus/menu/menu.styles.js.map +0 -1
- package/dist/components/lists-and-menus/menu/menu.template.d.ts.map +0 -1
- package/dist/components/lists-and-menus/menu/menu.template.js.map +0 -1
- package/dist/components/status-and-feedback/progress/progress.d.ts +0 -77
- package/dist/components/status-and-feedback/progress/progress.d.ts.map +0 -1
- package/dist/components/status-and-feedback/progress/progress.i18n.d.ts +0 -5
- package/dist/components/status-and-feedback/progress/progress.i18n.d.ts.map +0 -1
- package/dist/components/status-and-feedback/progress/progress.i18n.js +0 -4
- package/dist/components/status-and-feedback/progress/progress.i18n.js.map +0 -1
- package/dist/components/status-and-feedback/progress/progress.js +0 -137
- package/dist/components/status-and-feedback/progress/progress.js.map +0 -1
- package/dist/components/status-and-feedback/progress/progress.styles.d.ts +0 -2
- package/dist/components/status-and-feedback/progress/progress.styles.d.ts.map +0 -1
- package/dist/components/status-and-feedback/progress/progress.styles.js +0 -59
- package/dist/components/status-and-feedback/progress/progress.styles.js.map +0 -1
- package/dist/components/status-and-feedback/progress/progress.template.d.ts +0 -4
- package/dist/components/status-and-feedback/progress/progress.template.d.ts.map +0 -1
- package/dist/components/status-and-feedback/progress/progress.template.js +0 -26
- package/dist/components/status-and-feedback/progress/progress.template.js.map +0 -1
- /package/dist/components/{lists-and-menus → actions}/menu/menu.i18n.d.ts +0 -0
- /package/dist/components/{lists-and-menus → actions}/menu/menu.i18n.js +0 -0
- /package/dist/components/{lists-and-menus → actions}/menu/menu.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → actions}/menu/menu.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → actions}/menu/menu.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/cell/cell.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/cell/cell.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/cell/cell.styles.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/cell/cell.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/cell/cell.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/description-cell/description-cell.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/description-cell/description-cell.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/description-cell/description-cell.styles.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/description-cell/description-cell.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/description-cell/description-cell.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/drag-handle-cell/drag-handle-cell.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/drag-handle-cell/drag-handle-cell.i18n.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/drag-handle-cell/drag-handle-cell.i18n.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/drag-handle-cell/drag-handle-cell.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/drag-handle-cell/drag-handle-cell.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/drag-handle-cell/drag-handle-cell.styles.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/drag-handle-cell/drag-handle-cell.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/drag-handle-cell/drag-handle-cell.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/icon-cell/icon-cell.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/icon-cell/icon-cell.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/icon-cell/icon-cell.styles.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/icon-cell/icon-cell.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/icon-cell/icon-cell.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/spacer-cell/spacer-cell.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/spacer-cell/spacer-cell.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/spacer-cell/spacer-cell.styles.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/spacer-cell/spacer-cell.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/spacer-cell/spacer-cell.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/text-cell/text-cell.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/text-cell/text-cell.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/text-cell/text-cell.styles.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/text-cell/text-cell.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/text-cell/text-cell.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/timeline-track-cell/timeline-track-cell.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/timeline-track-cell/timeline-track-cell.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/timeline-track-cell/timeline-track-cell.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/timeline-track-cell/timeline-track-cell.styles.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/timeline-track-cell/timeline-track-cell.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/timeline-track-cell/timeline-track-cell.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/title-cell/title-cell.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/title-cell/title-cell.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/title-cell/title-cell.styles.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/title-cell/title-cell.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/cells/title-cell/title-cell.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list/list.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list/list.i18n.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list/list.i18n.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list/list.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list/list.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list/list.template.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list-item/list-item.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list-item/list-item.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list-item/list-item.styles.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list-item/list-item.styles.js +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list-item/list-item.template.d.ts +0 -0
- /package/dist/components/{lists-and-menus → lists-and-tables}/list-item/list-item.template.js +0 -0
|
@@ -2,10 +2,10 @@ var _a, _b, _c;
|
|
|
2
2
|
import { css, nothing, html, LitElement, unsafeCSS, svg } from "lit";
|
|
3
3
|
import { property, state, customElement, query } from "lit/decorators.js";
|
|
4
4
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
5
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
5
6
|
import { computePosition, offset, flip, shift, autoUpdate, size } from "@floating-ui/dom";
|
|
6
7
|
import { repeat } from "lit/directives/repeat.js";
|
|
7
8
|
import { styleMap } from "lit/directives/style-map.js";
|
|
8
|
-
import { classMap } from "lit/directives/class-map.js";
|
|
9
9
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
10
10
|
import { unsafeStatic, html as html$1 } from "lit/static-html.js";
|
|
11
11
|
const slottedReset = css`
|
|
@@ -42,6 +42,7 @@ const buttonStyles = css`
|
|
|
42
42
|
|
|
43
43
|
${inheritedTextReset}
|
|
44
44
|
display: inline-block;
|
|
45
|
+
position: relative;
|
|
45
46
|
max-width: 100%;
|
|
46
47
|
user-select: none;
|
|
47
48
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -247,6 +248,11 @@ const buttonStyles = css`
|
|
|
247
248
|
color: var(--_is-active-content-color);
|
|
248
249
|
}
|
|
249
250
|
|
|
251
|
+
/* Loading keeps the control focusable (not disabled); activation is blocked in JS. */
|
|
252
|
+
:host([loading]) .button {
|
|
253
|
+
cursor: default;
|
|
254
|
+
}
|
|
255
|
+
|
|
250
256
|
.button:focus-visible {
|
|
251
257
|
outline: var(--semantics-focus-ring-outline);
|
|
252
258
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
@@ -258,7 +264,8 @@ const buttonStyles = css`
|
|
|
258
264
|
}
|
|
259
265
|
|
|
260
266
|
@media (prefers-reduced-motion: reduce) {
|
|
261
|
-
.button
|
|
267
|
+
.button,
|
|
268
|
+
.button__content {
|
|
262
269
|
transition: none;
|
|
263
270
|
}
|
|
264
271
|
}
|
|
@@ -267,7 +274,32 @@ const buttonStyles = css`
|
|
|
267
274
|
/* # Elements */
|
|
268
275
|
|
|
269
276
|
.button__content {
|
|
270
|
-
display:
|
|
277
|
+
display: inline-flex;
|
|
278
|
+
max-width: 100%;
|
|
279
|
+
min-width: 0;
|
|
280
|
+
align-items: center;
|
|
281
|
+
gap: var(--_gap);
|
|
282
|
+
transition: opacity var(--primitives-transition-duration-slow) var(--primitives-transition-easing-default);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/* Loading crossfades the content out (opacity, not visibility, so the button
|
|
286
|
+
keeps its accessible name) while the indicator fades in. The content stays
|
|
287
|
+
laid out, so the button keeps its width. */
|
|
288
|
+
:host([loading]) .button__content {
|
|
289
|
+
opacity: 0;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
/* Wrapper overlaid on the control, positioned against the host (which is
|
|
293
|
+
position:relative). It lives outside the <button>/<a> so the indicator's
|
|
294
|
+
role="status" live region announces loading without joining the button's
|
|
295
|
+
accessible name. The activity-indicator inside fills it and centres its
|
|
296
|
+
circle, which inherits the content color via currentColor. */
|
|
297
|
+
.button__activity-indicator {
|
|
298
|
+
position: absolute;
|
|
299
|
+
inset: 0;
|
|
300
|
+
/* Re-establish the content color here: the indicator lives outside
|
|
301
|
+
.button now, so its currentColor stroke can no longer inherit it. */
|
|
302
|
+
color: var(--_content-color);
|
|
271
303
|
}
|
|
272
304
|
|
|
273
305
|
::slotted(nldd-icon) {
|
|
@@ -327,6 +359,15 @@ function template$n(helpers) {
|
|
|
327
359
|
const content = renderContent$1(this);
|
|
328
360
|
const isDisclosure = this.expandable || !!this.popupType;
|
|
329
361
|
const ariaExpanded = isDisclosure ? String(this.expanded) : this.expanded ? "true" : nothing;
|
|
362
|
+
const ariaBusy = this.loading ? "true" : nothing;
|
|
363
|
+
const loadingIndicator = this.loading ? html`
|
|
364
|
+
<div class="button__activity-indicator">
|
|
365
|
+
<nldd-activity-indicator
|
|
366
|
+
timing="instant"
|
|
367
|
+
size=${this.size === "xs" ? "16" : this.size === "sm" ? "20" : "24"}
|
|
368
|
+
></nldd-activity-indicator>
|
|
369
|
+
</div>
|
|
370
|
+
` : nothing;
|
|
330
371
|
if (this.href) {
|
|
331
372
|
const resolvedRel = this._resolvedRel();
|
|
332
373
|
return html`
|
|
@@ -338,10 +379,12 @@ function template$n(helpers) {
|
|
|
338
379
|
aria-label=${this.accessibleLabel || nothing}
|
|
339
380
|
aria-haspopup=${this.popupType || nothing}
|
|
340
381
|
aria-expanded=${ariaExpanded}
|
|
382
|
+
aria-busy=${ariaBusy}
|
|
341
383
|
@click=${helpers.handleClick}
|
|
342
384
|
>
|
|
343
385
|
${content}
|
|
344
386
|
</a>
|
|
387
|
+
${loadingIndicator}
|
|
345
388
|
`;
|
|
346
389
|
}
|
|
347
390
|
return html`
|
|
@@ -352,6 +395,7 @@ function template$n(helpers) {
|
|
|
352
395
|
aria-label=${this.accessibleLabel || nothing}
|
|
353
396
|
aria-haspopup=${this.popupType || nothing}
|
|
354
397
|
aria-expanded=${ariaExpanded}
|
|
398
|
+
aria-busy=${ariaBusy}
|
|
355
399
|
popovertarget=${this.popovertarget || nothing}
|
|
356
400
|
.popoverTargetElement=${this.popoverTargetElement}
|
|
357
401
|
.popoverTargetAction=${this.popoverTargetAction}
|
|
@@ -359,6 +403,7 @@ function template$n(helpers) {
|
|
|
359
403
|
>
|
|
360
404
|
${content}
|
|
361
405
|
</button>
|
|
406
|
+
${loadingIndicator}
|
|
362
407
|
`;
|
|
363
408
|
}
|
|
364
409
|
const iconStyles = css`
|
|
@@ -466,6 +511,9 @@ const aliases = {
|
|
|
466
511
|
"notification": "bell",
|
|
467
512
|
"notifications": "bell",
|
|
468
513
|
"alarm": "bell",
|
|
514
|
+
// book
|
|
515
|
+
"guide": "book",
|
|
516
|
+
"read": "book",
|
|
469
517
|
// bookmark-filled
|
|
470
518
|
"bookmarked": "bookmark-filled",
|
|
471
519
|
// books-vertical
|
|
@@ -574,6 +622,8 @@ const aliases = {
|
|
|
574
622
|
// info-circle
|
|
575
623
|
"info": "info-circle",
|
|
576
624
|
"information": "info-circle",
|
|
625
|
+
// lightbulb
|
|
626
|
+
"idea": "lightbulb",
|
|
577
627
|
// link
|
|
578
628
|
"url": "link",
|
|
579
629
|
"hyperlink": "link",
|
|
@@ -711,6 +761,7 @@ const iconRegistry = /* @__PURE__ */ new Map([
|
|
|
711
761
|
["arrow-up-arrow-down", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="m7 3.586 5.707 5.707-1.414 1.414L8 7.414V20H6V7.414l-3.293 3.293-1.414-1.414zM18 4v12.586l3.293-3.293 1.414 1.414L17 20.414l-5.707-5.707 1.414-1.414L16 16.586V4z"/>\n</svg>'],
|
|
712
762
|
["bell", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 2a4 4 0 0 1 3.92 3.2A7 7 0 0 1 19 11v2a3 3 0 0 0 2.02 2.84c.52.18.98.6.98 1.16a1 1 0 0 1-1 1h-5a4 4 0 0 1-8 0H3a1 1 0 0 1-1-1c0-.55.46-.98.98-1.16A3 3 0 0 0 5 13v-2a7 7 0 0 1 3.08-5.8A4 4 0 0 1 12 2m-2 16a2 2 0 1 0 4 0zm2-14a2.02 2.02 0 0 0-1.96 2.4A5 5 0 0 0 7 11v2c0 1.13-.37 2.16-1 3h12c-.63-.84-1-1.87-1-3v-2a5 5 0 0 0-3.04-4.6A2.03 2.03 0 0 0 12 4"/>\n</svg>'],
|
|
713
763
|
["bold", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 2a6 6 0 0 1 4.9 9.45A5.98 5.98 0 0 1 13 22H5V2zM9 18h4a2 2 0 1 0 0-4H9zm0-8h3a2 2 0 1 0 0-4H9z"/>\n</svg>'],
|
|
764
|
+
["book", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M16.5 3C19.54 3 22 4.8 22 7v13.07c0 .7-1.08 1.07-1.65.66a6.6 6.6 0 0 0-7.61-.08 1.3 1.3 0 0 1-1.48 0 6.5 6.5 0 0 0-7.62.07c-.57.42-1.64.05-1.64-.65V7c0-2.2 2.46-4 5.5-4 1.86 0 3.5.67 4.5 1.7A6.3 6.3 0 0 1 16.5 3m-9 2C6.4 5 4 5.5 4 7v11.2c2.2-1 4.8-1 7 0V6.54A4.6 4.6 0 0 0 7.5 5m9 0c-1.43 0-2.54.55-3.5 1.54V18.2c2.2-1 4.8-1 7 0V7c0-1.5-2.4-2-3.5-2"/>\n</svg>'],
|
|
714
765
|
["bookmark", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M17 5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v13.65l3.05-2.61.21-.17a3 3 0 0 1 3.7.17L17 18.65zm2 15.83-.01.15a1 1 0 0 1-1.52.7l-.12-.1-4.7-4.02a1 1 0 0 0-1.3 0l-4.7 4.03a1 1 0 0 1-1.64-.6L5 20.82V5a3 3 0 0 1 3-3h8.15A3 3 0 0 1 19 5z"/>\n</svg>'],
|
|
715
766
|
["bookmark-filled", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M5 5a3 3 0 0 1 3-3h8a3 3 0 0 1 3 3v15.83a1 1 0 0 1-1.65.76l-4.7-4.03a1 1 0 0 0-1.3 0l-4.7 4.03A1 1 0 0 1 5 20.83z"/>\n</svg>'],
|
|
716
767
|
["books-vertical", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M6.5 17c.28 0 .5.22.5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-1c0-.28.22-.5.5-.5z"/>\n <path fill="currentColor" d="M13 1a2 2 0 0 1 2 2v2.92q.2-.07.4-.1l1.97-.36a2 2 0 0 1 2.31 1.63l2.13 12.05a2.07 2.07 0 0 1-1.62 2.32l-1.97.35a2.07 2.07 0 0 1-2.32-1.62l-.9-5.12V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7c0-1.1.9-2 2-2h4V3c0-1.1.9-2 2-2zM4 20h4V7H4zm6 0h3V3h-3zm5.75-12.22 2.12 12.06 1.97-.35-2.13-12.06z"/>\n</svg>'],
|
|
@@ -805,6 +856,7 @@ const iconRegistry = /* @__PURE__ */ new Map([
|
|
|
805
856
|
["info-circle", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M13 17.5h-2v-7h2zm-1-11A1.25 1.25 0 1 1 12 9a1.25 1.25 0 0 1 0-2.5"/>\n <path fill="currentColor" d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2m0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16"/>\n</svg>'],
|
|
806
857
|
["info-circle-filled", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20m-1 16h2v-8h-2zm1-12a1.25 1.25 0 1 0 0 2.5A1.25 1.25 0 0 0 12 6"/>\n</svg>'],
|
|
807
858
|
["italic", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M18 4h-2.821l-4.287 16H14v2H6v-2h2.821l4.287-16H10V2h8z"/>\n</svg>'],
|
|
859
|
+
["lightbulb", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M15 20a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2zm0-2a.5.5 0 0 1 0 1H9a.5.5 0 0 1 0-1zM12 2a7 7 0 0 1 4.6 12.27c-.36.32-.6.76-.6 1.25 0 .82-.66 1.48-1.48 1.48H9.48C8.66 17 8 16.36 8 15.52c0-.43-.19-.82-.48-1.13l-.13-.12A7 7 0 0 1 12 2m0 2a5 5 0 0 0-3.3 8.76c.6.53 1.12 1.3 1.26 2.24h4.08c.14-.94.65-1.71 1.25-2.24A5 5 0 0 0 12 4"/>\n</svg>'],
|
|
808
860
|
["link", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M14.47 9.53a5 5 0 0 1 0 7.07l-3.36 3.35a5 5 0 0 1-7.06-7.06l3.13-3.14c-.18.9-.15 1.85.09 2.74l-1.63 1.63a3 3 0 0 0 4.24 4.24l3.18-3.18a3 3 0 0 0-1.8-5.1 2 2 0 0 1 .39-.55l1.12-1.12q.94.36 1.7 1.12"/>\n <path fill="currentColor" d="M19.78 4.22a5 5 0 0 1 0 7.07l-2.96 2.96c.18-.9.15-1.85-.09-2.74l1.63-1.63a3 3 0 1 0-4.24-4.24l-3.18 3.18a3 3 0 0 0 1.8 5.1 2 2 0 0 1-.39.56l-1.12 1.11a4.98 4.98 0 0 1-1.88-8l3.36-3.37a5 5 0 0 1 7.07 0"/>\n</svg>'],
|
|
809
861
|
["list", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M2 5h20v2H2zm0 6h20v2H2zm0 6h20v2H2z"/>\n</svg>'],
|
|
810
862
|
["list-arrow-down", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M3 5h11v2H3zm16 0v10.586l2.293-2.293 1.414 1.414L18 19.414l-4.707-4.707 1.414-1.414L17 15.586V5zM3 11h9v2H3zm0 6h9v2H3z"/>\n</svg>'],
|
|
@@ -856,14 +908,14 @@ const iconRegistry = /* @__PURE__ */ new Map([
|
|
|
856
908
|
["trash", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" fill-rule="evenodd" d="M8 4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2h5v2h-1.08L19 19.046A3 3 0 0 1 16 22H8a3 3 0 0 1-3-2.954L4.08 8H3V6h5zM6.087 8l.91 10.917L7 19a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1l.003-.083L17.914 8zM14 6h-4V4h4zm-3 4v8H9v-8zm4 0v8h-2v-8z"/>\n</svg>'],
|
|
857
909
|
["underlined", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M20 22H4v-2h16zM8 13c0 1.33 1.43 3 4 3s4-1.67 4-3V2h2v11c0 2.76-2.69 5-6 5s-6-2.24-6-5V2h2z"/>\n</svg>']
|
|
858
910
|
]);
|
|
859
|
-
var __defProp$
|
|
860
|
-
var __getOwnPropDesc$
|
|
861
|
-
var __decorateClass$
|
|
862
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
911
|
+
var __defProp$1q = Object.defineProperty;
|
|
912
|
+
var __getOwnPropDesc$1n = Object.getOwnPropertyDescriptor;
|
|
913
|
+
var __decorateClass$1r = (decorators, target, key, kind) => {
|
|
914
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1n(target, key) : target;
|
|
863
915
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
864
916
|
if (decorator = decorators[i])
|
|
865
917
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
866
|
-
if (kind && result) __defProp$
|
|
918
|
+
if (kind && result) __defProp$1q(target, key, result);
|
|
867
919
|
return result;
|
|
868
920
|
};
|
|
869
921
|
[
|
|
@@ -903,21 +955,308 @@ let NLDDIcon = class extends LitElement {
|
|
|
903
955
|
}
|
|
904
956
|
};
|
|
905
957
|
NLDDIcon.styles = iconStyles;
|
|
906
|
-
__decorateClass$
|
|
958
|
+
__decorateClass$1r([
|
|
907
959
|
property({ type: String })
|
|
908
960
|
], NLDDIcon.prototype, "name", 2);
|
|
909
|
-
__decorateClass$
|
|
961
|
+
__decorateClass$1r([
|
|
910
962
|
property({ type: String, reflect: true })
|
|
911
963
|
], NLDDIcon.prototype, "size", 2);
|
|
912
|
-
__decorateClass$
|
|
964
|
+
__decorateClass$1r([
|
|
913
965
|
property({ type: String, reflect: true })
|
|
914
966
|
], NLDDIcon.prototype, "color", 2);
|
|
915
|
-
__decorateClass$
|
|
967
|
+
__decorateClass$1r([
|
|
916
968
|
state()
|
|
917
969
|
], NLDDIcon.prototype, "_iconSvg", 2);
|
|
918
|
-
NLDDIcon = __decorateClass$
|
|
970
|
+
NLDDIcon = __decorateClass$1r([
|
|
919
971
|
customElement("nldd-icon")
|
|
920
972
|
], NLDDIcon);
|
|
973
|
+
const activityIndicatorStyles = css`
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
/* # Host */
|
|
977
|
+
|
|
978
|
+
:host {
|
|
979
|
+
--_circle-size: var(--primitives-space-32);
|
|
980
|
+
--_track-opacity: 0.25;
|
|
981
|
+
--_stroke-width: 2;
|
|
982
|
+
--_rotation-duration: 0.8s;
|
|
983
|
+
--_fade-duration: var(--primitives-transition-duration-slow);
|
|
984
|
+
--_fade-easing: ease-out;
|
|
985
|
+
--_pulse-duration: 2s;
|
|
986
|
+
--_pulse-easing: ease-in-out;
|
|
987
|
+
--_max-width: var(--primitives-area-240);
|
|
988
|
+
--_gap: var(--primitives-space-4);
|
|
989
|
+
--_text-font: var(--primitives-font-body-sm-regular-flat);
|
|
990
|
+
|
|
991
|
+
${inheritedTextReset}
|
|
992
|
+
box-sizing: border-box;
|
|
993
|
+
display: flex;
|
|
994
|
+
flex-grow: 1;
|
|
995
|
+
flex-shrink: 1;
|
|
996
|
+
flex-basis: auto;
|
|
997
|
+
width: 100%;
|
|
998
|
+
height: 100%;
|
|
999
|
+
align-items: center;
|
|
1000
|
+
justify-content: center;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
:host([hidden]) {
|
|
1004
|
+
display: none;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
/* ## Sizes (icon scale) */
|
|
1009
|
+
|
|
1010
|
+
:host([size="16"]) { --_circle-size: var(--primitives-space-16); }
|
|
1011
|
+
:host([size="20"]) { --_circle-size: var(--primitives-space-20); }
|
|
1012
|
+
:host([size="24"]) { --_circle-size: var(--primitives-space-24); }
|
|
1013
|
+
:host([size="28"]) { --_circle-size: var(--primitives-space-28); }
|
|
1014
|
+
:host([size="32"]) { --_circle-size: var(--primitives-space-32); }
|
|
1015
|
+
:host([size="40"]) { --_circle-size: var(--primitives-space-40); }
|
|
1016
|
+
:host([size="44"]) { --_circle-size: var(--primitives-space-44); }
|
|
1017
|
+
:host([size="48"]) { --_circle-size: var(--primitives-space-48); }
|
|
1018
|
+
:host([size="56"]) { --_circle-size: var(--primitives-space-56); }
|
|
1019
|
+
:host([size="64"]) { --_circle-size: var(--primitives-space-64); }
|
|
1020
|
+
:host([size="80"]) { --_circle-size: var(--primitives-space-80); }
|
|
1021
|
+
:host([size="96"]) { --_circle-size: var(--primitives-space-96); }
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
/* # Block
|
|
1025
|
+
Fades the indicator in once it becomes visible (both timing modes), and
|
|
1026
|
+
stacks the default circle + label as a centred column. width:100% +
|
|
1027
|
+
max-width gives a slotted progress-bar a width to fill; the fixed-size
|
|
1028
|
+
circle and the label stay centred via align-items. */
|
|
1029
|
+
|
|
1030
|
+
.activity-indicator {
|
|
1031
|
+
display: flex;
|
|
1032
|
+
flex-direction: column;
|
|
1033
|
+
width: 100%;
|
|
1034
|
+
max-width: var(--_max-width);
|
|
1035
|
+
align-items: center;
|
|
1036
|
+
gap: var(--_gap);
|
|
1037
|
+
animation: activity-indicator-fade-in var(--_fade-duration) var(--_fade-easing);
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
@keyframes activity-indicator-fade-in {
|
|
1041
|
+
from { opacity: 0; }
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/* display:contents so the default circle + label (or a slotted override)
|
|
1045
|
+
are direct flex items of the block. */
|
|
1046
|
+
slot {
|
|
1047
|
+
display: contents;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
/* # Elements */
|
|
1052
|
+
|
|
1053
|
+
/* The whole SVG (stroke included) scales with the size, like an icon. */
|
|
1054
|
+
.activity-indicator__circle {
|
|
1055
|
+
display: block;
|
|
1056
|
+
width: var(--_circle-size);
|
|
1057
|
+
height: var(--_circle-size);
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
.activity-indicator__track {
|
|
1061
|
+
opacity: var(--_track-opacity);
|
|
1062
|
+
stroke: currentColor;
|
|
1063
|
+
stroke-width: var(--_stroke-width);
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
/* Rotate only the arc inside the SVG (around the view-box centre via
|
|
1067
|
+
transform-origin) rather than the whole <svg> element — rotating the
|
|
1068
|
+
element visibly wobbles when it sits at a sub-pixel position (next to a
|
|
1069
|
+
label, or overlaid on a button). Mirrors nldd-progress-circle. */
|
|
1070
|
+
.activity-indicator__indicator {
|
|
1071
|
+
stroke: currentColor;
|
|
1072
|
+
stroke-width: var(--_stroke-width);
|
|
1073
|
+
stroke-linecap: round;
|
|
1074
|
+
stroke-dasharray: 25 100;
|
|
1075
|
+
transform-origin: 50% 50%;
|
|
1076
|
+
animation: activity-indicator-rotate var(--_rotation-duration) linear infinite;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
@keyframes activity-indicator-rotate {
|
|
1080
|
+
to { transform: rotate(360deg); }
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
.activity-indicator__text {
|
|
1084
|
+
color: currentColor;
|
|
1085
|
+
font: var(--_text-font);
|
|
1086
|
+
text-align: center;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/* show-text off (default): the label still renders as the announced
|
|
1090
|
+
content of the role="status" host, but is visually hidden.
|
|
1091
|
+
Standard visually-hidden recipe. */
|
|
1092
|
+
.activity-indicator__text--visually-hidden {
|
|
1093
|
+
position: absolute;
|
|
1094
|
+
width: 1px;
|
|
1095
|
+
height: 1px;
|
|
1096
|
+
overflow: hidden;
|
|
1097
|
+
clip-path: inset(50%);
|
|
1098
|
+
white-space: nowrap;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
/* # Accessibility */
|
|
1103
|
+
|
|
1104
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1105
|
+
.activity-indicator {
|
|
1106
|
+
animation: none;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
.activity-indicator__indicator {
|
|
1110
|
+
/* Drop the rotation (vestibular safety); keep the 25 / 100 arc and
|
|
1111
|
+
pulse its opacity instead, mirroring nldd-progress-circle. */
|
|
1112
|
+
animation: activity-indicator-pulse var(--_pulse-duration) var(--_pulse-easing) infinite;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
@keyframes activity-indicator-pulse {
|
|
1116
|
+
0%, 100% { opacity: 0.3; }
|
|
1117
|
+
50% { opacity: 0.7; }
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
`;
|
|
1121
|
+
function activityIndicatorTemplate(component) {
|
|
1122
|
+
if (!component._visible || component.complete) return nothing;
|
|
1123
|
+
const text = component._accessibleName;
|
|
1124
|
+
return html`
|
|
1125
|
+
<div class="activity-indicator">
|
|
1126
|
+
<slot>
|
|
1127
|
+
<svg class="activity-indicator__circle"
|
|
1128
|
+
viewBox="0 0 24 24"
|
|
1129
|
+
fill="none"
|
|
1130
|
+
aria-hidden="true"
|
|
1131
|
+
focusable="false"
|
|
1132
|
+
>
|
|
1133
|
+
<circle class="activity-indicator__track"
|
|
1134
|
+
cx="12"
|
|
1135
|
+
cy="12"
|
|
1136
|
+
r="9"
|
|
1137
|
+
></circle>
|
|
1138
|
+
<circle class="activity-indicator__indicator"
|
|
1139
|
+
cx="12"
|
|
1140
|
+
cy="12"
|
|
1141
|
+
r="9"
|
|
1142
|
+
pathLength="100"
|
|
1143
|
+
></circle>
|
|
1144
|
+
</svg>
|
|
1145
|
+
<span class=${classMap({
|
|
1146
|
+
"activity-indicator__text": true,
|
|
1147
|
+
"activity-indicator__text--visually-hidden": !component.showText
|
|
1148
|
+
})}>${text}</span>
|
|
1149
|
+
</slot>
|
|
1150
|
+
</div>
|
|
1151
|
+
`;
|
|
1152
|
+
}
|
|
1153
|
+
const nlddActivityIndicatorTranslations = {
|
|
1154
|
+
"components.activity-indicator.loading-text": "Laden"
|
|
1155
|
+
};
|
|
1156
|
+
var __defProp$1p = Object.defineProperty;
|
|
1157
|
+
var __getOwnPropDesc$1m = Object.getOwnPropertyDescriptor;
|
|
1158
|
+
var __decorateClass$1q = (decorators, target, key, kind) => {
|
|
1159
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1m(target, key) : target;
|
|
1160
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
1161
|
+
if (decorator = decorators[i])
|
|
1162
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
1163
|
+
if (kind && result) __defProp$1p(target, key, result);
|
|
1164
|
+
return result;
|
|
1165
|
+
};
|
|
1166
|
+
const DELAY_MS = 1e3;
|
|
1167
|
+
let NLDDActivityIndicator = class extends LitElement {
|
|
1168
|
+
constructor() {
|
|
1169
|
+
super(...arguments);
|
|
1170
|
+
this.size = "32";
|
|
1171
|
+
this.showText = false;
|
|
1172
|
+
this.text = "";
|
|
1173
|
+
this.timing = "default";
|
|
1174
|
+
this.complete = false;
|
|
1175
|
+
this.translations = {};
|
|
1176
|
+
this._visible = false;
|
|
1177
|
+
}
|
|
1178
|
+
_t(key) {
|
|
1179
|
+
return this.translations[key] ?? nlddActivityIndicatorTranslations[key];
|
|
1180
|
+
}
|
|
1181
|
+
/** Accessible name announced while loading. */
|
|
1182
|
+
get _accessibleName() {
|
|
1183
|
+
return this.text || this._t("components.activity-indicator.loading-text");
|
|
1184
|
+
}
|
|
1185
|
+
connectedCallback() {
|
|
1186
|
+
super.connectedCallback();
|
|
1187
|
+
this._syncAria();
|
|
1188
|
+
this._visible = this.timing === "instant";
|
|
1189
|
+
if (!this._visible && !this.complete) this._scheduleDelay();
|
|
1190
|
+
}
|
|
1191
|
+
willUpdate(changed) {
|
|
1192
|
+
if (changed.has("complete")) {
|
|
1193
|
+
this._syncAria();
|
|
1194
|
+
}
|
|
1195
|
+
if (changed.has("timing")) {
|
|
1196
|
+
this._clearDelay();
|
|
1197
|
+
if (this.timing === "instant") {
|
|
1198
|
+
this._visible = true;
|
|
1199
|
+
} else if (!this._visible && !this.complete) {
|
|
1200
|
+
this._scheduleDelay();
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
disconnectedCallback() {
|
|
1205
|
+
super.disconnectedCallback();
|
|
1206
|
+
this._clearDelay();
|
|
1207
|
+
}
|
|
1208
|
+
_clearDelay() {
|
|
1209
|
+
if (this._delayTimeout) {
|
|
1210
|
+
clearTimeout(this._delayTimeout);
|
|
1211
|
+
this._delayTimeout = void 0;
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
_scheduleDelay() {
|
|
1215
|
+
this._delayTimeout = setTimeout(() => {
|
|
1216
|
+
this._visible = true;
|
|
1217
|
+
this._delayTimeout = void 0;
|
|
1218
|
+
}, DELAY_MS);
|
|
1219
|
+
}
|
|
1220
|
+
/** A polite live region (role="status") while loading; cleared when
|
|
1221
|
+
* complete. The announced text is the visually-hidden label rendered by
|
|
1222
|
+
* the template — not an aria-label, and without aria-busy, since a busy
|
|
1223
|
+
* live region would defer the very announcement we want. */
|
|
1224
|
+
_syncAria() {
|
|
1225
|
+
if (this.complete) {
|
|
1226
|
+
this.removeAttribute("role");
|
|
1227
|
+
} else {
|
|
1228
|
+
this.setAttribute("role", "status");
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
render() {
|
|
1232
|
+
return activityIndicatorTemplate(this);
|
|
1233
|
+
}
|
|
1234
|
+
};
|
|
1235
|
+
NLDDActivityIndicator.styles = activityIndicatorStyles;
|
|
1236
|
+
__decorateClass$1q([
|
|
1237
|
+
property({ type: String, reflect: true })
|
|
1238
|
+
], NLDDActivityIndicator.prototype, "size", 2);
|
|
1239
|
+
__decorateClass$1q([
|
|
1240
|
+
property({ type: Boolean, reflect: true, attribute: "show-text" })
|
|
1241
|
+
], NLDDActivityIndicator.prototype, "showText", 2);
|
|
1242
|
+
__decorateClass$1q([
|
|
1243
|
+
property({ type: String, reflect: true })
|
|
1244
|
+
], NLDDActivityIndicator.prototype, "text", 2);
|
|
1245
|
+
__decorateClass$1q([
|
|
1246
|
+
property({ type: String, reflect: true })
|
|
1247
|
+
], NLDDActivityIndicator.prototype, "timing", 2);
|
|
1248
|
+
__decorateClass$1q([
|
|
1249
|
+
property({ type: Boolean, reflect: true })
|
|
1250
|
+
], NLDDActivityIndicator.prototype, "complete", 2);
|
|
1251
|
+
__decorateClass$1q([
|
|
1252
|
+
property({ type: Object })
|
|
1253
|
+
], NLDDActivityIndicator.prototype, "translations", 2);
|
|
1254
|
+
__decorateClass$1q([
|
|
1255
|
+
state()
|
|
1256
|
+
], NLDDActivityIndicator.prototype, "_visible", 2);
|
|
1257
|
+
NLDDActivityIndicator = __decorateClass$1q([
|
|
1258
|
+
customElement("nldd-activity-indicator")
|
|
1259
|
+
], NLDDActivityIndicator);
|
|
921
1260
|
var __defProp$1o = Object.defineProperty;
|
|
922
1261
|
var __getOwnPropDesc$1l = Object.getOwnPropertyDescriptor;
|
|
923
1262
|
var __decorateClass$1p = (decorators, target, key, kind) => {
|
|
@@ -941,6 +1280,7 @@ let NLDDButton = class extends LitElement {
|
|
|
941
1280
|
this.popovertarget = void 0;
|
|
942
1281
|
this.popoverTargetElement = null;
|
|
943
1282
|
this.popoverTargetAction = "toggle";
|
|
1283
|
+
this.loading = false;
|
|
944
1284
|
this.disabled = false;
|
|
945
1285
|
this.text = "";
|
|
946
1286
|
this.singleLine = false;
|
|
@@ -970,7 +1310,7 @@ let NLDDButton = class extends LitElement {
|
|
|
970
1310
|
}
|
|
971
1311
|
}
|
|
972
1312
|
_handleClick(e) {
|
|
973
|
-
if (this.disabled) {
|
|
1313
|
+
if (this.disabled || this.loading) {
|
|
974
1314
|
e.preventDefault();
|
|
975
1315
|
e.stopPropagation();
|
|
976
1316
|
return;
|
|
@@ -1030,6 +1370,9 @@ __decorateClass$1p([
|
|
|
1030
1370
|
__decorateClass$1p([
|
|
1031
1371
|
property({ attribute: false })
|
|
1032
1372
|
], NLDDButton.prototype, "popoverTargetAction", 2);
|
|
1373
|
+
__decorateClass$1p([
|
|
1374
|
+
property({ type: Boolean, reflect: true })
|
|
1375
|
+
], NLDDButton.prototype, "loading", 2);
|
|
1033
1376
|
__decorateClass$1p([
|
|
1034
1377
|
property({ type: Boolean, reflect: true })
|
|
1035
1378
|
], NLDDButton.prototype, "disabled", 2);
|
|
@@ -1084,6 +1427,7 @@ const iconButtonStyles = css`
|
|
|
1084
1427
|
|
|
1085
1428
|
${inheritedTextReset}
|
|
1086
1429
|
display: inline-block;
|
|
1430
|
+
position: relative;
|
|
1087
1431
|
max-width: 100%;
|
|
1088
1432
|
user-select: none;
|
|
1089
1433
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -1276,7 +1620,9 @@ const iconButtonStyles = css`
|
|
|
1276
1620
|
}
|
|
1277
1621
|
|
|
1278
1622
|
@media (prefers-reduced-motion: reduce) {
|
|
1279
|
-
.icon-button
|
|
1623
|
+
.icon-button,
|
|
1624
|
+
.icon-button__icon-area,
|
|
1625
|
+
.icon-button__text {
|
|
1280
1626
|
transition: none;
|
|
1281
1627
|
}
|
|
1282
1628
|
}
|
|
@@ -1303,6 +1649,11 @@ const iconButtonStyles = css`
|
|
|
1303
1649
|
color: var(--_is-active-content-color);
|
|
1304
1650
|
}
|
|
1305
1651
|
|
|
1652
|
+
/* Loading keeps the control focusable (not disabled); activation is blocked in JS. */
|
|
1653
|
+
:host([loading]) .icon-button {
|
|
1654
|
+
cursor: default;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1306
1657
|
|
|
1307
1658
|
/* # Elements */
|
|
1308
1659
|
|
|
@@ -1311,6 +1662,14 @@ const iconButtonStyles = css`
|
|
|
1311
1662
|
flex-direction: row;
|
|
1312
1663
|
align-items: center;
|
|
1313
1664
|
justify-content: center;
|
|
1665
|
+
transition: opacity var(--primitives-transition-duration-slow) var(--primitives-transition-easing-default);
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
/* Loading crossfades the content out (opacity, not visibility, so the control
|
|
1669
|
+
keeps its accessible name) while the indicator fades in. The content stays
|
|
1670
|
+
laid out, so the control keeps its size. */
|
|
1671
|
+
:host([loading]) .icon-button__icon-area {
|
|
1672
|
+
opacity: 0;
|
|
1314
1673
|
}
|
|
1315
1674
|
|
|
1316
1675
|
.icon-button__icon {
|
|
@@ -1336,6 +1695,24 @@ const iconButtonStyles = css`
|
|
|
1336
1695
|
color: inherit;
|
|
1337
1696
|
font: var(--_text-font);
|
|
1338
1697
|
white-space: nowrap;
|
|
1698
|
+
transition: opacity var(--primitives-transition-duration-slow) var(--primitives-transition-easing-default);
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
:host([loading]) .icon-button__text {
|
|
1702
|
+
opacity: 0;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
/* Wrapper overlaid on the control, positioned against the host (which is
|
|
1706
|
+
position:relative). It lives outside the <button>/<a> and the tooltip
|
|
1707
|
+
wrapper so the indicator's role="status" live region works reliably. The
|
|
1708
|
+
activity-indicator inside fills it and centres its circle, which inherits
|
|
1709
|
+
the content color via currentColor. */
|
|
1710
|
+
.icon-button__activity-indicator {
|
|
1711
|
+
position: absolute;
|
|
1712
|
+
inset: 0;
|
|
1713
|
+
/* Re-establish the content color here: the indicator lives outside
|
|
1714
|
+
.icon-button now, so its currentColor stroke can no longer inherit it. */
|
|
1715
|
+
color: var(--_content-color);
|
|
1339
1716
|
}
|
|
1340
1717
|
`;
|
|
1341
1718
|
const tooltipStyles = css`
|
|
@@ -1759,6 +2136,16 @@ function template$l() {
|
|
|
1759
2136
|
const tooltipText = this.accessibleLabel || (this.size !== "lg" ? this.text : "");
|
|
1760
2137
|
const isDisclosure = this.expandable || !!this.popupType;
|
|
1761
2138
|
const ariaExpanded = isDisclosure ? String(this.expanded) : this.expanded ? "true" : nothing;
|
|
2139
|
+
const ariaBusy = this.loading ? "true" : nothing;
|
|
2140
|
+
const loadingSize = this.size === "xs" ? "16" : this.size === "sm" ? "20" : this.size === "lg" ? "28" : "24";
|
|
2141
|
+
const loadingIndicator = this.loading ? html`
|
|
2142
|
+
<div class="icon-button__activity-indicator">
|
|
2143
|
+
<nldd-activity-indicator
|
|
2144
|
+
timing="instant"
|
|
2145
|
+
size=${loadingSize}
|
|
2146
|
+
></nldd-activity-indicator>
|
|
2147
|
+
</div>
|
|
2148
|
+
` : nothing;
|
|
1762
2149
|
const renderButton = () => {
|
|
1763
2150
|
if (this.href) {
|
|
1764
2151
|
const resolvedRel = this._resolvedRel();
|
|
@@ -1771,6 +2158,7 @@ function template$l() {
|
|
|
1771
2158
|
aria-label=${label}
|
|
1772
2159
|
aria-haspopup=${this.popupType || nothing}
|
|
1773
2160
|
aria-expanded=${ariaExpanded}
|
|
2161
|
+
aria-busy=${ariaBusy}
|
|
1774
2162
|
@click=${this._handleClick}
|
|
1775
2163
|
>
|
|
1776
2164
|
${content}
|
|
@@ -1785,6 +2173,7 @@ function template$l() {
|
|
|
1785
2173
|
aria-label=${label}
|
|
1786
2174
|
aria-haspopup=${this.popupType || nothing}
|
|
1787
2175
|
aria-expanded=${ariaExpanded}
|
|
2176
|
+
aria-busy=${ariaBusy}
|
|
1788
2177
|
popovertarget=${this.popovertarget || nothing}
|
|
1789
2178
|
.popoverTargetElement=${this.popoverTargetElement}
|
|
1790
2179
|
.popoverTargetAction=${this.popoverTargetAction}
|
|
@@ -1794,14 +2183,12 @@ function template$l() {
|
|
|
1794
2183
|
</button>
|
|
1795
2184
|
`;
|
|
1796
2185
|
};
|
|
1797
|
-
|
|
1798
|
-
return html`
|
|
2186
|
+
const control = tooltipText && this.tooltipTiming !== "never" ? html`
|
|
1799
2187
|
<nldd-tooltip text=${tooltipText} timing=${this.tooltipTiming}>
|
|
1800
2188
|
${renderButton()}
|
|
1801
2189
|
</nldd-tooltip>
|
|
1802
|
-
|
|
1803
|
-
}
|
|
1804
|
-
return renderButton();
|
|
2190
|
+
` : renderButton();
|
|
2191
|
+
return html`${control}${loadingIndicator}`;
|
|
1805
2192
|
}
|
|
1806
2193
|
var __defProp$1m = Object.defineProperty;
|
|
1807
2194
|
var __getOwnPropDesc$1j = Object.getOwnPropertyDescriptor;
|
|
@@ -1819,6 +2206,7 @@ let NLDDIconButton = class extends LitElement {
|
|
|
1819
2206
|
this._internals = this.attachInternals();
|
|
1820
2207
|
this.variant = "neutral-tinted";
|
|
1821
2208
|
this.size = "md";
|
|
2209
|
+
this.loading = false;
|
|
1822
2210
|
this.disabled = false;
|
|
1823
2211
|
this.type = "button";
|
|
1824
2212
|
this.expandable = false;
|
|
@@ -1866,7 +2254,7 @@ let NLDDIconButton = class extends LitElement {
|
|
|
1866
2254
|
return "";
|
|
1867
2255
|
}
|
|
1868
2256
|
_handleClick(e) {
|
|
1869
|
-
if (this.disabled) {
|
|
2257
|
+
if (this.disabled || this.loading) {
|
|
1870
2258
|
e.preventDefault();
|
|
1871
2259
|
e.stopPropagation();
|
|
1872
2260
|
return;
|
|
@@ -1894,6 +2282,9 @@ __decorateClass$1n([
|
|
|
1894
2282
|
__decorateClass$1n([
|
|
1895
2283
|
property({ type: String, reflect: true })
|
|
1896
2284
|
], NLDDIconButton.prototype, "size", 2);
|
|
2285
|
+
__decorateClass$1n([
|
|
2286
|
+
property({ type: Boolean, reflect: true })
|
|
2287
|
+
], NLDDIconButton.prototype, "loading", 2);
|
|
1897
2288
|
__decorateClass$1n([
|
|
1898
2289
|
property({ type: Boolean, reflect: true })
|
|
1899
2290
|
], NLDDIconButton.prototype, "disabled", 2);
|
|
@@ -2103,7 +2494,7 @@ const menuStyles = css`
|
|
|
2103
2494
|
box-sizing: border-box;
|
|
2104
2495
|
border-radius: var(--semantics-overlays-corner-radius);
|
|
2105
2496
|
box-shadow: var(--components-menu-box-shadow);
|
|
2106
|
-
background: var(--semantics-surfaces-background-color);
|
|
2497
|
+
background: var(--semantics-surfaces-base-background-color);
|
|
2107
2498
|
width: var(--_width);
|
|
2108
2499
|
padding: var(--_padding);
|
|
2109
2500
|
flex-direction: column;
|
|
@@ -2617,6 +3008,12 @@ function template$j() {
|
|
|
2617
3008
|
${this.icon ? html`<nldd-icon name=${this.icon}></nldd-icon>` : html`<slot></slot>`}
|
|
2618
3009
|
`;
|
|
2619
3010
|
}
|
|
3011
|
+
const breakpoints = {
|
|
3012
|
+
smMax: "640px",
|
|
3013
|
+
mdMin: "641px",
|
|
3014
|
+
mdMax: "1007px",
|
|
3015
|
+
lgMin: "1008px"
|
|
3016
|
+
};
|
|
2620
3017
|
var __defProp$1l = Object.defineProperty;
|
|
2621
3018
|
var __decorateClass$1m = (decorators, target, key, kind) => {
|
|
2622
3019
|
var result = void 0;
|
|
@@ -2626,6 +3023,18 @@ var __decorateClass$1m = (decorators, target, key, kind) => {
|
|
|
2626
3023
|
if (result) __defProp$1l(target, key, result);
|
|
2627
3024
|
return result;
|
|
2628
3025
|
};
|
|
3026
|
+
function resolveHideBelow(value) {
|
|
3027
|
+
if (value === "md") return breakpoints.smMax;
|
|
3028
|
+
if (value === "lg") return breakpoints.mdMax;
|
|
3029
|
+
if (value === "sm") return null;
|
|
3030
|
+
return value;
|
|
3031
|
+
}
|
|
3032
|
+
function resolveHideAbove(value) {
|
|
3033
|
+
if (value === "sm") return breakpoints.mdMin;
|
|
3034
|
+
if (value === "md") return breakpoints.lgMin;
|
|
3035
|
+
if (value === "lg") return null;
|
|
3036
|
+
return value;
|
|
3037
|
+
}
|
|
2629
3038
|
function VisibilityMixin(Base, containerName) {
|
|
2630
3039
|
class WithVisibility extends Base {
|
|
2631
3040
|
updated(changed) {
|
|
@@ -2638,14 +3047,16 @@ function VisibilityMixin(Base, containerName) {
|
|
|
2638
3047
|
if (!this.shadowRoot) return;
|
|
2639
3048
|
const containerPrefix = `${containerName} `;
|
|
2640
3049
|
const rules = [];
|
|
2641
|
-
|
|
3050
|
+
const below = this.hideBelow ? resolveHideBelow(this.hideBelow) : null;
|
|
3051
|
+
if (below) {
|
|
2642
3052
|
rules.push(
|
|
2643
|
-
`:host { @container ${containerPrefix}(max-width: ${
|
|
3053
|
+
`:host { @container ${containerPrefix}(max-width: ${below}) { display: none !important; } }`
|
|
2644
3054
|
);
|
|
2645
3055
|
}
|
|
2646
|
-
|
|
3056
|
+
const above = this.hideAbove ? resolveHideAbove(this.hideAbove) : null;
|
|
3057
|
+
if (above) {
|
|
2647
3058
|
rules.push(
|
|
2648
|
-
`:host { @container ${containerPrefix}(min-width: ${
|
|
3059
|
+
`:host { @container ${containerPrefix}(min-width: ${above}) { display: none !important; } }`
|
|
2649
3060
|
);
|
|
2650
3061
|
}
|
|
2651
3062
|
if (rules.length === 0) {
|
|
@@ -2678,7 +3089,7 @@ var __decorateClass$1l = (decorators, target, key, kind) => {
|
|
|
2678
3089
|
if (kind && result) __defProp$1k(target, key, result);
|
|
2679
3090
|
return result;
|
|
2680
3091
|
};
|
|
2681
|
-
let NLDDIconCell = class extends VisibilityMixin(LitElement, "
|
|
3092
|
+
let NLDDIconCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
2682
3093
|
constructor() {
|
|
2683
3094
|
super(...arguments);
|
|
2684
3095
|
this.verticalAlignment = "center";
|
|
@@ -2762,7 +3173,7 @@ var __decorateClass$1k = (decorators, target, key, kind) => {
|
|
|
2762
3173
|
if (kind && result) __defProp$1j(target, key, result);
|
|
2763
3174
|
return result;
|
|
2764
3175
|
};
|
|
2765
|
-
let NLDDSpacerCell = class extends VisibilityMixin(LitElement, "
|
|
3176
|
+
let NLDDSpacerCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
2766
3177
|
constructor() {
|
|
2767
3178
|
super(...arguments);
|
|
2768
3179
|
this.size = "16";
|
|
@@ -3009,7 +3420,7 @@ var __decorateClass$1j = (decorators, target, key, kind) => {
|
|
|
3009
3420
|
if (kind && result) __defProp$1i(target, key, result);
|
|
3010
3421
|
return result;
|
|
3011
3422
|
};
|
|
3012
|
-
let NLDDTextCell = class extends VisibilityMixin(LitElement, "
|
|
3423
|
+
let NLDDTextCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
3013
3424
|
constructor() {
|
|
3014
3425
|
super(...arguments);
|
|
3015
3426
|
this.size = "md";
|
|
@@ -3483,12 +3894,6 @@ __decorateClass$1h([
|
|
|
3483
3894
|
NLDDInlineDialog = __decorateClass$1h([
|
|
3484
3895
|
customElement("nldd-inline-dialog")
|
|
3485
3896
|
], NLDDInlineDialog);
|
|
3486
|
-
const breakpoints = {
|
|
3487
|
-
smMax: "640px",
|
|
3488
|
-
mdMin: "641px",
|
|
3489
|
-
mdMax: "1007px",
|
|
3490
|
-
lgMin: "1008px"
|
|
3491
|
-
};
|
|
3492
3897
|
var __defProp$1f = Object.defineProperty;
|
|
3493
3898
|
var __decorateClass$1g = (decorators, target, key, kind) => {
|
|
3494
3899
|
var result = void 0;
|
|
@@ -9078,8 +9483,8 @@ const codeViewerStyles = css`
|
|
|
9078
9483
|
}
|
|
9079
9484
|
|
|
9080
9485
|
:host([background="base"]) {
|
|
9081
|
-
--_background-color: var(--semantics-surfaces-background-color);
|
|
9082
|
-
--_border-color: var(--semantics-surfaces-border-color);
|
|
9486
|
+
--_background-color: var(--semantics-surfaces-base-background-color);
|
|
9487
|
+
--_border-color: var(--semantics-surfaces-base-border-color);
|
|
9083
9488
|
}
|
|
9084
9489
|
|
|
9085
9490
|
/* variant="simple" drops the entire frame (no rounded corners, no
|
|
@@ -9174,15 +9579,9 @@ const codeViewerStyles = css`
|
|
|
9174
9579
|
position: absolute;
|
|
9175
9580
|
top: var(--_actions-area-padding);
|
|
9176
9581
|
right: var(--_actions-area-padding);
|
|
9177
|
-
bottom: var(--_actions-area-padding);
|
|
9178
9582
|
z-index: var(--_actions-z-index);
|
|
9179
9583
|
}
|
|
9180
9584
|
|
|
9181
|
-
.code-viewer__copy-button {
|
|
9182
|
-
position: sticky;
|
|
9183
|
-
top: var(--_actions-area-padding);
|
|
9184
|
-
}
|
|
9185
|
-
|
|
9186
9585
|
/* Visually-hidden live region announces copy success/failure to
|
|
9187
9586
|
screen readers — the static accessible-label on the icon button
|
|
9188
9587
|
alone can't convey state changes. */
|
|
@@ -9339,17 +9738,17 @@ const GRAMMAR_LOADERS = {
|
|
|
9339
9738
|
yaml: () => import("./prism-yaml-DO0f9pf6.js"),
|
|
9340
9739
|
json: () => import("./prism-json-DIMpow89.js"),
|
|
9341
9740
|
javascript: () => import("./prism-javascript-DeC_17Pw.js"),
|
|
9342
|
-
typescript: () => import("./prism-typescript-
|
|
9741
|
+
typescript: () => import("./prism-typescript-Dy2F4cF2.js").then((n) => n.p),
|
|
9343
9742
|
css: () => import("./prism-css-B93tXdOU.js"),
|
|
9344
9743
|
html: () => import("./prism-markup-DfJYPYHA.js"),
|
|
9345
9744
|
xml: () => import("./prism-markup-DfJYPYHA.js"),
|
|
9346
9745
|
bash: () => import("./prism-bash-vbqaw3JR.js"),
|
|
9347
9746
|
markdown: () => import("./prism-markdown-D-uFBkiz.js"),
|
|
9348
|
-
rust: () => import("./prism-rust-
|
|
9747
|
+
rust: () => import("./prism-rust-D4vfxUpk.js").then((n) => n.p),
|
|
9349
9748
|
gherkin: () => import("./prism-gherkin-CMPYyXOQ.js"),
|
|
9350
9749
|
toml: () => import("./prism-toml-Ubdq-a5x.js"),
|
|
9351
9750
|
sql: () => import("./prism-sql-BGqCBMyJ.js"),
|
|
9352
|
-
python: () => import("./prism-python-
|
|
9751
|
+
python: () => import("./prism-python-QiimuE8j.js").then((n) => n.p)
|
|
9353
9752
|
};
|
|
9354
9753
|
const grammarLoads = /* @__PURE__ */ new Map();
|
|
9355
9754
|
function loadGrammar(language) {
|
|
@@ -16140,7 +16539,7 @@ const appViewStyles = css`
|
|
|
16140
16539
|
/* # Host */
|
|
16141
16540
|
|
|
16142
16541
|
:host {
|
|
16143
|
-
--context-parent-background-color: var(--semantics-surfaces-background-color);
|
|
16542
|
+
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
16144
16543
|
--_background-color: var(--context-parent-background-color);
|
|
16145
16544
|
|
|
16146
16545
|
display: flex;
|
|
@@ -16237,7 +16636,7 @@ let NLDDAppView = class extends LitElement {
|
|
|
16237
16636
|
}
|
|
16238
16637
|
}
|
|
16239
16638
|
_writeBodyBackground() {
|
|
16240
|
-
const token = this.background === "tinted" ? "--semantics-surfaces-tinted-background-color" : "--semantics-surfaces-background-color";
|
|
16639
|
+
const token = this.background === "tinted" ? "--semantics-surfaces-tinted-background-color" : "--semantics-surfaces-base-background-color";
|
|
16241
16640
|
document.body.style.backgroundColor = `var(${token})`;
|
|
16242
16641
|
}
|
|
16243
16642
|
render() {
|
|
@@ -16257,7 +16656,7 @@ const barSplitViewStyles = css`
|
|
|
16257
16656
|
/* # Host */
|
|
16258
16657
|
|
|
16259
16658
|
:host {
|
|
16260
|
-
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
16659
|
+
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
16261
16660
|
|
|
16262
16661
|
display: flex;
|
|
16263
16662
|
background-color: var(--_background-color);
|
|
@@ -16271,7 +16670,7 @@ const barSplitViewStyles = css`
|
|
|
16271
16670
|
}
|
|
16272
16671
|
|
|
16273
16672
|
:host([background="base"]) {
|
|
16274
|
-
--context-parent-background-color: var(--semantics-surfaces-background-color);
|
|
16673
|
+
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
16275
16674
|
--_background-color: var(--context-parent-background-color);
|
|
16276
16675
|
}
|
|
16277
16676
|
|
|
@@ -16561,7 +16960,7 @@ const navigationSplitViewStyles = css`
|
|
|
16561
16960
|
/* # Host */
|
|
16562
16961
|
|
|
16563
16962
|
:host {
|
|
16564
|
-
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
16963
|
+
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
16565
16964
|
/* Pane min-widths — read by JS via getComputedStyle in firstUpdated */
|
|
16566
16965
|
--_sidebar-min-width: var(--primitives-area-320);
|
|
16567
16966
|
--_secondary-sidebar-min-width: var(--primitives-area-320);
|
|
@@ -16575,7 +16974,7 @@ const navigationSplitViewStyles = css`
|
|
|
16575
16974
|
}
|
|
16576
16975
|
|
|
16577
16976
|
:host([background="base"]) {
|
|
16578
|
-
--context-parent-background-color: var(--semantics-surfaces-background-color);
|
|
16977
|
+
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
16579
16978
|
--_background-color: var(--context-parent-background-color);
|
|
16580
16979
|
}
|
|
16581
16980
|
|
|
@@ -16698,7 +17097,7 @@ const navigationSplitViewStyles = css`
|
|
|
16698
17097
|
outline: none;
|
|
16699
17098
|
border: none;
|
|
16700
17099
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
16701
|
-
background: var(--semantics-surfaces-background-color);
|
|
17100
|
+
background: var(--semantics-surfaces-base-background-color);
|
|
16702
17101
|
overflow: hidden;
|
|
16703
17102
|
padding: 0;
|
|
16704
17103
|
flex-direction: column;
|
|
@@ -16776,7 +17175,7 @@ const navigationSplitViewStyles = css`
|
|
|
16776
17175
|
outline: none;
|
|
16777
17176
|
border: none;
|
|
16778
17177
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
16779
|
-
background: var(--semantics-surfaces-background-color);
|
|
17178
|
+
background: var(--semantics-surfaces-base-background-color);
|
|
16780
17179
|
overflow: hidden;
|
|
16781
17180
|
padding: 0;
|
|
16782
17181
|
flex-direction: column;
|
|
@@ -17231,7 +17630,7 @@ const sideBySideSplitViewStyles = css`
|
|
|
17231
17630
|
/* # Host */
|
|
17232
17631
|
|
|
17233
17632
|
:host {
|
|
17234
|
-
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
17633
|
+
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
17235
17634
|
/* Pane min-width — read by JS via getComputedStyle in firstUpdated */
|
|
17236
17635
|
--_pane-min-width: var(--primitives-area-320);
|
|
17237
17636
|
|
|
@@ -17246,7 +17645,7 @@ const sideBySideSplitViewStyles = css`
|
|
|
17246
17645
|
}
|
|
17247
17646
|
|
|
17248
17647
|
:host([background="base"]) {
|
|
17249
|
-
--context-parent-background-color: var(--semantics-surfaces-background-color);
|
|
17648
|
+
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
17250
17649
|
--_background-color: var(--context-parent-background-color);
|
|
17251
17650
|
}
|
|
17252
17651
|
|
|
@@ -17379,7 +17778,7 @@ const stackedSplitViewStyles = css`
|
|
|
17379
17778
|
/* # Host */
|
|
17380
17779
|
|
|
17381
17780
|
:host {
|
|
17382
|
-
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
17781
|
+
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
17383
17782
|
/* Pane min-height — read by JS via getComputedStyle in firstUpdated */
|
|
17384
17783
|
--_pane-min-height: var(--primitives-area-200);
|
|
17385
17784
|
|
|
@@ -17395,7 +17794,7 @@ const stackedSplitViewStyles = css`
|
|
|
17395
17794
|
}
|
|
17396
17795
|
|
|
17397
17796
|
:host([background="base"]) {
|
|
17398
|
-
--context-parent-background-color: var(--semantics-surfaces-background-color);
|
|
17797
|
+
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
17399
17798
|
--_background-color: var(--context-parent-background-color);
|
|
17400
17799
|
}
|
|
17401
17800
|
|
|
@@ -17529,7 +17928,7 @@ const splitViewPaneStyles = css`
|
|
|
17529
17928
|
/* # Host */
|
|
17530
17929
|
|
|
17531
17930
|
:host {
|
|
17532
|
-
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
17931
|
+
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
17533
17932
|
|
|
17534
17933
|
display: flex;
|
|
17535
17934
|
width: 100%;
|
|
@@ -17545,7 +17944,7 @@ const splitViewPaneStyles = css`
|
|
|
17545
17944
|
}
|
|
17546
17945
|
|
|
17547
17946
|
:host([background="base"]) {
|
|
17548
|
-
--context-parent-background-color: var(--semantics-surfaces-background-color);
|
|
17947
|
+
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
17549
17948
|
--_background-color: var(--context-parent-background-color);
|
|
17550
17949
|
}
|
|
17551
17950
|
|
|
@@ -17641,7 +18040,7 @@ const pageStyles = css`
|
|
|
17641
18040
|
/* # Host */
|
|
17642
18041
|
|
|
17643
18042
|
:host {
|
|
17644
|
-
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
18043
|
+
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
17645
18044
|
|
|
17646
18045
|
display: flex;
|
|
17647
18046
|
background-color: var(--_background-color);
|
|
@@ -17661,7 +18060,7 @@ const pageStyles = css`
|
|
|
17661
18060
|
}
|
|
17662
18061
|
|
|
17663
18062
|
:host([background="base"]) {
|
|
17664
|
-
--context-parent-background-color: var(--semantics-surfaces-background-color);
|
|
18063
|
+
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
17665
18064
|
--_background-color: var(--context-parent-background-color);
|
|
17666
18065
|
}
|
|
17667
18066
|
|
|
@@ -17939,7 +18338,7 @@ var __decorateClass$D = (decorators, target, key, kind) => {
|
|
|
17939
18338
|
return result;
|
|
17940
18339
|
};
|
|
17941
18340
|
const BACKGROUND_TOKEN = {
|
|
17942
|
-
base: "var(--semantics-surfaces-background-color)",
|
|
18341
|
+
base: "var(--semantics-surfaces-base-background-color)",
|
|
17943
18342
|
tinted: "var(--semantics-surfaces-tinted-background-color)"
|
|
17944
18343
|
};
|
|
17945
18344
|
function paddingToValue(size2) {
|
|
@@ -20412,7 +20811,7 @@ const popoverStyles = css`
|
|
|
20412
20811
|
outline: none;
|
|
20413
20812
|
border: none;
|
|
20414
20813
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
20415
|
-
background-color: var(--semantics-surfaces-background-color);
|
|
20814
|
+
background-color: var(--semantics-surfaces-base-background-color);
|
|
20416
20815
|
overflow: auto;
|
|
20417
20816
|
padding: 0;
|
|
20418
20817
|
isolation: isolate;
|
|
@@ -20920,7 +21319,7 @@ const sheetStyles = css`
|
|
|
20920
21319
|
outline: none;
|
|
20921
21320
|
border: none;
|
|
20922
21321
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
20923
|
-
background: var(--semantics-surfaces-background-color);
|
|
21322
|
+
background: var(--semantics-surfaces-base-background-color);
|
|
20924
21323
|
overflow: hidden;
|
|
20925
21324
|
padding: 0;
|
|
20926
21325
|
flex-direction: column;
|
|
@@ -21249,7 +21648,7 @@ const windowStyles = css`
|
|
|
21249
21648
|
border: none;
|
|
21250
21649
|
border-radius: var(--semantics-overlays-corner-radius);
|
|
21251
21650
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
21252
|
-
background-color: var(--semantics-surfaces-background-color);
|
|
21651
|
+
background-color: var(--semantics-surfaces-base-background-color);
|
|
21253
21652
|
width: var(--components-window-default-width);
|
|
21254
21653
|
max-width: calc(100vw - var(--semantics-overlays-inset) * 2);
|
|
21255
21654
|
max-height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
@@ -22071,8 +22470,8 @@ const listStyles = css`
|
|
|
22071
22470
|
}
|
|
22072
22471
|
|
|
22073
22472
|
:host([background="base"]) {
|
|
22074
|
-
--_background-color: var(--semantics-surfaces-background-color);
|
|
22075
|
-
--_border-color: var(--semantics-surfaces-border-color);
|
|
22473
|
+
--_background-color: var(--semantics-surfaces-base-background-color);
|
|
22474
|
+
--_border-color: var(--semantics-surfaces-base-border-color);
|
|
22076
22475
|
}
|
|
22077
22476
|
|
|
22078
22477
|
:host([variant="box"]) .list__items {
|
|
@@ -22126,7 +22525,7 @@ const listStyles = css`
|
|
|
22126
22525
|
opacity: var(--_drag-clone-opacity);
|
|
22127
22526
|
z-index: var(--_drag-clone-z-index);
|
|
22128
22527
|
border-radius: var(--components-list-item-indicator-corner-radius);
|
|
22129
|
-
background: var(--semantics-surfaces-background-color);
|
|
22528
|
+
background: var(--semantics-surfaces-base-background-color);
|
|
22130
22529
|
pointer-events: none;
|
|
22131
22530
|
width: var(--_drag-clone-width);
|
|
22132
22531
|
height: var(--_drag-clone-height);
|
|
@@ -22361,7 +22760,7 @@ let NLDDList = class extends LitElement {
|
|
|
22361
22760
|
connectedCallback() {
|
|
22362
22761
|
super.connectedCallback();
|
|
22363
22762
|
this.style.containerType = "inline-size";
|
|
22364
|
-
this.style.containerName = "
|
|
22763
|
+
this.style.containerName = "cells-container";
|
|
22365
22764
|
this.addEventListener("pointerdown", this._onPointerDown);
|
|
22366
22765
|
this.addEventListener("keydown", this._onKeyDown);
|
|
22367
22766
|
}
|
|
@@ -23079,27 +23478,407 @@ const listItem = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
|
|
|
23079
23478
|
return NLDDListItem;
|
|
23080
23479
|
}
|
|
23081
23480
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
23082
|
-
const
|
|
23083
|
-
|
|
23084
|
-
|
|
23085
|
-
/* # Host */
|
|
23086
|
-
|
|
23481
|
+
const tableStyles = css`
|
|
23087
23482
|
:host {
|
|
23088
|
-
--
|
|
23089
|
-
--
|
|
23090
|
-
--
|
|
23091
|
-
--
|
|
23483
|
+
--_columns: none;
|
|
23484
|
+
--_corner-radius: var(--semantics-tables-corner-radius);
|
|
23485
|
+
--_column-gap: var(--semantics-tables-column-gap);
|
|
23486
|
+
--_background-color: var(--semantics-surfaces-base-background-color);
|
|
23487
|
+
--_border-color: var(--semantics-surfaces-base-border-color);
|
|
23488
|
+
/* Shared so the focus-visible rule can compose the focus ring over the
|
|
23489
|
+
border ring with var(...) instead of repeating the inset literal. */
|
|
23490
|
+
--_border-shadow: inset 0 0 0 var(--semantics-tables-border-width) var(--_border-color);
|
|
23092
23491
|
|
|
23093
23492
|
${inheritedTextReset}
|
|
23094
|
-
|
|
23095
|
-
|
|
23096
|
-
|
|
23097
|
-
|
|
23098
|
-
|
|
23099
|
-
|
|
23100
|
-
|
|
23101
|
-
|
|
23102
|
-
|
|
23493
|
+
box-sizing: border-box;
|
|
23494
|
+
display: grid;
|
|
23495
|
+
grid-template-columns: var(--_columns);
|
|
23496
|
+
width: 100%;
|
|
23497
|
+
/* The table is always a boxed surface and its own horizontal scroll
|
|
23498
|
+
container: the columns scroll when they don't fit and the table is made
|
|
23499
|
+
focusable in JS while it scrolls. overflow-y stays hidden so the rounded
|
|
23500
|
+
corners keep clipping the rows (and their full-bleed dividers). */
|
|
23501
|
+
border-radius: var(--_corner-radius);
|
|
23502
|
+
box-shadow: var(--_border-shadow);
|
|
23503
|
+
background-color: var(--_background-color);
|
|
23504
|
+
overflow-x: auto;
|
|
23505
|
+
overflow-y: hidden;
|
|
23506
|
+
column-gap: var(--_column-gap);
|
|
23507
|
+
row-gap: 0;
|
|
23508
|
+
}
|
|
23509
|
+
|
|
23510
|
+
:host([hidden]) {
|
|
23511
|
+
display: none;
|
|
23512
|
+
}
|
|
23513
|
+
|
|
23514
|
+
/* Default surface is base; tinted is opt-in. */
|
|
23515
|
+
:host([background="tinted"]) {
|
|
23516
|
+
--_background-color: var(--semantics-surfaces-tinted-background-color);
|
|
23517
|
+
--_border-color: var(--semantics-surfaces-tinted-border-color);
|
|
23518
|
+
}
|
|
23519
|
+
|
|
23520
|
+
/* Keyboard focus while the table scrolls (it gains tabindex in JS): the
|
|
23521
|
+
project focus ring, layered over the border ring (mirrors nldd-code-viewer).
|
|
23522
|
+
Focus first (outer), border second (inner). */
|
|
23523
|
+
:host(:focus-visible) {
|
|
23524
|
+
outline: var(--semantics-focus-ring-outline);
|
|
23525
|
+
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
23526
|
+
box-shadow: var(--semantics-focus-ring-box-shadow), var(--_border-shadow);
|
|
23527
|
+
}
|
|
23528
|
+
|
|
23529
|
+
:host(:focus:not(:focus-visible)) {
|
|
23530
|
+
outline: none;
|
|
23531
|
+
}
|
|
23532
|
+
|
|
23533
|
+
slot {
|
|
23534
|
+
display: contents;
|
|
23535
|
+
}
|
|
23536
|
+
|
|
23537
|
+
/* Empty state spans all columns below the rows; its own padding gives the
|
|
23538
|
+
message room. The header is hidden in the empty state (only the message). */
|
|
23539
|
+
.table__empty {
|
|
23540
|
+
grid-column: 1 / -1;
|
|
23541
|
+
}
|
|
23542
|
+
|
|
23543
|
+
.table__empty[hidden] {
|
|
23544
|
+
display: none;
|
|
23545
|
+
}
|
|
23546
|
+
|
|
23547
|
+
.table__empty-cell {
|
|
23548
|
+
padding: var(--primitives-space-16);
|
|
23549
|
+
}
|
|
23550
|
+
|
|
23551
|
+
:host(.is-empty) slot[name="header"] {
|
|
23552
|
+
display: none;
|
|
23553
|
+
}
|
|
23554
|
+
`;
|
|
23555
|
+
const tableRowStyles = css`
|
|
23556
|
+
:host {
|
|
23557
|
+
--_min-height: var(--semantics-tables-row-min-height);
|
|
23558
|
+
--_padding-block: var(--semantics-tables-row-padding-block);
|
|
23559
|
+
--_padding-inline: var(--semantics-tables-row-padding-inline);
|
|
23560
|
+
--_divider-color: var(--semantics-tables-border-color);
|
|
23561
|
+
--_divider-thickness: var(--semantics-tables-border-width);
|
|
23562
|
+
|
|
23563
|
+
${inheritedTextReset}
|
|
23564
|
+
box-sizing: border-box;
|
|
23565
|
+
display: grid;
|
|
23566
|
+
grid-column: 1 / -1;
|
|
23567
|
+
grid-template-columns: subgrid;
|
|
23568
|
+
min-height: var(--_min-height);
|
|
23569
|
+
border-bottom: var(--_divider-thickness) solid var(--_divider-color);
|
|
23570
|
+
padding-block: var(--_padding-block);
|
|
23571
|
+
padding-inline: var(--_padding-inline);
|
|
23572
|
+
align-items: center;
|
|
23573
|
+
}
|
|
23574
|
+
|
|
23575
|
+
:host([hidden]) {
|
|
23576
|
+
display: none;
|
|
23577
|
+
}
|
|
23578
|
+
|
|
23579
|
+
/* Selection: a full-bleed row tint (reaches the box edges, corners clipped by
|
|
23580
|
+
the table) plus the selected content color, from the shared table tokens. */
|
|
23581
|
+
:host([selected]) {
|
|
23582
|
+
background-color: var(--semantics-tables-row-is-selected-background-color);
|
|
23583
|
+
--context-cell-content-color: var(--semantics-tables-row-is-selected-content-color);
|
|
23584
|
+
}
|
|
23585
|
+
|
|
23586
|
+
/* The box's border ring is the table's outer frame, so the last row drops its
|
|
23587
|
+
divider (no doubling on the ring). Inner dividers run full-bleed to the
|
|
23588
|
+
sides — the padding only insets the cell content, not the row's border. */
|
|
23589
|
+
:host(:last-child) {
|
|
23590
|
+
border-bottom: none;
|
|
23591
|
+
}
|
|
23592
|
+
|
|
23593
|
+
/* display:contents so the cells become grid items of this subgrid. */
|
|
23594
|
+
slot {
|
|
23595
|
+
display: contents;
|
|
23596
|
+
}
|
|
23597
|
+
`;
|
|
23598
|
+
function tableTemplate(emptyText, emptySupportingText) {
|
|
23599
|
+
return html`
|
|
23600
|
+
<slot name="header"></slot>
|
|
23601
|
+
<slot></slot>
|
|
23602
|
+
<div class="table__empty" role="row" hidden>
|
|
23603
|
+
<div class="table__empty-cell" role="cell">
|
|
23604
|
+
<slot name="empty">
|
|
23605
|
+
<nldd-inline-dialog
|
|
23606
|
+
text=${emptyText}
|
|
23607
|
+
supporting-text=${emptySupportingText || nothing}
|
|
23608
|
+
></nldd-inline-dialog>
|
|
23609
|
+
</slot>
|
|
23610
|
+
</div>
|
|
23611
|
+
</div>
|
|
23612
|
+
`;
|
|
23613
|
+
}
|
|
23614
|
+
function tableRowTemplate(onSlotChange) {
|
|
23615
|
+
return html`<slot @slotchange=${onSlotChange}></slot>`;
|
|
23616
|
+
}
|
|
23617
|
+
const nlddTableTranslations = {
|
|
23618
|
+
"components.table.accessible-label": "Tabel",
|
|
23619
|
+
"components.table.empty-text": "Geen items"
|
|
23620
|
+
};
|
|
23621
|
+
var __defProp$l = Object.defineProperty;
|
|
23622
|
+
var __getOwnPropDesc$k = Object.getOwnPropertyDescriptor;
|
|
23623
|
+
var __decorateClass$l = (decorators, target, key, kind) => {
|
|
23624
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$k(target, key) : target;
|
|
23625
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
23626
|
+
if (decorator = decorators[i])
|
|
23627
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
23628
|
+
if (kind && result) __defProp$l(target, key, result);
|
|
23629
|
+
return result;
|
|
23630
|
+
};
|
|
23631
|
+
const SM_MAX = parseInt(breakpoints.smMax, 10);
|
|
23632
|
+
const MD_MAX = parseInt(breakpoints.mdMax, 10);
|
|
23633
|
+
let NLDDTable = class extends LitElement {
|
|
23634
|
+
constructor() {
|
|
23635
|
+
super(...arguments);
|
|
23636
|
+
this.background = "base";
|
|
23637
|
+
this.columns = "";
|
|
23638
|
+
this.smColumns = "";
|
|
23639
|
+
this.mdColumns = "";
|
|
23640
|
+
this.lgColumns = "";
|
|
23641
|
+
this.accessibleLabel = "";
|
|
23642
|
+
this.selectable = false;
|
|
23643
|
+
this.emptyText = "";
|
|
23644
|
+
this.emptySupportingText = "";
|
|
23645
|
+
this.translations = {};
|
|
23646
|
+
this._warnedColumns = false;
|
|
23647
|
+
this._warnedLabel = false;
|
|
23648
|
+
this._width = 0;
|
|
23649
|
+
}
|
|
23650
|
+
_t(key) {
|
|
23651
|
+
return this.translations[key] ?? nlddTableTranslations[key];
|
|
23652
|
+
}
|
|
23653
|
+
connectedCallback() {
|
|
23654
|
+
super.connectedCallback();
|
|
23655
|
+
this.setAttribute("role", "table");
|
|
23656
|
+
this.style.containerType = "inline-size";
|
|
23657
|
+
this.style.containerName = "cells-container";
|
|
23658
|
+
this._resizeObserver = new ResizeObserver((entries) => {
|
|
23659
|
+
this._width = entries[0].contentRect.width;
|
|
23660
|
+
this._applyColumns();
|
|
23661
|
+
this._syncHostA11y();
|
|
23662
|
+
});
|
|
23663
|
+
this._resizeObserver.observe(this);
|
|
23664
|
+
}
|
|
23665
|
+
disconnectedCallback() {
|
|
23666
|
+
super.disconnectedCallback();
|
|
23667
|
+
this._resizeObserver?.disconnect();
|
|
23668
|
+
this._resizeObserver = void 0;
|
|
23669
|
+
this._rowsObserver?.disconnect();
|
|
23670
|
+
this._rowsObserver = void 0;
|
|
23671
|
+
}
|
|
23672
|
+
firstUpdated() {
|
|
23673
|
+
const slot = this.shadowRoot?.querySelector("slot:not([name])");
|
|
23674
|
+
slot?.addEventListener("slotchange", () => this._updateEmpty());
|
|
23675
|
+
this._rowsObserver = new MutationObserver((mutations) => {
|
|
23676
|
+
const relevant = mutations.some((m) => {
|
|
23677
|
+
if (m.type === "childList") return m.target === this;
|
|
23678
|
+
if (m.type === "attributes" && m.attributeName === "hidden") {
|
|
23679
|
+
return m.target instanceof Element && m.target.parentElement === this;
|
|
23680
|
+
}
|
|
23681
|
+
return false;
|
|
23682
|
+
});
|
|
23683
|
+
if (relevant) this._updateEmpty();
|
|
23684
|
+
});
|
|
23685
|
+
this._rowsObserver.observe(this, {
|
|
23686
|
+
childList: true,
|
|
23687
|
+
subtree: true,
|
|
23688
|
+
attributes: true,
|
|
23689
|
+
attributeFilter: ["hidden"]
|
|
23690
|
+
});
|
|
23691
|
+
this._updateEmpty();
|
|
23692
|
+
}
|
|
23693
|
+
/** Show the empty-state slot when there are no visible body rows (header
|
|
23694
|
+
* excluded). Toggled imperatively (like the tabindex affordance) so it
|
|
23695
|
+
* doesn't schedule a reactive re-render out of firstUpdated. The `is-empty`
|
|
23696
|
+
* host class drives hiding the header (CSS) so only the message shows. */
|
|
23697
|
+
_updateEmpty() {
|
|
23698
|
+
const empty = this.shadowRoot?.querySelector(".table__empty");
|
|
23699
|
+
if (!empty) return;
|
|
23700
|
+
const slot = this.shadowRoot?.querySelector("slot:not([name])");
|
|
23701
|
+
const rows = (slot?.assignedElements() ?? []).filter(
|
|
23702
|
+
(el) => el.localName === "nldd-table-row"
|
|
23703
|
+
);
|
|
23704
|
+
const isEmpty = rows.length === 0 || rows.every((row) => row.hasAttribute("hidden"));
|
|
23705
|
+
empty.toggleAttribute("hidden", !isEmpty);
|
|
23706
|
+
this.classList.toggle("is-empty", isEmpty);
|
|
23707
|
+
}
|
|
23708
|
+
/** The track list for the current width: a breakpoint override when set,
|
|
23709
|
+
* otherwise the base `columns`. */
|
|
23710
|
+
_activeColumns() {
|
|
23711
|
+
if (this._width <= SM_MAX) return this.smColumns || this.columns;
|
|
23712
|
+
if (this._width <= MD_MAX) return this.mdColumns || this.columns;
|
|
23713
|
+
return this.lgColumns || this.columns;
|
|
23714
|
+
}
|
|
23715
|
+
_applyColumns() {
|
|
23716
|
+
const cols = this._activeColumns();
|
|
23717
|
+
if (cols) {
|
|
23718
|
+
this.style.setProperty("--_columns", cols);
|
|
23719
|
+
} else {
|
|
23720
|
+
this.style.removeProperty("--_columns");
|
|
23721
|
+
}
|
|
23722
|
+
}
|
|
23723
|
+
/** Make the table focusable while it scrolls horizontally so keyboard users
|
|
23724
|
+
* can pan it (mirrors nldd-code-viewer / nldd-rich-text), and keep its
|
|
23725
|
+
* accessible name in sync. The table is its own scroll container
|
|
23726
|
+
* (overflow-x: auto); the overflow-x check (not width alone) is defensive.
|
|
23727
|
+
* accessible-label is the name (role="table" needs one); when it is absent a
|
|
23728
|
+
* generic fallback keeps the table (and any focusable region) named. */
|
|
23729
|
+
_syncHostA11y() {
|
|
23730
|
+
const overflowX = getComputedStyle(this).overflowX;
|
|
23731
|
+
const scrollableOverflow = overflowX === "auto" || overflowX === "scroll";
|
|
23732
|
+
const scrollable = scrollableOverflow && this.scrollWidth > this.clientWidth;
|
|
23733
|
+
if (scrollable) {
|
|
23734
|
+
this.setAttribute("tabindex", "0");
|
|
23735
|
+
} else {
|
|
23736
|
+
this.removeAttribute("tabindex");
|
|
23737
|
+
}
|
|
23738
|
+
if (this.accessibleLabel) {
|
|
23739
|
+
this.setAttribute("aria-label", this.accessibleLabel);
|
|
23740
|
+
} else {
|
|
23741
|
+
this.setAttribute("aria-label", this._t("components.table.accessible-label"));
|
|
23742
|
+
}
|
|
23743
|
+
}
|
|
23744
|
+
updated(changed) {
|
|
23745
|
+
if (changed.has("columns") || changed.has("smColumns") || changed.has("mdColumns") || changed.has("lgColumns")) {
|
|
23746
|
+
this._applyColumns();
|
|
23747
|
+
}
|
|
23748
|
+
if (changed.has("accessibleLabel")) {
|
|
23749
|
+
this._syncHostA11y();
|
|
23750
|
+
}
|
|
23751
|
+
if (changed.has("selectable")) {
|
|
23752
|
+
for (const row of this.querySelectorAll("nldd-table-row")) {
|
|
23753
|
+
row._syncAriaSelected();
|
|
23754
|
+
}
|
|
23755
|
+
}
|
|
23756
|
+
if (this.columns) {
|
|
23757
|
+
this._warnedColumns = false;
|
|
23758
|
+
}
|
|
23759
|
+
if (this.accessibleLabel) {
|
|
23760
|
+
this._warnedLabel = false;
|
|
23761
|
+
}
|
|
23762
|
+
}
|
|
23763
|
+
render() {
|
|
23764
|
+
return tableTemplate(
|
|
23765
|
+
this.emptyText || this._t("components.table.empty-text"),
|
|
23766
|
+
this.emptySupportingText
|
|
23767
|
+
);
|
|
23768
|
+
}
|
|
23769
|
+
};
|
|
23770
|
+
NLDDTable.styles = tableStyles;
|
|
23771
|
+
__decorateClass$l([
|
|
23772
|
+
property({ type: String, reflect: true })
|
|
23773
|
+
], NLDDTable.prototype, "background", 2);
|
|
23774
|
+
__decorateClass$l([
|
|
23775
|
+
property({ type: String, reflect: true })
|
|
23776
|
+
], NLDDTable.prototype, "columns", 2);
|
|
23777
|
+
__decorateClass$l([
|
|
23778
|
+
property({ type: String, reflect: true, attribute: "sm-columns" })
|
|
23779
|
+
], NLDDTable.prototype, "smColumns", 2);
|
|
23780
|
+
__decorateClass$l([
|
|
23781
|
+
property({ type: String, reflect: true, attribute: "md-columns" })
|
|
23782
|
+
], NLDDTable.prototype, "mdColumns", 2);
|
|
23783
|
+
__decorateClass$l([
|
|
23784
|
+
property({ type: String, reflect: true, attribute: "lg-columns" })
|
|
23785
|
+
], NLDDTable.prototype, "lgColumns", 2);
|
|
23786
|
+
__decorateClass$l([
|
|
23787
|
+
property({ type: String, reflect: true, attribute: "accessible-label" })
|
|
23788
|
+
], NLDDTable.prototype, "accessibleLabel", 2);
|
|
23789
|
+
__decorateClass$l([
|
|
23790
|
+
property({ type: Boolean, reflect: true })
|
|
23791
|
+
], NLDDTable.prototype, "selectable", 2);
|
|
23792
|
+
__decorateClass$l([
|
|
23793
|
+
property({ type: String, attribute: "empty-text" })
|
|
23794
|
+
], NLDDTable.prototype, "emptyText", 2);
|
|
23795
|
+
__decorateClass$l([
|
|
23796
|
+
property({ type: String, attribute: "empty-supporting-text" })
|
|
23797
|
+
], NLDDTable.prototype, "emptySupportingText", 2);
|
|
23798
|
+
__decorateClass$l([
|
|
23799
|
+
property({ type: Object })
|
|
23800
|
+
], NLDDTable.prototype, "translations", 2);
|
|
23801
|
+
NLDDTable = __decorateClass$l([
|
|
23802
|
+
customElement("nldd-table")
|
|
23803
|
+
], NLDDTable);
|
|
23804
|
+
let NLDDTableRow = class extends LitElement {
|
|
23805
|
+
constructor() {
|
|
23806
|
+
super(...arguments);
|
|
23807
|
+
this.selected = false;
|
|
23808
|
+
this._onSlotChangeBound = this._onSlotChange.bind(this);
|
|
23809
|
+
}
|
|
23810
|
+
connectedCallback() {
|
|
23811
|
+
super.connectedCallback();
|
|
23812
|
+
this.setAttribute("role", "row");
|
|
23813
|
+
this._syncAriaSelected();
|
|
23814
|
+
}
|
|
23815
|
+
updated(changed) {
|
|
23816
|
+
if (changed.has("selected")) {
|
|
23817
|
+
this._syncAriaSelected();
|
|
23818
|
+
}
|
|
23819
|
+
}
|
|
23820
|
+
/** A header row lives in the table's `header` slot. */
|
|
23821
|
+
get _isHeader() {
|
|
23822
|
+
return this.getAttribute("slot") === "header";
|
|
23823
|
+
}
|
|
23824
|
+
/** Reflect `selected` to aria-selected — but only when the parent table is
|
|
23825
|
+
* `selectable`, so a non-selectable table doesn't announce a false
|
|
23826
|
+
* selection affordance (ARIA 1.2 §6.6.5). Header rows are never selectable.
|
|
23827
|
+
* @internal Re-invoked by the parent table when its `selectable` changes. */
|
|
23828
|
+
_syncAriaSelected() {
|
|
23829
|
+
const selectable = !this._isHeader && this.closest("nldd-table")?.hasAttribute("selectable") === true;
|
|
23830
|
+
if (selectable) {
|
|
23831
|
+
this.setAttribute("aria-selected", String(this.selected));
|
|
23832
|
+
} else {
|
|
23833
|
+
this.removeAttribute("aria-selected");
|
|
23834
|
+
}
|
|
23835
|
+
}
|
|
23836
|
+
_onSlotChange(e) {
|
|
23837
|
+
const slot = e.target;
|
|
23838
|
+
const cells = slot.assignedElements();
|
|
23839
|
+
const cellRole = this._isHeader ? "columnheader" : "cell";
|
|
23840
|
+
for (const cell of cells) {
|
|
23841
|
+
cell.setAttribute("role", cellRole);
|
|
23842
|
+
if (cell.localName === "nldd-cell") {
|
|
23843
|
+
const w = cell.getAttribute("width");
|
|
23844
|
+
if (w === null || w === "" || w === "fit-content") {
|
|
23845
|
+
cell.setAttribute("width", "full");
|
|
23846
|
+
}
|
|
23847
|
+
}
|
|
23848
|
+
}
|
|
23849
|
+
}
|
|
23850
|
+
render() {
|
|
23851
|
+
return tableRowTemplate(this._onSlotChangeBound);
|
|
23852
|
+
}
|
|
23853
|
+
};
|
|
23854
|
+
NLDDTableRow.styles = tableRowStyles;
|
|
23855
|
+
__decorateClass$l([
|
|
23856
|
+
property({ type: Boolean, reflect: true })
|
|
23857
|
+
], NLDDTableRow.prototype, "selected", 2);
|
|
23858
|
+
NLDDTableRow = __decorateClass$l([
|
|
23859
|
+
customElement("nldd-table-row")
|
|
23860
|
+
], NLDDTableRow);
|
|
23861
|
+
const cellStyles = css`
|
|
23862
|
+
|
|
23863
|
+
|
|
23864
|
+
/* # Host */
|
|
23865
|
+
|
|
23866
|
+
:host {
|
|
23867
|
+
--_width: auto;
|
|
23868
|
+
--_min-width: 0;
|
|
23869
|
+
--_max-width: none;
|
|
23870
|
+
--_min-height: 0;
|
|
23871
|
+
|
|
23872
|
+
${inheritedTextReset}
|
|
23873
|
+
display: flex;
|
|
23874
|
+
width: var(--_width);
|
|
23875
|
+
min-width: var(--_min-width);
|
|
23876
|
+
max-width: var(--_max-width);
|
|
23877
|
+
min-height: var(--_min-height);
|
|
23878
|
+
flex-direction: column;
|
|
23879
|
+
flex-shrink: 0;
|
|
23880
|
+
align-items: flex-start;
|
|
23881
|
+
justify-content: center;
|
|
23103
23882
|
}
|
|
23104
23883
|
|
|
23105
23884
|
:host([hidden]) {
|
|
@@ -23171,17 +23950,17 @@ const cellStyles = css`
|
|
|
23171
23950
|
}
|
|
23172
23951
|
`;
|
|
23173
23952
|
const template$9 = () => html`<slot></slot>`;
|
|
23174
|
-
var __defProp$
|
|
23175
|
-
var __getOwnPropDesc$
|
|
23176
|
-
var __decorateClass$
|
|
23177
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
23953
|
+
var __defProp$k = Object.defineProperty;
|
|
23954
|
+
var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor;
|
|
23955
|
+
var __decorateClass$k = (decorators, target, key, kind) => {
|
|
23956
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$j(target, key) : target;
|
|
23178
23957
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
23179
23958
|
if (decorator = decorators[i])
|
|
23180
23959
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
23181
|
-
if (kind && result) __defProp$
|
|
23960
|
+
if (kind && result) __defProp$k(target, key, result);
|
|
23182
23961
|
return result;
|
|
23183
23962
|
};
|
|
23184
|
-
let NLDDCell = class extends VisibilityMixin(LitElement, "
|
|
23963
|
+
let NLDDCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
23185
23964
|
constructor() {
|
|
23186
23965
|
super(...arguments);
|
|
23187
23966
|
this.width = "fit-content";
|
|
@@ -23227,25 +24006,25 @@ let NLDDCell = class extends VisibilityMixin(LitElement, "list-container") {
|
|
|
23227
24006
|
}
|
|
23228
24007
|
};
|
|
23229
24008
|
NLDDCell.styles = [cellStyles];
|
|
23230
|
-
__decorateClass$
|
|
24009
|
+
__decorateClass$k([
|
|
23231
24010
|
property({ type: String, reflect: true })
|
|
23232
24011
|
], NLDDCell.prototype, "width", 2);
|
|
23233
|
-
__decorateClass$
|
|
24012
|
+
__decorateClass$k([
|
|
23234
24013
|
property({ type: String, reflect: true, attribute: "min-width" })
|
|
23235
24014
|
], NLDDCell.prototype, "minWidth", 2);
|
|
23236
|
-
__decorateClass$
|
|
24015
|
+
__decorateClass$k([
|
|
23237
24016
|
property({ type: String, reflect: true, attribute: "max-width" })
|
|
23238
24017
|
], NLDDCell.prototype, "maxWidth", 2);
|
|
23239
|
-
__decorateClass$
|
|
24018
|
+
__decorateClass$k([
|
|
23240
24019
|
property({ type: String, reflect: true, attribute: "min-height" })
|
|
23241
24020
|
], NLDDCell.prototype, "minHeight", 2);
|
|
23242
|
-
__decorateClass$
|
|
24021
|
+
__decorateClass$k([
|
|
23243
24022
|
property({ reflect: true, attribute: "vertical-alignment" })
|
|
23244
24023
|
], NLDDCell.prototype, "verticalAlignment", 2);
|
|
23245
|
-
__decorateClass$
|
|
24024
|
+
__decorateClass$k([
|
|
23246
24025
|
property({ reflect: true, attribute: "horizontal-alignment" })
|
|
23247
24026
|
], NLDDCell.prototype, "horizontalAlignment", 2);
|
|
23248
|
-
NLDDCell = __decorateClass$
|
|
24027
|
+
NLDDCell = __decorateClass$k([
|
|
23249
24028
|
customElement("nldd-cell")
|
|
23250
24029
|
], NLDDCell);
|
|
23251
24030
|
const titleCellStyles = css`
|
|
@@ -23472,17 +24251,17 @@ const template$8 = function() {
|
|
|
23472
24251
|
</p>
|
|
23473
24252
|
`;
|
|
23474
24253
|
};
|
|
23475
|
-
var __defProp$
|
|
23476
|
-
var __getOwnPropDesc$
|
|
23477
|
-
var __decorateClass$
|
|
23478
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
24254
|
+
var __defProp$j = Object.defineProperty;
|
|
24255
|
+
var __getOwnPropDesc$i = Object.getOwnPropertyDescriptor;
|
|
24256
|
+
var __decorateClass$j = (decorators, target, key, kind) => {
|
|
24257
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$i(target, key) : target;
|
|
23479
24258
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
23480
24259
|
if (decorator = decorators[i])
|
|
23481
24260
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
23482
|
-
if (kind && result) __defProp$
|
|
24261
|
+
if (kind && result) __defProp$j(target, key, result);
|
|
23483
24262
|
return result;
|
|
23484
24263
|
};
|
|
23485
|
-
let NLDDTitleCell = class extends VisibilityMixin(LitElement, "
|
|
24264
|
+
let NLDDTitleCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
23486
24265
|
constructor() {
|
|
23487
24266
|
super(...arguments);
|
|
23488
24267
|
this.size = 5;
|
|
@@ -23559,58 +24338,58 @@ let NLDDTitleCell = class extends VisibilityMixin(LitElement, "list-container")
|
|
|
23559
24338
|
}
|
|
23560
24339
|
};
|
|
23561
24340
|
NLDDTitleCell.styles = [titleCellStyles];
|
|
23562
|
-
__decorateClass$
|
|
24341
|
+
__decorateClass$j([
|
|
23563
24342
|
property({ type: Number, reflect: true })
|
|
23564
24343
|
], NLDDTitleCell.prototype, "size", 2);
|
|
23565
|
-
__decorateClass$
|
|
24344
|
+
__decorateClass$j([
|
|
23566
24345
|
property({ type: String, reflect: true })
|
|
23567
24346
|
], NLDDTitleCell.prototype, "color", 2);
|
|
23568
|
-
__decorateClass$
|
|
24347
|
+
__decorateClass$j([
|
|
23569
24348
|
property({ type: String, reflect: true })
|
|
23570
24349
|
], NLDDTitleCell.prototype, "width", 2);
|
|
23571
|
-
__decorateClass$
|
|
24350
|
+
__decorateClass$j([
|
|
23572
24351
|
property({ type: String, reflect: true, attribute: "min-width" })
|
|
23573
24352
|
], NLDDTitleCell.prototype, "minWidth", 2);
|
|
23574
|
-
__decorateClass$
|
|
24353
|
+
__decorateClass$j([
|
|
23575
24354
|
property({ type: String, reflect: true, attribute: "max-width" })
|
|
23576
24355
|
], NLDDTitleCell.prototype, "maxWidth", 2);
|
|
23577
|
-
__decorateClass$
|
|
24356
|
+
__decorateClass$j([
|
|
23578
24357
|
property({ type: String, reflect: true, attribute: "min-height" })
|
|
23579
24358
|
], NLDDTitleCell.prototype, "minHeight", 2);
|
|
23580
|
-
__decorateClass$
|
|
24359
|
+
__decorateClass$j([
|
|
23581
24360
|
property({ type: String, reflect: true, attribute: "horizontal-alignment" })
|
|
23582
24361
|
], NLDDTitleCell.prototype, "horizontalAlignment", 2);
|
|
23583
|
-
__decorateClass$
|
|
24362
|
+
__decorateClass$j([
|
|
23584
24363
|
property({ type: String, reflect: true, attribute: "vertical-alignment" })
|
|
23585
24364
|
], NLDDTitleCell.prototype, "verticalAlignment", 2);
|
|
23586
|
-
__decorateClass$
|
|
24365
|
+
__decorateClass$j([
|
|
23587
24366
|
property({ type: String })
|
|
23588
24367
|
], NLDDTitleCell.prototype, "text", 2);
|
|
23589
|
-
__decorateClass$
|
|
24368
|
+
__decorateClass$j([
|
|
23590
24369
|
property({ type: String })
|
|
23591
24370
|
], NLDDTitleCell.prototype, "overline", 2);
|
|
23592
|
-
__decorateClass$
|
|
24371
|
+
__decorateClass$j([
|
|
23593
24372
|
property({ type: String, attribute: "supporting-text" })
|
|
23594
24373
|
], NLDDTitleCell.prototype, "supportingText", 2);
|
|
23595
|
-
__decorateClass$
|
|
24374
|
+
__decorateClass$j([
|
|
23596
24375
|
property({ type: Number, attribute: "heading-level" })
|
|
23597
24376
|
], NLDDTitleCell.prototype, "headingLevel", 2);
|
|
23598
|
-
__decorateClass$
|
|
24377
|
+
__decorateClass$j([
|
|
23599
24378
|
property({ type: String })
|
|
23600
24379
|
], NLDDTitleCell.prototype, "query", 2);
|
|
23601
|
-
__decorateClass$
|
|
24380
|
+
__decorateClass$j([
|
|
23602
24381
|
property({ type: String, attribute: "query-mark-mode" })
|
|
23603
24382
|
], NLDDTitleCell.prototype, "queryMarkMode", 2);
|
|
23604
|
-
__decorateClass$
|
|
24383
|
+
__decorateClass$j([
|
|
23605
24384
|
state()
|
|
23606
24385
|
], NLDDTitleCell.prototype, "_hasOverlineSlotted", 2);
|
|
23607
|
-
__decorateClass$
|
|
24386
|
+
__decorateClass$j([
|
|
23608
24387
|
state()
|
|
23609
24388
|
], NLDDTitleCell.prototype, "_hasDefaultSlotted", 2);
|
|
23610
|
-
__decorateClass$
|
|
24389
|
+
__decorateClass$j([
|
|
23611
24390
|
state()
|
|
23612
24391
|
], NLDDTitleCell.prototype, "_hasSupportingTextSlotted", 2);
|
|
23613
|
-
NLDDTitleCell = __decorateClass$
|
|
24392
|
+
NLDDTitleCell = __decorateClass$j([
|
|
23614
24393
|
customElement("nldd-title-cell")
|
|
23615
24394
|
], NLDDTitleCell);
|
|
23616
24395
|
const descriptionCellStyles = css`
|
|
@@ -23722,17 +24501,17 @@ const template$7 = () => html`
|
|
|
23722
24501
|
<slot name="title"></slot>
|
|
23723
24502
|
<slot name="description"></slot>
|
|
23724
24503
|
`;
|
|
23725
|
-
var __defProp$
|
|
23726
|
-
var __getOwnPropDesc$
|
|
23727
|
-
var __decorateClass$
|
|
23728
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
24504
|
+
var __defProp$i = Object.defineProperty;
|
|
24505
|
+
var __getOwnPropDesc$h = Object.getOwnPropertyDescriptor;
|
|
24506
|
+
var __decorateClass$i = (decorators, target, key, kind) => {
|
|
24507
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$h(target, key) : target;
|
|
23729
24508
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
23730
24509
|
if (decorator = decorators[i])
|
|
23731
24510
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
23732
|
-
if (kind && result) __defProp$
|
|
24511
|
+
if (kind && result) __defProp$i(target, key, result);
|
|
23733
24512
|
return result;
|
|
23734
24513
|
};
|
|
23735
|
-
let NLDDDescriptionCell = class extends VisibilityMixin(LitElement, "
|
|
24514
|
+
let NLDDDescriptionCell = class extends VisibilityMixin(LitElement, "cells-container") {
|
|
23736
24515
|
constructor() {
|
|
23737
24516
|
super(...arguments);
|
|
23738
24517
|
this.width = "full";
|
|
@@ -23777,22 +24556,22 @@ let NLDDDescriptionCell = class extends VisibilityMixin(LitElement, "list-contai
|
|
|
23777
24556
|
}
|
|
23778
24557
|
};
|
|
23779
24558
|
NLDDDescriptionCell.styles = [descriptionCellStyles];
|
|
23780
|
-
__decorateClass$
|
|
24559
|
+
__decorateClass$i([
|
|
23781
24560
|
property({ type: String, reflect: true })
|
|
23782
24561
|
], NLDDDescriptionCell.prototype, "width", 2);
|
|
23783
|
-
__decorateClass$
|
|
24562
|
+
__decorateClass$i([
|
|
23784
24563
|
property({ type: String, reflect: true, attribute: "min-width" })
|
|
23785
24564
|
], NLDDDescriptionCell.prototype, "minWidth", 2);
|
|
23786
|
-
__decorateClass$
|
|
24565
|
+
__decorateClass$i([
|
|
23787
24566
|
property({ type: String, reflect: true, attribute: "max-width" })
|
|
23788
24567
|
], NLDDDescriptionCell.prototype, "maxWidth", 2);
|
|
23789
|
-
__decorateClass$
|
|
24568
|
+
__decorateClass$i([
|
|
23790
24569
|
property({ type: String, reflect: true, attribute: "min-height" })
|
|
23791
24570
|
], NLDDDescriptionCell.prototype, "minHeight", 2);
|
|
23792
|
-
__decorateClass$
|
|
24571
|
+
__decorateClass$i([
|
|
23793
24572
|
property({ reflect: true, attribute: "vertical-alignment" })
|
|
23794
24573
|
], NLDDDescriptionCell.prototype, "verticalAlignment", 2);
|
|
23795
|
-
NLDDDescriptionCell = __decorateClass$
|
|
24574
|
+
NLDDDescriptionCell = __decorateClass$i([
|
|
23796
24575
|
customElement("nldd-description-cell")
|
|
23797
24576
|
], NLDDDescriptionCell);
|
|
23798
24577
|
const dragHandleCellStyles = css`
|
|
@@ -23904,14 +24683,14 @@ function template$6(size2, label) {
|
|
|
23904
24683
|
const nlddDragHandleCellTranslations = {
|
|
23905
24684
|
"components.drag-handle-cell.label-text": "Sleepgreep, druk spatie of enter om te verplaatsen"
|
|
23906
24685
|
};
|
|
23907
|
-
var __defProp$
|
|
23908
|
-
var __getOwnPropDesc$
|
|
23909
|
-
var __decorateClass$
|
|
23910
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
24686
|
+
var __defProp$h = Object.defineProperty;
|
|
24687
|
+
var __getOwnPropDesc$g = Object.getOwnPropertyDescriptor;
|
|
24688
|
+
var __decorateClass$h = (decorators, target, key, kind) => {
|
|
24689
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$g(target, key) : target;
|
|
23911
24690
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
23912
24691
|
if (decorator = decorators[i])
|
|
23913
24692
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
23914
|
-
if (kind && result) __defProp$
|
|
24693
|
+
if (kind && result) __defProp$h(target, key, result);
|
|
23915
24694
|
return result;
|
|
23916
24695
|
};
|
|
23917
24696
|
let NLDDDragHandleCell = class extends LitElement {
|
|
@@ -23930,13 +24709,13 @@ let NLDDDragHandleCell = class extends LitElement {
|
|
|
23930
24709
|
}
|
|
23931
24710
|
};
|
|
23932
24711
|
NLDDDragHandleCell.styles = dragHandleCellStyles;
|
|
23933
|
-
__decorateClass$
|
|
24712
|
+
__decorateClass$h([
|
|
23934
24713
|
property({ type: String, reflect: true })
|
|
23935
24714
|
], NLDDDragHandleCell.prototype, "size", 2);
|
|
23936
|
-
__decorateClass$
|
|
24715
|
+
__decorateClass$h([
|
|
23937
24716
|
property({ type: Object })
|
|
23938
24717
|
], NLDDDragHandleCell.prototype, "translations", 2);
|
|
23939
|
-
NLDDDragHandleCell = __decorateClass$
|
|
24718
|
+
NLDDDragHandleCell = __decorateClass$h([
|
|
23940
24719
|
customElement("nldd-drag-handle-cell")
|
|
23941
24720
|
], NLDDDragHandleCell);
|
|
23942
24721
|
const timelineTrackCellStyles = css`
|
|
@@ -24049,14 +24828,14 @@ function timelineTrackCellTemplate(component) {
|
|
|
24049
24828
|
</div>
|
|
24050
24829
|
`;
|
|
24051
24830
|
}
|
|
24052
|
-
var __defProp$
|
|
24053
|
-
var __getOwnPropDesc$
|
|
24054
|
-
var __decorateClass$
|
|
24055
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
24831
|
+
var __defProp$g = Object.defineProperty;
|
|
24832
|
+
var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor;
|
|
24833
|
+
var __decorateClass$g = (decorators, target, key, kind) => {
|
|
24834
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$f(target, key) : target;
|
|
24056
24835
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
24057
24836
|
if (decorator = decorators[i])
|
|
24058
24837
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24059
|
-
if (kind && result) __defProp$
|
|
24838
|
+
if (kind && result) __defProp$g(target, key, result);
|
|
24060
24839
|
return result;
|
|
24061
24840
|
};
|
|
24062
24841
|
let NLDDTimelineTrackCell = class extends LitElement {
|
|
@@ -24070,13 +24849,13 @@ let NLDDTimelineTrackCell = class extends LitElement {
|
|
|
24070
24849
|
}
|
|
24071
24850
|
};
|
|
24072
24851
|
NLDDTimelineTrackCell.styles = timelineTrackCellStyles;
|
|
24073
|
-
__decorateClass$
|
|
24852
|
+
__decorateClass$g([
|
|
24074
24853
|
property({ type: String, reflect: true })
|
|
24075
24854
|
], NLDDTimelineTrackCell.prototype, "step", 2);
|
|
24076
|
-
__decorateClass$
|
|
24855
|
+
__decorateClass$g([
|
|
24077
24856
|
property({ type: String, reflect: true })
|
|
24078
24857
|
], NLDDTimelineTrackCell.prototype, "child", 2);
|
|
24079
|
-
NLDDTimelineTrackCell = __decorateClass$
|
|
24858
|
+
NLDDTimelineTrackCell = __decorateClass$g([
|
|
24080
24859
|
customElement("nldd-timeline-track-cell")
|
|
24081
24860
|
], NLDDTimelineTrackCell);
|
|
24082
24861
|
const smMax$1 = unsafeCSS(breakpoints.smMax);
|
|
@@ -24253,14 +25032,14 @@ const nlddBreadcrumbsTranslations = {
|
|
|
24253
25032
|
"components.breadcrumbs.accessible-label": "Kruimelpad",
|
|
24254
25033
|
"components.breadcrumbs.level-up-label": "Eén niveau omhoog"
|
|
24255
25034
|
};
|
|
24256
|
-
var __defProp$
|
|
24257
|
-
var __getOwnPropDesc$
|
|
24258
|
-
var __decorateClass$
|
|
24259
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
25035
|
+
var __defProp$f = Object.defineProperty;
|
|
25036
|
+
var __getOwnPropDesc$e = Object.getOwnPropertyDescriptor;
|
|
25037
|
+
var __decorateClass$f = (decorators, target, key, kind) => {
|
|
25038
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$e(target, key) : target;
|
|
24260
25039
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
24261
25040
|
if (decorator = decorators[i])
|
|
24262
25041
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24263
|
-
if (kind && result) __defProp$
|
|
25042
|
+
if (kind && result) __defProp$f(target, key, result);
|
|
24264
25043
|
return result;
|
|
24265
25044
|
};
|
|
24266
25045
|
const _NLDDBreadcrumbsItem = class _NLDDBreadcrumbsItem extends LitElement {
|
|
@@ -24290,13 +25069,13 @@ const _NLDDBreadcrumbsItem = class _NLDDBreadcrumbsItem extends LitElement {
|
|
|
24290
25069
|
};
|
|
24291
25070
|
_NLDDBreadcrumbsItem.styles = breadcrumbsItemStyles;
|
|
24292
25071
|
let NLDDBreadcrumbsItem = _NLDDBreadcrumbsItem;
|
|
24293
|
-
__decorateClass$
|
|
25072
|
+
__decorateClass$f([
|
|
24294
25073
|
property({ type: String, reflect: true })
|
|
24295
25074
|
], NLDDBreadcrumbsItem.prototype, "href", 2);
|
|
24296
|
-
__decorateClass$
|
|
25075
|
+
__decorateClass$f([
|
|
24297
25076
|
property({ type: Boolean, reflect: true })
|
|
24298
25077
|
], NLDDBreadcrumbsItem.prototype, "current", 2);
|
|
24299
|
-
__decorateClass$
|
|
25078
|
+
__decorateClass$f([
|
|
24300
25079
|
property({ type: String, reflect: true })
|
|
24301
25080
|
], NLDDBreadcrumbsItem.prototype, "text", 2);
|
|
24302
25081
|
if (!customElements.get("nldd-breadcrumbs-item")) {
|
|
@@ -24375,13 +25154,13 @@ let NLDDBreadcrumbs = class extends LitElement {
|
|
|
24375
25154
|
}
|
|
24376
25155
|
};
|
|
24377
25156
|
NLDDBreadcrumbs.styles = breadcrumbsStyles;
|
|
24378
|
-
__decorateClass$
|
|
25157
|
+
__decorateClass$f([
|
|
24379
25158
|
property({ type: String, attribute: "accessible-label" })
|
|
24380
25159
|
], NLDDBreadcrumbs.prototype, "accessibleLabel", 2);
|
|
24381
|
-
__decorateClass$
|
|
25160
|
+
__decorateClass$f([
|
|
24382
25161
|
property({ type: Object })
|
|
24383
25162
|
], NLDDBreadcrumbs.prototype, "translations", 2);
|
|
24384
|
-
NLDDBreadcrumbs = __decorateClass$
|
|
25163
|
+
NLDDBreadcrumbs = __decorateClass$f([
|
|
24385
25164
|
customElement("nldd-breadcrumbs")
|
|
24386
25165
|
], NLDDBreadcrumbs);
|
|
24387
25166
|
const menuBarStyles = css`
|
|
@@ -24451,13 +25230,13 @@ function template$5(component) {
|
|
|
24451
25230
|
</nav>
|
|
24452
25231
|
`;
|
|
24453
25232
|
}
|
|
24454
|
-
var __defProp$
|
|
24455
|
-
var __decorateClass$
|
|
25233
|
+
var __defProp$e = Object.defineProperty;
|
|
25234
|
+
var __decorateClass$e = (decorators, target, key, kind) => {
|
|
24456
25235
|
var result = void 0;
|
|
24457
25236
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
24458
25237
|
if (decorator = decorators[i])
|
|
24459
25238
|
result = decorator(target, key, result) || result;
|
|
24460
|
-
if (result) __defProp$
|
|
25239
|
+
if (result) __defProp$e(target, key, result);
|
|
24461
25240
|
return result;
|
|
24462
25241
|
};
|
|
24463
25242
|
function withTranslations(Base, defaults) {
|
|
@@ -24484,7 +25263,7 @@ function withTranslations(Base, defaults) {
|
|
|
24484
25263
|
}
|
|
24485
25264
|
}
|
|
24486
25265
|
}
|
|
24487
|
-
__decorateClass$
|
|
25266
|
+
__decorateClass$e([
|
|
24488
25267
|
property({ type: Object })
|
|
24489
25268
|
], TranslationsMixin.prototype, "translations");
|
|
24490
25269
|
return TranslationsMixin;
|
|
@@ -24740,14 +25519,14 @@ function template$4(component) {
|
|
|
24740
25519
|
<slot @slotchange=${component._onSlotChange}></slot>
|
|
24741
25520
|
`;
|
|
24742
25521
|
}
|
|
24743
|
-
var __defProp$
|
|
24744
|
-
var __getOwnPropDesc$
|
|
24745
|
-
var __decorateClass$
|
|
24746
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
25522
|
+
var __defProp$d = Object.defineProperty;
|
|
25523
|
+
var __getOwnPropDesc$d = Object.getOwnPropertyDescriptor;
|
|
25524
|
+
var __decorateClass$d = (decorators, target, key, kind) => {
|
|
25525
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$d(target, key) : target;
|
|
24747
25526
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
24748
25527
|
if (decorator = decorators[i])
|
|
24749
25528
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24750
|
-
if (kind && result) __defProp$
|
|
25529
|
+
if (kind && result) __defProp$d(target, key, result);
|
|
24751
25530
|
return result;
|
|
24752
25531
|
};
|
|
24753
25532
|
let NLDDMenuBarItem = class extends LitElement {
|
|
@@ -24865,62 +25644,62 @@ let NLDDMenuBarItem = class extends LitElement {
|
|
|
24865
25644
|
}
|
|
24866
25645
|
};
|
|
24867
25646
|
NLDDMenuBarItem.styles = menuBarItemStyles;
|
|
24868
|
-
__decorateClass$
|
|
25647
|
+
__decorateClass$d([
|
|
24869
25648
|
property({ type: String, reflect: true })
|
|
24870
25649
|
], NLDDMenuBarItem.prototype, "text", 2);
|
|
24871
|
-
__decorateClass$
|
|
25650
|
+
__decorateClass$d([
|
|
24872
25651
|
property({ type: Boolean, reflect: true })
|
|
24873
25652
|
], NLDDMenuBarItem.prototype, "current", 2);
|
|
24874
|
-
__decorateClass$
|
|
25653
|
+
__decorateClass$d([
|
|
24875
25654
|
property({ type: String, attribute: "current-type", reflect: true })
|
|
24876
25655
|
], NLDDMenuBarItem.prototype, "currentType", 2);
|
|
24877
|
-
__decorateClass$
|
|
25656
|
+
__decorateClass$d([
|
|
24878
25657
|
property({ type: String })
|
|
24879
25658
|
], NLDDMenuBarItem.prototype, "href", 2);
|
|
24880
|
-
__decorateClass$
|
|
25659
|
+
__decorateClass$d([
|
|
24881
25660
|
property({ type: String, reflect: true })
|
|
24882
25661
|
], NLDDMenuBarItem.prototype, "icon", 2);
|
|
24883
|
-
__decorateClass$
|
|
25662
|
+
__decorateClass$d([
|
|
24884
25663
|
property({ type: Boolean, reflect: true })
|
|
24885
25664
|
], NLDDMenuBarItem.prototype, "expandable", 2);
|
|
24886
|
-
__decorateClass$
|
|
25665
|
+
__decorateClass$d([
|
|
24887
25666
|
property({ type: Boolean, attribute: "icon-only", reflect: true })
|
|
24888
25667
|
], NLDDMenuBarItem.prototype, "iconOnly", 2);
|
|
24889
|
-
__decorateClass$
|
|
25668
|
+
__decorateClass$d([
|
|
24890
25669
|
property({ type: String, attribute: "content-priority", reflect: true })
|
|
24891
25670
|
], NLDDMenuBarItem.prototype, "contentPriority", 2);
|
|
24892
|
-
__decorateClass$
|
|
25671
|
+
__decorateClass$d([
|
|
24893
25672
|
property({ type: Boolean, reflect: true })
|
|
24894
25673
|
], NLDDMenuBarItem.prototype, "compact", 2);
|
|
24895
|
-
__decorateClass$
|
|
25674
|
+
__decorateClass$d([
|
|
24896
25675
|
property({ type: Boolean, reflect: true })
|
|
24897
25676
|
], NLDDMenuBarItem.prototype, "disabled", 2);
|
|
24898
|
-
__decorateClass$
|
|
25677
|
+
__decorateClass$d([
|
|
24899
25678
|
property({ type: String, attribute: "accessible-label" })
|
|
24900
25679
|
], NLDDMenuBarItem.prototype, "accessibleLabel", 2);
|
|
24901
|
-
__decorateClass$
|
|
25680
|
+
__decorateClass$d([
|
|
24902
25681
|
property({ type: String })
|
|
24903
25682
|
], NLDDMenuBarItem.prototype, "haspopup", 2);
|
|
24904
|
-
__decorateClass$
|
|
25683
|
+
__decorateClass$d([
|
|
24905
25684
|
property({ type: Boolean, reflect: true })
|
|
24906
25685
|
], NLDDMenuBarItem.prototype, "expanded", 2);
|
|
24907
|
-
__decorateClass$
|
|
25686
|
+
__decorateClass$d([
|
|
24908
25687
|
property({ attribute: false })
|
|
24909
25688
|
], NLDDMenuBarItem.prototype, "popoverTargetElement", 2);
|
|
24910
|
-
__decorateClass$
|
|
25689
|
+
__decorateClass$d([
|
|
24911
25690
|
property({ attribute: false })
|
|
24912
25691
|
], NLDDMenuBarItem.prototype, "popoverTargetAction", 2);
|
|
24913
|
-
NLDDMenuBarItem = __decorateClass$
|
|
25692
|
+
NLDDMenuBarItem = __decorateClass$d([
|
|
24914
25693
|
customElement("nldd-menu-bar-item")
|
|
24915
25694
|
], NLDDMenuBarItem);
|
|
24916
|
-
var __defProp$
|
|
24917
|
-
var __getOwnPropDesc$
|
|
24918
|
-
var __decorateClass$
|
|
24919
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
25695
|
+
var __defProp$c = Object.defineProperty;
|
|
25696
|
+
var __getOwnPropDesc$c = Object.getOwnPropertyDescriptor;
|
|
25697
|
+
var __decorateClass$c = (decorators, target, key, kind) => {
|
|
25698
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$c(target, key) : target;
|
|
24920
25699
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
24921
25700
|
if (decorator = decorators[i])
|
|
24922
25701
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24923
|
-
if (kind && result) __defProp$
|
|
25702
|
+
if (kind && result) __defProp$c(target, key, result);
|
|
24924
25703
|
return result;
|
|
24925
25704
|
};
|
|
24926
25705
|
let NLDDMenuBar = class extends withTranslations(LitElement, nlddMenuBarTranslations) {
|
|
@@ -25154,25 +25933,25 @@ let NLDDMenuBar = class extends withTranslations(LitElement, nlddMenuBarTranslat
|
|
|
25154
25933
|
}
|
|
25155
25934
|
};
|
|
25156
25935
|
NLDDMenuBar.styles = menuBarStyles;
|
|
25157
|
-
__decorateClass$
|
|
25936
|
+
__decorateClass$c([
|
|
25158
25937
|
property({ type: String, attribute: "overflow-text" })
|
|
25159
25938
|
], NLDDMenuBar.prototype, "overflowText", 2);
|
|
25160
|
-
__decorateClass$
|
|
25939
|
+
__decorateClass$c([
|
|
25161
25940
|
property({ type: String, attribute: "accessible-label" })
|
|
25162
25941
|
], NLDDMenuBar.prototype, "accessibleLabel", 2);
|
|
25163
|
-
__decorateClass$
|
|
25942
|
+
__decorateClass$c([
|
|
25164
25943
|
property({ type: Boolean, reflect: true })
|
|
25165
25944
|
], NLDDMenuBar.prototype, "compact", 2);
|
|
25166
|
-
__decorateClass$
|
|
25945
|
+
__decorateClass$c([
|
|
25167
25946
|
query("slot:not([name])")
|
|
25168
25947
|
], NLDDMenuBar.prototype, "_defaultSlot", 2);
|
|
25169
|
-
__decorateClass$
|
|
25948
|
+
__decorateClass$c([
|
|
25170
25949
|
query(".menu-bar__overflow-button")
|
|
25171
25950
|
], NLDDMenuBar.prototype, "_overflowButton", 2);
|
|
25172
|
-
__decorateClass$
|
|
25951
|
+
__decorateClass$c([
|
|
25173
25952
|
state()
|
|
25174
25953
|
], NLDDMenuBar.prototype, "_menuOpen", 2);
|
|
25175
|
-
NLDDMenuBar = __decorateClass$
|
|
25954
|
+
NLDDMenuBar = __decorateClass$c([
|
|
25176
25955
|
customElement("nldd-menu-bar")
|
|
25177
25956
|
], NLDDMenuBar);
|
|
25178
25957
|
const linkStyles = css`
|
|
@@ -25339,14 +26118,14 @@ function template$3(helpers) {
|
|
|
25339
26118
|
</a>
|
|
25340
26119
|
`;
|
|
25341
26120
|
}
|
|
25342
|
-
var __defProp$
|
|
25343
|
-
var __getOwnPropDesc$
|
|
25344
|
-
var __decorateClass$
|
|
25345
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
26121
|
+
var __defProp$b = Object.defineProperty;
|
|
26122
|
+
var __getOwnPropDesc$b = Object.getOwnPropertyDescriptor;
|
|
26123
|
+
var __decorateClass$b = (decorators, target, key, kind) => {
|
|
26124
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$b(target, key) : target;
|
|
25346
26125
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
25347
26126
|
if (decorator = decorators[i])
|
|
25348
26127
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25349
|
-
if (kind && result) __defProp$
|
|
26128
|
+
if (kind && result) __defProp$b(target, key, result);
|
|
25350
26129
|
return result;
|
|
25351
26130
|
};
|
|
25352
26131
|
let NLDDLink = class extends LitElement {
|
|
@@ -25383,34 +26162,34 @@ let NLDDLink = class extends LitElement {
|
|
|
25383
26162
|
}
|
|
25384
26163
|
};
|
|
25385
26164
|
NLDDLink.styles = linkStyles;
|
|
25386
|
-
__decorateClass$
|
|
26165
|
+
__decorateClass$b([
|
|
25387
26166
|
property({ type: String, reflect: true })
|
|
25388
26167
|
], NLDDLink.prototype, "href", 2);
|
|
25389
|
-
__decorateClass$
|
|
26168
|
+
__decorateClass$b([
|
|
25390
26169
|
property({ type: String })
|
|
25391
26170
|
], NLDDLink.prototype, "target", 2);
|
|
25392
|
-
__decorateClass$
|
|
26171
|
+
__decorateClass$b([
|
|
25393
26172
|
property({ type: String })
|
|
25394
26173
|
], NLDDLink.prototype, "rel", 2);
|
|
25395
|
-
__decorateClass$
|
|
26174
|
+
__decorateClass$b([
|
|
25396
26175
|
property({ type: String, reflect: true })
|
|
25397
26176
|
], NLDDLink.prototype, "size", 2);
|
|
25398
|
-
__decorateClass$
|
|
26177
|
+
__decorateClass$b([
|
|
25399
26178
|
property({ type: String })
|
|
25400
26179
|
], NLDDLink.prototype, "text", 2);
|
|
25401
|
-
__decorateClass$
|
|
26180
|
+
__decorateClass$b([
|
|
25402
26181
|
property({ type: String, attribute: "start-icon" })
|
|
25403
26182
|
], NLDDLink.prototype, "startIcon", 2);
|
|
25404
|
-
__decorateClass$
|
|
26183
|
+
__decorateClass$b([
|
|
25405
26184
|
property({ type: String, attribute: "end-icon" })
|
|
25406
26185
|
], NLDDLink.prototype, "endIcon", 2);
|
|
25407
|
-
__decorateClass$
|
|
26186
|
+
__decorateClass$b([
|
|
25408
26187
|
property({ type: String, attribute: "accessible-label" })
|
|
25409
26188
|
], NLDDLink.prototype, "accessibleLabel", 2);
|
|
25410
|
-
__decorateClass$
|
|
26189
|
+
__decorateClass$b([
|
|
25411
26190
|
property({ type: Boolean, reflect: true })
|
|
25412
26191
|
], NLDDLink.prototype, "disabled", 2);
|
|
25413
|
-
NLDDLink = __decorateClass$
|
|
26192
|
+
NLDDLink = __decorateClass$b([
|
|
25414
26193
|
customElement("nldd-link")
|
|
25415
26194
|
], NLDDLink);
|
|
25416
26195
|
const skipLinkStyles = css`
|
|
@@ -25445,7 +26224,7 @@ const skipLinkStyles = css`
|
|
|
25445
26224
|
z-index: var(--_z-index);
|
|
25446
26225
|
border-radius: var(--semantics-controls-md-corner-radius);
|
|
25447
26226
|
box-shadow: var(--_box-shadow);
|
|
25448
|
-
background-color: var(--semantics-surfaces-background-color);
|
|
26227
|
+
background-color: var(--semantics-surfaces-base-background-color);
|
|
25449
26228
|
pointer-events: none;
|
|
25450
26229
|
justify-content: center;
|
|
25451
26230
|
}
|
|
@@ -25505,14 +26284,14 @@ function template$2(component) {
|
|
|
25505
26284
|
const nlddSkipLinkTranslations = {
|
|
25506
26285
|
"components.skip-link.action": "Sla over"
|
|
25507
26286
|
};
|
|
25508
|
-
var __defProp$
|
|
25509
|
-
var __getOwnPropDesc$
|
|
25510
|
-
var __decorateClass$
|
|
25511
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
26287
|
+
var __defProp$a = Object.defineProperty;
|
|
26288
|
+
var __getOwnPropDesc$a = Object.getOwnPropertyDescriptor;
|
|
26289
|
+
var __decorateClass$a = (decorators, target, key, kind) => {
|
|
26290
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$a(target, key) : target;
|
|
25512
26291
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
25513
26292
|
if (decorator = decorators[i])
|
|
25514
26293
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
25515
|
-
if (kind && result) __defProp$
|
|
26294
|
+
if (kind && result) __defProp$a(target, key, result);
|
|
25516
26295
|
return result;
|
|
25517
26296
|
};
|
|
25518
26297
|
let NLDDSkipLink = class extends withTranslations(LitElement, nlddSkipLinkTranslations) {
|
|
@@ -25542,13 +26321,13 @@ let NLDDSkipLink = class extends withTranslations(LitElement, nlddSkipLinkTransl
|
|
|
25542
26321
|
}
|
|
25543
26322
|
};
|
|
25544
26323
|
NLDDSkipLink.styles = skipLinkStyles;
|
|
25545
|
-
__decorateClass$
|
|
26324
|
+
__decorateClass$a([
|
|
25546
26325
|
property({ type: String })
|
|
25547
26326
|
], NLDDSkipLink.prototype, "text", 2);
|
|
25548
|
-
__decorateClass$
|
|
26327
|
+
__decorateClass$a([
|
|
25549
26328
|
property({ type: String })
|
|
25550
26329
|
], NLDDSkipLink.prototype, "href", 2);
|
|
25551
|
-
NLDDSkipLink = __decorateClass$
|
|
26330
|
+
NLDDSkipLink = __decorateClass$a([
|
|
25552
26331
|
customElement("nldd-skip-link")
|
|
25553
26332
|
], NLDDSkipLink);
|
|
25554
26333
|
const smMax = unsafeCSS(breakpoints.smMax);
|
|
@@ -26003,14 +26782,14 @@ const nlddTopNavigationBarTranslations = {
|
|
|
26003
26782
|
"components.top-navigation-bar.utility-menu-bar-label": "Hulplinks",
|
|
26004
26783
|
"components.top-navigation-bar.menu-sheet-dismiss-action": "Sluit"
|
|
26005
26784
|
};
|
|
26006
|
-
var __defProp$
|
|
26007
|
-
var __getOwnPropDesc$
|
|
26008
|
-
var __decorateClass$
|
|
26009
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
26785
|
+
var __defProp$9 = Object.defineProperty;
|
|
26786
|
+
var __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor;
|
|
26787
|
+
var __decorateClass$9 = (decorators, target, key, kind) => {
|
|
26788
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$9(target, key) : target;
|
|
26010
26789
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26011
26790
|
if (decorator = decorators[i])
|
|
26012
26791
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26013
|
-
if (kind && result) __defProp$
|
|
26792
|
+
if (kind && result) __defProp$9(target, key, result);
|
|
26014
26793
|
return result;
|
|
26015
26794
|
};
|
|
26016
26795
|
let NLDDTopNavigationBar = class extends withTranslations(LitElement, nlddTopNavigationBarTranslations) {
|
|
@@ -26286,46 +27065,46 @@ let NLDDTopNavigationBar = class extends withTranslations(LitElement, nlddTopNav
|
|
|
26286
27065
|
}
|
|
26287
27066
|
};
|
|
26288
27067
|
NLDDTopNavigationBar.styles = topNavigationBarStyles;
|
|
26289
|
-
__decorateClass$
|
|
27068
|
+
__decorateClass$9([
|
|
26290
27069
|
property({ type: String, attribute: "website-title" })
|
|
26291
27070
|
], NLDDTopNavigationBar.prototype, "websiteTitle", 2);
|
|
26292
|
-
__decorateClass$
|
|
27071
|
+
__decorateClass$9([
|
|
26293
27072
|
property({ type: Boolean, attribute: "no-logo", reflect: true })
|
|
26294
27073
|
], NLDDTopNavigationBar.prototype, "noLogo", 2);
|
|
26295
|
-
__decorateClass$
|
|
27074
|
+
__decorateClass$9([
|
|
26296
27075
|
property({ type: String, attribute: "logo-title" })
|
|
26297
27076
|
], NLDDTopNavigationBar.prototype, "logoTitle", 2);
|
|
26298
|
-
__decorateClass$
|
|
27077
|
+
__decorateClass$9([
|
|
26299
27078
|
property({ type: String, attribute: "logo-subtitle" })
|
|
26300
27079
|
], NLDDTopNavigationBar.prototype, "logoSubtitle", 2);
|
|
26301
|
-
__decorateClass$
|
|
27080
|
+
__decorateClass$9([
|
|
26302
27081
|
property({ type: String, attribute: "logo-supporting-text-1" })
|
|
26303
27082
|
], NLDDTopNavigationBar.prototype, "logoSupportingText1", 2);
|
|
26304
|
-
__decorateClass$
|
|
27083
|
+
__decorateClass$9([
|
|
26305
27084
|
property({ type: String, attribute: "logo-supporting-text-2" })
|
|
26306
27085
|
], NLDDTopNavigationBar.prototype, "logoSupportingText2", 2);
|
|
26307
|
-
__decorateClass$
|
|
27086
|
+
__decorateClass$9([
|
|
26308
27087
|
property({ type: String, attribute: "logo-href" })
|
|
26309
27088
|
], NLDDTopNavigationBar.prototype, "logoHref", 2);
|
|
26310
|
-
__decorateClass$
|
|
27089
|
+
__decorateClass$9([
|
|
26311
27090
|
property({ type: String, attribute: "website-href" })
|
|
26312
27091
|
], NLDDTopNavigationBar.prototype, "websiteHref", 2);
|
|
26313
|
-
__decorateClass$
|
|
27092
|
+
__decorateClass$9([
|
|
26314
27093
|
property({ type: String, attribute: "back-href" })
|
|
26315
27094
|
], NLDDTopNavigationBar.prototype, "backHref", 2);
|
|
26316
|
-
__decorateClass$
|
|
27095
|
+
__decorateClass$9([
|
|
26317
27096
|
property({ type: String, attribute: "back-text" })
|
|
26318
27097
|
], NLDDTopNavigationBar.prototype, "backText", 2);
|
|
26319
|
-
__decorateClass$
|
|
27098
|
+
__decorateClass$9([
|
|
26320
27099
|
query(".top-navigation-bar__menu-button")
|
|
26321
27100
|
], NLDDTopNavigationBar.prototype, "_menuButton", 2);
|
|
26322
|
-
__decorateClass$
|
|
27101
|
+
__decorateClass$9([
|
|
26323
27102
|
query('slot[name="global"]')
|
|
26324
27103
|
], NLDDTopNavigationBar.prototype, "_globalSlot", 2);
|
|
26325
|
-
__decorateClass$
|
|
27104
|
+
__decorateClass$9([
|
|
26326
27105
|
query('slot[name="utility"]')
|
|
26327
27106
|
], NLDDTopNavigationBar.prototype, "_utilitySlot", 2);
|
|
26328
|
-
NLDDTopNavigationBar = __decorateClass$
|
|
27107
|
+
NLDDTopNavigationBar = __decorateClass$9([
|
|
26329
27108
|
customElement("nldd-top-navigation-bar")
|
|
26330
27109
|
], NLDDTopNavigationBar);
|
|
26331
27110
|
const topTitleBarStyles = css`
|
|
@@ -26519,14 +27298,14 @@ function topTitleBarTemplate(component) {
|
|
|
26519
27298
|
</div>
|
|
26520
27299
|
`;
|
|
26521
27300
|
}
|
|
26522
|
-
var __defProp$
|
|
26523
|
-
var __getOwnPropDesc$
|
|
26524
|
-
var __decorateClass$
|
|
26525
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
27301
|
+
var __defProp$8 = Object.defineProperty;
|
|
27302
|
+
var __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor;
|
|
27303
|
+
var __decorateClass$8 = (decorators, target, key, kind) => {
|
|
27304
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$8(target, key) : target;
|
|
26526
27305
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26527
27306
|
if (decorator = decorators[i])
|
|
26528
27307
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26529
|
-
if (kind && result) __defProp$
|
|
27308
|
+
if (kind && result) __defProp$8(target, key, result);
|
|
26530
27309
|
return result;
|
|
26531
27310
|
};
|
|
26532
27311
|
let NLDDTopTitleBar = class extends LitElement {
|
|
@@ -26631,28 +27410,28 @@ let NLDDTopTitleBar = class extends LitElement {
|
|
|
26631
27410
|
}
|
|
26632
27411
|
};
|
|
26633
27412
|
NLDDTopTitleBar.styles = topTitleBarStyles;
|
|
26634
|
-
__decorateClass$
|
|
27413
|
+
__decorateClass$8([
|
|
26635
27414
|
property({ type: String })
|
|
26636
27415
|
], NLDDTopTitleBar.prototype, "text", 2);
|
|
26637
|
-
__decorateClass$
|
|
27416
|
+
__decorateClass$8([
|
|
26638
27417
|
property({ type: String, attribute: "supporting-text" })
|
|
26639
27418
|
], NLDDTopTitleBar.prototype, "supportingText", 2);
|
|
26640
|
-
__decorateClass$
|
|
27419
|
+
__decorateClass$8([
|
|
26641
27420
|
property({ type: String, attribute: "collapse-anchor" })
|
|
26642
27421
|
], NLDDTopTitleBar.prototype, "collapseAnchor", 2);
|
|
26643
|
-
__decorateClass$
|
|
27422
|
+
__decorateClass$8([
|
|
26644
27423
|
property({ type: String, attribute: "back-text" })
|
|
26645
27424
|
], NLDDTopTitleBar.prototype, "backText", 2);
|
|
26646
|
-
__decorateClass$
|
|
27425
|
+
__decorateClass$8([
|
|
26647
27426
|
property({ type: String, attribute: "back-href" })
|
|
26648
27427
|
], NLDDTopTitleBar.prototype, "backHref", 2);
|
|
26649
|
-
__decorateClass$
|
|
27428
|
+
__decorateClass$8([
|
|
26650
27429
|
property({ type: String, attribute: "dismiss-text" })
|
|
26651
27430
|
], NLDDTopTitleBar.prototype, "dismissText", 2);
|
|
26652
|
-
__decorateClass$
|
|
27431
|
+
__decorateClass$8([
|
|
26653
27432
|
state()
|
|
26654
27433
|
], NLDDTopTitleBar.prototype, "_hasToolbarItems", 2);
|
|
26655
|
-
NLDDTopTitleBar = __decorateClass$
|
|
27434
|
+
NLDDTopTitleBar = __decorateClass$8([
|
|
26656
27435
|
customElement("nldd-top-title-bar")
|
|
26657
27436
|
], NLDDTopTitleBar);
|
|
26658
27437
|
const topTitleBar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -26932,14 +27711,14 @@ function tabBarItemTemplate(component) {
|
|
|
26932
27711
|
}
|
|
26933
27712
|
return result;
|
|
26934
27713
|
}
|
|
26935
|
-
var __defProp$
|
|
26936
|
-
var __getOwnPropDesc$
|
|
26937
|
-
var __decorateClass$
|
|
26938
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
27714
|
+
var __defProp$7 = Object.defineProperty;
|
|
27715
|
+
var __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor;
|
|
27716
|
+
var __decorateClass$7 = (decorators, target, key, kind) => {
|
|
27717
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$7(target, key) : target;
|
|
26939
27718
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
26940
27719
|
if (decorator = decorators[i])
|
|
26941
27720
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
26942
|
-
if (kind && result) __defProp$
|
|
27721
|
+
if (kind && result) __defProp$7(target, key, result);
|
|
26943
27722
|
return result;
|
|
26944
27723
|
};
|
|
26945
27724
|
let NLDDTabBarItem = class extends LitElement {
|
|
@@ -26996,31 +27775,31 @@ let NLDDTabBarItem = class extends LitElement {
|
|
|
26996
27775
|
}
|
|
26997
27776
|
};
|
|
26998
27777
|
NLDDTabBarItem.styles = tabBarItemStyles;
|
|
26999
|
-
__decorateClass$
|
|
27778
|
+
__decorateClass$7([
|
|
27000
27779
|
property({ type: Boolean, reflect: true })
|
|
27001
27780
|
], NLDDTabBarItem.prototype, "selected", 2);
|
|
27002
|
-
__decorateClass$
|
|
27781
|
+
__decorateClass$7([
|
|
27003
27782
|
property({ type: String })
|
|
27004
27783
|
], NLDDTabBarItem.prototype, "href", 2);
|
|
27005
|
-
__decorateClass$
|
|
27784
|
+
__decorateClass$7([
|
|
27006
27785
|
property({ type: String })
|
|
27007
27786
|
], NLDDTabBarItem.prototype, "_groupVariant", 2);
|
|
27008
|
-
__decorateClass$
|
|
27787
|
+
__decorateClass$7([
|
|
27009
27788
|
property({ type: String })
|
|
27010
27789
|
], NLDDTabBarItem.prototype, "text", 2);
|
|
27011
|
-
__decorateClass$
|
|
27790
|
+
__decorateClass$7([
|
|
27012
27791
|
property({ type: String, reflect: true })
|
|
27013
27792
|
], NLDDTabBarItem.prototype, "icon", 2);
|
|
27014
|
-
__decorateClass$
|
|
27793
|
+
__decorateClass$7([
|
|
27015
27794
|
state()
|
|
27016
27795
|
], NLDDTabBarItem.prototype, "_hasIconSlot", 2);
|
|
27017
|
-
__decorateClass$
|
|
27796
|
+
__decorateClass$7([
|
|
27018
27797
|
state()
|
|
27019
27798
|
], NLDDTabBarItem.prototype, "_navigation", 2);
|
|
27020
|
-
__decorateClass$
|
|
27799
|
+
__decorateClass$7([
|
|
27021
27800
|
state()
|
|
27022
27801
|
], NLDDTabBarItem.prototype, "_isFallbackFocusable", 2);
|
|
27023
|
-
NLDDTabBarItem = __decorateClass$
|
|
27802
|
+
NLDDTabBarItem = __decorateClass$7([
|
|
27024
27803
|
customElement("nldd-tab-bar-item")
|
|
27025
27804
|
], NLDDTabBarItem);
|
|
27026
27805
|
let NLDDTabBar = class extends LitElement {
|
|
@@ -27131,19 +27910,19 @@ let NLDDTabBar = class extends LitElement {
|
|
|
27131
27910
|
}
|
|
27132
27911
|
};
|
|
27133
27912
|
NLDDTabBar.styles = tabBarStyles;
|
|
27134
|
-
__decorateClass$
|
|
27913
|
+
__decorateClass$7([
|
|
27135
27914
|
property({ type: Boolean, reflect: true })
|
|
27136
27915
|
], NLDDTabBar.prototype, "centered", 2);
|
|
27137
|
-
__decorateClass$
|
|
27916
|
+
__decorateClass$7([
|
|
27138
27917
|
property({ type: String, reflect: true })
|
|
27139
27918
|
], NLDDTabBar.prototype, "variant", 2);
|
|
27140
|
-
__decorateClass$
|
|
27919
|
+
__decorateClass$7([
|
|
27141
27920
|
property({ type: Boolean, reflect: true })
|
|
27142
27921
|
], NLDDTabBar.prototype, "navigation", 2);
|
|
27143
|
-
__decorateClass$
|
|
27922
|
+
__decorateClass$7([
|
|
27144
27923
|
property({ type: String, attribute: "accessible-label" })
|
|
27145
27924
|
], NLDDTabBar.prototype, "accessibleLabel", 2);
|
|
27146
|
-
NLDDTabBar = __decorateClass$
|
|
27925
|
+
NLDDTabBar = __decorateClass$7([
|
|
27147
27926
|
customElement("nldd-tab-bar")
|
|
27148
27927
|
], NLDDTabBar);
|
|
27149
27928
|
const documentTabBarStyles = css`
|
|
@@ -27668,14 +28447,14 @@ const nlddDocumentTabBarTranslations = {
|
|
|
27668
28447
|
"components.document-tab-bar.reorder-no-change-text": "Tabblad verplaatst. Positie ongewijzigd.",
|
|
27669
28448
|
"components.document-tab-bar.reorder-cancelled-text": "Slepen geannuleerd."
|
|
27670
28449
|
};
|
|
27671
|
-
var __defProp$
|
|
27672
|
-
var __getOwnPropDesc$
|
|
27673
|
-
var __decorateClass$
|
|
27674
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
28450
|
+
var __defProp$6 = Object.defineProperty;
|
|
28451
|
+
var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor;
|
|
28452
|
+
var __decorateClass$6 = (decorators, target, key, kind) => {
|
|
28453
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$6(target, key) : target;
|
|
27675
28454
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
27676
28455
|
if (decorator = decorators[i])
|
|
27677
28456
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
27678
|
-
if (kind && result) __defProp$
|
|
28457
|
+
if (kind && result) __defProp$6(target, key, result);
|
|
27679
28458
|
return result;
|
|
27680
28459
|
};
|
|
27681
28460
|
const DRAG_THRESHOLD = 5;
|
|
@@ -27734,37 +28513,37 @@ let NLDDDocumentTabBarItem = class extends LitElement {
|
|
|
27734
28513
|
};
|
|
27735
28514
|
NLDDDocumentTabBarItem.styles = documentTabBarItemStyles;
|
|
27736
28515
|
NLDDDocumentTabBarItem._idCounter = 0;
|
|
27737
|
-
__decorateClass$
|
|
28516
|
+
__decorateClass$6([
|
|
27738
28517
|
property({ type: Boolean, reflect: true })
|
|
27739
28518
|
], NLDDDocumentTabBarItem.prototype, "selected", 2);
|
|
27740
|
-
__decorateClass$
|
|
28519
|
+
__decorateClass$6([
|
|
27741
28520
|
property({ type: String, attribute: "text" })
|
|
27742
28521
|
], NLDDDocumentTabBarItem.prototype, "text", 2);
|
|
27743
|
-
__decorateClass$
|
|
28522
|
+
__decorateClass$6([
|
|
27744
28523
|
property({ type: String, attribute: "supporting-text" })
|
|
27745
28524
|
], NLDDDocumentTabBarItem.prototype, "supportingText", 2);
|
|
27746
|
-
__decorateClass$
|
|
28525
|
+
__decorateClass$6([
|
|
27747
28526
|
property({ type: String, attribute: "short-text" })
|
|
27748
28527
|
], NLDDDocumentTabBarItem.prototype, "shortText", 2);
|
|
27749
|
-
__decorateClass$
|
|
28528
|
+
__decorateClass$6([
|
|
27750
28529
|
property({ type: String, attribute: "short-supporting-text" })
|
|
27751
28530
|
], NLDDDocumentTabBarItem.prototype, "shortSupportingText", 2);
|
|
27752
|
-
__decorateClass$
|
|
28531
|
+
__decorateClass$6([
|
|
27753
28532
|
property({ type: String })
|
|
27754
28533
|
], NLDDDocumentTabBarItem.prototype, "href", 2);
|
|
27755
|
-
__decorateClass$
|
|
28534
|
+
__decorateClass$6([
|
|
27756
28535
|
state()
|
|
27757
28536
|
], NLDDDocumentTabBarItem.prototype, "_isShort", 2);
|
|
27758
|
-
__decorateClass$
|
|
28537
|
+
__decorateClass$6([
|
|
27759
28538
|
state()
|
|
27760
28539
|
], NLDDDocumentTabBarItem.prototype, "_dismissButtonAccessibilityLabel", 2);
|
|
27761
|
-
__decorateClass$
|
|
28540
|
+
__decorateClass$6([
|
|
27762
28541
|
state()
|
|
27763
28542
|
], NLDDDocumentTabBarItem.prototype, "_isFallbackFocusable", 2);
|
|
27764
|
-
__decorateClass$
|
|
28543
|
+
__decorateClass$6([
|
|
27765
28544
|
state()
|
|
27766
28545
|
], NLDDDocumentTabBarItem.prototype, "_navigation", 2);
|
|
27767
|
-
NLDDDocumentTabBarItem = __decorateClass$
|
|
28546
|
+
NLDDDocumentTabBarItem = __decorateClass$6([
|
|
27768
28547
|
customElement("nldd-document-tab-bar-item")
|
|
27769
28548
|
], NLDDDocumentTabBarItem);
|
|
27770
28549
|
let NLDDDocumentTabBar = class extends withTranslations(LitElement, nlddDocumentTabBarTranslations) {
|
|
@@ -28327,19 +29106,19 @@ let NLDDDocumentTabBar = class extends withTranslations(LitElement, nlddDocument
|
|
|
28327
29106
|
};
|
|
28328
29107
|
NLDDDocumentTabBar.styles = documentTabBarStyles;
|
|
28329
29108
|
NLDDDocumentTabBar._idCounter = 0;
|
|
28330
|
-
__decorateClass$
|
|
29109
|
+
__decorateClass$6([
|
|
28331
29110
|
property({ type: String, attribute: "accessible-label" })
|
|
28332
29111
|
], NLDDDocumentTabBar.prototype, "accessibleLabel", 2);
|
|
28333
|
-
__decorateClass$
|
|
29112
|
+
__decorateClass$6([
|
|
28334
29113
|
property({ type: Boolean, reflect: true })
|
|
28335
29114
|
], NLDDDocumentTabBar.prototype, "navigation", 2);
|
|
28336
|
-
__decorateClass$
|
|
29115
|
+
__decorateClass$6([
|
|
28337
29116
|
state()
|
|
28338
29117
|
], NLDDDocumentTabBar.prototype, "_overflowCount", 2);
|
|
28339
|
-
__decorateClass$
|
|
29118
|
+
__decorateClass$6([
|
|
28340
29119
|
state()
|
|
28341
29120
|
], NLDDDocumentTabBar.prototype, "_menuOpen", 2);
|
|
28342
|
-
NLDDDocumentTabBar = __decorateClass$
|
|
29121
|
+
NLDDDocumentTabBar = __decorateClass$6([
|
|
28343
29122
|
customElement("nldd-document-tab-bar")
|
|
28344
29123
|
], NLDDDocumentTabBar);
|
|
28345
29124
|
const paginationStyles = css`
|
|
@@ -28717,14 +29496,14 @@ const nlddPaginationTranslations = {
|
|
|
28717
29496
|
"components.pagination.page-action": "Ga naar pagina {page}",
|
|
28718
29497
|
"components.pagination.go-to-page-label": "Ga naar pagina"
|
|
28719
29498
|
};
|
|
28720
|
-
var __defProp$
|
|
28721
|
-
var __getOwnPropDesc$
|
|
28722
|
-
var __decorateClass$
|
|
28723
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
29499
|
+
var __defProp$5 = Object.defineProperty;
|
|
29500
|
+
var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor;
|
|
29501
|
+
var __decorateClass$5 = (decorators, target, key, kind) => {
|
|
29502
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$5(target, key) : target;
|
|
28724
29503
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
28725
29504
|
if (decorator = decorators[i])
|
|
28726
29505
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
28727
|
-
if (kind && result) __defProp$
|
|
29506
|
+
if (kind && result) __defProp$5(target, key, result);
|
|
28728
29507
|
return result;
|
|
28729
29508
|
};
|
|
28730
29509
|
let NLDDPagination = class extends LitElement {
|
|
@@ -28811,25 +29590,25 @@ let NLDDPagination = class extends LitElement {
|
|
|
28811
29590
|
}
|
|
28812
29591
|
};
|
|
28813
29592
|
NLDDPagination.styles = paginationStyles;
|
|
28814
|
-
__decorateClass$
|
|
29593
|
+
__decorateClass$5([
|
|
28815
29594
|
property({ type: Number, reflect: true })
|
|
28816
29595
|
], NLDDPagination.prototype, "current", 2);
|
|
28817
|
-
__decorateClass$
|
|
29596
|
+
__decorateClass$5([
|
|
28818
29597
|
property({ type: Number, reflect: true })
|
|
28819
29598
|
], NLDDPagination.prototype, "total", 2);
|
|
28820
|
-
__decorateClass$
|
|
29599
|
+
__decorateClass$5([
|
|
28821
29600
|
property({ type: Boolean, reflect: true })
|
|
28822
29601
|
], NLDDPagination.prototype, "disabled", 2);
|
|
28823
|
-
__decorateClass$
|
|
29602
|
+
__decorateClass$5([
|
|
28824
29603
|
property({ type: Boolean, reflect: true })
|
|
28825
29604
|
], NLDDPagination.prototype, "centered", 2);
|
|
28826
|
-
__decorateClass$
|
|
29605
|
+
__decorateClass$5([
|
|
28827
29606
|
property({ type: String, attribute: "href-pattern" })
|
|
28828
29607
|
], NLDDPagination.prototype, "hrefPattern", 2);
|
|
28829
|
-
__decorateClass$
|
|
29608
|
+
__decorateClass$5([
|
|
28830
29609
|
property({ type: Object })
|
|
28831
29610
|
], NLDDPagination.prototype, "translations", 2);
|
|
28832
|
-
NLDDPagination = __decorateClass$
|
|
29611
|
+
NLDDPagination = __decorateClass$5([
|
|
28833
29612
|
customElement("nldd-pagination")
|
|
28834
29613
|
], NLDDPagination);
|
|
28835
29614
|
const mdMin = unsafeCSS(breakpoints.mdMin);
|
|
@@ -28860,7 +29639,7 @@ const modalDialogStyles = css`
|
|
|
28860
29639
|
border: none;
|
|
28861
29640
|
border-radius: var(--semantics-overlays-corner-radius);
|
|
28862
29641
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
28863
|
-
background-color: var(--semantics-surfaces-background-color);
|
|
29642
|
+
background-color: var(--semantics-surfaces-base-background-color);
|
|
28864
29643
|
width: calc(100% - var(--primitives-space-16) * 2);
|
|
28865
29644
|
max-width: var(--primitives-area-480);
|
|
28866
29645
|
max-height: var(--_max-height);
|
|
@@ -28948,14 +29727,14 @@ function modalDialogTemplate(component) {
|
|
|
28948
29727
|
</dialog>
|
|
28949
29728
|
`;
|
|
28950
29729
|
}
|
|
28951
|
-
var __defProp$
|
|
28952
|
-
var __getOwnPropDesc$
|
|
28953
|
-
var __decorateClass$
|
|
28954
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
29730
|
+
var __defProp$4 = Object.defineProperty;
|
|
29731
|
+
var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor;
|
|
29732
|
+
var __decorateClass$4 = (decorators, target, key, kind) => {
|
|
29733
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$4(target, key) : target;
|
|
28955
29734
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
28956
29735
|
if (decorator = decorators[i])
|
|
28957
29736
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
28958
|
-
if (kind && result) __defProp$
|
|
29737
|
+
if (kind && result) __defProp$4(target, key, result);
|
|
28959
29738
|
return result;
|
|
28960
29739
|
};
|
|
28961
29740
|
let NLDDModalDialog = class extends LitElement {
|
|
@@ -29020,22 +29799,22 @@ let NLDDModalDialog = class extends LitElement {
|
|
|
29020
29799
|
}
|
|
29021
29800
|
};
|
|
29022
29801
|
NLDDModalDialog.styles = modalDialogStyles;
|
|
29023
|
-
__decorateClass$
|
|
29802
|
+
__decorateClass$4([
|
|
29024
29803
|
property({ type: String, reflect: true })
|
|
29025
29804
|
], NLDDModalDialog.prototype, "variant", 2);
|
|
29026
|
-
__decorateClass$
|
|
29805
|
+
__decorateClass$4([
|
|
29027
29806
|
property({ type: String, reflect: true })
|
|
29028
29807
|
], NLDDModalDialog.prototype, "icon", 2);
|
|
29029
|
-
__decorateClass$
|
|
29808
|
+
__decorateClass$4([
|
|
29030
29809
|
property({ type: String, reflect: true })
|
|
29031
29810
|
], NLDDModalDialog.prototype, "text", 2);
|
|
29032
|
-
__decorateClass$
|
|
29811
|
+
__decorateClass$4([
|
|
29033
29812
|
property({ type: String, reflect: true, attribute: "supporting-text" })
|
|
29034
29813
|
], NLDDModalDialog.prototype, "supportingText", 2);
|
|
29035
|
-
__decorateClass$
|
|
29814
|
+
__decorateClass$4([
|
|
29036
29815
|
property({ type: String, attribute: "accessible-label" })
|
|
29037
29816
|
], NLDDModalDialog.prototype, "accessibleLabel", 2);
|
|
29038
|
-
NLDDModalDialog = __decorateClass$
|
|
29817
|
+
NLDDModalDialog = __decorateClass$4([
|
|
29039
29818
|
customElement("nldd-modal-dialog")
|
|
29040
29819
|
], NLDDModalDialog);
|
|
29041
29820
|
const bannerStyles = css`
|
|
@@ -29254,14 +30033,14 @@ function bannerTemplate(component) {
|
|
|
29254
30033
|
const nlddBannerTranslations = {
|
|
29255
30034
|
"components.banner.dismiss-action": "Sluit"
|
|
29256
30035
|
};
|
|
29257
|
-
var __defProp$
|
|
29258
|
-
var __getOwnPropDesc$
|
|
29259
|
-
var __decorateClass$
|
|
29260
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
30036
|
+
var __defProp$3 = Object.defineProperty;
|
|
30037
|
+
var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor;
|
|
30038
|
+
var __decorateClass$3 = (decorators, target, key, kind) => {
|
|
30039
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$3(target, key) : target;
|
|
29261
30040
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
29262
30041
|
if (decorator = decorators[i])
|
|
29263
30042
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
29264
|
-
if (kind && result) __defProp$
|
|
30043
|
+
if (kind && result) __defProp$3(target, key, result);
|
|
29265
30044
|
return result;
|
|
29266
30045
|
};
|
|
29267
30046
|
const DEFAULT_ICONS = {
|
|
@@ -29367,34 +30146,34 @@ let NLDDBanner = class extends LitElement {
|
|
|
29367
30146
|
}
|
|
29368
30147
|
};
|
|
29369
30148
|
NLDDBanner.styles = bannerStyles;
|
|
29370
|
-
__decorateClass$
|
|
30149
|
+
__decorateClass$3([
|
|
29371
30150
|
property({ type: String, reflect: true })
|
|
29372
30151
|
], NLDDBanner.prototype, "variant", 2);
|
|
29373
|
-
__decorateClass$
|
|
30152
|
+
__decorateClass$3([
|
|
29374
30153
|
property({ type: String, reflect: true })
|
|
29375
30154
|
], NLDDBanner.prototype, "icon", 2);
|
|
29376
|
-
__decorateClass$
|
|
30155
|
+
__decorateClass$3([
|
|
29377
30156
|
property({ type: String })
|
|
29378
30157
|
], NLDDBanner.prototype, "text", 2);
|
|
29379
|
-
__decorateClass$
|
|
30158
|
+
__decorateClass$3([
|
|
29380
30159
|
property({ type: String, attribute: "supporting-text" })
|
|
29381
30160
|
], NLDDBanner.prototype, "supportingText", 2);
|
|
29382
|
-
__decorateClass$
|
|
30161
|
+
__decorateClass$3([
|
|
29383
30162
|
property({ type: Number, reflect: true, attribute: "heading-level" })
|
|
29384
30163
|
], NLDDBanner.prototype, "headingLevel", 2);
|
|
29385
|
-
__decorateClass$
|
|
30164
|
+
__decorateClass$3([
|
|
29386
30165
|
property({ type: Boolean, reflect: true })
|
|
29387
30166
|
], NLDDBanner.prototype, "dismissible", 2);
|
|
29388
|
-
__decorateClass$
|
|
30167
|
+
__decorateClass$3([
|
|
29389
30168
|
property({ type: Object })
|
|
29390
30169
|
], NLDDBanner.prototype, "translations", 2);
|
|
29391
|
-
__decorateClass$
|
|
30170
|
+
__decorateClass$3([
|
|
29392
30171
|
state()
|
|
29393
30172
|
], NLDDBanner.prototype, "_hasContent", 2);
|
|
29394
|
-
__decorateClass$
|
|
30173
|
+
__decorateClass$3([
|
|
29395
30174
|
state()
|
|
29396
30175
|
], NLDDBanner.prototype, "_hasActions", 2);
|
|
29397
|
-
NLDDBanner = __decorateClass$
|
|
30176
|
+
NLDDBanner = __decorateClass$3([
|
|
29398
30177
|
customElement("nldd-banner")
|
|
29399
30178
|
], NLDDBanner);
|
|
29400
30179
|
const badgeStyles = css`
|
|
@@ -29584,7 +30363,7 @@ const badgeStyles = css`
|
|
|
29584
30363
|
display: inline-flex;
|
|
29585
30364
|
border-radius: var(--components-badge-corner-radius);
|
|
29586
30365
|
box-shadow:
|
|
29587
|
-
0 0 0 1px var(--context-parent-background-color, var(--semantics-surfaces-background-color)),
|
|
30366
|
+
0 0 0 1px var(--context-parent-background-color, var(--semantics-surfaces-base-background-color)),
|
|
29588
30367
|
inset 0 0 0 var(--_border-width) var(--_border-color);
|
|
29589
30368
|
background-color: var(--_background-color);
|
|
29590
30369
|
min-width: var(--_height);
|
|
@@ -29667,14 +30446,14 @@ function template(component) {
|
|
|
29667
30446
|
const nlddBadgeTranslations = {
|
|
29668
30447
|
"components.badge.notification-text": "Notificatie"
|
|
29669
30448
|
};
|
|
29670
|
-
var __defProp$
|
|
29671
|
-
var __getOwnPropDesc$
|
|
29672
|
-
var __decorateClass$
|
|
29673
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
30449
|
+
var __defProp$2 = Object.defineProperty;
|
|
30450
|
+
var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor;
|
|
30451
|
+
var __decorateClass$2 = (decorators, target, key, kind) => {
|
|
30452
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$2(target, key) : target;
|
|
29674
30453
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
29675
30454
|
if (decorator = decorators[i])
|
|
29676
30455
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
29677
|
-
if (kind && result) __defProp$
|
|
30456
|
+
if (kind && result) __defProp$2(target, key, result);
|
|
29678
30457
|
return result;
|
|
29679
30458
|
};
|
|
29680
30459
|
let NLDDBadge = class extends withTranslations(LitElement, nlddBadgeTranslations) {
|
|
@@ -29714,28 +30493,28 @@ let NLDDBadge = class extends withTranslations(LitElement, nlddBadgeTranslations
|
|
|
29714
30493
|
}
|
|
29715
30494
|
};
|
|
29716
30495
|
NLDDBadge.styles = badgeStyles;
|
|
29717
|
-
__decorateClass$
|
|
30496
|
+
__decorateClass$2([
|
|
29718
30497
|
property({ type: String, reflect: true })
|
|
29719
30498
|
], NLDDBadge.prototype, "color", 2);
|
|
29720
|
-
__decorateClass$
|
|
30499
|
+
__decorateClass$2([
|
|
29721
30500
|
property({ type: String, reflect: true })
|
|
29722
30501
|
], NLDDBadge.prototype, "size", 2);
|
|
29723
|
-
__decorateClass$
|
|
30502
|
+
__decorateClass$2([
|
|
29724
30503
|
property({ type: String })
|
|
29725
30504
|
], NLDDBadge.prototype, "text", 2);
|
|
29726
|
-
__decorateClass$
|
|
30505
|
+
__decorateClass$2([
|
|
29727
30506
|
property({ type: Number, reflect: true })
|
|
29728
30507
|
], NLDDBadge.prototype, "number", 2);
|
|
29729
|
-
__decorateClass$
|
|
30508
|
+
__decorateClass$2([
|
|
29730
30509
|
property({ type: Number, reflect: true })
|
|
29731
30510
|
], NLDDBadge.prototype, "max", 2);
|
|
29732
|
-
__decorateClass$
|
|
30511
|
+
__decorateClass$2([
|
|
29733
30512
|
property({ type: String })
|
|
29734
30513
|
], NLDDBadge.prototype, "icon", 2);
|
|
29735
|
-
__decorateClass$
|
|
30514
|
+
__decorateClass$2([
|
|
29736
30515
|
property({ type: String, attribute: "accessible-label" })
|
|
29737
30516
|
], NLDDBadge.prototype, "accessibleLabel", 2);
|
|
29738
|
-
NLDDBadge = __decorateClass$
|
|
30517
|
+
NLDDBadge = __decorateClass$2([
|
|
29739
30518
|
customElement("nldd-badge")
|
|
29740
30519
|
], NLDDBadge);
|
|
29741
30520
|
const progressBarStyles = css`
|
|
@@ -29749,13 +30528,15 @@ const progressBarStyles = css`
|
|
|
29749
30528
|
--_track-border-color: var(--components-progress-bar-track-border-color);
|
|
29750
30529
|
--_track-border-width: var(--components-progress-bar-track-border-width);
|
|
29751
30530
|
--_corner-radius: var(--components-progress-bar-corner-radius);
|
|
29752
|
-
--_segment-gap: var(--components-progress-bar-progress-segment-gap);
|
|
30531
|
+
--_segment-indicator-gap: var(--components-progress-bar-progress-segment-indicator-gap);
|
|
29753
30532
|
--_caption-gap: var(--components-progress-bar-caption-gap);
|
|
29754
30533
|
--_text-color: var(--components-progress-bar-text-color);
|
|
29755
30534
|
--_supporting-text-color: var(--components-progress-bar-supporting-text-color);
|
|
29756
30535
|
--_text-font: var(--components-progress-bar-text-font);
|
|
29757
30536
|
--_supporting-text-font: var(--components-progress-bar-supporting-text-font);
|
|
29758
30537
|
--_indeterminate-background-color: var(--components-progress-bar-accent-background-color);
|
|
30538
|
+
--_indeterminate-border-color: var(--components-progress-bar-accent-border-color);
|
|
30539
|
+
--_indeterminate-border-width: var(--components-progress-bar-segment-indicator-border-width);
|
|
29759
30540
|
--_indeterminate-bar-width: 20%;
|
|
29760
30541
|
--_indeterminate-duration: 800ms;
|
|
29761
30542
|
|
|
@@ -29776,38 +30557,38 @@ const progressBarStyles = css`
|
|
|
29776
30557
|
:host([size="lg"]) { --_height: var(--components-progress-bar-lg-height); }
|
|
29777
30558
|
|
|
29778
30559
|
:host([mode="distribution"]) {
|
|
29779
|
-
--_segment-gap: var(--components-progress-bar-distribution-segment-gap);
|
|
30560
|
+
--_segment-indicator-gap: var(--components-progress-bar-distribution-segment-indicator-gap);
|
|
29780
30561
|
--_corner-radius: var(--components-progress-bar-distribution-corner-radius);
|
|
29781
30562
|
}
|
|
29782
30563
|
|
|
29783
30564
|
|
|
29784
|
-
/* ## Indeterminate fill colour
|
|
29785
|
-
|
|
29786
|
-
:host([color="neutral"]) { --_indeterminate-background-color: var(--components-progress-bar-neutral-background-color); }
|
|
29787
|
-
:host([color="accent"]) { --_indeterminate-background-color: var(--components-progress-bar-accent-background-color); }
|
|
29788
|
-
:host([color="success"]) { --_indeterminate-background-color: var(--components-progress-bar-success-background-color); }
|
|
29789
|
-
:host([color="warning"]) { --_indeterminate-background-color: var(--components-progress-bar-warning-background-color); }
|
|
29790
|
-
:host([color="critical"]) { --_indeterminate-background-color: var(--components-progress-bar-critical-background-color); }
|
|
29791
|
-
|
|
29792
|
-
:host([color="coolgray"]) { --_indeterminate-background-color: var(--components-progress-bar-coolgray-background-color); }
|
|
29793
|
-
:host([color="lintblauw"]) { --_indeterminate-background-color: var(--components-progress-bar-lintblauw-background-color); }
|
|
29794
|
-
:host([color="donkerblauw"]) { --_indeterminate-background-color: var(--components-progress-bar-donkerblauw-background-color); }
|
|
29795
|
-
:host([color="hemelblauw"]) { --_indeterminate-background-color: var(--components-progress-bar-hemelblauw-background-color); }
|
|
29796
|
-
:host([color="lichtblauw"]) { --_indeterminate-background-color: var(--components-progress-bar-lichtblauw-background-color); }
|
|
29797
|
-
:host([color="paars"]) { --_indeterminate-background-color: var(--components-progress-bar-paars-background-color); }
|
|
29798
|
-
:host([color="violet"]) { --_indeterminate-background-color: var(--components-progress-bar-violet-background-color); }
|
|
29799
|
-
:host([color="robijnrood"]) { --_indeterminate-background-color: var(--components-progress-bar-robijnrood-background-color); }
|
|
29800
|
-
:host([color="roze"]) { --_indeterminate-background-color: var(--components-progress-bar-roze-background-color); }
|
|
29801
|
-
:host([color="rood"]) { --_indeterminate-background-color: var(--components-progress-bar-rood-background-color); }
|
|
29802
|
-
:host([color="oranje"]) { --_indeterminate-background-color: var(--components-progress-bar-oranje-background-color); }
|
|
29803
|
-
:host([color="donkergeel"]) { --_indeterminate-background-color: var(--components-progress-bar-donkergeel-background-color); }
|
|
29804
|
-
:host([color="geel"]) { --_indeterminate-background-color: var(--components-progress-bar-geel-background-color); }
|
|
29805
|
-
:host([color="donkerbruin"]) { --_indeterminate-background-color: var(--components-progress-bar-donkerbruin-background-color); }
|
|
29806
|
-
:host([color="bruin"]) { --_indeterminate-background-color: var(--components-progress-bar-bruin-background-color); }
|
|
29807
|
-
:host([color="donkergroen"]) { --_indeterminate-background-color: var(--components-progress-bar-donkergroen-background-color); }
|
|
29808
|
-
:host([color="groen"]) { --_indeterminate-background-color: var(--components-progress-bar-groen-background-color); }
|
|
29809
|
-
:host([color="mosgroen"]) { --_indeterminate-background-color: var(--components-progress-bar-mosgroen-background-color); }
|
|
29810
|
-
:host([color="mintgroen"]) { --_indeterminate-background-color: var(--components-progress-bar-mintgroen-background-color); }
|
|
30565
|
+
/* ## Indeterminate fill + border colour follow the variant; default is accent (blue) */
|
|
30566
|
+
|
|
30567
|
+
:host([color="neutral"]) { --_indeterminate-background-color: var(--components-progress-bar-neutral-background-color); --_indeterminate-border-color: var(--components-progress-bar-neutral-border-color); }
|
|
30568
|
+
:host([color="accent"]) { --_indeterminate-background-color: var(--components-progress-bar-accent-background-color); --_indeterminate-border-color: var(--components-progress-bar-accent-border-color); }
|
|
30569
|
+
:host([color="success"]) { --_indeterminate-background-color: var(--components-progress-bar-success-background-color); --_indeterminate-border-color: var(--components-progress-bar-success-border-color); }
|
|
30570
|
+
:host([color="warning"]) { --_indeterminate-background-color: var(--components-progress-bar-warning-background-color); --_indeterminate-border-color: var(--components-progress-bar-warning-border-color); }
|
|
30571
|
+
:host([color="critical"]) { --_indeterminate-background-color: var(--components-progress-bar-critical-background-color); --_indeterminate-border-color: var(--components-progress-bar-critical-border-color); }
|
|
30572
|
+
|
|
30573
|
+
:host([color="coolgray"]) { --_indeterminate-background-color: var(--components-progress-bar-coolgray-background-color); --_indeterminate-border-color: var(--components-progress-bar-coolgray-border-color); }
|
|
30574
|
+
:host([color="lintblauw"]) { --_indeterminate-background-color: var(--components-progress-bar-lintblauw-background-color); --_indeterminate-border-color: var(--components-progress-bar-lintblauw-border-color); }
|
|
30575
|
+
:host([color="donkerblauw"]) { --_indeterminate-background-color: var(--components-progress-bar-donkerblauw-background-color); --_indeterminate-border-color: var(--components-progress-bar-donkerblauw-border-color); }
|
|
30576
|
+
:host([color="hemelblauw"]) { --_indeterminate-background-color: var(--components-progress-bar-hemelblauw-background-color); --_indeterminate-border-color: var(--components-progress-bar-hemelblauw-border-color); }
|
|
30577
|
+
:host([color="lichtblauw"]) { --_indeterminate-background-color: var(--components-progress-bar-lichtblauw-background-color); --_indeterminate-border-color: var(--components-progress-bar-lichtblauw-border-color); }
|
|
30578
|
+
:host([color="paars"]) { --_indeterminate-background-color: var(--components-progress-bar-paars-background-color); --_indeterminate-border-color: var(--components-progress-bar-paars-border-color); }
|
|
30579
|
+
:host([color="violet"]) { --_indeterminate-background-color: var(--components-progress-bar-violet-background-color); --_indeterminate-border-color: var(--components-progress-bar-violet-border-color); }
|
|
30580
|
+
:host([color="robijnrood"]) { --_indeterminate-background-color: var(--components-progress-bar-robijnrood-background-color); --_indeterminate-border-color: var(--components-progress-bar-robijnrood-border-color); }
|
|
30581
|
+
:host([color="roze"]) { --_indeterminate-background-color: var(--components-progress-bar-roze-background-color); --_indeterminate-border-color: var(--components-progress-bar-roze-border-color); }
|
|
30582
|
+
:host([color="rood"]) { --_indeterminate-background-color: var(--components-progress-bar-rood-background-color); --_indeterminate-border-color: var(--components-progress-bar-rood-border-color); }
|
|
30583
|
+
:host([color="oranje"]) { --_indeterminate-background-color: var(--components-progress-bar-oranje-background-color); --_indeterminate-border-color: var(--components-progress-bar-oranje-border-color); }
|
|
30584
|
+
:host([color="donkergeel"]) { --_indeterminate-background-color: var(--components-progress-bar-donkergeel-background-color); --_indeterminate-border-color: var(--components-progress-bar-donkergeel-border-color); }
|
|
30585
|
+
:host([color="geel"]) { --_indeterminate-background-color: var(--components-progress-bar-geel-background-color); --_indeterminate-border-color: var(--components-progress-bar-geel-border-color); }
|
|
30586
|
+
:host([color="donkerbruin"]) { --_indeterminate-background-color: var(--components-progress-bar-donkerbruin-background-color); --_indeterminate-border-color: var(--components-progress-bar-donkerbruin-border-color); }
|
|
30587
|
+
:host([color="bruin"]) { --_indeterminate-background-color: var(--components-progress-bar-bruin-background-color); --_indeterminate-border-color: var(--components-progress-bar-bruin-border-color); }
|
|
30588
|
+
:host([color="donkergroen"]) { --_indeterminate-background-color: var(--components-progress-bar-donkergroen-background-color); --_indeterminate-border-color: var(--components-progress-bar-donkergroen-border-color); }
|
|
30589
|
+
:host([color="groen"]) { --_indeterminate-background-color: var(--components-progress-bar-groen-background-color); --_indeterminate-border-color: var(--components-progress-bar-groen-border-color); }
|
|
30590
|
+
:host([color="mosgroen"]) { --_indeterminate-background-color: var(--components-progress-bar-mosgroen-background-color); --_indeterminate-border-color: var(--components-progress-bar-mosgroen-border-color); }
|
|
30591
|
+
:host([color="mintgroen"]) { --_indeterminate-background-color: var(--components-progress-bar-mintgroen-background-color); --_indeterminate-border-color: var(--components-progress-bar-mintgroen-border-color); }
|
|
29811
30592
|
|
|
29812
30593
|
|
|
29813
30594
|
/* # Caption */
|
|
@@ -29843,7 +30624,7 @@ const progressBarStyles = css`
|
|
|
29843
30624
|
width: 100%;
|
|
29844
30625
|
height: var(--_height);
|
|
29845
30626
|
overflow: hidden;
|
|
29846
|
-
gap: var(--_segment-gap);
|
|
30627
|
+
gap: var(--_segment-indicator-gap);
|
|
29847
30628
|
container-type: inline-size;
|
|
29848
30629
|
}
|
|
29849
30630
|
|
|
@@ -29891,6 +30672,7 @@ const progressBarStyles = css`
|
|
|
29891
30672
|
left: 0;
|
|
29892
30673
|
border-radius: var(--_corner-radius);
|
|
29893
30674
|
background: var(--_indeterminate-background-color);
|
|
30675
|
+
box-shadow: inset 0 0 0 var(--_indeterminate-border-width) var(--_indeterminate-border-color);
|
|
29894
30676
|
width: var(--_indeterminate-bar-width);
|
|
29895
30677
|
transform: translateX(0);
|
|
29896
30678
|
/* Duration scales with track width via the container queries below.
|
|
@@ -29941,17 +30723,17 @@ const progressBarStyles = css`
|
|
|
29941
30723
|
}
|
|
29942
30724
|
}
|
|
29943
30725
|
`;
|
|
29944
|
-
const
|
|
30726
|
+
const progressBarSegmentIndicatorStyles = css`
|
|
29945
30727
|
|
|
29946
30728
|
|
|
29947
30729
|
/* # Host */
|
|
29948
30730
|
|
|
29949
30731
|
:host {
|
|
29950
|
-
--_width: var(--context-progress-bar-segment-width, 0%);
|
|
29951
|
-
--_min-width: var(--components-progress-bar-segment-min-width);
|
|
30732
|
+
--_width: var(--context-progress-bar-segment-indicator-width, 0%);
|
|
30733
|
+
--_min-width: var(--components-progress-bar-segment-indicator-min-width);
|
|
29952
30734
|
--_background-color: var(--components-progress-bar-accent-background-color);
|
|
29953
30735
|
--_border-color: var(--components-progress-bar-accent-border-color);
|
|
29954
|
-
--_border-width: var(--components-progress-bar-segment-border-width);
|
|
30736
|
+
--_border-width: var(--components-progress-bar-segment-indicator-border-width);
|
|
29955
30737
|
|
|
29956
30738
|
box-sizing: border-box;
|
|
29957
30739
|
display: block;
|
|
@@ -29976,19 +30758,19 @@ const progressBarSegmentStyles = css`
|
|
|
29976
30758
|
indeterminate and determinate. */
|
|
29977
30759
|
|
|
29978
30760
|
:host([data-grow]) {
|
|
29979
|
-
animation: progress-bar-segment-grow var(--primitives-transition-duration-slow) ease-out;
|
|
30761
|
+
animation: progress-bar-segment-indicator-grow var(--primitives-transition-duration-slow) ease-out;
|
|
29980
30762
|
}
|
|
29981
30763
|
|
|
29982
30764
|
:host([data-shrink]) {
|
|
29983
|
-
animation: progress-bar-segment-shrink var(--primitives-transition-duration-slow) ease-out forwards;
|
|
30765
|
+
animation: progress-bar-segment-indicator-shrink var(--primitives-transition-duration-slow) ease-out forwards;
|
|
29984
30766
|
}
|
|
29985
30767
|
|
|
29986
|
-
@keyframes progress-bar-segment-grow {
|
|
30768
|
+
@keyframes progress-bar-segment-indicator-grow {
|
|
29987
30769
|
from { width: 0%; }
|
|
29988
30770
|
to { width: var(--_width); }
|
|
29989
30771
|
}
|
|
29990
30772
|
|
|
29991
|
-
@keyframes progress-bar-segment-shrink {
|
|
30773
|
+
@keyframes progress-bar-segment-indicator-shrink {
|
|
29992
30774
|
from { width: var(--_width); opacity: 1; }
|
|
29993
30775
|
to { width: 0%; opacity: 0; }
|
|
29994
30776
|
}
|
|
@@ -30115,7 +30897,7 @@ const progressBarSegmentStyles = css`
|
|
|
30115
30897
|
/* # Hover area (tooltip trigger)
|
|
30116
30898
|
Fills the segment; captures hover/focus for the wrapping nldd-tooltip. */
|
|
30117
30899
|
|
|
30118
|
-
.progress-bar-
|
|
30900
|
+
.progress-bar-segment-indicator__tooltip-area {
|
|
30119
30901
|
display: block;
|
|
30120
30902
|
position: absolute;
|
|
30121
30903
|
inset: 0;
|
|
@@ -30141,8 +30923,8 @@ function progressBarTemplate(component, onSlotChange) {
|
|
|
30141
30923
|
const hasCaption = component._hasCaption;
|
|
30142
30924
|
const isExiting = component._indeterminateExiting;
|
|
30143
30925
|
const isEntering = component._indeterminateEntering;
|
|
30144
|
-
const showIndeterminateIndicator = (component.indeterminate || isExiting) && !component.
|
|
30145
|
-
const
|
|
30926
|
+
const showIndeterminateIndicator = (component.indeterminate || isExiting) && !component._hasSegmentIndicators;
|
|
30927
|
+
const showInternalSegmentIndicator = !component._hasSegmentIndicators && component.value !== null && component.value > 0 && (!component.indeterminate || isEntering);
|
|
30146
30928
|
const ariaValueNow = component.indeterminate ? void 0 : Math.round(component._totalValue);
|
|
30147
30929
|
const ariaLabel = component.text || component._t("components.progress-bar.label-text");
|
|
30148
30930
|
return html`
|
|
@@ -30160,6 +30942,13 @@ function progressBarTemplate(component, onSlotChange) {
|
|
|
30160
30942
|
aria-valuenow=${ifDefined(ariaValueNow)}
|
|
30161
30943
|
aria-valuetext=${component._ariaValueText}
|
|
30162
30944
|
>
|
|
30945
|
+
${showInternalSegmentIndicator ? html`
|
|
30946
|
+
<nldd-progress-bar-segment-indicator class="progress-bar__segment-indicator"
|
|
30947
|
+
.value=${component.value}
|
|
30948
|
+
color=${component.color}
|
|
30949
|
+
></nldd-progress-bar-segment-indicator>
|
|
30950
|
+
` : nothing}
|
|
30951
|
+
<slot @slotchange=${onSlotChange}></slot>
|
|
30163
30952
|
${showIndeterminateIndicator ? html`
|
|
30164
30953
|
<div class=${classMap({
|
|
30165
30954
|
"progress-bar__indeterminate-indicator": true,
|
|
@@ -30167,13 +30956,6 @@ function progressBarTemplate(component, onSlotChange) {
|
|
|
30167
30956
|
"is-fading-in": isEntering && component.indeterminate
|
|
30168
30957
|
})}></div>
|
|
30169
30958
|
` : nothing}
|
|
30170
|
-
${showInternalSegment ? html`
|
|
30171
|
-
<nldd-progress-bar-segment class="progress-bar__segment"
|
|
30172
|
-
.value=${component.value}
|
|
30173
|
-
color=${component.color}
|
|
30174
|
-
></nldd-progress-bar-segment>
|
|
30175
|
-
` : nothing}
|
|
30176
|
-
<slot @slotchange=${onSlotChange}></slot>
|
|
30177
30959
|
</div>
|
|
30178
30960
|
`;
|
|
30179
30961
|
}
|
|
@@ -30183,18 +30965,18 @@ const nlddProgressBarTranslations = {
|
|
|
30183
30965
|
"components.progress-bar.loading-text": "Aan het laden",
|
|
30184
30966
|
"components.progress-bar.label-text": "Voortgang"
|
|
30185
30967
|
};
|
|
30186
|
-
var __defProp$
|
|
30187
|
-
var __getOwnPropDesc$
|
|
30188
|
-
var __decorateClass$
|
|
30189
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$
|
|
30968
|
+
var __defProp$1 = Object.defineProperty;
|
|
30969
|
+
var __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor;
|
|
30970
|
+
var __decorateClass$1 = (decorators, target, key, kind) => {
|
|
30971
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1(target, key) : target;
|
|
30190
30972
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
30191
30973
|
if (decorator = decorators[i])
|
|
30192
30974
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
30193
|
-
if (kind && result) __defProp$
|
|
30975
|
+
if (kind && result) __defProp$1(target, key, result);
|
|
30194
30976
|
return result;
|
|
30195
30977
|
};
|
|
30196
30978
|
const INDETERMINATE_TRANSITION_MS$1 = 300;
|
|
30197
|
-
let
|
|
30979
|
+
let NLDDProgressBarSegmentIndicator = class extends LitElement {
|
|
30198
30980
|
constructor() {
|
|
30199
30981
|
super(...arguments);
|
|
30200
30982
|
this.value = 0;
|
|
@@ -30209,11 +30991,11 @@ let NLDDProgressBarSegment = class extends LitElement {
|
|
|
30209
30991
|
render() {
|
|
30210
30992
|
const text = this._effectiveTooltip;
|
|
30211
30993
|
if (!text) {
|
|
30212
|
-
return html`<span class="progress-bar-
|
|
30994
|
+
return html`<span class="progress-bar-segment-indicator__tooltip-area"></span>`;
|
|
30213
30995
|
}
|
|
30214
30996
|
return html`
|
|
30215
30997
|
<nldd-tooltip text=${text} timing="instant">
|
|
30216
|
-
<span class="progress-bar-
|
|
30998
|
+
<span class="progress-bar-segment-indicator__tooltip-area"
|
|
30217
30999
|
tabindex="0"
|
|
30218
31000
|
role="img"
|
|
30219
31001
|
aria-label=${text}
|
|
@@ -30222,25 +31004,25 @@ let NLDDProgressBarSegment = class extends LitElement {
|
|
|
30222
31004
|
`;
|
|
30223
31005
|
}
|
|
30224
31006
|
};
|
|
30225
|
-
|
|
30226
|
-
__decorateClass$
|
|
31007
|
+
NLDDProgressBarSegmentIndicator.styles = progressBarSegmentIndicatorStyles;
|
|
31008
|
+
__decorateClass$1([
|
|
30227
31009
|
property({ type: Number, reflect: true })
|
|
30228
|
-
],
|
|
30229
|
-
__decorateClass$
|
|
31010
|
+
], NLDDProgressBarSegmentIndicator.prototype, "value", 2);
|
|
31011
|
+
__decorateClass$1([
|
|
30230
31012
|
property({ type: String, reflect: true })
|
|
30231
|
-
],
|
|
30232
|
-
__decorateClass$
|
|
31013
|
+
], NLDDProgressBarSegmentIndicator.prototype, "color", 2);
|
|
31014
|
+
__decorateClass$1([
|
|
30233
31015
|
property({ type: String, reflect: true })
|
|
30234
|
-
],
|
|
30235
|
-
__decorateClass$
|
|
31016
|
+
], NLDDProgressBarSegmentIndicator.prototype, "name", 2);
|
|
31017
|
+
__decorateClass$1([
|
|
30236
31018
|
property({ type: String, reflect: true, attribute: "tooltip-text" })
|
|
30237
|
-
],
|
|
30238
|
-
__decorateClass$
|
|
31019
|
+
], NLDDProgressBarSegmentIndicator.prototype, "tooltipText", 2);
|
|
31020
|
+
__decorateClass$1([
|
|
30239
31021
|
state()
|
|
30240
|
-
],
|
|
30241
|
-
|
|
30242
|
-
customElement("nldd-progress-bar-segment")
|
|
30243
|
-
],
|
|
31022
|
+
], NLDDProgressBarSegmentIndicator.prototype, "_autoTooltipText", 2);
|
|
31023
|
+
NLDDProgressBarSegmentIndicator = __decorateClass$1([
|
|
31024
|
+
customElement("nldd-progress-bar-segment-indicator")
|
|
31025
|
+
], NLDDProgressBarSegmentIndicator);
|
|
30244
31026
|
let NLDDProgressBar = class extends LitElement {
|
|
30245
31027
|
constructor() {
|
|
30246
31028
|
super(...arguments);
|
|
@@ -30256,7 +31038,7 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30256
31038
|
this.accessibleLabel = "";
|
|
30257
31039
|
this.indeterminate = false;
|
|
30258
31040
|
this.translations = {};
|
|
30259
|
-
this.
|
|
31041
|
+
this._segmentIndicators = [];
|
|
30260
31042
|
this._indeterminateExiting = false;
|
|
30261
31043
|
this._indeterminateEntering = false;
|
|
30262
31044
|
this._onSlotChangeBound = this._onSlotChange.bind(this);
|
|
@@ -30265,13 +31047,13 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30265
31047
|
return this.translations[key] ?? nlddProgressBarTranslations[key];
|
|
30266
31048
|
}
|
|
30267
31049
|
/** Returns true when the user has provided segment children. */
|
|
30268
|
-
get
|
|
30269
|
-
return this.
|
|
31050
|
+
get _hasSegmentIndicators() {
|
|
31051
|
+
return this._segmentIndicators.length > 0;
|
|
30270
31052
|
}
|
|
30271
31053
|
/** Sum of all segment values, or the parent's own value, or 0. */
|
|
30272
31054
|
get _totalValue() {
|
|
30273
|
-
if (this.
|
|
30274
|
-
return this.
|
|
31055
|
+
if (this._hasSegmentIndicators) {
|
|
31056
|
+
return this._segmentIndicators.reduce((sum, s) => sum + Math.max(0, s.value), 0);
|
|
30275
31057
|
}
|
|
30276
31058
|
return Math.max(0, this.value ?? 0);
|
|
30277
31059
|
}
|
|
@@ -30301,21 +31083,21 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30301
31083
|
if (this.indeterminate) return this._t("components.progress-bar.loading-text");
|
|
30302
31084
|
const completedSuffix = this._t("components.progress-bar.completed-suffix-text");
|
|
30303
31085
|
const totalPrefix = this._t("components.progress-bar.total-prefix-text");
|
|
30304
|
-
if (!this.
|
|
31086
|
+
if (!this._hasSegmentIndicators) {
|
|
30305
31087
|
return `${Math.round(this._percentage)}% ${completedSuffix}`;
|
|
30306
31088
|
}
|
|
30307
|
-
const named = this.
|
|
30308
|
-
const allNamed = named.length === this.
|
|
30309
|
-
const
|
|
31089
|
+
const named = this._segmentIndicators.filter((s) => s.name);
|
|
31090
|
+
const allNamed = named.length === this._segmentIndicators.length && this._segmentIndicators.length > 0;
|
|
31091
|
+
const segmentIndicatorDescriptions = this._segmentIndicators.filter((s) => s.value > 0).map((s) => {
|
|
30310
31092
|
const pct = this.max > 0 ? Math.round(s.value / this.max * 100) : 0;
|
|
30311
31093
|
return s.name ? `${s.name}: ${pct}%` : `${pct}%`;
|
|
30312
31094
|
});
|
|
30313
31095
|
if (this.mode === "distribution") {
|
|
30314
|
-
return
|
|
31096
|
+
return segmentIndicatorDescriptions.join(", ");
|
|
30315
31097
|
}
|
|
30316
31098
|
const totalPct = Math.round(this._percentage);
|
|
30317
31099
|
if (allNamed) {
|
|
30318
|
-
return `${
|
|
31100
|
+
return `${segmentIndicatorDescriptions.join(", ")}. ${totalPrefix} ${totalPct}% ${completedSuffix}.`;
|
|
30319
31101
|
}
|
|
30320
31102
|
return `${totalPct}% ${completedSuffix}`;
|
|
30321
31103
|
}
|
|
@@ -30325,7 +31107,7 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30325
31107
|
return !!this.text || this.valueDisplay === "inline" && !!this._displayValue;
|
|
30326
31108
|
}
|
|
30327
31109
|
firstUpdated() {
|
|
30328
|
-
this.
|
|
31110
|
+
this._syncSegmentIndicators();
|
|
30329
31111
|
}
|
|
30330
31112
|
willUpdate(changed) {
|
|
30331
31113
|
if (changed.has("indeterminate")) {
|
|
@@ -30338,9 +31120,9 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30338
31120
|
}
|
|
30339
31121
|
}
|
|
30340
31122
|
updated() {
|
|
30341
|
-
this.
|
|
31123
|
+
this._syncSegmentIndicators();
|
|
30342
31124
|
}
|
|
30343
|
-
/**
|
|
31125
|
+
/** Indeterminate indicator fades out, segment-indicator grows from 0 to its target — both 300ms
|
|
30344
31126
|
* (matches --primitives-transition-duration-slow and nldd-progress-circle). */
|
|
30345
31127
|
_beginIndeterminateExit() {
|
|
30346
31128
|
this._cancelIndeterminateEnter();
|
|
@@ -30350,7 +31132,7 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30350
31132
|
this._exitTimeout = void 0;
|
|
30351
31133
|
}, INDETERMINATE_TRANSITION_MS$1);
|
|
30352
31134
|
}
|
|
30353
|
-
/**
|
|
31135
|
+
/** Indeterminate indicator fades in, segment-indicator shrinks from current width to 0 — both 300ms. */
|
|
30354
31136
|
_beginIndeterminateEnter() {
|
|
30355
31137
|
this._cancelIndeterminateExit();
|
|
30356
31138
|
this._indeterminateEntering = true;
|
|
@@ -30373,8 +31155,10 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30373
31155
|
}
|
|
30374
31156
|
this._indeterminateEntering = false;
|
|
30375
31157
|
}
|
|
30376
|
-
/**
|
|
30377
|
-
|
|
31158
|
+
/** Computes a segment-indicator's auto-tooltip from the parent's value-format
|
|
31159
|
+
* and the segment name. Consumers override it per segment with the
|
|
31160
|
+
* tooltip-text attribute, which wins over this auto-text. */
|
|
31161
|
+
_formatSegmentIndicatorTooltip(seg) {
|
|
30378
31162
|
if (this.valueDisplay === "none") return seg.name ?? "";
|
|
30379
31163
|
const v = Math.max(0, seg.value);
|
|
30380
31164
|
const pct = this.max > 0 ? Math.round(v / this.max * 100) : 0;
|
|
@@ -30402,30 +31186,30 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30402
31186
|
_onSlotChange() {
|
|
30403
31187
|
const slot = this.shadowRoot?.querySelector("slot:not([name])");
|
|
30404
31188
|
const assigned = slot?.assignedElements({ flatten: true }) ?? [];
|
|
30405
|
-
this.
|
|
30406
|
-
(el) => el instanceof
|
|
31189
|
+
this._segmentIndicators = assigned.filter(
|
|
31190
|
+
(el) => el instanceof NLDDProgressBarSegmentIndicator
|
|
30407
31191
|
);
|
|
30408
31192
|
this._attributeObserver?.disconnect();
|
|
30409
31193
|
this._attributeObserver = new MutationObserver(() => this.requestUpdate());
|
|
30410
|
-
for (const seg of this.
|
|
31194
|
+
for (const seg of this._segmentIndicators) {
|
|
30411
31195
|
this._attributeObserver.observe(seg, {
|
|
30412
31196
|
attributes: true,
|
|
30413
31197
|
attributeFilter: ["value", "color", "name", "tooltip-text"]
|
|
30414
31198
|
});
|
|
30415
31199
|
}
|
|
30416
31200
|
}
|
|
30417
|
-
|
|
31201
|
+
_syncSegmentIndicators() {
|
|
30418
31202
|
const total = this._totalValue;
|
|
30419
31203
|
const denominator = total > this.max ? total : this.max;
|
|
30420
|
-
const
|
|
30421
|
-
".progress-bar__segment"
|
|
31204
|
+
const internalSegmentIndicator = this.shadowRoot?.querySelector(
|
|
31205
|
+
".progress-bar__segment-indicator"
|
|
30422
31206
|
) ?? null;
|
|
30423
|
-
const
|
|
30424
|
-
const visibleCount =
|
|
31207
|
+
const allSegmentIndicators = internalSegmentIndicator ? [internalSegmentIndicator, ...this._segmentIndicators] : [...this._segmentIndicators];
|
|
31208
|
+
const visibleCount = allSegmentIndicators.filter((s) => Math.max(0, s.value) > 0).length;
|
|
30425
31209
|
const suppressAutoTooltip = visibleCount <= 1 && this.valueDisplay !== "tooltip";
|
|
30426
31210
|
const isExiting = this._indeterminateExiting;
|
|
30427
31211
|
const isEntering = this._indeterminateEntering;
|
|
30428
|
-
for (const seg of
|
|
31212
|
+
for (const seg of allSegmentIndicators) {
|
|
30429
31213
|
const v = Math.max(0, seg.value);
|
|
30430
31214
|
if (v <= 0) {
|
|
30431
31215
|
seg.hidden = true;
|
|
@@ -30435,9 +31219,9 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30435
31219
|
}
|
|
30436
31220
|
seg.hidden = false;
|
|
30437
31221
|
const pct = denominator > 0 ? v / denominator * 100 : 0;
|
|
30438
|
-
seg.style.setProperty("--context-progress-bar-segment-width", `${pct}%`);
|
|
31222
|
+
seg.style.setProperty("--context-progress-bar-segment-indicator-width", `${pct}%`);
|
|
30439
31223
|
seg.setAttribute("data-mode", this.mode);
|
|
30440
|
-
seg._autoTooltipText = suppressAutoTooltip ? "" : this.
|
|
31224
|
+
seg._autoTooltipText = suppressAutoTooltip ? "" : this._formatSegmentIndicatorTooltip(seg);
|
|
30441
31225
|
seg.toggleAttribute("data-grow", isExiting);
|
|
30442
31226
|
seg.toggleAttribute("data-shrink", isEntering);
|
|
30443
31227
|
}
|
|
@@ -30447,52 +31231,52 @@ let NLDDProgressBar = class extends LitElement {
|
|
|
30447
31231
|
}
|
|
30448
31232
|
};
|
|
30449
31233
|
NLDDProgressBar.styles = progressBarStyles;
|
|
30450
|
-
__decorateClass$
|
|
31234
|
+
__decorateClass$1([
|
|
30451
31235
|
property({ type: String, reflect: true })
|
|
30452
31236
|
], NLDDProgressBar.prototype, "mode", 2);
|
|
30453
|
-
__decorateClass$
|
|
31237
|
+
__decorateClass$1([
|
|
30454
31238
|
property({ type: Number, reflect: true })
|
|
30455
31239
|
], NLDDProgressBar.prototype, "max", 2);
|
|
30456
|
-
__decorateClass$
|
|
31240
|
+
__decorateClass$1([
|
|
30457
31241
|
property({ type: Number, reflect: true })
|
|
30458
31242
|
], NLDDProgressBar.prototype, "value", 2);
|
|
30459
|
-
__decorateClass$
|
|
31243
|
+
__decorateClass$1([
|
|
30460
31244
|
property({ type: String, reflect: true })
|
|
30461
31245
|
], NLDDProgressBar.prototype, "color", 2);
|
|
30462
|
-
__decorateClass$
|
|
31246
|
+
__decorateClass$1([
|
|
30463
31247
|
property({ type: String, reflect: true })
|
|
30464
31248
|
], NLDDProgressBar.prototype, "size", 2);
|
|
30465
|
-
__decorateClass$
|
|
31249
|
+
__decorateClass$1([
|
|
30466
31250
|
property({ type: String, reflect: true })
|
|
30467
31251
|
], NLDDProgressBar.prototype, "text", 2);
|
|
30468
|
-
__decorateClass$
|
|
31252
|
+
__decorateClass$1([
|
|
30469
31253
|
property({ type: String, reflect: true, attribute: "value-format" })
|
|
30470
31254
|
], NLDDProgressBar.prototype, "valueFormat", 2);
|
|
30471
|
-
__decorateClass$
|
|
31255
|
+
__decorateClass$1([
|
|
30472
31256
|
property({ type: String, reflect: true, attribute: "value-text" })
|
|
30473
31257
|
], NLDDProgressBar.prototype, "valueText", 2);
|
|
30474
|
-
__decorateClass$
|
|
31258
|
+
__decorateClass$1([
|
|
30475
31259
|
property({ type: String, reflect: true, attribute: "value-display" })
|
|
30476
31260
|
], NLDDProgressBar.prototype, "valueDisplay", 2);
|
|
30477
|
-
__decorateClass$
|
|
31261
|
+
__decorateClass$1([
|
|
30478
31262
|
property({ type: String, reflect: true, attribute: "accessible-label" })
|
|
30479
31263
|
], NLDDProgressBar.prototype, "accessibleLabel", 2);
|
|
30480
|
-
__decorateClass$
|
|
31264
|
+
__decorateClass$1([
|
|
30481
31265
|
property({ type: Boolean, reflect: true })
|
|
30482
31266
|
], NLDDProgressBar.prototype, "indeterminate", 2);
|
|
30483
|
-
__decorateClass$
|
|
31267
|
+
__decorateClass$1([
|
|
30484
31268
|
property({ type: Object })
|
|
30485
31269
|
], NLDDProgressBar.prototype, "translations", 2);
|
|
30486
|
-
__decorateClass$
|
|
31270
|
+
__decorateClass$1([
|
|
30487
31271
|
state()
|
|
30488
|
-
], NLDDProgressBar.prototype, "
|
|
30489
|
-
__decorateClass$
|
|
31272
|
+
], NLDDProgressBar.prototype, "_segmentIndicators", 2);
|
|
31273
|
+
__decorateClass$1([
|
|
30490
31274
|
state()
|
|
30491
31275
|
], NLDDProgressBar.prototype, "_indeterminateExiting", 2);
|
|
30492
|
-
__decorateClass$
|
|
31276
|
+
__decorateClass$1([
|
|
30493
31277
|
state()
|
|
30494
31278
|
], NLDDProgressBar.prototype, "_indeterminateEntering", 2);
|
|
30495
|
-
NLDDProgressBar = __decorateClass$
|
|
31279
|
+
NLDDProgressBar = __decorateClass$1([
|
|
30496
31280
|
customElement("nldd-progress-bar")
|
|
30497
31281
|
], NLDDProgressBar);
|
|
30498
31282
|
const progressCircleStyles = css`
|
|
@@ -30575,13 +31359,13 @@ const progressCircleStyles = css`
|
|
|
30575
31359
|
Animate value changes smoothly via stroke-dasharray transition.
|
|
30576
31360
|
Crossfade with the indeterminate indicator uses opacity on the SVG group. */
|
|
30577
31361
|
|
|
30578
|
-
.progress-circle__segment {
|
|
31362
|
+
.progress-circle__segment-indicator {
|
|
30579
31363
|
stroke-width: var(--_stroke-width);
|
|
30580
31364
|
opacity: 1;
|
|
30581
31365
|
transition: stroke-dasharray var(--primitives-transition-duration-slow) ease-out, stroke-dashoffset var(--primitives-transition-duration-slow) ease-out, opacity var(--primitives-transition-duration-slow) ease-out;
|
|
30582
31366
|
}
|
|
30583
31367
|
|
|
30584
|
-
.progress-circle__segment[data-shrink] {
|
|
31368
|
+
.progress-circle__segment-indicator[data-shrink] {
|
|
30585
31369
|
opacity: 0;
|
|
30586
31370
|
}
|
|
30587
31371
|
|
|
@@ -30590,41 +31374,41 @@ const progressCircleStyles = css`
|
|
|
30590
31374
|
visible gap between segments stays consistent.
|
|
30591
31375
|
Distribution mode: butt caps keep the segment boundaries crisp. */
|
|
30592
31376
|
|
|
30593
|
-
.progress-circle__segment {
|
|
31377
|
+
.progress-circle__segment-indicator {
|
|
30594
31378
|
stroke-linecap: round;
|
|
30595
31379
|
}
|
|
30596
31380
|
|
|
30597
|
-
:host([mode="distribution"]) .progress-circle__segment {
|
|
31381
|
+
:host([mode="distribution"]) .progress-circle__segment-indicator {
|
|
30598
31382
|
stroke-linecap: butt;
|
|
30599
31383
|
}
|
|
30600
31384
|
|
|
30601
31385
|
|
|
30602
31386
|
/* ## Arc color per variant */
|
|
30603
31387
|
|
|
30604
|
-
.progress-circle__segment--neutral { stroke: var(--components-progress-circle-neutral-background-color); }
|
|
30605
|
-
.progress-circle__segment--accent { stroke: var(--components-progress-circle-accent-background-color); }
|
|
30606
|
-
.progress-circle__segment--success { stroke: var(--components-progress-circle-success-background-color); }
|
|
30607
|
-
.progress-circle__segment--warning { stroke: var(--components-progress-circle-warning-background-color); }
|
|
30608
|
-
.progress-circle__segment--critical { stroke: var(--components-progress-circle-critical-background-color); }
|
|
30609
|
-
.progress-circle__segment--coolgray { stroke: var(--components-progress-circle-coolgray-background-color); }
|
|
30610
|
-
.progress-circle__segment--lintblauw { stroke: var(--components-progress-circle-lintblauw-background-color); }
|
|
30611
|
-
.progress-circle__segment--donkerblauw { stroke: var(--components-progress-circle-donkerblauw-background-color); }
|
|
30612
|
-
.progress-circle__segment--hemelblauw { stroke: var(--components-progress-circle-hemelblauw-background-color); }
|
|
30613
|
-
.progress-circle__segment--lichtblauw { stroke: var(--components-progress-circle-lichtblauw-background-color); }
|
|
30614
|
-
.progress-circle__segment--paars { stroke: var(--components-progress-circle-paars-background-color); }
|
|
30615
|
-
.progress-circle__segment--violet { stroke: var(--components-progress-circle-violet-background-color); }
|
|
30616
|
-
.progress-circle__segment--robijnrood { stroke: var(--components-progress-circle-robijnrood-background-color); }
|
|
30617
|
-
.progress-circle__segment--roze { stroke: var(--components-progress-circle-roze-background-color); }
|
|
30618
|
-
.progress-circle__segment--rood { stroke: var(--components-progress-circle-rood-background-color); }
|
|
30619
|
-
.progress-circle__segment--oranje { stroke: var(--components-progress-circle-oranje-background-color); }
|
|
30620
|
-
.progress-circle__segment--donkergeel { stroke: var(--components-progress-circle-donkergeel-background-color); }
|
|
30621
|
-
.progress-circle__segment--geel { stroke: var(--components-progress-circle-geel-background-color); }
|
|
30622
|
-
.progress-circle__segment--donkerbruin { stroke: var(--components-progress-circle-donkerbruin-background-color); }
|
|
30623
|
-
.progress-circle__segment--bruin { stroke: var(--components-progress-circle-bruin-background-color); }
|
|
30624
|
-
.progress-circle__segment--donkergroen { stroke: var(--components-progress-circle-donkergroen-background-color); }
|
|
30625
|
-
.progress-circle__segment--groen { stroke: var(--components-progress-circle-groen-background-color); }
|
|
30626
|
-
.progress-circle__segment--mosgroen { stroke: var(--components-progress-circle-mosgroen-background-color); }
|
|
30627
|
-
.progress-circle__segment--mintgroen { stroke: var(--components-progress-circle-mintgroen-background-color); }
|
|
31388
|
+
.progress-circle__segment-indicator--neutral { stroke: var(--components-progress-circle-neutral-background-color); }
|
|
31389
|
+
.progress-circle__segment-indicator--accent { stroke: var(--components-progress-circle-accent-background-color); }
|
|
31390
|
+
.progress-circle__segment-indicator--success { stroke: var(--components-progress-circle-success-background-color); }
|
|
31391
|
+
.progress-circle__segment-indicator--warning { stroke: var(--components-progress-circle-warning-background-color); }
|
|
31392
|
+
.progress-circle__segment-indicator--critical { stroke: var(--components-progress-circle-critical-background-color); }
|
|
31393
|
+
.progress-circle__segment-indicator--coolgray { stroke: var(--components-progress-circle-coolgray-background-color); }
|
|
31394
|
+
.progress-circle__segment-indicator--lintblauw { stroke: var(--components-progress-circle-lintblauw-background-color); }
|
|
31395
|
+
.progress-circle__segment-indicator--donkerblauw { stroke: var(--components-progress-circle-donkerblauw-background-color); }
|
|
31396
|
+
.progress-circle__segment-indicator--hemelblauw { stroke: var(--components-progress-circle-hemelblauw-background-color); }
|
|
31397
|
+
.progress-circle__segment-indicator--lichtblauw { stroke: var(--components-progress-circle-lichtblauw-background-color); }
|
|
31398
|
+
.progress-circle__segment-indicator--paars { stroke: var(--components-progress-circle-paars-background-color); }
|
|
31399
|
+
.progress-circle__segment-indicator--violet { stroke: var(--components-progress-circle-violet-background-color); }
|
|
31400
|
+
.progress-circle__segment-indicator--robijnrood { stroke: var(--components-progress-circle-robijnrood-background-color); }
|
|
31401
|
+
.progress-circle__segment-indicator--roze { stroke: var(--components-progress-circle-roze-background-color); }
|
|
31402
|
+
.progress-circle__segment-indicator--rood { stroke: var(--components-progress-circle-rood-background-color); }
|
|
31403
|
+
.progress-circle__segment-indicator--oranje { stroke: var(--components-progress-circle-oranje-background-color); }
|
|
31404
|
+
.progress-circle__segment-indicator--donkergeel { stroke: var(--components-progress-circle-donkergeel-background-color); }
|
|
31405
|
+
.progress-circle__segment-indicator--geel { stroke: var(--components-progress-circle-geel-background-color); }
|
|
31406
|
+
.progress-circle__segment-indicator--donkerbruin { stroke: var(--components-progress-circle-donkerbruin-background-color); }
|
|
31407
|
+
.progress-circle__segment-indicator--bruin { stroke: var(--components-progress-circle-bruin-background-color); }
|
|
31408
|
+
.progress-circle__segment-indicator--donkergroen { stroke: var(--components-progress-circle-donkergroen-background-color); }
|
|
31409
|
+
.progress-circle__segment-indicator--groen { stroke: var(--components-progress-circle-groen-background-color); }
|
|
31410
|
+
.progress-circle__segment-indicator--mosgroen { stroke: var(--components-progress-circle-mosgroen-background-color); }
|
|
31411
|
+
.progress-circle__segment-indicator--mintgroen { stroke: var(--components-progress-circle-mintgroen-background-color); }
|
|
30628
31412
|
|
|
30629
31413
|
|
|
30630
31414
|
/* # Spinner (indeterminate)
|
|
@@ -30655,36 +31439,37 @@ const progressCircleStyles = css`
|
|
|
30655
31439
|
}
|
|
30656
31440
|
|
|
30657
31441
|
|
|
30658
|
-
/* # Indeterminate fill colour
|
|
31442
|
+
/* # Indeterminate fill + border colour follow the color variant; default accent (blue) */
|
|
30659
31443
|
|
|
30660
31444
|
:host {
|
|
30661
31445
|
--_indeterminate-background-color: var(--components-progress-circle-accent-background-color);
|
|
30662
|
-
|
|
30663
|
-
|
|
30664
|
-
|
|
30665
|
-
:host([color="
|
|
30666
|
-
:host([color="
|
|
30667
|
-
:host([color="
|
|
30668
|
-
:host([color="
|
|
30669
|
-
:host([color="
|
|
30670
|
-
:host([color="
|
|
30671
|
-
:host([color="
|
|
30672
|
-
:host([color="
|
|
30673
|
-
:host([color="
|
|
30674
|
-
:host([color="
|
|
30675
|
-
:host([color="
|
|
30676
|
-
:host([color="
|
|
30677
|
-
:host([color="
|
|
30678
|
-
:host([color="
|
|
30679
|
-
:host([color="
|
|
30680
|
-
:host([color="
|
|
30681
|
-
:host([color="
|
|
30682
|
-
:host([color="
|
|
30683
|
-
:host([color="
|
|
30684
|
-
:host([color="
|
|
30685
|
-
:host([color="
|
|
30686
|
-
:host([color="
|
|
30687
|
-
:host([color="
|
|
31446
|
+
--_indeterminate-border-color: var(--components-progress-circle-accent-border-color);
|
|
31447
|
+
}
|
|
31448
|
+
|
|
31449
|
+
:host([color="neutral"]) { --_indeterminate-background-color: var(--components-progress-circle-neutral-background-color); --_indeterminate-border-color: var(--components-progress-circle-neutral-border-color); }
|
|
31450
|
+
:host([color="accent"]) { --_indeterminate-background-color: var(--components-progress-circle-accent-background-color); --_indeterminate-border-color: var(--components-progress-circle-accent-border-color); }
|
|
31451
|
+
:host([color="success"]) { --_indeterminate-background-color: var(--components-progress-circle-success-background-color); --_indeterminate-border-color: var(--components-progress-circle-success-border-color); }
|
|
31452
|
+
:host([color="warning"]) { --_indeterminate-background-color: var(--components-progress-circle-warning-background-color); --_indeterminate-border-color: var(--components-progress-circle-warning-border-color); }
|
|
31453
|
+
:host([color="critical"]) { --_indeterminate-background-color: var(--components-progress-circle-critical-background-color); --_indeterminate-border-color: var(--components-progress-circle-critical-border-color); }
|
|
31454
|
+
:host([color="coolgray"]) { --_indeterminate-background-color: var(--components-progress-circle-coolgray-background-color); --_indeterminate-border-color: var(--components-progress-circle-coolgray-border-color); }
|
|
31455
|
+
:host([color="lintblauw"]) { --_indeterminate-background-color: var(--components-progress-circle-lintblauw-background-color); --_indeterminate-border-color: var(--components-progress-circle-lintblauw-border-color); }
|
|
31456
|
+
:host([color="donkerblauw"]) { --_indeterminate-background-color: var(--components-progress-circle-donkerblauw-background-color); --_indeterminate-border-color: var(--components-progress-circle-donkerblauw-border-color); }
|
|
31457
|
+
:host([color="hemelblauw"]) { --_indeterminate-background-color: var(--components-progress-circle-hemelblauw-background-color); --_indeterminate-border-color: var(--components-progress-circle-hemelblauw-border-color); }
|
|
31458
|
+
:host([color="lichtblauw"]) { --_indeterminate-background-color: var(--components-progress-circle-lichtblauw-background-color); --_indeterminate-border-color: var(--components-progress-circle-lichtblauw-border-color); }
|
|
31459
|
+
:host([color="paars"]) { --_indeterminate-background-color: var(--components-progress-circle-paars-background-color); --_indeterminate-border-color: var(--components-progress-circle-paars-border-color); }
|
|
31460
|
+
:host([color="violet"]) { --_indeterminate-background-color: var(--components-progress-circle-violet-background-color); --_indeterminate-border-color: var(--components-progress-circle-violet-border-color); }
|
|
31461
|
+
:host([color="robijnrood"]) { --_indeterminate-background-color: var(--components-progress-circle-robijnrood-background-color); --_indeterminate-border-color: var(--components-progress-circle-robijnrood-border-color); }
|
|
31462
|
+
:host([color="roze"]) { --_indeterminate-background-color: var(--components-progress-circle-roze-background-color); --_indeterminate-border-color: var(--components-progress-circle-roze-border-color); }
|
|
31463
|
+
:host([color="rood"]) { --_indeterminate-background-color: var(--components-progress-circle-rood-background-color); --_indeterminate-border-color: var(--components-progress-circle-rood-border-color); }
|
|
31464
|
+
:host([color="oranje"]) { --_indeterminate-background-color: var(--components-progress-circle-oranje-background-color); --_indeterminate-border-color: var(--components-progress-circle-oranje-border-color); }
|
|
31465
|
+
:host([color="donkergeel"]) { --_indeterminate-background-color: var(--components-progress-circle-donkergeel-background-color); --_indeterminate-border-color: var(--components-progress-circle-donkergeel-border-color); }
|
|
31466
|
+
:host([color="geel"]) { --_indeterminate-background-color: var(--components-progress-circle-geel-background-color); --_indeterminate-border-color: var(--components-progress-circle-geel-border-color); }
|
|
31467
|
+
:host([color="donkerbruin"]) { --_indeterminate-background-color: var(--components-progress-circle-donkerbruin-background-color); --_indeterminate-border-color: var(--components-progress-circle-donkerbruin-border-color); }
|
|
31468
|
+
:host([color="bruin"]) { --_indeterminate-background-color: var(--components-progress-circle-bruin-background-color); --_indeterminate-border-color: var(--components-progress-circle-bruin-border-color); }
|
|
31469
|
+
:host([color="donkergroen"]) { --_indeterminate-background-color: var(--components-progress-circle-donkergroen-background-color); --_indeterminate-border-color: var(--components-progress-circle-donkergroen-border-color); }
|
|
31470
|
+
:host([color="groen"]) { --_indeterminate-background-color: var(--components-progress-circle-groen-background-color); --_indeterminate-border-color: var(--components-progress-circle-groen-border-color); }
|
|
31471
|
+
:host([color="mosgroen"]) { --_indeterminate-background-color: var(--components-progress-circle-mosgroen-background-color); --_indeterminate-border-color: var(--components-progress-circle-mosgroen-border-color); }
|
|
31472
|
+
:host([color="mintgroen"]) { --_indeterminate-background-color: var(--components-progress-circle-mintgroen-background-color); --_indeterminate-border-color: var(--components-progress-circle-mintgroen-border-color); }
|
|
30688
31473
|
|
|
30689
31474
|
|
|
30690
31475
|
/* # Caption (label + value) */
|
|
@@ -30734,7 +31519,7 @@ const progressCircleStyles = css`
|
|
|
30734
31519
|
50% { opacity: 0.7; }
|
|
30735
31520
|
}
|
|
30736
31521
|
|
|
30737
|
-
.progress-circle__segment {
|
|
31522
|
+
.progress-circle__segment-indicator {
|
|
30738
31523
|
transition: none;
|
|
30739
31524
|
animation: none;
|
|
30740
31525
|
}
|
|
@@ -30742,13 +31527,13 @@ const progressCircleStyles = css`
|
|
|
30742
31527
|
|
|
30743
31528
|
@media (forced-colors: active) {
|
|
30744
31529
|
.progress-circle__track,
|
|
30745
|
-
.progress-circle__segment,
|
|
31530
|
+
.progress-circle__segment-indicator,
|
|
30746
31531
|
.progress-circle__indeterminate-indicator {
|
|
30747
31532
|
stroke: CanvasText;
|
|
30748
31533
|
}
|
|
30749
31534
|
}
|
|
30750
31535
|
`;
|
|
30751
|
-
const
|
|
31536
|
+
const progressCircleSegmentIndicatorStyles = css`
|
|
30752
31537
|
:host {
|
|
30753
31538
|
display: none;
|
|
30754
31539
|
}
|
|
@@ -30776,7 +31561,7 @@ function progressCircleTemplate(component, onSlotChange) {
|
|
|
30776
31561
|
const ariaText = component._ariaValueText;
|
|
30777
31562
|
const ariaValueNow = component.indeterminate ? void 0 : Math.round(component._totalValue);
|
|
30778
31563
|
const isExiting = component._indeterminateExiting;
|
|
30779
|
-
const isIndeterminate = (component.indeterminate || isExiting) && !component.
|
|
31564
|
+
const isIndeterminate = (component.indeterminate || isExiting) && !component._hasSegmentIndicators;
|
|
30780
31565
|
const showArcs = !component.indeterminate || component._indeterminateEntering;
|
|
30781
31566
|
const arcs = showArcs ? component._buildArcs() : [];
|
|
30782
31567
|
const sizeInPixels = Number(component.size) || 28;
|
|
@@ -30816,6 +31601,15 @@ function progressCircleTemplate(component, onSlotChange) {
|
|
|
30816
31601
|
<feComposite operator="over" in="colored" in2="SourceGraphic"></feComposite>
|
|
30817
31602
|
</filter>
|
|
30818
31603
|
`)}
|
|
31604
|
+
${isIndeterminate ? svg`
|
|
31605
|
+
<filter id="progress-circle-border-indeterminate-${uid}" filterUnits="userSpaceOnUse" x="-10" y="-10" width="120" height="120" color-interpolation-filters="sRGB">
|
|
31606
|
+
<feMorphology in="SourceGraphic" operator="erode" radius=${borderErodeRadius} result="eroded"></feMorphology>
|
|
31607
|
+
<feComposite operator="out" in="SourceGraphic" in2="eroded" result="edge"></feComposite>
|
|
31608
|
+
<feFlood style="flood-color: var(--_indeterminate-border-color)" result="flood"></feFlood>
|
|
31609
|
+
<feComposite operator="in" in="flood" in2="edge" result="colored"></feComposite>
|
|
31610
|
+
<feComposite operator="over" in="colored" in2="SourceGraphic"></feComposite>
|
|
31611
|
+
</filter>
|
|
31612
|
+
` : nothing}
|
|
30819
31613
|
</defs>
|
|
30820
31614
|
<circle class="progress-circle__track"
|
|
30821
31615
|
cx="50"
|
|
@@ -30825,7 +31619,7 @@ function progressCircleTemplate(component, onSlotChange) {
|
|
|
30825
31619
|
filter="url(#progress-circle-border-track-${uid})"
|
|
30826
31620
|
></circle>
|
|
30827
31621
|
${arcs.map((arc) => svg`
|
|
30828
|
-
<circle class="progress-circle__segment progress-circle__segment--${arc.color}"
|
|
31622
|
+
<circle class="progress-circle__segment-indicator progress-circle__segment-indicator--${arc.color}"
|
|
30829
31623
|
cx="50"
|
|
30830
31624
|
cy="50"
|
|
30831
31625
|
r=${radius}
|
|
@@ -30843,6 +31637,7 @@ function progressCircleTemplate(component, onSlotChange) {
|
|
|
30843
31637
|
fill="none"
|
|
30844
31638
|
pathLength="100"
|
|
30845
31639
|
stroke-linecap="round"
|
|
31640
|
+
filter="url(#progress-circle-border-indeterminate-${uid})"
|
|
30846
31641
|
></circle>
|
|
30847
31642
|
` : nothing}
|
|
30848
31643
|
</svg>
|
|
@@ -30872,18 +31667,18 @@ const nlddProgressCircleTranslations = {
|
|
|
30872
31667
|
"components.progress-circle.loading-text": "Aan het laden",
|
|
30873
31668
|
"components.progress-circle.label-text": "Voortgang"
|
|
30874
31669
|
};
|
|
30875
|
-
var __defProp
|
|
30876
|
-
var __getOwnPropDesc
|
|
30877
|
-
var __decorateClass
|
|
30878
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc
|
|
31670
|
+
var __defProp = Object.defineProperty;
|
|
31671
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
31672
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
31673
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
30879
31674
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
30880
31675
|
if (decorator = decorators[i])
|
|
30881
31676
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
30882
|
-
if (kind && result) __defProp
|
|
31677
|
+
if (kind && result) __defProp(target, key, result);
|
|
30883
31678
|
return result;
|
|
30884
31679
|
};
|
|
30885
31680
|
const INDETERMINATE_TRANSITION_MS = 300;
|
|
30886
|
-
let
|
|
31681
|
+
let NLDDProgressCircleSegmentIndicator = class extends LitElement {
|
|
30887
31682
|
constructor() {
|
|
30888
31683
|
super(...arguments);
|
|
30889
31684
|
this.value = 0;
|
|
@@ -30894,19 +31689,19 @@ let NLDDProgressCircleSegment = class extends LitElement {
|
|
|
30894
31689
|
return nothing;
|
|
30895
31690
|
}
|
|
30896
31691
|
};
|
|
30897
|
-
|
|
30898
|
-
__decorateClass
|
|
31692
|
+
NLDDProgressCircleSegmentIndicator.styles = progressCircleSegmentIndicatorStyles;
|
|
31693
|
+
__decorateClass([
|
|
30899
31694
|
property({ type: Number, reflect: true })
|
|
30900
|
-
],
|
|
30901
|
-
__decorateClass
|
|
31695
|
+
], NLDDProgressCircleSegmentIndicator.prototype, "value", 2);
|
|
31696
|
+
__decorateClass([
|
|
30902
31697
|
property({ type: String, reflect: true })
|
|
30903
|
-
],
|
|
30904
|
-
__decorateClass
|
|
31698
|
+
], NLDDProgressCircleSegmentIndicator.prototype, "color", 2);
|
|
31699
|
+
__decorateClass([
|
|
30905
31700
|
property({ type: String, reflect: true })
|
|
30906
|
-
],
|
|
30907
|
-
|
|
30908
|
-
customElement("nldd-progress-circle-segment")
|
|
30909
|
-
],
|
|
31701
|
+
], NLDDProgressCircleSegmentIndicator.prototype, "name", 2);
|
|
31702
|
+
NLDDProgressCircleSegmentIndicator = __decorateClass([
|
|
31703
|
+
customElement("nldd-progress-circle-segment-indicator")
|
|
31704
|
+
], NLDDProgressCircleSegmentIndicator);
|
|
30910
31705
|
let NLDDProgressCircle = class extends LitElement {
|
|
30911
31706
|
constructor() {
|
|
30912
31707
|
super(...arguments);
|
|
@@ -30922,7 +31717,7 @@ let NLDDProgressCircle = class extends LitElement {
|
|
|
30922
31717
|
this.accessibleLabel = "";
|
|
30923
31718
|
this.indeterminate = false;
|
|
30924
31719
|
this.translations = {};
|
|
30925
|
-
this.
|
|
31720
|
+
this._segmentIndicators = [];
|
|
30926
31721
|
this._indeterminateExiting = false;
|
|
30927
31722
|
this._indeterminateEntering = false;
|
|
30928
31723
|
this._arcsAtZero = false;
|
|
@@ -30932,12 +31727,12 @@ let NLDDProgressCircle = class extends LitElement {
|
|
|
30932
31727
|
_t(key) {
|
|
30933
31728
|
return this.translations[key] ?? nlddProgressCircleTranslations[key];
|
|
30934
31729
|
}
|
|
30935
|
-
get
|
|
30936
|
-
return this.
|
|
31730
|
+
get _hasSegmentIndicators() {
|
|
31731
|
+
return this._segmentIndicators.length > 0;
|
|
30937
31732
|
}
|
|
30938
31733
|
get _totalValue() {
|
|
30939
|
-
if (this.
|
|
30940
|
-
return this.
|
|
31734
|
+
if (this._hasSegmentIndicators) {
|
|
31735
|
+
return this._segmentIndicators.reduce((sum, s) => sum + Math.max(0, s.value), 0);
|
|
30941
31736
|
}
|
|
30942
31737
|
return Math.max(0, this.value ?? 0);
|
|
30943
31738
|
}
|
|
@@ -30962,26 +31757,26 @@ let NLDDProgressCircle = class extends LitElement {
|
|
|
30962
31757
|
if (this.valueDisplay !== "tooltip") return "";
|
|
30963
31758
|
if (this.indeterminate) return this._t("components.progress-circle.loading-text");
|
|
30964
31759
|
if (this.valueText) return this.valueText;
|
|
30965
|
-
if (!this.
|
|
31760
|
+
if (!this._hasSegmentIndicators) {
|
|
30966
31761
|
const v = Math.max(0, this.value ?? 0);
|
|
30967
31762
|
const pct = this.max > 0 ? Math.round(v / this.max * 100) : 0;
|
|
30968
31763
|
return this._formatValuePart(v, pct);
|
|
30969
31764
|
}
|
|
30970
|
-
const named = this.
|
|
30971
|
-
const allNamed = named.length === this.
|
|
30972
|
-
const
|
|
31765
|
+
const named = this._segmentIndicators.filter((s) => s.name);
|
|
31766
|
+
const allNamed = named.length === this._segmentIndicators.length && this._segmentIndicators.length > 0;
|
|
31767
|
+
const segmentIndicatorDescriptions = this._segmentIndicators.filter((s) => s.value > 0).map((s) => {
|
|
30973
31768
|
const pct = this.max > 0 ? Math.round(s.value / this.max * 100) : 0;
|
|
30974
31769
|
const valuePart = this._formatValuePart(s.value, pct);
|
|
30975
31770
|
return s.name ? `${s.name}: ${valuePart}` : valuePart;
|
|
30976
31771
|
});
|
|
30977
31772
|
if (this.mode === "distribution") {
|
|
30978
|
-
return
|
|
31773
|
+
return segmentIndicatorDescriptions.join(", ");
|
|
30979
31774
|
}
|
|
30980
31775
|
const totalPct = Math.round(this._percentage);
|
|
30981
31776
|
const totalValuePart = this._formatValuePart(this._totalValue, totalPct);
|
|
30982
31777
|
if (allNamed) {
|
|
30983
31778
|
const totalPrefix = this._t("components.progress-circle.total-prefix-text");
|
|
30984
|
-
return `${
|
|
31779
|
+
return `${segmentIndicatorDescriptions.join(", ")}. ${totalPrefix} ${totalValuePart}`;
|
|
30985
31780
|
}
|
|
30986
31781
|
return totalValuePart;
|
|
30987
31782
|
}
|
|
@@ -30992,22 +31787,22 @@ let NLDDProgressCircle = class extends LitElement {
|
|
|
30992
31787
|
if (this.indeterminate) return this._t("components.progress-circle.loading-text");
|
|
30993
31788
|
const completedSuffix = this._t("components.progress-circle.completed-suffix-text");
|
|
30994
31789
|
const totalPrefix = this._t("components.progress-circle.total-prefix-text");
|
|
30995
|
-
if (!this.
|
|
31790
|
+
if (!this._hasSegmentIndicators) {
|
|
30996
31791
|
return `${Math.round(this._percentage)}% ${completedSuffix}`;
|
|
30997
31792
|
}
|
|
30998
|
-
const named = this.
|
|
30999
|
-
const allNamed = named.length === this.
|
|
31000
|
-
const
|
|
31793
|
+
const named = this._segmentIndicators.filter((s) => s.name);
|
|
31794
|
+
const allNamed = named.length === this._segmentIndicators.length && this._segmentIndicators.length > 0;
|
|
31795
|
+
const segmentIndicatorDescriptions = this._segmentIndicators.filter((s) => s.value > 0).map((s) => {
|
|
31001
31796
|
const pct = this.max > 0 ? Math.round(s.value / this.max * 100) : 0;
|
|
31002
31797
|
const valuePart = this._formatValuePart(s.value, pct);
|
|
31003
31798
|
return s.name ? `${s.name}: ${valuePart}` : valuePart;
|
|
31004
31799
|
});
|
|
31005
31800
|
if (this.mode === "distribution") {
|
|
31006
|
-
return
|
|
31801
|
+
return segmentIndicatorDescriptions.join(", ");
|
|
31007
31802
|
}
|
|
31008
31803
|
const totalPct = Math.round(this._percentage);
|
|
31009
31804
|
if (allNamed) {
|
|
31010
|
-
return `${
|
|
31805
|
+
return `${segmentIndicatorDescriptions.join(", ")}. ${totalPrefix} ${totalPct}% ${completedSuffix}.`;
|
|
31011
31806
|
}
|
|
31012
31807
|
return `${totalPct}% ${completedSuffix}`;
|
|
31013
31808
|
}
|
|
@@ -31083,15 +31878,15 @@ let NLDDProgressCircle = class extends LitElement {
|
|
|
31083
31878
|
_onSlotChange() {
|
|
31084
31879
|
const slot = this.shadowRoot?.querySelector("slot:not([name])");
|
|
31085
31880
|
const assigned = slot?.assignedElements({ flatten: true }) ?? [];
|
|
31086
|
-
this.
|
|
31881
|
+
this._segmentIndicators = assigned.filter(
|
|
31087
31882
|
// instanceof, not tagName === '...': tagName comparison breaks
|
|
31088
31883
|
// under scoped custom-element registries where the same class
|
|
31089
31884
|
// can be registered under a different tag.
|
|
31090
|
-
(el) => el instanceof
|
|
31885
|
+
(el) => el instanceof NLDDProgressCircleSegmentIndicator
|
|
31091
31886
|
);
|
|
31092
31887
|
this._attributeObserver?.disconnect();
|
|
31093
31888
|
this._attributeObserver = new MutationObserver(() => this.requestUpdate());
|
|
31094
|
-
for (const seg of this.
|
|
31889
|
+
for (const seg of this._segmentIndicators) {
|
|
31095
31890
|
this._attributeObserver.observe(seg, {
|
|
31096
31891
|
attributes: true,
|
|
31097
31892
|
attributeFilter: ["value", "color", "name"]
|
|
@@ -31107,19 +31902,19 @@ let NLDDProgressCircle = class extends LitElement {
|
|
|
31107
31902
|
* externally — the leading underscore signals "not API". */
|
|
31108
31903
|
_buildArcs() {
|
|
31109
31904
|
const arcs = [];
|
|
31110
|
-
const
|
|
31905
|
+
const sourceSegmentIndicators = this._hasSegmentIndicators ? this._segmentIndicators.map((s) => ({ value: Math.max(0, s.value), color: s.color })) : this.value !== null ? [{ value: Math.max(0, this.value), color: this.color }] : [];
|
|
31111
31906
|
const sizeInPixels = Number(this.size) || 28;
|
|
31112
31907
|
const strokeWidthPx = getStrokeWidthPx(sizeInPixels);
|
|
31113
|
-
const
|
|
31908
|
+
const isMultiSegmentIndicator = sourceSegmentIndicators.length > 1 || this.mode === "distribution";
|
|
31114
31909
|
const isProgressMode = this.mode !== "distribution";
|
|
31115
|
-
const visibleGapPx =
|
|
31116
|
-
const capCompensationPx = isProgressMode &&
|
|
31910
|
+
const visibleGapPx = isMultiSegmentIndicator ? isProgressMode ? 1 : 2 : 0;
|
|
31911
|
+
const capCompensationPx = isProgressMode && isMultiSegmentIndicator ? strokeWidthPx : 0;
|
|
31117
31912
|
const gapLength = (visibleGapPx + capCompensationPx) * (100 / sizeInPixels);
|
|
31118
31913
|
const circumference = getCircumference(sizeInPixels);
|
|
31119
31914
|
const total = this._totalValue;
|
|
31120
31915
|
const denominator = total > this.max ? total : this.max;
|
|
31121
31916
|
let cumulative = 0;
|
|
31122
|
-
for (const seg of
|
|
31917
|
+
for (const seg of sourceSegmentIndicators) {
|
|
31123
31918
|
const fraction = denominator > 0 ? seg.value / denominator : 0;
|
|
31124
31919
|
const rawLength = fraction * circumference;
|
|
31125
31920
|
const length = this._arcsAtZero || seg.value <= 0 ? 0 : Math.max(0, rawLength - gapLength);
|
|
@@ -31144,7 +31939,7 @@ let NLDDProgressCircle = class extends LitElement {
|
|
|
31144
31939
|
* always set and live in the Lit template.
|
|
31145
31940
|
*/
|
|
31146
31941
|
_syncDynamicAttributes() {
|
|
31147
|
-
const segments = this.shadowRoot?.querySelectorAll(".progress-circle__segment");
|
|
31942
|
+
const segments = this.shadowRoot?.querySelectorAll(".progress-circle__segment-indicator");
|
|
31148
31943
|
if (segments) {
|
|
31149
31944
|
for (const el of segments) {
|
|
31150
31945
|
if (this._indeterminateEntering) {
|
|
@@ -31166,247 +31961,104 @@ let NLDDProgressCircle = class extends LitElement {
|
|
|
31166
31961
|
};
|
|
31167
31962
|
NLDDProgressCircle.styles = progressCircleStyles;
|
|
31168
31963
|
NLDDProgressCircle._idCounter = 0;
|
|
31169
|
-
__decorateClass
|
|
31964
|
+
__decorateClass([
|
|
31170
31965
|
property({ type: String, reflect: true })
|
|
31171
31966
|
], NLDDProgressCircle.prototype, "mode", 2);
|
|
31172
|
-
__decorateClass
|
|
31967
|
+
__decorateClass([
|
|
31173
31968
|
property({ type: Number, reflect: true })
|
|
31174
31969
|
], NLDDProgressCircle.prototype, "max", 2);
|
|
31175
|
-
__decorateClass
|
|
31970
|
+
__decorateClass([
|
|
31176
31971
|
property({ type: Number, reflect: true })
|
|
31177
31972
|
], NLDDProgressCircle.prototype, "value", 2);
|
|
31178
|
-
__decorateClass
|
|
31973
|
+
__decorateClass([
|
|
31179
31974
|
property({ type: String, reflect: true })
|
|
31180
31975
|
], NLDDProgressCircle.prototype, "color", 2);
|
|
31181
|
-
__decorateClass
|
|
31976
|
+
__decorateClass([
|
|
31182
31977
|
property({ type: String, reflect: true })
|
|
31183
31978
|
], NLDDProgressCircle.prototype, "size", 2);
|
|
31184
|
-
__decorateClass
|
|
31979
|
+
__decorateClass([
|
|
31185
31980
|
property({ type: String, reflect: true })
|
|
31186
31981
|
], NLDDProgressCircle.prototype, "text", 2);
|
|
31187
|
-
__decorateClass
|
|
31982
|
+
__decorateClass([
|
|
31188
31983
|
property({ type: String, reflect: true, attribute: "value-format" })
|
|
31189
31984
|
], NLDDProgressCircle.prototype, "valueFormat", 2);
|
|
31190
|
-
__decorateClass
|
|
31985
|
+
__decorateClass([
|
|
31191
31986
|
property({ type: String, reflect: true, attribute: "value-text" })
|
|
31192
31987
|
], NLDDProgressCircle.prototype, "valueText", 2);
|
|
31193
|
-
__decorateClass
|
|
31988
|
+
__decorateClass([
|
|
31194
31989
|
property({ type: String, reflect: true, attribute: "value-display" })
|
|
31195
31990
|
], NLDDProgressCircle.prototype, "valueDisplay", 2);
|
|
31196
|
-
__decorateClass
|
|
31991
|
+
__decorateClass([
|
|
31197
31992
|
property({ type: String, reflect: true, attribute: "accessible-label" })
|
|
31198
31993
|
], NLDDProgressCircle.prototype, "accessibleLabel", 2);
|
|
31199
|
-
__decorateClass
|
|
31994
|
+
__decorateClass([
|
|
31200
31995
|
property({ type: Boolean, reflect: true })
|
|
31201
31996
|
], NLDDProgressCircle.prototype, "indeterminate", 2);
|
|
31202
|
-
__decorateClass
|
|
31997
|
+
__decorateClass([
|
|
31203
31998
|
property({ type: Object })
|
|
31204
31999
|
], NLDDProgressCircle.prototype, "translations", 2);
|
|
31205
|
-
__decorateClass
|
|
32000
|
+
__decorateClass([
|
|
31206
32001
|
state()
|
|
31207
|
-
], NLDDProgressCircle.prototype, "
|
|
31208
|
-
__decorateClass
|
|
32002
|
+
], NLDDProgressCircle.prototype, "_segmentIndicators", 2);
|
|
32003
|
+
__decorateClass([
|
|
31209
32004
|
state()
|
|
31210
32005
|
], NLDDProgressCircle.prototype, "_indeterminateExiting", 2);
|
|
31211
|
-
__decorateClass
|
|
32006
|
+
__decorateClass([
|
|
31212
32007
|
state()
|
|
31213
32008
|
], NLDDProgressCircle.prototype, "_indeterminateEntering", 2);
|
|
31214
|
-
__decorateClass
|
|
32009
|
+
__decorateClass([
|
|
31215
32010
|
state()
|
|
31216
32011
|
], NLDDProgressCircle.prototype, "_arcsAtZero", 2);
|
|
31217
|
-
NLDDProgressCircle = __decorateClass
|
|
32012
|
+
NLDDProgressCircle = __decorateClass([
|
|
31218
32013
|
customElement("nldd-progress-circle")
|
|
31219
32014
|
], NLDDProgressCircle);
|
|
31220
|
-
const progressStyles = css`
|
|
31221
|
-
|
|
31222
|
-
|
|
31223
|
-
/* # Host */
|
|
31224
|
-
|
|
31225
|
-
:host {
|
|
31226
|
-
--_fade-duration: var(--primitives-transition-duration-slow);
|
|
31227
|
-
--_indicator-max-width: var(--primitives-area-240);
|
|
31228
|
-
|
|
31229
|
-
${inheritedTextReset}
|
|
31230
|
-
box-sizing: border-box;
|
|
31231
|
-
display: flex;
|
|
31232
|
-
flex-grow: 1;
|
|
31233
|
-
flex-shrink: 1;
|
|
31234
|
-
flex-basis: auto;
|
|
31235
|
-
width: 100%;
|
|
31236
|
-
height: 100%;
|
|
31237
|
-
align-items: center;
|
|
31238
|
-
justify-content: center;
|
|
31239
|
-
}
|
|
31240
|
-
|
|
31241
|
-
:host([hidden]) {
|
|
31242
|
-
display: none;
|
|
31243
|
-
}
|
|
31244
|
-
|
|
31245
|
-
|
|
31246
|
-
/* # Indicator
|
|
31247
|
-
Wrapper around the slot so we can fade the indicator in once the delay
|
|
31248
|
-
has passed. The host itself stays visible from mount to take up its
|
|
31249
|
-
layout space; only the indicator inside fades.
|
|
31250
|
-
width:100% + max-width gives the bar a concrete width to fill (without
|
|
31251
|
-
this it has no containing block reference and collapses to 0). The
|
|
31252
|
-
inner flex centring keeps a small circle aligned in the middle of that
|
|
31253
|
-
width. */
|
|
31254
|
-
|
|
31255
|
-
.progress__indicator {
|
|
31256
|
-
display: flex;
|
|
31257
|
-
justify-content: center;
|
|
31258
|
-
width: 100%;
|
|
31259
|
-
max-width: var(--_indicator-max-width);
|
|
31260
|
-
animation: progress-fade-in var(--_fade-duration) ease-out;
|
|
31261
|
-
}
|
|
31262
|
-
|
|
31263
|
-
@keyframes progress-fade-in {
|
|
31264
|
-
from { opacity: 0; }
|
|
31265
|
-
}
|
|
31266
|
-
|
|
31267
|
-
|
|
31268
|
-
/* # Accessibility */
|
|
31269
|
-
|
|
31270
|
-
@media (prefers-reduced-motion: reduce) {
|
|
31271
|
-
.progress__indicator {
|
|
31272
|
-
animation: none;
|
|
31273
|
-
}
|
|
31274
|
-
}
|
|
31275
|
-
`;
|
|
31276
|
-
function progressTemplate(component) {
|
|
31277
|
-
if (!component._visible || component.complete) return nothing;
|
|
31278
|
-
const text = component.noLabel ? "" : component.text || component._t("components.progress.loading-text");
|
|
31279
|
-
return html`
|
|
31280
|
-
<div class="progress__indicator">
|
|
31281
|
-
<slot>
|
|
31282
|
-
<nldd-progress-circle
|
|
31283
|
-
size="28"
|
|
31284
|
-
indeterminate
|
|
31285
|
-
.text=${text}
|
|
31286
|
-
></nldd-progress-circle>
|
|
31287
|
-
</slot>
|
|
31288
|
-
</div>
|
|
31289
|
-
`;
|
|
31290
|
-
}
|
|
31291
|
-
const nlddProgressTranslations = {
|
|
31292
|
-
"components.progress.loading-text": "Laden"
|
|
31293
|
-
};
|
|
31294
|
-
var __defProp = Object.defineProperty;
|
|
31295
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
31296
|
-
var __decorateClass = (decorators, target, key, kind) => {
|
|
31297
|
-
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
31298
|
-
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
31299
|
-
if (decorator = decorators[i])
|
|
31300
|
-
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
31301
|
-
if (kind && result) __defProp(target, key, result);
|
|
31302
|
-
return result;
|
|
31303
|
-
};
|
|
31304
|
-
const DELAY_MS = 1e3;
|
|
31305
|
-
let NLDDProgress = class extends LitElement {
|
|
31306
|
-
constructor() {
|
|
31307
|
-
super(...arguments);
|
|
31308
|
-
this.text = "";
|
|
31309
|
-
this.noLabel = false;
|
|
31310
|
-
this.complete = false;
|
|
31311
|
-
this.translations = {};
|
|
31312
|
-
this._visible = false;
|
|
31313
|
-
}
|
|
31314
|
-
_t(key) {
|
|
31315
|
-
return this.translations[key] ?? nlddProgressTranslations[key];
|
|
31316
|
-
}
|
|
31317
|
-
connectedCallback() {
|
|
31318
|
-
super.connectedCallback();
|
|
31319
|
-
if (!this.complete) this.setAttribute("aria-busy", "true");
|
|
31320
|
-
this._visible = false;
|
|
31321
|
-
this._delayTimeout = setTimeout(() => {
|
|
31322
|
-
this._visible = true;
|
|
31323
|
-
this._delayTimeout = void 0;
|
|
31324
|
-
}, DELAY_MS);
|
|
31325
|
-
}
|
|
31326
|
-
willUpdate(changed) {
|
|
31327
|
-
if (changed.has("complete")) {
|
|
31328
|
-
if (this.complete) {
|
|
31329
|
-
this.removeAttribute("aria-busy");
|
|
31330
|
-
} else {
|
|
31331
|
-
this.setAttribute("aria-busy", "true");
|
|
31332
|
-
}
|
|
31333
|
-
}
|
|
31334
|
-
}
|
|
31335
|
-
disconnectedCallback() {
|
|
31336
|
-
super.disconnectedCallback();
|
|
31337
|
-
if (this._delayTimeout) {
|
|
31338
|
-
clearTimeout(this._delayTimeout);
|
|
31339
|
-
this._delayTimeout = void 0;
|
|
31340
|
-
}
|
|
31341
|
-
}
|
|
31342
|
-
render() {
|
|
31343
|
-
return progressTemplate(this);
|
|
31344
|
-
}
|
|
31345
|
-
};
|
|
31346
|
-
NLDDProgress.styles = progressStyles;
|
|
31347
|
-
__decorateClass([
|
|
31348
|
-
property({ type: String, reflect: true })
|
|
31349
|
-
], NLDDProgress.prototype, "text", 2);
|
|
31350
|
-
__decorateClass([
|
|
31351
|
-
property({ type: Boolean, reflect: true, attribute: "no-label" })
|
|
31352
|
-
], NLDDProgress.prototype, "noLabel", 2);
|
|
31353
|
-
__decorateClass([
|
|
31354
|
-
property({ type: Boolean, reflect: true })
|
|
31355
|
-
], NLDDProgress.prototype, "complete", 2);
|
|
31356
|
-
__decorateClass([
|
|
31357
|
-
property({ type: Object })
|
|
31358
|
-
], NLDDProgress.prototype, "translations", 2);
|
|
31359
|
-
__decorateClass([
|
|
31360
|
-
state()
|
|
31361
|
-
], NLDDProgress.prototype, "_visible", 2);
|
|
31362
|
-
NLDDProgress = __decorateClass([
|
|
31363
|
-
customElement("nldd-progress")
|
|
31364
|
-
], NLDDProgress);
|
|
31365
32015
|
export {
|
|
31366
|
-
|
|
31367
|
-
|
|
31368
|
-
|
|
31369
|
-
|
|
31370
|
-
|
|
31371
|
-
|
|
31372
|
-
|
|
31373
|
-
|
|
31374
|
-
|
|
31375
|
-
|
|
31376
|
-
|
|
31377
|
-
|
|
31378
|
-
|
|
31379
|
-
|
|
31380
|
-
|
|
31381
|
-
|
|
31382
|
-
|
|
31383
|
-
|
|
31384
|
-
|
|
31385
|
-
|
|
31386
|
-
|
|
31387
|
-
|
|
31388
|
-
|
|
31389
|
-
|
|
31390
|
-
|
|
31391
|
-
|
|
31392
|
-
|
|
31393
|
-
|
|
31394
|
-
|
|
31395
|
-
|
|
31396
|
-
|
|
31397
|
-
|
|
32016
|
+
NLDDPageFooterLegalBarItem as $,
|
|
32017
|
+
NLDDForm as A,
|
|
32018
|
+
NLDDFormActions as B,
|
|
32019
|
+
NLDDFormField as C,
|
|
32020
|
+
NLDDFormSection as D,
|
|
32021
|
+
NLDDFullBleedSection as E,
|
|
32022
|
+
NLDDIcon as F,
|
|
32023
|
+
NLDDIconButton as G,
|
|
32024
|
+
NLDDIconCell as H,
|
|
32025
|
+
NLDDImage as I,
|
|
32026
|
+
NLDDInlineDialog as J,
|
|
32027
|
+
NLDDKeyboardShortcut as K,
|
|
32028
|
+
NLDDLink as L,
|
|
32029
|
+
NLDDList as M,
|
|
32030
|
+
NLDDActivityIndicator as N,
|
|
32031
|
+
NLDDListItem as O,
|
|
32032
|
+
NLDDMenu as P,
|
|
32033
|
+
NLDDMenuBar as Q,
|
|
32034
|
+
NLDDMenuBarItem as R,
|
|
32035
|
+
NLDDModalDialog as S,
|
|
32036
|
+
NLDDMultiLineTextField as T,
|
|
32037
|
+
NLDDNavigationSplitView as U,
|
|
32038
|
+
NLDDNumberField as V,
|
|
32039
|
+
NLDDOneHalfOneHalfSection as W,
|
|
32040
|
+
NLDDOneThirdTwoThirdsSection as X,
|
|
32041
|
+
NLDDPage as Y,
|
|
32042
|
+
NLDDPageFooter as Z,
|
|
32043
|
+
NLDDPageFooterLegalBar as _,
|
|
32044
|
+
NLDDAppView as a,
|
|
32045
|
+
NLDDPagination as a0,
|
|
32046
|
+
NLDDPasswordField as a1,
|
|
32047
|
+
NLDDPopover as a2,
|
|
31398
32048
|
NLDDProgressBar as a3,
|
|
31399
|
-
|
|
32049
|
+
NLDDProgressBarSegmentIndicator as a4,
|
|
31400
32050
|
NLDDProgressCircle as a5,
|
|
31401
|
-
|
|
32051
|
+
NLDDProgressCircleSegmentIndicator as a6,
|
|
31402
32052
|
NLDDRadioButton as a7,
|
|
31403
32053
|
NLDDRadioButtonField as a8,
|
|
31404
32054
|
NLDDRadioButtonGroup as a9,
|
|
31405
|
-
|
|
31406
|
-
|
|
31407
|
-
|
|
31408
|
-
|
|
31409
|
-
|
|
32055
|
+
NLDDToken as aA,
|
|
32056
|
+
NLDDToolbar as aB,
|
|
32057
|
+
NLDDTooltip as aC,
|
|
32058
|
+
NLDDTopNavigationBar as aD,
|
|
32059
|
+
NLDDTopTitleBar as aE,
|
|
32060
|
+
NLDDTwoThirdsOneThirdSection as aF,
|
|
32061
|
+
NLDDWindow as aG,
|
|
31410
32062
|
NLDDRichText as aa,
|
|
31411
32063
|
NLDDSearchField as ab,
|
|
31412
32064
|
NLDDSegmentedControl as ac,
|
|
@@ -31423,39 +32075,39 @@ export {
|
|
|
31423
32075
|
NLDDSwitch as an,
|
|
31424
32076
|
NLDDSwitchField as ao,
|
|
31425
32077
|
NLDDTabBar as ap,
|
|
31426
|
-
|
|
31427
|
-
|
|
31428
|
-
|
|
31429
|
-
|
|
31430
|
-
|
|
31431
|
-
|
|
31432
|
-
|
|
31433
|
-
|
|
31434
|
-
|
|
31435
|
-
|
|
31436
|
-
|
|
31437
|
-
|
|
31438
|
-
|
|
31439
|
-
|
|
31440
|
-
|
|
32078
|
+
NLDDTable as aq,
|
|
32079
|
+
NLDDTableRow as ar,
|
|
32080
|
+
NLDDTag as as,
|
|
32081
|
+
NLDDTextCell as at,
|
|
32082
|
+
NLDDTextField as au,
|
|
32083
|
+
NLDDTimelineTrackCell as av,
|
|
32084
|
+
NLDDTitle as aw,
|
|
32085
|
+
NLDDTitleCell as ax,
|
|
32086
|
+
NLDDToggleButton as ay,
|
|
32087
|
+
NLDDToggleButtonGroup as az,
|
|
32088
|
+
NLDDBadge as b,
|
|
32089
|
+
NLDDBanner as c,
|
|
32090
|
+
NLDDBarSplitView as d,
|
|
32091
|
+
NLDDBlockquote as e,
|
|
32092
|
+
NLDDBox as f,
|
|
31441
32093
|
getDefaultExportFromCjs as g,
|
|
31442
|
-
|
|
31443
|
-
|
|
31444
|
-
|
|
31445
|
-
|
|
31446
|
-
|
|
31447
|
-
|
|
31448
|
-
|
|
31449
|
-
|
|
31450
|
-
|
|
31451
|
-
|
|
31452
|
-
|
|
31453
|
-
|
|
31454
|
-
|
|
31455
|
-
|
|
31456
|
-
|
|
31457
|
-
|
|
31458
|
-
|
|
31459
|
-
|
|
31460
|
-
|
|
32094
|
+
NLDDBreadcrumbs as h,
|
|
32095
|
+
NLDDBreadcrumbsItem as i,
|
|
32096
|
+
NLDDButton as j,
|
|
32097
|
+
NLDDButtonBar as k,
|
|
32098
|
+
NLDDButtonGroup as l,
|
|
32099
|
+
NLDDCard as m,
|
|
32100
|
+
NLDDCell as n,
|
|
32101
|
+
NLDDCheckbox as o,
|
|
32102
|
+
NLDDCheckboxField as p,
|
|
32103
|
+
NLDDCodeEditor as q,
|
|
32104
|
+
NLDDCodeViewer as r,
|
|
32105
|
+
NLDDCollection as s,
|
|
32106
|
+
NLDDComboBox as t,
|
|
32107
|
+
NLDDContainer as u,
|
|
32108
|
+
NLDDDescriptionCell as v,
|
|
32109
|
+
NLDDDivider as w,
|
|
32110
|
+
NLDDDocumentTabBar as x,
|
|
32111
|
+
NLDDDragHandleCell as y,
|
|
32112
|
+
NLDDDropdown as z
|
|
31461
32113
|
};
|