@nldd/design-system 0.8.42 → 0.8.43
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 +1 -1
- package/dist/components/actions/button/button.d.ts +18 -5
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +38 -6
- 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 +136 -50
- 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 +12 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-group/button-group.js +2 -2
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +16 -5
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +33 -6
- 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 +153 -96
- 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 +11 -0
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/split-button/split-button.template.js +2 -2
- package/dist/components/actions/split-button/split-button.template.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +4 -4
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +11 -11
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts +2 -2
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +4 -4
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/components.js +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js +1 -1
- package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts +3 -3
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +3 -3
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +107 -9
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/title/title.styles.js +18 -18
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +13 -7
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +34 -22
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/{index-CJ3mdHHo.js → index-By2jYHEw.js} +1438 -908
- package/dist/components/inputs/combo-box/combo-box.d.ts +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +8 -2
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.template.js +2 -0
- package/dist/components/inputs/combo-box/combo-box.template.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +11 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +31 -2
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js +3 -1
- package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +8 -2
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +2 -4
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +8 -12
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +3 -3
- package/dist/components/inputs/password-field/password-field.d.ts +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +8 -2
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +2 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +8 -2
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +2 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +8 -2
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +25 -4
- 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 +65 -64
- package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.template.js +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +8 -2
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +2 -0
- package/dist/components/inputs/text-field/text-field.styles.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 +26 -6
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/token/token.d.ts +3 -3
- package/dist/components/inputs/token/token.d.ts.map +1 -1
- package/dist/components/inputs/token/token.js +6 -6
- package/dist/components/inputs/token/token.js.map +1 -1
- package/dist/components/inputs/token/token.styles.js +2 -2
- package/dist/components/inputs/token/token.template.js +1 -1
- package/dist/components/inputs/token/token.template.js.map +1 -1
- package/dist/components/layout/card/card.js +1 -1
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +4 -4
- package/dist/components/layout/container/container.js +4 -4
- package/dist/components/layout/container/container.styles.js +399 -399
- package/dist/components/layout/container/container.styles.js.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-sections/full-bleed-section/full-bleed-section.d.ts +6 -3
- 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 +21 -5
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +9 -9
- 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 +6 -3
- 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 +21 -5
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +12 -12
- 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 +6 -3
- 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 +21 -5
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +12 -12
- 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/simple-section/simple-section.d.ts +6 -3
- 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 +21 -5
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +9 -9
- 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 +6 -3
- 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 +21 -5
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +12 -12
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.js +1 -1
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.js +3 -3
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +5 -5
- 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/window/window.js +1 -1
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.d.ts +4 -2
- package/dist/components/lists-and-menus/cells/cell/cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.js +17 -6
- package/dist/components/lists-and-menus/cells/cell/cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js +22 -11
- package/dist/components/lists-and-menus/cells/cell/cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts +2 -2
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.js +12 -7
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js +4 -3
- package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js +1 -1
- package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js +1 -1
- package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts +3 -4
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.js +13 -9
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +20 -3
- package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts +3 -4
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.js +12 -8
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +20 -3
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-menus/list/list.i18n.js +1 -1
- package/dist/components/lists-and-menus/list/list.i18n.js.map +1 -1
- package/dist/components/lists-and-menus/list/list.js +7 -0
- package/dist/components/lists-and-menus/list/list.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +4 -4
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +1 -1
- 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 +6 -6
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +2 -2
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +3 -2
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +5 -4
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.styles.js +5 -3
- package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +5 -3
- 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 +35 -15
- package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +6 -6
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +2 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
- package/dist/components/{prism-typescript-Cdpexfvg.js → prism-typescript-BlIir5CV.js} +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -3
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +3 -3
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.styles.js +6 -6
- package/dist/css/global.css +1 -0
- package/dist/css/reset.css +7 -0
- package/dist/css/rich-text.css +21 -21
- package/dist/css/settings.css +110 -81
- package/dist/utilities/visibility-mixin.d.ts +18 -12
- package/dist/utilities/visibility-mixin.d.ts.map +1 -1
- package/dist/utilities/visibility-mixin.js +21 -14
- package/dist/utilities/visibility-mixin.js.map +1 -1
- package/package.json +2 -2
|
@@ -14,11 +14,23 @@ const buttonStyles = css`
|
|
|
14
14
|
/* # Host */
|
|
15
15
|
|
|
16
16
|
:host {
|
|
17
|
+
--_width: auto;
|
|
18
|
+
--_disclosure-icon-size: var(--primitives-space-20);
|
|
19
|
+
|
|
17
20
|
display: inline-block;
|
|
21
|
+
max-width: 100%;
|
|
18
22
|
-webkit-tap-highlight-color: transparent;
|
|
19
23
|
}
|
|
20
24
|
|
|
21
|
-
:host([
|
|
25
|
+
:host([size="sm"]) {
|
|
26
|
+
--_disclosure-icon-size: var(--primitives-space-18);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host([size="xs"]) {
|
|
30
|
+
--_disclosure-icon-size: var(--primitives-space-16);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:host([width="full"]) {
|
|
22
34
|
display: block;
|
|
23
35
|
width: 100%;
|
|
24
36
|
flex-grow: 1;
|
|
@@ -48,7 +60,8 @@ const buttonStyles = css`
|
|
|
48
60
|
display: inline-flex;
|
|
49
61
|
align-items: center;
|
|
50
62
|
justify-content: center;
|
|
51
|
-
width:
|
|
63
|
+
width: var(--_width);
|
|
64
|
+
max-width: 100%;
|
|
52
65
|
text-wrap: pretty;
|
|
53
66
|
transition:
|
|
54
67
|
background-color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default),
|
|
@@ -119,7 +132,9 @@ const buttonStyles = css`
|
|
|
119
132
|
|
|
120
133
|
/* # Variants */
|
|
121
134
|
|
|
122
|
-
/* ##
|
|
135
|
+
/* ## Neutral Tintend (Secondary, Default) */
|
|
136
|
+
|
|
137
|
+
/* ### Default neutral tinted button */
|
|
123
138
|
|
|
124
139
|
:host([variant="neutral-tinted"]) .button,
|
|
125
140
|
:host([variant="secondary"]) .button,
|
|
@@ -128,6 +143,8 @@ const buttonStyles = css`
|
|
|
128
143
|
color: var(--semantics-buttons-neutral-tinted-content-color);
|
|
129
144
|
}
|
|
130
145
|
|
|
146
|
+
/* ### Hovered neutral tinted button */
|
|
147
|
+
|
|
131
148
|
@media (hover: hover) {
|
|
132
149
|
:host([variant="neutral-tinted"]) .button:hover,
|
|
133
150
|
:host([variant="secondary"]) .button:hover,
|
|
@@ -137,6 +154,8 @@ const buttonStyles = css`
|
|
|
137
154
|
}
|
|
138
155
|
}
|
|
139
156
|
|
|
157
|
+
/* ### Active neutral tinted button */
|
|
158
|
+
|
|
140
159
|
:host([variant="neutral-tinted"]) .button:active,
|
|
141
160
|
:host([variant="secondary"]) .button:active,
|
|
142
161
|
:host(:not([variant])) .button:active {
|
|
@@ -144,24 +163,61 @@ const buttonStyles = css`
|
|
|
144
163
|
color: var(--semantics-buttons-neutral-tinted-is-active-content-color);
|
|
145
164
|
}
|
|
146
165
|
|
|
147
|
-
/*
|
|
166
|
+
/* ### Open neutral tinted button */
|
|
167
|
+
|
|
168
|
+
:host([expanded][variant="neutral-tinted"]) .button,
|
|
169
|
+
:host([expanded][variant="secondary"]) .button,
|
|
170
|
+
:host([expanded]:not([variant])) .button {
|
|
171
|
+
background-color: var(--semantics-buttons-neutral-tinted-is-open-background-color);
|
|
172
|
+
color: var(--semantics-buttons-neutral-tinted-is-open-content-color);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* ### Open hovered neutral tinted button */
|
|
176
|
+
|
|
177
|
+
@media (hover: hover) {
|
|
178
|
+
:host([expanded][variant="neutral-tinted"]) .button:hover,
|
|
179
|
+
:host([expanded][variant="secondary"]) .button:hover,
|
|
180
|
+
:host([expanded]:not([variant])) .button:hover {
|
|
181
|
+
background-color: var(--semantics-buttons-neutral-tinted-is-open-is-hovered-background-color);
|
|
182
|
+
color: var(--semantics-buttons-neutral-tinted-is-open-is-hovered-content-color);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* ### Open active neutral tinted button */
|
|
187
|
+
|
|
188
|
+
:host([expanded][variant="neutral-tinted"]) .button:active,
|
|
189
|
+
:host([expanded][variant="secondary"]) .button:active,
|
|
190
|
+
:host([expanded]:not([variant])) .button:active {
|
|
191
|
+
background-color: var(--semantics-buttons-neutral-tinted-is-open-is-active-background-color);
|
|
192
|
+
color: var(--semantics-buttons-neutral-tinted-is-open-is-active-content-color);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* ## Neutral Transparent */
|
|
196
|
+
|
|
197
|
+
/* ### Default neutral transparent button */
|
|
148
198
|
|
|
149
199
|
:host([variant="neutral-transparent"]) .button {
|
|
150
200
|
background-color: transparent;
|
|
151
201
|
color: var(--semantics-buttons-neutral-transparent-content-color);
|
|
152
202
|
}
|
|
153
203
|
|
|
204
|
+
/* ### Hovered neutral transparent button */
|
|
205
|
+
|
|
154
206
|
@media (hover: hover) {
|
|
155
207
|
:host([variant="neutral-transparent"]) .button:hover {
|
|
156
208
|
color: var(--semantics-buttons-neutral-transparent-is-hovered-content-color);
|
|
157
209
|
}
|
|
158
210
|
}
|
|
159
211
|
|
|
212
|
+
/* ### Active neutral transparent button */
|
|
213
|
+
|
|
160
214
|
:host([variant="neutral-transparent"]) .button:active {
|
|
161
215
|
color: var(--semantics-buttons-neutral-transparent-is-active-content-color);
|
|
162
216
|
}
|
|
163
217
|
|
|
164
|
-
/* ##
|
|
218
|
+
/* ## Accent Filled (Primary) */
|
|
219
|
+
|
|
220
|
+
/* ### Default accent filled button */
|
|
165
221
|
|
|
166
222
|
:host([variant="accent-filled"]) .button,
|
|
167
223
|
:host([variant="primary"]) .button {
|
|
@@ -169,6 +225,8 @@ const buttonStyles = css`
|
|
|
169
225
|
color: var(--semantics-buttons-accent-filled-content-color);
|
|
170
226
|
}
|
|
171
227
|
|
|
228
|
+
/* ### Hovered accent filled button */
|
|
229
|
+
|
|
172
230
|
@media (hover: hover) {
|
|
173
231
|
:host([variant="accent-filled"]) .button:hover,
|
|
174
232
|
:host([variant="primary"]) .button:hover {
|
|
@@ -177,71 +235,66 @@ const buttonStyles = css`
|
|
|
177
235
|
}
|
|
178
236
|
}
|
|
179
237
|
|
|
238
|
+
/* ### Active accent filled button */
|
|
239
|
+
|
|
180
240
|
:host([variant="accent-filled"]) .button:active,
|
|
181
241
|
:host([variant="primary"]) .button:active {
|
|
182
242
|
background-color: var(--semantics-buttons-accent-filled-is-active-background-color);
|
|
183
243
|
color: var(--semantics-buttons-accent-filled-is-active-content-color);
|
|
184
244
|
}
|
|
185
245
|
|
|
186
|
-
/*
|
|
246
|
+
/* ### Open accent filled button */
|
|
187
247
|
|
|
188
|
-
:host([variant="accent-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
color: var(--semantics-buttons-accent-
|
|
192
|
-
border-width: var(--semantics-buttons-accent-outlined-border-thickness);
|
|
193
|
-
border-style: solid;
|
|
194
|
-
border-color: var(--semantics-buttons-accent-outlined-border-color);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
:host([variant="accent-outlined"][size="md"]) .button {
|
|
198
|
-
padding: calc(var(--primitives-space-12) - var(--semantics-buttons-accent-outlined-border-thickness));
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
:host([variant="accent-outlined"][size="sm"]) .button {
|
|
202
|
-
padding:
|
|
203
|
-
calc(var(--primitives-space-6) - var(--semantics-buttons-accent-outlined-border-thickness))
|
|
204
|
-
calc(var(--primitives-space-10) - var(--semantics-buttons-accent-outlined-border-thickness))
|
|
205
|
-
;
|
|
248
|
+
:host([expanded][variant="accent-filled"]) .button,
|
|
249
|
+
:host([expanded][variant="primary"]) .button {
|
|
250
|
+
background-color: var(--semantics-buttons-accent-filled-is-open-background-color);
|
|
251
|
+
color: var(--semantics-buttons-accent-filled-is-open-content-color);
|
|
206
252
|
}
|
|
207
253
|
|
|
208
|
-
|
|
209
|
-
padding:
|
|
210
|
-
calc(var(--primitives-space-4) - var(--semantics-buttons-accent-outlined-border-thickness))
|
|
211
|
-
calc(var(--primitives-space-6) - var(--semantics-buttons-accent-outlined-border-thickness))
|
|
212
|
-
;
|
|
213
|
-
}
|
|
254
|
+
/* ### Open hovered accent filled button */
|
|
214
255
|
|
|
215
256
|
@media (hover: hover) {
|
|
216
|
-
:host([variant="accent-
|
|
217
|
-
|
|
218
|
-
|
|
257
|
+
:host([expanded][variant="accent-filled"]) .button:hover,
|
|
258
|
+
:host([expanded][variant="primary"]) .button:hover {
|
|
259
|
+
background-color: var(--semantics-buttons-accent-filled-is-open-is-hovered-background-color);
|
|
260
|
+
color: var(--semantics-buttons-accent-filled-is-open-is-hovered-content-color);
|
|
219
261
|
}
|
|
220
262
|
}
|
|
221
263
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
264
|
+
/* ### Open active accent filled button */
|
|
265
|
+
|
|
266
|
+
:host([expanded][variant="accent-filled"]) .button:active,
|
|
267
|
+
:host([expanded][variant="primary"]) .button:active {
|
|
268
|
+
background-color: var(--semantics-buttons-accent-filled-is-open-is-active-background-color);
|
|
269
|
+
color: var(--semantics-buttons-accent-filled-is-open-is-active-content-color);
|
|
225
270
|
}
|
|
226
271
|
|
|
227
|
-
/* ##
|
|
272
|
+
/* ## Accent Transparent */
|
|
273
|
+
|
|
274
|
+
/* ### Default accent transparent button */
|
|
228
275
|
|
|
229
276
|
:host([variant="accent-transparent"]) .button {
|
|
230
277
|
background-color: transparent;
|
|
231
278
|
color: var(--semantics-buttons-accent-transparent-content-color);
|
|
232
279
|
}
|
|
233
280
|
|
|
281
|
+
/* ### Hovered accent transparent button */
|
|
282
|
+
|
|
234
283
|
@media (hover: hover) {
|
|
235
284
|
:host([variant="accent-transparent"]) .button:hover {
|
|
236
285
|
color: var(--semantics-buttons-accent-transparent-is-hovered-content-color);
|
|
237
286
|
}
|
|
238
287
|
}
|
|
239
288
|
|
|
289
|
+
/* ### Active accent transparent button */
|
|
290
|
+
|
|
240
291
|
:host([variant="accent-transparent"]) .button:active {
|
|
241
292
|
color: var(--semantics-buttons-accent-transparent-is-active-content-color);
|
|
242
293
|
}
|
|
243
294
|
|
|
244
|
-
/* ##
|
|
295
|
+
/* ## Critical Tinted */
|
|
296
|
+
|
|
297
|
+
/* ### Default critical tinted button */
|
|
245
298
|
|
|
246
299
|
:host([variant="critical-tinted"]) .button,
|
|
247
300
|
:host([variant="destructive"]) .button {
|
|
@@ -249,6 +302,8 @@ const buttonStyles = css`
|
|
|
249
302
|
color: var(--semantics-buttons-critical-tinted-content-color);
|
|
250
303
|
}
|
|
251
304
|
|
|
305
|
+
/* ### Hovered critical tinted button */
|
|
306
|
+
|
|
252
307
|
@media (hover: hover) {
|
|
253
308
|
:host([variant="critical-tinted"]) .button:hover,
|
|
254
309
|
:host([variant="destructive"]) .button:hover {
|
|
@@ -257,12 +312,37 @@ const buttonStyles = css`
|
|
|
257
312
|
}
|
|
258
313
|
}
|
|
259
314
|
|
|
315
|
+
/* ### Active critical tinted button */
|
|
316
|
+
|
|
260
317
|
:host([variant="critical-tinted"]) .button:active,
|
|
261
318
|
:host([variant="destructive"]) .button:active {
|
|
262
319
|
background-color: var(--semantics-buttons-critical-tinted-is-active-background-color);
|
|
263
320
|
color: var(--semantics-buttons-critical-tinted-is-active-content-color);
|
|
264
321
|
}
|
|
265
322
|
|
|
323
|
+
/* ## Critical Transparent */
|
|
324
|
+
|
|
325
|
+
/* ### Default critical transparent button */
|
|
326
|
+
|
|
327
|
+
:host([variant="critical-transparent"]) .button {
|
|
328
|
+
background-color: transparent;
|
|
329
|
+
color: var(--semantics-buttons-critical-transparent-content-color);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* ### Hovered critical transparent button */
|
|
333
|
+
|
|
334
|
+
@media (hover: hover) {
|
|
335
|
+
:host([variant="critical-transparent"]) .button:hover {
|
|
336
|
+
color: var(--semantics-buttons-critical-transparent-is-hovered-content-color);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/* ### Active critical transparent button */
|
|
341
|
+
|
|
342
|
+
:host([variant="critical-transparent"]) .button:active {
|
|
343
|
+
color: var(--semantics-buttons-critical-transparent-is-active-content-color);
|
|
344
|
+
}
|
|
345
|
+
|
|
266
346
|
/* ## Elements */
|
|
267
347
|
|
|
268
348
|
.button__content {
|
|
@@ -273,6 +353,16 @@ const buttonStyles = css`
|
|
|
273
353
|
display: none;
|
|
274
354
|
}
|
|
275
355
|
|
|
356
|
+
.button__text {
|
|
357
|
+
min-width: 0;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
:host([single-line]) .button__text {
|
|
361
|
+
overflow: hidden;
|
|
362
|
+
text-overflow: ellipsis;
|
|
363
|
+
white-space: nowrap;
|
|
364
|
+
}
|
|
365
|
+
|
|
276
366
|
.button__start-icon,
|
|
277
367
|
.button__end-icon {
|
|
278
368
|
display: block;
|
|
@@ -283,45 +373,41 @@ const buttonStyles = css`
|
|
|
283
373
|
:host(:not([size])) .button__start-icon,
|
|
284
374
|
:host([size="md"]) .button__end-icon,
|
|
285
375
|
:host(:not([size])) .button__end-icon {
|
|
286
|
-
width: var(--
|
|
287
|
-
height: var(--
|
|
376
|
+
width: var(--semantics-buttons-md-icon-size);
|
|
377
|
+
height: var(--semantics-buttons-md-icon-size);
|
|
288
378
|
}
|
|
289
379
|
|
|
290
380
|
:host([size="sm"]) .button__start-icon,
|
|
291
381
|
:host([size="sm"]) .button__end-icon {
|
|
292
|
-
width: var(--
|
|
293
|
-
height: var(--
|
|
382
|
+
width: var(--semantics-buttons-sm-icon-size);
|
|
383
|
+
height: var(--semantics-buttons-sm-icon-size);
|
|
294
384
|
}
|
|
295
385
|
|
|
296
386
|
:host([size="xs"]) .button__start-icon,
|
|
297
387
|
:host([size="xs"]) .button__end-icon {
|
|
298
|
-
width: var(--
|
|
299
|
-
height: var(--
|
|
388
|
+
width: var(--semantics-buttons-xs-icon-size);
|
|
389
|
+
height: var(--semantics-buttons-xs-icon-size);
|
|
300
390
|
}
|
|
301
391
|
|
|
302
392
|
.button__disclosure-icon {
|
|
303
393
|
display: block;
|
|
304
394
|
flex-shrink: 0;
|
|
395
|
+
width: var(--_disclosure-icon-size);
|
|
396
|
+
height: var(--_disclosure-icon-size);
|
|
305
397
|
}
|
|
306
398
|
|
|
307
399
|
:host([size="md"]) .button__disclosure-icon,
|
|
308
400
|
:host(:not([size])) .button__disclosure-icon {
|
|
309
|
-
width: var(--primitives-space-20);
|
|
310
|
-
height: var(--primitives-space-20);
|
|
311
401
|
margin-left: -2px;
|
|
312
402
|
margin-right: -2px;
|
|
313
403
|
}
|
|
314
404
|
|
|
315
405
|
:host([size="sm"]) .button__disclosure-icon {
|
|
316
|
-
width: var(--primitives-space-18);
|
|
317
|
-
height: var(--primitives-space-18);
|
|
318
406
|
margin-left: -1px;
|
|
319
407
|
margin-right: -2px;
|
|
320
408
|
}
|
|
321
409
|
|
|
322
410
|
:host([size="xs"]) .button__disclosure-icon {
|
|
323
|
-
width: var(--primitives-space-16);
|
|
324
|
-
height: var(--primitives-space-16);
|
|
325
411
|
margin-left: -1px;
|
|
326
412
|
margin-right: -2px;
|
|
327
413
|
}
|
|
@@ -334,7 +420,7 @@ function renderContent$1(component) {
|
|
|
334
420
|
name=${component.startIcon}
|
|
335
421
|
></nldd-icon>
|
|
336
422
|
` : html`<slot name="start-icon"></slot>`}
|
|
337
|
-
|
|
423
|
+
<span class="button__text">${component.text}</span>
|
|
338
424
|
${component.endIcon ? html`
|
|
339
425
|
<nldd-icon class="button__end-icon"
|
|
340
426
|
name=${component.endIcon}
|
|
@@ -350,6 +436,8 @@ function renderContent$1(component) {
|
|
|
350
436
|
}
|
|
351
437
|
function template$n(helpers) {
|
|
352
438
|
const content = renderContent$1(this);
|
|
439
|
+
const isDisclosure = this.expandable || !!this.popupType;
|
|
440
|
+
const ariaExpanded = isDisclosure ? String(this.expanded) : this.expanded ? "true" : nothing;
|
|
353
441
|
if (this.href) {
|
|
354
442
|
const resolvedRel = this._resolvedRel();
|
|
355
443
|
return html`
|
|
@@ -359,6 +447,8 @@ function template$n(helpers) {
|
|
|
359
447
|
rel=${resolvedRel || nothing}
|
|
360
448
|
aria-disabled=${this.disabled ? "true" : nothing}
|
|
361
449
|
aria-label=${this.accessibleLabel || nothing}
|
|
450
|
+
aria-haspopup=${this.popupType || nothing}
|
|
451
|
+
aria-expanded=${ariaExpanded}
|
|
362
452
|
@click=${helpers.handleClick}
|
|
363
453
|
>
|
|
364
454
|
${content}
|
|
@@ -371,6 +461,8 @@ function template$n(helpers) {
|
|
|
371
461
|
?disabled=${this.disabled}
|
|
372
462
|
aria-disabled=${this.disabled ? "true" : nothing}
|
|
373
463
|
aria-label=${this.accessibleLabel || nothing}
|
|
464
|
+
aria-haspopup=${this.popupType || nothing}
|
|
465
|
+
aria-expanded=${ariaExpanded}
|
|
374
466
|
popovertarget=${this.popovertarget || nothing}
|
|
375
467
|
@click=${helpers.handleClick}
|
|
376
468
|
>
|
|
@@ -830,12 +922,14 @@ let NLDDButton = class extends LitElement {
|
|
|
830
922
|
super(...arguments);
|
|
831
923
|
this.variant = "neutral-tinted";
|
|
832
924
|
this.size = "md";
|
|
833
|
-
this.
|
|
925
|
+
this.width = "";
|
|
834
926
|
this.expandable = false;
|
|
927
|
+
this.expanded = false;
|
|
835
928
|
this.type = "button";
|
|
836
929
|
this.popovertarget = void 0;
|
|
837
930
|
this.disabled = false;
|
|
838
931
|
this.text = "";
|
|
932
|
+
this.singleLine = false;
|
|
839
933
|
this.startIcon = "";
|
|
840
934
|
this.endIcon = "";
|
|
841
935
|
this.accessibleLabel = "";
|
|
@@ -844,7 +938,18 @@ let NLDDButton = class extends LitElement {
|
|
|
844
938
|
this.rel = void 0;
|
|
845
939
|
this._warnedA11y = false;
|
|
846
940
|
}
|
|
847
|
-
updated() {
|
|
941
|
+
updated(changedProperties) {
|
|
942
|
+
if (changedProperties.has("width")) {
|
|
943
|
+
const w = this.width;
|
|
944
|
+
const isFull = w === "full";
|
|
945
|
+
const isValidLength = !!w && !isFull && CSS.supports("width", w);
|
|
946
|
+
this.style.width = isValidLength ? w : "";
|
|
947
|
+
if (isFull || isValidLength) {
|
|
948
|
+
this.style.setProperty("--_width", "100%");
|
|
949
|
+
} else {
|
|
950
|
+
this.style.removeProperty("--_width");
|
|
951
|
+
}
|
|
952
|
+
}
|
|
848
953
|
const isEmpty = !this.text && !this.accessibleLabel;
|
|
849
954
|
if (!isEmpty) {
|
|
850
955
|
this._warnedA11y = false;
|
|
@@ -884,11 +989,17 @@ __decorateClass$1h([
|
|
|
884
989
|
property({ type: String, reflect: true })
|
|
885
990
|
], NLDDButton.prototype, "size", 2);
|
|
886
991
|
__decorateClass$1h([
|
|
887
|
-
property({ type:
|
|
888
|
-
], NLDDButton.prototype, "
|
|
992
|
+
property({ type: String, reflect: true })
|
|
993
|
+
], NLDDButton.prototype, "width", 2);
|
|
889
994
|
__decorateClass$1h([
|
|
890
995
|
property({ type: Boolean, reflect: true, attribute: "expandable" })
|
|
891
996
|
], NLDDButton.prototype, "expandable", 2);
|
|
997
|
+
__decorateClass$1h([
|
|
998
|
+
property({ type: Boolean, reflect: true })
|
|
999
|
+
], NLDDButton.prototype, "expanded", 2);
|
|
1000
|
+
__decorateClass$1h([
|
|
1001
|
+
property({ type: String, reflect: true, attribute: "popup-type" })
|
|
1002
|
+
], NLDDButton.prototype, "popupType", 2);
|
|
892
1003
|
__decorateClass$1h([
|
|
893
1004
|
property({ type: String, reflect: true })
|
|
894
1005
|
], NLDDButton.prototype, "type", 2);
|
|
@@ -901,6 +1012,9 @@ __decorateClass$1h([
|
|
|
901
1012
|
__decorateClass$1h([
|
|
902
1013
|
property({ type: String })
|
|
903
1014
|
], NLDDButton.prototype, "text", 2);
|
|
1015
|
+
__decorateClass$1h([
|
|
1016
|
+
property({ type: Boolean, reflect: true, attribute: "single-line" })
|
|
1017
|
+
], NLDDButton.prototype, "singleLine", 2);
|
|
904
1018
|
__decorateClass$1h([
|
|
905
1019
|
property({ type: String, attribute: "start-icon" })
|
|
906
1020
|
], NLDDButton.prototype, "startIcon", 2);
|
|
@@ -928,11 +1042,19 @@ const iconButtonStyles = css`
|
|
|
928
1042
|
/* # Host */
|
|
929
1043
|
|
|
930
1044
|
:host {
|
|
1045
|
+
--_width: auto;
|
|
1046
|
+
--_disclosure-icon-size: var(--primitives-space-20);
|
|
1047
|
+
|
|
931
1048
|
display: inline-block;
|
|
1049
|
+
max-width: 100%;
|
|
932
1050
|
-webkit-tap-highlight-color: transparent;
|
|
933
1051
|
}
|
|
934
1052
|
|
|
935
|
-
:host([
|
|
1053
|
+
:host([size='xs']) {
|
|
1054
|
+
--_disclosure-icon-size: var(--primitives-space-16);
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
:host([width="full"]) {
|
|
936
1058
|
display: block;
|
|
937
1059
|
width: 100%;
|
|
938
1060
|
flex-grow: 1;
|
|
@@ -958,13 +1080,20 @@ const iconButtonStyles = css`
|
|
|
958
1080
|
background: none;
|
|
959
1081
|
font: inherit;
|
|
960
1082
|
box-sizing: border-box;
|
|
1083
|
+
text-decoration: none;
|
|
961
1084
|
display: inline-flex;
|
|
962
1085
|
flex-direction: column;
|
|
963
1086
|
align-items: center;
|
|
964
1087
|
justify-content: center;
|
|
1088
|
+
width: var(--_width);
|
|
965
1089
|
transition:
|
|
966
1090
|
background-color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default),
|
|
967
|
-
color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default)
|
|
1091
|
+
color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default)
|
|
1092
|
+
;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
a.icon-button {
|
|
1096
|
+
cursor: var(--semantics-controls-link-cursor);
|
|
968
1097
|
}
|
|
969
1098
|
|
|
970
1099
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -973,10 +1102,6 @@ const iconButtonStyles = css`
|
|
|
973
1102
|
}
|
|
974
1103
|
}
|
|
975
1104
|
|
|
976
|
-
a.icon-button {
|
|
977
|
-
cursor: var(--semantics-controls-link-cursor);
|
|
978
|
-
}
|
|
979
|
-
|
|
980
1105
|
|
|
981
1106
|
/* # Focus */
|
|
982
1107
|
|
|
@@ -996,75 +1121,37 @@ const iconButtonStyles = css`
|
|
|
996
1121
|
/* ## Size: XS */
|
|
997
1122
|
|
|
998
1123
|
:host([size='xs']) .icon-button {
|
|
999
|
-
width: auto;
|
|
1000
1124
|
height: var(--semantics-controls-xs-min-size);
|
|
1001
1125
|
min-width: var(--semantics-controls-xs-min-size);
|
|
1002
1126
|
min-height: var(--semantics-controls-xs-min-size);
|
|
1003
|
-
padding: var(--
|
|
1127
|
+
padding: calc((var(--semantics-controls-xs-min-size) - var(--semantics-buttons-xs-icon-only-icon-size)) / 2);
|
|
1004
1128
|
border-radius: var(--semantics-controls-xs-corner-radius);
|
|
1005
1129
|
}
|
|
1006
1130
|
|
|
1007
|
-
:host([size='xs']) .icon-button__icon {
|
|
1008
|
-
width: var(--primitives-space-16);
|
|
1009
|
-
height: var(--primitives-space-16);
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
:host([size='xs']) .icon-button__disclosure-icon {
|
|
1013
|
-
width: var(--primitives-space-16);
|
|
1014
|
-
height: var(--primitives-space-16);
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
1131
|
/* ## Size: SM */
|
|
1018
1132
|
|
|
1019
1133
|
:host([size='sm']) .icon-button {
|
|
1020
|
-
width: auto;
|
|
1021
1134
|
height: var(--semantics-controls-sm-min-size);
|
|
1022
1135
|
min-width: var(--semantics-controls-sm-min-size);
|
|
1023
1136
|
min-height: var(--semantics-controls-sm-min-size);
|
|
1024
|
-
padding: var(--
|
|
1137
|
+
padding: calc((var(--semantics-controls-sm-min-size) - var(--semantics-buttons-sm-icon-only-icon-size)) / 2);
|
|
1025
1138
|
border-radius: var(--semantics-controls-sm-corner-radius);
|
|
1026
1139
|
}
|
|
1027
1140
|
|
|
1028
|
-
:host([size='sm']) .icon-button__icon {
|
|
1029
|
-
width: var(--primitives-space-20);
|
|
1030
|
-
height: var(--primitives-space-20);
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
:host([size='sm']) .icon-button__disclosure-icon {
|
|
1034
|
-
width: var(--primitives-space-20);
|
|
1035
|
-
height: var(--primitives-space-20);
|
|
1036
|
-
margin-right: calc(var(--primitives-space-2) * -1);
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
1141
|
/* ## Size: MD (Default) */
|
|
1040
1142
|
|
|
1041
1143
|
:host([size='md']) .icon-button,
|
|
1042
1144
|
:host(:not([size])) .icon-button {
|
|
1043
|
-
width: auto;
|
|
1044
1145
|
height: var(--semantics-controls-md-min-size);
|
|
1045
1146
|
min-width: var(--semantics-controls-md-min-size);
|
|
1046
1147
|
min-height: var(--semantics-controls-md-min-size);
|
|
1047
|
-
padding: var(--
|
|
1148
|
+
padding: calc((var(--semantics-controls-md-min-size) - var(--semantics-buttons-md-icon-only-icon-size)) / 2);
|
|
1048
1149
|
border-radius: var(--semantics-controls-md-corner-radius);
|
|
1049
1150
|
}
|
|
1050
1151
|
|
|
1051
|
-
:host([size='md']) .icon-button__icon,
|
|
1052
|
-
:host(:not([size])) .icon-button__icon {
|
|
1053
|
-
width: var(--primitives-space-24);
|
|
1054
|
-
height: var(--primitives-space-24);
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
:host([size='md']) .icon-button__disclosure-icon,
|
|
1058
|
-
:host(:not([size])) .icon-button__disclosure-icon {
|
|
1059
|
-
width: var(--primitives-space-20);
|
|
1060
|
-
height: var(--primitives-space-20);
|
|
1061
|
-
margin-right: calc(var(--primitives-space-2) * -1);
|
|
1062
|
-
}
|
|
1063
|
-
|
|
1064
1152
|
/* ## Size: LG */
|
|
1065
1153
|
|
|
1066
1154
|
:host([size='lg']) .icon-button {
|
|
1067
|
-
width: auto;
|
|
1068
1155
|
height: var(--semantics-controls-lg-min-size);
|
|
1069
1156
|
min-width: var(--semantics-controls-lg-min-size);
|
|
1070
1157
|
min-height: var(--semantics-controls-lg-min-size);
|
|
@@ -1072,25 +1159,11 @@ const iconButtonStyles = css`
|
|
|
1072
1159
|
border-radius: var(--semantics-controls-lg-corner-radius);
|
|
1073
1160
|
}
|
|
1074
1161
|
|
|
1075
|
-
:host([size='lg']) .icon-button__icon {
|
|
1076
|
-
width: var(--primitives-space-24);
|
|
1077
|
-
height: var(--primitives-space-24);
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
:host([size='lg']) .icon-button__disclosure-icon {
|
|
1081
|
-
width: var(--primitives-space-20);
|
|
1082
|
-
height: var(--primitives-space-20);
|
|
1083
|
-
margin-right: calc(var(--primitives-space-2) * -1);
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
:host([full-width]) .icon-button {
|
|
1087
|
-
width: 100%;
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
1162
|
/* # Variants */
|
|
1092
1163
|
|
|
1093
|
-
/* ##
|
|
1164
|
+
/* ## Neutral Tinted (Secondary, Default) */
|
|
1165
|
+
|
|
1166
|
+
/* ### Default neutral tinted icon button */
|
|
1094
1167
|
|
|
1095
1168
|
:host([variant='neutral-tinted']) .icon-button,
|
|
1096
1169
|
:host([variant='secondary']) .icon-button,
|
|
@@ -1099,6 +1172,8 @@ const iconButtonStyles = css`
|
|
|
1099
1172
|
color: var(--semantics-buttons-neutral-tinted-content-color);
|
|
1100
1173
|
}
|
|
1101
1174
|
|
|
1175
|
+
/* ### Hovered neutral tinted icon button */
|
|
1176
|
+
|
|
1102
1177
|
@media (hover: hover) {
|
|
1103
1178
|
:host([variant='neutral-tinted']) .icon-button:hover,
|
|
1104
1179
|
:host([variant='secondary']) .icon-button:hover,
|
|
@@ -1108,6 +1183,8 @@ const iconButtonStyles = css`
|
|
|
1108
1183
|
}
|
|
1109
1184
|
}
|
|
1110
1185
|
|
|
1186
|
+
/* ### Active neutral tinted icon button */
|
|
1187
|
+
|
|
1111
1188
|
:host([variant='neutral-tinted']) .icon-button:active,
|
|
1112
1189
|
:host([variant='secondary']) .icon-button:active,
|
|
1113
1190
|
:host(:not([variant])) .icon-button:active {
|
|
@@ -1115,13 +1192,46 @@ const iconButtonStyles = css`
|
|
|
1115
1192
|
color: var(--semantics-buttons-neutral-tinted-is-active-content-color);
|
|
1116
1193
|
}
|
|
1117
1194
|
|
|
1118
|
-
/*
|
|
1195
|
+
/* ### Open neutral tinted icon button */
|
|
1196
|
+
|
|
1197
|
+
:host([expanded][variant='neutral-tinted']) .icon-button,
|
|
1198
|
+
:host([expanded][variant='secondary']) .icon-button,
|
|
1199
|
+
:host([expanded]:not([variant])) .icon-button {
|
|
1200
|
+
background-color: var(--semantics-buttons-neutral-tinted-is-open-background-color);
|
|
1201
|
+
color: var(--semantics-buttons-neutral-tinted-is-open-content-color);
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
/* ### Open hovered neutral tinted icon button */
|
|
1205
|
+
|
|
1206
|
+
@media (hover: hover) {
|
|
1207
|
+
:host([expanded][variant='neutral-tinted']) .icon-button:hover,
|
|
1208
|
+
:host([expanded][variant='secondary']) .icon-button:hover,
|
|
1209
|
+
:host([expanded]:not([variant])) .icon-button:hover {
|
|
1210
|
+
background-color: var(--semantics-buttons-neutral-tinted-is-open-is-hovered-background-color);
|
|
1211
|
+
color: var(--semantics-buttons-neutral-tinted-is-open-is-hovered-content-color);
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
/* ### Open active neutral tinted icon button */
|
|
1216
|
+
|
|
1217
|
+
:host([expanded][variant='neutral-tinted']) .icon-button:active,
|
|
1218
|
+
:host([expanded][variant='secondary']) .icon-button:active,
|
|
1219
|
+
:host([expanded]:not([variant])) .icon-button:active {
|
|
1220
|
+
background-color: var(--semantics-buttons-neutral-tinted-is-open-is-active-background-color);
|
|
1221
|
+
color: var(--semantics-buttons-neutral-tinted-is-open-is-active-content-color);
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/* ## Neutral Transparent */
|
|
1225
|
+
|
|
1226
|
+
/* ### Default neutral transparent icon button */
|
|
1119
1227
|
|
|
1120
1228
|
:host([variant='neutral-transparent']) .icon-button {
|
|
1121
1229
|
background-color: transparent;
|
|
1122
1230
|
color: var(--semantics-buttons-neutral-transparent-content-color);
|
|
1123
1231
|
}
|
|
1124
1232
|
|
|
1233
|
+
/* ### Hovered neutral transparent icon button */
|
|
1234
|
+
|
|
1125
1235
|
@media (hover: hover) {
|
|
1126
1236
|
:host([variant='neutral-transparent']) .icon-button:hover {
|
|
1127
1237
|
background-color: transparent;
|
|
@@ -1129,11 +1239,15 @@ const iconButtonStyles = css`
|
|
|
1129
1239
|
}
|
|
1130
1240
|
}
|
|
1131
1241
|
|
|
1242
|
+
/* ### Active neutral transparent icon button */
|
|
1243
|
+
|
|
1132
1244
|
:host([variant='neutral-transparent']) .icon-button:active {
|
|
1133
1245
|
color: var(--semantics-buttons-neutral-transparent-is-active-content-color);
|
|
1134
1246
|
}
|
|
1135
1247
|
|
|
1136
|
-
/* ##
|
|
1248
|
+
/* ## Accent Filled (Primary) */
|
|
1249
|
+
|
|
1250
|
+
/* ### Default accent filled icon button */
|
|
1137
1251
|
|
|
1138
1252
|
:host([variant='accent-filled']) .icon-button,
|
|
1139
1253
|
:host([variant='primary']) .icon-button {
|
|
@@ -1141,6 +1255,8 @@ const iconButtonStyles = css`
|
|
|
1141
1255
|
color: var(--semantics-buttons-accent-filled-content-color);
|
|
1142
1256
|
}
|
|
1143
1257
|
|
|
1258
|
+
/* ### Hovered accent filled icon button */
|
|
1259
|
+
|
|
1144
1260
|
@media (hover: hover) {
|
|
1145
1261
|
:host([variant='accent-filled']) .icon-button:hover,
|
|
1146
1262
|
:host([variant='primary']) .icon-button:hover {
|
|
@@ -1149,68 +1265,66 @@ const iconButtonStyles = css`
|
|
|
1149
1265
|
}
|
|
1150
1266
|
}
|
|
1151
1267
|
|
|
1268
|
+
/* ### Active accent filled icon button */
|
|
1269
|
+
|
|
1152
1270
|
:host([variant='accent-filled']) .icon-button:active,
|
|
1153
1271
|
:host([variant='primary']) .icon-button:active {
|
|
1154
1272
|
background-color: var(--semantics-buttons-accent-filled-is-active-background-color);
|
|
1155
1273
|
color: var(--semantics-buttons-accent-filled-is-active-content-color);
|
|
1156
1274
|
}
|
|
1157
1275
|
|
|
1158
|
-
/*
|
|
1276
|
+
/* ### Open accent filled icon button */
|
|
1159
1277
|
|
|
1160
|
-
:host([variant='accent-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
border-color: var(--semantics-buttons-accent-outlined-border-color);
|
|
1165
|
-
color: var(--semantics-buttons-accent-outlined-content-color);
|
|
1278
|
+
:host([expanded][variant='accent-filled']) .icon-button,
|
|
1279
|
+
:host([expanded][variant='primary']) .icon-button {
|
|
1280
|
+
background-color: var(--semantics-buttons-accent-filled-is-open-background-color);
|
|
1281
|
+
color: var(--semantics-buttons-accent-filled-is-open-content-color);
|
|
1166
1282
|
}
|
|
1167
1283
|
|
|
1168
|
-
|
|
1169
|
-
padding: calc(var(--primitives-space-8) - var(--semantics-buttons-accent-outlined-border-thickness));
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
:host([variant='accent-outlined'][size='md']) .icon-button {
|
|
1173
|
-
padding: calc(var(--primitives-space-8) - var(--semantics-buttons-accent-outlined-border-thickness));
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
:host([variant='accent-outlined'][size='sm']) .icon-button {
|
|
1177
|
-
padding: calc(var(--primitives-space-6) - var(--semantics-buttons-accent-outlined-border-thickness));
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
:host([variant='accent-outlined'][size='xs']) .icon-button {
|
|
1181
|
-
padding: calc(var(--primitives-space-4) - var(--semantics-buttons-accent-outlined-border-thickness));
|
|
1182
|
-
}
|
|
1284
|
+
/* ### Open hovered accent filled icon button */
|
|
1183
1285
|
|
|
1184
1286
|
@media (hover: hover) {
|
|
1185
|
-
:host([variant='accent-
|
|
1186
|
-
|
|
1187
|
-
color: var(--semantics-buttons-accent-
|
|
1287
|
+
:host([expanded][variant='accent-filled']) .icon-button:hover,
|
|
1288
|
+
:host([expanded][variant='primary']) .icon-button:hover {
|
|
1289
|
+
background-color: var(--semantics-buttons-accent-filled-is-open-is-hovered-background-color);
|
|
1290
|
+
color: var(--semantics-buttons-accent-filled-is-open-is-hovered-content-color);
|
|
1188
1291
|
}
|
|
1189
1292
|
}
|
|
1190
1293
|
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1294
|
+
/* ### Open active accent filled icon button */
|
|
1295
|
+
|
|
1296
|
+
:host([expanded][variant='accent-filled']) .icon-button:active,
|
|
1297
|
+
:host([expanded][variant='primary']) .icon-button:active {
|
|
1298
|
+
background-color: var(--semantics-buttons-accent-filled-is-open-is-active-background-color);
|
|
1299
|
+
color: var(--semantics-buttons-accent-filled-is-open-is-active-content-color);
|
|
1194
1300
|
}
|
|
1195
1301
|
|
|
1196
|
-
/* ##
|
|
1302
|
+
/* ## Accent Transparent */
|
|
1303
|
+
|
|
1304
|
+
/* ### Default accent transparent icon button */
|
|
1197
1305
|
|
|
1198
1306
|
:host([variant='accent-transparent']) .icon-button {
|
|
1199
1307
|
background-color: transparent;
|
|
1200
1308
|
color: var(--semantics-buttons-accent-transparent-content-color);
|
|
1201
1309
|
}
|
|
1202
1310
|
|
|
1311
|
+
/* ### Hovered accent transparent icon button */
|
|
1312
|
+
|
|
1203
1313
|
@media (hover: hover) {
|
|
1204
1314
|
:host([variant='accent-transparent']) .icon-button:hover {
|
|
1205
1315
|
color: var(--semantics-buttons-accent-transparent-is-hovered-content-color);
|
|
1206
1316
|
}
|
|
1207
1317
|
}
|
|
1208
1318
|
|
|
1319
|
+
/* ### Active accent transparent icon button */
|
|
1320
|
+
|
|
1209
1321
|
:host([variant='accent-transparent']) .icon-button:active {
|
|
1210
1322
|
color: var(--semantics-buttons-accent-transparent-is-active-content-color);
|
|
1211
1323
|
}
|
|
1212
1324
|
|
|
1213
|
-
/* ##
|
|
1325
|
+
/* ## Critical Tinted (Destructive) */
|
|
1326
|
+
|
|
1327
|
+
/* ### Default critical tinted icon button */
|
|
1214
1328
|
|
|
1215
1329
|
:host([variant='critical-tinted']) .icon-button,
|
|
1216
1330
|
:host([variant='destructive']) .icon-button {
|
|
@@ -1218,6 +1332,8 @@ const iconButtonStyles = css`
|
|
|
1218
1332
|
color: var(--semantics-buttons-critical-tinted-content-color);
|
|
1219
1333
|
}
|
|
1220
1334
|
|
|
1335
|
+
/* ### Hovered critical tinted icon button */
|
|
1336
|
+
|
|
1221
1337
|
@media (hover: hover) {
|
|
1222
1338
|
:host([variant='critical-tinted']) .icon-button:hover,
|
|
1223
1339
|
:host([variant='destructive']) .icon-button:hover {
|
|
@@ -1226,12 +1342,37 @@ const iconButtonStyles = css`
|
|
|
1226
1342
|
}
|
|
1227
1343
|
}
|
|
1228
1344
|
|
|
1345
|
+
/* ### Active critical tinted icon button */
|
|
1346
|
+
|
|
1229
1347
|
:host([variant='critical-tinted']) .icon-button:active,
|
|
1230
1348
|
:host([variant='destructive']) .icon-button:active {
|
|
1231
1349
|
background-color: var(--semantics-buttons-critical-tinted-is-active-background-color);
|
|
1232
1350
|
color: var(--semantics-buttons-critical-tinted-is-active-content-color);
|
|
1233
1351
|
}
|
|
1234
1352
|
|
|
1353
|
+
/* ## Critical Transparent */
|
|
1354
|
+
|
|
1355
|
+
/* ### Default critical transparent icon button */
|
|
1356
|
+
|
|
1357
|
+
:host([variant='critical-transparent']) .icon-button {
|
|
1358
|
+
background-color: transparent;
|
|
1359
|
+
color: var(--semantics-buttons-critical-transparent-content-color);
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
/* ### Hovered critical transparent icon button */
|
|
1363
|
+
|
|
1364
|
+
@media (hover: hover) {
|
|
1365
|
+
:host([variant='critical-transparent']) .icon-button:hover {
|
|
1366
|
+
color: var(--semantics-buttons-critical-transparent-is-hovered-content-color);
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/* ### Active critical transparent icon button */
|
|
1371
|
+
|
|
1372
|
+
:host([variant='critical-transparent']) .icon-button:active {
|
|
1373
|
+
color: var(--semantics-buttons-critical-transparent-is-active-content-color);
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1235
1376
|
|
|
1236
1377
|
/* # Elements */
|
|
1237
1378
|
|
|
@@ -1249,9 +1390,39 @@ const iconButtonStyles = css`
|
|
|
1249
1390
|
justify-content: center;
|
|
1250
1391
|
}
|
|
1251
1392
|
|
|
1393
|
+
:host([size='xs']) .icon-button__icon {
|
|
1394
|
+
width: var(--semantics-buttons-xs-icon-only-icon-size);
|
|
1395
|
+
height: var(--semantics-buttons-xs-icon-only-icon-size);
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
:host([size='sm']) .icon-button__icon {
|
|
1399
|
+
width: var(--semantics-buttons-sm-icon-only-icon-size);
|
|
1400
|
+
height: var(--semantics-buttons-sm-icon-only-icon-size);
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
:host([size='md']) .icon-button__icon,
|
|
1404
|
+
:host(:not([size])) .icon-button__icon {
|
|
1405
|
+
width: var(--semantics-buttons-md-icon-only-icon-size);
|
|
1406
|
+
height: var(--semantics-buttons-md-icon-only-icon-size);
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
:host([size='lg']) .icon-button__icon {
|
|
1410
|
+
width: var(--semantics-buttons-md-icon-only-icon-size);
|
|
1411
|
+
height: var(--semantics-buttons-md-icon-only-icon-size);
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1252
1414
|
.icon-button__disclosure-icon {
|
|
1253
1415
|
display: flex;
|
|
1254
1416
|
flex-shrink: 0;
|
|
1417
|
+
width: var(--_disclosure-icon-size);
|
|
1418
|
+
height: var(--_disclosure-icon-size);
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
:host([size='sm']) .icon-button__disclosure-icon,
|
|
1422
|
+
:host([size='md']) .icon-button__disclosure-icon,
|
|
1423
|
+
:host(:not([size])) .icon-button__disclosure-icon,
|
|
1424
|
+
:host([size='lg']) .icon-button__disclosure-icon {
|
|
1425
|
+
margin-right: calc(var(--primitives-space-2) * -1);
|
|
1255
1426
|
}
|
|
1256
1427
|
|
|
1257
1428
|
.icon-button__text {
|
|
@@ -1419,7 +1590,7 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1419
1590
|
super(...arguments);
|
|
1420
1591
|
this.text = "";
|
|
1421
1592
|
this.placement = "bottom";
|
|
1422
|
-
this.
|
|
1593
|
+
this.timing = "default";
|
|
1423
1594
|
this._visible = false;
|
|
1424
1595
|
this._tooltipId = `nldd-tooltip-${++tooltipCounter}`;
|
|
1425
1596
|
this._hideTimeout = null;
|
|
@@ -1456,10 +1627,10 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1456
1627
|
}
|
|
1457
1628
|
}
|
|
1458
1629
|
}
|
|
1459
|
-
if (changed.has("text") || changed.has("
|
|
1630
|
+
if (changed.has("text") || changed.has("timing")) {
|
|
1460
1631
|
this._syncAriaDescribedBy();
|
|
1461
1632
|
}
|
|
1462
|
-
if (changed.has("
|
|
1633
|
+
if (changed.has("timing") && this.timing === "never") {
|
|
1463
1634
|
if (this._showTimeout) {
|
|
1464
1635
|
clearTimeout(this._showTimeout);
|
|
1465
1636
|
this._showTimeout = null;
|
|
@@ -1477,7 +1648,7 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1477
1648
|
if (trigger.getRootNode() !== document) {
|
|
1478
1649
|
return;
|
|
1479
1650
|
}
|
|
1480
|
-
if (this.text &&
|
|
1651
|
+
if (this.text && this.timing !== "never") {
|
|
1481
1652
|
if (!this._descriptionEl) {
|
|
1482
1653
|
this._descriptionEl = document.createElement("span");
|
|
1483
1654
|
this._descriptionEl.id = this._tooltipId;
|
|
@@ -1508,7 +1679,7 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1508
1679
|
return this.shadowRoot?.querySelector(".tooltip") ?? null;
|
|
1509
1680
|
}
|
|
1510
1681
|
_handleTriggerEnter() {
|
|
1511
|
-
if (this.
|
|
1682
|
+
if (this.timing === "never") return;
|
|
1512
1683
|
if (!this.text) return;
|
|
1513
1684
|
if (coarsePointerQuery.matches) return;
|
|
1514
1685
|
if (this._hideTimeout) {
|
|
@@ -1516,6 +1687,11 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1516
1687
|
this._hideTimeout = null;
|
|
1517
1688
|
}
|
|
1518
1689
|
if (this._showTimeout) clearTimeout(this._showTimeout);
|
|
1690
|
+
if (this.timing === "instant") {
|
|
1691
|
+
this._showTimeout = null;
|
|
1692
|
+
this._visible = true;
|
|
1693
|
+
return;
|
|
1694
|
+
}
|
|
1519
1695
|
const parsedShow = parseInt(getComputedStyle(this).getPropertyValue("--_show-delay"), 10);
|
|
1520
1696
|
const showDelay = Number.isFinite(parsedShow) ? parsedShow : DEFAULT_SHOW_DELAY_MS;
|
|
1521
1697
|
this._showTimeout = setTimeout(() => {
|
|
@@ -1524,7 +1700,7 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1524
1700
|
}, showDelay);
|
|
1525
1701
|
}
|
|
1526
1702
|
_handleFocusIn() {
|
|
1527
|
-
if (this.
|
|
1703
|
+
if (this.timing === "never") return;
|
|
1528
1704
|
if (!this.text) return;
|
|
1529
1705
|
if (isTouchMode()) return;
|
|
1530
1706
|
if (this._hideTimeout) {
|
|
@@ -1617,8 +1793,8 @@ __decorateClass$1g([
|
|
|
1617
1793
|
property({ type: String, reflect: true })
|
|
1618
1794
|
], NLDDTooltip.prototype, "placement", 2);
|
|
1619
1795
|
__decorateClass$1g([
|
|
1620
|
-
property({ type:
|
|
1621
|
-
], NLDDTooltip.prototype, "
|
|
1796
|
+
property({ type: String, reflect: true })
|
|
1797
|
+
], NLDDTooltip.prototype, "timing", 2);
|
|
1622
1798
|
__decorateClass$1g([
|
|
1623
1799
|
state()
|
|
1624
1800
|
], NLDDTooltip.prototype, "_visible", 2);
|
|
@@ -1646,6 +1822,8 @@ function template$l() {
|
|
|
1646
1822
|
const label = this.accessibleLabel || this.text || nothing;
|
|
1647
1823
|
const content = renderContent(this);
|
|
1648
1824
|
const tooltipText = this.accessibleLabel || (this.size !== "lg" ? this.text : "");
|
|
1825
|
+
const isDisclosure = this.expandable || !!this.popupType;
|
|
1826
|
+
const ariaExpanded = isDisclosure ? String(this.expanded) : this.expanded ? "true" : nothing;
|
|
1649
1827
|
const renderButton = () => {
|
|
1650
1828
|
if (this.href) {
|
|
1651
1829
|
const resolvedRel = this._resolvedRel();
|
|
@@ -1656,6 +1834,8 @@ function template$l() {
|
|
|
1656
1834
|
rel=${resolvedRel || nothing}
|
|
1657
1835
|
aria-disabled=${this.disabled ? "true" : nothing}
|
|
1658
1836
|
aria-label=${label}
|
|
1837
|
+
aria-haspopup=${this.popupType || nothing}
|
|
1838
|
+
aria-expanded=${ariaExpanded}
|
|
1659
1839
|
@click=${this._handleClick}
|
|
1660
1840
|
>
|
|
1661
1841
|
${content}
|
|
@@ -1668,6 +1848,8 @@ function template$l() {
|
|
|
1668
1848
|
?disabled=${this.disabled}
|
|
1669
1849
|
aria-disabled=${this.disabled ? "true" : nothing}
|
|
1670
1850
|
aria-label=${label}
|
|
1851
|
+
aria-haspopup=${this.popupType || nothing}
|
|
1852
|
+
aria-expanded=${ariaExpanded}
|
|
1671
1853
|
popovertarget=${this.popovertarget || nothing}
|
|
1672
1854
|
@click=${this._handleClick}
|
|
1673
1855
|
>
|
|
@@ -1702,7 +1884,8 @@ let NLDDIconButton = class extends LitElement {
|
|
|
1702
1884
|
this.disabled = false;
|
|
1703
1885
|
this.type = "button";
|
|
1704
1886
|
this.expandable = false;
|
|
1705
|
-
this.
|
|
1887
|
+
this.expanded = false;
|
|
1888
|
+
this.width = "";
|
|
1706
1889
|
this.popovertarget = void 0;
|
|
1707
1890
|
this.text = "";
|
|
1708
1891
|
this.icon = "";
|
|
@@ -1719,7 +1902,18 @@ let NLDDIconButton = class extends LitElement {
|
|
|
1719
1902
|
const slot = this.shadowRoot?.querySelector('slot[name="icon"]');
|
|
1720
1903
|
return (slot?.assignedElements().length ?? 0) > 0;
|
|
1721
1904
|
}
|
|
1722
|
-
updated() {
|
|
1905
|
+
updated(changedProperties) {
|
|
1906
|
+
if (changedProperties.has("width")) {
|
|
1907
|
+
const w = this.width;
|
|
1908
|
+
const isFull = w === "full";
|
|
1909
|
+
const isValidLength = !!w && !isFull && CSS.supports("width", w);
|
|
1910
|
+
this.style.width = isValidLength ? w : "";
|
|
1911
|
+
if (isFull || isValidLength) {
|
|
1912
|
+
this.style.setProperty("--_width", "100%");
|
|
1913
|
+
} else {
|
|
1914
|
+
this.style.removeProperty("--_width");
|
|
1915
|
+
}
|
|
1916
|
+
}
|
|
1723
1917
|
const inaccessible = this._hasIcon && !this.text && !this.accessibleLabel;
|
|
1724
1918
|
if (!inaccessible) {
|
|
1725
1919
|
this._warnedA11y = false;
|
|
@@ -1766,8 +1960,14 @@ __decorateClass$1f([
|
|
|
1766
1960
|
property({ type: Boolean, reflect: true, attribute: "expandable" })
|
|
1767
1961
|
], NLDDIconButton.prototype, "expandable", 2);
|
|
1768
1962
|
__decorateClass$1f([
|
|
1769
|
-
property({ type: Boolean, reflect: true
|
|
1770
|
-
], NLDDIconButton.prototype, "
|
|
1963
|
+
property({ type: Boolean, reflect: true })
|
|
1964
|
+
], NLDDIconButton.prototype, "expanded", 2);
|
|
1965
|
+
__decorateClass$1f([
|
|
1966
|
+
property({ type: String, reflect: true, attribute: "popup-type" })
|
|
1967
|
+
], NLDDIconButton.prototype, "popupType", 2);
|
|
1968
|
+
__decorateClass$1f([
|
|
1969
|
+
property({ type: String, reflect: true })
|
|
1970
|
+
], NLDDIconButton.prototype, "width", 2);
|
|
1771
1971
|
__decorateClass$1f([
|
|
1772
1972
|
property({ type: String })
|
|
1773
1973
|
], NLDDIconButton.prototype, "popovertarget", 2);
|
|
@@ -1924,8 +2124,8 @@ function template$k() {
|
|
|
1924
2124
|
text=${this._t("components.split-button.menu-action")}
|
|
1925
2125
|
hide-tooltip
|
|
1926
2126
|
?disabled=${this.disabled}
|
|
1927
|
-
|
|
1928
|
-
|
|
2127
|
+
?expanded=${this._menuIsOpen}
|
|
2128
|
+
popup-type="menu"
|
|
1929
2129
|
@click=${this._handleMenuClick}
|
|
1930
2130
|
></nldd-icon-button>
|
|
1931
2131
|
</div>
|
|
@@ -2527,7 +2727,7 @@ var __decorateClass$1e = (decorators, target, key, kind) => {
|
|
|
2527
2727
|
if (result) __defProp$1c(target, key, result);
|
|
2528
2728
|
return result;
|
|
2529
2729
|
};
|
|
2530
|
-
function VisibilityMixin(Base) {
|
|
2730
|
+
function VisibilityMixin(Base, containerName) {
|
|
2531
2731
|
class WithVisibility extends Base {
|
|
2532
2732
|
updated(changed) {
|
|
2533
2733
|
super.updated(changed);
|
|
@@ -2537,15 +2737,16 @@ function VisibilityMixin(Base) {
|
|
|
2537
2737
|
}
|
|
2538
2738
|
_updateVisibilityStyle() {
|
|
2539
2739
|
if (!this.shadowRoot) return;
|
|
2740
|
+
const containerPrefix = `${containerName} `;
|
|
2540
2741
|
const rules = [];
|
|
2541
2742
|
if (this.hideBelow) {
|
|
2542
2743
|
rules.push(
|
|
2543
|
-
`:host { @container (max-width: ${this.hideBelow}) { display: none !important; } }`
|
|
2744
|
+
`:host { @container ${containerPrefix}(max-width: ${this.hideBelow}) { display: none !important; } }`
|
|
2544
2745
|
);
|
|
2545
2746
|
}
|
|
2546
2747
|
if (this.hideAbove) {
|
|
2547
2748
|
rules.push(
|
|
2548
|
-
`:host { @container (min-width: ${this.hideAbove}) { display: none !important; } }`
|
|
2749
|
+
`:host { @container ${containerPrefix}(min-width: ${this.hideAbove}) { display: none !important; } }`
|
|
2549
2750
|
);
|
|
2550
2751
|
}
|
|
2551
2752
|
if (rules.length === 0) {
|
|
@@ -2578,7 +2779,7 @@ var __decorateClass$1d = (decorators, target, key, kind) => {
|
|
|
2578
2779
|
if (kind && result) __defProp$1b(target, key, result);
|
|
2579
2780
|
return result;
|
|
2580
2781
|
};
|
|
2581
|
-
let NLDDIconCell = class extends VisibilityMixin(LitElement) {
|
|
2782
|
+
let NLDDIconCell = class extends VisibilityMixin(LitElement, "list-container") {
|
|
2582
2783
|
constructor() {
|
|
2583
2784
|
super(...arguments);
|
|
2584
2785
|
this.verticalAlignment = "center";
|
|
@@ -2661,7 +2862,7 @@ var __decorateClass$1c = (decorators, target, key, kind) => {
|
|
|
2661
2862
|
if (kind && result) __defProp$1a(target, key, result);
|
|
2662
2863
|
return result;
|
|
2663
2864
|
};
|
|
2664
|
-
let NLDDSpacerCell = class extends VisibilityMixin(LitElement) {
|
|
2865
|
+
let NLDDSpacerCell = class extends VisibilityMixin(LitElement, "list-container") {
|
|
2665
2866
|
constructor() {
|
|
2666
2867
|
super(...arguments);
|
|
2667
2868
|
this.size = "16";
|
|
@@ -2704,8 +2905,9 @@ const textCellStyles = css`
|
|
|
2704
2905
|
|
|
2705
2906
|
/* # Width */
|
|
2706
2907
|
|
|
2707
|
-
:host([width='
|
|
2708
|
-
:host(:not([width]))
|
|
2908
|
+
:host([width='full']),
|
|
2909
|
+
:host(:not([width])),
|
|
2910
|
+
:host([width='']) {
|
|
2709
2911
|
flex-grow: 1;
|
|
2710
2912
|
flex-shrink: 1;
|
|
2711
2913
|
}
|
|
@@ -2717,7 +2919,7 @@ const textCellStyles = css`
|
|
|
2717
2919
|
width: fit-content;
|
|
2718
2920
|
}
|
|
2719
2921
|
|
|
2720
|
-
:host([width]:not([width='
|
|
2922
|
+
:host([width]:not([width='full']):not([width='fit-content']):not([width=''])) {
|
|
2721
2923
|
flex-shrink: 0;
|
|
2722
2924
|
}
|
|
2723
2925
|
|
|
@@ -2755,6 +2957,10 @@ const textCellStyles = css`
|
|
|
2755
2957
|
align-items: flex-start;
|
|
2756
2958
|
}
|
|
2757
2959
|
|
|
2960
|
+
:host([horizontal-alignment='center']) {
|
|
2961
|
+
align-items: center;
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2758
2964
|
:host([horizontal-alignment='right']) {
|
|
2759
2965
|
align-items: flex-end;
|
|
2760
2966
|
}
|
|
@@ -2779,6 +2985,10 @@ const textCellStyles = css`
|
|
|
2779
2985
|
font: var(--primitives-font-body-xxs-regular-tight);
|
|
2780
2986
|
}
|
|
2781
2987
|
|
|
2988
|
+
:host([horizontal-alignment='center']) .text-cell__overline {
|
|
2989
|
+
text-align: center;
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2782
2992
|
:host([horizontal-alignment='right']) .text-cell__overline {
|
|
2783
2993
|
text-align: right;
|
|
2784
2994
|
}
|
|
@@ -2803,6 +3013,10 @@ const textCellStyles = css`
|
|
|
2803
3013
|
font: var(--primitives-font-body-sm-regular-tight);
|
|
2804
3014
|
}
|
|
2805
3015
|
|
|
3016
|
+
:host([horizontal-alignment='center']) .text-cell__text {
|
|
3017
|
+
text-align: center;
|
|
3018
|
+
}
|
|
3019
|
+
|
|
2806
3020
|
:host([horizontal-alignment='right']) .text-cell__text {
|
|
2807
3021
|
text-align: right;
|
|
2808
3022
|
}
|
|
@@ -2875,6 +3089,10 @@ const textCellStyles = css`
|
|
|
2875
3089
|
font: var(--primitives-font-body-xxs-regular-tight);
|
|
2876
3090
|
}
|
|
2877
3091
|
|
|
3092
|
+
:host([horizontal-alignment='center']) .text-cell__supporting-text {
|
|
3093
|
+
text-align: center;
|
|
3094
|
+
}
|
|
3095
|
+
|
|
2878
3096
|
:host([horizontal-alignment='right']) .text-cell__supporting-text {
|
|
2879
3097
|
text-align: right;
|
|
2880
3098
|
}
|
|
@@ -2951,12 +3169,12 @@ var __decorateClass$1b = (decorators, target, key, kind) => {
|
|
|
2951
3169
|
if (kind && result) __defProp$19(target, key, result);
|
|
2952
3170
|
return result;
|
|
2953
3171
|
};
|
|
2954
|
-
let NLDDTextCell = class extends VisibilityMixin(LitElement) {
|
|
3172
|
+
let NLDDTextCell = class extends VisibilityMixin(LitElement, "list-container") {
|
|
2955
3173
|
constructor() {
|
|
2956
3174
|
super(...arguments);
|
|
2957
3175
|
this.size = "md";
|
|
2958
3176
|
this.color = "default";
|
|
2959
|
-
this.width = "
|
|
3177
|
+
this.width = "full";
|
|
2960
3178
|
this.horizontalAlignment = "left";
|
|
2961
3179
|
this.verticalAlignment = "center";
|
|
2962
3180
|
this.text = "";
|
|
@@ -2995,12 +3213,17 @@ let NLDDTextCell = class extends VisibilityMixin(LitElement) {
|
|
|
2995
3213
|
}
|
|
2996
3214
|
}
|
|
2997
3215
|
_applyDimensionStyles() {
|
|
2998
|
-
const
|
|
2999
|
-
|
|
3000
|
-
|
|
3216
|
+
const w = this.width;
|
|
3217
|
+
const widthIsKeyword = w === "full" || w === "fit-content";
|
|
3218
|
+
const widthIsValidLength = !!w && !widthIsKeyword && CSS.supports("width", w);
|
|
3219
|
+
if (widthIsValidLength) {
|
|
3220
|
+
this.style.setProperty("--_width", w);
|
|
3001
3221
|
} else {
|
|
3002
3222
|
this.style.removeProperty("--_width");
|
|
3003
3223
|
}
|
|
3224
|
+
if (w && !widthIsKeyword && !widthIsValidLength) {
|
|
3225
|
+
this.width = "";
|
|
3226
|
+
}
|
|
3004
3227
|
if (this.minWidth) {
|
|
3005
3228
|
this.style.setProperty("--_min-width", this.minWidth);
|
|
3006
3229
|
} else {
|
|
@@ -3302,9 +3525,9 @@ let NLDDButtonGroup = class extends LitElement {
|
|
|
3302
3525
|
el.setAttribute("hidden", "");
|
|
3303
3526
|
}
|
|
3304
3527
|
if (this.orientation === "vertical") {
|
|
3305
|
-
el.setAttribute("
|
|
3528
|
+
el.setAttribute("width", "full");
|
|
3306
3529
|
} else {
|
|
3307
|
-
el.removeAttribute("
|
|
3530
|
+
el.removeAttribute("width");
|
|
3308
3531
|
}
|
|
3309
3532
|
el.setAttribute("size", this.size);
|
|
3310
3533
|
});
|
|
@@ -5158,10 +5381,10 @@ function resolveWidth(width) {
|
|
|
5158
5381
|
}
|
|
5159
5382
|
function renderChildren(children, allChildren, overflowIds, suppressSoloFluid = false) {
|
|
5160
5383
|
return children.map((child) => {
|
|
5161
|
-
if (child.type === "title
|
|
5384
|
+
if (child.type === "title") {
|
|
5162
5385
|
const alignClass = child.align === "center" ? "toolbar__title-group--center-text-align" : "toolbar__title-group--left-text-align";
|
|
5163
5386
|
const visibleItems = allChildren.filter(
|
|
5164
|
-
(c) => !overflowIds.has(c.id) && (c.type === "item" || c.type === "title
|
|
5387
|
+
(c) => !overflowIds.has(c.id) && (c.type === "item" || c.type === "title")
|
|
5165
5388
|
);
|
|
5166
5389
|
const solo = visibleItems.length === 1 && visibleItems[0].id === child.id;
|
|
5167
5390
|
return html`
|
|
@@ -5171,14 +5394,14 @@ function renderChildren(children, allChildren, overflowIds, suppressSoloFluid =
|
|
|
5171
5394
|
style=${styleMap({ "--_title-group-min-width": child.minWidth })}
|
|
5172
5395
|
>
|
|
5173
5396
|
${child.title ? html`<p class="toolbar__title">${child.title}</p>` : nothing}
|
|
5174
|
-
${child.
|
|
5397
|
+
${child.supportingText ? html`<p class="toolbar__subtitle">${child.supportingText}</p>` : nothing}
|
|
5175
5398
|
</div>
|
|
5176
5399
|
`;
|
|
5177
5400
|
}
|
|
5178
5401
|
if (child.type === "item") {
|
|
5179
5402
|
const isOverflowed = overflowIds.has(child.id);
|
|
5180
5403
|
const visibleItems = allChildren.filter(
|
|
5181
|
-
(c) => !overflowIds.has(c.id) && (c.type === "item" || c.type === "title
|
|
5404
|
+
(c) => !overflowIds.has(c.id) && (c.type === "item" || c.type === "title")
|
|
5182
5405
|
);
|
|
5183
5406
|
const soloFluid = !suppressSoloFluid && !isOverflowed && child.isFluid && visibleItems.length === 1 && visibleItems[0].id === child.id;
|
|
5184
5407
|
const cssVars = {};
|
|
@@ -5267,8 +5490,8 @@ if (!customElements.get("nldd-toolbar-item")) {
|
|
|
5267
5490
|
}
|
|
5268
5491
|
});
|
|
5269
5492
|
}
|
|
5270
|
-
if (!customElements.get("nldd-toolbar-title
|
|
5271
|
-
customElements.define("nldd-toolbar-title
|
|
5493
|
+
if (!customElements.get("nldd-toolbar-title")) {
|
|
5494
|
+
customElements.define("nldd-toolbar-title", class extends HTMLElement {
|
|
5272
5495
|
});
|
|
5273
5496
|
}
|
|
5274
5497
|
let NLDDToolbar = class extends LitElement {
|
|
@@ -5315,7 +5538,7 @@ let NLDDToolbar = class extends LitElement {
|
|
|
5315
5538
|
const onlyInternalMoves = mutations.every((m) => {
|
|
5316
5539
|
if (m.type === "attributes") {
|
|
5317
5540
|
const tag = m.target.tagName.toLowerCase();
|
|
5318
|
-
return tag !== "nldd-toolbar-item" && tag !== "nldd-toolbar-title
|
|
5541
|
+
return tag !== "nldd-toolbar-item" && tag !== "nldd-toolbar-title";
|
|
5319
5542
|
}
|
|
5320
5543
|
return false;
|
|
5321
5544
|
});
|
|
@@ -5453,7 +5676,7 @@ let NLDDToolbar = class extends LitElement {
|
|
|
5453
5676
|
const visible = children.filter((c) => !this._overflowIds.has(c.id));
|
|
5454
5677
|
const gaps = Math.max(0, visible.length - 1) * itemGap;
|
|
5455
5678
|
const itemsWidth = visible.reduce((sum, child) => {
|
|
5456
|
-
if (child.type === "item" || child.type === "title
|
|
5679
|
+
if (child.type === "item" || child.type === "title") {
|
|
5457
5680
|
return sum + (this._itemWidths.get(child.id) ?? 0);
|
|
5458
5681
|
}
|
|
5459
5682
|
return sum;
|
|
@@ -5594,14 +5817,14 @@ let NLDDToolbar = class extends LitElement {
|
|
|
5594
5817
|
_buildChildrenForSlot(slotName) {
|
|
5595
5818
|
return Array.from(this.children).filter((el) => el.getAttribute("slot") === slotName).map((el) => {
|
|
5596
5819
|
const tag = el.tagName.toLowerCase();
|
|
5597
|
-
if (tag === "nldd-toolbar-title
|
|
5820
|
+
if (tag === "nldd-toolbar-title") {
|
|
5598
5821
|
const id2 = this._getId(el);
|
|
5599
5822
|
el.dataset.toolbarSlot = slotName;
|
|
5600
5823
|
el.setAttribute("slot", `child-${id2}`);
|
|
5601
5824
|
return {
|
|
5602
|
-
type: "title
|
|
5825
|
+
type: "title",
|
|
5603
5826
|
title: el.getAttribute("text") ?? "",
|
|
5604
|
-
|
|
5827
|
+
supportingText: el.getAttribute("supporting-text") ?? "",
|
|
5605
5828
|
align: el.getAttribute("align") ?? "left",
|
|
5606
5829
|
minWidth: el.getAttribute("min-width") ?? "200px",
|
|
5607
5830
|
id: id2
|
|
@@ -5665,7 +5888,7 @@ let NLDDToolbar = class extends LitElement {
|
|
|
5665
5888
|
const visibleNonDivider = allChildren.filter(
|
|
5666
5889
|
(c) => !this._overflowIds.has(c.id)
|
|
5667
5890
|
);
|
|
5668
|
-
const isSoloFluid = visibleNonDivider.length === 1 && (visibleNonDivider[0].type === "title
|
|
5891
|
+
const isSoloFluid = visibleNonDivider.length === 1 && (visibleNonDivider[0].type === "title" || visibleNonDivider[0].type === "item" && visibleNonDivider[0].isFluid);
|
|
5669
5892
|
return template$f(
|
|
5670
5893
|
this._startChildren,
|
|
5671
5894
|
this._centerChildren,
|
|
@@ -6068,15 +6291,15 @@ const titleStyles = css`
|
|
|
6068
6291
|
font: var(--primitives-font-display-1-lg);
|
|
6069
6292
|
}
|
|
6070
6293
|
|
|
6071
|
-
@container layout-
|
|
6294
|
+
@container layout-container (max-width: ${smMax$d}) {
|
|
6072
6295
|
font: var(--primitives-font-display-1-sm);
|
|
6073
6296
|
}
|
|
6074
6297
|
|
|
6075
|
-
@container layout-
|
|
6298
|
+
@container layout-container (min-width: ${mdMin$e}) and (max-width: ${mdMax$9}) {
|
|
6076
6299
|
font: var(--primitives-font-display-1-md);
|
|
6077
6300
|
}
|
|
6078
6301
|
|
|
6079
|
-
@container layout-
|
|
6302
|
+
@container layout-container (min-width: ${lgMin$b}) {
|
|
6080
6303
|
font: var(--primitives-font-display-1-lg);
|
|
6081
6304
|
}
|
|
6082
6305
|
}
|
|
@@ -6094,15 +6317,15 @@ const titleStyles = css`
|
|
|
6094
6317
|
font: var(--primitives-font-display-2-lg);
|
|
6095
6318
|
}
|
|
6096
6319
|
|
|
6097
|
-
@container layout-
|
|
6320
|
+
@container layout-container (max-width: ${smMax$d}) {
|
|
6098
6321
|
font: var(--primitives-font-display-2-sm);
|
|
6099
6322
|
}
|
|
6100
6323
|
|
|
6101
|
-
@container layout-
|
|
6324
|
+
@container layout-container (min-width: ${mdMin$e}) and (max-width: ${mdMax$9}) {
|
|
6102
6325
|
font: var(--primitives-font-display-2-md);
|
|
6103
6326
|
}
|
|
6104
6327
|
|
|
6105
|
-
@container layout-
|
|
6328
|
+
@container layout-container (min-width: ${lgMin$b}) {
|
|
6106
6329
|
font: var(--primitives-font-display-2-lg);
|
|
6107
6330
|
}
|
|
6108
6331
|
}
|
|
@@ -6121,15 +6344,15 @@ const titleStyles = css`
|
|
|
6121
6344
|
font: var(--primitives-font-display-3-lg);
|
|
6122
6345
|
}
|
|
6123
6346
|
|
|
6124
|
-
@container layout-
|
|
6347
|
+
@container layout-container (max-width: ${smMax$d}) {
|
|
6125
6348
|
font: var(--primitives-font-display-3-sm);
|
|
6126
6349
|
}
|
|
6127
6350
|
|
|
6128
|
-
@container layout-
|
|
6351
|
+
@container layout-container (min-width: ${mdMin$e}) and (max-width: ${mdMax$9}) {
|
|
6129
6352
|
font: var(--primitives-font-display-3-md);
|
|
6130
6353
|
}
|
|
6131
6354
|
|
|
6132
|
-
@container layout-
|
|
6355
|
+
@container layout-container (min-width: ${lgMin$b}) {
|
|
6133
6356
|
font: var(--primitives-font-display-3-lg);
|
|
6134
6357
|
}
|
|
6135
6358
|
}
|
|
@@ -6147,15 +6370,15 @@ const titleStyles = css`
|
|
|
6147
6370
|
font: var(--primitives-font-display-4-lg);
|
|
6148
6371
|
}
|
|
6149
6372
|
|
|
6150
|
-
@container layout-
|
|
6373
|
+
@container layout-container (max-width: ${smMax$d}) {
|
|
6151
6374
|
font: var(--primitives-font-display-4-sm);
|
|
6152
6375
|
}
|
|
6153
6376
|
|
|
6154
|
-
@container layout-
|
|
6377
|
+
@container layout-container (min-width: ${mdMin$e}) and (max-width: ${mdMax$9}) {
|
|
6155
6378
|
font: var(--primitives-font-display-4-md);
|
|
6156
6379
|
}
|
|
6157
6380
|
|
|
6158
|
-
@container layout-
|
|
6381
|
+
@container layout-container (min-width: ${lgMin$b}) {
|
|
6159
6382
|
font: var(--primitives-font-display-4-lg);
|
|
6160
6383
|
}
|
|
6161
6384
|
}
|
|
@@ -6173,15 +6396,15 @@ const titleStyles = css`
|
|
|
6173
6396
|
font: var(--primitives-font-display-5-lg);
|
|
6174
6397
|
}
|
|
6175
6398
|
|
|
6176
|
-
@container layout-
|
|
6399
|
+
@container layout-container (max-width: ${smMax$d}) {
|
|
6177
6400
|
font: var(--primitives-font-display-5-sm);
|
|
6178
6401
|
}
|
|
6179
6402
|
|
|
6180
|
-
@container layout-
|
|
6403
|
+
@container layout-container (min-width: ${mdMin$e}) and (max-width: ${mdMax$9}) {
|
|
6181
6404
|
font: var(--primitives-font-display-5-md);
|
|
6182
6405
|
}
|
|
6183
6406
|
|
|
6184
|
-
@container layout-
|
|
6407
|
+
@container layout-container (min-width: ${lgMin$b}) {
|
|
6185
6408
|
font: var(--primitives-font-display-5-lg);
|
|
6186
6409
|
}
|
|
6187
6410
|
}
|
|
@@ -6199,15 +6422,15 @@ const titleStyles = css`
|
|
|
6199
6422
|
font: var(--primitives-font-display-6-lg);
|
|
6200
6423
|
}
|
|
6201
6424
|
|
|
6202
|
-
@container layout-
|
|
6425
|
+
@container layout-container (max-width: ${smMax$d}) {
|
|
6203
6426
|
font: var(--primitives-font-display-6-sm);
|
|
6204
6427
|
}
|
|
6205
6428
|
|
|
6206
|
-
@container layout-
|
|
6429
|
+
@container layout-container (min-width: ${mdMin$e}) and (max-width: ${mdMax$9}) {
|
|
6207
6430
|
font: var(--primitives-font-display-6-md);
|
|
6208
6431
|
}
|
|
6209
6432
|
|
|
6210
|
-
@container layout-
|
|
6433
|
+
@container layout-container (min-width: ${lgMin$b}) {
|
|
6211
6434
|
font: var(--primitives-font-display-6-lg);
|
|
6212
6435
|
}
|
|
6213
6436
|
}
|
|
@@ -6296,7 +6519,7 @@ const blockquoteStyles = css`
|
|
|
6296
6519
|
}
|
|
6297
6520
|
}
|
|
6298
6521
|
|
|
6299
|
-
@container layout-
|
|
6522
|
+
@container layout-container (max-width: ${smMax$c}) {
|
|
6300
6523
|
:host {
|
|
6301
6524
|
--_spacing: var(--semantics-blockquotes-sm-spacing);
|
|
6302
6525
|
--_quote-font: var(--semantics-blockquotes-sm-quote-font);
|
|
@@ -6460,7 +6683,7 @@ const tagStyles = css`
|
|
|
6460
6683
|
--_background-color: var(--components-tag-neutral-background-color);
|
|
6461
6684
|
--_content-color: var(--components-tag-neutral-content-color);
|
|
6462
6685
|
--_min-height: var(--primitives-space-24);
|
|
6463
|
-
--_inline-padding: var(--primitives-space-
|
|
6686
|
+
--_inline-padding: var(--primitives-space-6);
|
|
6464
6687
|
--_gap: var(--primitives-space-3);
|
|
6465
6688
|
--_font: var(--primitives-font-body-sm-bold-flat);
|
|
6466
6689
|
--_icon-size: var(--primitives-space-16);
|
|
@@ -6471,46 +6694,144 @@ const tagStyles = css`
|
|
|
6471
6694
|
vertical-align: middle;
|
|
6472
6695
|
}
|
|
6473
6696
|
|
|
6474
|
-
:host([size="sm"]) {
|
|
6475
|
-
--_min-height: var(--primitives-space-20);
|
|
6476
|
-
--_inline-padding: var(--primitives-space-
|
|
6477
|
-
--_gap: var(--primitives-space-2);
|
|
6478
|
-
--_font: var(--primitives-font-body-xs-bold-flat);
|
|
6479
|
-
--_icon-size: var(--primitives-space-14);
|
|
6480
|
-
--_corner-radius: var(--components-tag-sm-corner-radius);
|
|
6697
|
+
:host([size="sm"]) {
|
|
6698
|
+
--_min-height: var(--primitives-space-20);
|
|
6699
|
+
--_inline-padding: var(--primitives-space-4);
|
|
6700
|
+
--_gap: var(--primitives-space-2);
|
|
6701
|
+
--_font: var(--primitives-font-body-xs-bold-flat);
|
|
6702
|
+
--_icon-size: var(--primitives-space-14);
|
|
6703
|
+
--_corner-radius: var(--components-tag-sm-corner-radius);
|
|
6704
|
+
}
|
|
6705
|
+
|
|
6706
|
+
:host([hidden]) {
|
|
6707
|
+
display: none;
|
|
6708
|
+
}
|
|
6709
|
+
|
|
6710
|
+
|
|
6711
|
+
/* ## Color */
|
|
6712
|
+
|
|
6713
|
+
:host([color="neutral"]),
|
|
6714
|
+
:host(:not([color])) {
|
|
6715
|
+
--_background-color: var(--components-tag-neutral-background-color);
|
|
6716
|
+
--_content-color: var(--components-tag-neutral-content-color);
|
|
6717
|
+
}
|
|
6718
|
+
|
|
6719
|
+
:host([color="accent"]) {
|
|
6720
|
+
--_background-color: var(--components-tag-accent-background-color);
|
|
6721
|
+
--_content-color: var(--components-tag-accent-content-color);
|
|
6722
|
+
}
|
|
6723
|
+
|
|
6724
|
+
:host([color="success"]) {
|
|
6725
|
+
--_background-color: var(--components-tag-success-background-color);
|
|
6726
|
+
--_content-color: var(--components-tag-success-content-color);
|
|
6727
|
+
}
|
|
6728
|
+
|
|
6729
|
+
:host([color="warning"]) {
|
|
6730
|
+
--_background-color: var(--components-tag-warning-background-color);
|
|
6731
|
+
--_content-color: var(--components-tag-warning-content-color);
|
|
6732
|
+
}
|
|
6733
|
+
|
|
6734
|
+
:host([color="critical"]) {
|
|
6735
|
+
--_background-color: var(--components-tag-critical-background-color);
|
|
6736
|
+
--_content-color: var(--components-tag-critical-content-color);
|
|
6737
|
+
}
|
|
6738
|
+
|
|
6739
|
+
|
|
6740
|
+
/* ### Rijkskleuren */
|
|
6741
|
+
|
|
6742
|
+
:host([color="coolgray"]) {
|
|
6743
|
+
--_background-color: var(--components-tag-coolgray-background-color);
|
|
6744
|
+
--_content-color: var(--components-tag-coolgray-content-color);
|
|
6745
|
+
}
|
|
6746
|
+
|
|
6747
|
+
:host([color="lintblauw"]) {
|
|
6748
|
+
--_background-color: var(--components-tag-lintblauw-background-color);
|
|
6749
|
+
--_content-color: var(--components-tag-lintblauw-content-color);
|
|
6750
|
+
}
|
|
6751
|
+
|
|
6752
|
+
:host([color="donkerblauw"]) {
|
|
6753
|
+
--_background-color: var(--components-tag-donkerblauw-background-color);
|
|
6754
|
+
--_content-color: var(--components-tag-donkerblauw-content-color);
|
|
6755
|
+
}
|
|
6756
|
+
|
|
6757
|
+
:host([color="hemelblauw"]) {
|
|
6758
|
+
--_background-color: var(--components-tag-hemelblauw-background-color);
|
|
6759
|
+
--_content-color: var(--components-tag-hemelblauw-content-color);
|
|
6760
|
+
}
|
|
6761
|
+
|
|
6762
|
+
:host([color="lichtblauw"]) {
|
|
6763
|
+
--_background-color: var(--components-tag-lichtblauw-background-color);
|
|
6764
|
+
--_content-color: var(--components-tag-lichtblauw-content-color);
|
|
6765
|
+
}
|
|
6766
|
+
|
|
6767
|
+
:host([color="paars"]) {
|
|
6768
|
+
--_background-color: var(--components-tag-paars-background-color);
|
|
6769
|
+
--_content-color: var(--components-tag-paars-content-color);
|
|
6770
|
+
}
|
|
6771
|
+
|
|
6772
|
+
:host([color="violet"]) {
|
|
6773
|
+
--_background-color: var(--components-tag-violet-background-color);
|
|
6774
|
+
--_content-color: var(--components-tag-violet-content-color);
|
|
6775
|
+
}
|
|
6776
|
+
|
|
6777
|
+
:host([color="robijnrood"]) {
|
|
6778
|
+
--_background-color: var(--components-tag-robijnrood-background-color);
|
|
6779
|
+
--_content-color: var(--components-tag-robijnrood-content-color);
|
|
6780
|
+
}
|
|
6781
|
+
|
|
6782
|
+
:host([color="roze"]) {
|
|
6783
|
+
--_background-color: var(--components-tag-roze-background-color);
|
|
6784
|
+
--_content-color: var(--components-tag-roze-content-color);
|
|
6785
|
+
}
|
|
6786
|
+
|
|
6787
|
+
:host([color="rood"]) {
|
|
6788
|
+
--_background-color: var(--components-tag-rood-background-color);
|
|
6789
|
+
--_content-color: var(--components-tag-rood-content-color);
|
|
6790
|
+
}
|
|
6791
|
+
|
|
6792
|
+
:host([color="oranje"]) {
|
|
6793
|
+
--_background-color: var(--components-tag-oranje-background-color);
|
|
6794
|
+
--_content-color: var(--components-tag-oranje-content-color);
|
|
6481
6795
|
}
|
|
6482
6796
|
|
|
6483
|
-
:host([
|
|
6484
|
-
|
|
6797
|
+
:host([color="donkergeel"]) {
|
|
6798
|
+
--_background-color: var(--components-tag-donkergeel-background-color);
|
|
6799
|
+
--_content-color: var(--components-tag-donkergeel-content-color);
|
|
6485
6800
|
}
|
|
6486
6801
|
|
|
6802
|
+
:host([color="geel"]) {
|
|
6803
|
+
--_background-color: var(--components-tag-geel-background-color);
|
|
6804
|
+
--_content-color: var(--components-tag-geel-content-color);
|
|
6805
|
+
}
|
|
6487
6806
|
|
|
6488
|
-
|
|
6807
|
+
:host([color="donkerbruin"]) {
|
|
6808
|
+
--_background-color: var(--components-tag-donkerbruin-background-color);
|
|
6809
|
+
--_content-color: var(--components-tag-donkerbruin-content-color);
|
|
6810
|
+
}
|
|
6489
6811
|
|
|
6490
|
-
:host([
|
|
6491
|
-
|
|
6492
|
-
--
|
|
6493
|
-
--_content-color: var(--components-tag-neutral-content-color);
|
|
6812
|
+
:host([color="bruin"]) {
|
|
6813
|
+
--_background-color: var(--components-tag-bruin-background-color);
|
|
6814
|
+
--_content-color: var(--components-tag-bruin-content-color);
|
|
6494
6815
|
}
|
|
6495
6816
|
|
|
6496
|
-
:host([
|
|
6497
|
-
--_background-color: var(--components-tag-
|
|
6498
|
-
--_content-color: var(--components-tag-
|
|
6817
|
+
:host([color="donkergroen"]) {
|
|
6818
|
+
--_background-color: var(--components-tag-donkergroen-background-color);
|
|
6819
|
+
--_content-color: var(--components-tag-donkergroen-content-color);
|
|
6499
6820
|
}
|
|
6500
6821
|
|
|
6501
|
-
:host([
|
|
6502
|
-
--_background-color: var(--components-tag-
|
|
6503
|
-
--_content-color: var(--components-tag-
|
|
6822
|
+
:host([color="groen"]) {
|
|
6823
|
+
--_background-color: var(--components-tag-groen-background-color);
|
|
6824
|
+
--_content-color: var(--components-tag-groen-content-color);
|
|
6504
6825
|
}
|
|
6505
6826
|
|
|
6506
|
-
:host([
|
|
6507
|
-
--_background-color: var(--components-tag-
|
|
6508
|
-
--_content-color: var(--components-tag-
|
|
6827
|
+
:host([color="mosgroen"]) {
|
|
6828
|
+
--_background-color: var(--components-tag-mosgroen-background-color);
|
|
6829
|
+
--_content-color: var(--components-tag-mosgroen-content-color);
|
|
6509
6830
|
}
|
|
6510
6831
|
|
|
6511
|
-
:host([
|
|
6512
|
-
--_background-color: var(--components-tag-
|
|
6513
|
-
--_content-color: var(--components-tag-
|
|
6832
|
+
:host([color="mintgroen"]) {
|
|
6833
|
+
--_background-color: var(--components-tag-mintgroen-background-color);
|
|
6834
|
+
--_content-color: var(--components-tag-mintgroen-content-color);
|
|
6514
6835
|
}
|
|
6515
6836
|
|
|
6516
6837
|
|
|
@@ -6587,7 +6908,7 @@ var __decorateClass$$ = (decorators, target, key, kind) => {
|
|
|
6587
6908
|
let NLDDTag = class extends LitElement {
|
|
6588
6909
|
constructor() {
|
|
6589
6910
|
super(...arguments);
|
|
6590
|
-
this.
|
|
6911
|
+
this.color = "neutral";
|
|
6591
6912
|
this.size = "md";
|
|
6592
6913
|
this.text = "";
|
|
6593
6914
|
this.icon = "";
|
|
@@ -6634,7 +6955,7 @@ let NLDDTag = class extends LitElement {
|
|
|
6634
6955
|
NLDDTag.styles = tagStyles;
|
|
6635
6956
|
__decorateClass$$([
|
|
6636
6957
|
property({ type: String, reflect: true })
|
|
6637
|
-
], NLDDTag.prototype, "
|
|
6958
|
+
], NLDDTag.prototype, "color", 2);
|
|
6638
6959
|
__decorateClass$$([
|
|
6639
6960
|
property({ type: String, reflect: true })
|
|
6640
6961
|
], NLDDTag.prototype, "size", 2);
|
|
@@ -8368,7 +8689,7 @@ const GRAMMAR_LOADERS = {
|
|
|
8368
8689
|
yaml: () => import("./prism-yaml-DO0f9pf6.js"),
|
|
8369
8690
|
json: () => import("./prism-json-DIMpow89.js"),
|
|
8370
8691
|
javascript: () => import("./prism-javascript-DeC_17Pw.js"),
|
|
8371
|
-
typescript: () => import("./prism-typescript-
|
|
8692
|
+
typescript: () => import("./prism-typescript-BlIir5CV.js").then((n) => n.p),
|
|
8372
8693
|
css: () => import("./prism-css-B93tXdOU.js"),
|
|
8373
8694
|
html: () => import("./prism-markup-DfJYPYHA.js"),
|
|
8374
8695
|
bash: () => import("./prism-bash-vbqaw3JR.js"),
|
|
@@ -9276,8 +9597,10 @@ const textFieldStyles = css`
|
|
|
9276
9597
|
|
|
9277
9598
|
:host {
|
|
9278
9599
|
--_background-color: var(--semantics-input-fields-background-color);
|
|
9600
|
+
--_width: auto;
|
|
9279
9601
|
|
|
9280
9602
|
display: block;
|
|
9603
|
+
width: var(--_width);
|
|
9281
9604
|
-webkit-tap-highlight-color: transparent;
|
|
9282
9605
|
}
|
|
9283
9606
|
|
|
@@ -9535,7 +9858,12 @@ let NLDDTextField = class extends LitElement {
|
|
|
9535
9858
|
}
|
|
9536
9859
|
updated(changed) {
|
|
9537
9860
|
if (changed.has("width")) {
|
|
9538
|
-
|
|
9861
|
+
const w = this.width;
|
|
9862
|
+
if (w && w !== "full" && CSS.supports("width", w)) {
|
|
9863
|
+
this.style.setProperty("--_width", w);
|
|
9864
|
+
} else {
|
|
9865
|
+
this.style.removeProperty("--_width");
|
|
9866
|
+
}
|
|
9539
9867
|
}
|
|
9540
9868
|
if (changed.has("value")) {
|
|
9541
9869
|
this._internals.setFormValue(this.value);
|
|
@@ -9648,8 +9976,10 @@ const multiLineTextFieldStyles = css`
|
|
|
9648
9976
|
|
|
9649
9977
|
:host {
|
|
9650
9978
|
--_background-color: var(--semantics-input-fields-background-color);
|
|
9979
|
+
--_width: auto;
|
|
9651
9980
|
|
|
9652
9981
|
display: block;
|
|
9982
|
+
width: var(--_width);
|
|
9653
9983
|
-webkit-tap-highlight-color: transparent;
|
|
9654
9984
|
}
|
|
9655
9985
|
|
|
@@ -9896,7 +10226,12 @@ let NLDDMultiLineTextField = class extends LitElement {
|
|
|
9896
10226
|
}
|
|
9897
10227
|
updated(changed) {
|
|
9898
10228
|
if (changed.has("width")) {
|
|
9899
|
-
|
|
10229
|
+
const w = this.width;
|
|
10230
|
+
if (w && w !== "full" && CSS.supports("width", w)) {
|
|
10231
|
+
this.style.setProperty("--_width", w);
|
|
10232
|
+
} else {
|
|
10233
|
+
this.style.removeProperty("--_width");
|
|
10234
|
+
}
|
|
9900
10235
|
}
|
|
9901
10236
|
if (changed.has("resize") && this.resize === "auto" && this._textarea) {
|
|
9902
10237
|
this._textarea.style.width = "";
|
|
@@ -10262,8 +10597,10 @@ const passwordFieldStyles = css`
|
|
|
10262
10597
|
:host {
|
|
10263
10598
|
--_background-color: var(--semantics-input-fields-background-color);
|
|
10264
10599
|
--_z-index-button-focus: 1;
|
|
10600
|
+
--_width: auto;
|
|
10265
10601
|
|
|
10266
10602
|
display: block;
|
|
10603
|
+
width: var(--_width);
|
|
10267
10604
|
-webkit-tap-highlight-color: transparent;
|
|
10268
10605
|
}
|
|
10269
10606
|
|
|
@@ -10582,7 +10919,12 @@ let NLDDPasswordField = class extends LitElement {
|
|
|
10582
10919
|
}
|
|
10583
10920
|
updated(changed) {
|
|
10584
10921
|
if (changed.has("width")) {
|
|
10585
|
-
|
|
10922
|
+
const w = this.width;
|
|
10923
|
+
if (w && w !== "full" && CSS.supports("width", w)) {
|
|
10924
|
+
this.style.setProperty("--_width", w);
|
|
10925
|
+
} else {
|
|
10926
|
+
this.style.removeProperty("--_width");
|
|
10927
|
+
}
|
|
10586
10928
|
}
|
|
10587
10929
|
if (changed.has("value")) {
|
|
10588
10930
|
this._internals.setFormValue(this.value);
|
|
@@ -10707,8 +11049,10 @@ const searchFieldStyles = css`
|
|
|
10707
11049
|
:host {
|
|
10708
11050
|
--_background-color: var(--semantics-input-fields-background-color);
|
|
10709
11051
|
--_z-index-button-focus: 1;
|
|
11052
|
+
--_width: auto;
|
|
10710
11053
|
|
|
10711
11054
|
display: block;
|
|
11055
|
+
width: var(--_width);
|
|
10712
11056
|
min-width: 0;
|
|
10713
11057
|
-webkit-tap-highlight-color: transparent;
|
|
10714
11058
|
}
|
|
@@ -10956,7 +11300,12 @@ let NLDDSearchField = class extends LitElement {
|
|
|
10956
11300
|
}
|
|
10957
11301
|
updated(changed) {
|
|
10958
11302
|
if (changed.has("width")) {
|
|
10959
|
-
|
|
11303
|
+
const w = this.width;
|
|
11304
|
+
if (w && w !== "full" && CSS.supports("width", w)) {
|
|
11305
|
+
this.style.setProperty("--_width", w);
|
|
11306
|
+
} else {
|
|
11307
|
+
this.style.removeProperty("--_width");
|
|
11308
|
+
}
|
|
10960
11309
|
}
|
|
10961
11310
|
if (changed.has("value")) {
|
|
10962
11311
|
this._internals.setFormValue(this.value);
|
|
@@ -11094,7 +11443,7 @@ const numberFieldStyles = css`
|
|
|
11094
11443
|
opacity: 1;
|
|
11095
11444
|
}
|
|
11096
11445
|
|
|
11097
|
-
:host([full
|
|
11446
|
+
:host([width="full"]) {
|
|
11098
11447
|
display: block;
|
|
11099
11448
|
width: 100%;
|
|
11100
11449
|
}
|
|
@@ -11126,7 +11475,7 @@ const numberFieldStyles = css`
|
|
|
11126
11475
|
border-radius: var(--semantics-controls-md-corner-radius);
|
|
11127
11476
|
}
|
|
11128
11477
|
|
|
11129
|
-
:host([full
|
|
11478
|
+
:host([width="full"]) .number-field,
|
|
11130
11479
|
:host([width]) .number-field {
|
|
11131
11480
|
width: 100%;
|
|
11132
11481
|
}
|
|
@@ -11215,7 +11564,7 @@ const numberFieldStyles = css`
|
|
|
11215
11564
|
padding-inline: calc(var(--semantics-controls-md-inline-padding) - var(--semantics-input-fields-border-thickness));
|
|
11216
11565
|
}
|
|
11217
11566
|
|
|
11218
|
-
:host([full
|
|
11567
|
+
:host([width="full"]) .number-field__input,
|
|
11219
11568
|
:host([width]) .number-field__input {
|
|
11220
11569
|
flex-grow: 1;
|
|
11221
11570
|
min-width: 0;
|
|
@@ -11299,7 +11648,6 @@ let NLDDNumberField = class extends LitElement {
|
|
|
11299
11648
|
this.size = "md";
|
|
11300
11649
|
this.disabled = false;
|
|
11301
11650
|
this.name = "";
|
|
11302
|
-
this.fullWidth = false;
|
|
11303
11651
|
this.width = "";
|
|
11304
11652
|
this.hideSpinButtons = false;
|
|
11305
11653
|
this.accessibleLabel = "";
|
|
@@ -11312,12 +11660,11 @@ let NLDDNumberField = class extends LitElement {
|
|
|
11312
11660
|
}
|
|
11313
11661
|
updated(changedProperties) {
|
|
11314
11662
|
if (changedProperties.has("width")) {
|
|
11315
|
-
|
|
11316
|
-
|
|
11317
|
-
this.
|
|
11663
|
+
const w = this.width;
|
|
11664
|
+
if (w && w !== "full" && CSS.supports("width", w)) {
|
|
11665
|
+
this.style.setProperty("--_width", w);
|
|
11318
11666
|
} else {
|
|
11319
11667
|
this.style.removeProperty("--_width");
|
|
11320
|
-
this.removeAttribute("width");
|
|
11321
11668
|
}
|
|
11322
11669
|
}
|
|
11323
11670
|
if (changedProperties.has("value")) {
|
|
@@ -11425,10 +11772,7 @@ __decorateClass$R([
|
|
|
11425
11772
|
property({ type: String, reflect: true })
|
|
11426
11773
|
], NLDDNumberField.prototype, "name", 2);
|
|
11427
11774
|
__decorateClass$R([
|
|
11428
|
-
property({ type:
|
|
11429
|
-
], NLDDNumberField.prototype, "fullWidth", 2);
|
|
11430
|
-
__decorateClass$R([
|
|
11431
|
-
property({ type: String })
|
|
11775
|
+
property({ type: String, reflect: true })
|
|
11432
11776
|
], NLDDNumberField.prototype, "width", 2);
|
|
11433
11777
|
__decorateClass$R([
|
|
11434
11778
|
property({ type: Boolean, reflect: true, attribute: "hide-spin-buttons" })
|
|
@@ -11451,8 +11795,10 @@ const dropdownStyles = css`
|
|
|
11451
11795
|
--_xs-picker-icon-size: var(--primitives-space-16);
|
|
11452
11796
|
--_sm-picker-icon-size: var(--primitives-space-20);
|
|
11453
11797
|
--_md-picker-icon-size: var(--primitives-space-24);
|
|
11798
|
+
--_width: auto;
|
|
11454
11799
|
|
|
11455
11800
|
display: block;
|
|
11801
|
+
width: var(--_width);
|
|
11456
11802
|
-webkit-tap-highlight-color: transparent;
|
|
11457
11803
|
}
|
|
11458
11804
|
|
|
@@ -11495,7 +11841,7 @@ const dropdownStyles = css`
|
|
|
11495
11841
|
border-radius: var(--semantics-controls-md-corner-radius);
|
|
11496
11842
|
}
|
|
11497
11843
|
|
|
11498
|
-
|
|
11844
|
+
:host([keyboard-focused]) .dropdown {
|
|
11499
11845
|
outline: var(--semantics-focus-ring-outline);
|
|
11500
11846
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
11501
11847
|
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
@@ -11690,6 +12036,15 @@ let NLDDDropdown = class extends LitElement {
|
|
|
11690
12036
|
composed: true
|
|
11691
12037
|
}));
|
|
11692
12038
|
};
|
|
12039
|
+
this._handleSelectFocus = () => {
|
|
12040
|
+
this.toggleAttribute("keyboard-focused", isKeyboardMode());
|
|
12041
|
+
};
|
|
12042
|
+
this._handleSelectBlur = () => {
|
|
12043
|
+
this.toggleAttribute("keyboard-focused", false);
|
|
12044
|
+
};
|
|
12045
|
+
this._handleSelectKeydown = () => {
|
|
12046
|
+
this.toggleAttribute("keyboard-focused", true);
|
|
12047
|
+
};
|
|
11693
12048
|
}
|
|
11694
12049
|
// — Lifecycle ——————————————————————————————————————————————————————————————
|
|
11695
12050
|
updated(changedProperties) {
|
|
@@ -11700,7 +12055,12 @@ let NLDDDropdown = class extends LitElement {
|
|
|
11700
12055
|
this._syncAriaInvalid();
|
|
11701
12056
|
}
|
|
11702
12057
|
if (changedProperties.has("width")) {
|
|
11703
|
-
|
|
12058
|
+
const w = this.width;
|
|
12059
|
+
if (w && w !== "full" && CSS.supports("width", w)) {
|
|
12060
|
+
this.style.setProperty("--_width", w);
|
|
12061
|
+
} else {
|
|
12062
|
+
this.style.removeProperty("--_width");
|
|
12063
|
+
}
|
|
11704
12064
|
}
|
|
11705
12065
|
}
|
|
11706
12066
|
// — Slot ——————————————————————————————————————————————————————————————————
|
|
@@ -11709,6 +12069,9 @@ let NLDDDropdown = class extends LitElement {
|
|
|
11709
12069
|
const select = slot?.assignedElements({ flatten: true }).find((el) => el.tagName === "SELECT") ?? null;
|
|
11710
12070
|
if (this._select && this._select !== select) {
|
|
11711
12071
|
this._select.removeEventListener("change", this._handleSelectChange);
|
|
12072
|
+
this._select.removeEventListener("focus", this._handleSelectFocus);
|
|
12073
|
+
this._select.removeEventListener("blur", this._handleSelectBlur);
|
|
12074
|
+
this._select.removeEventListener("keydown", this._handleSelectKeydown);
|
|
11712
12075
|
}
|
|
11713
12076
|
this._select = select;
|
|
11714
12077
|
if (!select) {
|
|
@@ -11716,6 +12079,9 @@ let NLDDDropdown = class extends LitElement {
|
|
|
11716
12079
|
return;
|
|
11717
12080
|
}
|
|
11718
12081
|
select.addEventListener("change", this._handleSelectChange);
|
|
12082
|
+
select.addEventListener("focus", this._handleSelectFocus);
|
|
12083
|
+
select.addEventListener("blur", this._handleSelectBlur);
|
|
12084
|
+
select.addEventListener("keydown", this._handleSelectKeydown);
|
|
11719
12085
|
this._syncDisabled();
|
|
11720
12086
|
this._syncAriaInvalid();
|
|
11721
12087
|
this._syncDisplayValue();
|
|
@@ -11771,8 +12137,10 @@ const comboBoxStyles = css`
|
|
|
11771
12137
|
:host {
|
|
11772
12138
|
--_background-color: var(--semantics-input-fields-background-color);
|
|
11773
12139
|
--_z-index-button-focus: 1;
|
|
12140
|
+
--_width: auto;
|
|
11774
12141
|
|
|
11775
12142
|
display: block;
|
|
12143
|
+
width: var(--_width);
|
|
11776
12144
|
-webkit-tap-highlight-color: transparent;
|
|
11777
12145
|
}
|
|
11778
12146
|
|
|
@@ -12022,6 +12390,8 @@ function comboBoxTemplate(component) {
|
|
|
12022
12390
|
text=${component._t("components.combo-box.open-menu-action")}
|
|
12023
12391
|
hide-tooltip
|
|
12024
12392
|
?disabled=${component.disabled}
|
|
12393
|
+
?expanded=${component._isOpen}
|
|
12394
|
+
popup-type="listbox"
|
|
12025
12395
|
@pointerdown=${component._handlePickerPointerdown}
|
|
12026
12396
|
@click=${component._toggleMenu}
|
|
12027
12397
|
></nldd-icon-button>
|
|
@@ -12125,7 +12495,12 @@ let NLDDComboBox = class extends LitElement {
|
|
|
12125
12495
|
this._menu.maxItems = this.maxItems;
|
|
12126
12496
|
}
|
|
12127
12497
|
if (changedProperties.has("width")) {
|
|
12128
|
-
|
|
12498
|
+
const w = this.width;
|
|
12499
|
+
if (w && w !== "full" && CSS.supports("width", w)) {
|
|
12500
|
+
this.style.setProperty("--_width", w);
|
|
12501
|
+
} else {
|
|
12502
|
+
this.style.removeProperty("--_width");
|
|
12503
|
+
}
|
|
12129
12504
|
}
|
|
12130
12505
|
if (changedProperties.has("value") || changedProperties.has("text")) {
|
|
12131
12506
|
const state2 = new FormData();
|
|
@@ -13980,9 +14355,14 @@ const segmentedControlStyles = css`
|
|
|
13980
14355
|
/* # Host */
|
|
13981
14356
|
|
|
13982
14357
|
:host {
|
|
14358
|
+
--_width: auto;
|
|
14359
|
+
--_segmented-control-md-item-indicator-inset: var(--primitives-space-4);
|
|
14360
|
+
--_segmented-control-sm-item-indicator-inset: var(--primitives-space-3);
|
|
14361
|
+
|
|
13983
14362
|
display: inline-grid;
|
|
13984
14363
|
grid-auto-columns: 1fr;
|
|
13985
14364
|
grid-auto-flow: column;
|
|
14365
|
+
width: var(--_width);
|
|
13986
14366
|
background-color: var(--semantics-buttons-neutral-tinted-background-color);
|
|
13987
14367
|
isolation: isolate;
|
|
13988
14368
|
-webkit-tap-highlight-color: transparent;
|
|
@@ -13992,9 +14372,13 @@ const segmentedControlStyles = css`
|
|
|
13992
14372
|
display: none;
|
|
13993
14373
|
}
|
|
13994
14374
|
|
|
13995
|
-
:host([full
|
|
14375
|
+
:host([width="full"]) {
|
|
13996
14376
|
display: grid;
|
|
13997
|
-
|
|
14377
|
+
--_width: 100%;
|
|
14378
|
+
}
|
|
14379
|
+
|
|
14380
|
+
:host([width="fit-content"]) {
|
|
14381
|
+
grid-auto-columns: auto;
|
|
13998
14382
|
}
|
|
13999
14383
|
|
|
14000
14384
|
:host([disabled]) {
|
|
@@ -14027,13 +14411,6 @@ const segmentedControlItemStyles = css`
|
|
|
14027
14411
|
/* # Host */
|
|
14028
14412
|
|
|
14029
14413
|
:host {
|
|
14030
|
-
--_segmented-control-md-inset-size: var(--primitives-space-4);
|
|
14031
|
-
--_segmented-control-md-gap-size: var(--primitives-space-4);
|
|
14032
|
-
--_segmented-control-md-item-icon-size: var(--primitives-space-24);
|
|
14033
|
-
--_segmented-control-sm-inset-size: var(--primitives-space-3);
|
|
14034
|
-
--_segmented-control-sm-gap-size: var(--primitives-space-2);
|
|
14035
|
-
--_segmented-control-sm-item-icon-size: var(--primitives-space-20);
|
|
14036
|
-
|
|
14037
14414
|
display: flex;
|
|
14038
14415
|
min-width: 0;
|
|
14039
14416
|
position: relative;
|
|
@@ -14045,22 +14422,9 @@ const segmentedControlItemStyles = css`
|
|
|
14045
14422
|
}
|
|
14046
14423
|
|
|
14047
14424
|
|
|
14048
|
-
/* #
|
|
14049
|
-
|
|
14050
|
-
.segmented-control__item-input {
|
|
14051
|
-
position: absolute;
|
|
14052
|
-
inset: 0;
|
|
14053
|
-
width: 100%;
|
|
14054
|
-
height: 100%;
|
|
14055
|
-
margin: 0;
|
|
14056
|
-
opacity: 0;
|
|
14057
|
-
z-index: 1;
|
|
14058
|
-
}
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
/* # Label */
|
|
14425
|
+
/* # Item */
|
|
14062
14426
|
|
|
14063
|
-
.segmented-control__item
|
|
14427
|
+
.segmented-control__item {
|
|
14064
14428
|
position: relative;
|
|
14065
14429
|
display: flex;
|
|
14066
14430
|
align-items: center;
|
|
@@ -14071,37 +14435,52 @@ const segmentedControlItemStyles = css`
|
|
|
14071
14435
|
cursor: default;
|
|
14072
14436
|
}
|
|
14073
14437
|
|
|
14074
|
-
:host([size='md']) .segmented-control__item
|
|
14075
|
-
:host(:not([size])) .segmented-control__item
|
|
14438
|
+
:host([size='md']) .segmented-control__item,
|
|
14439
|
+
:host(:not([size])) .segmented-control__item {
|
|
14076
14440
|
height: var(--semantics-controls-md-min-size);
|
|
14077
|
-
padding-inline: calc(var(--_segmented-control-md-inset
|
|
14441
|
+
padding-inline: calc(var(--_segmented-control-md-item-indicator-inset) / 2 + var(--primitives-space-12));
|
|
14078
14442
|
font: var(--semantics-buttons-md-font);
|
|
14079
14443
|
}
|
|
14080
14444
|
|
|
14081
|
-
:host([size='sm']) .segmented-control__item
|
|
14445
|
+
:host([size='sm']) .segmented-control__item {
|
|
14082
14446
|
height: var(--semantics-controls-sm-min-size);
|
|
14083
|
-
padding-inline: calc(var(--_segmented-control-sm-inset
|
|
14447
|
+
padding-inline: calc(var(--_segmented-control-sm-item-indicator-inset) / 2 + var(--primitives-space-8));
|
|
14084
14448
|
font: var(--semantics-buttons-sm-font);
|
|
14085
14449
|
}
|
|
14086
14450
|
|
|
14087
|
-
:host([variant='icon'][size='md']) .segmented-control__item
|
|
14088
|
-
:host([variant='icon']:not([size])) .segmented-control__item
|
|
14089
|
-
|
|
14451
|
+
:host([variant='icon'][size='md']) .segmented-control__item,
|
|
14452
|
+
:host([variant='icon']:not([size])) .segmented-control__item {
|
|
14453
|
+
width: calc(var(--semantics-controls-md-min-size) - var(--_segmented-control-md-item-indicator-inset));
|
|
14454
|
+
padding: 0;
|
|
14090
14455
|
}
|
|
14091
14456
|
|
|
14092
|
-
:host([variant='icon'][size='sm']) .segmented-control__item
|
|
14093
|
-
|
|
14457
|
+
:host([variant='icon'][size='sm']) .segmented-control__item {
|
|
14458
|
+
width: calc(var(--semantics-controls-sm-min-size) - var(--_segmented-control-sm-item-indicator-inset));
|
|
14459
|
+
padding: 0;
|
|
14094
14460
|
}
|
|
14095
14461
|
|
|
14096
|
-
:host([selected]) .segmented-control__item
|
|
14462
|
+
:host([selected]) .segmented-control__item {
|
|
14097
14463
|
color: var(--semantics-buttons-neutral-tinted-is-selected-content-color);
|
|
14098
14464
|
}
|
|
14099
14465
|
|
|
14100
|
-
:host([disabled]) .segmented-control__item
|
|
14466
|
+
:host([disabled]) .segmented-control__item {
|
|
14101
14467
|
opacity: var(--primitives-opacity-disabled);
|
|
14102
14468
|
}
|
|
14103
14469
|
|
|
14104
14470
|
|
|
14471
|
+
/* # Input */
|
|
14472
|
+
|
|
14473
|
+
.segmented-control__item-input {
|
|
14474
|
+
position: absolute;
|
|
14475
|
+
inset: 0;
|
|
14476
|
+
width: 100%;
|
|
14477
|
+
height: 100%;
|
|
14478
|
+
margin: 0;
|
|
14479
|
+
opacity: 0;
|
|
14480
|
+
z-index: 1;
|
|
14481
|
+
}
|
|
14482
|
+
|
|
14483
|
+
|
|
14105
14484
|
/* # Text */
|
|
14106
14485
|
|
|
14107
14486
|
.segmented-control__item-text {
|
|
@@ -14112,6 +14491,10 @@ const segmentedControlItemStyles = css`
|
|
|
14112
14491
|
pointer-events: none;
|
|
14113
14492
|
}
|
|
14114
14493
|
|
|
14494
|
+
:host([variant='icon']) .segmented-control__item-text {
|
|
14495
|
+
display: none;
|
|
14496
|
+
}
|
|
14497
|
+
|
|
14115
14498
|
|
|
14116
14499
|
/* # Icon slot */
|
|
14117
14500
|
|
|
@@ -14126,36 +14509,29 @@ const segmentedControlItemStyles = css`
|
|
|
14126
14509
|
|
|
14127
14510
|
:host([size='md']) .segmented-control__item-icon,
|
|
14128
14511
|
:host(:not([size])) .segmented-control__item-icon {
|
|
14129
|
-
width: var(--
|
|
14130
|
-
height: var(--
|
|
14512
|
+
width: var(--semantics-buttons-md-icon-only-icon-size);
|
|
14513
|
+
height: var(--semantics-buttons-md-icon-only-icon-size);
|
|
14131
14514
|
}
|
|
14132
14515
|
|
|
14133
14516
|
:host([size='sm']) .segmented-control__item-icon {
|
|
14134
|
-
width: var(--
|
|
14135
|
-
height: var(--
|
|
14136
|
-
}
|
|
14137
|
-
|
|
14138
|
-
::slotted(nldd-icon) {
|
|
14139
|
-
display: block;
|
|
14140
|
-
width: 100%;
|
|
14141
|
-
height: 100%;
|
|
14517
|
+
width: var(--semantics-buttons-sm-icon-only-icon-size);
|
|
14518
|
+
height: var(--semantics-buttons-sm-icon-only-icon-size);
|
|
14142
14519
|
}
|
|
14143
14520
|
|
|
14144
|
-
|
|
14145
|
-
/* # Slot visibility */
|
|
14146
|
-
|
|
14147
14521
|
:host([variant='text']) .segmented-control__item-icon {
|
|
14148
14522
|
display: none;
|
|
14149
14523
|
}
|
|
14150
14524
|
|
|
14151
|
-
|
|
14152
|
-
display:
|
|
14525
|
+
::slotted(nldd-icon) {
|
|
14526
|
+
display: block;
|
|
14527
|
+
width: 100%;
|
|
14528
|
+
height: 100%;
|
|
14153
14529
|
}
|
|
14154
14530
|
|
|
14155
14531
|
|
|
14156
14532
|
/* # Indicator */
|
|
14157
14533
|
|
|
14158
|
-
.segmented-control__item
|
|
14534
|
+
.segmented-control__item::before {
|
|
14159
14535
|
content: '';
|
|
14160
14536
|
position: absolute;
|
|
14161
14537
|
inset: 0;
|
|
@@ -14163,25 +14539,25 @@ const segmentedControlItemStyles = css`
|
|
|
14163
14539
|
background-color: transparent;
|
|
14164
14540
|
}
|
|
14165
14541
|
|
|
14166
|
-
:host([size='md']) .segmented-control__item
|
|
14167
|
-
:host(:not([size])) .segmented-control__item
|
|
14168
|
-
inset-block: var(--_segmented-control-md-inset
|
|
14169
|
-
inset-inline: calc(var(--_segmented-control-md-
|
|
14170
|
-
border-radius: calc(var(--semantics-controls-md-corner-radius) - (var(--_segmented-control-md-inset
|
|
14542
|
+
:host([size='md']) .segmented-control__item::before,
|
|
14543
|
+
:host(:not([size])) .segmented-control__item::before {
|
|
14544
|
+
inset-block: var(--_segmented-control-md-item-indicator-inset);
|
|
14545
|
+
inset-inline: calc(var(--_segmented-control-md-item-indicator-inset) / 2);
|
|
14546
|
+
border-radius: calc(var(--semantics-controls-md-corner-radius) - (var(--_segmented-control-md-item-indicator-inset) / 2));
|
|
14171
14547
|
}
|
|
14172
14548
|
|
|
14173
|
-
:host([size='sm']) .segmented-control__item
|
|
14174
|
-
inset-block: var(--_segmented-control-sm-inset
|
|
14175
|
-
inset-inline: calc(var(--_segmented-control-sm-
|
|
14176
|
-
border-radius: calc(var(--semantics-controls-sm-corner-radius) - (var(--_segmented-control-sm-inset
|
|
14549
|
+
:host([size='sm']) .segmented-control__item::before {
|
|
14550
|
+
inset-block: var(--_segmented-control-sm-item-indicator-inset);
|
|
14551
|
+
inset-inline: calc(var(--_segmented-control-sm-item-indicator-inset) / 2);
|
|
14552
|
+
border-radius: calc(var(--semantics-controls-sm-corner-radius) - (var(--_segmented-control-sm-item-indicator-inset) / 2));
|
|
14177
14553
|
}
|
|
14178
14554
|
|
|
14179
|
-
:host([selected]) .segmented-control__item
|
|
14555
|
+
:host([selected]) .segmented-control__item::before {
|
|
14180
14556
|
background-color: var(--semantics-buttons-neutral-tinted-is-selected-background-color);
|
|
14181
14557
|
}
|
|
14182
14558
|
|
|
14183
14559
|
@media (hover: hover) {
|
|
14184
|
-
:host(:not([selected])) .segmented-control__item
|
|
14560
|
+
:host(:not([selected])) .segmented-control__item:hover::before {
|
|
14185
14561
|
background-color: var(--semantics-buttons-neutral-tinted-is-hovered-background-color);
|
|
14186
14562
|
}
|
|
14187
14563
|
}
|
|
@@ -14189,7 +14565,7 @@ const segmentedControlItemStyles = css`
|
|
|
14189
14565
|
|
|
14190
14566
|
/* # Focus */
|
|
14191
14567
|
|
|
14192
|
-
.segmented-control__item
|
|
14568
|
+
.segmented-control__item:has(:focus-visible)::before {
|
|
14193
14569
|
outline: var(--semantics-focus-ring-outline);
|
|
14194
14570
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
14195
14571
|
box-shadow: var(--semantics-focus-ring-box-shadow);
|
|
@@ -14202,7 +14578,7 @@ function segmentedControlItemTemplate(component) {
|
|
|
14202
14578
|
const isIcon = component.variant === "icon";
|
|
14203
14579
|
const labelText = component.text || nothing;
|
|
14204
14580
|
const label = html`
|
|
14205
|
-
<label class="segmented-control__item
|
|
14581
|
+
<label class="segmented-control__item">
|
|
14206
14582
|
<input class="segmented-control__item-input"
|
|
14207
14583
|
type=${component.inputType}
|
|
14208
14584
|
name=${component.groupName || nothing}
|
|
@@ -14306,7 +14682,7 @@ let NLDDSegmentedControl = class extends LitElement {
|
|
|
14306
14682
|
this.type = "radio";
|
|
14307
14683
|
this.variant = "text";
|
|
14308
14684
|
this.disabled = false;
|
|
14309
|
-
this.
|
|
14685
|
+
this.width = "";
|
|
14310
14686
|
this.name = "";
|
|
14311
14687
|
this.accessibleLabel = "";
|
|
14312
14688
|
this.accessibleLabelledBy = "";
|
|
@@ -14423,6 +14799,15 @@ let NLDDSegmentedControl = class extends LitElement {
|
|
|
14423
14799
|
}
|
|
14424
14800
|
}
|
|
14425
14801
|
updated(changedProperties) {
|
|
14802
|
+
if (changedProperties.has("width")) {
|
|
14803
|
+
const w = this.width;
|
|
14804
|
+
const isKeyword = w === "full" || w === "fit-content";
|
|
14805
|
+
if (w && !isKeyword && CSS.supports("width", w)) {
|
|
14806
|
+
this.style.setProperty("--_width", w);
|
|
14807
|
+
} else {
|
|
14808
|
+
this.style.removeProperty("--_width");
|
|
14809
|
+
}
|
|
14810
|
+
}
|
|
14426
14811
|
if (changedProperties.has("value") || changedProperties.has("values") || changedProperties.has("size") || changedProperties.has("disabled") || changedProperties.has("type") || changedProperties.has("variant") || changedProperties.has("name")) {
|
|
14427
14812
|
this._syncItems();
|
|
14428
14813
|
}
|
|
@@ -14519,8 +14904,8 @@ __decorateClass$G([
|
|
|
14519
14904
|
property({ type: Boolean, reflect: true })
|
|
14520
14905
|
], NLDDSegmentedControl.prototype, "disabled", 2);
|
|
14521
14906
|
__decorateClass$G([
|
|
14522
|
-
property({ type:
|
|
14523
|
-
], NLDDSegmentedControl.prototype, "
|
|
14907
|
+
property({ type: String, reflect: true })
|
|
14908
|
+
], NLDDSegmentedControl.prototype, "width", 2);
|
|
14524
14909
|
__decorateClass$G([
|
|
14525
14910
|
property({ type: String, reflect: true })
|
|
14526
14911
|
], NLDDSegmentedControl.prototype, "name", 2);
|
|
@@ -14674,20 +15059,40 @@ const toggleButtonStyles = css`
|
|
|
14674
15059
|
flex-shrink: 0;
|
|
14675
15060
|
}
|
|
14676
15061
|
|
|
15062
|
+
/* ## Icon size — naast tekst (default) */
|
|
15063
|
+
|
|
14677
15064
|
:host([size="md"]) .toggle-button__icon,
|
|
14678
15065
|
:host(:not([size])) .toggle-button__icon {
|
|
14679
|
-
width: var(--
|
|
14680
|
-
height: var(--
|
|
15066
|
+
width: var(--semantics-buttons-md-icon-size);
|
|
15067
|
+
height: var(--semantics-buttons-md-icon-size);
|
|
14681
15068
|
}
|
|
14682
15069
|
|
|
14683
15070
|
:host([size="sm"]) .toggle-button__icon {
|
|
14684
|
-
width: var(--
|
|
14685
|
-
height: var(--
|
|
15071
|
+
width: var(--semantics-buttons-sm-icon-size);
|
|
15072
|
+
height: var(--semantics-buttons-sm-icon-size);
|
|
14686
15073
|
}
|
|
14687
15074
|
|
|
14688
15075
|
:host([size="xs"]) .toggle-button__icon {
|
|
14689
|
-
width: var(--
|
|
14690
|
-
height: var(--
|
|
15076
|
+
width: var(--semantics-buttons-xs-icon-size);
|
|
15077
|
+
height: var(--semantics-buttons-xs-icon-size);
|
|
15078
|
+
}
|
|
15079
|
+
|
|
15080
|
+
/* ## Icon size — icon-only mode */
|
|
15081
|
+
|
|
15082
|
+
:host([icon-only][size="md"]) .toggle-button__icon,
|
|
15083
|
+
:host([icon-only]:not([size])) .toggle-button__icon {
|
|
15084
|
+
width: var(--semantics-buttons-md-icon-only-icon-size);
|
|
15085
|
+
height: var(--semantics-buttons-md-icon-only-icon-size);
|
|
15086
|
+
}
|
|
15087
|
+
|
|
15088
|
+
:host([icon-only][size="sm"]) .toggle-button__icon {
|
|
15089
|
+
width: var(--semantics-buttons-sm-icon-only-icon-size);
|
|
15090
|
+
height: var(--semantics-buttons-sm-icon-only-icon-size);
|
|
15091
|
+
}
|
|
15092
|
+
|
|
15093
|
+
:host([icon-only][size="xs"]) .toggle-button__icon {
|
|
15094
|
+
width: var(--semantics-buttons-xs-icon-only-icon-size);
|
|
15095
|
+
height: var(--semantics-buttons-xs-icon-only-icon-size);
|
|
14691
15096
|
}
|
|
14692
15097
|
|
|
14693
15098
|
|
|
@@ -15133,13 +15538,13 @@ const tokenStyles = css`
|
|
|
15133
15538
|
|
|
15134
15539
|
/* ## Open — menu */
|
|
15135
15540
|
|
|
15136
|
-
:host([
|
|
15541
|
+
:host([expanded]) .token {
|
|
15137
15542
|
background-color: var(--semantics-buttons-neutral-tinted-is-active-background-color);
|
|
15138
15543
|
color: var(--semantics-buttons-neutral-tinted-is-active-content-color);
|
|
15139
15544
|
}
|
|
15140
15545
|
|
|
15141
15546
|
@media (hover: hover) {
|
|
15142
|
-
:host([
|
|
15547
|
+
:host([expanded]) .token:hover:not(:disabled) {
|
|
15143
15548
|
background-color: var(--semantics-buttons-neutral-tinted-is-active-background-color);
|
|
15144
15549
|
color: var(--semantics-buttons-neutral-tinted-is-active-content-color);
|
|
15145
15550
|
}
|
|
@@ -15187,7 +15592,7 @@ function tokenTemplate(component) {
|
|
|
15187
15592
|
class="token"
|
|
15188
15593
|
type="button"
|
|
15189
15594
|
?disabled=${component.disabled}
|
|
15190
|
-
aria-expanded=${component.
|
|
15595
|
+
aria-expanded=${component.expanded}
|
|
15191
15596
|
aria-controls=${component.controls || nothing}
|
|
15192
15597
|
@click=${component._handleMenuClick}
|
|
15193
15598
|
>
|
|
@@ -15230,7 +15635,7 @@ let NLDDToken = class extends LitElement {
|
|
|
15230
15635
|
constructor() {
|
|
15231
15636
|
super(...arguments);
|
|
15232
15637
|
this.control = "none";
|
|
15233
|
-
this.
|
|
15638
|
+
this.expanded = false;
|
|
15234
15639
|
this.disabled = false;
|
|
15235
15640
|
this.dismissText = "Verwijder";
|
|
15236
15641
|
this.controls = "";
|
|
@@ -15245,9 +15650,9 @@ let NLDDToken = class extends LitElement {
|
|
|
15245
15650
|
}
|
|
15246
15651
|
_handleMenuClick() {
|
|
15247
15652
|
if (this.disabled) return;
|
|
15248
|
-
this.
|
|
15653
|
+
this.expanded = !this.expanded;
|
|
15249
15654
|
this.dispatchEvent(new CustomEvent("toggle", {
|
|
15250
|
-
detail: {
|
|
15655
|
+
detail: { expanded: this.expanded },
|
|
15251
15656
|
bubbles: true,
|
|
15252
15657
|
composed: true
|
|
15253
15658
|
}));
|
|
@@ -15262,7 +15667,7 @@ __decorateClass$D([
|
|
|
15262
15667
|
], NLDDToken.prototype, "control", 2);
|
|
15263
15668
|
__decorateClass$D([
|
|
15264
15669
|
property({ type: Boolean, reflect: true })
|
|
15265
|
-
], NLDDToken.prototype, "
|
|
15670
|
+
], NLDDToken.prototype, "expanded", 2);
|
|
15266
15671
|
__decorateClass$D([
|
|
15267
15672
|
property({ type: Boolean, reflect: true })
|
|
15268
15673
|
], NLDDToken.prototype, "disabled", 2);
|
|
@@ -16753,7 +17158,7 @@ let NLDDSplitViewPane = class extends LitElement {
|
|
|
16753
17158
|
connectedCallback() {
|
|
16754
17159
|
super.connectedCallback();
|
|
16755
17160
|
this.style.containerType = "inline-size";
|
|
16756
|
-
this.style.containerName = "layout-
|
|
17161
|
+
this.style.containerName = "layout-container";
|
|
16757
17162
|
}
|
|
16758
17163
|
render() {
|
|
16759
17164
|
return splitViewPaneTemplate();
|
|
@@ -16969,7 +17374,7 @@ let NLDDPage = class extends LitElement {
|
|
|
16969
17374
|
connectedCallback() {
|
|
16970
17375
|
super.connectedCallback();
|
|
16971
17376
|
this.style.containerType = "inline-size";
|
|
16972
|
-
this.style.containerName = "layout-
|
|
17377
|
+
this.style.containerName = "layout-container";
|
|
16973
17378
|
if (this.hasUpdated) {
|
|
16974
17379
|
this._setupScrollListener();
|
|
16975
17380
|
if (this.stickyHeader) this._setupHeaderObserver();
|
|
@@ -17081,8 +17486,8 @@ const simpleSectionStyles = css`
|
|
|
17081
17486
|
|
|
17082
17487
|
/* # Host
|
|
17083
17488
|
Geen eigen container-type: page-sections luisteren naar de outer
|
|
17084
|
-
layout-
|
|
17085
|
-
zonder layout-
|
|
17489
|
+
layout-container (gezet door nldd-page / nldd-card). Voor contexten
|
|
17490
|
+
zonder layout-container dient @media als fallback. */
|
|
17086
17491
|
|
|
17087
17492
|
:host {
|
|
17088
17493
|
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
@@ -17102,7 +17507,7 @@ const simpleSectionStyles = css`
|
|
|
17102
17507
|
flex-grow: 1;
|
|
17103
17508
|
}
|
|
17104
17509
|
|
|
17105
|
-
:host([full
|
|
17510
|
+
:host([width="full"]) {
|
|
17106
17511
|
--_max-width: none;
|
|
17107
17512
|
}
|
|
17108
17513
|
|
|
@@ -17132,17 +17537,17 @@ const simpleSectionStyles = css`
|
|
|
17132
17537
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17133
17538
|
}
|
|
17134
17539
|
|
|
17135
|
-
@container layout-
|
|
17540
|
+
@container layout-container (max-width: ${smMax$a}) {
|
|
17136
17541
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
17137
17542
|
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
17138
17543
|
}
|
|
17139
17544
|
|
|
17140
|
-
@container layout-
|
|
17545
|
+
@container layout-container (min-width: ${mdMin$b}) and (max-width: ${mdMax$7}) {
|
|
17141
17546
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
17142
17547
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
17143
17548
|
}
|
|
17144
17549
|
|
|
17145
|
-
@container layout-
|
|
17550
|
+
@container layout-container (min-width: ${lgMin$9}) {
|
|
17146
17551
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
17147
17552
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17148
17553
|
}
|
|
@@ -17177,15 +17582,15 @@ const simpleSectionStyles = css`
|
|
|
17177
17582
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17178
17583
|
}
|
|
17179
17584
|
|
|
17180
|
-
@container layout-
|
|
17585
|
+
@container layout-container (max-width: ${smMax$a}) {
|
|
17181
17586
|
gap: var(--semantics-page-sections-sm-gap);
|
|
17182
17587
|
}
|
|
17183
17588
|
|
|
17184
|
-
@container layout-
|
|
17589
|
+
@container layout-container (min-width: ${mdMin$b}) and (max-width: ${mdMax$7}) {
|
|
17185
17590
|
gap: var(--semantics-page-sections-md-gap);
|
|
17186
17591
|
}
|
|
17187
17592
|
|
|
17188
|
-
@container layout-
|
|
17593
|
+
@container layout-container (min-width: ${lgMin$9}) {
|
|
17189
17594
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17190
17595
|
}
|
|
17191
17596
|
}
|
|
@@ -17236,7 +17641,17 @@ var __decorateClass$u = (decorators, target, key, kind) => {
|
|
|
17236
17641
|
let NLDDSimpleSection = class extends LitElement {
|
|
17237
17642
|
constructor() {
|
|
17238
17643
|
super(...arguments);
|
|
17239
|
-
this.
|
|
17644
|
+
this.width = "";
|
|
17645
|
+
}
|
|
17646
|
+
updated(changedProperties) {
|
|
17647
|
+
if (changedProperties.has("width")) {
|
|
17648
|
+
const w = this.width;
|
|
17649
|
+
if (w && w !== "full" && CSS.supports("max-width", w)) {
|
|
17650
|
+
this.style.setProperty("--_max-width", w);
|
|
17651
|
+
} else {
|
|
17652
|
+
this.style.removeProperty("--_max-width");
|
|
17653
|
+
}
|
|
17654
|
+
}
|
|
17240
17655
|
}
|
|
17241
17656
|
_onSlotChange(e) {
|
|
17242
17657
|
const slot = e.target;
|
|
@@ -17249,8 +17664,8 @@ let NLDDSimpleSection = class extends LitElement {
|
|
|
17249
17664
|
};
|
|
17250
17665
|
NLDDSimpleSection.styles = simpleSectionStyles;
|
|
17251
17666
|
__decorateClass$u([
|
|
17252
|
-
property({ type:
|
|
17253
|
-
], NLDDSimpleSection.prototype, "
|
|
17667
|
+
property({ type: String, reflect: true })
|
|
17668
|
+
], NLDDSimpleSection.prototype, "width", 2);
|
|
17254
17669
|
NLDDSimpleSection = __decorateClass$u([
|
|
17255
17670
|
customElement("nldd-simple-section")
|
|
17256
17671
|
], NLDDSimpleSection);
|
|
@@ -17269,8 +17684,8 @@ const fullBleedSectionStyles = css`
|
|
|
17269
17684
|
|
|
17270
17685
|
/* # Host
|
|
17271
17686
|
Geen eigen container-type: page-sections luisteren naar de outer
|
|
17272
|
-
layout-
|
|
17273
|
-
zonder layout-
|
|
17687
|
+
layout-container (gezet door nldd-page / nldd-card). Voor contexten
|
|
17688
|
+
zonder layout-container dient @media als fallback. */
|
|
17274
17689
|
|
|
17275
17690
|
:host {
|
|
17276
17691
|
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
@@ -17285,7 +17700,7 @@ const fullBleedSectionStyles = css`
|
|
|
17285
17700
|
display: none;
|
|
17286
17701
|
}
|
|
17287
17702
|
|
|
17288
|
-
:host([full
|
|
17703
|
+
:host([width="full"]) {
|
|
17289
17704
|
--_max-width: none;
|
|
17290
17705
|
}
|
|
17291
17706
|
|
|
@@ -17311,15 +17726,15 @@ const fullBleedSectionStyles = css`
|
|
|
17311
17726
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17312
17727
|
}
|
|
17313
17728
|
|
|
17314
|
-
@container layout-
|
|
17729
|
+
@container layout-container (max-width: ${smMax$9}) {
|
|
17315
17730
|
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
17316
17731
|
}
|
|
17317
17732
|
|
|
17318
|
-
@container layout-
|
|
17733
|
+
@container layout-container (min-width: ${mdMin$a}) and (max-width: ${mdMax$6}) {
|
|
17319
17734
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
17320
17735
|
}
|
|
17321
17736
|
|
|
17322
|
-
@container layout-
|
|
17737
|
+
@container layout-container (min-width: ${lgMin$8}) {
|
|
17323
17738
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17324
17739
|
}
|
|
17325
17740
|
}
|
|
@@ -17353,15 +17768,15 @@ const fullBleedSectionStyles = css`
|
|
|
17353
17768
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17354
17769
|
}
|
|
17355
17770
|
|
|
17356
|
-
@container layout-
|
|
17771
|
+
@container layout-container (max-width: ${smMax$9}) {
|
|
17357
17772
|
gap: var(--semantics-page-sections-sm-gap);
|
|
17358
17773
|
}
|
|
17359
17774
|
|
|
17360
|
-
@container layout-
|
|
17775
|
+
@container layout-container (min-width: ${mdMin$a}) and (max-width: ${mdMax$6}) {
|
|
17361
17776
|
gap: var(--semantics-page-sections-md-gap);
|
|
17362
17777
|
}
|
|
17363
17778
|
|
|
17364
|
-
@container layout-
|
|
17779
|
+
@container layout-container (min-width: ${lgMin$8}) {
|
|
17365
17780
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17366
17781
|
}
|
|
17367
17782
|
}
|
|
@@ -17412,7 +17827,17 @@ var __decorateClass$t = (decorators, target, key, kind) => {
|
|
|
17412
17827
|
let NLDDFullBleedSection = class extends LitElement {
|
|
17413
17828
|
constructor() {
|
|
17414
17829
|
super(...arguments);
|
|
17415
|
-
this.
|
|
17830
|
+
this.width = "";
|
|
17831
|
+
}
|
|
17832
|
+
updated(changedProperties) {
|
|
17833
|
+
if (changedProperties.has("width")) {
|
|
17834
|
+
const w = this.width;
|
|
17835
|
+
if (w && w !== "full" && CSS.supports("max-width", w)) {
|
|
17836
|
+
this.style.setProperty("--_max-width", w);
|
|
17837
|
+
} else {
|
|
17838
|
+
this.style.removeProperty("--_max-width");
|
|
17839
|
+
}
|
|
17840
|
+
}
|
|
17416
17841
|
}
|
|
17417
17842
|
_onSlotChange(e) {
|
|
17418
17843
|
const slot = e.target;
|
|
@@ -17425,8 +17850,8 @@ let NLDDFullBleedSection = class extends LitElement {
|
|
|
17425
17850
|
};
|
|
17426
17851
|
NLDDFullBleedSection.styles = fullBleedSectionStyles;
|
|
17427
17852
|
__decorateClass$t([
|
|
17428
|
-
property({ type:
|
|
17429
|
-
], NLDDFullBleedSection.prototype, "
|
|
17853
|
+
property({ type: String, reflect: true })
|
|
17854
|
+
], NLDDFullBleedSection.prototype, "width", 2);
|
|
17430
17855
|
NLDDFullBleedSection = __decorateClass$t([
|
|
17431
17856
|
customElement("nldd-full-bleed-section")
|
|
17432
17857
|
], NLDDFullBleedSection);
|
|
@@ -17439,8 +17864,8 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
17439
17864
|
|
|
17440
17865
|
/* # Host
|
|
17441
17866
|
Geen eigen container-type: page-sections luisteren naar de outer
|
|
17442
|
-
layout-
|
|
17443
|
-
zonder layout-
|
|
17867
|
+
layout-container (gezet door nldd-page / nldd-card). Voor contexten
|
|
17868
|
+
zonder layout-container dient @media als fallback. */
|
|
17444
17869
|
|
|
17445
17870
|
:host {
|
|
17446
17871
|
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
@@ -17455,7 +17880,7 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
17455
17880
|
display: none;
|
|
17456
17881
|
}
|
|
17457
17882
|
|
|
17458
|
-
:host([full
|
|
17883
|
+
:host([width="full"]) {
|
|
17459
17884
|
--_max-width: none;
|
|
17460
17885
|
}
|
|
17461
17886
|
|
|
@@ -17484,17 +17909,17 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
17484
17909
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17485
17910
|
}
|
|
17486
17911
|
|
|
17487
|
-
@container layout-
|
|
17912
|
+
@container layout-container (max-width: ${smMax$8}) {
|
|
17488
17913
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
17489
17914
|
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
17490
17915
|
}
|
|
17491
17916
|
|
|
17492
|
-
@container layout-
|
|
17917
|
+
@container layout-container (min-width: ${mdMin$9}) and (max-width: ${mdMax$5}) {
|
|
17493
17918
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
17494
17919
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
17495
17920
|
}
|
|
17496
17921
|
|
|
17497
|
-
@container layout-
|
|
17922
|
+
@container layout-container (min-width: ${lgMin$7}) {
|
|
17498
17923
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
17499
17924
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17500
17925
|
}
|
|
@@ -17521,15 +17946,15 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
17521
17946
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17522
17947
|
}
|
|
17523
17948
|
|
|
17524
|
-
@container layout-
|
|
17949
|
+
@container layout-container (max-width: ${smMax$8}) {
|
|
17525
17950
|
gap: var(--semantics-page-sections-sm-gap);
|
|
17526
17951
|
}
|
|
17527
17952
|
|
|
17528
|
-
@container layout-
|
|
17953
|
+
@container layout-container (min-width: ${mdMin$9}) and (max-width: ${mdMax$5}) {
|
|
17529
17954
|
gap: var(--semantics-page-sections-md-gap);
|
|
17530
17955
|
}
|
|
17531
17956
|
|
|
17532
|
-
@container layout-
|
|
17957
|
+
@container layout-container (min-width: ${lgMin$7}) {
|
|
17533
17958
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17534
17959
|
}
|
|
17535
17960
|
}
|
|
@@ -17553,15 +17978,15 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
17553
17978
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17554
17979
|
}
|
|
17555
17980
|
|
|
17556
|
-
@container layout-
|
|
17981
|
+
@container layout-container (max-width: ${smMax$8}) {
|
|
17557
17982
|
gap: var(--semantics-page-sections-sm-gap);
|
|
17558
17983
|
}
|
|
17559
17984
|
|
|
17560
|
-
@container layout-
|
|
17985
|
+
@container layout-container (min-width: ${mdMin$9}) and (max-width: ${mdMax$5}) {
|
|
17561
17986
|
gap: var(--semantics-page-sections-md-gap);
|
|
17562
17987
|
}
|
|
17563
17988
|
|
|
17564
|
-
@container layout-
|
|
17989
|
+
@container layout-container (min-width: ${lgMin$7}) {
|
|
17565
17990
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17566
17991
|
}
|
|
17567
17992
|
}
|
|
@@ -17608,7 +18033,17 @@ var __decorateClass$s = (decorators, target, key, kind) => {
|
|
|
17608
18033
|
let NLDDOneThirdTwoThirdsSection = class extends LitElement {
|
|
17609
18034
|
constructor() {
|
|
17610
18035
|
super(...arguments);
|
|
17611
|
-
this.
|
|
18036
|
+
this.width = "";
|
|
18037
|
+
}
|
|
18038
|
+
updated(changedProperties) {
|
|
18039
|
+
if (changedProperties.has("width")) {
|
|
18040
|
+
const w = this.width;
|
|
18041
|
+
if (w && w !== "full" && CSS.supports("max-width", w)) {
|
|
18042
|
+
this.style.setProperty("--_max-width", w);
|
|
18043
|
+
} else {
|
|
18044
|
+
this.style.removeProperty("--_max-width");
|
|
18045
|
+
}
|
|
18046
|
+
}
|
|
17612
18047
|
}
|
|
17613
18048
|
render() {
|
|
17614
18049
|
return oneThirdTwoThirdsSectionTemplate();
|
|
@@ -17616,8 +18051,8 @@ let NLDDOneThirdTwoThirdsSection = class extends LitElement {
|
|
|
17616
18051
|
};
|
|
17617
18052
|
NLDDOneThirdTwoThirdsSection.styles = oneThirdTwoThirdsSectionStyles;
|
|
17618
18053
|
__decorateClass$s([
|
|
17619
|
-
property({ type:
|
|
17620
|
-
], NLDDOneThirdTwoThirdsSection.prototype, "
|
|
18054
|
+
property({ type: String, reflect: true })
|
|
18055
|
+
], NLDDOneThirdTwoThirdsSection.prototype, "width", 2);
|
|
17621
18056
|
NLDDOneThirdTwoThirdsSection = __decorateClass$s([
|
|
17622
18057
|
customElement("nldd-one-third-two-thirds-section")
|
|
17623
18058
|
], NLDDOneThirdTwoThirdsSection);
|
|
@@ -17630,8 +18065,8 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
17630
18065
|
|
|
17631
18066
|
/* # Host
|
|
17632
18067
|
Geen eigen container-type: page-sections luisteren naar de outer
|
|
17633
|
-
layout-
|
|
17634
|
-
zonder layout-
|
|
18068
|
+
layout-container (gezet door nldd-page / nldd-card). Voor contexten
|
|
18069
|
+
zonder layout-container dient @media als fallback. */
|
|
17635
18070
|
|
|
17636
18071
|
:host {
|
|
17637
18072
|
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
@@ -17646,7 +18081,7 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
17646
18081
|
display: none;
|
|
17647
18082
|
}
|
|
17648
18083
|
|
|
17649
|
-
:host([full
|
|
18084
|
+
:host([width="full"]) {
|
|
17650
18085
|
--_max-width: none;
|
|
17651
18086
|
}
|
|
17652
18087
|
|
|
@@ -17675,17 +18110,17 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
17675
18110
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17676
18111
|
}
|
|
17677
18112
|
|
|
17678
|
-
@container layout-
|
|
18113
|
+
@container layout-container (max-width: ${smMax$7}) {
|
|
17679
18114
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
17680
18115
|
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
17681
18116
|
}
|
|
17682
18117
|
|
|
17683
|
-
@container layout-
|
|
18118
|
+
@container layout-container (min-width: ${mdMin$8}) and (max-width: ${mdMax$4}) {
|
|
17684
18119
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
17685
18120
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
17686
18121
|
}
|
|
17687
18122
|
|
|
17688
|
-
@container layout-
|
|
18123
|
+
@container layout-container (min-width: ${lgMin$6}) {
|
|
17689
18124
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
17690
18125
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17691
18126
|
}
|
|
@@ -17712,15 +18147,15 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
17712
18147
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17713
18148
|
}
|
|
17714
18149
|
|
|
17715
|
-
@container layout-
|
|
18150
|
+
@container layout-container (max-width: ${smMax$7}) {
|
|
17716
18151
|
gap: var(--semantics-page-sections-sm-gap);
|
|
17717
18152
|
}
|
|
17718
18153
|
|
|
17719
|
-
@container layout-
|
|
18154
|
+
@container layout-container (min-width: ${mdMin$8}) and (max-width: ${mdMax$4}) {
|
|
17720
18155
|
gap: var(--semantics-page-sections-md-gap);
|
|
17721
18156
|
}
|
|
17722
18157
|
|
|
17723
|
-
@container layout-
|
|
18158
|
+
@container layout-container (min-width: ${lgMin$6}) {
|
|
17724
18159
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17725
18160
|
}
|
|
17726
18161
|
}
|
|
@@ -17744,15 +18179,15 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
17744
18179
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17745
18180
|
}
|
|
17746
18181
|
|
|
17747
|
-
@container layout-
|
|
18182
|
+
@container layout-container (max-width: ${smMax$7}) {
|
|
17748
18183
|
gap: var(--semantics-page-sections-sm-gap);
|
|
17749
18184
|
}
|
|
17750
18185
|
|
|
17751
|
-
@container layout-
|
|
18186
|
+
@container layout-container (min-width: ${mdMin$8}) and (max-width: ${mdMax$4}) {
|
|
17752
18187
|
gap: var(--semantics-page-sections-md-gap);
|
|
17753
18188
|
}
|
|
17754
18189
|
|
|
17755
|
-
@container layout-
|
|
18190
|
+
@container layout-container (min-width: ${lgMin$6}) {
|
|
17756
18191
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17757
18192
|
}
|
|
17758
18193
|
}
|
|
@@ -17799,7 +18234,17 @@ var __decorateClass$r = (decorators, target, key, kind) => {
|
|
|
17799
18234
|
let NLDDTwoThirdsOneThirdSection = class extends LitElement {
|
|
17800
18235
|
constructor() {
|
|
17801
18236
|
super(...arguments);
|
|
17802
|
-
this.
|
|
18237
|
+
this.width = "";
|
|
18238
|
+
}
|
|
18239
|
+
updated(changedProperties) {
|
|
18240
|
+
if (changedProperties.has("width")) {
|
|
18241
|
+
const w = this.width;
|
|
18242
|
+
if (w && w !== "full" && CSS.supports("max-width", w)) {
|
|
18243
|
+
this.style.setProperty("--_max-width", w);
|
|
18244
|
+
} else {
|
|
18245
|
+
this.style.removeProperty("--_max-width");
|
|
18246
|
+
}
|
|
18247
|
+
}
|
|
17803
18248
|
}
|
|
17804
18249
|
render() {
|
|
17805
18250
|
return twoThirdsOneThirdSectionTemplate();
|
|
@@ -17807,8 +18252,8 @@ let NLDDTwoThirdsOneThirdSection = class extends LitElement {
|
|
|
17807
18252
|
};
|
|
17808
18253
|
NLDDTwoThirdsOneThirdSection.styles = twoThirdsOneThirdSectionStyles;
|
|
17809
18254
|
__decorateClass$r([
|
|
17810
|
-
property({ type:
|
|
17811
|
-
], NLDDTwoThirdsOneThirdSection.prototype, "
|
|
18255
|
+
property({ type: String, reflect: true })
|
|
18256
|
+
], NLDDTwoThirdsOneThirdSection.prototype, "width", 2);
|
|
17812
18257
|
NLDDTwoThirdsOneThirdSection = __decorateClass$r([
|
|
17813
18258
|
customElement("nldd-two-thirds-one-third-section")
|
|
17814
18259
|
], NLDDTwoThirdsOneThirdSection);
|
|
@@ -17821,8 +18266,8 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
17821
18266
|
|
|
17822
18267
|
/* # Host
|
|
17823
18268
|
Geen eigen container-type: page-sections luisteren naar de outer
|
|
17824
|
-
layout-
|
|
17825
|
-
zonder layout-
|
|
18269
|
+
layout-container (gezet door nldd-page / nldd-card). Voor contexten
|
|
18270
|
+
zonder layout-container dient @media als fallback. */
|
|
17826
18271
|
|
|
17827
18272
|
:host {
|
|
17828
18273
|
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
@@ -17837,7 +18282,7 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
17837
18282
|
display: none;
|
|
17838
18283
|
}
|
|
17839
18284
|
|
|
17840
|
-
:host([full
|
|
18285
|
+
:host([width="full"]) {
|
|
17841
18286
|
--_max-width: none;
|
|
17842
18287
|
}
|
|
17843
18288
|
|
|
@@ -17866,17 +18311,17 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
17866
18311
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17867
18312
|
}
|
|
17868
18313
|
|
|
17869
|
-
@container layout-
|
|
18314
|
+
@container layout-container (max-width: ${smMax$6}) {
|
|
17870
18315
|
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
17871
18316
|
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
17872
18317
|
}
|
|
17873
18318
|
|
|
17874
|
-
@container layout-
|
|
18319
|
+
@container layout-container (min-width: ${mdMin$7}) and (max-width: ${mdMax$3}) {
|
|
17875
18320
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
17876
18321
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
17877
18322
|
}
|
|
17878
18323
|
|
|
17879
|
-
@container layout-
|
|
18324
|
+
@container layout-container (min-width: ${lgMin$5}) {
|
|
17880
18325
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
17881
18326
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
17882
18327
|
}
|
|
@@ -17903,15 +18348,15 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
17903
18348
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17904
18349
|
}
|
|
17905
18350
|
|
|
17906
|
-
@container layout-
|
|
18351
|
+
@container layout-container (max-width: ${smMax$6}) {
|
|
17907
18352
|
gap: var(--semantics-page-sections-sm-gap);
|
|
17908
18353
|
}
|
|
17909
18354
|
|
|
17910
|
-
@container layout-
|
|
18355
|
+
@container layout-container (min-width: ${mdMin$7}) and (max-width: ${mdMax$3}) {
|
|
17911
18356
|
gap: var(--semantics-page-sections-md-gap);
|
|
17912
18357
|
}
|
|
17913
18358
|
|
|
17914
|
-
@container layout-
|
|
18359
|
+
@container layout-container (min-width: ${lgMin$5}) {
|
|
17915
18360
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17916
18361
|
}
|
|
17917
18362
|
}
|
|
@@ -17935,15 +18380,15 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
17935
18380
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17936
18381
|
}
|
|
17937
18382
|
|
|
17938
|
-
@container layout-
|
|
18383
|
+
@container layout-container (max-width: ${smMax$6}) {
|
|
17939
18384
|
gap: var(--semantics-page-sections-sm-gap);
|
|
17940
18385
|
}
|
|
17941
18386
|
|
|
17942
|
-
@container layout-
|
|
18387
|
+
@container layout-container (min-width: ${mdMin$7}) and (max-width: ${mdMax$3}) {
|
|
17943
18388
|
gap: var(--semantics-page-sections-md-gap);
|
|
17944
18389
|
}
|
|
17945
18390
|
|
|
17946
|
-
@container layout-
|
|
18391
|
+
@container layout-container (min-width: ${lgMin$5}) {
|
|
17947
18392
|
gap: var(--semantics-page-sections-lg-gap);
|
|
17948
18393
|
}
|
|
17949
18394
|
}
|
|
@@ -17990,7 +18435,17 @@ var __decorateClass$q = (decorators, target, key, kind) => {
|
|
|
17990
18435
|
let NLDDOneHalfOneHalfSection = class extends LitElement {
|
|
17991
18436
|
constructor() {
|
|
17992
18437
|
super(...arguments);
|
|
17993
|
-
this.
|
|
18438
|
+
this.width = "";
|
|
18439
|
+
}
|
|
18440
|
+
updated(changedProperties) {
|
|
18441
|
+
if (changedProperties.has("width")) {
|
|
18442
|
+
const w = this.width;
|
|
18443
|
+
if (w && w !== "full" && CSS.supports("max-width", w)) {
|
|
18444
|
+
this.style.setProperty("--_max-width", w);
|
|
18445
|
+
} else {
|
|
18446
|
+
this.style.removeProperty("--_max-width");
|
|
18447
|
+
}
|
|
18448
|
+
}
|
|
17994
18449
|
}
|
|
17995
18450
|
render() {
|
|
17996
18451
|
return oneHalfOneHalfSectionTemplate();
|
|
@@ -17998,8 +18453,8 @@ let NLDDOneHalfOneHalfSection = class extends LitElement {
|
|
|
17998
18453
|
};
|
|
17999
18454
|
NLDDOneHalfOneHalfSection.styles = oneHalfOneHalfSectionStyles;
|
|
18000
18455
|
__decorateClass$q([
|
|
18001
|
-
property({ type:
|
|
18002
|
-
], NLDDOneHalfOneHalfSection.prototype, "
|
|
18456
|
+
property({ type: String, reflect: true })
|
|
18457
|
+
], NLDDOneHalfOneHalfSection.prototype, "width", 2);
|
|
18003
18458
|
NLDDOneHalfOneHalfSection = __decorateClass$q([
|
|
18004
18459
|
customElement("nldd-one-half-one-half-section")
|
|
18005
18460
|
], NLDDOneHalfOneHalfSection);
|
|
@@ -18156,7 +18611,7 @@ let NLDDCard = class extends LitElement {
|
|
|
18156
18611
|
connectedCallback() {
|
|
18157
18612
|
super.connectedCallback();
|
|
18158
18613
|
this.style.containerType = "inline-size";
|
|
18159
|
-
this.style.containerName = "layout-
|
|
18614
|
+
this.style.containerName = "layout-container";
|
|
18160
18615
|
}
|
|
18161
18616
|
render() {
|
|
18162
18617
|
return cardTemplate(this);
|
|
@@ -18862,71 +19317,71 @@ const containerStyles = css`
|
|
|
18862
19317
|
|
|
18863
19318
|
/* # Padding — sm container */
|
|
18864
19319
|
|
|
18865
|
-
:host([layout-
|
|
18866
|
-
:host([layout-
|
|
18867
|
-
:host([layout-
|
|
18868
|
-
:host([layout-
|
|
18869
|
-
:host([layout-
|
|
18870
|
-
:host([layout-
|
|
18871
|
-
:host([layout-
|
|
18872
|
-
:host([layout-
|
|
18873
|
-
:host([layout-
|
|
18874
|
-
:host([layout-
|
|
18875
|
-
:host([layout-
|
|
18876
|
-
:host([layout-
|
|
18877
|
-
:host([layout-
|
|
18878
|
-
:host([layout-
|
|
18879
|
-
:host([layout-
|
|
18880
|
-
:host([layout-
|
|
18881
|
-
:host([layout-
|
|
18882
|
-
:host([layout-
|
|
18883
|
-
:host([layout-
|
|
19320
|
+
:host([layout-container-sm-padding="0"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: 0; } }
|
|
19321
|
+
:host([layout-container-sm-padding="2"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-2); } }
|
|
19322
|
+
:host([layout-container-sm-padding="4"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-4); } }
|
|
19323
|
+
:host([layout-container-sm-padding="6"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-6); } }
|
|
19324
|
+
:host([layout-container-sm-padding="8"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-8); } }
|
|
19325
|
+
:host([layout-container-sm-padding="10"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-10); } }
|
|
19326
|
+
:host([layout-container-sm-padding="12"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-12); } }
|
|
19327
|
+
:host([layout-container-sm-padding="16"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-16); } }
|
|
19328
|
+
:host([layout-container-sm-padding="20"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-20); } }
|
|
19329
|
+
:host([layout-container-sm-padding="24"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-24); } }
|
|
19330
|
+
:host([layout-container-sm-padding="28"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-28); } }
|
|
19331
|
+
:host([layout-container-sm-padding="32"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-32); } }
|
|
19332
|
+
:host([layout-container-sm-padding="40"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-40); } }
|
|
19333
|
+
:host([layout-container-sm-padding="44"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-44); } }
|
|
19334
|
+
:host([layout-container-sm-padding="48"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-48); } }
|
|
19335
|
+
:host([layout-container-sm-padding="56"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-56); } }
|
|
19336
|
+
:host([layout-container-sm-padding="64"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-64); } }
|
|
19337
|
+
:host([layout-container-sm-padding="80"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-80); } }
|
|
19338
|
+
:host([layout-container-sm-padding="96"]) .container { @container layout-container (max-width: ${smMax$4}) { padding: var(--primitives-space-96); } }
|
|
18884
19339
|
|
|
18885
19340
|
|
|
18886
19341
|
/* # Padding — md container */
|
|
18887
19342
|
|
|
18888
|
-
:host([layout-
|
|
18889
|
-
:host([layout-
|
|
18890
|
-
:host([layout-
|
|
18891
|
-
:host([layout-
|
|
18892
|
-
:host([layout-
|
|
18893
|
-
:host([layout-
|
|
18894
|
-
:host([layout-
|
|
18895
|
-
:host([layout-
|
|
18896
|
-
:host([layout-
|
|
18897
|
-
:host([layout-
|
|
18898
|
-
:host([layout-
|
|
18899
|
-
:host([layout-
|
|
18900
|
-
:host([layout-
|
|
18901
|
-
:host([layout-
|
|
18902
|
-
:host([layout-
|
|
18903
|
-
:host([layout-
|
|
18904
|
-
:host([layout-
|
|
18905
|
-
:host([layout-
|
|
18906
|
-
:host([layout-
|
|
19343
|
+
:host([layout-container-md-padding="0"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: 0; } }
|
|
19344
|
+
:host([layout-container-md-padding="2"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-2); } }
|
|
19345
|
+
:host([layout-container-md-padding="4"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-4); } }
|
|
19346
|
+
:host([layout-container-md-padding="6"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-6); } }
|
|
19347
|
+
:host([layout-container-md-padding="8"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-8); } }
|
|
19348
|
+
:host([layout-container-md-padding="10"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-10); } }
|
|
19349
|
+
:host([layout-container-md-padding="12"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-12); } }
|
|
19350
|
+
:host([layout-container-md-padding="16"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-16); } }
|
|
19351
|
+
:host([layout-container-md-padding="20"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-20); } }
|
|
19352
|
+
:host([layout-container-md-padding="24"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-24); } }
|
|
19353
|
+
:host([layout-container-md-padding="28"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-28); } }
|
|
19354
|
+
:host([layout-container-md-padding="32"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-32); } }
|
|
19355
|
+
:host([layout-container-md-padding="40"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-40); } }
|
|
19356
|
+
:host([layout-container-md-padding="44"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-44); } }
|
|
19357
|
+
:host([layout-container-md-padding="48"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-48); } }
|
|
19358
|
+
:host([layout-container-md-padding="56"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-56); } }
|
|
19359
|
+
:host([layout-container-md-padding="64"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-64); } }
|
|
19360
|
+
:host([layout-container-md-padding="80"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-80); } }
|
|
19361
|
+
:host([layout-container-md-padding="96"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-96); } }
|
|
18907
19362
|
|
|
18908
19363
|
|
|
18909
19364
|
/* # Padding — lg container */
|
|
18910
19365
|
|
|
18911
|
-
:host([layout-
|
|
18912
|
-
:host([layout-
|
|
18913
|
-
:host([layout-
|
|
18914
|
-
:host([layout-
|
|
18915
|
-
:host([layout-
|
|
18916
|
-
:host([layout-
|
|
18917
|
-
:host([layout-
|
|
18918
|
-
:host([layout-
|
|
18919
|
-
:host([layout-
|
|
18920
|
-
:host([layout-
|
|
18921
|
-
:host([layout-
|
|
18922
|
-
:host([layout-
|
|
18923
|
-
:host([layout-
|
|
18924
|
-
:host([layout-
|
|
18925
|
-
:host([layout-
|
|
18926
|
-
:host([layout-
|
|
18927
|
-
:host([layout-
|
|
18928
|
-
:host([layout-
|
|
18929
|
-
:host([layout-
|
|
19366
|
+
:host([layout-container-lg-padding="0"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: 0; } }
|
|
19367
|
+
:host([layout-container-lg-padding="2"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-2); } }
|
|
19368
|
+
:host([layout-container-lg-padding="4"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-4); } }
|
|
19369
|
+
:host([layout-container-lg-padding="6"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-6); } }
|
|
19370
|
+
:host([layout-container-lg-padding="8"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-8); } }
|
|
19371
|
+
:host([layout-container-lg-padding="10"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-10); } }
|
|
19372
|
+
:host([layout-container-lg-padding="12"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-12); } }
|
|
19373
|
+
:host([layout-container-lg-padding="16"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-16); } }
|
|
19374
|
+
:host([layout-container-lg-padding="20"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-20); } }
|
|
19375
|
+
:host([layout-container-lg-padding="24"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-24); } }
|
|
19376
|
+
:host([layout-container-lg-padding="28"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-28); } }
|
|
19377
|
+
:host([layout-container-lg-padding="32"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-32); } }
|
|
19378
|
+
:host([layout-container-lg-padding="40"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-40); } }
|
|
19379
|
+
:host([layout-container-lg-padding="44"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-44); } }
|
|
19380
|
+
:host([layout-container-lg-padding="48"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-48); } }
|
|
19381
|
+
:host([layout-container-lg-padding="56"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-56); } }
|
|
19382
|
+
:host([layout-container-lg-padding="64"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-64); } }
|
|
19383
|
+
:host([layout-container-lg-padding="80"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-80); } }
|
|
19384
|
+
:host([layout-container-lg-padding="96"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding: var(--primitives-space-96); } }
|
|
18930
19385
|
|
|
18931
19386
|
|
|
18932
19387
|
/* # Padding Inline — base */
|
|
@@ -19023,71 +19478,71 @@ const containerStyles = css`
|
|
|
19023
19478
|
|
|
19024
19479
|
/* # Padding Inline — sm container */
|
|
19025
19480
|
|
|
19026
|
-
:host([layout-
|
|
19027
|
-
:host([layout-
|
|
19028
|
-
:host([layout-
|
|
19029
|
-
:host([layout-
|
|
19030
|
-
:host([layout-
|
|
19031
|
-
:host([layout-
|
|
19032
|
-
:host([layout-
|
|
19033
|
-
:host([layout-
|
|
19034
|
-
:host([layout-
|
|
19035
|
-
:host([layout-
|
|
19036
|
-
:host([layout-
|
|
19037
|
-
:host([layout-
|
|
19038
|
-
:host([layout-
|
|
19039
|
-
:host([layout-
|
|
19040
|
-
:host([layout-
|
|
19041
|
-
:host([layout-
|
|
19042
|
-
:host([layout-
|
|
19043
|
-
:host([layout-
|
|
19044
|
-
:host([layout-
|
|
19481
|
+
:host([layout-container-sm-padding-inline="0"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: 0; } }
|
|
19482
|
+
:host([layout-container-sm-padding-inline="2"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-2); } }
|
|
19483
|
+
:host([layout-container-sm-padding-inline="4"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-4); } }
|
|
19484
|
+
:host([layout-container-sm-padding-inline="6"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-6); } }
|
|
19485
|
+
:host([layout-container-sm-padding-inline="8"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-8); } }
|
|
19486
|
+
:host([layout-container-sm-padding-inline="10"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-10); } }
|
|
19487
|
+
:host([layout-container-sm-padding-inline="12"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-12); } }
|
|
19488
|
+
:host([layout-container-sm-padding-inline="16"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-16); } }
|
|
19489
|
+
:host([layout-container-sm-padding-inline="20"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-20); } }
|
|
19490
|
+
:host([layout-container-sm-padding-inline="24"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-24); } }
|
|
19491
|
+
:host([layout-container-sm-padding-inline="28"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-28); } }
|
|
19492
|
+
:host([layout-container-sm-padding-inline="32"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-32); } }
|
|
19493
|
+
:host([layout-container-sm-padding-inline="40"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-40); } }
|
|
19494
|
+
:host([layout-container-sm-padding-inline="44"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-44); } }
|
|
19495
|
+
:host([layout-container-sm-padding-inline="48"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-48); } }
|
|
19496
|
+
:host([layout-container-sm-padding-inline="56"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-56); } }
|
|
19497
|
+
:host([layout-container-sm-padding-inline="64"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-64); } }
|
|
19498
|
+
:host([layout-container-sm-padding-inline="80"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-80); } }
|
|
19499
|
+
:host([layout-container-sm-padding-inline="96"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-inline: var(--primitives-space-96); } }
|
|
19045
19500
|
|
|
19046
19501
|
|
|
19047
19502
|
/* # Padding Inline — md container */
|
|
19048
19503
|
|
|
19049
|
-
:host([layout-
|
|
19050
|
-
:host([layout-
|
|
19051
|
-
:host([layout-
|
|
19052
|
-
:host([layout-
|
|
19053
|
-
:host([layout-
|
|
19054
|
-
:host([layout-
|
|
19055
|
-
:host([layout-
|
|
19056
|
-
:host([layout-
|
|
19057
|
-
:host([layout-
|
|
19058
|
-
:host([layout-
|
|
19059
|
-
:host([layout-
|
|
19060
|
-
:host([layout-
|
|
19061
|
-
:host([layout-
|
|
19062
|
-
:host([layout-
|
|
19063
|
-
:host([layout-
|
|
19064
|
-
:host([layout-
|
|
19065
|
-
:host([layout-
|
|
19066
|
-
:host([layout-
|
|
19067
|
-
:host([layout-
|
|
19504
|
+
:host([layout-container-md-padding-inline="0"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: 0; } }
|
|
19505
|
+
:host([layout-container-md-padding-inline="2"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-2); } }
|
|
19506
|
+
:host([layout-container-md-padding-inline="4"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-4); } }
|
|
19507
|
+
:host([layout-container-md-padding-inline="6"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-6); } }
|
|
19508
|
+
:host([layout-container-md-padding-inline="8"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-8); } }
|
|
19509
|
+
:host([layout-container-md-padding-inline="10"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-10); } }
|
|
19510
|
+
:host([layout-container-md-padding-inline="12"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-12); } }
|
|
19511
|
+
:host([layout-container-md-padding-inline="16"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-16); } }
|
|
19512
|
+
:host([layout-container-md-padding-inline="20"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-20); } }
|
|
19513
|
+
:host([layout-container-md-padding-inline="24"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-24); } }
|
|
19514
|
+
:host([layout-container-md-padding-inline="28"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-28); } }
|
|
19515
|
+
:host([layout-container-md-padding-inline="32"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-32); } }
|
|
19516
|
+
:host([layout-container-md-padding-inline="40"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-40); } }
|
|
19517
|
+
:host([layout-container-md-padding-inline="44"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-44); } }
|
|
19518
|
+
:host([layout-container-md-padding-inline="48"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-48); } }
|
|
19519
|
+
:host([layout-container-md-padding-inline="56"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-56); } }
|
|
19520
|
+
:host([layout-container-md-padding-inline="64"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-64); } }
|
|
19521
|
+
:host([layout-container-md-padding-inline="80"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-80); } }
|
|
19522
|
+
:host([layout-container-md-padding-inline="96"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-96); } }
|
|
19068
19523
|
|
|
19069
19524
|
|
|
19070
19525
|
/* # Padding Inline — lg container */
|
|
19071
19526
|
|
|
19072
|
-
:host([layout-
|
|
19073
|
-
:host([layout-
|
|
19074
|
-
:host([layout-
|
|
19075
|
-
:host([layout-
|
|
19076
|
-
:host([layout-
|
|
19077
|
-
:host([layout-
|
|
19078
|
-
:host([layout-
|
|
19079
|
-
:host([layout-
|
|
19080
|
-
:host([layout-
|
|
19081
|
-
:host([layout-
|
|
19082
|
-
:host([layout-
|
|
19083
|
-
:host([layout-
|
|
19084
|
-
:host([layout-
|
|
19085
|
-
:host([layout-
|
|
19086
|
-
:host([layout-
|
|
19087
|
-
:host([layout-
|
|
19088
|
-
:host([layout-
|
|
19089
|
-
:host([layout-
|
|
19090
|
-
:host([layout-
|
|
19527
|
+
:host([layout-container-lg-padding-inline="0"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: 0; } }
|
|
19528
|
+
:host([layout-container-lg-padding-inline="2"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-2); } }
|
|
19529
|
+
:host([layout-container-lg-padding-inline="4"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-4); } }
|
|
19530
|
+
:host([layout-container-lg-padding-inline="6"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-6); } }
|
|
19531
|
+
:host([layout-container-lg-padding-inline="8"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-8); } }
|
|
19532
|
+
:host([layout-container-lg-padding-inline="10"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-10); } }
|
|
19533
|
+
:host([layout-container-lg-padding-inline="12"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-12); } }
|
|
19534
|
+
:host([layout-container-lg-padding-inline="16"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-16); } }
|
|
19535
|
+
:host([layout-container-lg-padding-inline="20"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-20); } }
|
|
19536
|
+
:host([layout-container-lg-padding-inline="24"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-24); } }
|
|
19537
|
+
:host([layout-container-lg-padding-inline="28"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-28); } }
|
|
19538
|
+
:host([layout-container-lg-padding-inline="32"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-32); } }
|
|
19539
|
+
:host([layout-container-lg-padding-inline="40"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-40); } }
|
|
19540
|
+
:host([layout-container-lg-padding-inline="44"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-44); } }
|
|
19541
|
+
:host([layout-container-lg-padding-inline="48"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-48); } }
|
|
19542
|
+
:host([layout-container-lg-padding-inline="56"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-56); } }
|
|
19543
|
+
:host([layout-container-lg-padding-inline="64"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-64); } }
|
|
19544
|
+
:host([layout-container-lg-padding-inline="80"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-80); } }
|
|
19545
|
+
:host([layout-container-lg-padding-inline="96"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-inline: var(--primitives-space-96); } }
|
|
19091
19546
|
|
|
19092
19547
|
|
|
19093
19548
|
/* # Padding Block — base */
|
|
@@ -19184,71 +19639,71 @@ const containerStyles = css`
|
|
|
19184
19639
|
|
|
19185
19640
|
/* # Padding Block — sm container */
|
|
19186
19641
|
|
|
19187
|
-
:host([layout-
|
|
19188
|
-
:host([layout-
|
|
19189
|
-
:host([layout-
|
|
19190
|
-
:host([layout-
|
|
19191
|
-
:host([layout-
|
|
19192
|
-
:host([layout-
|
|
19193
|
-
:host([layout-
|
|
19194
|
-
:host([layout-
|
|
19195
|
-
:host([layout-
|
|
19196
|
-
:host([layout-
|
|
19197
|
-
:host([layout-
|
|
19198
|
-
:host([layout-
|
|
19199
|
-
:host([layout-
|
|
19200
|
-
:host([layout-
|
|
19201
|
-
:host([layout-
|
|
19202
|
-
:host([layout-
|
|
19203
|
-
:host([layout-
|
|
19204
|
-
:host([layout-
|
|
19205
|
-
:host([layout-
|
|
19642
|
+
:host([layout-container-sm-padding-block="0"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: 0; } }
|
|
19643
|
+
:host([layout-container-sm-padding-block="2"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-2); } }
|
|
19644
|
+
:host([layout-container-sm-padding-block="4"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-4); } }
|
|
19645
|
+
:host([layout-container-sm-padding-block="6"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-6); } }
|
|
19646
|
+
:host([layout-container-sm-padding-block="8"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-8); } }
|
|
19647
|
+
:host([layout-container-sm-padding-block="10"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-10); } }
|
|
19648
|
+
:host([layout-container-sm-padding-block="12"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-12); } }
|
|
19649
|
+
:host([layout-container-sm-padding-block="16"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-16); } }
|
|
19650
|
+
:host([layout-container-sm-padding-block="20"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-20); } }
|
|
19651
|
+
:host([layout-container-sm-padding-block="24"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-24); } }
|
|
19652
|
+
:host([layout-container-sm-padding-block="28"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-28); } }
|
|
19653
|
+
:host([layout-container-sm-padding-block="32"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-32); } }
|
|
19654
|
+
:host([layout-container-sm-padding-block="40"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-40); } }
|
|
19655
|
+
:host([layout-container-sm-padding-block="44"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-44); } }
|
|
19656
|
+
:host([layout-container-sm-padding-block="48"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-48); } }
|
|
19657
|
+
:host([layout-container-sm-padding-block="56"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-56); } }
|
|
19658
|
+
:host([layout-container-sm-padding-block="64"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-64); } }
|
|
19659
|
+
:host([layout-container-sm-padding-block="80"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-80); } }
|
|
19660
|
+
:host([layout-container-sm-padding-block="96"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-block: var(--primitives-space-96); } }
|
|
19206
19661
|
|
|
19207
19662
|
|
|
19208
19663
|
/* # Padding Block — md container */
|
|
19209
19664
|
|
|
19210
|
-
:host([layout-
|
|
19211
|
-
:host([layout-
|
|
19212
|
-
:host([layout-
|
|
19213
|
-
:host([layout-
|
|
19214
|
-
:host([layout-
|
|
19215
|
-
:host([layout-
|
|
19216
|
-
:host([layout-
|
|
19217
|
-
:host([layout-
|
|
19218
|
-
:host([layout-
|
|
19219
|
-
:host([layout-
|
|
19220
|
-
:host([layout-
|
|
19221
|
-
:host([layout-
|
|
19222
|
-
:host([layout-
|
|
19223
|
-
:host([layout-
|
|
19224
|
-
:host([layout-
|
|
19225
|
-
:host([layout-
|
|
19226
|
-
:host([layout-
|
|
19227
|
-
:host([layout-
|
|
19228
|
-
:host([layout-
|
|
19665
|
+
:host([layout-container-md-padding-block="0"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: 0; } }
|
|
19666
|
+
:host([layout-container-md-padding-block="2"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-2); } }
|
|
19667
|
+
:host([layout-container-md-padding-block="4"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-4); } }
|
|
19668
|
+
:host([layout-container-md-padding-block="6"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-6); } }
|
|
19669
|
+
:host([layout-container-md-padding-block="8"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-8); } }
|
|
19670
|
+
:host([layout-container-md-padding-block="10"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-10); } }
|
|
19671
|
+
:host([layout-container-md-padding-block="12"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-12); } }
|
|
19672
|
+
:host([layout-container-md-padding-block="16"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-16); } }
|
|
19673
|
+
:host([layout-container-md-padding-block="20"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-20); } }
|
|
19674
|
+
:host([layout-container-md-padding-block="24"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-24); } }
|
|
19675
|
+
:host([layout-container-md-padding-block="28"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-28); } }
|
|
19676
|
+
:host([layout-container-md-padding-block="32"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-32); } }
|
|
19677
|
+
:host([layout-container-md-padding-block="40"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-40); } }
|
|
19678
|
+
:host([layout-container-md-padding-block="44"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-44); } }
|
|
19679
|
+
:host([layout-container-md-padding-block="48"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-48); } }
|
|
19680
|
+
:host([layout-container-md-padding-block="56"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-56); } }
|
|
19681
|
+
:host([layout-container-md-padding-block="64"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-64); } }
|
|
19682
|
+
:host([layout-container-md-padding-block="80"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-80); } }
|
|
19683
|
+
:host([layout-container-md-padding-block="96"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-96); } }
|
|
19229
19684
|
|
|
19230
19685
|
|
|
19231
19686
|
/* # Padding Block — lg container */
|
|
19232
19687
|
|
|
19233
|
-
:host([layout-
|
|
19234
|
-
:host([layout-
|
|
19235
|
-
:host([layout-
|
|
19236
|
-
:host([layout-
|
|
19237
|
-
:host([layout-
|
|
19238
|
-
:host([layout-
|
|
19239
|
-
:host([layout-
|
|
19240
|
-
:host([layout-
|
|
19241
|
-
:host([layout-
|
|
19242
|
-
:host([layout-
|
|
19243
|
-
:host([layout-
|
|
19244
|
-
:host([layout-
|
|
19245
|
-
:host([layout-
|
|
19246
|
-
:host([layout-
|
|
19247
|
-
:host([layout-
|
|
19248
|
-
:host([layout-
|
|
19249
|
-
:host([layout-
|
|
19250
|
-
:host([layout-
|
|
19251
|
-
:host([layout-
|
|
19688
|
+
:host([layout-container-lg-padding-block="0"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: 0; } }
|
|
19689
|
+
:host([layout-container-lg-padding-block="2"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-2); } }
|
|
19690
|
+
:host([layout-container-lg-padding-block="4"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-4); } }
|
|
19691
|
+
:host([layout-container-lg-padding-block="6"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-6); } }
|
|
19692
|
+
:host([layout-container-lg-padding-block="8"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-8); } }
|
|
19693
|
+
:host([layout-container-lg-padding-block="10"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-10); } }
|
|
19694
|
+
:host([layout-container-lg-padding-block="12"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-12); } }
|
|
19695
|
+
:host([layout-container-lg-padding-block="16"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-16); } }
|
|
19696
|
+
:host([layout-container-lg-padding-block="20"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-20); } }
|
|
19697
|
+
:host([layout-container-lg-padding-block="24"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-24); } }
|
|
19698
|
+
:host([layout-container-lg-padding-block="28"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-28); } }
|
|
19699
|
+
:host([layout-container-lg-padding-block="32"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-32); } }
|
|
19700
|
+
:host([layout-container-lg-padding-block="40"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-40); } }
|
|
19701
|
+
:host([layout-container-lg-padding-block="44"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-44); } }
|
|
19702
|
+
:host([layout-container-lg-padding-block="48"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-48); } }
|
|
19703
|
+
:host([layout-container-lg-padding-block="56"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-56); } }
|
|
19704
|
+
:host([layout-container-lg-padding-block="64"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-64); } }
|
|
19705
|
+
:host([layout-container-lg-padding-block="80"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-80); } }
|
|
19706
|
+
:host([layout-container-lg-padding-block="96"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-block: var(--primitives-space-96); } }
|
|
19252
19707
|
|
|
19253
19708
|
|
|
19254
19709
|
/* # Padding Top — base */
|
|
@@ -19345,71 +19800,71 @@ const containerStyles = css`
|
|
|
19345
19800
|
|
|
19346
19801
|
/* # Padding Top — sm container */
|
|
19347
19802
|
|
|
19348
|
-
:host([layout-
|
|
19349
|
-
:host([layout-
|
|
19350
|
-
:host([layout-
|
|
19351
|
-
:host([layout-
|
|
19352
|
-
:host([layout-
|
|
19353
|
-
:host([layout-
|
|
19354
|
-
:host([layout-
|
|
19355
|
-
:host([layout-
|
|
19356
|
-
:host([layout-
|
|
19357
|
-
:host([layout-
|
|
19358
|
-
:host([layout-
|
|
19359
|
-
:host([layout-
|
|
19360
|
-
:host([layout-
|
|
19361
|
-
:host([layout-
|
|
19362
|
-
:host([layout-
|
|
19363
|
-
:host([layout-
|
|
19364
|
-
:host([layout-
|
|
19365
|
-
:host([layout-
|
|
19366
|
-
:host([layout-
|
|
19803
|
+
:host([layout-container-sm-padding-top="0"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: 0; } }
|
|
19804
|
+
:host([layout-container-sm-padding-top="2"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-2); } }
|
|
19805
|
+
:host([layout-container-sm-padding-top="4"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-4); } }
|
|
19806
|
+
:host([layout-container-sm-padding-top="6"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-6); } }
|
|
19807
|
+
:host([layout-container-sm-padding-top="8"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-8); } }
|
|
19808
|
+
:host([layout-container-sm-padding-top="10"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-10); } }
|
|
19809
|
+
:host([layout-container-sm-padding-top="12"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-12); } }
|
|
19810
|
+
:host([layout-container-sm-padding-top="16"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-16); } }
|
|
19811
|
+
:host([layout-container-sm-padding-top="20"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-20); } }
|
|
19812
|
+
:host([layout-container-sm-padding-top="24"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-24); } }
|
|
19813
|
+
:host([layout-container-sm-padding-top="28"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-28); } }
|
|
19814
|
+
:host([layout-container-sm-padding-top="32"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-32); } }
|
|
19815
|
+
:host([layout-container-sm-padding-top="40"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-40); } }
|
|
19816
|
+
:host([layout-container-sm-padding-top="44"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-44); } }
|
|
19817
|
+
:host([layout-container-sm-padding-top="48"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-48); } }
|
|
19818
|
+
:host([layout-container-sm-padding-top="56"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-56); } }
|
|
19819
|
+
:host([layout-container-sm-padding-top="64"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-64); } }
|
|
19820
|
+
:host([layout-container-sm-padding-top="80"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-80); } }
|
|
19821
|
+
:host([layout-container-sm-padding-top="96"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-top: var(--primitives-space-96); } }
|
|
19367
19822
|
|
|
19368
19823
|
|
|
19369
19824
|
/* # Padding Top — md container */
|
|
19370
19825
|
|
|
19371
|
-
:host([layout-
|
|
19372
|
-
:host([layout-
|
|
19373
|
-
:host([layout-
|
|
19374
|
-
:host([layout-
|
|
19375
|
-
:host([layout-
|
|
19376
|
-
:host([layout-
|
|
19377
|
-
:host([layout-
|
|
19378
|
-
:host([layout-
|
|
19379
|
-
:host([layout-
|
|
19380
|
-
:host([layout-
|
|
19381
|
-
:host([layout-
|
|
19382
|
-
:host([layout-
|
|
19383
|
-
:host([layout-
|
|
19384
|
-
:host([layout-
|
|
19385
|
-
:host([layout-
|
|
19386
|
-
:host([layout-
|
|
19387
|
-
:host([layout-
|
|
19388
|
-
:host([layout-
|
|
19389
|
-
:host([layout-
|
|
19826
|
+
:host([layout-container-md-padding-top="0"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: 0; } }
|
|
19827
|
+
:host([layout-container-md-padding-top="2"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-2); } }
|
|
19828
|
+
:host([layout-container-md-padding-top="4"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-4); } }
|
|
19829
|
+
:host([layout-container-md-padding-top="6"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-6); } }
|
|
19830
|
+
:host([layout-container-md-padding-top="8"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-8); } }
|
|
19831
|
+
:host([layout-container-md-padding-top="10"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-10); } }
|
|
19832
|
+
:host([layout-container-md-padding-top="12"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-12); } }
|
|
19833
|
+
:host([layout-container-md-padding-top="16"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-16); } }
|
|
19834
|
+
:host([layout-container-md-padding-top="20"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-20); } }
|
|
19835
|
+
:host([layout-container-md-padding-top="24"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-24); } }
|
|
19836
|
+
:host([layout-container-md-padding-top="28"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-28); } }
|
|
19837
|
+
:host([layout-container-md-padding-top="32"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-32); } }
|
|
19838
|
+
:host([layout-container-md-padding-top="40"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-40); } }
|
|
19839
|
+
:host([layout-container-md-padding-top="44"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-44); } }
|
|
19840
|
+
:host([layout-container-md-padding-top="48"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-48); } }
|
|
19841
|
+
:host([layout-container-md-padding-top="56"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-56); } }
|
|
19842
|
+
:host([layout-container-md-padding-top="64"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-64); } }
|
|
19843
|
+
:host([layout-container-md-padding-top="80"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-80); } }
|
|
19844
|
+
:host([layout-container-md-padding-top="96"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-96); } }
|
|
19390
19845
|
|
|
19391
19846
|
|
|
19392
19847
|
/* # Padding Top — lg container */
|
|
19393
19848
|
|
|
19394
|
-
:host([layout-
|
|
19395
|
-
:host([layout-
|
|
19396
|
-
:host([layout-
|
|
19397
|
-
:host([layout-
|
|
19398
|
-
:host([layout-
|
|
19399
|
-
:host([layout-
|
|
19400
|
-
:host([layout-
|
|
19401
|
-
:host([layout-
|
|
19402
|
-
:host([layout-
|
|
19403
|
-
:host([layout-
|
|
19404
|
-
:host([layout-
|
|
19405
|
-
:host([layout-
|
|
19406
|
-
:host([layout-
|
|
19407
|
-
:host([layout-
|
|
19408
|
-
:host([layout-
|
|
19409
|
-
:host([layout-
|
|
19410
|
-
:host([layout-
|
|
19411
|
-
:host([layout-
|
|
19412
|
-
:host([layout-
|
|
19849
|
+
:host([layout-container-lg-padding-top="0"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: 0; } }
|
|
19850
|
+
:host([layout-container-lg-padding-top="2"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-2); } }
|
|
19851
|
+
:host([layout-container-lg-padding-top="4"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-4); } }
|
|
19852
|
+
:host([layout-container-lg-padding-top="6"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-6); } }
|
|
19853
|
+
:host([layout-container-lg-padding-top="8"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-8); } }
|
|
19854
|
+
:host([layout-container-lg-padding-top="10"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-10); } }
|
|
19855
|
+
:host([layout-container-lg-padding-top="12"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-12); } }
|
|
19856
|
+
:host([layout-container-lg-padding-top="16"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-16); } }
|
|
19857
|
+
:host([layout-container-lg-padding-top="20"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-20); } }
|
|
19858
|
+
:host([layout-container-lg-padding-top="24"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-24); } }
|
|
19859
|
+
:host([layout-container-lg-padding-top="28"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-28); } }
|
|
19860
|
+
:host([layout-container-lg-padding-top="32"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-32); } }
|
|
19861
|
+
:host([layout-container-lg-padding-top="40"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-40); } }
|
|
19862
|
+
:host([layout-container-lg-padding-top="44"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-44); } }
|
|
19863
|
+
:host([layout-container-lg-padding-top="48"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-48); } }
|
|
19864
|
+
:host([layout-container-lg-padding-top="56"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-56); } }
|
|
19865
|
+
:host([layout-container-lg-padding-top="64"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-64); } }
|
|
19866
|
+
:host([layout-container-lg-padding-top="80"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-80); } }
|
|
19867
|
+
:host([layout-container-lg-padding-top="96"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-top: var(--primitives-space-96); } }
|
|
19413
19868
|
|
|
19414
19869
|
|
|
19415
19870
|
/* # Padding Right — base */
|
|
@@ -19506,71 +19961,71 @@ const containerStyles = css`
|
|
|
19506
19961
|
|
|
19507
19962
|
/* # Padding Right — sm container */
|
|
19508
19963
|
|
|
19509
|
-
:host([layout-
|
|
19510
|
-
:host([layout-
|
|
19511
|
-
:host([layout-
|
|
19512
|
-
:host([layout-
|
|
19513
|
-
:host([layout-
|
|
19514
|
-
:host([layout-
|
|
19515
|
-
:host([layout-
|
|
19516
|
-
:host([layout-
|
|
19517
|
-
:host([layout-
|
|
19518
|
-
:host([layout-
|
|
19519
|
-
:host([layout-
|
|
19520
|
-
:host([layout-
|
|
19521
|
-
:host([layout-
|
|
19522
|
-
:host([layout-
|
|
19523
|
-
:host([layout-
|
|
19524
|
-
:host([layout-
|
|
19525
|
-
:host([layout-
|
|
19526
|
-
:host([layout-
|
|
19527
|
-
:host([layout-
|
|
19964
|
+
:host([layout-container-sm-padding-right="0"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: 0; } }
|
|
19965
|
+
:host([layout-container-sm-padding-right="2"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-2); } }
|
|
19966
|
+
:host([layout-container-sm-padding-right="4"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-4); } }
|
|
19967
|
+
:host([layout-container-sm-padding-right="6"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-6); } }
|
|
19968
|
+
:host([layout-container-sm-padding-right="8"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-8); } }
|
|
19969
|
+
:host([layout-container-sm-padding-right="10"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-10); } }
|
|
19970
|
+
:host([layout-container-sm-padding-right="12"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-12); } }
|
|
19971
|
+
:host([layout-container-sm-padding-right="16"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-16); } }
|
|
19972
|
+
:host([layout-container-sm-padding-right="20"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-20); } }
|
|
19973
|
+
:host([layout-container-sm-padding-right="24"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-24); } }
|
|
19974
|
+
:host([layout-container-sm-padding-right="28"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-28); } }
|
|
19975
|
+
:host([layout-container-sm-padding-right="32"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-32); } }
|
|
19976
|
+
:host([layout-container-sm-padding-right="40"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-40); } }
|
|
19977
|
+
:host([layout-container-sm-padding-right="44"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-44); } }
|
|
19978
|
+
:host([layout-container-sm-padding-right="48"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-48); } }
|
|
19979
|
+
:host([layout-container-sm-padding-right="56"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-56); } }
|
|
19980
|
+
:host([layout-container-sm-padding-right="64"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-64); } }
|
|
19981
|
+
:host([layout-container-sm-padding-right="80"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-80); } }
|
|
19982
|
+
:host([layout-container-sm-padding-right="96"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-right: var(--primitives-space-96); } }
|
|
19528
19983
|
|
|
19529
19984
|
|
|
19530
19985
|
/* # Padding Right — md container */
|
|
19531
19986
|
|
|
19532
|
-
:host([layout-
|
|
19533
|
-
:host([layout-
|
|
19534
|
-
:host([layout-
|
|
19535
|
-
:host([layout-
|
|
19536
|
-
:host([layout-
|
|
19537
|
-
:host([layout-
|
|
19538
|
-
:host([layout-
|
|
19539
|
-
:host([layout-
|
|
19540
|
-
:host([layout-
|
|
19541
|
-
:host([layout-
|
|
19542
|
-
:host([layout-
|
|
19543
|
-
:host([layout-
|
|
19544
|
-
:host([layout-
|
|
19545
|
-
:host([layout-
|
|
19546
|
-
:host([layout-
|
|
19547
|
-
:host([layout-
|
|
19548
|
-
:host([layout-
|
|
19549
|
-
:host([layout-
|
|
19550
|
-
:host([layout-
|
|
19987
|
+
:host([layout-container-md-padding-right="0"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: 0; } }
|
|
19988
|
+
:host([layout-container-md-padding-right="2"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-2); } }
|
|
19989
|
+
:host([layout-container-md-padding-right="4"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-4); } }
|
|
19990
|
+
:host([layout-container-md-padding-right="6"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-6); } }
|
|
19991
|
+
:host([layout-container-md-padding-right="8"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-8); } }
|
|
19992
|
+
:host([layout-container-md-padding-right="10"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-10); } }
|
|
19993
|
+
:host([layout-container-md-padding-right="12"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-12); } }
|
|
19994
|
+
:host([layout-container-md-padding-right="16"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-16); } }
|
|
19995
|
+
:host([layout-container-md-padding-right="20"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-20); } }
|
|
19996
|
+
:host([layout-container-md-padding-right="24"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-24); } }
|
|
19997
|
+
:host([layout-container-md-padding-right="28"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-28); } }
|
|
19998
|
+
:host([layout-container-md-padding-right="32"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-32); } }
|
|
19999
|
+
:host([layout-container-md-padding-right="40"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-40); } }
|
|
20000
|
+
:host([layout-container-md-padding-right="44"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-44); } }
|
|
20001
|
+
:host([layout-container-md-padding-right="48"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-48); } }
|
|
20002
|
+
:host([layout-container-md-padding-right="56"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-56); } }
|
|
20003
|
+
:host([layout-container-md-padding-right="64"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-64); } }
|
|
20004
|
+
:host([layout-container-md-padding-right="80"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-80); } }
|
|
20005
|
+
:host([layout-container-md-padding-right="96"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-96); } }
|
|
19551
20006
|
|
|
19552
20007
|
|
|
19553
20008
|
/* # Padding Right — lg container */
|
|
19554
20009
|
|
|
19555
|
-
:host([layout-
|
|
19556
|
-
:host([layout-
|
|
19557
|
-
:host([layout-
|
|
19558
|
-
:host([layout-
|
|
19559
|
-
:host([layout-
|
|
19560
|
-
:host([layout-
|
|
19561
|
-
:host([layout-
|
|
19562
|
-
:host([layout-
|
|
19563
|
-
:host([layout-
|
|
19564
|
-
:host([layout-
|
|
19565
|
-
:host([layout-
|
|
19566
|
-
:host([layout-
|
|
19567
|
-
:host([layout-
|
|
19568
|
-
:host([layout-
|
|
19569
|
-
:host([layout-
|
|
19570
|
-
:host([layout-
|
|
19571
|
-
:host([layout-
|
|
19572
|
-
:host([layout-
|
|
19573
|
-
:host([layout-
|
|
20010
|
+
:host([layout-container-lg-padding-right="0"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: 0; } }
|
|
20011
|
+
:host([layout-container-lg-padding-right="2"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-2); } }
|
|
20012
|
+
:host([layout-container-lg-padding-right="4"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-4); } }
|
|
20013
|
+
:host([layout-container-lg-padding-right="6"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-6); } }
|
|
20014
|
+
:host([layout-container-lg-padding-right="8"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-8); } }
|
|
20015
|
+
:host([layout-container-lg-padding-right="10"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-10); } }
|
|
20016
|
+
:host([layout-container-lg-padding-right="12"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-12); } }
|
|
20017
|
+
:host([layout-container-lg-padding-right="16"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-16); } }
|
|
20018
|
+
:host([layout-container-lg-padding-right="20"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-20); } }
|
|
20019
|
+
:host([layout-container-lg-padding-right="24"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-24); } }
|
|
20020
|
+
:host([layout-container-lg-padding-right="28"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-28); } }
|
|
20021
|
+
:host([layout-container-lg-padding-right="32"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-32); } }
|
|
20022
|
+
:host([layout-container-lg-padding-right="40"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-40); } }
|
|
20023
|
+
:host([layout-container-lg-padding-right="44"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-44); } }
|
|
20024
|
+
:host([layout-container-lg-padding-right="48"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-48); } }
|
|
20025
|
+
:host([layout-container-lg-padding-right="56"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-56); } }
|
|
20026
|
+
:host([layout-container-lg-padding-right="64"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-64); } }
|
|
20027
|
+
:host([layout-container-lg-padding-right="80"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-80); } }
|
|
20028
|
+
:host([layout-container-lg-padding-right="96"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-right: var(--primitives-space-96); } }
|
|
19574
20029
|
|
|
19575
20030
|
|
|
19576
20031
|
/* # Padding Bottom — base */
|
|
@@ -19667,71 +20122,71 @@ const containerStyles = css`
|
|
|
19667
20122
|
|
|
19668
20123
|
/* # Padding Bottom — sm container */
|
|
19669
20124
|
|
|
19670
|
-
:host([layout-
|
|
19671
|
-
:host([layout-
|
|
19672
|
-
:host([layout-
|
|
19673
|
-
:host([layout-
|
|
19674
|
-
:host([layout-
|
|
19675
|
-
:host([layout-
|
|
19676
|
-
:host([layout-
|
|
19677
|
-
:host([layout-
|
|
19678
|
-
:host([layout-
|
|
19679
|
-
:host([layout-
|
|
19680
|
-
:host([layout-
|
|
19681
|
-
:host([layout-
|
|
19682
|
-
:host([layout-
|
|
19683
|
-
:host([layout-
|
|
19684
|
-
:host([layout-
|
|
19685
|
-
:host([layout-
|
|
19686
|
-
:host([layout-
|
|
19687
|
-
:host([layout-
|
|
19688
|
-
:host([layout-
|
|
20125
|
+
:host([layout-container-sm-padding-bottom="0"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: 0; } }
|
|
20126
|
+
:host([layout-container-sm-padding-bottom="2"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-2); } }
|
|
20127
|
+
:host([layout-container-sm-padding-bottom="4"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-4); } }
|
|
20128
|
+
:host([layout-container-sm-padding-bottom="6"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-6); } }
|
|
20129
|
+
:host([layout-container-sm-padding-bottom="8"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-8); } }
|
|
20130
|
+
:host([layout-container-sm-padding-bottom="10"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-10); } }
|
|
20131
|
+
:host([layout-container-sm-padding-bottom="12"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-12); } }
|
|
20132
|
+
:host([layout-container-sm-padding-bottom="16"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-16); } }
|
|
20133
|
+
:host([layout-container-sm-padding-bottom="20"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-20); } }
|
|
20134
|
+
:host([layout-container-sm-padding-bottom="24"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-24); } }
|
|
20135
|
+
:host([layout-container-sm-padding-bottom="28"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-28); } }
|
|
20136
|
+
:host([layout-container-sm-padding-bottom="32"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-32); } }
|
|
20137
|
+
:host([layout-container-sm-padding-bottom="40"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-40); } }
|
|
20138
|
+
:host([layout-container-sm-padding-bottom="44"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-44); } }
|
|
20139
|
+
:host([layout-container-sm-padding-bottom="48"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-48); } }
|
|
20140
|
+
:host([layout-container-sm-padding-bottom="56"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-56); } }
|
|
20141
|
+
:host([layout-container-sm-padding-bottom="64"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-64); } }
|
|
20142
|
+
:host([layout-container-sm-padding-bottom="80"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-80); } }
|
|
20143
|
+
:host([layout-container-sm-padding-bottom="96"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-bottom: var(--primitives-space-96); } }
|
|
19689
20144
|
|
|
19690
20145
|
|
|
19691
20146
|
/* # Padding Bottom — md container */
|
|
19692
20147
|
|
|
19693
|
-
:host([layout-
|
|
19694
|
-
:host([layout-
|
|
19695
|
-
:host([layout-
|
|
19696
|
-
:host([layout-
|
|
19697
|
-
:host([layout-
|
|
19698
|
-
:host([layout-
|
|
19699
|
-
:host([layout-
|
|
19700
|
-
:host([layout-
|
|
19701
|
-
:host([layout-
|
|
19702
|
-
:host([layout-
|
|
19703
|
-
:host([layout-
|
|
19704
|
-
:host([layout-
|
|
19705
|
-
:host([layout-
|
|
19706
|
-
:host([layout-
|
|
19707
|
-
:host([layout-
|
|
19708
|
-
:host([layout-
|
|
19709
|
-
:host([layout-
|
|
19710
|
-
:host([layout-
|
|
19711
|
-
:host([layout-
|
|
20148
|
+
:host([layout-container-md-padding-bottom="0"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: 0; } }
|
|
20149
|
+
:host([layout-container-md-padding-bottom="2"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-2); } }
|
|
20150
|
+
:host([layout-container-md-padding-bottom="4"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-4); } }
|
|
20151
|
+
:host([layout-container-md-padding-bottom="6"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-6); } }
|
|
20152
|
+
:host([layout-container-md-padding-bottom="8"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-8); } }
|
|
20153
|
+
:host([layout-container-md-padding-bottom="10"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-10); } }
|
|
20154
|
+
:host([layout-container-md-padding-bottom="12"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-12); } }
|
|
20155
|
+
:host([layout-container-md-padding-bottom="16"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-16); } }
|
|
20156
|
+
:host([layout-container-md-padding-bottom="20"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-20); } }
|
|
20157
|
+
:host([layout-container-md-padding-bottom="24"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-24); } }
|
|
20158
|
+
:host([layout-container-md-padding-bottom="28"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-28); } }
|
|
20159
|
+
:host([layout-container-md-padding-bottom="32"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-32); } }
|
|
20160
|
+
:host([layout-container-md-padding-bottom="40"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-40); } }
|
|
20161
|
+
:host([layout-container-md-padding-bottom="44"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-44); } }
|
|
20162
|
+
:host([layout-container-md-padding-bottom="48"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-48); } }
|
|
20163
|
+
:host([layout-container-md-padding-bottom="56"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-56); } }
|
|
20164
|
+
:host([layout-container-md-padding-bottom="64"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-64); } }
|
|
20165
|
+
:host([layout-container-md-padding-bottom="80"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-80); } }
|
|
20166
|
+
:host([layout-container-md-padding-bottom="96"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-96); } }
|
|
19712
20167
|
|
|
19713
20168
|
|
|
19714
20169
|
/* # Padding Bottom — lg container */
|
|
19715
20170
|
|
|
19716
|
-
:host([layout-
|
|
19717
|
-
:host([layout-
|
|
19718
|
-
:host([layout-
|
|
19719
|
-
:host([layout-
|
|
19720
|
-
:host([layout-
|
|
19721
|
-
:host([layout-
|
|
19722
|
-
:host([layout-
|
|
19723
|
-
:host([layout-
|
|
19724
|
-
:host([layout-
|
|
19725
|
-
:host([layout-
|
|
19726
|
-
:host([layout-
|
|
19727
|
-
:host([layout-
|
|
19728
|
-
:host([layout-
|
|
19729
|
-
:host([layout-
|
|
19730
|
-
:host([layout-
|
|
19731
|
-
:host([layout-
|
|
19732
|
-
:host([layout-
|
|
19733
|
-
:host([layout-
|
|
19734
|
-
:host([layout-
|
|
20171
|
+
:host([layout-container-lg-padding-bottom="0"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: 0; } }
|
|
20172
|
+
:host([layout-container-lg-padding-bottom="2"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-2); } }
|
|
20173
|
+
:host([layout-container-lg-padding-bottom="4"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-4); } }
|
|
20174
|
+
:host([layout-container-lg-padding-bottom="6"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-6); } }
|
|
20175
|
+
:host([layout-container-lg-padding-bottom="8"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-8); } }
|
|
20176
|
+
:host([layout-container-lg-padding-bottom="10"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-10); } }
|
|
20177
|
+
:host([layout-container-lg-padding-bottom="12"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-12); } }
|
|
20178
|
+
:host([layout-container-lg-padding-bottom="16"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-16); } }
|
|
20179
|
+
:host([layout-container-lg-padding-bottom="20"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-20); } }
|
|
20180
|
+
:host([layout-container-lg-padding-bottom="24"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-24); } }
|
|
20181
|
+
:host([layout-container-lg-padding-bottom="28"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-28); } }
|
|
20182
|
+
:host([layout-container-lg-padding-bottom="32"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-32); } }
|
|
20183
|
+
:host([layout-container-lg-padding-bottom="40"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-40); } }
|
|
20184
|
+
:host([layout-container-lg-padding-bottom="44"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-44); } }
|
|
20185
|
+
:host([layout-container-lg-padding-bottom="48"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-48); } }
|
|
20186
|
+
:host([layout-container-lg-padding-bottom="56"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-56); } }
|
|
20187
|
+
:host([layout-container-lg-padding-bottom="64"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-64); } }
|
|
20188
|
+
:host([layout-container-lg-padding-bottom="80"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-80); } }
|
|
20189
|
+
:host([layout-container-lg-padding-bottom="96"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-bottom: var(--primitives-space-96); } }
|
|
19735
20190
|
|
|
19736
20191
|
|
|
19737
20192
|
/* # Padding Left — base */
|
|
@@ -19828,71 +20283,71 @@ const containerStyles = css`
|
|
|
19828
20283
|
|
|
19829
20284
|
/* # Padding Left — sm container */
|
|
19830
20285
|
|
|
19831
|
-
:host([layout-
|
|
19832
|
-
:host([layout-
|
|
19833
|
-
:host([layout-
|
|
19834
|
-
:host([layout-
|
|
19835
|
-
:host([layout-
|
|
19836
|
-
:host([layout-
|
|
19837
|
-
:host([layout-
|
|
19838
|
-
:host([layout-
|
|
19839
|
-
:host([layout-
|
|
19840
|
-
:host([layout-
|
|
19841
|
-
:host([layout-
|
|
19842
|
-
:host([layout-
|
|
19843
|
-
:host([layout-
|
|
19844
|
-
:host([layout-
|
|
19845
|
-
:host([layout-
|
|
19846
|
-
:host([layout-
|
|
19847
|
-
:host([layout-
|
|
19848
|
-
:host([layout-
|
|
19849
|
-
:host([layout-
|
|
20286
|
+
:host([layout-container-sm-padding-left="0"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: 0; } }
|
|
20287
|
+
:host([layout-container-sm-padding-left="2"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-2); } }
|
|
20288
|
+
:host([layout-container-sm-padding-left="4"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-4); } }
|
|
20289
|
+
:host([layout-container-sm-padding-left="6"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-6); } }
|
|
20290
|
+
:host([layout-container-sm-padding-left="8"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-8); } }
|
|
20291
|
+
:host([layout-container-sm-padding-left="10"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-10); } }
|
|
20292
|
+
:host([layout-container-sm-padding-left="12"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-12); } }
|
|
20293
|
+
:host([layout-container-sm-padding-left="16"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-16); } }
|
|
20294
|
+
:host([layout-container-sm-padding-left="20"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-20); } }
|
|
20295
|
+
:host([layout-container-sm-padding-left="24"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-24); } }
|
|
20296
|
+
:host([layout-container-sm-padding-left="28"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-28); } }
|
|
20297
|
+
:host([layout-container-sm-padding-left="32"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-32); } }
|
|
20298
|
+
:host([layout-container-sm-padding-left="40"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-40); } }
|
|
20299
|
+
:host([layout-container-sm-padding-left="44"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-44); } }
|
|
20300
|
+
:host([layout-container-sm-padding-left="48"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-48); } }
|
|
20301
|
+
:host([layout-container-sm-padding-left="56"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-56); } }
|
|
20302
|
+
:host([layout-container-sm-padding-left="64"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-64); } }
|
|
20303
|
+
:host([layout-container-sm-padding-left="80"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-80); } }
|
|
20304
|
+
:host([layout-container-sm-padding-left="96"]) .container { @container layout-container (max-width: ${smMax$4}) { padding-left: var(--primitives-space-96); } }
|
|
19850
20305
|
|
|
19851
20306
|
|
|
19852
20307
|
/* # Padding Left — md container */
|
|
19853
20308
|
|
|
19854
|
-
:host([layout-
|
|
19855
|
-
:host([layout-
|
|
19856
|
-
:host([layout-
|
|
19857
|
-
:host([layout-
|
|
19858
|
-
:host([layout-
|
|
19859
|
-
:host([layout-
|
|
19860
|
-
:host([layout-
|
|
19861
|
-
:host([layout-
|
|
19862
|
-
:host([layout-
|
|
19863
|
-
:host([layout-
|
|
19864
|
-
:host([layout-
|
|
19865
|
-
:host([layout-
|
|
19866
|
-
:host([layout-
|
|
19867
|
-
:host([layout-
|
|
19868
|
-
:host([layout-
|
|
19869
|
-
:host([layout-
|
|
19870
|
-
:host([layout-
|
|
19871
|
-
:host([layout-
|
|
19872
|
-
:host([layout-
|
|
20309
|
+
:host([layout-container-md-padding-left="0"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: 0; } }
|
|
20310
|
+
:host([layout-container-md-padding-left="2"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-2); } }
|
|
20311
|
+
:host([layout-container-md-padding-left="4"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-4); } }
|
|
20312
|
+
:host([layout-container-md-padding-left="6"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-6); } }
|
|
20313
|
+
:host([layout-container-md-padding-left="8"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-8); } }
|
|
20314
|
+
:host([layout-container-md-padding-left="10"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-10); } }
|
|
20315
|
+
:host([layout-container-md-padding-left="12"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-12); } }
|
|
20316
|
+
:host([layout-container-md-padding-left="16"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-16); } }
|
|
20317
|
+
:host([layout-container-md-padding-left="20"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-20); } }
|
|
20318
|
+
:host([layout-container-md-padding-left="24"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-24); } }
|
|
20319
|
+
:host([layout-container-md-padding-left="28"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-28); } }
|
|
20320
|
+
:host([layout-container-md-padding-left="32"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-32); } }
|
|
20321
|
+
:host([layout-container-md-padding-left="40"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-40); } }
|
|
20322
|
+
:host([layout-container-md-padding-left="44"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-44); } }
|
|
20323
|
+
:host([layout-container-md-padding-left="48"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-48); } }
|
|
20324
|
+
:host([layout-container-md-padding-left="56"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-56); } }
|
|
20325
|
+
:host([layout-container-md-padding-left="64"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-64); } }
|
|
20326
|
+
:host([layout-container-md-padding-left="80"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-80); } }
|
|
20327
|
+
:host([layout-container-md-padding-left="96"]) .container { @container layout-container (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-96); } }
|
|
19873
20328
|
|
|
19874
20329
|
|
|
19875
20330
|
/* # Padding Left — lg container */
|
|
19876
20331
|
|
|
19877
|
-
:host([layout-
|
|
19878
|
-
:host([layout-
|
|
19879
|
-
:host([layout-
|
|
19880
|
-
:host([layout-
|
|
19881
|
-
:host([layout-
|
|
19882
|
-
:host([layout-
|
|
19883
|
-
:host([layout-
|
|
19884
|
-
:host([layout-
|
|
19885
|
-
:host([layout-
|
|
19886
|
-
:host([layout-
|
|
19887
|
-
:host([layout-
|
|
19888
|
-
:host([layout-
|
|
19889
|
-
:host([layout-
|
|
19890
|
-
:host([layout-
|
|
19891
|
-
:host([layout-
|
|
19892
|
-
:host([layout-
|
|
19893
|
-
:host([layout-
|
|
19894
|
-
:host([layout-
|
|
19895
|
-
:host([layout-
|
|
20332
|
+
:host([layout-container-lg-padding-left="0"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: 0; } }
|
|
20333
|
+
:host([layout-container-lg-padding-left="2"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-2); } }
|
|
20334
|
+
:host([layout-container-lg-padding-left="4"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-4); } }
|
|
20335
|
+
:host([layout-container-lg-padding-left="6"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-6); } }
|
|
20336
|
+
:host([layout-container-lg-padding-left="8"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-8); } }
|
|
20337
|
+
:host([layout-container-lg-padding-left="10"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-10); } }
|
|
20338
|
+
:host([layout-container-lg-padding-left="12"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-12); } }
|
|
20339
|
+
:host([layout-container-lg-padding-left="16"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-16); } }
|
|
20340
|
+
:host([layout-container-lg-padding-left="20"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-20); } }
|
|
20341
|
+
:host([layout-container-lg-padding-left="24"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-24); } }
|
|
20342
|
+
:host([layout-container-lg-padding-left="28"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-28); } }
|
|
20343
|
+
:host([layout-container-lg-padding-left="32"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-32); } }
|
|
20344
|
+
:host([layout-container-lg-padding-left="40"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-40); } }
|
|
20345
|
+
:host([layout-container-lg-padding-left="44"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-44); } }
|
|
20346
|
+
:host([layout-container-lg-padding-left="48"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-48); } }
|
|
20347
|
+
:host([layout-container-lg-padding-left="56"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-56); } }
|
|
20348
|
+
:host([layout-container-lg-padding-left="64"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-64); } }
|
|
20349
|
+
:host([layout-container-lg-padding-left="80"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-80); } }
|
|
20350
|
+
:host([layout-container-lg-padding-left="96"]) .container { @container layout-container (min-width: ${lgMin$2}) { padding-left: var(--primitives-space-96); } }
|
|
19896
20351
|
|
|
19897
20352
|
`;
|
|
19898
20353
|
function containerTemplate(_component) {
|
|
@@ -20363,7 +20818,7 @@ let NLDDPopover = class extends LitElement {
|
|
|
20363
20818
|
connectedCallback() {
|
|
20364
20819
|
super.connectedCallback();
|
|
20365
20820
|
this.style.containerType = "inline-size";
|
|
20366
|
-
this.style.containerName = "layout-
|
|
20821
|
+
this.style.containerName = "layout-container";
|
|
20367
20822
|
if (!this.hasAttribute("popover")) this.setAttribute("popover", "");
|
|
20368
20823
|
if (!this.hasAttribute("tabindex")) this.setAttribute("tabindex", "-1");
|
|
20369
20824
|
if (!this.hasAttribute("role")) this.setAttribute("role", "dialog");
|
|
@@ -20638,7 +21093,7 @@ const sheetStyles = css`
|
|
|
20638
21093
|
/* # Host */
|
|
20639
21094
|
|
|
20640
21095
|
:host {
|
|
20641
|
-
--
|
|
21096
|
+
--_width: initial;
|
|
20642
21097
|
|
|
20643
21098
|
display: block;
|
|
20644
21099
|
}
|
|
@@ -20722,12 +21177,12 @@ const sheetStyles = css`
|
|
|
20722
21177
|
:host([placement='right']) .sheet,
|
|
20723
21178
|
:host(:not([placement])) .sheet {
|
|
20724
21179
|
inset: var(--semantics-overlays-inset) var(--semantics-overlays-inset) var(--semantics-overlays-inset) auto;
|
|
20725
|
-
width: min(var(--
|
|
21180
|
+
width: min(var(--_width, var(--semantics-sheets-side-md-width)), calc(100vw - var(--semantics-overlays-inset) * 2));
|
|
20726
21181
|
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
20727
21182
|
border-radius: var(--semantics-overlays-corner-radius);
|
|
20728
21183
|
|
|
20729
21184
|
@media (min-width: ${lgMin$1}) {
|
|
20730
|
-
width: min(var(--
|
|
21185
|
+
width: min(var(--_width, var(--semantics-sheets-side-lg-width)), calc(100vw - var(--semantics-overlays-inset) * 2));
|
|
20731
21186
|
}
|
|
20732
21187
|
|
|
20733
21188
|
&[open] {
|
|
@@ -20744,12 +21199,12 @@ const sheetStyles = css`
|
|
|
20744
21199
|
|
|
20745
21200
|
:host([placement='left']) .sheet {
|
|
20746
21201
|
inset: var(--semantics-overlays-inset) auto var(--semantics-overlays-inset) var(--semantics-overlays-inset);
|
|
20747
|
-
width: min(var(--
|
|
21202
|
+
width: min(var(--_width, var(--semantics-sheets-side-md-width)), calc(100vw - var(--semantics-overlays-inset) * 2));
|
|
20748
21203
|
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
20749
21204
|
border-radius: var(--semantics-overlays-corner-radius);
|
|
20750
21205
|
|
|
20751
21206
|
@media (min-width: ${lgMin$1}) {
|
|
20752
|
-
width: min(var(--
|
|
21207
|
+
width: min(var(--_width, var(--semantics-sheets-side-lg-width)), calc(100vw - var(--semantics-overlays-inset) * 2));
|
|
20753
21208
|
}
|
|
20754
21209
|
|
|
20755
21210
|
&[open] {
|
|
@@ -20903,9 +21358,9 @@ let NLDDSheet = class extends LitElement {
|
|
|
20903
21358
|
updated(changed) {
|
|
20904
21359
|
if (changed.has("width")) {
|
|
20905
21360
|
if (this.width) {
|
|
20906
|
-
this.style.setProperty("--
|
|
21361
|
+
this.style.setProperty("--_width", this.width);
|
|
20907
21362
|
} else {
|
|
20908
|
-
this.style.removeProperty("--
|
|
21363
|
+
this.style.removeProperty("--_width");
|
|
20909
21364
|
}
|
|
20910
21365
|
}
|
|
20911
21366
|
}
|
|
@@ -20915,7 +21370,7 @@ let NLDDSheet = class extends LitElement {
|
|
|
20915
21370
|
connectedCallback() {
|
|
20916
21371
|
super.connectedCallback();
|
|
20917
21372
|
this.style.containerType = "inline-size";
|
|
20918
|
-
this.style.containerName = "layout-
|
|
21373
|
+
this.style.containerName = "layout-container";
|
|
20919
21374
|
this.addEventListener("dismiss", this._handleDismiss);
|
|
20920
21375
|
}
|
|
20921
21376
|
disconnectedCallback() {
|
|
@@ -21251,7 +21706,7 @@ let NLDDWindow = class extends LitElement {
|
|
|
21251
21706
|
connectedCallback() {
|
|
21252
21707
|
super.connectedCallback();
|
|
21253
21708
|
this.style.containerType = "inline-size";
|
|
21254
|
-
this.style.containerName = "layout-
|
|
21709
|
+
this.style.containerName = "layout-container";
|
|
21255
21710
|
this.addEventListener("dismiss", this._handleDismiss);
|
|
21256
21711
|
this._detectDragHandle();
|
|
21257
21712
|
window.addEventListener("resize", this._handleResize);
|
|
@@ -21590,7 +22045,7 @@ const template$a = (itemsLabel, hasHeader, type, isEmpty, emptyText, emptySuppor
|
|
|
21590
22045
|
const nlddListTranslations = {
|
|
21591
22046
|
"components.list.items-label-text": "Lijst",
|
|
21592
22047
|
"components.list.navigation-label-text": "Navigatie",
|
|
21593
|
-
"components.list.empty-text": "Geen
|
|
22048
|
+
"components.list.empty-text": "Geen items",
|
|
21594
22049
|
"components.list.reorder-moved-text": "Item verplaatst naar positie {position}.",
|
|
21595
22050
|
"components.list.reorder-dropped-text": "Item neergezet op positie {position}.",
|
|
21596
22051
|
"components.list.reorder-no-change-text": "Item neergezet. Positie ongewijzigd.",
|
|
@@ -21747,6 +22202,8 @@ let NLDDList = class extends LitElement {
|
|
|
21747
22202
|
}
|
|
21748
22203
|
connectedCallback() {
|
|
21749
22204
|
super.connectedCallback();
|
|
22205
|
+
this.style.containerType = "inline-size";
|
|
22206
|
+
this.style.containerName = "list-container";
|
|
21750
22207
|
this.addEventListener("pointerdown", this._onPointerDown);
|
|
21751
22208
|
this.addEventListener("keydown", this._onKeyDown);
|
|
21752
22209
|
}
|
|
@@ -22469,7 +22926,7 @@ const cellStyles = css`
|
|
|
22469
22926
|
|
|
22470
22927
|
display: flex;
|
|
22471
22928
|
flex-direction: column;
|
|
22472
|
-
align-items:
|
|
22929
|
+
align-items: flex-start;
|
|
22473
22930
|
flex-shrink: 0;
|
|
22474
22931
|
justify-content: center;
|
|
22475
22932
|
width: var(--_width);
|
|
@@ -22485,19 +22942,20 @@ const cellStyles = css`
|
|
|
22485
22942
|
|
|
22486
22943
|
/* # Width */
|
|
22487
22944
|
|
|
22488
|
-
:host([width='
|
|
22945
|
+
:host([width='full']) {
|
|
22489
22946
|
flex-grow: 1;
|
|
22490
22947
|
flex-shrink: 1;
|
|
22491
22948
|
}
|
|
22492
22949
|
|
|
22493
22950
|
:host([width='fit-content']),
|
|
22494
|
-
:host(:not([width]))
|
|
22951
|
+
:host(:not([width])),
|
|
22952
|
+
:host([width='']) {
|
|
22495
22953
|
flex-grow: 0;
|
|
22496
22954
|
flex-basis: auto;
|
|
22497
22955
|
width: fit-content;
|
|
22498
22956
|
}
|
|
22499
22957
|
|
|
22500
|
-
:host([width]:not([width='
|
|
22958
|
+
:host([width]:not([width='full']):not([width='fit-content']):not([width=''])) {
|
|
22501
22959
|
flex-shrink: 0;
|
|
22502
22960
|
}
|
|
22503
22961
|
|
|
@@ -22506,13 +22964,7 @@ const cellStyles = css`
|
|
|
22506
22964
|
}
|
|
22507
22965
|
|
|
22508
22966
|
|
|
22509
|
-
/* # Vertical alignment
|
|
22510
|
-
*
|
|
22511
|
-
* 'center' (default): the cell stretches to fill the full row height, then
|
|
22512
|
-
* centers its content within that space. When min-height is set, the cell is
|
|
22513
|
-
* at least that tall and the content sits centered inside it. For strict top
|
|
22514
|
-
* alignment without a minimum height, use vertical-alignment="top".
|
|
22515
|
-
*/
|
|
22967
|
+
/* # Vertical alignment */
|
|
22516
22968
|
|
|
22517
22969
|
:host([vertical-alignment='center']),
|
|
22518
22970
|
:host(:not([vertical-alignment])) {
|
|
@@ -22528,6 +22980,22 @@ const cellStyles = css`
|
|
|
22528
22980
|
}
|
|
22529
22981
|
|
|
22530
22982
|
|
|
22983
|
+
/* # Horizontal alignment */
|
|
22984
|
+
|
|
22985
|
+
:host([horizontal-alignment='left']),
|
|
22986
|
+
:host(:not([horizontal-alignment])) {
|
|
22987
|
+
align-items: flex-start;
|
|
22988
|
+
}
|
|
22989
|
+
|
|
22990
|
+
:host([horizontal-alignment='center']) {
|
|
22991
|
+
align-items: center;
|
|
22992
|
+
}
|
|
22993
|
+
|
|
22994
|
+
:host([horizontal-alignment='right']) {
|
|
22995
|
+
align-items: flex-end;
|
|
22996
|
+
}
|
|
22997
|
+
|
|
22998
|
+
|
|
22531
22999
|
/* # Slotted content */
|
|
22532
23000
|
|
|
22533
23001
|
::slotted(*) {
|
|
@@ -22545,11 +23013,12 @@ var __decorateClass$e = (decorators, target, key, kind) => {
|
|
|
22545
23013
|
if (kind && result) __defProp$e(target, key, result);
|
|
22546
23014
|
return result;
|
|
22547
23015
|
};
|
|
22548
|
-
let NLDDCell = class extends VisibilityMixin(LitElement) {
|
|
23016
|
+
let NLDDCell = class extends VisibilityMixin(LitElement, "list-container") {
|
|
22549
23017
|
constructor() {
|
|
22550
23018
|
super(...arguments);
|
|
22551
23019
|
this.width = "fit-content";
|
|
22552
23020
|
this.verticalAlignment = "center";
|
|
23021
|
+
this.horizontalAlignment = "left";
|
|
22553
23022
|
}
|
|
22554
23023
|
updated(changed) {
|
|
22555
23024
|
super.updated(changed);
|
|
@@ -22558,12 +23027,17 @@ let NLDDCell = class extends VisibilityMixin(LitElement) {
|
|
|
22558
23027
|
}
|
|
22559
23028
|
}
|
|
22560
23029
|
_applyDimensionStyles() {
|
|
22561
|
-
const
|
|
22562
|
-
|
|
22563
|
-
|
|
23030
|
+
const w = this.width;
|
|
23031
|
+
const widthIsKeyword = w === "full" || w === "fit-content";
|
|
23032
|
+
const widthIsValidLength = !!w && !widthIsKeyword && CSS.supports("width", w);
|
|
23033
|
+
if (widthIsValidLength) {
|
|
23034
|
+
this.style.setProperty("--_width", w);
|
|
22564
23035
|
} else {
|
|
22565
23036
|
this.style.removeProperty("--_width");
|
|
22566
23037
|
}
|
|
23038
|
+
if (w && !widthIsKeyword && !widthIsValidLength) {
|
|
23039
|
+
this.width = "";
|
|
23040
|
+
}
|
|
22567
23041
|
if (this.minWidth) {
|
|
22568
23042
|
this.style.setProperty("--_min-width", this.minWidth);
|
|
22569
23043
|
} else {
|
|
@@ -22600,6 +23074,9 @@ __decorateClass$e([
|
|
|
22600
23074
|
__decorateClass$e([
|
|
22601
23075
|
property({ reflect: true, attribute: "vertical-alignment" })
|
|
22602
23076
|
], NLDDCell.prototype, "verticalAlignment", 2);
|
|
23077
|
+
__decorateClass$e([
|
|
23078
|
+
property({ reflect: true, attribute: "horizontal-alignment" })
|
|
23079
|
+
], NLDDCell.prototype, "horizontalAlignment", 2);
|
|
22603
23080
|
NLDDCell = __decorateClass$e([
|
|
22604
23081
|
customElement("nldd-cell")
|
|
22605
23082
|
], NLDDCell);
|
|
@@ -22630,8 +23107,9 @@ const titleCellStyles = css`
|
|
|
22630
23107
|
|
|
22631
23108
|
/* # Width */
|
|
22632
23109
|
|
|
22633
|
-
:host([width='
|
|
22634
|
-
:host(:not([width]))
|
|
23110
|
+
:host([width='full']),
|
|
23111
|
+
:host(:not([width])),
|
|
23112
|
+
:host([width='']) {
|
|
22635
23113
|
flex-grow: 1;
|
|
22636
23114
|
flex-shrink: 1;
|
|
22637
23115
|
}
|
|
@@ -22643,7 +23121,7 @@ const titleCellStyles = css`
|
|
|
22643
23121
|
width: fit-content;
|
|
22644
23122
|
}
|
|
22645
23123
|
|
|
22646
|
-
:host([width]:not([width='
|
|
23124
|
+
:host([width]:not([width='full']):not([width='fit-content']):not([width=''])) {
|
|
22647
23125
|
flex-shrink: 0;
|
|
22648
23126
|
}
|
|
22649
23127
|
|
|
@@ -22681,6 +23159,10 @@ const titleCellStyles = css`
|
|
|
22681
23159
|
align-items: flex-start;
|
|
22682
23160
|
}
|
|
22683
23161
|
|
|
23162
|
+
:host([horizontal-alignment='center']) {
|
|
23163
|
+
align-items: center;
|
|
23164
|
+
}
|
|
23165
|
+
|
|
22684
23166
|
:host([horizontal-alignment='right']) {
|
|
22685
23167
|
align-items: flex-end;
|
|
22686
23168
|
}
|
|
@@ -22697,6 +23179,10 @@ const titleCellStyles = css`
|
|
|
22697
23179
|
color: var(--context-cell-content-color, var(--semantics-content-secondary-color));
|
|
22698
23180
|
}
|
|
22699
23181
|
|
|
23182
|
+
:host([horizontal-alignment='center']) .title-cell__overline {
|
|
23183
|
+
text-align: center;
|
|
23184
|
+
}
|
|
23185
|
+
|
|
22700
23186
|
:host([horizontal-alignment='right']) .title-cell__overline {
|
|
22701
23187
|
text-align: right;
|
|
22702
23188
|
}
|
|
@@ -22713,6 +23199,10 @@ const titleCellStyles = css`
|
|
|
22713
23199
|
text-wrap: pretty;
|
|
22714
23200
|
}
|
|
22715
23201
|
|
|
23202
|
+
:host([horizontal-alignment='center']) .title-cell__title {
|
|
23203
|
+
text-align: center;
|
|
23204
|
+
}
|
|
23205
|
+
|
|
22716
23206
|
:host([horizontal-alignment='right']) .title-cell__title {
|
|
22717
23207
|
text-align: right;
|
|
22718
23208
|
}
|
|
@@ -22766,6 +23256,10 @@ const titleCellStyles = css`
|
|
|
22766
23256
|
color: var(--context-cell-content-color, var(--semantics-content-secondary-color));
|
|
22767
23257
|
}
|
|
22768
23258
|
|
|
23259
|
+
:host([horizontal-alignment='center']) .title-cell__supporting-text {
|
|
23260
|
+
text-align: center;
|
|
23261
|
+
}
|
|
23262
|
+
|
|
22769
23263
|
:host([horizontal-alignment='right']) .title-cell__supporting-text {
|
|
22770
23264
|
text-align: right;
|
|
22771
23265
|
}
|
|
@@ -22880,12 +23374,12 @@ var __decorateClass$d = (decorators, target, key, kind) => {
|
|
|
22880
23374
|
if (kind && result) __defProp$d(target, key, result);
|
|
22881
23375
|
return result;
|
|
22882
23376
|
};
|
|
22883
|
-
let NLDDTitleCell = class extends VisibilityMixin(LitElement) {
|
|
23377
|
+
let NLDDTitleCell = class extends VisibilityMixin(LitElement, "list-container") {
|
|
22884
23378
|
constructor() {
|
|
22885
23379
|
super(...arguments);
|
|
22886
23380
|
this.size = 5;
|
|
22887
23381
|
this.color = "default";
|
|
22888
|
-
this.width = "
|
|
23382
|
+
this.width = "full";
|
|
22889
23383
|
this.horizontalAlignment = "left";
|
|
22890
23384
|
this.verticalAlignment = "center";
|
|
22891
23385
|
this.text = "";
|
|
@@ -22925,12 +23419,17 @@ let NLDDTitleCell = class extends VisibilityMixin(LitElement) {
|
|
|
22925
23419
|
}
|
|
22926
23420
|
}
|
|
22927
23421
|
_applyDimensionStyles() {
|
|
22928
|
-
const
|
|
22929
|
-
|
|
22930
|
-
|
|
23422
|
+
const w = this.width;
|
|
23423
|
+
const widthIsKeyword = w === "full" || w === "fit-content";
|
|
23424
|
+
const widthIsValidLength = !!w && !widthIsKeyword && CSS.supports("width", w);
|
|
23425
|
+
if (widthIsValidLength) {
|
|
23426
|
+
this.style.setProperty("--_width", w);
|
|
22931
23427
|
} else {
|
|
22932
23428
|
this.style.removeProperty("--_width");
|
|
22933
23429
|
}
|
|
23430
|
+
if (w && !widthIsKeyword && !widthIsValidLength) {
|
|
23431
|
+
this.width = "";
|
|
23432
|
+
}
|
|
22934
23433
|
if (this.minWidth) {
|
|
22935
23434
|
this.style.setProperty("--_min-width", this.minWidth);
|
|
22936
23435
|
} else {
|
|
@@ -23033,8 +23532,9 @@ const descriptionCellStyles = css`
|
|
|
23033
23532
|
|
|
23034
23533
|
/* # Width */
|
|
23035
23534
|
|
|
23036
|
-
:host([width='
|
|
23037
|
-
:host(:not([width]))
|
|
23535
|
+
:host([width='full']),
|
|
23536
|
+
:host(:not([width])),
|
|
23537
|
+
:host([width='']) {
|
|
23038
23538
|
flex-grow: 1;
|
|
23039
23539
|
flex-shrink: 1;
|
|
23040
23540
|
}
|
|
@@ -23046,7 +23546,7 @@ const descriptionCellStyles = css`
|
|
|
23046
23546
|
width: fit-content;
|
|
23047
23547
|
}
|
|
23048
23548
|
|
|
23049
|
-
:host([width]:not([width='
|
|
23549
|
+
:host([width]:not([width='full']):not([width='fit-content']):not([width=''])) {
|
|
23050
23550
|
flex-shrink: 0;
|
|
23051
23551
|
}
|
|
23052
23552
|
|
|
@@ -23122,10 +23622,10 @@ var __decorateClass$c = (decorators, target, key, kind) => {
|
|
|
23122
23622
|
if (kind && result) __defProp$c(target, key, result);
|
|
23123
23623
|
return result;
|
|
23124
23624
|
};
|
|
23125
|
-
let NLDDDescriptionCell = class extends VisibilityMixin(LitElement) {
|
|
23625
|
+
let NLDDDescriptionCell = class extends VisibilityMixin(LitElement, "list-container") {
|
|
23126
23626
|
constructor() {
|
|
23127
23627
|
super(...arguments);
|
|
23128
|
-
this.width = "
|
|
23628
|
+
this.width = "full";
|
|
23129
23629
|
this.verticalAlignment = "center";
|
|
23130
23630
|
}
|
|
23131
23631
|
updated(changed) {
|
|
@@ -23135,12 +23635,17 @@ let NLDDDescriptionCell = class extends VisibilityMixin(LitElement) {
|
|
|
23135
23635
|
}
|
|
23136
23636
|
}
|
|
23137
23637
|
_applyDimensionStyles() {
|
|
23138
|
-
const
|
|
23139
|
-
|
|
23140
|
-
|
|
23638
|
+
const w = this.width;
|
|
23639
|
+
const widthIsKeyword = w === "full" || w === "fit-content";
|
|
23640
|
+
const widthIsValidLength = !!w && !widthIsKeyword && CSS.supports("width", w);
|
|
23641
|
+
if (widthIsValidLength) {
|
|
23642
|
+
this.style.setProperty("--_width", w);
|
|
23141
23643
|
} else {
|
|
23142
23644
|
this.style.removeProperty("--_width");
|
|
23143
23645
|
}
|
|
23646
|
+
if (w && !widthIsKeyword && !widthIsValidLength) {
|
|
23647
|
+
this.width = "";
|
|
23648
|
+
}
|
|
23144
23649
|
if (this.minWidth) {
|
|
23145
23650
|
this.style.setProperty("--_min-width", this.minWidth);
|
|
23146
23651
|
} else {
|
|
@@ -23581,12 +24086,12 @@ const menuBarItemStyles = css`
|
|
|
23581
24086
|
}
|
|
23582
24087
|
}
|
|
23583
24088
|
|
|
23584
|
-
:host([
|
|
24089
|
+
:host([expanded]) .menu-bar-item::before {
|
|
23585
24090
|
background-color: var(--components-menu-bar-item-is-open-indicator-background-color);
|
|
23586
24091
|
}
|
|
23587
24092
|
|
|
23588
24093
|
@media (hover: hover) {
|
|
23589
|
-
:host([
|
|
24094
|
+
:host([expanded]) .menu-bar-item:hover::before {
|
|
23590
24095
|
background-color: var(--components-menu-bar-item-is-hovered-indicator-background-color);
|
|
23591
24096
|
}
|
|
23592
24097
|
}
|
|
@@ -23705,7 +24210,7 @@ function template$3(component) {
|
|
|
23705
24210
|
const ariaLabel = component.accessibleLabel || (isIconOnly ? component.text : nothing);
|
|
23706
24211
|
const ariaCurrent = component.current ? component.currentType : nothing;
|
|
23707
24212
|
const ariaHaspopup = component.expandable ? "menu" : component.haspopup || nothing;
|
|
23708
|
-
const ariaExpanded = component.expandable || component.haspopup ? String(component.
|
|
24213
|
+
const ariaExpanded = component.expandable || component.haspopup ? String(component.expanded) : nothing;
|
|
23709
24214
|
if (isLink) {
|
|
23710
24215
|
return html`
|
|
23711
24216
|
<a class="menu-bar-item"
|
|
@@ -23785,7 +24290,7 @@ let NLDDMenuBarItem = class extends LitElement {
|
|
|
23785
24290
|
this.disabled = false;
|
|
23786
24291
|
this.accessibleLabel = "";
|
|
23787
24292
|
this.haspopup = "";
|
|
23788
|
-
this.
|
|
24293
|
+
this.expanded = false;
|
|
23789
24294
|
this._menu = null;
|
|
23790
24295
|
this._menuOpen = false;
|
|
23791
24296
|
this._menuClosedAt = 0;
|
|
@@ -23842,10 +24347,10 @@ let NLDDMenuBarItem = class extends LitElement {
|
|
|
23842
24347
|
const menu = document.createElement("nldd-menu");
|
|
23843
24348
|
menu.setAttribute("placement", "bottom-start");
|
|
23844
24349
|
menu.addEventListener("toggle", (event) => {
|
|
23845
|
-
const
|
|
23846
|
-
this._menuOpen =
|
|
23847
|
-
this.
|
|
23848
|
-
if (!
|
|
24350
|
+
const isOpen = event.newState === "open";
|
|
24351
|
+
this._menuOpen = isOpen;
|
|
24352
|
+
this.expanded = isOpen;
|
|
24353
|
+
if (!isOpen) this._menuClosedAt = Date.now();
|
|
23849
24354
|
});
|
|
23850
24355
|
document.body.appendChild(menu);
|
|
23851
24356
|
this._menu = menu;
|
|
@@ -23919,7 +24424,7 @@ __decorateClass$9([
|
|
|
23919
24424
|
], NLDDMenuBarItem.prototype, "haspopup", 2);
|
|
23920
24425
|
__decorateClass$9([
|
|
23921
24426
|
property({ type: Boolean, reflect: true })
|
|
23922
|
-
], NLDDMenuBarItem.prototype, "
|
|
24427
|
+
], NLDDMenuBarItem.prototype, "expanded", 2);
|
|
23923
24428
|
NLDDMenuBarItem = __decorateClass$9([
|
|
23924
24429
|
customElement("nldd-menu-bar-item")
|
|
23925
24430
|
], NLDDMenuBarItem);
|
|
@@ -24093,11 +24598,11 @@ let NLDDMenuBar = class extends withTranslations(LitElement, nlddMenuBarTranslat
|
|
|
24093
24598
|
const menu = document.createElement("nldd-menu");
|
|
24094
24599
|
menu.setAttribute("placement", "bottom-end");
|
|
24095
24600
|
menu.addEventListener("toggle", (event) => {
|
|
24096
|
-
const
|
|
24097
|
-
this._overflowMenuOpen =
|
|
24098
|
-
if (!
|
|
24601
|
+
const isOpen = event.newState === "open";
|
|
24602
|
+
this._overflowMenuOpen = isOpen;
|
|
24603
|
+
if (!isOpen) this._overflowMenuClosedAt = Date.now();
|
|
24099
24604
|
const item = this._overflowButton?.querySelector("nldd-menu-bar-item");
|
|
24100
|
-
if (item) item.
|
|
24605
|
+
if (item) item.expanded = isOpen;
|
|
24101
24606
|
});
|
|
24102
24607
|
document.body.appendChild(menu);
|
|
24103
24608
|
return menu;
|
|
@@ -24322,11 +24827,11 @@ const topNavigationBarStyles = css`
|
|
|
24322
24827
|
--_logo-width: var(--primitives-space-48);
|
|
24323
24828
|
}
|
|
24324
24829
|
|
|
24325
|
-
@container layout-
|
|
24830
|
+
@container layout-container (min-width: ${mdMin$1}) {
|
|
24326
24831
|
--_logo-width: var(--primitives-space-44);
|
|
24327
24832
|
}
|
|
24328
24833
|
|
|
24329
|
-
@container layout-
|
|
24834
|
+
@container layout-container (min-width: ${lgMin}) {
|
|
24330
24835
|
--_logo-width: var(--primitives-space-48);
|
|
24331
24836
|
}
|
|
24332
24837
|
}
|
|
@@ -24366,11 +24871,11 @@ const topNavigationBarStyles = css`
|
|
|
24366
24871
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
24367
24872
|
}
|
|
24368
24873
|
|
|
24369
|
-
@container layout-
|
|
24874
|
+
@container layout-container (min-width: ${mdMin$1}) {
|
|
24370
24875
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
24371
24876
|
}
|
|
24372
24877
|
|
|
24373
|
-
@container layout-
|
|
24878
|
+
@container layout-container (min-width: ${lgMin}) {
|
|
24374
24879
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
24375
24880
|
}
|
|
24376
24881
|
}
|
|
@@ -24485,11 +24990,11 @@ const topNavigationBarStyles = css`
|
|
|
24485
24990
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
24486
24991
|
}
|
|
24487
24992
|
|
|
24488
|
-
@container layout-
|
|
24993
|
+
@container layout-container (min-width: ${mdMin$1}) {
|
|
24489
24994
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
24490
24995
|
}
|
|
24491
24996
|
|
|
24492
|
-
@container layout-
|
|
24997
|
+
@container layout-container (min-width: ${lgMin}) {
|
|
24493
24998
|
padding-inline: var(--semantics-page-sections-lg-margin-inline);
|
|
24494
24999
|
}
|
|
24495
25000
|
|
|
@@ -24820,10 +25325,10 @@ let NLDDTopNavigationBar = class extends withTranslations(LitElement, nlddTopNav
|
|
|
24820
25325
|
this._globalMenuSheet = this._createGlobalMenuSheet();
|
|
24821
25326
|
const menuButtonItem = this._menuButton?.querySelector("nldd-menu-bar-item");
|
|
24822
25327
|
this._globalMenuSheet.addEventListener("open", () => {
|
|
24823
|
-
if (menuButtonItem) menuButtonItem.
|
|
25328
|
+
if (menuButtonItem) menuButtonItem.expanded = true;
|
|
24824
25329
|
});
|
|
24825
25330
|
this._globalMenuSheet.addEventListener("close", () => {
|
|
24826
|
-
if (menuButtonItem) menuButtonItem.
|
|
25331
|
+
if (menuButtonItem) menuButtonItem.expanded = false;
|
|
24827
25332
|
});
|
|
24828
25333
|
}
|
|
24829
25334
|
this._syncGlobalMenuSheetItems();
|
|
@@ -25108,11 +25613,13 @@ const topTitleBarStyles = css`
|
|
|
25108
25613
|
display: var(--context-back-button-display, flex);
|
|
25109
25614
|
flex-direction: row;
|
|
25110
25615
|
align-items: center;
|
|
25616
|
+
min-width: 0;
|
|
25111
25617
|
margin-top: var(--primitives-space-6);
|
|
25112
25618
|
}
|
|
25113
25619
|
|
|
25114
25620
|
.top-title-bar__text-back-button {
|
|
25115
25621
|
display: flex;
|
|
25622
|
+
min-width: 0;
|
|
25116
25623
|
}
|
|
25117
25624
|
|
|
25118
25625
|
:host(.is-compact) .top-title-bar__text-back-button {
|
|
@@ -25216,6 +25723,7 @@ function topTitleBarTemplate(component) {
|
|
|
25216
25723
|
start-icon="chevron-left"
|
|
25217
25724
|
text=${component.backText}
|
|
25218
25725
|
href=${component.backHref || nothing}
|
|
25726
|
+
single-line
|
|
25219
25727
|
@click=${component._handleBack}
|
|
25220
25728
|
></nldd-button>
|
|
25221
25729
|
</div>
|
|
@@ -25403,6 +25911,8 @@ const tabBarStyles = css`
|
|
|
25403
25911
|
/* # Host */
|
|
25404
25912
|
|
|
25405
25913
|
:host {
|
|
25914
|
+
--_tab-bar-item-indicator-inset: var(--primitives-space-4);
|
|
25915
|
+
|
|
25406
25916
|
display: inline-block;
|
|
25407
25917
|
position: relative;
|
|
25408
25918
|
isolation: isolate;
|
|
@@ -25413,7 +25923,7 @@ const tabBarStyles = css`
|
|
|
25413
25923
|
display: none;
|
|
25414
25924
|
}
|
|
25415
25925
|
|
|
25416
|
-
:host([
|
|
25926
|
+
:host([centered]) {
|
|
25417
25927
|
display: block;
|
|
25418
25928
|
width: 100%;
|
|
25419
25929
|
}
|
|
@@ -25428,7 +25938,7 @@ const tabBarStyles = css`
|
|
|
25428
25938
|
align-items: center;
|
|
25429
25939
|
}
|
|
25430
25940
|
|
|
25431
|
-
:host([
|
|
25941
|
+
:host([centered]) .tab-bar {
|
|
25432
25942
|
justify-content: center;
|
|
25433
25943
|
}
|
|
25434
25944
|
|
|
@@ -25490,22 +26000,20 @@ const tabBarItemStyles = css`
|
|
|
25490
26000
|
}
|
|
25491
26001
|
|
|
25492
26002
|
:host([variant='icon-and-text']) .tab-bar__item {
|
|
25493
|
-
flex-direction: row;
|
|
25494
26003
|
gap: var(--semantics-buttons-md-gap);
|
|
25495
26004
|
padding: var(--primitives-space-8) var(--primitives-space-12);
|
|
25496
26005
|
height: var(--semantics-controls-md-min-size);
|
|
25497
26006
|
}
|
|
25498
26007
|
|
|
25499
26008
|
:host([variant='text']) .tab-bar__item {
|
|
25500
|
-
flex-direction: row;
|
|
25501
26009
|
padding: var(--primitives-space-8) var(--primitives-space-12);
|
|
25502
26010
|
height: var(--semantics-controls-md-min-size);
|
|
25503
26011
|
}
|
|
25504
26012
|
|
|
25505
26013
|
:host([variant='icon']) .tab-bar__item {
|
|
25506
|
-
|
|
25507
|
-
padding: var(--primitives-space-8);
|
|
26014
|
+
padding: 0;
|
|
25508
26015
|
height: var(--semantics-controls-md-min-size);
|
|
26016
|
+
width: calc(var(--semantics-controls-md-min-size) - var(--_tab-bar-item-indicator-inset));
|
|
25509
26017
|
}
|
|
25510
26018
|
|
|
25511
26019
|
:host([variant='compact']) .tab-bar__item {
|
|
@@ -25522,7 +26030,7 @@ const tabBarItemStyles = css`
|
|
|
25522
26030
|
height: var(--semantics-controls-lg-min-size);
|
|
25523
26031
|
}
|
|
25524
26032
|
|
|
25525
|
-
@container layout-
|
|
26033
|
+
@container layout-container (max-width: ${smMax}) {
|
|
25526
26034
|
flex-direction: column;
|
|
25527
26035
|
gap: 0;
|
|
25528
26036
|
padding: var(--primitives-space-8);
|
|
@@ -25544,8 +26052,9 @@ const tabBarItemStyles = css`
|
|
|
25544
26052
|
.tab-bar__item::before {
|
|
25545
26053
|
content: '';
|
|
25546
26054
|
position: absolute;
|
|
25547
|
-
inset: var(--
|
|
25548
|
-
|
|
26055
|
+
inset-block: var(--_tab-bar-item-indicator-inset);
|
|
26056
|
+
inset-inline: calc(var(--_tab-bar-item-indicator-inset) / 2);
|
|
26057
|
+
border-radius: calc(var(--semantics-controls-md-corner-radius) - (var(--_tab-bar-item-indicator-inset) / 2));
|
|
25549
26058
|
background-color: transparent;
|
|
25550
26059
|
z-index: 0;
|
|
25551
26060
|
pointer-events: none;
|
|
@@ -25565,9 +26074,6 @@ const tabBarItemStyles = css`
|
|
|
25565
26074
|
}
|
|
25566
26075
|
}
|
|
25567
26076
|
|
|
25568
|
-
|
|
25569
|
-
/* # Focus */
|
|
25570
|
-
|
|
25571
26077
|
.tab-bar__item:focus-visible::before {
|
|
25572
26078
|
outline: var(--semantics-focus-ring-outline);
|
|
25573
26079
|
outline-offset: var(--semantics-focus-ring-outline-offset);
|
|
@@ -25584,8 +26090,30 @@ const tabBarItemStyles = css`
|
|
|
25584
26090
|
position: relative;
|
|
25585
26091
|
z-index: 1;
|
|
25586
26092
|
flex-shrink: 0;
|
|
25587
|
-
width: var(--
|
|
25588
|
-
height: var(--
|
|
26093
|
+
width: var(--semantics-buttons-md-icon-size);
|
|
26094
|
+
height: var(--semantics-buttons-md-icon-size);
|
|
26095
|
+
}
|
|
26096
|
+
|
|
26097
|
+
:host([variant='icon']) .tab-bar__item-icon {
|
|
26098
|
+
width: var(--semantics-buttons-md-icon-only-icon-size);
|
|
26099
|
+
height: var(--semantics-buttons-md-icon-only-icon-size);
|
|
26100
|
+
}
|
|
26101
|
+
|
|
26102
|
+
:host([variant='compact']) .tab-bar__item-icon {
|
|
26103
|
+
width: var(--semantics-buttons-md-icon-only-icon-size);
|
|
26104
|
+
height: var(--semantics-buttons-md-icon-only-icon-size);
|
|
26105
|
+
}
|
|
26106
|
+
|
|
26107
|
+
:host([responsive]) .tab-bar__item-icon {
|
|
26108
|
+
@media (max-width: ${smMax}) {
|
|
26109
|
+
width: var(--semantics-buttons-md-icon-only-icon-size);
|
|
26110
|
+
height: var(--semantics-buttons-md-icon-only-icon-size);
|
|
26111
|
+
}
|
|
26112
|
+
|
|
26113
|
+
@container layout-container (max-width: ${smMax}) {
|
|
26114
|
+
width: var(--semantics-buttons-md-icon-only-icon-size);
|
|
26115
|
+
height: var(--semantics-buttons-md-icon-only-icon-size);
|
|
26116
|
+
}
|
|
25589
26117
|
}
|
|
25590
26118
|
|
|
25591
26119
|
:host([variant='text']) .tab-bar__item-icon {
|
|
@@ -25619,7 +26147,7 @@ const tabBarItemStyles = css`
|
|
|
25619
26147
|
font: var(--primitives-font-body-xxs-bold-flat);
|
|
25620
26148
|
}
|
|
25621
26149
|
|
|
25622
|
-
@container layout-
|
|
26150
|
+
@container layout-container (max-width: ${smMax}) {
|
|
25623
26151
|
font: var(--primitives-font-body-xxs-bold-flat);
|
|
25624
26152
|
}
|
|
25625
26153
|
}
|
|
@@ -25799,7 +26327,7 @@ let NLDDTabBar = class extends LitElement {
|
|
|
25799
26327
|
super(...arguments);
|
|
25800
26328
|
this.compact = false;
|
|
25801
26329
|
this.responsive = false;
|
|
25802
|
-
this.
|
|
26330
|
+
this.centered = false;
|
|
25803
26331
|
this.variant = "";
|
|
25804
26332
|
this.navigation = false;
|
|
25805
26333
|
this.accessibleLabel = "";
|
|
@@ -25913,8 +26441,8 @@ __decorateClass$4([
|
|
|
25913
26441
|
property({ type: Boolean, reflect: true })
|
|
25914
26442
|
], NLDDTabBar.prototype, "responsive", 2);
|
|
25915
26443
|
__decorateClass$4([
|
|
25916
|
-
property({ type: Boolean, reflect: true
|
|
25917
|
-
], NLDDTabBar.prototype, "
|
|
26444
|
+
property({ type: Boolean, reflect: true })
|
|
26445
|
+
], NLDDTabBar.prototype, "centered", 2);
|
|
25918
26446
|
__decorateClass$4([
|
|
25919
26447
|
property({ type: String, reflect: true })
|
|
25920
26448
|
], NLDDTabBar.prototype, "variant", 2);
|
|
@@ -26425,7 +26953,7 @@ function documentTabBarItemTemplate(component) {
|
|
|
26425
26953
|
@click=${component._handleClick}
|
|
26426
26954
|
>${tabContent}</button>`;
|
|
26427
26955
|
return html`
|
|
26428
|
-
<nldd-tooltip text=${tooltipText}
|
|
26956
|
+
<nldd-tooltip text=${tooltipText} timing=${component._isShort ? "default" : "never"}>
|
|
26429
26957
|
<div class="document-tab-bar__item">
|
|
26430
26958
|
${tab}
|
|
26431
26959
|
<button class="document-tab-bar__item-dismiss-button"
|
|
@@ -27135,6 +27663,8 @@ const paginationStyles = css`
|
|
|
27135
27663
|
/* # Host */
|
|
27136
27664
|
|
|
27137
27665
|
:host {
|
|
27666
|
+
--_pagination-page-button-indicator-inset: var(--primitives-space-4);
|
|
27667
|
+
|
|
27138
27668
|
display: block;
|
|
27139
27669
|
container-type: inline-size;
|
|
27140
27670
|
isolation: isolate;
|
|
@@ -27145,7 +27675,7 @@ const paginationStyles = css`
|
|
|
27145
27675
|
display: none;
|
|
27146
27676
|
}
|
|
27147
27677
|
|
|
27148
|
-
:host([
|
|
27678
|
+
:host([centered]) {
|
|
27149
27679
|
display: flex;
|
|
27150
27680
|
justify-content: center;
|
|
27151
27681
|
}
|
|
@@ -27214,8 +27744,8 @@ const paginationStyles = css`
|
|
|
27214
27744
|
.pagination__page-button::before {
|
|
27215
27745
|
content: '';
|
|
27216
27746
|
position: absolute;
|
|
27217
|
-
inset: var(--
|
|
27218
|
-
border-radius: calc(var(--semantics-controls-md-corner-radius) - var(--
|
|
27747
|
+
inset: var(--_pagination-page-button-indicator-inset);
|
|
27748
|
+
border-radius: calc(var(--semantics-controls-md-corner-radius) - var(--_pagination-page-button-indicator-inset) / 2);
|
|
27219
27749
|
background-color: transparent;
|
|
27220
27750
|
pointer-events: none;
|
|
27221
27751
|
}
|
|
@@ -27479,7 +28009,7 @@ let NLDDPagination = class extends LitElement {
|
|
|
27479
28009
|
this.current = 1;
|
|
27480
28010
|
this.total = 1;
|
|
27481
28011
|
this.disabled = false;
|
|
27482
|
-
this.
|
|
28012
|
+
this.centered = false;
|
|
27483
28013
|
this.hrefPattern = "";
|
|
27484
28014
|
this.translations = {};
|
|
27485
28015
|
this._mergedTranslations = { ...nlddPaginationTranslations };
|
|
@@ -27554,8 +28084,8 @@ __decorateClass$2([
|
|
|
27554
28084
|
property({ type: Boolean, reflect: true })
|
|
27555
28085
|
], NLDDPagination.prototype, "disabled", 2);
|
|
27556
28086
|
__decorateClass$2([
|
|
27557
|
-
property({ type: Boolean, reflect: true
|
|
27558
|
-
], NLDDPagination.prototype, "
|
|
28087
|
+
property({ type: Boolean, reflect: true })
|
|
28088
|
+
], NLDDPagination.prototype, "centered", 2);
|
|
27559
28089
|
__decorateClass$2([
|
|
27560
28090
|
property({ type: String, attribute: "href-pattern" })
|
|
27561
28091
|
], NLDDPagination.prototype, "hrefPattern", 2);
|
|
@@ -27810,28 +28340,28 @@ const badgeStyles = css`
|
|
|
27810
28340
|
|
|
27811
28341
|
/* ## Variants */
|
|
27812
28342
|
|
|
27813
|
-
:host([
|
|
27814
|
-
:host(:not([
|
|
28343
|
+
:host([color="critical"]),
|
|
28344
|
+
:host(:not([color])) {
|
|
27815
28345
|
--_background-color: var(--components-badge-critical-background-color);
|
|
27816
28346
|
--_content-color: var(--components-badge-critical-content-color);
|
|
27817
28347
|
}
|
|
27818
28348
|
|
|
27819
|
-
:host([
|
|
28349
|
+
:host([color="accent"]) {
|
|
27820
28350
|
--_background-color: var(--components-badge-accent-background-color);
|
|
27821
28351
|
--_content-color: var(--components-badge-accent-content-color);
|
|
27822
28352
|
}
|
|
27823
28353
|
|
|
27824
|
-
:host([
|
|
28354
|
+
:host([color="neutral"]) {
|
|
27825
28355
|
--_background-color: var(--components-badge-neutral-background-color);
|
|
27826
28356
|
--_content-color: var(--components-badge-neutral-content-color);
|
|
27827
28357
|
}
|
|
27828
28358
|
|
|
27829
|
-
:host([
|
|
28359
|
+
:host([color="warning"]) {
|
|
27830
28360
|
--_background-color: var(--components-badge-warning-background-color);
|
|
27831
28361
|
--_content-color: var(--components-badge-warning-content-color);
|
|
27832
28362
|
}
|
|
27833
28363
|
|
|
27834
|
-
:host([
|
|
28364
|
+
:host([color="success"]) {
|
|
27835
28365
|
--_background-color: var(--components-badge-success-background-color);
|
|
27836
28366
|
--_content-color: var(--components-badge-success-content-color);
|
|
27837
28367
|
}
|
|
@@ -27944,7 +28474,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
27944
28474
|
let NLDDBadge = class extends withTranslations(LitElement, nlddBadgeTranslations) {
|
|
27945
28475
|
constructor() {
|
|
27946
28476
|
super(...arguments);
|
|
27947
|
-
this.
|
|
28477
|
+
this.color = "critical";
|
|
27948
28478
|
this.size = "md";
|
|
27949
28479
|
this.text = "";
|
|
27950
28480
|
this.number = void 0;
|
|
@@ -27980,7 +28510,7 @@ let NLDDBadge = class extends withTranslations(LitElement, nlddBadgeTranslations
|
|
|
27980
28510
|
NLDDBadge.styles = badgeStyles;
|
|
27981
28511
|
__decorateClass([
|
|
27982
28512
|
property({ type: String, reflect: true })
|
|
27983
|
-
], NLDDBadge.prototype, "
|
|
28513
|
+
], NLDDBadge.prototype, "color", 2);
|
|
27984
28514
|
__decorateClass([
|
|
27985
28515
|
property({ type: String, reflect: true })
|
|
27986
28516
|
], NLDDBadge.prototype, "size", 2);
|