@nldd/design-system 0.8.95 → 0.8.97
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/README.md +20 -19
- package/custom-elements.json +781 -379
- package/dist/assets/styles/shadow-resets.d.ts +1 -1
- package/dist/assets/styles/shadow-resets.js +1 -1
- package/dist/components/actions/button/button.js +3 -3
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.js +273 -273
- package/dist/components/actions/button-bar/button-bar.styles.js +34 -34
- package/dist/components/actions/button-group/button-group.styles.js +11 -11
- package/dist/components/actions/icon-button/icon-button.js +3 -3
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +203 -203
- package/dist/components/actions/menu/menu.d.ts +3 -3
- package/dist/components/actions/menu/menu.js +15 -15
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +46 -41
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.js +3 -3
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +30 -30
- package/dist/components/actions/toolbar/toolbar.d.ts +5 -0
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +28 -18
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +55 -55
- package/dist/components/components.js +4682 -4158
- package/dist/components/content/avatar/avatar.d.ts +1 -1
- package/dist/components/content/avatar/avatar.js +3 -3
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar/avatar.styles.js +39 -39
- package/dist/components/content/avatar-group/avatar-group.styles.js +36 -36
- package/dist/components/content/blockquote/blockquote.styles.js +14 -14
- package/dist/components/content/code-viewer/code-viewer.js +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +36 -36
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +17 -1
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
- package/dist/components/content/icon/icon-gallery-status.js +25 -42
- package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +24 -12
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/icon/icon.js +2 -2
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/icon/icon.styles.js +48 -48
- package/dist/components/content/identity/identity.styles.js +17 -17
- package/dist/components/content/image/image.d.ts +19 -3
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +28 -7
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +189 -153
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +13 -1
- package/dist/components/content/image/image.template.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 +42 -40
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +25 -12
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +25 -12
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.styles.js +95 -95
- package/dist/components/content/text/text.styles.js +23 -23
- package/dist/components/content/title/title.styles.js +38 -38
- package/dist/components/content/token/token.styles.js +4 -4
- package/dist/components/content/tooltip/tooltip.js +5 -5
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +21 -18
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +5 -5
- package/dist/components/forms/validation-list/validation-list.styles.js +7 -7
- package/dist/components/{icon-Typdp4av.js → icon-D_ZGezHx.js} +83 -63
- package/dist/components/{icon-button-9mo3oIyL.js → icon-button-NN0SrgS3.js} +278 -275
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -3
- 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 +31 -16
- package/dist/components/inputs/checkbox/checkbox.styles.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js +2 -2
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.styles.js +30 -30
- package/dist/components/inputs/combo-box/combo-box.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +30 -30
- package/dist/components/inputs/date-field/date-field.js +4 -4
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +46 -46
- package/dist/components/inputs/date-picker/date-picker.js +3 -3
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.styles.js +65 -65
- package/dist/components/inputs/dropdown/dropdown.js +2 -2
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +66 -66
- package/dist/components/inputs/file-field/file-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.styles.js +33 -30
- package/dist/components/inputs/file-field/file-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +3 -3
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +30 -30
- package/dist/components/inputs/number-field/number-field.js +3 -3
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +18 -18
- package/dist/components/inputs/password-field/password-field.js +2 -2
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +37 -37
- package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.styles.js +29 -13
- package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +2 -2
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +30 -30
- package/dist/components/inputs/segmented-control/segmented-control.js +4 -4
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +108 -108
- package/dist/components/inputs/stepper/stepper.styles.js +10 -10
- package/dist/components/inputs/switch/switch.styles.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +39 -31
- package/dist/components/inputs/switch/switch.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +7 -7
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +138 -138
- package/dist/components/inputs/text-field/text-field.js +2 -2
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +27 -27
- package/dist/components/inputs/time-field/time-field.js +4 -4
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +40 -40
- package/dist/components/inputs/time-picker/time-picker.js +4 -4
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +30 -30
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +145 -145
- 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 +7 -3
- package/dist/components/inputs/toggle-button-group/toggle-button-group.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +28 -28
- package/dist/components/layout/box/box.d.ts +1 -1
- package/dist/components/layout/box/box.js +1 -1
- package/dist/components/layout/box/box.styles.js +13 -13
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +24 -21
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.js +6 -6
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +19 -19
- package/dist/components/layout/container/container.d.ts +2 -2
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +32 -31
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.js +125 -125
- package/dist/components/layout/page/page.d.ts +9 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +41 -18
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +21 -21
- package/dist/components/layout/page-footer/page-footer.js +4 -4
- package/dist/components/layout/page-footer/page-footer.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 +26 -26
- 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 +2 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +6 -4
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.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 +22 -17
- 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 +57 -11
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +164 -21
- 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 +159 -105
- 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 +4 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +11 -4
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.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 +30 -17
- 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 +4 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +11 -4
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.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 +34 -17
- 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.d.ts +11 -1
- package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +11 -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 +5 -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 +11 -7
- 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.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +37 -34
- 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 +2 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +6 -5
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +19 -19
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +11 -4
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.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 +34 -17
- 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.d.ts +1 -1
- package/dist/components/layout/popover/popover.js +5 -5
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +4 -3
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.js +5 -5
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +8 -8
- package/dist/components/layout/{app-view/app-view.d.ts → shell/shell.d.ts} +11 -11
- package/dist/components/layout/shell/shell.d.ts.map +1 -0
- package/dist/components/layout/{app-view/app-view.js → shell/shell.js} +24 -24
- package/dist/components/layout/shell/shell.js.map +1 -0
- package/dist/components/layout/shell/shell.styles.d.ts +2 -0
- package/dist/components/layout/shell/shell.styles.d.ts.map +1 -0
- package/dist/components/layout/{app-view/app-view.styles.js → shell/shell.styles.js} +8 -8
- package/dist/components/layout/shell/shell.styles.js.map +1 -0
- package/dist/components/layout/shell/shell.template.d.ts +4 -0
- package/dist/components/layout/shell/shell.template.d.ts.map +1 -0
- package/dist/components/layout/shell/shell.template.js +9 -0
- package/dist/components/layout/shell/shell.template.js.map +1 -0
- package/dist/components/layout/spacer/spacer.styles.js +76 -76
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +5 -5
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +5 -5
- 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.js +12 -12
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +2 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +4 -4
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +6 -6
- package/dist/components/layout/window/window.d.ts +1 -1
- package/dist/components/layout/window/window.js +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +3 -1
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.js +8 -8
- package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/cell/cell.styles.js +9 -9
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js +8 -8
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/description-cell/description-cell.styles.js +10 -10
- package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +14 -14
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.styles.js +20 -20
- package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.d.ts → step-cell/step-cell.d.ts} +18 -17
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.js → step-cell/step-cell.js} +33 -32
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js.map +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js +184 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.styles.js.map +1 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.d.ts +4 -0
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-tables/cells/{timeline-track-cell/timeline-track-cell.template.js → step-cell/step-cell.template.js} +10 -10
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.template.js.map +1 -0
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +9 -9
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.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 +39 -37
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +8 -8
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.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 +39 -37
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +7 -7
- 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 +49 -48
- package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +16 -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.js +29 -16
- 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 +69 -67
- package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +4 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +8 -2
- 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.js +30 -30
- 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 +1 -1
- 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.js +2 -2
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +21 -21
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +3 -3
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +12 -12
- package/dist/components/navigation/document-tab-bar/document-tab-bar.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 +51 -49
- package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +5 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +13 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.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 +35 -19
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +11 -10
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +29 -29
- package/dist/components/navigation/skip-link/skip-link.styles.js +8 -8
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +53 -53
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +3 -3
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/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 +35 -32
- 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.js +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.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 +3 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/{shadow-resets-aG-rgyNQ.js → shadow-resets-CPa58rmc.js} +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +46 -46
- package/dist/components/status-and-feedback/badge/badge.js +2 -2
- 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 +120 -119
- package/dist/components/status-and-feedback/badge/badge.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +49 -49
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +19 -19
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +12 -12
- 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.js +58 -58
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +6 -6
- package/dist/components/status-and-feedback/notification/notification.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.styles.js +45 -39
- package/dist/components/status-and-feedback/notification/notification.styles.js.map +1 -1
- package/dist/components/status-and-feedback/notification/notifications-area.js +2 -2
- package/dist/components/status-and-feedback/notification/notifications-area.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 +121 -119
- 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.js +58 -58
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +10 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +21 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +36 -36
- package/dist/components/status-and-feedback/{step-indicator/step-indicator.d.ts → step-bar/step-bar.d.ts} +32 -32
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts +9 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js +8 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.i18n.js.map +1 -0
- package/dist/components/status-and-feedback/{step-indicator/step-indicator.js → step-bar/step-bar.js} +46 -46
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts +3 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +294 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts +5 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.d.ts.map +1 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js +69 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.template.js.map +1 -0
- package/dist/css/document-reset.css +3 -3
- package/dist/css/rich-text.css +71 -122
- package/dist/css/variables.css +54 -410
- package/dist/nldd.min.js +4607 -4331
- package/dist/translations/en-US.js +5 -5
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.js +5 -5
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +5 -5
- package/dist/translations/nl.generated.js +2 -2
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.js +5 -5
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.js +5 -5
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/vue.d.ts +125 -82
- package/dist/utilities/codemirror/theme.js +17 -17
- package/dist/utilities/codemirror/theme.js.map +1 -1
- package/dist/utilities/page-section-mixin.d.ts +5 -0
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +13 -4
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/scroll-mode-controller.d.ts +29 -13
- package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
- package/dist/utilities/scroll-mode-controller.js +48 -13
- package/dist/utilities/scroll-mode-controller.js.map +1 -1
- package/dist/utilities/spacing-scale.d.ts +1 -1
- package/dist/utilities/spacing-scale.js +1 -1
- package/package.json +13 -11
- package/dist/components/layout/app-view/app-view.d.ts.map +0 -1
- package/dist/components/layout/app-view/app-view.js.map +0 -1
- package/dist/components/layout/app-view/app-view.styles.d.ts +0 -2
- package/dist/components/layout/app-view/app-view.styles.d.ts.map +0 -1
- package/dist/components/layout/app-view/app-view.styles.js.map +0 -1
- package/dist/components/layout/app-view/app-view.template.d.ts +0 -4
- package/dist/components/layout/app-view/app-view.template.d.ts.map +0 -1
- package/dist/components/layout/app-view/app-view.template.js +0 -9
- package/dist/components/layout/app-view/app-view.template.js.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts +0 -2
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js +0 -184
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.styles.js.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts +0 -4
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +0 -1
- package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js.map +0 -1
- package/dist/components/palettes.html +0 -245
- package/dist/components/sample-images/butterfly-1200.jpg +0 -0
- package/dist/components/sample-images/butterfly-1600.jpg +0 -0
- package/dist/components/sample-images/butterfly-480.jpg +0 -0
- package/dist/components/sample-images/butterfly-960.jpg +0 -0
- package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts +0 -9
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js +0 -8
- package/dist/components/status-and-feedback/step-indicator/step-indicator.i18n.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts +0 -3
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js +0 -294
- package/dist/components/status-and-feedback/step-indicator/step-indicator.styles.js.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts +0 -5
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.d.ts.map +0 -1
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +0 -69
- package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js.map +0 -1
- package/dist/palettes.html +0 -245
- package/dist/sample-images/butterfly-1200.jpg +0 -0
- package/dist/sample-images/butterfly-1600.jpg +0 -0
- package/dist/sample-images/butterfly-480.jpg +0 -0
- package/dist/sample-images/butterfly-960.jpg +0 -0
|
@@ -8,21 +8,21 @@ export const pageStyles = css `
|
|
|
8
8
|
/* # Host */
|
|
9
9
|
|
|
10
10
|
:host {
|
|
11
|
-
--
|
|
11
|
+
--_page-background-color: var(--context-parent-background-color, var(--semantics-surfaces-base-background-color));
|
|
12
12
|
/* The insets this page arrived with, parked before it adds its own:
|
|
13
13
|
republishing --context-inset-top on the element it reads from would be
|
|
14
14
|
a cycle. */
|
|
15
|
-
--
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
15
|
+
--_page-outer-inset-top: var(--context-inset-top, 0px);
|
|
16
|
+
--_page-outer-inset-bottom: var(--context-inset-bottom, 0px);
|
|
17
|
+
--_page-header-height: 0px;
|
|
18
|
+
--_page-footer-height: 0px;
|
|
19
|
+
--_page-header-full-height: 0px;
|
|
20
20
|
/* Set from JS while the page owns the scroller. initial, not a length, so
|
|
21
21
|
the fallback stands when the document scrolls instead. */
|
|
22
|
-
--
|
|
22
|
+
--_page-scroll-height: initial;
|
|
23
23
|
|
|
24
24
|
display: flex;
|
|
25
|
-
background-color: var(--
|
|
25
|
+
background-color: var(--_page-background-color);
|
|
26
26
|
width: 100%;
|
|
27
27
|
height: 100%;
|
|
28
28
|
overflow-y: auto;
|
|
@@ -40,12 +40,12 @@ export const pageStyles = css `
|
|
|
40
40
|
|
|
41
41
|
:host([background="base"]) {
|
|
42
42
|
--context-parent-background-color: var(--semantics-surfaces-base-background-color);
|
|
43
|
-
--
|
|
43
|
+
--_page-background-color: var(--context-parent-background-color);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
:host([background="tinted"]) {
|
|
47
47
|
--context-parent-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
48
|
-
--
|
|
48
|
+
--_page-background-color: var(--context-parent-background-color);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/* Overflow hidden prevents content from escaping the scroll wrapper.
|
|
@@ -56,7 +56,7 @@ export const pageStyles = css `
|
|
|
56
56
|
overflow: hidden;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
/* Root-scroll mode: the DOCUMENT scrolls (see nldd-
|
|
59
|
+
/* Root-scroll mode: the DOCUMENT scrolls (see nldd-shell), not the page.
|
|
60
60
|
The page stops owning an inner scroll container and its sticky-header/footer
|
|
61
61
|
stick against the document, offset by the insets above and below
|
|
62
62
|
(--context-inset-top/bottom, published by any bars outside the page). The mode is derived upstream and
|
|
@@ -112,7 +112,7 @@ export const pageStyles = css `
|
|
|
112
112
|
left: 0;
|
|
113
113
|
right: 0;
|
|
114
114
|
z-index: 1;
|
|
115
|
-
background-color: color-mix(in srgb, var(--
|
|
115
|
+
background-color: color-mix(in srgb, var(--_page-background-color) 95%, transparent);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
:host([sticky-header]) .page__header::after {
|
|
@@ -128,7 +128,7 @@ export const pageStyles = css `
|
|
|
128
128
|
left: 0;
|
|
129
129
|
right: 0;
|
|
130
130
|
opacity: 0;
|
|
131
|
-
background: linear-gradient(to bottom, color-mix(in srgb, var(--
|
|
131
|
+
background: linear-gradient(to bottom, color-mix(in srgb, var(--_page-background-color) 95%, transparent), transparent);
|
|
132
132
|
pointer-events: none;
|
|
133
133
|
height: var(--primitives-space-24);
|
|
134
134
|
transition: opacity var(--primitives-transition-duration-medium) var(--primitives-transition-easing-default);
|
|
@@ -153,11 +153,11 @@ export const pageStyles = css `
|
|
|
153
153
|
inside clears them without knowing a number. The header sits outside this
|
|
154
154
|
element and keeps the value without itself in it. */
|
|
155
155
|
.page__scroll {
|
|
156
|
-
--context-inset-top: calc(var(--
|
|
157
|
-
--context-inset-bottom: calc(var(--
|
|
156
|
+
--context-inset-top: calc(var(--_page-outer-inset-top) + var(--_page-header-height));
|
|
157
|
+
--context-inset-bottom: calc(var(--_page-outer-inset-bottom) + var(--_page-footer-height));
|
|
158
158
|
/* The height sticky content can cap itself on. Unset while the document
|
|
159
159
|
scrolls, where the viewport is the whole story. */
|
|
160
|
-
--context-scroller-height: var(--
|
|
160
|
+
--context-scroller-height: var(--_page-scroll-height, 100dvh);
|
|
161
161
|
|
|
162
162
|
display: flex;
|
|
163
163
|
min-height: 0;
|
|
@@ -168,9 +168,9 @@ export const pageStyles = css `
|
|
|
168
168
|
/* Nested scrolling: a sticky child is measured against this element, so the
|
|
169
169
|
bars above the page fall outside it and only its own header counts. */
|
|
170
170
|
:host(:not([data-scroll="root"])) .page__scroll {
|
|
171
|
-
--context-inset-top: var(--
|
|
172
|
-
--context-inset-bottom: var(--
|
|
173
|
-
padding-top: var(--
|
|
171
|
+
--context-inset-top: var(--_page-header-height);
|
|
172
|
+
--context-inset-bottom: var(--_page-footer-height);
|
|
173
|
+
padding-top: var(--_page-header-full-height);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
:host([sticky-header]) .page__scroll {
|
|
@@ -200,7 +200,7 @@ export const pageStyles = css `
|
|
|
200
200
|
position: sticky;
|
|
201
201
|
bottom: 0;
|
|
202
202
|
z-index: 1;
|
|
203
|
-
background-color: color-mix(in srgb, var(--
|
|
203
|
+
background-color: color-mix(in srgb, var(--_page-background-color) 95%, transparent);
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
:host([sticky-footer]) .page__footer::before {
|
|
@@ -209,7 +209,7 @@ export const pageStyles = css `
|
|
|
209
209
|
bottom: 100%;
|
|
210
210
|
left: 0;
|
|
211
211
|
right: 0;
|
|
212
|
-
background: linear-gradient(to top, color-mix(in srgb, var(--
|
|
212
|
+
background: linear-gradient(to top, color-mix(in srgb, var(--_page-background-color) 95%, transparent), transparent);
|
|
213
213
|
pointer-events: none;
|
|
214
214
|
height: var(--primitives-space-24);
|
|
215
215
|
}
|
|
@@ -192,18 +192,18 @@ let NLDDPageFooter = class NLDDPageFooter extends LitElement {
|
|
|
192
192
|
(this._hasMain ? 1 : 0) +
|
|
193
193
|
(this._hasLegalBar ? 1 : 0);
|
|
194
194
|
// One visible row → centered single-slot padding; zero rows → the gray
|
|
195
|
-
// band drops and only the
|
|
195
|
+
// band drops and only the ribbon shows (see :host([empty]) in the styles).
|
|
196
196
|
this.toggleAttribute('single-slot', visibleCount === 1);
|
|
197
197
|
this.toggleAttribute('empty', visibleCount === 0);
|
|
198
198
|
if (changed.has('width')) {
|
|
199
199
|
// A CSS length feeds the body max-width; 'full' is handled by CSS
|
|
200
|
-
// (:host([width="full"]) sets --
|
|
200
|
+
// (:host([width="full"]) sets --_page-footer-max-width: none); default clears it.
|
|
201
201
|
const w = this.width;
|
|
202
202
|
if (w && w !== 'full' && CSS.supports('max-width', w)) {
|
|
203
|
-
this.style.setProperty('--
|
|
203
|
+
this.style.setProperty('--_page-footer-max-width', w);
|
|
204
204
|
}
|
|
205
205
|
else {
|
|
206
|
-
this.style.removeProperty('--
|
|
206
|
+
this.style.removeProperty('--_page-footer-max-width');
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-footer.js","sourceRoot":"","sources":["../../../../src/components/layout/page-footer/page-footer.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EACN,gBAAgB,EAChB,wBAAwB,EACxB,4BAA4B,GAC5B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACN,kBAAkB,EAClB,0BAA0B,EAC1B,8BAA8B,GAC9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,0BAA0B,EAAmC,MAAM,uBAAuB,CAAC;AACpG,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAG/D,oCAAoC;AAEpC;;;;;;;;;;;GAWG;AACH,MAAM,OAAO,0BAA2B,SAAQ,UAAU;IAA1D;;QAIC,SAAI,GAAG,EAAE,CAAC;IAQX,CAAC;IAHS,MAAM;QACd,OAAO,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;;AAVe,iCAAM,GAAG,4BAA4B,AAA/B,CAAgC;AAGtD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;wDAC5D;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wDAC5B;AAOf,0EAA0E;AAC1E,wEAAwE;AACxE,6EAA6E;AAC7E,yEAAyE;AACzE,wDAAwD;AACxD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,iCAAiC,CAAC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C,CAAC,CAAC,CAAC;QAC7B,uEAAuE;QACvE,2EAA2E;QAC3E,IAAI,CAAC,eAAe,CAAC,aAAa,EAAE,YAAY,KAAK,CAAC,CAAC,CAAC;QACxD,IAAI,CAAC,eAAe,CAAC,OAAO,EAAE,YAAY,KAAK,CAAC,CAAC,CAAC;QAElD,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YAC1B,kEAAkE;YAClE,kFAAkF;YAClF,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACrB,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,0BAA0B,EAAE,CAAC,CAAC,CAAC;YACvD,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,0BAA0B,CAAC,CAAC;YACvD,CAAC;QACF,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;;AAzFe,qBAAM,GAAG,gBAAgB,AAAnB,CAAoB;AAK1C;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;6CAC3D;AAGX;IADC,KAAK,EAAE;uDACgB;AAGxB;IADC,KAAK,EAAE;gDACS;AAGjB;IADC,KAAK,EAAE;oDACa;AAfT,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CA2F1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-footer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/page-footer/page-footer.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"page-footer.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/page-footer/page-footer.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,yBAiJ5B,CAAC;AAEF,eAAO,MAAM,wBAAwB,yBA2CpC,CAAC;AAEF,eAAO,MAAM,4BAA4B,yBA6BxC,CAAC"}
|
|
@@ -10,17 +10,15 @@ export const pageFooterStyles = css `
|
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
}
|
|
12
12
|
:host {
|
|
13
|
-
--
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
--_lintje-color: #154273;
|
|
19
|
-
--context-parent-background-color: var(--components-page-footer-background-color);
|
|
13
|
+
--_page-footer-max-width: var(--semantics-page-sections-body-max-width);
|
|
14
|
+
--_page-footer-ribbon-color: var(--semantics-brand-ribbon-color);
|
|
15
|
+
--_page-footer-background-color: light-dark(var(--primitives-color-neutral-75), var(--primitives-color-neutral-50));
|
|
16
|
+
--_page-footer-divider-color: light-dark(var(--primitives-color-neutral-200), var(--primitives-color-neutral-150));
|
|
17
|
+
--context-parent-background-color: var(--_page-footer-background-color);
|
|
20
18
|
|
|
21
19
|
container-type: inline-size;
|
|
22
20
|
display: block;
|
|
23
|
-
background-color: var(--
|
|
21
|
+
background-color: var(--_page-footer-background-color);
|
|
24
22
|
width: 100%;
|
|
25
23
|
}
|
|
26
24
|
|
|
@@ -33,11 +31,11 @@ export const pageFooterStyles = css `
|
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
:host([width="full"]) {
|
|
36
|
-
--
|
|
34
|
+
--_page-footer-max-width: none;
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
.page-footer {
|
|
40
|
-
--
|
|
38
|
+
--_page-footer-ribbon-height: calc(var(--_page-footer-ribbon-width) / 2);
|
|
41
39
|
|
|
42
40
|
box-sizing: border-box;
|
|
43
41
|
display: flex;
|
|
@@ -48,27 +46,27 @@ export const pageFooterStyles = css `
|
|
|
48
46
|
|
|
49
47
|
@container (max-width: ${smMax}) {
|
|
50
48
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
51
|
-
--
|
|
49
|
+
--_page-footer-ribbon-width: var(--semantics-brand-ribbon-sm-width);
|
|
52
50
|
}
|
|
53
51
|
|
|
54
52
|
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
55
53
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
56
|
-
--
|
|
54
|
+
--_page-footer-ribbon-width: var(--semantics-brand-ribbon-md-width);
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
@container (min-width: ${lgMin}) {
|
|
60
58
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
61
|
-
--
|
|
59
|
+
--_page-footer-ribbon-width: var(--semantics-brand-ribbon-lg-width);
|
|
62
60
|
}
|
|
63
61
|
}
|
|
64
62
|
|
|
65
|
-
/* Empty footer = only the
|
|
63
|
+
/* Empty footer = only the ribbon. Add top space equal to the ribbon height
|
|
66
64
|
(container-type on :host makes a BFC, so this margin stays inside the
|
|
67
65
|
transparent host) so a preceding tinted page section doesn't butt right up
|
|
68
|
-
against the
|
|
66
|
+
against the ribbon. */
|
|
69
67
|
:host([empty]) .page-footer {
|
|
70
|
-
min-height: var(--
|
|
71
|
-
margin-top: var(--
|
|
68
|
+
min-height: var(--_page-footer-ribbon-height);
|
|
69
|
+
margin-top: var(--_page-footer-ribbon-height);
|
|
72
70
|
}
|
|
73
71
|
|
|
74
72
|
.page-footer::after {
|
|
@@ -76,9 +74,9 @@ export const pageFooterStyles = css `
|
|
|
76
74
|
position: absolute;
|
|
77
75
|
bottom: 0;
|
|
78
76
|
left: 50%;
|
|
79
|
-
background-color: var(--
|
|
80
|
-
width: var(--
|
|
81
|
-
height: var(--
|
|
77
|
+
background-color: var(--_page-footer-ribbon-color);
|
|
78
|
+
width: var(--_page-footer-ribbon-width);
|
|
79
|
+
height: var(--_page-footer-ribbon-height);
|
|
82
80
|
transform: translateX(-50%);
|
|
83
81
|
}
|
|
84
82
|
|
|
@@ -91,7 +89,7 @@ export const pageFooterStyles = css `
|
|
|
91
89
|
.page-footer__body {
|
|
92
90
|
display: flex;
|
|
93
91
|
width: 100%;
|
|
94
|
-
max-width: var(--
|
|
92
|
+
max-width: var(--_page-footer-max-width);
|
|
95
93
|
flex-direction: column;
|
|
96
94
|
}
|
|
97
95
|
|
|
@@ -125,11 +123,11 @@ export const pageFooterStyles = css `
|
|
|
125
123
|
}
|
|
126
124
|
|
|
127
125
|
.page-footer__body > div:not([hidden]):not(:has(~ div:not([hidden]))) {
|
|
128
|
-
padding-bottom: calc(var(--primitives-space-16) + var(--
|
|
126
|
+
padding-bottom: calc(var(--primitives-space-16) + var(--_page-footer-ribbon-height));
|
|
129
127
|
}
|
|
130
128
|
|
|
131
129
|
:host([single-slot]) .page-footer__body > div:not([hidden]) {
|
|
132
|
-
padding-top: calc(var(--primitives-space-16) + var(--
|
|
130
|
+
padding-top: calc(var(--primitives-space-16) + var(--_page-footer-ribbon-height));
|
|
133
131
|
}
|
|
134
132
|
|
|
135
133
|
.page-footer__breadcrumbs[hidden],
|
|
@@ -142,7 +140,7 @@ export const pageFooterStyles = css `
|
|
|
142
140
|
.page-footer__divider {
|
|
143
141
|
margin: 0;
|
|
144
142
|
border: none;
|
|
145
|
-
background-color: var(--
|
|
143
|
+
background-color: var(--_page-footer-divider-color);
|
|
146
144
|
width: 100%;
|
|
147
145
|
height: var(--semantics-dividers-thickness);
|
|
148
146
|
}
|
|
@@ -199,6 +197,8 @@ export const pageFooterLegalBarStyles = css `
|
|
|
199
197
|
`;
|
|
200
198
|
export const pageFooterLegalBarItemStyles = css `
|
|
201
199
|
:host {
|
|
200
|
+
--_page-footer-legal-bar-item-color: var(--semantics-content-secondary-color);
|
|
201
|
+
|
|
202
202
|
${inheritedTextReset}
|
|
203
203
|
display: inline-flex;
|
|
204
204
|
}
|
|
@@ -209,12 +209,12 @@ export const pageFooterLegalBarItemStyles = css `
|
|
|
209
209
|
|
|
210
210
|
.page-footer__legal-bar-item {
|
|
211
211
|
display: inline-flex;
|
|
212
|
-
color: var(--
|
|
212
|
+
color: var(--_page-footer-legal-bar-item-color);
|
|
213
213
|
font: var(--primitives-font-body-sm-regular-tight);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
.page-footer__legal-bar-item-link {
|
|
217
|
-
color: var(--
|
|
217
|
+
color: var(--_page-footer-legal-bar-item-color);
|
|
218
218
|
text-decoration: underline;
|
|
219
219
|
}
|
|
220
220
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-footer.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/page-footer/page-footer.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,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,gBAAgB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"page-footer.styles.js","sourceRoot":"","sources":["../../../../src/components/layout/page-footer/page-footer.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,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,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAuCR,KAAK;;;;;2BAKL,KAAK,qBAAqB,KAAK;;;;;2BAK/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyCL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;2BAML,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC/B,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2C1C,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAA;;;;IAI3C,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;CAyBrB,CAAC"}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'/'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
|
+
* @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
14
|
* @attr {string} [padding-block] - Block (top and bottom) padding override (token 0-96; '0' strips it).
|
|
14
15
|
* @attr {string} [padding-top] - Top padding override.
|
|
15
16
|
* @attr {string} [padding-bottom] - Bottom padding override.
|
|
@@ -35,6 +36,7 @@ declare const NLDDFullBleedSection_base: typeof LitElement & (new (...args: any[
|
|
|
35
36
|
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
36
37
|
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
37
38
|
height?: string;
|
|
39
|
+
grow: boolean;
|
|
38
40
|
_onSlotChange(e: Event): void;
|
|
39
41
|
});
|
|
40
42
|
export declare class NLDDFullBleedSection extends NLDDFullBleedSection_base {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"full-bleed-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;AAOjC,qBACa,oBAAqB,SAAQ,yBAA4B;IACrE,OAAgB,MAAM,0BAA0B;IAEhD,qEAAqE;IAErE,KAAK,SAAM;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAetD,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,yBAAyB,EAAE,oBAAoB,CAAC;KAChD;CACD"}
|
|
@@ -16,6 +16,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
16
16
|
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'/'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
|
+
* @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.
|
|
19
20
|
* @attr {string} [padding-block] - Block (top and bottom) padding override (token 0-96; '0' strips it).
|
|
20
21
|
* @attr {string} [padding-top] - Top padding override.
|
|
21
22
|
* @attr {string} [padding-bottom] - Bottom padding override.
|
|
@@ -27,6 +28,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
27
28
|
*/
|
|
28
29
|
import { LitElement } from 'lit';
|
|
29
30
|
import { customElement, property } from 'lit/decorators.js';
|
|
31
|
+
import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
|
|
30
32
|
import { PageSectionMixin } from '../../../../utilities/page-section-mixin.js';
|
|
31
33
|
import { fullBleedSectionStyles } from './full-bleed-section.styles.js';
|
|
32
34
|
import { fullBleedSectionTemplate } from './full-bleed-section.template.js';
|
|
@@ -42,12 +44,12 @@ let NLDDFullBleedSection = class NLDDFullBleedSection extends PageSectionMixin(L
|
|
|
42
44
|
const w = this.width;
|
|
43
45
|
// Sections constrain the body's max-width rather than the host's
|
|
44
46
|
// outer width. The keyword 'full' is handled by CSS (sets
|
|
45
|
-
// --
|
|
47
|
+
// --_full-bleed-section-max-width: none); CSS lengths feed --_full-bleed-section-max-width here.
|
|
46
48
|
if (w && w !== 'full' && CSS.supports('max-width', w)) {
|
|
47
|
-
this.style.setProperty('--
|
|
49
|
+
this.style.setProperty('--_full-bleed-section-max-width', w);
|
|
48
50
|
}
|
|
49
51
|
else {
|
|
50
|
-
this.style.removeProperty('--
|
|
52
|
+
this.style.removeProperty('--_full-bleed-section-max-width');
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
}
|
|
@@ -57,7 +59,7 @@ let NLDDFullBleedSection = class NLDDFullBleedSection extends PageSectionMixin(L
|
|
|
57
59
|
};
|
|
58
60
|
NLDDFullBleedSection.styles = fullBleedSectionStyles;
|
|
59
61
|
__decorate([
|
|
60
|
-
property({
|
|
62
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
61
63
|
], NLDDFullBleedSection.prototype, "width", void 0);
|
|
62
64
|
NLDDFullBleedSection = __decorate([
|
|
63
65
|
customElement('nldd-full-bleed-section')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"full-bleed-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAGrE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAA/D;;QAGN,qEAAqE;QAErE,UAAK,GAAG,EAAE,CAAC;IAoBZ,CAAC;IAlBS,OAAO,CAAC,iBAAuC;QACvD,KAAK,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QACjC,IAAI,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACrB,iEAAiE;YACjE,0DAA0D;YAC1D,iGAAiG;YACjG,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC;YAC9D,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,iCAAiC,CAAC,CAAC;YAC9D,CAAC;QACF,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvC,CAAC;;AAvBe,2BAAM,GAAG,sBAAsB,AAAzB,CAA0B;AAIhD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;mDAC3D;AALC,oBAAoB;IADhC,aAAa,CAAC,yBAAyB,CAAC;GAC5B,oBAAoB,CAyBhC"}
|
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"full-bleed-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,sBAAsB,yBAyGlC,CAAC"}
|
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js
CHANGED
|
@@ -16,15 +16,15 @@ export const fullBleedSectionStyles = css `
|
|
|
16
16
|
container-type: inline-size;
|
|
17
17
|
/* Block-padding overrides from PageSectionMixin; 'initial' lets the
|
|
18
18
|
block fall back to the responsive default until the mixin sets one. */
|
|
19
|
-
--
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
19
|
+
--_full-bleed-section-padding-top: initial;
|
|
20
|
+
--_full-bleed-section-padding-bottom: initial;
|
|
21
|
+
--_full-bleed-section-sm-padding-top: initial;
|
|
22
|
+
--_full-bleed-section-sm-padding-bottom: initial;
|
|
23
|
+
--_full-bleed-section-md-padding-top: initial;
|
|
24
|
+
--_full-bleed-section-md-padding-bottom: initial;
|
|
25
|
+
--_full-bleed-section-lg-padding-top: initial;
|
|
26
|
+
--_full-bleed-section-lg-padding-bottom: initial;
|
|
27
|
+
--_full-bleed-section-max-width: var(--semantics-page-sections-body-max-width);
|
|
28
28
|
|
|
29
29
|
display: flex;
|
|
30
30
|
width: 100%;
|
|
@@ -36,8 +36,13 @@ export const fullBleedSectionStyles = css `
|
|
|
36
36
|
display: none;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
:host([data-growing]),
|
|
40
|
+
:host([grow]) {
|
|
41
|
+
flex-grow: 1;
|
|
42
|
+
}
|
|
43
|
+
|
|
39
44
|
:host([width="full"]) {
|
|
40
|
-
--
|
|
45
|
+
--_full-bleed-section-max-width: none;
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
|
|
@@ -53,18 +58,18 @@ export const fullBleedSectionStyles = css `
|
|
|
53
58
|
|
|
54
59
|
|
|
55
60
|
@container (max-width: ${smMax}) {
|
|
56
|
-
padding-top: var(--
|
|
57
|
-
padding-bottom: var(--
|
|
61
|
+
padding-top: var(--_full-bleed-section-sm-padding-top, var(--_full-bleed-section-padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
62
|
+
padding-bottom: var(--_full-bleed-section-sm-padding-bottom, var(--_full-bleed-section-padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
58
63
|
}
|
|
59
64
|
|
|
60
65
|
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
61
|
-
padding-top: var(--
|
|
62
|
-
padding-bottom: var(--
|
|
66
|
+
padding-top: var(--_full-bleed-section-md-padding-top, var(--_full-bleed-section-padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
67
|
+
padding-bottom: var(--_full-bleed-section-md-padding-bottom, var(--_full-bleed-section-padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
63
68
|
}
|
|
64
69
|
|
|
65
70
|
@container (min-width: ${lgMin}) {
|
|
66
|
-
padding-top: var(--
|
|
67
|
-
padding-bottom: var(--
|
|
71
|
+
padding-top: var(--_full-bleed-section-lg-padding-top, var(--_full-bleed-section-padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
72
|
+
padding-bottom: var(--_full-bleed-section-lg-padding-bottom, var(--_full-bleed-section-padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
75
|
|
|
@@ -74,7 +79,7 @@ export const fullBleedSectionStyles = css `
|
|
|
74
79
|
.full-bleed-section__body {
|
|
75
80
|
display: flex;
|
|
76
81
|
width: 100%;
|
|
77
|
-
max-width: var(--
|
|
82
|
+
max-width: var(--_full-bleed-section-max-width);
|
|
78
83
|
flex-direction: column;
|
|
79
84
|
flex-grow: 1;
|
|
80
85
|
|
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-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,sBAAsB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"full-bleed-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-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,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAqDd,KAAK;;;;;2BAKL,KAAK,qBAAqB,KAAK;;;;;2BAK/B,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;CAkB/B,CAAC"}
|
|
@@ -1,15 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Nederlandse Digitale Dienst Hero Component (Lit + TypeScript)
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* The section that says what a page is for: it names the main goal of what
|
|
5
|
+
* you can find there, draws the eye and is the visual welcome. It has a media
|
|
6
|
+
* area and a text panel (the main) that can stand in eight positions. Every
|
|
7
|
+
* area is rectangular. Use it on pages where a visitor first has to know where
|
|
8
|
+
* they are, such as a home or a topic page; where the title already does
|
|
9
|
+
* that, a section with a title is enough.
|
|
6
10
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
11
|
+
* The image in a hero sets the mood and is never the main content, so the
|
|
12
|
+
* panel always stands on it. Over an image the panel keeps a section gap from
|
|
13
|
+
* its edges, so it reads as a panel on the image rather than a frame cut out of
|
|
14
|
+
* it; with `main-width="full"` it is a strip across the whole image, the same
|
|
15
|
+
* gap from the sides. On mobile the image comes first and the panel below it,
|
|
16
|
+
* indented by the section gap and overlapping the image by 48px. For an
|
|
17
|
+
* image beside text without that relation, use a section with an image beside
|
|
18
|
+
* text instead. Without media the main fills the whole area; with
|
|
10
19
|
* `main-background="base"` that area gets a border so it stays visible on the
|
|
11
20
|
* base surface.
|
|
12
21
|
*
|
|
22
|
+
* The hero is the head of a page and sits right under the top bar, so its top
|
|
23
|
+
* padding is half that of the other page sections: the full distance is meant
|
|
24
|
+
* to separate two sections, and under the top bar it reads as a gap. The
|
|
25
|
+
* bottom keeps the full distance to the section below. Set `padding-top` to
|
|
26
|
+
* place a hero elsewhere.
|
|
27
|
+
*
|
|
28
|
+
* By default the panel falls over the bottom of the image and runs on below it
|
|
29
|
+
* (`layout="overlap"`), so the image keeps its height whatever the content.
|
|
30
|
+
* `layout="contained"` keeps the panel on the image, for a short panel or one
|
|
31
|
+
* that stands at the top or along a side.
|
|
32
|
+
*
|
|
33
|
+
* The height of a hero comes from its image: `media-aspect-ratio`, or a fixed
|
|
34
|
+
* `media-height`. The `height` of the other page sections is not used here: as
|
|
35
|
+
* a minimum height for the whole hero it stretched the panel once that sat
|
|
36
|
+
* below the image. A hero given `height` says so in development.
|
|
37
|
+
*
|
|
13
38
|
* `main-background` gives the panel a surface color from the filled categories.
|
|
14
39
|
* Those carry a pure white or black content color along, so components with
|
|
15
40
|
* `color="inherit"` (title, rich-text) are guaranteed to keep their contrast.
|
|
@@ -18,17 +43,19 @@
|
|
|
18
43
|
*
|
|
19
44
|
* @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
|
|
20
45
|
* @attr {string} width - Body max-width; 'full' removes the bound (section API)
|
|
21
|
-
* @attr {
|
|
46
|
+
* @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.
|
|
22
47
|
* @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
|
|
48
|
+
* @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
|
|
23
49
|
* @attr {string} main-background - Surface color of the panel: 'base' (the base surface)
|
|
24
50
|
* or a category color — 'accent' (default) or a Rijkshuisstijl color such as
|
|
25
51
|
* 'lintblauw'|'donkerblauw'|'oranje'
|
|
26
|
-
* @attr {
|
|
27
|
-
*
|
|
28
|
-
* @attr {'top-left'|'top-right'|'bottom-left'|'bottom-right'|'left'|'right'} main-position -
|
|
52
|
+
* @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'
|
|
53
|
+
* @attr {'top-left'|'top-center'|'top-right'|'bottom-left'|'bottom-center'|'bottom-right'|'left'|'right'} main-position -
|
|
29
54
|
* Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height
|
|
55
|
+
* @attr {string} overlap-size - With layout="overlap": how far the panel falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a panel shorter than this ends inside the image
|
|
30
56
|
* @attr {string} media-aspect-ratio - Aspect ratio of the media area (CSS form, '16/9' or '16:9');
|
|
31
57
|
* default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area
|
|
58
|
+
* @attr {string} media-height - Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio
|
|
32
59
|
* @attr {string} media-src - Source of the media area (an alternative to the media slot);
|
|
33
60
|
* ignored as soon as the media slot is filled
|
|
34
61
|
* @attr {string} media-srcset - Responsive source set for media-src
|
|
@@ -41,8 +68,9 @@
|
|
|
41
68
|
* @slot - Content of the text panel (nldd-title and nldd-rich-text with color="inherit", for instance)
|
|
42
69
|
*/
|
|
43
70
|
import { LitElement, type PropertyValues } from 'lit';
|
|
44
|
-
export type HeroMainPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left' | 'right';
|
|
45
|
-
export type HeroMainWidth = '
|
|
71
|
+
export type HeroMainPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'left' | 'right';
|
|
72
|
+
export type HeroMainWidth = 'auto' | 'full' | (string & {});
|
|
73
|
+
export type HeroLayout = 'contained' | 'overlap';
|
|
46
74
|
export type HeroMainBackground = 'base' | 'accent' | 'lintblauw' | 'donkerblauw' | 'hemelblauw' | 'lichtblauw' | 'paars' | 'violet' | 'robijnrood' | 'roze' | 'rood' | 'oranje' | 'donkergeel' | 'geel' | 'donkerbruin' | 'bruin' | 'donkergroen' | 'groen' | 'mosgroen' | 'mintgroen';
|
|
47
75
|
declare const NLDDHero_base: typeof LitElement & (new (...args: any[]) => LitElement & {
|
|
48
76
|
background: import("../../../../utilities/page-section-mixin.js").PageSectionBackground;
|
|
@@ -59,18 +87,22 @@ declare const NLDDHero_base: typeof LitElement & (new (...args: any[]) => LitEle
|
|
|
59
87
|
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
60
88
|
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
61
89
|
height?: string;
|
|
90
|
+
grow: boolean;
|
|
62
91
|
_onSlotChange(e: Event): void;
|
|
63
92
|
});
|
|
64
93
|
export declare class NLDDHero extends NLDDHero_base {
|
|
65
94
|
static styles: import("lit").CSSResult;
|
|
66
95
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
67
96
|
width: string;
|
|
97
|
+
layout: HeroLayout;
|
|
68
98
|
mainBackground: HeroMainBackground;
|
|
69
99
|
mainWidth: HeroMainWidth;
|
|
70
100
|
mainPosition: HeroMainPosition;
|
|
71
101
|
/** Media aspect-ratio in CSS form ('16/9' or '16:9'); default '21/9'. Drives
|
|
72
102
|
* the hero height on md/lg and the media strip height on sm. */
|
|
73
103
|
mediaAspectRatio: string;
|
|
104
|
+
overlapSize: string;
|
|
105
|
+
mediaHeight: string;
|
|
74
106
|
/** Hybrid media source: media-src renders an internal <img>, but a slotted
|
|
75
107
|
* media element wins (mirrors nldd-image / nldd-identity). srcset/sizes/alt
|
|
76
108
|
* feed that internal img. */
|
|
@@ -82,7 +114,21 @@ export declare class NLDDHero extends NLDDHero_base {
|
|
|
82
114
|
/** Media is present when the slot has content or media-src is set. */
|
|
83
115
|
get _hasMedia(): boolean;
|
|
84
116
|
willUpdate(changed: PropertyValues): void;
|
|
117
|
+
connectedCallback(): void;
|
|
118
|
+
disconnectedCallback(): void;
|
|
85
119
|
updated(changed: PropertyValues): void;
|
|
120
|
+
/** DEV-only latch for the `height` warning. */
|
|
121
|
+
private _warnedHeight;
|
|
122
|
+
/** DEV-only: watches an overlap hero for a panel that does not reach below its image. */
|
|
123
|
+
private _overlapObserver;
|
|
124
|
+
private _warnedOverlap;
|
|
125
|
+
private _watchOverlap;
|
|
126
|
+
/**
|
|
127
|
+
* In an overlap hero the panel is meant to run on below the image. When it
|
|
128
|
+
* ends inside it, the content is shorter than `overlap-size`; the consumer
|
|
129
|
+
* decides how far it runs on, so this only says so, in development.
|
|
130
|
+
*/
|
|
131
|
+
private _checkOverlap;
|
|
86
132
|
/** @internal Tracks the media slot so the no-media mode can collapse it. */
|
|
87
133
|
_onMediaSlotChange(e: Event): void;
|
|
88
134
|
render(): import("lit-html").TemplateResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"hero.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAOtD,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,YAAY,GAAG,WAAW,GAAG,aAAa,GAAG,eAAe,GAAG,cAAc,GAAG,MAAM,GAAG,OAAO,CAAC;AAC7I,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAC5D,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;AAajD,MAAM,MAAM,kBAAkB,GAC3B,MAAM,GAAG,QAAQ,GACjB,WAAW,GAAG,aAAa,GAAG,YAAY,GAAG,YAAY,GACzD,OAAO,GAAG,QAAQ,GAClB,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GACzC,YAAY,GAAG,MAAM,GACrB,aAAa,GAAG,OAAO,GACvB,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;AAEtD,qBACa,QAAS,SAAQ,aAA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