@proximus/lavender-carousel 2.0.0-alpha.227 → 2.0.0-alpha.229

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/index.es.js CHANGED
@@ -1,17 +1,17 @@
1
- import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, accessibilityAttributes as r, backgroundColorValues as i, booleanPropertyToAttributeSetter as a, checkName as o, createTemplate as s, gapValues as c, iconSizeValuesKC as l, log as u, propertyToAttributeSetter as d, renderTemplate as f } from "@proximus/lavender-common";
1
+ import { AttributeBreakpointHandlerDelegate as e, PxElement as t, WithExtraAttributes as n, accessibilityAttributes as r, backgroundColorValues as i, booleanPropertyToAttributeSetter as a, checkName as o, createTemplate as s, gapValues as c, iconSizeValuesKC as l, log as u, nativeButtonAttributes as d, nativeButtonMethods as f, nativeButtonProperties as p, propertyToAttributeSetter as m, renderTemplate as h } from "@proximus/lavender-common";
2
2
  //#region src/carousel.css?inline
3
- var p = ":host{display:block}:host *{box-sizing:border-box}:host{--px-carousel-visible-items:1;--px-carousel-gap-default:var(--px-spacing-default-desktop)}:host([visible-items=\"1\"]){--px-carousel-visible-items:1}:host([visible-items=\"2\"]){--px-carousel-visible-items:2}:host([visible-items=\"3\"]){--px-carousel-visible-items:3}:host([visible-items=\"4\"]){--px-carousel-visible-items:4}:host([visible-items=\"5\"]){--px-carousel-visible-items:5}:host([visible-items=\"6\"]){--px-carousel-visible-items:6}:host([visible-items=\"7\"]){--px-carousel-visible-items:7}:host([visible-items=\"8\"]){--px-carousel-visible-items:8}:host([visible-items=\"9\"]){--px-carousel-visible-items:9}:host([visible-items--mobile=\"1\"]){--px-carousel-visible-items--mobile:1}:host([visible-items--mobile=\"2\"]){--px-carousel-visible-items--mobile:2}:host([visible-items--mobile=\"3\"]){--px-carousel-visible-items--mobile:3}:host([visible-items--mobile=\"4\"]){--px-carousel-visible-items--mobile:4}:host([visible-items--mobile=\"5\"]){--px-carousel-visible-items--mobile:5}:host([visible-items--mobile=\"6\"]){--px-carousel-visible-items--mobile:6}:host([visible-items--mobile=\"7\"]){--px-carousel-visible-items--mobile:7}:host([visible-items--mobile=\"8\"]){--px-carousel-visible-items--mobile:8}:host([visible-items--mobile=\"9\"]){--px-carousel-visible-items--mobile:9}:host([visible-items--tablet=\"1\"]){--px-carousel-visible-items--tablet:1}:host([visible-items--tablet=\"2\"]){--px-carousel-visible-items--tablet:2}:host([visible-items--tablet=\"3\"]){--px-carousel-visible-items--tablet:3}:host([visible-items--tablet=\"4\"]){--px-carousel-visible-items--tablet:4}:host([visible-items--tablet=\"5\"]){--px-carousel-visible-items--tablet:5}:host([visible-items--tablet=\"6\"]){--px-carousel-visible-items--tablet:6}:host([visible-items--tablet=\"7\"]){--px-carousel-visible-items--tablet:7}:host([visible-items--tablet=\"8\"]){--px-carousel-visible-items--tablet:8}:host([visible-items--tablet=\"9\"]){--px-carousel-visible-items--tablet:9}:host([visible-items--laptop=\"1\"]){--px-carousel-visible-items--laptop:1}:host([visible-items--laptop=\"2\"]){--px-carousel-visible-items--laptop:2}:host([visible-items--laptop=\"3\"]){--px-carousel-visible-items--laptop:3}:host([visible-items--laptop=\"4\"]){--px-carousel-visible-items--laptop:4}:host([visible-items--laptop=\"5\"]){--px-carousel-visible-items--laptop:5}:host([visible-items--laptop=\"6\"]){--px-carousel-visible-items--laptop:6}:host([visible-items--laptop=\"7\"]){--px-carousel-visible-items--laptop:7}:host([visible-items--laptop=\"8\"]){--px-carousel-visible-items--laptop:8}:host([visible-items--laptop=\"9\"]){--px-carousel-visible-items--laptop:9}:host([visible-items--desktop=\"1\"]){--px-carousel-visible-items--desktop:1}:host([visible-items--desktop=\"2\"]){--px-carousel-visible-items--desktop:2}:host([visible-items--desktop=\"3\"]){--px-carousel-visible-items--desktop:3}:host([visible-items--desktop=\"4\"]){--px-carousel-visible-items--desktop:4}:host([visible-items--desktop=\"5\"]){--px-carousel-visible-items--desktop:5}:host([visible-items--desktop=\"6\"]){--px-carousel-visible-items--desktop:6}:host([visible-items--desktop=\"7\"]){--px-carousel-visible-items--desktop:7}:host([visible-items--desktop=\"8\"]){--px-carousel-visible-items--desktop:8}:host([visible-items--desktop=\"9\"]){--px-carousel-visible-items--desktop:9}:host([gap=default]){--px-carousel-gap-default:var(--px-spacing-default-desktop)}:host([gap=s]){--px-carousel-gap-default:var(--px-spacing-s-desktop)}:host([gap=xs]){--px-carousel-gap-default:var(--px-spacing-xs-desktop)}:host([gap=\"2xs\"]){--px-carousel-gap-default:var(--px-spacing-2xs-desktop)}:host([gap=l]){--px-carousel-gap-default:var(--px-spacing-l-desktop)}:host([gap=none]){--px-carousel-gap-default:0}:host([gap--mobile=default]){--px-carousel-gap-default--mobile:var(--px-spacing-default-mobile)}:host([gap--mobile=s]){--px-carousel-gap-default--mobile:var(--px-spacing-s-mobile)}:host([gap--mobile=xs]){--px-carousel-gap-default--mobile:var(--px-spacing-xs-mobile)}:host([gap--mobile=\"2xs\"]){--px-carousel-gap-default--mobile:var(--px-spacing-2xs-mobile)}:host([gap--mobile=l]){--px-carousel-gap-default--mobile:var(--px-spacing-l-mobile)}:host([gap--mobile=none]){--px-carousel-gap-default--mobile:0}:host([gap--tablet=default]){--px-carousel-gap-default--tablet:var(--px-spacing-default-tablet)}:host([gap--tablet=s]){--px-carousel-gap-default--tablet:var(--px-spacing-s-tablet)}:host([gap--tablet=xs]){--px-carousel-gap-default--tablet:var(--px-spacing-xs-tablet)}:host([gap--tablet=\"2xs\"]){--px-carousel-gap-default--tablet:var(--px-spacing-2xs-tablet)}:host([gap--tablet=l]){--px-carousel-gap-default--tablet:var(--px-spacing-l-tablet)}:host([gap--tablet=none]){--px-carousel-gap-default--tablet:0}:host([gap--laptop=default]){--px-carousel-gap-default--laptop:var(--px-spacing-default-laptop)}:host([gap--laptop=s]){--px-carousel-gap-default--laptop:var(--px-spacing-s-laptop)}:host([gap--laptop=xs]){--px-carousel-gap-default--laptop:var(--px-spacing-xs-laptop)}:host([gap--laptop=\"2xs\"]){--px-carousel-gap-default--laptop:var(--px-spacing-2xs-laptop)}:host([gap--laptop=l]){--px-carousel-gap-default--laptop:var(--px-spacing-l-laptop)}:host([gap--laptop=none]){--px-carousel-gap-default--laptop:0}:host([gap--desktop=default]){--px-carousel-gap-default--desktop:var(--px-spacing-default-desktop)}:host([gap--desktop=s]){--px-carousel-gap-default--desktop:var(--px-spacing-s-desktop)}:host([gap--desktop=xs]){--px-carousel-gap-default--desktop:var(--px-spacing-xs-desktop)}:host([gap--desktop=\"2xs\"]){--px-carousel-gap-default--desktop:var(--px-spacing-2xs-desktop)}:host([gap--desktop=l]){--px-carousel-gap-default--desktop:var(--px-spacing-l-desktop)}:host([gap--desktop=none]){--px-carousel-gap-default--desktop:0}.carousel{scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;gap:var(--px-carousel-gap-default--desktop,var(--px-carousel-gap-default));display:flex;overflow:auto hidden}@media screen and (width<=48rem){.carousel{gap:var(--px-carousel-gap-default--mobile,var(--px-carousel-gap-default))}}@media screen and (width>=48.0625rem) and (width<=64rem){.carousel{gap:var(--px-carousel-gap-default--tablet,var(--px-carousel-gap-default))}}@media screen and (width>=64.0625rem) and (width<=90rem){.carousel{gap:var(--px-carousel-gap-default--laptop,var(--px-carousel-gap-default))}}#appleseed-container{margin-inline:var(--px-spacing-s-mobile)}@media screen and (width<=48rem){#button-icons{display:none}}.carousel::-webkit-scrollbar{display:none}", m = "::slotted(*){border-radius:var(--px-radius-main);height:100%}.carousel-item{height:100%}:host{scroll-snap-align:start;border-radius:var(--px-radius-main);--visible-items:var(--px-carousel-visible-items--desktop,var(--px-carousel-visible-items,1));--spacing:var(--px-carousel-gap-default--desktop,var(--px-carousel-gap-default,var(--px-spacing-s-desktop)));min-width:calc((100% - max(var(--visible-items), 2) * var(--spacing)) / var(--visible-items) - 64px / max(var(--visible-items), 2));background:#fff;justify-content:center;align-items:center;overflow:hidden}@media screen and (width<=48rem){:host{--visible-items:var(--px-carousel-visible-items--mobile,var(--px-carousel-visible-items,1));--spacing:var(--px-carousel-gap-default--mobile,var(--px-carousel-gap-default,var(--px-spacing-s-mobile)))}}@media screen and (width>=48.0625rem) and (width<=64rem){:host{--visible-items:var(--px-carousel-visible-items--tablet,var(--px-carousel-visible-items,1));--spacing:var(--px-carousel-gap-default--tablet,var(--px-carousel-gap-default,var(--px-spacing-s-desktop)))}}@media screen and (width>=64.0625rem) and (width<=90rem){:host{--visible-items:var(--px-carousel-visible-items--laptop,var(--px-carousel-visible-items,1));--spacing:var(--px-carousel-gap-default--laptop,var(--px-carousel-gap-default,var(--px-spacing-s-desktop)))}}@media screen and (width<=48rem){:host{scroll-snap-align:center;flex:1 0 var(--px-carousel-min-width-mobile,var(--px-carousel-min-width-all-mobile))!important}}@media screen and (width>=48rem) and (width<=64rem){:host{flex:1 0 var(--px-carousel-min-width-tablet,var(--px-carousel-min-width-all-tablet))!important}}", h = ":host{--host-gap--mobile:var(--px-spacing-none-mobile);--host-gap--tablet:var(--px-spacing-none-tablet);--host-gap--laptop:var(--px-spacing-none-desktop);--host-gap--desktop:var(--px-spacing-none-desktop);--overflow-x-all:visible;--overflow-x-all-mobile:initial;--overflow-x-all-tablet:initial;--overflow-x-all-laptop:initial;--overflow-x-all-desktop:initial;display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{--flex-direction--mobile-value:row;--flex-direction--tablet-value:row;--flex-direction--laptop-value:row;--flex-direction--desktop-value:row;--flex-gap--mobile-value:var(--px-spacing-none-mobile);--flex-gap--tablet-value:var(--px-spacing-none-tablet);--flex-gap--laptop-value:var(--px-spacing-none-desktop);--flex-gap--desktop-value:var(--px-spacing-none-desktop);--flex-align-items--mobile-value:stretch;--flex-align-items--tablet-value:stretch;--flex-align-items--laptop-value:stretch;--flex-align-items--desktop-value:stretch;--flex-justify-content--mobile-value:flex-start;--flex-justify-content--tablet-value:flex-start;--flex-justify-content--laptop-value:flex-start;--flex-justify-content--desktop-value:flex-start;--flex-wrap--mobile-value:nowrap;--flex-wrap--tablet-value:nowrap;--flex-wrap--laptop-value:nowrap;--flex-wrap--desktop-value:nowrap;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);width:100%;height:100%;overflow-x:var(--overflow-x-all);display:flex}@media screen and (width<=47.938rem){.flex-container{overflow-x:var(--overflow-x-all-mobile,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=48rem){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media screen and (width>=48rem) and (width<=64rem){.flex-container{overflow-x:var(--overflow-x-all-tablet,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=64.0625rem){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media screen and (width>=64.0625rem) and (width<=90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop,var(--overflow-x-all))}}@media screen and (width>=90.0625rem){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-x:var(--overflow-x-all-desktop,var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}:host(px-vstack) .flex-container{--flex-direction--mobile-value:column!important;--flex-direction--tablet-value:column!important;--flex-direction--laptop-value:column!important;--flex-direction--desktop-value:column!important}:host(px-hstack) .flex-container{--flex-direction--mobile-value:row!important;--flex-direction--tablet-value:row!important;--flex-direction--laptop-value:row!important;--flex-direction--desktop-value:row!important}", g = new CSSStyleSheet();
4
- g.replaceSync(h);
5
- var _ = document.createElement("template");
6
- _.innerHTML = "<div class=\"flex-container\"><slot></slot></div>";
7
- var v = [
3
+ var g = ":host{display:block}:host *{box-sizing:border-box}:host{--px-carousel-visible-items:1;--px-carousel-gap-default:var(--px-spacing-default-desktop)}:host([visible-items=\"1\"]){--px-carousel-visible-items:1}:host([visible-items=\"2\"]){--px-carousel-visible-items:2}:host([visible-items=\"3\"]){--px-carousel-visible-items:3}:host([visible-items=\"4\"]){--px-carousel-visible-items:4}:host([visible-items=\"5\"]){--px-carousel-visible-items:5}:host([visible-items=\"6\"]){--px-carousel-visible-items:6}:host([visible-items=\"7\"]){--px-carousel-visible-items:7}:host([visible-items=\"8\"]){--px-carousel-visible-items:8}:host([visible-items=\"9\"]){--px-carousel-visible-items:9}:host([visible-items--mobile=\"1\"]){--px-carousel-visible-items--mobile:1}:host([visible-items--mobile=\"2\"]){--px-carousel-visible-items--mobile:2}:host([visible-items--mobile=\"3\"]){--px-carousel-visible-items--mobile:3}:host([visible-items--mobile=\"4\"]){--px-carousel-visible-items--mobile:4}:host([visible-items--mobile=\"5\"]){--px-carousel-visible-items--mobile:5}:host([visible-items--mobile=\"6\"]){--px-carousel-visible-items--mobile:6}:host([visible-items--mobile=\"7\"]){--px-carousel-visible-items--mobile:7}:host([visible-items--mobile=\"8\"]){--px-carousel-visible-items--mobile:8}:host([visible-items--mobile=\"9\"]){--px-carousel-visible-items--mobile:9}:host([visible-items--tablet=\"1\"]){--px-carousel-visible-items--tablet:1}:host([visible-items--tablet=\"2\"]){--px-carousel-visible-items--tablet:2}:host([visible-items--tablet=\"3\"]){--px-carousel-visible-items--tablet:3}:host([visible-items--tablet=\"4\"]){--px-carousel-visible-items--tablet:4}:host([visible-items--tablet=\"5\"]){--px-carousel-visible-items--tablet:5}:host([visible-items--tablet=\"6\"]){--px-carousel-visible-items--tablet:6}:host([visible-items--tablet=\"7\"]){--px-carousel-visible-items--tablet:7}:host([visible-items--tablet=\"8\"]){--px-carousel-visible-items--tablet:8}:host([visible-items--tablet=\"9\"]){--px-carousel-visible-items--tablet:9}:host([visible-items--laptop=\"1\"]){--px-carousel-visible-items--laptop:1}:host([visible-items--laptop=\"2\"]){--px-carousel-visible-items--laptop:2}:host([visible-items--laptop=\"3\"]){--px-carousel-visible-items--laptop:3}:host([visible-items--laptop=\"4\"]){--px-carousel-visible-items--laptop:4}:host([visible-items--laptop=\"5\"]){--px-carousel-visible-items--laptop:5}:host([visible-items--laptop=\"6\"]){--px-carousel-visible-items--laptop:6}:host([visible-items--laptop=\"7\"]){--px-carousel-visible-items--laptop:7}:host([visible-items--laptop=\"8\"]){--px-carousel-visible-items--laptop:8}:host([visible-items--laptop=\"9\"]){--px-carousel-visible-items--laptop:9}:host([visible-items--desktop=\"1\"]){--px-carousel-visible-items--desktop:1}:host([visible-items--desktop=\"2\"]){--px-carousel-visible-items--desktop:2}:host([visible-items--desktop=\"3\"]){--px-carousel-visible-items--desktop:3}:host([visible-items--desktop=\"4\"]){--px-carousel-visible-items--desktop:4}:host([visible-items--desktop=\"5\"]){--px-carousel-visible-items--desktop:5}:host([visible-items--desktop=\"6\"]){--px-carousel-visible-items--desktop:6}:host([visible-items--desktop=\"7\"]){--px-carousel-visible-items--desktop:7}:host([visible-items--desktop=\"8\"]){--px-carousel-visible-items--desktop:8}:host([visible-items--desktop=\"9\"]){--px-carousel-visible-items--desktop:9}:host([gap=default]){--px-carousel-gap-default:var(--px-spacing-default-desktop)}:host([gap=s]){--px-carousel-gap-default:var(--px-spacing-s-desktop)}:host([gap=xs]){--px-carousel-gap-default:var(--px-spacing-xs-desktop)}:host([gap=\"2xs\"]){--px-carousel-gap-default:var(--px-spacing-2xs-desktop)}:host([gap=l]){--px-carousel-gap-default:var(--px-spacing-l-desktop)}:host([gap=none]){--px-carousel-gap-default:0}:host([gap--mobile=default]){--px-carousel-gap-default--mobile:var(--px-spacing-default-mobile)}:host([gap--mobile=s]){--px-carousel-gap-default--mobile:var(--px-spacing-s-mobile)}:host([gap--mobile=xs]){--px-carousel-gap-default--mobile:var(--px-spacing-xs-mobile)}:host([gap--mobile=\"2xs\"]){--px-carousel-gap-default--mobile:var(--px-spacing-2xs-mobile)}:host([gap--mobile=l]){--px-carousel-gap-default--mobile:var(--px-spacing-l-mobile)}:host([gap--mobile=none]){--px-carousel-gap-default--mobile:0}:host([gap--tablet=default]){--px-carousel-gap-default--tablet:var(--px-spacing-default-tablet)}:host([gap--tablet=s]){--px-carousel-gap-default--tablet:var(--px-spacing-s-tablet)}:host([gap--tablet=xs]){--px-carousel-gap-default--tablet:var(--px-spacing-xs-tablet)}:host([gap--tablet=\"2xs\"]){--px-carousel-gap-default--tablet:var(--px-spacing-2xs-tablet)}:host([gap--tablet=l]){--px-carousel-gap-default--tablet:var(--px-spacing-l-tablet)}:host([gap--tablet=none]){--px-carousel-gap-default--tablet:0}:host([gap--laptop=default]){--px-carousel-gap-default--laptop:var(--px-spacing-default-laptop)}:host([gap--laptop=s]){--px-carousel-gap-default--laptop:var(--px-spacing-s-laptop)}:host([gap--laptop=xs]){--px-carousel-gap-default--laptop:var(--px-spacing-xs-laptop)}:host([gap--laptop=\"2xs\"]){--px-carousel-gap-default--laptop:var(--px-spacing-2xs-laptop)}:host([gap--laptop=l]){--px-carousel-gap-default--laptop:var(--px-spacing-l-laptop)}:host([gap--laptop=none]){--px-carousel-gap-default--laptop:0}:host([gap--desktop=default]){--px-carousel-gap-default--desktop:var(--px-spacing-default-desktop)}:host([gap--desktop=s]){--px-carousel-gap-default--desktop:var(--px-spacing-s-desktop)}:host([gap--desktop=xs]){--px-carousel-gap-default--desktop:var(--px-spacing-xs-desktop)}:host([gap--desktop=\"2xs\"]){--px-carousel-gap-default--desktop:var(--px-spacing-2xs-desktop)}:host([gap--desktop=l]){--px-carousel-gap-default--desktop:var(--px-spacing-l-desktop)}:host([gap--desktop=none]){--px-carousel-gap-default--desktop:0}.carousel{scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;gap:var(--px-carousel-gap-default--desktop,var(--px-carousel-gap-default));display:flex;overflow:auto hidden}@media screen and (width<=48rem){.carousel{gap:var(--px-carousel-gap-default--mobile,var(--px-carousel-gap-default))}}@media screen and (width>=48.0625rem) and (width<=64rem){.carousel{gap:var(--px-carousel-gap-default--tablet,var(--px-carousel-gap-default))}}@media screen and (width>=64.0625rem) and (width<=90rem){.carousel{gap:var(--px-carousel-gap-default--laptop,var(--px-carousel-gap-default))}}#appleseed-container{margin-inline:var(--px-spacing-s-mobile)}@media screen and (width<=48rem){#button-icons{display:none}}.carousel::-webkit-scrollbar{display:none}", _ = "::slotted(*){border-radius:var(--px-radius-main);height:100%}.carousel-item{height:100%}:host{scroll-snap-align:start;border-radius:var(--px-radius-main);--visible-items:var(--px-carousel-visible-items--desktop,var(--px-carousel-visible-items,1));--spacing:var(--px-carousel-gap-default--desktop,var(--px-carousel-gap-default,var(--px-spacing-s-desktop)));min-width:calc((100% - max(var(--visible-items), 2) * var(--spacing)) / var(--visible-items) - 64px / max(var(--visible-items), 2));background:#fff;justify-content:center;align-items:center;overflow:hidden}@media screen and (width<=48rem){:host{--visible-items:var(--px-carousel-visible-items--mobile,var(--px-carousel-visible-items,1));--spacing:var(--px-carousel-gap-default--mobile,var(--px-carousel-gap-default,var(--px-spacing-s-mobile)))}}@media screen and (width>=48.0625rem) and (width<=64rem){:host{--visible-items:var(--px-carousel-visible-items--tablet,var(--px-carousel-visible-items,1));--spacing:var(--px-carousel-gap-default--tablet,var(--px-carousel-gap-default,var(--px-spacing-s-desktop)))}}@media screen and (width>=64.0625rem) and (width<=90rem){:host{--visible-items:var(--px-carousel-visible-items--laptop,var(--px-carousel-visible-items,1));--spacing:var(--px-carousel-gap-default--laptop,var(--px-carousel-gap-default,var(--px-spacing-s-desktop)))}}@media screen and (width<=48rem){:host{scroll-snap-align:center;flex:1 0 var(--px-carousel-min-width-mobile,var(--px-carousel-min-width-all-mobile))!important}}@media screen and (width>=48rem) and (width<=64rem){:host{flex:1 0 var(--px-carousel-min-width-tablet,var(--px-carousel-min-width-all-tablet))!important}}", v = ":host{--host-gap--mobile:var(--px-spacing-none-mobile);--host-gap--tablet:var(--px-spacing-none-tablet);--host-gap--laptop:var(--px-spacing-none-desktop);--host-gap--desktop:var(--px-spacing-none-desktop);--overflow-x-all:visible;--overflow-x-all-mobile:initial;--overflow-x-all-tablet:initial;--overflow-x-all-laptop:initial;--overflow-x-all-desktop:initial;display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{--flex-direction--mobile-value:row;--flex-direction--tablet-value:row;--flex-direction--laptop-value:row;--flex-direction--desktop-value:row;--flex-gap--mobile-value:var(--px-spacing-none-mobile);--flex-gap--tablet-value:var(--px-spacing-none-tablet);--flex-gap--laptop-value:var(--px-spacing-none-desktop);--flex-gap--desktop-value:var(--px-spacing-none-desktop);--flex-align-items--mobile-value:stretch;--flex-align-items--tablet-value:stretch;--flex-align-items--laptop-value:stretch;--flex-align-items--desktop-value:stretch;--flex-justify-content--mobile-value:flex-start;--flex-justify-content--tablet-value:flex-start;--flex-justify-content--laptop-value:flex-start;--flex-justify-content--desktop-value:flex-start;--flex-wrap--mobile-value:nowrap;--flex-wrap--tablet-value:nowrap;--flex-wrap--laptop-value:nowrap;--flex-wrap--desktop-value:nowrap;--flex-overflow-y--mobile-value:visible;--flex-overflow-y--tablet-value:visible;--flex-overflow-y--laptop-value:visible;--flex-overflow-y--desktop-value:visible;--flex-max-height--mobile-value:none;--flex-max-height--tablet-value:none;--flex-max-height--laptop-value:none;--flex-max-height--desktop-value:none;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);width:100%;height:100%;overflow-x:var(--overflow-x-all);overflow-y:var(--flex-overflow-y--mobile-value);max-height:var(--flex-max-height--mobile-value);display:flex}@media screen and (width<=47.938rem){.flex-container{overflow-x:var(--overflow-x-all-mobile,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=48rem){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value);overflow-y:var(--flex-overflow-y--tablet-value);max-height:var(--flex-max-height--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media screen and (width>=48rem) and (width<=64rem){.flex-container{overflow-x:var(--overflow-x-all-tablet,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=64.0625rem){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value);overflow-y:var(--flex-overflow-y--laptop-value);max-height:var(--flex-max-height--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media screen and (width>=64.0625rem) and (width<=90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop,var(--overflow-x-all))}}@media screen and (width>=90.0625rem){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-y:var(--flex-overflow-y--desktop-value);max-height:var(--flex-max-height--desktop-value);overflow-x:var(--overflow-x-all-desktop,var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}:host(px-vstack) .flex-container{--flex-direction--mobile-value:column!important;--flex-direction--tablet-value:column!important;--flex-direction--laptop-value:column!important;--flex-direction--desktop-value:column!important}:host(px-hstack) .flex-container{--flex-direction--mobile-value:row!important;--flex-direction--tablet-value:row!important;--flex-direction--laptop-value:row!important;--flex-direction--desktop-value:row!important}", y = new CSSStyleSheet();
4
+ y.replaceSync(v);
5
+ var b = document.createElement("template");
6
+ b.innerHTML = "<div class=\"flex-container\"><slot></slot></div>";
7
+ var x = [
8
8
  "",
9
9
  "default",
10
10
  "row",
11
11
  "row-reverse",
12
12
  "column",
13
13
  "column-reverse"
14
- ], y = [
14
+ ], ee = [
15
15
  "",
16
16
  "default",
17
17
  "stretch",
@@ -21,7 +21,7 @@ var v = [
21
21
  "end",
22
22
  "center",
23
23
  "baseline"
24
- ], b = [
24
+ ], te = [
25
25
  "",
26
26
  "default",
27
27
  "flex-start",
@@ -32,7 +32,7 @@ var v = [
32
32
  "space-between",
33
33
  "space-around",
34
34
  "space-evenly"
35
- ], x = [
35
+ ], ne = [
36
36
  "",
37
37
  "default",
38
38
  "nowrap",
@@ -46,7 +46,7 @@ var v = [
46
46
  "auto"
47
47
  ], C = class t extends n {
48
48
  constructor() {
49
- super(g), this.overflowXAttributeDelegate = new e(this, "overflow-x", (e) => e, "--overflow-x"), this.shadowRoot.firstChild || this.shadowRoot.appendChild(document.importNode(_.content, !0));
49
+ super(y), this.overflowXAttributeDelegate = new e(this, "overflow-x", (e) => e, "--overflow-x"), this.shadowRoot.firstChild || this.shadowRoot.appendChild(document.importNode(b.content, !0));
50
50
  }
51
51
  connectedCallback() {}
52
52
  static get observedAttributes() {
@@ -81,7 +81,17 @@ var v = [
81
81
  "overflow-x--mobile",
82
82
  "overflow-x--tablet",
83
83
  "overflow-x--laptop",
84
- "overflow-x--desktop"
84
+ "overflow-x--desktop",
85
+ "overflow-y",
86
+ "overflow-y--mobile",
87
+ "overflow-y--tablet",
88
+ "overflow-y--laptop",
89
+ "overflow-y--desktop",
90
+ "max-height",
91
+ "max-height--mobile",
92
+ "max-height--tablet",
93
+ "max-height--laptop",
94
+ "max-height--desktop"
85
95
  ];
86
96
  }
87
97
  attributeChangedCallback(e, t, n) {
@@ -98,28 +108,40 @@ var v = [
98
108
  case "justify-content--tablet":
99
109
  case "justify-content--laptop":
100
110
  case "justify-content--desktop":
101
- this.updateFlexProperties(e, t, n, b);
111
+ this.updateFlexProperties(e, t, n, te);
102
112
  break;
103
113
  case "align-items":
104
114
  case "align-items--mobile":
105
115
  case "align-items--tablet":
106
116
  case "align-items--laptop":
107
117
  case "align-items--desktop":
108
- this.updateFlexProperties(e, t, n, y);
118
+ this.updateFlexProperties(e, t, n, ee);
109
119
  break;
110
120
  case "wrap":
111
121
  case "wrap--mobile":
112
122
  case "wrap--tablet":
113
123
  case "wrap--laptop":
114
124
  case "wrap--desktop":
115
- this.updateFlexProperties(e, t, n, x);
125
+ this.updateFlexProperties(e, t, n, ne);
116
126
  break;
117
127
  case "direction":
118
128
  case "direction--mobile":
119
129
  case "direction--tablet":
120
130
  case "direction--laptop":
121
131
  case "direction--desktop":
122
- this.updateFlexProperties(e, t, n, v);
132
+ this.updateFlexProperties(e, t, n, x), this.updateVerticalStyles();
133
+ break;
134
+ case "overflow-y":
135
+ case "overflow-y--mobile":
136
+ case "overflow-y--tablet":
137
+ case "overflow-y--laptop":
138
+ case "overflow-y--desktop":
139
+ case "max-height":
140
+ case "max-height--mobile":
141
+ case "max-height--tablet":
142
+ case "max-height--laptop":
143
+ case "max-height--desktop":
144
+ n && !this.isValidVerticalValue(e, n) && u(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateVerticalStyles();
123
145
  break;
124
146
  case "overflow-x":
125
147
  case "overflow-x--mobile":
@@ -131,6 +153,18 @@ var v = [
131
153
  default: super.attributeChangedCallback(e, t, n);
132
154
  }
133
155
  }
156
+ isValidVerticalValue(e, t) {
157
+ return e.startsWith("overflow-y") ? S.includes(t) : CSS.supports("max-height", t);
158
+ }
159
+ updateVerticalStyles() {
160
+ for (let e of t.breakpoints) {
161
+ let t = this.localName === "px-stack" && this.getAttribute(`direction--${e}`) || this.direction, n = t === "column" || t === "column-reverse";
162
+ for (let t of ["overflow-y", "max-height"]) {
163
+ let r = this.getAttribute(`${t}--${e}`) || this.getAttribute(t);
164
+ this.updateStyle(t, e, n && r && this.isValidVerticalValue(t, r) ? r : null);
165
+ }
166
+ }
167
+ }
134
168
  updateOverflowX(e, t, n, r) {
135
169
  o(r, n) ? this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n) : u(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
136
170
  }
@@ -163,214 +197,274 @@ var v = [
163
197
  return this.getAttribute("direction") ?? "row";
164
198
  }
165
199
  set direction(e) {
166
- d(this, "direction", e);
200
+ m(this, "direction", e);
167
201
  }
168
202
  get directionMobile() {
169
203
  return this.getAttribute("direction--mobile");
170
204
  }
171
205
  set directionMobile(e) {
172
- d(this, "direction--mobile", e);
206
+ m(this, "direction--mobile", e);
173
207
  }
174
208
  get directionTablet() {
175
209
  return this.getAttribute("direction--tablet");
176
210
  }
177
211
  set directionTablet(e) {
178
- d(this, "direction--tablet", e);
212
+ m(this, "direction--tablet", e);
179
213
  }
180
214
  get directionLaptop() {
181
215
  return this.getAttribute("direction--laptop");
182
216
  }
183
217
  set directionLaptop(e) {
184
- d(this, "direction--laptop", e);
218
+ m(this, "direction--laptop", e);
185
219
  }
186
220
  get directionDesktop() {
187
221
  return this.getAttribute("direction--desktop");
188
222
  }
189
223
  set directionDesktop(e) {
190
- d(this, "direction--desktop", e);
224
+ m(this, "direction--desktop", e);
191
225
  }
192
226
  get gap() {
193
227
  return this.getAttribute("gap") ?? "none";
194
228
  }
195
229
  set gap(e) {
196
- d(this, "gap", e);
230
+ m(this, "gap", e);
197
231
  }
198
232
  get gapMobile() {
199
233
  return this.getAttribute("gap--mobile");
200
234
  }
201
235
  set gapMobile(e) {
202
- d(this, "gap--mobile", e);
236
+ m(this, "gap--mobile", e);
203
237
  }
204
238
  get gapTablet() {
205
239
  return this.getAttribute("gap--tablet");
206
240
  }
207
241
  set gapTablet(e) {
208
- d(this, "gap--tablet", e);
242
+ m(this, "gap--tablet", e);
209
243
  }
210
244
  get gapLaptop() {
211
245
  return this.getAttribute("gap--laptop");
212
246
  }
213
247
  set gapLaptop(e) {
214
- d(this, "gap--laptop", e);
248
+ m(this, "gap--laptop", e);
215
249
  }
216
250
  get gapDesktop() {
217
251
  return this.getAttribute("gap--desktop");
218
252
  }
219
253
  set gapDesktop(e) {
220
- d(this, "gap--desktop", e);
254
+ m(this, "gap--desktop", e);
221
255
  }
222
256
  get justifyContent() {
223
257
  return this.getAttribute("justify-content") ?? "flex-start";
224
258
  }
225
259
  set justifyContent(e) {
226
- d(this, "justify-content", e);
260
+ m(this, "justify-content", e);
227
261
  }
228
262
  get justifyContentMobile() {
229
263
  return this.getAttribute("justify-content--mobile");
230
264
  }
231
265
  set justifyContentMobile(e) {
232
- d(this, "justify-content--mobile", e);
266
+ m(this, "justify-content--mobile", e);
233
267
  }
234
268
  get justifyContentTablet() {
235
269
  return this.getAttribute("justify-content--tablet");
236
270
  }
237
271
  set justifyContentTablet(e) {
238
- d(this, "justify-content--tablet", e);
272
+ m(this, "justify-content--tablet", e);
239
273
  }
240
274
  get justifyContentLaptop() {
241
275
  return this.getAttribute("justify-content--laptop");
242
276
  }
243
277
  set justifyContentLaptop(e) {
244
- d(this, "justify-content--laptop", e);
278
+ m(this, "justify-content--laptop", e);
245
279
  }
246
280
  get justifyContentDesktop() {
247
281
  return this.getAttribute("justify-content--desktop");
248
282
  }
249
283
  set justifyContentDesktop(e) {
250
- d(this, "justify-content--desktop", e);
284
+ m(this, "justify-content--desktop", e);
251
285
  }
252
286
  get alignItems() {
253
287
  return this.getAttribute("align-items") ?? "stretch";
254
288
  }
255
289
  set alignItems(e) {
256
- d(this, "align-items", e);
290
+ m(this, "align-items", e);
257
291
  }
258
292
  get alignItemsMobile() {
259
293
  return this.getAttribute("align-items--mobile");
260
294
  }
261
295
  set alignItemsMobile(e) {
262
- d(this, "align-items--mobile", e);
296
+ m(this, "align-items--mobile", e);
263
297
  }
264
298
  get alignItemsTablet() {
265
299
  return this.getAttribute("align-items--tablet");
266
300
  }
267
301
  set alignItemsTablet(e) {
268
- d(this, "align-items--tablet", e);
302
+ m(this, "align-items--tablet", e);
269
303
  }
270
304
  get alignItemsLaptop() {
271
305
  return this.getAttribute("align-items--laptop");
272
306
  }
273
307
  set alignItemsLaptop(e) {
274
- d(this, "align-items--laptop", e);
308
+ m(this, "align-items--laptop", e);
275
309
  }
276
310
  get alignItemsDesktop() {
277
311
  return this.getAttribute("align-items--desktop");
278
312
  }
279
313
  set alignItemsDesktop(e) {
280
- d(this, "align-items--desktop", e);
314
+ m(this, "align-items--desktop", e);
281
315
  }
282
316
  get wrap() {
283
317
  return this.getAttribute("wrap") ?? "nowrap";
284
318
  }
285
319
  set wrap(e) {
286
- d(this, "wrap", e);
320
+ m(this, "wrap", e);
287
321
  }
288
322
  get wrapMobile() {
289
323
  return this.getAttribute("wrap--mobile");
290
324
  }
291
325
  set wrapMobile(e) {
292
- d(this, "wrap--mobile", e);
326
+ m(this, "wrap--mobile", e);
293
327
  }
294
328
  get wrapTablet() {
295
329
  return this.getAttribute("wrap--tablet");
296
330
  }
297
331
  set wrapTablet(e) {
298
- d(this, "wrap--tablet", e);
332
+ m(this, "wrap--tablet", e);
299
333
  }
300
334
  get wrapLaptop() {
301
335
  return this.getAttribute("wrap--laptop");
302
336
  }
303
337
  set wrapLaptop(e) {
304
- d(this, "wrap--laptop", e);
338
+ m(this, "wrap--laptop", e);
305
339
  }
306
340
  get wrapDesktop() {
307
341
  return this.getAttribute("wrap--desktop");
308
342
  }
309
343
  set wrapDesktop(e) {
310
- d(this, "wrap--desktop", e);
344
+ m(this, "wrap--desktop", e);
311
345
  }
312
346
  get overflowX() {
313
347
  return this.getAttribute("overflow-x") ?? "visible";
314
348
  }
315
349
  set overflowX(e) {
316
- d(this, "overflow-x", e);
350
+ m(this, "overflow-x", e);
317
351
  }
318
352
  get overflowXMobile() {
319
353
  return this.getAttribute("overflow-x--mobile");
320
354
  }
321
355
  set overflowXMobile(e) {
322
- d(this, "overflow-x--mobile", e);
356
+ m(this, "overflow-x--mobile", e);
323
357
  }
324
358
  get overflowXTablet() {
325
359
  return this.getAttribute("overflow-x--tablet");
326
360
  }
327
361
  set overflowXTablet(e) {
328
- d(this, "overflow-x--tablet", e);
362
+ m(this, "overflow-x--tablet", e);
329
363
  }
330
364
  get overflowXLaptop() {
331
365
  return this.getAttribute("overflow-x--laptop");
332
366
  }
333
367
  set overflowXLaptop(e) {
334
- d(this, "overflow-x--laptop", e);
368
+ m(this, "overflow-x--laptop", e);
335
369
  }
336
370
  get overflowXDesktop() {
337
371
  return this.getAttribute("overflow-x--desktop");
338
372
  }
339
373
  set overflowXDesktop(e) {
340
- d(this, "overflow-x--desktop", e);
374
+ m(this, "overflow-x--desktop", e);
375
+ }
376
+ get overflowY() {
377
+ return this.getAttribute("overflow-y") ?? "visible";
378
+ }
379
+ set overflowY(e) {
380
+ m(this, "overflow-y", e);
381
+ }
382
+ get overflowYMobile() {
383
+ return this.getAttribute("overflow-y--mobile");
384
+ }
385
+ set overflowYMobile(e) {
386
+ m(this, "overflow-y--mobile", e);
387
+ }
388
+ get overflowYTablet() {
389
+ return this.getAttribute("overflow-y--tablet");
390
+ }
391
+ set overflowYTablet(e) {
392
+ m(this, "overflow-y--tablet", e);
393
+ }
394
+ get overflowYLaptop() {
395
+ return this.getAttribute("overflow-y--laptop");
396
+ }
397
+ set overflowYLaptop(e) {
398
+ m(this, "overflow-y--laptop", e);
399
+ }
400
+ get overflowYDesktop() {
401
+ return this.getAttribute("overflow-y--desktop");
402
+ }
403
+ set overflowYDesktop(e) {
404
+ m(this, "overflow-y--desktop", e);
405
+ }
406
+ get maxHeight() {
407
+ return this.getAttribute("max-height") ?? "none";
408
+ }
409
+ set maxHeight(e) {
410
+ m(this, "max-height", e);
411
+ }
412
+ get maxHeightMobile() {
413
+ return this.getAttribute("max-height--mobile");
414
+ }
415
+ set maxHeightMobile(e) {
416
+ m(this, "max-height--mobile", e);
417
+ }
418
+ get maxHeightTablet() {
419
+ return this.getAttribute("max-height--tablet");
420
+ }
421
+ set maxHeightTablet(e) {
422
+ m(this, "max-height--tablet", e);
423
+ }
424
+ get maxHeightLaptop() {
425
+ return this.getAttribute("max-height--laptop");
426
+ }
427
+ set maxHeightLaptop(e) {
428
+ m(this, "max-height--laptop", e);
429
+ }
430
+ get maxHeightDesktop() {
431
+ return this.getAttribute("max-height--desktop");
432
+ }
433
+ set maxHeightDesktop(e) {
434
+ m(this, "max-height--desktop", e);
341
435
  }
342
436
  get $el() {
343
437
  return this.shadowRoot.firstElementChild;
344
438
  }
345
439
  };
346
440
  customElements.get("px-stack") || customElements.define("px-stack", C);
347
- var w = (e) => e === "direction" || e.startsWith("direction--"), T = class extends C {
441
+ var w = (e) => e === "direction" || e.startsWith("direction--"), re = class extends C {
348
442
  get direction() {
349
443
  return "column";
350
444
  }
351
445
  set direction(e) {
352
- d(this, "direction", e);
446
+ m(this, "direction", e);
353
447
  }
354
448
  attributeChangedCallback(e, t, n) {
355
449
  w(e) || super.attributeChangedCallback(e, t, n);
356
450
  }
357
451
  };
358
- customElements.get("px-vstack") || customElements.define("px-vstack", T);
359
- var ee = class extends C {
452
+ customElements.get("px-vstack") || customElements.define("px-vstack", re);
453
+ var ie = class extends C {
360
454
  get direction() {
361
455
  return "row";
362
456
  }
363
457
  set direction(e) {
364
- d(this, "direction", e);
458
+ m(this, "direction", e);
365
459
  }
366
460
  attributeChangedCallback(e, t, n) {
367
461
  w(e) || super.attributeChangedCallback(e, t, n);
368
462
  }
369
463
  };
370
- customElements.get("px-hstack") || customElements.define("px-hstack", ee);
464
+ customElements.get("px-hstack") || customElements.define("px-hstack", ie);
371
465
  //#endregion
372
466
  //#region ../Layout/src/Spacer.ts
373
- var te = class extends HTMLElement {
467
+ var ae = class extends HTMLElement {
374
468
  constructor() {
375
469
  super(), this.isZeroSized = !1, this.growValue = "1", this.isVertical = !1;
376
470
  }
@@ -416,14 +510,14 @@ var te = class extends HTMLElement {
416
510
  e ? this.setAttribute("nogap", "") : this.removeAttribute("nogap");
417
511
  }
418
512
  };
419
- customElements.get("px-spacer") || customElements.define("px-spacer", te);
513
+ customElements.get("px-spacer") || customElements.define("px-spacer", ae);
420
514
  //#endregion
421
515
  //#region ../Layout/src/Page.css?inline
422
- var ne = ":host{box-sizing:border-box;display:block}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", E = new CSSStyleSheet();
423
- E.replaceSync(ne);
424
- var re = class extends n {
516
+ var oe = ":host{box-sizing:border-box;display:block}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", T = new CSSStyleSheet();
517
+ T.replaceSync(oe);
518
+ var E = class extends n {
425
519
  constructor() {
426
- super(E), this.template = () => `
520
+ super(T), this.template = () => `
427
521
  <px-container border-radius="none" padding="none">
428
522
  <px-vstack>
429
523
  <px-container id="header-container" border-radius="none">
@@ -516,7 +610,7 @@ var re = class extends n {
516
610
  </px-container>
517
611
  </px-vstack>
518
612
  </px-container>
519
- `, f(this.shadowRoot, this.template());
613
+ `, h(this.shadowRoot, this.template());
520
614
  }
521
615
  static get observedAttributes() {
522
616
  return [
@@ -603,29 +697,38 @@ var re = class extends n {
603
697
  this.$headerContainer.paddingLeft = e, this.$headerContainer.paddingRight = e, this.$bodyContainer.paddingLeft = e, this.$bodyContainer.paddingRight = e, this.$contactContainer.paddingLeft = e, this.$contactContainer.paddingRight = e, this.$footerContainer.paddingLeft = e, this.$footerContainer.paddingRight = e, this.$imageContainer.paddingLeft = e, this.$imageContainer.paddingRight = e;
604
698
  }
605
699
  };
606
- customElements.get("px-page") === void 0 && customElements.define("px-page", re);
700
+ customElements.get("px-page") === void 0 && customElements.define("px-page", E);
607
701
  //#endregion
608
702
  //#region ../ButtonIcon/src/buttonicon.css?inline
609
- var ie = ":host{display:inline-block}.btn-icon,.btn-icon *{box-sizing:border-box}.btn-icon{font-size:var(--px-font-size-base);width:var(--px-size-l);height:var(--px-size-l);vertical-align:middle;cursor:pointer;--btn-transition:all .2s ease-in-out 0s;transition:var(--btn-transition);background:var(--px-color-background-container-primary-default);color:var(--px-color-icon-brand-inverted);border-radius:var(--px-radius-pill);padding:var(--px-padding-xs-mobile);border:var(--px-size-border-m) solid transparent;justify-content:center;align-items:center;display:inline-flex}.btn-icon ::slotted(px-icon){line-height:0}.btn-icon:hover:not([disabled],[aria-disabled=true],.btn-icon--state-loading){background:var(--px-color-background-state-hover-bordered-default);color:var(--px-color-icon-brand-default);border-color:var(--px-color-border-state-hover-default)}.btn-icon:active:not([disabled],[aria-disabled=true],.btn-icon--state-loading){background:var(--px-color-background-state-active-inverted);color:var(--px-color-icon-state-active-default);border-color:var(--px-color-border-state-active-default)}.btn-icon:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}.btn-icon[disabled],.btn-icon[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-icon-state-disabled-default);cursor:default;pointer-events:none}.btn-icon.btn-icon--state-loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-icon-brand-default);cursor:inherit}.btn-icon--size-small{padding:var(--px-padding-2xs-mobile);width:var(--px-size-m);height:var(--px-size-m)}.btn-icon--variant-secondary{background-color:var(--px-color-background-container-secondary-default);color:var(--px-color-icon-brand-default)}.btn-icon--variant-naked{color:var(--px-color-icon-brand-default);background-color:#0000;width:auto;height:auto}:host([inverted]) .btn-icon{background:var(--px-color-background-container-primary-inverted);color:var(--px-color-icon-brand-default)}:host([inverted]) .btn-icon:hover:not([disabled],[aria-disabled=true],.btn-icon--state-loading){background:var(--px-color-background-state-hover-bordered-inverted);color:var(--px-color-icon-brand-inverted);border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn-icon:active:not([disabled],[aria-disabled=true],.btn-icon--state-loading){background:var(--px-color-background-state-hover-default);color:var(--px-color-icon-state-active-inverted);border-color:var(--px-color-border-state-active-inverted)}:host([inverted]) .btn-icon:focus-visible:not([disabled],[aria-disabled=true]){outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) .btn-icon[disabled],:host([inverted]) .btn-icon[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-icon-state-disabled-inverted)}:host([inverted]) .btn-icon.btn-icon--state-loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-icon-brand-inverted);border-color:#0000}:host([inverted]) .btn-icon.btn-icon--variant-naked{color:var(--px-color-icon-brand-inverted);background-color:#0000}:host([inverted]) .btn-icon--variant-secondary{background-color:var(--px-color-background-container-secondary-inverted);color:var(--px-color-icon-brand-inverted)}@media screen and (width>=48rem){.btn-icon{padding:var(--px-padding-xs-desktop)}.btn-icon:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn-icon--size-small{padding:var(--px-padding-2xs-desktop)}}@media screen and (width>=64.0625rem){.btn-icon{padding:var(--px-padding-xs-desktop)}.btn-icon:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn-icon--size-small{padding:var(--px-padding-2xs-desktop)}}", D = new CSSStyleSheet();
610
- D.replaceSync(ie);
611
- var O = [
703
+ var D = ":host{display:inline-block}.btn-icon,.btn-icon *{box-sizing:border-box}.btn-icon{font-size:var(--px-font-size-base);width:var(--px-size-l);height:var(--px-size-l);vertical-align:middle;cursor:pointer;--btn-transition:all .2s ease-in-out 0s;transition:var(--btn-transition);background:var(--px-color-background-container-primary-default);color:var(--px-color-icon-brand-inverted);border-radius:var(--px-radius-pill);padding:var(--px-padding-xs-mobile);border:var(--px-size-border-m) solid transparent;justify-content:center;align-items:center;display:inline-flex}.btn-icon ::slotted(px-icon){line-height:0}.btn-icon:hover:not([disabled],[aria-disabled=true],.btn-icon--state-loading){background:var(--px-color-background-state-hover-bordered-default);color:var(--px-color-icon-brand-default);border-color:var(--px-color-border-state-hover-default)}.btn-icon:active:not([disabled],[aria-disabled=true],.btn-icon--state-loading){background:var(--px-color-background-state-active-inverted);color:var(--px-color-icon-state-active-default);border-color:var(--px-color-border-state-active-default)}.btn-icon:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}.btn-icon[disabled],.btn-icon[aria-disabled=true]{background:var(--px-color-background-state-disabled-default);color:var(--px-color-icon-state-disabled-default);cursor:default;pointer-events:none}.btn-icon.btn-icon--state-loading{background:var(--px-color-background-state-disabled-default);color:var(--px-color-icon-brand-default);cursor:inherit}.btn-icon--size-small{padding:var(--px-padding-2xs-mobile);width:var(--px-size-m);height:var(--px-size-m)}.btn-icon--variant-secondary{background-color:var(--px-color-background-container-secondary-default);color:var(--px-color-icon-brand-default)}.btn-icon--variant-naked{color:var(--px-color-icon-brand-default);background-color:#0000;width:auto;height:auto}:host([inverted]) .btn-icon{background:var(--px-color-background-container-primary-inverted);color:var(--px-color-icon-brand-default)}:host([inverted]) .btn-icon:hover:not([disabled],[aria-disabled=true],.btn-icon--state-loading){background:var(--px-color-background-state-hover-bordered-inverted);color:var(--px-color-icon-brand-inverted);border-color:var(--px-color-border-state-hover-inverted)}:host([inverted]) .btn-icon:active:not([disabled],[aria-disabled=true],.btn-icon--state-loading){background:var(--px-color-background-state-hover-default);color:var(--px-color-icon-state-active-inverted);border-color:var(--px-color-border-state-active-inverted)}:host([inverted]) .btn-icon:focus-visible:not([disabled],[aria-disabled=true]){outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) .btn-icon[disabled],:host([inverted]) .btn-icon[aria-disabled=true]{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-icon-state-disabled-inverted)}:host([inverted]) .btn-icon.btn-icon--state-loading{background:var(--px-color-background-state-disabled-inverted);color:var(--px-color-icon-brand-inverted);border-color:#0000}:host([inverted]) .btn-icon.btn-icon--variant-naked{color:var(--px-color-icon-brand-inverted);background-color:#0000}:host([inverted]) .btn-icon--variant-secondary{background-color:var(--px-color-background-container-secondary-inverted);color:var(--px-color-icon-brand-inverted)}@media screen and (width>=48rem){.btn-icon{padding:var(--px-padding-xs-desktop)}.btn-icon:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn-icon--size-small{padding:var(--px-padding-2xs-desktop)}}@media screen and (width>=64.0625rem){.btn-icon{padding:var(--px-padding-xs-desktop)}.btn-icon:focus-visible:not([disabled],[aria-disabled=true]){outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}.btn-icon--size-small{padding:var(--px-padding-2xs-desktop)}}", O = new CSSStyleSheet();
704
+ O.replaceSync(D);
705
+ var k = [
612
706
  "",
613
707
  "default",
614
708
  "small"
615
- ], k = [
709
+ ], A = [
616
710
  "",
617
711
  "default",
618
712
  "secondary",
619
713
  "naked"
620
- ], A = class e extends t {
714
+ ], se = class e extends t {
621
715
  static {
622
716
  this.template = s("<button class=\"btn-icon\"><slot></slot></button>");
623
717
  }
624
718
  static {
625
719
  this.nativeName = "button";
626
720
  }
721
+ static {
722
+ this.nativeProperties = p;
723
+ }
724
+ static {
725
+ this.nativeMethods = f;
726
+ }
727
+ static {
728
+ this.nativeAttributes = d;
729
+ }
627
730
  constructor() {
628
- super(D), f(this.shadowRoot, e.template);
731
+ super(O), h(this.shadowRoot, e.template);
629
732
  }
630
733
  static get observedAttributes() {
631
734
  return [
@@ -661,7 +764,7 @@ var O = [
661
764
  case "aria-expanded":
662
765
  n && (this.$el.setAttribute("aria-expanded", n), this.removeAttribute("aria-expanded"));
663
766
  break;
664
- default: super.attributeChangedCallback(e, t, n);
767
+ default: r.includes(e) ? this._forwardNativeAttribute(e, n) : super.attributeChangedCallback(e, t, n);
665
768
  }
666
769
  }
667
770
  _toggleClass(e, t) {
@@ -671,10 +774,10 @@ var O = [
671
774
  this.$el.classList.toggle("btn-icon--state-loading");
672
775
  }
673
776
  updateSize(e, t) {
674
- this.checkName(O, t) ? (e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`btn-icon--size-${e}`), t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`btn-icon--size-${t}`)) : u(`"${t}" is not a valid size value for ${this.tagName.toLowerCase()}. Allowed values are: "${O.join("\", \"")}".`);
777
+ this.checkName(k, t) ? (e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`btn-icon--size-${e}`), t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`btn-icon--size-${t}`)) : u(`"${t}" is not a valid size value for ${this.tagName.toLowerCase()}. Allowed values are: "${k.join("\", \"")}".`);
675
778
  }
676
779
  updateVariant(e, t) {
677
- this.checkName(k, t) ? (e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`btn-icon--variant-${e}`), t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`btn-icon--variant-${t}`)) : u(`"${t}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${k.join("\", \"")}".`);
780
+ this.checkName(A, t) ? (e !== null && e !== "" && e !== "default" && this.$el.classList.toggle(`btn-icon--variant-${e}`), t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`btn-icon--variant-${t}`)) : u(`"${t}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${A.join("\", \"")}".`);
678
781
  }
679
782
  get inverted() {
680
783
  return this.hasAttribute("inverted");
@@ -707,10 +810,10 @@ var O = [
707
810
  this._updateAttribute("aria-expanded", e);
708
811
  }
709
812
  };
710
- customElements.get("px-button-icon") || customElements.define("px-button-icon", A);
813
+ customElements.get("px-button-icon") || customElements.define("px-button-icon", se);
711
814
  //#endregion
712
815
  //#region ../Icon/common/src/IconSet.ts
713
- var j = class extends HTMLElement {
816
+ var ce = class extends HTMLElement {
714
817
  constructor() {
715
818
  super();
716
819
  }
@@ -744,8 +847,8 @@ var j = class extends HTMLElement {
744
847
  e && e.remove();
745
848
  }
746
849
  };
747
- customElements.get("px-icon-set") || customElements.define("px-icon-set", j);
748
- var M = [
850
+ customElements.get("px-icon-set") || customElements.define("px-icon-set", ce);
851
+ var le = [
749
852
  "Inherit",
750
853
  "Brand",
751
854
  "Accent",
@@ -759,9 +862,9 @@ var M = [
759
862
  "StateHover",
760
863
  "StateActive",
761
864
  "StateDisabled"
762
- ].map((e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)), ae = ":host{flex-direction:column;justify-content:center;display:inline-flex}svg{font-size:var(--px-size-icon-s);width:1em;height:1em;color:var(--px-color-icon-accent-default);line-height:1}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}", N = new CSSStyleSheet();
763
- N.replaceSync(ae);
764
- var oe = class e extends n {
865
+ ].map((e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)), ue = ":host{flex-direction:column;justify-content:center;display:inline-flex}svg{font-size:var(--px-size-icon-s);width:1em;height:1em;color:var(--px-color-icon-accent-default);line-height:1}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}", j = new CSSStyleSheet();
866
+ j.replaceSync(ue);
867
+ var de = class e extends n {
765
868
  static {
766
869
  this.template = s("<svg aria-hidden=\"true\"><use></use></svg>");
767
870
  }
@@ -780,7 +883,7 @@ var oe = class e extends n {
780
883
  ];
781
884
  }
782
885
  constructor(...t) {
783
- super(...t, N), f(this.shadowRoot, e.template), this.#t = this.attachInternals?.(), this.#t && (this.#t.role = "img");
886
+ super(...t, j), h(this.shadowRoot, e.template), this.#t = this.attachInternals?.(), this.#t && (this.#t.role = "img");
784
887
  }
785
888
  attributeChangedCallback(e, t, n) {
786
889
  if (t !== n) switch (e) {
@@ -791,7 +894,7 @@ var oe = class e extends n {
791
894
  this.updateAttribute(e, t, n, l);
792
895
  break;
793
896
  case "color":
794
- this.updateAttribute(e, t, n, M);
897
+ this.updateAttribute(e, t, n, le);
795
898
  break;
796
899
  case "disabled":
797
900
  this.color = "state-disabled";
@@ -821,25 +924,25 @@ var oe = class e extends n {
821
924
  return this.getAttribute("name");
822
925
  }
823
926
  set name(e) {
824
- d(this, "name", e);
927
+ m(this, "name", e);
825
928
  }
826
929
  get size() {
827
930
  return this.getAttribute("size");
828
931
  }
829
932
  set size(e) {
830
- d(this, "size", e);
933
+ m(this, "size", e);
831
934
  }
832
935
  get color() {
833
936
  return this.getAttribute("color");
834
937
  }
835
938
  set color(e) {
836
- d(this, "color", e);
939
+ m(this, "color", e);
837
940
  }
838
941
  get arialabel() {
839
942
  return this.getAttribute("aria-label");
840
943
  }
841
944
  set arialabel(e) {
842
- d(this, "aria-label", e);
945
+ m(this, "aria-label", e);
843
946
  }
844
947
  get inverted() {
845
948
  return this.hasAttribute("inverted");
@@ -851,7 +954,7 @@ var oe = class e extends n {
851
954
  return this.getAttribute("from");
852
955
  }
853
956
  set from(e) {
854
- d(this, "from", e);
957
+ m(this, "from", e);
855
958
  }
856
959
  get disabled() {
857
960
  return this.hasAttribute("disabled");
@@ -860,18 +963,18 @@ var oe = class e extends n {
860
963
  a(this, "disabled", e);
861
964
  }
862
965
  };
863
- customElements.get("px-icon") || customElements.define("px-icon", oe);
966
+ customElements.get("px-icon") || customElements.define("px-icon", de);
864
967
  //#endregion
865
968
  //#region src/appleseed.css?inline
866
- var se = ":host{--px-appleseed-size-l:14px;--px-appleseed-size-m:10px;--px-appleseed-size-s:6px;--px-appleseed-size-xs:4px}.container{display:flex}:is(.container:has(#seed-0.appleseed-6-plus[active]),.container:has(#seed-1.appleseed-6-plus[active])) :nth-child(4)>div{width:var(--px-appleseed-size-s);height:var(--px-appleseed-size-s)}:is(.container:has(#seed-0.appleseed-6-plus[active]),.container:has(#seed-1.appleseed-6-plus[active])) :nth-child(5)>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}:is(.container:has(#seed-2.appleseed-6-plus[active]) :nth-child(2),.container:has(#seed-2.appleseed-6-plus[active]) :nth-child(4))>div{width:var(--px-appleseed-size-s);height:var(--px-appleseed-size-s)}:is(.container:has(#seed-2.appleseed-6-plus[active]) :first-child,.container:has(#seed-2.appleseed-6-plus[active]) :nth-child(5))>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}.container:has(#seed-3.appleseed-6-plus[active]) :first-child>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}.container:has(#seed-3.appleseed-6-plus[active]) :nth-child(2)>div{width:var(--px-appleseed-size-s);height:var(--px-appleseed-size-s)}.container:has(#seed-3.appleseed-6-plus[active]) :nth-child(5)>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}.container:has(#seed-4.appleseed-6-plus[active]) :first-child>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}.container:has(#seed-4.appleseed-6-plus[active]) :nth-child(2)>div{width:var(--px-appleseed-size-s);height:var(--px-appleseed-size-s)}.appleseed{width:var(--px-size-icon-m);height:var(--px-size-icon-m);justify-content:center;align-items:center;display:flex}@media screen and (width<=47.938rem){.appleseed{width:var(--px-size-icon-s);height:var(--px-size-icon-s)}}:is(.appleseed-6-plus,.appleseed-6-minus)>div{box-shadow:inset 0 0 0 var(--px-size-border-s) var(--px-color-border-brand-default);border-radius:var(--px-radius-main);height:var(--px-appleseed-size-m);width:var(--px-appleseed-size-m)}:is(.appleseed-6-plus,.appleseed-6-minus)[active]>div{width:var(--px-appleseed-size-l);height:var(--px-appleseed-size-l);background-color:var(--px-color-icon-brand-default)}", P = new CSSStyleSheet();
867
- P.replaceSync(se);
868
- var F = class extends HTMLElement {
969
+ var fe = ":host{--px-appleseed-size-l:14px;--px-appleseed-size-m:10px;--px-appleseed-size-s:6px;--px-appleseed-size-xs:4px}.container{display:flex}:is(.container:has(#seed-0.appleseed-6-plus[active]),.container:has(#seed-1.appleseed-6-plus[active])) :nth-child(4)>div{width:var(--px-appleseed-size-s);height:var(--px-appleseed-size-s)}:is(.container:has(#seed-0.appleseed-6-plus[active]),.container:has(#seed-1.appleseed-6-plus[active])) :nth-child(5)>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}:is(.container:has(#seed-2.appleseed-6-plus[active]) :nth-child(2),.container:has(#seed-2.appleseed-6-plus[active]) :nth-child(4))>div{width:var(--px-appleseed-size-s);height:var(--px-appleseed-size-s)}:is(.container:has(#seed-2.appleseed-6-plus[active]) :first-child,.container:has(#seed-2.appleseed-6-plus[active]) :nth-child(5))>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}.container:has(#seed-3.appleseed-6-plus[active]) :first-child>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}.container:has(#seed-3.appleseed-6-plus[active]) :nth-child(2)>div{width:var(--px-appleseed-size-s);height:var(--px-appleseed-size-s)}.container:has(#seed-3.appleseed-6-plus[active]) :nth-child(5)>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}.container:has(#seed-4.appleseed-6-plus[active]) :first-child>div{width:var(--px-appleseed-size-xs);height:var(--px-appleseed-size-xs)}.container:has(#seed-4.appleseed-6-plus[active]) :nth-child(2)>div{width:var(--px-appleseed-size-s);height:var(--px-appleseed-size-s)}.appleseed{width:var(--px-size-icon-m);height:var(--px-size-icon-m);justify-content:center;align-items:center;display:flex}@media screen and (width<=47.938rem){.appleseed{width:var(--px-size-icon-s);height:var(--px-size-icon-s)}}:is(.appleseed-6-plus,.appleseed-6-minus)>div{box-shadow:inset 0 0 0 var(--px-size-border-s) var(--px-color-border-brand-default);border-radius:var(--px-radius-main);height:var(--px-appleseed-size-m);width:var(--px-appleseed-size-m)}:is(.appleseed-6-plus,.appleseed-6-minus)[active]>div{width:var(--px-appleseed-size-l);height:var(--px-appleseed-size-l);background-color:var(--px-color-icon-brand-default)}", M = new CSSStyleSheet();
970
+ M.replaceSync(fe);
971
+ var N = class extends HTMLElement {
869
972
  constructor() {
870
973
  super(), this.template = (e, t) => `<div class="container">
871
974
  ${Array.from({ length: Math.min(e, 5) }, (n, r) => `<div id="seed-${r}" ${t === r ? "active" : ""} class="appleseed ${e > 5 ? "appleseed-6-plus" : "appleseed-6-minus"}">
872
975
  <div></div>
873
976
  </div>`).join("")}
874
- </div>`, this.attachShadow({ mode: "open" }), this.shadowRoot.adoptedStyleSheets = [P], this.shadowRoot.innerHTML = this.template(this.amount, this.active);
977
+ </div>`, this.attachShadow({ mode: "open" }), this.shadowRoot.adoptedStyleSheets = [M], this.shadowRoot.innerHTML = this.template(this.amount, this.active);
875
978
  }
876
979
  static get observedAttributes() {
877
980
  return ["amount", "active"];
@@ -897,16 +1000,16 @@ var F = class extends HTMLElement {
897
1000
  return parseInt(this.getAttribute("active") ?? "0") || 0;
898
1001
  }
899
1002
  };
900
- customElements.get("px-appleseed") || customElements.define("px-appleseed", F);
1003
+ customElements.get("px-appleseed") || customElements.define("px-appleseed", N);
901
1004
  //#endregion
902
1005
  //#region ../../../node_modules/lodash-es/isObject.js
903
- function I(e) {
1006
+ function P(e) {
904
1007
  var t = typeof e;
905
1008
  return e != null && (t == "object" || t == "function");
906
1009
  }
907
1010
  //#endregion
908
1011
  //#region ../../../node_modules/lodash-es/_freeGlobal.js
909
- var ce = typeof global == "object" && global && global.Object === Object && global, le = typeof self == "object" && self && self.Object === Object && self, L = ce || le || Function("return this")(), R = function() {
1012
+ var F = typeof global == "object" && global && global.Object === Object && global, I = typeof self == "object" && self && self.Object === Object && self, L = F || I || Function("return this")(), R = function() {
910
1013
  return L.Date.now();
911
1014
  }, z = /\s/;
912
1015
  function B(e) {
@@ -916,66 +1019,66 @@ function B(e) {
916
1019
  //#endregion
917
1020
  //#region ../../../node_modules/lodash-es/_baseTrim.js
918
1021
  var V = /^\s+/;
919
- function H(e) {
1022
+ function pe(e) {
920
1023
  return e && e.slice(0, B(e) + 1).replace(V, "");
921
1024
  }
922
1025
  //#endregion
923
1026
  //#region ../../../node_modules/lodash-es/_Symbol.js
924
- var U = L.Symbol, W = Object.prototype, ue = W.hasOwnProperty, de = W.toString, G = U ? U.toStringTag : void 0;
925
- function fe(e) {
926
- var t = ue.call(e, G), n = e[G];
1027
+ var H = L.Symbol, U = Object.prototype, me = U.hasOwnProperty, he = U.toString, W = H ? H.toStringTag : void 0;
1028
+ function ge(e) {
1029
+ var t = me.call(e, W), n = e[W];
927
1030
  try {
928
- e[G] = void 0;
1031
+ e[W] = void 0;
929
1032
  var r = !0;
930
1033
  } catch {}
931
- var i = de.call(e);
932
- return r && (t ? e[G] = n : delete e[G]), i;
1034
+ var i = he.call(e);
1035
+ return r && (t ? e[W] = n : delete e[W]), i;
933
1036
  }
934
1037
  //#endregion
935
1038
  //#region ../../../node_modules/lodash-es/_objectToString.js
936
- var pe = Object.prototype.toString;
937
- function me(e) {
938
- return pe.call(e);
1039
+ var _e = Object.prototype.toString;
1040
+ function ve(e) {
1041
+ return _e.call(e);
939
1042
  }
940
1043
  //#endregion
941
1044
  //#region ../../../node_modules/lodash-es/_baseGetTag.js
942
- var he = "[object Null]", ge = "[object Undefined]", K = U ? U.toStringTag : void 0;
943
- function _e(e) {
944
- return e == null ? e === void 0 ? ge : he : K && K in Object(e) ? fe(e) : me(e);
1045
+ var ye = "[object Null]", be = "[object Undefined]", G = H ? H.toStringTag : void 0;
1046
+ function xe(e) {
1047
+ return e == null ? e === void 0 ? be : ye : G && G in Object(e) ? ge(e) : ve(e);
945
1048
  }
946
1049
  //#endregion
947
1050
  //#region ../../../node_modules/lodash-es/isObjectLike.js
948
- function ve(e) {
1051
+ function Se(e) {
949
1052
  return typeof e == "object" && !!e;
950
1053
  }
951
1054
  //#endregion
952
1055
  //#region ../../../node_modules/lodash-es/isSymbol.js
953
- var ye = "[object Symbol]";
954
- function be(e) {
955
- return typeof e == "symbol" || ve(e) && _e(e) == ye;
1056
+ var Ce = "[object Symbol]";
1057
+ function we(e) {
1058
+ return typeof e == "symbol" || Se(e) && xe(e) == Ce;
956
1059
  }
957
1060
  //#endregion
958
1061
  //#region ../../../node_modules/lodash-es/toNumber.js
959
- var q = NaN, xe = /^[-+]0x[0-9a-f]+$/i, Se = /^0b[01]+$/i, Ce = /^0o[0-7]+$/i, we = parseInt;
960
- function J(e) {
1062
+ var K = NaN, Te = /^[-+]0x[0-9a-f]+$/i, Ee = /^0b[01]+$/i, De = /^0o[0-7]+$/i, Oe = parseInt;
1063
+ function q(e) {
961
1064
  if (typeof e == "number") return e;
962
- if (be(e)) return q;
963
- if (I(e)) {
1065
+ if (we(e)) return K;
1066
+ if (P(e)) {
964
1067
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
965
- e = I(t) ? t + "" : t;
1068
+ e = P(t) ? t + "" : t;
966
1069
  }
967
1070
  if (typeof e != "string") return e === 0 ? e : +e;
968
- e = H(e);
969
- var n = Se.test(e);
970
- return n || Ce.test(e) ? we(e.slice(2), n ? 2 : 8) : xe.test(e) ? q : +e;
1071
+ e = pe(e);
1072
+ var n = Ee.test(e);
1073
+ return n || De.test(e) ? Oe(e.slice(2), n ? 2 : 8) : Te.test(e) ? K : +e;
971
1074
  }
972
1075
  //#endregion
973
1076
  //#region ../../../node_modules/lodash-es/debounce.js
974
- var Te = "Expected a function", Ee = Math.max, De = Math.min;
975
- function Oe(e, t, n) {
1077
+ var ke = "Expected a function", Ae = Math.max, je = Math.min;
1078
+ function Me(e, t, n) {
976
1079
  var r, i, a, o, s, c, l = 0, u = !1, d = !1, f = !0;
977
- if (typeof e != "function") throw TypeError(Te);
978
- t = J(t) || 0, I(n) && (u = !!n.leading, d = "maxWait" in n, a = d ? Ee(J(n.maxWait) || 0, t) : a, f = "trailing" in n ? !!n.trailing : f);
1080
+ if (typeof e != "function") throw TypeError(ke);
1081
+ t = q(t) || 0, P(n) && (u = !!n.leading, d = "maxWait" in n, a = d ? Ae(q(n.maxWait) || 0, t) : a, f = "trailing" in n ? !!n.trailing : f);
979
1082
  function p(t) {
980
1083
  var n = r, a = i;
981
1084
  return r = i = void 0, l = t, o = e.apply(a, n), o;
@@ -985,7 +1088,7 @@ function Oe(e, t, n) {
985
1088
  }
986
1089
  function h(e) {
987
1090
  var n = e - c, r = e - l, i = t - n;
988
- return d ? De(i, a - r) : i;
1091
+ return d ? je(i, a - r) : i;
989
1092
  }
990
1093
  function g(e) {
991
1094
  var n = e - c, r = e - l;
@@ -1017,11 +1120,11 @@ function Oe(e, t, n) {
1017
1120
  }
1018
1121
  //#endregion
1019
1122
  //#region ../../../node_modules/lodash-es/throttle.js
1020
- var ke = "Expected a function";
1021
- function Ae(e, t, n) {
1123
+ var J = "Expected a function";
1124
+ function Ne(e, t, n) {
1022
1125
  var r = !0, i = !0;
1023
- if (typeof e != "function") throw TypeError(ke);
1024
- return I(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Oe(e, t, {
1126
+ if (typeof e != "function") throw TypeError(J);
1127
+ return P(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Me(e, t, {
1025
1128
  leading: r,
1026
1129
  maxWait: t,
1027
1130
  trailing: i
@@ -1030,7 +1133,7 @@ function Ae(e, t, n) {
1030
1133
  //#endregion
1031
1134
  //#region src/Carousel.ts
1032
1135
  var Y = new CSSStyleSheet();
1033
- Y.replaceSync(p);
1136
+ Y.replaceSync(g);
1034
1137
  var X = "px-carousel-item-connected", Z = class e extends HTMLElement {
1035
1138
  static {
1036
1139
  this.template = s("<px-vstack gap=\"default\"><div class=\"carousel\"><slot></slot></div><px-hstack\n id=\"appleseed-container\"\n justify-content=\"space-between\"\n justify-content--mobile=\"center\"\n ><px-appleseed active=\"0\"></px-appleseed><px-hstack id=\"button-icons\" gap=\"default\"><px-button-icon disabled id=\"previous\" aria-hidden=\"true\"><px-icon name=\"chevron_left\" from=\"lavender\"></px-icon></px-button-icon><px-button-icon id=\"next\" aria-hidden=\"true\"><px-icon name=\"chevron_right\" from=\"lavender\"></px-icon></px-button-icon></px-hstack></px-hstack></px-vstack>");
@@ -1041,12 +1144,12 @@ var X = "px-carousel-item-connected", Z = class e extends HTMLElement {
1041
1144
  r = window.innerWidth < 768 ? Math.round(e / (t - n) * (this.itemNumbers - 1)) : Math.ceil(e + n) + 10 >= t ? this.itemNumbers - 1 : Math.floor(e / this.$firstItem.offsetWidth + 1) - 1;
1042
1145
  let i = r;
1043
1146
  this.itemNumbers > 5 && (r > 2 && r < this.itemNumbers - 2 ? i = 2 : r === this.itemNumbers - 2 ? i = 3 : r === this.itemNumbers - 1 && (i = 4)), this.$appleseed.setAttribute("active", `${i}`), this.handleNextPrevious();
1044
- }, this.attachShadow({ mode: "open" }), f(this.shadowRoot, e.template), this.shadowRoot.adoptedStyleSheets = [Y];
1147
+ }, this.attachShadow({ mode: "open" }), h(this.shadowRoot, e.template), this.shadowRoot.adoptedStyleSheets = [Y];
1045
1148
  }
1046
1149
  connectedCallback() {
1047
1150
  this.addEventListener(X, () => {
1048
1151
  this.#e();
1049
- }), this.#e(), this.$carousel.addEventListener("scroll", Ae(this.onScroll, 500)), this.$previous.addEventListener("click", () => {
1152
+ }), this.#e(), this.$carousel.addEventListener("scroll", Ne(this.onScroll, 500)), this.$previous.addEventListener("click", () => {
1050
1153
  this.$carousel.scrollLeft -= this.$carousel.clientWidth;
1051
1154
  }), this.$next.addEventListener("click", () => {
1052
1155
  this.$carousel.scrollLeft += this.$carousel.clientWidth;
@@ -1093,13 +1196,13 @@ var X = "px-carousel-item-connected", Z = class e extends HTMLElement {
1093
1196
  };
1094
1197
  customElements.get("px-carousel") || customElements.define("px-carousel", Z);
1095
1198
  var Q = new CSSStyleSheet();
1096
- Q.replaceSync(m);
1199
+ Q.replaceSync(_);
1097
1200
  var $ = class e extends HTMLElement {
1098
1201
  static {
1099
1202
  this.template = s("<div class=\"carousel-item\"><slot></slot></div>");
1100
1203
  }
1101
1204
  constructor() {
1102
- super(), this.attachShadow({ mode: "open" }), f(this.shadowRoot, e.template), this.shadowRoot.adoptedStyleSheets = [Q];
1205
+ super(), this.attachShadow({ mode: "open" }), h(this.shadowRoot, e.template), this.shadowRoot.adoptedStyleSheets = [Q];
1103
1206
  }
1104
1207
  connectedCallback() {
1105
1208
  this.dispatchEvent(new CustomEvent(X, {
@@ -1110,4 +1213,4 @@ var $ = class e extends HTMLElement {
1110
1213
  };
1111
1214
  customElements.get("px-carousel-item") || customElements.define("px-carousel-item", $);
1112
1215
  //#endregion
1113
- export { F as AppleSeed, X as CAROUSEL_ITEM_CONNECTED_EVENT, Z as Carousel, $ as CarouselItem };
1216
+ export { N as AppleSeed, X as CAROUSEL_ITEM_CONNECTED_EVENT, Z as Carousel, $ as CarouselItem };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@proximus/lavender-carousel",
4
- "version": "2.0.0-alpha.227",
4
+ "version": "2.0.0-alpha.229",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-carousel",
3
- "version": "2.0.0-alpha.227",
3
+ "version": "2.0.0-alpha.229",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",