@proximus/lavender 1.4.8-beta.1 → 1.4.9-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 +30 -30
- package/dist/lavender.umd.js +1 -1
- package/package.json +1 -1
package/dist/lavender.es.js
CHANGED
|
@@ -2375,10 +2375,11 @@ const containerCss = ':host{display:block}.container{font-family:var(--px-font-f
|
|
|
2375
2375
|
const containerStyles = new CSSStyleSheet();
|
|
2376
2376
|
containerStyles.replaceSync(containerCss);
|
|
2377
2377
|
const anchorSpacingValues = [
|
|
2378
|
-
"
|
|
2379
|
-
"neighbor-
|
|
2380
|
-
"
|
|
2381
|
-
"neighbor-
|
|
2378
|
+
"top-patch",
|
|
2379
|
+
"top-neighbor-patch",
|
|
2380
|
+
"top-ribbon",
|
|
2381
|
+
"top-neighbor-ribbon",
|
|
2382
|
+
"top-patch-and-neighbor-ribbon"
|
|
2382
2383
|
];
|
|
2383
2384
|
const subgridRowsValues = [
|
|
2384
2385
|
"1",
|
|
@@ -3875,7 +3876,6 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
3875
3876
|
<slot name="title"></slot>
|
|
3876
3877
|
<slot name="description"></slot>
|
|
3877
3878
|
<slot name="content"></slot>
|
|
3878
|
-
|
|
3879
3879
|
</div>
|
|
3880
3880
|
</px-container>
|
|
3881
3881
|
</px-grid>
|
|
@@ -4011,20 +4011,20 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
4011
4011
|
}
|
|
4012
4012
|
createGridding(value) {
|
|
4013
4013
|
const breakpoints = [
|
|
4014
|
-
{ prop: "hasGridding",
|
|
4014
|
+
{ prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
|
|
4015
4015
|
{
|
|
4016
4016
|
prop: "hasGriddingMobile",
|
|
4017
|
-
|
|
4017
|
+
gridAttr: "grid-cols--mobile",
|
|
4018
4018
|
attr: "col-span--mobile"
|
|
4019
4019
|
},
|
|
4020
4020
|
{
|
|
4021
4021
|
prop: "hasGriddingTablet",
|
|
4022
|
-
|
|
4022
|
+
gridAttr: "grid-cols--tablet",
|
|
4023
4023
|
attr: "col-span--tablet"
|
|
4024
4024
|
},
|
|
4025
4025
|
{
|
|
4026
4026
|
prop: "hasGriddingLaptop",
|
|
4027
|
-
|
|
4027
|
+
gridAttr: "grid-cols--laptop",
|
|
4028
4028
|
attr: "col-span--laptop"
|
|
4029
4029
|
}
|
|
4030
4030
|
];
|
|
@@ -4032,16 +4032,16 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
4032
4032
|
"px-grid > px-container"
|
|
4033
4033
|
);
|
|
4034
4034
|
if (value !== null) {
|
|
4035
|
-
breakpoints.forEach(({ prop,
|
|
4035
|
+
breakpoints.forEach(({ prop, gridAttr, attr }) => {
|
|
4036
4036
|
if (this[prop]) {
|
|
4037
|
-
this.$grid
|
|
4038
|
-
spanElement.setAttribute(attr, "2");
|
|
4037
|
+
this.$grid.setAttribute(gridAttr, "3");
|
|
4038
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
|
|
4039
4039
|
}
|
|
4040
4040
|
});
|
|
4041
4041
|
} else {
|
|
4042
|
-
breakpoints.forEach(({
|
|
4043
|
-
this.$grid
|
|
4044
|
-
spanElement.
|
|
4042
|
+
breakpoints.forEach(({ gridAttr, attr }) => {
|
|
4043
|
+
this.$grid.setAttribute(gridAttr, "1");
|
|
4044
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
|
|
4045
4045
|
});
|
|
4046
4046
|
}
|
|
4047
4047
|
}
|
|
@@ -7159,7 +7159,7 @@ class CellSwitch extends WithExtraAttributes {
|
|
|
7159
7159
|
return `
|
|
7160
7160
|
<div class="cell-switch">
|
|
7161
7161
|
<px-cell hoverable>
|
|
7162
|
-
<px-switch slot="action-indicator"
|
|
7162
|
+
<px-switch slot="action-indicator" inert></px-switch>
|
|
7163
7163
|
<slot name="visual" slot="visual"></slot>
|
|
7164
7164
|
<slot name="label" slot="label"></slot>
|
|
7165
7165
|
<slot name="description" slot="description"></slot>
|
|
@@ -8053,7 +8053,7 @@ class CellRadio extends WithExtraAttributes {
|
|
|
8053
8053
|
return `
|
|
8054
8054
|
<div class="cell-radio">
|
|
8055
8055
|
<px-cell hoverable>
|
|
8056
|
-
<px-radio slot="prefix"
|
|
8056
|
+
<px-radio slot="prefix" inert></px-radio>
|
|
8057
8057
|
<slot name="visual" slot="visual"></slot>
|
|
8058
8058
|
<slot name="label" slot="label"></slot>
|
|
8059
8059
|
<slot name="description" slot="description"></slot>
|
|
@@ -9328,20 +9328,20 @@ const _ContentHeader = class _ContentHeader extends PxElement {
|
|
|
9328
9328
|
}
|
|
9329
9329
|
createGridding(value) {
|
|
9330
9330
|
const breakpoints = [
|
|
9331
|
-
{ prop: "hasGridding",
|
|
9331
|
+
{ prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
|
|
9332
9332
|
{
|
|
9333
9333
|
prop: "hasGriddingMobile",
|
|
9334
|
-
|
|
9334
|
+
gridAttr: "grid-cols--mobile",
|
|
9335
9335
|
attr: "col-span--mobile"
|
|
9336
9336
|
},
|
|
9337
9337
|
{
|
|
9338
9338
|
prop: "hasGriddingTablet",
|
|
9339
|
-
|
|
9339
|
+
gridAttr: "grid-cols--tablet",
|
|
9340
9340
|
attr: "col-span--tablet"
|
|
9341
9341
|
},
|
|
9342
9342
|
{
|
|
9343
9343
|
prop: "hasGriddingLaptop",
|
|
9344
|
-
|
|
9344
|
+
gridAttr: "grid-cols--laptop",
|
|
9345
9345
|
attr: "col-span--laptop"
|
|
9346
9346
|
}
|
|
9347
9347
|
];
|
|
@@ -9349,16 +9349,16 @@ const _ContentHeader = class _ContentHeader extends PxElement {
|
|
|
9349
9349
|
"px-grid > px-container"
|
|
9350
9350
|
);
|
|
9351
9351
|
if (value !== null) {
|
|
9352
|
-
breakpoints.forEach(({ prop,
|
|
9352
|
+
breakpoints.forEach(({ prop, gridAttr, attr }) => {
|
|
9353
9353
|
if (this[prop]) {
|
|
9354
|
-
this.$grid
|
|
9355
|
-
spanElement.setAttribute(attr, "2");
|
|
9354
|
+
this.$grid.setAttribute(gridAttr, "3");
|
|
9355
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
|
|
9356
9356
|
}
|
|
9357
9357
|
});
|
|
9358
9358
|
} else {
|
|
9359
|
-
breakpoints.forEach(({
|
|
9360
|
-
this.$grid
|
|
9361
|
-
spanElement.
|
|
9359
|
+
breakpoints.forEach(({ gridAttr, attr }) => {
|
|
9360
|
+
this.$grid.setAttribute(gridAttr, "1");
|
|
9361
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
|
|
9362
9362
|
});
|
|
9363
9363
|
}
|
|
9364
9364
|
}
|
|
@@ -16523,7 +16523,7 @@ class TileCheckbox extends WithExtraAttributes {
|
|
|
16523
16523
|
<div class="tile-checkbox">
|
|
16524
16524
|
<px-tile hoverable>
|
|
16525
16525
|
<slot name="prefix" slot="prefix"></slot>
|
|
16526
|
-
<px-checkbox slot="suffix"
|
|
16526
|
+
<px-checkbox slot="suffix" inert></px-checkbox>
|
|
16527
16527
|
<slot name="label" slot="label"></slot>
|
|
16528
16528
|
<slot name="description" slot="description"></slot>
|
|
16529
16529
|
</px-tile>
|
|
@@ -16803,7 +16803,7 @@ class TileRadio extends WithExtraAttributes {
|
|
|
16803
16803
|
<div class="tile-radio">
|
|
16804
16804
|
<px-tile hoverable>
|
|
16805
16805
|
<slot name="prefix" slot="prefix"></slot>
|
|
16806
|
-
<px-radio slot="suffix"
|
|
16806
|
+
<px-radio slot="suffix" inert></px-radio>
|
|
16807
16807
|
<slot name="label" slot="label"></slot>
|
|
16808
16808
|
<slot name="description" slot="description"></slot>
|
|
16809
16809
|
</px-tile>
|
|
@@ -17245,7 +17245,7 @@ class TileSwitch extends WithExtraAttributes {
|
|
|
17245
17245
|
<div class="tile-switch">
|
|
17246
17246
|
<px-tile hoverable>
|
|
17247
17247
|
<slot name="prefix" slot="prefix"></slot>
|
|
17248
|
-
<px-switch slot="suffix"
|
|
17248
|
+
<px-switch slot="suffix" inert></px-switch>
|
|
17249
17249
|
<slot name="label" slot="label"></slot>
|
|
17250
17250
|
<slot name="description" slot="description"></slot>
|
|
17251
17251
|
</px-tile>
|