@paperless/core 0.1.0-alpha.94 → 0.1.0-alpha.98
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/CHANGELOG.md +44 -0
- package/dist/build/{p-b0e40788.entry.js → p-1b98288f.entry.js} +1 -1
- package/dist/build/{p-4bdad085.entry.js → p-25198b24.entry.js} +1 -1
- package/dist/build/{p-b907dfa2.entry.js → p-2a0959e5.entry.js} +1 -1
- package/dist/build/{p-57ab2dca.entry.js → p-2dd556e2.entry.js} +1 -1
- package/dist/build/{p-525e869e.entry.js → p-407db966.entry.js} +1 -1
- package/dist/build/p-4d70ec7d.js +2 -0
- package/dist/{paperless/p-d840b591.entry.js → build/p-5a1c29a0.entry.js} +1 -1
- package/dist/{paperless/p-e1fb3cc4.entry.js → build/p-5ad4da43.entry.js} +1 -1
- package/dist/build/{p-605baf6b.entry.js → p-5cf00406.entry.js} +1 -1
- package/dist/build/{p-130cf3bf.entry.js → p-5f8b8548.entry.js} +1 -1
- package/dist/build/{p-493f54f5.entry.js → p-647a5ce0.entry.js} +1 -1
- package/dist/build/{p-98cbd176.entry.js → p-699ee4c5.entry.js} +1 -1
- package/dist/{paperless/p-63707c21.entry.js → build/p-727d7075.entry.js} +1 -1
- package/dist/build/{p-e0e4c3a1.entry.js → p-737b61be.entry.js} +1 -1
- package/dist/build/p-769abdaf.entry.js +1 -0
- package/dist/build/{p-92b7c5bf.entry.js → p-99fbfb12.entry.js} +1 -1
- package/dist/build/{p-8c86e126.entry.js → p-9dc4800e.entry.js} +1 -1
- package/dist/build/{p-a4605f92.entry.js → p-9ed56df0.entry.js} +1 -1
- package/dist/build/{p-95040ae6.entry.js → p-a8f73335.entry.js} +1 -1
- package/dist/build/p-aff4af15.entry.js +1 -0
- package/dist/build/{p-1b07a1d7.entry.js → p-b4afb81b.entry.js} +1 -1
- package/dist/build/{p-328a57e3.entry.js → p-b54edf07.entry.js} +1 -1
- package/dist/build/{p-88ba16f2.entry.js → p-b626b4bc.entry.js} +1 -1
- package/dist/build/{p-bf7c23b9.entry.js → p-baba639b.entry.js} +1 -1
- package/dist/build/{p-04fe5795.entry.js → p-c4c7c07b.entry.js} +1 -1
- package/dist/build/{p-9336b7d2.entry.js → p-d676fecf.entry.js} +1 -1
- package/dist/build/{p-8fc9ce8a.entry.js → p-d7f022ac.entry.js} +1 -1
- package/dist/{paperless/p-d0fa1db4.entry.js → build/p-db62fa0f.entry.js} +1 -1
- package/dist/{paperless/p-847b8ca7.entry.js → build/p-e1937315.entry.js} +1 -1
- package/dist/build/p-e879da02.entry.js +1 -0
- package/dist/build/{p-f8a80027.entry.js → p-eedc960d.entry.js} +1 -1
- package/dist/{paperless/p-144b1a05.entry.js → build/p-f560b80f.entry.js} +1 -1
- package/dist/build/{p-9cf9c628.entry.js → p-f9ef9d25.entry.js} +1 -1
- package/dist/build/{p-59b10536.entry.js → p-fa6d3cee.entry.js} +1 -1
- package/dist/build/{p-ab459d05.entry.js → p-faf607d9.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-0aa7c87d.js → index-5fdb82a1.js} +37 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/p-accordion.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar_2.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +2 -2
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +1 -1
- package/dist/cjs/p-card-header.cjs.entry.js +1 -1
- package/dist/cjs/p-content-slider.cjs.entry.js +63 -33
- package/dist/cjs/p-counter.cjs.entry.js +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/p-helper.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
- package/dist/cjs/p-input-group.cjs.entry.js +1 -1
- package/dist/cjs/p-layout.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination-item.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination.cjs.entry.js +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-segment-container.cjs.entry.js +1 -1
- package/dist/cjs/p-segment-item.cjs.entry.js +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +2 -2
- package/dist/cjs/p-status.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-tag.cjs.entry.js +1 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +3 -3
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/counter/counter.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/layout/layout.component.css +1 -1
- package/dist/collection/components/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -1
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.css +12 -13
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +70 -37
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
- package/dist/collection/components/molecules/stepper/stepper.component.css +1 -1
- package/dist/components/index.d.ts +42 -42
- package/dist/components/loader.component.js +1 -1
- package/dist/components/p-content-slider.js +65 -33
- package/dist/components/p-layout.js +1 -1
- package/dist/components/slider-indicator.component.js +1 -1
- package/dist/esm/{index-877dd68e.js → index-ba915982.js} +37 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/p-accordion.entry.js +1 -1
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar_2.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +2 -2
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +1 -1
- package/dist/esm/p-card-header.entry.js +1 -1
- package/dist/esm/p-content-slider.entry.js +63 -33
- package/dist/esm/p-counter.entry.js +1 -1
- package/dist/esm/p-divider.entry.js +1 -1
- package/dist/esm/p-dropdown-menu-container.entry.js +1 -1
- package/dist/esm/p-dropdown-menu-item.entry.js +1 -1
- package/dist/esm/p-helper.entry.js +1 -1
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +1 -1
- package/dist/esm/p-input-group.entry.js +1 -1
- package/dist/esm/p-layout.entry.js +2 -2
- package/dist/esm/p-modal-backdrop_5.entry.js +1 -1
- package/dist/esm/p-modal.entry.js +1 -1
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +1 -1
- package/dist/esm/p-pagination-item.entry.js +1 -1
- package/dist/esm/p-pagination.entry.js +1 -1
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-segment-container.entry.js +1 -1
- package/dist/esm/p-segment-item.entry.js +1 -1
- package/dist/esm/p-slider-indicator.entry.js +2 -2
- package/dist/esm/p-status.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-group.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-tag.entry.js +1 -1
- package/dist/esm/p-tooltip.entry.js +1 -1
- package/dist/esm/paperless.js +3 -3
- package/dist/index.html +1 -1
- package/dist/paperless/{p-b0e40788.entry.js → p-1b98288f.entry.js} +1 -1
- package/dist/paperless/{p-4bdad085.entry.js → p-25198b24.entry.js} +1 -1
- package/dist/paperless/{p-b907dfa2.entry.js → p-2a0959e5.entry.js} +1 -1
- package/dist/paperless/{p-57ab2dca.entry.js → p-2dd556e2.entry.js} +1 -1
- package/dist/paperless/{p-525e869e.entry.js → p-407db966.entry.js} +1 -1
- package/dist/paperless/p-4d70ec7d.js +2 -0
- package/dist/{build/p-d840b591.entry.js → paperless/p-5a1c29a0.entry.js} +1 -1
- package/dist/{build/p-e1fb3cc4.entry.js → paperless/p-5ad4da43.entry.js} +1 -1
- package/dist/paperless/{p-605baf6b.entry.js → p-5cf00406.entry.js} +1 -1
- package/dist/paperless/{p-130cf3bf.entry.js → p-5f8b8548.entry.js} +1 -1
- package/dist/paperless/{p-493f54f5.entry.js → p-647a5ce0.entry.js} +1 -1
- package/dist/paperless/{p-98cbd176.entry.js → p-699ee4c5.entry.js} +1 -1
- package/dist/{build/p-63707c21.entry.js → paperless/p-727d7075.entry.js} +1 -1
- package/dist/paperless/{p-e0e4c3a1.entry.js → p-737b61be.entry.js} +1 -1
- package/dist/paperless/p-769abdaf.entry.js +1 -0
- package/dist/paperless/{p-92b7c5bf.entry.js → p-99fbfb12.entry.js} +1 -1
- package/dist/paperless/{p-8c86e126.entry.js → p-9dc4800e.entry.js} +1 -1
- package/dist/paperless/{p-a4605f92.entry.js → p-9ed56df0.entry.js} +1 -1
- package/dist/paperless/{p-95040ae6.entry.js → p-a8f73335.entry.js} +1 -1
- package/dist/paperless/p-aff4af15.entry.js +1 -0
- package/dist/paperless/{p-1b07a1d7.entry.js → p-b4afb81b.entry.js} +1 -1
- package/dist/paperless/{p-328a57e3.entry.js → p-b54edf07.entry.js} +1 -1
- package/dist/paperless/{p-88ba16f2.entry.js → p-b626b4bc.entry.js} +1 -1
- package/dist/paperless/{p-bf7c23b9.entry.js → p-baba639b.entry.js} +1 -1
- package/dist/paperless/{p-04fe5795.entry.js → p-c4c7c07b.entry.js} +1 -1
- package/dist/paperless/{p-9336b7d2.entry.js → p-d676fecf.entry.js} +1 -1
- package/dist/paperless/{p-8fc9ce8a.entry.js → p-d7f022ac.entry.js} +1 -1
- package/dist/{build/p-d0fa1db4.entry.js → paperless/p-db62fa0f.entry.js} +1 -1
- package/dist/{build/p-847b8ca7.entry.js → paperless/p-e1937315.entry.js} +1 -1
- package/dist/paperless/p-e879da02.entry.js +1 -0
- package/dist/paperless/{p-f8a80027.entry.js → p-eedc960d.entry.js} +1 -1
- package/dist/{build/p-144b1a05.entry.js → paperless/p-f560b80f.entry.js} +1 -1
- package/dist/paperless/{p-9cf9c628.entry.js → p-f9ef9d25.entry.js} +1 -1
- package/dist/paperless/{p-59b10536.entry.js → p-fa6d3cee.entry.js} +1 -1
- package/dist/paperless/{p-ab459d05.entry.js → p-faf607d9.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +10 -3
- package/package.json +2 -2
- package/dist/build/p-10cfb50e.entry.js +0 -1
- package/dist/build/p-2cd125cc.js +0 -2
- package/dist/build/p-7dafe476.entry.js +0 -1
- package/dist/build/p-f073bd80.entry.js +0 -1
- package/dist/paperless/p-10cfb50e.entry.js +0 -1
- package/dist/paperless/p-2cd125cc.js +0 -2
- package/dist/paperless/p-7dafe476.entry.js +0 -1
- package/dist/paperless/p-f073bd80.entry.js +0 -1
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
:host(.variant-table) {
|
|
6
6
|
@apply px-6;
|
|
7
|
-
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}
|
|
7
|
+
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -3,4 +3,4 @@ p-modal-container {
|
|
|
3
3
|
@apply bg-white rounded-t-xxlarge desktop-xs:rounded-b-xxlarge;
|
|
4
4
|
@apply overflow-hidden;
|
|
5
5
|
@apply shadow-4 !important;
|
|
6
|
-
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}
|
|
6
|
+
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}
|
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
|
|
6
6
|
:host(.hide-on-mobile) {
|
|
7
7
|
@apply hidden desktop-xs:flex;
|
|
8
|
-
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}
|
|
8
|
+
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
}
|
|
14
14
|
:host .close:hover {
|
|
15
15
|
@apply bg-indigo/20;
|
|
16
|
-
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}
|
|
16
|
+
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
:host(.active) {
|
|
6
6
|
@apply bg-indigo;
|
|
7
|
-
} .visible{visibility:visible!important}.static{position:static!important}.hidden{display:none!important}.cursor-pointer{cursor:pointer!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
7
|
+
} .visible{visibility:visible!important}.static{position:static!important}.hidden{display:none!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
|
|
57
57
|
:host([direction=horizontal][align=center]) .content {
|
|
58
58
|
@apply left-1/2 text-center transform -translate-x-1/2;
|
|
59
|
-
} .static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1\/2{--tw-translate-y:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}
|
|
59
|
+
} .static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1\/2{--tw-translate-y:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
|
|
16
16
|
:host([active]) {
|
|
17
17
|
@apply bg-indigo;
|
|
18
|
-
} .static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1\/2{--tw-translate-y:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}
|
|
18
|
+
} .static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1\/2{--tw-translate-y:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}*{box-sizing:border-box}
|
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
@apply flex flex-col gap-4;
|
|
3
|
-
@apply -
|
|
2
|
+
@apply flex flex-col gap-4 overflow-hidden;
|
|
3
|
+
@apply p-16 -m-16;
|
|
4
4
|
}
|
|
5
|
-
:host .
|
|
6
|
-
@apply
|
|
7
|
-
@apply tablet:gap-4 desktop-xs:flex-wrap;
|
|
8
|
-
@apply p-4 -my-4;
|
|
5
|
+
:host .slider {
|
|
6
|
+
@apply overflow-visible relative box-content;
|
|
9
7
|
}
|
|
10
|
-
:host .
|
|
8
|
+
:host .slider.draggable {
|
|
11
9
|
@apply cursor-grab desktop-xs:cursor-default;
|
|
12
10
|
}
|
|
13
|
-
:host .
|
|
11
|
+
:host .slider.draggable.dragging {
|
|
14
12
|
@apply cursor-grabbing desktop-xs:cursor-default;
|
|
15
13
|
}
|
|
16
|
-
:host .
|
|
14
|
+
:host .slider .inner-slider {
|
|
15
|
+
@apply absolute flex flex-nowrap items-stretch w-full gap-2;
|
|
16
|
+
@apply tablet:gap-4 desktop-xs:flex-wrap;
|
|
17
|
+
}
|
|
18
|
+
:host .slider .inner-slider > ::slotted(*) {
|
|
17
19
|
@apply w-full tablet:w-[45%] desktop-xs:w-full;
|
|
18
20
|
@apply flex-shrink-0 desktop-xs:flex-1;
|
|
19
21
|
position: relative;
|
|
20
22
|
z-index: 10;
|
|
21
23
|
}
|
|
22
|
-
:host .content::-webkit-scrollbar {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
24
|
:host .indicator {
|
|
26
25
|
@apply flex justify-center items-center gap-2 desktop-xs:hidden;
|
|
27
|
-
} .visible{visibility:visible!important}.static{position:static!important}.hidden{display:none!important}.cursor-pointer{cursor:pointer!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
26
|
+
} .visible{visibility:visible!important}.static{position:static!important}.hidden{display:none!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Element, h, Host, Listen, Prop, State
|
|
1
|
+
import { Component, Element, h, Host, Listen, Prop, State } from '@stencil/core';
|
|
2
2
|
export class ContentSlider {
|
|
3
3
|
constructor() {
|
|
4
4
|
/**
|
|
@@ -13,22 +13,32 @@ export class ContentSlider {
|
|
|
13
13
|
* Wether to disable clicking the indicator scrolls content
|
|
14
14
|
*/
|
|
15
15
|
this.disableIndicatorClick = false;
|
|
16
|
+
this._outerHeight = 0;
|
|
17
|
+
this._totalWidth = 0;
|
|
16
18
|
this._items = [];
|
|
17
|
-
// mouse movement stuff
|
|
18
|
-
this._pos = { top: 0, left: 0, x: 0, y: 0 };
|
|
19
19
|
this._dragging = false;
|
|
20
20
|
}
|
|
21
21
|
componentWillRender() {
|
|
22
22
|
const items = this._el.querySelectorAll(':scope > *');
|
|
23
23
|
this._items = Array.from(items);
|
|
24
24
|
}
|
|
25
|
+
componentDidRender() {
|
|
26
|
+
const outerHeight = this._items.at(0).getBoundingClientRect().height;
|
|
27
|
+
if (outerHeight != this._outerHeight) {
|
|
28
|
+
this._outerHeight = outerHeight;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
25
31
|
componentDidLoad() {
|
|
32
|
+
this._calculateWidth();
|
|
26
33
|
this._calculateIndicator();
|
|
27
34
|
}
|
|
28
35
|
render() {
|
|
29
36
|
return (h(Host, { class: "p-content-slider" },
|
|
30
|
-
h("div", { class: `
|
|
31
|
-
|
|
37
|
+
h("div", { class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
|
|
38
|
+
height: `${this._outerHeight}px`,
|
|
39
|
+
}, ref: (el) => (this._sliderRef = el), onScroll: () => this._handleScroll(), onMouseDown: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e) },
|
|
40
|
+
h("div", { class: "inner-slider", ref: (ref) => (this._innerSliderRef = ref) },
|
|
41
|
+
h("slot", null))),
|
|
32
42
|
h("div", { class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("p-slider-indicator", { class: !this.disableIndicatorClick && 'cursor-pointer', onClick: () => this._scrollTo(i), active: i === this._visibleIndex }))))));
|
|
33
43
|
}
|
|
34
44
|
_handleScroll() {
|
|
@@ -41,30 +51,37 @@ export class ContentSlider {
|
|
|
41
51
|
if (this.disableDrag || this._dragging) {
|
|
42
52
|
return;
|
|
43
53
|
}
|
|
44
|
-
this.
|
|
45
|
-
// The current scroll
|
|
46
|
-
left: this._contentRef.scrollLeft,
|
|
47
|
-
top: this._contentRef.scrollTop,
|
|
48
|
-
// Get the current mouse position
|
|
49
|
-
x: e.clientX,
|
|
50
|
-
y: e.clientY,
|
|
51
|
-
};
|
|
54
|
+
this._startX = e.offsetX - this._innerSliderRef.offsetLeft;
|
|
52
55
|
this._dragging = true;
|
|
53
56
|
}
|
|
54
|
-
|
|
57
|
+
_mouseMoveHandler(e) {
|
|
55
58
|
if (!e || !this._dragging || this.disableDrag) {
|
|
56
59
|
return;
|
|
57
60
|
}
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
this.
|
|
63
|
-
|
|
61
|
+
e.preventDefault();
|
|
62
|
+
const x = e.offsetX;
|
|
63
|
+
this._innerSliderRef.style.left = `${x - this._startX}px`;
|
|
64
|
+
this._checkBoundary();
|
|
65
|
+
this._calculateIndicator();
|
|
66
|
+
}
|
|
67
|
+
_checkBoundary() {
|
|
68
|
+
let outer = this._sliderRef.getBoundingClientRect();
|
|
69
|
+
if (parseInt(this._innerSliderRef.style.left) > 0) {
|
|
70
|
+
this._innerSliderRef.style.left = '0px';
|
|
71
|
+
}
|
|
72
|
+
const maxLeft = (this._totalWidth - outer.width) * -1;
|
|
73
|
+
if (parseInt(this._innerSliderRef.style.left) < maxLeft) {
|
|
74
|
+
this._innerSliderRef.style.left = `${maxLeft}px`;
|
|
75
|
+
}
|
|
64
76
|
}
|
|
65
77
|
mouseUpHandler() {
|
|
66
78
|
this._dragging = false;
|
|
67
79
|
}
|
|
80
|
+
resizeHandler() {
|
|
81
|
+
this._innerSliderRef.style.left = '0px';
|
|
82
|
+
this._calculateWidth();
|
|
83
|
+
this._calculateIndicator();
|
|
84
|
+
}
|
|
68
85
|
_calculateIndicator() {
|
|
69
86
|
for (let i = 0; i < this._items.length; i++) {
|
|
70
87
|
const item = this._items[i];
|
|
@@ -78,28 +95,42 @@ export class ContentSlider {
|
|
|
78
95
|
}
|
|
79
96
|
}
|
|
80
97
|
_isVisible(el) {
|
|
81
|
-
if (!this._el || !
|
|
98
|
+
if (!this._el || !el) {
|
|
82
99
|
return false;
|
|
83
100
|
}
|
|
84
101
|
const elRect = el.getBoundingClientRect();
|
|
85
|
-
const
|
|
86
|
-
return (elRect.left
|
|
87
|
-
elRect.right < containerRect.right);
|
|
102
|
+
const sliderRect = this._sliderRef.getBoundingClientRect();
|
|
103
|
+
return (elRect.left >= sliderRect.left && elRect.right <= sliderRect.right);
|
|
88
104
|
}
|
|
89
105
|
_scrollTo(i) {
|
|
90
106
|
if (this.disableIndicatorClick) {
|
|
91
107
|
return;
|
|
92
108
|
}
|
|
93
109
|
const el = this._items[i];
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
this.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
110
|
+
if (i === 0) {
|
|
111
|
+
this._innerSliderRef.style.left = '0px';
|
|
112
|
+
this._calculateIndicator();
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
const sliderRect = this._sliderRef.getBoundingClientRect();
|
|
116
|
+
const elRect = el.getBoundingClientRect();
|
|
117
|
+
const centerOffset = el.offsetLeft + elRect.width / 2 - sliderRect.width / 2;
|
|
118
|
+
this._innerSliderRef.style.left = `-${centerOffset}px`;
|
|
119
|
+
this._checkBoundary();
|
|
120
|
+
this._calculateIndicator();
|
|
121
|
+
}
|
|
122
|
+
_calculateWidth() {
|
|
123
|
+
let totalWidth = 0;
|
|
124
|
+
for (let item of this._items) {
|
|
125
|
+
const rect = item.getBoundingClientRect();
|
|
126
|
+
totalWidth += rect.width;
|
|
127
|
+
}
|
|
128
|
+
const sliderStyle = getComputedStyle(this._sliderRef);
|
|
129
|
+
const padding = parseInt(sliderStyle.padding) * 2;
|
|
130
|
+
const innerSliderStyle = getComputedStyle(this._innerSliderRef);
|
|
131
|
+
const gap = parseInt(innerSliderStyle.gap) * (this._items.length - 1);
|
|
132
|
+
totalWidth += padding + gap;
|
|
133
|
+
this._totalWidth = totalWidth;
|
|
103
134
|
}
|
|
104
135
|
static get is() { return "p-content-slider"; }
|
|
105
136
|
static get encapsulation() { return "shadow"; }
|
|
@@ -167,18 +198,20 @@ export class ContentSlider {
|
|
|
167
198
|
}; }
|
|
168
199
|
static get states() { return {
|
|
169
200
|
"_visibleIndex": {},
|
|
201
|
+
"_outerHeight": {},
|
|
202
|
+
"_totalWidth": {},
|
|
170
203
|
"_dragging": {}
|
|
171
204
|
}; }
|
|
172
205
|
static get elementRef() { return "_el"; }
|
|
173
206
|
static get listeners() { return [{
|
|
174
|
-
"name": "
|
|
175
|
-
"method": "
|
|
207
|
+
"name": "mouseup",
|
|
208
|
+
"method": "mouseUpHandler",
|
|
176
209
|
"target": "window",
|
|
177
210
|
"capture": false,
|
|
178
211
|
"passive": true
|
|
179
212
|
}, {
|
|
180
|
-
"name": "
|
|
181
|
-
"method": "
|
|
213
|
+
"name": "resize",
|
|
214
|
+
"method": "resizeHandler",
|
|
182
215
|
"target": "window",
|
|
183
216
|
"capture": false,
|
|
184
217
|
"passive": true
|
|
@@ -9,4 +9,4 @@
|
|
|
9
9
|
:host([direction=vertical]) {
|
|
10
10
|
@apply flex-col flex-wrap items-start;
|
|
11
11
|
@apply w-full min-h-full;
|
|
12
|
-
} .static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1\/2{--tw-translate-y:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}
|
|
12
|
+
} .static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1\/2{--tw-translate-y:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
/* paperless custom elements */
|
|
2
|
-
export { Accordion as PAccordion } from '../types/components/
|
|
3
|
-
export { Avatar as PAvatar } from '../types/components/
|
|
4
|
-
export { AvatarGroup as PAvatarGroup } from '../types/components/
|
|
5
|
-
export { Button as PButton } from '../types/components/
|
|
6
|
-
export { CardBody as PCardBody } from '../types/components/
|
|
7
|
-
export { CardContainer as PCardContainer } from '../types/components/
|
|
8
|
-
export { CardHeader as PCardHeader } from '../types/components/
|
|
9
|
-
export { ContentSlider as PContentSlider } from '../types/components/
|
|
10
|
-
export { Counter as PCounter } from '../types/components/
|
|
11
|
-
export { Divider as PDivider } from '../types/components/
|
|
12
|
-
export { Dropdown as PDropdown } from '../types/components/
|
|
13
|
-
export { DropdownMenuContainer as PDropdownMenuContainer } from '../types/components/
|
|
14
|
-
export { DropdownMenuItem as PDropdownMenuItem } from '../types/components/
|
|
15
|
-
export { Helper as PHelper } from '../types/components/
|
|
16
|
-
export { Icon as PIcon } from '../types/components/
|
|
17
|
-
export { Illustration as PIllustration } from '../types/components/
|
|
18
|
-
export { InfoPanel as PInfoPanel } from '../types/components/
|
|
19
|
-
export { InputGroup as PInputGroup } from '../types/components/
|
|
20
|
-
export { Layout as PLayout } from '../types/components/
|
|
21
|
-
export { Loader as PLoader } from '../types/components/
|
|
22
|
-
export { Modal as PModal } from '../types/components/
|
|
23
|
-
export { ModalBackdrop as PModalBackdrop } from '../types/components/
|
|
24
|
-
export { ModalBody as PModalBody } from '../types/components/
|
|
25
|
-
export { ModalContainer as PModalContainer } from '../types/components/
|
|
26
|
-
export { ModalFooter as PModalFooter } from '../types/components/
|
|
27
|
-
export { ModalHeader as PModalHeader } from '../types/components/
|
|
28
|
-
export { Navbar as PNavbar } from '../types/components/
|
|
29
|
-
export { NavigationItem as PNavigationItem } from '../types/components/
|
|
30
|
-
export { Pagination as PPagination } from '../types/components/
|
|
31
|
-
export { PaginationItem as PPaginationItem } from '../types/components/
|
|
32
|
-
export { Profile as PProfile } from '../types/components/
|
|
33
|
-
export { SegmentContainer as PSegmentContainer } from '../types/components/
|
|
34
|
-
export { SegmentItem as PSegmentItem } from '../types/components/
|
|
35
|
-
export { SliderIndicator as PSliderIndicator } from '../types/components/
|
|
36
|
-
export { Status as PStatus } from '../types/components/
|
|
37
|
-
export { Stepper as PStepper } from '../types/components/
|
|
38
|
-
export { StepperItem as PStepperItem } from '../types/components/
|
|
39
|
-
export { StepperLine as PStepperLine } from '../types/components/
|
|
40
|
-
export { TabGroup as PTabGroup } from '../types/components/
|
|
41
|
-
export { TabItem as PTabItem } from '../types/components/
|
|
42
|
-
export { Tag as PTag } from '../types/components/
|
|
43
|
-
export { Tooltip as PTooltip } from '../types/components/
|
|
2
|
+
export { Accordion as PAccordion } from '../types/components/molecules/accordion/accordion.component';
|
|
3
|
+
export { Avatar as PAvatar } from '../types/components/atoms/avatar/avatar.component';
|
|
4
|
+
export { AvatarGroup as PAvatarGroup } from '../types/components/atoms/avatar-group/avatar-group.component';
|
|
5
|
+
export { Button as PButton } from '../types/components/atoms/button/button.component';
|
|
6
|
+
export { CardBody as PCardBody } from '../types/components/atoms/card-body/card-body.component';
|
|
7
|
+
export { CardContainer as PCardContainer } from '../types/components/atoms/card-container/card-container.component';
|
|
8
|
+
export { CardHeader as PCardHeader } from '../types/components/atoms/card-header/card-header.component';
|
|
9
|
+
export { ContentSlider as PContentSlider } from '../types/components/molecules/content-slider/content-slider.component';
|
|
10
|
+
export { Counter as PCounter } from '../types/components/atoms/counter/counter.component';
|
|
11
|
+
export { Divider as PDivider } from '../types/components/atoms/divider/divider.component';
|
|
12
|
+
export { Dropdown as PDropdown } from '../types/components/molecules/dropdown/dropdown.component';
|
|
13
|
+
export { DropdownMenuContainer as PDropdownMenuContainer } from '../types/components/atoms/dropdown-menu-container/dropdown-menu-container.component';
|
|
14
|
+
export { DropdownMenuItem as PDropdownMenuItem } from '../types/components/atoms/dropdown-menu-item/dropdown-menu-item.component';
|
|
15
|
+
export { Helper as PHelper } from '../types/components/atoms/helper/helper.component';
|
|
16
|
+
export { Icon as PIcon } from '../types/components/atoms/icon/icon.component';
|
|
17
|
+
export { Illustration as PIllustration } from '../types/components/atoms/illustration/illustration.component';
|
|
18
|
+
export { InfoPanel as PInfoPanel } from '../types/components/atoms/info-panel/info-panel.component';
|
|
19
|
+
export { InputGroup as PInputGroup } from '../types/components/molecules/input-group/input-group.component';
|
|
20
|
+
export { Layout as PLayout } from '../types/components/atoms/layout/layout.component';
|
|
21
|
+
export { Loader as PLoader } from '../types/components/atoms/loader/loader.component';
|
|
22
|
+
export { Modal as PModal } from '../types/components/organisms/modal/modal.component';
|
|
23
|
+
export { ModalBackdrop as PModalBackdrop } from '../types/components/atoms/modal-backdrop/modal-backdrop.component';
|
|
24
|
+
export { ModalBody as PModalBody } from '../types/components/atoms/modal-body/modal-body.component';
|
|
25
|
+
export { ModalContainer as PModalContainer } from '../types/components/atoms/modal-container/modal-container.component';
|
|
26
|
+
export { ModalFooter as PModalFooter } from '../types/components/atoms/modal-footer/modal-footer.component';
|
|
27
|
+
export { ModalHeader as PModalHeader } from '../types/components/atoms/modal-header/modal-header.component';
|
|
28
|
+
export { Navbar as PNavbar } from '../types/components/organisms/navbar/navbar.component';
|
|
29
|
+
export { NavigationItem as PNavigationItem } from '../types/components/molecules/navigation-item/navigation-item.component';
|
|
30
|
+
export { Pagination as PPagination } from '../types/components/molecules/pagination/pagination.component';
|
|
31
|
+
export { PaginationItem as PPaginationItem } from '../types/components/atoms/pagination-item/pagination-item.component';
|
|
32
|
+
export { Profile as PProfile } from '../types/components/molecules/profile/profile.component';
|
|
33
|
+
export { SegmentContainer as PSegmentContainer } from '../types/components/atoms/segment-container/segment-container.component';
|
|
34
|
+
export { SegmentItem as PSegmentItem } from '../types/components/atoms/segment-item/segment-item.component';
|
|
35
|
+
export { SliderIndicator as PSliderIndicator } from '../types/components/atoms/slider-indicator/slider-indicator.component';
|
|
36
|
+
export { Status as PStatus } from '../types/components/atoms/status/status.component';
|
|
37
|
+
export { Stepper as PStepper } from '../types/components/molecules/stepper/stepper.component';
|
|
38
|
+
export { StepperItem as PStepperItem } from '../types/components/atoms/stepper-item/stepper-item.component';
|
|
39
|
+
export { StepperLine as PStepperLine } from '../types/components/atoms/stepper-line/stepper-line.component';
|
|
40
|
+
export { TabGroup as PTabGroup } from '../types/components/atoms/tab-group/tab-group.component';
|
|
41
|
+
export { TabItem as PTabItem } from '../types/components/atoms/tab-item/tab-item.component';
|
|
42
|
+
export { Tag as PTag } from '../types/components/atoms/tag/tag.component';
|
|
43
|
+
export { Tooltip as PTooltip } from '../types/components/atoms/tooltip/tooltip.component';
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Used to manually set the base path where assets can be found.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const loaderComponentCss = ".static{position:static!important}.fixed{position:fixed!important}.top-0{top:0!important}.left-0{left:0!important}.m-0{margin:0!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.h-\\[1em\\]{height:1em!important}.w-\\[1em\\]{width:1em!important}.w-screen{width:100vw!important}.w-full{width:100%!important}.rotate-0{--tw-rotate:0deg!important}.rotate-0,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-270{--tw-rotate:270deg!important}.rotate-315{--tw-rotate:315deg!important}.-rotate-0,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-135,.-rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-270,.-rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-315{--tw-rotate:-315deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@-webkit-keyframes spin{to{transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite!important;animation:spin 1s linear infinite!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.border-2{border-width:2px!important}.border-solid{border-style:solid!important}.border-indigo-light{--tw-border-opacity:1!important;border-color:rgb(241 246 255/var(--tw-border-opacity))!important}.border-storm-light\\/40{border-color:rgba(176,178,203,.4)!important}.border-indigo-light\\/40{border-color:rgba(241,246,255,.4)!important}.border-t-indigo{--tw-border-opacity:1!important;border-top-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-t-storm{--tw-border-opacity:1!important;border-top-color:rgb(81 83 107/var(--tw-border-opacity))!important}.border-t-white{--tw-border-opacity:1!important;border-top-color:rgb(255 255 255/var(--tw-border-opacity))!important}.text-xxs{font-size:.6875rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-
|
|
3
|
+
const loaderComponentCss = ".static{position:static!important}.fixed{position:fixed!important}.top-0{top:0!important}.left-0{left:0!important}.m-0{margin:0!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.h-\\[1em\\]{height:1em!important}.w-\\[1em\\]{width:1em!important}.w-screen{width:100vw!important}.w-full{width:100%!important}.rotate-0{--tw-rotate:0deg!important}.rotate-0,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-270{--tw-rotate:270deg!important}.rotate-315{--tw-rotate:315deg!important}.-rotate-0,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-135,.-rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-270,.-rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-315{--tw-rotate:-315deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}@-webkit-keyframes spin{to{transform:rotate(1turn)}}.animate-spin{-webkit-animation:spin 1s linear infinite!important;animation:spin 1s linear infinite!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.border-2{border-width:2px!important}.border-solid{border-style:solid!important}.border-indigo-light{--tw-border-opacity:1!important;border-color:rgb(241 246 255/var(--tw-border-opacity))!important}.border-storm-light\\/40{border-color:rgba(176,178,203,.4)!important}.border-indigo-light\\/40{border-color:rgba(241,246,255,.4)!important}.border-t-indigo{--tw-border-opacity:1!important;border-top-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-t-storm{--tw-border-opacity:1!important;border-top-color:rgb(81 83 107/var(--tw-border-opacity))!important}.border-t-white{--tw-border-opacity:1!important;border-top-color:rgb(255 255 255/var(--tw-border-opacity))!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-xxs{font-size:.6875rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}*{box-sizing:border-box}:host .loader{--tw-border-opacity:1!important;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite;border-color:rgb(241 246 255/var(--tw-border-opacity))!important;border-radius:100%;border-style:solid!important;border-top:solid rgb(82 138 250/var(--tw-border-opacity))!important;border-width:2px!important;display:inline-block;height:1em;transition-duration:.5s;width:1em}:host .loader.color-storm{--tw-border-opacity:1!important;border-color:rgba(176,178,203,.4)!important;border-top-color:rgb(81 83 107/var(--tw-border-opacity))!important}:host .loader.color-white{--tw-border-opacity:1!important;border-color:rgba(241,246,255,.4)!important;border-top-color:rgb(255 255 255/var(--tw-border-opacity))!important}:host .loading-screen{--tw-bg-opacity:1;align-items:center;background-color:rgb(247 250 252/var(--tw-bg-opacity));display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:1001}:host .loading-screen .content{max-width:20rem}:host .loading-screen .content .loader-wrapper{display:flex;justify-content:center;width:100%}:host .loading-screen .content .loader-wrapper .loader{font-size:2.25rem;line-height:2.5rem}.-rotate-0,.-rotate-135,.-rotate-180,.-rotate-225,.-rotate-25,.-rotate-270,.-rotate-315,.-rotate-45,.-rotate-90,.rotate-0,.rotate-135,.rotate-180,.rotate-225,.rotate-25,.rotate-270,.rotate-315,.rotate-45,.rotate-90,.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}";
|
|
4
4
|
|
|
5
5
|
const Loader = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|