@nldd/design-system 0.8.55 → 0.8.57
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 +15 -0
- package/dist/components/actions/button/button.d.ts +13 -4
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +23 -3
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +269 -87
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.d.ts.map +1 -1
- package/dist/components/actions/button/button.template.js +33 -17
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.d.ts +2 -2
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +3 -1
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.styles.js +28 -4
- package/dist/components/actions/button-bar/button-bar.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +14 -4
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +23 -3
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +127 -63
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +4 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +9 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +27 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +30 -20
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +73 -49
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.styles.js +39 -3
- package/dist/components/actions/split-button/split-button.styles.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +6 -1
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +91 -14
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +299 -103
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts +2 -0
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +109 -41
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts +7 -4
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +22 -69
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.styles.js +4 -0
- package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
- package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
- package/dist/components/content/icon/icon-aliases.js +48 -2
- package/dist/components/content/icon/icon-aliases.js.map +1 -1
- package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
- package/dist/components/content/icon/icon-registry.js +37 -2
- package/dist/components/content/icon/icon-registry.js.map +1 -1
- package/dist/components/content/image/image.d.ts +1 -1
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.i18n.d.ts +1 -1
- package/dist/components/content/image/image.i18n.js +1 -1
- package/dist/components/content/image/image.i18n.js.map +1 -1
- package/dist/components/content/image/image.js +7 -2
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/image.styles.d.ts.map +1 -1
- package/dist/components/content/image/image.styles.js +21 -30
- package/dist/components/content/image/image.styles.js.map +1 -1
- package/dist/components/content/image/image.template.d.ts.map +1 -1
- package/dist/components/content/image/image.template.js +4 -11
- package/dist/components/content/image/image.template.js.map +1 -1
- package/dist/components/content/image/lqip-encoder-element.js +1 -1
- package/dist/components/{index-C3JellW2.js → index-DHU98C6V.js} +1561 -783
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +31 -18
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +5 -4
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +4 -3
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.styles.js +59 -9
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js +3 -3
- package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.styles.js +16 -5
- package/dist/components/inputs/stepper/stepper.styles.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.template.js +2 -0
- package/dist/components/inputs/stepper/stepper.template.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +4 -3
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +3 -2
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +53 -17
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +3 -4
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/token/token.styles.d.ts.map +1 -1
- package/dist/components/inputs/token/token.styles.js +24 -7
- package/dist/components/inputs/token/token.styles.js.map +1 -1
- package/dist/components/inputs/token/token.template.d.ts.map +1 -1
- package/dist/components/inputs/token/token.template.js +1 -0
- package/dist/components/inputs/token/token.template.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +0 -5
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +5 -0
- 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-half-one-half-section/one-half-one-half-section.template.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js +7 -3
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +5 -0
- 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/one-third-two-thirds-section/one-third-two-thirds-section.template.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js +7 -3
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +0 -5
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +5 -0
- 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/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js +7 -3
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.styles.js +7 -0
- package/dist/components/lists-and-tables/table/table.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +2 -22
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts +0 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js +0 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.i18n.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +2 -52
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js +1 -47
- package/dist/components/navigation/breadcrumbs/breadcrumbs.styles.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -17
- package/dist/components/navigation/breadcrumbs/breadcrumbs.template.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 +39 -19
- 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 +4 -0
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +35 -15
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.template.js +2 -0
- package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +11 -4
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +17 -2
- package/dist/components/navigation/tab-bar/tab-bar.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 +74 -18
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +4 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/{prism-python-QiimuE8j.js → prism-python-9EoInm_N.js} +1 -1
- package/dist/components/{prism-rust-D4vfxUpk.js → prism-rust-Chzr6sBk.js} +1 -1
- package/dist/components/{prism-typescript-Dy2F4cF2.js → prism-typescript-DPJmu--x.js} +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +2 -2
- package/dist/css/rich-text.css +6 -1
- package/dist/css/settings.css +139 -35
- package/dist/utilities/page-section-mixin.d.ts +1 -0
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +9 -0
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @element nldd-toggle-button
|
|
8
8
|
*
|
|
9
9
|
* @attr {'button' | 'checkbox' | 'radio'} type - Underlying element (default: 'button')
|
|
10
|
-
* @attr {'xs' | 'sm' | 'md'}
|
|
10
|
+
* @attr {'xs' | 'sm' | 'md' | 'lg'} size - Button size (default: 'md')
|
|
11
11
|
* @attr {boolean} selected - Selected state
|
|
12
12
|
* @attr {boolean} disabled - Disabled state
|
|
13
13
|
* @attr {string} value - Value for form submission (checkbox/radio)
|
|
@@ -45,7 +45,8 @@ let NLDDToggleButton = class NLDDToggleButton extends LitElement {
|
|
|
45
45
|
this.name = '';
|
|
46
46
|
/** Button text. */
|
|
47
47
|
this.text = '';
|
|
48
|
-
/** Icon name for the nldd-icon element. When not set, the icon slot is used
|
|
48
|
+
/** Icon name for the nldd-icon element. When not set, the icon slot is used; the
|
|
49
|
+
* icon and icon-and-text variants show a placeholder icon when neither is provided. */
|
|
49
50
|
this.icon = '';
|
|
50
51
|
this.variant = '';
|
|
51
52
|
this.accessibleLabel = '';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button.js","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,8BAA8B,CAAC;AAO/B,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QAKE,eAAU,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC;QAEpC,qBAAgB,GAAG,KAAK,CAAC;QAGjC,SAAI,GAAqB,QAAQ,CAAC;QAGlC,SAAI,GAAqB,IAAI,CAAC;QAG9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,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;yDACrC;AAxCT,gBAAgB;IAD5B,aAAa,CAAC,oBAAoB,CAAC;GACvB,gBAAgB,CAwI5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"toggle-button.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,yBAoM9B,CAAC"}
|
|
@@ -10,9 +10,15 @@ export const toggleButtonStyles = css `
|
|
|
10
10
|
--_min-size: var(--semantics-controls-md-min-size);
|
|
11
11
|
--_padding: var(--semantics-controls-md-block-padding) var(--semantics-controls-md-inline-padding);
|
|
12
12
|
--_gap: var(--semantics-buttons-md-gap);
|
|
13
|
-
--_font: var(--semantics-buttons-md-font);
|
|
13
|
+
--_font: var(--semantics-buttons-md-primary-text-font);
|
|
14
14
|
--_icon-size: var(--semantics-buttons-md-icon-size);
|
|
15
15
|
--_icon-only-icon-size: var(--semantics-buttons-md-icon-only-icon-size);
|
|
16
|
+
--_highlight-border-color: var(--semantics-buttons-neutral-tinted-highlight-border-color);
|
|
17
|
+
--_is-hovered-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-hovered-highlight-border-color);
|
|
18
|
+
--_is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-active-highlight-border-color);
|
|
19
|
+
--_is-selected-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-highlight-border-color);
|
|
20
|
+
--_is-selected-is-hovered-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-highlight-border-color);
|
|
21
|
+
--_is-selected-is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-highlight-border-color);
|
|
16
22
|
|
|
17
23
|
${inheritedTextReset}
|
|
18
24
|
display: inline-block;
|
|
@@ -24,24 +30,35 @@ export const toggleButtonStyles = css `
|
|
|
24
30
|
display: none;
|
|
25
31
|
}
|
|
26
32
|
|
|
33
|
+
:host([size="xs"]) {
|
|
34
|
+
--_corner-radius: var(--semantics-controls-xs-corner-radius);
|
|
35
|
+
--_min-size: var(--semantics-controls-xs-min-size);
|
|
36
|
+
--_padding: var(--semantics-controls-xs-block-padding) var(--semantics-controls-xs-inline-padding);
|
|
37
|
+
--_gap: var(--semantics-buttons-xs-gap);
|
|
38
|
+
--_font: var(--semantics-buttons-xs-primary-text-font);
|
|
39
|
+
--_icon-size: var(--semantics-buttons-xs-icon-size);
|
|
40
|
+
--_icon-only-icon-size: var(--semantics-buttons-xs-icon-only-icon-size);
|
|
41
|
+
}
|
|
42
|
+
|
|
27
43
|
:host([size="sm"]) {
|
|
28
44
|
--_corner-radius: var(--semantics-controls-sm-corner-radius);
|
|
29
45
|
--_min-size: var(--semantics-controls-sm-min-size);
|
|
30
46
|
--_padding: var(--semantics-controls-sm-block-padding) var(--semantics-controls-sm-inline-padding);
|
|
31
47
|
--_gap: var(--semantics-buttons-sm-gap);
|
|
32
|
-
--_font: var(--semantics-buttons-sm-font);
|
|
48
|
+
--_font: var(--semantics-buttons-sm-primary-text-font);
|
|
33
49
|
--_icon-size: var(--semantics-buttons-sm-icon-size);
|
|
34
50
|
--_icon-only-icon-size: var(--semantics-buttons-sm-icon-only-icon-size);
|
|
35
51
|
}
|
|
36
52
|
|
|
37
|
-
:host([size="
|
|
38
|
-
--_corner-radius: var(--semantics-controls-
|
|
39
|
-
--_min-size: var(--semantics-controls-
|
|
40
|
-
--_padding: var(--semantics-controls-
|
|
41
|
-
--_gap: var(--semantics-buttons-
|
|
42
|
-
--_font: var(--semantics-buttons-
|
|
43
|
-
--_icon-size: var(--semantics-buttons-
|
|
44
|
-
--_icon-only-icon-size: var(--
|
|
53
|
+
:host([size="lg"]) {
|
|
54
|
+
--_corner-radius: var(--semantics-controls-lg-corner-radius);
|
|
55
|
+
--_min-size: var(--semantics-controls-lg-min-size);
|
|
56
|
+
--_padding: var(--semantics-controls-lg-block-padding) var(--semantics-controls-lg-inline-padding);
|
|
57
|
+
--_gap: var(--semantics-buttons-lg-gap);
|
|
58
|
+
--_font: var(--semantics-buttons-lg-primary-text-font);
|
|
59
|
+
--_icon-size: var(--semantics-buttons-lg-icon-size);
|
|
60
|
+
--_icon-only-icon-size: var(--primitives-space-28);
|
|
61
|
+
--_stacked-text-font: var(--primitives-font-body-xxs-medium-flat);
|
|
45
62
|
}
|
|
46
63
|
|
|
47
64
|
:host([disabled]) {
|
|
@@ -61,13 +78,14 @@ export const toggleButtonStyles = css `
|
|
|
61
78
|
border-radius: var(--_corner-radius);
|
|
62
79
|
background: none;
|
|
63
80
|
background-color: var(--semantics-buttons-neutral-tinted-background-color);
|
|
81
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_highlight-border-color);
|
|
64
82
|
width: var(--_min-size);
|
|
65
83
|
min-height: var(--_min-size);
|
|
66
84
|
padding: 0;
|
|
67
85
|
gap: var(--_gap);
|
|
68
86
|
align-items: center;
|
|
69
87
|
justify-content: center;
|
|
70
|
-
color: var(--semantics-buttons-neutral-tinted-content-color);
|
|
88
|
+
color: var(--semantics-buttons-neutral-tinted-primary-content-color);
|
|
71
89
|
font: var(--_font);
|
|
72
90
|
white-space: nowrap;
|
|
73
91
|
text-decoration: none;
|
|
@@ -82,41 +100,46 @@ export const toggleButtonStyles = css `
|
|
|
82
100
|
@media (hover: hover) {
|
|
83
101
|
.toggle-button:hover,
|
|
84
102
|
.toggle-button:has(.toggle-button__input:hover) {
|
|
103
|
+
--_highlight-border-color: var(--_is-hovered-highlight-border-color);
|
|
85
104
|
background-color: var(--semantics-buttons-neutral-tinted-is-hovered-background-color);
|
|
86
|
-
color: var(--semantics-buttons-neutral-tinted-is-hovered-content-color);
|
|
105
|
+
color: var(--semantics-buttons-neutral-tinted-is-hovered-primary-content-color);
|
|
87
106
|
}
|
|
88
107
|
}
|
|
89
108
|
|
|
90
109
|
.toggle-button:active,
|
|
91
110
|
.toggle-button:has(.toggle-button__input:active) {
|
|
111
|
+
--_highlight-border-color: var(--_is-active-highlight-border-color);
|
|
92
112
|
background-color: var(--semantics-buttons-neutral-tinted-is-active-background-color);
|
|
93
|
-
color: var(--semantics-buttons-neutral-tinted-is-active-content-color);
|
|
113
|
+
color: var(--semantics-buttons-neutral-tinted-is-active-primary-content-color);
|
|
94
114
|
}
|
|
95
115
|
|
|
96
116
|
:host([selected]) .toggle-button {
|
|
117
|
+
--_highlight-border-color: var(--_is-selected-highlight-border-color);
|
|
97
118
|
background-color: var(--semantics-buttons-neutral-tinted-is-selected-background-color);
|
|
98
|
-
color: var(--semantics-buttons-neutral-tinted-is-selected-content-color);
|
|
119
|
+
color: var(--semantics-buttons-neutral-tinted-is-selected-primary-content-color);
|
|
99
120
|
}
|
|
100
121
|
|
|
101
122
|
@media (hover: hover) {
|
|
102
123
|
:host([selected]) .toggle-button:hover,
|
|
103
124
|
:host([selected]) .toggle-button:has(.toggle-button__input:hover) {
|
|
125
|
+
--_highlight-border-color: var(--_is-selected-is-hovered-highlight-border-color);
|
|
104
126
|
background-color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-background-color);
|
|
105
|
-
color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-content-color);
|
|
127
|
+
color: var(--semantics-buttons-neutral-tinted-is-selected-is-hovered-primary-content-color);
|
|
106
128
|
}
|
|
107
129
|
}
|
|
108
130
|
|
|
109
131
|
:host([selected]) .toggle-button:active,
|
|
110
132
|
:host([selected]) .toggle-button:has(.toggle-button__input:active) {
|
|
133
|
+
--_highlight-border-color: var(--_is-selected-is-active-highlight-border-color);
|
|
111
134
|
background-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-background-color);
|
|
112
|
-
color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-content-color);
|
|
135
|
+
color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-primary-content-color);
|
|
113
136
|
}
|
|
114
137
|
|
|
115
138
|
.toggle-button:focus-visible,
|
|
116
139
|
.toggle-button:has(.toggle-button__input:focus-visible) {
|
|
117
140
|
outline: var(--semantics-focus-ring-outline);
|
|
118
141
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
119
|
-
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
142
|
+
box-shadow: var(--semantics-focus-ring-box-shadow), inset 0 0 0 var(--primitives-border-width-thin) var(--_highlight-border-color);
|
|
120
143
|
}
|
|
121
144
|
|
|
122
145
|
.toggle-button:focus:not(:focus-visible) {
|
|
@@ -144,6 +167,19 @@ export const toggleButtonStyles = css `
|
|
|
144
167
|
height: var(--_icon-size);
|
|
145
168
|
}
|
|
146
169
|
|
|
170
|
+
:host([size="lg"][variant="icon-and-text"]) .toggle-button,
|
|
171
|
+
:host([size="lg"][variant=""]) .toggle-button:has(.toggle-button__text):has(.toggle-button__icon) {
|
|
172
|
+
width: auto;
|
|
173
|
+
padding: var(--primitives-space-8);
|
|
174
|
+
gap: var(--primitives-space-2);
|
|
175
|
+
flex-direction: column;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:host([size="lg"][variant="icon-and-text"]) .toggle-button__text,
|
|
179
|
+
:host([size="lg"][variant=""]) .toggle-button:has(.toggle-button__icon) .toggle-button__text {
|
|
180
|
+
font: var(--_stacked-text-font);
|
|
181
|
+
}
|
|
182
|
+
|
|
147
183
|
/* variant="text" keeps the icon slot in shadow DOM (so slotchange still
|
|
148
184
|
fires after a future variant change) but hides any rendered icon. */
|
|
149
185
|
:host([variant="text"]) .toggle-button__icon,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"toggle-button.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;IAoBjC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgLrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,kCAAkC,CAAC;AAG1C,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,gBAAgB,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"toggle-button.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,kCAAkC,CAAC;AAG1C,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,gBAAgB,GAAG,cAAc,CAiFhF"}
|
|
@@ -10,11 +10,10 @@ export function toggleButtonTemplate(component) {
|
|
|
10
10
|
* in the DOM via :has(.toggle-button__text) in the stylesheet. */
|
|
11
11
|
const showText = component.variant !== 'icon' && !!component.text;
|
|
12
12
|
const showIcon = component.variant !== 'text' && component._hasIcon;
|
|
13
|
-
/*
|
|
14
|
-
*
|
|
15
|
-
* no text to fall back on. */
|
|
13
|
+
/* The icon and icon-and-text variants reserve an icon area; show a placeholder
|
|
14
|
+
* whenever the consumer provided no icon (attribute or slot). */
|
|
16
15
|
const showPlaceholder = component.variant === 'icon'
|
|
17
|
-
||
|
|
16
|
+
|| component.variant === 'icon-and-text';
|
|
18
17
|
/* When variant="icon" hides a provided text, fall the text back to
|
|
19
18
|
* aria-label so screen readers still announce the button. Explicit
|
|
20
19
|
* accessible-label always wins. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-button.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAEpD,OAAO,kCAAkC,CAAC;AAG1C,MAAM,UAAU,oBAAoB,CAAC,SAA2B;IAC/D;;;;;;sEAMkE;IAClE,MAAM,QAAQ,GAAG,SAAS,CAAC,OAAO,KAAK,MAAM,IAAI,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC;IAClE,MAAM,QAAQ,GAAG,SAAS,CAAC,OAAO,KAAK,MAAM,IAAI,SAAS,CAAC,QAAQ,CAAC;IAEpE
|
|
1
|
+
{"version":3,"file":"toggle-button.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/toggle-button/toggle-button.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAEpD,OAAO,kCAAkC,CAAC;AAG1C,MAAM,UAAU,oB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,IAAI,SAAS,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QACjE,MAAM,GAAG,IAAI,CAAA;;;YAGH,SAAS,CAAC,IAAI;gBACV,SAAS,CAAC,QAAQ;iBACjB,SAAS,CAAC,QAAQ;YACvB,SAAS,CAAC,IAAI,IAAI,OAAO;aACxB,SAAS,CAAC,KAAK;kBACV,SAAS;eACZ,SAAS,CAAC,kBAAkB;;MAErC,IAAI;MACJ,WAAW;;GAEd,CAAC;IACH,CAAC;SAAM,CAAC;QACP,MAAM,GAAG,IAAI,CAAA;;;mBAGI,SAAS,CAAC,QAAQ;gBACrB,SAAS,CAAC,QAAQ;iBACjB,SAAS;aACb,SAAS,CAAC,kBAAkB;;MAEnC,IAAI;MACJ,WAAW;;GAEd,CAAC;IACH,CAAC;IAED,IAAI,WAAW,EAAE,CAAC;QACjB,OAAO,IAAI,CAAA,sBAAsB,WAAW,IAAI,MAAM,iBAAiB,CAAC;IACzE,CAAC;IACD,OAAO,MAAM,CAAC;AACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/token/token.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"token.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/token/token.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,yBAuIvB,CAAC"}
|
|
@@ -6,6 +6,8 @@ export const tokenStyles = css `
|
|
|
6
6
|
/* # Host */
|
|
7
7
|
|
|
8
8
|
:host {
|
|
9
|
+
--_highlight-border-color: var(--semantics-buttons-neutral-tinted-highlight-border-color);
|
|
10
|
+
|
|
9
11
|
${inheritedTextReset}
|
|
10
12
|
display: inline-block;
|
|
11
13
|
user-select: none;
|
|
@@ -32,15 +34,25 @@ export const tokenStyles = css `
|
|
|
32
34
|
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
33
35
|
background: none;
|
|
34
36
|
background-color: var(--semantics-buttons-neutral-tinted-background-color);
|
|
37
|
+
position: relative;
|
|
35
38
|
height: var(--semantics-controls-sm-min-size);
|
|
36
39
|
padding: 0 var(--primitives-space-6);
|
|
37
40
|
align-items: center;
|
|
38
|
-
color: var(--semantics-buttons-neutral-tinted-content-color);
|
|
39
|
-
font: var(--semantics-buttons-sm-font);
|
|
41
|
+
color: var(--semantics-buttons-neutral-tinted-primary-content-color);
|
|
42
|
+
font: var(--semantics-buttons-sm-primary-text-font);
|
|
40
43
|
transition: background-color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default);
|
|
41
44
|
appearance: none;
|
|
42
45
|
}
|
|
43
46
|
|
|
47
|
+
.token::after {
|
|
48
|
+
content: '';
|
|
49
|
+
position: absolute;
|
|
50
|
+
inset: 0;
|
|
51
|
+
border-radius: inherit;
|
|
52
|
+
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_highlight-border-color);
|
|
53
|
+
pointer-events: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
44
56
|
@media (prefers-reduced-motion: reduce) {
|
|
45
57
|
.token {
|
|
46
58
|
transition: none;
|
|
@@ -49,31 +61,36 @@ export const tokenStyles = css `
|
|
|
49
61
|
|
|
50
62
|
@media (hover: hover) {
|
|
51
63
|
:host([control="menu"]) .token:hover:not(:disabled) {
|
|
64
|
+
--_highlight-border-color: var(--semantics-buttons-neutral-tinted-is-hovered-highlight-border-color);
|
|
52
65
|
background-color: var(--semantics-buttons-neutral-tinted-is-hovered-background-color);
|
|
53
|
-
color: var(--semantics-buttons-neutral-tinted-is-hovered-content-color);
|
|
66
|
+
color: var(--semantics-buttons-neutral-tinted-is-hovered-primary-content-color);
|
|
54
67
|
}
|
|
55
68
|
}
|
|
56
69
|
|
|
57
70
|
:host([control="menu"]) .token:active:not(:disabled) {
|
|
71
|
+
--_highlight-border-color: var(--semantics-buttons-neutral-tinted-is-active-highlight-border-color);
|
|
58
72
|
background-color: var(--semantics-buttons-neutral-tinted-is-active-background-color);
|
|
59
|
-
color: var(--semantics-buttons-neutral-tinted-is-active-content-color);
|
|
73
|
+
color: var(--semantics-buttons-neutral-tinted-is-active-primary-content-color);
|
|
60
74
|
}
|
|
61
75
|
|
|
62
76
|
:host([expanded]) .token {
|
|
77
|
+
--_highlight-border-color: var(--semantics-buttons-neutral-tinted-is-expanded-highlight-border-color);
|
|
63
78
|
background-color: var(--semantics-buttons-neutral-tinted-is-expanded-background-color);
|
|
64
|
-
color: var(--semantics-buttons-neutral-tinted-is-expanded-content-color);
|
|
79
|
+
color: var(--semantics-buttons-neutral-tinted-is-expanded-primary-content-color);
|
|
65
80
|
}
|
|
66
81
|
|
|
67
82
|
@media (hover: hover) {
|
|
68
83
|
:host([expanded]) .token:hover:not(:disabled) {
|
|
84
|
+
--_highlight-border-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-highlight-border-color);
|
|
69
85
|
background-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-background-color);
|
|
70
|
-
color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-content-color);
|
|
86
|
+
color: var(--semantics-buttons-neutral-tinted-is-expanded-is-hovered-primary-content-color);
|
|
71
87
|
}
|
|
72
88
|
}
|
|
73
89
|
|
|
74
90
|
:host([expanded]) .token:active:not(:disabled) {
|
|
91
|
+
--_highlight-border-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-highlight-border-color);
|
|
75
92
|
background-color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-background-color);
|
|
76
|
-
color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-content-color);
|
|
93
|
+
color: var(--semantics-buttons-neutral-tinted-is-expanded-is-active-primary-content-color);
|
|
77
94
|
}
|
|
78
95
|
|
|
79
96
|
:host([control="menu"]) .token:focus-visible {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/token/token.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"token.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/token/token.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;IAQ1B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+HrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/token/token.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"token.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/token/token.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,cAAc,CAqClE"}
|
|
@@ -27,6 +27,7 @@ export function tokenTemplate(component) {
|
|
|
27
27
|
text=${component.dismissText}
|
|
28
28
|
accessible-label=${component.dismissText}
|
|
29
29
|
tooltip-timing="never"
|
|
30
|
+
no-highlight-border
|
|
30
31
|
?disabled=${component.disabled}
|
|
31
32
|
@click=${component._handleDismiss}
|
|
32
33
|
></nldd-icon-button>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/token/token.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAGpD,MAAM,UAAU,aAAa,CAAC,SAAoB;IACjD,IAAI,SAAS,CAAC,OAAO,KAAK,MAAM,EAAE,CAAC;QAClC,OAAO,IAAI,CAAA;;;;gBAIG,SAAS,CAAC,QAAQ;oBACd,SAAS,CAAC,QAAQ;oBAClB,SAAS,CAAC,QAAQ,IAAI,OAAO;aACpC,SAAS,CAAC,gBAAgB;;;;;GAKpC,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAA;;;KAGP,SAAS,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;aAM9B,SAAS,CAAC,WAAW;yBACT,SAAS,CAAC,WAAW
|
|
1
|
+
{"version":3,"file":"token.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/token/token.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAGpD,MAAM,UAAU,aAAa,CAAC,SAAoB;IACjD,IAAI,SAAS,CAAC,OAAO,KAAK,MAAM,EAAE,CAAC;QAClC,OAAO,IAAI,CAAA;;;;gBAIG,SAAS,CAAC,QAAQ;oBACd,SAAS,CAAC,QAAQ;oBAClB,SAAS,CAAC,QAAQ,IAAI,OAAO;aACpC,SAAS,CAAC,gBAAgB;;;;;GAKpC,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAA;;;KAGP,SAAS,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;;;;;;aAM9B,SAAS,CAAC,WAAW;yBACT,SAAS,CAAC,WAAW;;;kBAG5B,SAAS,CAAC,QAAQ;eACrB,SAAS,CAAC,cAAc;;;IAGnC,CAAC,CAAC,CAAC,OAAO;;EAEZ,CAAC;AACH,CAAC"}
|
|
@@ -39,13 +39,13 @@ declare const NLDDFullBleedSection_base: typeof LitElement & (new (...args: any[
|
|
|
39
39
|
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
40
40
|
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
41
41
|
height?: string;
|
|
42
|
+
_onSlotChange(e: Event): void;
|
|
42
43
|
});
|
|
43
44
|
export declare class NLDDFullBleedSection extends NLDDFullBleedSection_base {
|
|
44
45
|
static styles: import("lit").CSSResult;
|
|
45
46
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
46
47
|
width: string;
|
|
47
48
|
updated(changedProperties: Map<string, unknown>): void;
|
|
48
|
-
_onSlotChange(e: Event): void;
|
|
49
49
|
render(): import("lit-html").TemplateResult;
|
|
50
50
|
}
|
|
51
51
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"full-bleed-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;AAMjC,qBACa,oBAAqB,SAAQ,yBAA4B;IACrE,OAAgB,MAAM,0BAA0B;IAEhD,qEAAqE;IAErE,KAAK,SAAM;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAetD,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,yBAAyB,EAAE,oBAAoB,CAAC;KAChD;CACD"}
|
|
@@ -54,11 +54,6 @@ let NLDDFullBleedSection = class NLDDFullBleedSection extends PageSectionMixin(L
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
_onSlotChange(e) {
|
|
58
|
-
const slot = e.target;
|
|
59
|
-
const wrapper = slot.parentElement;
|
|
60
|
-
wrapper.hidden = slot.assignedElements().length === 0;
|
|
61
|
-
}
|
|
62
57
|
render() {
|
|
63
58
|
return fullBleedSectionTemplate(this);
|
|
64
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"full-bleed-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;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,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAGrE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,gBAAgB,CAAC,UAAU,CAAC;IAA/D;;QAGN,qEAAqE;QAErE,UAAK,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"full-bleed-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/full-bleed-section/full-bleed-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;GAu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hC"}
|
|
@@ -41,6 +41,7 @@ declare const NLDDOneHalfOneHalfSection_base: typeof LitElement & (new (...args:
|
|
|
41
41
|
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
42
42
|
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
43
43
|
height?: string;
|
|
44
|
+
_onSlotChange(e: Event): void;
|
|
44
45
|
});
|
|
45
46
|
export declare class NLDDOneHalfOneHalfSection extends NLDDOneHalfOneHalfSection_base {
|
|
46
47
|
static styles: import("lit").CSSResult;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC
|
|
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"}
|
|
@@ -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,yBAwHvC,CAAC"}
|
|
@@ -89,6 +89,11 @@ export const oneHalfOneHalfSectionStyles = css `
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
.one-half-one-half-section__header[hidden],
|
|
93
|
+
.one-half-one-half-section__footer[hidden] {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
92
97
|
.one-half-one-half-section__columns {
|
|
93
98
|
display: flex;
|
|
94
99
|
flex-wrap: wrap;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4CnB,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;2BAM/B,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK
|
|
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;;;;;;;;;;;;;;2BAcL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;CAkB/B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TemplateResult } from 'lit';
|
|
2
2
|
import type { NLDDOneHalfOneHalfSection } from './one-half-one-half-section.js';
|
|
3
|
-
export declare function oneHalfOneHalfSectionTemplate(
|
|
3
|
+
export declare function oneHalfOneHalfSectionTemplate(component: NLDDOneHalfOneHalfSection): TemplateResult;
|
|
4
4
|
//# sourceMappingURL=one-half-one-half-section.template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.template.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAEhF,wBAAgB,6BAA6B,CAAC,
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.template.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAEhF,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,yBAAyB,GAAG,cAAc,CAsBlG"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
-
export function oneHalfOneHalfSectionTemplate(
|
|
2
|
+
export function oneHalfOneHalfSectionTemplate(component) {
|
|
3
3
|
return html `
|
|
4
4
|
<section class="one-half-one-half-section">
|
|
5
5
|
<div class="one-half-one-half-section__body">
|
|
6
|
-
<
|
|
6
|
+
<header class="one-half-one-half-section__header" hidden>
|
|
7
|
+
<slot name="header" @slotchange=${component._onSlotChange}></slot>
|
|
8
|
+
</header>
|
|
7
9
|
<div class="one-half-one-half-section__columns">
|
|
8
10
|
<div class="one-half-one-half-section__left-column">
|
|
9
11
|
<slot></slot>
|
|
@@ -13,7 +15,9 @@ export function oneHalfOneHalfSectionTemplate(_component) {
|
|
|
13
15
|
<slot name="right"></slot>
|
|
14
16
|
</div>
|
|
15
17
|
</div>
|
|
16
|
-
<
|
|
18
|
+
<footer class="one-half-one-half-section__footer" hidden>
|
|
19
|
+
<slot name="footer" @slotchange=${component._onSlotChange}></slot>
|
|
20
|
+
</footer>
|
|
17
21
|
</div>
|
|
18
22
|
</section>
|
|
19
23
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-half-one-half-section.template.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,6BAA6B,CAAC,
|
|
1
|
+
{"version":3,"file":"one-half-one-half-section.template.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,6BAA6B,CAAC,SAAoC;IACjF,OAAO,IAAI,CAAA;;;;uCAI2B,SAAS,CAAC,aAAa;;;;;;;;;;;;uCAYvB,SAAS,CAAC,aAAa;;;;EAI5D,CAAC;AACH,CAAC"}
|
|
@@ -41,6 +41,7 @@ declare const NLDDOneThirdTwoThirdsSection_base: typeof LitElement & (new (...ar
|
|
|
41
41
|
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
42
42
|
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
43
43
|
height?: string;
|
|
44
|
+
_onSlotChange(e: Event): void;
|
|
44
45
|
});
|
|
45
46
|
export declare class NLDDOneThirdTwoThirdsSection extends NLDDOneThirdTwoThirdsSection_base {
|
|
46
47
|
static styles: import("lit").CSSResult;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC
|
|
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"}
|
|
@@ -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,yBAiI1C,CAAC"}
|
|
@@ -89,6 +89,11 @@ export const oneThirdTwoThirdsSectionStyles = css `
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
.one-third-two-thirds-section__header[hidden],
|
|
93
|
+
.one-third-two-thirds-section__footer[hidden] {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
92
97
|
.one-third-two-thirds-section__columns {
|
|
93
98
|
display: flex;
|
|
94
99
|
flex-wrap: wrap;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4CtB,KAAK;;;;;;2BAML,KAAK,qBAAqB,KAAK;;;;;;2BAM/B,KAAK;;;;;;;;;;;;;;;;2BAgBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK
|
|
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;;;;;;;;;;;;;;;;;;;;;;;2BAuBL,KAAK;;;;2BAIL,KAAK,qBAAqB,KAAK;;;;2BAI/B,KAAK;;;;;;;;;;;;;;;;;;CAkB/B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TemplateResult } from 'lit';
|
|
2
2
|
import type { NLDDOneThirdTwoThirdsSection } from './one-third-two-thirds-section.js';
|
|
3
|
-
export declare function oneThirdTwoThirdsSectionTemplate(
|
|
3
|
+
export declare function oneThirdTwoThirdsSectionTemplate(component: NLDDOneThirdTwoThirdsSection): TemplateResult;
|
|
4
4
|
//# sourceMappingURL=one-third-two-thirds-section.template.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.template.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF,wBAAgB,gCAAgC,CAAC,
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.template.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAC3C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEtF,wBAAgB,gCAAgC,CAAC,SAAS,EAAE,4BAA4B,GAAG,cAAc,CAsBxG"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
-
export function oneThirdTwoThirdsSectionTemplate(
|
|
2
|
+
export function oneThirdTwoThirdsSectionTemplate(component) {
|
|
3
3
|
return html `
|
|
4
4
|
<section class="one-third-two-thirds-section">
|
|
5
5
|
<div class="one-third-two-thirds-section__body">
|
|
6
|
-
<
|
|
6
|
+
<header class="one-third-two-thirds-section__header" hidden>
|
|
7
|
+
<slot name="header" @slotchange=${component._onSlotChange}></slot>
|
|
8
|
+
</header>
|
|
7
9
|
<div class="one-third-two-thirds-section__columns">
|
|
8
10
|
<div class="one-third-two-thirds-section__left-column">
|
|
9
11
|
<slot name="left"></slot>
|
|
@@ -13,7 +15,9 @@ export function oneThirdTwoThirdsSectionTemplate(_component) {
|
|
|
13
15
|
<slot name="right"></slot>
|
|
14
16
|
</div>
|
|
15
17
|
</div>
|
|
16
|
-
<
|
|
18
|
+
<footer class="one-third-two-thirds-section__footer" hidden>
|
|
19
|
+
<slot name="footer" @slotchange=${component._onSlotChange}></slot>
|
|
20
|
+
</footer>
|
|
17
21
|
</div>
|
|
18
22
|
</section>
|
|
19
23
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"one-third-two-thirds-section.template.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,gCAAgC,CAAC,
|
|
1
|
+
{"version":3,"file":"one-third-two-thirds-section.template.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAkB,MAAM,KAAK,CAAC;AAG3C,MAAM,UAAU,gCAAgC,CAAC,SAAuC;IACvF,OAAO,IAAI,CAAA;;;;uCAI2B,SAAS,CAAC,aAAa;;;;;;;;;;;;uCAYvB,SAAS,CAAC,aAAa;;;;EAI5D,CAAC;AACH,CAAC"}
|
|
@@ -39,13 +39,13 @@ declare const NLDDSimpleSection_base: typeof LitElement & (new (...args: any[])
|
|
|
39
39
|
lgPaddingTop?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
40
40
|
lgPaddingBottom?: import("../../../../utilities/page-section-mixin.js").PageSectionPadding;
|
|
41
41
|
height?: string;
|
|
42
|
+
_onSlotChange(e: Event): void;
|
|
42
43
|
});
|
|
43
44
|
export declare class NLDDSimpleSection extends NLDDSimpleSection_base {
|
|
44
45
|
static styles: import("lit").CSSResult;
|
|
45
46
|
/** Width mode: 'full' (removes body max-width) or any CSS length. */
|
|
46
47
|
width: string;
|
|
47
48
|
updated(changedProperties: Map<string, unknown>): void;
|
|
48
|
-
_onSlotChange(e: Event): void;
|
|
49
49
|
render(): import("lit-html").TemplateResult;
|
|
50
50
|
}
|
|
51
51
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"simple-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;;;;;;;;;;AAMjC,qBACa,iBAAkB,SAAQ,sBAA4B;IAClE,OAAgB,MAAM,0BAAuB;IAE7C,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,qBAAqB,EAAE,iBAAiB,CAAC;KACzC;CACD"}
|
|
@@ -54,11 +54,6 @@ let NLDDSimpleSection = class NLDDSimpleSection extends PageSectionMixin(LitElem
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
_onSlotChange(e) {
|
|
58
|
-
const slot = e.target;
|
|
59
|
-
const wrapper = slot.parentElement;
|
|
60
|
-
wrapper.hidden = slot.assignedElements().length === 0;
|
|
61
|
-
}
|
|
62
57
|
render() {
|
|
63
58
|
return simpleSectionTemplate(this);
|
|
64
59
|
}
|