@proximus/lavender-autocomplete 1.4.19-beta.2 → 1.4.20-alpha.10
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/Autocomplete.d.ts +1 -1
- package/dist/index.es.js +580 -273
- package/dist/web-types.json +4 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, backgroundColorValues as r, backgroundSizeValues as i, booleanPropertyToAttributeSetter as a, borderColorValues as o, borderRadiusValues as s, borderSideValues as c, borderValues as ee, boxShadowValues as
|
|
2
|
-
|
|
3
|
-
var
|
|
1
|
+
import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, backgroundColorValues as r, backgroundSizeValues as i, booleanPropertyToAttributeSetter as a, borderColorValues as o, borderRadiusValues as s, borderSideValues as c, borderValues as ee, boxShadowValues as l, checkName as u, colorValues as te, createTemplate as d, cssTokenBreakpoints as f, fontsizeValues as ne, fontweightValues as re, gapValues as p, gradientValues as m, iconSizeValuesKC as ie, log as h, nativeInputAttributes as g, nativeInputMethods as _, nativeInputProperties as v, nativeSelectMethods as ae, nativeSelectProperties as oe, nativeTextAreaMethods as se, nativeTextAreaProperties as y, noBorderRadiusValues as b, paddingValues as x, propertyToAttributeSetter as S, renderTemplate as C, transferAccessibilityAttributes as ce } from "@proximus/lavender-common";
|
|
2
|
+
//#region src/autocomplete.css?inline
|
|
3
|
+
var le = ":host .dropdown-content{margin-top:calc(var(--px-focus-offset-mobile) + var(--px-focus-outline-mobile));overflow:auto}@media screen and (width>=48rem){:host .dropdown-content{margin-top:calc(var(--px-focus-offset-tablet) + var(--px-focus-outline-tablet))}}@media screen and (width>=64.0625rem){:host .dropdown-content{margin-top:calc(var(--px-focus-offset-laptop) + var(--px-focus-outline-laptop))}}@media screen and (width>=90.0625rem){:host .dropdown-content{margin-top:calc(var(--px-focus-offset-desktop) + var(--px-focus-outline-desktop))}}:host([inverted]) .dropdown-content{background-color:var(--px-color-background-surface-dark)}", ue = ":host{position:relative}::slotted([slot=popover]){border-radius:var(--px-radius-main,8px);background:var(--px-color-background-surface-light,#fff);margin:var(--px-spacing-xs-mobile) 0 0 0;width:auto;max-height:var(--px-popover-max-height);max-width:var(--px-popover-max-width);border:0;padding:0;position:fixed;right:0;box-shadow:0 0 4px #2525251f,0 2px 8px #2525251a,0 4px 12px #25252524,0 16px 40px #2525252e}:host([grow]) ::slotted([slot=trigger]):after{padding-right:var(--px-padding-xs-mobile);right:0}:host([anchoralignment=top-left]) ::slotted([slot=popover]){margin:0 0 var(--px-spacing-xs-mobile) 0;top:auto}:host([anchoralignment=top-right]) ::slotted([slot=popover]){margin:0 0 var(--px-spacing-xs-mobile) 0;top:auto;left:auto}:host([anchoralignment=bottom-right]) ::slotted([slot=popover]){margin:var(--px-spacing-xs-mobile) 0 0 0;left:auto}@media screen and (width<=47.938rem){::slotted([slot=trigger]){width:100%;display:block}:host([anchoralignment=top-left]) ::slotted([slot=popover]){left:var(--px-padding-s-mobile)}:host([anchoralignment=top-right]) ::slotted([slot=popover]){left:var(--px-padding-s-mobile)}}@media screen and (width>=48rem){::slotted([slot=popover]){margin:var(--px-spacing-xs-tablet) 0 0 0;width:auto;padding:0;right:auto}:host([anchoralignment=top-left]) ::slotted([slot=popover]){margin:0 0 var(--px-spacing-xs-tablet) 0}:host([anchoralignment=top-right]) ::slotted([slot=popover]){margin:0 0 var(--px-spacing-xs-tablet) 0}:host([anchoralignment=bottom-right]) ::slotted([slot=popover]){margin:var(--px-spacing-xs-tablet) 0 0 0}}@media screen and (width>=64.0625rem){::slotted([slot=popover]){margin:var(--px-spacing-xs-desktop) 0 0 0;width:auto;padding:0;right:auto}}@media screen and (width>=90.0625rem){::slotted([slot=popover]){width:auto;padding:0;right:auto}:host([anchoralignment=bottom-right]) ::slotted([slot=popover]){margin:var(--px-spacing-xs-desktop) 0 0 0}:host([anchoralignment=top-left]) ::slotted([slot=popover]){margin:0 0 var(--px-spacing-xs-desktop) 0}:host([anchoralignment=top-right]) ::slotted([slot=popover]){margin:0 0 var(--px-spacing-xs-desktop) 0}}:host([inverted]) ::slotted([slot=popover]){background:var(--px-color-background-surface-dark,#333)}", de = [
|
|
4
4
|
"top-left",
|
|
5
5
|
"top-right",
|
|
6
6
|
"bottom-left",
|
|
7
7
|
"bottom-right"
|
|
8
8
|
];
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region ../../components/Dropdown/src/anchorPolyfill.ts
|
|
11
|
+
function w(e, t, n = "bottom-left", r, i = !1) {
|
|
11
12
|
"anchorName" in document.documentElement.style && i === !1 || t.addEventListener("toggle", () => {
|
|
12
13
|
if (!e || !t) return;
|
|
13
14
|
let i = e.getBoundingClientRect(), a = window.visualViewport?.height ?? window.innerHeight, o = window.visualViewport?.width ?? window.innerWidth, s = r.getPropertyValue("--px-padding-s-mobile") || "16px", c = parseInt((r.getPropertyValue("--px-icon-size-xs-desktop") || "24").replace("px", ""));
|
|
@@ -15,10 +16,11 @@ function x(e, t, n = "bottom-left", r, i = !1) {
|
|
|
15
16
|
});
|
|
16
17
|
}
|
|
17
18
|
/* v8 ignore end */
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region ../../components/Dropdown/src/Dropdown.ts
|
|
21
|
+
var T = new CSSStyleSheet();
|
|
22
|
+
T.replaceSync(ue);
|
|
23
|
+
var E = "bottom-left", fe = class extends n {
|
|
22
24
|
get css() {
|
|
23
25
|
return `::slotted([slot='trigger']) {
|
|
24
26
|
anchor-name: ${this.anchorName};
|
|
@@ -66,7 +68,7 @@ var C = "bottom-left", ce = class extends n {
|
|
|
66
68
|
];
|
|
67
69
|
}
|
|
68
70
|
constructor() {
|
|
69
|
-
super(
|
|
71
|
+
super(T), this.template = () => `
|
|
70
72
|
<style>${this.css}</style>
|
|
71
73
|
<slot name="trigger"></slot>
|
|
72
74
|
<slot name="popover"></slot>`, this.isAboutToClose = !1, this.triggerPopoverDisplay = () => {
|
|
@@ -81,10 +83,10 @@ var C = "bottom-left", ce = class extends n {
|
|
|
81
83
|
this.$popoverElement.matches(":popover-open") || setTimeout(() => {
|
|
82
84
|
this.isAboutToClose = !1;
|
|
83
85
|
});
|
|
84
|
-
},
|
|
86
|
+
}, C(this.shadowRoot, this.template());
|
|
85
87
|
}
|
|
86
88
|
connectedCallback() {
|
|
87
|
-
this.getAttribute("id") || this.setAttribute("id", `px-dropdown-${Math.random().toString(36).substring(2, 15)}`), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment",
|
|
89
|
+
this.getAttribute("id") || this.setAttribute("id", `px-dropdown-${Math.random().toString(36).substring(2, 15)}`), this.getAttribute("anchoralignment") || this.setAttribute("anchoralignment", E), w(this.$trigger, this.$popoverElement, this.anchorAlignment, getComputedStyle(this), this.usePolyfill);
|
|
88
90
|
}
|
|
89
91
|
#e() {
|
|
90
92
|
this.isAboutToClose = !1, this.manualToggle || this.$trigger.removeEventListener("click", this.triggerPopoverDisplay), this.$popoverElement.removeEventListener("beforetoggle", this.#t), this.$popoverElement.removeEventListener("toggle", this.#n);
|
|
@@ -100,7 +102,7 @@ var C = "bottom-left", ce = class extends n {
|
|
|
100
102
|
this.initPopover();
|
|
101
103
|
break;
|
|
102
104
|
case "use-polyfill":
|
|
103
|
-
|
|
105
|
+
w(this.$trigger, this.$popoverElement, this.anchorAlignment, getComputedStyle(this), this.usePolyfill);
|
|
104
106
|
break;
|
|
105
107
|
case "manual-toggle":
|
|
106
108
|
n != null && this.$trigger?.removeAttribute("aria-expanded");
|
|
@@ -144,10 +146,10 @@ var C = "bottom-left", ce = class extends n {
|
|
|
144
146
|
return this.querySelector("[slot=\"popover\"]");
|
|
145
147
|
}
|
|
146
148
|
get anchorAlignment() {
|
|
147
|
-
return this.getAttribute("anchoralignment") ||
|
|
149
|
+
return this.getAttribute("anchoralignment") || E;
|
|
148
150
|
}
|
|
149
151
|
set anchorAlignment(e) {
|
|
150
|
-
|
|
152
|
+
de.includes(e) ? this.setAttribute("anchoralignment", e) : (h(`Invalid anchor alignment value: ${e}. Using default ${E}.`), this.setAttribute("anchoralignment", E));
|
|
151
153
|
}
|
|
152
154
|
get usePolyfill() {
|
|
153
155
|
return this.hasAttribute("use-polyfill");
|
|
@@ -165,19 +167,19 @@ var C = "bottom-left", ce = class extends n {
|
|
|
165
167
|
return this.getAttribute("popover-height");
|
|
166
168
|
}
|
|
167
169
|
set popoverHeight(e) {
|
|
168
|
-
|
|
170
|
+
S(this, "popover-height", e);
|
|
169
171
|
}
|
|
170
172
|
get popoverMaxHeight() {
|
|
171
173
|
return this.getAttribute("popover-max-height");
|
|
172
174
|
}
|
|
173
175
|
set popoverMaxHeight(e) {
|
|
174
|
-
|
|
176
|
+
S(this, "popover-max-height", e);
|
|
175
177
|
}
|
|
176
178
|
get popoverMaxWidth() {
|
|
177
179
|
return this.getAttribute("popover-max-width");
|
|
178
180
|
}
|
|
179
181
|
set popoverMaxWidth(e) {
|
|
180
|
-
|
|
182
|
+
S(this, "popover-max-width", e);
|
|
181
183
|
}
|
|
182
184
|
get inverted() {
|
|
183
185
|
return this.hasAttribute("inverted");
|
|
@@ -186,15 +188,16 @@ var C = "bottom-left", ce = class extends n {
|
|
|
186
188
|
a(this, "inverted", e);
|
|
187
189
|
}
|
|
188
190
|
};
|
|
189
|
-
customElements.get("px-dropdown") || customElements.define("px-dropdown",
|
|
190
|
-
|
|
191
|
-
var le = ":host{--icon-error:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23B30000;%7D%3C/style%3E%3C/defs%3E%3Cg id='forms-error'%3E%3Cpath id='Error' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0ZM7.42,4.65a1.08,1.08,0,1,1,2.16,0V8.79a1.08,1.08,0,0,1-2.16,0Zm1.93,8.44a1.2,1.2,0,0,1-1.7-1.69,1.15,1.15,0,0,1,.85-.35,1.11,1.11,0,0,1,.84.35h0A1.21,1.21,0,0,1,9.35,13.09Z'/%3E%3C/g%3E%3C/svg%3E\");--icon-success:url(\"data:image/svg+xml,%3Csvg id='forms-success' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23008000;%7D%3C/style%3E%3C/defs%3E%3Cpath id='Success' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0Zm3.69,7.08-4.29,4a.81.81,0,0,1-.56.22.84.84,0,0,1-.59-.24L4.67,9A.81.81,0,0,1,5.81,7.85L7.35,9.4,11.1,5.91a.8.8,0,0,1,1.09,1.17Z'/%3E%3C/svg%3E\");--icon-search:url(data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.6451%2016.6649L12.5811%2011.7844C13.4371%2010.7503%2013.9122%209.46601%2013.9282%208.10498C13.9463%206.53112%2013.351%205.04391%2012.251%203.91824C11.1511%202.79211%209.67878%202.16202%208.10492%202.14352C8.081%202.14352%208.05753%202.14307%208.03406%202.14307C6.48637%202.14307%205.02715%202.7375%203.9182%203.82074C2.79208%204.92069%202.16199%206.393%202.14349%207.96687C2.12498%209.54118%202.72031%2011.0279%203.82026%2012.1536C4.97344%2013.3339%206.50442%2013.9261%208.03677%2013.9261C9.28408%2013.9261%2010.5303%2013.528%2011.5758%2012.7405L16.6828%2017.6633C16.8173%2017.7928%2016.9906%2017.8574%2017.164%2017.8574C17.3454%2017.8574%2017.5273%2017.7865%2017.6632%2017.6452C17.929%2017.3694%2017.9209%2016.9307%2017.6451%2016.6649ZM11.1849%2011.2595C10.3237%2012.1008%209.18546%2012.5707%207.98305%2012.5418C6.7793%2012.5278%205.65317%2012.0457%204.8123%2011.185C3.97101%2010.3238%203.5156%209.18687%203.53004%207.98312C3.54403%206.77981%204.02608%205.65369%204.88678%204.81282C5.73487%203.98413%206.85106%203.52962%208.03451%203.52962C8.05256%203.52962%208.07062%203.53007%208.08867%203.53007C9.29198%203.54406%2010.4181%204.02611%2011.2589%204.88684C12.1003%205.74802%2012.5557%206.88498%2012.5417%208.08873C12.5277%209.29249%2012.0456%2010.4186%2011.1849%2011.2595Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-cancel:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 17 17' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.33333 0C12.9357 0 16.6667 3.73096 16.6667 8.33333C16.6667 12.9357 12.9357 16.6667 8.33333 16.6667C3.73096 16.6667 0 12.9357 0 8.33333C0 3.73096 3.73096 0 8.33333 0ZM12.3071 4.35954C12.0502 4.10263 11.6339 4.10262 11.377 4.35954L8.33333 7.40316L5.28971 4.35954C5.03279 4.10261 4.61646 4.10261 4.35954 4.35954C4.10261 4.61646 4.10261 5.03279 4.35954 5.28971L7.40316 8.33333L4.35954 11.377C4.10262 11.6339 4.10263 12.0502 4.35954 12.3071C4.61648 12.5639 5.03284 12.564 5.28971 12.3071L8.33333 9.26351L11.377 12.3071C11.6339 12.564 12.0502 12.564 12.3071 12.3071C12.564 12.0502 12.564 11.6339 12.3071 11.377L9.26351 8.33333L12.3071 5.28971C12.564 5.03284 12.5639 4.61648 12.3071 4.35954Z' fill='%235C2D91'/%3E%3C/svg%3E\");--icon-calendar:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M14.7369%201.68408H12.779V0.42102C12.779%200.188549%2012.5904%200%2012.358%200C12.1255%200%2011.9369%200.188549%2011.9369%200.42102V1.68408H9.92439V0.42102C9.92439%200.188549%209.73584%200%209.50337%200C9.2709%200%209.08235%200.188549%209.08235%200.42102V1.68408H7.0698V0.42102C7.0698%200.188549%206.88126%200%206.64878%200C6.41631%200%206.22777%200.188549%206.22777%200.42102V1.68408H4.21082V0.42102C4.21051%200.188549%204.02196%200%203.78949%200C3.55702%200%203.36847%200.188549%203.36847%200.42102V1.68408H2.52643C1.13098%201.68408%200%202.81537%200%204.21051V14.7369C0%2015.4344%200.565647%2016%201.26306%2016H13.4736C14.8687%2016%2016%2014.869%2016%2013.4736V2.94745C16%202.24973%2015.4344%201.68408%2014.7369%201.68408ZM15.158%2013.4736C15.158%2014.4038%2014.4041%2015.1576%2013.4739%2015.1576H1.26306C1.03059%2015.1576%200.842039%2014.9691%200.842039%2014.7366V6.73663H15.158V13.4736ZM15.158%205.89459H0.842039V4.21051C0.842039%203.28031%201.59592%202.52643%202.52612%202.52643H3.36816V3.78949C3.36816%204.02196%203.55671%204.21051%203.78918%204.21051C4.02165%204.21051%204.2102%204.02196%204.2102%203.78949V2.52643H6.22714V3.78949C6.22714%204.02196%206.41569%204.21051%206.64816%204.21051C6.88063%204.21051%207.06918%204.02196%207.06918%203.78949V2.52643H9.08173V3.78949C9.08173%204.02196%209.27028%204.21051%209.50275%204.21051C9.73522%204.21051%209.92377%204.02196%209.92377%203.78949V2.52643H11.9363V3.78949C11.9363%204.02196%2012.1249%204.21051%2012.3573%204.21051C12.5898%204.21051%2012.7784%204.02196%2012.7784%203.78949V2.52643H14.7363C14.9688%202.52643%2015.1573%202.71498%2015.1573%202.94745V5.89459H15.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-clock:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8%200C3.5818%200%200%203.5818%200%208C0%2012.4182%203.5818%2016%208%2016C12.4182%2016%2016%2012.4182%2016%208C16%203.5818%2012.4182%200%208%200ZM8%2015.158C4.04675%2015.158%200.842039%2011.9533%200.842039%208C0.842039%204.04675%204.04675%200.842039%208%200.842039C11.9533%200.842039%2015.158%204.04675%2015.158%208C15.158%2011.9533%2011.9533%2015.158%208%2015.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M7.99929%202.81256C7.76682%202.81256%207.57827%203.00111%207.57827%203.23358V7.76818C7.57607%207.89963%207.46972%208.00599%207.33827%208.00818H2.78235C2.54988%208.00818%202.36133%208.19673%202.36133%208.4292C2.36133%208.66167%202.54988%208.85022%202.78235%208.85022H7.32133C7.92117%208.85713%208.41309%208.3765%208.42031%207.77665C8.42031%207.77383%208.42031%207.771%208.42031%207.76818V3.23358C8.42031%203.00111%208.23176%202.81256%207.99929%202.81256Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E%0A);--icon-select:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M4%206.6665L8%2010.6665L12%206.6665%22%20stroke%3D%22%235C2D91%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E);--icon-upload:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M18.7284%2020H6.54327C5.14071%2020%204%2018.816%204%2017.3603V16.102C4%2015.8589%204.18949%2015.6622%204.42374%2015.6622C4.65799%2015.6622%204.84748%2015.8589%204.84748%2016.102V17.3603C4.84748%2018.3311%205.60795%2019.1204%206.54327%2019.1204H18.7279C18.9618%2019.1204%2019.1517%2018.9233%2019.1517%2018.6806V16.0738C19.1517%2015.8307%2019.3412%2015.634%2019.5754%2015.634C19.8097%2015.634%2019.9992%2015.8307%2019.9992%2016.0738V18.6806C20%2019.4074%2019.4294%2020%2018.7284%2020Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M12.4435%204.29306C12.0671%203.90231%2011.4576%203.90231%2011.0811%204.29306L11.0774%204.29697L7.39173%208.122C7.01526%208.51275%207.01526%209.14534%207.39173%209.53609C7.7682%209.92684%208.37766%209.92684%208.75413%209.53609L10.7929%207.41951H10.7967V15.0414C10.7967%2015.4799%2011.1397%2015.8354%2011.5622%2015.8354H11.9579C12.3808%2015.8354%2012.7234%2015.4799%2012.7234%2015.0414V7.41821H12.7292L14.7659%209.53218C15.1424%209.92293%2015.7523%209.92293%2016.1284%209.53218C16.5048%209.14186%2016.5048%208.50884%2016.1284%208.11853L12.4435%204.29306Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--cancel-icon-width:1em;--cancel-icon-height:1em;--search-icon-datalist-width:2em;--search-icon-focus-width:var(--search-icon-datalist-width);display:block}:host *{box-sizing:border-box}label{all:unset;font-size:var(--px-font-size-base);line-height:var(--px-line-height-ratio-l)}input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container{vertical-align:baseline;align-items:center;gap:var(--px-spacing-default-mobile);padding:var(--px-padding-xs-mobile) calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile)) var(--px-padding-xs-mobile) var(--px-padding-s-mobile);background:var(--px-color-background-container-default-default) no-repeat;background-position:center right var(--px-padding-s-mobile);box-shadow:var(--px-color-border-neutral-default) 0 0 0px var(--px-size-border-m) inset;border-radius:var(--px-radius-main);color:var(--px-color-text-neutral-default);font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);line-height:var(--px-line-height-ratio-l);text-align:left;box-sizing:border-box;border:none;outline:0;margin:0;height:var(--px-size-l)!important}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended{width:100%}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).error:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).success:hover{box-shadow:var(--px-color-border-state-hover-default) 0 0 0px var(--px-size-border-l) inset;background-color:var(--px-color-background-state-hover-bordered-default)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):active{box-shadow:var(--px-color-border-state-active-default) 0 0 0px var(--px-size-border-m) inset;background-color:var(--px-color-background-container-default-default);outline:none}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):disabled,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):read-only:not(:is(select),#input-file-container){box-shadow:var(--px-color-border-neutral-default) 0 0 0px 0 inset;font-weight:var(--px-font-weight-title);text-align:left;background:0 0;padding:0}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).error{box-shadow:var(--px-color-border-purpose-error-default) 0 0 0px var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).success{box-shadow:var(--px-color-border-purpose-success-default) 0 0 0px var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time].success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time].error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).success{background-image:var(--icon-success)}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;background-image:var(--icon-cancel);height:var(--cancel-icon-height);width:var(--cancel-icon-width);margin-right:calc(( var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) ) * -1);margin-left:var(--px-spacing-s-mobile);background-position:50%;background-repeat:no-repeat}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{opacity:1;pointer-events:auto;margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{opacity:1;pointer-events:auto;margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:focus::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-spacing-xs-mobile) ) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-spacing-xs-mobile) ) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error:focus-visible{background-image:none}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select){text-overflow:ellipsis;-webkit-appearance:none;width:100%;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea){flex-grow:0;height:auto!important}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea).error{background-position:right 1rem top .5rem}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container{background-repeat:no-repeat;background-position:center right var(--px-padding-s-mobile);align-items:center;max-width:100%;display:flex}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container span{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.error{background-image:var(--icon-error)}#select-wrapper,#input-wrapper,#input-file-container{position:relative}#select-wrapper:after,:host([auto-complete]) #input-wrapper:after,#input-file-container:after{content:\"\";top:50%;right:var(--px-padding-s-mobile);pointer-events:none;background-color:var(--px-color-icon-brand-default);position:absolute;transform:translateY(-50%);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}#input-wrapper:has(input[type=search]):after{content:\"\";top:50%;right:var(--px-padding-s-mobile);pointer-events:none;background-color:var(--px-color-icon-brand-default);position:absolute;transform:translateY(-50%);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}#select-wrapper:after{width:1rem;height:1rem;-webkit-mask-image:var(--icon-select);-webkit-mask-image:var(--icon-select);mask-image:var(--icon-select)}:host([auto-complete]) #input-wrapper:after{width:1.25rem;height:1.25rem;-webkit-mask-image:var(--icon-search);-webkit-mask-image:var(--icon-search);mask-image:var(--icon-search)}#input-wrapper:has(input[type=search]):after{width:1.25rem;height:1.25rem;-webkit-mask-image:var(--icon-search);-webkit-mask-image:var(--icon-search);mask-image:var(--icon-search)}#input-file-container:after{width:1.5rem;height:1.5rem;-webkit-mask-image:var(--icon-upload);-webkit-mask-image:var(--icon-upload);mask-image:var(--icon-upload)}:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-mobile) + 2 * var(--px-padding-xs-mobile) + var(--px-size-icon-s));padding-right:var(--autocomplete-search-icon-width)}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile));background-image:var(--icon-success)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile));background-image:var(--icon-error)!important}slot{font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);text-align:left;color:var(--px-color-text-neutral-default)}slot.error{color:var(--px-color-text-purpose-error-default)}slot.success{color:var(--px-color-text-purpose-success-default)}slot[name=helper]{color:#0000008f;font-size:var(--px-text-size-label-s-mobile)}#container{gap:var(--px-spacing-2xs-mobile);flex-direction:column;display:inline-flex}#container:has(#input-file-container){max-width:100%}:host([extended]) #container{width:100%}#label-helper{gap:var(--px-spacing-2xs-mobile);flex-direction:column;display:flex}input[type=file]{-webkit-appearance:none;opacity:0;width:0;height:0}@media screen and (width<=47.938rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--mobile{width:100%}:host([extended--mobile]) #container{width:100%}}@media screen and (width>=48rem) and (width<=64rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--tablet{width:100%}:host([extended--tablet]) #container{width:100%}}@media screen and (width>=48rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-tablet) + 2 * var(--px-padding-xs-tablet) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet));background-image:var(--icon-success)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet));background-image:var(--icon-error)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-tablet);padding:var(--px-padding-xs-tablet) calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet)) var(--px-padding-xs-tablet) var(--px-padding-s-tablet);font-size:var(--px-text-size-label-l-tablet);background-position:center right var(--px-padding-s-tablet);height:var(--px-size-l)!important}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) ) * -1);margin-left:var(--px-spacing-s-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-spacing-xs-tablet) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-spacing-xs-tablet) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-image:none}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-tablet)}#select-wrapper:after,:host([auto-complete]) #input-wrapper:after,#input-file-container:after{right:var(--px-padding-s-tablet)}#input-wrapper:has(input[type=search]):after{right:var(--px-padding-s-tablet)}slot{font-size:var(--px-text-size-label-m-tablet)}slot[name=helper]{font-size:var(--px-text-size-label-s-tablet)}#container,#label-helper{gap:var(--px-spacing-2xs-tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--laptop{width:100%}:host([extended--laptop]) #container{width:100%}}@media screen and (width>=64.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-laptop) + 2 * var(--px-padding-xs-laptop) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop));background-image:var(--icon-success)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop));background-image:var(--icon-error)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-laptop);padding:var(--px-padding-xs-laptop) calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop)) var(--px-padding-xs-laptop) var(--px-padding-s-laptop);font-size:var(--px-text-size-label-l-laptop);background-position:center right var(--px-padding-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) ) * -1);margin-left:var(--px-spacing-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-spacing-xs-laptop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-spacing-xs-laptop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-image:none}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-laptop)}#select-wrapper:after,:host([auto-complete]) #input-wrapper:after,#input-file-container:after{right:var(--px-padding-s-laptop)}#input-wrapper:has(input[type=search]):after{right:var(--px-padding-s-laptop)}slot{font-size:var(--px-text-size-label-m-laptop)}slot[name=helper]{font-size:var(--px-text-size-label-s-laptop)}#container,#label-helper{gap:var(--px-spacing-2xs-laptop)}}@media screen and (width>=90.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-desktop) + 2 * var(--px-padding-xs-desktop) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop));background-image:var(--icon-success)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop));background-image:var(--icon-error)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-desktop);padding:var(--px-padding-xs-desktop) calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop)) var(--px-padding-xs-desktop) var(--px-padding-s-desktop);font-size:var(--px-text-size-label-l-desktop);background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) ) * -1);margin-left:var(--px-spacing-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-spacing-xs-desktop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-spacing-xs-desktop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-image:none}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container).extended--desktop{width:100%}:host([extended--desktop]) #container{width:100%}#select-wrapper:after,:host([auto-complete]) #input-wrapper:after,#input-file-container:after{right:var(--px-padding-s-desktop)}#input-wrapper:has(input[type=search]):after{right:var(--px-padding-s-desktop)}slot{font-size:var(--px-text-size-label-m-desktop)}slot[name=helper]{font-size:var(--px-text-size-label-s-desktop)}#container{gap:var(--px-spacing-2xs-laptop)}#label-helper{gap:var(--px-spacing-2xs-desktop)}}:host([hidden-label]) #label-helper{position:absolute}:host([hidden-label]) #container,:host([hidden-label]) #label-helper{gap:0}", w = new CSSStyleSheet();
|
|
192
|
-
w.replaceSync(le);
|
|
193
|
-
|
|
191
|
+
customElements.get("px-dropdown") || customElements.define("px-dropdown", fe);
|
|
192
|
+
//#endregion
|
|
193
|
+
//#region ../../components/Input/src/input.css?inline
|
|
194
|
+
var pe = ":host{--icon-error:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23B30000;%7D%3C/style%3E%3C/defs%3E%3Cg id='forms-error'%3E%3Cpath id='Error' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0ZM7.42,4.65a1.08,1.08,0,1,1,2.16,0V8.79a1.08,1.08,0,0,1-2.16,0Zm1.93,8.44a1.2,1.2,0,0,1-1.7-1.69,1.15,1.15,0,0,1,.85-.35,1.11,1.11,0,0,1,.84.35h0A1.21,1.21,0,0,1,9.35,13.09Z'/%3E%3C/g%3E%3C/svg%3E\");--icon-success:url(\"data:image/svg+xml,%3Csvg id='forms-success' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' width='17' height='17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23008000;%7D%3C/style%3E%3C/defs%3E%3Cpath id='Success' class='cls-1' d='M8.5,0A8.5,8.5,0,1,0,17,8.5,8.51,8.51,0,0,0,8.5,0Zm3.69,7.08-4.29,4a.81.81,0,0,1-.56.22.84.84,0,0,1-.59-.24L4.67,9A.81.81,0,0,1,5.81,7.85L7.35,9.4,11.1,5.91a.8.8,0,0,1,1.09,1.17Z'/%3E%3C/svg%3E\");--icon-search:url(data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.6451%2016.6649L12.5811%2011.7844C13.4371%2010.7503%2013.9122%209.46601%2013.9282%208.10498C13.9463%206.53112%2013.351%205.04391%2012.251%203.91824C11.1511%202.79211%209.67878%202.16202%208.10492%202.14352C8.081%202.14352%208.05753%202.14307%208.03406%202.14307C6.48637%202.14307%205.02715%202.7375%203.9182%203.82074C2.79208%204.92069%202.16199%206.393%202.14349%207.96687C2.12498%209.54118%202.72031%2011.0279%203.82026%2012.1536C4.97344%2013.3339%206.50442%2013.9261%208.03677%2013.9261C9.28408%2013.9261%2010.5303%2013.528%2011.5758%2012.7405L16.6828%2017.6633C16.8173%2017.7928%2016.9906%2017.8574%2017.164%2017.8574C17.3454%2017.8574%2017.5273%2017.7865%2017.6632%2017.6452C17.929%2017.3694%2017.9209%2016.9307%2017.6451%2016.6649ZM11.1849%2011.2595C10.3237%2012.1008%209.18546%2012.5707%207.98305%2012.5418C6.7793%2012.5278%205.65317%2012.0457%204.8123%2011.185C3.97101%2010.3238%203.5156%209.18687%203.53004%207.98312C3.54403%206.77981%204.02608%205.65369%204.88678%204.81282C5.73487%203.98413%206.85106%203.52962%208.03451%203.52962C8.05256%203.52962%208.07062%203.53007%208.08867%203.53007C9.29198%203.54406%2010.4181%204.02611%2011.2589%204.88684C12.1003%205.74802%2012.5557%206.88498%2012.5417%208.08873C12.5277%209.29249%2012.0456%2010.4186%2011.1849%2011.2595Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-cancel:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 17 17' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.33333 0C12.9357 0 16.6667 3.73096 16.6667 8.33333C16.6667 12.9357 12.9357 16.6667 8.33333 16.6667C3.73096 16.6667 0 12.9357 0 8.33333C0 3.73096 3.73096 0 8.33333 0ZM12.3071 4.35954C12.0502 4.10263 11.6339 4.10262 11.377 4.35954L8.33333 7.40316L5.28971 4.35954C5.03279 4.10261 4.61646 4.10261 4.35954 4.35954C4.10261 4.61646 4.10261 5.03279 4.35954 5.28971L7.40316 8.33333L4.35954 11.377C4.10262 11.6339 4.10263 12.0502 4.35954 12.3071C4.61648 12.5639 5.03284 12.564 5.28971 12.3071L8.33333 9.26351L11.377 12.3071C11.6339 12.564 12.0502 12.564 12.3071 12.3071C12.564 12.0502 12.564 11.6339 12.3071 11.377L9.26351 8.33333L12.3071 5.28971C12.564 5.03284 12.5639 4.61648 12.3071 4.35954Z' fill='%235C2D91'/%3E%3C/svg%3E\");--icon-calendar:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M14.7369%201.68408H12.779V0.42102C12.779%200.188549%2012.5904%200%2012.358%200C12.1255%200%2011.9369%200.188549%2011.9369%200.42102V1.68408H9.92439V0.42102C9.92439%200.188549%209.73584%200%209.50337%200C9.2709%200%209.08235%200.188549%209.08235%200.42102V1.68408H7.0698V0.42102C7.0698%200.188549%206.88126%200%206.64878%200C6.41631%200%206.22777%200.188549%206.22777%200.42102V1.68408H4.21082V0.42102C4.21051%200.188549%204.02196%200%203.78949%200C3.55702%200%203.36847%200.188549%203.36847%200.42102V1.68408H2.52643C1.13098%201.68408%200%202.81537%200%204.21051V14.7369C0%2015.4344%200.565647%2016%201.26306%2016H13.4736C14.8687%2016%2016%2014.869%2016%2013.4736V2.94745C16%202.24973%2015.4344%201.68408%2014.7369%201.68408ZM15.158%2013.4736C15.158%2014.4038%2014.4041%2015.1576%2013.4739%2015.1576H1.26306C1.03059%2015.1576%200.842039%2014.9691%200.842039%2014.7366V6.73663H15.158V13.4736ZM15.158%205.89459H0.842039V4.21051C0.842039%203.28031%201.59592%202.52643%202.52612%202.52643H3.36816V3.78949C3.36816%204.02196%203.55671%204.21051%203.78918%204.21051C4.02165%204.21051%204.2102%204.02196%204.2102%203.78949V2.52643H6.22714V3.78949C6.22714%204.02196%206.41569%204.21051%206.64816%204.21051C6.88063%204.21051%207.06918%204.02196%207.06918%203.78949V2.52643H9.08173V3.78949C9.08173%204.02196%209.27028%204.21051%209.50275%204.21051C9.73522%204.21051%209.92377%204.02196%209.92377%203.78949V2.52643H11.9363V3.78949C11.9363%204.02196%2012.1249%204.21051%2012.3573%204.21051C12.5898%204.21051%2012.7784%204.02196%2012.7784%203.78949V2.52643H14.7363C14.9688%202.52643%2015.1573%202.71498%2015.1573%202.94745V5.89459H15.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--icon-clock:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M8%200C3.5818%200%200%203.5818%200%208C0%2012.4182%203.5818%2016%208%2016C12.4182%2016%2016%2012.4182%2016%208C16%203.5818%2012.4182%200%208%200ZM8%2015.158C4.04675%2015.158%200.842039%2011.9533%200.842039%208C0.842039%204.04675%204.04675%200.842039%208%200.842039C11.9533%200.842039%2015.158%204.04675%2015.158%208C15.158%2011.9533%2011.9533%2015.158%208%2015.158Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M7.99929%202.81256C7.76682%202.81256%207.57827%203.00111%207.57827%203.23358V7.76818C7.57607%207.89963%207.46972%208.00599%207.33827%208.00818H2.78235C2.54988%208.00818%202.36133%208.19673%202.36133%208.4292C2.36133%208.66167%202.54988%208.85022%202.78235%208.85022H7.32133C7.92117%208.85713%208.41309%208.3765%208.42031%207.77665C8.42031%207.77383%208.42031%207.771%208.42031%207.76818V3.23358C8.42031%203.00111%208.23176%202.81256%207.99929%202.81256Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E%0A);--icon-select:url(data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M4%206.6665L8%2010.6665L12%206.6665%22%20stroke%3D%22%235C2D91%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E);--icon-upload:url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M18.7284%2020H6.54327C5.14071%2020%204%2018.816%204%2017.3603V16.102C4%2015.8589%204.18949%2015.6622%204.42374%2015.6622C4.65799%2015.6622%204.84748%2015.8589%204.84748%2016.102V17.3603C4.84748%2018.3311%205.60795%2019.1204%206.54327%2019.1204H18.7279C18.9618%2019.1204%2019.1517%2018.9233%2019.1517%2018.6806V16.0738C19.1517%2015.8307%2019.3412%2015.634%2019.5754%2015.634C19.8097%2015.634%2019.9992%2015.8307%2019.9992%2016.0738V18.6806C20%2019.4074%2019.4294%2020%2018.7284%2020Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3Cpath%20d%3D%22M12.4435%204.29306C12.0671%203.90231%2011.4576%203.90231%2011.0811%204.29306L11.0774%204.29697L7.39173%208.122C7.01526%208.51275%207.01526%209.14534%207.39173%209.53609C7.7682%209.92684%208.37766%209.92684%208.75413%209.53609L10.7929%207.41951H10.7967V15.0414C10.7967%2015.4799%2011.1397%2015.8354%2011.5622%2015.8354H11.9579C12.3808%2015.8354%2012.7234%2015.4799%2012.7234%2015.0414V7.41821H12.7292L14.7659%209.53218C15.1424%209.92293%2015.7523%209.92293%2016.1284%209.53218C16.5048%209.14186%2016.5048%208.50884%2016.1284%208.11853L12.4435%204.29306Z%22%20fill%3D%22%235C2D91%22%2F%3E%0A%3C%2Fsvg%3E);--cancel-icon-width:1em;--cancel-icon-height:1em;--search-icon-datalist-width:2em;--search-icon-focus-width:var(--search-icon-datalist-width);display:block}:host *{box-sizing:border-box}label{all:unset;font-size:var(--px-font-size-base);line-height:var(--px-line-height-ratio-l)}input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container{vertical-align:baseline;align-items:center;gap:var(--px-spacing-default-mobile);padding:var(--px-padding-xs-mobile) calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile)) var(--px-padding-xs-mobile) var(--px-padding-s-mobile);background:var(--px-color-background-container-default-default) no-repeat;background-position:center right var(--px-padding-s-mobile);box-shadow:var(--px-color-border-neutral-default) 0 0 0px var(--px-size-border-m) inset;border-radius:var(--px-radius-main);color:var(--px-color-text-neutral-default);font-family:var(--px-font-family);font-weight:var(--px-font-weight-body);font-size:var(--px-text-size-label-l-mobile);line-height:var(--px-line-height-ratio-l);text-align:left;box-sizing:border-box;border:none;outline:0;margin:0;height:var(--px-size-l)!important}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended{width:100%}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).error:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).success:hover{box-shadow:var(--px-color-border-state-hover-default) 0 0 0px var(--px-size-border-l) inset;background-color:var(--px-color-background-state-hover-bordered-default)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):active{box-shadow:var(--px-color-border-state-active-default) 0 0 0px var(--px-size-border-m) inset;background-color:var(--px-color-background-container-default-default);outline:none}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):disabled,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):read-only:not(:is(select),#input-file-container){box-shadow:var(--px-color-border-neutral-default) 0 0 0px 0 inset;font-weight:var(--px-font-weight-title);text-align:left;background:0 0;padding:0}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).error{box-shadow:var(--px-color-border-purpose-error-default) 0 0 0px var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).success{box-shadow:var(--px-color-border-purpose-success-default) 0 0 0px var(--px-size-border-m) inset;background-repeat:no-repeat;background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time].success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time].error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile))}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).success{background-image:var(--icon-success)}:is(:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=time]).error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;background-image:var(--icon-cancel);height:var(--cancel-icon-height);width:var(--cancel-icon-width);margin-right:calc(( var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) ) * -1);margin-left:var(--px-spacing-s-mobile);background-position:50%;background-repeat:no-repeat}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{opacity:1;pointer-events:auto;margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{opacity:1;pointer-events:auto;margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:focus::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-spacing-xs-mobile) ) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-mobile) + var(--px-spacing-xs-mobile) ) * -1)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-mobile)) * -1))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error:focus-visible{background-image:none}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)[type=search].error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select){text-overflow:ellipsis;-webkit-appearance:none;width:100%;padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile) + var(--px-size-icon-s) + var(--px-spacing-s-mobile))}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(select).error{background-image:var(--icon-error)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea){flex-grow:0;height:auto!important}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea).success,:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container):is(textarea).error{background-position:right 1rem top .5rem}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container{background-repeat:no-repeat;background-position:center right var(--px-padding-s-mobile);align-items:center;max-width:100%;display:flex}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container span{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.success{background-image:var(--icon-success)}:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container)#input-file-container.error{background-image:var(--icon-error)}#select-wrapper,#input-wrapper,#input-file-container{position:relative}#select-wrapper:after,:host([auto-complete]) #input-wrapper:after,#input-file-container:after{content:\"\";top:50%;right:var(--px-padding-s-mobile);pointer-events:none;background-color:var(--px-color-icon-brand-default);position:absolute;transform:translateY(-50%);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}#input-wrapper:has(input[type=search]):after{content:\"\";top:50%;right:var(--px-padding-s-mobile);pointer-events:none;background-color:var(--px-color-icon-brand-default);position:absolute;transform:translateY(-50%);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}#select-wrapper:after{width:1rem;height:1rem;-webkit-mask-image:var(--icon-select);-webkit-mask-image:var(--icon-select);mask-image:var(--icon-select)}:host([auto-complete]) #input-wrapper:after{width:1.25rem;height:1.25rem;-webkit-mask-image:var(--icon-search);-webkit-mask-image:var(--icon-search);mask-image:var(--icon-search)}#input-wrapper:has(input[type=search]):after{width:1.25rem;height:1.25rem;-webkit-mask-image:var(--icon-search);-webkit-mask-image:var(--icon-search);mask-image:var(--icon-search)}#input-file-container:after{width:1.5rem;height:1.5rem;-webkit-mask-image:var(--icon-upload);-webkit-mask-image:var(--icon-upload);mask-image:var(--icon-upload)}:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-mobile) + 2 * var(--px-padding-xs-mobile) + var(--px-size-icon-s));padding-right:var(--autocomplete-search-icon-width)}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile));background-image:var(--icon-success)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-mobile) + var(--px-padding-xs-mobile) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-mobile) + var(--px-size-icon-s) + var(--px-spacing-xs-mobile));background-image:var(--icon-error)!important}slot{font-family:var(--px-font-family);font-size:var(--px-text-size-label-m-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);text-align:left;color:var(--px-color-text-neutral-default)}slot.error{color:var(--px-color-text-purpose-error-default)}slot.success{color:var(--px-color-text-purpose-success-default)}slot[name=helper]{color:#0000008f;font-size:var(--px-text-size-label-s-mobile)}#container{gap:var(--px-spacing-2xs-mobile);flex-direction:column;display:inline-flex}#container:has(#input-file-container){max-width:100%}:host([extended]) #container{width:100%}#label-helper{gap:var(--px-spacing-2xs-mobile);flex-direction:column;display:flex}input[type=file]{-webkit-appearance:none;opacity:0;width:0;height:0}@media screen and (width<=47.938rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--mobile{width:100%}:host([extended--mobile]) #container{width:100%}}@media screen and (width>=48rem) and (width<=64rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--tablet{width:100%}:host([extended--tablet]) #container{width:100%}}@media screen and (width>=48rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-tablet) + 2 * var(--px-padding-xs-tablet) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet));background-image:var(--icon-success)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-tablet) + var(--px-padding-xs-tablet) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet));background-image:var(--icon-error)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-tablet);padding:var(--px-padding-xs-tablet) calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet)) var(--px-padding-xs-tablet) var(--px-padding-s-tablet);font-size:var(--px-text-size-label-l-tablet);background-position:center right var(--px-padding-s-tablet);height:var(--px-size-l)!important}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visible:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) ) * -1);margin-left:var(--px-spacing-s-tablet)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-spacing-xs-tablet) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-tablet) + var(--px-spacing-xs-tablet) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-tablet)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-image:none}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-tablet) + var(--px-size-icon-s) + var(--px-spacing-xs-tablet) + var(--px-size-icon-s) + var(--px-spacing-s-tablet))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-tablet)}#select-wrapper:after,:host([auto-complete]) #input-wrapper:after,#input-file-container:after{right:var(--px-padding-s-tablet)}#input-wrapper:has(input[type=search]):after{right:var(--px-padding-s-tablet)}slot{font-size:var(--px-text-size-label-m-tablet)}slot[name=helper]{font-size:var(--px-text-size-label-s-tablet)}#container,#label-helper{gap:var(--px-spacing-2xs-tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:is(input:not([type=file]),textarea,select,:host([auto-complete]) input,#input-file-container).extended--laptop{width:100%}:host([extended--laptop]) #container{width:100%}}@media screen and (width>=64.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-laptop) + 2 * var(--px-padding-xs-laptop) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop));background-image:var(--icon-success)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop));background-image:var(--icon-error)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-laptop);padding:var(--px-padding-xs-laptop) calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop)) var(--px-padding-xs-laptop) var(--px-padding-s-laptop);font-size:var(--px-text-size-label-l-laptop);background-position:center right var(--px-padding-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) ) * -1);margin-left:var(--px-spacing-s-laptop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-spacing-xs-laptop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-laptop) + var(--px-spacing-xs-laptop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-laptop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-image:none}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop) + var(--px-size-icon-s) + var(--px-spacing-s-laptop))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-laptop)}#select-wrapper:after,:host([auto-complete]) #input-wrapper:after,#input-file-container:after{right:var(--px-padding-s-laptop)}#input-wrapper:has(input[type=search]):after{right:var(--px-padding-s-laptop)}slot{font-size:var(--px-text-size-label-m-laptop)}slot[name=helper]{font-size:var(--px-text-size-label-s-laptop)}#container,#label-helper{gap:var(--px-spacing-2xs-laptop)}}@media screen and (width>=90.0625rem){:host([auto-complete]) input{--autocomplete-search-icon-width:calc(2 * var(--px-spacing-xs-desktop) + 2 * var(--px-padding-xs-desktop) + var(--px-size-icon-s))}:host([auto-complete]) input.success{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop));background-image:var(--icon-success)!important}:host([auto-complete]) input.error{--autocomplete-search-icon-width:calc(2 * ( var(--px-spacing-xs-laptop) + var(--px-padding-xs-laptop) + var(--px-size-icon-s) ));background-position:center right calc(var(--px-padding-s-laptop) + var(--px-size-icon-s) + var(--px-spacing-xs-laptop));background-image:var(--icon-error)!important}input:not([type=file]),textarea,select,#input-file-container{gap:var(--px-spacing-default-desktop);padding:var(--px-padding-xs-desktop) calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop)) var(--px-padding-xs-desktop) var(--px-padding-s-desktop);font-size:var(--px-text-size-label-l-desktop);background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container):focus-visble:not([disabled],[aria-disabled=true]):not([readonly],[aria-readonly=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.success,:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container.error{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]{min-width:8.5rem;padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time])::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-size-icon-s) ) * -1)}:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).error,:is(:is(input:not([type=file]),textarea,select,#input-file-container)[type=date],:is(input:not([type=file]),textarea,select,#input-file-container)[type=datetime-local],:is(input:not([type=file]),textarea,select,#input-file-container)[type=month],:is(input:not([type=file]),textarea,select,#input-file-container)[type=week],:is(input:not([type=file]),textarea,select,#input-file-container)[type=time]).success{background-position:center right calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]::-webkit-search-cancel-button{margin-right:calc(( var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) ) * -1);margin-left:var(--px-spacing-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:focus::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search]:hover::-webkit-search-cancel-button{margin-right:calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-spacing-xs-desktop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-calendar-picker-indicator{margin-right:calc(( var(--px-size-icon-s) + var(--px-spacing-s-desktop) + var(--px-spacing-xs-desktop) ) * -1)}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:focus-visible::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search][list=suggestions]:hover::-webkit-search-cancel-button{margin-right:var(--search-cancel-datalist-margin-right,calc((var(--px-size-icon-s) + var(--px-spacing-s-desktop)) * -1))}:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].success:focus-visible,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:hover,:is(input:not([type=file]),textarea,select,#input-file-container)[type=search].error:focus-visible{background-image:none}:is(input:not([type=file]),textarea,select,#input-file-container):is(select){padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s))}:is(input:not([type=file]),textarea,select,#input-file-container):is(select).success,:is(input:not([type=file]),textarea,select,#input-file-container):is(select).error{padding-right:calc(var(--px-padding-s-desktop) + var(--px-size-icon-s) + var(--px-spacing-xs-desktop) + var(--px-size-icon-s) + var(--px-spacing-s-desktop))}:is(input:not([type=file]),textarea,select,#input-file-container)#input-file-container{background-position:center right var(--px-padding-s-desktop)}:is(input:not([type=file]),textarea,select,#input-file-container).extended--desktop{width:100%}:host([extended--desktop]) #container{width:100%}#select-wrapper:after,:host([auto-complete]) #input-wrapper:after,#input-file-container:after{right:var(--px-padding-s-desktop)}#input-wrapper:has(input[type=search]):after{right:var(--px-padding-s-desktop)}slot{font-size:var(--px-text-size-label-m-desktop)}slot[name=helper]{font-size:var(--px-text-size-label-s-desktop)}#container{gap:var(--px-spacing-2xs-laptop)}#label-helper{gap:var(--px-spacing-2xs-desktop)}}:host([hidden-label]) #label-helper{position:absolute}:host([hidden-label]) #container,:host([hidden-label]) #label-helper{gap:0}", D = new CSSStyleSheet();
|
|
195
|
+
D.replaceSync(pe);
|
|
196
|
+
var O = /* @__PURE__ */ function(e) {
|
|
194
197
|
return e.ERROR = "error", e.SUCCESS = "success", e;
|
|
195
|
-
}({}),
|
|
198
|
+
}({}), k = class extends t {
|
|
196
199
|
constructor() {
|
|
197
|
-
super(
|
|
200
|
+
super(D), this.containerTemplate = () => `
|
|
198
201
|
<div id="container">
|
|
199
202
|
<div id="label-helper">
|
|
200
203
|
<label><slot name="label"></slot></label>
|
|
@@ -208,7 +211,7 @@ var T = /* @__PURE__ */ function(e) {
|
|
|
208
211
|
bubbles: !0,
|
|
209
212
|
composed: !0
|
|
210
213
|
}));
|
|
211
|
-
}, this.onHelperSlotChange = () => this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.onStatusTextSlotChange = () => this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text"),
|
|
214
|
+
}, this.onHelperSlotChange = () => this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.onStatusTextSlotChange = () => this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text"), C(this.shadowRoot, this.containerTemplate()), this.internals = this.attachInternals?.();
|
|
212
215
|
}
|
|
213
216
|
static get observedAttributes() {
|
|
214
217
|
return [
|
|
@@ -223,7 +226,7 @@ var T = /* @__PURE__ */ function(e) {
|
|
|
223
226
|
];
|
|
224
227
|
}
|
|
225
228
|
attributeChangedCallback(e, t, n) {
|
|
226
|
-
e === "aria-describedby" && t !== n ?
|
|
229
|
+
e === "aria-describedby" && t !== n ? ce(this, this.$el, !1) : e === "state" && t !== n ? this.stateChangeCallback(t, n) : (e === "extended" || e === "extended--mobile" || e === "extended--tablet" || e === "extended--laptop" || e === "extended--desktop") && t !== n ? this.$el.classList.toggle(e) : super.attributeChangedCallback(e, t, n);
|
|
227
230
|
}
|
|
228
231
|
stateChangeCallback(e, t) {
|
|
229
232
|
this.$el.classList.remove(e), this.$el.classList.toggle(t), t === "error" ? (this.$statusTextSlot.classList.toggle("error"), this.$el.setAttribute("aria-invalid", "true"), this.internals && (this.internals.ariaInvalid = "true"), this.$statusTextSlot.classList.remove("success")) : t === "success" ? (this.$statusTextSlot.classList.remove("error"), this.$statusTextSlot.classList.toggle("success")) : (this.$el.removeAttribute("aria-invalid"), this.internals && (this.internals.ariaInvalid = null), this.$statusTextSlot.classList.remove("error", "success"), this.$labelSlot.classList.remove("error", "success"), this.$el.style.backgroundImage = ""), this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text");
|
|
@@ -316,10 +319,19 @@ var T = /* @__PURE__ */ function(e) {
|
|
|
316
319
|
get $slotStatusText() {
|
|
317
320
|
return this.querySelectorAll("[slot=\"status-text\"]");
|
|
318
321
|
}
|
|
319
|
-
},
|
|
322
|
+
}, me = class extends k {
|
|
320
323
|
static {
|
|
321
324
|
this.nativeName = "input";
|
|
322
325
|
}
|
|
326
|
+
static {
|
|
327
|
+
this.nativeProperties = v;
|
|
328
|
+
}
|
|
329
|
+
static {
|
|
330
|
+
this.nativeMethods = _;
|
|
331
|
+
}
|
|
332
|
+
static {
|
|
333
|
+
this.nativeAttributes = g;
|
|
334
|
+
}
|
|
323
335
|
constructor() {
|
|
324
336
|
super(), this.observer = null, this.syncDataList = () => {
|
|
325
337
|
let e = this.$lightSuggestions?.cloneNode(!0);
|
|
@@ -357,12 +369,40 @@ var T = /* @__PURE__ */ function(e) {
|
|
|
357
369
|
return this.shadowRoot.querySelector("div");
|
|
358
370
|
}
|
|
359
371
|
};
|
|
360
|
-
customElements.get("px-input") || customElements.define("px-input",
|
|
361
|
-
|
|
362
|
-
|
|
372
|
+
customElements.get("px-input") || customElements.define("px-input", me);
|
|
373
|
+
//#endregion
|
|
374
|
+
//#region ../../components/Input/src/TextArea.ts
|
|
375
|
+
var he = class extends k {
|
|
363
376
|
static {
|
|
364
377
|
this.nativeName = "textarea";
|
|
365
378
|
}
|
|
379
|
+
static {
|
|
380
|
+
this.nativeProperties = y;
|
|
381
|
+
}
|
|
382
|
+
static {
|
|
383
|
+
this.nativeMethods = se;
|
|
384
|
+
}
|
|
385
|
+
static {
|
|
386
|
+
this.nativeAttributes = {
|
|
387
|
+
autocomplete: ["autocomplete"],
|
|
388
|
+
autofocus: ["autofocus"],
|
|
389
|
+
cols: ["cols"],
|
|
390
|
+
dirname: ["dirName"],
|
|
391
|
+
disabled: ["disabled"],
|
|
392
|
+
form: [],
|
|
393
|
+
inputmode: ["inputMode"],
|
|
394
|
+
enterkeyhint: ["enterKeyHint"],
|
|
395
|
+
maxlength: ["maxLength"],
|
|
396
|
+
minlength: ["minLength"],
|
|
397
|
+
name: ["name"],
|
|
398
|
+
placeholder: ["placeholder"],
|
|
399
|
+
readonly: ["readOnly"],
|
|
400
|
+
required: ["required"],
|
|
401
|
+
rows: ["rows"],
|
|
402
|
+
title: ["title"],
|
|
403
|
+
wrap: ["wrap"]
|
|
404
|
+
};
|
|
405
|
+
}
|
|
366
406
|
constructor() {
|
|
367
407
|
super();
|
|
368
408
|
}
|
|
@@ -370,12 +410,32 @@ var de = class extends E {
|
|
|
370
410
|
return "<textarea></textarea>";
|
|
371
411
|
}
|
|
372
412
|
};
|
|
373
|
-
customElements.get("px-textarea") || customElements.define("px-textarea",
|
|
374
|
-
|
|
375
|
-
|
|
413
|
+
customElements.get("px-textarea") || customElements.define("px-textarea", he);
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region ../../components/Input/src/Select.ts
|
|
416
|
+
var ge = class extends k {
|
|
376
417
|
static {
|
|
377
418
|
this.nativeName = "select";
|
|
378
419
|
}
|
|
420
|
+
static {
|
|
421
|
+
this.nativeProperties = oe;
|
|
422
|
+
}
|
|
423
|
+
static {
|
|
424
|
+
this.nativeMethods = ae;
|
|
425
|
+
}
|
|
426
|
+
static {
|
|
427
|
+
this.nativeAttributes = {
|
|
428
|
+
autocomplete: ["autocomplete"],
|
|
429
|
+
autofocus: ["autofocus"],
|
|
430
|
+
disabled: ["disabled"],
|
|
431
|
+
form: [],
|
|
432
|
+
multiple: ["multiple"],
|
|
433
|
+
name: ["name"],
|
|
434
|
+
required: ["required"],
|
|
435
|
+
size: ["size"],
|
|
436
|
+
title: ["title"]
|
|
437
|
+
};
|
|
438
|
+
}
|
|
379
439
|
template() {
|
|
380
440
|
return "<div id=\"select-wrapper\"><select></select></div>";
|
|
381
441
|
}
|
|
@@ -403,12 +463,22 @@ var fe = class extends E {
|
|
|
403
463
|
super.disconnectedCallback(), this.observer?.disconnect();
|
|
404
464
|
}
|
|
405
465
|
};
|
|
406
|
-
customElements.get("px-select") || customElements.define("px-select",
|
|
407
|
-
|
|
408
|
-
|
|
466
|
+
customElements.get("px-select") || customElements.define("px-select", ge);
|
|
467
|
+
//#endregion
|
|
468
|
+
//#region ../../components/Input/src/Upload.ts
|
|
469
|
+
var _e = class extends k {
|
|
409
470
|
static {
|
|
410
471
|
this.nativeName = "input";
|
|
411
472
|
}
|
|
473
|
+
static {
|
|
474
|
+
this.nativeProperties = v;
|
|
475
|
+
}
|
|
476
|
+
static {
|
|
477
|
+
this.nativeMethods = _;
|
|
478
|
+
}
|
|
479
|
+
static {
|
|
480
|
+
this.nativeAttributes = g;
|
|
481
|
+
}
|
|
412
482
|
constructor() {
|
|
413
483
|
super();
|
|
414
484
|
}
|
|
@@ -432,26 +502,35 @@ var pe = class extends E {
|
|
|
432
502
|
return this.shadowRoot.querySelector("span");
|
|
433
503
|
}
|
|
434
504
|
get $el() {
|
|
435
|
-
return this.shadowRoot.querySelector("input
|
|
505
|
+
return this.shadowRoot.querySelector("input");
|
|
436
506
|
}
|
|
437
507
|
};
|
|
438
|
-
customElements.get("px-fileupload") || customElements.define("px-fileupload",
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
508
|
+
customElements.get("px-fileupload") || customElements.define("px-fileupload", _e);
|
|
509
|
+
//#endregion
|
|
510
|
+
//#region ../../components/Input/src/code-input.css?inline
|
|
511
|
+
var ve = ":host{--code-box-width:2.813rem;--code-gap:var(--px-spacing-xs-mobile);display:block}:host *{box-sizing:border-box}.code-input{gap:var(--code-gap);display:flex}.code-input .code-input-cell{width:var(--code-box-width);text-align:center;cursor:text;padding:var(--px-padding-s-mobile)!important;background:var(--px-color-background-container-default-default)!important;height:2.75rem!important;box-shadow:var(--px-color-border-neutral-default) 0 0 0px var(--px-size-border-m) inset!important}.code-input .code-input-cell:hover:not(:disabled,:read-only){box-shadow:var(--px-color-border-state-hover-default) 0 0 0px var(--px-size-border-l) inset!important;background-color:var(--px-color-background-state-hover-bordered-default)!important}.code-input .code-input-cell.error{box-shadow:var(--px-color-border-purpose-error-default) 0 0 0px var(--px-size-border-m) inset!important;background-image:none!important}.code-input .code-input-cell.success{box-shadow:var(--px-color-border-purpose-success-default) 0 0 0px var(--px-size-border-m) inset!important;background-image:none!important}.code-input .code-input-cell:read-only,.code-input .code-input-cell:disabled{box-shadow:none!important;background:0 0!important}.code-input .code-input-single{width:calc(var(--code-cell-count) * var(--code-box-width) + (var(--code-cell-count) - 1) * var(--code-gap));text-align:left;caret-color:var(--px-color-text-neutral-default)}.code-input .code-input-single::selection{color:highlighttext;background-color:highlight}@media screen and (width>=48rem){:host{--code-gap:var(--px-spacing-xs-tablet)}}@media screen and (width>=64.0625rem){:host{--code-gap:var(--px-spacing-xs-laptop)}}@media screen and (width>=90.0625rem){:host{--code-gap:var(--px-spacing-xs-desktop)}}", A = new CSSStyleSheet();
|
|
512
|
+
A.replaceSync(ve);
|
|
513
|
+
var j = class e extends k {
|
|
443
514
|
static {
|
|
444
|
-
this.styles =
|
|
515
|
+
this.styles = A;
|
|
445
516
|
}
|
|
446
517
|
static {
|
|
447
518
|
this.nativeName = "input";
|
|
448
519
|
}
|
|
449
520
|
static {
|
|
450
|
-
this.
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
521
|
+
this.nativeProperties = v;
|
|
522
|
+
}
|
|
523
|
+
static {
|
|
524
|
+
this.nativeMethods = _;
|
|
525
|
+
}
|
|
526
|
+
static {
|
|
527
|
+
this.nativeAttributes = {
|
|
528
|
+
...g,
|
|
529
|
+
value: [],
|
|
530
|
+
readonly: [],
|
|
531
|
+
disabled: [],
|
|
532
|
+
size: []
|
|
533
|
+
};
|
|
455
534
|
}
|
|
456
535
|
template() {
|
|
457
536
|
return "<div class=\"code-input\"></div>";
|
|
@@ -478,17 +557,21 @@ var he = class e extends E {
|
|
|
478
557
|
if (e.key === "Backspace") {
|
|
479
558
|
let r = this.$cells[n - 1];
|
|
480
559
|
t.value === "" && r && (e.preventDefault(), r.value = "", r.focus(), this.syncFormValue());
|
|
481
|
-
|
|
560
|
+
return;
|
|
561
|
+
}
|
|
562
|
+
if (e.key === "ArrowLeft" && t.selectionStart === 0 && t.selectionEnd === 0) {
|
|
482
563
|
let t = this.$cells[n - 1];
|
|
483
564
|
t && (e.preventDefault(), t.focus(), t.setSelectionRange(t.value.length, t.value.length));
|
|
484
|
-
|
|
565
|
+
return;
|
|
566
|
+
}
|
|
567
|
+
if (e.key === "ArrowRight" && t.selectionStart === t.value.length && t.selectionEnd === t.value.length) {
|
|
485
568
|
let t = this.$cells[n + 1];
|
|
486
569
|
t && (e.preventDefault(), t.focus(), t.setSelectionRange(0, 0));
|
|
487
570
|
}
|
|
488
571
|
}, this.onCellPaste = (e, t) => {
|
|
489
572
|
let n = e.clipboardData?.getData("text") ?? "";
|
|
490
573
|
n && (e.preventDefault(), this.distributeFrom(t, n));
|
|
491
|
-
}, this.shadowRoot.adoptedStyleSheets = [...this.shadowRoot.adoptedStyleSheets ?? [],
|
|
574
|
+
}, this.shadowRoot.adoptedStyleSheets = [...this.shadowRoot.adoptedStyleSheets ?? [], A], this.setupInputs();
|
|
492
575
|
}
|
|
493
576
|
connectedCallback() {
|
|
494
577
|
super.connectedCallback();
|
|
@@ -500,9 +583,6 @@ var he = class e extends E {
|
|
|
500
583
|
let e = this.$container;
|
|
501
584
|
e?.removeEventListener("input", this.onContainerInput), e?.removeEventListener("keydown", this.onContainerKeydown), e?.removeEventListener("paste", this.onContainerPaste), this.$inputs.forEach((e) => e.removeEventListener("change", this.onNativeChange));
|
|
502
585
|
}
|
|
503
|
-
static get observedAttributes() {
|
|
504
|
-
return [...super.observedAttributes, "inputmode"];
|
|
505
|
-
}
|
|
506
586
|
static {
|
|
507
587
|
this.forwardedAttributes = [
|
|
508
588
|
"type",
|
|
@@ -513,8 +593,11 @@ var he = class e extends E {
|
|
|
513
593
|
}
|
|
514
594
|
attributeChangedCallback(t, n, r) {
|
|
515
595
|
if (n !== r) {
|
|
516
|
-
if (e.forwardedAttributes.includes(t))
|
|
517
|
-
|
|
596
|
+
if (e.forwardedAttributes.includes(t)) {
|
|
597
|
+
this.syncCellAttributes();
|
|
598
|
+
return;
|
|
599
|
+
}
|
|
600
|
+
switch (t) {
|
|
518
601
|
case "size":
|
|
519
602
|
case "readonly":
|
|
520
603
|
case "disabled":
|
|
@@ -529,8 +612,8 @@ var he = class e extends E {
|
|
|
529
612
|
}
|
|
530
613
|
stateChangeCallback(e, t) {
|
|
531
614
|
this.$inputs.forEach((n) => {
|
|
532
|
-
n.classList.remove(e), n.classList.toggle(t), t ===
|
|
533
|
-
}), t ===
|
|
615
|
+
n.classList.remove(e), n.classList.toggle(t), t === O.ERROR ? n.setAttribute("aria-invalid", "true") : n.removeAttribute("aria-invalid");
|
|
616
|
+
}), t === O.ERROR ? (this.$statusTextSlot.classList.toggle("error"), this.internals && (this.internals.ariaInvalid = "true"), this.$statusTextSlot.classList.remove("success")) : t === O.SUCCESS ? (this.$statusTextSlot.classList.remove("error"), this.$statusTextSlot.classList.toggle("success")) : (this.internals && (this.internals.ariaInvalid = null), this.$statusTextSlot.classList.remove("error", "success"), this.$labelSlot.classList.remove("error", "success")), this.setupAriaDescribedBy(this.$slotHelper, this.$helperSlot, "helper"), this.setupAriaDescribedBy(this.$slotStatusText, this.$statusTextSlot, "status-text"), this.syncGroupAria();
|
|
534
617
|
}
|
|
535
618
|
formData() {
|
|
536
619
|
let e = new FormData(), t = this.getAttribute("name"), n = this.getValue();
|
|
@@ -551,7 +634,16 @@ var he = class e extends E {
|
|
|
551
634
|
this.setValue(t || this.getAttribute("value") || ""), this.syncCellAttributes(), this.$inputs.forEach((e) => e.addEventListener("change", this.onNativeChange)), this.restoreLabelAssociation();
|
|
552
635
|
}
|
|
553
636
|
syncCellAttributes() {
|
|
554
|
-
|
|
637
|
+
for (let t of Object.keys(e.nativeAttributes)) {
|
|
638
|
+
if (t === "size" || t === "value") continue;
|
|
639
|
+
let e = this.getAttribute(t);
|
|
640
|
+
e !== null && this.$el.setAttribute(t, e);
|
|
641
|
+
}
|
|
642
|
+
[
|
|
643
|
+
...e.forwardedAttributes,
|
|
644
|
+
"readonly",
|
|
645
|
+
"disabled"
|
|
646
|
+
].forEach((e) => {
|
|
555
647
|
let t = this.getAttribute(e);
|
|
556
648
|
this.$inputs.forEach((n) => {
|
|
557
649
|
t === null ? n.removeAttribute(e) : n.setAttribute(e, t);
|
|
@@ -633,6 +725,13 @@ var he = class e extends E {
|
|
|
633
725
|
set value(e) {
|
|
634
726
|
this.setValue(e ?? "");
|
|
635
727
|
}
|
|
728
|
+
get size() {
|
|
729
|
+
return parseInt(this.getAttribute("size") || "6", 10);
|
|
730
|
+
}
|
|
731
|
+
set size(e) {
|
|
732
|
+
let t = this.$el;
|
|
733
|
+
t.size = e, this._updateAttribute("size", t.getAttribute("size"));
|
|
734
|
+
}
|
|
636
735
|
get readOnly() {
|
|
637
736
|
return this.hasAttribute("readonly");
|
|
638
737
|
}
|
|
@@ -646,20 +745,21 @@ var he = class e extends E {
|
|
|
646
745
|
this._updateBooleanAttribute("disabled", e);
|
|
647
746
|
}
|
|
648
747
|
};
|
|
649
|
-
customElements.get("px-code-input") || customElements.define("px-code-input",
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
748
|
+
customElements.get("px-code-input") || customElements.define("px-code-input", j);
|
|
749
|
+
//#endregion
|
|
750
|
+
//#region src/Autocomplete.ts
|
|
751
|
+
var M = new CSSStyleSheet();
|
|
752
|
+
M.replaceSync(le);
|
|
753
|
+
var N = class e extends n {
|
|
654
754
|
static {
|
|
655
|
-
this.template =
|
|
755
|
+
this.template = d("<px-dropdown anchoralignment=\"bottom-left\" manual-toggle><px-input slot=\"trigger\" auto-complete><slot name=\"label\" slot=\"label\"></slot><slot name=\"helper\" slot=\"helper\"></slot><slot name=\"status-text\" slot=\"status-text\"></slot></px-input><div class=\"dropdown-content\" slot=\"popover\" role=\"listbox\"><slot name=\"dropdown-content\"></slot></div></px-dropdown>");
|
|
656
756
|
}
|
|
657
757
|
static {
|
|
658
758
|
this.formAssociated = !0;
|
|
659
759
|
}
|
|
660
760
|
#e = Math.random().toString(36).substring(2, 15);
|
|
661
761
|
constructor() {
|
|
662
|
-
super(
|
|
762
|
+
super(M), C(this.shadowRoot, e.template), this.internals = this.attachInternals?.();
|
|
663
763
|
}
|
|
664
764
|
static get observedAttributes() {
|
|
665
765
|
return [
|
|
@@ -759,12 +859,13 @@ var k = class e extends n {
|
|
|
759
859
|
return this.getAttribute("popover-height");
|
|
760
860
|
}
|
|
761
861
|
set popoverHeight(e) {
|
|
762
|
-
|
|
862
|
+
S(this, "popover-height", e);
|
|
763
863
|
}
|
|
764
864
|
};
|
|
765
|
-
customElements.get("px-autocomplete") || customElements.define("px-autocomplete",
|
|
766
|
-
|
|
767
|
-
|
|
865
|
+
customElements.get("px-autocomplete") || customElements.define("px-autocomplete", N);
|
|
866
|
+
//#endregion
|
|
867
|
+
//#region ../../components/Icon/common/src/IconSet.ts
|
|
868
|
+
var P = class extends HTMLElement {
|
|
768
869
|
constructor() {
|
|
769
870
|
super();
|
|
770
871
|
}
|
|
@@ -798,8 +899,8 @@ var A = class extends HTMLElement {
|
|
|
798
899
|
e && e.remove();
|
|
799
900
|
}
|
|
800
901
|
};
|
|
801
|
-
customElements.get("px-icon-set") || customElements.define("px-icon-set",
|
|
802
|
-
var
|
|
902
|
+
customElements.get("px-icon-set") || customElements.define("px-icon-set", P);
|
|
903
|
+
var F = [
|
|
803
904
|
"Inherit",
|
|
804
905
|
"Brand",
|
|
805
906
|
"Accent",
|
|
@@ -813,11 +914,11 @@ var j = [
|
|
|
813
914
|
"StateHover",
|
|
814
915
|
"StateActive",
|
|
815
916
|
"StateDisabled"
|
|
816
|
-
].map((e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)),
|
|
817
|
-
|
|
818
|
-
var
|
|
917
|
+
].map((e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)), ye = ":host{flex-direction:column;justify-content:center;display:inline-flex}svg{font-size:var(--px-size-icon-s);width:1em;height:1em;color:var(--px-color-icon-accent-default);line-height:1}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}", I = new CSSStyleSheet();
|
|
918
|
+
I.replaceSync(ye);
|
|
919
|
+
var be = class e extends n {
|
|
819
920
|
static {
|
|
820
|
-
this.template =
|
|
921
|
+
this.template = d("<svg aria-hidden=\"true\"><use></use></svg>");
|
|
821
922
|
}
|
|
822
923
|
#e = null;
|
|
823
924
|
#t;
|
|
@@ -834,7 +935,7 @@ var P = class e extends n {
|
|
|
834
935
|
];
|
|
835
936
|
}
|
|
836
937
|
constructor(...t) {
|
|
837
|
-
super(...t,
|
|
938
|
+
super(...t, I), C(this.shadowRoot, e.template), this.#t = this.attachInternals?.(), this.#t && (this.#t.role = "img");
|
|
838
939
|
}
|
|
839
940
|
attributeChangedCallback(e, t, n) {
|
|
840
941
|
if (t !== n) switch (e) {
|
|
@@ -842,10 +943,10 @@ var P = class e extends n {
|
|
|
842
943
|
this.updateName(t, n);
|
|
843
944
|
break;
|
|
844
945
|
case "size":
|
|
845
|
-
this.updateAttribute(e, t, n,
|
|
946
|
+
this.updateAttribute(e, t, n, ie);
|
|
846
947
|
break;
|
|
847
948
|
case "color":
|
|
848
|
-
this.updateAttribute(e, t, n,
|
|
949
|
+
this.updateAttribute(e, t, n, F);
|
|
849
950
|
break;
|
|
850
951
|
case "disabled":
|
|
851
952
|
this.color = "state-disabled";
|
|
@@ -859,11 +960,17 @@ var P = class e extends n {
|
|
|
859
960
|
this.role = "img";
|
|
860
961
|
let e = document.querySelectorAll("px-icon-set");
|
|
861
962
|
e || console.log("<px-icon-set> component not found");
|
|
862
|
-
for (let t of e)
|
|
963
|
+
for (let t of e) {
|
|
964
|
+
if (!t.getAttribute("name") || !t.getAttribute("src")) {
|
|
965
|
+
console.error("Icon name or src not found");
|
|
966
|
+
continue;
|
|
967
|
+
}
|
|
968
|
+
t.getAttribute("name") === this.from && t.getAttribute("type") !== "font" && (this.#e = t.getAttribute("src"), this.$el.firstElementChild?.setAttribute("href", `${this.#e}#icon-${this.name}`));
|
|
969
|
+
}
|
|
863
970
|
!this.ariaLabel && this.#t && (this.#t.ariaHidden = "true", this.ariaHidden = "true"), this.parentElement?.localName === "px-a" && this.slot !== "before" && this.slot !== "after" && (this.color || this.setAttribute("color", "inherit"));
|
|
864
971
|
}
|
|
865
972
|
updateAttribute(e, t, n, r) {
|
|
866
|
-
t !== null && t !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${t}`) : this.$el.classList.toggle(t)), n !== null && n !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${n}`) : this.$el.classList.toggle(n)), this.checkName(r, n) ||
|
|
973
|
+
t !== null && t !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${t}`) : this.$el.classList.toggle(t)), n !== null && n !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${n}`) : this.$el.classList.toggle(n)), this.checkName(r, n) || h(`${n} is not an allowed ${e} value for ${this.tagName.toLowerCase()}`);
|
|
867
974
|
}
|
|
868
975
|
updateName(e, t) {
|
|
869
976
|
this.#e && this.$el.firstElementChild?.setAttribute("href", `${this.#e}#icon-${t}`);
|
|
@@ -875,25 +982,25 @@ var P = class e extends n {
|
|
|
875
982
|
return this.getAttribute("name");
|
|
876
983
|
}
|
|
877
984
|
set name(e) {
|
|
878
|
-
|
|
985
|
+
S(this, "name", e);
|
|
879
986
|
}
|
|
880
987
|
get size() {
|
|
881
988
|
return this.getAttribute("size");
|
|
882
989
|
}
|
|
883
990
|
set size(e) {
|
|
884
|
-
|
|
991
|
+
S(this, "size", e);
|
|
885
992
|
}
|
|
886
993
|
get color() {
|
|
887
994
|
return this.getAttribute("color");
|
|
888
995
|
}
|
|
889
996
|
set color(e) {
|
|
890
|
-
|
|
997
|
+
S(this, "color", e);
|
|
891
998
|
}
|
|
892
999
|
get arialabel() {
|
|
893
1000
|
return this.getAttribute("aria-label");
|
|
894
1001
|
}
|
|
895
1002
|
set arialabel(e) {
|
|
896
|
-
|
|
1003
|
+
S(this, "aria-label", e);
|
|
897
1004
|
}
|
|
898
1005
|
get inverted() {
|
|
899
1006
|
return this.hasAttribute("inverted");
|
|
@@ -905,7 +1012,7 @@ var P = class e extends n {
|
|
|
905
1012
|
return this.getAttribute("from");
|
|
906
1013
|
}
|
|
907
1014
|
set from(e) {
|
|
908
|
-
|
|
1015
|
+
S(this, "from", e);
|
|
909
1016
|
}
|
|
910
1017
|
get disabled() {
|
|
911
1018
|
return this.hasAttribute("disabled");
|
|
@@ -914,17 +1021,18 @@ var P = class e extends n {
|
|
|
914
1021
|
a(this, "disabled", e);
|
|
915
1022
|
}
|
|
916
1023
|
};
|
|
917
|
-
customElements.get("px-icon") || customElements.define("px-icon",
|
|
918
|
-
|
|
919
|
-
var F = ":host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-left-style:none;border-right-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-position:50%;background-size:cover}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]),::slotted([slot=anchor-full]){position:absolute;top:0}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]){z-index:3;transform:translateY(-50%)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--mobile,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--mobile,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-full]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media screen and (width<=47.938rem){.container{background-color:var(--background-color--mobile,var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile,var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var(--background-gradient--mobile,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--mobile,var(--background-color-inverted))}.border-side-top--mobile{border-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media screen and (width>=48rem) and (width<=64rem){.container{background-color:var(--background-color--tablet,var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet,var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var(--background-gradient--tablet,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--tablet,var(--background-color-inverted))}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--tablet,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--tablet,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media screen and (width>=64.0625rem){.container{background-color:var(--background-color--laptop,var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop,var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var(--background-gradient--laptop,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--laptop,var(--background-color-inverted))}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--laptop,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--laptop,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (width>=90.0625rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}", I = new CSSStyleSheet();
|
|
920
|
-
I.replaceSync(F);
|
|
921
|
-
|
|
1024
|
+
customElements.get("px-icon") || customElements.define("px-icon", be);
|
|
1025
|
+
//#endregion
|
|
1026
|
+
//#region ../../components/Container/src/container.css?inline
|
|
1027
|
+
var xe = ":host{display:block}.container{font-family:var(--px-font-family);background-color:var(--background-color);border-radius:var(--px-radius-main);box-sizing:border-box;height:100%}:host([background-image]) .container{background-image:var(--background-image)}:host([background-gradient]) .container{background-image:var(--background-gradient)}:host([inverted]) .container{background-color:var(--background-color-inverted);color:var(--px-color-text-neutral-inverted)}.border-none{border:none}.border-s{border:var(--px-size-border-s) solid var(--border-color)}.border-m{border:var(--px-size-border-m) solid var(--border-color)}.border-l{border:var(--px-size-border-l) solid var(--border-color)}.border-side-top{border-bottom-style:none;border-left-style:none;border-right-style:none}.border-side-right{border-top-style:none;border-bottom-style:none;border-left-style:none}.border-side-bottom{border-top-style:none;border-left-style:none;border-right-style:none}.border-side-left{border-top-style:none;border-bottom-style:none;border-right-style:none}.border-side-block{border-inline-style:none}.border-side-inline{border-block-style:none}:host([inverted]) .border-s,:host([inverted]) .border-m,:host([inverted]) .border-l{border-color:var(--border-color-inverted)}.border-radius-main{border-radius:var(--px-radius-main)}.border-radius-pill{border-radius:var(--px-radius-pill)}.no-border-radius-top{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all,.border-radius-none{border-radius:var(--px-radius-none)}.bgimg{background-repeat:no-repeat}.background-size-cover{background-position:50%;background-size:cover}.background-size-contain{background-size:contain}.box-shadow-none{box-shadow:none}.box-shadow-s{box-shadow:0 1px 2px #2525251f}.box-shadow-m{box-shadow:0 4px 6px -1px #25252514}.box-shadow-l{box-shadow:0 10px 15px -3px #25252514}.box-shadow-xl{box-shadow:0 20px 25px -5px #25252514}.anchored{position:relative}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]),::slotted([slot=anchor-full]){position:absolute;top:0}::slotted([slot=anchor-right]),::slotted([slot=anchor-left]){z-index:3;transform:translateY(-50%)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--mobile,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--mobile,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-full]){text-align:center;z-index:2;left:0;right:0;transform:translateY(-100%)}::slotted(px-vstack:only-of-type),::slotted(px-hstack:only-of-type),::slotted(px-stack:only-of-type),::slotted(px-grid:only-of-type){height:100%}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--mobile)}.border-s ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-s) * -1);left:calc(var(--px-size-border-s) * -1)}.border-m ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-m) * -1);left:calc(var(--px-size-border-m) * -1)}.border-l ::slotted([slot=anchor-full]){right:calc(var(--px-size-border-l) * -1);left:calc(var(--px-size-border-l) * -1)}:host([subgrid-rows]){display:contents}:host([subgrid-rows]) .container{grid-template-rows:subgrid;grid-row:span var(--subgrid-rows);display:grid}:host([subgrid-rows]):host([grow]) .container{flex-grow:var(--grow-value)}:host([subgrid-rows]):host([shrink]) .container{flex-shrink:var(--shrink-value)}:host([subgrid-rows]):host([basis]) .container{flex-basis:var(--basis-value)}:host([subgrid-rows]):host([align-self]) .container{align-self:var(--align-self-value)}:host([subgrid-rows]):host([col-span]) .container{grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([subgrid-rows]):host([justify-self]) .container{justify-self:var(--justify-self-value)}:host([subgrid-rows]):host([order]) .container{order:var(--order-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--mobile)}@media screen and (width<=47.938rem){.container{background-color:var(--background-color--mobile,var(--background-color))}:host([background-image--mobile]) .container{background-image:var(--background-image--mobile,var(--background-image))}:host([background-gradient--mobile]) .container{background-image:var(--background-gradient--mobile,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--mobile,var(--background-color-inverted))}.border-side-top--mobile{border-style:solid none none}.border-side-right--mobile{border-style:none solid none none}.border-side-bottom--mobile{border-style:none none solid}.border-side-left--mobile{border-style:none none none solid}.border-side-block--mobile{border-block-style:solid;border-inline-style:none}.border-side-inline--mobile{border-block-style:none;border-inline-style:solid}.no-border-radius-top--mobile{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--mobile{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--mobile{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--mobile{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--mobile{border-radius:var(--px-radius-none)}:host([subgrid-rows]):host([grow--mobile]) .container{flex-grow:var(--grow--mobile-value)}:host([subgrid-rows]):host([shrink--mobile]) .container{flex-shrink:var(--shrink--mobile-value)}:host([subgrid-rows]):host([basis--mobile]) .container{flex-basis:var(--basis--mobile-value)}:host([subgrid-rows]):host([align-self--mobile]) .container{align-self:var(--align-self--mobile-value)}:host([subgrid-rows]):host([col-span--mobile]) .container{grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)}:host([subgrid-rows]):host([justify-self--mobile]) .container{justify-self:var(--justify-self--mobile-value)}:host([subgrid-rows]):host([order--mobile]) .container{order:var(--order--mobile-value)}}@media screen and (width>=48rem) and (width<=64rem){.container{background-color:var(--background-color--tablet,var(--background-color))}:host([background-image--tablet]) .container{background-image:var(--background-image--tablet,var(--background-image))}:host([background-gradient--tablet]) .container{background-image:var(--background-gradient--tablet,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--tablet,var(--background-color-inverted))}.no-border-radius-top--tablet{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--tablet{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--tablet{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--tablet{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--tablet{border-radius:var(--px-radius-none)}.border-side-top--tablet{border-style:solid none none}.border-side-right--tablet{border-style:none solid none none}.border-side-bottom--tablet{border-style:none none solid}.border-side-left--tablet{border-style:none none none solid}.border-side-block--tablet{border-block-style:solid;border-inline-style:none}.border-side-inline--tablet{border-block-style:none;border-inline-style:solid}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--tablet,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--tablet,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--tablet)}:host([subgrid-rows]):host([col-span--tablet]) .container{grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)}:host([subgrid-rows]):host([grow--tablet]) .container{flex-grow:var(--grow--tablet-value)}:host([subgrid-rows]):host([shrink--tablet]) .container{flex-shrink:var(--shrink--tablet-value)}:host([subgrid-rows]):host([basis--tablet]) .container{flex-basis:var(--basis--tablet-value)}:host([subgrid-rows]):host([align-self--tablet]) .container{align-self:var(--align-self--tablet-value)}:host([subgrid-rows]):host([justify-self--tablet]) .container{justify-self:var(--justify-self--tablet-value)}:host([subgrid-rows]):host([order--tablet]) .container{order:var(--order--tablet-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--tablet)}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}:host([subgrid-rows]):host([col-span--laptop]) .container{grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)}:host([subgrid-rows]):host([grow--laptop]) .container{flex-grow:var(--grow--laptop-value)}:host([subgrid-rows]):host([shrink--laptop]) .container{flex-shrink:var(--shrink--laptop-value)}:host([subgrid-rows]):host([basis--laptop]) .container{flex-basis:var(--basis--laptop-value)}:host([subgrid-rows]):host([align-self--laptop]) .container{align-self:var(--align-self--laptop-value)}:host([subgrid-rows]):host([justify-self--laptop]) .container{justify-self:var(--justify-self--laptop-value)}:host([subgrid-rows]):host([order--laptop]) .container{order:var(--order--laptop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--laptop)}}@media screen and (width>=64.0625rem){.container{background-color:var(--background-color--laptop,var(--background-color))}:host([background-image--laptop]) .container{background-image:var(--background-image--laptop,var(--background-image))}:host([background-gradient--laptop]) .container{background-image:var(--background-gradient--laptop,var(--background-gradient))}:host([inverted]) .container{background-color:var(--background-color-inverted--laptop,var(--background-color-inverted))}.no-border-radius-top--laptop{border-top-left-radius:var(--px-radius-none);border-top-right-radius:var(--px-radius-none)}.no-border-radius-right--laptop{border-top-right-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-bottom--laptop{border-bottom-left-radius:var(--px-radius-none);border-bottom-right-radius:var(--px-radius-none)}.no-border-radius-left--laptop{border-top-left-radius:var(--px-radius-none);border-bottom-left-radius:var(--px-radius-none)}.no-border-radius-all--laptop{border-radius:var(--px-radius-none)}::slotted([slot=anchor-right]){right:var(--container-anchor-offset--laptop,var(--container-padding-right,var(--container-padding-inline,var(--container-padding))))}::slotted([slot=anchor-left]){left:var(--container-anchor-offset--laptop,var(--container-padding-left,var(--container-padding-inline,var(--container-padding))))}:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--laptop)}.border-side-top--laptop{border-style:solid none none}.border-side-right--laptop{border-style:none solid none none}.border-side-bottom--laptop{border-style:none none solid}.border-side-left--laptop{border-style:none none none solid}.border-side-block--laptop{border-block-style:solid;border-inline-style:none}.border-side-inline--laptop{border-block-style:none;border-inline-style:solid}}@media screen and (width>=90.0625rem){:host([anchor-spacing]){margin-top:var(--container-anchor-spacing--desktop)}:host([subgrid-rows]):host([col-span--desktop]) .container{grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)}:host([subgrid-rows]):host([grow--desktop]) .container{flex-grow:var(--grow--desktop-value)}:host([subgrid-rows]):host([shrink--desktop]) .container{flex-shrink:var(--shrink--desktop-value)}:host([subgrid-rows]):host([basis--desktop]) .container{flex-basis:var(--basis--desktop-value)}:host([subgrid-rows]):host([align-self--desktop]) .container{align-self:var(--align-self--desktop-value)}:host([subgrid-rows]):host([justify-self--desktop]) .container{justify-self:var(--justify-self--desktop-value)}:host([subgrid-rows]):host([order--desktop]) .container{order:var(--order--desktop-value)}:host([subgrid-rows]):host([anchor-spacing]) .container{margin-top:var(--container-anchor-spacing--desktop)}}", L = new CSSStyleSheet();
|
|
1028
|
+
L.replaceSync(xe);
|
|
1029
|
+
var Se = [
|
|
922
1030
|
"top-patch",
|
|
923
1031
|
"top-neighbor-patch",
|
|
924
1032
|
"top-ribbon",
|
|
925
1033
|
"top-neighbor-ribbon",
|
|
926
1034
|
"top-patch-and-neighbor-ribbon"
|
|
927
|
-
],
|
|
1035
|
+
], Ce = [
|
|
928
1036
|
"1",
|
|
929
1037
|
"2",
|
|
930
1038
|
"3",
|
|
@@ -937,24 +1045,24 @@ var L = [
|
|
|
937
1045
|
"10",
|
|
938
1046
|
"11",
|
|
939
1047
|
"12"
|
|
940
|
-
],
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
],
|
|
1048
|
+
], R = (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .container`, z = "px-padding", we = [
|
|
1049
|
+
f("padding", R, x, z, "--container-padding"),
|
|
1050
|
+
f("padding-inline", R, x, z),
|
|
1051
|
+
f("padding-block", R, x, z),
|
|
1052
|
+
f("padding-top", R, x, z),
|
|
1053
|
+
f("padding-right", R, x, z, "--container-padding-right"),
|
|
1054
|
+
f("padding-bottom", R, x, z),
|
|
1055
|
+
f("padding-left", R, x, z, "--container-padding-left"),
|
|
1056
|
+
f("gap", R, p, "px-spacing", void 0, "subgrid-gap")
|
|
1057
|
+
], Te = class e extends n {
|
|
950
1058
|
static {
|
|
951
|
-
this.template =
|
|
1059
|
+
this.template = d("<div class=\"container\"><slot></slot><slot name=\"anchor-left\"></slot><slot name=\"anchor-right\"></slot><slot name=\"anchor-full\"></slot></div>");
|
|
952
1060
|
}
|
|
953
1061
|
static {
|
|
954
1062
|
this.nativeName = "div";
|
|
955
1063
|
}
|
|
956
1064
|
constructor() {
|
|
957
|
-
super(
|
|
1065
|
+
super(L, ...we), this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, C(this.shadowRoot, e.template);
|
|
958
1066
|
}
|
|
959
1067
|
static get observedAttributes() {
|
|
960
1068
|
return [
|
|
@@ -1028,7 +1136,7 @@ var L = [
|
|
|
1028
1136
|
case "no-border-radius--mobile":
|
|
1029
1137
|
case "no-border-radius--tablet":
|
|
1030
1138
|
case "no-border-radius--laptop":
|
|
1031
|
-
this.updateNoBorderRadius(e, t, n,
|
|
1139
|
+
this.updateNoBorderRadius(e, t, n, b);
|
|
1032
1140
|
break;
|
|
1033
1141
|
case "background-color":
|
|
1034
1142
|
case "background-color--mobile":
|
|
@@ -1055,16 +1163,16 @@ var L = [
|
|
|
1055
1163
|
n !== null && n !== "" && (this.$el.style.backgroundPosition = n);
|
|
1056
1164
|
break;
|
|
1057
1165
|
case "box-shadow":
|
|
1058
|
-
this.updateAttribute(e, t, n,
|
|
1166
|
+
this.updateAttribute(e, t, n, l);
|
|
1059
1167
|
break;
|
|
1060
1168
|
case "anchor-offset":
|
|
1061
|
-
this.updateAnchorOffset(t, n,
|
|
1169
|
+
this.updateAnchorOffset(t, n, x);
|
|
1062
1170
|
break;
|
|
1063
1171
|
case "anchor-spacing":
|
|
1064
|
-
this.updateAnchorSpacing(t, n,
|
|
1172
|
+
this.updateAnchorSpacing(t, n, Se);
|
|
1065
1173
|
break;
|
|
1066
1174
|
case "subgrid-rows":
|
|
1067
|
-
this.updateSubgridRows(e, t, n,
|
|
1175
|
+
this.updateSubgridRows(e, t, n, Ce);
|
|
1068
1176
|
break;
|
|
1069
1177
|
default: super.attributeChangedCallback(e, t, n);
|
|
1070
1178
|
}
|
|
@@ -1084,32 +1192,32 @@ var L = [
|
|
|
1084
1192
|
this.$el.style.setProperty(`--${e}`, `url("${t}")`);
|
|
1085
1193
|
}
|
|
1086
1194
|
updateGradient(e, t) {
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
}
|
|
1195
|
+
let { attrName: n, breakpoint: r } = this.splitAttrNameFromBreakpoint(e), i = `--${n}${r}`;
|
|
1196
|
+
if (t === null) {
|
|
1197
|
+
this.$el.style.removeProperty(i);
|
|
1198
|
+
return;
|
|
1199
|
+
}
|
|
1200
|
+
this.checkName(m, t) ? this.$el.style.setProperty(i, `linear-gradient(var(--px-color-background-gradient-${t}))`) : h(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${m.join("\", \"")}".`);
|
|
1093
1201
|
}
|
|
1094
1202
|
updateBackgroundColor(e, t) {
|
|
1095
1203
|
let n = t.startsWith("surface-");
|
|
1096
1204
|
if (this.checkName(r, t)) {
|
|
1097
1205
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
1098
1206
|
this.$el.style.setProperty(`--${r.attrName}${i}`, `var(--px-color-background-${t}${n ? "" : "-default"})`), this.$el.style.setProperty(`--${r.attrName}-inverted${i}`, `var(--px-color-background-${t}${n ? "" : "-inverted"})`);
|
|
1099
|
-
} else
|
|
1207
|
+
} else h(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1100
1208
|
}
|
|
1101
1209
|
updateBorderColor(e, t) {
|
|
1102
|
-
this.checkName(o, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) :
|
|
1210
|
+
this.checkName(o, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) : h(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join("\", \"")}".`);
|
|
1103
1211
|
}
|
|
1104
1212
|
updateNoBorderRadius(e, t, n, r) {
|
|
1105
|
-
if (!this.checkName(r, n))
|
|
1213
|
+
if (!this.checkName(r, n)) h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1106
1214
|
else {
|
|
1107
1215
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
1108
1216
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
1109
1217
|
}
|
|
1110
1218
|
}
|
|
1111
1219
|
updateAttribute(e, t, n, r) {
|
|
1112
|
-
if (!this.checkName(r, n))
|
|
1220
|
+
if (!this.checkName(r, n)) h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1113
1221
|
else {
|
|
1114
1222
|
let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
|
|
1115
1223
|
t !== null && t !== "" && this.$el.classList.toggle(`${r.attrName}-${t}${i}`), n !== null && n !== "" && this.$el.classList.toggle(`${r.attrName}-${n}${i}`);
|
|
@@ -1131,8 +1239,8 @@ var L = [
|
|
|
1131
1239
|
};
|
|
1132
1240
|
}
|
|
1133
1241
|
updateAnchorOffset(e, t, n) {
|
|
1134
|
-
if (!
|
|
1135
|
-
|
|
1242
|
+
if (!u(n, t)) {
|
|
1243
|
+
h(`"${t}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
1136
1244
|
return;
|
|
1137
1245
|
}
|
|
1138
1246
|
let r = (e) => {
|
|
@@ -1144,8 +1252,8 @@ var L = [
|
|
|
1144
1252
|
this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
|
|
1145
1253
|
}
|
|
1146
1254
|
updateAnchorSpacing(e, t, n) {
|
|
1147
|
-
if (!
|
|
1148
|
-
|
|
1255
|
+
if (!u(n, t)) {
|
|
1256
|
+
h(`"${t}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
1149
1257
|
return;
|
|
1150
1258
|
}
|
|
1151
1259
|
let r = (e) => {
|
|
@@ -1154,7 +1262,7 @@ var L = [
|
|
|
1154
1262
|
r(e), r(t);
|
|
1155
1263
|
}
|
|
1156
1264
|
updateSubgridRows(e, t, n, r) {
|
|
1157
|
-
|
|
1265
|
+
u(r, n) ? this.style.setProperty(`--${e}`, n) : h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1158
1266
|
}
|
|
1159
1267
|
get $el() {
|
|
1160
1268
|
return this?.shadowRoot?.querySelector(".container");
|
|
@@ -1166,337 +1274,337 @@ var L = [
|
|
|
1166
1274
|
return this.getAttribute("padding");
|
|
1167
1275
|
}
|
|
1168
1276
|
set padding(e) {
|
|
1169
|
-
|
|
1277
|
+
S(this, "padding", e);
|
|
1170
1278
|
}
|
|
1171
1279
|
get paddingBlock() {
|
|
1172
1280
|
return this.getAttribute("padding-block");
|
|
1173
1281
|
}
|
|
1174
1282
|
set paddingBlock(e) {
|
|
1175
|
-
|
|
1283
|
+
S(this, "padding-block", e);
|
|
1176
1284
|
}
|
|
1177
1285
|
get paddingInline() {
|
|
1178
1286
|
return this.getAttribute("padding-inline");
|
|
1179
1287
|
}
|
|
1180
1288
|
set paddingInline(e) {
|
|
1181
|
-
|
|
1289
|
+
S(this, "padding-inline", e);
|
|
1182
1290
|
}
|
|
1183
1291
|
get paddingTop() {
|
|
1184
1292
|
return this.getAttribute("padding-top");
|
|
1185
1293
|
}
|
|
1186
1294
|
set paddingTop(e) {
|
|
1187
|
-
|
|
1295
|
+
S(this, "padding-top", e);
|
|
1188
1296
|
}
|
|
1189
1297
|
get paddingRight() {
|
|
1190
1298
|
return this.getAttribute("padding-right");
|
|
1191
1299
|
}
|
|
1192
1300
|
set paddingRight(e) {
|
|
1193
|
-
|
|
1301
|
+
S(this, "padding-right", e);
|
|
1194
1302
|
}
|
|
1195
1303
|
get paddingBottom() {
|
|
1196
1304
|
return this.getAttribute("padding-bottom");
|
|
1197
1305
|
}
|
|
1198
1306
|
set paddingBottom(e) {
|
|
1199
|
-
|
|
1307
|
+
S(this, "padding-bottom", e);
|
|
1200
1308
|
}
|
|
1201
1309
|
get paddingLeft() {
|
|
1202
1310
|
return this.getAttribute("padding-left");
|
|
1203
1311
|
}
|
|
1204
1312
|
set paddingLeft(e) {
|
|
1205
|
-
|
|
1313
|
+
S(this, "padding-left", e);
|
|
1206
1314
|
}
|
|
1207
1315
|
get paddingMobile() {
|
|
1208
1316
|
return this.getAttribute("padding--mobile");
|
|
1209
1317
|
}
|
|
1210
1318
|
set paddingMobile(e) {
|
|
1211
|
-
|
|
1319
|
+
S(this, "padding--mobile", e);
|
|
1212
1320
|
}
|
|
1213
1321
|
get paddingBlockMobile() {
|
|
1214
1322
|
return this.getAttribute("padding-block--mobile");
|
|
1215
1323
|
}
|
|
1216
1324
|
set paddingBlockMobile(e) {
|
|
1217
|
-
|
|
1325
|
+
S(this, "padding-block--mobile", e);
|
|
1218
1326
|
}
|
|
1219
1327
|
get paddingInlineMobile() {
|
|
1220
1328
|
return this.getAttribute("padding-inline--mobile");
|
|
1221
1329
|
}
|
|
1222
1330
|
set paddingInlineMobile(e) {
|
|
1223
|
-
|
|
1331
|
+
S(this, "padding-inline--mobile", e);
|
|
1224
1332
|
}
|
|
1225
1333
|
get paddingTopMobile() {
|
|
1226
1334
|
return this.getAttribute("padding-top--mobile");
|
|
1227
1335
|
}
|
|
1228
1336
|
set paddingTopMobile(e) {
|
|
1229
|
-
|
|
1337
|
+
S(this, "padding-top--mobile", e);
|
|
1230
1338
|
}
|
|
1231
1339
|
get paddingRightMobile() {
|
|
1232
1340
|
return this.getAttribute("padding-right--mobile");
|
|
1233
1341
|
}
|
|
1234
1342
|
set paddingRightMobile(e) {
|
|
1235
|
-
|
|
1343
|
+
S(this, "padding-right--mobile", e);
|
|
1236
1344
|
}
|
|
1237
1345
|
get paddingBottomMobile() {
|
|
1238
1346
|
return this.getAttribute("padding-bottom--mobile");
|
|
1239
1347
|
}
|
|
1240
1348
|
set paddingBottomMobile(e) {
|
|
1241
|
-
|
|
1349
|
+
S(this, "padding-bottom--mobile", e);
|
|
1242
1350
|
}
|
|
1243
1351
|
get paddingLeftMobile() {
|
|
1244
1352
|
return this.getAttribute("padding-left--mobile");
|
|
1245
1353
|
}
|
|
1246
1354
|
set paddingLeftMobile(e) {
|
|
1247
|
-
|
|
1355
|
+
S(this, "padding-left--mobile", e);
|
|
1248
1356
|
}
|
|
1249
1357
|
get paddingTablet() {
|
|
1250
1358
|
return this.getAttribute("padding--tablet");
|
|
1251
1359
|
}
|
|
1252
1360
|
set paddingTablet(e) {
|
|
1253
|
-
|
|
1361
|
+
S(this, "padding--tablet", e);
|
|
1254
1362
|
}
|
|
1255
1363
|
get paddingBlockTablet() {
|
|
1256
1364
|
return this.getAttribute("padding-block--tablet");
|
|
1257
1365
|
}
|
|
1258
1366
|
set paddingBlockTablet(e) {
|
|
1259
|
-
|
|
1367
|
+
S(this, "padding-block--tablet", e);
|
|
1260
1368
|
}
|
|
1261
1369
|
get paddingInlineTablet() {
|
|
1262
1370
|
return this.getAttribute("padding-inline--tablet");
|
|
1263
1371
|
}
|
|
1264
1372
|
set paddingInlineTablet(e) {
|
|
1265
|
-
|
|
1373
|
+
S(this, "padding-inline--tablet", e);
|
|
1266
1374
|
}
|
|
1267
1375
|
get paddingTopTablet() {
|
|
1268
1376
|
return this.getAttribute("padding-top--tablet");
|
|
1269
1377
|
}
|
|
1270
1378
|
set paddingTopTablet(e) {
|
|
1271
|
-
|
|
1379
|
+
S(this, "padding-top--tablet", e);
|
|
1272
1380
|
}
|
|
1273
1381
|
get paddingRightTablet() {
|
|
1274
1382
|
return this.getAttribute("padding-right--tablet");
|
|
1275
1383
|
}
|
|
1276
1384
|
set paddingRightTablet(e) {
|
|
1277
|
-
|
|
1385
|
+
S(this, "padding-right--tablet", e);
|
|
1278
1386
|
}
|
|
1279
1387
|
get paddingBottomTablet() {
|
|
1280
1388
|
return this.getAttribute("padding-bottom--tablet");
|
|
1281
1389
|
}
|
|
1282
1390
|
set paddingBottomTablet(e) {
|
|
1283
|
-
|
|
1391
|
+
S(this, "padding-bottom--tablet", e);
|
|
1284
1392
|
}
|
|
1285
1393
|
get paddingLeftTablet() {
|
|
1286
1394
|
return this.getAttribute("padding-left--tablet");
|
|
1287
1395
|
}
|
|
1288
1396
|
set paddingLeftTablet(e) {
|
|
1289
|
-
|
|
1397
|
+
S(this, "padding-left--tablet", e);
|
|
1290
1398
|
}
|
|
1291
1399
|
get paddingLaptop() {
|
|
1292
1400
|
return this.getAttribute("padding--laptop");
|
|
1293
1401
|
}
|
|
1294
1402
|
set paddingLaptop(e) {
|
|
1295
|
-
|
|
1403
|
+
S(this, "padding--laptop", e);
|
|
1296
1404
|
}
|
|
1297
1405
|
get paddingBlockLaptop() {
|
|
1298
1406
|
return this.getAttribute("padding-block--laptop");
|
|
1299
1407
|
}
|
|
1300
1408
|
set paddingBlockLaptop(e) {
|
|
1301
|
-
|
|
1409
|
+
S(this, "padding-block--laptop", e);
|
|
1302
1410
|
}
|
|
1303
1411
|
get paddingInlineLaptop() {
|
|
1304
1412
|
return this.getAttribute("padding-inline--laptop");
|
|
1305
1413
|
}
|
|
1306
1414
|
set paddingInlineLaptop(e) {
|
|
1307
|
-
|
|
1415
|
+
S(this, "padding-inline--laptop", e);
|
|
1308
1416
|
}
|
|
1309
1417
|
get paddingTopLaptop() {
|
|
1310
1418
|
return this.getAttribute("padding-top--laptop");
|
|
1311
1419
|
}
|
|
1312
1420
|
set paddingTopLaptop(e) {
|
|
1313
|
-
|
|
1421
|
+
S(this, "padding-top--laptop", e);
|
|
1314
1422
|
}
|
|
1315
1423
|
get paddingRightLaptop() {
|
|
1316
1424
|
return this.getAttribute("padding-right--laptop");
|
|
1317
1425
|
}
|
|
1318
1426
|
set paddingRightLaptop(e) {
|
|
1319
|
-
|
|
1427
|
+
S(this, "padding-right--laptop", e);
|
|
1320
1428
|
}
|
|
1321
1429
|
get paddingBottomLaptop() {
|
|
1322
1430
|
return this.getAttribute("padding-bottom--laptop");
|
|
1323
1431
|
}
|
|
1324
1432
|
set paddingBottomLaptop(e) {
|
|
1325
|
-
|
|
1433
|
+
S(this, "padding-bottom--laptop", e);
|
|
1326
1434
|
}
|
|
1327
1435
|
get paddingLeftLaptop() {
|
|
1328
1436
|
return this.getAttribute("padding-left--laptop");
|
|
1329
1437
|
}
|
|
1330
1438
|
set paddingLeftLaptop(e) {
|
|
1331
|
-
|
|
1439
|
+
S(this, "padding-left--laptop", e);
|
|
1332
1440
|
}
|
|
1333
1441
|
get border() {
|
|
1334
1442
|
return this.getAttribute("border");
|
|
1335
1443
|
}
|
|
1336
1444
|
set border(e) {
|
|
1337
|
-
|
|
1445
|
+
S(this, "border", e);
|
|
1338
1446
|
}
|
|
1339
1447
|
get borderColor() {
|
|
1340
1448
|
return this.getAttribute("border-color");
|
|
1341
1449
|
}
|
|
1342
1450
|
set borderColor(e) {
|
|
1343
|
-
|
|
1451
|
+
S(this, "border-color", e);
|
|
1344
1452
|
}
|
|
1345
1453
|
get borderSide() {
|
|
1346
1454
|
return this.getAttribute("border-side");
|
|
1347
1455
|
}
|
|
1348
1456
|
set borderSide(e) {
|
|
1349
|
-
|
|
1457
|
+
S(this, "border-side", e);
|
|
1350
1458
|
}
|
|
1351
1459
|
get borderSideMobile() {
|
|
1352
1460
|
return this.getAttribute("border-side--mobile");
|
|
1353
1461
|
}
|
|
1354
1462
|
set borderSideMobile(e) {
|
|
1355
|
-
|
|
1463
|
+
S(this, "border-side--mobile", e);
|
|
1356
1464
|
}
|
|
1357
1465
|
get borderSideTablet() {
|
|
1358
1466
|
return this.getAttribute("border-side--tablet");
|
|
1359
1467
|
}
|
|
1360
1468
|
set borderSideTablet(e) {
|
|
1361
|
-
|
|
1469
|
+
S(this, "border-side--tablet", e);
|
|
1362
1470
|
}
|
|
1363
1471
|
get borderSideLaptop() {
|
|
1364
1472
|
return this.getAttribute("border-side--laptop");
|
|
1365
1473
|
}
|
|
1366
1474
|
set borderSideLaptop(e) {
|
|
1367
|
-
|
|
1475
|
+
S(this, "border-side--laptop", e);
|
|
1368
1476
|
}
|
|
1369
1477
|
get borderRadius() {
|
|
1370
1478
|
return this.getAttribute("border-radius");
|
|
1371
1479
|
}
|
|
1372
1480
|
set borderRadius(e) {
|
|
1373
|
-
|
|
1481
|
+
S(this, "border-radius", e);
|
|
1374
1482
|
}
|
|
1375
1483
|
get noBorderRadius() {
|
|
1376
1484
|
return this.getAttribute("no-border-radius");
|
|
1377
1485
|
}
|
|
1378
1486
|
set noBorderRadius(e) {
|
|
1379
|
-
|
|
1487
|
+
S(this, "no-border-radius", e);
|
|
1380
1488
|
}
|
|
1381
1489
|
get noBorderRadiusMobile() {
|
|
1382
1490
|
return this.getAttribute("no-border-radius--mobile");
|
|
1383
1491
|
}
|
|
1384
1492
|
set noBorderRadiusMobile(e) {
|
|
1385
|
-
|
|
1493
|
+
S(this, "no-border-radius--mobile", e);
|
|
1386
1494
|
}
|
|
1387
1495
|
get noBorderRadiusTablet() {
|
|
1388
1496
|
return this.getAttribute("no-border-radius--tablet");
|
|
1389
1497
|
}
|
|
1390
1498
|
set noBorderRadiusTablet(e) {
|
|
1391
|
-
|
|
1499
|
+
S(this, "no-border-radius--tablet", e);
|
|
1392
1500
|
}
|
|
1393
1501
|
get noBorderRadiusLaptop() {
|
|
1394
1502
|
return this.getAttribute("no-border-radius--laptop");
|
|
1395
1503
|
}
|
|
1396
1504
|
set noBorderRadiusLaptop(e) {
|
|
1397
|
-
|
|
1505
|
+
S(this, "no-border-radius--laptop", e);
|
|
1398
1506
|
}
|
|
1399
1507
|
get backgroundColor() {
|
|
1400
1508
|
return this.getAttribute("background-color");
|
|
1401
1509
|
}
|
|
1402
1510
|
set backgroundColor(e) {
|
|
1403
|
-
|
|
1511
|
+
S(this, "background-color", e);
|
|
1404
1512
|
}
|
|
1405
1513
|
get backgroundColorMobile() {
|
|
1406
1514
|
return this.getAttribute("background-color--mobile");
|
|
1407
1515
|
}
|
|
1408
1516
|
set backgroundColorMobile(e) {
|
|
1409
|
-
|
|
1517
|
+
S(this, "background-color--mobile", e);
|
|
1410
1518
|
}
|
|
1411
1519
|
get backgroundColorTablet() {
|
|
1412
1520
|
return this.getAttribute("background-color--tablet");
|
|
1413
1521
|
}
|
|
1414
1522
|
set backgroundColorTablet(e) {
|
|
1415
|
-
|
|
1523
|
+
S(this, "background-color--tablet", e);
|
|
1416
1524
|
}
|
|
1417
1525
|
get backgroundColorLaptop() {
|
|
1418
1526
|
return this.getAttribute("background-color--laptop");
|
|
1419
1527
|
}
|
|
1420
1528
|
set backgroundColorLaptop(e) {
|
|
1421
|
-
|
|
1529
|
+
S(this, "background-color--laptop", e);
|
|
1422
1530
|
}
|
|
1423
1531
|
get gradient() {
|
|
1424
1532
|
return this.getAttribute("background-gradient");
|
|
1425
1533
|
}
|
|
1426
1534
|
set gradient(e) {
|
|
1427
|
-
|
|
1535
|
+
S(this, "background-gradient", e);
|
|
1428
1536
|
}
|
|
1429
1537
|
get gradientMobile() {
|
|
1430
1538
|
return this.getAttribute("background-gradient--mobile");
|
|
1431
1539
|
}
|
|
1432
1540
|
set gradientMobile(e) {
|
|
1433
|
-
|
|
1541
|
+
S(this, "background-gradient--mobile", e);
|
|
1434
1542
|
}
|
|
1435
1543
|
get gradientTablet() {
|
|
1436
1544
|
return this.getAttribute("background-gradient--tablet");
|
|
1437
1545
|
}
|
|
1438
1546
|
set gradientTablet(e) {
|
|
1439
|
-
|
|
1547
|
+
S(this, "background-gradient--tablet", e);
|
|
1440
1548
|
}
|
|
1441
1549
|
get gradientLaptop() {
|
|
1442
1550
|
return this.getAttribute("background-gradient--laptop");
|
|
1443
1551
|
}
|
|
1444
1552
|
set gradientLaptop(e) {
|
|
1445
|
-
|
|
1553
|
+
S(this, "background-gradient--laptop", e);
|
|
1446
1554
|
}
|
|
1447
1555
|
get backgroundImage() {
|
|
1448
1556
|
return this.getAttribute("background-image");
|
|
1449
1557
|
}
|
|
1450
1558
|
set backgroundImage(e) {
|
|
1451
|
-
|
|
1559
|
+
S(this, "background-image", e);
|
|
1452
1560
|
}
|
|
1453
1561
|
get backgroundImageMobile() {
|
|
1454
1562
|
return this.getAttribute("background-image--mobile");
|
|
1455
1563
|
}
|
|
1456
1564
|
set backgroundImageMobile(e) {
|
|
1457
|
-
|
|
1565
|
+
S(this, "background-image--mobile", e);
|
|
1458
1566
|
}
|
|
1459
1567
|
get backgroundImageTablet() {
|
|
1460
1568
|
return this.getAttribute("background-image--tablet");
|
|
1461
1569
|
}
|
|
1462
1570
|
set backgroundImageTablet(e) {
|
|
1463
|
-
|
|
1571
|
+
S(this, "background-image--tablet", e);
|
|
1464
1572
|
}
|
|
1465
1573
|
get backgroundImageLaptop() {
|
|
1466
1574
|
return this.getAttribute("background-image--laptop");
|
|
1467
1575
|
}
|
|
1468
1576
|
set backgroundImageLaptop(e) {
|
|
1469
|
-
|
|
1577
|
+
S(this, "background-image--laptop", e);
|
|
1470
1578
|
}
|
|
1471
1579
|
get backgroundSize() {
|
|
1472
1580
|
return this.getAttribute("background-size");
|
|
1473
1581
|
}
|
|
1474
1582
|
set backgroundSize(e) {
|
|
1475
|
-
|
|
1583
|
+
S(this, "background-size", e);
|
|
1476
1584
|
}
|
|
1477
1585
|
get backgroundPosition() {
|
|
1478
1586
|
return this.getAttribute("background-position");
|
|
1479
1587
|
}
|
|
1480
1588
|
set backgroundPosition(e) {
|
|
1481
|
-
|
|
1589
|
+
S(this, "background-position", e);
|
|
1482
1590
|
}
|
|
1483
1591
|
get boxShadow() {
|
|
1484
1592
|
return this.getAttribute("box-shadow");
|
|
1485
1593
|
}
|
|
1486
1594
|
set boxShadow(e) {
|
|
1487
|
-
|
|
1595
|
+
S(this, "box-shadow", e);
|
|
1488
1596
|
}
|
|
1489
1597
|
get anchorOffset() {
|
|
1490
1598
|
return this.getAttribute("anchor-offset");
|
|
1491
1599
|
}
|
|
1492
1600
|
set anchorOffset(e) {
|
|
1493
|
-
|
|
1601
|
+
S(this, "anchor-offset", e);
|
|
1494
1602
|
}
|
|
1495
1603
|
get anchorSpacing() {
|
|
1496
1604
|
return this.getAttribute("anchor-spacing");
|
|
1497
1605
|
}
|
|
1498
1606
|
set anchorSpacing(e) {
|
|
1499
|
-
|
|
1607
|
+
S(this, "anchor-spacing", e);
|
|
1500
1608
|
}
|
|
1501
1609
|
get inverted() {
|
|
1502
1610
|
return this.hasAttribute("inverted");
|
|
@@ -1508,47 +1616,48 @@ var L = [
|
|
|
1508
1616
|
return this.getAttribute("subgrid-rows");
|
|
1509
1617
|
}
|
|
1510
1618
|
set subgridRows(e) {
|
|
1511
|
-
|
|
1619
|
+
S(this, "subgrid-rows", e);
|
|
1512
1620
|
}
|
|
1513
1621
|
get subgridGap() {
|
|
1514
1622
|
return this.getAttribute("subgrid-gap");
|
|
1515
1623
|
}
|
|
1516
1624
|
set subgridGap(e) {
|
|
1517
|
-
|
|
1625
|
+
S(this, "subgrid-gap", e);
|
|
1518
1626
|
}
|
|
1519
1627
|
get subgridGapMobile() {
|
|
1520
1628
|
return this.getAttribute("subgrid-gap--mobile");
|
|
1521
1629
|
}
|
|
1522
1630
|
set subgridGapMobile(e) {
|
|
1523
|
-
|
|
1631
|
+
S(this, "subgrid-gap--mobile", e);
|
|
1524
1632
|
}
|
|
1525
1633
|
get subgridGapTablet() {
|
|
1526
1634
|
return this.getAttribute("subgrid-gap--tablet");
|
|
1527
1635
|
}
|
|
1528
1636
|
set subgridGapTablet(e) {
|
|
1529
|
-
|
|
1637
|
+
S(this, "subgrid-gap--tablet", e);
|
|
1530
1638
|
}
|
|
1531
1639
|
get subgridGapLaptop() {
|
|
1532
1640
|
return this.getAttribute("subgrid-gap--laptop");
|
|
1533
1641
|
}
|
|
1534
1642
|
set subgridGapLaptop(e) {
|
|
1535
|
-
|
|
1643
|
+
S(this, "subgrid-gap--laptop", e);
|
|
1536
1644
|
}
|
|
1537
1645
|
};
|
|
1538
|
-
customElements.get("px-container") || customElements.define("px-container",
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1646
|
+
customElements.get("px-container") || customElements.define("px-container", Te);
|
|
1647
|
+
//#endregion
|
|
1648
|
+
//#region ../../components/Layout/src/Stack.css?inline
|
|
1649
|
+
var Ee = ":host{--flex-min-width--mobile-value:auto;--flex-min-width--tablet-value:auto;--flex-min-width--laptop-value:auto;--flex-min-width--desktop-value:auto;--flex-max-width--mobile-value:none;--flex-max-width--tablet-value:none;--flex-max-width--laptop-value:none;--flex-max-width--desktop-value:none;min-width:var(--flex-min-width--mobile-value);max-width:var(--flex-max-width--mobile-value);--host-gap--mobile:var(--px-spacing-none-mobile);--host-gap--tablet:var(--px-spacing-none-tablet);--host-gap--laptop:var(--px-spacing-none-desktop);--host-gap--desktop:var(--px-spacing-none-desktop);--overflow-x-all:visible;--overflow-x-all-mobile:initial;--overflow-x-all-tablet:initial;--overflow-x-all-laptop:initial;--overflow-x-all-desktop:initial;display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{--flex-direction--mobile-value:row;--flex-direction--tablet-value:row;--flex-direction--laptop-value:row;--flex-direction--desktop-value:row;--flex-gap--mobile-value:var(--px-spacing-none-mobile);--flex-gap--tablet-value:var(--px-spacing-none-tablet);--flex-gap--laptop-value:var(--px-spacing-none-desktop);--flex-gap--desktop-value:var(--px-spacing-none-desktop);--flex-align-items--mobile-value:stretch;--flex-align-items--tablet-value:stretch;--flex-align-items--laptop-value:stretch;--flex-align-items--desktop-value:stretch;--flex-justify-content--mobile-value:flex-start;--flex-justify-content--tablet-value:flex-start;--flex-justify-content--laptop-value:flex-start;--flex-justify-content--desktop-value:flex-start;--flex-wrap--mobile-value:nowrap;--flex-wrap--tablet-value:nowrap;--flex-wrap--laptop-value:nowrap;--flex-wrap--desktop-value:nowrap;--flex-overflow-y--mobile-value:visible;--flex-overflow-y--tablet-value:visible;--flex-overflow-y--laptop-value:visible;--flex-overflow-y--desktop-value:visible;--flex-max-height--mobile-value:none;--flex-max-height--tablet-value:none;--flex-max-height--laptop-value:none;--flex-max-height--desktop-value:none;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);width:100%;height:100%;overflow-x:var(--overflow-x-all);overflow-y:var(--flex-overflow-y--mobile-value);max-height:var(--flex-max-height--mobile-value);display:flex}@media screen and (width<=47.938rem){.flex-container{overflow-x:var(--overflow-x-all-mobile,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=48rem){:host{min-width:var(--flex-min-width--tablet-value);max-width:var(--flex-max-width--tablet-value)}.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value);overflow-y:var(--flex-overflow-y--tablet-value);max-height:var(--flex-max-height--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media screen and (width>=48rem) and (width<=64rem){.flex-container{overflow-x:var(--overflow-x-all-tablet,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=64.0625rem){:host{min-width:var(--flex-min-width--laptop-value);max-width:var(--flex-max-width--laptop-value)}.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value);overflow-y:var(--flex-overflow-y--laptop-value);max-height:var(--flex-max-height--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media screen and (width>=64.0625rem) and (width<=90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop,var(--overflow-x-all))}}@media screen and (width>=90.0625rem){:host{min-width:var(--flex-min-width--desktop-value);max-width:var(--flex-max-width--desktop-value)}.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-y:var(--flex-overflow-y--desktop-value);max-height:var(--flex-max-height--desktop-value);overflow-x:var(--overflow-x-all-desktop,var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}:host(px-vstack) .flex-container{--flex-direction--mobile-value:column!important;--flex-direction--tablet-value:column!important;--flex-direction--laptop-value:column!important;--flex-direction--desktop-value:column!important}:host(px-hstack) .flex-container{--flex-direction--mobile-value:row!important;--flex-direction--tablet-value:row!important;--flex-direction--laptop-value:row!important;--flex-direction--desktop-value:row!important}", B = new CSSStyleSheet();
|
|
1650
|
+
B.replaceSync(Ee);
|
|
1651
|
+
var V = document.createElement("template");
|
|
1652
|
+
V.innerHTML = "<div class=\"flex-container\"><slot></slot></div>";
|
|
1653
|
+
var De = [
|
|
1545
1654
|
"",
|
|
1546
1655
|
"default",
|
|
1547
1656
|
"row",
|
|
1548
1657
|
"row-reverse",
|
|
1549
1658
|
"column",
|
|
1550
1659
|
"column-reverse"
|
|
1551
|
-
],
|
|
1660
|
+
], Oe = [
|
|
1552
1661
|
"",
|
|
1553
1662
|
"default",
|
|
1554
1663
|
"stretch",
|
|
@@ -1558,7 +1667,7 @@ var ye = [
|
|
|
1558
1667
|
"end",
|
|
1559
1668
|
"center",
|
|
1560
1669
|
"baseline"
|
|
1561
|
-
],
|
|
1670
|
+
], ke = [
|
|
1562
1671
|
"",
|
|
1563
1672
|
"default",
|
|
1564
1673
|
"flex-start",
|
|
@@ -1569,13 +1678,13 @@ var ye = [
|
|
|
1569
1678
|
"space-between",
|
|
1570
1679
|
"space-around",
|
|
1571
1680
|
"space-evenly"
|
|
1572
|
-
],
|
|
1681
|
+
], Ae = [
|
|
1573
1682
|
"",
|
|
1574
1683
|
"default",
|
|
1575
1684
|
"nowrap",
|
|
1576
1685
|
"wrap",
|
|
1577
1686
|
"wrap-reverse"
|
|
1578
|
-
],
|
|
1687
|
+
], H = [
|
|
1579
1688
|
"",
|
|
1580
1689
|
"visible",
|
|
1581
1690
|
"hidden",
|
|
@@ -1583,7 +1692,7 @@ var ye = [
|
|
|
1583
1692
|
"auto"
|
|
1584
1693
|
], U = class t extends n {
|
|
1585
1694
|
constructor() {
|
|
1586
|
-
super(
|
|
1695
|
+
super(B), this.overflowXAttributeDelegate = new e(this, "overflow-x", (e) => e, "--overflow-x"), this.shadowRoot.firstChild || this.shadowRoot.appendChild(document.importNode(V.content, !0));
|
|
1587
1696
|
}
|
|
1588
1697
|
connectedCallback() {}
|
|
1589
1698
|
static get observedAttributes() {
|
|
@@ -1618,7 +1727,27 @@ var ye = [
|
|
|
1618
1727
|
"overflow-x--mobile",
|
|
1619
1728
|
"overflow-x--tablet",
|
|
1620
1729
|
"overflow-x--laptop",
|
|
1621
|
-
"overflow-x--desktop"
|
|
1730
|
+
"overflow-x--desktop",
|
|
1731
|
+
"overflow-y",
|
|
1732
|
+
"overflow-y--mobile",
|
|
1733
|
+
"overflow-y--tablet",
|
|
1734
|
+
"overflow-y--laptop",
|
|
1735
|
+
"overflow-y--desktop",
|
|
1736
|
+
"max-height",
|
|
1737
|
+
"max-height--mobile",
|
|
1738
|
+
"max-height--tablet",
|
|
1739
|
+
"max-height--laptop",
|
|
1740
|
+
"max-height--desktop",
|
|
1741
|
+
"min-width",
|
|
1742
|
+
"min-width--mobile",
|
|
1743
|
+
"min-width--tablet",
|
|
1744
|
+
"min-width--laptop",
|
|
1745
|
+
"min-width--desktop",
|
|
1746
|
+
"max-width",
|
|
1747
|
+
"max-width--mobile",
|
|
1748
|
+
"max-width--tablet",
|
|
1749
|
+
"max-width--laptop",
|
|
1750
|
+
"max-width--desktop"
|
|
1622
1751
|
];
|
|
1623
1752
|
}
|
|
1624
1753
|
attributeChangedCallback(e, t, n) {
|
|
@@ -1628,51 +1757,91 @@ var ye = [
|
|
|
1628
1757
|
case "gap--tablet":
|
|
1629
1758
|
case "gap--laptop":
|
|
1630
1759
|
case "gap--desktop":
|
|
1631
|
-
this.updateFlexProperties(e, t, n,
|
|
1760
|
+
this.updateFlexProperties(e, t, n, p);
|
|
1632
1761
|
break;
|
|
1633
1762
|
case "justify-content":
|
|
1634
1763
|
case "justify-content--mobile":
|
|
1635
1764
|
case "justify-content--tablet":
|
|
1636
1765
|
case "justify-content--laptop":
|
|
1637
1766
|
case "justify-content--desktop":
|
|
1638
|
-
this.updateFlexProperties(e, t, n,
|
|
1767
|
+
this.updateFlexProperties(e, t, n, ke);
|
|
1639
1768
|
break;
|
|
1640
1769
|
case "align-items":
|
|
1641
1770
|
case "align-items--mobile":
|
|
1642
1771
|
case "align-items--tablet":
|
|
1643
1772
|
case "align-items--laptop":
|
|
1644
1773
|
case "align-items--desktop":
|
|
1645
|
-
this.updateFlexProperties(e, t, n,
|
|
1774
|
+
this.updateFlexProperties(e, t, n, Oe);
|
|
1646
1775
|
break;
|
|
1647
1776
|
case "wrap":
|
|
1648
1777
|
case "wrap--mobile":
|
|
1649
1778
|
case "wrap--tablet":
|
|
1650
1779
|
case "wrap--laptop":
|
|
1651
1780
|
case "wrap--desktop":
|
|
1652
|
-
this.updateFlexProperties(e, t, n,
|
|
1781
|
+
this.updateFlexProperties(e, t, n, Ae);
|
|
1653
1782
|
break;
|
|
1654
1783
|
case "direction":
|
|
1655
1784
|
case "direction--mobile":
|
|
1656
1785
|
case "direction--tablet":
|
|
1657
1786
|
case "direction--laptop":
|
|
1658
1787
|
case "direction--desktop":
|
|
1659
|
-
this.updateFlexProperties(e, t, n,
|
|
1788
|
+
this.updateFlexProperties(e, t, n, De), this.updateVerticalStyles();
|
|
1789
|
+
break;
|
|
1790
|
+
case "min-width":
|
|
1791
|
+
case "min-width--mobile":
|
|
1792
|
+
case "min-width--tablet":
|
|
1793
|
+
case "min-width--laptop":
|
|
1794
|
+
case "min-width--desktop":
|
|
1795
|
+
case "max-width":
|
|
1796
|
+
case "max-width--mobile":
|
|
1797
|
+
case "max-width--tablet":
|
|
1798
|
+
case "max-width--laptop":
|
|
1799
|
+
case "max-width--desktop":
|
|
1800
|
+
n && !CSS.supports(e.split("--")[0], n) && h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateFlexProperties(e, t, n);
|
|
1801
|
+
break;
|
|
1802
|
+
case "overflow-y":
|
|
1803
|
+
case "overflow-y--mobile":
|
|
1804
|
+
case "overflow-y--tablet":
|
|
1805
|
+
case "overflow-y--laptop":
|
|
1806
|
+
case "overflow-y--desktop":
|
|
1807
|
+
case "max-height":
|
|
1808
|
+
case "max-height--mobile":
|
|
1809
|
+
case "max-height--tablet":
|
|
1810
|
+
case "max-height--laptop":
|
|
1811
|
+
case "max-height--desktop":
|
|
1812
|
+
n && !this.isValidVerticalValue(e, n) && h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateVerticalStyles();
|
|
1660
1813
|
break;
|
|
1661
1814
|
case "overflow-x":
|
|
1662
1815
|
case "overflow-x--mobile":
|
|
1663
1816
|
case "overflow-x--tablet":
|
|
1664
1817
|
case "overflow-x--laptop":
|
|
1665
1818
|
case "overflow-x--desktop":
|
|
1666
|
-
this.updateOverflowX(e, t, n,
|
|
1819
|
+
this.updateOverflowX(e, t, n, H);
|
|
1667
1820
|
break;
|
|
1668
1821
|
default: super.attributeChangedCallback(e, t, n);
|
|
1669
1822
|
}
|
|
1670
1823
|
}
|
|
1824
|
+
isValidVerticalValue(e, t) {
|
|
1825
|
+
return e.startsWith("overflow-y") ? H.includes(t) : CSS.supports("max-height", t);
|
|
1826
|
+
}
|
|
1827
|
+
updateVerticalStyles() {
|
|
1828
|
+
for (let e of t.breakpoints) {
|
|
1829
|
+
let t = this.localName === "px-stack" && this.getAttribute(`direction--${e}`) || this.direction, n = t === "column" || t === "column-reverse";
|
|
1830
|
+
for (let t of ["overflow-y", "max-height"]) {
|
|
1831
|
+
let r = this.getAttribute(`${t}--${e}`) || this.getAttribute(t);
|
|
1832
|
+
this.updateStyle(t, e, n && r && this.isValidVerticalValue(t, r) ? r : null);
|
|
1833
|
+
}
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1671
1836
|
updateOverflowX(e, t, n, r) {
|
|
1672
|
-
|
|
1837
|
+
if (!u(r, n)) {
|
|
1838
|
+
h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1839
|
+
return;
|
|
1840
|
+
}
|
|
1841
|
+
this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n);
|
|
1673
1842
|
}
|
|
1674
1843
|
updateFlexProperties(e, n, r, i) {
|
|
1675
|
-
r !== null && !this.checkName(i, r) &&
|
|
1844
|
+
i && r !== null && !this.checkName(i, r) && h(`"${r}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
1676
1845
|
let a = e.indexOf("--");
|
|
1677
1846
|
if (a === -1) for (let n of t.breakpoints) this.getAttribute(`${e}--${n}`) || this.updateStyle(e, n, r, i);
|
|
1678
1847
|
else {
|
|
@@ -1681,12 +1850,15 @@ var ye = [
|
|
|
1681
1850
|
}
|
|
1682
1851
|
}
|
|
1683
1852
|
updateStyle(e, t, n, r) {
|
|
1684
|
-
let i = `--flex-${e}--${t}-value`, a = e === "gap";
|
|
1685
|
-
if (
|
|
1686
|
-
|
|
1853
|
+
let i = `--flex-${e}--${t}-value`, a = e === "gap", o = e === "min-width" || e === "max-width", s = o ? this : this.$el;
|
|
1854
|
+
if (o && n && !CSS.supports(e, n) && (n = null), !n) {
|
|
1855
|
+
s.style.removeProperty(i), a && this.style.removeProperty(`--host-gap--${t}`);
|
|
1856
|
+
return;
|
|
1857
|
+
}
|
|
1858
|
+
if (a && r && r.includes(n)) {
|
|
1687
1859
|
let e = `var(--px-spacing-${n}-${t === "laptop" ? "desktop" : t})`;
|
|
1688
1860
|
this.$el.style.setProperty(i, e), this.style.setProperty(`--host-gap--${t}`, e);
|
|
1689
|
-
} else
|
|
1861
|
+
} else s.style.setProperty(i, n);
|
|
1690
1862
|
}
|
|
1691
1863
|
static {
|
|
1692
1864
|
this.breakpoints = [
|
|
@@ -1700,213 +1872,334 @@ var ye = [
|
|
|
1700
1872
|
return this.getAttribute("direction") ?? "row";
|
|
1701
1873
|
}
|
|
1702
1874
|
set direction(e) {
|
|
1703
|
-
|
|
1875
|
+
S(this, "direction", e);
|
|
1704
1876
|
}
|
|
1705
1877
|
get directionMobile() {
|
|
1706
1878
|
return this.getAttribute("direction--mobile");
|
|
1707
1879
|
}
|
|
1708
1880
|
set directionMobile(e) {
|
|
1709
|
-
|
|
1881
|
+
S(this, "direction--mobile", e);
|
|
1710
1882
|
}
|
|
1711
1883
|
get directionTablet() {
|
|
1712
1884
|
return this.getAttribute("direction--tablet");
|
|
1713
1885
|
}
|
|
1714
1886
|
set directionTablet(e) {
|
|
1715
|
-
|
|
1887
|
+
S(this, "direction--tablet", e);
|
|
1716
1888
|
}
|
|
1717
1889
|
get directionLaptop() {
|
|
1718
1890
|
return this.getAttribute("direction--laptop");
|
|
1719
1891
|
}
|
|
1720
1892
|
set directionLaptop(e) {
|
|
1721
|
-
|
|
1893
|
+
S(this, "direction--laptop", e);
|
|
1722
1894
|
}
|
|
1723
1895
|
get directionDesktop() {
|
|
1724
1896
|
return this.getAttribute("direction--desktop");
|
|
1725
1897
|
}
|
|
1726
1898
|
set directionDesktop(e) {
|
|
1727
|
-
|
|
1899
|
+
S(this, "direction--desktop", e);
|
|
1728
1900
|
}
|
|
1729
1901
|
get gap() {
|
|
1730
1902
|
return this.getAttribute("gap") ?? "none";
|
|
1731
1903
|
}
|
|
1732
1904
|
set gap(e) {
|
|
1733
|
-
|
|
1905
|
+
S(this, "gap", e);
|
|
1734
1906
|
}
|
|
1735
1907
|
get gapMobile() {
|
|
1736
1908
|
return this.getAttribute("gap--mobile");
|
|
1737
1909
|
}
|
|
1738
1910
|
set gapMobile(e) {
|
|
1739
|
-
|
|
1911
|
+
S(this, "gap--mobile", e);
|
|
1740
1912
|
}
|
|
1741
1913
|
get gapTablet() {
|
|
1742
1914
|
return this.getAttribute("gap--tablet");
|
|
1743
1915
|
}
|
|
1744
1916
|
set gapTablet(e) {
|
|
1745
|
-
|
|
1917
|
+
S(this, "gap--tablet", e);
|
|
1746
1918
|
}
|
|
1747
1919
|
get gapLaptop() {
|
|
1748
1920
|
return this.getAttribute("gap--laptop");
|
|
1749
1921
|
}
|
|
1750
1922
|
set gapLaptop(e) {
|
|
1751
|
-
|
|
1923
|
+
S(this, "gap--laptop", e);
|
|
1752
1924
|
}
|
|
1753
1925
|
get gapDesktop() {
|
|
1754
1926
|
return this.getAttribute("gap--desktop");
|
|
1755
1927
|
}
|
|
1756
1928
|
set gapDesktop(e) {
|
|
1757
|
-
|
|
1929
|
+
S(this, "gap--desktop", e);
|
|
1758
1930
|
}
|
|
1759
1931
|
get justifyContent() {
|
|
1760
1932
|
return this.getAttribute("justify-content") ?? "flex-start";
|
|
1761
1933
|
}
|
|
1762
1934
|
set justifyContent(e) {
|
|
1763
|
-
|
|
1935
|
+
S(this, "justify-content", e);
|
|
1764
1936
|
}
|
|
1765
1937
|
get justifyContentMobile() {
|
|
1766
1938
|
return this.getAttribute("justify-content--mobile");
|
|
1767
1939
|
}
|
|
1768
1940
|
set justifyContentMobile(e) {
|
|
1769
|
-
|
|
1941
|
+
S(this, "justify-content--mobile", e);
|
|
1770
1942
|
}
|
|
1771
1943
|
get justifyContentTablet() {
|
|
1772
1944
|
return this.getAttribute("justify-content--tablet");
|
|
1773
1945
|
}
|
|
1774
1946
|
set justifyContentTablet(e) {
|
|
1775
|
-
|
|
1947
|
+
S(this, "justify-content--tablet", e);
|
|
1776
1948
|
}
|
|
1777
1949
|
get justifyContentLaptop() {
|
|
1778
1950
|
return this.getAttribute("justify-content--laptop");
|
|
1779
1951
|
}
|
|
1780
1952
|
set justifyContentLaptop(e) {
|
|
1781
|
-
|
|
1953
|
+
S(this, "justify-content--laptop", e);
|
|
1782
1954
|
}
|
|
1783
1955
|
get justifyContentDesktop() {
|
|
1784
1956
|
return this.getAttribute("justify-content--desktop");
|
|
1785
1957
|
}
|
|
1786
1958
|
set justifyContentDesktop(e) {
|
|
1787
|
-
|
|
1959
|
+
S(this, "justify-content--desktop", e);
|
|
1788
1960
|
}
|
|
1789
1961
|
get alignItems() {
|
|
1790
1962
|
return this.getAttribute("align-items") ?? "stretch";
|
|
1791
1963
|
}
|
|
1792
1964
|
set alignItems(e) {
|
|
1793
|
-
|
|
1965
|
+
S(this, "align-items", e);
|
|
1794
1966
|
}
|
|
1795
1967
|
get alignItemsMobile() {
|
|
1796
1968
|
return this.getAttribute("align-items--mobile");
|
|
1797
1969
|
}
|
|
1798
1970
|
set alignItemsMobile(e) {
|
|
1799
|
-
|
|
1971
|
+
S(this, "align-items--mobile", e);
|
|
1800
1972
|
}
|
|
1801
1973
|
get alignItemsTablet() {
|
|
1802
1974
|
return this.getAttribute("align-items--tablet");
|
|
1803
1975
|
}
|
|
1804
1976
|
set alignItemsTablet(e) {
|
|
1805
|
-
|
|
1977
|
+
S(this, "align-items--tablet", e);
|
|
1806
1978
|
}
|
|
1807
1979
|
get alignItemsLaptop() {
|
|
1808
1980
|
return this.getAttribute("align-items--laptop");
|
|
1809
1981
|
}
|
|
1810
1982
|
set alignItemsLaptop(e) {
|
|
1811
|
-
|
|
1983
|
+
S(this, "align-items--laptop", e);
|
|
1812
1984
|
}
|
|
1813
1985
|
get alignItemsDesktop() {
|
|
1814
1986
|
return this.getAttribute("align-items--desktop");
|
|
1815
1987
|
}
|
|
1816
1988
|
set alignItemsDesktop(e) {
|
|
1817
|
-
|
|
1989
|
+
S(this, "align-items--desktop", e);
|
|
1818
1990
|
}
|
|
1819
1991
|
get wrap() {
|
|
1820
1992
|
return this.getAttribute("wrap") ?? "nowrap";
|
|
1821
1993
|
}
|
|
1822
1994
|
set wrap(e) {
|
|
1823
|
-
|
|
1995
|
+
S(this, "wrap", e);
|
|
1824
1996
|
}
|
|
1825
1997
|
get wrapMobile() {
|
|
1826
1998
|
return this.getAttribute("wrap--mobile");
|
|
1827
1999
|
}
|
|
1828
2000
|
set wrapMobile(e) {
|
|
1829
|
-
|
|
2001
|
+
S(this, "wrap--mobile", e);
|
|
1830
2002
|
}
|
|
1831
2003
|
get wrapTablet() {
|
|
1832
2004
|
return this.getAttribute("wrap--tablet");
|
|
1833
2005
|
}
|
|
1834
2006
|
set wrapTablet(e) {
|
|
1835
|
-
|
|
2007
|
+
S(this, "wrap--tablet", e);
|
|
1836
2008
|
}
|
|
1837
2009
|
get wrapLaptop() {
|
|
1838
2010
|
return this.getAttribute("wrap--laptop");
|
|
1839
2011
|
}
|
|
1840
2012
|
set wrapLaptop(e) {
|
|
1841
|
-
|
|
2013
|
+
S(this, "wrap--laptop", e);
|
|
1842
2014
|
}
|
|
1843
2015
|
get wrapDesktop() {
|
|
1844
2016
|
return this.getAttribute("wrap--desktop");
|
|
1845
2017
|
}
|
|
1846
2018
|
set wrapDesktop(e) {
|
|
1847
|
-
|
|
2019
|
+
S(this, "wrap--desktop", e);
|
|
1848
2020
|
}
|
|
1849
2021
|
get overflowX() {
|
|
1850
2022
|
return this.getAttribute("overflow-x") ?? "visible";
|
|
1851
2023
|
}
|
|
1852
2024
|
set overflowX(e) {
|
|
1853
|
-
|
|
2025
|
+
S(this, "overflow-x", e);
|
|
1854
2026
|
}
|
|
1855
2027
|
get overflowXMobile() {
|
|
1856
2028
|
return this.getAttribute("overflow-x--mobile");
|
|
1857
2029
|
}
|
|
1858
2030
|
set overflowXMobile(e) {
|
|
1859
|
-
|
|
2031
|
+
S(this, "overflow-x--mobile", e);
|
|
1860
2032
|
}
|
|
1861
2033
|
get overflowXTablet() {
|
|
1862
2034
|
return this.getAttribute("overflow-x--tablet");
|
|
1863
2035
|
}
|
|
1864
2036
|
set overflowXTablet(e) {
|
|
1865
|
-
|
|
2037
|
+
S(this, "overflow-x--tablet", e);
|
|
1866
2038
|
}
|
|
1867
2039
|
get overflowXLaptop() {
|
|
1868
2040
|
return this.getAttribute("overflow-x--laptop");
|
|
1869
2041
|
}
|
|
1870
2042
|
set overflowXLaptop(e) {
|
|
1871
|
-
|
|
2043
|
+
S(this, "overflow-x--laptop", e);
|
|
1872
2044
|
}
|
|
1873
2045
|
get overflowXDesktop() {
|
|
1874
2046
|
return this.getAttribute("overflow-x--desktop");
|
|
1875
2047
|
}
|
|
1876
2048
|
set overflowXDesktop(e) {
|
|
1877
|
-
|
|
2049
|
+
S(this, "overflow-x--desktop", e);
|
|
2050
|
+
}
|
|
2051
|
+
get overflowY() {
|
|
2052
|
+
return this.getAttribute("overflow-y") ?? "visible";
|
|
2053
|
+
}
|
|
2054
|
+
set overflowY(e) {
|
|
2055
|
+
S(this, "overflow-y", e);
|
|
2056
|
+
}
|
|
2057
|
+
get overflowYMobile() {
|
|
2058
|
+
return this.getAttribute("overflow-y--mobile");
|
|
2059
|
+
}
|
|
2060
|
+
set overflowYMobile(e) {
|
|
2061
|
+
S(this, "overflow-y--mobile", e);
|
|
2062
|
+
}
|
|
2063
|
+
get overflowYTablet() {
|
|
2064
|
+
return this.getAttribute("overflow-y--tablet");
|
|
2065
|
+
}
|
|
2066
|
+
set overflowYTablet(e) {
|
|
2067
|
+
S(this, "overflow-y--tablet", e);
|
|
2068
|
+
}
|
|
2069
|
+
get overflowYLaptop() {
|
|
2070
|
+
return this.getAttribute("overflow-y--laptop");
|
|
2071
|
+
}
|
|
2072
|
+
set overflowYLaptop(e) {
|
|
2073
|
+
S(this, "overflow-y--laptop", e);
|
|
2074
|
+
}
|
|
2075
|
+
get overflowYDesktop() {
|
|
2076
|
+
return this.getAttribute("overflow-y--desktop");
|
|
2077
|
+
}
|
|
2078
|
+
set overflowYDesktop(e) {
|
|
2079
|
+
S(this, "overflow-y--desktop", e);
|
|
2080
|
+
}
|
|
2081
|
+
get maxHeight() {
|
|
2082
|
+
return this.getAttribute("max-height") ?? "none";
|
|
2083
|
+
}
|
|
2084
|
+
set maxHeight(e) {
|
|
2085
|
+
S(this, "max-height", e);
|
|
2086
|
+
}
|
|
2087
|
+
get maxHeightMobile() {
|
|
2088
|
+
return this.getAttribute("max-height--mobile");
|
|
2089
|
+
}
|
|
2090
|
+
set maxHeightMobile(e) {
|
|
2091
|
+
S(this, "max-height--mobile", e);
|
|
2092
|
+
}
|
|
2093
|
+
get maxHeightTablet() {
|
|
2094
|
+
return this.getAttribute("max-height--tablet");
|
|
2095
|
+
}
|
|
2096
|
+
set maxHeightTablet(e) {
|
|
2097
|
+
S(this, "max-height--tablet", e);
|
|
2098
|
+
}
|
|
2099
|
+
get maxHeightLaptop() {
|
|
2100
|
+
return this.getAttribute("max-height--laptop");
|
|
2101
|
+
}
|
|
2102
|
+
set maxHeightLaptop(e) {
|
|
2103
|
+
S(this, "max-height--laptop", e);
|
|
2104
|
+
}
|
|
2105
|
+
get maxHeightDesktop() {
|
|
2106
|
+
return this.getAttribute("max-height--desktop");
|
|
2107
|
+
}
|
|
2108
|
+
set maxHeightDesktop(e) {
|
|
2109
|
+
S(this, "max-height--desktop", e);
|
|
2110
|
+
}
|
|
2111
|
+
get minWidth() {
|
|
2112
|
+
return this.getAttribute("min-width") ?? "auto";
|
|
2113
|
+
}
|
|
2114
|
+
set minWidth(e) {
|
|
2115
|
+
S(this, "min-width", e);
|
|
2116
|
+
}
|
|
2117
|
+
get minWidthMobile() {
|
|
2118
|
+
return this.getAttribute("min-width--mobile");
|
|
2119
|
+
}
|
|
2120
|
+
set minWidthMobile(e) {
|
|
2121
|
+
S(this, "min-width--mobile", e);
|
|
2122
|
+
}
|
|
2123
|
+
get minWidthTablet() {
|
|
2124
|
+
return this.getAttribute("min-width--tablet");
|
|
2125
|
+
}
|
|
2126
|
+
set minWidthTablet(e) {
|
|
2127
|
+
S(this, "min-width--tablet", e);
|
|
2128
|
+
}
|
|
2129
|
+
get minWidthLaptop() {
|
|
2130
|
+
return this.getAttribute("min-width--laptop");
|
|
2131
|
+
}
|
|
2132
|
+
set minWidthLaptop(e) {
|
|
2133
|
+
S(this, "min-width--laptop", e);
|
|
2134
|
+
}
|
|
2135
|
+
get minWidthDesktop() {
|
|
2136
|
+
return this.getAttribute("min-width--desktop");
|
|
2137
|
+
}
|
|
2138
|
+
set minWidthDesktop(e) {
|
|
2139
|
+
S(this, "min-width--desktop", e);
|
|
2140
|
+
}
|
|
2141
|
+
get maxWidth() {
|
|
2142
|
+
return this.getAttribute("max-width") ?? "none";
|
|
2143
|
+
}
|
|
2144
|
+
set maxWidth(e) {
|
|
2145
|
+
S(this, "max-width", e);
|
|
2146
|
+
}
|
|
2147
|
+
get maxWidthMobile() {
|
|
2148
|
+
return this.getAttribute("max-width--mobile");
|
|
2149
|
+
}
|
|
2150
|
+
set maxWidthMobile(e) {
|
|
2151
|
+
S(this, "max-width--mobile", e);
|
|
2152
|
+
}
|
|
2153
|
+
get maxWidthTablet() {
|
|
2154
|
+
return this.getAttribute("max-width--tablet");
|
|
2155
|
+
}
|
|
2156
|
+
set maxWidthTablet(e) {
|
|
2157
|
+
S(this, "max-width--tablet", e);
|
|
2158
|
+
}
|
|
2159
|
+
get maxWidthLaptop() {
|
|
2160
|
+
return this.getAttribute("max-width--laptop");
|
|
2161
|
+
}
|
|
2162
|
+
set maxWidthLaptop(e) {
|
|
2163
|
+
S(this, "max-width--laptop", e);
|
|
2164
|
+
}
|
|
2165
|
+
get maxWidthDesktop() {
|
|
2166
|
+
return this.getAttribute("max-width--desktop");
|
|
2167
|
+
}
|
|
2168
|
+
set maxWidthDesktop(e) {
|
|
2169
|
+
S(this, "max-width--desktop", e);
|
|
1878
2170
|
}
|
|
1879
2171
|
get $el() {
|
|
1880
2172
|
return this.shadowRoot.firstElementChild;
|
|
1881
2173
|
}
|
|
1882
2174
|
};
|
|
1883
2175
|
customElements.get("px-stack") || customElements.define("px-stack", U);
|
|
1884
|
-
var W = (e) => e === "direction" || e.startsWith("direction--"),
|
|
2176
|
+
var W = (e) => e === "direction" || e.startsWith("direction--"), je = class extends U {
|
|
1885
2177
|
get direction() {
|
|
1886
2178
|
return "column";
|
|
1887
2179
|
}
|
|
1888
2180
|
set direction(e) {
|
|
1889
|
-
|
|
2181
|
+
S(this, "direction", e);
|
|
1890
2182
|
}
|
|
1891
2183
|
attributeChangedCallback(e, t, n) {
|
|
1892
2184
|
W(e) || super.attributeChangedCallback(e, t, n);
|
|
1893
2185
|
}
|
|
1894
2186
|
};
|
|
1895
|
-
customElements.get("px-vstack") || customElements.define("px-vstack",
|
|
1896
|
-
var
|
|
2187
|
+
customElements.get("px-vstack") || customElements.define("px-vstack", je);
|
|
2188
|
+
var Me = class extends U {
|
|
1897
2189
|
get direction() {
|
|
1898
2190
|
return "row";
|
|
1899
2191
|
}
|
|
1900
2192
|
set direction(e) {
|
|
1901
|
-
|
|
2193
|
+
S(this, "direction", e);
|
|
1902
2194
|
}
|
|
1903
2195
|
attributeChangedCallback(e, t, n) {
|
|
1904
2196
|
W(e) || super.attributeChangedCallback(e, t, n);
|
|
1905
2197
|
}
|
|
1906
2198
|
};
|
|
1907
|
-
customElements.get("px-hstack") || customElements.define("px-hstack",
|
|
1908
|
-
|
|
1909
|
-
|
|
2199
|
+
customElements.get("px-hstack") || customElements.define("px-hstack", Me);
|
|
2200
|
+
//#endregion
|
|
2201
|
+
//#region ../../components/Layout/src/Spacer.ts
|
|
2202
|
+
var Ne = class extends HTMLElement {
|
|
1910
2203
|
constructor() {
|
|
1911
2204
|
super(), this.isZeroSized = !1, this.growValue = "1", this.isVertical = !1;
|
|
1912
2205
|
}
|
|
@@ -1952,10 +2245,11 @@ var Ee = class extends HTMLElement {
|
|
|
1952
2245
|
e ? this.setAttribute("nogap", "") : this.removeAttribute("nogap");
|
|
1953
2246
|
}
|
|
1954
2247
|
};
|
|
1955
|
-
customElements.get("px-spacer") || customElements.define("px-spacer",
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
G
|
|
2248
|
+
customElements.get("px-spacer") || customElements.define("px-spacer", Ne);
|
|
2249
|
+
//#endregion
|
|
2250
|
+
//#region ../../components/Layout/src/Page.css?inline
|
|
2251
|
+
var Pe = ":host{box-sizing:border-box;display:block}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", G = new CSSStyleSheet();
|
|
2252
|
+
G.replaceSync(Pe);
|
|
1959
2253
|
var K = class extends n {
|
|
1960
2254
|
constructor() {
|
|
1961
2255
|
super(G), this.template = () => `
|
|
@@ -2051,7 +2345,7 @@ var K = class extends n {
|
|
|
2051
2345
|
</px-container>
|
|
2052
2346
|
</px-vstack>
|
|
2053
2347
|
</px-container>
|
|
2054
|
-
`,
|
|
2348
|
+
`, C(this.shadowRoot, this.template());
|
|
2055
2349
|
}
|
|
2056
2350
|
static get observedAttributes() {
|
|
2057
2351
|
return [
|
|
@@ -2139,18 +2433,22 @@ var K = class extends n {
|
|
|
2139
2433
|
}
|
|
2140
2434
|
};
|
|
2141
2435
|
customElements.get("px-page") === void 0 && customElements.define("px-page", K);
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2436
|
+
//#endregion
|
|
2437
|
+
//#region ../../components/Span/src/span.css?inline
|
|
2438
|
+
var Fe = "span,::slotted(span){font-family:var(--px-font-family);color:var(--px-color-text-neutral-default);font-size:var(--px-text-size-body-m-mobile);line-height:var(--px-line-height-ratio-l)}:host([inverted]) span,:host([inverted]) ::slotted(span){color:var(--px-color-text-neutral-inverted)}:host([strikethrough]) span{text-decoration:line-through}span.link{text-decoration:underline}@media screen and (width>=48rem){span,::slotted(span){font-size:var(--px-text-size-body-m-tablet)}}@media screen and (width>=64.0625rem){span,::slotted(span){font-size:var(--px-text-size-body-m-laptop)}}", Ie = ".color-inherit{color:inherit!important}.color-brand{color:var(--px-color-text-brand-default)!important}.color-neutral{color:var(--px-color-text-neutral-default)!important}.color-dimmed{color:var(--px-color-text-dimmed-default)!important}.color-purpose-success{color:var(--px-color-text-purpose-success-default)!important}.color-purpose-warning{color:var(--px-color-text-purpose-warning-default)!important}.color-purpose-error{color:var(--px-color-text-purpose-error-default)!important}.color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-default)!important}.color-purpose-promo{color:var(--px-color-text-purpose-promo-default)!important}.color-state-hover{color:var(--px-color-text-state-hover-default)!important}.color-state-active{color:var(--px-color-text-state-active-default)!important}.color-state-disabled{color:var(--px-color-text-state-disabled-default)!important}:host([inverted]) .color-inherit{color:inherit!important}:host([inverted]) .color-brand{color:var(--px-color-text-brand-inverted)!important}:host([inverted]) .color-neutral{color:var(--px-color-text-neutral-inverted)!important}:host([inverted]) .color-dimmed{color:var(--px-color-text-dimmed-inverted)!important}:host([inverted]) .color-purpose-success{color:var(--px-color-text-purpose-success-inverted)!important}:host([inverted]) .color-purpose-warning{color:var(--px-color-text-purpose-warning-inverted)!important}:host([inverted]) .color-purpose-error{color:var(--px-color-text-purpose-error-inverted)!important}:host([inverted]) .color-purpose-unlimited{color:var(--px-color-text-purpose-unlimited-inverted)!important}:host([inverted]) .color-purpose-promo{color:var(--px-color-text-purpose-promo-inverted)!important}:host([inverted]) .color-state-hover{color:var(--px-color-text-state-hover-inverted)!important}:host([inverted]) .color-state-active{color:var(--px-color-text-state-active-inverted)!important}:host([inverted]) .color-state-disabled{color:var(--px-color-text-state-disabled-inverted)!important}.font-size-inherit{font-size:inherit;line-height:inherit}.font-size-body-l{font-size:var(--px-text-size-body-l-mobile)}.font-size-body-m{font-size:var(--px-text-size-body-m-mobile)}.font-size-body-s{font-size:var(--px-text-size-body-s-mobile)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-mobile)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-mobile)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-mobile)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-mobile)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-mobile)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-mobile)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-mobile)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-mobile)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-mobile)}.font-size-heading-3xl,.font-size-heading-4xl,.font-size-heading-5xl{line-height:var(--px-line-height-ratio-s)}.font-size-link-m{font-size:var(--px-text-size-link-m-mobile)}.font-size-link-s{font-size:var(--px-text-size-link-s-mobile)}@media screen and (width>=48rem){.font-size-body-l{font-size:var(--px-text-size-body-l-tablet)}.font-size-body-m{font-size:var(--px-text-size-body-m-tablet)}.font-size-body-s{font-size:var(--px-text-size-body-s-tablet)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-tablet)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-tablet)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-tablet)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-tablet)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-tablet)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-tablet)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-tablet)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-tablet)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-tablet)}.font-size-link-m{font-size:var(--px-text-size-link-m-tablet)}.font-size-link-s{font-size:var(--px-text-size-link-s-tablet)}}@media screen and (width>=64.0625rem){.font-size-body-l{font-size:var(--px-text-size-body-l-laptop)}.font-size-body-m{font-size:var(--px-text-size-body-m-laptop)}.font-size-body-s{font-size:var(--px-text-size-body-s-laptop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-laptop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-laptop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-laptop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-laptop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-laptop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-laptop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-laptop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-laptop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-laptop)}.font-size-link-m{font-size:var(--px-text-size-link-m-laptop)}.font-size-link-s{font-size:var(--px-text-size-link-s-laptop)}}@media screen and (width>=90.0625rem){.font-size-body-l{font-size:var(--px-text-size-body-l-desktop)}.font-size-body-m{font-size:var(--px-text-size-body-m-desktop)}.font-size-body-s{font-size:var(--px-text-size-body-s-desktop)}.font-size-body-xs{font-size:var(--px-text-size-body-xs-desktop)}.font-size-heading-5xl{font-size:var(--px-text-size-heading-5xl-desktop)}.font-size-heading-4xl{font-size:var(--px-text-size-heading-4xl-desktop)}.font-size-heading-3xl{font-size:var(--px-text-size-heading-3xl-desktop)}.font-size-heading-2xl{font-size:var(--px-text-size-heading-2xl-desktop)}.font-size-heading-xl{font-size:var(--px-text-size-heading-xl-desktop)}.font-size-heading-l{font-size:var(--px-text-size-heading-l-desktop)}.font-size-heading-m{font-size:var(--px-text-size-heading-m-desktop)}.font-size-heading-s{font-size:var(--px-text-size-heading-s-desktop)}.font-size-link-m{font-size:var(--px-text-size-link-m-desktop)}.font-size-link-s{font-size:var(--px-text-size-link-s-desktop)}}.font-weight-inherit{font-weight:inherit}.font-weight-body{font-weight:var(--px-font-weight-body)}.font-weight-title{font-weight:var(--px-font-weight-title)}.font-weight-title-large{font-weight:var(--px-font-weight-title-large)}.font-weight-subtitle{font-weight:var(--px-font-weight-subtitle)}", q = new CSSStyleSheet(), J = new CSSStyleSheet();
|
|
2439
|
+
q.replaceSync(Fe), J.replaceSync(Ie);
|
|
2440
|
+
var Le = class e extends t {
|
|
2146
2441
|
static {
|
|
2147
|
-
this.template =
|
|
2442
|
+
this.template = d("<span><slot></slot></span>");
|
|
2148
2443
|
}
|
|
2149
2444
|
static {
|
|
2150
2445
|
this.nativeName = "span";
|
|
2151
2446
|
}
|
|
2447
|
+
static {
|
|
2448
|
+
this.nativeAttributes = {};
|
|
2449
|
+
}
|
|
2152
2450
|
constructor() {
|
|
2153
|
-
super(q, J),
|
|
2451
|
+
super(q, J), C(this.shadowRoot, e.template);
|
|
2154
2452
|
}
|
|
2155
2453
|
static get observedAttributes() {
|
|
2156
2454
|
return [
|
|
@@ -2166,13 +2464,13 @@ var Ae = class e extends t {
|
|
|
2166
2464
|
attributeChangedCallback(e, t, n) {
|
|
2167
2465
|
if (t !== n) switch (e) {
|
|
2168
2466
|
case "color":
|
|
2169
|
-
this.updateTypography(e, t, n,
|
|
2467
|
+
this.updateTypography(e, t, n, te);
|
|
2170
2468
|
break;
|
|
2171
2469
|
case "font-size":
|
|
2172
|
-
this.updateTypography(e, t, n,
|
|
2470
|
+
this.updateTypography(e, t, n, ne);
|
|
2173
2471
|
break;
|
|
2174
2472
|
case "font-weight":
|
|
2175
|
-
this.updateTypography(e, t, n,
|
|
2473
|
+
this.updateTypography(e, t, n, re);
|
|
2176
2474
|
break;
|
|
2177
2475
|
case "disabled":
|
|
2178
2476
|
this.color = "state-disabled";
|
|
@@ -2181,7 +2479,7 @@ var Ae = class e extends t {
|
|
|
2181
2479
|
}
|
|
2182
2480
|
}
|
|
2183
2481
|
updateTypography(e, t, n, r) {
|
|
2184
|
-
t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${e}-${n}`), this.checkName(r, n) ||
|
|
2482
|
+
t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${e}-${n}`), this.checkName(r, n) || h(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
2185
2483
|
}
|
|
2186
2484
|
get color() {
|
|
2187
2485
|
return this.getAttribute("color");
|
|
@@ -2220,16 +2518,17 @@ var Ae = class e extends t {
|
|
|
2220
2518
|
this._updateBooleanAttribute("disabled", e);
|
|
2221
2519
|
}
|
|
2222
2520
|
};
|
|
2223
|
-
customElements.get("px-span") || customElements.define("px-span",
|
|
2224
|
-
|
|
2521
|
+
customElements.get("px-span") || customElements.define("px-span", Le);
|
|
2522
|
+
//#endregion
|
|
2523
|
+
//#region src/autocomplete-option.css?inline
|
|
2225
2524
|
var Y = ":host{display:block}.container{min-height:var(--px-size-l);display:flex}.container>button{appearance:none;box-sizing:border-box;width:100%;min-height:100%;color:inherit;font:inherit;letter-spacing:0;text-align:left;cursor:pointer;padding:var(--px-padding-xs-mobile) var(--px-padding-s-mobile);background:0 0;border:0;align-items:center;margin:0;text-decoration:none;display:flex}.autocomplete-header{overflow:hidden}.autocomplete-header px-span{overflow-wrap:anywhere;min-width:0}:host([selected]) button,button:hover{background-color:var(--px-color-background-state-hover-default)}button:focus-visible{outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default);outline-offset:calc(-1 * var(--px-focus-offset-mobile));position:relative}@media only screen and (width>=48rem){button{padding:var(--px-padding-xs-tablet) var(--px-padding-s-tablet)}button:focus-visible{outline-width:var(--px-focus-outline-tablet);outline-offset:calc(-1 * var(--px-focus-offset-tablet))}}@media only screen and (width>=64.0625rem){button{padding:var(--px-padding-xs-laptop) var(--px-padding-s-laptop)}button:focus-visible{outline-width:var(--px-focus-outline-laptop);outline-offset:calc(-1 * var(--px-focus-offset-laptop))}}@media only screen and (width>=90.0625rem){button{padding:var(--px-padding-xs-desktop) var(--px-padding-s-desktop)}button:focus-visible{outline-width:var(--px-focus-outline-desktop);outline-offset:calc(-1 * var(--px-focus-offset-desktop))}}", X = new CSSStyleSheet();
|
|
2226
2525
|
X.replaceSync(Y);
|
|
2227
2526
|
var Z = class e extends HTMLElement {
|
|
2228
2527
|
static {
|
|
2229
|
-
this.template =
|
|
2528
|
+
this.template = d("<px-container border-radius=\"none\" padding=\"s\" background-color=\"container-default\" class=\"autocomplete-header\"><px-hstack gap=\"s\" align-items=\"center\"><px-icon name=\"search\" color=\"brand\" size=\"m\" from=\"lavender\"></px-icon><px-span size=\"body-s\"><slot></slot></px-span></px-hstack></px-container>");
|
|
2230
2529
|
}
|
|
2231
2530
|
constructor() {
|
|
2232
|
-
super(), this.attachShadow({ mode: "open" }),
|
|
2531
|
+
super(), this.attachShadow({ mode: "open" }), C(this.shadowRoot, e.template), this.shadowRoot.adoptedStyleSheets = [X];
|
|
2233
2532
|
}
|
|
2234
2533
|
connectedCallback() {
|
|
2235
2534
|
this.#e();
|
|
@@ -2245,21 +2544,28 @@ var Z = class e extends HTMLElement {
|
|
|
2245
2544
|
}
|
|
2246
2545
|
};
|
|
2247
2546
|
customElements.get("px-autocomplete-header") || customElements.define("px-autocomplete-header", Z);
|
|
2248
|
-
|
|
2547
|
+
//#endregion
|
|
2548
|
+
//#region src/AutocompleteOption.ts
|
|
2249
2549
|
var Q = new CSSStyleSheet();
|
|
2250
2550
|
Q.replaceSync(Y);
|
|
2251
2551
|
var $ = class e extends HTMLElement {
|
|
2252
2552
|
static {
|
|
2253
|
-
this.template =
|
|
2553
|
+
this.template = d("<div tabindex=\"-1\" class=\"container\"><button type=\"button\" role=\"option\"><px-span size=\"body-s\"><slot></slot></px-span></button></div>");
|
|
2254
2554
|
}
|
|
2255
2555
|
constructor() {
|
|
2256
|
-
super(), this.attachShadow({ mode: "open" }),
|
|
2556
|
+
super(), this.attachShadow({ mode: "open" }), C(this.shadowRoot, e.template), this.shadowRoot.adoptedStyleSheets = [Q];
|
|
2257
2557
|
}
|
|
2258
2558
|
static get observedAttributes() {
|
|
2259
2559
|
return ["selected", "type"];
|
|
2260
2560
|
}
|
|
2261
2561
|
attributeChangedCallback(e, t, n) {
|
|
2262
|
-
|
|
2562
|
+
if (t !== n) {
|
|
2563
|
+
if (e === "selected") {
|
|
2564
|
+
this.$button.setAttribute("aria-selected", String(n !== null));
|
|
2565
|
+
return;
|
|
2566
|
+
}
|
|
2567
|
+
n === null ? this.$button.removeAttribute(e) : this.$button.setAttribute(e, n);
|
|
2568
|
+
}
|
|
2263
2569
|
}
|
|
2264
2570
|
connectedCallback() {
|
|
2265
2571
|
this.#e(), this.$button.setAttribute("aria-selected", String(this.hasAttribute("selected"))), this.hasAttribute("tabindex") || this.setAttribute("tabindex", "-1");
|
|
@@ -2287,4 +2593,5 @@ var $ = class e extends HTMLElement {
|
|
|
2287
2593
|
}
|
|
2288
2594
|
};
|
|
2289
2595
|
customElements.get("px-autocomplete-option") || customElements.define("px-autocomplete-option", $);
|
|
2290
|
-
|
|
2596
|
+
//#endregion
|
|
2597
|
+
export { N as Autocomplete, Z as AutocompleteHeader, $ as AutocompleteOption };
|