@nldd/design-system 0.8.46 → 0.8.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/components.js +83 -78
- package/dist/components/content/{code/code.d.ts → code-viewer/code-viewer.d.ts} +12 -11
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -0
- package/dist/components/content/{code/code.js → code-viewer/code-viewer.js} +32 -25
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts +2 -0
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.styles.js +89 -0
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.template.d.ts +4 -0
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -0
- package/dist/components/content/{code/code.template.js → code-viewer/code-viewer.template.js} +3 -3
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -0
- package/dist/components/{index-BvNDgQGM.js → index-CHPElQwp.js} +2981 -1823
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/app-view/app-view.d.ts +2 -2
- package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.js +2 -2
- package/dist/components/layout/app-view/app-view.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +2 -0
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +8 -0
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/collection/collection.styles.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.styles.js +4 -0
- package/dist/components/layout/collection/collection.styles.js.map +1 -1
- package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.template.js +5 -2
- package/dist/components/layout/collection/collection.template.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +62 -8
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +113 -11
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/container/container.styles.d.ts.map +1 -1
- package/dist/components/layout/container/container.styles.js +261 -15
- package/dist/components/layout/container/container.styles.js.map +1 -1
- package/dist/components/layout/container/container.template.d.ts.map +1 -1
- package/dist/components/layout/container/container.template.js +5 -1
- package/dist/components/layout/container/container.template.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +2 -2
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +1 -1
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.js +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +84 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -0
- package/dist/components/layout/page-footer/page-footer.i18n.d.ts +5 -0
- package/dist/components/layout/page-footer/page-footer.i18n.d.ts.map +1 -0
- package/dist/components/layout/page-footer/page-footer.i18n.js +4 -0
- package/dist/components/layout/page-footer/page-footer.i18n.js.map +1 -0
- package/dist/components/layout/page-footer/page-footer.js +217 -0
- package/dist/components/layout/page-footer/page-footer.js.map +1 -0
- package/dist/components/layout/page-footer/page-footer.styles.d.ts +4 -0
- package/dist/components/layout/page-footer/page-footer.styles.d.ts.map +1 -0
- package/dist/components/layout/page-footer/page-footer.styles.js +198 -0
- package/dist/components/layout/page-footer/page-footer.styles.js.map +1 -0
- package/dist/components/layout/page-footer/page-footer.template.d.ts +6 -0
- package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -0
- package/dist/components/layout/page-footer/page-footer.template.js +73 -0
- package/dist/components/layout/page-footer/page-footer.template.js.map +1 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +26 -1
- 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 +10 -1
- 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 +23 -35
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +26 -1
- 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 +10 -1
- 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 +26 -53
- 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 +26 -1
- 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 +10 -1
- 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 +33 -51
- 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 +226 -0
- package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -0
- package/dist/components/layout/page-sections/page-section-controls.js +104 -0
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +26 -1
- 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 +10 -1
- 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.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +24 -38
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +26 -1
- 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 +10 -1
- 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 +33 -51
- 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/split-views/bar-split-view/bar-split-view.d.ts +2 -2
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +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 +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +2 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
- 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 +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +2 -2
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +2 -2
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
- 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 +1 -1
- package/dist/components/layout/window/window.d.ts +5 -0
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +28 -13
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.styles.d.ts.map +1 -1
- package/dist/components/layout/window/window.styles.js +1 -7
- package/dist/components/layout/window/window.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.d.ts +6 -5
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.js +16 -111
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.d.ts +2 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.d.ts.map +1 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.js +94 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.styles.js.map +1 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.d.ts +4 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.d.ts.map +1 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.js +20 -0
- package/dist/components/lists-and-menus/cells/timeline-track-cell/timeline-track-cell.template.js.map +1 -0
- package/dist/components/lists-and-menus/list-item/list-item.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/list-item/list-item.styles.js +9 -13
- package/dist/components/lists-and-menus/list-item/list-item.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +80 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts +6 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js +5 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +192 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts +3 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +124 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts +6 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +57 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js.map +1 -0
- 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 +3 -4
- 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 +14 -17
- 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 +47 -46
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +2 -2
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +6 -0
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.styles.js +15 -0
- package/dist/components/navigation/tab-bar/tab-bar.styles.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 +28 -26
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +1 -1
- package/dist/components/prism-gherkin-CMPYyXOQ.js +82 -0
- package/dist/components/prism-python-ByhwnnUm.js +99 -0
- package/dist/components/prism-rust-BuyNemv0.js +157 -0
- package/dist/components/prism-sql-BGqCBMyJ.js +33 -0
- package/dist/components/prism-toml-Ubdq-a5x.js +45 -0
- package/dist/components/{prism-typescript-BX4tFNFm.js → prism-typescript-DNQwLx9f.js} +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +3 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +5 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +20 -4
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +16 -14
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js.map +1 -1
- package/dist/css/form.css +4 -5
- package/dist/css/rich-text.css +27 -115
- package/dist/css/settings.css +45 -32
- package/dist/utilities/page-section-mixin.d.ts +53 -0
- package/dist/utilities/page-section-mixin.d.ts.map +1 -0
- package/dist/utilities/page-section-mixin.js +239 -0
- package/dist/utilities/page-section-mixin.js.map +1 -0
- package/package.json +12 -4
- package/dist/components/content/code/code.d.ts.map +0 -1
- package/dist/components/content/code/code.js.map +0 -1
- package/dist/components/content/code/code.styles.d.ts +0 -2
- package/dist/components/content/code/code.styles.d.ts.map +0 -1
- package/dist/components/content/code/code.styles.js +0 -89
- package/dist/components/content/code/code.styles.js.map +0 -1
- package/dist/components/content/code/code.template.d.ts +0 -4
- package/dist/components/content/code/code.template.d.ts.map +0 -1
- package/dist/components/content/code/code.template.js.map +0 -1
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js
CHANGED
|
@@ -9,10 +9,18 @@ export const fullBleedSectionStyles = css `
|
|
|
9
9
|
|
|
10
10
|
/* # Host */
|
|
11
11
|
|
|
12
|
-
/* No own container-type: page-sections read the outer layout-container
|
|
13
|
-
(set by nldd-page / nldd-card). @media is the fallback for contexts
|
|
14
|
-
without a layout-container. */
|
|
15
12
|
:host {
|
|
13
|
+
container-type: inline-size;
|
|
14
|
+
/* Block-padding overrides from PageSectionMixin; 'initial' lets the
|
|
15
|
+
block fall back to the responsive default until the mixin sets one. */
|
|
16
|
+
--_padding-top: initial;
|
|
17
|
+
--_padding-bottom: initial;
|
|
18
|
+
--_sm-padding-top: initial;
|
|
19
|
+
--_sm-padding-bottom: initial;
|
|
20
|
+
--_md-padding-top: initial;
|
|
21
|
+
--_md-padding-bottom: initial;
|
|
22
|
+
--_lg-padding-top: initial;
|
|
23
|
+
--_lg-padding-bottom: initial;
|
|
16
24
|
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
17
25
|
|
|
18
26
|
display: flex;
|
|
@@ -40,28 +48,20 @@ export const fullBleedSectionStyles = css `
|
|
|
40
48
|
flex-grow: 1;
|
|
41
49
|
align-items: center;
|
|
42
50
|
|
|
43
|
-
@media (max-width: ${smMax}) {
|
|
44
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
48
|
-
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
49
|
-
}
|
|
50
51
|
|
|
51
|
-
@
|
|
52
|
-
padding-
|
|
52
|
+
@container (max-width: ${smMax}) {
|
|
53
|
+
padding-top: var(--_sm-padding-top, var(--_padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
54
|
+
padding-bottom: var(--_sm-padding-bottom, var(--_padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
53
55
|
}
|
|
54
56
|
|
|
55
|
-
@container
|
|
56
|
-
padding-
|
|
57
|
+
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
58
|
+
padding-top: var(--_md-padding-top, var(--_padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
59
|
+
padding-bottom: var(--_md-padding-bottom, var(--_padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
57
60
|
}
|
|
58
61
|
|
|
59
|
-
@container
|
|
60
|
-
padding-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
@container layout-container (min-width: ${lgMin}) {
|
|
64
|
-
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
62
|
+
@container (min-width: ${lgMin}) {
|
|
63
|
+
padding-top: var(--_lg-padding-top, var(--_padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
64
|
+
padding-bottom: var(--_lg-padding-bottom, var(--_padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -75,27 +75,15 @@ export const fullBleedSectionStyles = css `
|
|
|
75
75
|
flex-direction: column;
|
|
76
76
|
flex-grow: 1;
|
|
77
77
|
|
|
78
|
-
@
|
|
79
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
83
|
-
gap: var(--semantics-page-sections-md-gap);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@media (min-width: ${lgMin}) {
|
|
87
|
-
gap: var(--semantics-page-sections-lg-gap);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@container layout-container (max-width: ${smMax}) {
|
|
78
|
+
@container (max-width: ${smMax}) {
|
|
91
79
|
gap: var(--semantics-page-sections-sm-gap);
|
|
92
80
|
}
|
|
93
81
|
|
|
94
|
-
@container
|
|
82
|
+
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
95
83
|
gap: var(--semantics-page-sections-md-gap);
|
|
96
84
|
}
|
|
97
85
|
|
|
98
|
-
@container
|
|
86
|
+
@container (min-width: ${lgMin}) {
|
|
99
87
|
gap: var(--semantics-page-sections-lg-gap);
|
|
100
88
|
}
|
|
101
89
|
}
|
package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"full-bleed-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6Cd,KAAK;;;;;2BAKL,KAAK,qBAAqB,KAAK;;;;;2BAK/B,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;CAkB/B,CAAC"}
|
|
@@ -13,12 +13,36 @@
|
|
|
13
13
|
* @slot right - Right column (1/2)
|
|
14
14
|
* @slot footer - Content below the columns
|
|
15
15
|
*
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface).
|
|
17
|
+
* @attr {'inherit'|'light'|'dark'|'inverted'} [scheme] - Color scheme ('inherit' default; 'inverted' = opposite of the surrounding page scheme).
|
|
16
18
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the
|
|
17
19
|
* section spans the full available width. Any CSS
|
|
18
20
|
* length (e.g. '480px') overrides the default max-width.
|
|
21
|
+
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
22
|
+
* @attr {string} [padding-block] - Block (top and bottom) padding override (token 0-96; '0' strips it).
|
|
23
|
+
* @attr {string} [padding-top] - Top padding override.
|
|
24
|
+
* @attr {string} [padding-bottom] - Bottom padding override.
|
|
25
|
+
* @attr {string} [sm-padding-block] - Responsive block padding (sm/md/lg, also per edge: {sm,md,lg}-padding-{top,bottom}).
|
|
19
26
|
*/
|
|
20
27
|
import { LitElement } from 'lit';
|
|
21
|
-
|
|
28
|
+
declare const NLDDOneHalfOneHalfSection_base: typeof LitElement & (new (...args: any[]) => LitElement & {
|
|
29
|
+
background: import("../../../../utilities/page-section-mixin.js").PageSectionBackground;
|
|
30
|
+
scheme: import("../../../../utilities/page-section-mixin.js").PageSectionScheme;
|
|
31
|
+
paddingBlock?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
32
|
+
paddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
33
|
+
paddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
34
|
+
smPaddingBlock?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
35
|
+
smPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
36
|
+
smPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
37
|
+
mdPaddingBlock?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
38
|
+
mdPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
39
|
+
mdPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
40
|
+
lgPaddingBlock?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
41
|
+
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
42
|
+
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
43
|
+
height?: string;
|
|
44
|
+
});
|
|
45
|
+
export declare class NLDDOneHalfOneHalfSection extends NLDDOneHalfOneHalfSection_base {
|
|
22
46
|
static styles: import("lit").CSSResult;
|
|
23
47
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
24
48
|
width: string;
|
|
@@ -30,4 +54,5 @@ declare global {
|
|
|
30
54
|
'nldd-one-half-one-half-section': NLDDOneHalfOneHalfSection;
|
|
31
55
|
}
|
|
32
56
|
}
|
|
57
|
+
export {};
|
|
33
58
|
//# sourceMappingURL=one-half-one-half-section.d.ts.map
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;AAMjC,qBACa,yBAA0B,SAAQ,8BAA4B;IAC1E,OAAgB,MAAM,0BAA+B;IAErD,qEAAqE;IAErE,KAAK,SAAM;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAetD,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gCAAgC,EAAE,yBAAyB,CAAC;KAC5D;CACD"}
|
package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js
CHANGED
|
@@ -19,21 +19,30 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
* @slot right - Right column (1/2)
|
|
20
20
|
* @slot footer - Content below the columns
|
|
21
21
|
*
|
|
22
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface).
|
|
23
|
+
* @attr {'inherit'|'light'|'dark'|'inverted'} [scheme] - Color scheme ('inherit' default; 'inverted' = opposite of the surrounding page scheme).
|
|
22
24
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the
|
|
23
25
|
* section spans the full available width. Any CSS
|
|
24
26
|
* length (e.g. '480px') overrides the default max-width.
|
|
27
|
+
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
28
|
+
* @attr {string} [padding-block] - Block (top and bottom) padding override (token 0-96; '0' strips it).
|
|
29
|
+
* @attr {string} [padding-top] - Top padding override.
|
|
30
|
+
* @attr {string} [padding-bottom] - Bottom padding override.
|
|
31
|
+
* @attr {string} [sm-padding-block] - Responsive block padding (sm/md/lg, also per edge: {sm,md,lg}-padding-{top,bottom}).
|
|
25
32
|
*/
|
|
26
33
|
import { LitElement } from 'lit';
|
|
27
34
|
import { customElement, property } from 'lit/decorators.js';
|
|
35
|
+
import { PageSectionMixin } from '../../../../utilities/page-section-mixin.js';
|
|
28
36
|
import { oneHalfOneHalfSectionStyles } from './one-half-one-half-section.styles.js';
|
|
29
37
|
import { oneHalfOneHalfSectionTemplate } from './one-half-one-half-section.template.js';
|
|
30
|
-
let NLDDOneHalfOneHalfSection = class NLDDOneHalfOneHalfSection extends LitElement {
|
|
38
|
+
let NLDDOneHalfOneHalfSection = class NLDDOneHalfOneHalfSection extends PageSectionMixin(LitElement) {
|
|
31
39
|
constructor() {
|
|
32
40
|
super(...arguments);
|
|
33
41
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
34
42
|
this.width = '';
|
|
35
43
|
}
|
|
36
44
|
updated(changedProperties) {
|
|
45
|
+
super.updated(changedProperties);
|
|
37
46
|
if (changedProperties.has('width')) {
|
|
38
47
|
const w = this.width;
|
|
39
48
|
// Sections constrain the body's max-width rather than the host's
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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,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;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,2DAA2D;YAC3D,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;YAC3C,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC3C,CAAC;QACF,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,6BAA6B,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;;AAvBe,gCAAM,GAAG,2BAA2B,AAA9B,CAA+B;AAIrD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;wDAC/B;AALC,yBAAyB;IADrC,aAAa,CAAC,gCAAgC,CAAC;GACnC,yBAAyB,CAyBrC"}
|
|
@@ -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,yBAmHvC,CAAC"}
|
|
@@ -9,10 +9,18 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
9
9
|
|
|
10
10
|
/* # Host */
|
|
11
11
|
|
|
12
|
-
/* No own container-type: page-sections read the outer layout-container
|
|
13
|
-
(set by nldd-page / nldd-card). @media is the fallback for contexts
|
|
14
|
-
without a layout-container. */
|
|
15
12
|
:host {
|
|
13
|
+
container-type: inline-size;
|
|
14
|
+
/* Block-padding overrides from PageSectionMixin; 'initial' lets the
|
|
15
|
+
block fall back to the responsive default until the mixin sets one. */
|
|
16
|
+
--_padding-top: initial;
|
|
17
|
+
--_padding-bottom: initial;
|
|
18
|
+
--_sm-padding-top: initial;
|
|
19
|
+
--_sm-padding-bottom: initial;
|
|
20
|
+
--_md-padding-top: initial;
|
|
21
|
+
--_md-padding-bottom: initial;
|
|
22
|
+
--_lg-padding-top: initial;
|
|
23
|
+
--_lg-padding-bottom: initial;
|
|
16
24
|
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
17
25
|
|
|
18
26
|
display: flex;
|
|
@@ -39,34 +47,23 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
39
47
|
flex-direction: column;
|
|
40
48
|
align-items: center;
|
|
41
49
|
|
|
42
|
-
@media (max-width: ${smMax}) {
|
|
43
|
-
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
44
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
45
|
-
}
|
|
46
50
|
|
|
47
|
-
@
|
|
48
|
-
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
49
|
-
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@media (min-width: ${lgMin}) {
|
|
53
|
-
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
54
|
-
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@container layout-container (max-width: ${smMax}) {
|
|
51
|
+
@container (max-width: ${smMax}) {
|
|
58
52
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
59
|
-
padding-
|
|
53
|
+
padding-top: var(--_sm-padding-top, var(--_padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
54
|
+
padding-bottom: var(--_sm-padding-bottom, var(--_padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
60
55
|
}
|
|
61
56
|
|
|
62
|
-
@container
|
|
57
|
+
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
63
58
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
64
|
-
padding-
|
|
59
|
+
padding-top: var(--_md-padding-top, var(--_padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
60
|
+
padding-bottom: var(--_md-padding-bottom, var(--_padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
65
61
|
}
|
|
66
62
|
|
|
67
|
-
@container
|
|
63
|
+
@container (min-width: ${lgMin}) {
|
|
68
64
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
69
|
-
padding-
|
|
65
|
+
padding-top: var(--_lg-padding-top, var(--_padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
66
|
+
padding-bottom: var(--_lg-padding-bottom, var(--_padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
70
67
|
}
|
|
71
68
|
}
|
|
72
69
|
|
|
@@ -79,27 +76,15 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
79
76
|
max-width: var(--_max-width);
|
|
80
77
|
flex-direction: column;
|
|
81
78
|
|
|
82
|
-
@
|
|
83
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
87
|
-
gap: var(--semantics-page-sections-md-gap);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@media (min-width: ${lgMin}) {
|
|
91
|
-
gap: var(--semantics-page-sections-lg-gap);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@container layout-container (max-width: ${smMax}) {
|
|
79
|
+
@container (max-width: ${smMax}) {
|
|
95
80
|
gap: var(--semantics-page-sections-sm-gap);
|
|
96
81
|
}
|
|
97
82
|
|
|
98
|
-
@container
|
|
83
|
+
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
99
84
|
gap: var(--semantics-page-sections-md-gap);
|
|
100
85
|
}
|
|
101
86
|
|
|
102
|
-
@container
|
|
87
|
+
@container (min-width: ${lgMin}) {
|
|
103
88
|
gap: var(--semantics-page-sections-lg-gap);
|
|
104
89
|
}
|
|
105
90
|
}
|
|
@@ -108,27 +93,15 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
108
93
|
display: flex;
|
|
109
94
|
flex-wrap: wrap;
|
|
110
95
|
|
|
111
|
-
@
|
|
112
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
116
|
-
gap: var(--semantics-page-sections-md-gap);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@media (min-width: ${lgMin}) {
|
|
120
|
-
gap: var(--semantics-page-sections-lg-gap);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
@container layout-container (max-width: ${smMax}) {
|
|
96
|
+
@container (max-width: ${smMax}) {
|
|
124
97
|
gap: var(--semantics-page-sections-sm-gap);
|
|
125
98
|
}
|
|
126
99
|
|
|
127
|
-
@container
|
|
100
|
+
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
128
101
|
gap: var(--semantics-page-sections-md-gap);
|
|
129
102
|
}
|
|
130
103
|
|
|
131
|
-
@container
|
|
104
|
+
@container (min-width: ${lgMin}) {
|
|
132
105
|
gap: var(--semantics-page-sections-lg-gap);
|
|
133
106
|
}
|
|
134
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,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,2BAA2B,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,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,2BAA2B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4CnB,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;2BAM/B,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;2BASL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;CAkB/B,CAAC"}
|
|
@@ -13,12 +13,36 @@
|
|
|
13
13
|
* @slot right - Right column (2/3)
|
|
14
14
|
* @slot footer - Content below the columns
|
|
15
15
|
*
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface).
|
|
17
|
+
* @attr {'inherit'|'light'|'dark'|'inverted'} [scheme] - Color scheme ('inherit' default; 'inverted' = opposite of the surrounding page scheme).
|
|
16
18
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the
|
|
17
19
|
* section spans the full available width. Any CSS
|
|
18
20
|
* length (e.g. '480px') overrides the default max-width.
|
|
21
|
+
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
22
|
+
* @attr {string} [padding-block] - Block (top and bottom) padding override (token 0-96; '0' strips it).
|
|
23
|
+
* @attr {string} [padding-top] - Top padding override.
|
|
24
|
+
* @attr {string} [padding-bottom] - Bottom padding override.
|
|
25
|
+
* @attr {string} [sm-padding-block] - Responsive block padding (sm/md/lg, also per edge: {sm,md,lg}-padding-{top,bottom}).
|
|
19
26
|
*/
|
|
20
27
|
import { LitElement } from 'lit';
|
|
21
|
-
|
|
28
|
+
declare const NLDDOneThirdTwoThirdsSection_base: typeof LitElement & (new (...args: any[]) => LitElement & {
|
|
29
|
+
background: import("../../../../utilities/page-section-mixin.js").PageSectionBackground;
|
|
30
|
+
scheme: import("../../../../utilities/page-section-mixin.js").PageSectionScheme;
|
|
31
|
+
paddingBlock?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
32
|
+
paddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
33
|
+
paddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
34
|
+
smPaddingBlock?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
35
|
+
smPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
36
|
+
smPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
37
|
+
mdPaddingBlock?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
38
|
+
mdPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
39
|
+
mdPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
40
|
+
lgPaddingBlock?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
41
|
+
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
42
|
+
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
43
|
+
height?: string;
|
|
44
|
+
});
|
|
45
|
+
export declare class NLDDOneThirdTwoThirdsSection extends NLDDOneThirdTwoThirdsSection_base {
|
|
22
46
|
static styles: import("lit").CSSResult;
|
|
23
47
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
24
48
|
width: string;
|
|
@@ -30,4 +54,5 @@ declare global {
|
|
|
30
54
|
'nldd-one-third-two-thirds-section': NLDDOneThirdTwoThirdsSection;
|
|
31
55
|
}
|
|
32
56
|
}
|
|
57
|
+
export {};
|
|
33
58
|
//# sourceMappingURL=one-third-two-thirds-section.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;AAMjC,qBACa,4BAA6B,SAAQ,iCAA4B;IAC7E,OAAgB,MAAM,0BAAkC;IAExD,qEAAqE;IAErE,KAAK,SAAM;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAetD,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mCAAmC,EAAE,4BAA4B,CAAC;KAClE;CACD"}
|
|
@@ -19,21 +19,30 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
19
19
|
* @slot right - Right column (2/3)
|
|
20
20
|
* @slot footer - Content below the columns
|
|
21
21
|
*
|
|
22
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface).
|
|
23
|
+
* @attr {'inherit'|'light'|'dark'|'inverted'} [scheme] - Color scheme ('inherit' default; 'inverted' = opposite of the surrounding page scheme).
|
|
22
24
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the
|
|
23
25
|
* section spans the full available width. Any CSS
|
|
24
26
|
* length (e.g. '480px') overrides the default max-width.
|
|
27
|
+
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
28
|
+
* @attr {string} [padding-block] - Block (top and bottom) padding override (token 0-96; '0' strips it).
|
|
29
|
+
* @attr {string} [padding-top] - Top padding override.
|
|
30
|
+
* @attr {string} [padding-bottom] - Bottom padding override.
|
|
31
|
+
* @attr {string} [sm-padding-block] - Responsive block padding (sm/md/lg, also per edge: {sm,md,lg}-padding-{top,bottom}).
|
|
25
32
|
*/
|
|
26
33
|
import { LitElement } from 'lit';
|
|
27
34
|
import { customElement, property } from 'lit/decorators.js';
|
|
35
|
+
import { PageSectionMixin } from '../../../../utilities/page-section-mixin.js';
|
|
28
36
|
import { oneThirdTwoThirdsSectionStyles } from './one-third-two-thirds-section.styles.js';
|
|
29
37
|
import { oneThirdTwoThirdsSectionTemplate } from './one-third-two-thirds-section.template.js';
|
|
30
|
-
let NLDDOneThirdTwoThirdsSection = class NLDDOneThirdTwoThirdsSection extends LitElement {
|
|
38
|
+
let NLDDOneThirdTwoThirdsSection = class NLDDOneThirdTwoThirdsSection extends PageSectionMixin(LitElement) {
|
|
31
39
|
constructor() {
|
|
32
40
|
super(...arguments);
|
|
33
41
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
34
42
|
this.width = '';
|
|
35
43
|
}
|
|
36
44
|
updated(changedProperties) {
|
|
45
|
+
super.updated(changedProperties);
|
|
37
46
|
if (changedProperties.has('width')) {
|
|
38
47
|
const w = this.width;
|
|
39
48
|
// Sections constrain the body's max-width rather than the host's
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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,2DAA2D;YAC3D,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;YAC3C,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC3C,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,8BAA8B,yBA4H1C,CAAC"}
|
|
@@ -9,10 +9,18 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
9
9
|
|
|
10
10
|
/* # Host */
|
|
11
11
|
|
|
12
|
-
/* No own container-type: page-sections read the outer layout-container
|
|
13
|
-
(set by nldd-page / nldd-card). @media is the fallback for contexts
|
|
14
|
-
without a layout-container. */
|
|
15
12
|
:host {
|
|
13
|
+
container-type: inline-size;
|
|
14
|
+
/* Block-padding overrides from PageSectionMixin; 'initial' lets the
|
|
15
|
+
block fall back to the responsive default until the mixin sets one. */
|
|
16
|
+
--_padding-top: initial;
|
|
17
|
+
--_padding-bottom: initial;
|
|
18
|
+
--_sm-padding-top: initial;
|
|
19
|
+
--_sm-padding-bottom: initial;
|
|
20
|
+
--_md-padding-top: initial;
|
|
21
|
+
--_md-padding-bottom: initial;
|
|
22
|
+
--_lg-padding-top: initial;
|
|
23
|
+
--_lg-padding-bottom: initial;
|
|
16
24
|
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
17
25
|
|
|
18
26
|
display: flex;
|
|
@@ -39,34 +47,23 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
39
47
|
flex-direction: column;
|
|
40
48
|
align-items: center;
|
|
41
49
|
|
|
42
|
-
@media (max-width: ${smMax}) {
|
|
43
|
-
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
44
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
48
|
-
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
49
|
-
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@media (min-width: ${lgMin}) {
|
|
53
|
-
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
54
|
-
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
55
|
-
}
|
|
56
50
|
|
|
57
|
-
@container
|
|
51
|
+
@container (max-width: ${smMax}) {
|
|
58
52
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
59
|
-
padding-
|
|
53
|
+
padding-top: var(--_sm-padding-top, var(--_padding-top, var(--semantics-page-sections-sm-margin-block)));
|
|
54
|
+
padding-bottom: var(--_sm-padding-bottom, var(--_padding-bottom, var(--semantics-page-sections-sm-margin-block)));
|
|
60
55
|
}
|
|
61
56
|
|
|
62
|
-
@container
|
|
57
|
+
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
63
58
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
64
|
-
padding-
|
|
59
|
+
padding-top: var(--_md-padding-top, var(--_padding-top, var(--semantics-page-sections-md-margin-block)));
|
|
60
|
+
padding-bottom: var(--_md-padding-bottom, var(--_padding-bottom, var(--semantics-page-sections-md-margin-block)));
|
|
65
61
|
}
|
|
66
62
|
|
|
67
|
-
@container
|
|
63
|
+
@container (min-width: ${lgMin}) {
|
|
68
64
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
69
|
-
padding-
|
|
65
|
+
padding-top: var(--_lg-padding-top, var(--_padding-top, var(--semantics-page-sections-lg-margin-block)));
|
|
66
|
+
padding-bottom: var(--_lg-padding-bottom, var(--_padding-bottom, var(--semantics-page-sections-lg-margin-block)));
|
|
70
67
|
}
|
|
71
68
|
}
|
|
72
69
|
|
|
@@ -79,27 +76,15 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
79
76
|
max-width: var(--_max-width);
|
|
80
77
|
flex-direction: column;
|
|
81
78
|
|
|
82
|
-
@
|
|
83
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@media (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
87
|
-
gap: var(--semantics-page-sections-md-gap);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
@media (min-width: ${lgMin}) {
|
|
91
|
-
gap: var(--semantics-page-sections-lg-gap);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
@container layout-container (max-width: ${smMax}) {
|
|
79
|
+
@container (max-width: ${smMax}) {
|
|
95
80
|
gap: var(--semantics-page-sections-sm-gap);
|
|
96
81
|
}
|
|
97
82
|
|
|
98
|
-
@container
|
|
83
|
+
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
99
84
|
gap: var(--semantics-page-sections-md-gap);
|
|
100
85
|
}
|
|
101
86
|
|
|
102
|
-
@container
|
|
87
|
+
@container (min-width: ${lgMin}) {
|
|
103
88
|
gap: var(--semantics-page-sections-lg-gap);
|
|
104
89
|
}
|
|
105
90
|
}
|
|
@@ -108,27 +93,24 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
108
93
|
display: flex;
|
|
109
94
|
flex-wrap: wrap;
|
|
110
95
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
@
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
@media (min-width: ${lgMin}) {
|
|
120
|
-
gap: var(--semantics-page-sections-lg-gap);
|
|
96
|
+
/* Below ~768px the 2/3 column would shrink under 400px and read as
|
|
97
|
+
two near-equal columns; stack to a single column instead. nowrap
|
|
98
|
+
stops the column-direction wrap container from stretching the
|
|
99
|
+
shorter column to fill height. */
|
|
100
|
+
@container (max-width: 768px) {
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
flex-wrap: nowrap;
|
|
121
103
|
}
|
|
122
104
|
|
|
123
|
-
@container
|
|
105
|
+
@container (max-width: ${smMax}) {
|
|
124
106
|
gap: var(--semantics-page-sections-sm-gap);
|
|
125
107
|
}
|
|
126
108
|
|
|
127
|
-
@container
|
|
109
|
+
@container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
|
|
128
110
|
gap: var(--semantics-page-sections-md-gap);
|
|
129
111
|
}
|
|
130
112
|
|
|
131
|
-
@container
|
|
113
|
+
@container (min-width: ${lgMin}) {
|
|
132
114
|
gap: var(--semantics-page-sections-lg-gap);
|
|
133
115
|
}
|
|
134
116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4CtB,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;2BAM/B,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;2BAkBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;CAkB/B,CAAC"}
|