@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
|
@@ -18,20 +18,29 @@ export const heroStyles = css `
|
|
|
18
18
|
/* Block-padding overrides from PageSectionMixin; 'initial' makes the
|
|
19
19
|
var() in .hero fall back to the responsive default until the mixin
|
|
20
20
|
sets a value inline on the host. */
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
--
|
|
21
|
+
--_hero-padding-top: initial;
|
|
22
|
+
--_hero-padding-bottom: initial;
|
|
23
|
+
--_hero-sm-padding-top: initial;
|
|
24
|
+
--_hero-sm-padding-bottom: initial;
|
|
25
|
+
--_hero-md-padding-top: initial;
|
|
26
|
+
--_hero-md-padding-bottom: initial;
|
|
27
|
+
--_hero-lg-padding-top: initial;
|
|
28
|
+
--_hero-lg-padding-bottom: initial;
|
|
29
|
+
--_hero-max-width: var(--semantics-page-sections-body-max-width);
|
|
30
|
+
--_hero-media-aspect-ratio: 21 / 9;
|
|
31
|
+
--_hero-media-height: auto;
|
|
32
|
+
--_hero-main-min-width: var(--primitives-area-480);
|
|
33
|
+
--_hero-main-max-width: var(--primitives-area-640);
|
|
34
|
+
--_hero-main-width: auto;
|
|
35
|
+
--_hero-main-background-color: var(--semantics-categories-accent-reference-background-color);
|
|
36
|
+
--_hero-main-content-color: var(--semantics-categories-accent-reference-content-color);
|
|
37
|
+
--_hero-main-padding: var(--primitives-space-16);
|
|
38
|
+
--_hero-main-inset: var(--primitives-space-0);
|
|
39
|
+
--_hero-sm-main-inset: var(--semantics-page-sections-sm-gap);
|
|
40
|
+
--_hero-sm-main-overlap: var(--primitives-space-48);
|
|
41
|
+
--_hero-overlap-size: initial;
|
|
42
|
+
--_hero-default-overlap-size: var(--primitives-space-0);
|
|
43
|
+
--_hero-default-media-height: auto;
|
|
35
44
|
|
|
36
45
|
${inheritedTextReset}
|
|
37
46
|
display: flex;
|
|
@@ -44,120 +53,108 @@ export const heroStyles = css `
|
|
|
44
53
|
display: none;
|
|
45
54
|
}
|
|
46
55
|
|
|
47
|
-
:host(
|
|
48
|
-
:host(
|
|
56
|
+
:host([data-growing]),
|
|
57
|
+
:host([grow]) {
|
|
49
58
|
flex-grow: 1;
|
|
50
59
|
}
|
|
51
60
|
|
|
52
61
|
:host([width="full"]) {
|
|
53
|
-
--
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
:host([main-width="2/3"]) {
|
|
57
|
-
--_main-width: 66.667%;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
:host([main-width="3/4"]) {
|
|
61
|
-
--_main-width: 75%;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
:host([main-width="full"]) {
|
|
65
|
-
--_main-width: 100%;
|
|
62
|
+
--_hero-max-width: none;
|
|
66
63
|
}
|
|
67
64
|
|
|
68
65
|
:host([main-background="base"]) {
|
|
69
|
-
--
|
|
70
|
-
--
|
|
66
|
+
--_hero-main-background-color: var(--semantics-surfaces-base-background-color);
|
|
67
|
+
--_hero-main-content-color: var(--semantics-content-color);
|
|
71
68
|
}
|
|
72
69
|
|
|
73
70
|
:host([main-background="lintblauw"]) {
|
|
74
|
-
--
|
|
75
|
-
--
|
|
71
|
+
--_hero-main-background-color: var(--semantics-categories-lintblauw-reference-background-color);
|
|
72
|
+
--_hero-main-content-color: var(--semantics-categories-lintblauw-reference-content-color);
|
|
76
73
|
}
|
|
77
74
|
|
|
78
75
|
:host([main-background="donkerblauw"]) {
|
|
79
|
-
--
|
|
80
|
-
--
|
|
76
|
+
--_hero-main-background-color: var(--semantics-categories-donkerblauw-reference-background-color);
|
|
77
|
+
--_hero-main-content-color: var(--semantics-categories-donkerblauw-reference-content-color);
|
|
81
78
|
}
|
|
82
79
|
|
|
83
80
|
:host([main-background="hemelblauw"]) {
|
|
84
|
-
--
|
|
85
|
-
--
|
|
81
|
+
--_hero-main-background-color: var(--semantics-categories-hemelblauw-reference-background-color);
|
|
82
|
+
--_hero-main-content-color: var(--semantics-categories-hemelblauw-reference-content-color);
|
|
86
83
|
}
|
|
87
84
|
|
|
88
85
|
:host([main-background="lichtblauw"]) {
|
|
89
|
-
--
|
|
90
|
-
--
|
|
86
|
+
--_hero-main-background-color: var(--semantics-categories-lichtblauw-reference-background-color);
|
|
87
|
+
--_hero-main-content-color: var(--semantics-categories-lichtblauw-reference-content-color);
|
|
91
88
|
}
|
|
92
89
|
|
|
93
90
|
:host([main-background="paars"]) {
|
|
94
|
-
--
|
|
95
|
-
--
|
|
91
|
+
--_hero-main-background-color: var(--semantics-categories-paars-reference-background-color);
|
|
92
|
+
--_hero-main-content-color: var(--semantics-categories-paars-reference-content-color);
|
|
96
93
|
}
|
|
97
94
|
|
|
98
95
|
:host([main-background="violet"]) {
|
|
99
|
-
--
|
|
100
|
-
--
|
|
96
|
+
--_hero-main-background-color: var(--semantics-categories-violet-reference-background-color);
|
|
97
|
+
--_hero-main-content-color: var(--semantics-categories-violet-reference-content-color);
|
|
101
98
|
}
|
|
102
99
|
|
|
103
100
|
:host([main-background="robijnrood"]) {
|
|
104
|
-
--
|
|
105
|
-
--
|
|
101
|
+
--_hero-main-background-color: var(--semantics-categories-robijnrood-reference-background-color);
|
|
102
|
+
--_hero-main-content-color: var(--semantics-categories-robijnrood-reference-content-color);
|
|
106
103
|
}
|
|
107
104
|
|
|
108
105
|
:host([main-background="roze"]) {
|
|
109
|
-
--
|
|
110
|
-
--
|
|
106
|
+
--_hero-main-background-color: var(--semantics-categories-roze-reference-background-color);
|
|
107
|
+
--_hero-main-content-color: var(--semantics-categories-roze-reference-content-color);
|
|
111
108
|
}
|
|
112
109
|
|
|
113
110
|
:host([main-background="rood"]) {
|
|
114
|
-
--
|
|
115
|
-
--
|
|
111
|
+
--_hero-main-background-color: var(--semantics-categories-rood-reference-background-color);
|
|
112
|
+
--_hero-main-content-color: var(--semantics-categories-rood-reference-content-color);
|
|
116
113
|
}
|
|
117
114
|
|
|
118
115
|
:host([main-background="oranje"]) {
|
|
119
|
-
--
|
|
120
|
-
--
|
|
116
|
+
--_hero-main-background-color: var(--semantics-categories-oranje-reference-background-color);
|
|
117
|
+
--_hero-main-content-color: var(--semantics-categories-oranje-reference-content-color);
|
|
121
118
|
}
|
|
122
119
|
|
|
123
120
|
:host([main-background="donkergeel"]) {
|
|
124
|
-
--
|
|
125
|
-
--
|
|
121
|
+
--_hero-main-background-color: var(--semantics-categories-donkergeel-reference-background-color);
|
|
122
|
+
--_hero-main-content-color: var(--semantics-categories-donkergeel-reference-content-color);
|
|
126
123
|
}
|
|
127
124
|
|
|
128
125
|
:host([main-background="geel"]) {
|
|
129
|
-
--
|
|
130
|
-
--
|
|
126
|
+
--_hero-main-background-color: var(--semantics-categories-geel-reference-background-color);
|
|
127
|
+
--_hero-main-content-color: var(--semantics-categories-geel-reference-content-color);
|
|
131
128
|
}
|
|
132
129
|
|
|
133
130
|
:host([main-background="donkerbruin"]) {
|
|
134
|
-
--
|
|
135
|
-
--
|
|
131
|
+
--_hero-main-background-color: var(--semantics-categories-donkerbruin-reference-background-color);
|
|
132
|
+
--_hero-main-content-color: var(--semantics-categories-donkerbruin-reference-content-color);
|
|
136
133
|
}
|
|
137
134
|
|
|
138
135
|
:host([main-background="bruin"]) {
|
|
139
|
-
--
|
|
140
|
-
--
|
|
136
|
+
--_hero-main-background-color: var(--semantics-categories-bruin-reference-background-color);
|
|
137
|
+
--_hero-main-content-color: var(--semantics-categories-bruin-reference-content-color);
|
|
141
138
|
}
|
|
142
139
|
|
|
143
140
|
:host([main-background="donkergroen"]) {
|
|
144
|
-
--
|
|
145
|
-
--
|
|
141
|
+
--_hero-main-background-color: var(--semantics-categories-donkergroen-reference-background-color);
|
|
142
|
+
--_hero-main-content-color: var(--semantics-categories-donkergroen-reference-content-color);
|
|
146
143
|
}
|
|
147
144
|
|
|
148
145
|
:host([main-background="groen"]) {
|
|
149
|
-
--
|
|
150
|
-
--
|
|
146
|
+
--_hero-main-background-color: var(--semantics-categories-groen-reference-background-color);
|
|
147
|
+
--_hero-main-content-color: var(--semantics-categories-groen-reference-content-color);
|
|
151
148
|
}
|
|
152
149
|
|
|
153
150
|
:host([main-background="mosgroen"]) {
|
|
154
|
-
--
|
|
155
|
-
--
|
|
151
|
+
--_hero-main-background-color: var(--semantics-categories-mosgroen-reference-background-color);
|
|
152
|
+
--_hero-main-content-color: var(--semantics-categories-mosgroen-reference-content-color);
|
|
156
153
|
}
|
|
157
154
|
|
|
158
155
|
:host([main-background="mintgroen"]) {
|
|
159
|
-
--
|
|
160
|
-
--
|
|
156
|
+
--_hero-main-background-color: var(--semantics-categories-mintgroen-reference-background-color);
|
|
157
|
+
--_hero-main-content-color: var(--semantics-categories-mintgroen-reference-content-color);
|
|
161
158
|
}
|
|
162
159
|
|
|
163
160
|
|
|
@@ -177,22 +174,28 @@ export const heroStyles = css `
|
|
|
177
174
|
|
|
178
175
|
@container (max-width: ${smMax}) {
|
|
179
176
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
180
|
-
padding-top: var(--
|
|
181
|
-
padding-bottom: var(--
|
|
177
|
+
padding-top: var(--_hero-sm-padding-top, var(--_hero-padding-top, calc(var(--semantics-page-sections-sm-margin-block) / 2)));
|
|
178
|
+
padding-bottom: var(--_hero-sm-padding-bottom, var(--_hero-padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
182
179
|
}
|
|
183
180
|
|
|
184
181
|
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
185
|
-
--
|
|
182
|
+
--_hero-main-padding: var(--primitives-space-24);
|
|
183
|
+
--_hero-main-inset: var(--semantics-page-sections-md-gap);
|
|
184
|
+
--_hero-default-overlap-size: var(--primitives-area-160);
|
|
185
|
+
--_hero-default-media-height: var(--primitives-area-320);
|
|
186
186
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
187
|
-
padding-top: var(--
|
|
188
|
-
padding-bottom: var(--
|
|
187
|
+
padding-top: var(--_hero-md-padding-top, var(--_hero-padding-top, calc(var(--semantics-page-sections-md-margin-block) / 2)));
|
|
188
|
+
padding-bottom: var(--_hero-md-padding-bottom, var(--_hero-padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
@container (min-width: ${lgMin}) {
|
|
192
|
-
--
|
|
192
|
+
--_hero-main-padding: var(--primitives-space-32);
|
|
193
|
+
--_hero-main-inset: var(--semantics-page-sections-lg-gap);
|
|
194
|
+
--_hero-default-overlap-size: var(--primitives-area-160);
|
|
195
|
+
--_hero-default-media-height: var(--primitives-area-400);
|
|
193
196
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
194
|
-
padding-top: var(--
|
|
195
|
-
padding-bottom: var(--
|
|
197
|
+
padding-top: var(--_hero-lg-padding-top, var(--_hero-padding-top, calc(var(--semantics-page-sections-lg-margin-block) / 2)));
|
|
198
|
+
padding-bottom: var(--_hero-lg-padding-bottom, var(--_hero-padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
196
199
|
}
|
|
197
200
|
}
|
|
198
201
|
|
|
@@ -207,13 +210,16 @@ export const heroStyles = css `
|
|
|
207
210
|
.hero__body {
|
|
208
211
|
display: grid;
|
|
209
212
|
position: relative;
|
|
210
|
-
background-color: var(--_main-background-color);
|
|
211
213
|
width: 100%;
|
|
212
|
-
max-width: var(--
|
|
214
|
+
max-width: var(--_hero-max-width);
|
|
213
215
|
flex-grow: 1;
|
|
214
216
|
grid-template-columns: 100%;
|
|
215
217
|
}
|
|
216
218
|
|
|
219
|
+
:host(:not([data-has-media])) .hero__body {
|
|
220
|
+
background-color: var(--_hero-main-background-color);
|
|
221
|
+
}
|
|
222
|
+
|
|
217
223
|
/* Without media a base-colored panel would be invisible on the base surface;
|
|
218
224
|
give it a full border so the rectangle reads. */
|
|
219
225
|
:host(:not([data-has-media])[main-background="base"]) .hero__body {
|
|
@@ -226,10 +232,11 @@ export const heroStyles = css `
|
|
|
226
232
|
(instead of aspect-ratio on the body) keeps growth content-driven
|
|
227
233
|
rather than rigidly tied to the width. align-self: start stops the
|
|
228
234
|
stretch fit from cancelling the ratio. */
|
|
229
|
-
:host([data-has-media]
|
|
235
|
+
:host([data-has-media]) .hero__body::before {
|
|
230
236
|
@container (min-width: ${mdMin}) {
|
|
231
237
|
content: '';
|
|
232
|
-
|
|
238
|
+
height: var(--_hero-media-height);
|
|
239
|
+
aspect-ratio: var(--_hero-media-aspect-ratio);
|
|
233
240
|
grid-area: 1 / 1;
|
|
234
241
|
align-self: start;
|
|
235
242
|
}
|
|
@@ -262,7 +269,11 @@ export const heroStyles = css `
|
|
|
262
269
|
object-fit: cover !important;
|
|
263
270
|
}
|
|
264
271
|
|
|
272
|
+
/* Two heights: the host fills the media area, and the variable makes the
|
|
273
|
+
image inside the host fill the host. Without either one it collapses. */
|
|
265
274
|
.hero__media ::slotted(nldd-image) {
|
|
275
|
+
--context-image-height: 100%;
|
|
276
|
+
|
|
266
277
|
display: block !important;
|
|
267
278
|
width: 100% !important;
|
|
268
279
|
height: 100% !important;
|
|
@@ -282,7 +293,7 @@ export const heroStyles = css `
|
|
|
282
293
|
/* Cascade the panel color so descendants that key off the parent
|
|
283
294
|
background (inherit-filled buttons, badge rings) read this
|
|
284
295
|
surface. */
|
|
285
|
-
--context-parent-background-color: var(--
|
|
296
|
+
--context-parent-background-color: var(--_hero-main-background-color);
|
|
286
297
|
|
|
287
298
|
box-sizing: border-box;
|
|
288
299
|
display: flex;
|
|
@@ -290,15 +301,37 @@ export const heroStyles = css `
|
|
|
290
301
|
grid-area: 1 / 1;
|
|
291
302
|
align-self: end;
|
|
292
303
|
justify-self: start;
|
|
293
|
-
background-color: var(--
|
|
294
|
-
width:
|
|
295
|
-
|
|
304
|
+
background-color: var(--_hero-main-background-color);
|
|
305
|
+
width: fit-content;
|
|
306
|
+
min-width: min(var(--_hero-main-min-width), 100% - 2 * var(--_hero-main-inset));
|
|
307
|
+
max-width: min(var(--_hero-main-max-width), 100% - 2 * var(--_hero-main-inset));
|
|
308
|
+
padding: var(--_hero-main-padding);
|
|
296
309
|
flex-direction: column;
|
|
297
|
-
color: var(--
|
|
310
|
+
color: var(--_hero-main-content-color);
|
|
298
311
|
}
|
|
299
312
|
|
|
300
313
|
:host(:not([data-has-media])) .hero__main {
|
|
301
314
|
width: 100%;
|
|
315
|
+
min-width: 0;
|
|
316
|
+
max-width: none;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
:host([data-has-media]) .hero__main {
|
|
320
|
+
margin: var(--_hero-main-inset);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
:host([data-has-media][data-main-width-length]) .hero__main {
|
|
324
|
+
@container (min-width: ${mdMin}) {
|
|
325
|
+
width: var(--_hero-main-width);
|
|
326
|
+
min-width: 0;
|
|
327
|
+
max-width: calc(100% - 2 * var(--_hero-main-inset));
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
:host([data-has-media][main-width="full"]) .hero__main {
|
|
332
|
+
width: auto;
|
|
333
|
+
max-width: none;
|
|
334
|
+
justify-self: stretch;
|
|
302
335
|
}
|
|
303
336
|
|
|
304
337
|
:host([main-position="top-left"]) .hero__main {
|
|
@@ -314,6 +347,15 @@ export const heroStyles = css `
|
|
|
314
347
|
justify-self: end;
|
|
315
348
|
}
|
|
316
349
|
|
|
350
|
+
:host([main-position="bottom-center"]) .hero__main {
|
|
351
|
+
justify-self: center;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
:host([main-position="top-center"]) .hero__main {
|
|
355
|
+
align-self: start;
|
|
356
|
+
justify-self: center;
|
|
357
|
+
}
|
|
358
|
+
|
|
317
359
|
:host([main-position="left"]) .hero__main {
|
|
318
360
|
align-self: stretch;
|
|
319
361
|
}
|
|
@@ -330,32 +372,38 @@ export const heroStyles = css `
|
|
|
330
372
|
}
|
|
331
373
|
|
|
332
374
|
|
|
333
|
-
/* #
|
|
334
|
-
|
|
335
|
-
media stacks on the opposite side instead of sitting behind it. Switch the
|
|
336
|
-
body to a column so the two blocks stack: a bottom panel keeps the media on
|
|
337
|
-
top, a top panel (column-reverse) drops it below. The media keeps the
|
|
338
|
-
overlay's 21/9 strip. Below sm every layout already stacks, so this only
|
|
339
|
-
targets md and up. */
|
|
375
|
+
/* # Overlap (md+) — the media keeps a fixed height; the panel sits in the
|
|
376
|
+
row below it, pulled up over it by the overlap size. */
|
|
340
377
|
|
|
341
378
|
@container (min-width: ${mdMin}) {
|
|
342
|
-
:host([data-has-media][
|
|
343
|
-
|
|
344
|
-
|
|
379
|
+
:host([data-has-media]:not([layout="contained"])) .hero__body::before {
|
|
380
|
+
content: none;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
:host([data-has-media]:not([layout="contained"])) .hero__media {
|
|
384
|
+
position: relative;
|
|
385
|
+
width: 100%;
|
|
386
|
+
height: var(--_hero-media-height);
|
|
387
|
+
aspect-ratio: var(--_hero-media-aspect-ratio);
|
|
388
|
+
grid-area: 1 / 1;
|
|
389
|
+
align-self: start;
|
|
345
390
|
}
|
|
346
391
|
|
|
347
|
-
:host([data-has-media][
|
|
348
|
-
|
|
392
|
+
:host([data-has-media]:not([layout="contained"]):not([media-height], [media-aspect-ratio])) .hero__media {
|
|
393
|
+
height: var(--_hero-default-media-height);
|
|
349
394
|
}
|
|
350
395
|
|
|
351
|
-
:host([data-has-media][
|
|
352
|
-
|
|
353
|
-
|
|
396
|
+
:host([data-has-media]:not([layout="contained"])) .hero__main {
|
|
397
|
+
margin-top: calc(-1 * var(--_hero-overlap-size, var(--_hero-default-overlap-size)));
|
|
398
|
+
margin-bottom: 0;
|
|
399
|
+
grid-area: 2 / 1;
|
|
400
|
+
align-self: start;
|
|
354
401
|
}
|
|
355
402
|
}
|
|
356
403
|
|
|
357
404
|
|
|
358
|
-
/* # Mobile —
|
|
405
|
+
/* # Mobile — the media on top, the panel below it, indented and overlapping
|
|
406
|
+
it a little. */
|
|
359
407
|
|
|
360
408
|
@container (max-width: ${smMax}) {
|
|
361
409
|
.hero__body {
|
|
@@ -363,18 +411,24 @@ export const heroStyles = css `
|
|
|
363
411
|
flex-direction: column;
|
|
364
412
|
}
|
|
365
413
|
|
|
366
|
-
:host(:is([main-position="top-left"], [main-position="top-right"])) .hero__body {
|
|
367
|
-
flex-direction: column-reverse;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
414
|
.hero__media {
|
|
371
415
|
position: static;
|
|
416
|
+
width: 100%;
|
|
417
|
+
height: var(--_hero-media-height);
|
|
372
418
|
overflow: hidden;
|
|
373
|
-
aspect-ratio: var(--
|
|
419
|
+
aspect-ratio: var(--_hero-media-aspect-ratio);
|
|
374
420
|
}
|
|
375
421
|
|
|
376
422
|
.hero__main {
|
|
377
423
|
width: 100%;
|
|
424
|
+
min-width: 0;
|
|
425
|
+
max-width: none;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
:host([data-has-media]) .hero__main {
|
|
429
|
+
margin: calc(-1 * var(--_hero-sm-main-overlap)) var(--_hero-sm-main-inset) 0;
|
|
430
|
+
width: auto;
|
|
431
|
+
align-self: stretch;
|
|
378
432
|
}
|
|
379
433
|
}
|
|
380
434
|
`;
|
|
@@ -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,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAE9F,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,UAAU,GAAG,GAAG,CAAA
|
|
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,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAE9F,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,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqCzB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAkIK,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;;;;;2BAU/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6CL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6B5B,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA2DW,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAsDN,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BA8BL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B9B,CAAC"}
|
|
@@ -10,10 +10,12 @@
|
|
|
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.
|
|
16
17
|
* @attr {string} [sm-padding-block] - Responsive block padding (sm/md/lg, also per edge: {sm,md,lg}-padding-{top,bottom}).
|
|
18
|
+
* @attr {'top'|'center'|'bottom'} [vertical-alignment] - Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other.
|
|
17
19
|
*
|
|
18
20
|
* @slot header - Content above the columns
|
|
19
21
|
* @slot - Left column (1/2), alternative for slot="left"
|
|
@@ -37,12 +39,14 @@ declare const NLDDOneHalfOneHalfSection_base: typeof LitElement & (new (...args:
|
|
|
37
39
|
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
38
40
|
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
39
41
|
height?: string;
|
|
42
|
+
grow: boolean;
|
|
40
43
|
_onSlotChange(e: Event): void;
|
|
41
44
|
});
|
|
42
45
|
export declare class NLDDOneHalfOneHalfSection extends NLDDOneHalfOneHalfSection_base {
|
|
43
46
|
static styles: import("lit").CSSResult;
|
|
44
47
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
45
48
|
width: string;
|
|
49
|
+
verticalAlignment: 'top' | 'center' | 'bottom';
|
|
46
50
|
updated(changedProperties: Map<string, unknown>): void;
|
|
47
51
|
render(): import("lit-html").TemplateResult;
|
|
48
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;AAOjC,qBACa,yBAA0B,SAAQ,8BAA4B;IAC1E,OAAgB,MAAM,0BAA+B;IAErD,qEAAqE;IAErE,KAAK,SAAM;IAGX,iBAAiB,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAS;IAE9C,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAetD,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gCAAgC,EAAE,yBAAyB,CAAC;KAC5D;CACD"}
|
package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js
CHANGED
|
@@ -16,10 +16,12 @@ 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.
|
|
22
23
|
* @attr {string} [sm-padding-block] - Responsive block padding (sm/md/lg, also per edge: {sm,md,lg}-padding-{top,bottom}).
|
|
24
|
+
* @attr {'top'|'center'|'bottom'} [vertical-alignment] - Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other.
|
|
23
25
|
*
|
|
24
26
|
* @slot header - Content above the columns
|
|
25
27
|
* @slot - Left column (1/2), alternative for slot="left"
|
|
@@ -29,6 +31,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
29
31
|
*/
|
|
30
32
|
import { LitElement } from 'lit';
|
|
31
33
|
import { customElement, property } from 'lit/decorators.js';
|
|
34
|
+
import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
|
|
32
35
|
import { PageSectionMixin } from '../../../../utilities/page-section-mixin.js';
|
|
33
36
|
import { oneHalfOneHalfSectionStyles } from './one-half-one-half-section.styles.js';
|
|
34
37
|
import { oneHalfOneHalfSectionTemplate } from './one-half-one-half-section.template.js';
|
|
@@ -37,6 +40,7 @@ let NLDDOneHalfOneHalfSection = class NLDDOneHalfOneHalfSection extends PageSect
|
|
|
37
40
|
super(...arguments);
|
|
38
41
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
39
42
|
this.width = '';
|
|
43
|
+
this.verticalAlignment = 'top';
|
|
40
44
|
}
|
|
41
45
|
updated(changedProperties) {
|
|
42
46
|
super.updated(changedProperties);
|
|
@@ -44,12 +48,12 @@ let NLDDOneHalfOneHalfSection = class NLDDOneHalfOneHalfSection extends PageSect
|
|
|
44
48
|
const w = this.width;
|
|
45
49
|
// Sections constrain the body's max-width rather than the host's
|
|
46
50
|
// outer width. The keyword 'full' is handled by CSS (sets
|
|
47
|
-
// --
|
|
51
|
+
// --_one-half-one-half-section-max-width: none); CSS lengths feed --_one-half-one-half-section-max-width here.
|
|
48
52
|
if (w && w !== 'full' && CSS.supports('max-width', w)) {
|
|
49
|
-
this.style.setProperty('--
|
|
53
|
+
this.style.setProperty('--_one-half-one-half-section-max-width', w);
|
|
50
54
|
}
|
|
51
55
|
else {
|
|
52
|
-
this.style.removeProperty('--
|
|
56
|
+
this.style.removeProperty('--_one-half-one-half-section-max-width');
|
|
53
57
|
}
|
|
54
58
|
}
|
|
55
59
|
}
|
|
@@ -59,8 +63,11 @@ let NLDDOneHalfOneHalfSection = class NLDDOneHalfOneHalfSection extends PageSect
|
|
|
59
63
|
};
|
|
60
64
|
NLDDOneHalfOneHalfSection.styles = oneHalfOneHalfSectionStyles;
|
|
61
65
|
__decorate([
|
|
62
|
-
property({
|
|
66
|
+
property({ reflect: true, converter: reflectNonDefault('') })
|
|
63
67
|
], NLDDOneHalfOneHalfSection.prototype, "width", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
property({ reflect: true, attribute: 'vertical-alignment', converter: reflectNonDefault('top') })
|
|
70
|
+
], NLDDOneHalfOneHalfSection.prototype, "verticalAlignment", void 0);
|
|
64
71
|
NLDDOneHalfOneHalfSection = __decorate([
|
|
65
72
|
customElement('nldd-one-half-one-half-section')
|
|
66
73
|
], NLDDOneHalfOneHalfSection);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;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,2BAA2B,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAGjF,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAApE;;QAGN,qEAAqE;QAErE,UAAK,GAAG,EAAE,CAAC;QAGX,sBAAiB,GAAgC,KAAK,CAAC;IAoBxD,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,+GAA+G;YAC/G,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;YACrE,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,wCAAwC,CAAC,CAAC;YACrE,CAAC;QACF,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,6BAA6B,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;;AA1Be,gCAAM,GAAG,2BAA2B,AAA9B,CAA+B;AAIrD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;wDAC3D;AAGX;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,SAAS,EAAE,iBAAiB,CAA8B,KAAK,CAAC,EAAE,CAAC;oEACxE;AAR3C,yBAAyB;IADrC,aAAa,CAAC,gCAAgC,CAAC;GACnC,yBAAyB,CA4BrC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,2BAA2B,yBAwIvC,CAAC"}
|
|
@@ -16,15 +16,15 @@ export const oneHalfOneHalfSectionStyles = 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
|
+
--_one-half-one-half-section-padding-top: initial;
|
|
20
|
+
--_one-half-one-half-section-padding-bottom: initial;
|
|
21
|
+
--_one-half-one-half-section-sm-padding-top: initial;
|
|
22
|
+
--_one-half-one-half-section-sm-padding-bottom: initial;
|
|
23
|
+
--_one-half-one-half-section-md-padding-top: initial;
|
|
24
|
+
--_one-half-one-half-section-md-padding-bottom: initial;
|
|
25
|
+
--_one-half-one-half-section-lg-padding-top: initial;
|
|
26
|
+
--_one-half-one-half-section-lg-padding-bottom: initial;
|
|
27
|
+
--_one-half-one-half-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 oneHalfOneHalfSectionStyles = 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
|
+
--_one-half-one-half-section-max-width: none;
|
|
41
46
|
}
|
|
42
47
|
|
|
43
48
|
|
|
@@ -53,20 +58,20 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
53
58
|
|
|
54
59
|
@container (max-width: ${smMax}) {
|
|
55
60
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
56
|
-
padding-top: var(--
|
|
57
|
-
padding-bottom: var(--
|
|
61
|
+
padding-top: var(--_one-half-one-half-section-sm-padding-top, var(--_one-half-one-half-section-padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
62
|
+
padding-bottom: var(--_one-half-one-half-section-sm-padding-bottom, var(--_one-half-one-half-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
66
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
62
|
-
padding-top: var(--
|
|
63
|
-
padding-bottom: var(--
|
|
67
|
+
padding-top: var(--_one-half-one-half-section-md-padding-top, var(--_one-half-one-half-section-padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
68
|
+
padding-bottom: var(--_one-half-one-half-section-md-padding-bottom, var(--_one-half-one-half-section-padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
64
69
|
}
|
|
65
70
|
|
|
66
71
|
@container (min-width: ${lgMin}) {
|
|
67
72
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
68
|
-
padding-top: var(--
|
|
69
|
-
padding-bottom: var(--
|
|
73
|
+
padding-top: var(--_one-half-one-half-section-lg-padding-top, var(--_one-half-one-half-section-padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
74
|
+
padding-bottom: var(--_one-half-one-half-section-lg-padding-bottom, var(--_one-half-one-half-section-padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
70
75
|
}
|
|
71
76
|
}
|
|
72
77
|
|
|
@@ -76,7 +81,7 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
76
81
|
.one-half-one-half-section__body {
|
|
77
82
|
display: flex;
|
|
78
83
|
width: 100%;
|
|
79
|
-
max-width: var(--
|
|
84
|
+
max-width: var(--_one-half-one-half-section-max-width);
|
|
80
85
|
flex-direction: column;
|
|
81
86
|
|
|
82
87
|
@container (max-width: ${smMax}) {
|
|
@@ -114,6 +119,14 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
114
119
|
}
|
|
115
120
|
}
|
|
116
121
|
|
|
122
|
+
:host([vertical-alignment="center"]) .one-half-one-half-section__columns {
|
|
123
|
+
align-items: center;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
:host([vertical-alignment="bottom"]) .one-half-one-half-section__columns {
|
|
127
|
+
align-items: flex-end;
|
|
128
|
+
}
|
|
129
|
+
|
|
117
130
|
.one-half-one-half-section__left-column {
|
|
118
131
|
min-width: var(--primitives-area-280);
|
|
119
132
|
flex-grow: 1;
|