@nldd/design-system 0.8.37 → 0.8.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +1 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/components.js +1145 -826
- package/dist/components/content/title/title.styles.d.ts.map +1 -1
- package/dist/components/content/title/title.styles.js +4 -0
- package/dist/components/content/title/title.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +15 -5
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +87 -19
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +14 -20
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +2 -2
- package/dist/components/content/tooltip/tooltip.template.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +19 -24
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +20 -40
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +18 -7
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +18 -7
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.styles.js +6 -2
- package/dist/components/forms/form-actions/form-actions.styles.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +15 -3
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +15 -3
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +22 -8
- package/dist/components/forms/form-field/form-field.styles.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 +3 -1
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/layout/app-view/app-view.d.ts +10 -1
- package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
- package/dist/components/layout/app-view/app-view.js +52 -0
- package/dist/components/layout/app-view/app-view.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +1 -0
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +14 -0
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/card/card.styles.d.ts.map +1 -1
- package/dist/components/layout/card/card.styles.js +0 -2
- package/dist/components/layout/card/card.styles.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +4 -0
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +39 -0
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +10 -8
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page/page.template.d.ts.map +1 -1
- package/dist/components/layout/page/page.template.js +12 -10
- package/dist/components/layout/page/page.template.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +3 -2
- 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 +8 -3
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +28 -15
- 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 +4 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +11 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +42 -13
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +11 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +42 -13
- 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 +3 -2
- 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 +8 -3
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +34 -15
- 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 +4 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +11 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +42 -14
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +42 -3
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +154 -6
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +41 -29
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +2 -0
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +8 -15
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +11 -75
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +3 -51
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js +7 -10
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.template.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +80 -67
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +0 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +1 -0
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +5 -0
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +0 -2
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +6 -0
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +29 -5
- package/dist/components/layout/window/window.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 +4 -0
- 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.styles.d.ts.map +1 -1
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +1 -0
- package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.d.ts +1 -0
- package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
- package/dist/components/lists-and-menus/menu/menu.js +10 -1
- package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +10 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +29 -0
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +16 -16
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +16 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +4 -0
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js.map +1 -1
- package/dist/css/form.css +10 -28
- package/dist/css/rich-text.css +66 -18
- package/dist/css/settings.css +1 -1
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@ var _a;
|
|
|
2
2
|
import { css, nothing, html, LitElement, unsafeCSS, svg } from "lit";
|
|
3
3
|
import { property, state, customElement, query } from "lit/decorators.js";
|
|
4
4
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
5
|
-
import { computePosition, offset, flip, shift,
|
|
6
|
-
import { classMap } from "lit/directives/class-map.js";
|
|
5
|
+
import { computePosition, offset, flip, shift, autoUpdate, size } from "@floating-ui/dom";
|
|
7
6
|
import { repeat } from "lit/directives/repeat.js";
|
|
8
7
|
import { styleMap } from "lit/directives/style-map.js";
|
|
8
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
9
9
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
10
10
|
import { unsafeStatic, html as html$1 } from "lit/static-html.js";
|
|
11
11
|
const buttonStyles = css`
|
|
@@ -49,6 +49,7 @@ const buttonStyles = css`
|
|
|
49
49
|
align-items: center;
|
|
50
50
|
justify-content: center;
|
|
51
51
|
width: 100%;
|
|
52
|
+
text-wrap: pretty;
|
|
52
53
|
transition:
|
|
53
54
|
background-color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default),
|
|
54
55
|
color var(--primitives-transition-duration-fast) var(--primitives-transition-easing-default)
|
|
@@ -701,14 +702,14 @@ const iconRegistry = /* @__PURE__ */ new Map([
|
|
|
701
702
|
["trash", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" fill-rule="evenodd" d="M8 4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2h5v2h-1.08L19 19.046A3 3 0 0 1 16 22H8a3 3 0 0 1-3-2.954L4.08 8H3V6h5zM6.087 8l.91 10.917L7 19a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1l.003-.083L17.914 8zM14 6h-4V4h4zm-3 4v8H9v-8zm4 0v8h-2v-8z"/>\n</svg>'],
|
|
702
703
|
["underlined", '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill="currentColor" d="M20 22H4v-2h16zM8.7 12.07q0 1.92.81 2.8.84.87 2.55.87 1.61 0 2.47-.91.89-.94.89-2.67V2h2.37v10.16q0 1.78-.72 3.1a4.7 4.7 0 0 1-2.04 2.02q-1.32.81-3.14.72-2.83.09-4.27-1.44c-.95-.9-1.42-2.36-1.42-4.2V2h2.5z"/>\n</svg>']
|
|
703
704
|
]);
|
|
704
|
-
var __defProp$
|
|
705
|
+
var __defProp$1d = Object.defineProperty;
|
|
705
706
|
var __getOwnPropDesc$1c = Object.getOwnPropertyDescriptor;
|
|
706
707
|
var __decorateClass$1f = (decorators, target, key, kind) => {
|
|
707
708
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1c(target, key) : target;
|
|
708
709
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
709
710
|
if (decorator = decorators[i])
|
|
710
711
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
711
|
-
if (kind && result) __defProp$
|
|
712
|
+
if (kind && result) __defProp$1d(target, key, result);
|
|
712
713
|
return result;
|
|
713
714
|
};
|
|
714
715
|
[
|
|
@@ -755,14 +756,14 @@ __decorateClass$1f([
|
|
|
755
756
|
NLDDIcon = __decorateClass$1f([
|
|
756
757
|
customElement("nldd-icon")
|
|
757
758
|
], NLDDIcon);
|
|
758
|
-
var __defProp$
|
|
759
|
+
var __defProp$1c = Object.defineProperty;
|
|
759
760
|
var __getOwnPropDesc$1b = Object.getOwnPropertyDescriptor;
|
|
760
761
|
var __decorateClass$1e = (decorators, target, key, kind) => {
|
|
761
762
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1b(target, key) : target;
|
|
762
763
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
763
764
|
if (decorator = decorators[i])
|
|
764
765
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
765
|
-
if (kind && result) __defProp$
|
|
766
|
+
if (kind && result) __defProp$1c(target, key, result);
|
|
766
767
|
return result;
|
|
767
768
|
};
|
|
768
769
|
let NLDDButton = class extends LitElement {
|
|
@@ -1213,35 +1214,29 @@ const tooltipStyles = css`
|
|
|
1213
1214
|
|
|
1214
1215
|
.tooltip {
|
|
1215
1216
|
position: fixed;
|
|
1216
|
-
|
|
1217
|
+
margin: 0;
|
|
1218
|
+
padding: 0;
|
|
1219
|
+
border: none;
|
|
1220
|
+
background: none;
|
|
1217
1221
|
opacity: 0;
|
|
1218
|
-
pointer-events: none;
|
|
1219
|
-
visibility: hidden;
|
|
1220
1222
|
transition:
|
|
1221
1223
|
opacity var(--_hide-duration) ease,
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
+
display var(--_hide-duration) allow-discrete,
|
|
1225
|
+
overlay var(--_hide-duration) allow-discrete;
|
|
1224
1226
|
}
|
|
1225
1227
|
|
|
1226
|
-
.tooltip
|
|
1228
|
+
.tooltip:popover-open {
|
|
1227
1229
|
opacity: 1;
|
|
1228
|
-
visibility: visible;
|
|
1229
|
-
pointer-events: auto;
|
|
1230
1230
|
transition:
|
|
1231
|
-
opacity var(--_show-duration) ease
|
|
1232
|
-
|
|
1233
|
-
|
|
1231
|
+
opacity var(--_show-duration) ease,
|
|
1232
|
+
display var(--_show-duration) allow-discrete,
|
|
1233
|
+
overlay var(--_show-duration) allow-discrete;
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
pointer-events: auto;
|
|
1241
|
-
transition:
|
|
1242
|
-
opacity var(--_show-duration) ease,
|
|
1243
|
-
visibility 0ms linear,
|
|
1244
|
-
pointer-events 0ms linear;
|
|
1236
|
+
@starting-style {
|
|
1237
|
+
.tooltip:popover-open {
|
|
1238
|
+
opacity: 0;
|
|
1239
|
+
}
|
|
1245
1240
|
}
|
|
1246
1241
|
|
|
1247
1242
|
|
|
@@ -1285,7 +1280,8 @@ function tooltipTemplate(component) {
|
|
|
1285
1280
|
@focusin=${component._handleFocusIn}
|
|
1286
1281
|
@focusout=${component._handleFocusOut}
|
|
1287
1282
|
></slot>
|
|
1288
|
-
<div class
|
|
1283
|
+
<div class="tooltip"
|
|
1284
|
+
popover="manual"
|
|
1289
1285
|
aria-hidden="true"
|
|
1290
1286
|
@mouseenter=${component._handleTooltipEnter}
|
|
1291
1287
|
@mouseleave=${component._handleTooltipLeave}
|
|
@@ -1325,35 +1321,35 @@ function isPointerMode() {
|
|
|
1325
1321
|
function isTouchMode() {
|
|
1326
1322
|
return getInputModality() === "touch";
|
|
1327
1323
|
}
|
|
1328
|
-
var __defProp$
|
|
1324
|
+
var __defProp$1b = Object.defineProperty;
|
|
1329
1325
|
var __getOwnPropDesc$1a = Object.getOwnPropertyDescriptor;
|
|
1330
1326
|
var __decorateClass$1d = (decorators, target, key, kind) => {
|
|
1331
1327
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$1a(target, key) : target;
|
|
1332
1328
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
1333
1329
|
if (decorator = decorators[i])
|
|
1334
1330
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
1335
|
-
if (kind && result) __defProp$
|
|
1331
|
+
if (kind && result) __defProp$1b(target, key, result);
|
|
1336
1332
|
return result;
|
|
1337
1333
|
};
|
|
1338
1334
|
let tooltipCounter = 0;
|
|
1339
1335
|
const coarsePointerQuery = matchMedia("(pointer: coarse)");
|
|
1336
|
+
const DEFAULT_SHOW_DELAY_MS = 700;
|
|
1337
|
+
const DEFAULT_HIDE_DELAY_MS = 50;
|
|
1340
1338
|
let NLDDTooltip = class extends LitElement {
|
|
1341
1339
|
constructor() {
|
|
1342
1340
|
super(...arguments);
|
|
1343
1341
|
this.text = "";
|
|
1344
1342
|
this.placement = "bottom";
|
|
1343
|
+
this.disabled = false;
|
|
1345
1344
|
this._visible = false;
|
|
1346
|
-
this._focusVisible = false;
|
|
1347
1345
|
this._tooltipId = `nldd-tooltip-${++tooltipCounter}`;
|
|
1348
1346
|
this._hideTimeout = null;
|
|
1347
|
+
this._showTimeout = null;
|
|
1349
1348
|
this._descriptionEl = null;
|
|
1350
1349
|
this._currentTrigger = null;
|
|
1351
1350
|
this._boundSlotChange = () => this._syncAriaDescribedBy();
|
|
1352
1351
|
this._handleKeyDown = (e) => {
|
|
1353
|
-
if (e.key === "Escape" && this._visible)
|
|
1354
|
-
this._visible = false;
|
|
1355
|
-
this._focusVisible = false;
|
|
1356
|
-
}
|
|
1352
|
+
if (e.key === "Escape" && this._visible) this._visible = false;
|
|
1357
1353
|
};
|
|
1358
1354
|
}
|
|
1359
1355
|
get _effectivePlacement() {
|
|
@@ -1370,12 +1366,27 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1370
1366
|
this.shadowRoot?.querySelector("slot")?.addEventListener("slotchange", this._boundSlotChange);
|
|
1371
1367
|
}
|
|
1372
1368
|
updated(changed) {
|
|
1373
|
-
if (changed.has("_visible")
|
|
1374
|
-
this.
|
|
1369
|
+
if (changed.has("_visible")) {
|
|
1370
|
+
const tooltip = this._getTooltipElement();
|
|
1371
|
+
if (tooltip) {
|
|
1372
|
+
if (this._visible) {
|
|
1373
|
+
if (!tooltip.matches(":popover-open")) tooltip.showPopover();
|
|
1374
|
+
this._updatePosition();
|
|
1375
|
+
} else if (tooltip.matches(":popover-open")) {
|
|
1376
|
+
tooltip.hidePopover();
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1375
1379
|
}
|
|
1376
|
-
if (changed.has("text")) {
|
|
1380
|
+
if (changed.has("text") || changed.has("disabled")) {
|
|
1377
1381
|
this._syncAriaDescribedBy();
|
|
1378
1382
|
}
|
|
1383
|
+
if (changed.has("disabled") && this.disabled) {
|
|
1384
|
+
if (this._showTimeout) {
|
|
1385
|
+
clearTimeout(this._showTimeout);
|
|
1386
|
+
this._showTimeout = null;
|
|
1387
|
+
}
|
|
1388
|
+
if (this._visible) this._visible = false;
|
|
1389
|
+
}
|
|
1379
1390
|
}
|
|
1380
1391
|
_syncAriaDescribedBy() {
|
|
1381
1392
|
const trigger = this._getTriggerElement();
|
|
@@ -1387,7 +1398,7 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1387
1398
|
if (trigger.getRootNode() !== document) {
|
|
1388
1399
|
return;
|
|
1389
1400
|
}
|
|
1390
|
-
if (this.text) {
|
|
1401
|
+
if (this.text && !this.disabled) {
|
|
1391
1402
|
if (!this._descriptionEl) {
|
|
1392
1403
|
this._descriptionEl = document.createElement("span");
|
|
1393
1404
|
this._descriptionEl.id = this._tooltipId;
|
|
@@ -1418,30 +1429,45 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1418
1429
|
return this.shadowRoot?.querySelector(".tooltip") ?? null;
|
|
1419
1430
|
}
|
|
1420
1431
|
_handleTriggerEnter() {
|
|
1432
|
+
if (this.disabled) return;
|
|
1421
1433
|
if (!this.text) return;
|
|
1422
1434
|
if (coarsePointerQuery.matches) return;
|
|
1423
1435
|
if (this._hideTimeout) {
|
|
1424
1436
|
clearTimeout(this._hideTimeout);
|
|
1425
1437
|
this._hideTimeout = null;
|
|
1426
1438
|
}
|
|
1427
|
-
this.
|
|
1428
|
-
this.
|
|
1439
|
+
if (this._showTimeout) clearTimeout(this._showTimeout);
|
|
1440
|
+
const parsedShow = parseInt(getComputedStyle(this).getPropertyValue("--_show-delay"), 10);
|
|
1441
|
+
const showDelay = Number.isFinite(parsedShow) ? parsedShow : DEFAULT_SHOW_DELAY_MS;
|
|
1442
|
+
this._showTimeout = setTimeout(() => {
|
|
1443
|
+
this._showTimeout = null;
|
|
1444
|
+
this._visible = true;
|
|
1445
|
+
}, showDelay);
|
|
1429
1446
|
}
|
|
1430
1447
|
_handleFocusIn() {
|
|
1448
|
+
if (this.disabled) return;
|
|
1431
1449
|
if (!this.text) return;
|
|
1432
1450
|
if (isTouchMode()) return;
|
|
1433
1451
|
if (this._hideTimeout) {
|
|
1434
1452
|
clearTimeout(this._hideTimeout);
|
|
1435
1453
|
this._hideTimeout = null;
|
|
1436
1454
|
}
|
|
1437
|
-
this.
|
|
1455
|
+
if (this._showTimeout) {
|
|
1456
|
+
clearTimeout(this._showTimeout);
|
|
1457
|
+
this._showTimeout = null;
|
|
1458
|
+
}
|
|
1438
1459
|
this._visible = true;
|
|
1439
1460
|
}
|
|
1440
1461
|
_handleTriggerLeave() {
|
|
1462
|
+
if (this._showTimeout) {
|
|
1463
|
+
clearTimeout(this._showTimeout);
|
|
1464
|
+
this._showTimeout = null;
|
|
1465
|
+
}
|
|
1441
1466
|
if (this._hideTimeout) {
|
|
1442
1467
|
clearTimeout(this._hideTimeout);
|
|
1443
1468
|
}
|
|
1444
|
-
const
|
|
1469
|
+
const parsedHide = parseInt(getComputedStyle(this).getPropertyValue("--_hide-delay"), 10);
|
|
1470
|
+
const hideDelay = Number.isFinite(parsedHide) ? parsedHide : DEFAULT_HIDE_DELAY_MS;
|
|
1445
1471
|
this._hideTimeout = setTimeout(() => {
|
|
1446
1472
|
this._visible = false;
|
|
1447
1473
|
this._hideTimeout = null;
|
|
@@ -1491,6 +1517,10 @@ let NLDDTooltip = class extends LitElement {
|
|
|
1491
1517
|
clearTimeout(this._hideTimeout);
|
|
1492
1518
|
this._hideTimeout = null;
|
|
1493
1519
|
}
|
|
1520
|
+
if (this._showTimeout) {
|
|
1521
|
+
clearTimeout(this._showTimeout);
|
|
1522
|
+
this._showTimeout = null;
|
|
1523
|
+
}
|
|
1494
1524
|
this._currentTrigger?.removeAttribute("aria-describedby");
|
|
1495
1525
|
this._currentTrigger = null;
|
|
1496
1526
|
this._descriptionEl?.remove();
|
|
@@ -1508,11 +1538,11 @@ __decorateClass$1d([
|
|
|
1508
1538
|
property({ type: String, reflect: true })
|
|
1509
1539
|
], NLDDTooltip.prototype, "placement", 2);
|
|
1510
1540
|
__decorateClass$1d([
|
|
1511
|
-
|
|
1512
|
-
], NLDDTooltip.prototype, "
|
|
1541
|
+
property({ type: Boolean, reflect: true })
|
|
1542
|
+
], NLDDTooltip.prototype, "disabled", 2);
|
|
1513
1543
|
__decorateClass$1d([
|
|
1514
1544
|
state()
|
|
1515
|
-
], NLDDTooltip.prototype, "
|
|
1545
|
+
], NLDDTooltip.prototype, "_visible", 2);
|
|
1516
1546
|
NLDDTooltip = __decorateClass$1d([
|
|
1517
1547
|
customElement("nldd-tooltip")
|
|
1518
1548
|
], NLDDTooltip);
|
|
@@ -1575,14 +1605,14 @@ function template$l() {
|
|
|
1575
1605
|
}
|
|
1576
1606
|
return renderButton();
|
|
1577
1607
|
}
|
|
1578
|
-
var __defProp$
|
|
1608
|
+
var __defProp$1a = Object.defineProperty;
|
|
1579
1609
|
var __getOwnPropDesc$19 = Object.getOwnPropertyDescriptor;
|
|
1580
1610
|
var __decorateClass$1c = (decorators, target, key, kind) => {
|
|
1581
1611
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$19(target, key) : target;
|
|
1582
1612
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
1583
1613
|
if (decorator = decorators[i])
|
|
1584
1614
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
1585
|
-
if (kind && result) __defProp$
|
|
1615
|
+
if (kind && result) __defProp$1a(target, key, result);
|
|
1586
1616
|
return result;
|
|
1587
1617
|
};
|
|
1588
1618
|
let NLDDIconButton = class extends LitElement {
|
|
@@ -2153,13 +2183,13 @@ function template$j() {
|
|
|
2153
2183
|
${this.icon ? html`<nldd-icon name=${this.icon}></nldd-icon>` : html`<slot></slot>`}
|
|
2154
2184
|
`;
|
|
2155
2185
|
}
|
|
2156
|
-
var __defProp$
|
|
2186
|
+
var __defProp$19 = Object.defineProperty;
|
|
2157
2187
|
var __decorateClass$1b = (decorators, target, key, kind) => {
|
|
2158
2188
|
var result = void 0;
|
|
2159
2189
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
2160
2190
|
if (decorator = decorators[i])
|
|
2161
2191
|
result = decorator(target, key, result) || result;
|
|
2162
|
-
if (result) __defProp$
|
|
2192
|
+
if (result) __defProp$19(target, key, result);
|
|
2163
2193
|
return result;
|
|
2164
2194
|
};
|
|
2165
2195
|
function VisibilityMixin(Base) {
|
|
@@ -2203,14 +2233,14 @@ function VisibilityMixin(Base) {
|
|
|
2203
2233
|
], WithVisibility.prototype, "hideAbove");
|
|
2204
2234
|
return WithVisibility;
|
|
2205
2235
|
}
|
|
2206
|
-
var __defProp$
|
|
2236
|
+
var __defProp$18 = Object.defineProperty;
|
|
2207
2237
|
var __getOwnPropDesc$18 = Object.getOwnPropertyDescriptor;
|
|
2208
2238
|
var __decorateClass$1a = (decorators, target, key, kind) => {
|
|
2209
2239
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$18(target, key) : target;
|
|
2210
2240
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
2211
2241
|
if (decorator = decorators[i])
|
|
2212
2242
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
2213
|
-
if (kind && result) __defProp$
|
|
2243
|
+
if (kind && result) __defProp$18(target, key, result);
|
|
2214
2244
|
return result;
|
|
2215
2245
|
};
|
|
2216
2246
|
let NLDDIconCell = class extends VisibilityMixin(LitElement) {
|
|
@@ -2286,14 +2316,14 @@ const spacerCellStyles = css`
|
|
|
2286
2316
|
width: auto;
|
|
2287
2317
|
}
|
|
2288
2318
|
`;
|
|
2289
|
-
var __defProp$
|
|
2319
|
+
var __defProp$17 = Object.defineProperty;
|
|
2290
2320
|
var __getOwnPropDesc$17 = Object.getOwnPropertyDescriptor;
|
|
2291
2321
|
var __decorateClass$19 = (decorators, target, key, kind) => {
|
|
2292
2322
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$17(target, key) : target;
|
|
2293
2323
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
2294
2324
|
if (decorator = decorators[i])
|
|
2295
2325
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
2296
|
-
if (kind && result) __defProp$
|
|
2326
|
+
if (kind && result) __defProp$17(target, key, result);
|
|
2297
2327
|
return result;
|
|
2298
2328
|
};
|
|
2299
2329
|
let NLDDSpacerCell = class extends VisibilityMixin(LitElement) {
|
|
@@ -2396,6 +2426,7 @@ const textCellStyles = css`
|
|
|
2396
2426
|
margin: 0;
|
|
2397
2427
|
align-self: stretch;
|
|
2398
2428
|
min-width: 0;
|
|
2429
|
+
overflow-wrap: anywhere;
|
|
2399
2430
|
color: var(--context-cell-content-color, var(--semantics-content-secondary-color));
|
|
2400
2431
|
}
|
|
2401
2432
|
|
|
@@ -2419,6 +2450,8 @@ const textCellStyles = css`
|
|
|
2419
2450
|
margin: 0;
|
|
2420
2451
|
align-self: stretch;
|
|
2421
2452
|
min-width: 0;
|
|
2453
|
+
overflow-wrap: anywhere;
|
|
2454
|
+
text-wrap: pretty;
|
|
2422
2455
|
}
|
|
2423
2456
|
|
|
2424
2457
|
:host([size='md']) .text-cell__text,
|
|
@@ -2465,6 +2498,7 @@ const textCellStyles = css`
|
|
|
2465
2498
|
margin: 0;
|
|
2466
2499
|
align-self: stretch;
|
|
2467
2500
|
min-width: 0;
|
|
2501
|
+
overflow-wrap: anywhere;
|
|
2468
2502
|
color: var(--context-cell-content-color, var(--semantics-content-secondary-color));
|
|
2469
2503
|
}
|
|
2470
2504
|
|
|
@@ -2525,14 +2559,14 @@ function template$i() {
|
|
|
2525
2559
|
${this.supportingText ? html`<p class="text-cell__supporting-text">${renderQueryMark(this.supportingText, this.query, this.queryMarkMode)}</p>` : nothing}
|
|
2526
2560
|
`;
|
|
2527
2561
|
}
|
|
2528
|
-
var __defProp$
|
|
2562
|
+
var __defProp$16 = Object.defineProperty;
|
|
2529
2563
|
var __getOwnPropDesc$16 = Object.getOwnPropertyDescriptor;
|
|
2530
2564
|
var __decorateClass$18 = (decorators, target, key, kind) => {
|
|
2531
2565
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$16(target, key) : target;
|
|
2532
2566
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
2533
2567
|
if (decorator = decorators[i])
|
|
2534
2568
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
2535
|
-
if (kind && result) __defProp$
|
|
2569
|
+
if (kind && result) __defProp$16(target, key, result);
|
|
2536
2570
|
return result;
|
|
2537
2571
|
};
|
|
2538
2572
|
let NLDDTextCell = class extends VisibilityMixin(LitElement) {
|
|
@@ -2639,6 +2673,8 @@ const inlineDialogStyles = css`
|
|
|
2639
2673
|
:host {
|
|
2640
2674
|
display: flex;
|
|
2641
2675
|
justify-content: center;
|
|
2676
|
+
align-items: center;
|
|
2677
|
+
flex-grow: 1;
|
|
2642
2678
|
|
|
2643
2679
|
--_icon-color: var(--semantics-content-color);
|
|
2644
2680
|
}
|
|
@@ -2684,6 +2720,7 @@ const inlineDialogStyles = css`
|
|
|
2684
2720
|
font: var(--primitives-font-body-md-bold-tight);
|
|
2685
2721
|
color: var(--semantics-content-color);
|
|
2686
2722
|
text-align: center;
|
|
2723
|
+
text-wrap: pretty;
|
|
2687
2724
|
}
|
|
2688
2725
|
|
|
2689
2726
|
.inline-dialog__text:focus-visible {
|
|
@@ -2699,6 +2736,7 @@ const inlineDialogStyles = css`
|
|
|
2699
2736
|
font: var(--primitives-font-body-sm-regular-tight);
|
|
2700
2737
|
color: var(--semantics-content-color);
|
|
2701
2738
|
text-align: center;
|
|
2739
|
+
text-wrap: pretty;
|
|
2702
2740
|
}
|
|
2703
2741
|
|
|
2704
2742
|
|
|
@@ -2817,14 +2855,14 @@ function template$h() {
|
|
|
2817
2855
|
</div>
|
|
2818
2856
|
`;
|
|
2819
2857
|
}
|
|
2820
|
-
var __defProp$
|
|
2858
|
+
var __defProp$15 = Object.defineProperty;
|
|
2821
2859
|
var __getOwnPropDesc$15 = Object.getOwnPropertyDescriptor;
|
|
2822
2860
|
var __decorateClass$17 = (decorators, target, key, kind) => {
|
|
2823
2861
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$15(target, key) : target;
|
|
2824
2862
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
2825
2863
|
if (decorator = decorators[i])
|
|
2826
2864
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
2827
|
-
if (kind && result) __defProp$
|
|
2865
|
+
if (kind && result) __defProp$15(target, key, result);
|
|
2828
2866
|
return result;
|
|
2829
2867
|
};
|
|
2830
2868
|
let NLDDButtonGroup = class extends LitElement {
|
|
@@ -2869,14 +2907,14 @@ __decorateClass$17([
|
|
|
2869
2907
|
NLDDButtonGroup = __decorateClass$17([
|
|
2870
2908
|
customElement("nldd-button-group")
|
|
2871
2909
|
], NLDDButtonGroup);
|
|
2872
|
-
var __defProp$
|
|
2910
|
+
var __defProp$14 = Object.defineProperty;
|
|
2873
2911
|
var __getOwnPropDesc$14 = Object.getOwnPropertyDescriptor;
|
|
2874
2912
|
var __decorateClass$16 = (decorators, target, key, kind) => {
|
|
2875
2913
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$14(target, key) : target;
|
|
2876
2914
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
2877
2915
|
if (decorator = decorators[i])
|
|
2878
2916
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
2879
|
-
if (kind && result) __defProp$
|
|
2917
|
+
if (kind && result) __defProp$14(target, key, result);
|
|
2880
2918
|
return result;
|
|
2881
2919
|
};
|
|
2882
2920
|
let NLDDInlineDialog = class extends LitElement {
|
|
@@ -2945,13 +2983,13 @@ NLDDInlineDialog = __decorateClass$16([
|
|
|
2945
2983
|
customElement("nldd-inline-dialog")
|
|
2946
2984
|
], NLDDInlineDialog);
|
|
2947
2985
|
const POPOVER_REOPEN_GUARD_MS = 100;
|
|
2948
|
-
var __defProp$
|
|
2986
|
+
var __defProp$13 = Object.defineProperty;
|
|
2949
2987
|
var __decorateClass$15 = (decorators, target, key, kind) => {
|
|
2950
2988
|
var result = void 0;
|
|
2951
2989
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
2952
2990
|
if (decorator = decorators[i])
|
|
2953
2991
|
result = decorator(target, key, result) || result;
|
|
2954
|
-
if (result) __defProp$
|
|
2992
|
+
if (result) __defProp$13(target, key, result);
|
|
2955
2993
|
return result;
|
|
2956
2994
|
};
|
|
2957
2995
|
const _NLDDMenuDivider = class _NLDDMenuDivider extends LitElement {
|
|
@@ -3073,6 +3111,7 @@ const _NLDDMenu = class _NLDDMenu extends LitElement {
|
|
|
3073
3111
|
this._isEmpty = false;
|
|
3074
3112
|
this._isOpen = false;
|
|
3075
3113
|
this._closedAt = 0;
|
|
3114
|
+
this._cleanupAutoUpdate = null;
|
|
3076
3115
|
this._handleDocumentClick = (event) => {
|
|
3077
3116
|
if (this.anchorElement) return;
|
|
3078
3117
|
const anchorEl = this._getAnchorEl();
|
|
@@ -3139,6 +3178,8 @@ const _NLDDMenu = class _NLDDMenu extends LitElement {
|
|
|
3139
3178
|
this._isOpen = toggleEvent.newState === "open";
|
|
3140
3179
|
if (toggleEvent.newState !== "open") {
|
|
3141
3180
|
this._closedAt = Date.now();
|
|
3181
|
+
this._cleanupAutoUpdate?.();
|
|
3182
|
+
this._cleanupAutoUpdate = null;
|
|
3142
3183
|
return;
|
|
3143
3184
|
}
|
|
3144
3185
|
this._updateDividerVisibility();
|
|
@@ -3148,6 +3189,10 @@ const _NLDDMenu = class _NLDDMenu extends LitElement {
|
|
|
3148
3189
|
item.menuVariant = this.variant;
|
|
3149
3190
|
});
|
|
3150
3191
|
await this.reposition();
|
|
3192
|
+
const anchorEl = this._getAnchorEl();
|
|
3193
|
+
if (anchorEl) {
|
|
3194
|
+
this._cleanupAutoUpdate = autoUpdate(anchorEl, this, () => this.reposition());
|
|
3195
|
+
}
|
|
3151
3196
|
await this.updateComplete;
|
|
3152
3197
|
if (this.variant !== "listbox") {
|
|
3153
3198
|
const keyboard = isKeyboardMode();
|
|
@@ -3223,6 +3268,8 @@ const _NLDDMenu = class _NLDDMenu extends LitElement {
|
|
|
3223
3268
|
this.removeEventListener("mouseleave", this._handleMouseleave);
|
|
3224
3269
|
this.removeEventListener("menu-item-focused", this._handleMenuItemFocused);
|
|
3225
3270
|
document.removeEventListener("click", this._handleDocumentClick);
|
|
3271
|
+
this._cleanupAutoUpdate?.();
|
|
3272
|
+
this._cleanupAutoUpdate = null;
|
|
3226
3273
|
}
|
|
3227
3274
|
// — Internal helpers ——————————————————————————————————————————————————————
|
|
3228
3275
|
_getVisibleItems() {
|
|
@@ -3402,14 +3449,14 @@ __decorateClass$15([
|
|
|
3402
3449
|
if (!customElements.get("nldd-menu")) {
|
|
3403
3450
|
customElements.define("nldd-menu", NLDDMenu);
|
|
3404
3451
|
}
|
|
3405
|
-
var __defProp
|
|
3452
|
+
var __defProp$12 = Object.defineProperty;
|
|
3406
3453
|
var __getOwnPropDesc$13 = Object.getOwnPropertyDescriptor;
|
|
3407
3454
|
var __decorateClass$14 = (decorators, target, key, kind) => {
|
|
3408
3455
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$13(target, key) : target;
|
|
3409
3456
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
3410
3457
|
if (decorator = decorators[i])
|
|
3411
3458
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3412
|
-
if (kind && result) __defProp
|
|
3459
|
+
if (kind && result) __defProp$12(target, key, result);
|
|
3413
3460
|
return result;
|
|
3414
3461
|
};
|
|
3415
3462
|
let NLDDSplitButton = class extends LitElement {
|
|
@@ -3648,14 +3695,14 @@ function renderChild(child) {
|
|
|
3648
3695
|
}
|
|
3649
3696
|
return html`<slot name="child-${child.id}"></slot>`;
|
|
3650
3697
|
}
|
|
3651
|
-
var __defProp$
|
|
3698
|
+
var __defProp$11 = Object.defineProperty;
|
|
3652
3699
|
var __getOwnPropDesc$12 = Object.getOwnPropertyDescriptor;
|
|
3653
3700
|
var __decorateClass$13 = (decorators, target, key, kind) => {
|
|
3654
3701
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$12(target, key) : target;
|
|
3655
3702
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
3656
3703
|
if (decorator = decorators[i])
|
|
3657
3704
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
3658
|
-
if (kind && result) __defProp$
|
|
3705
|
+
if (kind && result) __defProp$11(target, key, result);
|
|
3659
3706
|
return result;
|
|
3660
3707
|
};
|
|
3661
3708
|
if (!customElements.get("nldd-button-bar-divider")) {
|
|
@@ -4166,14 +4213,14 @@ function template$f(startChildren, centerChildren, endChildren, overflowIds, siz
|
|
|
4166
4213
|
const nlddToolbarTranslations = {
|
|
4167
4214
|
"components.toolbar.overflow-action": "Meer"
|
|
4168
4215
|
};
|
|
4169
|
-
var __defProp$
|
|
4216
|
+
var __defProp$10 = Object.defineProperty;
|
|
4170
4217
|
var __getOwnPropDesc$11 = Object.getOwnPropertyDescriptor;
|
|
4171
4218
|
var __decorateClass$12 = (decorators, target, key, kind) => {
|
|
4172
4219
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$11(target, key) : target;
|
|
4173
4220
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
4174
4221
|
if (decorator = decorators[i])
|
|
4175
4222
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4176
|
-
if (kind && result) __defProp$
|
|
4223
|
+
if (kind && result) __defProp$10(target, key, result);
|
|
4177
4224
|
return result;
|
|
4178
4225
|
};
|
|
4179
4226
|
if (!customElements.get("nldd-toolbar-item")) {
|
|
@@ -4781,14 +4828,14 @@ function template$e(helpers) {
|
|
|
4781
4828
|
</a>
|
|
4782
4829
|
`;
|
|
4783
4830
|
}
|
|
4784
|
-
var __defProp
|
|
4831
|
+
var __defProp$$ = Object.defineProperty;
|
|
4785
4832
|
var __getOwnPropDesc$10 = Object.getOwnPropertyDescriptor;
|
|
4786
4833
|
var __decorateClass$11 = (decorators, target, key, kind) => {
|
|
4787
4834
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$10(target, key) : target;
|
|
4788
4835
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
4789
4836
|
if (decorator = decorators[i])
|
|
4790
4837
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4791
|
-
if (kind && result) __defProp
|
|
4838
|
+
if (kind && result) __defProp$$(target, key, result);
|
|
4792
4839
|
return result;
|
|
4793
4840
|
};
|
|
4794
4841
|
let NLDDLink = class extends LitElement {
|
|
@@ -4856,14 +4903,14 @@ __decorateClass$11([
|
|
|
4856
4903
|
NLDDLink = __decorateClass$11([
|
|
4857
4904
|
customElement("nldd-link")
|
|
4858
4905
|
], NLDDLink);
|
|
4859
|
-
var __defProp$
|
|
4906
|
+
var __defProp$_ = Object.defineProperty;
|
|
4860
4907
|
var __getOwnPropDesc$$ = Object.getOwnPropertyDescriptor;
|
|
4861
4908
|
var __decorateClass$10 = (decorators, target, key, kind) => {
|
|
4862
4909
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$$(target, key) : target;
|
|
4863
4910
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
4864
4911
|
if (decorator = decorators[i])
|
|
4865
4912
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
4866
|
-
if (kind && result) __defProp$
|
|
4913
|
+
if (kind && result) __defProp$_(target, key, result);
|
|
4867
4914
|
return result;
|
|
4868
4915
|
};
|
|
4869
4916
|
let NLDDRichText = class extends LitElement {
|
|
@@ -4887,9 +4934,9 @@ const breakpoints = {
|
|
|
4887
4934
|
mdMax: "1007px",
|
|
4888
4935
|
lgMin: "1008px"
|
|
4889
4936
|
};
|
|
4890
|
-
const smMax$
|
|
4891
|
-
const mdMin$
|
|
4892
|
-
const mdMax$
|
|
4937
|
+
const smMax$c = unsafeCSS(breakpoints.smMax);
|
|
4938
|
+
const mdMin$d = unsafeCSS(breakpoints.mdMin);
|
|
4939
|
+
const mdMax$8 = unsafeCSS(breakpoints.mdMax);
|
|
4893
4940
|
const lgMin$a = unsafeCSS(breakpoints.lgMin);
|
|
4894
4941
|
const titleStyles = css`
|
|
4895
4942
|
|
|
@@ -4930,6 +4977,7 @@ const titleStyles = css`
|
|
|
4930
4977
|
|
|
4931
4978
|
::slotted([slot='overline']) {
|
|
4932
4979
|
margin: 0;
|
|
4980
|
+
overflow-wrap: anywhere;
|
|
4933
4981
|
color: var(--semantics-content-secondary-color);
|
|
4934
4982
|
font: var(--primitives-font-body-sm-regular-tight);
|
|
4935
4983
|
}
|
|
@@ -4939,15 +4987,17 @@ const titleStyles = css`
|
|
|
4939
4987
|
|
|
4940
4988
|
::slotted(:not([slot])) {
|
|
4941
4989
|
margin: 0;
|
|
4990
|
+
overflow-wrap: anywhere;
|
|
4942
4991
|
color: var(--semantics-content-color);
|
|
4992
|
+
text-wrap: pretty;
|
|
4943
4993
|
}
|
|
4944
4994
|
|
|
4945
4995
|
:host([size='1']) ::slotted(:not([slot])) {
|
|
4946
|
-
@media (max-width: ${smMax$
|
|
4996
|
+
@media (max-width: ${smMax$c}) {
|
|
4947
4997
|
font: var(--primitives-font-display-1-sm);
|
|
4948
4998
|
}
|
|
4949
4999
|
|
|
4950
|
-
@media (min-width: ${mdMin$
|
|
5000
|
+
@media (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
4951
5001
|
font: var(--primitives-font-display-1-md);
|
|
4952
5002
|
}
|
|
4953
5003
|
|
|
@@ -4955,11 +5005,11 @@ const titleStyles = css`
|
|
|
4955
5005
|
font: var(--primitives-font-display-1-lg);
|
|
4956
5006
|
}
|
|
4957
5007
|
|
|
4958
|
-
@container layout-area (max-width: ${smMax$
|
|
5008
|
+
@container layout-area (max-width: ${smMax$c}) {
|
|
4959
5009
|
font: var(--primitives-font-display-1-sm);
|
|
4960
5010
|
}
|
|
4961
5011
|
|
|
4962
|
-
@container layout-area (min-width: ${mdMin$
|
|
5012
|
+
@container layout-area (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
4963
5013
|
font: var(--primitives-font-display-1-md);
|
|
4964
5014
|
}
|
|
4965
5015
|
|
|
@@ -4969,11 +5019,11 @@ const titleStyles = css`
|
|
|
4969
5019
|
}
|
|
4970
5020
|
|
|
4971
5021
|
:host([size='2']) ::slotted(:not([slot])) {
|
|
4972
|
-
@media (max-width: ${smMax$
|
|
5022
|
+
@media (max-width: ${smMax$c}) {
|
|
4973
5023
|
font: var(--primitives-font-display-2-sm);
|
|
4974
5024
|
}
|
|
4975
5025
|
|
|
4976
|
-
@media (min-width: ${mdMin$
|
|
5026
|
+
@media (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
4977
5027
|
font: var(--primitives-font-display-2-md);
|
|
4978
5028
|
}
|
|
4979
5029
|
|
|
@@ -4981,11 +5031,11 @@ const titleStyles = css`
|
|
|
4981
5031
|
font: var(--primitives-font-display-2-lg);
|
|
4982
5032
|
}
|
|
4983
5033
|
|
|
4984
|
-
@container layout-area (max-width: ${smMax$
|
|
5034
|
+
@container layout-area (max-width: ${smMax$c}) {
|
|
4985
5035
|
font: var(--primitives-font-display-2-sm);
|
|
4986
5036
|
}
|
|
4987
5037
|
|
|
4988
|
-
@container layout-area (min-width: ${mdMin$
|
|
5038
|
+
@container layout-area (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
4989
5039
|
font: var(--primitives-font-display-2-md);
|
|
4990
5040
|
}
|
|
4991
5041
|
|
|
@@ -4996,11 +5046,11 @@ const titleStyles = css`
|
|
|
4996
5046
|
|
|
4997
5047
|
:host([size='3']) ::slotted(:not([slot])),
|
|
4998
5048
|
:host(:not([size])) ::slotted(:not([slot])) {
|
|
4999
|
-
@media (max-width: ${smMax$
|
|
5049
|
+
@media (max-width: ${smMax$c}) {
|
|
5000
5050
|
font: var(--primitives-font-display-3-sm);
|
|
5001
5051
|
}
|
|
5002
5052
|
|
|
5003
|
-
@media (min-width: ${mdMin$
|
|
5053
|
+
@media (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
5004
5054
|
font: var(--primitives-font-display-3-md);
|
|
5005
5055
|
}
|
|
5006
5056
|
|
|
@@ -5008,11 +5058,11 @@ const titleStyles = css`
|
|
|
5008
5058
|
font: var(--primitives-font-display-3-lg);
|
|
5009
5059
|
}
|
|
5010
5060
|
|
|
5011
|
-
@container layout-area (max-width: ${smMax$
|
|
5061
|
+
@container layout-area (max-width: ${smMax$c}) {
|
|
5012
5062
|
font: var(--primitives-font-display-3-sm);
|
|
5013
5063
|
}
|
|
5014
5064
|
|
|
5015
|
-
@container layout-area (min-width: ${mdMin$
|
|
5065
|
+
@container layout-area (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
5016
5066
|
font: var(--primitives-font-display-3-md);
|
|
5017
5067
|
}
|
|
5018
5068
|
|
|
@@ -5022,11 +5072,11 @@ const titleStyles = css`
|
|
|
5022
5072
|
}
|
|
5023
5073
|
|
|
5024
5074
|
:host([size='4']) ::slotted(:not([slot])) {
|
|
5025
|
-
@media (max-width: ${smMax$
|
|
5075
|
+
@media (max-width: ${smMax$c}) {
|
|
5026
5076
|
font: var(--primitives-font-display-4-sm);
|
|
5027
5077
|
}
|
|
5028
5078
|
|
|
5029
|
-
@media (min-width: ${mdMin$
|
|
5079
|
+
@media (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
5030
5080
|
font: var(--primitives-font-display-4-md);
|
|
5031
5081
|
}
|
|
5032
5082
|
|
|
@@ -5034,11 +5084,11 @@ const titleStyles = css`
|
|
|
5034
5084
|
font: var(--primitives-font-display-4-lg);
|
|
5035
5085
|
}
|
|
5036
5086
|
|
|
5037
|
-
@container layout-area (max-width: ${smMax$
|
|
5087
|
+
@container layout-area (max-width: ${smMax$c}) {
|
|
5038
5088
|
font: var(--primitives-font-display-4-sm);
|
|
5039
5089
|
}
|
|
5040
5090
|
|
|
5041
|
-
@container layout-area (min-width: ${mdMin$
|
|
5091
|
+
@container layout-area (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
5042
5092
|
font: var(--primitives-font-display-4-md);
|
|
5043
5093
|
}
|
|
5044
5094
|
|
|
@@ -5048,11 +5098,11 @@ const titleStyles = css`
|
|
|
5048
5098
|
}
|
|
5049
5099
|
|
|
5050
5100
|
:host([size='5']) ::slotted(:not([slot])) {
|
|
5051
|
-
@media (max-width: ${smMax$
|
|
5101
|
+
@media (max-width: ${smMax$c}) {
|
|
5052
5102
|
font: var(--primitives-font-display-5-sm);
|
|
5053
5103
|
}
|
|
5054
5104
|
|
|
5055
|
-
@media (min-width: ${mdMin$
|
|
5105
|
+
@media (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
5056
5106
|
font: var(--primitives-font-display-5-md);
|
|
5057
5107
|
}
|
|
5058
5108
|
|
|
@@ -5060,11 +5110,11 @@ const titleStyles = css`
|
|
|
5060
5110
|
font: var(--primitives-font-display-5-lg);
|
|
5061
5111
|
}
|
|
5062
5112
|
|
|
5063
|
-
@container layout-area (max-width: ${smMax$
|
|
5113
|
+
@container layout-area (max-width: ${smMax$c}) {
|
|
5064
5114
|
font: var(--primitives-font-display-5-sm);
|
|
5065
5115
|
}
|
|
5066
5116
|
|
|
5067
|
-
@container layout-area (min-width: ${mdMin$
|
|
5117
|
+
@container layout-area (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
5068
5118
|
font: var(--primitives-font-display-5-md);
|
|
5069
5119
|
}
|
|
5070
5120
|
|
|
@@ -5074,11 +5124,11 @@ const titleStyles = css`
|
|
|
5074
5124
|
}
|
|
5075
5125
|
|
|
5076
5126
|
:host([size='6']) ::slotted(:not([slot])) {
|
|
5077
|
-
@media (max-width: ${smMax$
|
|
5127
|
+
@media (max-width: ${smMax$c}) {
|
|
5078
5128
|
font: var(--primitives-font-display-6-sm);
|
|
5079
5129
|
}
|
|
5080
5130
|
|
|
5081
|
-
@media (min-width: ${mdMin$
|
|
5131
|
+
@media (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
5082
5132
|
font: var(--primitives-font-display-6-md);
|
|
5083
5133
|
}
|
|
5084
5134
|
|
|
@@ -5086,11 +5136,11 @@ const titleStyles = css`
|
|
|
5086
5136
|
font: var(--primitives-font-display-6-lg);
|
|
5087
5137
|
}
|
|
5088
5138
|
|
|
5089
|
-
@container layout-area (max-width: ${smMax$
|
|
5139
|
+
@container layout-area (max-width: ${smMax$c}) {
|
|
5090
5140
|
font: var(--primitives-font-display-6-sm);
|
|
5091
5141
|
}
|
|
5092
5142
|
|
|
5093
|
-
@container layout-area (min-width: ${mdMin$
|
|
5143
|
+
@container layout-area (min-width: ${mdMin$d}) and (max-width: ${mdMax$8}) {
|
|
5094
5144
|
font: var(--primitives-font-display-6-md);
|
|
5095
5145
|
}
|
|
5096
5146
|
|
|
@@ -5104,6 +5154,7 @@ const titleStyles = css`
|
|
|
5104
5154
|
|
|
5105
5155
|
::slotted([slot='subtitle']) {
|
|
5106
5156
|
margin: 0;
|
|
5157
|
+
overflow-wrap: anywhere;
|
|
5107
5158
|
color: var(--semantics-content-secondary-color);
|
|
5108
5159
|
font: var(--primitives-font-body-sm-regular-tight);
|
|
5109
5160
|
}
|
|
@@ -5133,14 +5184,14 @@ function titleTemplate() {
|
|
|
5133
5184
|
</div>
|
|
5134
5185
|
`;
|
|
5135
5186
|
}
|
|
5136
|
-
var __defProp$
|
|
5187
|
+
var __defProp$Z = Object.defineProperty;
|
|
5137
5188
|
var __getOwnPropDesc$_ = Object.getOwnPropertyDescriptor;
|
|
5138
5189
|
var __decorateClass$$ = (decorators, target, key, kind) => {
|
|
5139
5190
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$_(target, key) : target;
|
|
5140
5191
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
5141
5192
|
if (decorator = decorators[i])
|
|
5142
5193
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5143
|
-
if (kind && result) __defProp$
|
|
5194
|
+
if (kind && result) __defProp$Z(target, key, result);
|
|
5144
5195
|
return result;
|
|
5145
5196
|
};
|
|
5146
5197
|
let NLDDTitle = class extends LitElement {
|
|
@@ -5159,7 +5210,7 @@ __decorateClass$$([
|
|
|
5159
5210
|
NLDDTitle = __decorateClass$$([
|
|
5160
5211
|
customElement("nldd-title")
|
|
5161
5212
|
], NLDDTitle);
|
|
5162
|
-
const smMax$
|
|
5213
|
+
const smMax$b = unsafeCSS(breakpoints.smMax);
|
|
5163
5214
|
const blockquoteStyles = css`
|
|
5164
5215
|
|
|
5165
5216
|
|
|
@@ -5173,7 +5224,7 @@ const blockquoteStyles = css`
|
|
|
5173
5224
|
max-width: var(--semantics-blockquotes-max-width);
|
|
5174
5225
|
}
|
|
5175
5226
|
|
|
5176
|
-
@media (max-width: ${smMax$
|
|
5227
|
+
@media (max-width: ${smMax$b}) {
|
|
5177
5228
|
:host {
|
|
5178
5229
|
--_spacing: var(--semantics-blockquotes-sm-spacing);
|
|
5179
5230
|
--_quote-font: var(--semantics-blockquotes-sm-quote-font);
|
|
@@ -5181,7 +5232,7 @@ const blockquoteStyles = css`
|
|
|
5181
5232
|
}
|
|
5182
5233
|
}
|
|
5183
5234
|
|
|
5184
|
-
@container layout-area (max-width: ${smMax$
|
|
5235
|
+
@container layout-area (max-width: ${smMax$b}) {
|
|
5185
5236
|
:host {
|
|
5186
5237
|
--_spacing: var(--semantics-blockquotes-sm-spacing);
|
|
5187
5238
|
--_quote-font: var(--semantics-blockquotes-sm-quote-font);
|
|
@@ -5255,13 +5306,13 @@ function template$d(component) {
|
|
|
5255
5306
|
</blockquote>
|
|
5256
5307
|
`;
|
|
5257
5308
|
}
|
|
5258
|
-
var __defProp$
|
|
5309
|
+
var __defProp$Y = Object.defineProperty;
|
|
5259
5310
|
var __decorateClass$_ = (decorators, target, key, kind) => {
|
|
5260
5311
|
var result = void 0;
|
|
5261
5312
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
5262
5313
|
if (decorator = decorators[i])
|
|
5263
5314
|
result = decorator(target, key, result) || result;
|
|
5264
|
-
if (result) __defProp$
|
|
5315
|
+
if (result) __defProp$Y(target, key, result);
|
|
5265
5316
|
return result;
|
|
5266
5317
|
};
|
|
5267
5318
|
function withTranslations(Base, defaults) {
|
|
@@ -5296,14 +5347,14 @@ function withTranslations(Base, defaults) {
|
|
|
5296
5347
|
const nlddBlockquoteTranslations = {
|
|
5297
5348
|
"components.blockquote.attribution-prefix": "— "
|
|
5298
5349
|
};
|
|
5299
|
-
var __defProp$
|
|
5350
|
+
var __defProp$X = Object.defineProperty;
|
|
5300
5351
|
var __getOwnPropDesc$Z = Object.getOwnPropertyDescriptor;
|
|
5301
5352
|
var __decorateClass$Z = (decorators, target, key, kind) => {
|
|
5302
5353
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$Z(target, key) : target;
|
|
5303
5354
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
5304
5355
|
if (decorator = decorators[i])
|
|
5305
5356
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5306
|
-
if (kind && result) __defProp$
|
|
5357
|
+
if (kind && result) __defProp$X(target, key, result);
|
|
5307
5358
|
return result;
|
|
5308
5359
|
};
|
|
5309
5360
|
let NLDDBlockquote = class extends withTranslations(LitElement, nlddBlockquoteTranslations) {
|
|
@@ -5458,14 +5509,14 @@ function template$c(component) {
|
|
|
5458
5509
|
</span>
|
|
5459
5510
|
`;
|
|
5460
5511
|
}
|
|
5461
|
-
var __defProp$
|
|
5512
|
+
var __defProp$W = Object.defineProperty;
|
|
5462
5513
|
var __getOwnPropDesc$Y = Object.getOwnPropertyDescriptor;
|
|
5463
5514
|
var __decorateClass$Y = (decorators, target, key, kind) => {
|
|
5464
5515
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$Y(target, key) : target;
|
|
5465
5516
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
5466
5517
|
if (decorator = decorators[i])
|
|
5467
5518
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5468
|
-
if (kind && result) __defProp$
|
|
5519
|
+
if (kind && result) __defProp$W(target, key, result);
|
|
5469
5520
|
return result;
|
|
5470
5521
|
};
|
|
5471
5522
|
let NLDDTag = class extends LitElement {
|
|
@@ -5634,14 +5685,14 @@ function template$b(component) {
|
|
|
5634
5685
|
</kbd>
|
|
5635
5686
|
`;
|
|
5636
5687
|
}
|
|
5637
|
-
var __defProp$
|
|
5688
|
+
var __defProp$V = Object.defineProperty;
|
|
5638
5689
|
var __getOwnPropDesc$X = Object.getOwnPropertyDescriptor;
|
|
5639
5690
|
var __decorateClass$X = (decorators, target, key, kind) => {
|
|
5640
5691
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$X(target, key) : target;
|
|
5641
5692
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
5642
5693
|
if (decorator = decorators[i])
|
|
5643
5694
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5644
|
-
if (kind && result) __defProp$
|
|
5695
|
+
if (kind && result) __defProp$V(target, key, result);
|
|
5645
5696
|
return result;
|
|
5646
5697
|
};
|
|
5647
5698
|
let NLDDKeyboardShortcut = class extends LitElement {
|
|
@@ -5683,7 +5734,6 @@ const FORWARDED_ATTRIBUTES = [
|
|
|
5683
5734
|
"autocomplete"
|
|
5684
5735
|
];
|
|
5685
5736
|
const DESCENDANT_SELECTOR = "nldd-form-field, nldd-form-actions";
|
|
5686
|
-
const INHERITED_MARKER = "formAlignmentInherited";
|
|
5687
5737
|
class NLDDForm extends HTMLElement {
|
|
5688
5738
|
constructor() {
|
|
5689
5739
|
super(...arguments);
|
|
@@ -5745,45 +5795,26 @@ class NLDDForm extends HTMLElement {
|
|
|
5745
5795
|
}
|
|
5746
5796
|
/**
|
|
5747
5797
|
* Push `label-alignment` to descendant nldd-form-field and nldd-form-actions
|
|
5748
|
-
* elements
|
|
5749
|
-
*
|
|
5750
|
-
*
|
|
5751
|
-
*
|
|
5752
|
-
*
|
|
5753
|
-
*
|
|
5798
|
+
* elements as a separate `form-label-alignment` attribute, defaulting to
|
|
5799
|
+
* `'top'` when the form itself has no `label-alignment`. Descendant CSS
|
|
5800
|
+
* uses `[label-alignment="X"]` first and falls back to
|
|
5801
|
+
* `[form-label-alignment="X"]` when no own value is set, so a consumer's
|
|
5802
|
+
* explicit `label-alignment` always wins automatically — without us having
|
|
5803
|
+
* to track which elements we previously inherited to.
|
|
5754
5804
|
*
|
|
5755
|
-
*
|
|
5756
|
-
*
|
|
5757
|
-
*
|
|
5758
|
-
*
|
|
5805
|
+
* Always-setting (rather than only when the form has its own value) lets
|
|
5806
|
+
* downstream selectors assume the attribute is present on every descendant
|
|
5807
|
+
* inside an `nldd-form`, which keeps form.css's adjacent-sibling tight-gap
|
|
5808
|
+
* rule simple.
|
|
5759
5809
|
*
|
|
5760
|
-
*
|
|
5761
|
-
*
|
|
5762
|
-
*
|
|
5763
|
-
*
|
|
5764
|
-
* 2. Bij dynamic appendChild fires de MutationObserver na DOM-mutation
|
|
5765
|
-
* maar microtask-volgorde laat de propagation z'n attribuut zetten
|
|
5766
|
-
* voordat Lit's reflection 't kan overschrijven (Lit reflect = ook
|
|
5767
|
-
* microtask, maar de MO callback runt eerder in deze flow).
|
|
5768
|
-
*
|
|
5769
|
-
* Regression test: form.test.ts "propageert ook naar later toegevoegde
|
|
5770
|
-
* form-actions children" verifieert deze flow. Verander deze guard
|
|
5771
|
-
* niet zonder die test te draaien.
|
|
5810
|
+
* The two-attribute split also avoids the historical Lit reflect-default
|
|
5811
|
+
* vs MutationObserver timing race: we never touch `label-alignment` on
|
|
5812
|
+
* the descendant, so a freshly upgraded Lit element reflecting its default
|
|
5813
|
+
* doesn't conflict with the form's intent.
|
|
5772
5814
|
*/
|
|
5773
5815
|
_propagateLabelAlignment(value) {
|
|
5774
5816
|
const fields = this.querySelectorAll(DESCENDANT_SELECTOR);
|
|
5775
|
-
fields.forEach((f) =>
|
|
5776
|
-
const isInherited = f.dataset[INHERITED_MARKER] === "true";
|
|
5777
|
-
const hasOwn = f.hasAttribute("label-alignment");
|
|
5778
|
-
if (hasOwn && !isInherited) return;
|
|
5779
|
-
if (value) {
|
|
5780
|
-
f.setAttribute("label-alignment", value);
|
|
5781
|
-
f.dataset[INHERITED_MARKER] = "true";
|
|
5782
|
-
} else if (isInherited) {
|
|
5783
|
-
f.removeAttribute("label-alignment");
|
|
5784
|
-
delete f.dataset[INHERITED_MARKER];
|
|
5785
|
-
}
|
|
5786
|
-
});
|
|
5817
|
+
fields.forEach((f) => f.setAttribute("form-label-alignment", value ?? "top"));
|
|
5787
5818
|
}
|
|
5788
5819
|
_mirrorAttributes() {
|
|
5789
5820
|
if (!this._form) return;
|
|
@@ -5825,7 +5856,9 @@ const formActionsStyles = css`
|
|
|
5825
5856
|
}
|
|
5826
5857
|
|
|
5827
5858
|
:host([label-alignment='left']) .form-actions,
|
|
5828
|
-
:host([label-alignment='right']) .form-actions
|
|
5859
|
+
:host([label-alignment='right']) .form-actions,
|
|
5860
|
+
:host(:not([label-alignment])[form-label-alignment='left']) .form-actions,
|
|
5861
|
+
:host(:not([label-alignment])[form-label-alignment='right']) .form-actions {
|
|
5829
5862
|
@container (min-width: 641px) {
|
|
5830
5863
|
flex-direction: row;
|
|
5831
5864
|
align-items: start;
|
|
@@ -5834,7 +5867,9 @@ const formActionsStyles = css`
|
|
|
5834
5867
|
}
|
|
5835
5868
|
|
|
5836
5869
|
:host([label-alignment='left']) .form-actions::before,
|
|
5837
|
-
:host([label-alignment='right']) .form-actions::before
|
|
5870
|
+
:host([label-alignment='right']) .form-actions::before,
|
|
5871
|
+
:host(:not([label-alignment])[form-label-alignment='left']) .form-actions::before,
|
|
5872
|
+
:host(:not([label-alignment])[form-label-alignment='right']) .form-actions::before {
|
|
5838
5873
|
@container (min-width: 641px) {
|
|
5839
5874
|
content: '';
|
|
5840
5875
|
flex-grow: 0;
|
|
@@ -5863,20 +5898,20 @@ function formActionsTemplate() {
|
|
|
5863
5898
|
</div>
|
|
5864
5899
|
`;
|
|
5865
5900
|
}
|
|
5866
|
-
var __defProp$
|
|
5901
|
+
var __defProp$U = Object.defineProperty;
|
|
5867
5902
|
var __getOwnPropDesc$W = Object.getOwnPropertyDescriptor;
|
|
5868
5903
|
var __decorateClass$W = (decorators, target, key, kind) => {
|
|
5869
5904
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$W(target, key) : target;
|
|
5870
5905
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
5871
5906
|
if (decorator = decorators[i])
|
|
5872
5907
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
5873
|
-
if (kind && result) __defProp$
|
|
5908
|
+
if (kind && result) __defProp$U(target, key, result);
|
|
5874
5909
|
return result;
|
|
5875
5910
|
};
|
|
5876
5911
|
let NLDDFormActions = class extends LitElement {
|
|
5877
5912
|
constructor() {
|
|
5878
5913
|
super(...arguments);
|
|
5879
|
-
this.labelAlignment =
|
|
5914
|
+
this.labelAlignment = void 0;
|
|
5880
5915
|
}
|
|
5881
5916
|
render() {
|
|
5882
5917
|
return formActionsTemplate();
|
|
@@ -5915,7 +5950,9 @@ const formFieldStyles = css`
|
|
|
5915
5950
|
}
|
|
5916
5951
|
|
|
5917
5952
|
:host([label-alignment='left']) .form-field,
|
|
5918
|
-
:host([label-alignment='right']) .form-field
|
|
5953
|
+
:host([label-alignment='right']) .form-field,
|
|
5954
|
+
:host(:not([label-alignment])[form-label-alignment='left']) .form-field,
|
|
5955
|
+
:host(:not([label-alignment])[form-label-alignment='right']) .form-field {
|
|
5919
5956
|
@container (min-width: 641px) {
|
|
5920
5957
|
flex-direction: row;
|
|
5921
5958
|
align-items: start;
|
|
@@ -5933,7 +5970,9 @@ const formFieldStyles = css`
|
|
|
5933
5970
|
}
|
|
5934
5971
|
|
|
5935
5972
|
:host([label-alignment='left']) .form-field__header,
|
|
5936
|
-
:host([label-alignment='right']) .form-field__header
|
|
5973
|
+
:host([label-alignment='right']) .form-field__header,
|
|
5974
|
+
:host(:not([label-alignment])[form-label-alignment='left']) .form-field__header,
|
|
5975
|
+
:host(:not([label-alignment])[form-label-alignment='right']) .form-field__header {
|
|
5937
5976
|
@container (min-width: 641px) {
|
|
5938
5977
|
flex-grow: 0;
|
|
5939
5978
|
flex-shrink: 0;
|
|
@@ -5943,14 +5982,16 @@ const formFieldStyles = css`
|
|
|
5943
5982
|
}
|
|
5944
5983
|
}
|
|
5945
5984
|
|
|
5946
|
-
:host([label-alignment='right']) .form-field__header
|
|
5985
|
+
:host([label-alignment='right']) .form-field__header,
|
|
5986
|
+
:host(:not([label-alignment])[form-label-alignment='right']) .form-field__header {
|
|
5947
5987
|
@container (min-width: 641px) {
|
|
5948
5988
|
align-items: end;
|
|
5949
5989
|
text-align: right;
|
|
5950
5990
|
}
|
|
5951
5991
|
}
|
|
5952
5992
|
|
|
5953
|
-
:host([label-alignment='left']) .form-field__header
|
|
5993
|
+
:host([label-alignment='left']) .form-field__header,
|
|
5994
|
+
:host(:not([label-alignment])[form-label-alignment='left']) .form-field__header {
|
|
5954
5995
|
@container (min-width: 641px) {
|
|
5955
5996
|
align-items: start;
|
|
5956
5997
|
text-align: left;
|
|
@@ -5962,7 +6003,9 @@ const formFieldStyles = css`
|
|
|
5962
6003
|
}
|
|
5963
6004
|
|
|
5964
6005
|
:host([label-alignment='left']) .form-field__header.is-empty,
|
|
5965
|
-
:host([label-alignment='right']) .form-field__header.is-empty
|
|
6006
|
+
:host([label-alignment='right']) .form-field__header.is-empty,
|
|
6007
|
+
:host(:not([label-alignment])[form-label-alignment='left']) .form-field__header.is-empty,
|
|
6008
|
+
:host(:not([label-alignment])[form-label-alignment='right']) .form-field__header.is-empty {
|
|
5966
6009
|
@container (min-width: 641px) {
|
|
5967
6010
|
display: flex;
|
|
5968
6011
|
}
|
|
@@ -5977,10 +6020,13 @@ const formFieldStyles = css`
|
|
|
5977
6020
|
gap: var(--primitives-space-4);
|
|
5978
6021
|
color: var(--semantics-content-color);
|
|
5979
6022
|
font: var(--primitives-font-body-md-regular-tight);
|
|
6023
|
+
text-wrap: pretty;
|
|
5980
6024
|
}
|
|
5981
6025
|
|
|
5982
6026
|
:host([label-alignment='left']) .form-field__label,
|
|
5983
|
-
:host([label-alignment='right']) .form-field__label
|
|
6027
|
+
:host([label-alignment='right']) .form-field__label,
|
|
6028
|
+
:host(:not([label-alignment])[form-label-alignment='left']) .form-field__label,
|
|
6029
|
+
:host(:not([label-alignment])[form-label-alignment='right']) .form-field__label {
|
|
5984
6030
|
@container (min-width: 641px) {
|
|
5985
6031
|
display: flex;
|
|
5986
6032
|
flex-direction: column;
|
|
@@ -5988,13 +6034,15 @@ const formFieldStyles = css`
|
|
|
5988
6034
|
}
|
|
5989
6035
|
}
|
|
5990
6036
|
|
|
5991
|
-
:host([label-alignment='right']) .form-field__label
|
|
6037
|
+
:host([label-alignment='right']) .form-field__label,
|
|
6038
|
+
:host(:not([label-alignment])[form-label-alignment='right']) .form-field__label {
|
|
5992
6039
|
@container (min-width: 641px) {
|
|
5993
6040
|
align-items: end;
|
|
5994
6041
|
}
|
|
5995
6042
|
}
|
|
5996
6043
|
|
|
5997
|
-
:host([label-alignment='left']) .form-field__label
|
|
6044
|
+
:host([label-alignment='left']) .form-field__label,
|
|
6045
|
+
:host(:not([label-alignment])[form-label-alignment='left']) .form-field__label {
|
|
5998
6046
|
@container (min-width: 641px) {
|
|
5999
6047
|
align-items: start;
|
|
6000
6048
|
}
|
|
@@ -6014,6 +6062,7 @@ const formFieldStyles = css`
|
|
|
6014
6062
|
.form-field__supporting-label {
|
|
6015
6063
|
color: var(--semantics-content-secondary-color);
|
|
6016
6064
|
font: var(--primitives-font-body-xs-regular-tight);
|
|
6065
|
+
text-wrap: pretty;
|
|
6017
6066
|
}
|
|
6018
6067
|
|
|
6019
6068
|
|
|
@@ -6187,14 +6236,14 @@ function formFieldErrorTextTemplate(_component) {
|
|
|
6187
6236
|
</p>
|
|
6188
6237
|
`;
|
|
6189
6238
|
}
|
|
6190
|
-
var __defProp$
|
|
6239
|
+
var __defProp$T = Object.defineProperty;
|
|
6191
6240
|
var __getOwnPropDesc$V = Object.getOwnPropertyDescriptor;
|
|
6192
6241
|
var __decorateClass$V = (decorators, target, key, kind) => {
|
|
6193
6242
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$V(target, key) : target;
|
|
6194
6243
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6195
6244
|
if (decorator = decorators[i])
|
|
6196
6245
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6197
|
-
if (kind && result) __defProp$
|
|
6246
|
+
if (kind && result) __defProp$T(target, key, result);
|
|
6198
6247
|
return result;
|
|
6199
6248
|
};
|
|
6200
6249
|
const HELPER_TAGS = ["nldd-form-field-help-text", "nldd-form-field-error-text"];
|
|
@@ -6205,7 +6254,7 @@ function generateId() {
|
|
|
6205
6254
|
let NLDDFormField = class extends LitElement {
|
|
6206
6255
|
constructor() {
|
|
6207
6256
|
super(...arguments);
|
|
6208
|
-
this.labelAlignment =
|
|
6257
|
+
this.labelAlignment = void 0;
|
|
6209
6258
|
this.label = "";
|
|
6210
6259
|
this.supportingLabel = "";
|
|
6211
6260
|
this.optional = false;
|
|
@@ -6714,14 +6763,14 @@ function textFieldTemplate(component) {
|
|
|
6714
6763
|
</div>
|
|
6715
6764
|
`;
|
|
6716
6765
|
}
|
|
6717
|
-
var __defProp$
|
|
6766
|
+
var __defProp$S = Object.defineProperty;
|
|
6718
6767
|
var __getOwnPropDesc$U = Object.getOwnPropertyDescriptor;
|
|
6719
6768
|
var __decorateClass$U = (decorators, target, key, kind) => {
|
|
6720
6769
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$U(target, key) : target;
|
|
6721
6770
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6722
6771
|
if (decorator = decorators[i])
|
|
6723
6772
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
6724
|
-
if (kind && result) __defProp$
|
|
6773
|
+
if (kind && result) __defProp$S(target, key, result);
|
|
6725
6774
|
return result;
|
|
6726
6775
|
};
|
|
6727
6776
|
let NLDDTextField = class extends LitElement {
|
|
@@ -7121,14 +7170,14 @@ function passwordFieldTemplate(component) {
|
|
|
7121
7170
|
</div>
|
|
7122
7171
|
`;
|
|
7123
7172
|
}
|
|
7124
|
-
var __defProp$
|
|
7173
|
+
var __defProp$R = Object.defineProperty;
|
|
7125
7174
|
var __getOwnPropDesc$T = Object.getOwnPropertyDescriptor;
|
|
7126
7175
|
var __decorateClass$T = (decorators, target, key, kind) => {
|
|
7127
7176
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$T(target, key) : target;
|
|
7128
7177
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
7129
7178
|
if (decorator = decorators[i])
|
|
7130
7179
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7131
|
-
if (kind && result) __defProp$
|
|
7180
|
+
if (kind && result) __defProp$R(target, key, result);
|
|
7132
7181
|
return result;
|
|
7133
7182
|
};
|
|
7134
7183
|
let NLDDPasswordField = class extends LitElement {
|
|
@@ -7266,9 +7315,11 @@ const searchFieldStyles = css`
|
|
|
7266
7315
|
/* # Host */
|
|
7267
7316
|
|
|
7268
7317
|
:host {
|
|
7269
|
-
display: block;
|
|
7270
7318
|
--_background-color: var(--semantics-input-fields-background-color);
|
|
7271
7319
|
--_z-index-button-focus: 1;
|
|
7320
|
+
|
|
7321
|
+
display: block;
|
|
7322
|
+
min-width: 0;
|
|
7272
7323
|
-webkit-tap-highlight-color: transparent;
|
|
7273
7324
|
}
|
|
7274
7325
|
|
|
@@ -7485,14 +7536,14 @@ const nlddSearchFieldTranslations = {
|
|
|
7485
7536
|
"components.search-field.clear-action": "Wis zoekopdracht",
|
|
7486
7537
|
"components.search-field.search-action": "Zoek"
|
|
7487
7538
|
};
|
|
7488
|
-
var __defProp$
|
|
7539
|
+
var __defProp$Q = Object.defineProperty;
|
|
7489
7540
|
var __getOwnPropDesc$S = Object.getOwnPropertyDescriptor;
|
|
7490
7541
|
var __decorateClass$S = (decorators, target, key, kind) => {
|
|
7491
7542
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$S(target, key) : target;
|
|
7492
7543
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
7493
7544
|
if (decorator = decorators[i])
|
|
7494
7545
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7495
|
-
if (kind && result) __defProp$
|
|
7546
|
+
if (kind && result) __defProp$Q(target, key, result);
|
|
7496
7547
|
return result;
|
|
7497
7548
|
};
|
|
7498
7549
|
let NLDDSearchField = class extends LitElement {
|
|
@@ -7808,14 +7859,14 @@ const nlddNumberFieldTranslations = {
|
|
|
7808
7859
|
"components.number-field.increment-action": "Verhoog",
|
|
7809
7860
|
"components.number-field.to-adjust-value-action": "Waarde aanpassen"
|
|
7810
7861
|
};
|
|
7811
|
-
var __defProp$
|
|
7862
|
+
var __defProp$P = Object.defineProperty;
|
|
7812
7863
|
var __getOwnPropDesc$R = Object.getOwnPropertyDescriptor;
|
|
7813
7864
|
var __decorateClass$R = (decorators, target, key, kind) => {
|
|
7814
7865
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$R(target, key) : target;
|
|
7815
7866
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
7816
7867
|
if (decorator = decorators[i])
|
|
7817
7868
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
7818
|
-
if (kind && result) __defProp$
|
|
7869
|
+
if (kind && result) __defProp$P(target, key, result);
|
|
7819
7870
|
return result;
|
|
7820
7871
|
};
|
|
7821
7872
|
let NLDDNumberField = class extends LitElement {
|
|
@@ -8166,14 +8217,14 @@ function dropdownTemplate(component) {
|
|
|
8166
8217
|
</div>
|
|
8167
8218
|
`;
|
|
8168
8219
|
}
|
|
8169
|
-
var __defProp$
|
|
8220
|
+
var __defProp$O = Object.defineProperty;
|
|
8170
8221
|
var __getOwnPropDesc$Q = Object.getOwnPropertyDescriptor;
|
|
8171
8222
|
var __decorateClass$Q = (decorators, target, key, kind) => {
|
|
8172
8223
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$Q(target, key) : target;
|
|
8173
8224
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
8174
8225
|
if (decorator = decorators[i])
|
|
8175
8226
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8176
|
-
if (kind && result) __defProp$
|
|
8227
|
+
if (kind && result) __defProp$O(target, key, result);
|
|
8177
8228
|
return result;
|
|
8178
8229
|
};
|
|
8179
8230
|
let NLDDDropdown = class extends LitElement {
|
|
@@ -8537,14 +8588,14 @@ const nlddComboBoxTranslations = {
|
|
|
8537
8588
|
"components.combo-box.open-menu-action": "Toon opties",
|
|
8538
8589
|
"components.combo-box.clear-action": "Wis invoer"
|
|
8539
8590
|
};
|
|
8540
|
-
var __defProp$
|
|
8591
|
+
var __defProp$N = Object.defineProperty;
|
|
8541
8592
|
var __getOwnPropDesc$P = Object.getOwnPropertyDescriptor;
|
|
8542
8593
|
var __decorateClass$P = (decorators, target, key, kind) => {
|
|
8543
8594
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$P(target, key) : target;
|
|
8544
8595
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
8545
8596
|
if (decorator = decorators[i])
|
|
8546
8597
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8547
|
-
if (kind && result) __defProp$
|
|
8598
|
+
if (kind && result) __defProp$N(target, key, result);
|
|
8548
8599
|
return result;
|
|
8549
8600
|
};
|
|
8550
8601
|
let NLDDComboBox = class extends LitElement {
|
|
@@ -8970,14 +9021,14 @@ const nlddStepperTranslations = {
|
|
|
8970
9021
|
"components.stepper.increment-action": "Verhoog",
|
|
8971
9022
|
"components.stepper.to-adjust-value-action": "Aantal aanpassen"
|
|
8972
9023
|
};
|
|
8973
|
-
var __defProp$
|
|
9024
|
+
var __defProp$M = Object.defineProperty;
|
|
8974
9025
|
var __getOwnPropDesc$O = Object.getOwnPropertyDescriptor;
|
|
8975
9026
|
var __decorateClass$O = (decorators, target, key, kind) => {
|
|
8976
9027
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$O(target, key) : target;
|
|
8977
9028
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
8978
9029
|
if (decorator = decorators[i])
|
|
8979
9030
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8980
|
-
if (kind && result) __defProp$
|
|
9031
|
+
if (kind && result) __defProp$M(target, key, result);
|
|
8981
9032
|
return result;
|
|
8982
9033
|
};
|
|
8983
9034
|
let NLDDStepper = class extends LitElement {
|
|
@@ -9220,14 +9271,14 @@ function checkboxTemplate(component) {
|
|
|
9220
9271
|
</div>
|
|
9221
9272
|
`;
|
|
9222
9273
|
}
|
|
9223
|
-
var __defProp$
|
|
9274
|
+
var __defProp$L = Object.defineProperty;
|
|
9224
9275
|
var __getOwnPropDesc$N = Object.getOwnPropertyDescriptor;
|
|
9225
9276
|
var __decorateClass$N = (decorators, target, key, kind) => {
|
|
9226
9277
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$N(target, key) : target;
|
|
9227
9278
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
9228
9279
|
if (decorator = decorators[i])
|
|
9229
9280
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9230
|
-
if (kind && result) __defProp$
|
|
9281
|
+
if (kind && result) __defProp$L(target, key, result);
|
|
9231
9282
|
return result;
|
|
9232
9283
|
};
|
|
9233
9284
|
let NLDDCheckbox = class extends LitElement {
|
|
@@ -9356,14 +9407,14 @@ function checkboxFieldTemplate(component) {
|
|
|
9356
9407
|
</div>
|
|
9357
9408
|
`;
|
|
9358
9409
|
}
|
|
9359
|
-
var __defProp$
|
|
9410
|
+
var __defProp$K = Object.defineProperty;
|
|
9360
9411
|
var __getOwnPropDesc$M = Object.getOwnPropertyDescriptor;
|
|
9361
9412
|
var __decorateClass$M = (decorators, target, key, kind) => {
|
|
9362
9413
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$M(target, key) : target;
|
|
9363
9414
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
9364
9415
|
if (decorator = decorators[i])
|
|
9365
9416
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9366
|
-
if (kind && result) __defProp$
|
|
9417
|
+
if (kind && result) __defProp$K(target, key, result);
|
|
9367
9418
|
return result;
|
|
9368
9419
|
};
|
|
9369
9420
|
let NLDDCheckboxField = class extends LitElement {
|
|
@@ -9555,14 +9606,14 @@ function radioButtonTemplate(component) {
|
|
|
9555
9606
|
</div>
|
|
9556
9607
|
`;
|
|
9557
9608
|
}
|
|
9558
|
-
var __defProp$
|
|
9609
|
+
var __defProp$J = Object.defineProperty;
|
|
9559
9610
|
var __getOwnPropDesc$L = Object.getOwnPropertyDescriptor;
|
|
9560
9611
|
var __decorateClass$L = (decorators, target, key, kind) => {
|
|
9561
9612
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$L(target, key) : target;
|
|
9562
9613
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
9563
9614
|
if (decorator = decorators[i])
|
|
9564
9615
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9565
|
-
if (kind && result) __defProp$
|
|
9616
|
+
if (kind && result) __defProp$J(target, key, result);
|
|
9566
9617
|
return result;
|
|
9567
9618
|
};
|
|
9568
9619
|
let NLDDRadioButton = class extends LitElement {
|
|
@@ -9687,14 +9738,14 @@ function radioButtonFieldTemplate(component) {
|
|
|
9687
9738
|
</div>
|
|
9688
9739
|
`;
|
|
9689
9740
|
}
|
|
9690
|
-
var __defProp$
|
|
9741
|
+
var __defProp$I = Object.defineProperty;
|
|
9691
9742
|
var __getOwnPropDesc$K = Object.getOwnPropertyDescriptor;
|
|
9692
9743
|
var __decorateClass$K = (decorators, target, key, kind) => {
|
|
9693
9744
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$K(target, key) : target;
|
|
9694
9745
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
9695
9746
|
if (decorator = decorators[i])
|
|
9696
9747
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9697
|
-
if (kind && result) __defProp$
|
|
9748
|
+
if (kind && result) __defProp$I(target, key, result);
|
|
9698
9749
|
return result;
|
|
9699
9750
|
};
|
|
9700
9751
|
let NLDDRadioButtonField = class extends LitElement {
|
|
@@ -9775,14 +9826,14 @@ function radioButtonGroupTemplate(component) {
|
|
|
9775
9826
|
</div>
|
|
9776
9827
|
`;
|
|
9777
9828
|
}
|
|
9778
|
-
var __defProp$
|
|
9829
|
+
var __defProp$H = Object.defineProperty;
|
|
9779
9830
|
var __getOwnPropDesc$J = Object.getOwnPropertyDescriptor;
|
|
9780
9831
|
var __decorateClass$J = (decorators, target, key, kind) => {
|
|
9781
9832
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$J(target, key) : target;
|
|
9782
9833
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
9783
9834
|
if (decorator = decorators[i])
|
|
9784
9835
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
9785
|
-
if (kind && result) __defProp$
|
|
9836
|
+
if (kind && result) __defProp$H(target, key, result);
|
|
9786
9837
|
return result;
|
|
9787
9838
|
};
|
|
9788
9839
|
let NLDDRadioButtonGroup = class extends LitElement {
|
|
@@ -10077,14 +10128,14 @@ function switchTemplate(component) {
|
|
|
10077
10128
|
</div>
|
|
10078
10129
|
`;
|
|
10079
10130
|
}
|
|
10080
|
-
var __defProp$
|
|
10131
|
+
var __defProp$G = Object.defineProperty;
|
|
10081
10132
|
var __getOwnPropDesc$I = Object.getOwnPropertyDescriptor;
|
|
10082
10133
|
var __decorateClass$I = (decorators, target, key, kind) => {
|
|
10083
10134
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$I(target, key) : target;
|
|
10084
10135
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
10085
10136
|
if (decorator = decorators[i])
|
|
10086
10137
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
10087
|
-
if (kind && result) __defProp$
|
|
10138
|
+
if (kind && result) __defProp$G(target, key, result);
|
|
10088
10139
|
return result;
|
|
10089
10140
|
};
|
|
10090
10141
|
let NLDDSwitch = class extends LitElement {
|
|
@@ -10251,14 +10302,14 @@ function switchFieldTemplate(component) {
|
|
|
10251
10302
|
</div>
|
|
10252
10303
|
`;
|
|
10253
10304
|
}
|
|
10254
|
-
var __defProp$
|
|
10305
|
+
var __defProp$F = Object.defineProperty;
|
|
10255
10306
|
var __getOwnPropDesc$H = Object.getOwnPropertyDescriptor;
|
|
10256
10307
|
var __decorateClass$H = (decorators, target, key, kind) => {
|
|
10257
10308
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$H(target, key) : target;
|
|
10258
10309
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
10259
10310
|
if (decorator = decorators[i])
|
|
10260
10311
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
10261
|
-
if (kind && result) __defProp$
|
|
10312
|
+
if (kind && result) __defProp$F(target, key, result);
|
|
10262
10313
|
return result;
|
|
10263
10314
|
};
|
|
10264
10315
|
let NLDDSwitchField = class extends LitElement {
|
|
@@ -10558,14 +10609,14 @@ function segmentedControlItemTemplate(component) {
|
|
|
10558
10609
|
}
|
|
10559
10610
|
return label;
|
|
10560
10611
|
}
|
|
10561
|
-
var __defProp$
|
|
10612
|
+
var __defProp$E = Object.defineProperty;
|
|
10562
10613
|
var __getOwnPropDesc$G = Object.getOwnPropertyDescriptor;
|
|
10563
10614
|
var __decorateClass$G = (decorators, target, key, kind) => {
|
|
10564
10615
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$G(target, key) : target;
|
|
10565
10616
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
10566
10617
|
if (decorator = decorators[i])
|
|
10567
10618
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
10568
|
-
if (kind && result) __defProp$
|
|
10619
|
+
if (kind && result) __defProp$E(target, key, result);
|
|
10569
10620
|
return result;
|
|
10570
10621
|
};
|
|
10571
10622
|
let NLDDSegmentedControlItem = class extends LitElement {
|
|
@@ -11036,14 +11087,14 @@ function toggleButtonTemplate(component) {
|
|
|
11036
11087
|
}
|
|
11037
11088
|
return result;
|
|
11038
11089
|
}
|
|
11039
|
-
var __defProp$
|
|
11090
|
+
var __defProp$D = Object.defineProperty;
|
|
11040
11091
|
var __getOwnPropDesc$F = Object.getOwnPropertyDescriptor;
|
|
11041
11092
|
var __decorateClass$F = (decorators, target, key, kind) => {
|
|
11042
11093
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$F(target, key) : target;
|
|
11043
11094
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11044
11095
|
if (decorator = decorators[i])
|
|
11045
11096
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11046
|
-
if (kind && result) __defProp$
|
|
11097
|
+
if (kind && result) __defProp$D(target, key, result);
|
|
11047
11098
|
return result;
|
|
11048
11099
|
};
|
|
11049
11100
|
let NLDDToggleButton = class extends LitElement {
|
|
@@ -11176,14 +11227,14 @@ function toggleButtonGroupTemplate(component) {
|
|
|
11176
11227
|
</div>
|
|
11177
11228
|
`;
|
|
11178
11229
|
}
|
|
11179
|
-
var __defProp$
|
|
11230
|
+
var __defProp$C = Object.defineProperty;
|
|
11180
11231
|
var __getOwnPropDesc$E = Object.getOwnPropertyDescriptor;
|
|
11181
11232
|
var __decorateClass$E = (decorators, target, key, kind) => {
|
|
11182
11233
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$E(target, key) : target;
|
|
11183
11234
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11184
11235
|
if (decorator = decorators[i])
|
|
11185
11236
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11186
|
-
if (kind && result) __defProp$
|
|
11237
|
+
if (kind && result) __defProp$C(target, key, result);
|
|
11187
11238
|
return result;
|
|
11188
11239
|
};
|
|
11189
11240
|
let NLDDToggleButtonGroup = class extends LitElement {
|
|
@@ -11481,14 +11532,14 @@ function tokenTemplate(component) {
|
|
|
11481
11532
|
</div>
|
|
11482
11533
|
`;
|
|
11483
11534
|
}
|
|
11484
|
-
var __defProp$
|
|
11535
|
+
var __defProp$B = Object.defineProperty;
|
|
11485
11536
|
var __getOwnPropDesc$D = Object.getOwnPropertyDescriptor;
|
|
11486
11537
|
var __decorateClass$D = (decorators, target, key, kind) => {
|
|
11487
11538
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$D(target, key) : target;
|
|
11488
11539
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11489
11540
|
if (decorator = decorators[i])
|
|
11490
11541
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11491
|
-
if (kind && result) __defProp$
|
|
11542
|
+
if (kind && result) __defProp$B(target, key, result);
|
|
11492
11543
|
return result;
|
|
11493
11544
|
};
|
|
11494
11545
|
let NLDDToken = class extends LitElement {
|
|
@@ -11589,21 +11640,53 @@ function appViewTemplate(_component) {
|
|
|
11589
11640
|
</div>
|
|
11590
11641
|
`;
|
|
11591
11642
|
}
|
|
11592
|
-
var __defProp$
|
|
11643
|
+
var __defProp$A = Object.defineProperty;
|
|
11593
11644
|
var __getOwnPropDesc$C = Object.getOwnPropertyDescriptor;
|
|
11594
11645
|
var __decorateClass$C = (decorators, target, key, kind) => {
|
|
11595
11646
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$C(target, key) : target;
|
|
11596
11647
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11597
11648
|
if (decorator = decorators[i])
|
|
11598
11649
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11599
|
-
if (kind && result) __defProp$
|
|
11650
|
+
if (kind && result) __defProp$A(target, key, result);
|
|
11600
11651
|
return result;
|
|
11601
11652
|
};
|
|
11653
|
+
const _connectedStack = [];
|
|
11654
|
+
function _currentOwner() {
|
|
11655
|
+
for (let i = _connectedStack.length - 1; i >= 0; i--) {
|
|
11656
|
+
if (_connectedStack[i].isConnected) return _connectedStack[i];
|
|
11657
|
+
}
|
|
11658
|
+
return null;
|
|
11659
|
+
}
|
|
11602
11660
|
let NLDDAppView = class extends LitElement {
|
|
11603
11661
|
constructor() {
|
|
11604
11662
|
super(...arguments);
|
|
11605
11663
|
this.background = "default";
|
|
11606
11664
|
}
|
|
11665
|
+
connectedCallback() {
|
|
11666
|
+
super.connectedCallback();
|
|
11667
|
+
_connectedStack.push(this);
|
|
11668
|
+
this._writeBodyBackground();
|
|
11669
|
+
}
|
|
11670
|
+
disconnectedCallback() {
|
|
11671
|
+
super.disconnectedCallback();
|
|
11672
|
+
const idx = _connectedStack.indexOf(this);
|
|
11673
|
+
if (idx >= 0) _connectedStack.splice(idx, 1);
|
|
11674
|
+
const owner = _currentOwner();
|
|
11675
|
+
if (owner) {
|
|
11676
|
+
owner._writeBodyBackground();
|
|
11677
|
+
} else {
|
|
11678
|
+
document.body.style.removeProperty("background-color");
|
|
11679
|
+
}
|
|
11680
|
+
}
|
|
11681
|
+
updated(changed) {
|
|
11682
|
+
if (changed.has("background") && _currentOwner() === this) {
|
|
11683
|
+
this._writeBodyBackground();
|
|
11684
|
+
}
|
|
11685
|
+
}
|
|
11686
|
+
_writeBodyBackground() {
|
|
11687
|
+
const token = this.background === "tinted" ? "--semantics-surfaces-tinted-background-color" : "--semantics-surfaces-background-color";
|
|
11688
|
+
document.body.style.backgroundColor = `var(${token})`;
|
|
11689
|
+
}
|
|
11607
11690
|
render() {
|
|
11608
11691
|
return appViewTemplate();
|
|
11609
11692
|
}
|
|
@@ -11615,22 +11698,19 @@ __decorateClass$C([
|
|
|
11615
11698
|
NLDDAppView = __decorateClass$C([
|
|
11616
11699
|
customElement("nldd-app-view")
|
|
11617
11700
|
], NLDDAppView);
|
|
11618
|
-
const smMax$6 = unsafeCSS(breakpoints.smMax);
|
|
11619
11701
|
const barSplitViewStyles = css`
|
|
11620
11702
|
|
|
11621
11703
|
|
|
11622
11704
|
/* # Host */
|
|
11623
11705
|
|
|
11624
11706
|
:host {
|
|
11707
|
+
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
11708
|
+
|
|
11625
11709
|
display: flex;
|
|
11626
11710
|
flex-direction: column;
|
|
11627
11711
|
width: 100%;
|
|
11628
11712
|
height: 100%;
|
|
11629
11713
|
background-color: var(--_background-color);
|
|
11630
|
-
|
|
11631
|
-
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
11632
|
-
--context-bar-split-view-top-bars-height: 0px;
|
|
11633
|
-
--context-bar-split-view-bottom-bars-height: 0px;
|
|
11634
11714
|
}
|
|
11635
11715
|
|
|
11636
11716
|
:host([background="default"]) {
|
|
@@ -11656,7 +11736,6 @@ const barSplitViewStyles = css`
|
|
|
11656
11736
|
flex: 1;
|
|
11657
11737
|
min-height: 0;
|
|
11658
11738
|
min-width: 0;
|
|
11659
|
-
position: relative;
|
|
11660
11739
|
}
|
|
11661
11740
|
|
|
11662
11741
|
|
|
@@ -11668,15 +11747,6 @@ const barSplitViewStyles = css`
|
|
|
11668
11747
|
flex-shrink: 0;
|
|
11669
11748
|
min-width: 0;
|
|
11670
11749
|
overflow: hidden;
|
|
11671
|
-
container-type: inline-size;
|
|
11672
|
-
container-name: layout-area;
|
|
11673
|
-
|
|
11674
|
-
@media (max-width: ${smMax$6}) {
|
|
11675
|
-
position: absolute;
|
|
11676
|
-
left: 0;
|
|
11677
|
-
right: 0;
|
|
11678
|
-
z-index: 2;
|
|
11679
|
-
}
|
|
11680
11750
|
}
|
|
11681
11751
|
|
|
11682
11752
|
|
|
@@ -11696,40 +11766,6 @@ const barSplitViewStyles = css`
|
|
|
11696
11766
|
min-height: 0;
|
|
11697
11767
|
min-width: 0;
|
|
11698
11768
|
overflow: hidden;
|
|
11699
|
-
container-type: inline-size;
|
|
11700
|
-
container-name: layout-area;
|
|
11701
|
-
|
|
11702
|
-
@media (max-width: ${smMax$6}) {
|
|
11703
|
-
&::before {
|
|
11704
|
-
content: '';
|
|
11705
|
-
position: absolute;
|
|
11706
|
-
top: 0;
|
|
11707
|
-
left: 0;
|
|
11708
|
-
right: 0;
|
|
11709
|
-
z-index: 1;
|
|
11710
|
-
height: calc(var(--context-bar-split-view-top-bars-height) + var(--primitives-space-32));
|
|
11711
|
-
background: linear-gradient(
|
|
11712
|
-
to bottom,
|
|
11713
|
-
color-mix(in srgb, var(--_background-color) 95%, transparent) var(--context-bar-split-view-top-bars-height),
|
|
11714
|
-
transparent);
|
|
11715
|
-
pointer-events: none;
|
|
11716
|
-
}
|
|
11717
|
-
|
|
11718
|
-
&::after {
|
|
11719
|
-
content: '';
|
|
11720
|
-
position: absolute;
|
|
11721
|
-
bottom: 0;
|
|
11722
|
-
left: 0;
|
|
11723
|
-
right: 0;
|
|
11724
|
-
z-index: 1;
|
|
11725
|
-
height: calc(var(--context-bar-split-view-bottom-bars-height) + var(--primitives-space-32));
|
|
11726
|
-
background: linear-gradient(
|
|
11727
|
-
to top,
|
|
11728
|
-
color-mix(in srgb, var(--_background-color) 95%, transparent) var(--context-bar-split-view-bottom-bars-height),
|
|
11729
|
-
transparent);
|
|
11730
|
-
pointer-events: none;
|
|
11731
|
-
}
|
|
11732
|
-
}
|
|
11733
11769
|
}
|
|
11734
11770
|
|
|
11735
11771
|
|
|
@@ -11832,14 +11868,14 @@ function splitViewDividerTemplate(component) {
|
|
|
11832
11868
|
</div>
|
|
11833
11869
|
`;
|
|
11834
11870
|
}
|
|
11835
|
-
var __defProp$
|
|
11871
|
+
var __defProp$z = Object.defineProperty;
|
|
11836
11872
|
var __getOwnPropDesc$B = Object.getOwnPropertyDescriptor;
|
|
11837
11873
|
var __decorateClass$B = (decorators, target, key, kind) => {
|
|
11838
11874
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$B(target, key) : target;
|
|
11839
11875
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11840
11876
|
if (decorator = decorators[i])
|
|
11841
11877
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11842
|
-
if (kind && result) __defProp$
|
|
11878
|
+
if (kind && result) __defProp$z(target, key, result);
|
|
11843
11879
|
return result;
|
|
11844
11880
|
};
|
|
11845
11881
|
let NLDDSplitViewDivider = class extends LitElement {
|
|
@@ -11870,13 +11906,13 @@ function barSplitViewTemplate(component) {
|
|
|
11870
11906
|
${sorted.map((el, index) => {
|
|
11871
11907
|
const isMain = el.slot === "main";
|
|
11872
11908
|
const isLast = index === sorted.length - 1;
|
|
11873
|
-
const
|
|
11909
|
+
const next = sorted[index + 1];
|
|
11910
|
+
const showDivider = !isSm && !isLast && !el.hasAttribute("no-divider") && !next?.hasAttribute("no-divider");
|
|
11874
11911
|
return html`
|
|
11875
|
-
<div class=${classMap({ "bar-split-view__main": isMain, "bar-split-view__bar": !isMain })}
|
|
11876
|
-
style=${styleMap(barStyles)}>
|
|
11912
|
+
<div class=${classMap({ "bar-split-view__main": isMain, "bar-split-view__bar": !isMain })}>
|
|
11877
11913
|
<slot name=${el.slot}></slot>
|
|
11878
11914
|
</div>
|
|
11879
|
-
${
|
|
11915
|
+
${showDivider ? html`
|
|
11880
11916
|
<div class="bar-split-view__divider">
|
|
11881
11917
|
<nldd-split-view-divider orientation="horizontal"></nldd-split-view-divider>
|
|
11882
11918
|
</div>
|
|
@@ -11891,14 +11927,14 @@ function barSplitViewTemplate(component) {
|
|
|
11891
11927
|
</div>
|
|
11892
11928
|
`;
|
|
11893
11929
|
}
|
|
11894
|
-
var __defProp$
|
|
11930
|
+
var __defProp$y = Object.defineProperty;
|
|
11895
11931
|
var __getOwnPropDesc$A = Object.getOwnPropertyDescriptor;
|
|
11896
11932
|
var __decorateClass$A = (decorators, target, key, kind) => {
|
|
11897
11933
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$A(target, key) : target;
|
|
11898
11934
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11899
11935
|
if (decorator = decorators[i])
|
|
11900
11936
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
11901
|
-
if (kind && result) __defProp$
|
|
11937
|
+
if (kind && result) __defProp$y(target, key, result);
|
|
11902
11938
|
return result;
|
|
11903
11939
|
};
|
|
11904
11940
|
const smMaxPx = parseInt(breakpoints.smMax);
|
|
@@ -11908,32 +11944,22 @@ let NLDDBarSplitView = class extends LitElement {
|
|
|
11908
11944
|
super(...arguments);
|
|
11909
11945
|
this.background = "inherit";
|
|
11910
11946
|
this._currentBreakpoint = null;
|
|
11911
|
-
this._smTopBars = /* @__PURE__ */ new Set();
|
|
11912
|
-
this._smOffsets = /* @__PURE__ */ new Map();
|
|
11913
11947
|
this._observer = null;
|
|
11914
11948
|
this._resizeObserver = null;
|
|
11915
|
-
this._childResizeObserver = null;
|
|
11916
11949
|
}
|
|
11917
11950
|
connectedCallback() {
|
|
11918
11951
|
super.connectedCallback();
|
|
11919
11952
|
this._currentBreakpoint = this._getBreakpoint(this.getBoundingClientRect().width);
|
|
11920
|
-
this._observer = new MutationObserver(() =>
|
|
11921
|
-
|
|
11922
|
-
this._updateLayout();
|
|
11923
|
-
this.requestUpdate();
|
|
11924
|
-
});
|
|
11925
|
-
this._observer.observe(this, { childList: true, attributes: true, attributeFilter: ["above", "below", "only", "sm-order", "md-order", "lg-order"], subtree: false });
|
|
11953
|
+
this._observer = new MutationObserver(() => this.requestUpdate());
|
|
11954
|
+
this._observer.observe(this, { childList: true, attributes: true, attributeFilter: ["above", "below", "only", "sm-order", "md-order", "lg-order", "no-divider"], subtree: false });
|
|
11926
11955
|
this._resizeObserver = new ResizeObserver(() => {
|
|
11927
11956
|
const bp = this._getBreakpoint(this.getBoundingClientRect().width);
|
|
11928
11957
|
if (bp !== this._currentBreakpoint) {
|
|
11929
11958
|
this._currentBreakpoint = bp;
|
|
11930
11959
|
this.requestUpdate();
|
|
11931
11960
|
}
|
|
11932
|
-
this._updateLayout();
|
|
11933
11961
|
});
|
|
11934
11962
|
this._resizeObserver.observe(this);
|
|
11935
|
-
this._childResizeObserver = new ResizeObserver(() => this._updateLayout());
|
|
11936
|
-
this._observeChildren();
|
|
11937
11963
|
}
|
|
11938
11964
|
disconnectedCallback() {
|
|
11939
11965
|
super.disconnectedCallback();
|
|
@@ -11941,8 +11967,6 @@ let NLDDBarSplitView = class extends LitElement {
|
|
|
11941
11967
|
this._observer = null;
|
|
11942
11968
|
this._resizeObserver?.disconnect();
|
|
11943
11969
|
this._resizeObserver = null;
|
|
11944
|
-
this._childResizeObserver?.disconnect();
|
|
11945
|
-
this._childResizeObserver = null;
|
|
11946
11970
|
}
|
|
11947
11971
|
_getBreakpoint(width) {
|
|
11948
11972
|
if (width <= smMaxPx) return "sm";
|
|
@@ -11977,48 +12001,6 @@ let NLDDBarSplitView = class extends LitElement {
|
|
|
11977
12001
|
return aVal - bVal;
|
|
11978
12002
|
});
|
|
11979
12003
|
}
|
|
11980
|
-
_observeChildren() {
|
|
11981
|
-
this._childResizeObserver?.disconnect();
|
|
11982
|
-
for (const child of Array.from(this.children)) {
|
|
11983
|
-
this._childResizeObserver?.observe(child);
|
|
11984
|
-
}
|
|
11985
|
-
}
|
|
11986
|
-
_updateLayout() {
|
|
11987
|
-
const width = this.getBoundingClientRect().width;
|
|
11988
|
-
if (width > smMaxPx) {
|
|
11989
|
-
this.style.removeProperty("--context-bar-split-view-top-bars-height");
|
|
11990
|
-
this.style.removeProperty("--context-bar-split-view-bottom-bars-height");
|
|
11991
|
-
this._smTopBars = /* @__PURE__ */ new Set();
|
|
11992
|
-
this._smOffsets = /* @__PURE__ */ new Map();
|
|
11993
|
-
return;
|
|
11994
|
-
}
|
|
11995
|
-
const sorted = this._getSortedChildren();
|
|
11996
|
-
const mainIndex = sorted.findIndex((el) => el.slot === "main");
|
|
11997
|
-
const topBars = mainIndex > 0 ? sorted.slice(0, mainIndex) : [];
|
|
11998
|
-
const bottomBars = mainIndex >= 0 ? sorted.slice(mainIndex + 1) : sorted;
|
|
11999
|
-
this._smTopBars = new Set(topBars);
|
|
12000
|
-
const newOffsets = /* @__PURE__ */ new Map();
|
|
12001
|
-
let topOffset = 0;
|
|
12002
|
-
for (const el of topBars) {
|
|
12003
|
-
newOffsets.set(el, topOffset);
|
|
12004
|
-
topOffset += el.getBoundingClientRect().height;
|
|
12005
|
-
}
|
|
12006
|
-
let bottomOffset = 0;
|
|
12007
|
-
for (const el of [...bottomBars].reverse()) {
|
|
12008
|
-
newOffsets.set(el, bottomOffset);
|
|
12009
|
-
bottomOffset += el.getBoundingClientRect().height;
|
|
12010
|
-
}
|
|
12011
|
-
this._smOffsets = newOffsets;
|
|
12012
|
-
const prevTop = this.style.getPropertyValue("--context-bar-split-view-top-bars-height");
|
|
12013
|
-
const prevBottom = this.style.getPropertyValue("--context-bar-split-view-bottom-bars-height");
|
|
12014
|
-
const nextTop = `${topOffset}px`;
|
|
12015
|
-
const nextBottom = `${bottomOffset}px`;
|
|
12016
|
-
if (prevTop !== nextTop || prevBottom !== nextBottom) {
|
|
12017
|
-
this.style.setProperty("--context-bar-split-view-top-bars-height", nextTop);
|
|
12018
|
-
this.style.setProperty("--context-bar-split-view-bottom-bars-height", nextBottom);
|
|
12019
|
-
this.requestUpdate();
|
|
12020
|
-
}
|
|
12021
|
-
}
|
|
12022
12004
|
render() {
|
|
12023
12005
|
return barSplitViewTemplate(this);
|
|
12024
12006
|
}
|
|
@@ -12033,7 +12015,9 @@ __decorateClass$A([
|
|
|
12033
12015
|
NLDDBarSplitView = __decorateClass$A([
|
|
12034
12016
|
customElement("nldd-bar-split-view")
|
|
12035
12017
|
], NLDDBarSplitView);
|
|
12036
|
-
const smMax$
|
|
12018
|
+
const smMax$a = unsafeCSS(breakpoints.smMax);
|
|
12019
|
+
const mdMin$c = unsafeCSS(breakpoints.mdMin);
|
|
12020
|
+
const mdMax$7 = unsafeCSS(breakpoints.mdMax);
|
|
12037
12021
|
const lgMin$9 = unsafeCSS(breakpoints.lgMin);
|
|
12038
12022
|
const navigationSplitViewStyles = css`
|
|
12039
12023
|
|
|
@@ -12041,16 +12025,16 @@ const navigationSplitViewStyles = css`
|
|
|
12041
12025
|
/* # Host */
|
|
12042
12026
|
|
|
12043
12027
|
:host {
|
|
12044
|
-
display: flex;
|
|
12045
|
-
width: 100%;
|
|
12046
|
-
height: 100%;
|
|
12047
|
-
background-color: var(--_background-color);
|
|
12048
|
-
|
|
12049
12028
|
--_sidebar-min-width: var(--primitives-area-320); /* Pane min-width — read by JS via getComputedStyle in firstUpdated */
|
|
12050
12029
|
--_secondary-sidebar-min-width: var(--primitives-area-320); /* Pane min-width — read by JS via getComputedStyle in firstUpdated */
|
|
12051
12030
|
--_main-min-width: var(--primitives-area-480); /* Pane min-width — read by JS via getComputedStyle in firstUpdated */
|
|
12052
12031
|
--_inspector-min-width: var(--primitives-area-320); /* Pane min-width — read by JS via getComputedStyle in firstUpdated */
|
|
12053
12032
|
--_background-color: var(--context-parent-background-color, var(--semantics-surfaces-background-color));
|
|
12033
|
+
|
|
12034
|
+
display: flex;
|
|
12035
|
+
width: 100%;
|
|
12036
|
+
height: 100%;
|
|
12037
|
+
background-color: var(--_background-color);
|
|
12054
12038
|
}
|
|
12055
12039
|
|
|
12056
12040
|
:host([background="default"]) {
|
|
@@ -12085,8 +12069,6 @@ const navigationSplitViewStyles = css`
|
|
|
12085
12069
|
min-height: 0;
|
|
12086
12070
|
min-width: var(--_sidebar-min-width);
|
|
12087
12071
|
overflow: hidden;
|
|
12088
|
-
container-type: inline-size;
|
|
12089
|
-
container-name: layout-area;
|
|
12090
12072
|
}
|
|
12091
12073
|
|
|
12092
12074
|
|
|
@@ -12099,8 +12081,6 @@ const navigationSplitViewStyles = css`
|
|
|
12099
12081
|
min-height: 0;
|
|
12100
12082
|
min-width: var(--_secondary-sidebar-min-width);
|
|
12101
12083
|
overflow: hidden;
|
|
12102
|
-
container-type: inline-size;
|
|
12103
|
-
container-name: layout-area;
|
|
12104
12084
|
}
|
|
12105
12085
|
|
|
12106
12086
|
|
|
@@ -12113,8 +12093,6 @@ const navigationSplitViewStyles = css`
|
|
|
12113
12093
|
min-height: 0;
|
|
12114
12094
|
min-width: var(--_main-min-width);
|
|
12115
12095
|
overflow: hidden;
|
|
12116
|
-
container-type: inline-size;
|
|
12117
|
-
container-name: layout-area;
|
|
12118
12096
|
}
|
|
12119
12097
|
|
|
12120
12098
|
|
|
@@ -12124,6 +12102,7 @@ const navigationSplitViewStyles = css`
|
|
|
12124
12102
|
:host(.full-stack) .navigation-split-view__secondary-sidebar-pane,
|
|
12125
12103
|
:host(.full-stack) .navigation-split-view__main-pane {
|
|
12126
12104
|
min-width: 0;
|
|
12105
|
+
flex: 1;
|
|
12127
12106
|
}
|
|
12128
12107
|
|
|
12129
12108
|
|
|
@@ -12135,17 +12114,15 @@ const navigationSplitViewStyles = css`
|
|
|
12135
12114
|
}
|
|
12136
12115
|
|
|
12137
12116
|
.navigation-split-view__inspector-pane {
|
|
12117
|
+
/* Suppress dismiss button — inspector is always dismissable as a sheet, not inline */
|
|
12118
|
+
--context-dismiss-button-display: none;
|
|
12119
|
+
|
|
12138
12120
|
display: flex;
|
|
12139
12121
|
flex-direction: column;
|
|
12140
12122
|
flex-shrink: 0;
|
|
12141
12123
|
min-height: 0;
|
|
12142
12124
|
min-width: var(--_inspector-min-width);
|
|
12143
12125
|
overflow: hidden;
|
|
12144
|
-
container-type: inline-size;
|
|
12145
|
-
container-name: layout-area;
|
|
12146
|
-
|
|
12147
|
-
/* Suppress dismiss button — inspector is always dismissable as a sheet, not inline */
|
|
12148
|
-
--context-dismiss-button-display: none;
|
|
12149
12126
|
}
|
|
12150
12127
|
|
|
12151
12128
|
|
|
@@ -12172,13 +12149,28 @@ const navigationSplitViewStyles = css`
|
|
|
12172
12149
|
overflow: hidden;
|
|
12173
12150
|
position: fixed;
|
|
12174
12151
|
outline: none;
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12152
|
+
|
|
12153
|
+
@media (max-width: ${smMax$a}) {
|
|
12154
|
+
inset: auto 0 0 0;
|
|
12155
|
+
width: 100%;
|
|
12156
|
+
max-width: 100%;
|
|
12157
|
+
height: auto;
|
|
12158
|
+
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
12159
|
+
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
12160
|
+
}
|
|
12161
|
+
|
|
12162
|
+
@media (min-width: ${mdMin$c}) and (max-width: ${mdMax$7}) {
|
|
12163
|
+
inset: var(--semantics-overlays-inset) var(--semantics-overlays-inset) var(--semantics-overlays-inset) auto;
|
|
12164
|
+
width: var(--semantics-sheets-side-md-width);
|
|
12165
|
+
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
12166
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
12167
|
+
}
|
|
12179
12168
|
|
|
12180
12169
|
@media (min-width: ${lgMin$9}) {
|
|
12170
|
+
inset: var(--semantics-overlays-inset) var(--semantics-overlays-inset) var(--semantics-overlays-inset) auto;
|
|
12181
12171
|
width: var(--semantics-sheets-side-lg-width);
|
|
12172
|
+
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
12173
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
12182
12174
|
}
|
|
12183
12175
|
|
|
12184
12176
|
&:focus-visible:not(.is-pointer-focus) {
|
|
@@ -12196,11 +12188,23 @@ const navigationSplitViewStyles = css`
|
|
|
12196
12188
|
}
|
|
12197
12189
|
|
|
12198
12190
|
&[open] {
|
|
12199
|
-
|
|
12191
|
+
@media (max-width: ${smMax$a}) {
|
|
12192
|
+
animation: navigation-split-view-slide-in-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12193
|
+
}
|
|
12194
|
+
|
|
12195
|
+
@media (min-width: ${mdMin$c}) {
|
|
12196
|
+
animation: navigation-split-view-inspector-slide-in var(--semantics-sheets-side-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12197
|
+
}
|
|
12200
12198
|
}
|
|
12201
12199
|
|
|
12202
12200
|
&.is-closing {
|
|
12203
|
-
|
|
12201
|
+
@media (max-width: ${smMax$a}) {
|
|
12202
|
+
animation: navigation-split-view-slide-out-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12203
|
+
}
|
|
12204
|
+
|
|
12205
|
+
@media (min-width: ${mdMin$c}) {
|
|
12206
|
+
animation: navigation-split-view-inspector-slide-out var(--semantics-sheets-side-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12207
|
+
}
|
|
12204
12208
|
}
|
|
12205
12209
|
}
|
|
12206
12210
|
|
|
@@ -12236,13 +12240,28 @@ const navigationSplitViewStyles = css`
|
|
|
12236
12240
|
overflow: hidden;
|
|
12237
12241
|
position: fixed;
|
|
12238
12242
|
outline: none;
|
|
12239
|
-
|
|
12240
|
-
|
|
12241
|
-
|
|
12242
|
-
|
|
12243
|
+
|
|
12244
|
+
@media (max-width: ${smMax$a}) {
|
|
12245
|
+
inset: auto 0 0 0;
|
|
12246
|
+
width: 100%;
|
|
12247
|
+
max-width: 100%;
|
|
12248
|
+
height: auto;
|
|
12249
|
+
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
12250
|
+
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
12251
|
+
}
|
|
12252
|
+
|
|
12253
|
+
@media (min-width: ${mdMin$c}) and (max-width: ${mdMax$7}) {
|
|
12254
|
+
inset: var(--semantics-overlays-inset) auto var(--semantics-overlays-inset) var(--semantics-overlays-inset);
|
|
12255
|
+
width: var(--semantics-sheets-side-md-width);
|
|
12256
|
+
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
12257
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
12258
|
+
}
|
|
12243
12259
|
|
|
12244
12260
|
@media (min-width: ${lgMin$9}) {
|
|
12261
|
+
inset: var(--semantics-overlays-inset) auto var(--semantics-overlays-inset) var(--semantics-overlays-inset);
|
|
12245
12262
|
width: var(--semantics-sheets-side-lg-width);
|
|
12263
|
+
height: calc(100dvh - var(--semantics-overlays-inset) * 2);
|
|
12264
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
12246
12265
|
}
|
|
12247
12266
|
|
|
12248
12267
|
&:focus-visible:not(.is-pointer-focus) {
|
|
@@ -12260,23 +12279,35 @@ const navigationSplitViewStyles = css`
|
|
|
12260
12279
|
}
|
|
12261
12280
|
|
|
12262
12281
|
&[open] {
|
|
12263
|
-
|
|
12282
|
+
@media (max-width: ${smMax$a}) {
|
|
12283
|
+
animation: navigation-split-view-slide-in-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12284
|
+
}
|
|
12285
|
+
|
|
12286
|
+
@media (min-width: ${mdMin$c}) {
|
|
12287
|
+
animation: navigation-split-view-sidebar-slide-in var(--semantics-sheets-side-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12288
|
+
}
|
|
12264
12289
|
}
|
|
12265
12290
|
|
|
12266
12291
|
&.is-closing {
|
|
12267
|
-
|
|
12292
|
+
@media (max-width: ${smMax$a}) {
|
|
12293
|
+
animation: navigation-split-view-slide-out-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12294
|
+
}
|
|
12295
|
+
|
|
12296
|
+
@media (min-width: ${mdMin$c}) {
|
|
12297
|
+
animation: navigation-split-view-sidebar-slide-out var(--semantics-sheets-side-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12298
|
+
}
|
|
12268
12299
|
}
|
|
12269
12300
|
}
|
|
12270
12301
|
|
|
12271
12302
|
.navigation-split-view__sidebar-sheet-body {
|
|
12303
|
+
/* Show dismiss button inside sidebar sheet */
|
|
12304
|
+
--context-dismiss-button-display: block;
|
|
12305
|
+
|
|
12272
12306
|
display: flex;
|
|
12273
12307
|
flex-direction: column;
|
|
12274
12308
|
flex-grow: 1;
|
|
12275
12309
|
min-height: 0;
|
|
12276
12310
|
width: 100%;
|
|
12277
|
-
|
|
12278
|
-
/* Show dismiss button inside sidebar sheet */
|
|
12279
|
-
--context-dismiss-button-display: block;
|
|
12280
12311
|
}
|
|
12281
12312
|
|
|
12282
12313
|
|
|
@@ -12292,42 +12323,6 @@ const navigationSplitViewStyles = css`
|
|
|
12292
12323
|
to { transform: translateY(100%); }
|
|
12293
12324
|
}
|
|
12294
12325
|
|
|
12295
|
-
@media (max-width: ${smMax$5}) {
|
|
12296
|
-
.navigation-split-view__inspector-sheet {
|
|
12297
|
-
inset: auto 0 0 0;
|
|
12298
|
-
width: 100%;
|
|
12299
|
-
max-width: 100%;
|
|
12300
|
-
height: auto;
|
|
12301
|
-
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
12302
|
-
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
12303
|
-
|
|
12304
|
-
&[open] {
|
|
12305
|
-
animation: navigation-split-view-slide-in-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12306
|
-
}
|
|
12307
|
-
|
|
12308
|
-
&.is-closing {
|
|
12309
|
-
animation: navigation-split-view-slide-out-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12310
|
-
}
|
|
12311
|
-
}
|
|
12312
|
-
|
|
12313
|
-
.navigation-split-view__sidebar-sheet {
|
|
12314
|
-
inset: auto 0 0 0;
|
|
12315
|
-
width: 100%;
|
|
12316
|
-
max-width: 100%;
|
|
12317
|
-
height: auto;
|
|
12318
|
-
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
12319
|
-
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
12320
|
-
|
|
12321
|
-
&[open] {
|
|
12322
|
-
animation: navigation-split-view-slide-in-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12323
|
-
}
|
|
12324
|
-
|
|
12325
|
-
&.is-closing {
|
|
12326
|
-
animation: navigation-split-view-slide-out-bottom var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default) both;
|
|
12327
|
-
}
|
|
12328
|
-
}
|
|
12329
|
-
}
|
|
12330
|
-
|
|
12331
12326
|
|
|
12332
12327
|
/* # Reduced motion */
|
|
12333
12328
|
|
|
@@ -12404,14 +12399,14 @@ function navigationSplitViewTemplate(component) {
|
|
|
12404
12399
|
</div>
|
|
12405
12400
|
`;
|
|
12406
12401
|
}
|
|
12407
|
-
var __defProp$
|
|
12402
|
+
var __defProp$x = Object.defineProperty;
|
|
12408
12403
|
var __getOwnPropDesc$z = Object.getOwnPropertyDescriptor;
|
|
12409
12404
|
var __decorateClass$z = (decorators, target, key, kind) => {
|
|
12410
12405
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$z(target, key) : target;
|
|
12411
12406
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
12412
12407
|
if (decorator = decorators[i])
|
|
12413
12408
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
12414
|
-
if (kind && result) __defProp$
|
|
12409
|
+
if (kind && result) __defProp$x(target, key, result);
|
|
12415
12410
|
return result;
|
|
12416
12411
|
};
|
|
12417
12412
|
let NLDDNavigationSplitView = class extends LitElement {
|
|
@@ -12758,8 +12753,6 @@ const sideBySideSplitViewStyles = css`
|
|
|
12758
12753
|
min-height: 0;
|
|
12759
12754
|
min-width: var(--_pane-min-width);
|
|
12760
12755
|
overflow: hidden;
|
|
12761
|
-
container-type: inline-size;
|
|
12762
|
-
container-name: layout-area;
|
|
12763
12756
|
}
|
|
12764
12757
|
|
|
12765
12758
|
.side-by-side-split-view__pane[hidden] {
|
|
@@ -12789,14 +12782,14 @@ function sideBySideSplitViewTemplate(component) {
|
|
|
12789
12782
|
</div>
|
|
12790
12783
|
`;
|
|
12791
12784
|
}
|
|
12792
|
-
var __defProp$
|
|
12785
|
+
var __defProp$w = Object.defineProperty;
|
|
12793
12786
|
var __getOwnPropDesc$y = Object.getOwnPropertyDescriptor;
|
|
12794
12787
|
var __decorateClass$y = (decorators, target, key, kind) => {
|
|
12795
12788
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$y(target, key) : target;
|
|
12796
12789
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
12797
12790
|
if (decorator = decorators[i])
|
|
12798
12791
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
12799
|
-
if (kind && result) __defProp$
|
|
12792
|
+
if (kind && result) __defProp$w(target, key, result);
|
|
12800
12793
|
return result;
|
|
12801
12794
|
};
|
|
12802
12795
|
let NLDDSideBySideSplitView = class extends LitElement {
|
|
@@ -12902,8 +12895,6 @@ const stackedSplitViewStyles = css`
|
|
|
12902
12895
|
min-height: var(--_pane-min-height);
|
|
12903
12896
|
min-width: 0;
|
|
12904
12897
|
overflow: hidden;
|
|
12905
|
-
container-type: inline-size;
|
|
12906
|
-
container-name: layout-area;
|
|
12907
12898
|
}
|
|
12908
12899
|
|
|
12909
12900
|
.stacked-split-view__pane[hidden] {
|
|
@@ -12933,14 +12924,14 @@ function stackedSplitViewTemplate(component) {
|
|
|
12933
12924
|
</div>
|
|
12934
12925
|
`;
|
|
12935
12926
|
}
|
|
12936
|
-
var __defProp$
|
|
12927
|
+
var __defProp$v = Object.defineProperty;
|
|
12937
12928
|
var __getOwnPropDesc$x = Object.getOwnPropertyDescriptor;
|
|
12938
12929
|
var __decorateClass$x = (decorators, target, key, kind) => {
|
|
12939
12930
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$x(target, key) : target;
|
|
12940
12931
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
12941
12932
|
if (decorator = decorators[i])
|
|
12942
12933
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
12943
|
-
if (kind && result) __defProp$
|
|
12934
|
+
if (kind && result) __defProp$v(target, key, result);
|
|
12944
12935
|
return result;
|
|
12945
12936
|
};
|
|
12946
12937
|
let NLDDStackedSplitView = class extends LitElement {
|
|
@@ -12994,7 +12985,7 @@ __decorateClass$x([
|
|
|
12994
12985
|
NLDDStackedSplitView = __decorateClass$x([
|
|
12995
12986
|
customElement("nldd-stacked-split-view")
|
|
12996
12987
|
], NLDDStackedSplitView);
|
|
12997
|
-
const mdMin$
|
|
12988
|
+
const mdMin$b = unsafeCSS(breakpoints.mdMin);
|
|
12998
12989
|
const splitViewPaneStyles = css`
|
|
12999
12990
|
|
|
13000
12991
|
|
|
@@ -13007,7 +12998,7 @@ const splitViewPaneStyles = css`
|
|
|
13007
12998
|
width: 100%;
|
|
13008
12999
|
height: 100%;
|
|
13009
13000
|
|
|
13010
|
-
@media (min-width: ${mdMin$
|
|
13001
|
+
@media (min-width: ${mdMin$b}) {
|
|
13011
13002
|
background-color: var(--_background-color);
|
|
13012
13003
|
}
|
|
13013
13004
|
}
|
|
@@ -13054,14 +13045,14 @@ function splitViewPaneTemplate(_component) {
|
|
|
13054
13045
|
</div>
|
|
13055
13046
|
`;
|
|
13056
13047
|
}
|
|
13057
|
-
var __defProp$
|
|
13048
|
+
var __defProp$u = Object.defineProperty;
|
|
13058
13049
|
var __getOwnPropDesc$w = Object.getOwnPropertyDescriptor;
|
|
13059
13050
|
var __decorateClass$w = (decorators, target, key, kind) => {
|
|
13060
13051
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$w(target, key) : target;
|
|
13061
13052
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
13062
13053
|
if (decorator = decorators[i])
|
|
13063
13054
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
13064
|
-
if (kind && result) __defProp$
|
|
13055
|
+
if (kind && result) __defProp$u(target, key, result);
|
|
13065
13056
|
return result;
|
|
13066
13057
|
};
|
|
13067
13058
|
let NLDDSplitViewPane = class extends LitElement {
|
|
@@ -13071,6 +13062,11 @@ let NLDDSplitViewPane = class extends LitElement {
|
|
|
13071
13062
|
this.hideBack = false;
|
|
13072
13063
|
this.background = "inherit";
|
|
13073
13064
|
}
|
|
13065
|
+
connectedCallback() {
|
|
13066
|
+
super.connectedCallback();
|
|
13067
|
+
this.style.containerType = "inline-size";
|
|
13068
|
+
this.style.containerName = "layout-area";
|
|
13069
|
+
}
|
|
13074
13070
|
render() {
|
|
13075
13071
|
return splitViewPaneTemplate();
|
|
13076
13072
|
}
|
|
@@ -13103,8 +13099,6 @@ const pageStyles = css`
|
|
|
13103
13099
|
overflow-y: auto;
|
|
13104
13100
|
overflow-x: hidden;
|
|
13105
13101
|
background-color: var(--_background-color);
|
|
13106
|
-
padding-top: var(--context-bar-split-view-top-bars-height, 0px);
|
|
13107
|
-
padding-bottom: var(--context-bar-split-view-bottom-bars-height, 0px);
|
|
13108
13102
|
}
|
|
13109
13103
|
|
|
13110
13104
|
/* Overflow hidden prevents content from escaping the scroll wrapper.
|
|
@@ -13130,13 +13124,21 @@ const pageStyles = css`
|
|
|
13130
13124
|
}
|
|
13131
13125
|
|
|
13132
13126
|
|
|
13127
|
+
/* # Block */
|
|
13128
|
+
|
|
13129
|
+
.page {
|
|
13130
|
+
display: flex;
|
|
13131
|
+
flex-direction: column;
|
|
13132
|
+
flex-grow: 1;
|
|
13133
|
+
min-height: 0;
|
|
13134
|
+
}
|
|
13135
|
+
|
|
13136
|
+
|
|
13133
13137
|
/* # Header */
|
|
13134
13138
|
|
|
13135
13139
|
.page__header {
|
|
13136
13140
|
flex-shrink: 0;
|
|
13137
13141
|
position: relative;
|
|
13138
|
-
container-type: inline-size;
|
|
13139
|
-
container-name: layout-area;
|
|
13140
13142
|
}
|
|
13141
13143
|
|
|
13142
13144
|
:host([sticky-header]) .page__header {
|
|
@@ -13187,8 +13189,6 @@ const pageStyles = css`
|
|
|
13187
13189
|
display: flex;
|
|
13188
13190
|
flex-direction: column;
|
|
13189
13191
|
flex-grow: 1;
|
|
13190
|
-
container-type: inline-size;
|
|
13191
|
-
container-name: layout-area;
|
|
13192
13192
|
}
|
|
13193
13193
|
|
|
13194
13194
|
|
|
@@ -13197,8 +13197,6 @@ const pageStyles = css`
|
|
|
13197
13197
|
.page__footer {
|
|
13198
13198
|
flex-shrink: 0;
|
|
13199
13199
|
position: relative;
|
|
13200
|
-
container-type: inline-size;
|
|
13201
|
-
container-name: layout-area;
|
|
13202
13200
|
}
|
|
13203
13201
|
|
|
13204
13202
|
:host([sticky-footer]) .page__footer {
|
|
@@ -13221,27 +13219,29 @@ const pageStyles = css`
|
|
|
13221
13219
|
`;
|
|
13222
13220
|
function pageTemplate(component) {
|
|
13223
13221
|
return html`
|
|
13224
|
-
<
|
|
13225
|
-
<
|
|
13226
|
-
|
|
13227
|
-
|
|
13228
|
-
<
|
|
13229
|
-
<
|
|
13230
|
-
|
|
13231
|
-
|
|
13232
|
-
<
|
|
13233
|
-
|
|
13222
|
+
<div class="page">
|
|
13223
|
+
<header class="page__header ${component._scrolled ? "is-scrolled" : ""}">
|
|
13224
|
+
<slot name="header"></slot>
|
|
13225
|
+
</header>
|
|
13226
|
+
<div class="page__scroll">
|
|
13227
|
+
<main class="page__main">
|
|
13228
|
+
<slot></slot>
|
|
13229
|
+
</main>
|
|
13230
|
+
<footer class="page__footer">
|
|
13231
|
+
<slot name="footer"></slot>
|
|
13232
|
+
</footer>
|
|
13233
|
+
</div>
|
|
13234
13234
|
</div>
|
|
13235
13235
|
`;
|
|
13236
13236
|
}
|
|
13237
|
-
var __defProp$
|
|
13237
|
+
var __defProp$t = Object.defineProperty;
|
|
13238
13238
|
var __getOwnPropDesc$v = Object.getOwnPropertyDescriptor;
|
|
13239
13239
|
var __decorateClass$v = (decorators, target, key, kind) => {
|
|
13240
13240
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$v(target, key) : target;
|
|
13241
13241
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
13242
13242
|
if (decorator = decorators[i])
|
|
13243
13243
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
13244
|
-
if (kind && result) __defProp$
|
|
13244
|
+
if (kind && result) __defProp$t(target, key, result);
|
|
13245
13245
|
return result;
|
|
13246
13246
|
};
|
|
13247
13247
|
let NLDDPage = class extends LitElement {
|
|
@@ -13253,10 +13253,19 @@ let NLDDPage = class extends LitElement {
|
|
|
13253
13253
|
this._scrolled = false;
|
|
13254
13254
|
this._scrollTarget = null;
|
|
13255
13255
|
this._headerObserver = null;
|
|
13256
|
+
this._mainSlot = null;
|
|
13256
13257
|
this._onScroll = () => {
|
|
13257
13258
|
const target = this.stickyHeader ? this._scrollEl : this;
|
|
13258
13259
|
this._scrolled = target.scrollTop > 0;
|
|
13259
13260
|
};
|
|
13261
|
+
this._updateMainItems = () => {
|
|
13262
|
+
const slot = this._mainSlot;
|
|
13263
|
+
if (!slot) return;
|
|
13264
|
+
const items = slot.assignedElements();
|
|
13265
|
+
const visible = items.filter((el) => !el.hasAttribute("hidden"));
|
|
13266
|
+
const last = visible[visible.length - 1];
|
|
13267
|
+
items.forEach((el) => el.classList.toggle("is-last", el === last));
|
|
13268
|
+
};
|
|
13260
13269
|
}
|
|
13261
13270
|
get scrollTarget() {
|
|
13262
13271
|
return this.stickyHeader ? this._scrollEl ?? this : this;
|
|
@@ -13269,6 +13278,8 @@ let NLDDPage = class extends LitElement {
|
|
|
13269
13278
|
}
|
|
13270
13279
|
connectedCallback() {
|
|
13271
13280
|
super.connectedCallback();
|
|
13281
|
+
this.style.containerType = "inline-size";
|
|
13282
|
+
this.style.containerName = "layout-area";
|
|
13272
13283
|
if (this.hasUpdated) {
|
|
13273
13284
|
this._setupScrollListener();
|
|
13274
13285
|
if (this.stickyHeader) this._setupHeaderObserver();
|
|
@@ -13278,10 +13289,12 @@ let NLDDPage = class extends LitElement {
|
|
|
13278
13289
|
super.disconnectedCallback();
|
|
13279
13290
|
this._teardownScrollListener();
|
|
13280
13291
|
this._teardownHeaderObserver();
|
|
13292
|
+
this._teardownMainSlotListener();
|
|
13281
13293
|
}
|
|
13282
13294
|
firstUpdated() {
|
|
13283
13295
|
this._setupScrollListener();
|
|
13284
13296
|
if (this.stickyHeader) this._setupHeaderObserver();
|
|
13297
|
+
this._setupMainSlotListener();
|
|
13285
13298
|
}
|
|
13286
13299
|
updated(changed) {
|
|
13287
13300
|
if (changed.has("stickyHeader")) {
|
|
@@ -13324,6 +13337,25 @@ let NLDDPage = class extends LitElement {
|
|
|
13324
13337
|
this._headerObserver = null;
|
|
13325
13338
|
}
|
|
13326
13339
|
}
|
|
13340
|
+
// Mark the last visible main-slot child with `is-last`, so section-style
|
|
13341
|
+
// components can grow to fill remaining vertical space without coupling
|
|
13342
|
+
// to specific tag types or relying on light-DOM `:last-child` (which
|
|
13343
|
+
// breaks when slot="footer" siblings are present). Same shape as
|
|
13344
|
+
// nldd-list's _updateItems().
|
|
13345
|
+
_setupMainSlotListener() {
|
|
13346
|
+
this._teardownMainSlotListener();
|
|
13347
|
+
const slot = this.shadowRoot?.querySelector("slot:not([name])") ?? null;
|
|
13348
|
+
this._mainSlot = slot;
|
|
13349
|
+
if (!slot) return;
|
|
13350
|
+
slot.addEventListener("slotchange", this._updateMainItems);
|
|
13351
|
+
this._updateMainItems();
|
|
13352
|
+
}
|
|
13353
|
+
_teardownMainSlotListener() {
|
|
13354
|
+
if (this._mainSlot) {
|
|
13355
|
+
this._mainSlot.removeEventListener("slotchange", this._updateMainItems);
|
|
13356
|
+
this._mainSlot = null;
|
|
13357
|
+
}
|
|
13358
|
+
}
|
|
13327
13359
|
render() {
|
|
13328
13360
|
return pageTemplate(this);
|
|
13329
13361
|
}
|
|
@@ -13350,7 +13382,9 @@ const page = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
|
|
|
13350
13382
|
return NLDDPage;
|
|
13351
13383
|
}
|
|
13352
13384
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13353
|
-
const
|
|
13385
|
+
const smMax$9 = unsafeCSS(breakpoints.smMax);
|
|
13386
|
+
const mdMin$a = unsafeCSS(breakpoints.mdMin);
|
|
13387
|
+
const mdMax$6 = unsafeCSS(breakpoints.mdMax);
|
|
13354
13388
|
const lgMin$8 = unsafeCSS(breakpoints.lgMin);
|
|
13355
13389
|
const simpleSectionStyles = css`
|
|
13356
13390
|
|
|
@@ -13361,6 +13395,8 @@ const simpleSectionStyles = css`
|
|
|
13361
13395
|
zonder layout-area dient @media als fallback. */
|
|
13362
13396
|
|
|
13363
13397
|
:host {
|
|
13398
|
+
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
13399
|
+
|
|
13364
13400
|
display: flex;
|
|
13365
13401
|
flex-direction: column;
|
|
13366
13402
|
align-items: center;
|
|
@@ -13371,13 +13407,17 @@ const simpleSectionStyles = css`
|
|
|
13371
13407
|
display: none;
|
|
13372
13408
|
}
|
|
13373
13409
|
|
|
13374
|
-
:host(
|
|
13410
|
+
:host(:last-child),
|
|
13411
|
+
:host(.is-last) {
|
|
13375
13412
|
flex-grow: 1;
|
|
13376
13413
|
}
|
|
13377
13414
|
|
|
13415
|
+
:host([full-width]) {
|
|
13416
|
+
--_max-width: none;
|
|
13417
|
+
}
|
|
13418
|
+
|
|
13378
13419
|
|
|
13379
|
-
/* # Block
|
|
13380
|
-
@container layout-area (heeft voorrang binnen layout-area). */
|
|
13420
|
+
/* # Block */
|
|
13381
13421
|
|
|
13382
13422
|
.simple-section {
|
|
13383
13423
|
display: flex;
|
|
@@ -13386,10 +13426,13 @@ const simpleSectionStyles = css`
|
|
|
13386
13426
|
align-items: center;
|
|
13387
13427
|
width: 100%;
|
|
13388
13428
|
box-sizing: border-box;
|
|
13389
|
-
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
13390
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13391
13429
|
|
|
13392
|
-
@media (
|
|
13430
|
+
@media (max-width: ${smMax$9}) {
|
|
13431
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
13432
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13433
|
+
}
|
|
13434
|
+
|
|
13435
|
+
@media (min-width: ${mdMin$a}) and (max-width: ${mdMax$6}) {
|
|
13393
13436
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
13394
13437
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
13395
13438
|
}
|
|
@@ -13399,7 +13442,12 @@ const simpleSectionStyles = css`
|
|
|
13399
13442
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
13400
13443
|
}
|
|
13401
13444
|
|
|
13402
|
-
@container layout-area (
|
|
13445
|
+
@container layout-area (max-width: ${smMax$9}) {
|
|
13446
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
13447
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13448
|
+
}
|
|
13449
|
+
|
|
13450
|
+
@container layout-area (min-width: ${mdMin$a}) and (max-width: ${mdMax$6}) {
|
|
13403
13451
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
13404
13452
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
13405
13453
|
}
|
|
@@ -13425,10 +13473,13 @@ const simpleSectionStyles = css`
|
|
|
13425
13473
|
flex-direction: column;
|
|
13426
13474
|
flex-grow: 1;
|
|
13427
13475
|
width: 100%;
|
|
13428
|
-
max-width: var(--
|
|
13429
|
-
|
|
13476
|
+
max-width: var(--_max-width);
|
|
13477
|
+
|
|
13478
|
+
@media (max-width: ${smMax$9}) {
|
|
13479
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
13480
|
+
}
|
|
13430
13481
|
|
|
13431
|
-
@media (min-width: ${mdMin$
|
|
13482
|
+
@media (min-width: ${mdMin$a}) and (max-width: ${mdMax$6}) {
|
|
13432
13483
|
gap: var(--semantics-page-sections-md-gap);
|
|
13433
13484
|
}
|
|
13434
13485
|
|
|
@@ -13436,7 +13487,11 @@ const simpleSectionStyles = css`
|
|
|
13436
13487
|
gap: var(--semantics-page-sections-lg-gap);
|
|
13437
13488
|
}
|
|
13438
13489
|
|
|
13439
|
-
@container layout-area (
|
|
13490
|
+
@container layout-area (max-width: ${smMax$9}) {
|
|
13491
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
13492
|
+
}
|
|
13493
|
+
|
|
13494
|
+
@container layout-area (min-width: ${mdMin$a}) and (max-width: ${mdMax$6}) {
|
|
13440
13495
|
gap: var(--semantics-page-sections-md-gap);
|
|
13441
13496
|
}
|
|
13442
13497
|
|
|
@@ -13460,10 +13515,6 @@ const simpleSectionStyles = css`
|
|
|
13460
13515
|
flex-direction: column;
|
|
13461
13516
|
flex-grow: 1;
|
|
13462
13517
|
}
|
|
13463
|
-
|
|
13464
|
-
:host([align="center"]) .simple-section__main {
|
|
13465
|
-
justify-content: center;
|
|
13466
|
-
}
|
|
13467
13518
|
`;
|
|
13468
13519
|
function simpleSectionTemplate(component) {
|
|
13469
13520
|
return html`
|
|
@@ -13482,17 +13533,21 @@ function simpleSectionTemplate(component) {
|
|
|
13482
13533
|
</section>
|
|
13483
13534
|
`;
|
|
13484
13535
|
}
|
|
13485
|
-
var __defProp$
|
|
13536
|
+
var __defProp$s = Object.defineProperty;
|
|
13486
13537
|
var __getOwnPropDesc$u = Object.getOwnPropertyDescriptor;
|
|
13487
13538
|
var __decorateClass$u = (decorators, target, key, kind) => {
|
|
13488
13539
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$u(target, key) : target;
|
|
13489
13540
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
13490
13541
|
if (decorator = decorators[i])
|
|
13491
13542
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
13492
|
-
if (kind && result) __defProp$
|
|
13543
|
+
if (kind && result) __defProp$s(target, key, result);
|
|
13493
13544
|
return result;
|
|
13494
13545
|
};
|
|
13495
13546
|
let NLDDSimpleSection = class extends LitElement {
|
|
13547
|
+
constructor() {
|
|
13548
|
+
super(...arguments);
|
|
13549
|
+
this.fullWidth = false;
|
|
13550
|
+
}
|
|
13496
13551
|
_onSlotChange(e) {
|
|
13497
13552
|
const slot = e.target;
|
|
13498
13553
|
const wrapper = slot.parentElement;
|
|
@@ -13504,8 +13559,8 @@ let NLDDSimpleSection = class extends LitElement {
|
|
|
13504
13559
|
};
|
|
13505
13560
|
NLDDSimpleSection.styles = simpleSectionStyles;
|
|
13506
13561
|
__decorateClass$u([
|
|
13507
|
-
property({ type:
|
|
13508
|
-
], NLDDSimpleSection.prototype, "
|
|
13562
|
+
property({ type: Boolean, reflect: true, attribute: "full-width" })
|
|
13563
|
+
], NLDDSimpleSection.prototype, "fullWidth", 2);
|
|
13509
13564
|
NLDDSimpleSection = __decorateClass$u([
|
|
13510
13565
|
customElement("nldd-simple-section")
|
|
13511
13566
|
], NLDDSimpleSection);
|
|
@@ -13515,7 +13570,9 @@ const simpleSection = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defin
|
|
|
13515
13570
|
return NLDDSimpleSection;
|
|
13516
13571
|
}
|
|
13517
13572
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13518
|
-
const
|
|
13573
|
+
const smMax$8 = unsafeCSS(breakpoints.smMax);
|
|
13574
|
+
const mdMin$9 = unsafeCSS(breakpoints.mdMin);
|
|
13575
|
+
const mdMax$5 = unsafeCSS(breakpoints.mdMax);
|
|
13519
13576
|
const lgMin$7 = unsafeCSS(breakpoints.lgMin);
|
|
13520
13577
|
const fullBleedSectionStyles = css`
|
|
13521
13578
|
|
|
@@ -13526,6 +13583,8 @@ const fullBleedSectionStyles = css`
|
|
|
13526
13583
|
zonder layout-area dient @media als fallback. */
|
|
13527
13584
|
|
|
13528
13585
|
:host {
|
|
13586
|
+
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
13587
|
+
|
|
13529
13588
|
display: flex;
|
|
13530
13589
|
flex-direction: column;
|
|
13531
13590
|
align-items: center;
|
|
@@ -13536,13 +13595,12 @@ const fullBleedSectionStyles = css`
|
|
|
13536
13595
|
display: none;
|
|
13537
13596
|
}
|
|
13538
13597
|
|
|
13539
|
-
:host([
|
|
13540
|
-
|
|
13598
|
+
:host([full-width]) {
|
|
13599
|
+
--_max-width: none;
|
|
13541
13600
|
}
|
|
13542
13601
|
|
|
13543
13602
|
|
|
13544
|
-
/* # Block
|
|
13545
|
-
@container layout-area (heeft voorrang binnen layout-area). */
|
|
13603
|
+
/* # Block */
|
|
13546
13604
|
|
|
13547
13605
|
.full-bleed-section {
|
|
13548
13606
|
display: flex;
|
|
@@ -13550,9 +13608,12 @@ const fullBleedSectionStyles = css`
|
|
|
13550
13608
|
flex-grow: 1;
|
|
13551
13609
|
width: 100%;
|
|
13552
13610
|
box-sizing: border-box;
|
|
13553
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13554
13611
|
|
|
13555
|
-
@media (
|
|
13612
|
+
@media (max-width: ${smMax$8}) {
|
|
13613
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13614
|
+
}
|
|
13615
|
+
|
|
13616
|
+
@media (min-width: ${mdMin$9}) and (max-width: ${mdMax$5}) {
|
|
13556
13617
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
13557
13618
|
}
|
|
13558
13619
|
|
|
@@ -13560,7 +13621,11 @@ const fullBleedSectionStyles = css`
|
|
|
13560
13621
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
13561
13622
|
}
|
|
13562
13623
|
|
|
13563
|
-
@container layout-area (
|
|
13624
|
+
@container layout-area (max-width: ${smMax$8}) {
|
|
13625
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13626
|
+
}
|
|
13627
|
+
|
|
13628
|
+
@container layout-area (min-width: ${mdMin$9}) and (max-width: ${mdMax$5}) {
|
|
13564
13629
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
13565
13630
|
}
|
|
13566
13631
|
|
|
@@ -13584,9 +13649,13 @@ const fullBleedSectionStyles = css`
|
|
|
13584
13649
|
flex-direction: column;
|
|
13585
13650
|
flex-grow: 1;
|
|
13586
13651
|
width: 100%;
|
|
13587
|
-
|
|
13652
|
+
max-width: var(--_max-width);
|
|
13588
13653
|
|
|
13589
|
-
@media (
|
|
13654
|
+
@media (max-width: ${smMax$8}) {
|
|
13655
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
13656
|
+
}
|
|
13657
|
+
|
|
13658
|
+
@media (min-width: ${mdMin$9}) and (max-width: ${mdMax$5}) {
|
|
13590
13659
|
gap: var(--semantics-page-sections-md-gap);
|
|
13591
13660
|
}
|
|
13592
13661
|
|
|
@@ -13594,7 +13663,11 @@ const fullBleedSectionStyles = css`
|
|
|
13594
13663
|
gap: var(--semantics-page-sections-lg-gap);
|
|
13595
13664
|
}
|
|
13596
13665
|
|
|
13597
|
-
@container layout-area (
|
|
13666
|
+
@container layout-area (max-width: ${smMax$8}) {
|
|
13667
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
13668
|
+
}
|
|
13669
|
+
|
|
13670
|
+
@container layout-area (min-width: ${mdMin$9}) and (max-width: ${mdMax$5}) {
|
|
13598
13671
|
gap: var(--semantics-page-sections-md-gap);
|
|
13599
13672
|
}
|
|
13600
13673
|
|
|
@@ -13618,11 +13691,6 @@ const fullBleedSectionStyles = css`
|
|
|
13618
13691
|
flex-direction: column;
|
|
13619
13692
|
flex-grow: 1;
|
|
13620
13693
|
}
|
|
13621
|
-
|
|
13622
|
-
:host([align="center"]) .full-bleed-section__main {
|
|
13623
|
-
justify-content: center;
|
|
13624
|
-
}
|
|
13625
|
-
|
|
13626
13694
|
`;
|
|
13627
13695
|
function fullBleedSectionTemplate(component) {
|
|
13628
13696
|
return html`
|
|
@@ -13641,17 +13709,21 @@ function fullBleedSectionTemplate(component) {
|
|
|
13641
13709
|
</section>
|
|
13642
13710
|
`;
|
|
13643
13711
|
}
|
|
13644
|
-
var __defProp$
|
|
13712
|
+
var __defProp$r = Object.defineProperty;
|
|
13645
13713
|
var __getOwnPropDesc$t = Object.getOwnPropertyDescriptor;
|
|
13646
13714
|
var __decorateClass$t = (decorators, target, key, kind) => {
|
|
13647
13715
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$t(target, key) : target;
|
|
13648
13716
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
13649
13717
|
if (decorator = decorators[i])
|
|
13650
13718
|
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
13651
|
-
if (kind && result) __defProp$
|
|
13719
|
+
if (kind && result) __defProp$r(target, key, result);
|
|
13652
13720
|
return result;
|
|
13653
13721
|
};
|
|
13654
13722
|
let NLDDFullBleedSection = class extends LitElement {
|
|
13723
|
+
constructor() {
|
|
13724
|
+
super(...arguments);
|
|
13725
|
+
this.fullWidth = false;
|
|
13726
|
+
}
|
|
13655
13727
|
_onSlotChange(e) {
|
|
13656
13728
|
const slot = e.target;
|
|
13657
13729
|
const wrapper = slot.parentElement;
|
|
@@ -13663,12 +13735,14 @@ let NLDDFullBleedSection = class extends LitElement {
|
|
|
13663
13735
|
};
|
|
13664
13736
|
NLDDFullBleedSection.styles = fullBleedSectionStyles;
|
|
13665
13737
|
__decorateClass$t([
|
|
13666
|
-
property({ type:
|
|
13667
|
-
], NLDDFullBleedSection.prototype, "
|
|
13738
|
+
property({ type: Boolean, reflect: true, attribute: "full-width" })
|
|
13739
|
+
], NLDDFullBleedSection.prototype, "fullWidth", 2);
|
|
13668
13740
|
NLDDFullBleedSection = __decorateClass$t([
|
|
13669
13741
|
customElement("nldd-full-bleed-section")
|
|
13670
13742
|
], NLDDFullBleedSection);
|
|
13671
|
-
const
|
|
13743
|
+
const smMax$7 = unsafeCSS(breakpoints.smMax);
|
|
13744
|
+
const mdMin$8 = unsafeCSS(breakpoints.mdMin);
|
|
13745
|
+
const mdMax$4 = unsafeCSS(breakpoints.mdMax);
|
|
13672
13746
|
const lgMin$6 = unsafeCSS(breakpoints.lgMin);
|
|
13673
13747
|
const oneThirdTwoThirdsSectionStyles = css`
|
|
13674
13748
|
|
|
@@ -13679,6 +13753,8 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
13679
13753
|
zonder layout-area dient @media als fallback. */
|
|
13680
13754
|
|
|
13681
13755
|
:host {
|
|
13756
|
+
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
13757
|
+
|
|
13682
13758
|
display: flex;
|
|
13683
13759
|
flex-direction: column;
|
|
13684
13760
|
align-items: center;
|
|
@@ -13689,9 +13765,12 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
13689
13765
|
display: none;
|
|
13690
13766
|
}
|
|
13691
13767
|
|
|
13768
|
+
:host([full-width]) {
|
|
13769
|
+
--_max-width: none;
|
|
13770
|
+
}
|
|
13771
|
+
|
|
13692
13772
|
|
|
13693
|
-
/* # Block
|
|
13694
|
-
@container layout-area (heeft voorrang binnen layout-area). */
|
|
13773
|
+
/* # Block */
|
|
13695
13774
|
|
|
13696
13775
|
.one-third-two-thirds-section {
|
|
13697
13776
|
display: flex;
|
|
@@ -13699,10 +13778,13 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
13699
13778
|
align-items: center;
|
|
13700
13779
|
width: 100%;
|
|
13701
13780
|
box-sizing: border-box;
|
|
13702
|
-
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
13703
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13704
13781
|
|
|
13705
|
-
@media (
|
|
13782
|
+
@media (max-width: ${smMax$7}) {
|
|
13783
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
13784
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13785
|
+
}
|
|
13786
|
+
|
|
13787
|
+
@media (min-width: ${mdMin$8}) and (max-width: ${mdMax$4}) {
|
|
13706
13788
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
13707
13789
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
13708
13790
|
}
|
|
@@ -13712,7 +13794,12 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
13712
13794
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
13713
13795
|
}
|
|
13714
13796
|
|
|
13715
|
-
@container layout-area (
|
|
13797
|
+
@container layout-area (max-width: ${smMax$7}) {
|
|
13798
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
13799
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13800
|
+
}
|
|
13801
|
+
|
|
13802
|
+
@container layout-area (min-width: ${mdMin$8}) and (max-width: ${mdMax$4}) {
|
|
13716
13803
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
13717
13804
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
13718
13805
|
}
|
|
@@ -13730,10 +13817,13 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
13730
13817
|
display: flex;
|
|
13731
13818
|
flex-direction: column;
|
|
13732
13819
|
width: 100%;
|
|
13733
|
-
max-width: var(--
|
|
13734
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
13820
|
+
max-width: var(--_max-width);
|
|
13735
13821
|
|
|
13736
|
-
@media (
|
|
13822
|
+
@media (max-width: ${smMax$7}) {
|
|
13823
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
13824
|
+
}
|
|
13825
|
+
|
|
13826
|
+
@media (min-width: ${mdMin$8}) and (max-width: ${mdMax$4}) {
|
|
13737
13827
|
gap: var(--semantics-page-sections-md-gap);
|
|
13738
13828
|
}
|
|
13739
13829
|
|
|
@@ -13741,7 +13831,11 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
13741
13831
|
gap: var(--semantics-page-sections-lg-gap);
|
|
13742
13832
|
}
|
|
13743
13833
|
|
|
13744
|
-
@container layout-area (
|
|
13834
|
+
@container layout-area (max-width: ${smMax$7}) {
|
|
13835
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
13836
|
+
}
|
|
13837
|
+
|
|
13838
|
+
@container layout-area (min-width: ${mdMin$8}) and (max-width: ${mdMax$4}) {
|
|
13745
13839
|
gap: var(--semantics-page-sections-md-gap);
|
|
13746
13840
|
}
|
|
13747
13841
|
|
|
@@ -13756,9 +13850,12 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
13756
13850
|
.one-third-two-thirds-section__columns {
|
|
13757
13851
|
display: flex;
|
|
13758
13852
|
flex-wrap: wrap;
|
|
13759
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
13760
13853
|
|
|
13761
|
-
@media (
|
|
13854
|
+
@media (max-width: ${smMax$7}) {
|
|
13855
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
13856
|
+
}
|
|
13857
|
+
|
|
13858
|
+
@media (min-width: ${mdMin$8}) and (max-width: ${mdMax$4}) {
|
|
13762
13859
|
gap: var(--semantics-page-sections-md-gap);
|
|
13763
13860
|
}
|
|
13764
13861
|
|
|
@@ -13766,7 +13863,11 @@ const oneThirdTwoThirdsSectionStyles = css`
|
|
|
13766
13863
|
gap: var(--semantics-page-sections-lg-gap);
|
|
13767
13864
|
}
|
|
13768
13865
|
|
|
13769
|
-
@container layout-area (
|
|
13866
|
+
@container layout-area (max-width: ${smMax$7}) {
|
|
13867
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
13868
|
+
}
|
|
13869
|
+
|
|
13870
|
+
@container layout-area (min-width: ${mdMin$8}) and (max-width: ${mdMax$4}) {
|
|
13770
13871
|
gap: var(--semantics-page-sections-md-gap);
|
|
13771
13872
|
}
|
|
13772
13873
|
|
|
@@ -13804,24 +13905,35 @@ function oneThirdTwoThirdsSectionTemplate(_component) {
|
|
|
13804
13905
|
</section>
|
|
13805
13906
|
`;
|
|
13806
13907
|
}
|
|
13908
|
+
var __defProp$q = Object.defineProperty;
|
|
13807
13909
|
var __getOwnPropDesc$s = Object.getOwnPropertyDescriptor;
|
|
13808
13910
|
var __decorateClass$s = (decorators, target, key, kind) => {
|
|
13809
13911
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$s(target, key) : target;
|
|
13810
13912
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
13811
13913
|
if (decorator = decorators[i])
|
|
13812
|
-
result = decorator(result) || result;
|
|
13914
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
13915
|
+
if (kind && result) __defProp$q(target, key, result);
|
|
13813
13916
|
return result;
|
|
13814
13917
|
};
|
|
13815
13918
|
let NLDDOneThirdTwoThirdsSection = class extends LitElement {
|
|
13919
|
+
constructor() {
|
|
13920
|
+
super(...arguments);
|
|
13921
|
+
this.fullWidth = false;
|
|
13922
|
+
}
|
|
13816
13923
|
render() {
|
|
13817
13924
|
return oneThirdTwoThirdsSectionTemplate();
|
|
13818
13925
|
}
|
|
13819
13926
|
};
|
|
13820
13927
|
NLDDOneThirdTwoThirdsSection.styles = oneThirdTwoThirdsSectionStyles;
|
|
13928
|
+
__decorateClass$s([
|
|
13929
|
+
property({ type: Boolean, reflect: true, attribute: "full-width" })
|
|
13930
|
+
], NLDDOneThirdTwoThirdsSection.prototype, "fullWidth", 2);
|
|
13821
13931
|
NLDDOneThirdTwoThirdsSection = __decorateClass$s([
|
|
13822
13932
|
customElement("nldd-one-third-two-thirds-section")
|
|
13823
13933
|
], NLDDOneThirdTwoThirdsSection);
|
|
13824
|
-
const
|
|
13934
|
+
const smMax$6 = unsafeCSS(breakpoints.smMax);
|
|
13935
|
+
const mdMin$7 = unsafeCSS(breakpoints.mdMin);
|
|
13936
|
+
const mdMax$3 = unsafeCSS(breakpoints.mdMax);
|
|
13825
13937
|
const lgMin$5 = unsafeCSS(breakpoints.lgMin);
|
|
13826
13938
|
const twoThirdsOneThirdSectionStyles = css`
|
|
13827
13939
|
|
|
@@ -13832,6 +13944,8 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
13832
13944
|
zonder layout-area dient @media als fallback. */
|
|
13833
13945
|
|
|
13834
13946
|
:host {
|
|
13947
|
+
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
13948
|
+
|
|
13835
13949
|
display: flex;
|
|
13836
13950
|
flex-direction: column;
|
|
13837
13951
|
align-items: center;
|
|
@@ -13842,9 +13956,12 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
13842
13956
|
display: none;
|
|
13843
13957
|
}
|
|
13844
13958
|
|
|
13959
|
+
:host([full-width]) {
|
|
13960
|
+
--_max-width: none;
|
|
13961
|
+
}
|
|
13845
13962
|
|
|
13846
|
-
|
|
13847
|
-
|
|
13963
|
+
|
|
13964
|
+
/* # Block */
|
|
13848
13965
|
|
|
13849
13966
|
.two-thirds-one-third-section {
|
|
13850
13967
|
display: flex;
|
|
@@ -13852,10 +13969,13 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
13852
13969
|
align-items: center;
|
|
13853
13970
|
width: 100%;
|
|
13854
13971
|
box-sizing: border-box;
|
|
13855
|
-
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
13856
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13857
13972
|
|
|
13858
|
-
@media (
|
|
13973
|
+
@media (max-width: ${smMax$6}) {
|
|
13974
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
13975
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13976
|
+
}
|
|
13977
|
+
|
|
13978
|
+
@media (min-width: ${mdMin$7}) and (max-width: ${mdMax$3}) {
|
|
13859
13979
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
13860
13980
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
13861
13981
|
}
|
|
@@ -13865,7 +13985,12 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
13865
13985
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
13866
13986
|
}
|
|
13867
13987
|
|
|
13868
|
-
@container layout-area (
|
|
13988
|
+
@container layout-area (max-width: ${smMax$6}) {
|
|
13989
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
13990
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
13991
|
+
}
|
|
13992
|
+
|
|
13993
|
+
@container layout-area (min-width: ${mdMin$7}) and (max-width: ${mdMax$3}) {
|
|
13869
13994
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
13870
13995
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
13871
13996
|
}
|
|
@@ -13883,10 +14008,13 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
13883
14008
|
display: flex;
|
|
13884
14009
|
flex-direction: column;
|
|
13885
14010
|
width: 100%;
|
|
13886
|
-
max-width: var(--
|
|
13887
|
-
|
|
14011
|
+
max-width: var(--_max-width);
|
|
14012
|
+
|
|
14013
|
+
@media (max-width: ${smMax$6}) {
|
|
14014
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
14015
|
+
}
|
|
13888
14016
|
|
|
13889
|
-
@media (min-width: ${mdMin$
|
|
14017
|
+
@media (min-width: ${mdMin$7}) and (max-width: ${mdMax$3}) {
|
|
13890
14018
|
gap: var(--semantics-page-sections-md-gap);
|
|
13891
14019
|
}
|
|
13892
14020
|
|
|
@@ -13894,7 +14022,11 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
13894
14022
|
gap: var(--semantics-page-sections-lg-gap);
|
|
13895
14023
|
}
|
|
13896
14024
|
|
|
13897
|
-
@container layout-area (
|
|
14025
|
+
@container layout-area (max-width: ${smMax$6}) {
|
|
14026
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
14027
|
+
}
|
|
14028
|
+
|
|
14029
|
+
@container layout-area (min-width: ${mdMin$7}) and (max-width: ${mdMax$3}) {
|
|
13898
14030
|
gap: var(--semantics-page-sections-md-gap);
|
|
13899
14031
|
}
|
|
13900
14032
|
|
|
@@ -13909,9 +14041,12 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
13909
14041
|
.two-thirds-one-third-section__columns {
|
|
13910
14042
|
display: flex;
|
|
13911
14043
|
flex-wrap: wrap;
|
|
13912
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
13913
14044
|
|
|
13914
|
-
@media (
|
|
14045
|
+
@media (max-width: ${smMax$6}) {
|
|
14046
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
14047
|
+
}
|
|
14048
|
+
|
|
14049
|
+
@media (min-width: ${mdMin$7}) and (max-width: ${mdMax$3}) {
|
|
13915
14050
|
gap: var(--semantics-page-sections-md-gap);
|
|
13916
14051
|
}
|
|
13917
14052
|
|
|
@@ -13919,7 +14054,11 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
13919
14054
|
gap: var(--semantics-page-sections-lg-gap);
|
|
13920
14055
|
}
|
|
13921
14056
|
|
|
13922
|
-
@container layout-area (
|
|
14057
|
+
@container layout-area (max-width: ${smMax$6}) {
|
|
14058
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
14059
|
+
}
|
|
14060
|
+
|
|
14061
|
+
@container layout-area (min-width: ${mdMin$7}) and (max-width: ${mdMax$3}) {
|
|
13923
14062
|
gap: var(--semantics-page-sections-md-gap);
|
|
13924
14063
|
}
|
|
13925
14064
|
|
|
@@ -13937,7 +14076,6 @@ const twoThirdsOneThirdSectionStyles = css`
|
|
|
13937
14076
|
flex: 1;
|
|
13938
14077
|
min-width: var(--primitives-area-280);
|
|
13939
14078
|
}
|
|
13940
|
-
|
|
13941
14079
|
`;
|
|
13942
14080
|
function twoThirdsOneThirdSectionTemplate(_component) {
|
|
13943
14081
|
return html`
|
|
@@ -13958,24 +14096,35 @@ function twoThirdsOneThirdSectionTemplate(_component) {
|
|
|
13958
14096
|
</section>
|
|
13959
14097
|
`;
|
|
13960
14098
|
}
|
|
14099
|
+
var __defProp$p = Object.defineProperty;
|
|
13961
14100
|
var __getOwnPropDesc$r = Object.getOwnPropertyDescriptor;
|
|
13962
14101
|
var __decorateClass$r = (decorators, target, key, kind) => {
|
|
13963
14102
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$r(target, key) : target;
|
|
13964
14103
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
13965
14104
|
if (decorator = decorators[i])
|
|
13966
|
-
result = decorator(result) || result;
|
|
14105
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
14106
|
+
if (kind && result) __defProp$p(target, key, result);
|
|
13967
14107
|
return result;
|
|
13968
14108
|
};
|
|
13969
14109
|
let NLDDTwoThirdsOneThirdSection = class extends LitElement {
|
|
14110
|
+
constructor() {
|
|
14111
|
+
super(...arguments);
|
|
14112
|
+
this.fullWidth = false;
|
|
14113
|
+
}
|
|
13970
14114
|
render() {
|
|
13971
14115
|
return twoThirdsOneThirdSectionTemplate();
|
|
13972
14116
|
}
|
|
13973
14117
|
};
|
|
13974
14118
|
NLDDTwoThirdsOneThirdSection.styles = twoThirdsOneThirdSectionStyles;
|
|
14119
|
+
__decorateClass$r([
|
|
14120
|
+
property({ type: Boolean, reflect: true, attribute: "full-width" })
|
|
14121
|
+
], NLDDTwoThirdsOneThirdSection.prototype, "fullWidth", 2);
|
|
13975
14122
|
NLDDTwoThirdsOneThirdSection = __decorateClass$r([
|
|
13976
14123
|
customElement("nldd-two-thirds-one-third-section")
|
|
13977
14124
|
], NLDDTwoThirdsOneThirdSection);
|
|
13978
|
-
const
|
|
14125
|
+
const smMax$5 = unsafeCSS(breakpoints.smMax);
|
|
14126
|
+
const mdMin$6 = unsafeCSS(breakpoints.mdMin);
|
|
14127
|
+
const mdMax$2 = unsafeCSS(breakpoints.mdMax);
|
|
13979
14128
|
const lgMin$4 = unsafeCSS(breakpoints.lgMin);
|
|
13980
14129
|
const oneHalfOneHalfSectionStyles = css`
|
|
13981
14130
|
|
|
@@ -13986,6 +14135,8 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
13986
14135
|
zonder layout-area dient @media als fallback. */
|
|
13987
14136
|
|
|
13988
14137
|
:host {
|
|
14138
|
+
--_max-width: var(--semantics-page-sections-body-max-width);
|
|
14139
|
+
|
|
13989
14140
|
display: flex;
|
|
13990
14141
|
flex-direction: column;
|
|
13991
14142
|
align-items: center;
|
|
@@ -13996,9 +14147,12 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
13996
14147
|
display: none;
|
|
13997
14148
|
}
|
|
13998
14149
|
|
|
14150
|
+
:host([full-width]) {
|
|
14151
|
+
--_max-width: none;
|
|
14152
|
+
}
|
|
14153
|
+
|
|
13999
14154
|
|
|
14000
|
-
/* # Block
|
|
14001
|
-
@container layout-area (heeft voorrang binnen layout-area). */
|
|
14155
|
+
/* # Block */
|
|
14002
14156
|
|
|
14003
14157
|
.one-half-one-half-section {
|
|
14004
14158
|
display: flex;
|
|
@@ -14006,10 +14160,13 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
14006
14160
|
align-items: center;
|
|
14007
14161
|
width: 100%;
|
|
14008
14162
|
box-sizing: border-box;
|
|
14009
|
-
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
14010
|
-
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
14011
14163
|
|
|
14012
|
-
@media (
|
|
14164
|
+
@media (max-width: ${smMax$5}) {
|
|
14165
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
14166
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
14167
|
+
}
|
|
14168
|
+
|
|
14169
|
+
@media (min-width: ${mdMin$6}) and (max-width: ${mdMax$2}) {
|
|
14013
14170
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
14014
14171
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
14015
14172
|
}
|
|
@@ -14019,7 +14176,12 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
14019
14176
|
padding-block: var(--semantics-page-sections-lg-margin-block);
|
|
14020
14177
|
}
|
|
14021
14178
|
|
|
14022
|
-
@container layout-area (
|
|
14179
|
+
@container layout-area (max-width: ${smMax$5}) {
|
|
14180
|
+
padding-inline: var(--semantics-page-sections-sm-margin-inline);
|
|
14181
|
+
padding-block: var(--semantics-page-sections-sm-margin-block);
|
|
14182
|
+
}
|
|
14183
|
+
|
|
14184
|
+
@container layout-area (min-width: ${mdMin$6}) and (max-width: ${mdMax$2}) {
|
|
14023
14185
|
padding-inline: var(--semantics-page-sections-md-margin-inline);
|
|
14024
14186
|
padding-block: var(--semantics-page-sections-md-margin-block);
|
|
14025
14187
|
}
|
|
@@ -14037,10 +14199,13 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
14037
14199
|
display: flex;
|
|
14038
14200
|
flex-direction: column;
|
|
14039
14201
|
width: 100%;
|
|
14040
|
-
max-width: var(--
|
|
14041
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
14202
|
+
max-width: var(--_max-width);
|
|
14042
14203
|
|
|
14043
|
-
@media (
|
|
14204
|
+
@media (max-width: ${smMax$5}) {
|
|
14205
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
14206
|
+
}
|
|
14207
|
+
|
|
14208
|
+
@media (min-width: ${mdMin$6}) and (max-width: ${mdMax$2}) {
|
|
14044
14209
|
gap: var(--semantics-page-sections-md-gap);
|
|
14045
14210
|
}
|
|
14046
14211
|
|
|
@@ -14048,7 +14213,11 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
14048
14213
|
gap: var(--semantics-page-sections-lg-gap);
|
|
14049
14214
|
}
|
|
14050
14215
|
|
|
14051
|
-
@container layout-area (
|
|
14216
|
+
@container layout-area (max-width: ${smMax$5}) {
|
|
14217
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
14218
|
+
}
|
|
14219
|
+
|
|
14220
|
+
@container layout-area (min-width: ${mdMin$6}) and (max-width: ${mdMax$2}) {
|
|
14052
14221
|
gap: var(--semantics-page-sections-md-gap);
|
|
14053
14222
|
}
|
|
14054
14223
|
|
|
@@ -14063,9 +14232,12 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
14063
14232
|
.one-half-one-half-section__columns {
|
|
14064
14233
|
display: flex;
|
|
14065
14234
|
flex-wrap: wrap;
|
|
14066
|
-
gap: var(--semantics-page-sections-sm-gap);
|
|
14067
14235
|
|
|
14068
|
-
@media (
|
|
14236
|
+
@media (max-width: ${smMax$5}) {
|
|
14237
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
14238
|
+
}
|
|
14239
|
+
|
|
14240
|
+
@media (min-width: ${mdMin$6}) and (max-width: ${mdMax$2}) {
|
|
14069
14241
|
gap: var(--semantics-page-sections-md-gap);
|
|
14070
14242
|
}
|
|
14071
14243
|
|
|
@@ -14073,7 +14245,11 @@ const oneHalfOneHalfSectionStyles = css`
|
|
|
14073
14245
|
gap: var(--semantics-page-sections-lg-gap);
|
|
14074
14246
|
}
|
|
14075
14247
|
|
|
14076
|
-
@container layout-area (
|
|
14248
|
+
@container layout-area (max-width: ${smMax$5}) {
|
|
14249
|
+
gap: var(--semantics-page-sections-sm-gap);
|
|
14250
|
+
}
|
|
14251
|
+
|
|
14252
|
+
@container layout-area (min-width: ${mdMin$6}) and (max-width: ${mdMax$2}) {
|
|
14077
14253
|
gap: var(--semantics-page-sections-md-gap);
|
|
14078
14254
|
}
|
|
14079
14255
|
|
|
@@ -14111,20 +14287,29 @@ function oneHalfOneHalfSectionTemplate(_component) {
|
|
|
14111
14287
|
</section>
|
|
14112
14288
|
`;
|
|
14113
14289
|
}
|
|
14290
|
+
var __defProp$o = Object.defineProperty;
|
|
14114
14291
|
var __getOwnPropDesc$q = Object.getOwnPropertyDescriptor;
|
|
14115
14292
|
var __decorateClass$q = (decorators, target, key, kind) => {
|
|
14116
14293
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc$q(target, key) : target;
|
|
14117
14294
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
14118
14295
|
if (decorator = decorators[i])
|
|
14119
|
-
result = decorator(result) || result;
|
|
14296
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
14297
|
+
if (kind && result) __defProp$o(target, key, result);
|
|
14120
14298
|
return result;
|
|
14121
14299
|
};
|
|
14122
14300
|
let NLDDOneHalfOneHalfSection = class extends LitElement {
|
|
14301
|
+
constructor() {
|
|
14302
|
+
super(...arguments);
|
|
14303
|
+
this.fullWidth = false;
|
|
14304
|
+
}
|
|
14123
14305
|
render() {
|
|
14124
14306
|
return oneHalfOneHalfSectionTemplate();
|
|
14125
14307
|
}
|
|
14126
14308
|
};
|
|
14127
14309
|
NLDDOneHalfOneHalfSection.styles = oneHalfOneHalfSectionStyles;
|
|
14310
|
+
__decorateClass$q([
|
|
14311
|
+
property({ type: Boolean, reflect: true, attribute: "full-width" })
|
|
14312
|
+
], NLDDOneHalfOneHalfSection.prototype, "fullWidth", 2);
|
|
14128
14313
|
NLDDOneHalfOneHalfSection = __decorateClass$q([
|
|
14129
14314
|
customElement("nldd-one-half-one-half-section")
|
|
14130
14315
|
], NLDDOneHalfOneHalfSection);
|
|
@@ -14200,8 +14385,6 @@ const cardStyles = css`
|
|
|
14200
14385
|
border-radius: var(--components-card-corner-radius);
|
|
14201
14386
|
box-shadow: var(--components-card-box-shadow);
|
|
14202
14387
|
overflow: hidden;
|
|
14203
|
-
container-type: inline-size;
|
|
14204
|
-
container-name: layout-area;
|
|
14205
14388
|
}
|
|
14206
14389
|
|
|
14207
14390
|
|
|
@@ -14280,6 +14463,11 @@ let NLDDCard = class extends LitElement {
|
|
|
14280
14463
|
wrapper.hidden = slot.assignedElements().length === 0;
|
|
14281
14464
|
};
|
|
14282
14465
|
}
|
|
14466
|
+
connectedCallback() {
|
|
14467
|
+
super.connectedCallback();
|
|
14468
|
+
this.style.containerType = "inline-size";
|
|
14469
|
+
this.style.containerName = "layout-area";
|
|
14470
|
+
}
|
|
14283
14471
|
render() {
|
|
14284
14472
|
return cardTemplate(this);
|
|
14285
14473
|
}
|
|
@@ -14291,7 +14479,7 @@ __decorateClass$o([
|
|
|
14291
14479
|
NLDDCard = __decorateClass$o([
|
|
14292
14480
|
customElement("nldd-card")
|
|
14293
14481
|
], NLDDCard);
|
|
14294
|
-
const mdMin$
|
|
14482
|
+
const mdMin$5 = unsafeCSS(breakpoints.mdMin);
|
|
14295
14483
|
const lgMin$3 = unsafeCSS(breakpoints.lgMin);
|
|
14296
14484
|
const collectionStyles = css`
|
|
14297
14485
|
|
|
@@ -14306,7 +14494,7 @@ const collectionStyles = css`
|
|
|
14306
14494
|
gap: var(--components-collection-sm-gap);
|
|
14307
14495
|
--_item-width: var(--primitives-area-280);
|
|
14308
14496
|
|
|
14309
|
-
@media (min-width: ${mdMin$
|
|
14497
|
+
@media (min-width: ${mdMin$5}) {
|
|
14310
14498
|
gap: var(--components-collection-md-gap);
|
|
14311
14499
|
}
|
|
14312
14500
|
|
|
@@ -14327,7 +14515,7 @@ const collectionStyles = css`
|
|
|
14327
14515
|
width: 100%;
|
|
14328
14516
|
gap: var(--components-collection-sm-gap);
|
|
14329
14517
|
|
|
14330
|
-
@media (min-width: ${mdMin$
|
|
14518
|
+
@media (min-width: ${mdMin$5}) {
|
|
14331
14519
|
gap: var(--components-collection-md-gap);
|
|
14332
14520
|
}
|
|
14333
14521
|
|
|
@@ -14810,7 +14998,7 @@ NLDDSpacer = __decorateClass$m([
|
|
|
14810
14998
|
customElement("nldd-spacer")
|
|
14811
14999
|
], NLDDSpacer);
|
|
14812
15000
|
const smMax$4 = unsafeCSS(breakpoints.smMax);
|
|
14813
|
-
const mdMin$
|
|
15001
|
+
const mdMin$4 = unsafeCSS(breakpoints.mdMin);
|
|
14814
15002
|
const mdMax$1 = unsafeCSS(breakpoints.mdMax);
|
|
14815
15003
|
const lgMin$2 = unsafeCSS(breakpoints.lgMin);
|
|
14816
15004
|
const containerStyles = css`
|
|
@@ -14882,25 +15070,25 @@ const containerStyles = css`
|
|
|
14882
15070
|
|
|
14883
15071
|
/* # Padding — md viewport */
|
|
14884
15072
|
|
|
14885
|
-
:host([md-padding="0"]) .container { @media (min-width: ${mdMin$
|
|
14886
|
-
:host([md-padding="2"]) .container { @media (min-width: ${mdMin$
|
|
14887
|
-
:host([md-padding="4"]) .container { @media (min-width: ${mdMin$
|
|
14888
|
-
:host([md-padding="6"]) .container { @media (min-width: ${mdMin$
|
|
14889
|
-
:host([md-padding="8"]) .container { @media (min-width: ${mdMin$
|
|
14890
|
-
:host([md-padding="10"]) .container { @media (min-width: ${mdMin$
|
|
14891
|
-
:host([md-padding="12"]) .container { @media (min-width: ${mdMin$
|
|
14892
|
-
:host([md-padding="16"]) .container { @media (min-width: ${mdMin$
|
|
14893
|
-
:host([md-padding="20"]) .container { @media (min-width: ${mdMin$
|
|
14894
|
-
:host([md-padding="24"]) .container { @media (min-width: ${mdMin$
|
|
14895
|
-
:host([md-padding="28"]) .container { @media (min-width: ${mdMin$
|
|
14896
|
-
:host([md-padding="32"]) .container { @media (min-width: ${mdMin$
|
|
14897
|
-
:host([md-padding="40"]) .container { @media (min-width: ${mdMin$
|
|
14898
|
-
:host([md-padding="44"]) .container { @media (min-width: ${mdMin$
|
|
14899
|
-
:host([md-padding="48"]) .container { @media (min-width: ${mdMin$
|
|
14900
|
-
:host([md-padding="56"]) .container { @media (min-width: ${mdMin$
|
|
14901
|
-
:host([md-padding="64"]) .container { @media (min-width: ${mdMin$
|
|
14902
|
-
:host([md-padding="80"]) .container { @media (min-width: ${mdMin$
|
|
14903
|
-
:host([md-padding="96"]) .container { @media (min-width: ${mdMin$
|
|
15073
|
+
:host([md-padding="0"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: 0; } }
|
|
15074
|
+
:host([md-padding="2"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-2); } }
|
|
15075
|
+
:host([md-padding="4"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-4); } }
|
|
15076
|
+
:host([md-padding="6"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-6); } }
|
|
15077
|
+
:host([md-padding="8"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-8); } }
|
|
15078
|
+
:host([md-padding="10"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-10); } }
|
|
15079
|
+
:host([md-padding="12"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-12); } }
|
|
15080
|
+
:host([md-padding="16"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-16); } }
|
|
15081
|
+
:host([md-padding="20"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-20); } }
|
|
15082
|
+
:host([md-padding="24"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-24); } }
|
|
15083
|
+
:host([md-padding="28"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-28); } }
|
|
15084
|
+
:host([md-padding="32"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-32); } }
|
|
15085
|
+
:host([md-padding="40"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-40); } }
|
|
15086
|
+
:host([md-padding="44"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-44); } }
|
|
15087
|
+
:host([md-padding="48"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-48); } }
|
|
15088
|
+
:host([md-padding="56"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-56); } }
|
|
15089
|
+
:host([md-padding="64"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-64); } }
|
|
15090
|
+
:host([md-padding="80"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-80); } }
|
|
15091
|
+
:host([md-padding="96"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-96); } }
|
|
14904
15092
|
|
|
14905
15093
|
|
|
14906
15094
|
/* # Padding — lg viewport */
|
|
@@ -14951,25 +15139,25 @@ const containerStyles = css`
|
|
|
14951
15139
|
|
|
14952
15140
|
/* # Padding — md container */
|
|
14953
15141
|
|
|
14954
|
-
:host([layout-area-md-padding="0"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14955
|
-
:host([layout-area-md-padding="2"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14956
|
-
:host([layout-area-md-padding="4"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14957
|
-
:host([layout-area-md-padding="6"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14958
|
-
:host([layout-area-md-padding="8"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14959
|
-
:host([layout-area-md-padding="10"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14960
|
-
:host([layout-area-md-padding="12"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14961
|
-
:host([layout-area-md-padding="16"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14962
|
-
:host([layout-area-md-padding="20"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14963
|
-
:host([layout-area-md-padding="24"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14964
|
-
:host([layout-area-md-padding="28"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14965
|
-
:host([layout-area-md-padding="32"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14966
|
-
:host([layout-area-md-padding="40"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14967
|
-
:host([layout-area-md-padding="44"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14968
|
-
:host([layout-area-md-padding="48"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14969
|
-
:host([layout-area-md-padding="56"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14970
|
-
:host([layout-area-md-padding="64"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14971
|
-
:host([layout-area-md-padding="80"]) .container { @container layout-area (min-width: ${mdMin$
|
|
14972
|
-
:host([layout-area-md-padding="96"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15142
|
+
:host([layout-area-md-padding="0"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: 0; } }
|
|
15143
|
+
:host([layout-area-md-padding="2"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-2); } }
|
|
15144
|
+
:host([layout-area-md-padding="4"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-4); } }
|
|
15145
|
+
:host([layout-area-md-padding="6"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-6); } }
|
|
15146
|
+
:host([layout-area-md-padding="8"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-8); } }
|
|
15147
|
+
:host([layout-area-md-padding="10"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-10); } }
|
|
15148
|
+
:host([layout-area-md-padding="12"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-12); } }
|
|
15149
|
+
:host([layout-area-md-padding="16"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-16); } }
|
|
15150
|
+
:host([layout-area-md-padding="20"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-20); } }
|
|
15151
|
+
:host([layout-area-md-padding="24"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-24); } }
|
|
15152
|
+
:host([layout-area-md-padding="28"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-28); } }
|
|
15153
|
+
:host([layout-area-md-padding="32"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-32); } }
|
|
15154
|
+
:host([layout-area-md-padding="40"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-40); } }
|
|
15155
|
+
:host([layout-area-md-padding="44"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-44); } }
|
|
15156
|
+
:host([layout-area-md-padding="48"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-48); } }
|
|
15157
|
+
:host([layout-area-md-padding="56"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-56); } }
|
|
15158
|
+
:host([layout-area-md-padding="64"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-64); } }
|
|
15159
|
+
:host([layout-area-md-padding="80"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-80); } }
|
|
15160
|
+
:host([layout-area-md-padding="96"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding: var(--primitives-space-96); } }
|
|
14973
15161
|
|
|
14974
15162
|
|
|
14975
15163
|
/* # Padding — lg container */
|
|
@@ -15043,25 +15231,25 @@ const containerStyles = css`
|
|
|
15043
15231
|
|
|
15044
15232
|
/* # Padding Inline — md viewport */
|
|
15045
15233
|
|
|
15046
|
-
:host([md-padding-inline="0"]) .container { @media (min-width: ${mdMin$
|
|
15047
|
-
:host([md-padding-inline="2"]) .container { @media (min-width: ${mdMin$
|
|
15048
|
-
:host([md-padding-inline="4"]) .container { @media (min-width: ${mdMin$
|
|
15049
|
-
:host([md-padding-inline="6"]) .container { @media (min-width: ${mdMin$
|
|
15050
|
-
:host([md-padding-inline="8"]) .container { @media (min-width: ${mdMin$
|
|
15051
|
-
:host([md-padding-inline="10"]) .container { @media (min-width: ${mdMin$
|
|
15052
|
-
:host([md-padding-inline="12"]) .container { @media (min-width: ${mdMin$
|
|
15053
|
-
:host([md-padding-inline="16"]) .container { @media (min-width: ${mdMin$
|
|
15054
|
-
:host([md-padding-inline="20"]) .container { @media (min-width: ${mdMin$
|
|
15055
|
-
:host([md-padding-inline="24"]) .container { @media (min-width: ${mdMin$
|
|
15056
|
-
:host([md-padding-inline="28"]) .container { @media (min-width: ${mdMin$
|
|
15057
|
-
:host([md-padding-inline="32"]) .container { @media (min-width: ${mdMin$
|
|
15058
|
-
:host([md-padding-inline="40"]) .container { @media (min-width: ${mdMin$
|
|
15059
|
-
:host([md-padding-inline="44"]) .container { @media (min-width: ${mdMin$
|
|
15060
|
-
:host([md-padding-inline="48"]) .container { @media (min-width: ${mdMin$
|
|
15061
|
-
:host([md-padding-inline="56"]) .container { @media (min-width: ${mdMin$
|
|
15062
|
-
:host([md-padding-inline="64"]) .container { @media (min-width: ${mdMin$
|
|
15063
|
-
:host([md-padding-inline="80"]) .container { @media (min-width: ${mdMin$
|
|
15064
|
-
:host([md-padding-inline="96"]) .container { @media (min-width: ${mdMin$
|
|
15234
|
+
:host([md-padding-inline="0"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: 0; } }
|
|
15235
|
+
:host([md-padding-inline="2"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-2); } }
|
|
15236
|
+
:host([md-padding-inline="4"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-4); } }
|
|
15237
|
+
:host([md-padding-inline="6"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-6); } }
|
|
15238
|
+
:host([md-padding-inline="8"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-8); } }
|
|
15239
|
+
:host([md-padding-inline="10"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-10); } }
|
|
15240
|
+
:host([md-padding-inline="12"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-12); } }
|
|
15241
|
+
:host([md-padding-inline="16"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-16); } }
|
|
15242
|
+
:host([md-padding-inline="20"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-20); } }
|
|
15243
|
+
:host([md-padding-inline="24"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-24); } }
|
|
15244
|
+
:host([md-padding-inline="28"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-28); } }
|
|
15245
|
+
:host([md-padding-inline="32"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-32); } }
|
|
15246
|
+
:host([md-padding-inline="40"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-40); } }
|
|
15247
|
+
:host([md-padding-inline="44"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-44); } }
|
|
15248
|
+
:host([md-padding-inline="48"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-48); } }
|
|
15249
|
+
:host([md-padding-inline="56"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-56); } }
|
|
15250
|
+
:host([md-padding-inline="64"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-64); } }
|
|
15251
|
+
:host([md-padding-inline="80"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-80); } }
|
|
15252
|
+
:host([md-padding-inline="96"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-96); } }
|
|
15065
15253
|
|
|
15066
15254
|
|
|
15067
15255
|
/* # Padding Inline — lg viewport */
|
|
@@ -15112,25 +15300,25 @@ const containerStyles = css`
|
|
|
15112
15300
|
|
|
15113
15301
|
/* # Padding Inline — md container */
|
|
15114
15302
|
|
|
15115
|
-
:host([layout-area-md-padding-inline="0"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15116
|
-
:host([layout-area-md-padding-inline="2"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15117
|
-
:host([layout-area-md-padding-inline="4"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15118
|
-
:host([layout-area-md-padding-inline="6"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15119
|
-
:host([layout-area-md-padding-inline="8"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15120
|
-
:host([layout-area-md-padding-inline="10"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15121
|
-
:host([layout-area-md-padding-inline="12"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15122
|
-
:host([layout-area-md-padding-inline="16"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15123
|
-
:host([layout-area-md-padding-inline="20"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15124
|
-
:host([layout-area-md-padding-inline="24"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15125
|
-
:host([layout-area-md-padding-inline="28"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15126
|
-
:host([layout-area-md-padding-inline="32"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15127
|
-
:host([layout-area-md-padding-inline="40"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15128
|
-
:host([layout-area-md-padding-inline="44"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15129
|
-
:host([layout-area-md-padding-inline="48"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15130
|
-
:host([layout-area-md-padding-inline="56"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15131
|
-
:host([layout-area-md-padding-inline="64"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15132
|
-
:host([layout-area-md-padding-inline="80"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15133
|
-
:host([layout-area-md-padding-inline="96"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15303
|
+
:host([layout-area-md-padding-inline="0"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: 0; } }
|
|
15304
|
+
:host([layout-area-md-padding-inline="2"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-2); } }
|
|
15305
|
+
:host([layout-area-md-padding-inline="4"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-4); } }
|
|
15306
|
+
:host([layout-area-md-padding-inline="6"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-6); } }
|
|
15307
|
+
:host([layout-area-md-padding-inline="8"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-8); } }
|
|
15308
|
+
:host([layout-area-md-padding-inline="10"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-10); } }
|
|
15309
|
+
:host([layout-area-md-padding-inline="12"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-12); } }
|
|
15310
|
+
:host([layout-area-md-padding-inline="16"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-16); } }
|
|
15311
|
+
:host([layout-area-md-padding-inline="20"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-20); } }
|
|
15312
|
+
:host([layout-area-md-padding-inline="24"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-24); } }
|
|
15313
|
+
:host([layout-area-md-padding-inline="28"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-28); } }
|
|
15314
|
+
:host([layout-area-md-padding-inline="32"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-32); } }
|
|
15315
|
+
:host([layout-area-md-padding-inline="40"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-40); } }
|
|
15316
|
+
:host([layout-area-md-padding-inline="44"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-44); } }
|
|
15317
|
+
:host([layout-area-md-padding-inline="48"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-48); } }
|
|
15318
|
+
:host([layout-area-md-padding-inline="56"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-56); } }
|
|
15319
|
+
:host([layout-area-md-padding-inline="64"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-64); } }
|
|
15320
|
+
:host([layout-area-md-padding-inline="80"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-80); } }
|
|
15321
|
+
:host([layout-area-md-padding-inline="96"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-inline: var(--primitives-space-96); } }
|
|
15134
15322
|
|
|
15135
15323
|
|
|
15136
15324
|
/* # Padding Inline — lg container */
|
|
@@ -15204,25 +15392,25 @@ const containerStyles = css`
|
|
|
15204
15392
|
|
|
15205
15393
|
/* # Padding Block — md viewport */
|
|
15206
15394
|
|
|
15207
|
-
:host([md-padding-block="0"]) .container { @media (min-width: ${mdMin$
|
|
15208
|
-
:host([md-padding-block="2"]) .container { @media (min-width: ${mdMin$
|
|
15209
|
-
:host([md-padding-block="4"]) .container { @media (min-width: ${mdMin$
|
|
15210
|
-
:host([md-padding-block="6"]) .container { @media (min-width: ${mdMin$
|
|
15211
|
-
:host([md-padding-block="8"]) .container { @media (min-width: ${mdMin$
|
|
15212
|
-
:host([md-padding-block="10"]) .container { @media (min-width: ${mdMin$
|
|
15213
|
-
:host([md-padding-block="12"]) .container { @media (min-width: ${mdMin$
|
|
15214
|
-
:host([md-padding-block="16"]) .container { @media (min-width: ${mdMin$
|
|
15215
|
-
:host([md-padding-block="20"]) .container { @media (min-width: ${mdMin$
|
|
15216
|
-
:host([md-padding-block="24"]) .container { @media (min-width: ${mdMin$
|
|
15217
|
-
:host([md-padding-block="28"]) .container { @media (min-width: ${mdMin$
|
|
15218
|
-
:host([md-padding-block="32"]) .container { @media (min-width: ${mdMin$
|
|
15219
|
-
:host([md-padding-block="40"]) .container { @media (min-width: ${mdMin$
|
|
15220
|
-
:host([md-padding-block="44"]) .container { @media (min-width: ${mdMin$
|
|
15221
|
-
:host([md-padding-block="48"]) .container { @media (min-width: ${mdMin$
|
|
15222
|
-
:host([md-padding-block="56"]) .container { @media (min-width: ${mdMin$
|
|
15223
|
-
:host([md-padding-block="64"]) .container { @media (min-width: ${mdMin$
|
|
15224
|
-
:host([md-padding-block="80"]) .container { @media (min-width: ${mdMin$
|
|
15225
|
-
:host([md-padding-block="96"]) .container { @media (min-width: ${mdMin$
|
|
15395
|
+
:host([md-padding-block="0"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: 0; } }
|
|
15396
|
+
:host([md-padding-block="2"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-2); } }
|
|
15397
|
+
:host([md-padding-block="4"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-4); } }
|
|
15398
|
+
:host([md-padding-block="6"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-6); } }
|
|
15399
|
+
:host([md-padding-block="8"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-8); } }
|
|
15400
|
+
:host([md-padding-block="10"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-10); } }
|
|
15401
|
+
:host([md-padding-block="12"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-12); } }
|
|
15402
|
+
:host([md-padding-block="16"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-16); } }
|
|
15403
|
+
:host([md-padding-block="20"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-20); } }
|
|
15404
|
+
:host([md-padding-block="24"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-24); } }
|
|
15405
|
+
:host([md-padding-block="28"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-28); } }
|
|
15406
|
+
:host([md-padding-block="32"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-32); } }
|
|
15407
|
+
:host([md-padding-block="40"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-40); } }
|
|
15408
|
+
:host([md-padding-block="44"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-44); } }
|
|
15409
|
+
:host([md-padding-block="48"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-48); } }
|
|
15410
|
+
:host([md-padding-block="56"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-56); } }
|
|
15411
|
+
:host([md-padding-block="64"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-64); } }
|
|
15412
|
+
:host([md-padding-block="80"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-80); } }
|
|
15413
|
+
:host([md-padding-block="96"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-96); } }
|
|
15226
15414
|
|
|
15227
15415
|
|
|
15228
15416
|
/* # Padding Block — lg viewport */
|
|
@@ -15273,25 +15461,25 @@ const containerStyles = css`
|
|
|
15273
15461
|
|
|
15274
15462
|
/* # Padding Block — md container */
|
|
15275
15463
|
|
|
15276
|
-
:host([layout-area-md-padding-block="0"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15277
|
-
:host([layout-area-md-padding-block="2"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15278
|
-
:host([layout-area-md-padding-block="4"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15279
|
-
:host([layout-area-md-padding-block="6"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15280
|
-
:host([layout-area-md-padding-block="8"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15281
|
-
:host([layout-area-md-padding-block="10"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15282
|
-
:host([layout-area-md-padding-block="12"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15283
|
-
:host([layout-area-md-padding-block="16"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15284
|
-
:host([layout-area-md-padding-block="20"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15285
|
-
:host([layout-area-md-padding-block="24"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15286
|
-
:host([layout-area-md-padding-block="28"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15287
|
-
:host([layout-area-md-padding-block="32"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15288
|
-
:host([layout-area-md-padding-block="40"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15289
|
-
:host([layout-area-md-padding-block="44"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15290
|
-
:host([layout-area-md-padding-block="48"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15291
|
-
:host([layout-area-md-padding-block="56"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15292
|
-
:host([layout-area-md-padding-block="64"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15293
|
-
:host([layout-area-md-padding-block="80"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15294
|
-
:host([layout-area-md-padding-block="96"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15464
|
+
:host([layout-area-md-padding-block="0"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: 0; } }
|
|
15465
|
+
:host([layout-area-md-padding-block="2"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-2); } }
|
|
15466
|
+
:host([layout-area-md-padding-block="4"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-4); } }
|
|
15467
|
+
:host([layout-area-md-padding-block="6"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-6); } }
|
|
15468
|
+
:host([layout-area-md-padding-block="8"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-8); } }
|
|
15469
|
+
:host([layout-area-md-padding-block="10"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-10); } }
|
|
15470
|
+
:host([layout-area-md-padding-block="12"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-12); } }
|
|
15471
|
+
:host([layout-area-md-padding-block="16"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-16); } }
|
|
15472
|
+
:host([layout-area-md-padding-block="20"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-20); } }
|
|
15473
|
+
:host([layout-area-md-padding-block="24"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-24); } }
|
|
15474
|
+
:host([layout-area-md-padding-block="28"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-28); } }
|
|
15475
|
+
:host([layout-area-md-padding-block="32"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-32); } }
|
|
15476
|
+
:host([layout-area-md-padding-block="40"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-40); } }
|
|
15477
|
+
:host([layout-area-md-padding-block="44"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-44); } }
|
|
15478
|
+
:host([layout-area-md-padding-block="48"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-48); } }
|
|
15479
|
+
:host([layout-area-md-padding-block="56"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-56); } }
|
|
15480
|
+
:host([layout-area-md-padding-block="64"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-64); } }
|
|
15481
|
+
:host([layout-area-md-padding-block="80"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-80); } }
|
|
15482
|
+
:host([layout-area-md-padding-block="96"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-block: var(--primitives-space-96); } }
|
|
15295
15483
|
|
|
15296
15484
|
|
|
15297
15485
|
/* # Padding Block — lg container */
|
|
@@ -15365,25 +15553,25 @@ const containerStyles = css`
|
|
|
15365
15553
|
|
|
15366
15554
|
/* # Padding Top — md viewport */
|
|
15367
15555
|
|
|
15368
|
-
:host([md-padding-top="0"]) .container { @media (min-width: ${mdMin$
|
|
15369
|
-
:host([md-padding-top="2"]) .container { @media (min-width: ${mdMin$
|
|
15370
|
-
:host([md-padding-top="4"]) .container { @media (min-width: ${mdMin$
|
|
15371
|
-
:host([md-padding-top="6"]) .container { @media (min-width: ${mdMin$
|
|
15372
|
-
:host([md-padding-top="8"]) .container { @media (min-width: ${mdMin$
|
|
15373
|
-
:host([md-padding-top="10"]) .container { @media (min-width: ${mdMin$
|
|
15374
|
-
:host([md-padding-top="12"]) .container { @media (min-width: ${mdMin$
|
|
15375
|
-
:host([md-padding-top="16"]) .container { @media (min-width: ${mdMin$
|
|
15376
|
-
:host([md-padding-top="20"]) .container { @media (min-width: ${mdMin$
|
|
15377
|
-
:host([md-padding-top="24"]) .container { @media (min-width: ${mdMin$
|
|
15378
|
-
:host([md-padding-top="28"]) .container { @media (min-width: ${mdMin$
|
|
15379
|
-
:host([md-padding-top="32"]) .container { @media (min-width: ${mdMin$
|
|
15380
|
-
:host([md-padding-top="40"]) .container { @media (min-width: ${mdMin$
|
|
15381
|
-
:host([md-padding-top="44"]) .container { @media (min-width: ${mdMin$
|
|
15382
|
-
:host([md-padding-top="48"]) .container { @media (min-width: ${mdMin$
|
|
15383
|
-
:host([md-padding-top="56"]) .container { @media (min-width: ${mdMin$
|
|
15384
|
-
:host([md-padding-top="64"]) .container { @media (min-width: ${mdMin$
|
|
15385
|
-
:host([md-padding-top="80"]) .container { @media (min-width: ${mdMin$
|
|
15386
|
-
:host([md-padding-top="96"]) .container { @media (min-width: ${mdMin$
|
|
15556
|
+
:host([md-padding-top="0"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: 0; } }
|
|
15557
|
+
:host([md-padding-top="2"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-2); } }
|
|
15558
|
+
:host([md-padding-top="4"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-4); } }
|
|
15559
|
+
:host([md-padding-top="6"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-6); } }
|
|
15560
|
+
:host([md-padding-top="8"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-8); } }
|
|
15561
|
+
:host([md-padding-top="10"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-10); } }
|
|
15562
|
+
:host([md-padding-top="12"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-12); } }
|
|
15563
|
+
:host([md-padding-top="16"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-16); } }
|
|
15564
|
+
:host([md-padding-top="20"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-20); } }
|
|
15565
|
+
:host([md-padding-top="24"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-24); } }
|
|
15566
|
+
:host([md-padding-top="28"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-28); } }
|
|
15567
|
+
:host([md-padding-top="32"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-32); } }
|
|
15568
|
+
:host([md-padding-top="40"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-40); } }
|
|
15569
|
+
:host([md-padding-top="44"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-44); } }
|
|
15570
|
+
:host([md-padding-top="48"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-48); } }
|
|
15571
|
+
:host([md-padding-top="56"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-56); } }
|
|
15572
|
+
:host([md-padding-top="64"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-64); } }
|
|
15573
|
+
:host([md-padding-top="80"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-80); } }
|
|
15574
|
+
:host([md-padding-top="96"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-96); } }
|
|
15387
15575
|
|
|
15388
15576
|
|
|
15389
15577
|
/* # Padding Top — lg viewport */
|
|
@@ -15434,25 +15622,25 @@ const containerStyles = css`
|
|
|
15434
15622
|
|
|
15435
15623
|
/* # Padding Top — md container */
|
|
15436
15624
|
|
|
15437
|
-
:host([layout-area-md-padding-top="0"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15438
|
-
:host([layout-area-md-padding-top="2"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15439
|
-
:host([layout-area-md-padding-top="4"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15440
|
-
:host([layout-area-md-padding-top="6"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15441
|
-
:host([layout-area-md-padding-top="8"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15442
|
-
:host([layout-area-md-padding-top="10"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15443
|
-
:host([layout-area-md-padding-top="12"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15444
|
-
:host([layout-area-md-padding-top="16"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15445
|
-
:host([layout-area-md-padding-top="20"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15446
|
-
:host([layout-area-md-padding-top="24"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15447
|
-
:host([layout-area-md-padding-top="28"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15448
|
-
:host([layout-area-md-padding-top="32"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15449
|
-
:host([layout-area-md-padding-top="40"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15450
|
-
:host([layout-area-md-padding-top="44"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15451
|
-
:host([layout-area-md-padding-top="48"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15452
|
-
:host([layout-area-md-padding-top="56"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15453
|
-
:host([layout-area-md-padding-top="64"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15454
|
-
:host([layout-area-md-padding-top="80"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15455
|
-
:host([layout-area-md-padding-top="96"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15625
|
+
:host([layout-area-md-padding-top="0"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: 0; } }
|
|
15626
|
+
:host([layout-area-md-padding-top="2"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-2); } }
|
|
15627
|
+
:host([layout-area-md-padding-top="4"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-4); } }
|
|
15628
|
+
:host([layout-area-md-padding-top="6"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-6); } }
|
|
15629
|
+
:host([layout-area-md-padding-top="8"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-8); } }
|
|
15630
|
+
:host([layout-area-md-padding-top="10"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-10); } }
|
|
15631
|
+
:host([layout-area-md-padding-top="12"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-12); } }
|
|
15632
|
+
:host([layout-area-md-padding-top="16"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-16); } }
|
|
15633
|
+
:host([layout-area-md-padding-top="20"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-20); } }
|
|
15634
|
+
:host([layout-area-md-padding-top="24"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-24); } }
|
|
15635
|
+
:host([layout-area-md-padding-top="28"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-28); } }
|
|
15636
|
+
:host([layout-area-md-padding-top="32"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-32); } }
|
|
15637
|
+
:host([layout-area-md-padding-top="40"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-40); } }
|
|
15638
|
+
:host([layout-area-md-padding-top="44"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-44); } }
|
|
15639
|
+
:host([layout-area-md-padding-top="48"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-48); } }
|
|
15640
|
+
:host([layout-area-md-padding-top="56"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-56); } }
|
|
15641
|
+
:host([layout-area-md-padding-top="64"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-64); } }
|
|
15642
|
+
:host([layout-area-md-padding-top="80"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-80); } }
|
|
15643
|
+
:host([layout-area-md-padding-top="96"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-top: var(--primitives-space-96); } }
|
|
15456
15644
|
|
|
15457
15645
|
|
|
15458
15646
|
/* # Padding Top — lg container */
|
|
@@ -15526,25 +15714,25 @@ const containerStyles = css`
|
|
|
15526
15714
|
|
|
15527
15715
|
/* # Padding Right — md viewport */
|
|
15528
15716
|
|
|
15529
|
-
:host([md-padding-right="0"]) .container { @media (min-width: ${mdMin$
|
|
15530
|
-
:host([md-padding-right="2"]) .container { @media (min-width: ${mdMin$
|
|
15531
|
-
:host([md-padding-right="4"]) .container { @media (min-width: ${mdMin$
|
|
15532
|
-
:host([md-padding-right="6"]) .container { @media (min-width: ${mdMin$
|
|
15533
|
-
:host([md-padding-right="8"]) .container { @media (min-width: ${mdMin$
|
|
15534
|
-
:host([md-padding-right="10"]) .container { @media (min-width: ${mdMin$
|
|
15535
|
-
:host([md-padding-right="12"]) .container { @media (min-width: ${mdMin$
|
|
15536
|
-
:host([md-padding-right="16"]) .container { @media (min-width: ${mdMin$
|
|
15537
|
-
:host([md-padding-right="20"]) .container { @media (min-width: ${mdMin$
|
|
15538
|
-
:host([md-padding-right="24"]) .container { @media (min-width: ${mdMin$
|
|
15539
|
-
:host([md-padding-right="28"]) .container { @media (min-width: ${mdMin$
|
|
15540
|
-
:host([md-padding-right="32"]) .container { @media (min-width: ${mdMin$
|
|
15541
|
-
:host([md-padding-right="40"]) .container { @media (min-width: ${mdMin$
|
|
15542
|
-
:host([md-padding-right="44"]) .container { @media (min-width: ${mdMin$
|
|
15543
|
-
:host([md-padding-right="48"]) .container { @media (min-width: ${mdMin$
|
|
15544
|
-
:host([md-padding-right="56"]) .container { @media (min-width: ${mdMin$
|
|
15545
|
-
:host([md-padding-right="64"]) .container { @media (min-width: ${mdMin$
|
|
15546
|
-
:host([md-padding-right="80"]) .container { @media (min-width: ${mdMin$
|
|
15547
|
-
:host([md-padding-right="96"]) .container { @media (min-width: ${mdMin$
|
|
15717
|
+
:host([md-padding-right="0"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: 0; } }
|
|
15718
|
+
:host([md-padding-right="2"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-2); } }
|
|
15719
|
+
:host([md-padding-right="4"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-4); } }
|
|
15720
|
+
:host([md-padding-right="6"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-6); } }
|
|
15721
|
+
:host([md-padding-right="8"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-8); } }
|
|
15722
|
+
:host([md-padding-right="10"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-10); } }
|
|
15723
|
+
:host([md-padding-right="12"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-12); } }
|
|
15724
|
+
:host([md-padding-right="16"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-16); } }
|
|
15725
|
+
:host([md-padding-right="20"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-20); } }
|
|
15726
|
+
:host([md-padding-right="24"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-24); } }
|
|
15727
|
+
:host([md-padding-right="28"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-28); } }
|
|
15728
|
+
:host([md-padding-right="32"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-32); } }
|
|
15729
|
+
:host([md-padding-right="40"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-40); } }
|
|
15730
|
+
:host([md-padding-right="44"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-44); } }
|
|
15731
|
+
:host([md-padding-right="48"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-48); } }
|
|
15732
|
+
:host([md-padding-right="56"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-56); } }
|
|
15733
|
+
:host([md-padding-right="64"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-64); } }
|
|
15734
|
+
:host([md-padding-right="80"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-80); } }
|
|
15735
|
+
:host([md-padding-right="96"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-96); } }
|
|
15548
15736
|
|
|
15549
15737
|
|
|
15550
15738
|
/* # Padding Right — lg viewport */
|
|
@@ -15595,25 +15783,25 @@ const containerStyles = css`
|
|
|
15595
15783
|
|
|
15596
15784
|
/* # Padding Right — md container */
|
|
15597
15785
|
|
|
15598
|
-
:host([layout-area-md-padding-right="0"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15599
|
-
:host([layout-area-md-padding-right="2"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15600
|
-
:host([layout-area-md-padding-right="4"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15601
|
-
:host([layout-area-md-padding-right="6"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15602
|
-
:host([layout-area-md-padding-right="8"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15603
|
-
:host([layout-area-md-padding-right="10"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15604
|
-
:host([layout-area-md-padding-right="12"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15605
|
-
:host([layout-area-md-padding-right="16"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15606
|
-
:host([layout-area-md-padding-right="20"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15607
|
-
:host([layout-area-md-padding-right="24"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15608
|
-
:host([layout-area-md-padding-right="28"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15609
|
-
:host([layout-area-md-padding-right="32"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15610
|
-
:host([layout-area-md-padding-right="40"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15611
|
-
:host([layout-area-md-padding-right="44"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15612
|
-
:host([layout-area-md-padding-right="48"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15613
|
-
:host([layout-area-md-padding-right="56"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15614
|
-
:host([layout-area-md-padding-right="64"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15615
|
-
:host([layout-area-md-padding-right="80"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15616
|
-
:host([layout-area-md-padding-right="96"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15786
|
+
:host([layout-area-md-padding-right="0"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: 0; } }
|
|
15787
|
+
:host([layout-area-md-padding-right="2"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-2); } }
|
|
15788
|
+
:host([layout-area-md-padding-right="4"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-4); } }
|
|
15789
|
+
:host([layout-area-md-padding-right="6"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-6); } }
|
|
15790
|
+
:host([layout-area-md-padding-right="8"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-8); } }
|
|
15791
|
+
:host([layout-area-md-padding-right="10"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-10); } }
|
|
15792
|
+
:host([layout-area-md-padding-right="12"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-12); } }
|
|
15793
|
+
:host([layout-area-md-padding-right="16"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-16); } }
|
|
15794
|
+
:host([layout-area-md-padding-right="20"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-20); } }
|
|
15795
|
+
:host([layout-area-md-padding-right="24"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-24); } }
|
|
15796
|
+
:host([layout-area-md-padding-right="28"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-28); } }
|
|
15797
|
+
:host([layout-area-md-padding-right="32"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-32); } }
|
|
15798
|
+
:host([layout-area-md-padding-right="40"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-40); } }
|
|
15799
|
+
:host([layout-area-md-padding-right="44"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-44); } }
|
|
15800
|
+
:host([layout-area-md-padding-right="48"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-48); } }
|
|
15801
|
+
:host([layout-area-md-padding-right="56"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-56); } }
|
|
15802
|
+
:host([layout-area-md-padding-right="64"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-64); } }
|
|
15803
|
+
:host([layout-area-md-padding-right="80"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-80); } }
|
|
15804
|
+
:host([layout-area-md-padding-right="96"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-right: var(--primitives-space-96); } }
|
|
15617
15805
|
|
|
15618
15806
|
|
|
15619
15807
|
/* # Padding Right — lg container */
|
|
@@ -15687,25 +15875,25 @@ const containerStyles = css`
|
|
|
15687
15875
|
|
|
15688
15876
|
/* # Padding Bottom — md viewport */
|
|
15689
15877
|
|
|
15690
|
-
:host([md-padding-bottom="0"]) .container { @media (min-width: ${mdMin$
|
|
15691
|
-
:host([md-padding-bottom="2"]) .container { @media (min-width: ${mdMin$
|
|
15692
|
-
:host([md-padding-bottom="4"]) .container { @media (min-width: ${mdMin$
|
|
15693
|
-
:host([md-padding-bottom="6"]) .container { @media (min-width: ${mdMin$
|
|
15694
|
-
:host([md-padding-bottom="8"]) .container { @media (min-width: ${mdMin$
|
|
15695
|
-
:host([md-padding-bottom="10"]) .container { @media (min-width: ${mdMin$
|
|
15696
|
-
:host([md-padding-bottom="12"]) .container { @media (min-width: ${mdMin$
|
|
15697
|
-
:host([md-padding-bottom="16"]) .container { @media (min-width: ${mdMin$
|
|
15698
|
-
:host([md-padding-bottom="20"]) .container { @media (min-width: ${mdMin$
|
|
15699
|
-
:host([md-padding-bottom="24"]) .container { @media (min-width: ${mdMin$
|
|
15700
|
-
:host([md-padding-bottom="28"]) .container { @media (min-width: ${mdMin$
|
|
15701
|
-
:host([md-padding-bottom="32"]) .container { @media (min-width: ${mdMin$
|
|
15702
|
-
:host([md-padding-bottom="40"]) .container { @media (min-width: ${mdMin$
|
|
15703
|
-
:host([md-padding-bottom="44"]) .container { @media (min-width: ${mdMin$
|
|
15704
|
-
:host([md-padding-bottom="48"]) .container { @media (min-width: ${mdMin$
|
|
15705
|
-
:host([md-padding-bottom="56"]) .container { @media (min-width: ${mdMin$
|
|
15706
|
-
:host([md-padding-bottom="64"]) .container { @media (min-width: ${mdMin$
|
|
15707
|
-
:host([md-padding-bottom="80"]) .container { @media (min-width: ${mdMin$
|
|
15708
|
-
:host([md-padding-bottom="96"]) .container { @media (min-width: ${mdMin$
|
|
15878
|
+
:host([md-padding-bottom="0"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: 0; } }
|
|
15879
|
+
:host([md-padding-bottom="2"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-2); } }
|
|
15880
|
+
:host([md-padding-bottom="4"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-4); } }
|
|
15881
|
+
:host([md-padding-bottom="6"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-6); } }
|
|
15882
|
+
:host([md-padding-bottom="8"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-8); } }
|
|
15883
|
+
:host([md-padding-bottom="10"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-10); } }
|
|
15884
|
+
:host([md-padding-bottom="12"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-12); } }
|
|
15885
|
+
:host([md-padding-bottom="16"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-16); } }
|
|
15886
|
+
:host([md-padding-bottom="20"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-20); } }
|
|
15887
|
+
:host([md-padding-bottom="24"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-24); } }
|
|
15888
|
+
:host([md-padding-bottom="28"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-28); } }
|
|
15889
|
+
:host([md-padding-bottom="32"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-32); } }
|
|
15890
|
+
:host([md-padding-bottom="40"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-40); } }
|
|
15891
|
+
:host([md-padding-bottom="44"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-44); } }
|
|
15892
|
+
:host([md-padding-bottom="48"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-48); } }
|
|
15893
|
+
:host([md-padding-bottom="56"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-56); } }
|
|
15894
|
+
:host([md-padding-bottom="64"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-64); } }
|
|
15895
|
+
:host([md-padding-bottom="80"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-80); } }
|
|
15896
|
+
:host([md-padding-bottom="96"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-96); } }
|
|
15709
15897
|
|
|
15710
15898
|
|
|
15711
15899
|
/* # Padding Bottom — lg viewport */
|
|
@@ -15756,25 +15944,25 @@ const containerStyles = css`
|
|
|
15756
15944
|
|
|
15757
15945
|
/* # Padding Bottom — md container */
|
|
15758
15946
|
|
|
15759
|
-
:host([layout-area-md-padding-bottom="0"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15760
|
-
:host([layout-area-md-padding-bottom="2"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15761
|
-
:host([layout-area-md-padding-bottom="4"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15762
|
-
:host([layout-area-md-padding-bottom="6"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15763
|
-
:host([layout-area-md-padding-bottom="8"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15764
|
-
:host([layout-area-md-padding-bottom="10"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15765
|
-
:host([layout-area-md-padding-bottom="12"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15766
|
-
:host([layout-area-md-padding-bottom="16"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15767
|
-
:host([layout-area-md-padding-bottom="20"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15768
|
-
:host([layout-area-md-padding-bottom="24"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15769
|
-
:host([layout-area-md-padding-bottom="28"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15770
|
-
:host([layout-area-md-padding-bottom="32"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15771
|
-
:host([layout-area-md-padding-bottom="40"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15772
|
-
:host([layout-area-md-padding-bottom="44"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15773
|
-
:host([layout-area-md-padding-bottom="48"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15774
|
-
:host([layout-area-md-padding-bottom="56"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15775
|
-
:host([layout-area-md-padding-bottom="64"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15776
|
-
:host([layout-area-md-padding-bottom="80"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15777
|
-
:host([layout-area-md-padding-bottom="96"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15947
|
+
:host([layout-area-md-padding-bottom="0"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: 0; } }
|
|
15948
|
+
:host([layout-area-md-padding-bottom="2"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-2); } }
|
|
15949
|
+
:host([layout-area-md-padding-bottom="4"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-4); } }
|
|
15950
|
+
:host([layout-area-md-padding-bottom="6"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-6); } }
|
|
15951
|
+
:host([layout-area-md-padding-bottom="8"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-8); } }
|
|
15952
|
+
:host([layout-area-md-padding-bottom="10"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-10); } }
|
|
15953
|
+
:host([layout-area-md-padding-bottom="12"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-12); } }
|
|
15954
|
+
:host([layout-area-md-padding-bottom="16"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-16); } }
|
|
15955
|
+
:host([layout-area-md-padding-bottom="20"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-20); } }
|
|
15956
|
+
:host([layout-area-md-padding-bottom="24"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-24); } }
|
|
15957
|
+
:host([layout-area-md-padding-bottom="28"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-28); } }
|
|
15958
|
+
:host([layout-area-md-padding-bottom="32"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-32); } }
|
|
15959
|
+
:host([layout-area-md-padding-bottom="40"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-40); } }
|
|
15960
|
+
:host([layout-area-md-padding-bottom="44"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-44); } }
|
|
15961
|
+
:host([layout-area-md-padding-bottom="48"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-48); } }
|
|
15962
|
+
:host([layout-area-md-padding-bottom="56"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-56); } }
|
|
15963
|
+
:host([layout-area-md-padding-bottom="64"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-64); } }
|
|
15964
|
+
:host([layout-area-md-padding-bottom="80"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-80); } }
|
|
15965
|
+
:host([layout-area-md-padding-bottom="96"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-bottom: var(--primitives-space-96); } }
|
|
15778
15966
|
|
|
15779
15967
|
|
|
15780
15968
|
/* # Padding Bottom — lg container */
|
|
@@ -15848,25 +16036,25 @@ const containerStyles = css`
|
|
|
15848
16036
|
|
|
15849
16037
|
/* # Padding Left — md viewport */
|
|
15850
16038
|
|
|
15851
|
-
:host([md-padding-left="0"]) .container { @media (min-width: ${mdMin$
|
|
15852
|
-
:host([md-padding-left="2"]) .container { @media (min-width: ${mdMin$
|
|
15853
|
-
:host([md-padding-left="4"]) .container { @media (min-width: ${mdMin$
|
|
15854
|
-
:host([md-padding-left="6"]) .container { @media (min-width: ${mdMin$
|
|
15855
|
-
:host([md-padding-left="8"]) .container { @media (min-width: ${mdMin$
|
|
15856
|
-
:host([md-padding-left="10"]) .container { @media (min-width: ${mdMin$
|
|
15857
|
-
:host([md-padding-left="12"]) .container { @media (min-width: ${mdMin$
|
|
15858
|
-
:host([md-padding-left="16"]) .container { @media (min-width: ${mdMin$
|
|
15859
|
-
:host([md-padding-left="20"]) .container { @media (min-width: ${mdMin$
|
|
15860
|
-
:host([md-padding-left="24"]) .container { @media (min-width: ${mdMin$
|
|
15861
|
-
:host([md-padding-left="28"]) .container { @media (min-width: ${mdMin$
|
|
15862
|
-
:host([md-padding-left="32"]) .container { @media (min-width: ${mdMin$
|
|
15863
|
-
:host([md-padding-left="40"]) .container { @media (min-width: ${mdMin$
|
|
15864
|
-
:host([md-padding-left="44"]) .container { @media (min-width: ${mdMin$
|
|
15865
|
-
:host([md-padding-left="48"]) .container { @media (min-width: ${mdMin$
|
|
15866
|
-
:host([md-padding-left="56"]) .container { @media (min-width: ${mdMin$
|
|
15867
|
-
:host([md-padding-left="64"]) .container { @media (min-width: ${mdMin$
|
|
15868
|
-
:host([md-padding-left="80"]) .container { @media (min-width: ${mdMin$
|
|
15869
|
-
:host([md-padding-left="96"]) .container { @media (min-width: ${mdMin$
|
|
16039
|
+
:host([md-padding-left="0"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: 0; } }
|
|
16040
|
+
:host([md-padding-left="2"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-2); } }
|
|
16041
|
+
:host([md-padding-left="4"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-4); } }
|
|
16042
|
+
:host([md-padding-left="6"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-6); } }
|
|
16043
|
+
:host([md-padding-left="8"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-8); } }
|
|
16044
|
+
:host([md-padding-left="10"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-10); } }
|
|
16045
|
+
:host([md-padding-left="12"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-12); } }
|
|
16046
|
+
:host([md-padding-left="16"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-16); } }
|
|
16047
|
+
:host([md-padding-left="20"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-20); } }
|
|
16048
|
+
:host([md-padding-left="24"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-24); } }
|
|
16049
|
+
:host([md-padding-left="28"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-28); } }
|
|
16050
|
+
:host([md-padding-left="32"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-32); } }
|
|
16051
|
+
:host([md-padding-left="40"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-40); } }
|
|
16052
|
+
:host([md-padding-left="44"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-44); } }
|
|
16053
|
+
:host([md-padding-left="48"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-48); } }
|
|
16054
|
+
:host([md-padding-left="56"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-56); } }
|
|
16055
|
+
:host([md-padding-left="64"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-64); } }
|
|
16056
|
+
:host([md-padding-left="80"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-80); } }
|
|
16057
|
+
:host([md-padding-left="96"]) .container { @media (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-96); } }
|
|
15870
16058
|
|
|
15871
16059
|
|
|
15872
16060
|
/* # Padding Left — lg viewport */
|
|
@@ -15917,25 +16105,25 @@ const containerStyles = css`
|
|
|
15917
16105
|
|
|
15918
16106
|
/* # Padding Left — md container */
|
|
15919
16107
|
|
|
15920
|
-
:host([layout-area-md-padding-left="0"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15921
|
-
:host([layout-area-md-padding-left="2"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15922
|
-
:host([layout-area-md-padding-left="4"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15923
|
-
:host([layout-area-md-padding-left="6"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15924
|
-
:host([layout-area-md-padding-left="8"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15925
|
-
:host([layout-area-md-padding-left="10"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15926
|
-
:host([layout-area-md-padding-left="12"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15927
|
-
:host([layout-area-md-padding-left="16"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15928
|
-
:host([layout-area-md-padding-left="20"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15929
|
-
:host([layout-area-md-padding-left="24"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15930
|
-
:host([layout-area-md-padding-left="28"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15931
|
-
:host([layout-area-md-padding-left="32"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15932
|
-
:host([layout-area-md-padding-left="40"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15933
|
-
:host([layout-area-md-padding-left="44"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15934
|
-
:host([layout-area-md-padding-left="48"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15935
|
-
:host([layout-area-md-padding-left="56"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15936
|
-
:host([layout-area-md-padding-left="64"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15937
|
-
:host([layout-area-md-padding-left="80"]) .container { @container layout-area (min-width: ${mdMin$
|
|
15938
|
-
:host([layout-area-md-padding-left="96"]) .container { @container layout-area (min-width: ${mdMin$
|
|
16108
|
+
:host([layout-area-md-padding-left="0"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: 0; } }
|
|
16109
|
+
:host([layout-area-md-padding-left="2"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-2); } }
|
|
16110
|
+
:host([layout-area-md-padding-left="4"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-4); } }
|
|
16111
|
+
:host([layout-area-md-padding-left="6"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-6); } }
|
|
16112
|
+
:host([layout-area-md-padding-left="8"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-8); } }
|
|
16113
|
+
:host([layout-area-md-padding-left="10"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-10); } }
|
|
16114
|
+
:host([layout-area-md-padding-left="12"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-12); } }
|
|
16115
|
+
:host([layout-area-md-padding-left="16"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-16); } }
|
|
16116
|
+
:host([layout-area-md-padding-left="20"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-20); } }
|
|
16117
|
+
:host([layout-area-md-padding-left="24"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-24); } }
|
|
16118
|
+
:host([layout-area-md-padding-left="28"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-28); } }
|
|
16119
|
+
:host([layout-area-md-padding-left="32"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-32); } }
|
|
16120
|
+
:host([layout-area-md-padding-left="40"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-40); } }
|
|
16121
|
+
:host([layout-area-md-padding-left="44"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-44); } }
|
|
16122
|
+
:host([layout-area-md-padding-left="48"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-48); } }
|
|
16123
|
+
:host([layout-area-md-padding-left="56"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-56); } }
|
|
16124
|
+
:host([layout-area-md-padding-left="64"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-64); } }
|
|
16125
|
+
:host([layout-area-md-padding-left="80"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-80); } }
|
|
16126
|
+
:host([layout-area-md-padding-left="96"]) .container { @container layout-area (min-width: ${mdMin$4}) and (max-width: ${mdMax$1}) { padding-left: var(--primitives-space-96); } }
|
|
15939
16127
|
|
|
15940
16128
|
|
|
15941
16129
|
/* # Padding Left — lg container */
|
|
@@ -16239,6 +16427,7 @@ NLDDDivider = __decorateClass$k([
|
|
|
16239
16427
|
customElement("nldd-divider")
|
|
16240
16428
|
], NLDDDivider);
|
|
16241
16429
|
const smMax$3 = unsafeCSS(breakpoints.smMax);
|
|
16430
|
+
const mdMin$3 = unsafeCSS(breakpoints.mdMin);
|
|
16242
16431
|
const popoverStyles = css`
|
|
16243
16432
|
|
|
16244
16433
|
|
|
@@ -16246,20 +16435,38 @@ const popoverStyles = css`
|
|
|
16246
16435
|
|
|
16247
16436
|
:host {
|
|
16248
16437
|
--_max-height: calc(100vh - var(--semantics-overlays-inset) * 2);
|
|
16249
|
-
|
|
16250
|
-
inset: unset;
|
|
16438
|
+
|
|
16251
16439
|
margin: 0;
|
|
16252
16440
|
padding: 0;
|
|
16253
16441
|
border: none;
|
|
16254
16442
|
background-color: var(--semantics-surfaces-background-color);
|
|
16255
|
-
border-radius: var(--semantics-overlays-corner-radius);
|
|
16256
16443
|
box-shadow: var(--semantics-overlays-box-shadow);
|
|
16257
|
-
width: var(--components-popover-default-width);
|
|
16258
|
-
max-width: calc(100vw - var(--semantics-overlays-inset) * 2);
|
|
16259
|
-
max-height: var(--_max-height);
|
|
16260
16444
|
overflow: auto;
|
|
16261
16445
|
outline: none;
|
|
16262
16446
|
isolation: isolate;
|
|
16447
|
+
|
|
16448
|
+
@media (max-width: ${smMax$3}) {
|
|
16449
|
+
position: fixed;
|
|
16450
|
+
inset: auto 0 0 0;
|
|
16451
|
+
width: 100%;
|
|
16452
|
+
max-width: 100%;
|
|
16453
|
+
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
16454
|
+
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
16455
|
+
transform: translateY(100%);
|
|
16456
|
+
transition:
|
|
16457
|
+
transform var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default),
|
|
16458
|
+
display var(--semantics-sheets-bottom-animation-duration) allow-discrete,
|
|
16459
|
+
overlay var(--semantics-sheets-bottom-animation-duration) allow-discrete;
|
|
16460
|
+
}
|
|
16461
|
+
|
|
16462
|
+
@media (min-width: ${mdMin$3}) {
|
|
16463
|
+
position: absolute;
|
|
16464
|
+
inset: unset;
|
|
16465
|
+
border-radius: var(--semantics-overlays-corner-radius);
|
|
16466
|
+
width: var(--components-popover-default-width);
|
|
16467
|
+
max-width: calc(100vw - var(--semantics-overlays-inset) * 2);
|
|
16468
|
+
max-height: var(--_max-height);
|
|
16469
|
+
}
|
|
16263
16470
|
}
|
|
16264
16471
|
|
|
16265
16472
|
:host([hidden]) {
|
|
@@ -16277,33 +16484,26 @@ const popoverStyles = css`
|
|
|
16277
16484
|
}
|
|
16278
16485
|
|
|
16279
16486
|
|
|
16280
|
-
|
|
16281
|
-
|
|
16282
|
-
@media (max-width: ${smMax$3}) {
|
|
16283
|
-
:host {
|
|
16284
|
-
position: fixed;
|
|
16285
|
-
inset: auto 0 0 0;
|
|
16286
|
-
width: 100%;
|
|
16287
|
-
max-width: 100%;
|
|
16288
|
-
max-height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
16289
|
-
border-radius: var(--semantics-overlays-corner-radius) var(--semantics-overlays-corner-radius) 0 0;
|
|
16290
|
-
transform: translateY(100%);
|
|
16291
|
-
transition:
|
|
16292
|
-
transform var(--semantics-sheets-bottom-animation-duration) var(--primitives-transition-easing-default),
|
|
16293
|
-
display var(--semantics-sheets-bottom-animation-duration) allow-discrete,
|
|
16294
|
-
overlay var(--semantics-sheets-bottom-animation-duration) allow-discrete;
|
|
16295
|
-
}
|
|
16296
|
-
|
|
16297
|
-
:host(:popover-open) {
|
|
16487
|
+
:host(:popover-open) {
|
|
16488
|
+
@media (max-width: ${smMax$3}) {
|
|
16298
16489
|
transform: translateY(0);
|
|
16299
|
-
}
|
|
16300
16490
|
|
|
16301
|
-
|
|
16302
|
-
:host(:popover-open) {
|
|
16491
|
+
@starting-style {
|
|
16303
16492
|
transform: translateY(100%);
|
|
16304
16493
|
}
|
|
16305
16494
|
}
|
|
16495
|
+
}
|
|
16306
16496
|
|
|
16497
|
+
:host::backdrop {
|
|
16498
|
+
@media (max-width: ${smMax$3}) {
|
|
16499
|
+
background-color: var(--semantics-overlays-backdrop-color);
|
|
16500
|
+
}
|
|
16501
|
+
}
|
|
16502
|
+
|
|
16503
|
+
:host([sm-full-height]) {
|
|
16504
|
+
@media (max-width: ${smMax$3}) {
|
|
16505
|
+
height: calc(100dvh - var(--semantics-sheets-bottom-top-inset));
|
|
16506
|
+
}
|
|
16307
16507
|
}
|
|
16308
16508
|
|
|
16309
16509
|
|
|
@@ -16313,8 +16513,8 @@ const popoverStyles = css`
|
|
|
16313
16513
|
toekomstige desktop-viewport animaties automatisch worden
|
|
16314
16514
|
gedeactiveerd voor users met prefers-reduced-motion. */
|
|
16315
16515
|
|
|
16316
|
-
|
|
16317
|
-
:
|
|
16516
|
+
:host {
|
|
16517
|
+
@media (prefers-reduced-motion: reduce) {
|
|
16318
16518
|
transition: none;
|
|
16319
16519
|
}
|
|
16320
16520
|
}
|
|
@@ -16341,6 +16541,12 @@ let NLDDPopover = class extends LitElement {
|
|
|
16341
16541
|
this.anchor = "";
|
|
16342
16542
|
this.anchorElement = null;
|
|
16343
16543
|
this.placement = "bottom-start";
|
|
16544
|
+
this.top = void 0;
|
|
16545
|
+
this.left = void 0;
|
|
16546
|
+
this.right = void 0;
|
|
16547
|
+
this.bottom = void 0;
|
|
16548
|
+
this.centered = false;
|
|
16549
|
+
this.smFullHeight = false;
|
|
16344
16550
|
this.accessibleLabel = "";
|
|
16345
16551
|
this.translations = {};
|
|
16346
16552
|
this._isOpen = false;
|
|
@@ -16349,9 +16555,14 @@ let NLDDPopover = class extends LitElement {
|
|
|
16349
16555
|
this._closedAt = 0;
|
|
16350
16556
|
this._cleanupAutoUpdate = null;
|
|
16351
16557
|
this._smQuery = null;
|
|
16558
|
+
this._wasOnSm = false;
|
|
16352
16559
|
this._previousAnchorEl = null;
|
|
16353
16560
|
this._handleViewportChange = () => {
|
|
16354
|
-
if (this._isOpen)
|
|
16561
|
+
if (this._isOpen) {
|
|
16562
|
+
this.reposition();
|
|
16563
|
+
} else {
|
|
16564
|
+
this._wasOnSm = this._smQuery?.matches ?? false;
|
|
16565
|
+
}
|
|
16355
16566
|
};
|
|
16356
16567
|
this._handleDocumentClick = (event) => {
|
|
16357
16568
|
const anchorEl = this._getAnchorEl();
|
|
@@ -16405,6 +16616,8 @@ let NLDDPopover = class extends LitElement {
|
|
|
16405
16616
|
}
|
|
16406
16617
|
connectedCallback() {
|
|
16407
16618
|
super.connectedCallback();
|
|
16619
|
+
this.style.containerType = "inline-size";
|
|
16620
|
+
this.style.containerName = "layout-area";
|
|
16408
16621
|
if (!this.hasAttribute("popover")) this.setAttribute("popover", "");
|
|
16409
16622
|
if (!this.hasAttribute("tabindex")) this.setAttribute("tabindex", "-1");
|
|
16410
16623
|
if (!this.hasAttribute("role")) this.setAttribute("role", "dialog");
|
|
@@ -16412,6 +16625,7 @@ let NLDDPopover = class extends LitElement {
|
|
|
16412
16625
|
this.addEventListener("keydown", this._handleKeydown);
|
|
16413
16626
|
document.addEventListener("click", this._handleDocumentClick);
|
|
16414
16627
|
this._smQuery = window.matchMedia(`(max-width: ${breakpoints.smMax})`);
|
|
16628
|
+
this._wasOnSm = this._smQuery.matches;
|
|
16415
16629
|
this._smQuery.addEventListener("change", this._handleViewportChange);
|
|
16416
16630
|
Promise.resolve().then(() => {
|
|
16417
16631
|
this._updateAnchorAria(false);
|
|
@@ -16451,6 +16665,13 @@ let NLDDPopover = class extends LitElement {
|
|
|
16451
16665
|
if (changed.has("anchor") || changed.has("anchorElement")) {
|
|
16452
16666
|
this._updateAnchorAria(this._isOpen);
|
|
16453
16667
|
}
|
|
16668
|
+
if (changed.has("top") || changed.has("left") || changed.has("right") || changed.has("bottom") || changed.has("centered")) {
|
|
16669
|
+
if (!this.top && !this.centered) this.style.removeProperty("top");
|
|
16670
|
+
if (!this.left && !this.centered) this.style.removeProperty("left");
|
|
16671
|
+
if (!this.right) this.style.removeProperty("right");
|
|
16672
|
+
if (!this.bottom) this.style.removeProperty("bottom");
|
|
16673
|
+
if (this._isOpen) this.reposition();
|
|
16674
|
+
}
|
|
16454
16675
|
}
|
|
16455
16676
|
// — i18n ——————————————————————————————————————————————————————————————————
|
|
16456
16677
|
_t(key) {
|
|
@@ -16479,13 +16700,53 @@ let NLDDPopover = class extends LitElement {
|
|
|
16479
16700
|
if (this._isOpen) this.hide();
|
|
16480
16701
|
else this.show();
|
|
16481
16702
|
}
|
|
16703
|
+
/**
|
|
16704
|
+
* Restore the inline transition after a breakpoint-suppressed tick. Force
|
|
16705
|
+
* a layout flush first (`void offsetHeight`) so the just-applied position
|
|
16706
|
+
* styles commit before transitions resume — otherwise the cleared
|
|
16707
|
+
* `transition: ''` would re-enable animations on those exact properties
|
|
16708
|
+
* and you'd still see the slide we were trying to suppress.
|
|
16709
|
+
*/
|
|
16710
|
+
_restoreTransition() {
|
|
16711
|
+
void this.offsetHeight;
|
|
16712
|
+
this.style.transition = "";
|
|
16713
|
+
}
|
|
16482
16714
|
/** Herberekent positie t.o.v. anchor. Wordt automatisch aangeroepen bij openen. */
|
|
16483
16715
|
async reposition() {
|
|
16484
16716
|
if (!this._isOpen) return;
|
|
16485
|
-
|
|
16486
|
-
|
|
16717
|
+
const isSm = this._smQuery?.matches ?? false;
|
|
16718
|
+
const crossedBreakpoint = isSm !== this._wasOnSm;
|
|
16719
|
+
this._wasOnSm = isSm;
|
|
16720
|
+
if (crossedBreakpoint) this.style.transition = "none";
|
|
16721
|
+
if (isSm) {
|
|
16487
16722
|
this.style.removeProperty("top");
|
|
16723
|
+
this.style.removeProperty("left");
|
|
16724
|
+
this.style.removeProperty("right");
|
|
16725
|
+
this.style.removeProperty("bottom");
|
|
16726
|
+
this.style.removeProperty("transform");
|
|
16488
16727
|
this.style.removeProperty("--_max-height");
|
|
16728
|
+
if (crossedBreakpoint) this._restoreTransition();
|
|
16729
|
+
return;
|
|
16730
|
+
}
|
|
16731
|
+
const hasOverride = this.top || this.left || this.right || this.bottom || this.centered;
|
|
16732
|
+
if (hasOverride) {
|
|
16733
|
+
const yCenter = this.centered && !this.top && !this.bottom;
|
|
16734
|
+
const xCenter = this.centered && !this.left && !this.right;
|
|
16735
|
+
if (this.top) this.style.setProperty("top", this.top);
|
|
16736
|
+
else if (yCenter) this.style.setProperty("top", "50%");
|
|
16737
|
+
if (this.bottom) this.style.setProperty("bottom", this.bottom);
|
|
16738
|
+
if (this.left) this.style.setProperty("left", this.left);
|
|
16739
|
+
else if (xCenter) this.style.setProperty("left", "50%");
|
|
16740
|
+
if (this.right) this.style.setProperty("right", this.right);
|
|
16741
|
+
if (xCenter || yCenter) {
|
|
16742
|
+
this.style.setProperty(
|
|
16743
|
+
"transform",
|
|
16744
|
+
`translate(${xCenter ? "-50%" : "0"}, ${yCenter ? "-50%" : "0"})`
|
|
16745
|
+
);
|
|
16746
|
+
} else {
|
|
16747
|
+
this.style.removeProperty("transform");
|
|
16748
|
+
}
|
|
16749
|
+
if (crossedBreakpoint) this._restoreTransition();
|
|
16489
16750
|
return;
|
|
16490
16751
|
}
|
|
16491
16752
|
const anchorEl = this._getAnchorEl();
|
|
@@ -16508,6 +16769,7 @@ let NLDDPopover = class extends LitElement {
|
|
|
16508
16769
|
left: `${x}px`,
|
|
16509
16770
|
top: `${y}px`
|
|
16510
16771
|
});
|
|
16772
|
+
if (crossedBreakpoint) this._restoreTransition();
|
|
16511
16773
|
}
|
|
16512
16774
|
// — Anchor ————————————————————————————————————————————————————————————————
|
|
16513
16775
|
_getAnchorEl() {
|
|
@@ -16594,6 +16856,24 @@ __decorateClass$j([
|
|
|
16594
16856
|
__decorateClass$j([
|
|
16595
16857
|
property({ type: String, reflect: true })
|
|
16596
16858
|
], NLDDPopover.prototype, "width", 2);
|
|
16859
|
+
__decorateClass$j([
|
|
16860
|
+
property({ type: String, reflect: true })
|
|
16861
|
+
], NLDDPopover.prototype, "top", 2);
|
|
16862
|
+
__decorateClass$j([
|
|
16863
|
+
property({ type: String, reflect: true })
|
|
16864
|
+
], NLDDPopover.prototype, "left", 2);
|
|
16865
|
+
__decorateClass$j([
|
|
16866
|
+
property({ type: String, reflect: true })
|
|
16867
|
+
], NLDDPopover.prototype, "right", 2);
|
|
16868
|
+
__decorateClass$j([
|
|
16869
|
+
property({ type: String, reflect: true })
|
|
16870
|
+
], NLDDPopover.prototype, "bottom", 2);
|
|
16871
|
+
__decorateClass$j([
|
|
16872
|
+
property({ type: Boolean, reflect: true })
|
|
16873
|
+
], NLDDPopover.prototype, "centered", 2);
|
|
16874
|
+
__decorateClass$j([
|
|
16875
|
+
property({ type: Boolean, reflect: true, attribute: "sm-full-height" })
|
|
16876
|
+
], NLDDPopover.prototype, "smFullHeight", 2);
|
|
16597
16877
|
__decorateClass$j([
|
|
16598
16878
|
property({ type: String, attribute: "accessible-label" })
|
|
16599
16879
|
], NLDDPopover.prototype, "accessibleLabel", 2);
|
|
@@ -16868,6 +17148,8 @@ let NLDDSheet = class extends LitElement {
|
|
|
16868
17148
|
}
|
|
16869
17149
|
connectedCallback() {
|
|
16870
17150
|
super.connectedCallback();
|
|
17151
|
+
this.style.containerType = "inline-size";
|
|
17152
|
+
this.style.containerName = "layout-area";
|
|
16871
17153
|
this.addEventListener("dismiss", this._handleDismiss);
|
|
16872
17154
|
}
|
|
16873
17155
|
disconnectedCallback() {
|
|
@@ -17084,6 +17366,7 @@ let NLDDWindow = class extends LitElement {
|
|
|
17084
17366
|
this.movable = false;
|
|
17085
17367
|
this.accessibleLabel = "";
|
|
17086
17368
|
this.translations = {};
|
|
17369
|
+
this.centered = false;
|
|
17087
17370
|
this._closing = false;
|
|
17088
17371
|
this._dragging = false;
|
|
17089
17372
|
this._dragOffsetX = 0;
|
|
@@ -17198,6 +17481,8 @@ let NLDDWindow = class extends LitElement {
|
|
|
17198
17481
|
}
|
|
17199
17482
|
connectedCallback() {
|
|
17200
17483
|
super.connectedCallback();
|
|
17484
|
+
this.style.containerType = "inline-size";
|
|
17485
|
+
this.style.containerName = "layout-area";
|
|
17201
17486
|
this.addEventListener("dismiss", this._handleDismiss);
|
|
17202
17487
|
this._detectDragHandle();
|
|
17203
17488
|
window.addEventListener("resize", this._handleResize);
|
|
@@ -17265,14 +17550,18 @@ let NLDDWindow = class extends LitElement {
|
|
|
17265
17550
|
dialog.style.height = this.height ?? "";
|
|
17266
17551
|
return;
|
|
17267
17552
|
}
|
|
17268
|
-
const
|
|
17269
|
-
|
|
17553
|
+
const hasEdge = this.top !== void 0 || this.left !== void 0 || this.right !== void 0 || this.bottom !== void 0;
|
|
17554
|
+
const hasOverride = hasEdge || this.centered;
|
|
17555
|
+
const yCenter = this.centered && this.top === void 0 && this.bottom === void 0;
|
|
17556
|
+
const xCenter = this.centered && this.left === void 0 && this.right === void 0;
|
|
17557
|
+
dialog.style.top = this.top ?? (yCenter ? "50%" : this.bottom !== void 0 ? "auto" : "");
|
|
17270
17558
|
dialog.style.bottom = this.bottom ?? (this.top !== void 0 ? "auto" : "");
|
|
17271
|
-
dialog.style.left = this.left ?? (this.right !== void 0 ? "auto" : "");
|
|
17559
|
+
dialog.style.left = this.left ?? (xCenter ? "50%" : this.right !== void 0 ? "auto" : "");
|
|
17272
17560
|
dialog.style.right = this.right ?? (this.left !== void 0 ? "auto" : "");
|
|
17273
17561
|
dialog.style.width = this.width ?? "";
|
|
17274
17562
|
dialog.style.height = this.height ?? "";
|
|
17275
|
-
dialog.style.
|
|
17563
|
+
dialog.style.transform = xCenter || yCenter ? `translate(${xCenter ? "-50%" : "0"}, ${yCenter ? "-50%" : "0"})` : "";
|
|
17564
|
+
dialog.style.margin = hasOverride ? "0" : "";
|
|
17276
17565
|
}
|
|
17277
17566
|
_findDragHandle(e) {
|
|
17278
17567
|
const handle = this.querySelector("[window-drag-handle]");
|
|
@@ -17353,6 +17642,9 @@ __decorateClass$h([
|
|
|
17353
17642
|
__decorateClass$h([
|
|
17354
17643
|
property({ type: String, reflect: true })
|
|
17355
17644
|
], NLDDWindow.prototype, "bottom", 2);
|
|
17645
|
+
__decorateClass$h([
|
|
17646
|
+
property({ type: Boolean, reflect: true })
|
|
17647
|
+
], NLDDWindow.prototype, "centered", 2);
|
|
17356
17648
|
__decorateClass$h([
|
|
17357
17649
|
property({ type: String, reflect: true })
|
|
17358
17650
|
], NLDDWindow.prototype, "width", 2);
|
|
@@ -18624,6 +18916,7 @@ const titleCellStyles = css`
|
|
|
18624
18916
|
align-self: stretch;
|
|
18625
18917
|
min-width: 0;
|
|
18626
18918
|
color: var(--context-cell-content-color, var(--semantics-content-color));
|
|
18919
|
+
text-wrap: pretty;
|
|
18627
18920
|
}
|
|
18628
18921
|
|
|
18629
18922
|
:host([horizontal-alignment='right']) .title-cell__title {
|
|
@@ -21088,6 +21381,7 @@ let NLDDTopTitleBar = class extends LitElement {
|
|
|
21088
21381
|
this._pageElement = null;
|
|
21089
21382
|
this._anchorElement = null;
|
|
21090
21383
|
this._activeScrollTarget = null;
|
|
21384
|
+
this._scrollTargetStyleObserver = null;
|
|
21091
21385
|
this._boundOnScroll = this._onScroll.bind(this);
|
|
21092
21386
|
this._onToolbarSlotChange = (e) => {
|
|
21093
21387
|
const slot = e.target;
|
|
@@ -21134,12 +21428,21 @@ let NLDDTopTitleBar = class extends LitElement {
|
|
|
21134
21428
|
const page2 = this._pageElement;
|
|
21135
21429
|
this._activeScrollTarget = page2 ? page2.scrollTarget : window;
|
|
21136
21430
|
this._activeScrollTarget.addEventListener("scroll", this._boundOnScroll, { passive: true });
|
|
21431
|
+
if (this._activeScrollTarget instanceof Element) {
|
|
21432
|
+
this._scrollTargetStyleObserver = new MutationObserver(() => this._onScroll());
|
|
21433
|
+
this._scrollTargetStyleObserver.observe(this._activeScrollTarget, {
|
|
21434
|
+
attributes: true,
|
|
21435
|
+
attributeFilter: ["style"]
|
|
21436
|
+
});
|
|
21437
|
+
}
|
|
21137
21438
|
this.updateComplete.then(() => this._onScroll());
|
|
21138
21439
|
}
|
|
21139
21440
|
_teardownAnchor() {
|
|
21140
21441
|
this._activeScrollTarget?.removeEventListener("scroll", this._boundOnScroll);
|
|
21141
21442
|
this._activeScrollTarget = null;
|
|
21142
21443
|
this._anchorElement = null;
|
|
21444
|
+
this._scrollTargetStyleObserver?.disconnect();
|
|
21445
|
+
this._scrollTargetStyleObserver = null;
|
|
21143
21446
|
}
|
|
21144
21447
|
_onScroll() {
|
|
21145
21448
|
if (!this._anchorElement || !this._pageElement) return;
|
|
@@ -22182,10 +22485,8 @@ function documentTabBarItemTemplate(component) {
|
|
|
22182
22485
|
${component.supportingText ? html`<span class="document-tab-bar__item-supporting-text">${component.supportingText}</span>` : nothing}
|
|
22183
22486
|
</span>
|
|
22184
22487
|
<span class="document-tab-bar__item-short">
|
|
22185
|
-
<
|
|
22186
|
-
|
|
22187
|
-
${shortSupportingTextValue ? html`<span class="document-tab-bar__item-short-supporting-text">${shortSupportingTextValue}</span>` : nothing}
|
|
22188
|
-
</nldd-tooltip>
|
|
22488
|
+
<span class="document-tab-bar__item-short-text">${shortTextValue}</span>
|
|
22489
|
+
${shortSupportingTextValue ? html`<span class="document-tab-bar__item-short-supporting-text">${shortSupportingTextValue}</span>` : nothing}
|
|
22189
22490
|
</span>
|
|
22190
22491
|
`;
|
|
22191
22492
|
const tab = isLink ? html`<a class="document-tab-bar__item-tab"
|
|
@@ -22205,18 +22506,20 @@ function documentTabBarItemTemplate(component) {
|
|
|
22205
22506
|
@click=${component._handleClick}
|
|
22206
22507
|
>${tabContent}</button>`;
|
|
22207
22508
|
return html`
|
|
22208
|
-
<
|
|
22209
|
-
|
|
22210
|
-
|
|
22211
|
-
|
|
22212
|
-
|
|
22213
|
-
|
|
22214
|
-
|
|
22215
|
-
|
|
22216
|
-
<
|
|
22217
|
-
|
|
22218
|
-
|
|
22219
|
-
|
|
22509
|
+
<nldd-tooltip text=${tooltipText} ?disabled=${!component._isShort}>
|
|
22510
|
+
<div class="document-tab-bar__item">
|
|
22511
|
+
${tab}
|
|
22512
|
+
<button class="document-tab-bar__item-dismiss-button"
|
|
22513
|
+
aria-label=${component._dismissButtonAccessibilityLabel}
|
|
22514
|
+
tabindex=${component.selected || component._isFallbackFocusable ? "0" : "-1"}
|
|
22515
|
+
@click=${component._handleDismiss}
|
|
22516
|
+
>
|
|
22517
|
+
<span class="document-tab-bar__item-dismiss-icon">
|
|
22518
|
+
<nldd-icon name="dismiss"></nldd-icon>
|
|
22519
|
+
</span>
|
|
22520
|
+
</button>
|
|
22521
|
+
</div>
|
|
22522
|
+
</nldd-tooltip>
|
|
22220
22523
|
`;
|
|
22221
22524
|
}
|
|
22222
22525
|
const nlddDocumentTabBarTranslations = {
|
|
@@ -22247,6 +22550,8 @@ let NLDDDocumentTabBarItem = class extends LitElement {
|
|
|
22247
22550
|
this.shortText = "";
|
|
22248
22551
|
this.shortSupportingText = "";
|
|
22249
22552
|
this.href = "";
|
|
22553
|
+
this._isShort = false;
|
|
22554
|
+
this._itemResizeObserver = null;
|
|
22250
22555
|
this._dismissButtonAccessibilityLabel = "Sluit";
|
|
22251
22556
|
this._isFallbackFocusable = false;
|
|
22252
22557
|
this._navigation = false;
|
|
@@ -22254,6 +22559,17 @@ let NLDDDocumentTabBarItem = class extends LitElement {
|
|
|
22254
22559
|
connectedCallback() {
|
|
22255
22560
|
super.connectedCallback();
|
|
22256
22561
|
this.setAttribute("role", "none");
|
|
22562
|
+
this._itemResizeObserver = new ResizeObserver(() => this._updateIsShort());
|
|
22563
|
+
this._itemResizeObserver.observe(this);
|
|
22564
|
+
}
|
|
22565
|
+
disconnectedCallback() {
|
|
22566
|
+
super.disconnectedCallback();
|
|
22567
|
+
this._itemResizeObserver?.disconnect();
|
|
22568
|
+
this._itemResizeObserver = null;
|
|
22569
|
+
}
|
|
22570
|
+
_updateIsShort() {
|
|
22571
|
+
const threshold = parseFloat(getComputedStyle(this).getPropertyValue("--_short-text-threshold"));
|
|
22572
|
+
this._isShort = Number.isFinite(threshold) && this.getBoundingClientRect().width < threshold;
|
|
22257
22573
|
}
|
|
22258
22574
|
focus(options) {
|
|
22259
22575
|
this.shadowRoot?.querySelector(".document-tab-bar__item-tab")?.focus(options);
|
|
@@ -22297,6 +22613,9 @@ __decorateClass$3([
|
|
|
22297
22613
|
__decorateClass$3([
|
|
22298
22614
|
property({ type: String })
|
|
22299
22615
|
], NLDDDocumentTabBarItem.prototype, "href", 2);
|
|
22616
|
+
__decorateClass$3([
|
|
22617
|
+
state()
|
|
22618
|
+
], NLDDDocumentTabBarItem.prototype, "_isShort", 2);
|
|
22300
22619
|
__decorateClass$3([
|
|
22301
22620
|
state()
|
|
22302
22621
|
], NLDDDocumentTabBarItem.prototype, "_dismissButtonAccessibilityLabel", 2);
|