@nldd/design-system 0.8.94 → 0.8.96
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 +114 -21
- package/custom-elements.json +295 -311
- 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 +8 -1
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +46 -26
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +57 -56
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/components.js +4405 -4267
- 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.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +15 -14
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- 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 +16 -0
- 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 +14 -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 +12 -0
- 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.js +3 -3
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.js +153 -153
- 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/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/{decorate-lwt_OrAG.js → decorate-CO88j7Lc.js} +1 -1
- package/dist/components/{dist-M6GKopqu.js → dist-BWEAw34D.js} +1 -1
- package/dist/components/{dist-OlffRM7-.js → dist-BWRYv3Mp.js} +1 -1
- package/dist/components/{dist-CSYXsT7W.js → dist-Bi4EHsFY.js} +2 -2
- package/dist/components/{dist-B5ie2Bo9.js → dist-C3uWRipu.js} +1 -1
- package/dist/components/{dist-CoUVHSu-.js → dist-CH9m014O.js} +1 -1
- package/dist/components/{dist-Dn3c5gfb.js → dist-CpW8MF-L.js} +42 -27
- package/dist/components/{dist-RPaf2J9c.js → dist-CvL6_ezZ.js} +2 -2
- package/dist/components/{dist-CGOykrJw.js → dist-DMHTTJRJ.js} +2 -2
- package/dist/components/{dist-BUu-NW5O.js → dist-DTOshgo1.js} +1 -1
- package/dist/components/{dist-Dxn9Up8K.js → dist-DV6Mp5N1.js} +3 -3
- package/dist/components/{dist-CQzaKTa8.js → dist-PlhQXXtE.js} +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-DWNVcttg.js → icon-DQHT2C7z.js} +71 -51
- package/dist/components/{icon-button-DHzLMmj0.js → icon-button-mevRsl4C.js} +283 -280
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -2
- 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/app-view/app-view.d.ts +1 -1
- package/dist/components/layout/app-view/app-view.js +1 -1
- package/dist/components/layout/app-view/app-view.styles.js +3 -3
- 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.js +30 -30
- 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.js +5 -5
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +20 -20
- 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.js +3 -3
- 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.js +17 -17
- package/dist/components/layout/page-sections/hero/hero.js +6 -6
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.styles.js +74 -74
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +3 -3
- 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.js +17 -17
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +3 -3
- 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.js +17 -17
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +5 -5
- 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 +29 -27
- 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.js +3 -3
- 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 +17 -17
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +3 -3
- 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.js +17 -17
- 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 +4 -4
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +8 -8
- package/dist/components/layout/spacer/spacer.styles.js +76 -76
- 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.js +4 -4
- 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.js +1 -1
- 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} +19 -18
- 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} +34 -33
- 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.js +37 -37
- 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.js +37 -37
- 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 +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +9 -9
- 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.styles.js +30 -30
- 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.styles.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +23 -17
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.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 +50 -33
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +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.styles.js +36 -36
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +142 -0
- 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-bar/step-bar.js +248 -0
- 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/components/{visibility-mixin-BU1vIMW7.js → visibility-mixin-Crbt8PFP.js} +1 -1
- package/dist/components/{with-translations-Dt2DTXJF.js → with-translations-C8_0-9y8.js} +1 -1
- package/dist/css/document-reset.css +7 -0
- package/dist/css/rich-text.css +35 -34
- package/dist/css/variables.css +54 -410
- package/dist/nldd.min.js +4367 -4232
- 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 +64 -65
- package/dist/utilities/codemirror/theme.js +17 -17
- package/dist/utilities/codemirror/theme.js.map +1 -1
- package/dist/utilities/page-section-mixin.js +3 -3
- package/dist/utilities/page-section-mixin.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/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/status-and-feedback/step-indicator/step-indicator.d.ts +0 -127
- 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 +0 -216
- 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
|
@@ -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%;
|
|
@@ -37,7 +37,7 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
:host([width="full"]) {
|
|
40
|
-
--
|
|
40
|
+
--_one-half-one-half-section-max-width: none;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
|
|
@@ -53,20 +53,20 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
53
53
|
|
|
54
54
|
@container (max-width: ${smMax}) {
|
|
55
55
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
56
|
-
padding-top: var(--
|
|
57
|
-
padding-bottom: var(--
|
|
56
|
+
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)));
|
|
57
|
+
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
58
|
}
|
|
59
59
|
|
|
60
60
|
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
61
61
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
62
|
-
padding-top: var(--
|
|
63
|
-
padding-bottom: var(--
|
|
62
|
+
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)));
|
|
63
|
+
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
64
|
}
|
|
65
65
|
|
|
66
66
|
@container (min-width: ${lgMin}) {
|
|
67
67
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
68
|
-
padding-top: var(--
|
|
69
|
-
padding-bottom: var(--
|
|
68
|
+
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)));
|
|
69
|
+
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
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
76
76
|
.one-half-one-half-section__body {
|
|
77
77
|
display: flex;
|
|
78
78
|
width: 100%;
|
|
79
|
-
max-width: var(--
|
|
79
|
+
max-width: var(--_one-half-one-half-section-max-width);
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
|
|
82
82
|
@container (max-width: ${smMax}) {
|
|
@@ -44,12 +44,12 @@ let NLDDOneThirdTwoThirdsSection = class NLDDOneThirdTwoThirdsSection extends Pa
|
|
|
44
44
|
const w = this.width;
|
|
45
45
|
// Sections constrain the body's max-width rather than the host's
|
|
46
46
|
// outer width. The keyword 'full' is handled by CSS (sets
|
|
47
|
-
// --
|
|
47
|
+
// --_one-third-two-thirds-section-max-width: none); CSS lengths feed --_one-third-two-thirds-section-max-width here.
|
|
48
48
|
if (w && w !== 'full' && CSS.supports('max-width', w)) {
|
|
49
|
-
this.style.setProperty('--
|
|
49
|
+
this.style.setProperty('--_one-third-two-thirds-section-max-width', w);
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
|
-
this.style.removeProperty('--
|
|
52
|
+
this.style.removeProperty('--_one-third-two-thirds-section-max-width');
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAAvE;;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,
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAAvE;;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,qHAAqH;YACrH,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;YACxE,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,2CAA2C,CAAC,CAAC;YACxE,CAAC;QACF,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;;AAvBe,mCAAM,GAAG,8BAA8B,AAAjC,CAAkC;AAIxD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2DAC/B;AALC,4BAA4B;IADxC,aAAa,CAAC,mCAAmC,CAAC;GACtC,4BAA4B,CAyBxC"}
|
|
@@ -16,15 +16,15 @@ export const oneThirdTwoThirdsSectionStyles = 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-third-two-thirds-section-padding-top: initial;
|
|
20
|
+
--_one-third-two-thirds-section-padding-bottom: initial;
|
|
21
|
+
--_one-third-two-thirds-section-sm-padding-top: initial;
|
|
22
|
+
--_one-third-two-thirds-section-sm-padding-bottom: initial;
|
|
23
|
+
--_one-third-two-thirds-section-md-padding-top: initial;
|
|
24
|
+
--_one-third-two-thirds-section-md-padding-bottom: initial;
|
|
25
|
+
--_one-third-two-thirds-section-lg-padding-top: initial;
|
|
26
|
+
--_one-third-two-thirds-section-lg-padding-bottom: initial;
|
|
27
|
+
--_one-third-two-thirds-section-max-width: var(--semantics-page-sections-body-max-width);
|
|
28
28
|
|
|
29
29
|
display: flex;
|
|
30
30
|
width: 100%;
|
|
@@ -37,7 +37,7 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
:host([width="full"]) {
|
|
40
|
-
--
|
|
40
|
+
--_one-third-two-thirds-section-max-width: none;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
|
|
@@ -53,20 +53,20 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
53
53
|
|
|
54
54
|
@container (max-width: ${smMax}) {
|
|
55
55
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
56
|
-
padding-top: var(--
|
|
57
|
-
padding-bottom: var(--
|
|
56
|
+
padding-top: var(--_one-third-two-thirds-section-sm-padding-top, var(--_one-third-two-thirds-section-padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
57
|
+
padding-bottom: var(--_one-third-two-thirds-section-sm-padding-bottom, var(--_one-third-two-thirds-section-padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
61
61
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
62
|
-
padding-top: var(--
|
|
63
|
-
padding-bottom: var(--
|
|
62
|
+
padding-top: var(--_one-third-two-thirds-section-md-padding-top, var(--_one-third-two-thirds-section-padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
63
|
+
padding-bottom: var(--_one-third-two-thirds-section-md-padding-bottom, var(--_one-third-two-thirds-section-padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
@container (min-width: ${lgMin}) {
|
|
67
67
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
68
|
-
padding-top: var(--
|
|
69
|
-
padding-bottom: var(--
|
|
68
|
+
padding-top: var(--_one-third-two-thirds-section-lg-padding-top, var(--_one-third-two-thirds-section-padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
69
|
+
padding-bottom: var(--_one-third-two-thirds-section-lg-padding-bottom, var(--_one-third-two-thirds-section-padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
76
76
|
.one-third-two-thirds-section__body {
|
|
77
77
|
display: flex;
|
|
78
78
|
width: 100%;
|
|
79
|
-
max-width: var(--
|
|
79
|
+
max-width: var(--_one-third-two-thirds-section-max-width);
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
|
|
82
82
|
@container (max-width: ${smMax}) {
|
|
@@ -143,18 +143,18 @@ let NLDDSidebarSection = class NLDDSidebarSection extends PageSectionMixin(LitEl
|
|
|
143
143
|
super.updated(changed);
|
|
144
144
|
if (changed.has('width')) {
|
|
145
145
|
const w = this.width;
|
|
146
|
-
// 'full' is handled by CSS (--
|
|
146
|
+
// 'full' is handled by CSS (--_sidebar-section-max-width: none); CSS lengths feed the var.
|
|
147
147
|
if (w && w !== 'full' && CSS.supports('max-width', w)) {
|
|
148
|
-
this.style.setProperty('--
|
|
148
|
+
this.style.setProperty('--_sidebar-section-max-width', w);
|
|
149
149
|
}
|
|
150
150
|
else {
|
|
151
|
-
this.style.removeProperty('--
|
|
151
|
+
this.style.removeProperty('--_sidebar-section-max-width');
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
if (changed.has('stickyTop'))
|
|
155
|
-
this._applyInset('--
|
|
155
|
+
this._applyInset('--_sidebar-section-sticky-top', this.stickyTop);
|
|
156
156
|
if (changed.has('stickyBottom'))
|
|
157
|
-
this._applyInset('--
|
|
157
|
+
this._applyInset('--_sidebar-section-sticky-bottom', this.stickyBottom);
|
|
158
158
|
// Toggling no-collapse flips whether a narrow section collapses — re-evaluate.
|
|
159
159
|
if (changed.has('noCollapse'))
|
|
160
160
|
this._applyCollapsed(this.clientWidth, false);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,sBAAsB,CAAC;AAC9B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oDAAoD,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAG3D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAA7D;;QAIN,UAAK,GAAG,EAAE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,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YAC1B,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACrB,
|
|
1
|
+
{"version":3,"file":"sidebar-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,sBAAsB,CAAC;AAC9B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oDAAoD,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,uCAAuC,CAAC;AAG3D,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAA7D;;QAIN,UAAK,GAAG,EAAE,CAAC;QAGX,iBAAY,GAAG,EAAE,CAAC;QAElB,yGAAyG;QAEzG,iBAAY,GAAmD,EAAE,CAAC;QAGlE,eAAU,GAAG,KAAK,CAAC;QAGnB,cAAS,GAAG,EAAE,CAAC;QAGf,iBAAY,GAAG,EAAE,CAAC;QAGlB,cAAS,GAAG,KAAK,CAAC;QAMD,WAAM,GAAG,QAAQ,CAAC,WAAW,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QAClD,iBAAY,GAAG,KAAK,CAAC;QAC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AAI,IAAI,CAAC,UAAU;YAAE,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC;;YACpC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC;IAC1B,CAAC;IAOQ,MAAM;QACd,OAAO,sBAAsB,CAAC,IAAI,CAAC,CAAC;IACrC,CAAC;;AA9Ie,yBAAM,GAAG,oBAAoB,AAAvB,CAAwB;AAG9C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;iDAC/B;AAGX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;wDACrC;AAIlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wDACuC;AAGlE;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;sDAClD;AAGnB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;qDACpD;AAGf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;wDACpD;AAGlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qDACzB;AAGV;IADP,KAAK,CAAC,yBAAyB,CAAC;kDACN;AA1Bf,kBAAkB;IAD9B,aAAa,CAAC,sBAAsB,CAAC;GACzB,kBAAkB,CAgJ9B"}
|
package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"sidebar-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,oBAAoB,yBA2KhC,CAAC"}
|
|
@@ -22,20 +22,22 @@ export const sidebarSectionStyles = css `
|
|
|
22
22
|
container-type: inline-size;
|
|
23
23
|
/* Block-padding overrides from PageSectionMixin; resolved per breakpoint
|
|
24
24
|
below (scope override -> base override -> responsive default). */
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
25
|
+
--_sidebar-section-padding-top: initial;
|
|
26
|
+
--_sidebar-section-padding-bottom: initial;
|
|
27
|
+
--_sidebar-section-sm-padding-top: initial;
|
|
28
|
+
--_sidebar-section-sm-padding-bottom: initial;
|
|
29
|
+
--_sidebar-section-md-padding-top: initial;
|
|
30
|
+
--_sidebar-section-md-padding-bottom: initial;
|
|
31
|
+
--_sidebar-section-lg-padding-top: initial;
|
|
32
|
+
--_sidebar-section-lg-padding-bottom: initial;
|
|
33
|
+
--_sidebar-section-max-width: var(--semantics-page-sections-body-max-width);
|
|
34
34
|
/* 24px clear of the insets nldd-page publishes. 24 is the depth of a
|
|
35
35
|
sticky header's fade, so the box starts where the fade ends. */
|
|
36
|
-
--
|
|
37
|
-
--
|
|
38
|
-
--_sidebar-width: var(--primitives-area-320);
|
|
36
|
+
--_sidebar-section-sticky-top: calc(var(--context-inset-top, 0px) + var(--primitives-space-24));
|
|
37
|
+
--_sidebar-section-sticky-bottom: calc(var(--context-inset-bottom, 0px) + var(--primitives-space-24));
|
|
38
|
+
--_sidebar-section-width: var(--primitives-area-320);
|
|
39
|
+
--_sidebar-section-sidebar-box-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
40
|
+
--_sidebar-section-sidebar-box-highlight-border-color: var(--semantics-surfaces-tinted-border-color);
|
|
39
41
|
|
|
40
42
|
display: flex;
|
|
41
43
|
width: 100%;
|
|
@@ -48,7 +50,7 @@ export const sidebarSectionStyles = css `
|
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
:host([width="full"]) {
|
|
51
|
-
--
|
|
53
|
+
--_sidebar-section-max-width: none;
|
|
52
54
|
}
|
|
53
55
|
|
|
54
56
|
/* # Growth — mirrors simple-section. The host only grows as the last
|
|
@@ -75,20 +77,20 @@ export const sidebarSectionStyles = css `
|
|
|
75
77
|
|
|
76
78
|
@container (max-width: ${smMax}) {
|
|
77
79
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
78
|
-
padding-top: var(--
|
|
79
|
-
padding-bottom: var(--
|
|
80
|
+
padding-top: var(--_sidebar-section-sm-padding-top, var(--_sidebar-section-padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
81
|
+
padding-bottom: var(--_sidebar-section-sm-padding-bottom, var(--_sidebar-section-padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
83
85
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
84
|
-
padding-top: var(--
|
|
85
|
-
padding-bottom: var(--
|
|
86
|
+
padding-top: var(--_sidebar-section-md-padding-top, var(--_sidebar-section-padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
87
|
+
padding-bottom: var(--_sidebar-section-md-padding-bottom, var(--_sidebar-section-padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
86
88
|
}
|
|
87
89
|
|
|
88
90
|
@container (min-width: ${lgMin}) {
|
|
89
91
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
90
|
-
padding-top: var(--
|
|
91
|
-
padding-bottom: var(--
|
|
92
|
+
padding-top: var(--_sidebar-section-lg-padding-top, var(--_sidebar-section-padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
93
|
+
padding-bottom: var(--_sidebar-section-lg-padding-bottom, var(--_sidebar-section-padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
92
94
|
}
|
|
93
95
|
}
|
|
94
96
|
|
|
@@ -98,7 +100,7 @@ export const sidebarSectionStyles = css `
|
|
|
98
100
|
.sidebar-section__body {
|
|
99
101
|
display: flex;
|
|
100
102
|
width: 100%;
|
|
101
|
-
max-width: var(--
|
|
103
|
+
max-width: var(--_sidebar-section-max-width);
|
|
102
104
|
flex-direction: column;
|
|
103
105
|
flex-grow: 1;
|
|
104
106
|
|
|
@@ -148,8 +150,8 @@ export const sidebarSectionStyles = css `
|
|
|
148
150
|
flex-shrink: 0;
|
|
149
151
|
|
|
150
152
|
@container (min-width: ${lgMin}) {
|
|
151
|
-
width: var(--_sidebar-width);
|
|
152
|
-
max-width: var(--_sidebar-width);
|
|
153
|
+
width: var(--_sidebar-section-width);
|
|
154
|
+
max-width: var(--_sidebar-section-width);
|
|
153
155
|
}
|
|
154
156
|
}
|
|
155
157
|
|
|
@@ -160,16 +162,16 @@ export const sidebarSectionStyles = css `
|
|
|
160
162
|
.sidebar-section__sidebar-box {
|
|
161
163
|
box-sizing: border-box;
|
|
162
164
|
border-radius: var(--semantics-surfaces-corner-radius);
|
|
163
|
-
background-color: var(--
|
|
164
|
-
box-shadow: inset 0 0 0 var(--semantics-surfaces-border-width) var(--
|
|
165
|
+
background-color: var(--_sidebar-section-sidebar-box-background-color);
|
|
166
|
+
box-shadow: inset 0 0 0 var(--semantics-surfaces-border-width) var(--_sidebar-section-sidebar-box-highlight-border-color);
|
|
165
167
|
|
|
166
168
|
@container (min-width: ${lgMin}) {
|
|
167
169
|
position: sticky;
|
|
168
|
-
top: var(--
|
|
169
|
-
bottom: var(--
|
|
170
|
+
top: var(--_sidebar-section-sticky-top);
|
|
171
|
+
bottom: var(--_sidebar-section-sticky-bottom);
|
|
170
172
|
/* What the scroller shows, not what the window is: a viewport-tall cap
|
|
171
173
|
hangs out the bottom by the height of the chrome around the page. */
|
|
172
|
-
max-height: calc(var(--context-scroller-height, 100dvh) - var(--
|
|
174
|
+
max-height: calc(var(--context-scroller-height, 100dvh) - var(--_sidebar-section-sticky-top) - var(--_sidebar-section-sticky-bottom));
|
|
173
175
|
overflow-y: auto;
|
|
174
176
|
}
|
|
175
177
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-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,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;+CAYQ,KAAK
|
|
1
|
+
{"version":3,"file":"sidebar-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/sidebar-section/sidebar-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,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;+CAYQ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA2DzB,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;2BAM/B,KAAK;;;;;;;;;;;;;;;;;2BAiBL,KAAK;2BACL,KAAK,qBAAqB,KAAK;2BAC/B,KAAK;;;;;;;;;;;;;;;;;;;2BAmBL,KAAK;2BACL,KAAK,qBAAqB,KAAK;2BAC/B,KAAK;;;;;;;;;;;;;;;;;;;;;;2BAsBL,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;;;;;;;CAU/B,CAAC"}
|
|
@@ -56,12 +56,12 @@ let NLDDSimpleSection = class NLDDSimpleSection extends PageSectionMixin(LitElem
|
|
|
56
56
|
const w = this.width;
|
|
57
57
|
// Sections constrain the body's max-width rather than the host's
|
|
58
58
|
// outer width. The keyword 'full' is handled by CSS (sets
|
|
59
|
-
// --
|
|
59
|
+
// --_simple-section-max-width: none); CSS lengths feed --_simple-section-max-width here.
|
|
60
60
|
if (w && w !== 'full' && CSS.supports('max-width', w)) {
|
|
61
|
-
this.style.setProperty('--
|
|
61
|
+
this.style.setProperty('--_simple-section-max-width', w);
|
|
62
62
|
}
|
|
63
63
|
else {
|
|
64
|
-
this.style.removeProperty('--
|
|
64
|
+
this.style.removeProperty('--_simple-section-max-width');
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAM9D,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAA5D;;QAGN,qEAAqE;QAErE,UAAK,GAAG,EAAE,CAAC;QAEX,8EAA8E;QAE9E,wBAAmB,GAAwB,MAAM,CAAC;QAGlD,sBAAiB,GAAsB,KAAK,CAAC;IAoB9C,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,
|
|
1
|
+
{"version":3,"file":"simple-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EA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EAAE,SAAS,EAAE,iBAAiB,CAAoB,KAAK,CAAC,EAAE,CAAC;4DACxE;AAZjC,iBAAiB;IAD7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CAgC7B"}
|
|
@@ -17,15 +17,15 @@ export const simpleSectionStyles = css `
|
|
|
17
17
|
/* Block-padding overrides from PageSectionMixin; 'initial' makes the
|
|
18
18
|
var() in .simple-section fall back to the responsive default until the
|
|
19
19
|
mixin sets a value inline on the host. */
|
|
20
|
-
--
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
20
|
+
--_simple-section-padding-top: initial;
|
|
21
|
+
--_simple-section-padding-bottom: initial;
|
|
22
|
+
--_simple-section-sm-padding-top: initial;
|
|
23
|
+
--_simple-section-sm-padding-bottom: initial;
|
|
24
|
+
--_simple-section-md-padding-top: initial;
|
|
25
|
+
--_simple-section-md-padding-bottom: initial;
|
|
26
|
+
--_simple-section-lg-padding-top: initial;
|
|
27
|
+
--_simple-section-lg-padding-bottom: initial;
|
|
28
|
+
--_simple-section-max-width: var(--semantics-page-sections-body-max-width);
|
|
29
29
|
|
|
30
30
|
display: flex;
|
|
31
31
|
width: 100%;
|
|
@@ -43,7 +43,7 @@ export const simpleSectionStyles = css `
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
:host([width="full"]) {
|
|
46
|
-
--
|
|
46
|
+
--_simple-section-max-width: none;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/* On the main rather than the body: the body also holds the header and the
|
|
@@ -79,20 +79,20 @@ export const simpleSectionStyles = css `
|
|
|
79
79
|
|
|
80
80
|
@container (max-width: ${smMax}) {
|
|
81
81
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
82
|
-
padding-top: var(--
|
|
83
|
-
padding-bottom: var(--
|
|
82
|
+
padding-top: var(--_simple-section-sm-padding-top, var(--_simple-section-padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
83
|
+
padding-bottom: var(--_simple-section-sm-padding-bottom, var(--_simple-section-padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
87
87
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
88
|
-
padding-top: var(--
|
|
89
|
-
padding-bottom: var(--
|
|
88
|
+
padding-top: var(--_simple-section-md-padding-top, var(--_simple-section-padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
89
|
+
padding-bottom: var(--_simple-section-md-padding-bottom, var(--_simple-section-padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
@container (min-width: ${lgMin}) {
|
|
93
93
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
94
|
-
padding-top: var(--
|
|
95
|
-
padding-bottom: var(--
|
|
94
|
+
padding-top: var(--_simple-section-lg-padding-top, var(--_simple-section-padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
95
|
+
padding-bottom: var(--_simple-section-lg-padding-bottom, var(--_simple-section-padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -102,7 +102,7 @@ export const simpleSectionStyles = css `
|
|
|
102
102
|
.simple-section__body {
|
|
103
103
|
display: flex;
|
|
104
104
|
width: 100%;
|
|
105
|
-
max-width: var(--
|
|
105
|
+
max-width: var(--_simple-section-max-width);
|
|
106
106
|
flex-direction: column;
|
|
107
107
|
flex-grow: 1;
|
|
108
108
|
|
|
@@ -44,12 +44,12 @@ let NLDDTwoThirdsOneThirdSection = class NLDDTwoThirdsOneThirdSection extends Pa
|
|
|
44
44
|
const w = this.width;
|
|
45
45
|
// Sections constrain the body's max-width rather than the host's
|
|
46
46
|
// outer width. The keyword 'full' is handled by CSS (sets
|
|
47
|
-
// --
|
|
47
|
+
// --_two-thirds-one-third-section-max-width: none); CSS lengths feed --_two-thirds-one-third-section-max-width here.
|
|
48
48
|
if (w && w !== 'full' && CSS.supports('max-width', w)) {
|
|
49
|
-
this.style.setProperty('--
|
|
49
|
+
this.style.setProperty('--_two-thirds-one-third-section-max-width', w);
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
52
|
-
this.style.removeProperty('--
|
|
52
|
+
this.style.removeProperty('--_two-thirds-one-third-section-max-width');
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"two-thirds-one-third-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAAvE;;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,
|
|
1
|
+
{"version":3,"file":"two-thirds-one-third-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6CAA6C,CAAC;AAC/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAAvE;;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,qHAAqH;YACrH,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;YACxE,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,2CAA2C,CAAC,CAAC;YACxE,CAAC;QACF,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;;AAvBe,mCAAM,GAAG,8BAA8B,AAAjC,CAAkC;AAIxD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2DAC/B;AALC,4BAA4B;IADxC,aAAa,CAAC,mCAAmC,CAAC;GACtC,4BAA4B,CAyBxC"}
|
|
@@ -16,15 +16,15 @@ export const twoThirdsOneThirdSectionStyles = 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
|
+
--_two-thirds-one-third-section-padding-top: initial;
|
|
20
|
+
--_two-thirds-one-third-section-padding-bottom: initial;
|
|
21
|
+
--_two-thirds-one-third-section-sm-padding-top: initial;
|
|
22
|
+
--_two-thirds-one-third-section-sm-padding-bottom: initial;
|
|
23
|
+
--_two-thirds-one-third-section-md-padding-top: initial;
|
|
24
|
+
--_two-thirds-one-third-section-md-padding-bottom: initial;
|
|
25
|
+
--_two-thirds-one-third-section-lg-padding-top: initial;
|
|
26
|
+
--_two-thirds-one-third-section-lg-padding-bottom: initial;
|
|
27
|
+
--_two-thirds-one-third-section-max-width: var(--semantics-page-sections-body-max-width);
|
|
28
28
|
|
|
29
29
|
display: flex;
|
|
30
30
|
width: 100%;
|
|
@@ -37,7 +37,7 @@ export const twoThirdsOneThirdSectionStyles = css `
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
:host([width="full"]) {
|
|
40
|
-
--
|
|
40
|
+
--_two-thirds-one-third-section-max-width: none;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
|
|
@@ -53,20 +53,20 @@ export const twoThirdsOneThirdSectionStyles = css `
|
|
|
53
53
|
|
|
54
54
|
@container (max-width: ${smMax}) {
|
|
55
55
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
56
|
-
padding-top: var(--
|
|
57
|
-
padding-bottom: var(--
|
|
56
|
+
padding-top: var(--_two-thirds-one-third-section-sm-padding-top, var(--_two-thirds-one-third-section-padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
57
|
+
padding-bottom: var(--_two-thirds-one-third-section-sm-padding-bottom, var(--_two-thirds-one-third-section-padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
61
61
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
62
|
-
padding-top: var(--
|
|
63
|
-
padding-bottom: var(--
|
|
62
|
+
padding-top: var(--_two-thirds-one-third-section-md-padding-top, var(--_two-thirds-one-third-section-padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
63
|
+
padding-bottom: var(--_two-thirds-one-third-section-md-padding-bottom, var(--_two-thirds-one-third-section-padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
@container (min-width: ${lgMin}) {
|
|
67
67
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
68
|
-
padding-top: var(--
|
|
69
|
-
padding-bottom: var(--
|
|
68
|
+
padding-top: var(--_two-thirds-one-third-section-lg-padding-top, var(--_two-thirds-one-third-section-padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
69
|
+
padding-bottom: var(--_two-thirds-one-third-section-lg-padding-bottom, var(--_two-thirds-one-third-section-padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -76,7 +76,7 @@ export const twoThirdsOneThirdSectionStyles = css `
|
|
|
76
76
|
.two-thirds-one-third-section__body {
|
|
77
77
|
display: flex;
|
|
78
78
|
width: 100%;
|
|
79
|
-
max-width: var(--
|
|
79
|
+
max-width: var(--_two-thirds-one-third-section-max-width);
|
|
80
80
|
flex-direction: column;
|
|
81
81
|
|
|
82
82
|
@container (max-width: ${smMax}) {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*
|
|
25
25
|
* @element nldd-popover
|
|
26
26
|
*
|
|
27
|
-
* @attr {string} width - Width as a CSS length (default: 320px
|
|
27
|
+
* @attr {string} width - Width as a CSS length (default: 320px). A content-based size (`fit-content`, `min-content`, `max-content`, `auto`) is refused: the popover is an inline-size container so slotted components can adapt to it, and its width cannot then come from that same content. Such a value is ignored, with a warning in DEV.
|
|
28
28
|
* @attr {boolean} sm-full-height - On an sm viewport (where the popover renders as a bottom sheet) fills the whole available height instead of shrinking to its content. No effect on md and up (anchored mode). Opt-in for content-heavy cases such as search results or long detail views; content-sized is the default, following the Apple and Material convention.
|
|
29
29
|
* @attr {string} anchor - ID of the trigger element, used for positioning
|
|
30
30
|
* @attr {string} placement - Floating UI placement (default: 'bottom-start')
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*
|
|
25
25
|
* @element nldd-popover
|
|
26
26
|
*
|
|
27
|
-
* @attr {string} width - Width as a CSS length (default: 320px
|
|
27
|
+
* @attr {string} width - Width as a CSS length (default: 320px). A content-based size (`fit-content`, `min-content`, `max-content`, `auto`) is refused: the popover is an inline-size container so slotted components can adapt to it, and its width cannot then come from that same content. Such a value is ignored, with a warning in DEV.
|
|
28
28
|
* @attr {boolean} sm-full-height - On an sm viewport (where the popover renders as a bottom sheet) fills the whole available height instead of shrinking to its content. No effect on md and up (anchored mode). Opt-in for content-heavy cases such as search results or long detail views; content-sized is the default, following the Apple and Material convention.
|
|
29
29
|
* @attr {string} anchor - ID of the trigger element, used for positioning
|
|
30
30
|
* @attr {string} placement - Floating UI placement (default: 'bottom-start')
|
|
@@ -382,10 +382,10 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
382
382
|
+ 'from its own content. Give it a CSS length instead.');
|
|
383
383
|
}
|
|
384
384
|
if (this.width && !contentSized) {
|
|
385
|
-
this.style.setProperty('--
|
|
385
|
+
this.style.setProperty('--_popover-default-width', this.width);
|
|
386
386
|
}
|
|
387
387
|
else {
|
|
388
|
-
this.style.removeProperty('--
|
|
388
|
+
this.style.removeProperty('--_popover-default-width');
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
if (changed.has('accessibleLabel') || changed.has('translations')) {
|
|
@@ -488,7 +488,7 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
488
488
|
this.style.removeProperty('right');
|
|
489
489
|
this.style.removeProperty('bottom');
|
|
490
490
|
this.style.removeProperty('transform');
|
|
491
|
-
this.style.removeProperty('--
|
|
491
|
+
this.style.removeProperty('--_popover-max-height');
|
|
492
492
|
if (crossedBreakpoint)
|
|
493
493
|
this._restoreTransition();
|
|
494
494
|
return;
|
|
@@ -552,7 +552,7 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
552
552
|
size({
|
|
553
553
|
padding: inset,
|
|
554
554
|
apply: ({ availableHeight }) => {
|
|
555
|
-
this.style.setProperty('--
|
|
555
|
+
this.style.setProperty('--_popover-max-height', `${availableHeight}px`);
|
|
556
556
|
},
|
|
557
557
|
}),
|
|
558
558
|
],
|