@proximus/lavender-carousel 1.4.19-beta.2 → 1.4.20-alpha.10
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 +371 -155
- package/dist/web-types.json +4 -4
- package/package.json +1 -1
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,
|
|
2
|
-
|
|
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<=47.938rem){.carousel{gap:var(--px-carousel-gap-default--mobile,var(--px-carousel-gap-default))}}@media screen and (width>=48rem) 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<=47.938rem){#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<=47.938rem){: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>=48rem) 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
|
-
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
var
|
|
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
|
+
//#region src/carousel.css?inline
|
|
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<=47.938rem){.carousel{gap:var(--px-carousel-gap-default--mobile,var(--px-carousel-gap-default))}}@media screen and (width>=48rem) 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<=47.938rem){#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<=47.938rem){: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>=48rem) 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{--flex-min-width--mobile-value:auto;--flex-min-width--tablet-value:auto;--flex-min-width--laptop-value:auto;--flex-min-width--desktop-value:auto;--flex-max-width--mobile-value:none;--flex-max-width--tablet-value:none;--flex-max-width--laptop-value:none;--flex-max-width--desktop-value:none;min-width:var(--flex-min-width--mobile-value);max-width:var(--flex-max-width--mobile-value);--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){:host{min-width:var(--flex-min-width--tablet-value);max-width:var(--flex-max-width--tablet-value)}.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){:host{min-width:var(--flex-min-width--laptop-value);max-width:var(--flex-max-width--laptop-value)}.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){:host{min-width:var(--flex-min-width--desktop-value);max-width:var(--flex-max-width--desktop-value)}.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
|
-
],
|
|
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
|
-
],
|
|
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
|
-
],
|
|
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(
|
|
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,27 @@ 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",
|
|
95
|
+
"min-width",
|
|
96
|
+
"min-width--mobile",
|
|
97
|
+
"min-width--tablet",
|
|
98
|
+
"min-width--laptop",
|
|
99
|
+
"min-width--desktop",
|
|
100
|
+
"max-width",
|
|
101
|
+
"max-width--mobile",
|
|
102
|
+
"max-width--tablet",
|
|
103
|
+
"max-width--laptop",
|
|
104
|
+
"max-width--desktop"
|
|
85
105
|
];
|
|
86
106
|
}
|
|
87
107
|
attributeChangedCallback(e, t, n) {
|
|
@@ -98,28 +118,52 @@ var v = [
|
|
|
98
118
|
case "justify-content--tablet":
|
|
99
119
|
case "justify-content--laptop":
|
|
100
120
|
case "justify-content--desktop":
|
|
101
|
-
this.updateFlexProperties(e, t, n,
|
|
121
|
+
this.updateFlexProperties(e, t, n, te);
|
|
102
122
|
break;
|
|
103
123
|
case "align-items":
|
|
104
124
|
case "align-items--mobile":
|
|
105
125
|
case "align-items--tablet":
|
|
106
126
|
case "align-items--laptop":
|
|
107
127
|
case "align-items--desktop":
|
|
108
|
-
this.updateFlexProperties(e, t, n,
|
|
128
|
+
this.updateFlexProperties(e, t, n, ee);
|
|
109
129
|
break;
|
|
110
130
|
case "wrap":
|
|
111
131
|
case "wrap--mobile":
|
|
112
132
|
case "wrap--tablet":
|
|
113
133
|
case "wrap--laptop":
|
|
114
134
|
case "wrap--desktop":
|
|
115
|
-
this.updateFlexProperties(e, t, n,
|
|
135
|
+
this.updateFlexProperties(e, t, n, ne);
|
|
116
136
|
break;
|
|
117
137
|
case "direction":
|
|
118
138
|
case "direction--mobile":
|
|
119
139
|
case "direction--tablet":
|
|
120
140
|
case "direction--laptop":
|
|
121
141
|
case "direction--desktop":
|
|
122
|
-
this.updateFlexProperties(e, t, n,
|
|
142
|
+
this.updateFlexProperties(e, t, n, x), this.updateVerticalStyles();
|
|
143
|
+
break;
|
|
144
|
+
case "min-width":
|
|
145
|
+
case "min-width--mobile":
|
|
146
|
+
case "min-width--tablet":
|
|
147
|
+
case "min-width--laptop":
|
|
148
|
+
case "min-width--desktop":
|
|
149
|
+
case "max-width":
|
|
150
|
+
case "max-width--mobile":
|
|
151
|
+
case "max-width--tablet":
|
|
152
|
+
case "max-width--laptop":
|
|
153
|
+
case "max-width--desktop":
|
|
154
|
+
n && !CSS.supports(e.split("--")[0], n) && u(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateFlexProperties(e, t, n);
|
|
155
|
+
break;
|
|
156
|
+
case "overflow-y":
|
|
157
|
+
case "overflow-y--mobile":
|
|
158
|
+
case "overflow-y--tablet":
|
|
159
|
+
case "overflow-y--laptop":
|
|
160
|
+
case "overflow-y--desktop":
|
|
161
|
+
case "max-height":
|
|
162
|
+
case "max-height--mobile":
|
|
163
|
+
case "max-height--tablet":
|
|
164
|
+
case "max-height--laptop":
|
|
165
|
+
case "max-height--desktop":
|
|
166
|
+
n && !this.isValidVerticalValue(e, n) && u(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateVerticalStyles();
|
|
123
167
|
break;
|
|
124
168
|
case "overflow-x":
|
|
125
169
|
case "overflow-x--mobile":
|
|
@@ -131,11 +175,27 @@ var v = [
|
|
|
131
175
|
default: super.attributeChangedCallback(e, t, n);
|
|
132
176
|
}
|
|
133
177
|
}
|
|
178
|
+
isValidVerticalValue(e, t) {
|
|
179
|
+
return e.startsWith("overflow-y") ? S.includes(t) : CSS.supports("max-height", t);
|
|
180
|
+
}
|
|
181
|
+
updateVerticalStyles() {
|
|
182
|
+
for (let e of t.breakpoints) {
|
|
183
|
+
let t = this.localName === "px-stack" && this.getAttribute(`direction--${e}`) || this.direction, n = t === "column" || t === "column-reverse";
|
|
184
|
+
for (let t of ["overflow-y", "max-height"]) {
|
|
185
|
+
let r = this.getAttribute(`${t}--${e}`) || this.getAttribute(t);
|
|
186
|
+
this.updateStyle(t, e, n && r && this.isValidVerticalValue(t, r) ? r : null);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
134
190
|
updateOverflowX(e, t, n, r) {
|
|
135
|
-
o(r, n)
|
|
191
|
+
if (!o(r, n)) {
|
|
192
|
+
u(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
195
|
+
this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n);
|
|
136
196
|
}
|
|
137
197
|
updateFlexProperties(e, n, r, i) {
|
|
138
|
-
r !== null && !this.checkName(i, r) && u(`"${r}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
198
|
+
i && r !== null && !this.checkName(i, r) && u(`"${r}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
139
199
|
let a = e.indexOf("--");
|
|
140
200
|
if (a === -1) for (let n of t.breakpoints) this.getAttribute(`${e}--${n}`) || this.updateStyle(e, n, r, i);
|
|
141
201
|
else {
|
|
@@ -144,12 +204,15 @@ var v = [
|
|
|
144
204
|
}
|
|
145
205
|
}
|
|
146
206
|
updateStyle(e, t, n, r) {
|
|
147
|
-
let i = `--flex-${e}--${t}-value`, a = e === "gap";
|
|
148
|
-
if (
|
|
149
|
-
|
|
207
|
+
let i = `--flex-${e}--${t}-value`, a = e === "gap", o = e === "min-width" || e === "max-width", s = o ? this : this.$el;
|
|
208
|
+
if (o && n && !CSS.supports(e, n) && (n = null), !n) {
|
|
209
|
+
s.style.removeProperty(i), a && this.style.removeProperty(`--host-gap--${t}`);
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
if (a && r && r.includes(n)) {
|
|
150
213
|
let e = `var(--px-spacing-${n}-${t === "laptop" ? "desktop" : t})`;
|
|
151
214
|
this.$el.style.setProperty(i, e), this.style.setProperty(`--host-gap--${t}`, e);
|
|
152
|
-
} else
|
|
215
|
+
} else s.style.setProperty(i, n);
|
|
153
216
|
}
|
|
154
217
|
static {
|
|
155
218
|
this.breakpoints = [
|
|
@@ -163,213 +226,334 @@ var v = [
|
|
|
163
226
|
return this.getAttribute("direction") ?? "row";
|
|
164
227
|
}
|
|
165
228
|
set direction(e) {
|
|
166
|
-
|
|
229
|
+
m(this, "direction", e);
|
|
167
230
|
}
|
|
168
231
|
get directionMobile() {
|
|
169
232
|
return this.getAttribute("direction--mobile");
|
|
170
233
|
}
|
|
171
234
|
set directionMobile(e) {
|
|
172
|
-
|
|
235
|
+
m(this, "direction--mobile", e);
|
|
173
236
|
}
|
|
174
237
|
get directionTablet() {
|
|
175
238
|
return this.getAttribute("direction--tablet");
|
|
176
239
|
}
|
|
177
240
|
set directionTablet(e) {
|
|
178
|
-
|
|
241
|
+
m(this, "direction--tablet", e);
|
|
179
242
|
}
|
|
180
243
|
get directionLaptop() {
|
|
181
244
|
return this.getAttribute("direction--laptop");
|
|
182
245
|
}
|
|
183
246
|
set directionLaptop(e) {
|
|
184
|
-
|
|
247
|
+
m(this, "direction--laptop", e);
|
|
185
248
|
}
|
|
186
249
|
get directionDesktop() {
|
|
187
250
|
return this.getAttribute("direction--desktop");
|
|
188
251
|
}
|
|
189
252
|
set directionDesktop(e) {
|
|
190
|
-
|
|
253
|
+
m(this, "direction--desktop", e);
|
|
191
254
|
}
|
|
192
255
|
get gap() {
|
|
193
256
|
return this.getAttribute("gap") ?? "none";
|
|
194
257
|
}
|
|
195
258
|
set gap(e) {
|
|
196
|
-
|
|
259
|
+
m(this, "gap", e);
|
|
197
260
|
}
|
|
198
261
|
get gapMobile() {
|
|
199
262
|
return this.getAttribute("gap--mobile");
|
|
200
263
|
}
|
|
201
264
|
set gapMobile(e) {
|
|
202
|
-
|
|
265
|
+
m(this, "gap--mobile", e);
|
|
203
266
|
}
|
|
204
267
|
get gapTablet() {
|
|
205
268
|
return this.getAttribute("gap--tablet");
|
|
206
269
|
}
|
|
207
270
|
set gapTablet(e) {
|
|
208
|
-
|
|
271
|
+
m(this, "gap--tablet", e);
|
|
209
272
|
}
|
|
210
273
|
get gapLaptop() {
|
|
211
274
|
return this.getAttribute("gap--laptop");
|
|
212
275
|
}
|
|
213
276
|
set gapLaptop(e) {
|
|
214
|
-
|
|
277
|
+
m(this, "gap--laptop", e);
|
|
215
278
|
}
|
|
216
279
|
get gapDesktop() {
|
|
217
280
|
return this.getAttribute("gap--desktop");
|
|
218
281
|
}
|
|
219
282
|
set gapDesktop(e) {
|
|
220
|
-
|
|
283
|
+
m(this, "gap--desktop", e);
|
|
221
284
|
}
|
|
222
285
|
get justifyContent() {
|
|
223
286
|
return this.getAttribute("justify-content") ?? "flex-start";
|
|
224
287
|
}
|
|
225
288
|
set justifyContent(e) {
|
|
226
|
-
|
|
289
|
+
m(this, "justify-content", e);
|
|
227
290
|
}
|
|
228
291
|
get justifyContentMobile() {
|
|
229
292
|
return this.getAttribute("justify-content--mobile");
|
|
230
293
|
}
|
|
231
294
|
set justifyContentMobile(e) {
|
|
232
|
-
|
|
295
|
+
m(this, "justify-content--mobile", e);
|
|
233
296
|
}
|
|
234
297
|
get justifyContentTablet() {
|
|
235
298
|
return this.getAttribute("justify-content--tablet");
|
|
236
299
|
}
|
|
237
300
|
set justifyContentTablet(e) {
|
|
238
|
-
|
|
301
|
+
m(this, "justify-content--tablet", e);
|
|
239
302
|
}
|
|
240
303
|
get justifyContentLaptop() {
|
|
241
304
|
return this.getAttribute("justify-content--laptop");
|
|
242
305
|
}
|
|
243
306
|
set justifyContentLaptop(e) {
|
|
244
|
-
|
|
307
|
+
m(this, "justify-content--laptop", e);
|
|
245
308
|
}
|
|
246
309
|
get justifyContentDesktop() {
|
|
247
310
|
return this.getAttribute("justify-content--desktop");
|
|
248
311
|
}
|
|
249
312
|
set justifyContentDesktop(e) {
|
|
250
|
-
|
|
313
|
+
m(this, "justify-content--desktop", e);
|
|
251
314
|
}
|
|
252
315
|
get alignItems() {
|
|
253
316
|
return this.getAttribute("align-items") ?? "stretch";
|
|
254
317
|
}
|
|
255
318
|
set alignItems(e) {
|
|
256
|
-
|
|
319
|
+
m(this, "align-items", e);
|
|
257
320
|
}
|
|
258
321
|
get alignItemsMobile() {
|
|
259
322
|
return this.getAttribute("align-items--mobile");
|
|
260
323
|
}
|
|
261
324
|
set alignItemsMobile(e) {
|
|
262
|
-
|
|
325
|
+
m(this, "align-items--mobile", e);
|
|
263
326
|
}
|
|
264
327
|
get alignItemsTablet() {
|
|
265
328
|
return this.getAttribute("align-items--tablet");
|
|
266
329
|
}
|
|
267
330
|
set alignItemsTablet(e) {
|
|
268
|
-
|
|
331
|
+
m(this, "align-items--tablet", e);
|
|
269
332
|
}
|
|
270
333
|
get alignItemsLaptop() {
|
|
271
334
|
return this.getAttribute("align-items--laptop");
|
|
272
335
|
}
|
|
273
336
|
set alignItemsLaptop(e) {
|
|
274
|
-
|
|
337
|
+
m(this, "align-items--laptop", e);
|
|
275
338
|
}
|
|
276
339
|
get alignItemsDesktop() {
|
|
277
340
|
return this.getAttribute("align-items--desktop");
|
|
278
341
|
}
|
|
279
342
|
set alignItemsDesktop(e) {
|
|
280
|
-
|
|
343
|
+
m(this, "align-items--desktop", e);
|
|
281
344
|
}
|
|
282
345
|
get wrap() {
|
|
283
346
|
return this.getAttribute("wrap") ?? "nowrap";
|
|
284
347
|
}
|
|
285
348
|
set wrap(e) {
|
|
286
|
-
|
|
349
|
+
m(this, "wrap", e);
|
|
287
350
|
}
|
|
288
351
|
get wrapMobile() {
|
|
289
352
|
return this.getAttribute("wrap--mobile");
|
|
290
353
|
}
|
|
291
354
|
set wrapMobile(e) {
|
|
292
|
-
|
|
355
|
+
m(this, "wrap--mobile", e);
|
|
293
356
|
}
|
|
294
357
|
get wrapTablet() {
|
|
295
358
|
return this.getAttribute("wrap--tablet");
|
|
296
359
|
}
|
|
297
360
|
set wrapTablet(e) {
|
|
298
|
-
|
|
361
|
+
m(this, "wrap--tablet", e);
|
|
299
362
|
}
|
|
300
363
|
get wrapLaptop() {
|
|
301
364
|
return this.getAttribute("wrap--laptop");
|
|
302
365
|
}
|
|
303
366
|
set wrapLaptop(e) {
|
|
304
|
-
|
|
367
|
+
m(this, "wrap--laptop", e);
|
|
305
368
|
}
|
|
306
369
|
get wrapDesktop() {
|
|
307
370
|
return this.getAttribute("wrap--desktop");
|
|
308
371
|
}
|
|
309
372
|
set wrapDesktop(e) {
|
|
310
|
-
|
|
373
|
+
m(this, "wrap--desktop", e);
|
|
311
374
|
}
|
|
312
375
|
get overflowX() {
|
|
313
376
|
return this.getAttribute("overflow-x") ?? "visible";
|
|
314
377
|
}
|
|
315
378
|
set overflowX(e) {
|
|
316
|
-
|
|
379
|
+
m(this, "overflow-x", e);
|
|
317
380
|
}
|
|
318
381
|
get overflowXMobile() {
|
|
319
382
|
return this.getAttribute("overflow-x--mobile");
|
|
320
383
|
}
|
|
321
384
|
set overflowXMobile(e) {
|
|
322
|
-
|
|
385
|
+
m(this, "overflow-x--mobile", e);
|
|
323
386
|
}
|
|
324
387
|
get overflowXTablet() {
|
|
325
388
|
return this.getAttribute("overflow-x--tablet");
|
|
326
389
|
}
|
|
327
390
|
set overflowXTablet(e) {
|
|
328
|
-
|
|
391
|
+
m(this, "overflow-x--tablet", e);
|
|
329
392
|
}
|
|
330
393
|
get overflowXLaptop() {
|
|
331
394
|
return this.getAttribute("overflow-x--laptop");
|
|
332
395
|
}
|
|
333
396
|
set overflowXLaptop(e) {
|
|
334
|
-
|
|
397
|
+
m(this, "overflow-x--laptop", e);
|
|
335
398
|
}
|
|
336
399
|
get overflowXDesktop() {
|
|
337
400
|
return this.getAttribute("overflow-x--desktop");
|
|
338
401
|
}
|
|
339
402
|
set overflowXDesktop(e) {
|
|
340
|
-
|
|
403
|
+
m(this, "overflow-x--desktop", e);
|
|
404
|
+
}
|
|
405
|
+
get overflowY() {
|
|
406
|
+
return this.getAttribute("overflow-y") ?? "visible";
|
|
407
|
+
}
|
|
408
|
+
set overflowY(e) {
|
|
409
|
+
m(this, "overflow-y", e);
|
|
410
|
+
}
|
|
411
|
+
get overflowYMobile() {
|
|
412
|
+
return this.getAttribute("overflow-y--mobile");
|
|
413
|
+
}
|
|
414
|
+
set overflowYMobile(e) {
|
|
415
|
+
m(this, "overflow-y--mobile", e);
|
|
416
|
+
}
|
|
417
|
+
get overflowYTablet() {
|
|
418
|
+
return this.getAttribute("overflow-y--tablet");
|
|
419
|
+
}
|
|
420
|
+
set overflowYTablet(e) {
|
|
421
|
+
m(this, "overflow-y--tablet", e);
|
|
422
|
+
}
|
|
423
|
+
get overflowYLaptop() {
|
|
424
|
+
return this.getAttribute("overflow-y--laptop");
|
|
425
|
+
}
|
|
426
|
+
set overflowYLaptop(e) {
|
|
427
|
+
m(this, "overflow-y--laptop", e);
|
|
428
|
+
}
|
|
429
|
+
get overflowYDesktop() {
|
|
430
|
+
return this.getAttribute("overflow-y--desktop");
|
|
431
|
+
}
|
|
432
|
+
set overflowYDesktop(e) {
|
|
433
|
+
m(this, "overflow-y--desktop", e);
|
|
434
|
+
}
|
|
435
|
+
get maxHeight() {
|
|
436
|
+
return this.getAttribute("max-height") ?? "none";
|
|
437
|
+
}
|
|
438
|
+
set maxHeight(e) {
|
|
439
|
+
m(this, "max-height", e);
|
|
440
|
+
}
|
|
441
|
+
get maxHeightMobile() {
|
|
442
|
+
return this.getAttribute("max-height--mobile");
|
|
443
|
+
}
|
|
444
|
+
set maxHeightMobile(e) {
|
|
445
|
+
m(this, "max-height--mobile", e);
|
|
446
|
+
}
|
|
447
|
+
get maxHeightTablet() {
|
|
448
|
+
return this.getAttribute("max-height--tablet");
|
|
449
|
+
}
|
|
450
|
+
set maxHeightTablet(e) {
|
|
451
|
+
m(this, "max-height--tablet", e);
|
|
452
|
+
}
|
|
453
|
+
get maxHeightLaptop() {
|
|
454
|
+
return this.getAttribute("max-height--laptop");
|
|
455
|
+
}
|
|
456
|
+
set maxHeightLaptop(e) {
|
|
457
|
+
m(this, "max-height--laptop", e);
|
|
458
|
+
}
|
|
459
|
+
get maxHeightDesktop() {
|
|
460
|
+
return this.getAttribute("max-height--desktop");
|
|
461
|
+
}
|
|
462
|
+
set maxHeightDesktop(e) {
|
|
463
|
+
m(this, "max-height--desktop", e);
|
|
464
|
+
}
|
|
465
|
+
get minWidth() {
|
|
466
|
+
return this.getAttribute("min-width") ?? "auto";
|
|
467
|
+
}
|
|
468
|
+
set minWidth(e) {
|
|
469
|
+
m(this, "min-width", e);
|
|
470
|
+
}
|
|
471
|
+
get minWidthMobile() {
|
|
472
|
+
return this.getAttribute("min-width--mobile");
|
|
473
|
+
}
|
|
474
|
+
set minWidthMobile(e) {
|
|
475
|
+
m(this, "min-width--mobile", e);
|
|
476
|
+
}
|
|
477
|
+
get minWidthTablet() {
|
|
478
|
+
return this.getAttribute("min-width--tablet");
|
|
479
|
+
}
|
|
480
|
+
set minWidthTablet(e) {
|
|
481
|
+
m(this, "min-width--tablet", e);
|
|
482
|
+
}
|
|
483
|
+
get minWidthLaptop() {
|
|
484
|
+
return this.getAttribute("min-width--laptop");
|
|
485
|
+
}
|
|
486
|
+
set minWidthLaptop(e) {
|
|
487
|
+
m(this, "min-width--laptop", e);
|
|
488
|
+
}
|
|
489
|
+
get minWidthDesktop() {
|
|
490
|
+
return this.getAttribute("min-width--desktop");
|
|
491
|
+
}
|
|
492
|
+
set minWidthDesktop(e) {
|
|
493
|
+
m(this, "min-width--desktop", e);
|
|
494
|
+
}
|
|
495
|
+
get maxWidth() {
|
|
496
|
+
return this.getAttribute("max-width") ?? "none";
|
|
497
|
+
}
|
|
498
|
+
set maxWidth(e) {
|
|
499
|
+
m(this, "max-width", e);
|
|
500
|
+
}
|
|
501
|
+
get maxWidthMobile() {
|
|
502
|
+
return this.getAttribute("max-width--mobile");
|
|
503
|
+
}
|
|
504
|
+
set maxWidthMobile(e) {
|
|
505
|
+
m(this, "max-width--mobile", e);
|
|
506
|
+
}
|
|
507
|
+
get maxWidthTablet() {
|
|
508
|
+
return this.getAttribute("max-width--tablet");
|
|
509
|
+
}
|
|
510
|
+
set maxWidthTablet(e) {
|
|
511
|
+
m(this, "max-width--tablet", e);
|
|
512
|
+
}
|
|
513
|
+
get maxWidthLaptop() {
|
|
514
|
+
return this.getAttribute("max-width--laptop");
|
|
515
|
+
}
|
|
516
|
+
set maxWidthLaptop(e) {
|
|
517
|
+
m(this, "max-width--laptop", e);
|
|
518
|
+
}
|
|
519
|
+
get maxWidthDesktop() {
|
|
520
|
+
return this.getAttribute("max-width--desktop");
|
|
521
|
+
}
|
|
522
|
+
set maxWidthDesktop(e) {
|
|
523
|
+
m(this, "max-width--desktop", e);
|
|
341
524
|
}
|
|
342
525
|
get $el() {
|
|
343
526
|
return this.shadowRoot.firstElementChild;
|
|
344
527
|
}
|
|
345
528
|
};
|
|
346
529
|
customElements.get("px-stack") || customElements.define("px-stack", C);
|
|
347
|
-
var w = (e) => e === "direction" || e.startsWith("direction--"),
|
|
530
|
+
var w = (e) => e === "direction" || e.startsWith("direction--"), re = class extends C {
|
|
348
531
|
get direction() {
|
|
349
532
|
return "column";
|
|
350
533
|
}
|
|
351
534
|
set direction(e) {
|
|
352
|
-
|
|
535
|
+
m(this, "direction", e);
|
|
353
536
|
}
|
|
354
537
|
attributeChangedCallback(e, t, n) {
|
|
355
538
|
w(e) || super.attributeChangedCallback(e, t, n);
|
|
356
539
|
}
|
|
357
540
|
};
|
|
358
|
-
customElements.get("px-vstack") || customElements.define("px-vstack",
|
|
359
|
-
var
|
|
541
|
+
customElements.get("px-vstack") || customElements.define("px-vstack", re);
|
|
542
|
+
var ie = class extends C {
|
|
360
543
|
get direction() {
|
|
361
544
|
return "row";
|
|
362
545
|
}
|
|
363
546
|
set direction(e) {
|
|
364
|
-
|
|
547
|
+
m(this, "direction", e);
|
|
365
548
|
}
|
|
366
549
|
attributeChangedCallback(e, t, n) {
|
|
367
550
|
w(e) || super.attributeChangedCallback(e, t, n);
|
|
368
551
|
}
|
|
369
552
|
};
|
|
370
|
-
customElements.get("px-hstack") || customElements.define("px-hstack",
|
|
371
|
-
|
|
372
|
-
|
|
553
|
+
customElements.get("px-hstack") || customElements.define("px-hstack", ie);
|
|
554
|
+
//#endregion
|
|
555
|
+
//#region ../Layout/src/Spacer.ts
|
|
556
|
+
var ae = class extends HTMLElement {
|
|
373
557
|
constructor() {
|
|
374
558
|
super(), this.isZeroSized = !1, this.growValue = "1", this.isVertical = !1;
|
|
375
559
|
}
|
|
@@ -415,13 +599,14 @@ var te = class extends HTMLElement {
|
|
|
415
599
|
e ? this.setAttribute("nogap", "") : this.removeAttribute("nogap");
|
|
416
600
|
}
|
|
417
601
|
};
|
|
418
|
-
customElements.get("px-spacer") || customElements.define("px-spacer",
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
602
|
+
customElements.get("px-spacer") || customElements.define("px-spacer", ae);
|
|
603
|
+
//#endregion
|
|
604
|
+
//#region ../Layout/src/Page.css?inline
|
|
605
|
+
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();
|
|
606
|
+
T.replaceSync(oe);
|
|
607
|
+
var E = class extends n {
|
|
423
608
|
constructor() {
|
|
424
|
-
super(
|
|
609
|
+
super(T), this.template = () => `
|
|
425
610
|
<px-container border-radius="none" padding="none">
|
|
426
611
|
<px-vstack>
|
|
427
612
|
<px-container id="header-container" border-radius="none">
|
|
@@ -514,7 +699,7 @@ var re = class extends n {
|
|
|
514
699
|
</px-container>
|
|
515
700
|
</px-vstack>
|
|
516
701
|
</px-container>
|
|
517
|
-
`,
|
|
702
|
+
`, h(this.shadowRoot, this.template());
|
|
518
703
|
}
|
|
519
704
|
static get observedAttributes() {
|
|
520
705
|
return [
|
|
@@ -601,28 +786,38 @@ var re = class extends n {
|
|
|
601
786
|
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;
|
|
602
787
|
}
|
|
603
788
|
};
|
|
604
|
-
customElements.get("px-page") === void 0 && customElements.define("px-page",
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
D.
|
|
608
|
-
|
|
789
|
+
customElements.get("px-page") === void 0 && customElements.define("px-page", E);
|
|
790
|
+
//#endregion
|
|
791
|
+
//#region ../ButtonIcon/src/buttonicon.css?inline
|
|
792
|
+
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();
|
|
793
|
+
O.replaceSync(D);
|
|
794
|
+
var k = [
|
|
609
795
|
"",
|
|
610
796
|
"default",
|
|
611
797
|
"small"
|
|
612
|
-
],
|
|
798
|
+
], A = [
|
|
613
799
|
"",
|
|
614
800
|
"default",
|
|
615
801
|
"secondary",
|
|
616
802
|
"naked"
|
|
617
|
-
],
|
|
803
|
+
], se = class e extends t {
|
|
618
804
|
static {
|
|
619
805
|
this.template = s("<button class=\"btn-icon\"><slot></slot></button>");
|
|
620
806
|
}
|
|
621
807
|
static {
|
|
622
808
|
this.nativeName = "button";
|
|
623
809
|
}
|
|
810
|
+
static {
|
|
811
|
+
this.nativeProperties = p;
|
|
812
|
+
}
|
|
813
|
+
static {
|
|
814
|
+
this.nativeMethods = f;
|
|
815
|
+
}
|
|
816
|
+
static {
|
|
817
|
+
this.nativeAttributes = d;
|
|
818
|
+
}
|
|
624
819
|
constructor() {
|
|
625
|
-
super(
|
|
820
|
+
super(O), h(this.shadowRoot, e.template);
|
|
626
821
|
}
|
|
627
822
|
static get observedAttributes() {
|
|
628
823
|
return [
|
|
@@ -658,7 +853,7 @@ var O = [
|
|
|
658
853
|
case "aria-expanded":
|
|
659
854
|
n && (this.$el.setAttribute("aria-expanded", n), this.removeAttribute("aria-expanded"));
|
|
660
855
|
break;
|
|
661
|
-
default: super.attributeChangedCallback(e, t, n);
|
|
856
|
+
default: r.includes(e) ? this._forwardNativeAttribute(e, n) : super.attributeChangedCallback(e, t, n);
|
|
662
857
|
}
|
|
663
858
|
}
|
|
664
859
|
_toggleClass(e, t) {
|
|
@@ -668,10 +863,10 @@ var O = [
|
|
|
668
863
|
this.$el.classList.toggle("btn-icon--state-loading");
|
|
669
864
|
}
|
|
670
865
|
updateSize(e, t) {
|
|
671
|
-
this.checkName(
|
|
866
|
+
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("\", \"")}".`);
|
|
672
867
|
}
|
|
673
868
|
updateVariant(e, t) {
|
|
674
|
-
this.checkName(
|
|
869
|
+
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("\", \"")}".`);
|
|
675
870
|
}
|
|
676
871
|
get inverted() {
|
|
677
872
|
return this.hasAttribute("inverted");
|
|
@@ -704,9 +899,10 @@ var O = [
|
|
|
704
899
|
this._updateAttribute("aria-expanded", e);
|
|
705
900
|
}
|
|
706
901
|
};
|
|
707
|
-
customElements.get("px-button-icon") || customElements.define("px-button-icon",
|
|
708
|
-
|
|
709
|
-
|
|
902
|
+
customElements.get("px-button-icon") || customElements.define("px-button-icon", se);
|
|
903
|
+
//#endregion
|
|
904
|
+
//#region ../Icon/common/src/IconSet.ts
|
|
905
|
+
var ce = class extends HTMLElement {
|
|
710
906
|
constructor() {
|
|
711
907
|
super();
|
|
712
908
|
}
|
|
@@ -740,8 +936,8 @@ var j = class extends HTMLElement {
|
|
|
740
936
|
e && e.remove();
|
|
741
937
|
}
|
|
742
938
|
};
|
|
743
|
-
customElements.get("px-icon-set") || customElements.define("px-icon-set",
|
|
744
|
-
var
|
|
939
|
+
customElements.get("px-icon-set") || customElements.define("px-icon-set", ce);
|
|
940
|
+
var le = [
|
|
745
941
|
"Inherit",
|
|
746
942
|
"Brand",
|
|
747
943
|
"Accent",
|
|
@@ -755,9 +951,9 @@ var M = [
|
|
|
755
951
|
"StateHover",
|
|
756
952
|
"StateActive",
|
|
757
953
|
"StateDisabled"
|
|
758
|
-
].map((e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)),
|
|
759
|
-
|
|
760
|
-
var
|
|
954
|
+
].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();
|
|
955
|
+
j.replaceSync(ue);
|
|
956
|
+
var de = class e extends n {
|
|
761
957
|
static {
|
|
762
958
|
this.template = s("<svg aria-hidden=\"true\"><use></use></svg>");
|
|
763
959
|
}
|
|
@@ -776,7 +972,7 @@ var oe = class e extends n {
|
|
|
776
972
|
];
|
|
777
973
|
}
|
|
778
974
|
constructor(...t) {
|
|
779
|
-
super(...t,
|
|
975
|
+
super(...t, j), h(this.shadowRoot, e.template), this.#t = this.attachInternals?.(), this.#t && (this.#t.role = "img");
|
|
780
976
|
}
|
|
781
977
|
attributeChangedCallback(e, t, n) {
|
|
782
978
|
if (t !== n) switch (e) {
|
|
@@ -787,7 +983,7 @@ var oe = class e extends n {
|
|
|
787
983
|
this.updateAttribute(e, t, n, l);
|
|
788
984
|
break;
|
|
789
985
|
case "color":
|
|
790
|
-
this.updateAttribute(e, t, n,
|
|
986
|
+
this.updateAttribute(e, t, n, le);
|
|
791
987
|
break;
|
|
792
988
|
case "disabled":
|
|
793
989
|
this.color = "state-disabled";
|
|
@@ -801,7 +997,13 @@ var oe = class e extends n {
|
|
|
801
997
|
this.role = "img";
|
|
802
998
|
let e = document.querySelectorAll("px-icon-set");
|
|
803
999
|
e || console.log("<px-icon-set> component not found");
|
|
804
|
-
for (let t of e)
|
|
1000
|
+
for (let t of e) {
|
|
1001
|
+
if (!t.getAttribute("name") || !t.getAttribute("src")) {
|
|
1002
|
+
console.error("Icon name or src not found");
|
|
1003
|
+
continue;
|
|
1004
|
+
}
|
|
1005
|
+
t.getAttribute("name") === this.from && t.getAttribute("type") !== "font" && (this.#e = t.getAttribute("src"), this.$el.firstElementChild?.setAttribute("href", `${this.#e}#icon-${this.name}`));
|
|
1006
|
+
}
|
|
805
1007
|
!this.ariaLabel && this.#t && (this.#t.ariaHidden = "true", this.ariaHidden = "true"), this.parentElement?.localName === "px-a" && this.slot !== "before" && this.slot !== "after" && (this.color || this.setAttribute("color", "inherit"));
|
|
806
1008
|
}
|
|
807
1009
|
updateAttribute(e, t, n, r) {
|
|
@@ -817,25 +1019,25 @@ var oe = class e extends n {
|
|
|
817
1019
|
return this.getAttribute("name");
|
|
818
1020
|
}
|
|
819
1021
|
set name(e) {
|
|
820
|
-
|
|
1022
|
+
m(this, "name", e);
|
|
821
1023
|
}
|
|
822
1024
|
get size() {
|
|
823
1025
|
return this.getAttribute("size");
|
|
824
1026
|
}
|
|
825
1027
|
set size(e) {
|
|
826
|
-
|
|
1028
|
+
m(this, "size", e);
|
|
827
1029
|
}
|
|
828
1030
|
get color() {
|
|
829
1031
|
return this.getAttribute("color");
|
|
830
1032
|
}
|
|
831
1033
|
set color(e) {
|
|
832
|
-
|
|
1034
|
+
m(this, "color", e);
|
|
833
1035
|
}
|
|
834
1036
|
get arialabel() {
|
|
835
1037
|
return this.getAttribute("aria-label");
|
|
836
1038
|
}
|
|
837
1039
|
set arialabel(e) {
|
|
838
|
-
|
|
1040
|
+
m(this, "aria-label", e);
|
|
839
1041
|
}
|
|
840
1042
|
get inverted() {
|
|
841
1043
|
return this.hasAttribute("inverted");
|
|
@@ -847,7 +1049,7 @@ var oe = class e extends n {
|
|
|
847
1049
|
return this.getAttribute("from");
|
|
848
1050
|
}
|
|
849
1051
|
set from(e) {
|
|
850
|
-
|
|
1052
|
+
m(this, "from", e);
|
|
851
1053
|
}
|
|
852
1054
|
get disabled() {
|
|
853
1055
|
return this.hasAttribute("disabled");
|
|
@@ -856,17 +1058,18 @@ var oe = class e extends n {
|
|
|
856
1058
|
a(this, "disabled", e);
|
|
857
1059
|
}
|
|
858
1060
|
};
|
|
859
|
-
customElements.get("px-icon") || customElements.define("px-icon",
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
1061
|
+
customElements.get("px-icon") || customElements.define("px-icon", de);
|
|
1062
|
+
//#endregion
|
|
1063
|
+
//#region src/appleseed.css?inline
|
|
1064
|
+
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();
|
|
1065
|
+
M.replaceSync(fe);
|
|
1066
|
+
var N = class extends HTMLElement {
|
|
864
1067
|
constructor() {
|
|
865
1068
|
super(), this.template = (e, t) => `<div class="container">
|
|
866
1069
|
${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"}">
|
|
867
1070
|
<div></div>
|
|
868
1071
|
</div>`).join("")}
|
|
869
|
-
</div>`, this.attachShadow({ mode: "open" }), this.shadowRoot.adoptedStyleSheets = [
|
|
1072
|
+
</div>`, this.attachShadow({ mode: "open" }), this.shadowRoot.adoptedStyleSheets = [M], this.shadowRoot.innerHTML = this.template(this.amount, this.active);
|
|
870
1073
|
}
|
|
871
1074
|
static get observedAttributes() {
|
|
872
1075
|
return ["amount", "active"];
|
|
@@ -892,75 +1095,85 @@ var F = class extends HTMLElement {
|
|
|
892
1095
|
return parseInt(this.getAttribute("active") ?? "0") || 0;
|
|
893
1096
|
}
|
|
894
1097
|
};
|
|
895
|
-
customElements.get("px-appleseed") || customElements.define("px-appleseed",
|
|
896
|
-
|
|
897
|
-
|
|
1098
|
+
customElements.get("px-appleseed") || customElements.define("px-appleseed", N);
|
|
1099
|
+
//#endregion
|
|
1100
|
+
//#region ../../../node_modules/lodash-es/isObject.js
|
|
1101
|
+
function P(e) {
|
|
898
1102
|
var t = typeof e;
|
|
899
1103
|
return e != null && (t == "object" || t == "function");
|
|
900
1104
|
}
|
|
901
|
-
|
|
902
|
-
|
|
1105
|
+
//#endregion
|
|
1106
|
+
//#region ../../../node_modules/lodash-es/_freeGlobal.js
|
|
1107
|
+
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() {
|
|
903
1108
|
return L.Date.now();
|
|
904
1109
|
}, z = /\s/;
|
|
905
1110
|
function B(e) {
|
|
906
1111
|
for (var t = e.length; t-- && z.test(e.charAt(t)););
|
|
907
1112
|
return t;
|
|
908
1113
|
}
|
|
909
|
-
|
|
1114
|
+
//#endregion
|
|
1115
|
+
//#region ../../../node_modules/lodash-es/_baseTrim.js
|
|
910
1116
|
var V = /^\s+/;
|
|
911
|
-
function
|
|
1117
|
+
function pe(e) {
|
|
912
1118
|
return e && e.slice(0, B(e) + 1).replace(V, "");
|
|
913
1119
|
}
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
1120
|
+
//#endregion
|
|
1121
|
+
//#region ../../../node_modules/lodash-es/_Symbol.js
|
|
1122
|
+
var H = L.Symbol, U = Object.prototype, me = U.hasOwnProperty, he = U.toString, W = H ? H.toStringTag : void 0;
|
|
1123
|
+
function ge(e) {
|
|
1124
|
+
var t = me.call(e, W), n = e[W];
|
|
918
1125
|
try {
|
|
919
|
-
e[
|
|
1126
|
+
e[W] = void 0;
|
|
920
1127
|
var r = !0;
|
|
921
1128
|
} catch {}
|
|
922
|
-
var i =
|
|
923
|
-
return r && (t ? e[
|
|
1129
|
+
var i = he.call(e);
|
|
1130
|
+
return r && (t ? e[W] = n : delete e[W]), i;
|
|
924
1131
|
}
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
1132
|
+
//#endregion
|
|
1133
|
+
//#region ../../../node_modules/lodash-es/_objectToString.js
|
|
1134
|
+
var _e = Object.prototype.toString;
|
|
1135
|
+
function ve(e) {
|
|
1136
|
+
return _e.call(e);
|
|
929
1137
|
}
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
1138
|
+
//#endregion
|
|
1139
|
+
//#region ../../../node_modules/lodash-es/_baseGetTag.js
|
|
1140
|
+
var ye = "[object Null]", be = "[object Undefined]", G = H ? H.toStringTag : void 0;
|
|
1141
|
+
function xe(e) {
|
|
1142
|
+
return e == null ? e === void 0 ? be : ye : G && G in Object(e) ? ge(e) : ve(e);
|
|
934
1143
|
}
|
|
935
|
-
|
|
936
|
-
|
|
1144
|
+
//#endregion
|
|
1145
|
+
//#region ../../../node_modules/lodash-es/isObjectLike.js
|
|
1146
|
+
function Se(e) {
|
|
937
1147
|
return typeof e == "object" && !!e;
|
|
938
1148
|
}
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
1149
|
+
//#endregion
|
|
1150
|
+
//#region ../../../node_modules/lodash-es/isSymbol.js
|
|
1151
|
+
var Ce = "[object Symbol]";
|
|
1152
|
+
function we(e) {
|
|
1153
|
+
return typeof e == "symbol" || Se(e) && xe(e) == Ce;
|
|
943
1154
|
}
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
1155
|
+
//#endregion
|
|
1156
|
+
//#region ../../../node_modules/lodash-es/toNumber.js
|
|
1157
|
+
var K = NaN, Te = /^[-+]0x[0-9a-f]+$/i, Ee = /^0b[01]+$/i, De = /^0o[0-7]+$/i, Oe = parseInt;
|
|
1158
|
+
function q(e) {
|
|
947
1159
|
if (typeof e == "number") return e;
|
|
948
|
-
if (
|
|
949
|
-
if (
|
|
1160
|
+
if (we(e)) return K;
|
|
1161
|
+
if (P(e)) {
|
|
950
1162
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
951
|
-
e =
|
|
1163
|
+
e = P(t) ? t + "" : t;
|
|
952
1164
|
}
|
|
953
1165
|
if (typeof e != "string") return e === 0 ? e : +e;
|
|
954
|
-
e =
|
|
955
|
-
var n =
|
|
956
|
-
return n ||
|
|
1166
|
+
e = pe(e);
|
|
1167
|
+
var n = Ee.test(e);
|
|
1168
|
+
return n || De.test(e) ? Oe(e.slice(2), n ? 2 : 8) : Te.test(e) ? K : +e;
|
|
957
1169
|
}
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
function
|
|
1170
|
+
//#endregion
|
|
1171
|
+
//#region ../../../node_modules/lodash-es/debounce.js
|
|
1172
|
+
var ke = "Expected a function", Ae = Math.max, je = Math.min;
|
|
1173
|
+
function Me(e, t, n) {
|
|
961
1174
|
var r, i, a, o, s, c, l = 0, u = !1, d = !1, f = !0;
|
|
962
|
-
if (typeof e != "function") throw TypeError(
|
|
963
|
-
t =
|
|
1175
|
+
if (typeof e != "function") throw TypeError(ke);
|
|
1176
|
+
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);
|
|
964
1177
|
function p(t) {
|
|
965
1178
|
var n = r, a = i;
|
|
966
1179
|
return r = i = void 0, l = t, o = e.apply(a, n), o;
|
|
@@ -970,7 +1183,7 @@ function Oe(e, t, n) {
|
|
|
970
1183
|
}
|
|
971
1184
|
function h(e) {
|
|
972
1185
|
var n = e - c, r = e - l, i = t - n;
|
|
973
|
-
return d ?
|
|
1186
|
+
return d ? je(i, a - r) : i;
|
|
974
1187
|
}
|
|
975
1188
|
function g(e) {
|
|
976
1189
|
var n = e - c, r = e - l;
|
|
@@ -1000,20 +1213,22 @@ function Oe(e, t, n) {
|
|
|
1000
1213
|
}
|
|
1001
1214
|
return x.cancel = y, x.flush = b, x;
|
|
1002
1215
|
}
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1216
|
+
//#endregion
|
|
1217
|
+
//#region ../../../node_modules/lodash-es/throttle.js
|
|
1218
|
+
var J = "Expected a function";
|
|
1219
|
+
function Ne(e, t, n) {
|
|
1006
1220
|
var r = !0, i = !0;
|
|
1007
|
-
if (typeof e != "function") throw TypeError(
|
|
1008
|
-
return
|
|
1221
|
+
if (typeof e != "function") throw TypeError(J);
|
|
1222
|
+
return P(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Me(e, t, {
|
|
1009
1223
|
leading: r,
|
|
1010
1224
|
maxWait: t,
|
|
1011
1225
|
trailing: i
|
|
1012
1226
|
});
|
|
1013
1227
|
}
|
|
1014
|
-
|
|
1228
|
+
//#endregion
|
|
1229
|
+
//#region src/Carousel.ts
|
|
1015
1230
|
var Y = new CSSStyleSheet();
|
|
1016
|
-
Y.replaceSync(
|
|
1231
|
+
Y.replaceSync(g);
|
|
1017
1232
|
var X = "px-carousel-item-connected", Z = class e extends HTMLElement {
|
|
1018
1233
|
static {
|
|
1019
1234
|
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>");
|
|
@@ -1024,12 +1239,12 @@ var X = "px-carousel-item-connected", Z = class e extends HTMLElement {
|
|
|
1024
1239
|
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;
|
|
1025
1240
|
let i = r;
|
|
1026
1241
|
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();
|
|
1027
|
-
}, this.attachShadow({ mode: "open" }),
|
|
1242
|
+
}, this.attachShadow({ mode: "open" }), h(this.shadowRoot, e.template), this.shadowRoot.adoptedStyleSheets = [Y];
|
|
1028
1243
|
}
|
|
1029
1244
|
connectedCallback() {
|
|
1030
1245
|
this.addEventListener(X, () => {
|
|
1031
1246
|
this.#e();
|
|
1032
|
-
}), this.#e(), this.$carousel.addEventListener("scroll",
|
|
1247
|
+
}), this.#e(), this.$carousel.addEventListener("scroll", Ne(this.onScroll, 500)), this.$previous.addEventListener("click", () => {
|
|
1033
1248
|
this.$carousel.scrollLeft -= this.$carousel.clientWidth;
|
|
1034
1249
|
}), this.$next.addEventListener("click", () => {
|
|
1035
1250
|
this.$carousel.scrollLeft += this.$carousel.clientWidth;
|
|
@@ -1076,13 +1291,13 @@ var X = "px-carousel-item-connected", Z = class e extends HTMLElement {
|
|
|
1076
1291
|
};
|
|
1077
1292
|
customElements.get("px-carousel") || customElements.define("px-carousel", Z);
|
|
1078
1293
|
var Q = new CSSStyleSheet();
|
|
1079
|
-
Q.replaceSync(
|
|
1294
|
+
Q.replaceSync(_);
|
|
1080
1295
|
var $ = class e extends HTMLElement {
|
|
1081
1296
|
static {
|
|
1082
1297
|
this.template = s("<div class=\"carousel-item\"><slot></slot></div>");
|
|
1083
1298
|
}
|
|
1084
1299
|
constructor() {
|
|
1085
|
-
super(), this.attachShadow({ mode: "open" }),
|
|
1300
|
+
super(), this.attachShadow({ mode: "open" }), h(this.shadowRoot, e.template), this.shadowRoot.adoptedStyleSheets = [Q];
|
|
1086
1301
|
}
|
|
1087
1302
|
connectedCallback() {
|
|
1088
1303
|
this.dispatchEvent(new CustomEvent(X, {
|
|
@@ -1092,4 +1307,5 @@ var $ = class e extends HTMLElement {
|
|
|
1092
1307
|
}
|
|
1093
1308
|
};
|
|
1094
1309
|
customElements.get("px-carousel-item") || customElements.define("px-carousel-item", $);
|
|
1095
|
-
|
|
1310
|
+
//#endregion
|
|
1311
|
+
export { N as AppleSeed, X as CAROUSEL_ITEM_CONNECTED_EVENT, Z as Carousel, $ as CarouselItem };
|
package/dist/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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": "1.4.
|
|
4
|
+
"version": "1.4.20-alpha.10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "px-appleseed",
|
|
11
|
-
"description": "\n---\n",
|
|
11
|
+
"description": "\n\n---\n",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{ "name": "amount", "value": { "type": "string" } },
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"name": "px-carousel",
|
|
32
|
-
"description": "\n---\n",
|
|
32
|
+
"description": "\n\n---\n",
|
|
33
33
|
"doc-url": "",
|
|
34
34
|
"attributes": [],
|
|
35
35
|
"events": [],
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": "px-carousel-item",
|
|
52
|
-
"description": "\n---\n\n\n### **Events:**\n - **CAROUSEL_ITEM_CONNECTED_EVENT**",
|
|
52
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **CAROUSEL_ITEM_CONNECTED_EVENT**",
|
|
53
53
|
"doc-url": "",
|
|
54
54
|
"attributes": [],
|
|
55
55
|
"events": [
|