@proximus/lavender-light 1.4.3-beta.1 → 1.4.3
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.
|
@@ -27,7 +27,7 @@ function getSupportedAttributeNames(htmlElementName) {
|
|
|
27
27
|
}
|
|
28
28
|
const commonStyleSheet = new CSSStyleSheet();
|
|
29
29
|
commonStyleSheet.replaceSync(commonStyles);
|
|
30
|
-
const PX_COMPONENT_DEBUG = typeof import.meta !== "undefined" && typeof __vite_import_meta_env__ !== "undefined" &&
|
|
30
|
+
const PX_COMPONENT_DEBUG = typeof import.meta !== "undefined" && typeof __vite_import_meta_env__ !== "undefined" && false;
|
|
31
31
|
if (typeof window !== "undefined") {
|
|
32
32
|
window.isComponentDebug = isComponentDebug;
|
|
33
33
|
}
|
|
@@ -35,9 +35,6 @@ function isComponentDebug() {
|
|
|
35
35
|
return PX_COMPONENT_DEBUG;
|
|
36
36
|
}
|
|
37
37
|
function log(message) {
|
|
38
|
-
if (isComponentDebug()) {
|
|
39
|
-
console.error(message);
|
|
40
|
-
}
|
|
41
38
|
}
|
|
42
39
|
if (typeof window !== "undefined") {
|
|
43
40
|
window.isComponentDebug = isComponentDebug;
|
|
@@ -3341,7 +3338,7 @@ let Paragraph = _Paragraph;
|
|
|
3341
3338
|
if (!customElements.get("px-p")) {
|
|
3342
3339
|
customElements.define("px-p", Paragraph);
|
|
3343
3340
|
}
|
|
3344
|
-
const styles$3 = "*{box-sizing:border-box}#container{
|
|
3341
|
+
const styles$3 = "*{box-sizing:border-box}#container{display:flex;flex-wrap:nowrap;font-family:var(--px-font-family);font-size:var(--px-font-size-base);color:var(--px-color-text-neutral-default);width:1080px;border-radius:var(--px-radius-main);background-color:var(--px-color-background-surface-default);overflow:hidden}#container.info{border-left:5px var(--px-color-icon-brand-default) solid}#container.success{border-left:5px var(--px-color-icon-purpose-success-default) solid}#container.warning{border-left:5px var(--px-color-icon-purpose-warning-default) solid}#container.error{border-left:5px var(--px-color-icon-purpose-error-default) solid}#content-container{padding:var(--px-padding-m-mobile);flex-grow:1}#media-container{display:none}::slotted(px-button-icon){position:absolute;top:var(--px-padding-m-desktop);right:var(--px-padding-m-desktop)}dialog{background:transparent;border-radius:0;box-shadow:none;padding:0;border:0;box-sizing:border-box;transform:scale(.95);animation:modalIn .3s ease-out forwards}::backdrop{background:#0000004d;-webkit-backdrop-filter:saturate(180%) blur(15px);backdrop-filter:saturate(180%) blur(15px)}#content{max-height:12.5em;overflow:auto}@media screen and (max-width: 1081px){#container{width:inherit}#content-container{padding:var(--px-padding-m-mobile)}::slotted(px-button-icon){top:var(--px-padding-m-mobile);right:var(--px-padding-m-mobile)}}@media only screen and (min-width: 48em){::slotted(px-button-icon){position:absolute;top:var(--px-padding-m-tablet);right:var(--px-padding-m-tablet)}#content{max-height:25em}}@media only screen and (min-width: 64.0625em){:host([media-src]) #media-container{display:block;background-size:cover;background-position:center center;background-repeat:no-repeat;flex-basis:25em;flex-shrink:0}}@keyframes modalIn{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}";
|
|
3345
3342
|
const styleSheet$1 = new CSSStyleSheet();
|
|
3346
3343
|
styleSheet$1.replaceSync(styles$3);
|
|
3347
3344
|
const CLOSE_EVENT = "px.lavender.modal.close";
|