@proximus/lavender 1.4.14-alpha.9 → 1.4.14-beta.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 +12 -11
- package/dist/lavender.umd.js +1 -1
- package/package.json +1 -1
package/dist/lavender.es.js
CHANGED
|
@@ -3982,6 +3982,7 @@ 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
|
+
|
|
3985
3986
|
</div>
|
|
3986
3987
|
</px-container>
|
|
3987
3988
|
</px-grid>
|
|
@@ -4117,20 +4118,20 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
4117
4118
|
}
|
|
4118
4119
|
createGridding(value) {
|
|
4119
4120
|
const breakpoints = [
|
|
4120
|
-
{ prop: "hasGridding",
|
|
4121
|
+
{ prop: "hasGridding", gridProp: "gridCols", attr: "col-span" },
|
|
4121
4122
|
{
|
|
4122
4123
|
prop: "hasGriddingMobile",
|
|
4123
|
-
|
|
4124
|
+
gridProp: "gridColsMobile",
|
|
4124
4125
|
attr: "col-span--mobile"
|
|
4125
4126
|
},
|
|
4126
4127
|
{
|
|
4127
4128
|
prop: "hasGriddingTablet",
|
|
4128
|
-
|
|
4129
|
+
gridProp: "gridColsTablet",
|
|
4129
4130
|
attr: "col-span--tablet"
|
|
4130
4131
|
},
|
|
4131
4132
|
{
|
|
4132
4133
|
prop: "hasGriddingLaptop",
|
|
4133
|
-
|
|
4134
|
+
gridProp: "gridColsLaptop",
|
|
4134
4135
|
attr: "col-span--laptop"
|
|
4135
4136
|
}
|
|
4136
4137
|
];
|
|
@@ -4138,16 +4139,16 @@ const _Banner = class _Banner extends VerticallyExtendedElement {
|
|
|
4138
4139
|
"px-grid > px-container"
|
|
4139
4140
|
);
|
|
4140
4141
|
if (value !== null) {
|
|
4141
|
-
breakpoints.forEach(({ prop,
|
|
4142
|
+
breakpoints.forEach(({ prop, gridProp, attr }) => {
|
|
4142
4143
|
if (this[prop]) {
|
|
4143
|
-
this.$grid
|
|
4144
|
-
spanElement
|
|
4144
|
+
this.$grid[gridProp] = "3";
|
|
4145
|
+
spanElement.setAttribute(attr, "2");
|
|
4145
4146
|
}
|
|
4146
4147
|
});
|
|
4147
4148
|
} else {
|
|
4148
|
-
breakpoints.forEach(({
|
|
4149
|
-
this.$grid
|
|
4150
|
-
spanElement
|
|
4149
|
+
breakpoints.forEach(({ gridProp, attr }) => {
|
|
4150
|
+
this.$grid[gridProp] = "1";
|
|
4151
|
+
spanElement.removeAttribute(attr);
|
|
4151
4152
|
});
|
|
4152
4153
|
}
|
|
4153
4154
|
}
|
|
@@ -13917,7 +13918,7 @@ class MddSection extends HTMLElement {
|
|
|
13917
13918
|
if (!customElements.get("px-mdd-section")) {
|
|
13918
13919
|
customElements.define("px-mdd-section", MddSection);
|
|
13919
13920
|
}
|
|
13920
|
-
const styles$o = '.mdd-section-item-action-container{display:inline-flex;align-items:center}a{text-decoration:none;color:inherit}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a:hover{text-decoration:underline;color:var(--px-color-text-state-hover-default)}button{background:none;border:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;width:100%;text-align:left;font-weight:var(--px-font-weight-title)}a,button{display:block;font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}@media screen and (max-width: 47.9375rem){a,button{padding:var(--px-spacing-xs-mobile) 0}}@media screen and (min-width: 48rem) and (max-width: 64rem){a,button{padding:var(--px-spacing-xs-tablet) 0}}@media screen and (min-width: 48rem){a,button{font-size:var(--px-text-size-label-m-tablet)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media screen and (min-width: 64.0625rem){a{display:inline-block}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a,button{font-size:var(--px-text-size-label-m-laptop)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media screen and (min-width: 90.0625rem){a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a,button{font-size:var(--px-text-size-label-m-desktop)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}';
|
|
13921
|
+
const styles$o = '.mdd-section-item-action-container{display:inline-flex;align-items:center}a{text-decoration:none;color:inherit}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-mobile)}a:hover{text-decoration:underline;color:var(--px-color-text-state-hover-default)}button{background:none;border:none;padding:0;margin:0;cursor:pointer;font:inherit;color:inherit;width:100%;text-align:left;font-weight:var(--px-font-weight-title)}a,button{display:block;font-size:var(--px-text-size-label-m-mobile);line-height:var(--px-line-height-ratio-l);color:var(--px-color-text-neutral-default)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}@media screen and (max-width: 47.9375rem){a,button{padding:var(--px-spacing-xs-mobile) 0}}@media screen and (min-width: 48rem) and (max-width: 64rem){a,button{padding:var(--px-spacing-xs-tablet) 0}}@media screen and (min-width: 48rem){a,button{font-size:var(--px-text-size-label-m-tablet)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media screen and (min-width: 64.0625rem){a{display:inline-block}a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-laptop)}a,button{font-size:var(--px-text-size-label-m-laptop)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media screen and (min-width: 90.0625rem){a ::slotted([slot="after"]){margin-left:var(--px-spacing-2xs-desktop)}a,button{font-size:var(--px-text-size-label-m-desktop)}a:focus-visible,button:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}';
|
|
13921
13922
|
const stylesheet$1 = new CSSStyleSheet();
|
|
13922
13923
|
stylesheet$1.replaceSync(styles$o);
|
|
13923
13924
|
class MddSectionItem extends HTMLElement {
|