@nldd/design-system 0.8.100 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +464 -35
- package/dist/assets/styles/breakpoints.d.ts +32 -0
- package/dist/assets/styles/breakpoints.d.ts.map +1 -1
- package/dist/assets/styles/breakpoints.js +36 -0
- package/dist/assets/styles/breakpoints.js.map +1 -1
- package/dist/components/actions/button/button.d.ts +5 -3
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.i18n.d.ts +3 -1
- package/dist/components/actions/button/button.i18n.d.ts.map +1 -1
- package/dist/components/actions/button/button.i18n.js +3 -1
- package/dist/components/actions/button/button.i18n.js.map +1 -1
- package/dist/components/actions/button/button.js +1 -1
- package/dist/components/actions/button/button.styles.js +2 -2
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +9 -10
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-group/button-group.styles.js +2 -2
- package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +5 -3
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.d.ts +3 -1
- package/dist/components/actions/icon-button/icon-button.i18n.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.i18n.js +3 -1
- package/dist/components/actions/icon-button/icon-button.i18n.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +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 +7 -7
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.js +2 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +2 -2
- package/dist/components/actions/toolbar/toolbar.d.ts +1 -1
- package/dist/components/actions/toolbar/toolbar.i18n.d.ts +3 -1
- package/dist/components/actions/toolbar/toolbar.i18n.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.i18n.js +3 -1
- package/dist/components/actions/toolbar/toolbar.i18n.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +4 -2
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/breakpoints-Bpf2MgjM.js +39 -0
- package/dist/components/components.js +797 -579
- package/dist/components/content/avatar/avatar.d.ts +5 -3
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.i18n.d.ts +3 -1
- package/dist/components/content/avatar/avatar.i18n.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.i18n.js +3 -1
- package/dist/components/content/avatar/avatar.i18n.js.map +1 -1
- package/dist/components/content/avatar/avatar.js +1 -1
- package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.template.js +6 -6
- package/dist/components/content/avatar/avatar.template.js.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +2 -2
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +3 -3
- package/dist/components/content/identity/identity.styles.js +2 -2
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/image/image.styles.js +1 -1
- package/dist/components/content/image/lqip-encoder-element.js +1 -1
- package/dist/components/content/title/title.styles.js +5 -5
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +2 -2
- package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +2 -2
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/{icon-button-BtU8DX64.js → icon-button-BVhiOwX9.js} +10 -5
- package/dist/components/inputs/checkbox/checkbox.d.ts +8 -0
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +11 -0
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.styles.js +36 -9
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +3 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +6 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.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 +7 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js +1 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +2 -2
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +2 -2
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +3 -3
- package/dist/components/inputs/file-field/file-field.styles.js +2 -2
- package/dist/components/inputs/radio-button/radio-button.d.ts +8 -0
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +11 -0
- package/dist/components/inputs/radio-button/radio-button.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 +28 -9
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +3 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +6 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.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 +7 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js +2 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.template.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +8 -0
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +11 -0
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +14 -2
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +3 -0
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +7 -0
- package/dist/components/inputs/switch-field/switch-field.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 +7 -0
- package/dist/components/inputs/switch-field/switch-field.styles.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.template.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.template.js +1 -0
- package/dist/components/inputs/switch-field/switch-field.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +7 -7
- package/dist/components/inputs/time-field/time-field.styles.js +2 -2
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +2 -2
- package/dist/components/layout/box/box.d.ts +4 -2
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +3 -1
- package/dist/components/layout/box/box.js.map +1 -1
- package/dist/components/layout/box/box.styles.d.ts.map +1 -1
- package/dist/components/layout/box/box.styles.js +10 -5
- package/dist/components/layout/box/box.styles.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +8 -6
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.i18n.d.ts +3 -1
- package/dist/components/layout/card/card.i18n.d.ts.map +1 -1
- package/dist/components/layout/card/card.i18n.js +3 -1
- package/dist/components/layout/card/card.i18n.js.map +1 -1
- package/dist/components/layout/card/card.js +3 -3
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +12 -3
- 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 +6 -6
- package/dist/components/layout/card/card.template.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +6 -0
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +6 -0
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +5 -5
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/container/container.styles.js +5 -5
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.styles.js +5 -5
- 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.d.ts +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +5 -5
- 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-corner.d.ts +9 -0
- package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js +29 -1
- package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js +25 -18
- package/dist/components/layout/page-sections/hero/hero-corner.styles.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +22 -16
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +51 -16
- 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 +8 -98
- package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +5 -5
- 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.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +8 -8
- 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/page-section-controls.js +2 -2
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +16 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +63 -4
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +6 -6
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +5 -5
- 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.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +8 -8
- 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.js +2 -2
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +3 -3
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +4 -4
- package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
- package/dist/components/layout/spacer/spacer.styles.js +5 -5
- package/dist/components/layout/spacer/spacer.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +4 -5
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +5 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +5 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +25 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +28 -7
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.js +8 -4
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +5 -2
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +9 -4
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.styles.js +2 -2
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +13 -6
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.d.ts +3 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js +3 -1
- package/dist/components/lists-and-tables/list-item/list-item.i18n.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +16 -8
- 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 +7 -1
- 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 -2
- package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +11 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.i18n.d.ts +7 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.i18n.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.i18n.js +6 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.i18n.js.map +1 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +7 -3
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +12 -0
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +6 -3
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +4 -7
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +2 -2
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +2 -2
- package/dist/components/navigation/link/link.d.ts +6 -4
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.i18n.d.ts +3 -1
- package/dist/components/navigation/link/link.i18n.d.ts.map +1 -1
- package/dist/components/navigation/link/link.i18n.js +3 -1
- package/dist/components/navigation/link/link.i18n.js.map +1 -1
- package/dist/components/navigation/link/link.js +2 -2
- package/dist/components/navigation/link/link.styles.js +2 -2
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +7 -8
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +2 -2
- package/dist/components/navigation/skip-link/skip-link.d.ts +1 -14
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +7 -55
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +9 -9
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
- 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 +14 -9
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -2
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +13 -1
- package/dist/components/status-and-feedback/badge/badge.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 +18 -125
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +15 -15
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +2 -2
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +2 -2
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +2 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +14 -14
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +2 -2
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -1
- package/dist/components/{visibility-mixin-Crbt8PFP.js → visibility-mixin-djNSG5ZN.js} +5 -5
- package/dist/components/{with-translations-C8_0-9y8.js → with-translations-C6QfP6_S.js} +24 -1
- package/dist/css/rich-text.css +11 -11
- package/dist/css/themes/bruin.css +182 -0
- package/dist/css/themes/donkerblauw.css +182 -0
- package/dist/css/themes/donkerbruin.css +182 -0
- package/dist/css/themes/donkergeel.css +208 -0
- package/dist/css/themes/donkergroen.css +182 -0
- package/dist/css/themes/geel.css +208 -0
- package/dist/css/themes/groen.css +182 -0
- package/dist/css/themes/hemelblauw.css +182 -0
- package/dist/css/themes/lichtblauw.css +182 -0
- package/dist/css/themes/mintgroen.css +182 -0
- package/dist/css/themes/mosgroen.css +182 -0
- package/dist/css/themes/oranje.css +196 -0
- package/dist/css/themes/paars.css +182 -0
- package/dist/css/themes/robijnrood.css +196 -0
- package/dist/css/themes/rood.css +196 -0
- package/dist/css/themes/roze.css +182 -0
- package/dist/css/themes/violet.css +182 -0
- package/dist/css/themes.css +3092 -0
- package/dist/css/variables.css +97 -132
- package/dist/favicon/bruin/favicon.svg +5 -0
- package/dist/favicon/bruin/touch-icon.png +0 -0
- package/dist/favicon/donkerblauw/favicon.svg +5 -0
- package/dist/favicon/donkerblauw/touch-icon.png +0 -0
- package/dist/favicon/donkerbruin/favicon.svg +5 -0
- package/dist/favicon/donkerbruin/touch-icon.png +0 -0
- package/dist/favicon/donkergeel/favicon.svg +5 -0
- package/dist/favicon/donkergeel/touch-icon.png +0 -0
- package/dist/favicon/donkergroen/favicon.svg +5 -0
- package/dist/favicon/donkergroen/touch-icon.png +0 -0
- package/dist/favicon/geel/favicon.svg +5 -0
- package/dist/favicon/geel/touch-icon.png +0 -0
- package/dist/favicon/groen/favicon.svg +5 -0
- package/dist/favicon/groen/touch-icon.png +0 -0
- package/dist/favicon/hemelblauw/favicon.svg +5 -0
- package/dist/favicon/hemelblauw/touch-icon.png +0 -0
- package/dist/favicon/lichtblauw/favicon.svg +5 -0
- package/dist/favicon/lichtblauw/touch-icon.png +0 -0
- package/dist/favicon/mintgroen/favicon.svg +5 -0
- package/dist/favicon/mintgroen/touch-icon.png +0 -0
- package/dist/favicon/mosgroen/favicon.svg +5 -0
- package/dist/favicon/mosgroen/touch-icon.png +0 -0
- package/dist/favicon/oranje/favicon.svg +5 -0
- package/dist/favicon/oranje/touch-icon.png +0 -0
- package/dist/favicon/paars/favicon.svg +5 -0
- package/dist/favicon/paars/touch-icon.png +0 -0
- package/dist/favicon/robijnrood/favicon.svg +5 -0
- package/dist/favicon/robijnrood/touch-icon.png +0 -0
- package/dist/favicon/rood/favicon.svg +5 -0
- package/dist/favicon/rood/touch-icon.png +0 -0
- package/dist/favicon/roze/favicon.svg +5 -0
- package/dist/favicon/roze/touch-icon.png +0 -0
- package/dist/favicon/violet/favicon.svg +5 -0
- package/dist/favicon/violet/touch-icon.png +0 -0
- package/dist/nldd.min.js +989 -1033
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +24 -7
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +24 -7
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +24 -7
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +24 -7
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +24 -7
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +59 -33
- package/dist/utilities/focus-target.d.ts +23 -0
- package/dist/utilities/focus-target.d.ts.map +1 -0
- package/dist/utilities/focus-target.js +70 -0
- package/dist/utilities/focus-target.js.map +1 -0
- package/dist/utilities/link-hint.d.ts +18 -0
- package/dist/utilities/link-hint.d.ts.map +1 -0
- package/dist/utilities/link-hint.js +29 -0
- package/dist/utilities/link-hint.js.map +1 -0
- package/dist/utilities/page-section-mixin.d.ts +4 -3
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +6 -4
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/visibility-mixin.styles.js +5 -5
- package/dist/utilities/visibility-mixin.styles.js.map +1 -1
- package/package.json +12 -7
- package/dist/components/breakpoints-CkxsiRgH.js +0 -10
|
@@ -25,11 +25,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
25
25
|
* `main-background="base"` that area gets a border so it stays visible on the
|
|
26
26
|
* base surface.
|
|
27
27
|
*
|
|
28
|
-
* The hero is the head of a page and sits right under the top bar, so
|
|
29
|
-
* padding is half that of the other page sections: the full
|
|
30
|
-
* to separate two sections, and under the top bar it reads
|
|
31
|
-
*
|
|
32
|
-
*
|
|
28
|
+
* The hero is the head of a page and sits right under the top bar, so on md
|
|
29
|
+
* and lg its top padding is half that of the other page sections: the full
|
|
30
|
+
* distance is meant to separate two sections, and under the top bar it reads
|
|
31
|
+
* as a gap. On sm the top keeps the full distance, as the other sections do.
|
|
32
|
+
* The bottom keeps the full distance to the section below. Set `padding-top`
|
|
33
|
+
* to place a hero elsewhere.
|
|
33
34
|
*
|
|
34
35
|
* By default the panel falls over the bottom of the image and runs on below it
|
|
35
36
|
* (`layout="overlap"`), so the image keeps its height whatever the content.
|
|
@@ -41,21 +42,22 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
41
42
|
* a minimum height for the whole hero it stretched the panel once that sat
|
|
42
43
|
* below the image. A hero given `height` says so in development.
|
|
43
44
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* `color="inherit"` (title, rich-text) are guaranteed to keep their
|
|
45
|
+
* The panel takes the accent color of the theme, closest to its reference
|
|
46
|
+
* color in both modes, with a pure white or black content color, so components
|
|
47
|
+
* with `color="inherit"` (title, rich-text) are guaranteed to keep their
|
|
48
|
+
* contrast. `main-background="base"` gives it the base surface instead. A
|
|
49
|
+
* Rijkshuisstijl color per hero is gone: the theme picks the color for the
|
|
50
|
+
* whole site, and a hero given one says so in development.
|
|
47
51
|
*
|
|
48
52
|
* @element nldd-hero
|
|
49
53
|
*
|
|
50
|
-
* @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
|
|
54
|
+
* @attr {'inherit'|'base'|'tinted'|'accent-tinted'} background - Surface behind the hero (section API)
|
|
51
55
|
* @attr {string} width - Body max-width; 'full' removes the bound (section API)
|
|
52
56
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
53
57
|
* @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
|
|
54
|
-
* @attr {string} corner - Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the panel leaves free.
|
|
58
|
+
* @attr {string} corner - Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the panel leaves free. With media it applies with `layout="contained"` and the panel in a corner or along a side; with overlap or a centered panel the hero stays rectangular and says so in development. The panel stands against the edge of the image, so a `main-width` in percent (33.33%, 50%) is a share of the image, and gets a corner at half the radius, the one pointing into the image; a panel along a full side, a `main-width="full"` strip and the panel on mobile stay square. On mobile a bottom corner moves to the top. Without media the panel is the whole hero: the corner applies in every layout and position, at half the radius, and the hero chooses top-right, or top-left for a panel on the right. The radius comes from the ribbon width: 1.5X on sm, 2X on md and lg, and is never more than a third of the shortest side of the area it rounds, so a low hero keeps a corner rather than a drop. Says so in development when the chosen corner sits under the panel, or with `width="full"`
|
|
55
59
|
* @attr {'contained'|'overlap'} layout - How the panel relates to the image (default: 'overlap'). 'contained' keeps it on the image, in any of the eight positions; 'overlap' lets it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image keeps its height whatever the content. In 'overlap' the image has a fixed height (320px on md, 400px on lg) unless `media-height` or `media-aspect-ratio` is set, and only the horizontal side of `main-position` counts. A panel shorter than `overlap-size` ends inside the image and says so in development
|
|
56
|
-
* @attr {
|
|
57
|
-
* or a category color — 'accent' (default) or a Rijkshuisstijl color such as
|
|
58
|
-
* 'lintblauw'|'donkerblauw'|'oranje'
|
|
60
|
+
* @attr {'accent'|'base'} main-background - Surface color of the panel: 'accent' (default), the accent color of the theme, or 'base', the base surface
|
|
59
61
|
* @attr {string} main-width - Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto'
|
|
60
62
|
* @attr {'top-left'|'top-center'|'top-right'|'bottom-left'|'bottom-center'|'bottom-right'|'left'|'right'} main-position -
|
|
61
63
|
* Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height
|
|
@@ -81,7 +83,7 @@ import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js'
|
|
|
81
83
|
import { heroStyles } from './hero.styles.js';
|
|
82
84
|
import { heroTemplate } from './hero.template.js';
|
|
83
85
|
import { heroCornerStyles } from './hero-corner.styles.js';
|
|
84
|
-
import { applyCorner } from './hero-corner.js';
|
|
86
|
+
import { applyCorner, clearCornerLimits, limitCorner } from './hero-corner.js';
|
|
85
87
|
const CSS_WIDE_KEYWORDS = new Set(['inherit', 'initial', 'unset', 'revert', 'revert-layer']);
|
|
86
88
|
/**
|
|
87
89
|
* Whether `property` takes `value` as a value of its own. CSS.supports alone
|
|
@@ -97,8 +99,9 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
97
99
|
super(...arguments);
|
|
98
100
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
99
101
|
this.width = '';
|
|
100
|
-
/** Rounds one corner of the media area and one of the panel
|
|
101
|
-
*
|
|
102
|
+
/** Rounds one corner of the media area and one of the panel, or without
|
|
103
|
+
* media one corner of the hero. An empty value lets the hero choose the
|
|
104
|
+
* corner from `main-position`. */
|
|
102
105
|
this.corner = null;
|
|
103
106
|
this.layout = 'overlap';
|
|
104
107
|
this.mainBackground = 'accent';
|
|
@@ -117,6 +120,8 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
117
120
|
this.mediaSizes = '';
|
|
118
121
|
this.mediaAlt = '';
|
|
119
122
|
this._slotHasMedia = false;
|
|
123
|
+
/** Measures the rounded areas, so the radius never outgrows them. */
|
|
124
|
+
this._cornerObserver = null;
|
|
120
125
|
/** DEV-only latch for the `height` warning. */
|
|
121
126
|
this._warnedHeight = false;
|
|
122
127
|
/** DEV-only: watches an overlap hero for a panel that does not reach below its image. */
|
|
@@ -136,11 +141,15 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
136
141
|
super.connectedCallback();
|
|
137
142
|
if (import.meta.env?.DEV && this.hasUpdated)
|
|
138
143
|
this._watchOverlap();
|
|
144
|
+
if (this.hasUpdated)
|
|
145
|
+
this._watchCorner();
|
|
139
146
|
}
|
|
140
147
|
disconnectedCallback() {
|
|
141
148
|
super.disconnectedCallback();
|
|
142
149
|
this._overlapObserver?.disconnect();
|
|
143
150
|
this._overlapObserver = null;
|
|
151
|
+
this._cornerObserver?.disconnect();
|
|
152
|
+
this._cornerObserver = null;
|
|
144
153
|
// A hero that comes back is watched again, so it may warn again.
|
|
145
154
|
this._warnedOverlap = false;
|
|
146
155
|
}
|
|
@@ -159,6 +168,8 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
159
168
|
}
|
|
160
169
|
if (import.meta.env?.DEV && changed.has('layout'))
|
|
161
170
|
this._watchOverlap();
|
|
171
|
+
if (changed.has('corner'))
|
|
172
|
+
this._watchCorner();
|
|
162
173
|
if (changed.has('mainWidth')) {
|
|
163
174
|
const width = (this.mainWidth ?? '').trim();
|
|
164
175
|
const length = width !== '' && width !== 'auto' && width !== 'full';
|
|
@@ -172,6 +183,12 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
172
183
|
console.warn(`<nldd-hero>: main-width="${width}" is not "auto", "full" or a CSS width, and falls back to "auto", which follows the content between 480px and 640px.`, this);
|
|
173
184
|
}
|
|
174
185
|
}
|
|
186
|
+
if (import.meta.env?.DEV && changed.has('mainBackground')) {
|
|
187
|
+
const background = this.mainBackground;
|
|
188
|
+
if (background !== 'accent' && background !== 'base') {
|
|
189
|
+
console.warn(`<nldd-hero>: main-background="${background}" is not "accent" or "base", and falls back to "accent". A color per hero is gone: pick the color for the whole site with a theme, data-nldd-theme on <html>.`, this);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
175
192
|
if (changed.has('overlapSize')) {
|
|
176
193
|
const size = (this.overlapSize ?? '').trim();
|
|
177
194
|
if (size && takesValue('margin-top', size)) {
|
|
@@ -212,6 +229,24 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
|
|
|
212
229
|
}
|
|
213
230
|
}
|
|
214
231
|
}
|
|
232
|
+
_watchCorner() {
|
|
233
|
+
const watch = this.corner !== null && this.corner !== undefined && typeof ResizeObserver !== 'undefined';
|
|
234
|
+
if (!watch) {
|
|
235
|
+
this._cornerObserver?.disconnect();
|
|
236
|
+
this._cornerObserver = null;
|
|
237
|
+
clearCornerLimits(this);
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
if (this._cornerObserver)
|
|
241
|
+
return;
|
|
242
|
+
const media = this.shadowRoot?.querySelector('.hero__media');
|
|
243
|
+
const main = this.shadowRoot?.querySelector('.hero__main');
|
|
244
|
+
if (!media || !main)
|
|
245
|
+
return;
|
|
246
|
+
this._cornerObserver = new ResizeObserver((entries) => limitCorner(this, entries));
|
|
247
|
+
this._cornerObserver.observe(media);
|
|
248
|
+
this._cornerObserver.observe(main);
|
|
249
|
+
}
|
|
215
250
|
_watchOverlap() {
|
|
216
251
|
const watch = this.layout !== 'contained' && typeof ResizeObserver !== 'undefined';
|
|
217
252
|
if (!watch) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM/E,MAAM,iBAAiB,GAAG,IAAI,GAAG,CA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AO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,iBAAiB,CAAmB,aAAa,CAAC,EAAE,CAAC;8CACxE;AAK/C;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;kDACjF;AAGtB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;6CAChF;AAGjB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;6CAChF;AAMjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;0CACrC;AAGd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;6CACrC;AAGjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;4CACrC;AAGhB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;0CACrC;AAGd;IADC,KAAK,EAAE;+CACc;AApDV,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CA2NpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,yBAgVtB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
|
-
import {
|
|
2
|
+
import { queryBreakpoints } from '../../../../assets/styles/breakpoints.js';
|
|
3
3
|
import { inheritedTextReset, slottedReset } from '../../../../assets/styles/shadow-resets.js';
|
|
4
|
-
const smMax = unsafeCSS(
|
|
5
|
-
const mdMin = unsafeCSS(
|
|
6
|
-
const mdMax = unsafeCSS(
|
|
7
|
-
const lgMin = unsafeCSS(
|
|
4
|
+
const smMax = unsafeCSS(queryBreakpoints.smMax);
|
|
5
|
+
const mdMin = unsafeCSS(queryBreakpoints.mdMin);
|
|
6
|
+
const mdMax = unsafeCSS(queryBreakpoints.mdMax);
|
|
7
|
+
const lgMin = unsafeCSS(queryBreakpoints.lgMin);
|
|
8
8
|
export const heroStyles = css `
|
|
9
9
|
:host {
|
|
10
10
|
box-sizing: border-box;
|
|
@@ -32,8 +32,8 @@ export const heroStyles = css `
|
|
|
32
32
|
--_hero-main-min-width: var(--primitives-area-480);
|
|
33
33
|
--_hero-main-max-width: var(--primitives-area-640);
|
|
34
34
|
--_hero-main-width: auto;
|
|
35
|
-
--_hero-main-background-color: var(--semantics-
|
|
36
|
-
--_hero-main-content-color: var(--semantics-
|
|
35
|
+
--_hero-main-background-color: var(--semantics-surfaces-accent-filled-background-color);
|
|
36
|
+
--_hero-main-content-color: var(--semantics-content-on-accent-filled-color);
|
|
37
37
|
--_hero-main-padding: var(--primitives-space-16);
|
|
38
38
|
--_hero-main-inset: var(--primitives-space-0);
|
|
39
39
|
--_hero-sm-main-inset: var(--semantics-page-sections-sm-gap);
|
|
@@ -67,96 +67,6 @@ export const heroStyles = css `
|
|
|
67
67
|
--_hero-main-content-color: var(--semantics-content-color);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
:host([main-background="lintblauw"]) {
|
|
71
|
-
--_hero-main-background-color: var(--semantics-categories-lintblauw-reference-background-color);
|
|
72
|
-
--_hero-main-content-color: var(--semantics-categories-lintblauw-reference-content-color);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
:host([main-background="donkerblauw"]) {
|
|
76
|
-
--_hero-main-background-color: var(--semantics-categories-donkerblauw-reference-background-color);
|
|
77
|
-
--_hero-main-content-color: var(--semantics-categories-donkerblauw-reference-content-color);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
:host([main-background="hemelblauw"]) {
|
|
81
|
-
--_hero-main-background-color: var(--semantics-categories-hemelblauw-reference-background-color);
|
|
82
|
-
--_hero-main-content-color: var(--semantics-categories-hemelblauw-reference-content-color);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
:host([main-background="lichtblauw"]) {
|
|
86
|
-
--_hero-main-background-color: var(--semantics-categories-lichtblauw-reference-background-color);
|
|
87
|
-
--_hero-main-content-color: var(--semantics-categories-lichtblauw-reference-content-color);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
:host([main-background="paars"]) {
|
|
91
|
-
--_hero-main-background-color: var(--semantics-categories-paars-reference-background-color);
|
|
92
|
-
--_hero-main-content-color: var(--semantics-categories-paars-reference-content-color);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
:host([main-background="violet"]) {
|
|
96
|
-
--_hero-main-background-color: var(--semantics-categories-violet-reference-background-color);
|
|
97
|
-
--_hero-main-content-color: var(--semantics-categories-violet-reference-content-color);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
:host([main-background="robijnrood"]) {
|
|
101
|
-
--_hero-main-background-color: var(--semantics-categories-robijnrood-reference-background-color);
|
|
102
|
-
--_hero-main-content-color: var(--semantics-categories-robijnrood-reference-content-color);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
:host([main-background="roze"]) {
|
|
106
|
-
--_hero-main-background-color: var(--semantics-categories-roze-reference-background-color);
|
|
107
|
-
--_hero-main-content-color: var(--semantics-categories-roze-reference-content-color);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
:host([main-background="rood"]) {
|
|
111
|
-
--_hero-main-background-color: var(--semantics-categories-rood-reference-background-color);
|
|
112
|
-
--_hero-main-content-color: var(--semantics-categories-rood-reference-content-color);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
:host([main-background="oranje"]) {
|
|
116
|
-
--_hero-main-background-color: var(--semantics-categories-oranje-reference-background-color);
|
|
117
|
-
--_hero-main-content-color: var(--semantics-categories-oranje-reference-content-color);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
:host([main-background="donkergeel"]) {
|
|
121
|
-
--_hero-main-background-color: var(--semantics-categories-donkergeel-reference-background-color);
|
|
122
|
-
--_hero-main-content-color: var(--semantics-categories-donkergeel-reference-content-color);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
:host([main-background="geel"]) {
|
|
126
|
-
--_hero-main-background-color: var(--semantics-categories-geel-reference-background-color);
|
|
127
|
-
--_hero-main-content-color: var(--semantics-categories-geel-reference-content-color);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
:host([main-background="donkerbruin"]) {
|
|
131
|
-
--_hero-main-background-color: var(--semantics-categories-donkerbruin-reference-background-color);
|
|
132
|
-
--_hero-main-content-color: var(--semantics-categories-donkerbruin-reference-content-color);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
:host([main-background="bruin"]) {
|
|
136
|
-
--_hero-main-background-color: var(--semantics-categories-bruin-reference-background-color);
|
|
137
|
-
--_hero-main-content-color: var(--semantics-categories-bruin-reference-content-color);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
:host([main-background="donkergroen"]) {
|
|
141
|
-
--_hero-main-background-color: var(--semantics-categories-donkergroen-reference-background-color);
|
|
142
|
-
--_hero-main-content-color: var(--semantics-categories-donkergroen-reference-content-color);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
:host([main-background="groen"]) {
|
|
146
|
-
--_hero-main-background-color: var(--semantics-categories-groen-reference-background-color);
|
|
147
|
-
--_hero-main-content-color: var(--semantics-categories-groen-reference-content-color);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
:host([main-background="mosgroen"]) {
|
|
151
|
-
--_hero-main-background-color: var(--semantics-categories-mosgroen-reference-background-color);
|
|
152
|
-
--_hero-main-content-color: var(--semantics-categories-mosgroen-reference-content-color);
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
:host([main-background="mintgroen"]) {
|
|
156
|
-
--_hero-main-background-color: var(--semantics-categories-mintgroen-reference-background-color);
|
|
157
|
-
--_hero-main-content-color: var(--semantics-categories-mintgroen-reference-content-color);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
70
|
|
|
161
71
|
/* # Block */
|
|
162
72
|
|
|
@@ -174,7 +84,7 @@ export const heroStyles = css `
|
|
|
174
84
|
|
|
175
85
|
@container (max-width: ${smMax}) {
|
|
176
86
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
177
|
-
padding-top: var(--_hero-sm-padding-top, var(--_hero-padding-top,
|
|
87
|
+
padding-top: var(--_hero-sm-padding-top, var(--_hero-padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
178
88
|
padding-bottom: var(--_hero-sm-padding-bottom, var(--_hero-padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
179
89
|
}
|
|
180
90
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"hero.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAE9F,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqCzB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAwCK,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;;;;;2BAU/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6CL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6B5B,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA2DW,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAsDN,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA8BL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B9B,CAAC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-one-half-one-half-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'|'accent-tinted'} [background] - Surface background ('inherit' default; 'base', 'tinted' and 'accent-tinted', a tint of the theme's accent with the contrast of 'tinted', paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js
CHANGED
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-one-half-one-half-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'|'accent-tinted'} [background] - Surface background ('inherit' default; 'base', 'tinted' and 'accent-tinted', a tint of the theme's accent with the contrast of 'tinted', paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
|
-
import {
|
|
3
|
-
const smMax = unsafeCSS(
|
|
4
|
-
const mdMin = unsafeCSS(
|
|
5
|
-
const mdMax = unsafeCSS(
|
|
6
|
-
const lgMin = unsafeCSS(
|
|
2
|
+
import { queryBreakpoints } from '../../../../assets/styles/breakpoints.js';
|
|
3
|
+
const smMax = unsafeCSS(queryBreakpoints.smMax);
|
|
4
|
+
const mdMin = unsafeCSS(queryBreakpoints.mdMin);
|
|
5
|
+
const mdMax = unsafeCSS(queryBreakpoints.mdMax);
|
|
6
|
+
const lgMin = unsafeCSS(queryBreakpoints.lgMin);
|
|
7
7
|
export const oneHalfOneHalfSectionStyles = css `
|
|
8
8
|
:host {
|
|
9
9
|
box-sizing: border-box;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoDnB,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;2BAM/B,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;2BAcL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B/B,CAAC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-one-third-two-thirds-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'|'accent-tinted'} [background] - Surface background ('inherit' default; 'base', 'tinted' and 'accent-tinted', a tint of the theme's accent with the contrast of 'tinted', paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-one-third-two-thirds-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'|'accent-tinted'} [background] - Surface background ('inherit' default; 'base', 'tinted' and 'accent-tinted', a tint of the theme's accent with the contrast of 'tinted', paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
|
-
import {
|
|
3
|
-
const smMax = unsafeCSS(
|
|
4
|
-
const mdMin = unsafeCSS(
|
|
5
|
-
const mdMax = unsafeCSS(
|
|
6
|
-
const lgMin = unsafeCSS(
|
|
2
|
+
import { queryBreakpoints } from '../../../../assets/styles/breakpoints.js';
|
|
3
|
+
const smMax = unsafeCSS(queryBreakpoints.smMax);
|
|
4
|
+
const mdMin = unsafeCSS(queryBreakpoints.mdMin);
|
|
5
|
+
const mdMax = unsafeCSS(queryBreakpoints.mdMax);
|
|
6
|
+
const lgMin = unsafeCSS(queryBreakpoints.lgMin);
|
|
7
7
|
export const oneThirdTwoThirdsSectionStyles = css `
|
|
8
8
|
:host {
|
|
9
9
|
box-sizing: border-box;
|
|
@@ -110,7 +110,7 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
110
110
|
two near-equal columns; stack to a single column instead. nowrap
|
|
111
111
|
stops the column-direction wrap container from stretching the
|
|
112
112
|
shorter column to fill height. */
|
|
113
|
-
@container (max-width:
|
|
113
|
+
@container (max-width: 48rem) {
|
|
114
114
|
flex-direction: column;
|
|
115
115
|
flex-wrap: nowrap;
|
|
116
116
|
}
|
|
@@ -129,13 +129,13 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
:host([vertical-alignment="center"]) .one-third-two-thirds-section__columns {
|
|
132
|
-
@container (min-width:
|
|
132
|
+
@container (min-width: 48.0625rem) {
|
|
133
133
|
align-items: center;
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
:host([vertical-alignment="bottom"]) .one-third-two-thirds-section__columns {
|
|
138
|
-
@container (min-width:
|
|
138
|
+
@container (min-width: 48.0625rem) {
|
|
139
139
|
align-items: flex-end;
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAE5E,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAoDtB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B/B,CAAC"}
|
|
@@ -39,8 +39,8 @@ export const pageSectionArgs = {
|
|
|
39
39
|
export const pageSectionArgTypes = {
|
|
40
40
|
background: {
|
|
41
41
|
control: { type: 'select' },
|
|
42
|
-
options: ['inherit', 'base', 'tinted'],
|
|
43
|
-
description: 'Oppervlak: "inherit" laat het oppervlak van de ouder doorschijnen, "base" en "tinted" tekenen een eigen oppervlak dat naar de inhoud cascadeert',
|
|
42
|
+
options: ['inherit', 'base', 'tinted', 'accent-tinted'],
|
|
43
|
+
description: 'Oppervlak: "inherit" laat het oppervlak van de ouder doorschijnen, "base", "tinted" en "accent-tinted" tekenen een eigen oppervlak dat naar de inhoud cascadeert',
|
|
44
44
|
table: { defaultValue: { summary: 'inherit' } },
|
|
45
45
|
},
|
|
46
46
|
width: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-section-controls.js","sourceRoot":"","sources":["../../../../src/components/layout/page-sections/page-section-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAC9B,OAAO,EACN,SAAS,EACT,SAAS,EACT,QAAQ,GAGR,MAAM,kBAAkB,CAAC;AAE1B,MAAM,eAAe,GAAG;IACvB,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;IAC/D,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;CACpD,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,WAAmB,EAAE,EAAE,CAAC,CAAC;IAC9D,IAAI;IACJ,OAAO,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE;IACpC,OAAO,EAAE,eAAe;IACxB,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACzB,WAAW;IACX,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE;CAC9C,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,UAAU,EAAE,SAAS;IACrB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,EAAE;IAChB,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;IACnB,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;IACnB,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,UAAU,EAAE;QACX,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"page-section-controls.js","sourceRoot":"","sources":["../../../../src/components/layout/page-sections/page-section-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAC9B,OAAO,EACN,SAAS,EACT,SAAS,EACT,QAAQ,GAGR,MAAM,kBAAkB,CAAC;AAE1B,MAAM,eAAe,GAAG;IACvB,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;IAC/D,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;CACpD,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,WAAmB,EAAE,EAAE,CAAC,CAAC;IAC9D,IAAI;IACJ,OAAO,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE;IACpC,OAAO,EAAE,eAAe;IACxB,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACzB,WAAW;IACX,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,QAAQ,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,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;QACxB,KAAK,MAAM,CAAC,GAAG,EAAE,SAAS,CAAC,IAAI,kBAAkB,EAAE,CAAC;YACnD,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;YACxB,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;gBAChC,EAAE,CAAC,eAAe,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;YACtC,CAAC;iBAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;gBACtD,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;YACnC,CAAC;iBAAM,CAAC;gBACP,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;YAC/B,CAAC;QACF,CAAC;QACD,OAAO,OAAO,CAAC;IAChB,CAAC;CACD;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,SAAS,CAAC,yBAAyB,CAAC,CAAC"}
|
|
@@ -19,6 +19,18 @@
|
|
|
19
19
|
* The sheet gets a sticky title bar by default — the `sidebar-label` as title plus a
|
|
20
20
|
* "Sluit" button — overridable via the `sheet-top-title-bar` slot.
|
|
21
21
|
*
|
|
22
|
+
* A link in the sheet to a place on the page beside it, such as a row of a
|
|
23
|
+
* table of contents, closes the sheet first and then scrolls to that place and
|
|
24
|
+
* moves focus there, with a temporary tab stop as a skip link does. Left to the
|
|
25
|
+
* browser, the page would scroll under a sheet that is still open, and on
|
|
26
|
+
* closing the browser gives focus back to the trigger without scrolling to it,
|
|
27
|
+
* so focus ends up out of sight. A link that opens elsewhere (another page, a
|
|
28
|
+
* new tab, a modifier key, a `download`) or points into the sidebar itself is
|
|
29
|
+
* left alone, as is a click the consumer has already handled with
|
|
30
|
+
* `preventDefault()`. The address gets the fragment through `replaceState`,
|
|
31
|
+
* without a new history entry and without a `hashchange` event or a `:target`
|
|
32
|
+
* match: a router that listens for those does not see the jump.
|
|
33
|
+
*
|
|
22
34
|
* The sidebar content lives in `slot="sidebar"`. Its slot outlet moves between the
|
|
23
35
|
* box (expanded) and the sheet (collapsed) so there is a single, never-duplicated
|
|
24
36
|
* copy — the light DOM (and its state) is preserved across the switch.
|
|
@@ -91,7 +103,6 @@ export declare class NLDDSidebarSection extends NLDDSidebarSection_base {
|
|
|
91
103
|
collapsed: boolean;
|
|
92
104
|
private _sheet?;
|
|
93
105
|
private _ro?;
|
|
94
|
-
private readonly _lgMin;
|
|
95
106
|
private _hasMeasured;
|
|
96
107
|
private _sheetOpen;
|
|
97
108
|
get _resolvedSidebarLabel(): string;
|
|
@@ -111,6 +122,10 @@ export declare class NLDDSidebarSection extends NLDDSidebarSection_base {
|
|
|
111
122
|
hide(): void;
|
|
112
123
|
/** Opens or closes the sidebar sheet. No-op on lg. */
|
|
113
124
|
toggle(): void;
|
|
125
|
+
/** A link in the open sheet to a place on the page: close first, then go there. */
|
|
126
|
+
private _onClick;
|
|
127
|
+
private _pendingJump?;
|
|
128
|
+
private _inSidebar;
|
|
114
129
|
_onSheetOpen: () => void;
|
|
115
130
|
_onSheetClose: () => void;
|
|
116
131
|
render(): import("lit-html").TemplateResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"sidebar-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAOtD,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,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