@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
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { cn } from "../../../utils";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
const attachment = cva([
|
|
5
|
+
'flex flex-1 items-center justify-start gap-2',
|
|
6
|
+
'h-8 min-w-0 px-2 rounded-lg',
|
|
7
|
+
'border border-solid bg-white-600'
|
|
8
|
+
], {
|
|
9
|
+
variants: {
|
|
10
|
+
error: {
|
|
11
|
+
false: 'bg-white-600 border-black-teal-100 text-black-teal-200',
|
|
12
|
+
true: 'border-negative-red',
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export class Attachment {
|
|
17
|
+
/**
|
|
18
|
+
* The value of the attachment (usually the file name)
|
|
19
|
+
*/
|
|
20
|
+
value;
|
|
21
|
+
/**
|
|
22
|
+
* The label of the attachment
|
|
23
|
+
*/
|
|
24
|
+
label;
|
|
25
|
+
/**
|
|
26
|
+
* The helper of the attachment
|
|
27
|
+
*/
|
|
28
|
+
helper;
|
|
29
|
+
/**
|
|
30
|
+
* Wether the attachment is required
|
|
31
|
+
*/
|
|
32
|
+
required = true;
|
|
33
|
+
/**
|
|
34
|
+
* The variant of the attachment
|
|
35
|
+
*/
|
|
36
|
+
mode = 'read';
|
|
37
|
+
/**
|
|
38
|
+
* The placeholder of the attachment
|
|
39
|
+
*/
|
|
40
|
+
placeholder = 'Upload a file...';
|
|
41
|
+
/**
|
|
42
|
+
* The text for the download tooltip
|
|
43
|
+
*/
|
|
44
|
+
downloadTooltip = 'Download';
|
|
45
|
+
/**
|
|
46
|
+
* The text for the upload tooltip
|
|
47
|
+
*/
|
|
48
|
+
uploadTooltip = 'Upload';
|
|
49
|
+
/**
|
|
50
|
+
* The text for the delete tooltip
|
|
51
|
+
*/
|
|
52
|
+
deleteTooltip = 'Delete';
|
|
53
|
+
/**
|
|
54
|
+
* Wether the attachment is loading
|
|
55
|
+
*/
|
|
56
|
+
loading = false;
|
|
57
|
+
/**
|
|
58
|
+
* The error to show
|
|
59
|
+
*/
|
|
60
|
+
error;
|
|
61
|
+
/**
|
|
62
|
+
* Event when upload is pressed
|
|
63
|
+
*/
|
|
64
|
+
upload;
|
|
65
|
+
/**
|
|
66
|
+
* Event when download is pressed
|
|
67
|
+
*/
|
|
68
|
+
download;
|
|
69
|
+
/**
|
|
70
|
+
* Event when delete is pressed
|
|
71
|
+
*/
|
|
72
|
+
delete;
|
|
73
|
+
render() {
|
|
74
|
+
let prefix = h("p-icon", { key: 'dec3ba45123c5d6ce59da6a1f96c9b9a3a3876ed', class: "text-black-teal-300", variant: 'attachment' });
|
|
75
|
+
if (this.loading) {
|
|
76
|
+
prefix = h("p-loader", { key: '02cccf7922f00303b3077e588170b3aae7f6f27f' });
|
|
77
|
+
}
|
|
78
|
+
if (this.error) {
|
|
79
|
+
prefix = (h("p-icon", { key: 'db46c29fcf10ed6c2689bf33b6e4bf4a2cc82fca', variant: 'warning', class: 'text-negative-red' }));
|
|
80
|
+
}
|
|
81
|
+
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
82
|
+
return (h("p-field-container", { key: '692a34d32a0c898597a023af15a3c1eb41cbcf9f', variant: "write", label: this.label, helper: this.helper, error: this.error, required: this.required, forceShowTooltip: !!this.error?.length }, h("div", { key: 'e571150e73494149c716d6a80dbf1263b887b609', slot: "content", class: 'flex items-start gap-2 w-full' }, h("div", { key: 'a7f187728379b71a2adc7c6c26aacf0830a43ba1', class: attachment({
|
|
83
|
+
error: !!this.error?.length
|
|
84
|
+
}) }, prefix, h("span", { key: 'afb1e39187468e6594941c08ad3fc4416dd33335', class: cn(baseText, 'peer empty:hidden') }, this.value), h("span", { key: 'e134aceb211439def13e0990ce0c30eea90411e3', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: '7a162119958bf4324dbdc8492f041c05024ff2b8', content: this.mode === 'read' ? this.downloadTooltip : this.value?.length ? this.deleteTooltip : this.uploadTooltip }, h("p-button", { key: '0e07189d0275b197d3c73a3d78d0723aaa6b8bb9', slot: "trigger", variant: 'secondary', iconOnly: true, icon: this.mode === 'read' ? 'download' : this.value?.length ? 'trash' : 'upload', disabled: this.loading, loading: this.loading, onOnClick: () => (this.mode === 'read' ? this.download : this.value?.length ? this.delete : this.upload).emit() })))));
|
|
85
|
+
}
|
|
86
|
+
static get is() { return "p-attachment"; }
|
|
87
|
+
static get encapsulation() { return "shadow"; }
|
|
88
|
+
static get originalStyleUrls() {
|
|
89
|
+
return {
|
|
90
|
+
"$": ["attachment.component.css"]
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
static get styleUrls() {
|
|
94
|
+
return {
|
|
95
|
+
"$": ["attachment.component.css"]
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
static get properties() {
|
|
99
|
+
return {
|
|
100
|
+
"value": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"attribute": "value",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "string",
|
|
106
|
+
"resolved": "string",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": false,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": "The value of the attachment (usually the file name)"
|
|
114
|
+
},
|
|
115
|
+
"getter": false,
|
|
116
|
+
"setter": false,
|
|
117
|
+
"reflect": false
|
|
118
|
+
},
|
|
119
|
+
"label": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"attribute": "label",
|
|
122
|
+
"mutable": false,
|
|
123
|
+
"complexType": {
|
|
124
|
+
"original": "string | HTMLSlotElement",
|
|
125
|
+
"resolved": "HTMLSlotElement | string",
|
|
126
|
+
"references": {
|
|
127
|
+
"HTMLSlotElement": {
|
|
128
|
+
"location": "global",
|
|
129
|
+
"id": "global::HTMLSlotElement"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": false,
|
|
134
|
+
"optional": false,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": "The label of the attachment"
|
|
138
|
+
},
|
|
139
|
+
"getter": false,
|
|
140
|
+
"setter": false,
|
|
141
|
+
"reflect": false
|
|
142
|
+
},
|
|
143
|
+
"helper": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"attribute": "helper",
|
|
146
|
+
"mutable": false,
|
|
147
|
+
"complexType": {
|
|
148
|
+
"original": "string | HTMLSlotElement",
|
|
149
|
+
"resolved": "HTMLSlotElement | string",
|
|
150
|
+
"references": {
|
|
151
|
+
"HTMLSlotElement": {
|
|
152
|
+
"location": "global",
|
|
153
|
+
"id": "global::HTMLSlotElement"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": false,
|
|
158
|
+
"optional": false,
|
|
159
|
+
"docs": {
|
|
160
|
+
"tags": [],
|
|
161
|
+
"text": "The helper of the attachment"
|
|
162
|
+
},
|
|
163
|
+
"getter": false,
|
|
164
|
+
"setter": false,
|
|
165
|
+
"reflect": false
|
|
166
|
+
},
|
|
167
|
+
"required": {
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"attribute": "required",
|
|
170
|
+
"mutable": false,
|
|
171
|
+
"complexType": {
|
|
172
|
+
"original": "boolean",
|
|
173
|
+
"resolved": "boolean",
|
|
174
|
+
"references": {}
|
|
175
|
+
},
|
|
176
|
+
"required": false,
|
|
177
|
+
"optional": false,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": "Wether the attachment is required"
|
|
181
|
+
},
|
|
182
|
+
"getter": false,
|
|
183
|
+
"setter": false,
|
|
184
|
+
"reflect": true,
|
|
185
|
+
"defaultValue": "true"
|
|
186
|
+
},
|
|
187
|
+
"mode": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"attribute": "mode",
|
|
190
|
+
"mutable": false,
|
|
191
|
+
"complexType": {
|
|
192
|
+
"original": "'read' | 'write'",
|
|
193
|
+
"resolved": "\"read\" | \"write\"",
|
|
194
|
+
"references": {}
|
|
195
|
+
},
|
|
196
|
+
"required": false,
|
|
197
|
+
"optional": false,
|
|
198
|
+
"docs": {
|
|
199
|
+
"tags": [],
|
|
200
|
+
"text": "The variant of the attachment"
|
|
201
|
+
},
|
|
202
|
+
"getter": false,
|
|
203
|
+
"setter": false,
|
|
204
|
+
"reflect": false,
|
|
205
|
+
"defaultValue": "'read'"
|
|
206
|
+
},
|
|
207
|
+
"placeholder": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"attribute": "placeholder",
|
|
210
|
+
"mutable": false,
|
|
211
|
+
"complexType": {
|
|
212
|
+
"original": "string",
|
|
213
|
+
"resolved": "string",
|
|
214
|
+
"references": {}
|
|
215
|
+
},
|
|
216
|
+
"required": false,
|
|
217
|
+
"optional": false,
|
|
218
|
+
"docs": {
|
|
219
|
+
"tags": [],
|
|
220
|
+
"text": "The placeholder of the attachment"
|
|
221
|
+
},
|
|
222
|
+
"getter": false,
|
|
223
|
+
"setter": false,
|
|
224
|
+
"reflect": false,
|
|
225
|
+
"defaultValue": "'Upload a file...'"
|
|
226
|
+
},
|
|
227
|
+
"downloadTooltip": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"attribute": "download-tooltip",
|
|
230
|
+
"mutable": false,
|
|
231
|
+
"complexType": {
|
|
232
|
+
"original": "string",
|
|
233
|
+
"resolved": "string",
|
|
234
|
+
"references": {}
|
|
235
|
+
},
|
|
236
|
+
"required": false,
|
|
237
|
+
"optional": false,
|
|
238
|
+
"docs": {
|
|
239
|
+
"tags": [],
|
|
240
|
+
"text": "The text for the download tooltip"
|
|
241
|
+
},
|
|
242
|
+
"getter": false,
|
|
243
|
+
"setter": false,
|
|
244
|
+
"reflect": false,
|
|
245
|
+
"defaultValue": "'Download'"
|
|
246
|
+
},
|
|
247
|
+
"uploadTooltip": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"attribute": "upload-tooltip",
|
|
250
|
+
"mutable": false,
|
|
251
|
+
"complexType": {
|
|
252
|
+
"original": "string",
|
|
253
|
+
"resolved": "string",
|
|
254
|
+
"references": {}
|
|
255
|
+
},
|
|
256
|
+
"required": false,
|
|
257
|
+
"optional": false,
|
|
258
|
+
"docs": {
|
|
259
|
+
"tags": [],
|
|
260
|
+
"text": "The text for the upload tooltip"
|
|
261
|
+
},
|
|
262
|
+
"getter": false,
|
|
263
|
+
"setter": false,
|
|
264
|
+
"reflect": false,
|
|
265
|
+
"defaultValue": "'Upload'"
|
|
266
|
+
},
|
|
267
|
+
"deleteTooltip": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"attribute": "delete-tooltip",
|
|
270
|
+
"mutable": false,
|
|
271
|
+
"complexType": {
|
|
272
|
+
"original": "string",
|
|
273
|
+
"resolved": "string",
|
|
274
|
+
"references": {}
|
|
275
|
+
},
|
|
276
|
+
"required": false,
|
|
277
|
+
"optional": false,
|
|
278
|
+
"docs": {
|
|
279
|
+
"tags": [],
|
|
280
|
+
"text": "The text for the delete tooltip"
|
|
281
|
+
},
|
|
282
|
+
"getter": false,
|
|
283
|
+
"setter": false,
|
|
284
|
+
"reflect": false,
|
|
285
|
+
"defaultValue": "'Delete'"
|
|
286
|
+
},
|
|
287
|
+
"loading": {
|
|
288
|
+
"type": "boolean",
|
|
289
|
+
"attribute": "loading",
|
|
290
|
+
"mutable": false,
|
|
291
|
+
"complexType": {
|
|
292
|
+
"original": "boolean",
|
|
293
|
+
"resolved": "boolean",
|
|
294
|
+
"references": {}
|
|
295
|
+
},
|
|
296
|
+
"required": false,
|
|
297
|
+
"optional": false,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [],
|
|
300
|
+
"text": "Wether the attachment is loading"
|
|
301
|
+
},
|
|
302
|
+
"getter": false,
|
|
303
|
+
"setter": false,
|
|
304
|
+
"reflect": false,
|
|
305
|
+
"defaultValue": "false"
|
|
306
|
+
},
|
|
307
|
+
"error": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"attribute": "error",
|
|
310
|
+
"mutable": false,
|
|
311
|
+
"complexType": {
|
|
312
|
+
"original": "string",
|
|
313
|
+
"resolved": "string",
|
|
314
|
+
"references": {}
|
|
315
|
+
},
|
|
316
|
+
"required": false,
|
|
317
|
+
"optional": false,
|
|
318
|
+
"docs": {
|
|
319
|
+
"tags": [],
|
|
320
|
+
"text": "The error to show"
|
|
321
|
+
},
|
|
322
|
+
"getter": false,
|
|
323
|
+
"setter": false,
|
|
324
|
+
"reflect": false
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
static get events() {
|
|
329
|
+
return [{
|
|
330
|
+
"method": "upload",
|
|
331
|
+
"name": "upload",
|
|
332
|
+
"bubbles": false,
|
|
333
|
+
"cancelable": true,
|
|
334
|
+
"composed": true,
|
|
335
|
+
"docs": {
|
|
336
|
+
"tags": [],
|
|
337
|
+
"text": "Event when upload is pressed"
|
|
338
|
+
},
|
|
339
|
+
"complexType": {
|
|
340
|
+
"original": "void",
|
|
341
|
+
"resolved": "void",
|
|
342
|
+
"references": {}
|
|
343
|
+
}
|
|
344
|
+
}, {
|
|
345
|
+
"method": "download",
|
|
346
|
+
"name": "download",
|
|
347
|
+
"bubbles": false,
|
|
348
|
+
"cancelable": true,
|
|
349
|
+
"composed": true,
|
|
350
|
+
"docs": {
|
|
351
|
+
"tags": [],
|
|
352
|
+
"text": "Event when download is pressed"
|
|
353
|
+
},
|
|
354
|
+
"complexType": {
|
|
355
|
+
"original": "void",
|
|
356
|
+
"resolved": "void",
|
|
357
|
+
"references": {}
|
|
358
|
+
}
|
|
359
|
+
}, {
|
|
360
|
+
"method": "delete",
|
|
361
|
+
"name": "delete",
|
|
362
|
+
"bubbles": false,
|
|
363
|
+
"cancelable": true,
|
|
364
|
+
"composed": true,
|
|
365
|
+
"docs": {
|
|
366
|
+
"tags": [],
|
|
367
|
+
"text": "Event when delete is pressed"
|
|
368
|
+
},
|
|
369
|
+
"complexType": {
|
|
370
|
+
"original": "void",
|
|
371
|
+
"resolved": "void",
|
|
372
|
+
"references": {}
|
|
373
|
+
}
|
|
374
|
+
}];
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
//# sourceMappingURL=attachment.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/attachment/attachment.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,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CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,GAE9F,CACS,CACP,CACa,CACpB,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cn } from '../../../utils';\nimport { cva } from 'class-variance-authority';\n\nconst attachment = cva([\n\t\t'flex flex-1 items-center justify-start gap-2',\n\t\t'h-8 min-w-0 px-2 rounded-lg',\n\t\t'border border-solid bg-white-600'\n\t], {\n\t\tvariants: {\n\t\t\terror: {\n\t\t\t\tfalse: 'bg-white-600 border-black-teal-100 text-black-teal-200',\n\t\t\t\ttrue: 'border-negative-red',\n\t\t\t}\n\t\t}\n\t})\n\n@Component({\n\ttag: 'p-attachment',\n\tstyleUrl: 'attachment.component.css',\n\tshadow: true,\n})\nexport class Attachment {\n\t/**\n\t * The value of the attachment (usually the file name)\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The label of the attachment\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * The helper of the attachment\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the attachment is required\n\t */\n\t@Prop({ reflect: true }) required = true;\n\n\n\t/**\n\t * The variant of the attachment\n\t */\n\t@Prop() mode: 'read' | 'write' = 'read';\n\n\t/**\n\t * The placeholder of the attachment\n\t */\n\t@Prop() placeholder: string = 'Upload a file...';\n\n\t/**\n\t * The text for the download tooltip\n\t */\n\t@Prop() downloadTooltip: string = 'Download';\n\n\t/**\n\t * The text for the upload tooltip\n\t */\n\t@Prop() uploadTooltip: string = 'Upload';\n\n\t/**\n\t * The text for the delete tooltip\n\t */\n\t@Prop() deleteTooltip: string = 'Delete';\n\n\t/**\n\t * Wether the attachment is loading\n\t */\n\t@Prop() loading = false;\n\n\t/**\n\t * The error to show\n\t */\n\t@Prop() error: string;\n\n\t/**\n\t * Event when upload is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tupload: EventEmitter<void>;\n\n\t/**\n\t * Event when download is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdownload: EventEmitter<void>;\n\n\t/**\n\t * Event when delete is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdelete: EventEmitter<void>;\n\n\trender() {\n\t\tlet prefix = <p-icon class=\"text-black-teal-300\" variant='attachment' />;\n\n\t\tif (this.loading) {\n\t\t\tprefix = <p-loader />;\n\t\t}\n\n\t\tif (this.error) {\n\t\t\tprefix = (\n\t\t\t\t<p-icon\n\t\t\t\t\tvariant='warning'\n\t\t\t\t\tclass='text-negative-red'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tconst baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm'\n\t\treturn (\n\t\t\t<p-field-container variant=\"write\" label={this.label} helper={this.helper} error={this.error} required={this.required} forceShowTooltip={!!this.error?.length}>\n\t\t\t\t<div slot=\"content\" class='flex items-start gap-2 w-full'>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={attachment({\n\t\t\t\t\t\t\terror: !!this.error?.length\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t{prefix}\n\n\t\t\t\t\t\t<span class={cn(baseText, 'peer empty:hidden')}>\n\t\t\t\t\t\t\t{this.value}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span class={cn(baseText, 'hidden peer-empty:block')}>\n\t\t\t\t\t\t\t{this.placeholder}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-tooltip content={this.mode === 'read' ? this.downloadTooltip : this.value?.length ? this.deleteTooltip : this.uploadTooltip}>\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\ticon={this.mode === 'read' ? 'download' : this.value?.length ? 'trash' : 'upload'}\n\t\t\t\t\t\t\tdisabled={this.loading}\n\t\t\t\t\t\t\tloading={this.loading}\n\t\t\t\t\t\t\tonOnClick={() =>\n\t\t\t\t\t\t\t\t(this.mode === 'read' ? this.download : this.value?.length ? this.delete : this.upload).emit()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</div>\n\t\t\t</p-field-container>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -342,10 +342,12 @@ export class Button {
|
|
|
342
342
|
let loaderColor = 'white';
|
|
343
343
|
switch (this.variant) {
|
|
344
344
|
case 'secondary':
|
|
345
|
-
|
|
345
|
+
case 'dropdown':
|
|
346
|
+
case 'transparent':
|
|
347
|
+
loaderColor = 'off-white';
|
|
346
348
|
break;
|
|
347
349
|
case 'text':
|
|
348
|
-
loaderColor = '
|
|
350
|
+
loaderColor = 'black-teal';
|
|
349
351
|
break;
|
|
350
352
|
}
|
|
351
353
|
const VariableTag = this.variant === 'text' || this.href?.length || this.as === 'a'
|
|
@@ -353,7 +355,7 @@ export class Button {
|
|
|
353
355
|
: 'button';
|
|
354
356
|
const hostClass = cn('p-button inline-block', this.class);
|
|
355
357
|
const active = asBoolean(this.active) || hostClass?.includes('active');
|
|
356
|
-
return (h(Host, { key: '
|
|
358
|
+
return (h(Host, { key: 'a89a6061c6cb4cee3215ac8f8bd6fec52562ed20', class: hostClass }, h(VariableTag, { key: '2c48cdeb37d07f592d20ed01f65dafc148843904', disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
|
|
357
359
|
variant: this.variant,
|
|
358
360
|
size: this.size,
|
|
359
361
|
underline: asBoolean(this.underline, true),
|
|
@@ -362,14 +364,14 @@ export class Button {
|
|
|
362
364
|
buttonGroupPosition: this.buttonGroupPosition,
|
|
363
365
|
iconOnly: asBoolean(this.iconOnly),
|
|
364
366
|
active,
|
|
365
|
-
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '
|
|
367
|
+
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: 'f3d7438af72af3bd4f76a8d302d7f9ba4f416777', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
|
|
366
368
|
this.iconPosition === 'start' &&
|
|
367
369
|
!(this.iconOnly && this.loading) &&
|
|
368
370
|
this._getIcon(), this.label ? this.label : h("slot", null), this.icon &&
|
|
369
371
|
this.iconPosition === 'end' &&
|
|
370
372
|
!this.loading &&
|
|
371
373
|
!this.chevron &&
|
|
372
|
-
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '
|
|
374
|
+
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'e38e7c371f1ff630c758bbff3ef9997cb0e845bb', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.loading && h("p-loader", { key: '102f741e8aa5b17e21a18004341f1d2c2b95797b', color: loaderColor }))));
|
|
373
375
|
}
|
|
374
376
|
handleClick(ev) {
|
|
375
377
|
if (this.loading || this.disabled) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/button/button.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,GACJ,MAA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C,IAAI;gBACf,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC;gBAClC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC;aAC9B,CAAC,EACF,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,CACF,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["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"]}
|
|
1
|
+
{"version":3,"file":"button.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/button/button.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAA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CAAC,IAAI,EAAE,CAAC;YAChB,OAAO;QACR,CAAC;QAED,OAAO,CACN,cACC,KAAK,EAAE,IAAI,CAAC;gBACX,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,QAAQ,EAAE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC;gBAClC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC;aAC9B,CAAC,EACF,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,CACF,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["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' | 'off-white' | 'supportive-lilac' | 'black-teal' = 'white';\n\t\tswitch (this.variant) {\n\t\t\tcase 'secondary':\n\t\t\tcase 'dropdown':\n\t\t\tcase 'transparent':\n\t\t\t\tloaderColor = 'off-white';\n\t\t\t\tbreak;\n\t\t\tcase 'text':\n\t\t\t\tloaderColor = 'black-teal';\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"]}
|
|
@@ -12,7 +12,7 @@ export class ButtonGroup {
|
|
|
12
12
|
this._checkButtons();
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'ab5bdc3222cad85c88814667c592b4eda8c6c66d', class: 'flex items-center' }, h("slot", { key: '7fef79974f2f6215953833f39125db3e43193ddb' })));
|
|
16
16
|
}
|
|
17
17
|
slotchange() {
|
|
18
18
|
this._checkButtons();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/button-group/button-group.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAQ1E,MAAM,OAAO,WAAW;IACvB;;OAEG;IACK,IAAI,GAAyB,MAAM,CAAC;IAE5C;;OAEG;IACgB,GAAG,CAAc;IAEpC,iBAAiB;QAChB,IAAI,CAAC,aAAa,EAAE,CAAC;IACtB,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"button-group.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/button-group/button-group.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAQ1E,MAAM,OAAO,WAAW;IACvB;;OAEG;IACK,IAAI,GAAyB,MAAM,CAAC;IAE5C;;OAEG;IACgB,GAAG,CAAc;IAEpC,iBAAiB;QAChB,IAAI,CAAC,aAAa,EAAE,CAAC;IACtB,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAC,mBAAmB;YAC9B,8DAAQ,CACF,CACP,CAAC;IACH,CAAC;IAGD,UAAU;QACT,IAAI,CAAC,aAAa,EAAE,CAAC;IACtB,CAAC;IAEO,aAAa;QACpB,MAAM,OAAO,GAAG,KAAK,CAAC,IAAI,CACzB,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAC3B,CAAC;QAErB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACzC,MAAM,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;YAE1B,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YAExB,QAAQ;YACR,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gBACb,MAAM,CAAC,mBAAmB,GAAG,OAAO,CAAC;gBACrC,SAAS;YACV,CAAC;YAED,OAAO;YACP,IAAI,CAAC,KAAK,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC9B,MAAM,CAAC,mBAAmB,GAAG,KAAK,CAAC;gBACnC,SAAS;YACV,CAAC;YAED,OAAO;YACP,MAAM,CAAC,mBAAmB,GAAG,QAAQ,CAAC;QACvC,CAAC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, h, Host, Listen, Prop } from '@stencil/core';\nimport { Button } from '../button/button.component';\n\n@Component({\n\ttag: 'p-button-group',\n\tstyleUrl: 'button-group.component.css',\n\tshadow: true,\n})\nexport class ButtonGroup {\n\t/**\n\t * The size of the child buttons\n\t */\n\t@Prop() size: 'sm' | 'base' | 'lg' = 'base';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tcomponentWillLoad() {\n\t\tthis._checkButtons();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='flex items-center'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('slotchange')\n\tslotchange() {\n\t\tthis._checkButtons();\n\t}\n\n\tprivate _checkButtons() {\n\t\tconst buttons = Array.from(\n\t\t\tthis._el.querySelectorAll(':scope > p-button')\n\t\t) as any as Button[];\n\n\t\tfor (let i = 0; i < buttons.length; i++) {\n\t\t\tconst button = buttons[i];\n\n\t\t\tbutton.size = this.size;\n\n\t\t\t// first\n\t\t\tif (i === 0) {\n\t\t\t\tbutton.buttonGroupPosition = 'start';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// last\n\t\t\tif (i === buttons.length - 1) {\n\t\t\t\tbutton.buttonGroupPosition = 'end';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// rest\n\t\t\tbutton.buttonGroupPosition = 'center';\n\t\t}\n\t}\n}\n"]}
|
|
@@ -157,7 +157,7 @@ export class Calendar {
|
|
|
157
157
|
.filter(date => isValid(date));
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'ede905c2d64d699be39fea409a01c239fc8d2f3a', class: calendar({ variant: this.variant }) }, this._getView()));
|
|
161
161
|
}
|
|
162
162
|
_getView() {
|
|
163
163
|
if (this._view === 'year') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.absolute{position:absolute!important}.relative{position:relative!important}.mt-3{margin-top:.75rem!important}.flex{display:flex!important}.w-0{width:0!important}.w-full{width:100%!important}.flex-shrink-0{flex-shrink:0!important}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-grab{cursor:grab!important}.cursor-grabbing{cursor:grabbing!important}.flex-col{flex-direction:column!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-center{justify-content:center!important}.overflow-visible{overflow:visible!important}.p-16{padding:4rem!important}.pt-1{padding-top:.25rem!important}.will-change-transform{will-change:transform!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;margin:-4rem;overflow:hidden;padding:4rem}:host .slider{box-sizing:content-box;overflow:visible;position:relative}:host .slider.draggable{cursor:grab}@media (min-width:64rem){:host .slider.draggable{cursor:auto}}:host .slider.draggable.dragging{cursor:grabbing}@media (min-width:64rem){:host .slider.draggable.dragging{cursor:auto}}:host .slider.draggable.dragging .inner-slider{transition-property:none}:host .slider .inner-slider{--tw-translate-x:0px;align-items:stretch;display:flex;flex-wrap:nowrap;gap:.5rem;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.15s;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;will-change:transform}@media (min-width:64rem){:host .slider .inner-slider{flex-wrap:wrap;gap:1rem}}:host .slider .inner-slider>::slotted(*){flex-shrink:0;position:relative;width:100%;z-index:10}@media (min-width:40rem){:host .slider .inner-slider>::slotted(*){width:calc(50% - .5rem)}}@media (min-width:64rem){:host .slider .inner-slider>::slotted(*){flex:1 1 0%;width:0}}:host .indicator{align-items:center;display:flex;justify-content:center}@media (min-width:64rem){:host .indicator{display:none}}:host .indicator .item{margin-top:.75rem;padding-left:.25rem;padding-right:.25rem;padding-top:.25rem}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:gap-4{gap:1rem!important}}.visible{visibility:visible!important}.static{position:static!important}.hidden{display:none!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}
|
|
1
|
+
.absolute{position:absolute!important}.relative{position:relative!important}.mt-3{margin-top:.75rem!important}.flex{display:flex!important}.w-0{width:0!important}.w-full{width:100%!important}.flex-shrink-0{flex-shrink:0!important}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-grab{cursor:grab!important}.cursor-grabbing{cursor:grabbing!important}.flex-col{flex-direction:column!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-center{justify-content:center!important}.overflow-visible{overflow:visible!important}.p-16{padding:4rem!important}.pt-1{padding-top:.25rem!important}.will-change-transform{will-change:transform!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;margin:-4rem;overflow:hidden;padding:4rem}:host .slider{box-sizing:content-box;overflow:visible;position:relative}:host .slider.draggable{cursor:grab}@media (min-width:64rem){:host .slider.draggable{cursor:auto}}:host .slider.draggable.dragging{cursor:grabbing}@media (min-width:64rem){:host .slider.draggable.dragging{cursor:auto}}:host .slider.draggable.dragging .inner-slider{transition-property:none}:host .slider .inner-slider{--tw-translate-x:0px;align-items:stretch;display:flex;flex-wrap:nowrap;gap:.5rem;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.15s;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;will-change:transform}@media (min-width:64rem){:host .slider .inner-slider{flex-wrap:wrap;gap:1rem}}:host .slider .inner-slider>::slotted(*){flex-shrink:0;position:relative;width:100%;z-index:10}@media (min-width:40rem){:host .slider .inner-slider>::slotted(*){width:calc(50% - .5rem)}}@media (min-width:64rem){:host .slider .inner-slider>::slotted(*){flex:1 1 0%;width:0}}:host .indicator{align-items:center;display:flex;justify-content:center}@media (min-width:64rem){:host .indicator{display:none}}:host .indicator .item{margin-top:.75rem;padding-left:.25rem;padding-right:.25rem;padding-top:.25rem}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:gap-4{gap:1rem!important}}.visible{visibility:visible!important}.static{position:static!important}.block{display:block!important}.hidden{display:none!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!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}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h, Host, } from "@stencil/core";
|
|
2
|
+
import { cn } from "../../../utils";
|
|
2
3
|
export class ContentSlider {
|
|
3
4
|
/**
|
|
4
5
|
* Wether to hide the indicator on mobile
|
|
@@ -49,9 +50,12 @@ export class ContentSlider {
|
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: '36870f068d15bca84923d9c6608f98c2d3616511', class: "p-content-slider" }, h("div", { key: '70e1fabe814a54ef0027d02a8f87c04535eae38d', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
|
|
53
54
|
height: `${this._outerHeight}px`,
|
|
54
|
-
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: '
|
|
55
|
+
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: 'b78c17b959364fbe2ae540335997b0abb02504eb', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: 'be285da4a6ab951b8681fe2a1885c4a84579a5e1' }))), h("div", { key: 'c9fcb4419c9c5679b6382a8d7e989a7adb784408', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("div", { class: cn('block w-2 h-2 rounded-full', {
|
|
56
|
+
'bg-dark-teal-600': i === this._visibleIndex,
|
|
57
|
+
'bg-dark-teal-400': i !== this._visibleIndex,
|
|
58
|
+
}) })))))));
|
|
55
59
|
}
|
|
56
60
|
_mouseDownHandler(e) {
|
|
57
61
|
if (this.disableDrag || this._dragging) {
|