@paperless/core 2.0.1-beta.113 → 2.0.1-beta.114
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 +18 -0
- package/dist/build/p-01a2b5af.entry.js +2 -0
- package/dist/build/p-01a2b5af.entry.js.map +1 -0
- package/dist/build/p-08cff47b.entry.js +2 -0
- package/dist/build/{p-96cd5cff.entry.js → p-0c0ebb15.entry.js} +2 -2
- package/dist/{paperless/p-96cb3e48.entry.js → build/p-0c257fa2.entry.js} +2 -2
- package/dist/build/p-0cf505a8.entry.js +2 -0
- package/dist/build/{p-505650b6.entry.js.map → p-0cf505a8.entry.js.map} +1 -1
- package/dist/build/p-0da54170.entry.js +2 -0
- package/dist/build/p-0da54170.entry.js.map +1 -0
- package/dist/{paperless/p-8d4c7827.entry.js → build/p-0fe51ad0.entry.js} +2 -2
- package/dist/build/{p-35c50504.entry.js → p-128f3811.entry.js} +2 -2
- package/dist/build/{p-0a0ef10d.entry.js → p-1778732a.entry.js} +2 -2
- package/dist/build/p-1a544806.entry.js +2 -0
- package/dist/build/p-22e7fde5.entry.js +2 -0
- package/dist/build/p-22e7fde5.entry.js.map +1 -0
- package/dist/{paperless/p-41949138.entry.js → build/p-29d452d0.entry.js} +2 -2
- package/dist/build/{p-1c9405d8.entry.js → p-30f6e463.entry.js} +2 -2
- package/dist/build/p-3d341a83.entry.js +2 -0
- package/dist/build/p-3d341a83.entry.js.map +1 -0
- package/dist/{paperless/p-dc4121c6.entry.js → build/p-4e95f16d.entry.js} +2 -2
- package/dist/build/p-4e95f16d.entry.js.map +1 -0
- package/dist/build/{p-6cddddb7.entry.js → p-52149e0e.entry.js} +2 -2
- package/dist/build/p-5451207c.entry.js +2 -0
- package/dist/build/{p-6d54b0a5.entry.js.map → p-5451207c.entry.js.map} +1 -1
- package/dist/build/{p-fd4a25eb.entry.js → p-58f9ac89.entry.js} +2 -2
- package/dist/build/p-5c3167c8.entry.js +2 -0
- package/dist/build/p-5c3167c8.entry.js.map +1 -0
- package/dist/build/{p-bc366236.entry.js → p-5ee4e9c7.entry.js} +2 -2
- package/dist/{paperless/p-4906fd4d.entry.js → build/p-5fa74e2e.entry.js} +2 -2
- package/dist/{paperless/p-26b75731.entry.js → build/p-66adc33a.entry.js} +2 -2
- package/dist/build/p-6c5f6d8a.entry.js +2 -0
- package/dist/build/p-6c5f6d8a.entry.js.map +1 -0
- package/dist/build/{p-b1b12e88.entry.js → p-7046dc66.entry.js} +2 -2
- package/dist/build/p-730bcacd.entry.js +2 -0
- package/dist/build/p-730bcacd.entry.js.map +1 -0
- package/dist/build/{p-a3da31c4.entry.js → p-7658fd89.entry.js} +2 -2
- package/dist/{paperless/p-697c465d.entry.js → build/p-76a4f70e.entry.js} +2 -2
- package/dist/build/p-79b42a23.entry.js +2 -0
- package/dist/build/p-79b42a23.entry.js.map +1 -0
- package/dist/build/{p-929b47c9.entry.js → p-7ddf5875.entry.js} +2 -2
- package/dist/build/{p-929b47c9.entry.js.map → p-7ddf5875.entry.js.map} +1 -1
- package/dist/{paperless/p-7a878e24.entry.js → build/p-8249382f.entry.js} +2 -2
- package/dist/build/p-8577755d.entry.js +2 -0
- package/dist/build/p-8577755d.entry.js.map +1 -0
- package/dist/build/{p-53e0b8a1.entry.js → p-868f9ee9.entry.js} +2 -2
- package/dist/{paperless/p-d4f4fe62.entry.js → build/p-912ce588.entry.js} +2 -2
- package/dist/build/p-91ea22cd.entry.js +2 -0
- package/dist/build/p-91ea22cd.entry.js.map +1 -0
- package/dist/build/{p-1bde15ae.entry.js → p-9409dfd7.entry.js} +2 -2
- package/dist/build/p-9409dfd7.entry.js.map +1 -0
- package/dist/build/p-a48262c6.entry.js +2 -0
- package/dist/{paperless/p-922fba03.entry.js.map → build/p-a48262c6.entry.js.map} +1 -1
- package/dist/build/{p-8a63e1d9.entry.js → p-a5bc8b63.entry.js} +2 -2
- package/dist/build/{p-8a63e1d9.entry.js.map → p-a5bc8b63.entry.js.map} +1 -1
- package/dist/build/{p-d894e0b1.entry.js → p-a5f29193.entry.js} +2 -2
- package/dist/build/p-ab23f388.js +2 -0
- package/dist/build/p-abd13a2a.entry.js +2 -0
- package/dist/build/p-accordion.entry.esm.js.map +1 -1
- package/dist/{paperless/p-b029529c.entry.js → build/p-ae64bdf2.entry.js} +2 -2
- package/dist/build/p-attachment.entry.esm.js.map +1 -1
- package/dist/build/p-avatar-group.entry.esm.js.map +1 -1
- package/dist/build/p-badge.p-segment-container.p-segment-item.entry.esm.js.map +1 -1
- package/dist/build/p-bfda8061.entry.js +2 -0
- package/dist/build/{p-4205f7e2.entry.js.map → p-bfda8061.entry.js.map} +1 -1
- package/dist/build/p-button-group.entry.esm.js.map +1 -1
- package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/build/p-c1041af9.entry.js +2 -0
- package/dist/build/p-c1041af9.entry.js.map +1 -0
- package/dist/build/p-c7139e78.entry.js +2 -0
- package/dist/build/p-c7139e78.entry.js.map +1 -0
- package/dist/build/{p-0ffe0165.entry.js → p-cac630d2.entry.js} +2 -2
- package/dist/build/p-cc379751.entry.js +2 -0
- package/dist/build/p-cc379751.entry.js.map +1 -0
- package/dist/build/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
- package/dist/build/p-content-slider.entry.esm.js.map +1 -1
- package/dist/build/{p-5667f8bf.entry.js → p-d0968c28.entry.js} +2 -2
- package/dist/build/p-d0968c28.entry.js.map +1 -0
- package/dist/build/{p-df7f9328.entry.js → p-d18ee52f.entry.js} +2 -2
- package/dist/{paperless/p-df7f9328.entry.js.map → build/p-d18ee52f.entry.js.map} +1 -1
- package/dist/build/p-datepicker.entry.esm.js.map +1 -1
- package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/{paperless/p-7a05c8ca.entry.js → build/p-e9db1b2d.entry.js} +2 -2
- package/dist/build/p-eef52967.entry.js +2 -0
- package/dist/build/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/build/{p-5cd98f23.entry.js → p-f1f14a3f.entry.js} +2 -2
- package/dist/build/p-field.p-field-container.entry.esm.js.map +1 -1
- package/dist/build/p-helper.p-tooltip.entry.esm.js.map +1 -1
- package/dist/build/p-iban-icon.entry.esm.js.map +1 -1
- package/dist/build/p-illustration.entry.esm.js.map +1 -1
- package/dist/build/p-info-panel.entry.esm.js.map +1 -1
- package/dist/build/p-label.entry.esm.js.map +1 -1
- package/dist/build/p-layout.entry.esm.js.map +1 -1
- package/dist/build/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
- package/dist/build/p-navigation-section.entry.esm.js.map +1 -1
- package/dist/build/p-navigation-title.entry.esm.js.map +1 -1
- package/dist/build/p-radio.entry.esm.js.map +1 -1
- package/dist/build/p-toggle.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-BDuPp9vl.js +0 -20
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/p-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +62 -11
- package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
- package/dist/cjs/p-attachment.entry.cjs.js.map +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar-group.entry.cjs.js.map +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/p-badge.p-segment-container.p-segment-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-badge_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button-group.entry.cjs.js.map +1 -1
- package/dist/cjs/p-button.p-icon.p-loader.entry.cjs.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +16 -14
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-checkbox_4.cjs.entry.js +14 -14
- package/dist/cjs/p-checkbox_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-content-slider.cjs.entry.js +8 -3
- package/dist/cjs/p-content-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/p-content-slider.entry.cjs.js.map +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.entry.cjs.js.map +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +6 -6
- package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-empty-state_9.cjs.entry.js +20 -20
- package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
- package/dist/cjs/p-field.p-field-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-field_2.cjs.entry.js +37 -16
- package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-helper.p-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/p-helper_2.cjs.entry.js +5 -5
- package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
- package/dist/cjs/p-iban-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/p-iban-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/p-illustration-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration.cjs.entry.js.map +1 -1
- package/dist/cjs/p-illustration.entry.cjs.js.map +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +4 -4
- package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/p-info-panel.entry.cjs.js.map +1 -1
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-label.cjs.entry.js.map +1 -1
- package/dist/cjs/p-label.entry.cjs.js.map +1 -1
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/p-layout.entry.cjs.js.map +1 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
- package/dist/cjs/p-listing.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +8 -7
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-section.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-section.entry.cjs.js.map +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-title.entry.cjs.js.map +1 -1
- package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +7 -7
- package/dist/cjs/p-portal.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +4 -4
- package/dist/cjs/p-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/p-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item.cjs.entry.js +4 -4
- package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +3 -3
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +4 -4
- package/dist/cjs/p-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +5 -10
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js.map +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
- package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +6 -6
- package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.css +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.css +1 -1
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +2 -2
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js.map +1 -1
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +3 -3
- package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js.map +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +7 -7
- package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -1
- package/dist/collection/components/{deprecated/atoms → atoms}/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/layout/layout.component.js.map +1 -0
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/loader/loader.component.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/loader/loader.component.js +7 -7
- package/dist/collection/components/atoms/loader/loader.component.js.map +1 -0
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.css +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +2 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js.map +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js.map +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +5 -5
- package/dist/collection/components/atoms/radio/radio.component.js.map +1 -1
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/container/segment-container.component.js.map +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +5 -5
- package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
- package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -1
- package/dist/collection/components/deprecated/atoms/illustration-deprecated/illustration-deprecated.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/helpers/portal/portal.component.js +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -0
- package/dist/collection/components/{deprecated/molecules → molecules}/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -0
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -0
- package/dist/collection/components/molecules/attachment/attachment.component.js +377 -0
- package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -0
- package/dist/collection/components/molecules/button/button.component.js +7 -5
- package/dist/collection/components/molecules/button/button.component.js.map +1 -1
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/button-group/button-group.component.js.map +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/{deprecated/molecules → molecules}/content-slider/content-slider.component.css +1 -1
- package/dist/collection/components/{deprecated/molecules → molecules}/content-slider/content-slider.component.js +6 -2
- package/dist/collection/components/molecules/content-slider/content-slider.component.js.map +1 -0
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +3 -3
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.css +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/container/field-container.component.js +5 -5
- package/dist/collection/components/molecules/field/container/field-container.component.js.map +1 -1
- package/dist/collection/components/molecules/field/field/field.component.css +1 -1
- package/dist/collection/components/molecules/field/field/field.component.js +34 -13
- package/dist/collection/components/molecules/field/field/field.component.js.map +1 -1
- package/dist/collection/components/molecules/label/label.component.js +4 -4
- package/dist/collection/components/molecules/label/label.component.js.map +1 -1
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +2 -2
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +1 -1
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/header/table-header.component.js +3 -3
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/stepper/stepper.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.js +3 -3
- package/dist/components/index.js +2 -2
- package/dist/components/{p-B-dtByez.js → p-192xXCKV.js} +10 -10
- package/dist/components/p-192xXCKV.js.map +1 -0
- package/dist/components/{p-DdK27Obl.js → p-2DRqcElr.js} +3 -3
- package/dist/components/{p-DdK27Obl.js.map → p-2DRqcElr.js.map} +1 -1
- package/dist/components/{p-MQ5NAuIf.js → p-A5puW8KH.js} +13 -11
- package/dist/components/p-A5puW8KH.js.map +1 -0
- package/dist/components/{p-C1FkmkFJ.js → p-B4MNLDXF.js} +3 -3
- package/dist/components/{p-C1FkmkFJ.js.map → p-B4MNLDXF.js.map} +1 -1
- package/dist/components/{p-CSIFLNsS.js → p-BBKYP-Cm.js} +3 -3
- package/dist/components/{p-CSIFLNsS.js.map → p-BBKYP-Cm.js.map} +1 -1
- package/dist/components/{p-BEuvmIBQ.js → p-BE9wqNth.js} +4 -4
- package/dist/components/{p-BEuvmIBQ.js.map → p-BE9wqNth.js.map} +1 -1
- package/dist/components/{p-DXsCtVm-.js → p-BFKshVEl.js} +3 -3
- package/dist/components/{p-DXsCtVm-.js.map → p-BFKshVEl.js.map} +1 -1
- package/dist/components/{p-D2Em0Yy7.js → p-BP1aeBcW.js} +9 -9
- package/dist/components/p-BP1aeBcW.js.map +1 -0
- package/dist/components/{p-BPkSg0bc.js → p-BPXS3EM8.js} +6 -6
- package/dist/components/{p-BPkSg0bc.js.map → p-BPXS3EM8.js.map} +1 -1
- package/dist/components/{p-p2WG_YKz.js → p-BSAVV_6x.js} +7 -7
- package/dist/components/{p-p2WG_YKz.js.map → p-BSAVV_6x.js.map} +1 -1
- package/dist/components/{p-CXH4yAMZ.js → p-Bev8J8ks.js} +10 -9
- package/dist/components/p-Bev8J8ks.js.map +1 -0
- package/dist/components/{p-CSMO4KRK.js → p-BnyZAlkn.js} +44 -23
- package/dist/components/p-BnyZAlkn.js.map +1 -0
- package/dist/components/{p-DlFumKvb.js → p-Bxt_h1P2.js} +8 -8
- package/dist/components/{p-DlFumKvb.js.map → p-Bxt_h1P2.js.map} +1 -1
- package/dist/components/p-C-1aZ7t0.js +92 -0
- package/dist/components/p-C-1aZ7t0.js.map +1 -0
- package/dist/components/p-C2CsD_zr.js +115 -0
- package/dist/components/{p-DJzH_A-R.js.map → p-C2CsD_zr.js.map} +1 -1
- package/dist/components/{p-C0yOzPit.js → p-CA3joyV6.js} +3 -3
- package/dist/components/{p-C0yOzPit.js.map → p-CA3joyV6.js.map} +1 -1
- package/dist/components/{p-D09jozUL.js → p-CA6-0EkK.js} +5 -5
- package/dist/components/{p-D09jozUL.js.map → p-CA6-0EkK.js.map} +1 -1
- package/dist/components/{p-4hDfHOnN.js → p-CBWjHURv.js} +4 -4
- package/dist/components/p-CBWjHURv.js.map +1 -0
- package/dist/components/{p-BpWSyLrS.js → p-CKTvcFFn.js} +3 -3
- package/dist/components/{p-BpWSyLrS.js.map → p-CKTvcFFn.js.map} +1 -1
- package/dist/components/{p-Ma26TfrN.js → p-CMY9PhJV.js} +5 -5
- package/dist/components/{p-Ma26TfrN.js.map → p-CMY9PhJV.js.map} +1 -1
- package/dist/components/{p-olyt1_RK.js → p-CS8aLBBd.js} +3 -3
- package/dist/components/{p-olyt1_RK.js.map → p-CS8aLBBd.js.map} +1 -1
- package/dist/components/{p-Cb5QxFb_.js → p-CT54OXR2.js} +3 -3
- package/dist/components/{p-Cb5QxFb_.js.map → p-CT54OXR2.js.map} +1 -1
- package/dist/components/{p-tf3ZTq-9.js → p-CgHBpaJ2.js} +16 -16
- package/dist/components/{p-tf3ZTq-9.js.map → p-CgHBpaJ2.js.map} +1 -1
- package/dist/components/p-ChV9xqsO.js +6 -0
- package/dist/components/p-ChV9xqsO.js.map +1 -0
- package/dist/components/{p-DQsUJhL8.js → p-Cp8IEnaB.js} +12 -12
- package/dist/components/{p-DQsUJhL8.js.map → p-Cp8IEnaB.js.map} +1 -1
- package/dist/components/{p-BmuXuYR6.js → p-Cr5nmZn3.js} +6 -6
- package/dist/components/{p-BmuXuYR6.js.map → p-Cr5nmZn3.js.map} +1 -1
- package/dist/components/{p-CmzpquGH.js → p-Cs06wZSM.js} +8 -8
- package/dist/components/{p-CmzpquGH.js.map → p-Cs06wZSM.js.map} +1 -1
- package/dist/components/{p-BIf14u2D.js → p-Ct_1clhY.js} +9 -9
- package/dist/components/{p-BIf14u2D.js.map → p-Ct_1clhY.js.map} +1 -1
- package/dist/components/{p-CEoo55FK.js → p-Cv1xoKQ6.js} +5 -5
- package/dist/components/{p-CEoo55FK.js.map → p-Cv1xoKQ6.js.map} +1 -1
- package/dist/components/{p-C7OuWaSr.js → p-CyPGXubm.js} +4 -4
- package/dist/components/{p-C7OuWaSr.js.map → p-CyPGXubm.js.map} +1 -1
- package/dist/components/{p-BlzjYdn5.js → p-D4wHNR58.js} +6 -6
- package/dist/components/{p-BlzjYdn5.js.map → p-D4wHNR58.js.map} +1 -1
- package/dist/components/{p-DH9lFbRX.js → p-D7OHNXA8.js} +5 -5
- package/dist/components/{p-DH9lFbRX.js.map → p-D7OHNXA8.js.map} +1 -1
- package/dist/components/{p-oN2NV1VP.js → p-DB4h1B2U.js} +4 -4
- package/dist/components/{p-oN2NV1VP.js.map → p-DB4h1B2U.js.map} +1 -1
- package/dist/components/{p-ZBndlSp5.js → p-DNHN-J6Y.js} +7 -7
- package/dist/components/p-DNHN-J6Y.js.map +1 -0
- package/dist/components/{p-DNuBtBUG.js → p-DO22qLlU.js} +8 -8
- package/dist/components/{p-DNuBtBUG.js.map → p-DO22qLlU.js.map} +1 -1
- package/dist/components/{p-CUgIFdxM.js → p-DfRQHBer.js} +3 -3
- package/dist/components/{p-CUgIFdxM.js.map → p-DfRQHBer.js.map} +1 -1
- package/dist/components/{p-CYGYOpps.js → p-DlGX7eAs.js} +12 -12
- package/dist/components/p-DlGX7eAs.js.map +1 -0
- package/dist/components/p-Dlmv9Uk2.js +58 -0
- package/dist/components/{p-BYnq9fQl.js.map → p-Dlmv9Uk2.js.map} +1 -1
- package/dist/components/{p-CzmLJq-j.js → p-DwUkFgs3.js} +18 -18
- package/dist/components/{p-CzmLJq-j.js.map → p-DwUkFgs3.js.map} +1 -1
- package/dist/components/{p-CErvgq5z.js → p-FJZcncHr.js} +4 -4
- package/dist/components/{p-CErvgq5z.js.map → p-FJZcncHr.js.map} +1 -1
- package/dist/components/{p-C_t2sBf3.js → p-HLwIOGJt.js} +8 -8
- package/dist/components/{p-C_t2sBf3.js.map → p-HLwIOGJt.js.map} +1 -1
- package/dist/components/{p-CxHSXAkq.js → p-Hj0dtQOu.js} +10 -10
- package/dist/components/{p-CxHSXAkq.js.map → p-Hj0dtQOu.js.map} +1 -1
- package/dist/components/{p-CKc3SL1J.js → p-OY7iMMA5.js} +6 -6
- package/dist/components/{p-CKc3SL1J.js.map → p-OY7iMMA5.js.map} +1 -1
- package/dist/components/p-accordion.js +4 -4
- package/dist/components/p-accordion.js.map +1 -1
- package/dist/components/p-attachment.js +86 -23
- package/dist/components/p-attachment.js.map +1 -1
- package/dist/components/p-avatar-group.js +1 -1
- package/dist/components/p-avatar-group.js.map +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/{p-BELUs4d5.js → p-b3Miuuib.js} +16 -16
- package/dist/components/{p-BELUs4d5.js.map → p-b3Miuuib.js.map} +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button-group.js.map +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/{p-CQcp92mr.js → p-cCxwgzDB.js} +7 -7
- package/dist/components/p-cCxwgzDB.js.map +1 -0
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-container.js +3 -3
- package/dist/components/p-card-header.js +7 -7
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +8 -10
- package/dist/components/p-content-slider.js.map +1 -1
- package/dist/components/p-cropper.js +4 -4
- package/dist/components/p-datepicker.js +14 -14
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +8 -8
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/{p-abTHpIy3.js → p-i-upzqfe.js} +4 -4
- package/dist/components/{p-abTHpIy3.js.map → p-i-upzqfe.js.map} +1 -1
- package/dist/components/p-iban-icon.js +2 -2
- package/dist/components/p-iban-icon.js.map +1 -1
- package/dist/components/p-icon.js +1 -1
- package/dist/components/p-illustration-deprecated.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +6 -6
- package/dist/components/p-info-panel.js.map +1 -1
- package/dist/components/p-label.js +7 -7
- package/dist/components/p-label.js.map +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-layout.js.map +1 -1
- package/dist/components/p-listing-item.js +2 -2
- package/dist/components/p-listing-line.js +1 -1
- package/dist/components/p-listing.js +2 -2
- package/dist/components/p-loader.js +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +10 -10
- package/dist/components/p-navbar.js +6 -6
- package/dist/components/p-navigation-item.js +7 -7
- package/dist/components/p-navigation-section.js +2 -2
- package/dist/components/p-navigation-section.js.map +1 -1
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/{p-ElOvIDKN.js → p-oan6Th3h.js} +3 -3
- package/dist/components/{p-ElOvIDKN.js.map → p-oan6Th3h.js.map} +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-portal.js +1 -1
- package/dist/components/p-profile.js +7 -7
- package/dist/components/p-radio.js +6 -6
- package/dist/components/p-radio.js.map +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +15 -15
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +5 -5
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +3 -3
- package/dist/components/p-tab-container.js +2 -2
- package/dist/components/p-tab-item.js +2 -2
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-container.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +35 -35
- package/dist/components/p-toast-container.js +3 -3
- package/dist/components/p-toast.js +5 -5
- package/dist/components/p-toggle.js +6 -6
- package/dist/components/p-toggle.js.map +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-dHqdW8fy.js → p-vxD7JU3i.js} +5 -5
- package/dist/components/{p-dHqdW8fy.js.map → p-vxD7JU3i.js.map} +1 -1
- package/dist/esm/index-DhGo7hbh.js +0 -20
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-accordion.entry.js.map +1 -1
- package/dist/esm/p-attachment.entry.js +63 -12
- package/dist/esm/p-attachment.entry.js.map +1 -1
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar-group.entry.js.map +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +3 -3
- package/dist/esm/p-badge.p-segment-container.p-segment-item.entry.js.map +1 -1
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-badge_3.entry.js.map +1 -1
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button-group.entry.js.map +1 -1
- package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +16 -14
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.js.map +1 -1
- package/dist/esm/p-checkbox_4.entry.js +15 -15
- package/dist/esm/p-checkbox_4.entry.js.map +1 -1
- package/dist/esm/p-content-slider.entry.js +8 -3
- package/dist/esm/p-content-slider.entry.js.map +1 -1
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +3 -3
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
- package/dist/esm/p-drawer-body_3.entry.js +6 -6
- package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
- package/dist/esm/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
- package/dist/esm/p-empty-state_9.entry.js +20 -20
- package/dist/esm/p-empty-state_9.entry.js.map +1 -1
- package/dist/esm/p-field.p-field-container.entry.js.map +1 -1
- package/dist/esm/p-field_2.entry.js +38 -17
- package/dist/esm/p-field_2.entry.js.map +1 -1
- package/dist/esm/p-helper.p-tooltip.entry.js.map +1 -1
- package/dist/esm/p-helper_2.entry.js +6 -6
- package/dist/esm/p-helper_2.entry.js.map +1 -1
- package/dist/esm/p-iban-icon.entry.js +2 -2
- package/dist/esm/p-iban-icon.entry.js.map +1 -1
- package/dist/esm/p-illustration-deprecated.entry.js +1 -1
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-illustration.entry.js.map +1 -1
- package/dist/esm/p-info-panel.entry.js +4 -4
- package/dist/esm/p-info-panel.entry.js.map +1 -1
- package/dist/esm/p-label.entry.js +4 -4
- package/dist/esm/p-label.entry.js.map +1 -1
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-layout.entry.js.map +1 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-listing-line.entry.js +1 -1
- package/dist/esm/p-listing.entry.js +1 -1
- package/dist/esm/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
- package/dist/esm/p-modal-body_4.entry.js +8 -7
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-section.entry.js.map +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js.map +1 -1
- package/dist/esm/p-pagination-pages-item.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +7 -7
- package/dist/esm/p-portal.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +5 -5
- package/dist/esm/p-radio.entry.js.map +1 -1
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item.entry.js +4 -4
- package/dist/esm/p-stepper-line.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +3 -3
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +5 -5
- package/dist/esm/p-toggle.entry.js.map +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-01a2b5af.entry.js +2 -0
- package/dist/paperless/p-01a2b5af.entry.js.map +1 -0
- package/dist/paperless/p-08cff47b.entry.js +2 -0
- package/dist/paperless/{p-96cd5cff.entry.js → p-0c0ebb15.entry.js} +2 -2
- package/dist/{build/p-96cb3e48.entry.js → paperless/p-0c257fa2.entry.js} +2 -2
- package/dist/paperless/p-0cf505a8.entry.js +2 -0
- package/dist/paperless/{p-505650b6.entry.js.map → p-0cf505a8.entry.js.map} +1 -1
- package/dist/paperless/p-0da54170.entry.js +2 -0
- package/dist/paperless/p-0da54170.entry.js.map +1 -0
- package/dist/{build/p-8d4c7827.entry.js → paperless/p-0fe51ad0.entry.js} +2 -2
- package/dist/paperless/{p-35c50504.entry.js → p-128f3811.entry.js} +2 -2
- package/dist/paperless/{p-0a0ef10d.entry.js → p-1778732a.entry.js} +2 -2
- package/dist/paperless/p-1a544806.entry.js +2 -0
- package/dist/paperless/p-22e7fde5.entry.js +2 -0
- package/dist/paperless/p-22e7fde5.entry.js.map +1 -0
- package/dist/{build/p-41949138.entry.js → paperless/p-29d452d0.entry.js} +2 -2
- package/dist/paperless/{p-1c9405d8.entry.js → p-30f6e463.entry.js} +2 -2
- package/dist/paperless/p-3d341a83.entry.js +2 -0
- package/dist/paperless/p-3d341a83.entry.js.map +1 -0
- package/dist/{build/p-dc4121c6.entry.js → paperless/p-4e95f16d.entry.js} +2 -2
- package/dist/paperless/p-4e95f16d.entry.js.map +1 -0
- package/dist/paperless/{p-6cddddb7.entry.js → p-52149e0e.entry.js} +2 -2
- package/dist/paperless/p-5451207c.entry.js +2 -0
- package/dist/paperless/{p-6d54b0a5.entry.js.map → p-5451207c.entry.js.map} +1 -1
- package/dist/paperless/{p-fd4a25eb.entry.js → p-58f9ac89.entry.js} +2 -2
- package/dist/paperless/p-5c3167c8.entry.js +2 -0
- package/dist/paperless/p-5c3167c8.entry.js.map +1 -0
- package/dist/paperless/{p-bc366236.entry.js → p-5ee4e9c7.entry.js} +2 -2
- package/dist/{build/p-4906fd4d.entry.js → paperless/p-5fa74e2e.entry.js} +2 -2
- package/dist/{build/p-26b75731.entry.js → paperless/p-66adc33a.entry.js} +2 -2
- package/dist/paperless/p-6c5f6d8a.entry.js +2 -0
- package/dist/paperless/p-6c5f6d8a.entry.js.map +1 -0
- package/dist/paperless/{p-b1b12e88.entry.js → p-7046dc66.entry.js} +2 -2
- package/dist/paperless/p-730bcacd.entry.js +2 -0
- package/dist/paperless/p-730bcacd.entry.js.map +1 -0
- package/dist/paperless/{p-a3da31c4.entry.js → p-7658fd89.entry.js} +2 -2
- package/dist/{build/p-697c465d.entry.js → paperless/p-76a4f70e.entry.js} +2 -2
- package/dist/paperless/p-79b42a23.entry.js +2 -0
- package/dist/paperless/p-79b42a23.entry.js.map +1 -0
- package/dist/paperless/{p-929b47c9.entry.js → p-7ddf5875.entry.js} +2 -2
- package/dist/paperless/{p-929b47c9.entry.js.map → p-7ddf5875.entry.js.map} +1 -1
- package/dist/{build/p-7a878e24.entry.js → paperless/p-8249382f.entry.js} +2 -2
- package/dist/paperless/p-8577755d.entry.js +2 -0
- package/dist/paperless/p-8577755d.entry.js.map +1 -0
- package/dist/paperless/{p-53e0b8a1.entry.js → p-868f9ee9.entry.js} +2 -2
- package/dist/{build/p-d4f4fe62.entry.js → paperless/p-912ce588.entry.js} +2 -2
- package/dist/paperless/p-91ea22cd.entry.js +2 -0
- package/dist/paperless/p-91ea22cd.entry.js.map +1 -0
- package/dist/paperless/{p-1bde15ae.entry.js → p-9409dfd7.entry.js} +2 -2
- package/dist/paperless/p-9409dfd7.entry.js.map +1 -0
- package/dist/paperless/p-a48262c6.entry.js +2 -0
- package/dist/{build/p-922fba03.entry.js.map → paperless/p-a48262c6.entry.js.map} +1 -1
- package/dist/paperless/{p-8a63e1d9.entry.js → p-a5bc8b63.entry.js} +2 -2
- package/dist/paperless/{p-8a63e1d9.entry.js.map → p-a5bc8b63.entry.js.map} +1 -1
- package/dist/paperless/{p-d894e0b1.entry.js → p-a5f29193.entry.js} +2 -2
- package/dist/paperless/p-abd13a2a.entry.js +2 -0
- package/dist/paperless/p-accordion.entry.esm.js.map +1 -1
- package/dist/{build/p-b029529c.entry.js → paperless/p-ae64bdf2.entry.js} +2 -2
- package/dist/paperless/p-attachment.entry.esm.js.map +1 -1
- package/dist/paperless/p-avatar-group.entry.esm.js.map +1 -1
- package/dist/paperless/p-badge.p-segment-container.p-segment-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-bfda8061.entry.js +2 -0
- package/dist/paperless/{p-4205f7e2.entry.js.map → p-bfda8061.entry.js.map} +1 -1
- package/dist/paperless/p-button-group.entry.esm.js.map +1 -1
- package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/paperless/p-c1041af9.entry.js +2 -0
- package/dist/paperless/p-c1041af9.entry.js.map +1 -0
- package/dist/paperless/p-c7139e78.entry.js +2 -0
- package/dist/paperless/p-c7139e78.entry.js.map +1 -0
- package/dist/paperless/{p-0ffe0165.entry.js → p-cac630d2.entry.js} +2 -2
- package/dist/paperless/p-cc379751.entry.js +2 -0
- package/dist/paperless/p-cc379751.entry.js.map +1 -0
- package/dist/paperless/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-content-slider.entry.esm.js.map +1 -1
- package/dist/paperless/{p-5667f8bf.entry.js → p-d0968c28.entry.js} +2 -2
- package/dist/paperless/p-d0968c28.entry.js.map +1 -0
- package/dist/paperless/{p-df7f9328.entry.js → p-d18ee52f.entry.js} +2 -2
- package/dist/{build/p-df7f9328.entry.js.map → paperless/p-d18ee52f.entry.js.map} +1 -1
- package/dist/paperless/p-datepicker.entry.esm.js.map +1 -1
- package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/{build/p-7a05c8ca.entry.js → paperless/p-e9db1b2d.entry.js} +2 -2
- package/dist/paperless/p-eef52967.entry.js +2 -0
- package/dist/paperless/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/paperless/{p-5cd98f23.entry.js → p-f1f14a3f.entry.js} +2 -2
- package/dist/paperless/p-field.p-field-container.entry.esm.js.map +1 -1
- package/dist/paperless/p-helper.p-tooltip.entry.esm.js.map +1 -1
- package/dist/paperless/p-iban-icon.entry.esm.js.map +1 -1
- package/dist/paperless/p-illustration.entry.esm.js.map +1 -1
- package/dist/paperless/p-info-panel.entry.esm.js.map +1 -1
- package/dist/paperless/p-label.entry.esm.js.map +1 -1
- package/dist/paperless/p-layout.entry.esm.js.map +1 -1
- package/dist/paperless/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
- package/dist/paperless/p-navigation-section.entry.esm.js.map +1 -1
- package/dist/paperless/p-navigation-title.entry.esm.js.map +1 -1
- package/dist/paperless/p-radio.entry.esm.js.map +1 -1
- package/dist/paperless/p-toggle.entry.esm.js.map +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/atoms/info-panel/info-panel.component.d.ts +1 -1
- package/dist/types/components/{deprecated/atoms → atoms}/layout/layout.component.d.ts +1 -1
- package/dist/types/components/{deprecated/atoms → atoms}/loader/loader.component.d.ts +1 -1
- package/dist/types/components/{deprecated/molecules → molecules}/accordion/accordion.component.d.ts +1 -1
- package/dist/types/components/molecules/attachment/attachment.component.d.ts +60 -0
- package/dist/types/components/molecules/field/container/field-container.component.d.ts +1 -1
- package/dist/types/components.d.ts +77 -281
- package/package.json +1 -1
- package/dist/build/p-05791ffa.entry.js +0 -2
- package/dist/build/p-05791ffa.entry.js.map +0 -1
- package/dist/build/p-11b1e718.entry.js +0 -2
- package/dist/build/p-11b1e718.entry.js.map +0 -1
- package/dist/build/p-1bde15ae.entry.js.map +0 -1
- package/dist/build/p-21fb542a.entry.js +0 -2
- package/dist/build/p-21fb542a.entry.js.map +0 -1
- package/dist/build/p-3b14bbef.entry.js +0 -2
- package/dist/build/p-3b14bbef.entry.js.map +0 -1
- package/dist/build/p-3cf73b2c.js +0 -2
- package/dist/build/p-4205f7e2.entry.js +0 -2
- package/dist/build/p-476985ba.entry.js +0 -2
- package/dist/build/p-476985ba.entry.js.map +0 -1
- package/dist/build/p-4c6e5337.entry.js +0 -2
- package/dist/build/p-505650b6.entry.js +0 -2
- package/dist/build/p-5667f8bf.entry.js.map +0 -1
- package/dist/build/p-6620dc05.entry.js +0 -2
- package/dist/build/p-6620dc05.entry.js.map +0 -1
- package/dist/build/p-6d54b0a5.entry.js +0 -2
- package/dist/build/p-72eb70f4.entry.js +0 -2
- package/dist/build/p-72eb70f4.entry.js.map +0 -1
- package/dist/build/p-7c7e6f26.entry.js +0 -2
- package/dist/build/p-7c7e6f26.entry.js.map +0 -1
- package/dist/build/p-7f4d26c4.entry.js +0 -2
- package/dist/build/p-7f4d26c4.entry.js.map +0 -1
- package/dist/build/p-8cc3f69f.entry.js +0 -2
- package/dist/build/p-8cc3f69f.entry.js.map +0 -1
- package/dist/build/p-922fba03.entry.js +0 -2
- package/dist/build/p-9da1d488.entry.js +0 -2
- package/dist/build/p-9da1d488.entry.js.map +0 -1
- package/dist/build/p-a6c618fb.entry.js +0 -2
- package/dist/build/p-a6c618fb.entry.js.map +0 -1
- package/dist/build/p-adfddeb6.entry.js +0 -2
- package/dist/build/p-adfddeb6.entry.js.map +0 -1
- package/dist/build/p-b08f490b.entry.js +0 -2
- package/dist/build/p-bce08b0e.entry.js +0 -2
- package/dist/build/p-c9c0ae8d.entry.js +0 -2
- package/dist/build/p-c9c0ae8d.entry.js.map +0 -1
- package/dist/build/p-counter.entry.esm.js.map +0 -1
- package/dist/build/p-d37e0e66.entry.js +0 -2
- package/dist/build/p-d37e0e66.entry.js.map +0 -1
- package/dist/build/p-dc4121c6.entry.js.map +0 -1
- package/dist/build/p-e526cd42.entry.js +0 -2
- package/dist/build/p-e526cd42.entry.js.map +0 -1
- package/dist/build/p-e63adc0d.entry.js +0 -2
- package/dist/build/p-e63adc0d.entry.js.map +0 -1
- package/dist/build/p-ed2e7409.entry.js +0 -2
- package/dist/build/p-ed2e7409.entry.js.map +0 -1
- package/dist/build/p-ff2b5ed0.entry.js +0 -2
- package/dist/build/p-input-error.entry.esm.js.map +0 -1
- package/dist/build/p-input-group.entry.esm.js.map +0 -1
- package/dist/build/p-slider-indicator.entry.esm.js.map +0 -1
- package/dist/build/p-status.entry.esm.js.map +0 -1
- package/dist/cjs/p-counter.cjs.entry.js +0 -28
- package/dist/cjs/p-counter.cjs.entry.js.map +0 -1
- package/dist/cjs/p-counter.entry.cjs.js.map +0 -1
- package/dist/cjs/p-input-error.cjs.entry.js +0 -26
- package/dist/cjs/p-input-error.cjs.entry.js.map +0 -1
- package/dist/cjs/p-input-error.entry.cjs.js.map +0 -1
- package/dist/cjs/p-input-group.cjs.entry.js +0 -176
- package/dist/cjs/p-input-group.cjs.entry.js.map +0 -1
- package/dist/cjs/p-input-group.entry.cjs.js.map +0 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +0 -24
- package/dist/cjs/p-slider-indicator.cjs.entry.js.map +0 -1
- package/dist/cjs/p-slider-indicator.entry.cjs.js.map +0 -1
- package/dist/cjs/p-status.cjs.entry.js +0 -62
- package/dist/cjs/p-status.cjs.entry.js.map +0 -1
- package/dist/cjs/p-status.entry.cjs.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/counter/counter.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/counter/counter.component.js +0 -71
- package/dist/collection/components/deprecated/atoms/counter/counter.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/layout/layout.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/loader/loader.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/loader/loader.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js +0 -47
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/status/status.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/status/status.component.js +0 -159
- package/dist/collection/components/deprecated/atoms/status/status.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/accordion/accordion.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +0 -166
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +0 -66
- package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +0 -532
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js.map +0 -1
- package/dist/components/p-4hDfHOnN.js.map +0 -1
- package/dist/components/p-B-dtByez.js.map +0 -1
- package/dist/components/p-BFBKoX9I.js +0 -92
- package/dist/components/p-BFBKoX9I.js.map +0 -1
- package/dist/components/p-BYnq9fQl.js +0 -58
- package/dist/components/p-CQcp92mr.js.map +0 -1
- package/dist/components/p-CSMO4KRK.js.map +0 -1
- package/dist/components/p-CXH4yAMZ.js.map +0 -1
- package/dist/components/p-CYGYOpps.js.map +0 -1
- package/dist/components/p-D2Em0Yy7.js.map +0 -1
- package/dist/components/p-DJzH_A-R.js +0 -115
- package/dist/components/p-DeKgadpt.js +0 -62
- package/dist/components/p-DeKgadpt.js.map +0 -1
- package/dist/components/p-DoBSOpu3.js +0 -40
- package/dist/components/p-DoBSOpu3.js.map +0 -1
- package/dist/components/p-MQ5NAuIf.js.map +0 -1
- package/dist/components/p-ZBndlSp5.js.map +0 -1
- package/dist/components/p-counter.d.ts +0 -11
- package/dist/components/p-counter.js +0 -48
- package/dist/components/p-counter.js.map +0 -1
- package/dist/components/p-input-error.d.ts +0 -11
- package/dist/components/p-input-error.js +0 -9
- package/dist/components/p-input-error.js.map +0 -1
- package/dist/components/p-input-group.d.ts +0 -11
- package/dist/components/p-input-group.js +0 -241
- package/dist/components/p-input-group.js.map +0 -1
- package/dist/components/p-slider-indicator.d.ts +0 -11
- package/dist/components/p-slider-indicator.js +0 -9
- package/dist/components/p-slider-indicator.js.map +0 -1
- package/dist/components/p-status.d.ts +0 -11
- package/dist/components/p-status.js +0 -89
- package/dist/components/p-status.js.map +0 -1
- package/dist/esm/p-counter.entry.js +0 -26
- package/dist/esm/p-counter.entry.js.map +0 -1
- package/dist/esm/p-input-error.entry.js +0 -24
- package/dist/esm/p-input-error.entry.js.map +0 -1
- package/dist/esm/p-input-group.entry.js +0 -174
- package/dist/esm/p-input-group.entry.js.map +0 -1
- package/dist/esm/p-slider-indicator.entry.js +0 -22
- package/dist/esm/p-slider-indicator.entry.js.map +0 -1
- package/dist/esm/p-status.entry.js +0 -60
- package/dist/esm/p-status.entry.js.map +0 -1
- package/dist/paperless/p-05791ffa.entry.js +0 -2
- package/dist/paperless/p-05791ffa.entry.js.map +0 -1
- package/dist/paperless/p-11b1e718.entry.js +0 -2
- package/dist/paperless/p-11b1e718.entry.js.map +0 -1
- package/dist/paperless/p-1bde15ae.entry.js.map +0 -1
- package/dist/paperless/p-21fb542a.entry.js +0 -2
- package/dist/paperless/p-21fb542a.entry.js.map +0 -1
- package/dist/paperless/p-3b14bbef.entry.js +0 -2
- package/dist/paperless/p-3b14bbef.entry.js.map +0 -1
- package/dist/paperless/p-4205f7e2.entry.js +0 -2
- package/dist/paperless/p-476985ba.entry.js +0 -2
- package/dist/paperless/p-476985ba.entry.js.map +0 -1
- package/dist/paperless/p-4c6e5337.entry.js +0 -2
- package/dist/paperless/p-505650b6.entry.js +0 -2
- package/dist/paperless/p-5667f8bf.entry.js.map +0 -1
- package/dist/paperless/p-6620dc05.entry.js +0 -2
- package/dist/paperless/p-6620dc05.entry.js.map +0 -1
- package/dist/paperless/p-6d54b0a5.entry.js +0 -2
- package/dist/paperless/p-72eb70f4.entry.js +0 -2
- package/dist/paperless/p-72eb70f4.entry.js.map +0 -1
- package/dist/paperless/p-7c7e6f26.entry.js +0 -2
- package/dist/paperless/p-7c7e6f26.entry.js.map +0 -1
- package/dist/paperless/p-7f4d26c4.entry.js +0 -2
- package/dist/paperless/p-7f4d26c4.entry.js.map +0 -1
- package/dist/paperless/p-8cc3f69f.entry.js +0 -2
- package/dist/paperless/p-8cc3f69f.entry.js.map +0 -1
- package/dist/paperless/p-922fba03.entry.js +0 -2
- package/dist/paperless/p-9da1d488.entry.js +0 -2
- package/dist/paperless/p-9da1d488.entry.js.map +0 -1
- package/dist/paperless/p-a6c618fb.entry.js +0 -2
- package/dist/paperless/p-a6c618fb.entry.js.map +0 -1
- package/dist/paperless/p-adfddeb6.entry.js +0 -2
- package/dist/paperless/p-adfddeb6.entry.js.map +0 -1
- package/dist/paperless/p-b08f490b.entry.js +0 -2
- package/dist/paperless/p-bce08b0e.entry.js +0 -2
- package/dist/paperless/p-c9c0ae8d.entry.js +0 -2
- package/dist/paperless/p-c9c0ae8d.entry.js.map +0 -1
- package/dist/paperless/p-counter.entry.esm.js.map +0 -1
- package/dist/paperless/p-d37e0e66.entry.js +0 -2
- package/dist/paperless/p-d37e0e66.entry.js.map +0 -1
- package/dist/paperless/p-dc4121c6.entry.js.map +0 -1
- package/dist/paperless/p-e526cd42.entry.js +0 -2
- package/dist/paperless/p-e526cd42.entry.js.map +0 -1
- package/dist/paperless/p-e63adc0d.entry.js +0 -2
- package/dist/paperless/p-e63adc0d.entry.js.map +0 -1
- package/dist/paperless/p-ed2e7409.entry.js +0 -2
- package/dist/paperless/p-ed2e7409.entry.js.map +0 -1
- package/dist/paperless/p-ff2b5ed0.entry.js +0 -2
- package/dist/paperless/p-input-error.entry.esm.js.map +0 -1
- package/dist/paperless/p-input-group.entry.esm.js.map +0 -1
- package/dist/paperless/p-slider-indicator.entry.esm.js.map +0 -1
- package/dist/paperless/p-status.entry.esm.js.map +0 -1
- package/dist/types/components/deprecated/atoms/counter/counter.component.d.ts +0 -11
- package/dist/types/components/deprecated/atoms/slider-indicator/slider-indicator.component.d.ts +0 -7
- package/dist/types/components/deprecated/atoms/status/status.component.d.ts +0 -23
- package/dist/types/components/deprecated/molecules/attachment/attachment.component.d.ts +0 -28
- package/dist/types/components/deprecated/molecules/input/error/input-error.component.d.ts +0 -12
- package/dist/types/components/deprecated/molecules/input/group/input-group.component.d.ts +0 -82
- /package/dist/build/{p-bce08b0e.entry.js.map → p-08cff47b.entry.js.map} +0 -0
- /package/dist/build/{p-96cd5cff.entry.js.map → p-0c0ebb15.entry.js.map} +0 -0
- /package/dist/build/{p-96cb3e48.entry.js.map → p-0c257fa2.entry.js.map} +0 -0
- /package/dist/build/{p-8d4c7827.entry.js.map → p-0fe51ad0.entry.js.map} +0 -0
- /package/dist/build/{p-35c50504.entry.js.map → p-128f3811.entry.js.map} +0 -0
- /package/dist/build/{p-0a0ef10d.entry.js.map → p-1778732a.entry.js.map} +0 -0
- /package/dist/build/{p-ff2b5ed0.entry.js.map → p-1a544806.entry.js.map} +0 -0
- /package/dist/build/{p-41949138.entry.js.map → p-29d452d0.entry.js.map} +0 -0
- /package/dist/build/{p-1c9405d8.entry.js.map → p-30f6e463.entry.js.map} +0 -0
- /package/dist/build/{p-6cddddb7.entry.js.map → p-52149e0e.entry.js.map} +0 -0
- /package/dist/build/{p-fd4a25eb.entry.js.map → p-58f9ac89.entry.js.map} +0 -0
- /package/dist/build/{p-bc366236.entry.js.map → p-5ee4e9c7.entry.js.map} +0 -0
- /package/dist/build/{p-4906fd4d.entry.js.map → p-5fa74e2e.entry.js.map} +0 -0
- /package/dist/build/{p-26b75731.entry.js.map → p-66adc33a.entry.js.map} +0 -0
- /package/dist/build/{p-b1b12e88.entry.js.map → p-7046dc66.entry.js.map} +0 -0
- /package/dist/build/{p-a3da31c4.entry.js.map → p-7658fd89.entry.js.map} +0 -0
- /package/dist/build/{p-697c465d.entry.js.map → p-76a4f70e.entry.js.map} +0 -0
- /package/dist/build/{p-7a878e24.entry.js.map → p-8249382f.entry.js.map} +0 -0
- /package/dist/build/{p-53e0b8a1.entry.js.map → p-868f9ee9.entry.js.map} +0 -0
- /package/dist/build/{p-d4f4fe62.entry.js.map → p-912ce588.entry.js.map} +0 -0
- /package/dist/build/{p-d894e0b1.entry.js.map → p-a5f29193.entry.js.map} +0 -0
- /package/dist/build/{p-b08f490b.entry.js.map → p-abd13a2a.entry.js.map} +0 -0
- /package/dist/build/{p-b029529c.entry.js.map → p-ae64bdf2.entry.js.map} +0 -0
- /package/dist/build/{p-0ffe0165.entry.js.map → p-cac630d2.entry.js.map} +0 -0
- /package/dist/build/{p-7a05c8ca.entry.js.map → p-e9db1b2d.entry.js.map} +0 -0
- /package/dist/build/{p-4c6e5337.entry.js.map → p-eef52967.entry.js.map} +0 -0
- /package/dist/build/{p-5cd98f23.entry.js.map → p-f1f14a3f.entry.js.map} +0 -0
- /package/dist/collection/components/{deprecated/atoms → atoms}/layout/layout.component.css +0 -0
- /package/dist/paperless/{p-bce08b0e.entry.js.map → p-08cff47b.entry.js.map} +0 -0
- /package/dist/paperless/{p-96cd5cff.entry.js.map → p-0c0ebb15.entry.js.map} +0 -0
- /package/dist/paperless/{p-96cb3e48.entry.js.map → p-0c257fa2.entry.js.map} +0 -0
- /package/dist/paperless/{p-8d4c7827.entry.js.map → p-0fe51ad0.entry.js.map} +0 -0
- /package/dist/paperless/{p-35c50504.entry.js.map → p-128f3811.entry.js.map} +0 -0
- /package/dist/paperless/{p-0a0ef10d.entry.js.map → p-1778732a.entry.js.map} +0 -0
- /package/dist/paperless/{p-ff2b5ed0.entry.js.map → p-1a544806.entry.js.map} +0 -0
- /package/dist/paperless/{p-41949138.entry.js.map → p-29d452d0.entry.js.map} +0 -0
- /package/dist/paperless/{p-1c9405d8.entry.js.map → p-30f6e463.entry.js.map} +0 -0
- /package/dist/paperless/{p-6cddddb7.entry.js.map → p-52149e0e.entry.js.map} +0 -0
- /package/dist/paperless/{p-fd4a25eb.entry.js.map → p-58f9ac89.entry.js.map} +0 -0
- /package/dist/paperless/{p-bc366236.entry.js.map → p-5ee4e9c7.entry.js.map} +0 -0
- /package/dist/paperless/{p-4906fd4d.entry.js.map → p-5fa74e2e.entry.js.map} +0 -0
- /package/dist/paperless/{p-26b75731.entry.js.map → p-66adc33a.entry.js.map} +0 -0
- /package/dist/paperless/{p-b1b12e88.entry.js.map → p-7046dc66.entry.js.map} +0 -0
- /package/dist/paperless/{p-a3da31c4.entry.js.map → p-7658fd89.entry.js.map} +0 -0
- /package/dist/paperless/{p-697c465d.entry.js.map → p-76a4f70e.entry.js.map} +0 -0
- /package/dist/paperless/{p-7a878e24.entry.js.map → p-8249382f.entry.js.map} +0 -0
- /package/dist/paperless/{p-53e0b8a1.entry.js.map → p-868f9ee9.entry.js.map} +0 -0
- /package/dist/paperless/{p-d4f4fe62.entry.js.map → p-912ce588.entry.js.map} +0 -0
- /package/dist/paperless/{p-d894e0b1.entry.js.map → p-a5f29193.entry.js.map} +0 -0
- /package/dist/paperless/{p-b08f490b.entry.js.map → p-abd13a2a.entry.js.map} +0 -0
- /package/dist/paperless/{p-b029529c.entry.js.map → p-ae64bdf2.entry.js.map} +0 -0
- /package/dist/paperless/{p-0ffe0165.entry.js.map → p-cac630d2.entry.js.map} +0 -0
- /package/dist/paperless/{p-7a05c8ca.entry.js.map → p-e9db1b2d.entry.js.map} +0 -0
- /package/dist/paperless/{p-4c6e5337.entry.js.map → p-eef52967.entry.js.map} +0 -0
- /package/dist/paperless/{p-5cd98f23.entry.js.map → p-f1f14a3f.entry.js.map} +0 -0
- /package/dist/types/components/{deprecated/molecules → molecules}/content-slider/content-slider.component.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["buttonComponentCss","button","cva","variants","variant","primary","secondary","text","transparent","dropdown","active","true","false","loading","size","sm","base","lg","disabled","underline","buttonGroupPosition","none","start","center","end","iconOnly","compoundVariants","class","icon","Button","label","as","href","target","type","chevron","chevronPosition","iconPosition","iconFlip","iconRotate","inheritText","onClick","render","loaderColor","this","VariableTag","length","hostClass","cn","asBoolean","includes","h","Host","key","undefined","rotate","_getIcon","color","handleClick","ev","preventDefault","emit","flip","iconComponentCss","horizontal","vertical","auto","xxs","xs","xl","transform","Icon","componentWillRender","icons","console","warn","hasTextSizeClass","test","_el","className","svg","style","title","innerHTML","loaderComponentCss","Loader","show","modalTitle","modalDescription","_show","_showSubscriber","componendDidLoad","_checkShow","componentShouldUpdate","loader","unsubscribe","subscribe"],"sources":["src/components/molecules/button/button.component.css?tag=p-button","src/components/molecules/button/button.component.tsx","src/components/atoms/icon/icon.component.css?tag=p-icon&encapsulation=shadow","src/components/atoms/icon/icon.component.tsx","src/components/deprecated/atoms/loader/loader.component.scss?tag=p-loader&encapsulation=shadow","src/components/deprecated/atoms/loader/loader.component.tsx"],"sourcesContent":[null,"import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\nimport { asBoolean } from '../../../utils/as-boolean';\nimport { cn } from '../../../utils/cn';\n\nconst button = cva(\n\t[\n\t\t'group',\n\t\t'font-semibold leading-4',\n\t\t'flex items-center justify-center gap-2',\n\t\t'cursor-pointer',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tprimary: ['bg-supportive-lilac border-black-teal/20'],\n\t\t\t\tsecondary: null,\n\t\t\t\ttext: null,\n\t\t\t\ttransparent: 'bg-transparent border-transparent',\n\t\t\t\tdropdown: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tloading: {\n\t\t\t\ttrue: 'cursor-wait',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tsize: {\n\t\t\t\tsm: ['text-xs h-6'],\n\t\t\t\tbase: ['text-sm h-8'],\n\t\t\t\tlg: ['text-base h-10'],\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tunderline: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tbuttonGroupPosition: {\n\t\t\t\tnone: null,\n\t\t\t\tstart: null,\n\t\t\t\tcenter: null,\n\t\t\t\tend: null,\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\ttrue: 'justify-center',\n\t\t\t\tfalse: 'w-inherit py-1',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t// variants\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tclass: ['bg-white border-black-teal/10'],\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'border',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'active:border-supportive-lilac-800 active:ring active:ring-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'border-supportive-lilac-800 ring ring-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'none',\n\t\t\t\tclass: 'rounded-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'start',\n\t\t\t\tclass: 'rounded-s-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'end',\n\t\t\t\tclass: 'rounded-e-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-black-teal',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'bg-supportive-lilac-100 text-black-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass:\n\t\t\t\t\t'drop-shadow-supportive-lilac hover:drop-shadow-2 hover:bg-supportive-lilac-700 active:text-black-teal/60 active:ring-black-teal/10',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'ring-black-teal/10',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'border bg-white-600 text-black-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass:\n\t\t\t\t\t'drop-shadow-1 hover:drop-shadow-1 hover:bg-white-600 active:text-black-teal/60 active:ring-supportive-lilac-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'ring-supportive-lilac-100',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-dark-teal-400 hover:text-dark-teal-500',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-dark-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tunderline: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'border-b border-dark-teal-400 hover:border-dark-teal-500',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tunderline: true,\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'border-b border-dark-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'active:text-dark-teal-600 active:border-dark-teal-600',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-dark-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'hover:bg-dark-teal active:text-dark-teal-100/60',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-dark-teal-100/60',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent'],\n\t\t\t\tsize: ['base', 'sm'],\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'px-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent'],\n\t\t\t\tsize: 'lg',\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'px-3',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'dropdown',\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'p-2',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'text'],\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'py-1',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-6',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-8',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'lg',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-10',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst icon = cva([], {\n\tvariants: {\n\t\tsize: {\n\t\t\tsm: 'text-xs',\n\t\t\tbase: 'text-base',\n\t\t\tlg: 'text-base',\n\t\t},\n\t\tvariant: {\n\t\t\tprimary: null,\n\t\t\tsecondary: null,\n\t\t\ttext: null,\n\t\t\ttransparent: null,\n\t\t\tdropdown: null,\n\t\t},\n\t\tdisabled: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tactive: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\tdisabled: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-black-teal-300 group-hover:text-black-teal',\n\t\t},\n\t\t{\n\t\t\tvariant: 'transparent',\n\t\t\tdisabled: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-dark-teal-200 group-hover:text-dark-teal-100',\n\t\t},\n\t],\n});\n\nexport type ButtonVariant =\n\t| 'primary'\n\t| 'secondary'\n\t| 'transparent'\n\t| 'text'\n\t| 'dropdown';\n\n@Component({\n\ttag: 'p-button',\n\tstyleUrl: 'button.component.css',\n})\nexport class Button {\n\t/**\n\t * The label of the button (Can use slot)\n\t */\n\t@Prop() label?: string;\n\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() as?: 'a' | 'button' = 'button';\n\n\t/**\n\t * The variant of the button\n\t */\n\t@Prop() variant?: ButtonVariant = 'primary';\n\n\t/**\n\t * Wether to force an active state\n\t */\n\t@Prop() active?: boolean = false;\n\n\t/**\n\t * Wether the text variant has underline\n\t */\n\t@Prop() underline?: boolean = true;\n\n\t/**\n\t * Href in case of \"text\" version\n\t */\n\t@Prop() href?: string;\n\n\t/**\n\t * Target in case of \"text\" version\n\t */\n\t@Prop() target?: string;\n\n\t/**\n\t * The size of the button\n\t */\n\t@Prop() size?: 'sm' | 'base' | 'lg' = 'base';\n\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() type?: 'button' | 'submit' = 'button';\n\n\t/**\n\t * Wether to show a loader or not\n\t */\n\t@Prop() loading?: boolean = false;\n\n\t/**\n\t * Wether to show a chevron or not\n\t */\n\t@Prop() chevron?: boolean | 'up' | 'down' = false;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition?: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the button is disabled\n\t */\n\t@Prop() disabled?: boolean = false;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() icon?: IconVariant;\n\n\t/**\n\t * Wether the button is icon only\n\t */\n\t@Prop() iconOnly?: boolean = false;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition?: 'start' | 'end' = 'start';\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip?: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate?: RotateOptions;\n\n\t/**\n\t * Wether the button should inherit text styles\n\t */\n\t@Prop() inheritText?: boolean = false;\n\n\t/**\n\t * Position of the button in the button group, mostly un-used if not in a group\n\t */\n\t@Prop() buttonGroupPosition?: 'start' | 'center' | 'end' | 'none' = 'none';\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class?: string;\n\n\t/**\n\t * Button click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tonClick: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\tlet loaderColor: 'white' | 'storm' | 'indigo' = 'white';\n\t\tswitch (this.variant) {\n\t\t\tcase 'secondary':\n\t\t\t\tloaderColor = 'storm';\n\t\t\t\tbreak;\n\t\t\tcase 'text':\n\t\t\t\tloaderColor = 'indigo';\n\t\t\t\tbreak;\n\t\t}\n\n\t\tconst VariableTag =\n\t\t\tthis.variant === 'text' || this.href?.length || this.as === 'a'\n\t\t\t\t? 'a'\n\t\t\t\t: 'button';\n\n\t\tconst hostClass = cn('p-button inline-block', this.class);\n\t\tconst active = asBoolean(this.active) || hostClass?.includes('active');\n\n\t\treturn (\n\t\t\t<Host class={hostClass}>\n\t\t\t\t<VariableTag\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttype={this.variant !== 'text' ? this.type : undefined}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\tclass={button({\n\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\tunderline: asBoolean(this.underline, true),\n\t\t\t\t\t\tloading: asBoolean(this.loading),\n\t\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\t\tbuttonGroupPosition: this.buttonGroupPosition,\n\t\t\t\t\t\ticonOnly: asBoolean(this.iconOnly),\n\t\t\t\t\t\tactive,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.chevron && this.chevronPosition === 'start' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'start' &&\n\t\t\t\t\t\t!(this.iconOnly && this.loading) &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t{this.label ? this.label : <slot />}\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'end' &&\n\t\t\t\t\t\t!this.loading &&\n\t\t\t\t\t\t!this.chevron &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t{this.chevron && !this.loading && this.chevronPosition === 'end' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.loading && <p-loader color={loaderColor} />}\n\t\t\t\t</VariableTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\thandleClick(ev: MouseEvent) {\n\t\tif (this.loading || this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tthis.onClick.emit(ev);\n\t}\n\n\tprivate _getIcon() {\n\t\tif (!this.icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tclass={icon({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tdisabled: asBoolean(this.disabled),\n\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t})}\n\t\t\t\tvariant={this.icon}\n\t\t\t\tflip={this.iconFlip}\n\t\t\t\trotate={this.iconRotate}\n\t\t\t/>\n\t\t);\n\t}\n}\n",":host {\n\t@apply inline-flex;\n}\n","import { Component, h, Prop, Element } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { TextSizeOptions } from '../../../types/tailwind';\nimport { icons } from '../../../utils/icons';\n\nexport type IconVariant = keyof typeof icons;\nexport type IconFlipOptions = 'none' | 'horizontal' | 'vertical';\n\nconst icon = cva(['p-icon inline-flex'], {\n\tvariants: {\n\t\tflip: {\n\t\t\tnone: null,\n\t\t\thorizontal: 'scale-x-flip',\n\t\t\tvertical: 'scale-y-flip',\n\t\t},\n\t\tsize: {\n\t\t\tauto: null,\n\t\t\txxs: 'text-xxs',\n\t\t\txs: 'text-xs',\n\t\t\tsm: 'text-sm',\n\t\t\tbase: 'text-base',\n\t\t\tlg: 'text-lg',\n\t\t\txl: 'text-xl',\n\t\t\t'2xl': 'text-2xl',\n\t\t\t'3xl': 'text-3xl',\n\t\t\t'4xl': 'text-4xl',\n\t\t},\n\t\ttransform: {\n\t\t\ttrue: 'transform-gpu scale-[0.99]',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-icon',\n\tstyleUrl: 'icon.component.css',\n\tshadow: true,\n})\nexport class Icon {\n\t/**\n\t * The icon the be displayed\n\t */\n\t@Prop() variant!: IconVariant;\n\n\t/**\n\t * The size of the icon, using tailwind sizes\n\t */\n\t@Prop() size: TextSizeOptions = 'base';\n\n\t/**\n\t * Wether to rotate the icon x degrees\n\t */\n\t@Prop() rotate: number = 0;\n\n\t/**\n\t * Wether to flip the icon horizontally or vertically\n\t */\n\t@Prop() flip: IconFlipOptions = 'none';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() _el: HTMLElement;\n\n\tcomponentWillRender() {\n\t\tconst icon = icons[this.variant];\n\t\tif (!icon) {\n\t\t\tconsole.warn(`[p-icon] Variant \"${this.variant}\" does not exist `);\n\t\t}\n\t}\n\n\trender() {\n\t\tconst hasTextSizeClass = /text-(xs|sm|base|lg|xl)/.test(this._el.className);\n\t\tconst svg = icons[this.variant];\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={icon({\n\t\t\t\t\tflip: this.flip,\n\t\t\t\t\tsize: hasTextSizeClass ? 'auto': this.size,\n\t\t\t\t\ttransform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,\n\t\t\t\t})}\n\t\t\t\tstyle={{\n\t\t\t\t\t'--tw-rotate': `${this.rotate}deg`,\n\t\t\t\t}}\n\t\t\t\ttitle={this.variant}\n\t\t\t\tinnerHTML={svg}\n\t\t\t></div>\n\t\t);\n\t}\n}\n",":host {\n\t.loader {\n\t\t@apply inline-block h-[1em] w-[1em] rounded-full;\n\t\t@apply border-2 border-solid border-indigo-light border-t-indigo;\n\t\tanimation: 500ms spin linear infinite;\n\n\t\twill-change: transform;\n\n\t\t&.color-storm {\n\t\t\t@apply border-storm-light/40 border-t-storm #{!important};\n\t\t}\n\n\t\t&.color-white {\n\t\t\t@apply border-indigo-light/40 border-t-white #{!important};\n\t\t}\n\t}\n\n\t.loading-screen {\n\t\t@apply fixed left-0 top-0 h-screen-safe w-screen-safe;\n\t\t@apply flex items-center justify-center;\n\t\t@apply bg-mystic;\n\n\t\tz-index: 1001;\n\n\t\t.content {\n\t\t\t@apply max-w-xs;\n\n\t\t\t.loader-wrapper {\n\t\t\t\t@apply flex w-full justify-center;\n\n\t\t\t\t.loader {\n\t\t\t\t\t@apply text-4xl;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n:host(.variant-ghost) {\n\t@apply box-border block;\n\n\twill-change: background, background-position-x, background-color;\n\n\tmin-height: 1em;\n\tmin-width: 1em;\n\n\t--loading-bg: #f7fafc;\n\t--loading-stripe: rgba(252, 253, 254, 1);\n\n\tbackground-color: var(--loading-bg);\n\tbackground: linear-gradient(\n\t\t\t100deg,\n\t\t\trgba(255, 255, 255, 0) 40%,\n\t\t\tvar(--loading-stripe) 50%,\n\t\t\trgba(255, 255, 255, 0) 60%\n\t\t)\n\t\tvar(--loading-bg);\n\tbackground-size: 200% 100%;\n\tbackground-position-x: 180%;\n\tanimation: 1s loading ease-in-out infinite;\n}\n\n@keyframes loading {\n\tto {\n\t\tbackground-position-x: -20%;\n\t}\n}\n\n@keyframes spin {\n\t100% {\n\t\ttransform: rotate(1turn);\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Observable, Subscription } from 'rxjs';\n\n@Component({\n\ttag: 'p-loader',\n\tstyleUrl: 'loader.component.scss',\n\tshadow: true,\n})\nexport class Loader {\n\t/**\n\t * Wether to show or hide the loader\n\t */\n\t@Prop() show: boolean | Observable<boolean> = true;\n\n\t/**\n\t * Variant of loader\n\t */\n\t@Prop() variant: 'inline' | 'full-width' | 'full-screen' | 'modal' | 'ghost' =\n\t\t'inline';\n\n\t/**\n\t * Color of the loader\n\t */\n\t@Prop() color: 'indigo' | 'white' | 'storm' = 'indigo';\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal title for modal variant\n\t */\n\t@Prop() modalTitle: string;\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal description for modal variant\n\t */\n\t@Prop() modalDescription: string;\n\n\tprivate _show: boolean | Observable<boolean> = false;\n\tprivate _showSubscriber: Subscription;\n\n\tcomponendDidLoad() {\n\t\tthis._show = this.show;\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._checkShow();\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._checkShow();\n\t}\n\n\trender() {\n\t\tif (!this._show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.variant === 'ghost') {\n\t\t\treturn <Host class='p-loader variant-ghost'></Host>;\n\t\t}\n\n\t\tconst loader = <div class={`loader color-${this.color}`}></div>;\n\n\t\tif (this.variant === 'full-screen') {\n\t\t\treturn (\n\t\t\t\t<Host class='p-loader variant-full-screen'>\n\t\t\t\t\t<div class='loading-screen'>\n\t\t\t\t\t\t<div class='content'>\n\t\t\t\t\t\t\t<slot />\n\n\t\t\t\t\t\t\t<div class='loader-wrapper'>{loader}</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</Host>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-loader variant-default flex ${\n\t\t\t\t\tthis.variant === 'full-width' && 'flex w-full justify-center text-4xl'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{loader}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkShow() {\n\t\tif (this._showSubscriber) {\n\t\t\tthis._showSubscriber.unsubscribe();\n\t\t\tthis._showSubscriber = null;\n\t\t}\n\n\t\tif (typeof this.show !== 'boolean') {\n\t\t\tthis._showSubscriber = this.show?.subscribe(show => (this._show = show));\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show = this.show;\n\t}\n}\n"],"mappings":"wOAAA,MAAMA,EAAqB,w0PCe3B,MAAMC,EAASC,EACd,CACC,QACA,0BACA,yCACA,kBAED,CACCC,SAAU,CACTC,QAAS,CACRC,QAAS,CAAC,4CACVC,UAAW,KACXC,KAAM,KACNC,YAAa,oCACbC,SAAU,MAEXC,OAAQ,CACPC,KAAM,KACNC,MAAO,MAERC,QAAS,CACRF,KAAM,cACNC,MAAO,MAERE,KAAM,CACLC,GAAI,CAAC,eACLC,K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K0C,I","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as a,H as e}from"./p-DhGo7hbh.js";const i=".mr-2{margin-right:.5rem!important}.flex{display:flex!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(0 255 255/var(--tw-text-opacity,1))!important}*{box-sizing:border-box}p-status{--tw-text-opacity:1;align-items:center;color:rgb(0 255 255/var(--tw-text-opacity,1));display:flex;font-size:.875rem;font-weight:500;line-height:1.25rem}p-status p-icon{font-size:1rem;line-height:1.5rem;margin-right:.5rem}p-status.variant-positive{--tw-text-opacity:1;color:rgb(173 255 47/var(--tw-text-opacity,1))}p-status.variant-unbiased{--tw-text-opacity:1;color:rgb(255 255 0/var(--tw-text-opacity,1))}p-status.variant-negative{--tw-text-opacity:1;color:rgb(255 20 147/var(--tw-text-opacity,1))}.static{position:static!important}";const r=class{constructor(a){t(this,a)}variant="default";icon;iconFlip;iconRotate;render(){return a(e,{key:"be9bde36193a5cb33ef365ce5cf78637f9a9ad98",class:`p-status variant-${this.variant}\n }`},this._getIcon(),a("slot",{key:"847a22130404a065832c703aec9bcc171f20050b"}))}_getIcon(){const t=this.icon||this._getVariantIcon();if(!t){return}return a("p-icon",{variant:t,flip:this.iconFlip,rotate:this.iconRotate})}_getVariantIcon(){let t=null;switch(this.variant){case"positive":t="checkmark";break;case"negative":t="negative";break;case"unbiased":t="clock";break;default:t=null;break}return t}};r.style=i;export{r as p_status};
|
|
2
|
-
//# sourceMappingURL=p-e526cd42.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["statusComponentCss","Status","variant","icon","iconFlip","iconRotate","render","h","Host","key","class","this","_getIcon","_getVariantIcon","flip","rotate"],"sources":["src/components/deprecated/atoms/status/status.component.scss?tag=p-status","src/components/deprecated/atoms/status/status.component.tsx"],"sourcesContent":["p-status {\n\t@apply flex items-center;\n\t@apply text-sm text-storm-vague font-medium;\n\n\tp-icon {\n\t\t@apply mr-2 text-base;\n\t}\n\n\t&.variant-positive {\n\t\t@apply text-positive;\n\t}\n\n\t&.variant-unbiased {\n\t\t@apply text-unbiased;\n\t}\n\n\t&.variant-negative {\n\t\t@apply text-negative;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../../types/tailwind';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-status',\n\tstyleUrl: 'status.component.scss',\n})\nexport class Status {\n\t/**\n\t * The variant of the status\n\t */\n\t@Prop() variant: 'default' | 'positive' | 'unbiased' | 'negative' = 'default';\n\n\t/**\n\t * Icon to show on the status\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-status variant-${this.variant}\n }`}\n\t\t\t>\n\t\t\t\t{this._getIcon()}\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getIcon() {\n\t\tconst icon = this.icon || this._getVariantIcon();\n\n\t\tif (!icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tvariant={icon}\n\t\t\t\tflip={this.iconFlip}\n\t\t\t\trotate={this.iconRotate}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getVariantIcon() {\n\t\tlet icon = null;\n\t\tswitch (this.variant) {\n\t\t\tcase 'positive':\n\t\t\t\ticon = 'checkmark';\n\t\t\t\tbreak;\n\t\t\tcase 'negative':\n\t\t\t\ticon = 'negative';\n\t\t\t\tbreak;\n\t\t\tcase 'unbiased':\n\t\t\t\ticon = 'clock';\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\ticon = null;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn icon;\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAAqB,oyB,MCWdC,EAAM,M,yBAIVC,QAA4D,UAK5DC,KAKAC,SAKAC,WAER,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CACJC,MAAO,oBAAoBC,KAAKT,8BAG/BS,KAAKC,WACNL,EAAQ,QAAAE,IAAA,6C,CAKH,QAAAG,GACP,MAAMT,EAAOQ,KAAKR,MAAQQ,KAAKE,kBAE/B,IAAKV,EAAM,CACV,M,CAGD,OACCI,EACC,UAAAL,QAASC,EACTW,KAAMH,KAAKP,SACXW,OAAQJ,KAAKN,Y,CAKR,eAAAQ,GACP,IAAIV,EAAO,KACX,OAAQQ,KAAKT,SACZ,IAAK,WACJC,EAAO,YACP,MACD,IAAK,WACJA,EAAO,WACP,MACD,IAAK,WACJA,EAAO,QACP,MACD,QACCA,EAAO,KACP,MAGF,OAAOA,C","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as r}from"./p-DhGo7hbh.js";import{c as o}from"./p-CBWjHURv.js";import{a as i}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";const a="*{box-sizing:border-box}.inline-flex{display:inline-flex!important}.h-4{height:1rem!important}.min-w-\\[1\\.5rem\\]{min-width:1.5rem!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded-full{border-radius:9999px!important}.bg-dark-teal-400{--tw-bg-opacity:1!important;background-color:rgb(51 116 109/var(--tw-bg-opacity,1))!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.text-center{text-align:center!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";const n=o(["inline-flex items-center justify-center","h-4 min-w-[1.5rem] px-1","rounded-full","bg-dark-teal-400","text-center text-xs font-semibold text-white"]);const p=class{constructor(e){t(this,e)}render(){return e(r,{key:"4833efd7ca8f86ef4de3fe69cfabb2ac653e35ae",class:n()},e("slot",{key:"6a71b347aebffcbdff8ed5030790a41fd38f695a"}))}};p.style=a;const s="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.rounded-2xl{border-radius:1rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}";const c=class{constructor(e){t(this,e)}render(){return e(r,{key:"84fc10af8423fd9fb1d951abff39a88d36c5ba30",class:"p-segment-container flex rounded-2xl border border-solid border-off-white-700 bg-off-white-300 p-1"},e("slot",{key:"3b0d0055a898b473a434706f590844c4a6c33a20"}))}};c.style=s;const m="*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.rounded-2xl{border-radius:1rem!important}.bg-dark-teal-400{--tw-bg-opacity:1!important;background-color:rgb(51 116 109/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-dark-teal-600{--tw-text-opacity:1!important;color:rgb(0 72 64/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.empty\\:hidden:empty{display:none!important}.hover\\:bg-black-teal-50:hover{--tw-bg-opacity:1!important;background-color:rgb(230 234 233/var(--tw-bg-opacity,1))!important}";const l=o(["p-segment-item","flex items-center justify-center","rounded-2xl","cursor-pointer text-sm"],{variants:{variant:{default:"h-6 gap-2",block:"flex-col p-4 text-center"},active:{false:"cursor-pointer text-dark-teal-600 hover:bg-black-teal-50",true:"bg-dark-teal-400 text-white"},iconOnly:{false:"px-2",true:"w-6"}}});const d=class{constructor(e){t(this,e)}variant="default";active=false;iconOnly=false;icon;iconFlip;iconRotate;render(){const t=this.variant==="block"?e("slot",{name:"description"}):null;return e(r,{key:"612006e51cef3dd63f2089285a39f8721e7f9a40",class:l({variant:this.variant,active:i(this.active),iconOnly:i(this.iconOnly)})},this.icon&&e("p-icon",{key:"f10e1f54beb7b767d1871adee8161cf64a402c4c",variant:this.icon,flip:this.iconFlip,rotate:this.iconRotate}),this.variant==="default"?e("slot",null):e("div",{class:"flex flex-col items-center gap-1"},e("p",{class:"font-semibold empty:hidden"},e("slot",{name:"title"})),t&&e("p",{class:"text-xs"},t)))}};d.style=m;export{p as p_badge,c as p_segment_container,d as p_segment_item};
|
|
2
|
-
//# sourceMappingURL=p-e63adc0d.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["badgeComponentCss","badge","cva","Badge","render","h","Host","key","class","segmentContainerComponentCss","SegmentContainer","segmentItemComponentCss","segmentItem","variants","variant","default","block","active","false","true","iconOnly","SegmentItem","icon","iconFlip","iconRotate","descriptionSlot","this","name","asBoolean","flip","rotate"],"sources":["src/components/atoms/badge/badge.component.css?tag=p-badge","src/components/atoms/badge/badge.component.tsx","src/components/atoms/segment/container/segment-container.component.css?tag=p-segment-container","src/components/atoms/segment/container/segment-container.component.tsx","src/components/atoms/segment/item/segment-item.component.css?tag=p-segment-item","src/components/atoms/segment/item/segment-item.component.tsx"],"sourcesContent":[null,"import { Component, h, Host } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst badge = cva([\n\t'inline-flex items-center justify-center',\n\t'h-4 min-w-[1.5rem] px-1',\n\t'rounded-full',\n\t'bg-dark-teal-400',\n\t'text-center text-xs font-semibold text-white',\n]);\n\n@Component({\n\ttag: 'p-badge',\n\tstyleUrl: 'badge.component.css',\n\tshadow: false,\n})\nexport class Badge {\n\trender() {\n\t\treturn (\n\t\t\t<Host class={badge()}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",null,"import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-segment-container',\n\tstyleUrl: 'segment-container.component.css',\n})\nexport class SegmentContainer {\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-segment-container flex rounded-2xl border border-solid border-off-white-700 bg-off-white-300 p-1'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",null,"import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../../icon/icon.component';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst segmentItem = cva(\n\t[\n\t\t'p-segment-item',\n\t\t'flex items-center justify-center',\n\t\t'rounded-2xl',\n\t\t'cursor-pointer text-sm',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'h-6 gap-2',\n\t\t\t\tblock: 'flex-col p-4 text-center',\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\tfalse: 'cursor-pointer text-dark-teal-600 hover:bg-black-teal-50',\n\t\t\t\ttrue: 'bg-dark-teal-400 text-white',\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\tfalse: 'px-2',\n\t\t\t\ttrue: 'w-6',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-segment-item',\n\tstyleUrl: 'segment-item.component.css',\n})\nexport class SegmentItem {\n\t/**\n\t * The size of the\n\t */\n\t@Prop() variant: 'default' | 'block' = 'default';\n\n\t/**\n\t * Wether the segment item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the segment item is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon to show on the segment item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\tconst descriptionSlot =\n\t\t\tthis.variant === 'block' ? <slot name='description' /> : null;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={segmentItem({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\ticonOnly: asBoolean(this.iconOnly),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.variant === 'default' ? (\n\t\t\t\t\t<slot />\n\t\t\t\t) : (\n\t\t\t\t\t<div class='flex flex-col items-center gap-1'>\n\t\t\t\t\t\t<p class='font-semibold empty:hidden'>\n\t\t\t\t\t\t\t<slot name='title' />\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t{descriptionSlot && <p class='text-xs'>{descriptionSlot}</p>}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"kJAAA,MAAMA,EAAoB,msBCG1B,MAAMC,EAAQC,EAAI,CACjB,0CACA,0BACA,eACA,mBACA,iD,MAQYC,EAAK,M,yBACjB,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAOP,KACZI,EAAQ,QAAAE,IAAA,6C,aCpBZ,MAAME,EAA+B,0d,MCMxBC,EAAgB,M,yBAC5B,MAAAN,GACC,OACCC,EAACC,EAAK,CAAAC,IAAA,2CAAAC,MAAM,sGACXH,EAAQ,QAAAE,IAAA,6C,aCVZ,MAAMI,EAA0B,2tCCMhC,MAAMC,EAAcV,EACnB,CACC,iBACA,mCACA,cACA,0BAED,CACCW,SAAU,CACTC,QAAS,CACRC,QAAS,YACTC,MAAO,4BAERC,OAAQ,CACPC,MAAO,2DACPC,KAAM,+BAEPC,SAAU,CACTF,MAAO,OACPC,KAAM,U,MAUGE,EAAW,M,yBAIfP,QAA+B,UAK/BG,OAAkB,MAKlBG,SAAoB,MAKpBE,KAKAC,SAKAC,WAER,MAAApB,GACC,MAAMqB,EACLC,KAAKZ,UAAY,QAAUT,EAAM,QAAAsB,KAAK,gBAAmB,KAE1D,OACCtB,EAACC,EAAI,CAAAC,IAAA,2CACJC,MAAOI,EAAY,CAClBE,QAASY,KAAKZ,QACdG,OAAQW,EAAUF,KAAKT,QACvBG,SAAUQ,EAAUF,KAAKN,aAGzBM,KAAKJ,MACLjB,EAAA,UAAAE,IAAA,2CACCO,QAASY,KAAKJ,KACdO,KAAMH,KAAKH,SACXO,OAAQJ,KAAKF,aAIdE,KAAKZ,UAAY,UACjBT,EAAQ,aAERA,EAAK,OAAAG,MAAM,oCACVH,EAAG,KAAAG,MAAM,8BACRH,EAAA,QAAMsB,KAAK,WAEXF,GAAmBpB,EAAA,KAAGG,MAAM,WAAWiB,I","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as r}from"./p-DhGo7hbh.js";const o=class{constructor(t){e(this,t)}error;forceShowTooltip=false;_showTooltip=false;render(){return t(r,{key:"ac72736cd67ff8871d15f0b910d61a5d00c0251a",class:"p-input-error"},t("p-tooltip",{key:"3ae692fa168ce5ebe9638fccd96310a91e97987b",variant:"error",content:this.error,show:this.forceShowTooltip,onIsOpen:e=>this._showTooltip=e.detail},t("p-icon",{key:"b8dc3401a4186b8dc4f077df04321e91ec966a35",class:`${this._showTooltip?"text-negative":"text-negative-light"} hover:text-negative`,slot:"trigger",variant:"question-circle"})))}};export{o as p_input_error};
|
|
2
|
-
//# sourceMappingURL=p-ed2e7409.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["InputError","error","forceShowTooltip","_showTooltip","render","h","Host","key","class","variant","content","this","show","onIsOpen","ev","detail","slot"],"sources":["src/components/deprecated/molecules/input/error/input-error.component.tsx"],"sourcesContent":["import { Component, h, Host, Prop, State } from '@stencil/core';\n\n@Component({\n\ttag: 'p-input-error',\n\tshadow: true,\n})\nexport class InputError {\n\t/**\n\t * The error to show\n\t */\n\t@Prop() error: string;\n\n\t/**\n\t * Wether to force show the tooltip\n\t */\n\t@Prop() forceShowTooltip = false;\n\n\t@State() private _showTooltip = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-input-error'>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tvariant='error'\n\t\t\t\t\tcontent={this.error}\n\t\t\t\t\tshow={this.forceShowTooltip}\n\t\t\t\t\tonIsOpen={ev => (this._showTooltip = ev.detail)}\n\t\t\t\t>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass={`${\n\t\t\t\t\t\t\tthis._showTooltip ? 'text-negative' : 'text-negative-light'\n\t\t\t\t\t\t} hover:text-negative`}\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tvariant='question-circle'\n\t\t\t\t\t/>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"wDAMaA,EAAU,M,yBAIdC,MAKAC,iBAAmB,MAEVC,aAAe,MAEhC,MAAAC,GACC,OACCC,EAACC,EAAK,CAAAC,IAAA,2CAAAC,MAAM,iBACXH,EAAA,aAAAE,IAAA,2CACCE,QAAQ,QACRC,QAASC,KAAKV,MACdW,KAAMD,KAAKT,iBACXW,SAAUC,GAAOH,KAAKR,aAAeW,EAAGC,QAExCV,EACC,UAAAE,IAAA,2CAAAC,MAAO,GACNG,KAAKR,aAAe,gBAAkB,4CAEvCa,KAAK,UACLP,QAAQ,qB","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o}from"./p-DhGo7hbh.js";const r=".p-4{padding:1rem!important}*{box-sizing:border-box}:host{font-size:.875rem;line-height:1.25rem;padding:1rem}.static{position:static!important}";const e=class{constructor(o){t(this,o)}render(){return o("slot",{key:"c89e56302ce40ff42c62e1097956112c3f1bb878"})}};e.style=r;export{e as p_card_body};
|
|
2
|
-
//# sourceMappingURL=p-ff2b5ed0.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"p-input-error.entry.esm.js","sources":["src/components/deprecated/molecules/input/error/input-error.component.tsx"],"sourcesContent":["import { Component, h, Host, Prop, State } from '@stencil/core';\n\n@Component({\n\ttag: 'p-input-error',\n\tshadow: true,\n})\nexport class InputError {\n\t/**\n\t * The error to show\n\t */\n\t@Prop() error: string;\n\n\t/**\n\t * Wether to force show the tooltip\n\t */\n\t@Prop() forceShowTooltip = false;\n\n\t@State() private _showTooltip = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-input-error'>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tvariant='error'\n\t\t\t\t\tcontent={this.error}\n\t\t\t\t\tshow={this.forceShowTooltip}\n\t\t\t\t\tonIsOpen={ev => (this._showTooltip = ev.detail)}\n\t\t\t\t>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass={`${\n\t\t\t\t\t\t\tthis._showTooltip ? 'text-negative' : 'text-negative-light'\n\t\t\t\t\t\t} hover:text-negative`}\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tvariant='question-circle'\n\t\t\t\t\t/>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;MAMa,UAAU,GAAA,MAAA;;;;AACtB;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;IACK,gBAAgB,GAAG,KAAK;IAEf,YAAY,GAAG,KAAK;IAErC,MAAM,GAAA;QACL,QACC,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,eAAe,EAAA,EAC1B,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,IAAI,CAAC,KAAK,EACnB,IAAI,EAAE,IAAI,CAAC,gBAAgB,EAC3B,QAAQ,EAAE,EAAE,KAAK,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC,MAAM,CAAC,EAAA,EAE/C,CACC,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,GACN,IAAI,CAAC,YAAY,GAAG,eAAe,GAAG,qBACvC,sBAAsB,EACtB,IAAI,EAAC,SAAS,EACd,OAAO,EAAC,iBAAiB,EACxB,CAAA,CACS,CACN;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"p-input-group.entry.esm.js","sources":["src/components/deprecated/molecules/input/group/input-group.component.scss?tag=p-input-group&encapsulation=shadow","src/components/deprecated/molecules/input/group/input-group.component.tsx"],"sourcesContent":[":host {\n\t@apply flex w-full flex-col;\n\t@apply outline-none #{!important};\n\n\t.input-label {\n\t\t@apply mb-[2px] text-xs font-semibold uppercase tracking-wider text-storm-vague;\n\t}\n\n\t.input-header {\n\t\t@apply mb-[2px] flex items-end gap-2;\n\t}\n\n\t.content {\n\t\t@apply flex w-full;\n\n\t\t.prefix,\n\t\t.suffix {\n\t\t\t@apply box-border flex-1 text-storm;\n\t\t\t@apply h-full;\n\t\t}\n\n\t\t.prefix {\n\t\t\t@apply rounded-br-none rounded-tr-none;\n\t\t\t@apply border-r-0 #{!important};\n\t\t\t@apply order-1;\n\t\t\t@apply pr-2;\n\t\t}\n\n\t\t.suffix {\n\t\t\t@apply rounded-bl-none rounded-tl-none;\n\t\t\t@apply order-3;\n\t\t\t@apply pl-2;\n\t\t\t@apply border-l-0 #{!important};\n\t\t}\n\t}\n}\n\n:host(.focused),\n:host([focused]),\n:host(:focus-within),\n:host(:focus) {\n\t@apply outline-none #{!important};\n\n\t.prefix,\n\t.suffix {\n\t\t@apply text-indigo;\n\t}\n}\n\n:host(.error),\n:host([error]) {\n\t.prefix,\n\t.suffix {\n\t\t@apply text-negative;\n\t}\n\n\t.suffix {\n\t\t@apply items-start py-[calc(0.75rem-1px)];\n\t}\n}\n\n:host(.disabled),\n:host([disabled]) {\n\t.prefix,\n\t.suffix {\n\t}\n}\n\n:host(.size-small.error),\n:host(.size-small[error]) {\n\t.suffix {\n\t\t@apply py-2;\n\t}\n}\n","import {\n\tComponent,\n\tElement,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { RotateOptions } from '../../../../../types/tailwind';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-input-group',\n\tstyleUrl: './input-group.component.scss',\n\tshadow: true,\n})\nexport class InputGroup {\n\t/**\n\t * The size of the input group\n\t */\n\t@Prop() size: 'small' | 'medium' = 'medium';\n\n\t/**\n\t * The prefix of the input group\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the input group\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the input group\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether the input group is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the input group is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The error variant to use\n\t */\n\t@Prop() errorVariant: 'auto' | 'suffix' | 'element' = 'auto';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _forceShowTooltip = false;\n\n\tprivate _whitelistedTags = ['input', 'textarea'];\n\n\tcomponentDidLoad() {\n\t\tconsole.warn('[p-input-group] Deprecated, please use p-field');\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._setInputClasses();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t\terrorVariant,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-input-group ${this.error?.length && 'error'} ${\n\t\t\t\t\tthis.disabled && 'disabled'\n\t\t\t\t} ${this.focused && 'focused'} size-${this.size}`}\n\t\t\t>\n\t\t\t\t<div class='flex items-end justify-between'>\n\t\t\t\t\t{label && (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass='input-label'\n\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t{this.required && <span class='ml-1 text-negative'>*</span>}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{(helper || hasHeaderSlot) && (\n\t\t\t\t\t\t<div class='input-header'>\n\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\tclass={`flex ${hasHeaderSlot ? 'ml-2' : ''}`}\n\t\t\t\t\t\t\t\t\tplacement='top-end'\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tclass='w-full'\n\t\t\t\t\tvariant='error'\n\t\t\t\t\tcontent={this.error}\n\t\t\t\t\tshow={\n\t\t\t\t\t\terrorAndErrorIsNotBoolean &&\n\t\t\t\t\t\terrorVariant === 'element' &&\n\t\t\t\t\t\t(this.forceShowTooltip || this._forceShowTooltip)\n\t\t\t\t\t}\n\t\t\t\t\tenableUserInput={false}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass='content'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(prefix || (this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={`prefix size-${this.size}`}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'start' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{(suffix ||\n\t\t\t\t\t\t\t(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||\n\t\t\t\t\t\t\t(this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={`suffix size-${this.size}`}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (\n\t\t\t\t\t\t\t\t\t<p-input-error\n\t\t\t\t\t\t\t\t\t\terror={this.error}\n\t\t\t\t\t\t\t\t\t\tforceShowTooltip={\n\t\t\t\t\t\t\t\t\t\t\tthis.forceShowTooltip || this._forceShowTooltip\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t<slot name='input' />\n\t\t\t\t\t</div>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tthis._forceShowTooltip = true;\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tthis._forceShowTooltip = false;\n\t}\n\t/*\n With this, we shall hack the system in ways no one would ever have thought.\n\n <div class=\"pl-0 pr-0 border-l-0 border-r-0 rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none\"></div>\n */\n\tprivate _setInputClasses() {\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\n\t\tif (!input) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst tagName = input.tagName.toLowerCase();\n\t\tif (this._whitelistedTags.indexOf(tagName) === -1) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!input.classList.contains('p-input')) {\n\t\t\tinput.classList.add('p-input');\n\t\t}\n\n\t\tconst { prefix, suffix, errorAndErrorIsNotBoolean, errorVariant } =\n\t\t\tthis._getSlotInfo();\n\n\t\tif (\n\t\t\tsuffix ||\n\t\t\t(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||\n\t\t\t(this.icon && this.iconPosition === 'end')\n\t\t) {\n\t\t\tinput.classList.add(\n\t\t\t\t'border-r-0',\n\t\t\t\t'rounded-tr-none',\n\t\t\t\t'rounded-br-none',\n\t\t\t\t'pr-0'\n\t\t\t);\n\t\t} else {\n\t\t\tinput.classList.remove(\n\t\t\t\t'border-r-0',\n\t\t\t\t'rounded-tr-none',\n\t\t\t\t'rounded-br-none',\n\t\t\t\t'pr-0'\n\t\t\t);\n\t\t}\n\n\t\tif (prefix || (this.icon && this.iconPosition === 'start')) {\n\t\t\tinput.classList.add(\n\t\t\t\t'border-l-0',\n\t\t\t\t'rounded-tl-none',\n\t\t\t\t'rounded-bl-none',\n\t\t\t\t'pl-0'\n\t\t\t);\n\t\t} else {\n\t\t\tinput.classList.remove(\n\t\t\t\t'border-l-0',\n\t\t\t\t'rounded-tl-none',\n\t\t\t\t'rounded-bl-none',\n\t\t\t\t'pl-0'\n\t\t\t);\n\t\t}\n\n\t\tif (this.size === 'small' && !input.classList.contains('size-small')) {\n\t\t\tinput.classList.add('size-small');\n\t\t}\n\n\t\tif (this.size !== 'small' && input.classList.contains('size-small')) {\n\t\t\tinput.classList.remove('size-small');\n\t\t}\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t\terrorVariant:\n\t\t\t\tthis.errorVariant === 'auto'\n\t\t\t\t\t? this._el.offsetWidth <= 72\n\t\t\t\t\t\t? 'element'\n\t\t\t\t\t\t: 'icon'\n\t\t\t\t\t: this.errorVariant,\n\t\t};\n\t}\n\n\tprivate _focusInput() {\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,sBAAsB,GAAG,u6FAAu6F;;MCoBz7F,UAAU,GAAA,MAAA;;;;AACtB;;AAEG;IACK,IAAI,GAAuB,QAAQ;AAE3C;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,IAAI;AAEZ;;AAEG;AACK,IAAA,QAAQ;AAEhB;;AAEG;AACK,IAAA,UAAU;AAElB;;AAEG;IACK,YAAY,GAAoB,OAAO;AAE/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AAQ,GAAG,GAAG,IAAI,CAAC,MAAM;AAEnE,QAAA,MAAM,yBAAyB,GAC9B,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM;QAEtE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,aAAa;YACb,aAAa;YACb,MAAM;YACN,KAAK;YACL,MAAM;YACN,MAAM;YACN,yBAAyB;AACzB,YAAA,YAAY,EACX,IAAI,CAAC,YAAY,KAAK;AACrB,kBAAE,IAAI,CAAC,GAAG,CAAC,WAAW,IAAI;AACzB,sBAAE;AACF,sBAAE;kBACD,IAAI,CAAC,YAAY;SACrB;;IAGM,WAAW,GAAA;QAClB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC9D,QAAA,KAAqB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"p-slider-indicator.entry.esm.js","sources":["src/components/deprecated/atoms/slider-indicator/slider-indicator.component.scss?tag=p-slider-indicator&encapsulation=shadow","src/components/deprecated/atoms/slider-indicator/slider-indicator.component.tsx"],"sourcesContent":[":host {\n\t@apply block w-2 h-2 bg-mystic-dark rounded-full;\n}\n\n:host(.active) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-slider-indicator',\n\tstyleUrl: 'slider-indicator.component.scss',\n\tshadow: true,\n})\nexport class SliderIndicator {\n\t/**\n\t * Wether the slider indicator is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-slider-indicator ${this.active && 'active'}`}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,2BAA2B,GAAG,geAAge;;MCOvf,eAAe,GAAA,MAAA;;;;AAC3B;;AAEG;IACK,MAAM,GAAY,KAAK;IAE/B,MAAM,GAAA;QACL,QACC,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACJ,KAAK,EAAE,CAAsB,mBAAA,EAAA,IAAI,CAAC,MAAM,IAAI,QAAQ,CAAE,CAAA,EAAA,CAC/C;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"p-status.entry.esm.js","sources":["src/components/deprecated/atoms/status/status.component.scss?tag=p-status","src/components/deprecated/atoms/status/status.component.tsx"],"sourcesContent":["p-status {\n\t@apply flex items-center;\n\t@apply text-sm text-storm-vague font-medium;\n\n\tp-icon {\n\t\t@apply mr-2 text-base;\n\t}\n\n\t&.variant-positive {\n\t\t@apply text-positive;\n\t}\n\n\t&.variant-unbiased {\n\t\t@apply text-unbiased;\n\t}\n\n\t&.variant-negative {\n\t\t@apply text-negative;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../../types/tailwind';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-status',\n\tstyleUrl: 'status.component.scss',\n})\nexport class Status {\n\t/**\n\t * The variant of the status\n\t */\n\t@Prop() variant: 'default' | 'positive' | 'unbiased' | 'negative' = 'default';\n\n\t/**\n\t * Icon to show on the status\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-status variant-${this.variant}\n }`}\n\t\t\t>\n\t\t\t\t{this._getIcon()}\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getIcon() {\n\t\tconst icon = this.icon || this._getVariantIcon();\n\n\t\tif (!icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tvariant={icon}\n\t\t\t\tflip={this.iconFlip}\n\t\t\t\trotate={this.iconRotate}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getVariantIcon() {\n\t\tlet icon = null;\n\t\tswitch (this.variant) {\n\t\t\tcase 'positive':\n\t\t\t\ticon = 'checkmark';\n\t\t\t\tbreak;\n\t\t\tcase 'negative':\n\t\t\t\ticon = 'negative';\n\t\t\t\tbreak;\n\t\t\tcase 'unbiased':\n\t\t\t\ticon = 'clock';\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\ticon = null;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn icon;\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,kBAAkB,GAAG,myBAAmyB;;MCWjzB,MAAM,GAAA,MAAA;;;;AAClB;;AAEG;IACK,OAAO,GAAqD,SAAS;AAE7E;;AAEG;AACK,IAAA,IAAI;AAEZ;;AAEG;AACK,IAAA,QAAQ;AAEhB;;AAEG;AACK,IAAA,UAAU;IAElB,MAAM,GAAA;AACL,QAAA,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACJ,KAAK,EAAE,CAAoB,iBAAA,EAAA,IAAI,CAAC,OAAO;AACzB,iBAAA,CAAA,EAAA,EAEb,IAAI,CAAC,QAAQ,EAAE,EAChB,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;IAID,QAAQ,GAAA;QACf,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,EAAE;QAEhD,IAAI,CAAC,IAAI,EAAE;YACV;;QAGD,QACC,CACC,CAAA,QAAA,EAAA,EAAA,OAAO,EAAE,IAAI,EACb,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,EAAA,CACtB;;IAII,eAAe,GAAA;QACtB,IAAI,IAAI,GAAG,IAAI;AACf,QAAA,QAAQ,IAAI,CAAC,OAAO;AACnB,YAAA,KAAK,UAAU;gBACd,IAAI,GAAG,WAAW;gBAClB;AACD,YAAA,KAAK,UAAU;gBACd,IAAI,GAAG,UAAU;gBACjB;AACD,YAAA,KAAK,UAAU;gBACd,IAAI,GAAG,OAAO;gBACd;AACD,YAAA;gBACC,IAAI,GAAG,IAAI;gBACX;;AAGF,QAAA,OAAO,IAAI;;;;;;;"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-BDuPp9vl.js');
|
|
4
|
-
|
|
5
|
-
const counterComponentCss = ".flex{display:flex!important}.h-2{height:.5rem!important}.h-4{height:1rem!important}.w-2{width:.5rem!important}.min-w-0{min-width:0!important}.min-w-\\[1rem\\]{min-width:1rem!important}.items-center{align-items:center!important}.rounded{border-radius:.25rem!important}.rounded-full{border-radius:9999px!important}.rounded-xl{border-radius:.75rem!important}.bg-indigo{--tw-bg-opacity:1!important;background-color:rgb(255 192 203/var(--tw-bg-opacity,1))!important}.bg-negative-light{--tw-bg-opacity:1!important;background-color:rgb(255 20 147/var(--tw-bg-opacity,1))!important}.bg-positive-light{--tw-bg-opacity:1!important;background-color:rgb(173 255 47/var(--tw-bg-opacity,1))!important}.bg-unbiased-light{--tw-bg-opacity:1!important;background-color:rgb(255 255 0/var(--tw-bg-opacity,1))!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.uppercase{text-transform:uppercase!important}.leading-3{line-height:.75rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 192 203/var(--tw-bg-opacity,1));border-radius:.75rem;color:rgb(255 255 255/var(--tw-text-opacity,1));display:flex;font-size:.75rem;font-weight:700;height:1rem;justify-content:center;line-height:.75rem;padding-left:.5rem;padding-right:.5rem;text-transform:uppercase}:host(.variant-negative),:host(.variant-positive),:host(.variant-unbiased){border-radius:.25rem;min-width:1rem;padding-left:.25rem;padding-right:.25rem}:host(.variant-positive){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(173 255 47/var(--tw-bg-opacity,1));color:rgb(173 255 47/var(--tw-text-opacity,1))}:host(.variant-unbiased){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 0/var(--tw-bg-opacity,1));color:rgb(255 255 0/var(--tw-text-opacity,1))}:host(.variant-negative){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 20 147/var(--tw-bg-opacity,1));color:rgb(255 20 147/var(--tw-text-opacity,1))}:host(.size-mini){border-radius:9999px;height:.5rem;min-width:0;padding:0;width:.5rem}:host(.size-mini) slot{display:none}.static{position:static!important}";
|
|
6
|
-
|
|
7
|
-
const Counter = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* The variant of the counter
|
|
13
|
-
*/
|
|
14
|
-
variant = 'info';
|
|
15
|
-
/**
|
|
16
|
-
* The size of the counter
|
|
17
|
-
*/
|
|
18
|
-
size = 'default';
|
|
19
|
-
render() {
|
|
20
|
-
return (index.h(index.Host, { key: '5d44b628bf0a2337faabad8061cb8c4241a543bf', class: `p-counter variant-${this.variant} size-${this.size}` }, index.h("slot", { key: '1b1712f1bee58734626ab4b9d0a4767702bf6933' })));
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
Counter.style = counterComponentCss;
|
|
24
|
-
|
|
25
|
-
exports.p_counter = Counter;
|
|
26
|
-
//# sourceMappingURL=p-counter.entry.cjs.js.map
|
|
27
|
-
|
|
28
|
-
//# sourceMappingURL=p-counter.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-counter.entry.cjs.js","mappings":";;;;AAAA,MAAM,mBAAmB,GAAG,ynEAAynE;;MCOxoE,OAAO,GAAA,MAAA;;;;AACnB;;AAEG;IACK,OAAO,GAAkD,MAAM;AAEvE;;AAEG;IACK,IAAI,GAAuB,SAAS;IAE5C,MAAM,GAAA;AACL,QAAA,QACCA,OAAA,CAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAE,CAAqB,kBAAA,EAAA,IAAI,CAAC,OAAO,CAAA,MAAA,EAAS,IAAI,CAAC,IAAI,CAAE,CAAA,EAAA,EACjED,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;;;;;;","names":["h","Host"],"sources":["src/components/deprecated/atoms/counter/counter.component.scss?tag=p-counter&encapsulation=shadow","src/components/deprecated/atoms/counter/counter.component.tsx"],"sourcesContent":[":host {\n\t@apply h-4 rounded-xl bg-indigo px-2;\n\t@apply text-xs font-bold uppercase leading-3 text-white;\n\t@apply flex items-center justify-center;\n}\n\n:host(.variant-positive),\n:host(.variant-unbiased),\n:host(.variant-negative) {\n\t@apply min-w-[1rem] rounded px-1;\n}\n\n:host(.variant-positive) {\n\t@apply bg-positive-light text-positive-dark;\n}\n\n:host(.variant-unbiased) {\n\t@apply bg-unbiased-light text-unbiased-dark;\n}\n\n:host(.variant-negative) {\n\t@apply bg-negative-light text-negative-dark;\n}\n\n:host(.size-mini) {\n\t@apply h-2 w-2 min-w-0 rounded-full p-0;\n\n\tslot {\n\t\tdisplay: none;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-counter',\n\tstyleUrl: 'counter.component.scss',\n\tshadow: true,\n})\nexport class Counter {\n\t/**\n\t * The variant of the counter\n\t */\n\t@Prop() variant: 'info' | 'negative' | 'positive' | 'unbiased' = 'info';\n\n\t/**\n\t * The size of the counter\n\t */\n\t@Prop() size: 'default' | 'mini' = 'default';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-counter variant-${this.variant} size-${this.size}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"p-counter.entry.cjs.js","sources":["src/components/deprecated/atoms/counter/counter.component.scss?tag=p-counter&encapsulation=shadow","src/components/deprecated/atoms/counter/counter.component.tsx"],"sourcesContent":[":host {\n\t@apply h-4 rounded-xl bg-indigo px-2;\n\t@apply text-xs font-bold uppercase leading-3 text-white;\n\t@apply flex items-center justify-center;\n}\n\n:host(.variant-positive),\n:host(.variant-unbiased),\n:host(.variant-negative) {\n\t@apply min-w-[1rem] rounded px-1;\n}\n\n:host(.variant-positive) {\n\t@apply bg-positive-light text-positive-dark;\n}\n\n:host(.variant-unbiased) {\n\t@apply bg-unbiased-light text-unbiased-dark;\n}\n\n:host(.variant-negative) {\n\t@apply bg-negative-light text-negative-dark;\n}\n\n:host(.size-mini) {\n\t@apply h-2 w-2 min-w-0 rounded-full p-0;\n\n\tslot {\n\t\tdisplay: none;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-counter',\n\tstyleUrl: 'counter.component.scss',\n\tshadow: true,\n})\nexport class Counter {\n\t/**\n\t * The variant of the counter\n\t */\n\t@Prop() variant: 'info' | 'negative' | 'positive' | 'unbiased' = 'info';\n\n\t/**\n\t * The size of the counter\n\t */\n\t@Prop() size: 'default' | 'mini' = 'default';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-counter variant-${this.variant} size-${this.size}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,mBAAmB,GAAG,ynEAAynE;;MCOxoE,OAAO,GAAA,MAAA;;;;AACnB;;AAEG;IACK,OAAO,GAAkD,MAAM;AAEvE;;AAEG;IACK,IAAI,GAAuB,SAAS;IAE5C,MAAM,GAAA;AACL,QAAA,QACCA,OAAA,CAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAE,CAAqB,kBAAA,EAAA,IAAI,CAAC,OAAO,CAAA,MAAA,EAAS,IAAI,CAAC,IAAI,CAAE,CAAA,EAAA,EACjED,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;;;;;;"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-BDuPp9vl.js');
|
|
4
|
-
|
|
5
|
-
const InputError = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
index.registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* The error to show
|
|
11
|
-
*/
|
|
12
|
-
error;
|
|
13
|
-
/**
|
|
14
|
-
* Wether to force show the tooltip
|
|
15
|
-
*/
|
|
16
|
-
forceShowTooltip = false;
|
|
17
|
-
_showTooltip = false;
|
|
18
|
-
render() {
|
|
19
|
-
return (index.h(index.Host, { key: 'ac72736cd67ff8871d15f0b910d61a5d00c0251a', class: 'p-input-error' }, index.h("p-tooltip", { key: '3ae692fa168ce5ebe9638fccd96310a91e97987b', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, index.h("p-icon", { key: 'b8dc3401a4186b8dc4f077df04321e91ec966a35', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
exports.p_input_error = InputError;
|
|
24
|
-
//# sourceMappingURL=p-input-error.entry.cjs.js.map
|
|
25
|
-
|
|
26
|
-
//# sourceMappingURL=p-input-error.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-input-error.entry.cjs.js","mappings":";;;;MAMa,UAAU,GAAA,MAAA;;;;AACtB;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;IACK,gBAAgB,GAAG,KAAK;IAEf,YAAY,GAAG,KAAK;IAErC,MAAM,GAAA;QACL,QACCA,OAAC,CAAAC,UAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,eAAe,EAAA,EAC1BD,OAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,IAAI,CAAC,KAAK,EACnB,IAAI,EAAE,IAAI,CAAC,gBAAgB,EAC3B,QAAQ,EAAE,EAAE,KAAK,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC,MAAM,CAAC,EAAA,EAE/CA,OACC,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,GACN,IAAI,CAAC,YAAY,GAAG,eAAe,GAAG,qBACvC,sBAAsB,EACtB,IAAI,EAAC,SAAS,EACd,OAAO,EAAC,iBAAiB,EACxB,CAAA,CACS,CACN;;;;;;","names":["h","Host"],"sources":["src/components/deprecated/molecules/input/error/input-error.component.tsx"],"sourcesContent":["import { Component, h, Host, Prop, State } from '@stencil/core';\n\n@Component({\n\ttag: 'p-input-error',\n\tshadow: true,\n})\nexport class InputError {\n\t/**\n\t * The error to show\n\t */\n\t@Prop() error: string;\n\n\t/**\n\t * Wether to force show the tooltip\n\t */\n\t@Prop() forceShowTooltip = false;\n\n\t@State() private _showTooltip = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-input-error'>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tvariant='error'\n\t\t\t\t\tcontent={this.error}\n\t\t\t\t\tshow={this.forceShowTooltip}\n\t\t\t\t\tonIsOpen={ev => (this._showTooltip = ev.detail)}\n\t\t\t\t>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass={`${\n\t\t\t\t\t\t\tthis._showTooltip ? 'text-negative' : 'text-negative-light'\n\t\t\t\t\t\t} hover:text-negative`}\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tvariant='question-circle'\n\t\t\t\t\t/>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"p-input-error.entry.cjs.js","sources":["src/components/deprecated/molecules/input/error/input-error.component.tsx"],"sourcesContent":["import { Component, h, Host, Prop, State } from '@stencil/core';\n\n@Component({\n\ttag: 'p-input-error',\n\tshadow: true,\n})\nexport class InputError {\n\t/**\n\t * The error to show\n\t */\n\t@Prop() error: string;\n\n\t/**\n\t * Wether to force show the tooltip\n\t */\n\t@Prop() forceShowTooltip = false;\n\n\t@State() private _showTooltip = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-input-error'>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tvariant='error'\n\t\t\t\t\tcontent={this.error}\n\t\t\t\t\tshow={this.forceShowTooltip}\n\t\t\t\t\tonIsOpen={ev => (this._showTooltip = ev.detail)}\n\t\t\t\t>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass={`${\n\t\t\t\t\t\t\tthis._showTooltip ? 'text-negative' : 'text-negative-light'\n\t\t\t\t\t\t} hover:text-negative`}\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tvariant='question-circle'\n\t\t\t\t\t/>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"names":["h","Host"],"mappings":";;;;MAMa,UAAU,GAAA,MAAA;;;;AACtB;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;IACK,gBAAgB,GAAG,KAAK;IAEf,YAAY,GAAG,KAAK;IAErC,MAAM,GAAA;QACL,QACCA,OAAC,CAAAC,UAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,eAAe,EAAA,EAC1BD,OAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,IAAI,CAAC,KAAK,EACnB,IAAI,EAAE,IAAI,CAAC,gBAAgB,EAC3B,QAAQ,EAAE,EAAE,KAAK,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC,MAAM,CAAC,EAAA,EAE/CA,OACC,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,GACN,IAAI,CAAC,YAAY,GAAG,eAAe,GAAG,qBACvC,sBAAsB,EACtB,IAAI,EAAC,SAAS,EACd,OAAO,EAAC,iBAAiB,EACxB,CAAA,CACS,CACN;;;;;;"}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-BDuPp9vl.js');
|
|
4
|
-
|
|
5
|
-
const inputGroupComponentCss = ".mb-\\[2px\\]{margin-bottom:2px!important}.box-border{box-sizing:border-box!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br-none{border-bottom-right-radius:0!important}.border-l-0{border-left-width:0!important}.border-r-0{border-right-width:0!important}.py-\\[calc\\(0\\.75rem-1px\\)\\]{padding-bottom:calc(.75rem - 1px)!important;padding-top:calc(.75rem - 1px)!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.tracking-wider{letter-spacing:.05em!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;outline:2px solid transparent!important;outline-offset:2px!important;width:100%}:host .input-label{--tw-text-opacity:1;color:rgb(0 255 255/var(--tw-text-opacity,1));font-size:.75rem;font-weight:600;letter-spacing:.05em;line-height:1rem;margin-bottom:2px;text-transform:uppercase}:host .input-header{align-items:flex-end;display:flex;gap:.5rem;margin-bottom:2px}:host .content{display:flex;width:100%}:host .content .prefix,:host .content .suffix{--tw-text-opacity:1;box-sizing:border-box;color:rgb(0 255 255/var(--tw-text-opacity,1));flex:1 1 0%;height:100%}:host .content .prefix{border-bottom-right-radius:0;border-right-width:0!important;border-top-right-radius:0;order:1;padding-right:.5rem}:host .content .suffix{border-bottom-left-radius:0;border-left-width:0!important;border-top-left-radius:0;order:3;padding-left:.5rem}:host(.focused),:host(:focus),:host(:focus-within),:host([focused]){outline:2px solid transparent!important;outline-offset:2px!important}:host(.focused) .prefix,:host(.focused) .suffix,:host(:focus) .prefix,:host(:focus) .suffix,:host(:focus-within) .prefix,:host(:focus-within) .suffix,:host([focused]) .prefix,:host([focused]) .suffix{--tw-text-opacity:1;color:rgb(255 192 203/var(--tw-text-opacity,1))}:host(.error) .prefix,:host(.error) .suffix,:host([error]) .prefix,:host([error]) .suffix{--tw-text-opacity:1;color:rgb(255 20 147/var(--tw-text-opacity,1))}:host(.error) .suffix,:host([error]) .suffix{align-items:flex-start;padding-bottom:calc(.75rem - 1px);padding-top:calc(.75rem - 1px)}:host(.size-small.error) .suffix,:host(.size-small[error]) .suffix{padding-bottom:.5rem;padding-top:.5rem}.static{position:static!important}.ml-1{margin-left:.25rem!important}.ml-2{margin-left:.5rem!important}.justify-between{justify-content:space-between!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr-none{border-top-right-radius:0!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}.text-negative{--tw-text-opacity:1!important;color:rgb(255 20 147/var(--tw-text-opacity,1))!important}";
|
|
6
|
-
|
|
7
|
-
const InputGroup = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* The size of the input group
|
|
13
|
-
*/
|
|
14
|
-
size = 'medium';
|
|
15
|
-
/**
|
|
16
|
-
* The prefix of the input group
|
|
17
|
-
*/
|
|
18
|
-
prefix;
|
|
19
|
-
/**
|
|
20
|
-
* The suffix of the input group
|
|
21
|
-
*/
|
|
22
|
-
suffix;
|
|
23
|
-
/**
|
|
24
|
-
* Icon of the input group
|
|
25
|
-
*/
|
|
26
|
-
icon;
|
|
27
|
-
/**
|
|
28
|
-
* Icon flip
|
|
29
|
-
*/
|
|
30
|
-
iconFlip;
|
|
31
|
-
/**
|
|
32
|
-
* Icon rotate
|
|
33
|
-
*/
|
|
34
|
-
iconRotate;
|
|
35
|
-
/**
|
|
36
|
-
* Icon position
|
|
37
|
-
*/
|
|
38
|
-
iconPosition = 'start';
|
|
39
|
-
/**
|
|
40
|
-
* The label of the input group
|
|
41
|
-
*/
|
|
42
|
-
label;
|
|
43
|
-
/**
|
|
44
|
-
* The helper of the input group
|
|
45
|
-
*/
|
|
46
|
-
helper;
|
|
47
|
-
/**
|
|
48
|
-
* Wether the field is required
|
|
49
|
-
*/
|
|
50
|
-
required;
|
|
51
|
-
/**
|
|
52
|
-
* The helper of the input group
|
|
53
|
-
*/
|
|
54
|
-
error;
|
|
55
|
-
/**
|
|
56
|
-
* Wether the input group is disabled
|
|
57
|
-
*/
|
|
58
|
-
disabled = false;
|
|
59
|
-
/**
|
|
60
|
-
* Wether the input group is focused
|
|
61
|
-
*/
|
|
62
|
-
focused = false;
|
|
63
|
-
/**
|
|
64
|
-
* Force show the error tooltip
|
|
65
|
-
*/
|
|
66
|
-
forceShowTooltip = false;
|
|
67
|
-
/**
|
|
68
|
-
* The method to use when focusing the input
|
|
69
|
-
*/
|
|
70
|
-
focusMethod = 'focus';
|
|
71
|
-
/**
|
|
72
|
-
* The error variant to use
|
|
73
|
-
*/
|
|
74
|
-
errorVariant = 'auto';
|
|
75
|
-
get _el() { return index.getElement(this); }
|
|
76
|
-
_forceShowTooltip = false;
|
|
77
|
-
_whitelistedTags = ['input', 'textarea'];
|
|
78
|
-
componentDidLoad() {
|
|
79
|
-
console.warn('[p-input-group] Deprecated, please use p-field');
|
|
80
|
-
}
|
|
81
|
-
componentWillRender() {
|
|
82
|
-
this._setInputClasses();
|
|
83
|
-
}
|
|
84
|
-
render() {
|
|
85
|
-
const { hasHeaderSlot, helper, label, prefix, suffix, errorAndErrorIsNotBoolean, errorVariant, } = this._getSlotInfo();
|
|
86
|
-
return (index.h(index.Host, { key: '1e6172aea80f3b50b35ab6a44c43a0588639957b', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, index.h("div", { key: '434782c7d338859193881e4555a3d4db5139dc29', class: 'flex items-end justify-between' }, label && (index.h("div", { key: '8dbab2712677dc2b14c203e0e8aa717da6781bee', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && index.h("span", { key: 'bcd81584ec51a142e8650fedaa2081a9b511bece', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (index.h("div", { key: '31792e3bb6c2cd45f13862e62028f9d7a3acedae', class: 'input-header' }, hasHeaderSlot && index.h("slot", { key: '2acacc9ade52864fee85e8a3587c60ab55c86a90', name: 'header' }), helper && (index.h("p-helper", { key: 'b5a787e02d10225cebc85e711a387497e576f7af', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), index.h("p-tooltip", { key: '826d4a16a18684c34ed2b13dfc8fe2ff09847188', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
|
|
87
|
-
errorVariant === 'element' &&
|
|
88
|
-
(this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, index.h("div", { key: '8d389977935532489673dab6c64b4958e7b59bb0', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (index.h("div", { key: 'f23e4cd54ab5f65665a72b1237e573c356f6f8d5', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (index.h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
|
|
89
|
-
(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
|
|
90
|
-
(this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '5ad3b4aa11943de4d0540c628116ed5a915b0e3b', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (index.h("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (index.h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), index.h("slot", { key: 'f983667b9fbaecf5a1364486a2cbae901eceb1f0', name: 'input' })))));
|
|
91
|
-
}
|
|
92
|
-
handleFocusIn() {
|
|
93
|
-
this._forceShowTooltip = true;
|
|
94
|
-
}
|
|
95
|
-
handleFocusOut() {
|
|
96
|
-
this._forceShowTooltip = false;
|
|
97
|
-
}
|
|
98
|
-
/*
|
|
99
|
-
With this, we shall hack the system in ways no one would ever have thought.
|
|
100
|
-
|
|
101
|
-
<div class="pl-0 pr-0 border-l-0 border-r-0 rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none"></div>
|
|
102
|
-
*/
|
|
103
|
-
_setInputClasses() {
|
|
104
|
-
const input = this._el.querySelector(':scope > [slot="input"]');
|
|
105
|
-
if (!input) {
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
const tagName = input.tagName.toLowerCase();
|
|
109
|
-
if (this._whitelistedTags.indexOf(tagName) === -1) {
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
if (!input.classList.contains('p-input')) {
|
|
113
|
-
input.classList.add('p-input');
|
|
114
|
-
}
|
|
115
|
-
const { prefix, suffix, errorAndErrorIsNotBoolean, errorVariant } = this._getSlotInfo();
|
|
116
|
-
if (suffix ||
|
|
117
|
-
(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
|
|
118
|
-
(this.icon && this.iconPosition === 'end')) {
|
|
119
|
-
input.classList.add('border-r-0', 'rounded-tr-none', 'rounded-br-none', 'pr-0');
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
input.classList.remove('border-r-0', 'rounded-tr-none', 'rounded-br-none', 'pr-0');
|
|
123
|
-
}
|
|
124
|
-
if (prefix || (this.icon && this.iconPosition === 'start')) {
|
|
125
|
-
input.classList.add('border-l-0', 'rounded-tl-none', 'rounded-bl-none', 'pl-0');
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
input.classList.remove('border-l-0', 'rounded-tl-none', 'rounded-bl-none', 'pl-0');
|
|
129
|
-
}
|
|
130
|
-
if (this.size === 'small' && !input.classList.contains('size-small')) {
|
|
131
|
-
input.classList.add('size-small');
|
|
132
|
-
}
|
|
133
|
-
if (this.size !== 'small' && input.classList.contains('size-small')) {
|
|
134
|
-
input.classList.remove('size-small');
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
_getSlotInfo() {
|
|
138
|
-
const hasHelperSlot = !!this._el.querySelector(':scope > [slot="helper"]');
|
|
139
|
-
const hasLabelSlot = !!this._el.querySelector(':scope > [slot="label"]');
|
|
140
|
-
const hasPrefixSlot = !!this._el.querySelector(':scope > [slot="prefix"]');
|
|
141
|
-
const hasSuffixSlot = !!this._el.querySelector(':scope > [slot="suffix"]');
|
|
142
|
-
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
143
|
-
const helper = hasHelperSlot ? index.h("slot", { name: 'helper' }) : this.helper;
|
|
144
|
-
const label = hasLabelSlot ? index.h("slot", { name: 'label' }) : this.label;
|
|
145
|
-
const prefix = hasPrefixSlot ? index.h("slot", { name: 'prefix' }) : this.prefix;
|
|
146
|
-
const suffix = hasSuffixSlot ? index.h("slot", { name: 'suffix' }) : this.suffix;
|
|
147
|
-
const errorAndErrorIsNotBoolean = this.error && typeof this.error === 'string' && this.error !== 'true';
|
|
148
|
-
return {
|
|
149
|
-
hasHelperSlot,
|
|
150
|
-
hasLabelSlot,
|
|
151
|
-
hasPrefixSlot,
|
|
152
|
-
hasSuffixSlot,
|
|
153
|
-
hasHeaderSlot,
|
|
154
|
-
helper,
|
|
155
|
-
label,
|
|
156
|
-
prefix,
|
|
157
|
-
suffix,
|
|
158
|
-
errorAndErrorIsNotBoolean,
|
|
159
|
-
errorVariant: this.errorVariant === 'auto'
|
|
160
|
-
? this._el.offsetWidth <= 72
|
|
161
|
-
? 'element'
|
|
162
|
-
: 'icon'
|
|
163
|
-
: this.errorVariant,
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
_focusInput() {
|
|
167
|
-
const input = this._el.querySelector(':scope > [slot="input"]');
|
|
168
|
-
input[this.focusMethod]();
|
|
169
|
-
}
|
|
170
|
-
};
|
|
171
|
-
InputGroup.style = inputGroupComponentCss;
|
|
172
|
-
|
|
173
|
-
exports.p_input_group = InputGroup;
|
|
174
|
-
//# sourceMappingURL=p-input-group.entry.cjs.js.map
|
|
175
|
-
|
|
176
|
-
//# sourceMappingURL=p-input-group.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-input-group.entry.cjs.js","mappings":";;;;AAAA,MAAM,sBAAsB,GAAG,u6FAAu6F;;MCoBz7F,UAAU,GAAA,MAAA;;;;AACtB;;AAEG;IACK,IAAI,GAAuB,QAAQ;AAE3C;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,IAAI;AAEZ;;AAEG;AACK,IAAA,QAAQ;AAEhB;;AAEG;AACK,IAAA,UAAU;AAElB;;AAEG;IACK,YAAY,GAAoB,OAAO;AAE/C;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACsB,IAAA,QAAQ;AAEjC;;AAEG;AACsB,IAAA,KAAK;AAE9B;;AAEG;IACsB,QAAQ,GAAY,KAAK;AAElD;;AAEG;IACsB,OAAO,GAAY,KAAK;AAEjD;;AAEG;IACsB,gBAAgB,GAAY,KAAK;AAE1D;;AAEG;IACK,WAAW,GAAsB,OAAO;AAEhD;;AAEG;IACK,YAAY,GAAkC,MAAM;;IAO3C,iBAAiB,GAAG,KAAK;AAElC,IAA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AY,KAAK;AACrB,kBAAE,IAAI,CAAC,GAAG,CAAC,WAAW,IAAI;AACzB,sBAAE;AACF,sBAAE;kBACD,IAAI,CAAC,YAAY;SACrB;;IAGM,WAAW,GAAA;QAClB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC9D,QAAA,KAAqB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;;;;;;;","names":["h","Host"],"sources":["src/components/deprecated/molecules/input/group/input-group.component.scss?tag=p-input-group&encapsulation=shadow","src/components/deprecated/molecules/input/group/input-group.component.tsx"],"sourcesContent":[":host {\n\t@apply flex w-full flex-col;\n\t@apply outline-none #{!important};\n\n\t.input-label {\n\t\t@apply mb-[2px] text-xs font-semibold uppercase tracking-wider text-storm-vague;\n\t}\n\n\t.input-header {\n\t\t@apply mb-[2px] flex items-end gap-2;\n\t}\n\n\t.content {\n\t\t@apply flex w-full;\n\n\t\t.prefix,\n\t\t.suffix {\n\t\t\t@apply box-border flex-1 text-storm;\n\t\t\t@apply h-full;\n\t\t}\n\n\t\t.prefix {\n\t\t\t@apply rounded-br-none rounded-tr-none;\n\t\t\t@apply border-r-0 #{!important};\n\t\t\t@apply order-1;\n\t\t\t@apply pr-2;\n\t\t}\n\n\t\t.suffix {\n\t\t\t@apply rounded-bl-none rounded-tl-none;\n\t\t\t@apply order-3;\n\t\t\t@apply pl-2;\n\t\t\t@apply border-l-0 #{!important};\n\t\t}\n\t}\n}\n\n:host(.focused),\n:host([focused]),\n:host(:focus-within),\n:host(:focus) {\n\t@apply outline-none #{!important};\n\n\t.prefix,\n\t.suffix {\n\t\t@apply text-indigo;\n\t}\n}\n\n:host(.error),\n:host([error]) {\n\t.prefix,\n\t.suffix {\n\t\t@apply text-negative;\n\t}\n\n\t.suffix {\n\t\t@apply items-start py-[calc(0.75rem-1px)];\n\t}\n}\n\n:host(.disabled),\n:host([disabled]) {\n\t.prefix,\n\t.suffix {\n\t}\n}\n\n:host(.size-small.error),\n:host(.size-small[error]) {\n\t.suffix {\n\t\t@apply py-2;\n\t}\n}\n","import {\n\tComponent,\n\tElement,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { RotateOptions } from '../../../../../types/tailwind';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-input-group',\n\tstyleUrl: './input-group.component.scss',\n\tshadow: true,\n})\nexport class InputGroup {\n\t/**\n\t * The size of the input group\n\t */\n\t@Prop() size: 'small' | 'medium' = 'medium';\n\n\t/**\n\t * The prefix of the input group\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the input group\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the input group\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether the input group is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the input group is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The error variant to use\n\t */\n\t@Prop() errorVariant: 'auto' | 'suffix' | 'element' = 'auto';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _forceShowTooltip = false;\n\n\tprivate _whitelistedTags = ['input', 'textarea'];\n\n\tcomponentDidLoad() {\n\t\tconsole.warn('[p-input-group] Deprecated, please use p-field');\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._setInputClasses();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t\terrorVariant,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-input-group ${this.error?.length && 'error'} ${\n\t\t\t\t\tthis.disabled && 'disabled'\n\t\t\t\t} ${this.focused && 'focused'} size-${this.size}`}\n\t\t\t>\n\t\t\t\t<div class='flex items-end justify-between'>\n\t\t\t\t\t{label && (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass='input-label'\n\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t{this.required && <span class='ml-1 text-negative'>*</span>}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{(helper || hasHeaderSlot) && (\n\t\t\t\t\t\t<div class='input-header'>\n\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\tclass={`flex ${hasHeaderSlot ? 'ml-2' : ''}`}\n\t\t\t\t\t\t\t\t\tplacement='top-end'\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tclass='w-full'\n\t\t\t\t\tvariant='error'\n\t\t\t\t\tcontent={this.error}\n\t\t\t\t\tshow={\n\t\t\t\t\t\terrorAndErrorIsNotBoolean &&\n\t\t\t\t\t\terrorVariant === 'element' &&\n\t\t\t\t\t\t(this.forceShowTooltip || this._forceShowTooltip)\n\t\t\t\t\t}\n\t\t\t\t\tenableUserInput={false}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass='content'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(prefix || (this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={`prefix size-${this.size}`}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'start' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{(suffix ||\n\t\t\t\t\t\t\t(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||\n\t\t\t\t\t\t\t(this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={`suffix size-${this.size}`}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (\n\t\t\t\t\t\t\t\t\t<p-input-error\n\t\t\t\t\t\t\t\t\t\terror={this.error}\n\t\t\t\t\t\t\t\t\t\tforceShowTooltip={\n\t\t\t\t\t\t\t\t\t\t\tthis.forceShowTooltip || this._forceShowTooltip\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t<slot name='input' />\n\t\t\t\t\t</div>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tthis._forceShowTooltip = true;\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tthis._forceShowTooltip = false;\n\t}\n\t/*\n With this, we shall hack the system in ways no one would ever have thought.\n\n <div class=\"pl-0 pr-0 border-l-0 border-r-0 rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none\"></div>\n */\n\tprivate _setInputClasses() {\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\n\t\tif (!input) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst tagName = input.tagName.toLowerCase();\n\t\tif (this._whitelistedTags.indexOf(tagName) === -1) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!input.classList.contains('p-input')) {\n\t\t\tinput.classList.add('p-input');\n\t\t}\n\n\t\tconst { prefix, suffix, errorAndErrorIsNotBoolean, errorVariant } =\n\t\t\tthis._getSlotInfo();\n\n\t\tif (\n\t\t\tsuffix ||\n\t\t\t(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||\n\t\t\t(this.icon && this.iconPosition === 'end')\n\t\t) {\n\t\t\tinput.classList.add(\n\t\t\t\t'border-r-0',\n\t\t\t\t'rounded-tr-none',\n\t\t\t\t'rounded-br-none',\n\t\t\t\t'pr-0'\n\t\t\t);\n\t\t} else {\n\t\t\tinput.classList.remove(\n\t\t\t\t'border-r-0',\n\t\t\t\t'rounded-tr-none',\n\t\t\t\t'rounded-br-none',\n\t\t\t\t'pr-0'\n\t\t\t);\n\t\t}\n\n\t\tif (prefix || (this.icon && this.iconPosition === 'start')) {\n\t\t\tinput.classList.add(\n\t\t\t\t'border-l-0',\n\t\t\t\t'rounded-tl-none',\n\t\t\t\t'rounded-bl-none',\n\t\t\t\t'pl-0'\n\t\t\t);\n\t\t} else {\n\t\t\tinput.classList.remove(\n\t\t\t\t'border-l-0',\n\t\t\t\t'rounded-tl-none',\n\t\t\t\t'rounded-bl-none',\n\t\t\t\t'pl-0'\n\t\t\t);\n\t\t}\n\n\t\tif (this.size === 'small' && !input.classList.contains('size-small')) {\n\t\t\tinput.classList.add('size-small');\n\t\t}\n\n\t\tif (this.size !== 'small' && input.classList.contains('size-small')) {\n\t\t\tinput.classList.remove('size-small');\n\t\t}\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t\terrorVariant:\n\t\t\t\tthis.errorVariant === 'auto'\n\t\t\t\t\t? this._el.offsetWidth <= 72\n\t\t\t\t\t\t? 'element'\n\t\t\t\t\t\t: 'icon'\n\t\t\t\t\t: this.errorVariant,\n\t\t};\n\t}\n\n\tprivate _focusInput() {\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"p-input-group.entry.cjs.js","sources":["src/components/deprecated/molecules/input/group/input-group.component.scss?tag=p-input-group&encapsulation=shadow","src/components/deprecated/molecules/input/group/input-group.component.tsx"],"sourcesContent":[":host {\n\t@apply flex w-full flex-col;\n\t@apply outline-none #{!important};\n\n\t.input-label {\n\t\t@apply mb-[2px] text-xs font-semibold uppercase tracking-wider text-storm-vague;\n\t}\n\n\t.input-header {\n\t\t@apply mb-[2px] flex items-end gap-2;\n\t}\n\n\t.content {\n\t\t@apply flex w-full;\n\n\t\t.prefix,\n\t\t.suffix {\n\t\t\t@apply box-border flex-1 text-storm;\n\t\t\t@apply h-full;\n\t\t}\n\n\t\t.prefix {\n\t\t\t@apply rounded-br-none rounded-tr-none;\n\t\t\t@apply border-r-0 #{!important};\n\t\t\t@apply order-1;\n\t\t\t@apply pr-2;\n\t\t}\n\n\t\t.suffix {\n\t\t\t@apply rounded-bl-none rounded-tl-none;\n\t\t\t@apply order-3;\n\t\t\t@apply pl-2;\n\t\t\t@apply border-l-0 #{!important};\n\t\t}\n\t}\n}\n\n:host(.focused),\n:host([focused]),\n:host(:focus-within),\n:host(:focus) {\n\t@apply outline-none #{!important};\n\n\t.prefix,\n\t.suffix {\n\t\t@apply text-indigo;\n\t}\n}\n\n:host(.error),\n:host([error]) {\n\t.prefix,\n\t.suffix {\n\t\t@apply text-negative;\n\t}\n\n\t.suffix {\n\t\t@apply items-start py-[calc(0.75rem-1px)];\n\t}\n}\n\n:host(.disabled),\n:host([disabled]) {\n\t.prefix,\n\t.suffix {\n\t}\n}\n\n:host(.size-small.error),\n:host(.size-small[error]) {\n\t.suffix {\n\t\t@apply py-2;\n\t}\n}\n","import {\n\tComponent,\n\tElement,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { RotateOptions } from '../../../../../types/tailwind';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-input-group',\n\tstyleUrl: './input-group.component.scss',\n\tshadow: true,\n})\nexport class InputGroup {\n\t/**\n\t * The size of the input group\n\t */\n\t@Prop() size: 'small' | 'medium' = 'medium';\n\n\t/**\n\t * The prefix of the input group\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the input group\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the input group\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether the input group is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the input group is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The error variant to use\n\t */\n\t@Prop() errorVariant: 'auto' | 'suffix' | 'element' = 'auto';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _forceShowTooltip = false;\n\n\tprivate _whitelistedTags = ['input', 'textarea'];\n\n\tcomponentDidLoad() {\n\t\tconsole.warn('[p-input-group] Deprecated, please use p-field');\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._setInputClasses();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t\terrorVariant,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-input-group ${this.error?.length && 'error'} ${\n\t\t\t\t\tthis.disabled && 'disabled'\n\t\t\t\t} ${this.focused && 'focused'} size-${this.size}`}\n\t\t\t>\n\t\t\t\t<div class='flex items-end justify-between'>\n\t\t\t\t\t{label && (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass='input-label'\n\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t{this.required && <span class='ml-1 text-negative'>*</span>}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{(helper || hasHeaderSlot) && (\n\t\t\t\t\t\t<div class='input-header'>\n\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\tclass={`flex ${hasHeaderSlot ? 'ml-2' : ''}`}\n\t\t\t\t\t\t\t\t\tplacement='top-end'\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tclass='w-full'\n\t\t\t\t\tvariant='error'\n\t\t\t\t\tcontent={this.error}\n\t\t\t\t\tshow={\n\t\t\t\t\t\terrorAndErrorIsNotBoolean &&\n\t\t\t\t\t\terrorVariant === 'element' &&\n\t\t\t\t\t\t(this.forceShowTooltip || this._forceShowTooltip)\n\t\t\t\t\t}\n\t\t\t\t\tenableUserInput={false}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass='content'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(prefix || (this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={`prefix size-${this.size}`}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'start' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{(suffix ||\n\t\t\t\t\t\t\t(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||\n\t\t\t\t\t\t\t(this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={`suffix size-${this.size}`}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (\n\t\t\t\t\t\t\t\t\t<p-input-error\n\t\t\t\t\t\t\t\t\t\terror={this.error}\n\t\t\t\t\t\t\t\t\t\tforceShowTooltip={\n\t\t\t\t\t\t\t\t\t\t\tthis.forceShowTooltip || this._forceShowTooltip\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t<slot name='input' />\n\t\t\t\t\t</div>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tthis._forceShowTooltip = true;\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tthis._forceShowTooltip = false;\n\t}\n\t/*\n With this, we shall hack the system in ways no one would ever have thought.\n\n <div class=\"pl-0 pr-0 border-l-0 border-r-0 rounded-tl-none rounded-bl-none rounded-tr-none rounded-br-none\"></div>\n */\n\tprivate _setInputClasses() {\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\n\t\tif (!input) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst tagName = input.tagName.toLowerCase();\n\t\tif (this._whitelistedTags.indexOf(tagName) === -1) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!input.classList.contains('p-input')) {\n\t\t\tinput.classList.add('p-input');\n\t\t}\n\n\t\tconst { prefix, suffix, errorAndErrorIsNotBoolean, errorVariant } =\n\t\t\tthis._getSlotInfo();\n\n\t\tif (\n\t\t\tsuffix ||\n\t\t\t(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||\n\t\t\t(this.icon && this.iconPosition === 'end')\n\t\t) {\n\t\t\tinput.classList.add(\n\t\t\t\t'border-r-0',\n\t\t\t\t'rounded-tr-none',\n\t\t\t\t'rounded-br-none',\n\t\t\t\t'pr-0'\n\t\t\t);\n\t\t} else {\n\t\t\tinput.classList.remove(\n\t\t\t\t'border-r-0',\n\t\t\t\t'rounded-tr-none',\n\t\t\t\t'rounded-br-none',\n\t\t\t\t'pr-0'\n\t\t\t);\n\t\t}\n\n\t\tif (prefix || (this.icon && this.iconPosition === 'start')) {\n\t\t\tinput.classList.add(\n\t\t\t\t'border-l-0',\n\t\t\t\t'rounded-tl-none',\n\t\t\t\t'rounded-bl-none',\n\t\t\t\t'pl-0'\n\t\t\t);\n\t\t} else {\n\t\t\tinput.classList.remove(\n\t\t\t\t'border-l-0',\n\t\t\t\t'rounded-tl-none',\n\t\t\t\t'rounded-bl-none',\n\t\t\t\t'pl-0'\n\t\t\t);\n\t\t}\n\n\t\tif (this.size === 'small' && !input.classList.contains('size-small')) {\n\t\t\tinput.classList.add('size-small');\n\t\t}\n\n\t\tif (this.size !== 'small' && input.classList.contains('size-small')) {\n\t\t\tinput.classList.remove('size-small');\n\t\t}\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t\terrorVariant:\n\t\t\t\tthis.errorVariant === 'auto'\n\t\t\t\t\t? this._el.offsetWidth <= 72\n\t\t\t\t\t\t? 'element'\n\t\t\t\t\t\t: 'icon'\n\t\t\t\t\t: this.errorVariant,\n\t\t};\n\t}\n\n\tprivate _focusInput() {\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,sBAAsB,GAAG,u6FAAu6F;;MCoBz7F,UAAU,GAAA,MAAA;;;;AACtB;;AAEG;IACK,IAAI,GAAuB,QAAQ;AAE3C;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,IAAI;AAEZ;;AAEG;AACK,IAAA,QAAQ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,IAAI,CAAC,MAAM;QACnE,MAAM,MAAM,GAAG,aAAa,GAAGA,OAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,GAAG,GAAG,IAAI,CAAC,MAAM;AAEnE,QAAA,MAAM,yBAAyB,GAC9B,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM;QAEtE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,aAAa;YACb,aAAa;YACb,MAAM;YACN,KAAK;YACL,MAAM;YACN,MAAM;YACN,yBAAyB;AACzB,YAAA,YAAY,EACX,IAAI,CAAC,YAAY,KAAK;AACrB,kBAAE,IAAI,CAAC,GAAG,CAAC,WAAW,IAAI;AACzB,sBAAE;AACF,sBAAE;kBACD,IAAI,CAAC,YAAY;SACrB;;IAGM,WAAW,GAAA;QAClB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC;AAC9D,QAAA,KAAqB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE;;;;;;;"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-BDuPp9vl.js');
|
|
4
|
-
|
|
5
|
-
const sliderIndicatorComponentCss = ".block{display:block!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(0 255 0/var(--tw-bg-opacity,1))!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(0 255 0/var(--tw-bg-opacity,1));border-radius:9999px;display:block;height:.5rem;width:.5rem}:host(.active){--tw-bg-opacity:1;background-color:rgb(255 192 203/var(--tw-bg-opacity,1))}.static{position:static!important}";
|
|
6
|
-
|
|
7
|
-
const SliderIndicator = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Wether the slider indicator is active
|
|
13
|
-
*/
|
|
14
|
-
active = false;
|
|
15
|
-
render() {
|
|
16
|
-
return (index.h(index.Host, { key: 'd9cc5d71cf33a58c8d43f6dab9a909c2d06f2d2f', class: `p-slider-indicator ${this.active && 'active'}` }));
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
SliderIndicator.style = sliderIndicatorComponentCss;
|
|
20
|
-
|
|
21
|
-
exports.p_slider_indicator = SliderIndicator;
|
|
22
|
-
//# sourceMappingURL=p-slider-indicator.entry.cjs.js.map
|
|
23
|
-
|
|
24
|
-
//# sourceMappingURL=p-slider-indicator.cjs.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-slider-indicator.entry.cjs.js","mappings":";;;;AAAA,MAAM,2BAA2B,GAAG,geAAge;;MCOvf,eAAe,GAAA,MAAA;;;;AAC3B;;AAEG;IACK,MAAM,GAAY,KAAK;IAE/B,MAAM,GAAA;QACL,QACCA,OAAA,CAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACJ,KAAK,EAAE,CAAsB,mBAAA,EAAA,IAAI,CAAC,MAAM,IAAI,QAAQ,CAAE,CAAA,EAAA,CAC/C;;;;;;;","names":["h","Host"],"sources":["src/components/deprecated/atoms/slider-indicator/slider-indicator.component.scss?tag=p-slider-indicator&encapsulation=shadow","src/components/deprecated/atoms/slider-indicator/slider-indicator.component.tsx"],"sourcesContent":[":host {\n\t@apply block w-2 h-2 bg-mystic-dark rounded-full;\n}\n\n:host(.active) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-slider-indicator',\n\tstyleUrl: 'slider-indicator.component.scss',\n\tshadow: true,\n})\nexport class SliderIndicator {\n\t/**\n\t * Wether the slider indicator is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-slider-indicator ${this.active && 'active'}`}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"p-slider-indicator.entry.cjs.js","sources":["src/components/deprecated/atoms/slider-indicator/slider-indicator.component.scss?tag=p-slider-indicator&encapsulation=shadow","src/components/deprecated/atoms/slider-indicator/slider-indicator.component.tsx"],"sourcesContent":[":host {\n\t@apply block w-2 h-2 bg-mystic-dark rounded-full;\n}\n\n:host(.active) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-slider-indicator',\n\tstyleUrl: 'slider-indicator.component.scss',\n\tshadow: true,\n})\nexport class SliderIndicator {\n\t/**\n\t * Wether the slider indicator is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-slider-indicator ${this.active && 'active'}`}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,2BAA2B,GAAG,geAAge;;MCOvf,eAAe,GAAA,MAAA;;;;AAC3B;;AAEG;IACK,MAAM,GAAY,KAAK;IAE/B,MAAM,GAAA;QACL,QACCA,OAAA,CAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACJ,KAAK,EAAE,CAAsB,mBAAA,EAAA,IAAI,CAAC,MAAM,IAAI,QAAQ,CAAE,CAAA,EAAA,CAC/C;;;;;;;"}
|