@proximus/lavender 1.4.13-beta.1 → 1.4.14-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 +15 -16
- package/dist/lavender.umd.js +1 -1
- package/package.json +1 -1
package/dist/lavender.es.js
CHANGED
|
@@ -3982,7 +3982,6 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
3982
3982
|
<slot name="title"></slot>
|
|
3983
3983
|
<slot name="description"></slot>
|
|
3984
3984
|
<slot name="content"></slot>
|
|
3985
|
-
|
|
3986
3985
|
</div>
|
|
3987
3986
|
</px-container>
|
|
3988
3987
|
</px-grid>
|
|
@@ -4118,20 +4117,20 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
4118
4117
|
}
|
|
4119
4118
|
createGridding(value) {
|
|
4120
4119
|
const breakpoints = [
|
|
4121
|
-
{ prop: "hasGridding",
|
|
4120
|
+
{ prop: "hasGridding", gridAttr: "grid-cols", attr: "col-span" },
|
|
4122
4121
|
{
|
|
4123
4122
|
prop: "hasGriddingMobile",
|
|
4124
|
-
|
|
4123
|
+
gridAttr: "grid-cols--mobile",
|
|
4125
4124
|
attr: "col-span--mobile"
|
|
4126
4125
|
},
|
|
4127
4126
|
{
|
|
4128
4127
|
prop: "hasGriddingTablet",
|
|
4129
|
-
|
|
4128
|
+
gridAttr: "grid-cols--tablet",
|
|
4130
4129
|
attr: "col-span--tablet"
|
|
4131
4130
|
},
|
|
4132
4131
|
{
|
|
4133
4132
|
prop: "hasGriddingLaptop",
|
|
4134
|
-
|
|
4133
|
+
gridAttr: "grid-cols--laptop",
|
|
4135
4134
|
attr: "col-span--laptop"
|
|
4136
4135
|
}
|
|
4137
4136
|
];
|
|
@@ -4139,16 +4138,16 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
4139
4138
|
"px-grid > px-container"
|
|
4140
4139
|
);
|
|
4141
4140
|
if (value !== null) {
|
|
4142
|
-
breakpoints.forEach(({ prop,
|
|
4141
|
+
breakpoints.forEach(({ prop, gridAttr, attr }) => {
|
|
4143
4142
|
if (this[prop]) {
|
|
4144
|
-
this.$grid
|
|
4145
|
-
spanElement.setAttribute(attr, "2");
|
|
4143
|
+
this.$grid.setAttribute(gridAttr, "3");
|
|
4144
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "2");
|
|
4146
4145
|
}
|
|
4147
4146
|
});
|
|
4148
4147
|
} else {
|
|
4149
|
-
breakpoints.forEach(({
|
|
4150
|
-
this.$grid
|
|
4151
|
-
spanElement.
|
|
4148
|
+
breakpoints.forEach(({ gridAttr, attr }) => {
|
|
4149
|
+
this.$grid.setAttribute(gridAttr, "1");
|
|
4150
|
+
spanElement == null ? void 0 : spanElement.setAttribute(attr, "1");
|
|
4152
4151
|
});
|
|
4153
4152
|
}
|
|
4154
4153
|
}
|
|
@@ -7243,7 +7242,7 @@ class CellSwitch extends WithExtraAttributes {
|
|
|
7243
7242
|
return `
|
|
7244
7243
|
<div class="cell-switch">
|
|
7245
7244
|
<px-cell hoverable>
|
|
7246
|
-
<px-switch slot="action-indicator"
|
|
7245
|
+
<px-switch slot="action-indicator" inert></px-switch>
|
|
7247
7246
|
<slot name="visual" slot="visual"></slot>
|
|
7248
7247
|
<slot name="label" slot="label"></slot>
|
|
7249
7248
|
<slot name="description" slot="description"></slot>
|
|
@@ -8842,7 +8841,7 @@ class CellRadio extends WithExtraAttributes {
|
|
|
8842
8841
|
return `
|
|
8843
8842
|
<div class="cell-radio">
|
|
8844
8843
|
<px-cell hoverable>
|
|
8845
|
-
<px-radio slot="prefix"
|
|
8844
|
+
<px-radio slot="prefix" inert></px-radio>
|
|
8846
8845
|
<slot name="visual" slot="visual"></slot>
|
|
8847
8846
|
<slot name="label" slot="label"></slot>
|
|
8848
8847
|
<slot name="description" slot="description"></slot>
|
|
@@ -17056,7 +17055,7 @@ class TileCheckbox extends WithExtraAttributes {
|
|
|
17056
17055
|
<div class="tile-checkbox">
|
|
17057
17056
|
<px-tile hoverable>
|
|
17058
17057
|
<slot name="prefix" slot="prefix"></slot>
|
|
17059
|
-
<px-checkbox slot="suffix"
|
|
17058
|
+
<px-checkbox slot="suffix" inert></px-checkbox>
|
|
17060
17059
|
<slot name="label" slot="label"></slot>
|
|
17061
17060
|
<slot name="description" slot="description"></slot>
|
|
17062
17061
|
</px-tile>
|
|
@@ -17336,7 +17335,7 @@ class TileRadio extends WithExtraAttributes {
|
|
|
17336
17335
|
<div class="tile-radio">
|
|
17337
17336
|
<px-tile hoverable>
|
|
17338
17337
|
<slot name="prefix" slot="prefix"></slot>
|
|
17339
|
-
<px-radio slot="suffix"
|
|
17338
|
+
<px-radio slot="suffix" inert></px-radio>
|
|
17340
17339
|
<slot name="label" slot="label"></slot>
|
|
17341
17340
|
<slot name="description" slot="description"></slot>
|
|
17342
17341
|
</px-tile>
|
|
@@ -17778,7 +17777,7 @@ class TileSwitch extends WithExtraAttributes {
|
|
|
17778
17777
|
<div class="tile-switch">
|
|
17779
17778
|
<px-tile hoverable>
|
|
17780
17779
|
<slot name="prefix" slot="prefix"></slot>
|
|
17781
|
-
<px-switch slot="suffix"
|
|
17780
|
+
<px-switch slot="suffix" inert></px-switch>
|
|
17782
17781
|
<slot name="label" slot="label"></slot>
|
|
17783
17782
|
<slot name="description" slot="description"></slot>
|
|
17784
17783
|
</px-tile>
|