@proximus/lavender 1.4.7-beta.1 → 1.4.8-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 +25 -26
- package/dist/lavender.umd.js +1 -1
- package/package.json +1 -1
package/dist/lavender.es.js
CHANGED
|
@@ -3774,7 +3774,6 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
3774
3774
|
<slot name="title"></slot>
|
|
3775
3775
|
<slot name="description"></slot>
|
|
3776
3776
|
<slot name="content"></slot>
|
|
3777
|
-
|
|
3778
3777
|
</div>
|
|
3779
3778
|
</px-container>
|
|
3780
3779
|
</px-grid>
|
|
@@ -3910,20 +3909,20 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
3910
3909
|
}
|
|
3911
3910
|
createGridding(value) {
|
|
3912
3911
|
const breakpoints = [
|
|
3913
|
-
{ prop: "hasGridding",
|
|
3912
|
+
{ prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
|
|
3914
3913
|
{
|
|
3915
3914
|
prop: "hasGriddingMobile",
|
|
3916
|
-
|
|
3915
|
+
gridAttr: "grid-cols--mobile",
|
|
3917
3916
|
attr: "col-span--mobile"
|
|
3918
3917
|
},
|
|
3919
3918
|
{
|
|
3920
3919
|
prop: "hasGriddingTablet",
|
|
3921
|
-
|
|
3920
|
+
gridAttr: "grid-cols--tablet",
|
|
3922
3921
|
attr: "col-span--tablet"
|
|
3923
3922
|
},
|
|
3924
3923
|
{
|
|
3925
3924
|
prop: "hasGriddingLaptop",
|
|
3926
|
-
|
|
3925
|
+
gridAttr: "grid-cols--laptop",
|
|
3927
3926
|
attr: "col-span--laptop"
|
|
3928
3927
|
}
|
|
3929
3928
|
];
|
|
@@ -3931,16 +3930,16 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
3931
3930
|
"px-grid > px-container"
|
|
3932
3931
|
);
|
|
3933
3932
|
if (value !== null) {
|
|
3934
|
-
breakpoints.forEach(({ prop,
|
|
3933
|
+
breakpoints.forEach(({ prop, gridAttr, attr }) => {
|
|
3935
3934
|
if (this[prop]) {
|
|
3936
|
-
this.$grid
|
|
3937
|
-
spanElement.setAttribute(attr, "2");
|
|
3935
|
+
this.$grid.setAttribute(gridAttr, "3");
|
|
3936
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
|
|
3938
3937
|
}
|
|
3939
3938
|
});
|
|
3940
3939
|
} else {
|
|
3941
|
-
breakpoints.forEach(({
|
|
3942
|
-
this.$grid
|
|
3943
|
-
spanElement.
|
|
3940
|
+
breakpoints.forEach(({ gridAttr, attr }) => {
|
|
3941
|
+
this.$grid.setAttribute(gridAttr, "1");
|
|
3942
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
|
|
3944
3943
|
});
|
|
3945
3944
|
}
|
|
3946
3945
|
}
|
|
@@ -7002,7 +7001,7 @@ class CellSwitch extends WithExtraAttributes {
|
|
|
7002
7001
|
return `
|
|
7003
7002
|
<div class="cell-switch">
|
|
7004
7003
|
<px-cell hoverable>
|
|
7005
|
-
<px-switch slot="action-indicator"
|
|
7004
|
+
<px-switch slot="action-indicator" inert></px-switch>
|
|
7006
7005
|
<slot name="visual" slot="visual"></slot>
|
|
7007
7006
|
<slot name="label" slot="label"></slot>
|
|
7008
7007
|
<slot name="description" slot="description"></slot>
|
|
@@ -7896,7 +7895,7 @@ class CellRadio extends WithExtraAttributes {
|
|
|
7896
7895
|
return `
|
|
7897
7896
|
<div class="cell-radio">
|
|
7898
7897
|
<px-cell hoverable>
|
|
7899
|
-
<px-radio slot="prefix"
|
|
7898
|
+
<px-radio slot="prefix" inert></px-radio>
|
|
7900
7899
|
<slot name="visual" slot="visual"></slot>
|
|
7901
7900
|
<slot name="label" slot="label"></slot>
|
|
7902
7901
|
<slot name="description" slot="description"></slot>
|
|
@@ -9171,20 +9170,20 @@ const _ContentHeader = class _ContentHeader extends PxElement {
|
|
|
9171
9170
|
}
|
|
9172
9171
|
createGridding(value) {
|
|
9173
9172
|
const breakpoints = [
|
|
9174
|
-
{ prop: "hasGridding",
|
|
9173
|
+
{ prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
|
|
9175
9174
|
{
|
|
9176
9175
|
prop: "hasGriddingMobile",
|
|
9177
|
-
|
|
9176
|
+
gridAttr: "grid-cols--mobile",
|
|
9178
9177
|
attr: "col-span--mobile"
|
|
9179
9178
|
},
|
|
9180
9179
|
{
|
|
9181
9180
|
prop: "hasGriddingTablet",
|
|
9182
|
-
|
|
9181
|
+
gridAttr: "grid-cols--tablet",
|
|
9183
9182
|
attr: "col-span--tablet"
|
|
9184
9183
|
},
|
|
9185
9184
|
{
|
|
9186
9185
|
prop: "hasGriddingLaptop",
|
|
9187
|
-
|
|
9186
|
+
gridAttr: "grid-cols--laptop",
|
|
9188
9187
|
attr: "col-span--laptop"
|
|
9189
9188
|
}
|
|
9190
9189
|
];
|
|
@@ -9192,16 +9191,16 @@ const _ContentHeader = class _ContentHeader extends PxElement {
|
|
|
9192
9191
|
"px-grid > px-container"
|
|
9193
9192
|
);
|
|
9194
9193
|
if (value !== null) {
|
|
9195
|
-
breakpoints.forEach(({ prop,
|
|
9194
|
+
breakpoints.forEach(({ prop, gridAttr, attr }) => {
|
|
9196
9195
|
if (this[prop]) {
|
|
9197
|
-
this.$grid
|
|
9198
|
-
spanElement.setAttribute(attr, "2");
|
|
9196
|
+
this.$grid.setAttribute(gridAttr, "3");
|
|
9197
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
|
|
9199
9198
|
}
|
|
9200
9199
|
});
|
|
9201
9200
|
} else {
|
|
9202
|
-
breakpoints.forEach(({
|
|
9203
|
-
this.$grid
|
|
9204
|
-
spanElement.
|
|
9201
|
+
breakpoints.forEach(({ gridAttr, attr }) => {
|
|
9202
|
+
this.$grid.setAttribute(gridAttr, "1");
|
|
9203
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
|
|
9205
9204
|
});
|
|
9206
9205
|
}
|
|
9207
9206
|
}
|
|
@@ -15976,7 +15975,7 @@ class TileCheckbox extends WithExtraAttributes {
|
|
|
15976
15975
|
<div class="tile-checkbox">
|
|
15977
15976
|
<px-tile hoverable>
|
|
15978
15977
|
<slot name="prefix" slot="prefix"></slot>
|
|
15979
|
-
<px-checkbox slot="suffix"
|
|
15978
|
+
<px-checkbox slot="suffix" inert></px-checkbox>
|
|
15980
15979
|
<slot name="label" slot="label"></slot>
|
|
15981
15980
|
<slot name="description" slot="description"></slot>
|
|
15982
15981
|
</px-tile>
|
|
@@ -16256,7 +16255,7 @@ class TileRadio extends WithExtraAttributes {
|
|
|
16256
16255
|
<div class="tile-radio">
|
|
16257
16256
|
<px-tile hoverable>
|
|
16258
16257
|
<slot name="prefix" slot="prefix"></slot>
|
|
16259
|
-
<px-radio slot="suffix"
|
|
16258
|
+
<px-radio slot="suffix" inert></px-radio>
|
|
16260
16259
|
<slot name="label" slot="label"></slot>
|
|
16261
16260
|
<slot name="description" slot="description"></slot>
|
|
16262
16261
|
</px-tile>
|
|
@@ -16698,7 +16697,7 @@ class TileSwitch extends WithExtraAttributes {
|
|
|
16698
16697
|
<div class="tile-switch">
|
|
16699
16698
|
<px-tile hoverable>
|
|
16700
16699
|
<slot name="prefix" slot="prefix"></slot>
|
|
16701
|
-
<px-switch slot="suffix"
|
|
16700
|
+
<px-switch slot="suffix" inert></px-switch>
|
|
16702
16701
|
<slot name="label" slot="label"></slot>
|
|
16703
16702
|
<slot name="description" slot="description"></slot>
|
|
16704
16703
|
</px-tile>
|