@nldd/design-system 0.8.63 → 0.8.64
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.d.ts → style-resets.d.ts} +1 -1
- package/dist/assets/styles/style-resets.d.ts.map +1 -0
- package/dist/assets/styles/{slotted-reset.fixtures.d.ts → style-resets.fixtures.d.ts} +4 -4
- package/dist/assets/styles/style-resets.fixtures.d.ts.map +1 -0
- package/dist/assets/styles/{slotted-reset.fixtures.js → style-resets.fixtures.js} +4 -4
- package/dist/assets/styles/style-resets.fixtures.js.map +1 -0
- package/dist/assets/styles/{slotted-reset.js → style-resets.js} +1 -1
- package/dist/assets/styles/style-resets.js.map +1 -0
- package/dist/components/actions/button/button.styles.js +7 -7
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +3 -0
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +3 -0
- package/dist/components/actions/button-group/button-group.styles.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 +4 -1
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +4 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +4 -1
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +4 -1
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/components.js +31 -30
- package/dist/components/content/blockquote/blockquote.styles.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +4 -1
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/byline/byline.styles.d.ts.map +1 -1
- package/dist/components/content/byline/byline.styles.js +4 -1
- package/dist/components/content/byline/byline.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +4 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +1 -1
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/content/icon/icon.styles.js +3 -0
- package/dist/components/content/icon/icon.styles.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +4 -1
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +4 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +4 -1
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +4 -1
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +4 -1
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +3 -0
- package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +4 -1
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/{index-BVaijKe_.js → index-BNhqNvDd.js} +3672 -2673
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +3 -0
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +4 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +4 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +4 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +4 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +4 -1
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +4 -1
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +3 -0
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.styles.js +4 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +13 -1
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.template.js +47 -39
- package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +4 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.js +3 -0
- package/dist/components/inputs/stepper/stepper.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +3 -0
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js +4 -1
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +4 -1
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +4 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js +3 -0
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js.map +1 -1
- package/dist/components/inputs/token/token.styles.d.ts.map +1 -1
- package/dist/components/inputs/token/token.styles.js +4 -1
- package/dist/components/inputs/token/token.styles.js.map +1 -1
- package/dist/components/layout/app-view/app-view.styles.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +3 -0
- package/dist/components/layout/app-view/app-view.styles.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +3 -0
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +28 -2
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.i18n.d.ts +5 -0
- package/dist/components/layout/card/card.i18n.d.ts.map +1 -0
- package/dist/components/layout/card/card.i18n.js +4 -0
- package/dist/components/layout/card/card.i18n.js.map +1 -0
- package/dist/components/layout/card/card.js +54 -2
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +20 -0
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/card/card.template.d.ts.map +1 -1
- package/dist/components/layout/card/card.template.js +17 -1
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +5 -5
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +4 -4
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +5 -2
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +7 -3
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +15 -3
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.d.ts.map +1 -1
- package/dist/components/layout/container/container.styles.js +42 -1
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/divider/divider.styles.d.ts.map +1 -1
- package/dist/components/layout/divider/divider.styles.js +3 -0
- package/dist/components/layout/divider/divider.styles.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +3 -0
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +4 -1
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +3 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +25 -5
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +60 -11
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +15 -4
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.template.js +13 -1
- package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +3 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +3 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +119 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.d.ts +6 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.d.ts.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.js +5 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.i18n.js.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +219 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts +2 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +157 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts +4 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +57 -0
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +3 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +3 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +3 -0
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +3 -0
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.d.ts.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +3 -0
- package/dist/components/layout/spacer/spacer.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +3 -0
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +47 -19
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +123 -73
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +17 -14
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js +10 -8
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +3 -0
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +3 -0
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -0
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +3 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +1 -19
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +1 -187
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +5 -28
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/layout/window/window.template.d.ts.map +1 -1
- package/dist/components/layout/window/window.template.js +1 -2
- package/dist/components/layout/window/window.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +3 -0
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +3 -0
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js +3 -0
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +3 -0
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +4 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +138 -8
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.d.ts +2 -0
- package/dist/components/lists-and-tables/list/list.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.i18n.js +2 -0
- package/dist/components/lists-and-tables/list/list.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +368 -16
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +163 -25
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.d.ts +26 -1
- package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.template.js +76 -18
- package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +20 -7
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +49 -24
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.styles.js +50 -28
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.template.js +9 -6
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +4 -1
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +0 -44
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts +0 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js +0 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +1 -84
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +6 -52
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -17
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +4 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +4 -1
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js +4 -1
- package/dist/components/navigation/menu-bar/menu-bar.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +4 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +4 -1
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js +4 -1
- package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +4 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +17 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +32 -16
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +4 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/{prism-python-Tr_Ff1KJ.js → prism-python--N285k7w.js} +1 -1
- package/dist/components/{prism-rust-CxUpjfK5.js → prism-rust-Cnm1tSdo.js} +1 -1
- package/dist/components/{prism-typescript-zaF4YQWN.js → prism-typescript-BPJAiB1s.js} +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +4 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +4 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +4 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +4 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +5 -4
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +5 -5
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js +5 -2
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.styles.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +4 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +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 +4 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +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 +4 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +4 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js.map +1 -1
- package/dist/css/rich-text.css +63 -0
- package/dist/css/settings.css +10 -3
- package/package.json +5 -1
- package/dist/assets/styles/slotted-reset.d.ts.map +0 -1
- package/dist/assets/styles/slotted-reset.fixtures.d.ts.map +0 -1
- package/dist/assets/styles/slotted-reset.fixtures.js.map +0 -1
- package/dist/assets/styles/slotted-reset.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"two-thirds-one-third-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"two-thirds-one-third-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+CtB,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;2BAM/B,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;2BAuBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;CAkB/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/popover/popover.styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"popover.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/popover/popover.styles.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,yBAwFzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/popover/popover.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"popover.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/popover/popover.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;uBAoBT,KAAK;;;;;;;;;;;;;;uBAcL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;uBAyBL,KAAK;;;;;;;;;;uBAUL,KAAK;;;;;;uBAML,KAAK;;;;;;;;;;;;;CAa3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sheet/sheet.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"sheet.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/sheet/sheet.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,WAAW,yBAsNvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/sheet/sheet.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"sheet.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/sheet/sheet.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA2FP,KAAK;;;;;;;;;;;;;;;;;;;;;uBAqBL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA8BL,KAAK;;;;;uBAKL,KAAK;;;;uBAIL,KAAK;;;;;;;;;;;;;;;;;;sBAkBN,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6C1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/spacer/spacer.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"spacer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/spacer/spacer.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY,yBA8MxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spacer.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/spacer/spacer.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"spacer.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/spacer/spacer.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEpE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAsFT,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAyCL,KAAK,qBAAqB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAyC/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-split-view.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"bar-split-view.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,yBAmF9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bar-split-view.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"bar-split-view.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFpC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Nederlandse Digitale Dienst Navigation Split View Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
|
-
* A four-column layout with a sidebar, secondary sidebar, main content area, and inspector.
|
|
4
|
+
* A four-column layout with a primary sidebar, secondary sidebar, main content area, and inspector.
|
|
5
5
|
* The sidebars show navigation or lists, the main area shows primary content,
|
|
6
6
|
* and the inspector shows additional details or properties of the selection.
|
|
7
7
|
* Panes are shown automatically when content is slotted into them.
|
|
@@ -11,33 +11,57 @@
|
|
|
11
11
|
* Use <code>nldd-split-view-pane</code> as direct children for automatic
|
|
12
12
|
* back button handling.
|
|
13
13
|
*
|
|
14
|
-
* @attr {boolean} inspector-auto-hidden
|
|
15
|
-
* @attr {boolean} inspector-as-sheet
|
|
16
|
-
* @attr {boolean} sidebar-as-sheet
|
|
17
|
-
* @attr {string} inspector-accessible-label
|
|
18
|
-
* @attr {string} sidebar-accessible-label
|
|
14
|
+
* @attr {boolean} inspector-auto-hidden - Inspector hidden to free up space for other panes (read-only, set by the split view)
|
|
15
|
+
* @attr {boolean} inspector-as-sheet - Always show the inspector as a sheet regardless of available space
|
|
16
|
+
* @attr {boolean} primary-sidebar-as-sheet - Always show the primary sidebar as a sheet, keeping main visible at full width
|
|
17
|
+
* @attr {string} inspector-accessible-label - Accessible name for the inspector sheet dialog (default: 'Details')
|
|
18
|
+
* @attr {string} primary-sidebar-accessible-label - Accessible name for the primary sidebar sheet dialog (default: 'Navigatie')
|
|
19
|
+
* @attr {boolean} sidebar-as-sheet - @deprecated alias for primary-sidebar-as-sheet (kept for backwards compatibility)
|
|
20
|
+
* @attr {string} sidebar-accessible-label - @deprecated alias for primary-sidebar-accessible-label (kept for backwards compatibility)
|
|
19
21
|
*
|
|
20
|
-
* @slot sidebar
|
|
22
|
+
* @slot primary-sidebar - Left pane for primary navigation
|
|
21
23
|
* @slot secondary-sidebar - Second pane for secondary navigation (shown when slotted)
|
|
22
24
|
* @slot main - Center pane for primary content
|
|
23
25
|
* @slot inspector - Right pane for details or properties
|
|
26
|
+
* @slot sidebar - @deprecated alias for the primary-sidebar slot (kept for backwards compatibility)
|
|
24
27
|
*
|
|
25
|
-
* @method showInspectorSheet()
|
|
26
|
-
* @method hideInspectorSheet()
|
|
27
|
-
* @method
|
|
28
|
-
* @method
|
|
28
|
+
* @method showInspectorSheet() - Opens the inspector as a sheet (async); only has effect when inspector-auto-hidden or inspector-as-sheet is active
|
|
29
|
+
* @method hideInspectorSheet() - Closes the inspector sheet
|
|
30
|
+
* @method showPrimarySidebarSheet() - Opens the primary sidebar as a sheet (async); only has effect when primary-sidebar-as-sheet is active
|
|
31
|
+
* @method hidePrimarySidebarSheet() - Closes the primary sidebar sheet
|
|
32
|
+
* @method showSidebarSheet() - @deprecated alias for showPrimarySidebarSheet() (kept for backwards compatibility)
|
|
33
|
+
* @method hideSidebarSheet() - @deprecated alias for hidePrimarySidebarSheet() (kept for backwards compatibility)
|
|
29
34
|
*/
|
|
30
35
|
import { LitElement } from 'lit';
|
|
31
36
|
export declare class NLDDNavigationSplitView extends LitElement {
|
|
32
37
|
static styles: import("lit").CSSResult;
|
|
33
38
|
inspectorAutoHidden: boolean;
|
|
34
39
|
inspectorAsSheet: boolean;
|
|
40
|
+
primarySidebarAsSheet: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated Use primary-sidebar-as-sheet. Kept as an alias for backwards compatibility.
|
|
43
|
+
*/
|
|
35
44
|
sidebarAsSheet: boolean;
|
|
36
45
|
/** Accessible name for the inspector sheet dialog. */
|
|
37
46
|
inspectorAccessibleLabel: string;
|
|
38
|
-
/** Accessible name for the sidebar sheet dialog. */
|
|
47
|
+
/** Accessible name for the primary sidebar sheet dialog. */
|
|
48
|
+
primarySidebarAccessibleLabel: string;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Use primary-sidebar-accessible-label. Kept as an alias for backwards compatibility.
|
|
51
|
+
* Empty by default so it does not clobber the new property's default.
|
|
52
|
+
*/
|
|
39
53
|
sidebarAccessibleLabel: string;
|
|
40
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Effective sheet mode — true when either the new property or the deprecated alias is set.
|
|
56
|
+
* Read by the template, so it stays accessible (underscore-prefixed = internal API).
|
|
57
|
+
*/
|
|
58
|
+
get _asSheet(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Effective primary sidebar sheet label — the deprecated alias wins when set, else the new property.
|
|
61
|
+
* Read by the template, so it stays accessible (underscore-prefixed = internal API).
|
|
62
|
+
*/
|
|
63
|
+
get _resolvedPrimarySidebarLabel(): string;
|
|
64
|
+
_showPrimarySidebar: boolean;
|
|
41
65
|
_showSecondarySidebar: boolean;
|
|
42
66
|
_showMain: boolean;
|
|
43
67
|
_showInspector: boolean;
|
|
@@ -47,8 +71,8 @@ export declare class NLDDNavigationSplitView extends LitElement {
|
|
|
47
71
|
private _hostObserver;
|
|
48
72
|
private _paneMinWidths;
|
|
49
73
|
private get _inspectorSheet();
|
|
50
|
-
private get
|
|
51
|
-
private get
|
|
74
|
+
private get _primarySidebarSheet();
|
|
75
|
+
private get _hasPrimarySidebar();
|
|
52
76
|
/** @internal */
|
|
53
77
|
get _hasSecondarySidebar(): boolean;
|
|
54
78
|
private get _hasInspector();
|
|
@@ -60,12 +84,16 @@ export declare class NLDDNavigationSplitView extends LitElement {
|
|
|
60
84
|
updated(changed: Map<string, unknown>): void;
|
|
61
85
|
_updateLayout(): void;
|
|
62
86
|
private _updatePaneBackButtons;
|
|
63
|
-
/** Opens the sidebar as a sheet. Awaitable — resolves once the dialog is open. */
|
|
87
|
+
/** Opens the primary sidebar as a sheet. Awaitable — resolves once the dialog is open. */
|
|
88
|
+
showPrimarySidebarSheet(): Promise<void>;
|
|
89
|
+
hidePrimarySidebarSheet(): void;
|
|
90
|
+
/** @deprecated Use showPrimarySidebarSheet(). */
|
|
64
91
|
showSidebarSheet(): Promise<void>;
|
|
92
|
+
/** @deprecated Use hidePrimarySidebarSheet(). */
|
|
65
93
|
hideSidebarSheet(): void;
|
|
66
|
-
private
|
|
67
|
-
|
|
68
|
-
|
|
94
|
+
private _managePrimarySidebarSheetFocus;
|
|
95
|
+
_handlePrimarySidebarSheetClick(e: MouseEvent): void;
|
|
96
|
+
_handlePrimarySidebarSheetCancel(e: Event): void;
|
|
69
97
|
/** Opens the inspector as a sheet. Awaitable — resolves once the dialog is open. */
|
|
70
98
|
showInspectorSheet(): Promise<void>;
|
|
71
99
|
hideInspectorSheet(): void;
|
package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-split-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/navigation-split-view/navigation-split-view.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"navigation-split-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/navigation-split-view/navigation-split-view.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,qBACa,uBAAwB,SAAQ,UAAU;IACtD,OAAgB,MAAM,0BAA6B;IAGnD,mBAAmB,UAAS;IAG5B,gBAAgB,UAAS;IAGzB,qBAAqB,UAAS;IAE9B;;OAEG;IAEH,cAAc,UAAS;IAEvB,sDAAsD;IAEtD,wBAAwB,SAAa;IAErC,4DAA4D;IAE5D,6BAA6B,SAAe;IAE5C;;;OAGG;IAEH,sBAAsB,SAAM;IAE5B;;;OAGG;IACH,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED;;;OAGG;IACH,IAAI,4BAA4B,IAAI,MAAM,CAEzC;IAID,mBAAmB,UAAS;IAG5B,qBAAqB,UAAS;IAG9B,SAAS,UAAQ;IAGjB,cAAc,UAAQ;IAEtB,OAAO,CAAC,KAAK,CAAiE;IAC9E,OAAO,CAAC,eAAe,CAA+B;IACtD,OAAO,CAAC,aAAa,CAAiC;IACtD,OAAO,CAAC,aAAa,CAAiC;IAGtD,OAAO,CAAC,cAAc,CAA6E;IAEnG,OAAO,KAAK,eAAe,GAE1B;IAED,OAAO,KAAK,oBAAoB,GAE/B;IAED,OAAO,KAAK,kBAAkB,GAE7B;IAED,gBAAgB;IAChB,IAAI,oBAAoB,IAAI,OAAO,CAElC;IAED,OAAO,KAAK,aAAa,GAExB;IAED,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAQ7B,iBAAiB;IAejB,oBAAoB;IAW7B,OAAO,CAAC,aAAa;IAUZ,YAAY;IAaZ,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAU9C,aAAa;IA0Eb,OAAO,CAAC,sBAAsB;IA2C9B,0FAA0F;IACpF,uBAAuB,IAAI,OAAO,CAAC,IAAI,CAAC;IAO9C,uBAAuB;IAIvB,iDAAiD;IACjD,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC;IAIjC,iDAAiD;IACjD,gBAAgB,IAAI,IAAI;IAIxB,OAAO,CAAC,+BAA+B;IAevC,+BAA+B,CAAC,CAAC,EAAE,UAAU;IAI7C,gCAAgC,CAAC,CAAC,EAAE,KAAK;IASzC,oFAAoF;IAC9E,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IAOzC,kBAAkB;IAIlB,OAAO,CAAC,0BAA0B;IAMlC,0BAA0B,CAAC,CAAC,EAAE,UAAU;IAIxC,2BAA2B,CAAC,CAAC,EAAE,KAAK;IASpC,OAAO,CAAC,mBAAmB;IAc3B,OAAO,CAAC,cAAc,CAQpB;IAEF,OAAO,CAAC,UAAU;IAwBlB,OAAO,CAAC,oBAAoB;IAMnB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,4BAA4B,EAAE,uBAAuB,CAAC;KACtD;CACD"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
/**
|
|
8
8
|
* Nederlandse Digitale Dienst Navigation Split View Component (Lit + TypeScript)
|
|
9
9
|
*
|
|
10
|
-
* A four-column layout with a sidebar, secondary sidebar, main content area, and inspector.
|
|
10
|
+
* A four-column layout with a primary sidebar, secondary sidebar, main content area, and inspector.
|
|
11
11
|
* The sidebars show navigation or lists, the main area shows primary content,
|
|
12
12
|
* and the inspector shows additional details or properties of the selection.
|
|
13
13
|
* Panes are shown automatically when content is slotted into them.
|
|
@@ -17,21 +17,26 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
17
|
* Use <code>nldd-split-view-pane</code> as direct children for automatic
|
|
18
18
|
* back button handling.
|
|
19
19
|
*
|
|
20
|
-
* @attr {boolean} inspector-auto-hidden
|
|
21
|
-
* @attr {boolean} inspector-as-sheet
|
|
22
|
-
* @attr {boolean} sidebar-as-sheet
|
|
23
|
-
* @attr {string} inspector-accessible-label
|
|
24
|
-
* @attr {string} sidebar-accessible-label
|
|
20
|
+
* @attr {boolean} inspector-auto-hidden - Inspector hidden to free up space for other panes (read-only, set by the split view)
|
|
21
|
+
* @attr {boolean} inspector-as-sheet - Always show the inspector as a sheet regardless of available space
|
|
22
|
+
* @attr {boolean} primary-sidebar-as-sheet - Always show the primary sidebar as a sheet, keeping main visible at full width
|
|
23
|
+
* @attr {string} inspector-accessible-label - Accessible name for the inspector sheet dialog (default: 'Details')
|
|
24
|
+
* @attr {string} primary-sidebar-accessible-label - Accessible name for the primary sidebar sheet dialog (default: 'Navigatie')
|
|
25
|
+
* @attr {boolean} sidebar-as-sheet - @deprecated alias for primary-sidebar-as-sheet (kept for backwards compatibility)
|
|
26
|
+
* @attr {string} sidebar-accessible-label - @deprecated alias for primary-sidebar-accessible-label (kept for backwards compatibility)
|
|
25
27
|
*
|
|
26
|
-
* @slot sidebar
|
|
28
|
+
* @slot primary-sidebar - Left pane for primary navigation
|
|
27
29
|
* @slot secondary-sidebar - Second pane for secondary navigation (shown when slotted)
|
|
28
30
|
* @slot main - Center pane for primary content
|
|
29
31
|
* @slot inspector - Right pane for details or properties
|
|
32
|
+
* @slot sidebar - @deprecated alias for the primary-sidebar slot (kept for backwards compatibility)
|
|
30
33
|
*
|
|
31
|
-
* @method showInspectorSheet()
|
|
32
|
-
* @method hideInspectorSheet()
|
|
33
|
-
* @method
|
|
34
|
-
* @method
|
|
34
|
+
* @method showInspectorSheet() - Opens the inspector as a sheet (async); only has effect when inspector-auto-hidden or inspector-as-sheet is active
|
|
35
|
+
* @method hideInspectorSheet() - Closes the inspector sheet
|
|
36
|
+
* @method showPrimarySidebarSheet() - Opens the primary sidebar as a sheet (async); only has effect when primary-sidebar-as-sheet is active
|
|
37
|
+
* @method hidePrimarySidebarSheet() - Closes the primary sidebar sheet
|
|
38
|
+
* @method showSidebarSheet() - @deprecated alias for showPrimarySidebarSheet() (kept for backwards compatibility)
|
|
39
|
+
* @method hideSidebarSheet() - @deprecated alias for hidePrimarySidebarSheet() (kept for backwards compatibility)
|
|
35
40
|
*/
|
|
36
41
|
import { LitElement } from 'lit';
|
|
37
42
|
import { customElement, property, state } from 'lit/decorators.js';
|
|
@@ -43,13 +48,22 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
43
48
|
super(...arguments);
|
|
44
49
|
this.inspectorAutoHidden = false;
|
|
45
50
|
this.inspectorAsSheet = false;
|
|
51
|
+
this.primarySidebarAsSheet = false;
|
|
52
|
+
/**
|
|
53
|
+
* @deprecated Use primary-sidebar-as-sheet. Kept as an alias for backwards compatibility.
|
|
54
|
+
*/
|
|
46
55
|
this.sidebarAsSheet = false;
|
|
47
56
|
/** Accessible name for the inspector sheet dialog. */
|
|
48
57
|
this.inspectorAccessibleLabel = 'Details';
|
|
49
|
-
/** Accessible name for the sidebar sheet dialog. */
|
|
50
|
-
this.
|
|
58
|
+
/** Accessible name for the primary sidebar sheet dialog. */
|
|
59
|
+
this.primarySidebarAccessibleLabel = 'Navigatie';
|
|
60
|
+
/**
|
|
61
|
+
* @deprecated Use primary-sidebar-accessible-label. Kept as an alias for backwards compatibility.
|
|
62
|
+
* Empty by default so it does not clobber the new property's default.
|
|
63
|
+
*/
|
|
64
|
+
this.sidebarAccessibleLabel = '';
|
|
51
65
|
// Internal visibility driven by layout algorithm — not part of public API
|
|
52
|
-
this.
|
|
66
|
+
this._showPrimarySidebar = false;
|
|
53
67
|
this._showSecondarySidebar = false;
|
|
54
68
|
this._showMain = true;
|
|
55
69
|
this._showInspector = true;
|
|
@@ -58,29 +72,43 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
58
72
|
this._paneObserver = null;
|
|
59
73
|
this._hostObserver = null;
|
|
60
74
|
// Cached pane min-widths — read from CSS in firstUpdated
|
|
61
|
-
this._paneMinWidths = {
|
|
75
|
+
this._paneMinWidths = { primarySidebar: 320, secondarySidebar: 320, main: 480, inspector: 320 };
|
|
62
76
|
// ----------------------------------------------------------------
|
|
63
77
|
// Shared sheet helpers
|
|
64
78
|
// ----------------------------------------------------------------
|
|
65
79
|
this._handleDismiss = (e) => {
|
|
66
80
|
// Route dismiss events to the correct sheet based on composed path
|
|
67
81
|
const path = e.composedPath();
|
|
68
|
-
if (path.some(el => el === this.
|
|
69
|
-
this.
|
|
82
|
+
if (path.some(el => el === this._primarySidebarSheet)) {
|
|
83
|
+
this.hidePrimarySidebarSheet();
|
|
70
84
|
}
|
|
71
85
|
else if (this.inspectorAutoHidden || this.inspectorAsSheet) {
|
|
72
86
|
this.hideInspectorSheet();
|
|
73
87
|
}
|
|
74
88
|
};
|
|
75
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Effective sheet mode — true when either the new property or the deprecated alias is set.
|
|
92
|
+
* Read by the template, so it stays accessible (underscore-prefixed = internal API).
|
|
93
|
+
*/
|
|
94
|
+
get _asSheet() {
|
|
95
|
+
return this.primarySidebarAsSheet || this.sidebarAsSheet;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Effective primary sidebar sheet label — the deprecated alias wins when set, else the new property.
|
|
99
|
+
* Read by the template, so it stays accessible (underscore-prefixed = internal API).
|
|
100
|
+
*/
|
|
101
|
+
get _resolvedPrimarySidebarLabel() {
|
|
102
|
+
return this.sidebarAccessibleLabel || this.primarySidebarAccessibleLabel;
|
|
103
|
+
}
|
|
76
104
|
get _inspectorSheet() {
|
|
77
105
|
return this.shadowRoot?.querySelector('.navigation-split-view__inspector-sheet') ?? null;
|
|
78
106
|
}
|
|
79
|
-
get
|
|
80
|
-
return this.shadowRoot?.querySelector('.navigation-split-
|
|
107
|
+
get _primarySidebarSheet() {
|
|
108
|
+
return this.shadowRoot?.querySelector('.navigation-split-view__primary-sidebar-sheet') ?? null;
|
|
81
109
|
}
|
|
82
|
-
get
|
|
83
|
-
return this.querySelector(':scope > [slot="sidebar"]') !== null;
|
|
110
|
+
get _hasPrimarySidebar() {
|
|
111
|
+
return this.querySelector(':scope > :is([slot="primary-sidebar"], [slot="sidebar"])') !== null;
|
|
84
112
|
}
|
|
85
113
|
/** @internal */
|
|
86
114
|
get _hasSecondarySidebar() {
|
|
@@ -90,7 +118,11 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
90
118
|
return this.querySelector(':scope > [slot="inspector"]') !== null;
|
|
91
119
|
}
|
|
92
120
|
_paneHasContent(slot) {
|
|
93
|
-
|
|
121
|
+
// The primary-sidebar slot also matches the deprecated 'sidebar' alias
|
|
122
|
+
const selector = slot === 'primary-sidebar'
|
|
123
|
+
? ':scope > nldd-split-view-pane:is([slot="primary-sidebar"], [slot="sidebar"])'
|
|
124
|
+
: `:scope > nldd-split-view-pane[slot="${slot}"]`;
|
|
125
|
+
return this.querySelector(selector)?.hasAttribute('has-content') ?? false;
|
|
94
126
|
}
|
|
95
127
|
connectedCallback() {
|
|
96
128
|
super.connectedCallback();
|
|
@@ -129,7 +161,7 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
129
161
|
const style = getComputedStyle(this);
|
|
130
162
|
const read = (prop) => parseFloat(style.getPropertyValue(prop));
|
|
131
163
|
this._paneMinWidths = {
|
|
132
|
-
|
|
164
|
+
primarySidebar: read('--_primary-sidebar-min-width') || this._paneMinWidths.primarySidebar,
|
|
133
165
|
secondarySidebar: read('--_secondary-sidebar-min-width') || this._paneMinWidths.secondarySidebar,
|
|
134
166
|
main: read('--_main-min-width') || this._paneMinWidths.main,
|
|
135
167
|
inspector: read('--_inspector-min-width') || this._paneMinWidths.inspector,
|
|
@@ -137,7 +169,7 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
137
169
|
this._updateLayout();
|
|
138
170
|
}
|
|
139
171
|
updated(changed) {
|
|
140
|
-
if (changed.has('inspectorAsSheet') || changed.has('sidebarAsSheet')) {
|
|
172
|
+
if (changed.has('inspectorAsSheet') || changed.has('primarySidebarAsSheet') || changed.has('sidebarAsSheet')) {
|
|
141
173
|
this._updateLayout();
|
|
142
174
|
}
|
|
143
175
|
// Close inspector sheet immediately when inspector-auto-hidden clears and inspector-as-sheet is not set
|
|
@@ -147,15 +179,15 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
147
179
|
}
|
|
148
180
|
_updateLayout() {
|
|
149
181
|
const width = this.getBoundingClientRect().width;
|
|
150
|
-
const {
|
|
151
|
-
// When sidebar-as-sheet, sidebars never render inline — main always fills full width
|
|
152
|
-
let
|
|
153
|
-
let secondarySidebar = this.
|
|
182
|
+
const { primarySidebar: primarySidebarMin, secondarySidebar: secondarySidebarMin, main: mainMin, inspector: inspectorMin } = this._paneMinWidths;
|
|
183
|
+
// When primary-sidebar-as-sheet, sidebars never render inline — main always fills full width
|
|
184
|
+
let primarySidebar = this._asSheet ? false : this._hasPrimarySidebar;
|
|
185
|
+
let secondarySidebar = this._asSheet ? false : this._hasSecondarySidebar;
|
|
154
186
|
let main = true;
|
|
155
187
|
let inspector = this._hasInspector;
|
|
156
188
|
// Sum min-widths of currently requested panes
|
|
157
189
|
const requestedWidth = () => [
|
|
158
|
-
|
|
190
|
+
primarySidebar && primarySidebarMin,
|
|
159
191
|
secondarySidebar && secondarySidebarMin,
|
|
160
192
|
main && mainMin,
|
|
161
193
|
inspector && inspectorMin,
|
|
@@ -163,17 +195,17 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
163
195
|
// Step 1: hide inspector if not enough space
|
|
164
196
|
if (inspector && requestedWidth() > width)
|
|
165
197
|
inspector = false;
|
|
166
|
-
// Step 2: collapse sidebar into secondary sidebar if still not enough space
|
|
167
|
-
if (
|
|
168
|
-
|
|
198
|
+
// Step 2: collapse primary sidebar into secondary sidebar if still not enough space
|
|
199
|
+
if (primarySidebar && secondarySidebar && requestedWidth() > width)
|
|
200
|
+
primarySidebar = false;
|
|
169
201
|
// Determine mode
|
|
170
|
-
const
|
|
202
|
+
const primarySidebarCollapsed = this._hasPrimarySidebar && this._hasSecondarySidebar && !primarySidebar && secondarySidebar;
|
|
171
203
|
const fits = requestedWidth() <= width;
|
|
172
204
|
let mode;
|
|
173
|
-
if (
|
|
174
|
-
mode = 'sidebar-stack';
|
|
205
|
+
if (primarySidebarCollapsed && fits) {
|
|
206
|
+
mode = 'primary-sidebar-stack';
|
|
175
207
|
}
|
|
176
|
-
else if (!
|
|
208
|
+
else if (!primarySidebarCollapsed && fits) {
|
|
177
209
|
mode = 'spatial';
|
|
178
210
|
}
|
|
179
211
|
else {
|
|
@@ -181,29 +213,29 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
181
213
|
}
|
|
182
214
|
// Full-stack: show only the deepest pane with content
|
|
183
215
|
if (mode === 'full-stack') {
|
|
184
|
-
|
|
216
|
+
primarySidebar = false;
|
|
185
217
|
secondarySidebar = false;
|
|
186
218
|
main = false;
|
|
187
219
|
inspector = false;
|
|
188
|
-
// Priority: main > secondary sidebar (if available) > sidebar (if available) > main fallback
|
|
220
|
+
// Priority: main > secondary sidebar (if available) > primary sidebar (if available) > main fallback
|
|
189
221
|
if (this._paneHasContent('main')) {
|
|
190
222
|
main = true;
|
|
191
223
|
}
|
|
192
224
|
else if (this._hasSecondarySidebar && this._paneHasContent('secondary-sidebar')) {
|
|
193
225
|
secondarySidebar = true;
|
|
194
226
|
}
|
|
195
|
-
else if (this.
|
|
196
|
-
|
|
227
|
+
else if (this._hasPrimarySidebar && this._paneHasContent('primary-sidebar')) {
|
|
228
|
+
primarySidebar = true;
|
|
197
229
|
}
|
|
198
230
|
else {
|
|
199
231
|
main = true; // fallback to empty state
|
|
200
232
|
}
|
|
201
233
|
}
|
|
202
234
|
// No nav and no content — hide inspector
|
|
203
|
-
if (!
|
|
235
|
+
if (!primarySidebar && !secondarySidebar && inspector && !this._paneHasContent('main')) {
|
|
204
236
|
inspector = false;
|
|
205
237
|
}
|
|
206
|
-
this.
|
|
238
|
+
this._showPrimarySidebar = primarySidebar;
|
|
207
239
|
this._showSecondarySidebar = secondarySidebar;
|
|
208
240
|
this._showMain = main;
|
|
209
241
|
// Inspector shown inline only when it fits AND consumer has not forced sheet mode
|
|
@@ -215,32 +247,32 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
215
247
|
}
|
|
216
248
|
_updatePaneBackButtons() {
|
|
217
249
|
const panes = {
|
|
218
|
-
|
|
250
|
+
primarySidebar: this.querySelector(':scope > nldd-split-view-pane:is([slot="primary-sidebar"], [slot="sidebar"])'),
|
|
219
251
|
secondarySidebar: this.querySelector(':scope > nldd-split-view-pane[slot="secondary-sidebar"]'),
|
|
220
252
|
main: this.querySelector(':scope > nldd-split-view-pane[slot="main"]'),
|
|
221
253
|
};
|
|
222
|
-
// When sidebar-as-sheet, main is always the only visible inline pane — no back buttons
|
|
223
|
-
// Secondary sidebar in the sheet can go back to sidebar — keep its back button
|
|
224
|
-
if (this.
|
|
254
|
+
// When primary-sidebar-as-sheet, main is always the only visible inline pane — no back buttons
|
|
255
|
+
// Secondary sidebar in the sheet can go back to the primary sidebar — keep its back button
|
|
256
|
+
if (this._asSheet) {
|
|
225
257
|
panes.secondarySidebar?.removeAttribute('hide-back');
|
|
226
258
|
panes.main?.setAttribute('hide-back', '');
|
|
227
259
|
return;
|
|
228
260
|
}
|
|
229
|
-
// All panes visible side by side — sidebar never gets hide-back,
|
|
230
|
-
// secondary sidebar gets hide-back because sidebar is visible alongside it
|
|
261
|
+
// All panes visible side by side — primary sidebar never gets hide-back,
|
|
262
|
+
// secondary sidebar gets hide-back because the primary sidebar is visible alongside it
|
|
231
263
|
if (this._mode === 'spatial') {
|
|
232
264
|
panes.secondarySidebar?.setAttribute('hide-back', '');
|
|
233
265
|
panes.main?.setAttribute('hide-back', '');
|
|
234
266
|
return;
|
|
235
267
|
}
|
|
236
|
-
//
|
|
268
|
+
// Primary sidebar is hidden — secondary sidebar can go back to it
|
|
237
269
|
// Main is visible alongside secondary sidebar — no sequential navigation
|
|
238
|
-
if (this._mode === 'sidebar-stack') {
|
|
270
|
+
if (this._mode === 'primary-sidebar-stack') {
|
|
239
271
|
panes.secondarySidebar?.removeAttribute('hide-back');
|
|
240
272
|
panes.main?.setAttribute('hide-back', '');
|
|
241
273
|
return;
|
|
242
274
|
}
|
|
243
|
-
//
|
|
275
|
+
// Primary sidebar never gets hide-back — consumer controls navigation depth
|
|
244
276
|
if (this._mode === 'full-stack') {
|
|
245
277
|
panes.secondarySidebar?.removeAttribute('hide-back');
|
|
246
278
|
panes.main?.removeAttribute('hide-back');
|
|
@@ -248,35 +280,47 @@ let NLDDNavigationSplitView = class NLDDNavigationSplitView extends LitElement {
|
|
|
248
280
|
}
|
|
249
281
|
}
|
|
250
282
|
// ----------------------------------------------------------------
|
|
251
|
-
//
|
|
283
|
+
// Primary sidebar sheet
|
|
252
284
|
// ----------------------------------------------------------------
|
|
253
|
-
/** Opens the sidebar as a sheet. Awaitable — resolves once the dialog is open. */
|
|
254
|
-
async
|
|
255
|
-
if (!this.
|
|
285
|
+
/** Opens the primary sidebar as a sheet. Awaitable — resolves once the dialog is open. */
|
|
286
|
+
async showPrimarySidebarSheet() {
|
|
287
|
+
if (!this._asSheet)
|
|
256
288
|
return;
|
|
257
289
|
await this.updateComplete;
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
290
|
+
this._primarySidebarSheet?.showModal();
|
|
291
|
+
this._managePrimarySidebarSheetFocus();
|
|
292
|
+
}
|
|
293
|
+
hidePrimarySidebarSheet() {
|
|
294
|
+
this._hideSheet(this._primarySidebarSheet);
|
|
260
295
|
}
|
|
296
|
+
/** @deprecated Use showPrimarySidebarSheet(). */
|
|
297
|
+
showSidebarSheet() {
|
|
298
|
+
return this.showPrimarySidebarSheet();
|
|
299
|
+
}
|
|
300
|
+
/** @deprecated Use hidePrimarySidebarSheet(). */
|
|
261
301
|
hideSidebarSheet() {
|
|
262
|
-
this.
|
|
263
|
-
}
|
|
264
|
-
_manageSidebarSheetFocus() {
|
|
265
|
-
// Focus the active slot — secondary sidebar when it has content, sidebar otherwise
|
|
266
|
-
const activeSlotName = this._hasSecondarySidebar && this._paneHasContent('secondary-sidebar')
|
|
267
|
-
? 'secondary-sidebar'
|
|
268
|
-
: 'sidebar';
|
|
269
|
-
const slot = this.shadowRoot?.querySelector(`slot[name="${activeSlotName}"]`);
|
|
270
|
-
const assigned = slot?.assignedElements({ flatten: true }) ?? [];
|
|
271
|
-
this._manageFocusForSlot(assigned, this._sidebarSheet);
|
|
302
|
+
this.hidePrimarySidebarSheet();
|
|
272
303
|
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
304
|
+
_managePrimarySidebarSheetFocus() {
|
|
305
|
+
// Focus the secondary sidebar slot when it has content
|
|
306
|
+
if (this._hasSecondarySidebar && this._paneHasContent('secondary-sidebar')) {
|
|
307
|
+
const slot = this.shadowRoot?.querySelector('slot[name="secondary-sidebar"]');
|
|
308
|
+
const assigned = slot?.assignedElements({ flatten: true }) ?? [];
|
|
309
|
+
this._manageFocusForSlot(assigned, this._primarySidebarSheet);
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
312
|
+
// Otherwise gather assigned elements from both the primary-sidebar slot and its deprecated 'sidebar' alias
|
|
313
|
+
const slots = this.shadowRoot?.querySelectorAll('slot[name="primary-sidebar"], slot[name="sidebar"]') ?? [];
|
|
314
|
+
const assigned = Array.from(slots).flatMap(slot => slot.assignedElements({ flatten: true }));
|
|
315
|
+
this._manageFocusForSlot(assigned, this._primarySidebarSheet);
|
|
316
|
+
}
|
|
317
|
+
_handlePrimarySidebarSheetClick(e) {
|
|
318
|
+
if (e.target === this._primarySidebarSheet)
|
|
319
|
+
this.hidePrimarySidebarSheet();
|
|
276
320
|
}
|
|
277
|
-
|
|
321
|
+
_handlePrimarySidebarSheetCancel(e) {
|
|
278
322
|
e.preventDefault();
|
|
279
|
-
this.
|
|
323
|
+
this.hidePrimarySidebarSheet();
|
|
280
324
|
}
|
|
281
325
|
// ----------------------------------------------------------------
|
|
282
326
|
// Inspector sheet
|
|
@@ -357,18 +401,24 @@ __decorate([
|
|
|
357
401
|
__decorate([
|
|
358
402
|
property({ type: Boolean, reflect: true, attribute: 'inspector-as-sheet' })
|
|
359
403
|
], NLDDNavigationSplitView.prototype, "inspectorAsSheet", void 0);
|
|
404
|
+
__decorate([
|
|
405
|
+
property({ type: Boolean, reflect: true, attribute: 'primary-sidebar-as-sheet' })
|
|
406
|
+
], NLDDNavigationSplitView.prototype, "primarySidebarAsSheet", void 0);
|
|
360
407
|
__decorate([
|
|
361
408
|
property({ type: Boolean, reflect: true, attribute: 'sidebar-as-sheet' })
|
|
362
409
|
], NLDDNavigationSplitView.prototype, "sidebarAsSheet", void 0);
|
|
363
410
|
__decorate([
|
|
364
411
|
property({ type: String, attribute: 'inspector-accessible-label' })
|
|
365
412
|
], NLDDNavigationSplitView.prototype, "inspectorAccessibleLabel", void 0);
|
|
413
|
+
__decorate([
|
|
414
|
+
property({ type: String, attribute: 'primary-sidebar-accessible-label' })
|
|
415
|
+
], NLDDNavigationSplitView.prototype, "primarySidebarAccessibleLabel", void 0);
|
|
366
416
|
__decorate([
|
|
367
417
|
property({ type: String, attribute: 'sidebar-accessible-label' })
|
|
368
418
|
], NLDDNavigationSplitView.prototype, "sidebarAccessibleLabel", void 0);
|
|
369
419
|
__decorate([
|
|
370
420
|
state()
|
|
371
|
-
], NLDDNavigationSplitView.prototype, "
|
|
421
|
+
], NLDDNavigationSplitView.prototype, "_showPrimarySidebar", void 0);
|
|
372
422
|
__decorate([
|
|
373
423
|
state()
|
|
374
424
|
], NLDDNavigationSplitView.prototype, "_showSecondarySidebar", void 0);
|