@proximus/lavender 1.4.2-beta.1 → 1.4.3-alpha.2
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/lavender.cjs.js +1 -1
- package/dist/lavender.es.js +231 -165
- package/dist/lavender.umd.js +1 -1
- package/package.json +1 -1
package/dist/lavender.es.js
CHANGED
|
@@ -9,6 +9,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
9
9
|
var _src, _internals, _template, _Card_instances, updateMediaPosition_fn, updateMedia_fn, updateBackgroundColor_fn, _Dropdown_instances, resetManualPopoverDisplay_fn, _onTriggerClick, _beforeToggle, _onToggle, handleManualPopoverDisplay_fn, _onResize, _Header_instances, setMDDDialogOffset_fn, togglePanel_fn, showMobileMenu_fn, hideMobileMenu_fn, hidePanel_fn, $mobileMenu_get, $navigationItems_get, $headerWrapper_get, $megaDropdowns_get, _template2, _HeaderMobileMenu_instances, createMobileMenuPanelDropDowns_fn, _Select_instances, updateOptions_fn, _mutationObserver, _MegaDropDown_instances, $backButton_get, $title_get, $footer_get, $closeButtons_get;
|
|
10
10
|
const styles$K = ':host{display:block}: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{display:flex;height:100%;width:100%;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);overflow-x:var(--overflow-x-all)}@media only screen and (max-width: 47.9375em){.flex-container{overflow-x:var(--overflow-x-all-mobile, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 48em){.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)}: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 only screen and (min-width: 48em) and (max-width: 64em){.flex-container{overflow-x:var(--overflow-x-all-tablet, var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media only screen and (min-width: 64.0625em){.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)}: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 only screen and (min-width: 64.0625em) and (max-width: 90em){.flex-container{overflow-x:var(--overflow-x-all-laptop, var(--overflow-x-all))}}@media only screen and (min-width: 90.0625em){.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-x:var(--overflow-x-all-desktop, var(--overflow-x-all))}: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))}}';
|
|
11
11
|
const commonStyles = ":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-value)}:host([order]),::slotted([order]){order:var(--order-value)}:host([hidden]),::slotted([hidden]){display:none}:host([shown--sr]),::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 767px){:host([hidden--mobile]),::slotted([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]),::slotted([order--mobile]){order:var(--order--mobile-value)!important}:host([shown--sr--mobile]),::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 768px) and (max-width: 1024px){:host([hidden--tablet]),::slotted([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]),::slotted([order--tablet]){order:var(--order--tablet-value)!important}:host([shown--sr--tablet]),::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([shown--sr--laptop]),::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([hidden--laptop]),::slotted([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]),::slotted([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 1441px){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]),::slotted([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]),::slotted([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}";
|
|
12
|
+
const __vite_import_meta_env__ = {};
|
|
12
13
|
function getSupportedPropertyNames(htmlElementName) {
|
|
13
14
|
const $element = document.createElement(htmlElementName);
|
|
14
15
|
const inputPrototype = Object.getPrototypeOf($element);
|
|
@@ -23,6 +24,21 @@ function getSupportedAttributeNames(htmlElementName) {
|
|
|
23
24
|
}
|
|
24
25
|
const commonStyleSheet$c = new CSSStyleSheet();
|
|
25
26
|
commonStyleSheet$c.replaceSync(commonStyles);
|
|
27
|
+
const PX_COMPONENT_DEBUG = typeof import.meta !== "undefined" && typeof __vite_import_meta_env__ !== "undefined" && true;
|
|
28
|
+
if (typeof window !== "undefined") {
|
|
29
|
+
window.isComponentDebug = isComponentDebug;
|
|
30
|
+
}
|
|
31
|
+
function isComponentDebug() {
|
|
32
|
+
return PX_COMPONENT_DEBUG;
|
|
33
|
+
}
|
|
34
|
+
function log(message) {
|
|
35
|
+
if (isComponentDebug()) {
|
|
36
|
+
console.error(message);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
if (typeof window !== "undefined") {
|
|
40
|
+
window.isComponentDebug = isComponentDebug;
|
|
41
|
+
}
|
|
26
42
|
class WithExtraAttributes extends HTMLElement {
|
|
27
43
|
static get observedAttributes() {
|
|
28
44
|
return [
|
|
@@ -149,7 +165,9 @@ class WithExtraAttributes extends HTMLElement {
|
|
|
149
165
|
updateProperties(name, oldValue, newValue, attrValue) {
|
|
150
166
|
if (attrValue) {
|
|
151
167
|
if (!this.checkName(attrValue, newValue)) {
|
|
152
|
-
|
|
168
|
+
log(
|
|
169
|
+
`${newValue} is not an allowed ${attrValue} value for ${this.tagName.toLowerCase()}`
|
|
170
|
+
);
|
|
153
171
|
return;
|
|
154
172
|
}
|
|
155
173
|
}
|
|
@@ -1172,7 +1190,9 @@ class Stack extends WithExtraAttributes {
|
|
|
1172
1190
|
}
|
|
1173
1191
|
updateOverflowX(name, oldValue, newValue, attrValue) {
|
|
1174
1192
|
if (!checkName(attrValue, newValue)) {
|
|
1175
|
-
|
|
1193
|
+
log(
|
|
1194
|
+
`${newValue} is not an allowed ${name} value for ${this.tagName.toLowerCase()}`
|
|
1195
|
+
);
|
|
1176
1196
|
return;
|
|
1177
1197
|
}
|
|
1178
1198
|
this.overflowXAttributeDelegate.attributeChangedCallback(
|
|
@@ -1183,7 +1203,9 @@ class Stack extends WithExtraAttributes {
|
|
|
1183
1203
|
}
|
|
1184
1204
|
updateFlexProperties(name, oldValue, newValue, attrValue) {
|
|
1185
1205
|
if (!this.checkName(attrValue, newValue)) {
|
|
1186
|
-
|
|
1206
|
+
log(
|
|
1207
|
+
`${newValue} is not an allowed ${name} value for ${this.tagName.toLowerCase()}`
|
|
1208
|
+
);
|
|
1187
1209
|
}
|
|
1188
1210
|
const hasBreakpoint = name.indexOf("--") > -1;
|
|
1189
1211
|
const cssPropertyName = hasBreakpoint ? name.split("--")[0] : name;
|
|
@@ -1829,7 +1851,9 @@ const _Accordion = class _Accordion extends PxElement {
|
|
|
1829
1851
|
this.$el.classList.toggle(`${newValue}`);
|
|
1830
1852
|
}
|
|
1831
1853
|
if (!this.checkName(attrValues, newValue)) {
|
|
1832
|
-
|
|
1854
|
+
log(
|
|
1855
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
1856
|
+
);
|
|
1833
1857
|
}
|
|
1834
1858
|
}
|
|
1835
1859
|
updateBackgroundColor(attrName, newValue, attrValue) {
|
|
@@ -1843,7 +1867,9 @@ const _Accordion = class _Accordion extends PxElement {
|
|
|
1843
1867
|
`var(--px-color-background-${newValue}-inverted)`
|
|
1844
1868
|
);
|
|
1845
1869
|
} else {
|
|
1846
|
-
|
|
1870
|
+
log(
|
|
1871
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
1872
|
+
);
|
|
1847
1873
|
}
|
|
1848
1874
|
}
|
|
1849
1875
|
updateAriaExpanded() {
|
|
@@ -2059,7 +2085,9 @@ class Icon extends WithExtraAttributes {
|
|
|
2059
2085
|
}
|
|
2060
2086
|
}
|
|
2061
2087
|
if (!this.checkName(attrValues, newValue)) {
|
|
2062
|
-
|
|
2088
|
+
log(
|
|
2089
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
2090
|
+
);
|
|
2063
2091
|
}
|
|
2064
2092
|
}
|
|
2065
2093
|
updateName(oldValue, newValue) {
|
|
@@ -2177,7 +2205,9 @@ const _Span = class _Span extends PxElement {
|
|
|
2177
2205
|
this.$el.classList.toggle(`${attrName}-${newValue}`);
|
|
2178
2206
|
}
|
|
2179
2207
|
if (!this.checkName(attrValue, newValue)) {
|
|
2180
|
-
|
|
2208
|
+
log(
|
|
2209
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
2210
|
+
);
|
|
2181
2211
|
}
|
|
2182
2212
|
}
|
|
2183
2213
|
get color() {
|
|
@@ -2465,7 +2495,9 @@ const _Container = class _Container extends VerticallyExtendedElement {
|
|
|
2465
2495
|
`linear-gradient(var(--px-color-background-gradient-${newValue}))`
|
|
2466
2496
|
);
|
|
2467
2497
|
} else {
|
|
2468
|
-
|
|
2498
|
+
log(
|
|
2499
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
2500
|
+
);
|
|
2469
2501
|
}
|
|
2470
2502
|
}
|
|
2471
2503
|
updateBackgroundColor(attrName, newValue) {
|
|
@@ -2482,7 +2514,9 @@ const _Container = class _Container extends VerticallyExtendedElement {
|
|
|
2482
2514
|
`var(--px-color-background-${newValue}${isSurfaceColor ? "" : "-inverted"})`
|
|
2483
2515
|
);
|
|
2484
2516
|
} else {
|
|
2485
|
-
|
|
2517
|
+
log(
|
|
2518
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
2519
|
+
);
|
|
2486
2520
|
}
|
|
2487
2521
|
}
|
|
2488
2522
|
updateBorderColor(attrName, newValue) {
|
|
@@ -2496,12 +2530,16 @@ const _Container = class _Container extends VerticallyExtendedElement {
|
|
|
2496
2530
|
`var(--px-color-border-${newValue}-inverted)`
|
|
2497
2531
|
);
|
|
2498
2532
|
} else {
|
|
2499
|
-
|
|
2533
|
+
log(
|
|
2534
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
2535
|
+
);
|
|
2500
2536
|
}
|
|
2501
2537
|
}
|
|
2502
2538
|
updateNoBorderRadius(attrName, oldValue, newValue, attrValues) {
|
|
2503
2539
|
if (!this.checkName(attrValues, newValue)) {
|
|
2504
|
-
|
|
2540
|
+
log(
|
|
2541
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
2542
|
+
);
|
|
2505
2543
|
} else {
|
|
2506
2544
|
const splitResult = this.splitAttrNameFromBreakpoint(attrName);
|
|
2507
2545
|
const breakpoint = splitResult.breakpoint;
|
|
@@ -2519,7 +2557,9 @@ const _Container = class _Container extends VerticallyExtendedElement {
|
|
|
2519
2557
|
}
|
|
2520
2558
|
updateAttribute(attrName, oldValue, newValue, attrValues) {
|
|
2521
2559
|
if (!this.checkName(attrValues, newValue)) {
|
|
2522
|
-
|
|
2560
|
+
log(
|
|
2561
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
2562
|
+
);
|
|
2523
2563
|
} else {
|
|
2524
2564
|
const splitResult = this.splitAttrNameFromBreakpoint(attrName);
|
|
2525
2565
|
const breakpoint = splitResult.breakpoint;
|
|
@@ -2548,7 +2588,9 @@ const _Container = class _Container extends VerticallyExtendedElement {
|
|
|
2548
2588
|
}
|
|
2549
2589
|
updateAnchorOffset(oldValue, newValue, attrValue) {
|
|
2550
2590
|
if (!checkName(attrValue, newValue)) {
|
|
2551
|
-
|
|
2591
|
+
log(
|
|
2592
|
+
`${newValue} is not a valid anchor-offset value for ${this.tagName.toLowerCase()}`
|
|
2593
|
+
);
|
|
2552
2594
|
return;
|
|
2553
2595
|
}
|
|
2554
2596
|
const updateAnchorOffsetStyle = (value) => {
|
|
@@ -2944,7 +2986,7 @@ const _ActionLink = class _ActionLink extends PxElement {
|
|
|
2944
2986
|
}
|
|
2945
2987
|
attributeChangedCallback(name, oldValue, newValue) {
|
|
2946
2988
|
if ((name === "icon-name" || name === "icon-from" || name === "label") && !newValue) {
|
|
2947
|
-
|
|
2989
|
+
log(`Action link needs a value from the attribute ${name}`);
|
|
2948
2990
|
throw new Error(`Action link needs a value from the attribute ${name}`);
|
|
2949
2991
|
}
|
|
2950
2992
|
if (name === "icon-name") {
|
|
@@ -3115,7 +3157,7 @@ const _AgGridTableThButton = class _AgGridTableThButton extends PxElement {
|
|
|
3115
3157
|
updateSorting(oldValue, newValue, attrValue) {
|
|
3116
3158
|
var _a, _b;
|
|
3117
3159
|
if (!checkName(attrValue, newValue)) {
|
|
3118
|
-
|
|
3160
|
+
log(`${newValue} is not an allowed sorting value.`);
|
|
3119
3161
|
return;
|
|
3120
3162
|
}
|
|
3121
3163
|
if (oldValue !== null && oldValue !== "") {
|
|
@@ -3360,7 +3402,9 @@ const _Grid = class _Grid extends PxElement {
|
|
|
3360
3402
|
}
|
|
3361
3403
|
updateGap(oldValue, newValue, attrValue) {
|
|
3362
3404
|
if (!this.checkName(attrValue, newValue)) {
|
|
3363
|
-
|
|
3405
|
+
log(
|
|
3406
|
+
`${newValue} is not an allowed gap value for ${this.tagName.toLowerCase()}`
|
|
3407
|
+
);
|
|
3364
3408
|
return;
|
|
3365
3409
|
}
|
|
3366
3410
|
const updateGapStyle = (value) => {
|
|
@@ -3384,7 +3428,9 @@ const _Grid = class _Grid extends PxElement {
|
|
|
3384
3428
|
}
|
|
3385
3429
|
updateAttribute(attrName, oldValue, newValue, attrValues) {
|
|
3386
3430
|
if (!this.checkName(attrValues, newValue)) {
|
|
3387
|
-
|
|
3431
|
+
log(
|
|
3432
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
3433
|
+
);
|
|
3388
3434
|
} else if (attrName === "grid-cols" || attrName === "grid-cols--mobile" || attrName === "grid-cols--tablet" || attrName === "grid-cols--laptop" || attrName === "grid-cols--desktop") {
|
|
3389
3435
|
this.$el.style.setProperty(`--${attrName}`, newValue);
|
|
3390
3436
|
} else {
|
|
@@ -3577,7 +3623,7 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
3577
3623
|
super(bannerStyles);
|
|
3578
3624
|
this.template = () => `<div class="banner">
|
|
3579
3625
|
<div class="contrast-helper"></div>
|
|
3580
|
-
<px-container class="banner-container" padding
|
|
3626
|
+
<px-container class="banner-container" padding--mobile="m" border-radius="main" >
|
|
3581
3627
|
<px-grid gap="none">
|
|
3582
3628
|
<px-container padding="none" background-color="none">
|
|
3583
3629
|
<div class="banner-content">
|
|
@@ -3617,6 +3663,11 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
3617
3663
|
connectedCallback() {
|
|
3618
3664
|
var _a;
|
|
3619
3665
|
(_a = super.connectedCallback) == null ? void 0 : _a.call(this);
|
|
3666
|
+
if (this.reduced) {
|
|
3667
|
+
this.$container.setAttribute("padding", "m");
|
|
3668
|
+
} else {
|
|
3669
|
+
this.$container.setAttribute("padding", "l");
|
|
3670
|
+
}
|
|
3620
3671
|
this.createGridTemplateAreas();
|
|
3621
3672
|
this.createGridding();
|
|
3622
3673
|
}
|
|
@@ -3704,20 +3755,20 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
3704
3755
|
}
|
|
3705
3756
|
createGridding(value) {
|
|
3706
3757
|
const breakpoints = [
|
|
3707
|
-
{ prop: "hasGridding",
|
|
3758
|
+
{ prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
|
|
3708
3759
|
{
|
|
3709
3760
|
prop: "hasGriddingMobile",
|
|
3710
|
-
|
|
3761
|
+
gridAttr: "grid-cols--mobile",
|
|
3711
3762
|
attr: "col-span--mobile"
|
|
3712
3763
|
},
|
|
3713
3764
|
{
|
|
3714
3765
|
prop: "hasGriddingTablet",
|
|
3715
|
-
|
|
3766
|
+
gridAttr: "grid-cols--tablet",
|
|
3716
3767
|
attr: "col-span--tablet"
|
|
3717
3768
|
},
|
|
3718
3769
|
{
|
|
3719
3770
|
prop: "hasGriddingLaptop",
|
|
3720
|
-
|
|
3771
|
+
gridAttr: "grid-cols--laptop",
|
|
3721
3772
|
attr: "col-span--laptop"
|
|
3722
3773
|
}
|
|
3723
3774
|
];
|
|
@@ -3725,16 +3776,16 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
3725
3776
|
"px-grid > px-container"
|
|
3726
3777
|
);
|
|
3727
3778
|
if (value !== null) {
|
|
3728
|
-
breakpoints.forEach(({ prop,
|
|
3779
|
+
breakpoints.forEach(({ prop, gridAttr, attr }) => {
|
|
3729
3780
|
if (this[prop]) {
|
|
3730
|
-
this.$grid
|
|
3731
|
-
spanElement.setAttribute(attr, "2");
|
|
3781
|
+
this.$grid.setAttribute(gridAttr, "3");
|
|
3782
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
|
|
3732
3783
|
}
|
|
3733
3784
|
});
|
|
3734
3785
|
} else {
|
|
3735
|
-
breakpoints.forEach(({
|
|
3736
|
-
this.$grid
|
|
3737
|
-
spanElement.
|
|
3786
|
+
breakpoints.forEach(({ gridAttr, attr }) => {
|
|
3787
|
+
this.$grid.setAttribute(gridAttr, "1");
|
|
3788
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
|
|
3738
3789
|
});
|
|
3739
3790
|
}
|
|
3740
3791
|
}
|
|
@@ -4174,8 +4225,8 @@ const _Button = class _Button extends PxElement {
|
|
|
4174
4225
|
}
|
|
4175
4226
|
this._toggleClass(oldValue, newValue);
|
|
4176
4227
|
if (!this.checkName(variantValues, newValue)) {
|
|
4177
|
-
|
|
4178
|
-
`${newValue} is not a valid "variant" value for ${
|
|
4228
|
+
log(
|
|
4229
|
+
`${newValue} is not a valid "variant" value for ${this.tagName.toLowerCase()}`
|
|
4179
4230
|
);
|
|
4180
4231
|
}
|
|
4181
4232
|
}
|
|
@@ -4183,7 +4234,9 @@ const _Button = class _Button extends PxElement {
|
|
|
4183
4234
|
const values = ["", "default", "success", "error"];
|
|
4184
4235
|
this._toggleClass(oldValue, newValue);
|
|
4185
4236
|
if (!this.checkName(values, newValue)) {
|
|
4186
|
-
|
|
4237
|
+
log(
|
|
4238
|
+
`${newValue} is not a valid "sate" value for ${this.tagName.toLowerCase()}`
|
|
4239
|
+
);
|
|
4187
4240
|
}
|
|
4188
4241
|
}
|
|
4189
4242
|
updateExtended(attributeName, newValue) {
|
|
@@ -4205,7 +4258,9 @@ const _Button = class _Button extends PxElement {
|
|
|
4205
4258
|
}
|
|
4206
4259
|
updateShape(attrName, newValue, attrValue) {
|
|
4207
4260
|
if (!checkName(attrValue, newValue)) {
|
|
4208
|
-
|
|
4261
|
+
log(
|
|
4262
|
+
`${newValue} is not a valid shape value for ${this.tagName.toLowerCase()}`
|
|
4263
|
+
);
|
|
4209
4264
|
return;
|
|
4210
4265
|
}
|
|
4211
4266
|
if (newValue !== null && newValue !== "") {
|
|
@@ -4398,7 +4453,9 @@ const _ButtonIcon = class _ButtonIcon extends PxElement {
|
|
|
4398
4453
|
}
|
|
4399
4454
|
updateSize(oldValue, newValue) {
|
|
4400
4455
|
if (!this.checkName(buttonIconSizeValues, newValue)) {
|
|
4401
|
-
|
|
4456
|
+
log(
|
|
4457
|
+
`${newValue} is not a valid size value for ${this.tagName.toLowerCase()}`
|
|
4458
|
+
);
|
|
4402
4459
|
} else {
|
|
4403
4460
|
if (oldValue !== null && oldValue !== "" && oldValue !== "default") {
|
|
4404
4461
|
this.$el.classList.toggle(`btn-icon--size-${oldValue}`);
|
|
@@ -4410,7 +4467,9 @@ const _ButtonIcon = class _ButtonIcon extends PxElement {
|
|
|
4410
4467
|
}
|
|
4411
4468
|
updateVariant(oldValue, newValue) {
|
|
4412
4469
|
if (!this.checkName(buttonIconVariantValues, newValue)) {
|
|
4413
|
-
|
|
4470
|
+
log(
|
|
4471
|
+
`${newValue} is not a valid variant value for ${this.tagName.toLowerCase()}`
|
|
4472
|
+
);
|
|
4414
4473
|
} else {
|
|
4415
4474
|
if (oldValue !== null && oldValue !== "" && oldValue !== "default") {
|
|
4416
4475
|
this.$el.classList.toggle(`btn-icon--variant-${oldValue}`);
|
|
@@ -4815,9 +4874,8 @@ updateMedia_fn = function(newValue, screenSize) {
|
|
|
4815
4874
|
};
|
|
4816
4875
|
updateBackgroundColor_fn = function(attrName, oldValue, newValue, attrValue) {
|
|
4817
4876
|
if (!checkName(attrValue, newValue)) {
|
|
4818
|
-
|
|
4819
|
-
`${newValue} is not an allowed ${attrName} value
|
|
4820
|
-
this.$el
|
|
4877
|
+
log(
|
|
4878
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
4821
4879
|
);
|
|
4822
4880
|
return;
|
|
4823
4881
|
}
|
|
@@ -5289,7 +5347,7 @@ function configureCellBackgroundColor(el) {
|
|
|
5289
5347
|
}
|
|
5290
5348
|
function updateVariant(element, oldValue, newValue) {
|
|
5291
5349
|
if (!checkName(cellVariantValues, newValue)) {
|
|
5292
|
-
|
|
5350
|
+
log(`${newValue} is not an allowed variant value.`);
|
|
5293
5351
|
return;
|
|
5294
5352
|
}
|
|
5295
5353
|
if (oldValue !== null && oldValue !== "" && oldValue !== "default") {
|
|
@@ -5320,7 +5378,9 @@ function handleCellInverted(cell, children, inverted, extraTargets = []) {
|
|
|
5320
5378
|
}
|
|
5321
5379
|
function updateBackgroundColor(el, attrName, oldValue, newValue, attrValue) {
|
|
5322
5380
|
if (!checkName(attrValue, newValue)) {
|
|
5323
|
-
|
|
5381
|
+
log(
|
|
5382
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
5383
|
+
);
|
|
5324
5384
|
return;
|
|
5325
5385
|
}
|
|
5326
5386
|
const updateColorStyle = (value) => {
|
|
@@ -5498,18 +5558,15 @@ const _Cell = class _Cell extends PxElement {
|
|
|
5498
5558
|
element.getAttribute("variant")
|
|
5499
5559
|
);
|
|
5500
5560
|
if (!suffixButtonIconHasCorrectVariant) {
|
|
5501
|
-
console.error(
|
|
5502
|
-
`Wrong button-icon variant value for suffix. Allowed values are: ${suffixButtonIconVariantValues.join(
|
|
5503
|
-
", "
|
|
5504
|
-
)}.`
|
|
5505
|
-
);
|
|
5506
5561
|
element.setAttribute("variant", "secondary");
|
|
5507
5562
|
}
|
|
5508
5563
|
}
|
|
5509
5564
|
}
|
|
5510
5565
|
updateRadius(attrName, oldValue, newValue, attrValues) {
|
|
5511
5566
|
if (!checkName(attrValues, newValue)) {
|
|
5512
|
-
|
|
5567
|
+
log(
|
|
5568
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
5569
|
+
);
|
|
5513
5570
|
return;
|
|
5514
5571
|
}
|
|
5515
5572
|
const hasBreakpoint = attrName.includes("--");
|
|
@@ -6165,11 +6222,6 @@ const _Checkbox = class _Checkbox extends PxElement {
|
|
|
6165
6222
|
];
|
|
6166
6223
|
}
|
|
6167
6224
|
connectedCallback() {
|
|
6168
|
-
if (!this.hasAttribute("name")) {
|
|
6169
|
-
console.error(
|
|
6170
|
-
'<px-checkbox> requires a "name" attribute to function properly.'
|
|
6171
|
-
);
|
|
6172
|
-
}
|
|
6173
6225
|
this.$el.addEventListener("change", () => {
|
|
6174
6226
|
var _a;
|
|
6175
6227
|
const customEvent = new Event("change", {
|
|
@@ -6238,7 +6290,9 @@ const _Checkbox = class _Checkbox extends PxElement {
|
|
|
6238
6290
|
updateAttribute(oldValue, newValue, attrValue, attrName) {
|
|
6239
6291
|
var _a, _b;
|
|
6240
6292
|
if (!this.checkName(attrValue, newValue)) {
|
|
6241
|
-
|
|
6293
|
+
log(
|
|
6294
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
6295
|
+
);
|
|
6242
6296
|
return;
|
|
6243
6297
|
}
|
|
6244
6298
|
if (oldValue !== null) {
|
|
@@ -6354,7 +6408,7 @@ class CellCheckbox extends WithExtraAttributes {
|
|
|
6354
6408
|
return `
|
|
6355
6409
|
<div class="cell-checkbox">
|
|
6356
6410
|
<px-cell hoverable>
|
|
6357
|
-
<px-checkbox slot="prefix"
|
|
6411
|
+
<px-checkbox slot="prefix" inert ${this.name ? 'name="${this.name"' : ""} ${this.value ? 'value="${this.value"' : ""}></px-checkbox>
|
|
6358
6412
|
<slot name="visual" slot="visual"></slot>
|
|
6359
6413
|
<slot name="label" slot="label"></slot>
|
|
6360
6414
|
<slot name="description" slot="description"></slot>
|
|
@@ -6468,7 +6522,9 @@ class CellCheckbox extends WithExtraAttributes {
|
|
|
6468
6522
|
case "state":
|
|
6469
6523
|
if (this.$checkbox) {
|
|
6470
6524
|
if (!this.checkName(checkboxStateValues, newValue)) {
|
|
6471
|
-
|
|
6525
|
+
log(
|
|
6526
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
6527
|
+
);
|
|
6472
6528
|
return;
|
|
6473
6529
|
} else {
|
|
6474
6530
|
this.$checkbox.setAttribute("state", newValue);
|
|
@@ -6545,7 +6601,9 @@ class CellCheckbox extends WithExtraAttributes {
|
|
|
6545
6601
|
}
|
|
6546
6602
|
handleCheckboxPositionChange(newValue) {
|
|
6547
6603
|
if (!this.checkName(cellCheckboxPosition, newValue)) {
|
|
6548
|
-
|
|
6604
|
+
log(
|
|
6605
|
+
`${newValue} is not an allowed position value for ${this.tagName.toLowerCase()}`
|
|
6606
|
+
);
|
|
6549
6607
|
return;
|
|
6550
6608
|
}
|
|
6551
6609
|
if (this.$checkbox) {
|
|
@@ -6763,7 +6821,7 @@ class CellSwitch extends WithExtraAttributes {
|
|
|
6763
6821
|
return `
|
|
6764
6822
|
<div class="cell-switch">
|
|
6765
6823
|
<px-cell hoverable>
|
|
6766
|
-
<px-switch slot="action-indicator"
|
|
6824
|
+
<px-switch slot="action-indicator" inert></px-switch>
|
|
6767
6825
|
<slot name="visual" slot="visual"></slot>
|
|
6768
6826
|
<slot name="label" slot="label"></slot>
|
|
6769
6827
|
<slot name="description" slot="description"></slot>
|
|
@@ -7261,7 +7319,9 @@ class Radio extends RadioBase {
|
|
|
7261
7319
|
updateAttribute(oldValue, newValue, attrValue, attrName) {
|
|
7262
7320
|
var _a, _b;
|
|
7263
7321
|
if (!this.checkName(attrValue, newValue)) {
|
|
7264
|
-
|
|
7322
|
+
log(
|
|
7323
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
7324
|
+
);
|
|
7265
7325
|
return;
|
|
7266
7326
|
}
|
|
7267
7327
|
if (oldValue !== null) {
|
|
@@ -7434,18 +7494,6 @@ class Radiogroup extends WithExtraAttributes {
|
|
|
7434
7494
|
];
|
|
7435
7495
|
}
|
|
7436
7496
|
connectedCallback() {
|
|
7437
|
-
var _a;
|
|
7438
|
-
if (!this.hasAttribute("name") || this.getAttribute("name") === "") {
|
|
7439
|
-
console.error(
|
|
7440
|
-
'<px-radio-group> requires a "name" attribute to function properly.'
|
|
7441
|
-
);
|
|
7442
|
-
}
|
|
7443
|
-
const hasLegend = ((_a = this.$slotLegend) == null ? void 0 : _a.assignedNodes().length) > 0;
|
|
7444
|
-
if (!hasLegend) {
|
|
7445
|
-
console.error(
|
|
7446
|
-
'<px-radiogroup> requires a slot="legend" containing the description of the fieldset radiogroup.'
|
|
7447
|
-
);
|
|
7448
|
-
}
|
|
7449
7497
|
this.setupErrorState();
|
|
7450
7498
|
this.addEventListener("change", this.handleRadioChange);
|
|
7451
7499
|
this.addEventListener("keydown", (e) => {
|
|
@@ -7524,7 +7572,9 @@ class Radiogroup extends WithExtraAttributes {
|
|
|
7524
7572
|
}
|
|
7525
7573
|
updateVariant(oldValue, newValue, attrValue) {
|
|
7526
7574
|
if (!this.checkName(attrValue, newValue)) {
|
|
7527
|
-
|
|
7575
|
+
log(
|
|
7576
|
+
`${newValue} is not an allowed variant value for ${this.tagName.toLowerCase()}`
|
|
7577
|
+
);
|
|
7528
7578
|
return;
|
|
7529
7579
|
}
|
|
7530
7580
|
if (oldValue !== null && oldValue !== "") {
|
|
@@ -7539,7 +7589,9 @@ class Radiogroup extends WithExtraAttributes {
|
|
|
7539
7589
|
}
|
|
7540
7590
|
updateGap(oldValue, newValue, attrValue) {
|
|
7541
7591
|
if (!this.checkName(attrValue, newValue)) {
|
|
7542
|
-
|
|
7592
|
+
log(
|
|
7593
|
+
`${newValue} is not an allowed gap value for ${this.tagName.toLowerCase()}`
|
|
7594
|
+
);
|
|
7543
7595
|
return;
|
|
7544
7596
|
}
|
|
7545
7597
|
this.updateGapStyle(oldValue);
|
|
@@ -7569,7 +7621,7 @@ class Radiogroup extends WithExtraAttributes {
|
|
|
7569
7621
|
var _a;
|
|
7570
7622
|
const hasErrorText = ((_a = this.$slotError) == null ? void 0 : _a.assignedNodes().length) > 0;
|
|
7571
7623
|
if (this.state === "error" && !hasErrorText) {
|
|
7572
|
-
|
|
7624
|
+
log(
|
|
7573
7625
|
'<px-radiogroup> with state="error" requires a slot="error-text" containing the error description.'
|
|
7574
7626
|
);
|
|
7575
7627
|
}
|
|
@@ -7662,7 +7714,7 @@ class CellRadio extends WithExtraAttributes {
|
|
|
7662
7714
|
return `
|
|
7663
7715
|
<div class="cell-radio">
|
|
7664
7716
|
<px-cell hoverable>
|
|
7665
|
-
<px-radio slot="prefix"
|
|
7717
|
+
<px-radio slot="prefix" inert></px-radio>
|
|
7666
7718
|
<slot name="visual" slot="visual"></slot>
|
|
7667
7719
|
<slot name="label" slot="label"></slot>
|
|
7668
7720
|
<slot name="description" slot="description"></slot>
|
|
@@ -7779,7 +7831,9 @@ class CellRadio extends WithExtraAttributes {
|
|
|
7779
7831
|
case "state":
|
|
7780
7832
|
if (this.$radio) {
|
|
7781
7833
|
if (!this.checkName(stateValues, newValue)) {
|
|
7782
|
-
|
|
7834
|
+
log(
|
|
7835
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
7836
|
+
);
|
|
7783
7837
|
return;
|
|
7784
7838
|
} else {
|
|
7785
7839
|
this.$radio.setAttribute("state", newValue);
|
|
@@ -7858,7 +7912,9 @@ class CellRadio extends WithExtraAttributes {
|
|
|
7858
7912
|
}
|
|
7859
7913
|
handleRadioPositionChange(newValue) {
|
|
7860
7914
|
if (!this.checkName(cellRadioPosition, newValue)) {
|
|
7861
|
-
|
|
7915
|
+
log(
|
|
7916
|
+
`${newValue} is not an allowed position value for ${this.tagName.toLowerCase()}`
|
|
7917
|
+
);
|
|
7862
7918
|
return;
|
|
7863
7919
|
}
|
|
7864
7920
|
if (this.$radio) {
|
|
@@ -8109,7 +8165,9 @@ const _ColorOption = class _ColorOption extends PxElement {
|
|
|
8109
8165
|
}
|
|
8110
8166
|
updateSize(attrName, oldValue, newValue, attrValues) {
|
|
8111
8167
|
if (!checkName(attrValues, newValue)) {
|
|
8112
|
-
|
|
8168
|
+
log(
|
|
8169
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
8170
|
+
);
|
|
8113
8171
|
return;
|
|
8114
8172
|
}
|
|
8115
8173
|
if (oldValue !== null && oldValue !== "" && oldValue !== "default") {
|
|
@@ -8624,14 +8682,18 @@ class AbstractHeading extends PxElement {
|
|
|
8624
8682
|
}
|
|
8625
8683
|
updateAttribute(attrName, oldValue, newValue, attrValue) {
|
|
8626
8684
|
if (!this.checkName(attrValue, newValue)) {
|
|
8627
|
-
|
|
8685
|
+
log(
|
|
8686
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
8687
|
+
);
|
|
8628
8688
|
} else {
|
|
8629
8689
|
this.toggleClass(oldValue, newValue);
|
|
8630
8690
|
}
|
|
8631
8691
|
}
|
|
8632
8692
|
updateColor(oldValue, newValue, attrValue) {
|
|
8633
8693
|
if (!this.checkName(attrValue, newValue)) {
|
|
8634
|
-
|
|
8694
|
+
log(
|
|
8695
|
+
`${newValue} is not an allowed color value for ${this.tagName.toLowerCase()}`
|
|
8696
|
+
);
|
|
8635
8697
|
return;
|
|
8636
8698
|
}
|
|
8637
8699
|
const updateColorStyle = (value) => {
|
|
@@ -8651,7 +8713,9 @@ class AbstractHeading extends PxElement {
|
|
|
8651
8713
|
}
|
|
8652
8714
|
updateTextAlign(attrName, oldValue, newValue, attrValue) {
|
|
8653
8715
|
if (!this.checkName(attrValue, newValue)) {
|
|
8654
|
-
|
|
8716
|
+
log(
|
|
8717
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
8718
|
+
);
|
|
8655
8719
|
return;
|
|
8656
8720
|
}
|
|
8657
8721
|
const updateStyle = (breakpoint, value) => {
|
|
@@ -8898,20 +8962,20 @@ const _ContentHeader = class _ContentHeader extends PxElement {
|
|
|
8898
8962
|
}
|
|
8899
8963
|
createGridding(value) {
|
|
8900
8964
|
const breakpoints = [
|
|
8901
|
-
{ prop: "hasGridding",
|
|
8965
|
+
{ prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
|
|
8902
8966
|
{
|
|
8903
8967
|
prop: "hasGriddingMobile",
|
|
8904
|
-
|
|
8968
|
+
gridAttr: "grid-cols--mobile",
|
|
8905
8969
|
attr: "col-span--mobile"
|
|
8906
8970
|
},
|
|
8907
8971
|
{
|
|
8908
8972
|
prop: "hasGriddingTablet",
|
|
8909
|
-
|
|
8973
|
+
gridAttr: "grid-cols--tablet",
|
|
8910
8974
|
attr: "col-span--tablet"
|
|
8911
8975
|
},
|
|
8912
8976
|
{
|
|
8913
8977
|
prop: "hasGriddingLaptop",
|
|
8914
|
-
|
|
8978
|
+
gridAttr: "grid-cols--laptop",
|
|
8915
8979
|
attr: "col-span--laptop"
|
|
8916
8980
|
}
|
|
8917
8981
|
];
|
|
@@ -8919,16 +8983,16 @@ const _ContentHeader = class _ContentHeader extends PxElement {
|
|
|
8919
8983
|
"px-grid > px-container"
|
|
8920
8984
|
);
|
|
8921
8985
|
if (value !== null) {
|
|
8922
|
-
breakpoints.forEach(({ prop,
|
|
8986
|
+
breakpoints.forEach(({ prop, gridAttr, attr }) => {
|
|
8923
8987
|
if (this[prop]) {
|
|
8924
|
-
this.$grid
|
|
8925
|
-
spanElement.setAttribute(attr, "2");
|
|
8988
|
+
this.$grid.setAttribute(gridAttr, "3");
|
|
8989
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
|
|
8926
8990
|
}
|
|
8927
8991
|
});
|
|
8928
8992
|
} else {
|
|
8929
|
-
breakpoints.forEach(({
|
|
8930
|
-
this.$grid
|
|
8931
|
-
spanElement.
|
|
8993
|
+
breakpoints.forEach(({ gridAttr, attr }) => {
|
|
8994
|
+
this.$grid.setAttribute(gridAttr, "1");
|
|
8995
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
|
|
8932
8996
|
});
|
|
8933
8997
|
}
|
|
8934
8998
|
}
|
|
@@ -9169,7 +9233,9 @@ const _Separator = class _Separator extends PxElement {
|
|
|
9169
9233
|
}
|
|
9170
9234
|
};
|
|
9171
9235
|
if (!this.checkName(attrValue, newValue)) {
|
|
9172
|
-
|
|
9236
|
+
log(
|
|
9237
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
9238
|
+
);
|
|
9173
9239
|
} else {
|
|
9174
9240
|
updateSizeStyle(oldValue);
|
|
9175
9241
|
updateSizeStyle(newValue);
|
|
@@ -9189,7 +9255,9 @@ const _Separator = class _Separator extends PxElement {
|
|
|
9189
9255
|
}
|
|
9190
9256
|
};
|
|
9191
9257
|
if (!this.checkName(attrValue, newValue)) {
|
|
9192
|
-
|
|
9258
|
+
log(
|
|
9259
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
9260
|
+
);
|
|
9193
9261
|
} else {
|
|
9194
9262
|
updateColorStyle(oldValue);
|
|
9195
9263
|
updateColorStyle(newValue);
|
|
@@ -9202,7 +9270,9 @@ const _Separator = class _Separator extends PxElement {
|
|
|
9202
9270
|
}
|
|
9203
9271
|
};
|
|
9204
9272
|
if (!this.checkName(attrValue, newValue)) {
|
|
9205
|
-
|
|
9273
|
+
log(
|
|
9274
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
9275
|
+
);
|
|
9206
9276
|
} else {
|
|
9207
9277
|
if (attrName === "direction") {
|
|
9208
9278
|
["mobile", "tablet", "laptop", "desktop"].forEach((breakpoint) => {
|
|
@@ -9640,7 +9710,7 @@ class Dropdown extends WithExtraAttributes {
|
|
|
9640
9710
|
if (anchorAlignmentValues.includes(value)) {
|
|
9641
9711
|
this.setAttribute("anchoralignment", value);
|
|
9642
9712
|
} else {
|
|
9643
|
-
|
|
9713
|
+
log(
|
|
9644
9714
|
`Invalid anchor alignment value: ${value}. Using default ${defaultAnchorAlignment}.`
|
|
9645
9715
|
);
|
|
9646
9716
|
this.setAttribute("anchoralignment", defaultAnchorAlignment);
|
|
@@ -9711,13 +9781,6 @@ const _Fieldset = class _Fieldset extends PxElement {
|
|
|
9711
9781
|
];
|
|
9712
9782
|
}
|
|
9713
9783
|
connectedCallback() {
|
|
9714
|
-
var _a;
|
|
9715
|
-
const hasLegend = ((_a = this.$slotLegend) == null ? void 0 : _a.assignedNodes().length) > 0;
|
|
9716
|
-
if (!hasLegend) {
|
|
9717
|
-
console.error(
|
|
9718
|
-
'<px-fieldset> requires a slot="legend" containing the description of the fieldset.'
|
|
9719
|
-
);
|
|
9720
|
-
}
|
|
9721
9784
|
this.setupErrorState();
|
|
9722
9785
|
transferAccessibilityAttributes(this, this.$el, false);
|
|
9723
9786
|
}
|
|
@@ -9754,7 +9817,7 @@ const _Fieldset = class _Fieldset extends PxElement {
|
|
|
9754
9817
|
var _a;
|
|
9755
9818
|
const hasErrorText = ((_a = this.$slotError) == null ? void 0 : _a.assignedNodes().length) > 0;
|
|
9756
9819
|
if (this.state === "error" && !hasErrorText) {
|
|
9757
|
-
|
|
9820
|
+
log(
|
|
9758
9821
|
'<px-fieldset> with state="error" requires a slot="error-text" containing the error description.'
|
|
9759
9822
|
);
|
|
9760
9823
|
}
|
|
@@ -9976,7 +10039,9 @@ const _Link = class _Link extends PxElement {
|
|
|
9976
10039
|
this._toggleClassList(newValue);
|
|
9977
10040
|
}
|
|
9978
10041
|
if (!this.checkName(linkVariantValues, newValue)) {
|
|
9979
|
-
|
|
10042
|
+
log(
|
|
10043
|
+
`${newValue} is not an allowed variant value for ${this.tagName.toLowerCase()}`
|
|
10044
|
+
);
|
|
9980
10045
|
}
|
|
9981
10046
|
if (newValue === "icon-link") {
|
|
9982
10047
|
this.$iconNotBeforeAfter.setAttribute("color", "inherit");
|
|
@@ -9984,7 +10049,9 @@ const _Link = class _Link extends PxElement {
|
|
|
9984
10049
|
}
|
|
9985
10050
|
updateShape(attrName, newValue, attrValue) {
|
|
9986
10051
|
if (!checkName(attrValue, newValue)) {
|
|
9987
|
-
|
|
10052
|
+
log(
|
|
10053
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
10054
|
+
);
|
|
9988
10055
|
return;
|
|
9989
10056
|
}
|
|
9990
10057
|
if (newValue !== null && newValue !== "") {
|
|
@@ -9999,7 +10066,9 @@ const _Link = class _Link extends PxElement {
|
|
|
9999
10066
|
this.$el.classList.toggle(`${attrName}-${newValue}`);
|
|
10000
10067
|
}
|
|
10001
10068
|
if (!this.checkName(attrValue, newValue)) {
|
|
10002
|
-
|
|
10069
|
+
log(
|
|
10070
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
10071
|
+
);
|
|
10003
10072
|
}
|
|
10004
10073
|
}
|
|
10005
10074
|
updateExtended(attributeName, newValue) {
|
|
@@ -10200,14 +10269,18 @@ const _Paragraph = class _Paragraph extends PxElement {
|
|
|
10200
10269
|
}
|
|
10201
10270
|
updateVariant(attrName, oldValue, newValue, attrValue) {
|
|
10202
10271
|
if (!this.checkName(attrValue, newValue)) {
|
|
10203
|
-
|
|
10272
|
+
log(
|
|
10273
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
10274
|
+
);
|
|
10204
10275
|
} else {
|
|
10205
10276
|
this.toggleClass(oldValue, newValue);
|
|
10206
10277
|
}
|
|
10207
10278
|
}
|
|
10208
10279
|
updateTypography(attrName, oldValue, newValue, attrValue) {
|
|
10209
10280
|
if (!this.checkName(attrValue, newValue)) {
|
|
10210
|
-
|
|
10281
|
+
log(
|
|
10282
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
10283
|
+
);
|
|
10211
10284
|
} else {
|
|
10212
10285
|
const splitResult = this.splitAttrNameFromBreakpoint(attrName);
|
|
10213
10286
|
const breakpoint = splitResult.breakpoint;
|
|
@@ -10379,14 +10452,8 @@ const _FooterSitemapItem = class _FooterSitemapItem extends PxElement {
|
|
|
10379
10452
|
connectedCallback() {
|
|
10380
10453
|
this.loadTemplate();
|
|
10381
10454
|
window.addEventListener("resize", this.throttledLoadTemplate);
|
|
10382
|
-
if (
|
|
10383
|
-
|
|
10384
|
-
"The footer sitemap item must contain a <ul> element with links."
|
|
10385
|
-
);
|
|
10386
|
-
} else {
|
|
10387
|
-
if (this.$ul.querySelector("px-img")) {
|
|
10388
|
-
this.$ul.classList.add("link-list-img");
|
|
10389
|
-
}
|
|
10455
|
+
if (this.$ul.querySelector("px-img")) {
|
|
10456
|
+
this.$ul.classList.add("link-list-img");
|
|
10390
10457
|
}
|
|
10391
10458
|
}
|
|
10392
10459
|
disconnectedCallback() {
|
|
@@ -11010,7 +11077,9 @@ const _AbstractImage = class _AbstractImage extends PxElement {
|
|
|
11010
11077
|
}
|
|
11011
11078
|
updateWidth(attrName, oldValue, newValue, attrValues) {
|
|
11012
11079
|
if (!this.checkName(attrValues, newValue)) {
|
|
11013
|
-
|
|
11080
|
+
log(
|
|
11081
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
11082
|
+
);
|
|
11014
11083
|
return;
|
|
11015
11084
|
}
|
|
11016
11085
|
const hasBreakpoint = attrName.indexOf("--") > -1;
|
|
@@ -11049,7 +11118,9 @@ const _AbstractImage = class _AbstractImage extends PxElement {
|
|
|
11049
11118
|
}
|
|
11050
11119
|
updateAttribute(attrName, oldValue, newValue, attrValues) {
|
|
11051
11120
|
if (!this.checkName(attrValues, newValue)) {
|
|
11052
|
-
|
|
11121
|
+
log(
|
|
11122
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
11123
|
+
);
|
|
11053
11124
|
} else {
|
|
11054
11125
|
const splitResult = this.splitAttrNameFromBreakpoint(attrName);
|
|
11055
11126
|
const breakpoint = splitResult.breakpoint;
|
|
@@ -12545,12 +12616,16 @@ class Patch extends HTMLElement {
|
|
|
12545
12616
|
updateVariant(oldValue, newValue) {
|
|
12546
12617
|
this._toggleClass(oldValue, newValue);
|
|
12547
12618
|
if (!this.checkName(patchVariantValues, newValue)) {
|
|
12548
|
-
|
|
12619
|
+
log(
|
|
12620
|
+
`${newValue} is not an allowed variant value for ${this.tagName.toLowerCase()}`
|
|
12621
|
+
);
|
|
12549
12622
|
}
|
|
12550
12623
|
}
|
|
12551
12624
|
updateShape(attrName, newValue, attrValue) {
|
|
12552
12625
|
if (!this.checkName(attrValue, newValue)) {
|
|
12553
|
-
|
|
12626
|
+
log(
|
|
12627
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
12628
|
+
);
|
|
12554
12629
|
return;
|
|
12555
12630
|
}
|
|
12556
12631
|
if (newValue !== null && newValue !== "") {
|
|
@@ -12615,11 +12690,6 @@ class Pillar extends WithExtraAttributes {
|
|
|
12615
12690
|
}
|
|
12616
12691
|
connectedCallback() {
|
|
12617
12692
|
this.configureContainer();
|
|
12618
|
-
if (!this.$title) {
|
|
12619
|
-
console.error(
|
|
12620
|
-
'Pillar component requires a title slot. Please add a slot with name="title" inside the pillar.'
|
|
12621
|
-
);
|
|
12622
|
-
}
|
|
12623
12693
|
}
|
|
12624
12694
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
12625
12695
|
if (oldValue !== newValue) {
|
|
@@ -12670,7 +12740,9 @@ class Pillar extends WithExtraAttributes {
|
|
|
12670
12740
|
}
|
|
12671
12741
|
updateAlignment(attrName, oldValue, newValue) {
|
|
12672
12742
|
if (!this.checkName(pillarAlignmentValues, newValue)) {
|
|
12673
|
-
|
|
12743
|
+
log(
|
|
12744
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
12745
|
+
);
|
|
12674
12746
|
return;
|
|
12675
12747
|
}
|
|
12676
12748
|
if (oldValue !== null && oldValue !== "" && oldValue !== "default") {
|
|
@@ -12687,7 +12759,9 @@ class Pillar extends WithExtraAttributes {
|
|
|
12687
12759
|
}
|
|
12688
12760
|
updateVariant(attrName, oldValue, newValue) {
|
|
12689
12761
|
if (!this.checkName(pillarVariantValues, newValue)) {
|
|
12690
|
-
|
|
12762
|
+
log(
|
|
12763
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
12764
|
+
);
|
|
12691
12765
|
return;
|
|
12692
12766
|
}
|
|
12693
12767
|
if (oldValue !== null && oldValue !== "" && oldValue !== "default") {
|
|
@@ -12829,7 +12903,9 @@ const _Price = class _Price extends PxElement {
|
|
|
12829
12903
|
updateAttribute(attrName, oldValue, newValue, attrValues) {
|
|
12830
12904
|
this.toggleClass(oldValue, newValue);
|
|
12831
12905
|
if (!this.checkName(attrValues, newValue)) {
|
|
12832
|
-
|
|
12906
|
+
log(
|
|
12907
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
12908
|
+
);
|
|
12833
12909
|
}
|
|
12834
12910
|
}
|
|
12835
12911
|
buildPrice() {
|
|
@@ -12964,7 +13040,7 @@ class SelectableBoxCheckbox extends WithExtraAttributes {
|
|
|
12964
13040
|
<px-selectable-box>
|
|
12965
13041
|
<slot name="media" slot="media"></slot>
|
|
12966
13042
|
<px-checkbox
|
|
12967
|
-
slot="action"
|
|
13043
|
+
slot="action" inert
|
|
12968
13044
|
name="${this.name}"
|
|
12969
13045
|
value="${this.value}"
|
|
12970
13046
|
></px-checkbox>
|
|
@@ -13237,7 +13313,7 @@ class SelectableBoxRadio extends WithExtraAttributes {
|
|
|
13237
13313
|
<px-selectable-box>
|
|
13238
13314
|
<slot name="media" slot="media"></slot>
|
|
13239
13315
|
<px-radio
|
|
13240
|
-
slot="action"
|
|
13316
|
+
slot="action" inert
|
|
13241
13317
|
name="${this.name}"
|
|
13242
13318
|
value="${this.value}"
|
|
13243
13319
|
></px-radio>
|
|
@@ -13536,14 +13612,6 @@ const _Skeleton = class _Skeleton extends PxElement {
|
|
|
13536
13612
|
if (!this.hasAttribute("variant")) {
|
|
13537
13613
|
this.setAttribute("variant", "body");
|
|
13538
13614
|
}
|
|
13539
|
-
const slot = this.shadowRoot.querySelector(
|
|
13540
|
-
'slot[name="skeleton-text"]'
|
|
13541
|
-
);
|
|
13542
|
-
if (slot && slot.assignedNodes().length === 0) {
|
|
13543
|
-
console.error(
|
|
13544
|
-
'The "skeleton-text" slot cannot be empty for accessibility. This text will only be visible to screen readers by adding `shown--sr` property to the slot.'
|
|
13545
|
-
);
|
|
13546
|
-
}
|
|
13547
13615
|
}
|
|
13548
13616
|
attributeChangedCallback(attrName, oldValue, newValue) {
|
|
13549
13617
|
if (oldValue !== newValue) {
|
|
@@ -13573,7 +13641,9 @@ const _Skeleton = class _Skeleton extends PxElement {
|
|
|
13573
13641
|
}
|
|
13574
13642
|
updateVariant(variant) {
|
|
13575
13643
|
if (!this.checkName(skeletonsVariantValues, variant)) {
|
|
13576
|
-
|
|
13644
|
+
log(
|
|
13645
|
+
`${variant} is not an allowed variant value for ${this.tagName.toLowerCase()}`
|
|
13646
|
+
);
|
|
13577
13647
|
return;
|
|
13578
13648
|
}
|
|
13579
13649
|
}
|
|
@@ -13661,7 +13731,9 @@ class Spinner extends HTMLElement {
|
|
|
13661
13731
|
this.$el.classList.toggle(`${attrName}-${newValue}`);
|
|
13662
13732
|
}
|
|
13663
13733
|
if (!this.checkName(attrValues, newValue)) {
|
|
13664
|
-
|
|
13734
|
+
log(
|
|
13735
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
13736
|
+
);
|
|
13665
13737
|
}
|
|
13666
13738
|
}
|
|
13667
13739
|
checkName(values, value) {
|
|
@@ -13692,7 +13764,7 @@ class Spinner extends HTMLElement {
|
|
|
13692
13764
|
if (!customElements.get("px-spinner")) {
|
|
13693
13765
|
customElements.define("px-spinner", Spinner);
|
|
13694
13766
|
}
|
|
13695
|
-
const statusCss =
|
|
13767
|
+
const statusCss = ':host,:host>*{display:block;box-sizing:border-box}.status{color:var(--px-color-text-brand-default)}.status ::slotted([slot="label"]){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)}.status.success{color:var(--px-color-text-purpose-success-default)}.status.warning,.status.ongoing{color:var(--px-color-text-purpose-warning-default)}.status.error{color:var(--px-color-text-purpose-error-default)}.status.unlimited{color:var(--px-color-text-purpose-unlimited-default)}.status[disabled]{color:var(--px-color-text-state-disabled-default)}:host([inverted]) .status{color:var(--px-color-text-brand-inverted)}:host([inverted]) .status.success{color:var(--px-color-text-purpose-success-inverted)}:host([inverted]) .status.warning,:host([inverted]) .status.ongoing{color:var(--px-color-text-purpose-warning-inverted)}:host([inverted]) .status.error{color:var(--px-color-text-purpose-error-inverted)}:host([inverted]) .status.unlimited{color:var(--px-color-text-purpose-unlimited-inverted)}:host([inverted]) .status[disabled]{color:var(--px-color-text-state-disabled-inverted)}@media only screen and (min-width: 768px){.status ::slotted([slot="label"]){font-size:var(--px-text-size-label-m-desktop)}}@media only screen and (min-width: 1025px){.status ::slotted([slot="label"]){font-size:var(--px-text-size-label-m-desktop)}}';
|
|
13696
13768
|
const statusStyles = new CSSStyleSheet();
|
|
13697
13769
|
statusStyles.replaceSync(statusCss);
|
|
13698
13770
|
const statusStateValues = [
|
|
@@ -13710,16 +13782,11 @@ const _Status = class _Status extends PxElement {
|
|
|
13710
13782
|
this.template = () => `
|
|
13711
13783
|
<div class="status">
|
|
13712
13784
|
<px-hstack gap="2xs" align-items="flex-start">
|
|
13713
|
-
<px-icon name="information_fill" from="lavender" size="
|
|
13785
|
+
<px-icon name="information_fill" from="lavender" size="s" color="brand"></px-icon>
|
|
13714
13786
|
<slot name="label"></slot>
|
|
13715
13787
|
</px-hstack>
|
|
13716
13788
|
</div>`;
|
|
13717
13789
|
this.shadowRoot.innerHTML = this.template();
|
|
13718
|
-
if (!this.$label || !this.iconAriaLabel) {
|
|
13719
|
-
console.warn(
|
|
13720
|
-
'Label slot and icon aria-label slot are mandatory even with icon-only case. For accessibility the label slot will only be red by screen readers if the component is set to "icon-only".'
|
|
13721
|
-
);
|
|
13722
|
-
}
|
|
13723
13790
|
}
|
|
13724
13791
|
static get observedAttributes() {
|
|
13725
13792
|
return [
|
|
@@ -13776,7 +13843,9 @@ const _Status = class _Status extends PxElement {
|
|
|
13776
13843
|
}
|
|
13777
13844
|
updateState(state) {
|
|
13778
13845
|
if (!this.checkName(statusStateValues, state)) {
|
|
13779
|
-
|
|
13846
|
+
log(
|
|
13847
|
+
`${state} is not an allowed state value for ${this.tagName.toLowerCase()}`
|
|
13848
|
+
);
|
|
13780
13849
|
return;
|
|
13781
13850
|
}
|
|
13782
13851
|
const iconMap = {
|
|
@@ -13964,7 +14033,9 @@ const _StatusCard = class _StatusCard extends PxElement {
|
|
|
13964
14033
|
}
|
|
13965
14034
|
updateState(state) {
|
|
13966
14035
|
if (!this.checkName(statusCardStateValues, state)) {
|
|
13967
|
-
|
|
14036
|
+
log(
|
|
14037
|
+
`${state} is not an allowed state value for ${this.tagName.toLowerCase()}`
|
|
14038
|
+
);
|
|
13968
14039
|
return;
|
|
13969
14040
|
}
|
|
13970
14041
|
const iconMap = {
|
|
@@ -14509,8 +14580,6 @@ class Tabs extends HTMLElement {
|
|
|
14509
14580
|
}
|
|
14510
14581
|
if (this.$activePanel) {
|
|
14511
14582
|
this.$activePanel.selected = true;
|
|
14512
|
-
} else {
|
|
14513
|
-
console.error("No panel found for this tab");
|
|
14514
14583
|
}
|
|
14515
14584
|
}
|
|
14516
14585
|
});
|
|
@@ -14657,12 +14726,6 @@ class Tab extends HTMLElement {
|
|
|
14657
14726
|
return ["selected", "for", "name"];
|
|
14658
14727
|
}
|
|
14659
14728
|
connectedCallback() {
|
|
14660
|
-
if (!this.name) {
|
|
14661
|
-
console.error("Tab needs a name attribute");
|
|
14662
|
-
}
|
|
14663
|
-
if (!this.for) {
|
|
14664
|
-
console.error("Tab needs a for attribute");
|
|
14665
|
-
}
|
|
14666
14729
|
this.slot = "tabs";
|
|
14667
14730
|
if (this.parentElement.inverted) {
|
|
14668
14731
|
this.setAttribute("inverted", "");
|
|
@@ -14747,9 +14810,6 @@ class TabPanel extends HTMLElement {
|
|
|
14747
14810
|
}
|
|
14748
14811
|
}
|
|
14749
14812
|
connectedCallback() {
|
|
14750
|
-
if (!this.name) {
|
|
14751
|
-
console.error("TabPanel needs a name attribute");
|
|
14752
|
-
}
|
|
14753
14813
|
this.slot = "tabpanels";
|
|
14754
14814
|
const labelledBy = this.parentElement.querySelector(
|
|
14755
14815
|
`[for="${this.getAttribute("name")}"]`
|
|
@@ -14759,8 +14819,6 @@ class TabPanel extends HTMLElement {
|
|
|
14759
14819
|
"aria-labelledby",
|
|
14760
14820
|
labelledBy.getAttribute("name")
|
|
14761
14821
|
);
|
|
14762
|
-
} else {
|
|
14763
|
-
console.error("No tab found for this panel");
|
|
14764
14822
|
}
|
|
14765
14823
|
const selectedTab = this.parentElement.querySelector(
|
|
14766
14824
|
`[for="${this.name}"]`
|
|
@@ -15033,7 +15091,9 @@ const _Tile = class _Tile extends VerticallyExtendedElement {
|
|
|
15033
15091
|
}
|
|
15034
15092
|
updateBackgroundColor(oldValue, newValue, attrValue) {
|
|
15035
15093
|
if (!checkName(attrValue, newValue)) {
|
|
15036
|
-
|
|
15094
|
+
log(
|
|
15095
|
+
`${newValue} is not an allowed background-color value for ${this.tagName.toLowerCase()}`
|
|
15096
|
+
);
|
|
15037
15097
|
return;
|
|
15038
15098
|
}
|
|
15039
15099
|
const updateBackgroundColorStyle = (value) => {
|
|
@@ -15262,7 +15322,7 @@ class TileCheckbox extends WithExtraAttributes {
|
|
|
15262
15322
|
<div class="tile-checkbox">
|
|
15263
15323
|
<px-tile hoverable>
|
|
15264
15324
|
<slot name="prefix" slot="prefix"></slot>
|
|
15265
|
-
<px-checkbox slot="suffix"
|
|
15325
|
+
<px-checkbox slot="suffix" inert></px-checkbox>
|
|
15266
15326
|
<slot name="label" slot="label"></slot>
|
|
15267
15327
|
<slot name="description" slot="description"></slot>
|
|
15268
15328
|
</px-tile>
|
|
@@ -15347,7 +15407,9 @@ class TileCheckbox extends WithExtraAttributes {
|
|
|
15347
15407
|
case "state":
|
|
15348
15408
|
if (this.$checkbox) {
|
|
15349
15409
|
if (!this.checkName(checkboxStateValues, newValue)) {
|
|
15350
|
-
|
|
15410
|
+
log(
|
|
15411
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
15412
|
+
);
|
|
15351
15413
|
return;
|
|
15352
15414
|
} else {
|
|
15353
15415
|
this.$checkbox.setAttribute("state", newValue);
|
|
@@ -15540,7 +15602,7 @@ class TileRadio extends WithExtraAttributes {
|
|
|
15540
15602
|
<div class="tile-radio">
|
|
15541
15603
|
<px-tile hoverable>
|
|
15542
15604
|
<slot name="prefix" slot="prefix"></slot>
|
|
15543
|
-
<px-radio slot="suffix"
|
|
15605
|
+
<px-radio slot="suffix" inert></px-radio>
|
|
15544
15606
|
<slot name="label" slot="label"></slot>
|
|
15545
15607
|
<slot name="description" slot="description"></slot>
|
|
15546
15608
|
</px-tile>
|
|
@@ -15628,7 +15690,9 @@ class TileRadio extends WithExtraAttributes {
|
|
|
15628
15690
|
case "state":
|
|
15629
15691
|
if (this.$radio) {
|
|
15630
15692
|
if (!this.checkName(stateValues, newValue)) {
|
|
15631
|
-
|
|
15693
|
+
log(
|
|
15694
|
+
`${newValue} is not an allowed ${attrName} value for ${this.tagName.toLowerCase()}`
|
|
15695
|
+
);
|
|
15632
15696
|
return;
|
|
15633
15697
|
} else {
|
|
15634
15698
|
this.$radio.setAttribute("state", newValue);
|
|
@@ -15980,7 +16044,7 @@ class TileSwitch extends WithExtraAttributes {
|
|
|
15980
16044
|
<div class="tile-switch">
|
|
15981
16045
|
<px-tile hoverable>
|
|
15982
16046
|
<slot name="prefix" slot="prefix"></slot>
|
|
15983
|
-
<px-switch slot="suffix"
|
|
16047
|
+
<px-switch slot="suffix" inert></px-switch>
|
|
15984
16048
|
<slot name="label" slot="label"></slot>
|
|
15985
16049
|
<slot name="description" slot="description"></slot>
|
|
15986
16050
|
</px-tile>
|
|
@@ -16564,12 +16628,14 @@ export {
|
|
|
16564
16628
|
iconColorValuesKC,
|
|
16565
16629
|
iconSizeValues,
|
|
16566
16630
|
iconSizeValuesKC,
|
|
16631
|
+
isComponentDebug,
|
|
16567
16632
|
isFalsy,
|
|
16568
16633
|
itemsAlignmentValues,
|
|
16569
16634
|
justifyContentValues,
|
|
16570
16635
|
linkShapeValues,
|
|
16571
16636
|
linkVariantValues,
|
|
16572
16637
|
linktextsizesValues,
|
|
16638
|
+
log,
|
|
16573
16639
|
noBorderRadiusValues,
|
|
16574
16640
|
observedAttributes,
|
|
16575
16641
|
overflowValues,
|