@paperless/core 2.0.1-beta.111 → 2.0.1-beta.113
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 +23 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/{p-456a3099.entry.js → p-05791ffa.entry.js} +2 -2
- package/dist/build/{p-899f7d36.entry.js → p-0a0ef10d.entry.js} +2 -2
- package/dist/{paperless/p-9ef541e4.entry.js → build/p-0ffe0165.entry.js} +2 -2
- package/dist/build/p-11b1e718.entry.js +2 -0
- package/dist/{paperless/p-57acc6a7.entry.js.map → build/p-11b1e718.entry.js.map} +1 -1
- package/dist/build/{p-7b7366dc.entry.js → p-1bde15ae.entry.js} +2 -2
- package/dist/{paperless/p-9c71c64d.entry.js → build/p-1c9405d8.entry.js} +2 -2
- package/dist/{paperless/p-9c71c64d.entry.js.map → build/p-1c9405d8.entry.js.map} +1 -1
- package/dist/build/p-21fb542a.entry.js +2 -0
- package/dist/{paperless/p-21d80bbe.entry.js.map → build/p-21fb542a.entry.js.map} +1 -1
- package/dist/build/{p-0dc168c5.entry.js → p-26b75731.entry.js} +2 -2
- package/dist/build/p-3b14bbef.entry.js +2 -0
- package/dist/build/{p-c2721d00.entry.js.map → p-3b14bbef.entry.js.map} +1 -1
- package/dist/build/p-3cf73b2c.js +2 -0
- package/dist/build/{p-5dcdb2d0.entry.js → p-41949138.entry.js} +2 -2
- package/dist/build/{p-f12a4759.entry.js → p-4205f7e2.entry.js} +2 -2
- package/dist/build/{p-f12a4759.entry.js.map → p-4205f7e2.entry.js.map} +1 -1
- package/dist/{paperless/p-26491670.entry.js → build/p-476985ba.entry.js} +2 -2
- package/dist/build/p-4c6e5337.entry.js +2 -0
- package/dist/build/p-505650b6.entry.js +2 -0
- package/dist/build/p-53e0b8a1.entry.js +2 -0
- package/dist/build/p-53e0b8a1.entry.js.map +1 -0
- package/dist/build/{p-acc528bf.entry.js → p-5667f8bf.entry.js} +2 -2
- package/dist/build/{p-4fb83e8d.entry.js → p-6620dc05.entry.js} +2 -2
- package/dist/{paperless/p-f4c0923b.entry.js → build/p-697c465d.entry.js} +2 -2
- package/dist/build/{p-58efc94c.entry.js → p-6cddddb7.entry.js} +2 -2
- package/dist/build/p-72eb70f4.entry.js +2 -0
- package/dist/build/{p-68b2471e.entry.js.map → p-72eb70f4.entry.js.map} +1 -1
- package/dist/build/{p-a8f60c0c.entry.js → p-7c7e6f26.entry.js} +2 -2
- package/dist/build/p-7f4d26c4.entry.js +2 -0
- package/dist/build/{p-427ef39b.entry.js.map → p-7f4d26c4.entry.js.map} +1 -1
- package/dist/build/p-8cc3f69f.entry.js +2 -0
- package/dist/{paperless/p-635f36c7.entry.js.map → build/p-8cc3f69f.entry.js.map} +1 -1
- package/dist/build/p-922fba03.entry.js +2 -0
- package/dist/{paperless/p-73bfb4b5.entry.js.map → build/p-922fba03.entry.js.map} +1 -1
- package/dist/build/p-929b47c9.entry.js +2 -0
- package/dist/build/{p-51b09be2.entry.js → p-96cb3e48.entry.js} +2 -2
- package/dist/build/p-96cd5cff.entry.js +2 -0
- package/dist/build/p-96cd5cff.entry.js.map +1 -0
- package/dist/{paperless/p-c7c3d389.entry.js → build/p-9da1d488.entry.js} +2 -2
- package/dist/{paperless/p-d5cba5af.entry.js → build/p-a3da31c4.entry.js} +2 -2
- package/dist/build/p-accordion.entry.esm.js.map +1 -1
- package/dist/build/{p-d3102227.entry.js → p-adfddeb6.entry.js} +2 -2
- package/dist/build/p-attachment.entry.esm.js.map +1 -1
- package/dist/build/p-b08f490b.entry.js +2 -0
- package/dist/build/p-b08f490b.entry.js.map +1 -0
- package/dist/build/p-b1b12e88.entry.js +2 -0
- package/dist/build/p-b1b12e88.entry.js.map +1 -0
- package/dist/build/p-bc366236.entry.js +2 -0
- package/dist/build/{p-28152f8e.entry.js.map → p-bc366236.entry.js.map} +1 -1
- package/dist/build/p-bce08b0e.entry.js +2 -0
- package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/{paperless/p-c585d909.entry.js → build/p-c9c0ae8d.entry.js} +2 -2
- package/dist/build/p-counter.entry.esm.js.map +1 -1
- package/dist/build/p-cropper.entry.esm.js.map +1 -1
- package/dist/{paperless/p-0a6e3e6f.entry.js → build/p-d37e0e66.entry.js} +2 -2
- package/dist/build/p-d4f4fe62.entry.js +2 -0
- package/dist/build/p-d4f4fe62.entry.js.map +1 -0
- package/dist/build/{p-f9efc1e5.entry.js → p-d894e0b1.entry.js} +2 -2
- package/dist/{paperless/p-577976ac.entry.js → build/p-dc4121c6.entry.js} +2 -2
- package/dist/{paperless/p-577976ac.entry.js.map → build/p-dc4121c6.entry.js.map} +1 -1
- package/dist/build/{p-222abd40.entry.js → p-df7f9328.entry.js} +2 -2
- package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/build/p-e526cd42.entry.js +2 -0
- package/dist/build/{p-d0ba9cdd.entry.js.map → p-e526cd42.entry.js.map} +1 -1
- package/dist/build/{p-b8797794.entry.js → p-e63adc0d.entry.js} +2 -2
- package/dist/build/p-ed2e7409.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-fd4a25eb.entry.js +2 -0
- package/dist/build/p-fd4a25eb.entry.js.map +1 -0
- package/dist/build/p-input-group.entry.esm.js.map +1 -1
- package/dist/build/p-listing-item.entry.esm.js.map +1 -0
- package/dist/build/p-listing-line.entry.esm.js.map +1 -0
- package/dist/build/p-listing.entry.esm.js.map +1 -0
- package/dist/build/p-slider-indicator.entry.esm.js.map +1 -1
- package/dist/build/p-status.entry.esm.js.map +1 -1
- package/dist/build/p-stepper-item.entry.esm.js.map +1 -1
- package/dist/build/p-stepper-line.entry.esm.js.map +1 -1
- package/dist/build/p-stepper.entry.esm.js.map +1 -1
- package/dist/build/p-tab-item.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-BDuPp9vl.js +12 -0
- package/dist/cjs/index.cjs.js +76 -30
- package/dist/cjs/index.cjs.js.map +1 -1
- 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 +5 -5
- 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-badge_3.cjs.entry.js +3 -3
- package/dist/cjs/p-button-group.cjs.entry.js +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 +1 -1
- 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-checkbox_4.cjs.entry.js +4 -4
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-counter.cjs.entry.js +2 -2
- package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
- package/dist/cjs/p-counter.entry.cjs.js.map +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +3 -3
- package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-cropper.entry.cjs.js.map +1 -1
- package/dist/cjs/p-datepicker.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 +3 -3
- 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 +11 -11
- package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
- package/dist/cjs/p-field_2.cjs.entry.js +3 -3
- package/dist/cjs/p-helper_2.cjs.entry.js +4 -4
- package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
- package/dist/cjs/p-input-error.cjs.entry.js +1 -1
- package/dist/cjs/p-input-group.cjs.entry.js +4 -4
- package/dist/cjs/p-input-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-input-group.entry.cjs.js.map +1 -1
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +24 -0
- package/dist/cjs/p-listing-item.cjs.entry.js.map +1 -0
- package/dist/cjs/p-listing-item.entry.cjs.js.map +1 -0
- package/dist/cjs/p-listing-line.cjs.entry.js +20 -0
- package/dist/cjs/p-listing-line.cjs.entry.js.map +1 -0
- package/dist/cjs/p-listing-line.entry.cjs.js.map +1 -0
- package/dist/cjs/p-listing.cjs.entry.js +83 -0
- package/dist/cjs/p-listing.cjs.entry.js.map +1 -0
- package/dist/cjs/p-listing.entry.cjs.js.map +1 -0
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- 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-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
- package/dist/cjs/p-portal.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +2 -2
- package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/p-slider-indicator.entry.cjs.js.map +1 -1
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-status.cjs.entry.js +3 -3
- package/dist/cjs/p-status.cjs.entry.js.map +1 -1
- package/dist/cjs/p-status.entry.cjs.js.map +1 -1
- package/dist/cjs/p-stepper-item.cjs.entry.js +89 -6
- package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-line.entry.cjs.js.map +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +53 -15
- package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper.entry.cjs.js.map +1 -1
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-tab-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +2 -2
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +7 -4
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.css +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.css +1 -1
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.css +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.css +1 -0
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +53 -0
- package/dist/collection/components/atoms/listing/item/listing-item.component.js.map +1 -0
- package/dist/collection/components/atoms/listing/line/listing-line.component.css +1 -0
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +19 -0
- package/dist/collection/components/atoms/listing/line/listing-line.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.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +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 +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +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.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/stepper/item/stepper-item.component.js +107 -25
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js.map +1 -0
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/stepper/line/stepper-line.component.js +2 -2
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js.map +1 -0
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.css +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 +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
- package/dist/collection/components/deprecated/atoms/counter/counter.component.css +1 -1
- package/dist/collection/components/deprecated/atoms/counter/counter.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.css +1 -1
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/status/status.component.css +1 -1
- package/dist/collection/components/deprecated/atoms/status/status.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/accordion/accordion.component.css +1 -1
- package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.css +1 -1
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +4 -4
- package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/cropper/cropper.component.css +1 -1
- package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.css +1 -1
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +3 -3
- package/dist/collection/components/helpers/portal/portal.component.js +1 -1
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/field/field.component.js +3 -3
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- 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/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/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.css +1 -1
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.css +1 -0
- package/dist/collection/components/organisms/listing/listing.component.js +86 -0
- package/dist/collection/components/organisms/listing/listing.component.js.map +1 -0
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/stepper/stepper.component.css +1 -0
- package/dist/collection/components/{deprecated/molecules → organisms}/stepper/stepper.component.js +79 -18
- package/dist/collection/components/organisms/stepper/stepper.component.js.map +1 -0
- package/dist/collection/tailwind/theme/colors.js +76 -30
- package/dist/collection/tailwind/theme/colors.js.map +1 -1
- package/dist/components/index.js +76 -30
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-CzS_7d0-.js → p-BELUs4d5.js} +10 -10
- package/dist/components/{p-CzS_7d0-.js.map → p-BELUs4d5.js.map} +1 -1
- package/dist/components/{p-D8NwpELS.js → p-BFBKoX9I.js} +3 -3
- package/dist/components/{p-D8NwpELS.js.map → p-BFBKoX9I.js.map} +1 -1
- package/dist/components/{p-Da2j4Bie.js → p-BIf14u2D.js} +6 -6
- package/dist/components/{p-Da2j4Bie.js.map → p-BIf14u2D.js.map} +1 -1
- package/dist/components/{p-CdQUFhNO.js → p-BPkSg0bc.js} +4 -4
- package/dist/components/{p-CdQUFhNO.js.map → p-BPkSg0bc.js.map} +1 -1
- package/dist/components/{p-BudlHU1j.js → p-BYnq9fQl.js} +3 -3
- package/dist/components/{p-BudlHU1j.js.map → p-BYnq9fQl.js.map} +1 -1
- package/dist/components/{p-BDTPyUsH.js → p-BmuXuYR6.js} +4 -4
- package/dist/components/{p-BDTPyUsH.js.map → p-BmuXuYR6.js.map} +1 -1
- package/dist/components/{p-D82K4OiU.js → p-C0yOzPit.js} +3 -3
- package/dist/components/{p-D82K4OiU.js.map → p-C0yOzPit.js.map} +1 -1
- package/dist/components/p-C1FkmkFJ.js +45 -0
- package/dist/components/p-C1FkmkFJ.js.map +1 -0
- package/dist/components/{p-Dk6UwJSA.js → p-C7OuWaSr.js} +3 -3
- package/dist/components/{p-Dk6UwJSA.js.map → p-C7OuWaSr.js.map} +1 -1
- package/dist/components/{p-CFdbv-t4.js → p-CKc3SL1J.js} +4 -4
- package/dist/components/{p-CFdbv-t4.js.map → p-CKc3SL1J.js.map} +1 -1
- package/dist/components/{p-BFBgml7D.js → p-CSIFLNsS.js} +3 -3
- package/dist/components/{p-BFBgml7D.js.map → p-CSIFLNsS.js.map} +1 -1
- package/dist/components/{p-BrtcZfOg.js → p-CSMO4KRK.js} +10 -10
- package/dist/components/{p-BrtcZfOg.js.map → p-CSMO4KRK.js.map} +1 -1
- package/dist/components/{p-BUxcWSGM.js → p-CUgIFdxM.js} +3 -3
- package/dist/components/{p-BUxcWSGM.js.map → p-CUgIFdxM.js.map} +1 -1
- package/dist/components/{p-C3gEbkrr.js → p-CXH4yAMZ.js} +6 -6
- package/dist/components/{p-C3gEbkrr.js.map → p-CXH4yAMZ.js.map} +1 -1
- package/dist/components/{p-12mQxW6R.js → p-CYGYOpps.js} +6 -6
- package/dist/components/{p-12mQxW6R.js.map → p-CYGYOpps.js.map} +1 -1
- package/dist/components/{p-DwXZFIvC.js → p-C_t2sBf3.js} +5 -5
- package/dist/components/{p-DwXZFIvC.js.map → p-C_t2sBf3.js.map} +1 -1
- package/dist/components/{p-Drik7Kfv.js → p-CmzpquGH.js} +3 -3
- package/dist/components/{p-Drik7Kfv.js.map → p-CmzpquGH.js.map} +1 -1
- package/dist/components/{p-Br_TxALn.js → p-CxHSXAkq.js} +6 -6
- package/dist/components/{p-Br_TxALn.js.map → p-CxHSXAkq.js.map} +1 -1
- package/dist/components/{p-4jVVUXXD.js → p-CzmLJq-j.js} +12 -12
- package/dist/components/{p-4jVVUXXD.js.map → p-CzmLJq-j.js.map} +1 -1
- package/dist/components/{p-DW90RovU.js → p-D2Em0Yy7.js} +7 -7
- package/dist/components/{p-DW90RovU.js.map → p-D2Em0Yy7.js.map} +1 -1
- package/dist/components/{p-BMeOy477.js → p-DH9lFbRX.js} +4 -4
- package/dist/components/{p-BMeOy477.js.map → p-DH9lFbRX.js.map} +1 -1
- package/dist/components/{p-CmfFRlg6.js → p-DNuBtBUG.js} +7 -7
- package/dist/components/{p-CmfFRlg6.js.map → p-DNuBtBUG.js.map} +1 -1
- package/dist/components/{p-CScTNJWS.js → p-DQsUJhL8.js} +4 -4
- package/dist/components/{p-CScTNJWS.js.map → p-DQsUJhL8.js.map} +1 -1
- package/dist/components/{p-CgZvkWTt.js → p-DdK27Obl.js} +3 -3
- package/dist/components/{p-CgZvkWTt.js.map → p-DdK27Obl.js.map} +1 -1
- package/dist/components/{p-RaBHKmcm.js → p-DeKgadpt.js} +5 -5
- package/dist/components/{p-RaBHKmcm.js.map → p-DeKgadpt.js.map} +1 -1
- package/dist/components/{p-DWZhmPv-.js → p-DoBSOpu3.js} +4 -4
- package/dist/components/{p-DWZhmPv-.js.map → p-DoBSOpu3.js.map} +1 -1
- package/dist/components/p-ElOvIDKN.js +34 -0
- package/dist/components/p-ElOvIDKN.js.map +1 -0
- package/dist/components/{p-N1Pv54zG.js → p-MQ5NAuIf.js} +3 -3
- package/dist/components/{p-N1Pv54zG.js.map → p-MQ5NAuIf.js.map} +1 -1
- package/dist/components/{p-BwFkgAPO.js → p-Ma26TfrN.js} +4 -4
- package/dist/components/{p-BwFkgAPO.js.map → p-Ma26TfrN.js.map} +1 -1
- package/dist/components/{p-8rB2Q4yP.js → p-ZBndlSp5.js} +4 -4
- package/dist/components/{p-8rB2Q4yP.js.map → p-ZBndlSp5.js.map} +1 -1
- package/dist/components/{p-OpZXFNRZ.js → p-abTHpIy3.js} +3 -3
- package/dist/components/{p-OpZXFNRZ.js.map → p-abTHpIy3.js.map} +1 -1
- package/dist/components/p-accordion.js +2 -2
- package/dist/components/p-accordion.js.map +1 -1
- package/dist/components/p-attachment.js +10 -10
- package/dist/components/p-attachment.js.map +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-content-slider.js +3 -3
- package/dist/components/p-counter.js +2 -2
- package/dist/components/p-counter.js.map +1 -1
- package/dist/components/p-cropper.js +3 -3
- package/dist/components/p-cropper.js.map +1 -1
- package/dist/components/{p-Dhj0ynsI.js → p-dHqdW8fy.js} +4 -4
- package/dist/components/{p-Dhj0ynsI.js.map → p-dHqdW8fy.js.map} +1 -1
- package/dist/components/p-datepicker.js +11 -11
- 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 +6 -6
- 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-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-input-error.js +1 -1
- package/dist/components/p-input-group.js +8 -8
- package/dist/components/p-input-group.js.map +1 -1
- package/dist/components/p-label.js +3 -3
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.d.ts +11 -0
- package/dist/components/p-listing-item.js +49 -0
- package/dist/components/p-listing-item.js.map +1 -0
- package/dist/components/p-listing-line.d.ts +11 -0
- package/dist/components/p-listing-line.js +9 -0
- package/dist/components/p-listing-line.js.map +1 -0
- package/dist/components/p-listing.d.ts +11 -0
- package/dist/components/p-listing.js +106 -0
- package/dist/components/p-listing.js.map +1 -0
- 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 +7 -7
- package/dist/components/p-navbar.js +3 -3
- package/dist/components/p-navigation-item.js +3 -3
- package/dist/components/p-navigation-section.js +2 -2
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/{p-DPJZQYRZ.js → p-oN2NV1VP.js} +3 -3
- package/dist/components/{p-DPJZQYRZ.js.map → p-oN2NV1VP.js.map} +1 -1
- package/dist/components/{p-wcD-x4l2.js → p-olyt1_RK.js} +3 -3
- package/dist/components/{p-wcD-x4l2.js.map → p-olyt1_RK.js.map} +1 -1
- package/dist/components/{p-C1YLcCva.js → p-p2WG_YKz.js} +5 -5
- package/dist/components/{p-C1YLcCva.js.map → p-p2WG_YKz.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 +4 -4
- package/dist/components/p-radio.js +3 -3
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +9 -9
- package/dist/components/p-slider-indicator.js +1 -1
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-status.js +3 -3
- package/dist/components/p-status.js.map +1 -1
- package/dist/components/p-stepper-item.js +95 -19
- package/dist/components/p-stepper-item.js.map +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +59 -19
- package/dist/components/p-stepper.js.map +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +2 -2
- package/dist/components/p-tab-item.js.map +1 -1
- 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 +22 -22
- package/dist/components/{p-DRQQENvx.js → p-tf3ZTq-9.js} +10 -10
- package/dist/components/{p-DRQQENvx.js.map → p-tf3ZTq-9.js.map} +1 -1
- package/dist/components/p-toast-container.js +2 -2
- package/dist/components/p-toast.js +4 -4
- package/dist/components/p-toggle.js +3 -3
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/index-DhGo7hbh.js +12 -0
- package/dist/esm/index.js +76 -30
- package/dist/esm/index.js.map +1 -1
- 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 +5 -5
- package/dist/esm/p-attachment.entry.js.map +1 -1
- package/dist/esm/p-badge_3.entry.js +3 -3
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_4.entry.js +4 -4
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-counter.entry.js +2 -2
- package/dist/esm/p-counter.entry.js.map +1 -1
- package/dist/esm/p-cropper.entry.js +3 -3
- package/dist/esm/p-cropper.entry.js.map +1 -1
- package/dist/esm/p-datepicker.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 +3 -3
- 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 +11 -11
- package/dist/esm/p-empty-state_9.entry.js.map +1 -1
- package/dist/esm/p-field_2.entry.js +3 -3
- package/dist/esm/p-helper_2.entry.js +4 -4
- package/dist/esm/p-info-panel.entry.js +1 -1
- package/dist/esm/p-input-error.entry.js +1 -1
- package/dist/esm/p-input-group.entry.js +4 -4
- package/dist/esm/p-input-group.entry.js.map +1 -1
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-listing-item.entry.js +22 -0
- package/dist/esm/p-listing-item.entry.js.map +1 -0
- package/dist/esm/p-listing-line.entry.js +18 -0
- package/dist/esm/p-listing-line.entry.js.map +1 -0
- package/dist/esm/p-listing.entry.js +81 -0
- package/dist/esm/p-listing.entry.js.map +1 -0
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- 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-title.entry.js +1 -1
- package/dist/esm/p-pagination-pages-item.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +4 -4
- package/dist/esm/p-portal.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-slider-indicator.entry.js +2 -2
- package/dist/esm/p-slider-indicator.entry.js.map +1 -1
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-status.entry.js +3 -3
- package/dist/esm/p-status.entry.js.map +1 -1
- package/dist/esm/p-stepper-item.entry.js +90 -7
- package/dist/esm/p-stepper-item.entry.js.map +1 -1
- package/dist/esm/p-stepper-line.entry.js +2 -2
- package/dist/esm/p-stepper-line.entry.js.map +1 -1
- package/dist/esm/p-stepper.entry.js +54 -16
- package/dist/esm/p-stepper.entry.js.map +1 -1
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js.map +1 -1
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +2 -2
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/paperless/{p-456a3099.entry.js → p-05791ffa.entry.js} +2 -2
- package/dist/paperless/{p-899f7d36.entry.js → p-0a0ef10d.entry.js} +2 -2
- package/dist/{build/p-9ef541e4.entry.js → paperless/p-0ffe0165.entry.js} +2 -2
- package/dist/paperless/p-11b1e718.entry.js +2 -0
- package/dist/{build/p-57acc6a7.entry.js.map → paperless/p-11b1e718.entry.js.map} +1 -1
- package/dist/paperless/{p-7b7366dc.entry.js → p-1bde15ae.entry.js} +2 -2
- package/dist/{build/p-9c71c64d.entry.js → paperless/p-1c9405d8.entry.js} +2 -2
- package/dist/{build/p-9c71c64d.entry.js.map → paperless/p-1c9405d8.entry.js.map} +1 -1
- package/dist/paperless/p-21fb542a.entry.js +2 -0
- package/dist/{build/p-21d80bbe.entry.js.map → paperless/p-21fb542a.entry.js.map} +1 -1
- package/dist/paperless/{p-0dc168c5.entry.js → p-26b75731.entry.js} +2 -2
- package/dist/paperless/p-3b14bbef.entry.js +2 -0
- package/dist/paperless/{p-c2721d00.entry.js.map → p-3b14bbef.entry.js.map} +1 -1
- package/dist/paperless/{p-5dcdb2d0.entry.js → p-41949138.entry.js} +2 -2
- package/dist/paperless/{p-f12a4759.entry.js → p-4205f7e2.entry.js} +2 -2
- package/dist/paperless/{p-f12a4759.entry.js.map → p-4205f7e2.entry.js.map} +1 -1
- package/dist/{build/p-26491670.entry.js → paperless/p-476985ba.entry.js} +2 -2
- package/dist/paperless/p-4c6e5337.entry.js +2 -0
- package/dist/paperless/p-505650b6.entry.js +2 -0
- package/dist/paperless/p-53e0b8a1.entry.js +2 -0
- package/dist/paperless/p-53e0b8a1.entry.js.map +1 -0
- package/dist/paperless/{p-acc528bf.entry.js → p-5667f8bf.entry.js} +2 -2
- package/dist/paperless/{p-4fb83e8d.entry.js → p-6620dc05.entry.js} +2 -2
- package/dist/{build/p-f4c0923b.entry.js → paperless/p-697c465d.entry.js} +2 -2
- package/dist/paperless/{p-58efc94c.entry.js → p-6cddddb7.entry.js} +2 -2
- package/dist/paperless/p-72eb70f4.entry.js +2 -0
- package/dist/paperless/{p-68b2471e.entry.js.map → p-72eb70f4.entry.js.map} +1 -1
- package/dist/paperless/{p-a8f60c0c.entry.js → p-7c7e6f26.entry.js} +2 -2
- package/dist/paperless/p-7f4d26c4.entry.js +2 -0
- package/dist/paperless/{p-427ef39b.entry.js.map → p-7f4d26c4.entry.js.map} +1 -1
- package/dist/paperless/p-8cc3f69f.entry.js +2 -0
- package/dist/{build/p-635f36c7.entry.js.map → paperless/p-8cc3f69f.entry.js.map} +1 -1
- package/dist/paperless/p-922fba03.entry.js +2 -0
- package/dist/{build/p-73bfb4b5.entry.js.map → paperless/p-922fba03.entry.js.map} +1 -1
- package/dist/paperless/p-929b47c9.entry.js +2 -0
- package/dist/paperless/{p-51b09be2.entry.js → p-96cb3e48.entry.js} +2 -2
- package/dist/paperless/p-96cd5cff.entry.js +2 -0
- package/dist/paperless/p-96cd5cff.entry.js.map +1 -0
- package/dist/{build/p-c7c3d389.entry.js → paperless/p-9da1d488.entry.js} +2 -2
- package/dist/{build/p-d5cba5af.entry.js → paperless/p-a3da31c4.entry.js} +2 -2
- package/dist/paperless/p-accordion.entry.esm.js.map +1 -1
- package/dist/paperless/{p-d3102227.entry.js → p-adfddeb6.entry.js} +2 -2
- package/dist/paperless/p-attachment.entry.esm.js.map +1 -1
- package/dist/paperless/p-b08f490b.entry.js +2 -0
- package/dist/paperless/p-b08f490b.entry.js.map +1 -0
- package/dist/paperless/p-b1b12e88.entry.js +2 -0
- package/dist/paperless/p-b1b12e88.entry.js.map +1 -0
- package/dist/paperless/p-bc366236.entry.js +2 -0
- package/dist/paperless/{p-28152f8e.entry.js.map → p-bc366236.entry.js.map} +1 -1
- package/dist/paperless/p-bce08b0e.entry.js +2 -0
- package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/{build/p-c585d909.entry.js → paperless/p-c9c0ae8d.entry.js} +2 -2
- package/dist/paperless/p-counter.entry.esm.js.map +1 -1
- package/dist/paperless/p-cropper.entry.esm.js.map +1 -1
- package/dist/{build/p-0a6e3e6f.entry.js → paperless/p-d37e0e66.entry.js} +2 -2
- package/dist/paperless/p-d4f4fe62.entry.js +2 -0
- package/dist/paperless/p-d4f4fe62.entry.js.map +1 -0
- package/dist/paperless/{p-f9efc1e5.entry.js → p-d894e0b1.entry.js} +2 -2
- package/dist/{build/p-577976ac.entry.js → paperless/p-dc4121c6.entry.js} +2 -2
- package/dist/{build/p-577976ac.entry.js.map → paperless/p-dc4121c6.entry.js.map} +1 -1
- package/dist/paperless/{p-222abd40.entry.js → p-df7f9328.entry.js} +2 -2
- package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/paperless/p-e526cd42.entry.js +2 -0
- package/dist/paperless/{p-d0ba9cdd.entry.js.map → p-e526cd42.entry.js.map} +1 -1
- package/dist/paperless/{p-b8797794.entry.js → p-e63adc0d.entry.js} +2 -2
- package/dist/paperless/p-ed2e7409.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-fd4a25eb.entry.js +2 -0
- package/dist/paperless/p-fd4a25eb.entry.js.map +1 -0
- package/dist/paperless/p-input-group.entry.esm.js.map +1 -1
- package/dist/paperless/p-listing-item.entry.esm.js.map +1 -0
- package/dist/paperless/p-listing-line.entry.esm.js.map +1 -0
- package/dist/paperless/p-listing.entry.esm.js.map +1 -0
- package/dist/paperless/p-slider-indicator.entry.esm.js.map +1 -1
- package/dist/paperless/p-status.entry.esm.js.map +1 -1
- package/dist/paperless/p-stepper-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-stepper-line.entry.esm.js.map +1 -1
- package/dist/paperless/p-stepper.entry.esm.js.map +1 -1
- package/dist/paperless/p-tab-item.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/tailwind/theme/colors.ts +78 -30
- package/dist/types/components/atoms/listing/item/listing-item.component.d.ts +8 -0
- package/dist/types/components/atoms/listing/line/listing-line.component.d.ts +3 -0
- package/dist/types/components/{deprecated/atoms → atoms}/stepper/item/stepper-item.component.d.ts +4 -4
- package/dist/types/components/organisms/listing/listing.component.d.ts +14 -0
- package/dist/types/components/{deprecated/molecules → organisms}/stepper/stepper.component.d.ts +6 -0
- package/dist/types/components.d.ts +65 -10
- package/package.json +1 -1
- package/dist/build/p-0a6b03d0.entry.js +0 -2
- package/dist/build/p-0b6db18f.entry.js +0 -2
- package/dist/build/p-13b16981.entry.js +0 -2
- package/dist/build/p-13b16981.entry.js.map +0 -1
- package/dist/build/p-1da03a5e.js +0 -2
- package/dist/build/p-21d80bbe.entry.js +0 -2
- package/dist/build/p-28152f8e.entry.js +0 -2
- package/dist/build/p-427ef39b.entry.js +0 -2
- package/dist/build/p-57acc6a7.entry.js +0 -2
- package/dist/build/p-635f36c7.entry.js +0 -2
- package/dist/build/p-68b2471e.entry.js +0 -2
- package/dist/build/p-70de0ecc.entry.js +0 -2
- package/dist/build/p-73bfb4b5.entry.js +0 -2
- package/dist/build/p-861e6352.entry.js +0 -2
- package/dist/build/p-861e6352.entry.js.map +0 -1
- package/dist/build/p-9d23879b.entry.js +0 -2
- package/dist/build/p-9d23879b.entry.js.map +0 -1
- package/dist/build/p-c2721d00.entry.js +0 -2
- package/dist/build/p-d0ba9cdd.entry.js +0 -2
- package/dist/build/p-d6e8bf36.entry.js +0 -2
- package/dist/build/p-e2ee74a9.entry.js +0 -2
- package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/stepper/stepper.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/stepper/stepper.component.js.map +0 -1
- package/dist/components/p-nfMD63_1.js +0 -45
- package/dist/components/p-nfMD63_1.js.map +0 -1
- package/dist/paperless/p-0a6b03d0.entry.js +0 -2
- package/dist/paperless/p-0b6db18f.entry.js +0 -2
- package/dist/paperless/p-13b16981.entry.js +0 -2
- package/dist/paperless/p-13b16981.entry.js.map +0 -1
- package/dist/paperless/p-21d80bbe.entry.js +0 -2
- package/dist/paperless/p-28152f8e.entry.js +0 -2
- package/dist/paperless/p-427ef39b.entry.js +0 -2
- package/dist/paperless/p-57acc6a7.entry.js +0 -2
- package/dist/paperless/p-635f36c7.entry.js +0 -2
- package/dist/paperless/p-68b2471e.entry.js +0 -2
- package/dist/paperless/p-70de0ecc.entry.js +0 -2
- package/dist/paperless/p-73bfb4b5.entry.js +0 -2
- package/dist/paperless/p-861e6352.entry.js +0 -2
- package/dist/paperless/p-861e6352.entry.js.map +0 -1
- package/dist/paperless/p-9d23879b.entry.js +0 -2
- package/dist/paperless/p-9d23879b.entry.js.map +0 -1
- package/dist/paperless/p-c2721d00.entry.js +0 -2
- package/dist/paperless/p-d0ba9cdd.entry.js +0 -2
- package/dist/paperless/p-d6e8bf36.entry.js +0 -2
- package/dist/paperless/p-e2ee74a9.entry.js +0 -2
- /package/dist/build/{p-456a3099.entry.js.map → p-05791ffa.entry.js.map} +0 -0
- /package/dist/build/{p-899f7d36.entry.js.map → p-0a0ef10d.entry.js.map} +0 -0
- /package/dist/build/{p-9ef541e4.entry.js.map → p-0ffe0165.entry.js.map} +0 -0
- /package/dist/build/{p-7b7366dc.entry.js.map → p-1bde15ae.entry.js.map} +0 -0
- /package/dist/build/{p-0dc168c5.entry.js.map → p-26b75731.entry.js.map} +0 -0
- /package/dist/build/{p-5dcdb2d0.entry.js.map → p-41949138.entry.js.map} +0 -0
- /package/dist/build/{p-26491670.entry.js.map → p-476985ba.entry.js.map} +0 -0
- /package/dist/build/{p-70de0ecc.entry.js.map → p-4c6e5337.entry.js.map} +0 -0
- /package/dist/build/{p-0a6b03d0.entry.js.map → p-505650b6.entry.js.map} +0 -0
- /package/dist/build/{p-acc528bf.entry.js.map → p-5667f8bf.entry.js.map} +0 -0
- /package/dist/build/{p-4fb83e8d.entry.js.map → p-6620dc05.entry.js.map} +0 -0
- /package/dist/build/{p-f4c0923b.entry.js.map → p-697c465d.entry.js.map} +0 -0
- /package/dist/build/{p-58efc94c.entry.js.map → p-6cddddb7.entry.js.map} +0 -0
- /package/dist/build/{p-a8f60c0c.entry.js.map → p-7c7e6f26.entry.js.map} +0 -0
- /package/dist/build/{p-0b6db18f.entry.js.map → p-929b47c9.entry.js.map} +0 -0
- /package/dist/build/{p-51b09be2.entry.js.map → p-96cb3e48.entry.js.map} +0 -0
- /package/dist/build/{p-c7c3d389.entry.js.map → p-9da1d488.entry.js.map} +0 -0
- /package/dist/build/{p-d5cba5af.entry.js.map → p-a3da31c4.entry.js.map} +0 -0
- /package/dist/build/{p-d3102227.entry.js.map → p-adfddeb6.entry.js.map} +0 -0
- /package/dist/build/{p-e2ee74a9.entry.js.map → p-bce08b0e.entry.js.map} +0 -0
- /package/dist/build/{p-c585d909.entry.js.map → p-c9c0ae8d.entry.js.map} +0 -0
- /package/dist/build/{p-0a6e3e6f.entry.js.map → p-d37e0e66.entry.js.map} +0 -0
- /package/dist/build/{p-f9efc1e5.entry.js.map → p-d894e0b1.entry.js.map} +0 -0
- /package/dist/build/{p-222abd40.entry.js.map → p-df7f9328.entry.js.map} +0 -0
- /package/dist/build/{p-b8797794.entry.js.map → p-e63adc0d.entry.js.map} +0 -0
- /package/dist/build/{p-d6e8bf36.entry.js.map → p-ed2e7409.entry.js.map} +0 -0
- /package/dist/paperless/{p-456a3099.entry.js.map → p-05791ffa.entry.js.map} +0 -0
- /package/dist/paperless/{p-899f7d36.entry.js.map → p-0a0ef10d.entry.js.map} +0 -0
- /package/dist/paperless/{p-9ef541e4.entry.js.map → p-0ffe0165.entry.js.map} +0 -0
- /package/dist/paperless/{p-7b7366dc.entry.js.map → p-1bde15ae.entry.js.map} +0 -0
- /package/dist/paperless/{p-0dc168c5.entry.js.map → p-26b75731.entry.js.map} +0 -0
- /package/dist/paperless/{p-5dcdb2d0.entry.js.map → p-41949138.entry.js.map} +0 -0
- /package/dist/paperless/{p-26491670.entry.js.map → p-476985ba.entry.js.map} +0 -0
- /package/dist/paperless/{p-70de0ecc.entry.js.map → p-4c6e5337.entry.js.map} +0 -0
- /package/dist/paperless/{p-0a6b03d0.entry.js.map → p-505650b6.entry.js.map} +0 -0
- /package/dist/paperless/{p-acc528bf.entry.js.map → p-5667f8bf.entry.js.map} +0 -0
- /package/dist/paperless/{p-4fb83e8d.entry.js.map → p-6620dc05.entry.js.map} +0 -0
- /package/dist/paperless/{p-f4c0923b.entry.js.map → p-697c465d.entry.js.map} +0 -0
- /package/dist/paperless/{p-58efc94c.entry.js.map → p-6cddddb7.entry.js.map} +0 -0
- /package/dist/paperless/{p-a8f60c0c.entry.js.map → p-7c7e6f26.entry.js.map} +0 -0
- /package/dist/paperless/{p-0b6db18f.entry.js.map → p-929b47c9.entry.js.map} +0 -0
- /package/dist/paperless/{p-51b09be2.entry.js.map → p-96cb3e48.entry.js.map} +0 -0
- /package/dist/paperless/{p-c7c3d389.entry.js.map → p-9da1d488.entry.js.map} +0 -0
- /package/dist/paperless/{p-d5cba5af.entry.js.map → p-a3da31c4.entry.js.map} +0 -0
- /package/dist/paperless/{p-d3102227.entry.js.map → p-adfddeb6.entry.js.map} +0 -0
- /package/dist/paperless/{p-e2ee74a9.entry.js.map → p-bce08b0e.entry.js.map} +0 -0
- /package/dist/paperless/{p-c585d909.entry.js.map → p-c9c0ae8d.entry.js.map} +0 -0
- /package/dist/paperless/{p-0a6e3e6f.entry.js.map → p-d37e0e66.entry.js.map} +0 -0
- /package/dist/paperless/{p-f9efc1e5.entry.js.map → p-d894e0b1.entry.js.map} +0 -0
- /package/dist/paperless/{p-222abd40.entry.js.map → p-df7f9328.entry.js.map} +0 -0
- /package/dist/paperless/{p-b8797794.entry.js.map → p-e63adc0d.entry.js.map} +0 -0
- /package/dist/paperless/{p-d6e8bf36.entry.js.map → p-ed2e7409.entry.js.map} +0 -0
- /package/dist/types/components/{deprecated/atoms → atoms}/stepper/line/stepper-line.component.d.ts +0 -0
|
@@ -298,7 +298,7 @@ const Select = class {
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
render() {
|
|
301
|
-
return (h("p-dropdown", { key: '
|
|
301
|
+
return (h("p-dropdown", { key: '08a2cd3461d8d9e7acaa6572ea27246766c01185', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), usePortal: this.usePortal, strategy: this.strategy }, h("p-field-container", { key: '759513ea56860f6a309a3eecb789716fb235018b', slot: 'trigger', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: '4c9879f4f95b9c8e44cd433bd23d3130c28149f6', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: 'd5e7bdf3db55e67da2ff9756d5a2118d6b3c8f70', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()));
|
|
302
302
|
}
|
|
303
303
|
documentClickHandler(event) {
|
|
304
304
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-DhGo7hbh.js';
|
|
2
2
|
|
|
3
|
-
const sliderIndicatorComponentCss = ".block{display:block!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(
|
|
3
|
+
const sliderIndicatorComponentCss = ".block{display:block!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(0 255 0/var(--tw-bg-opacity,1))!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(0 255 0/var(--tw-bg-opacity,1));border-radius:9999px;display:block;height:.5rem;width:.5rem}:host(.active){--tw-bg-opacity:1;background-color:rgb(255 192 203/var(--tw-bg-opacity,1))}.static{position:static!important}";
|
|
4
4
|
|
|
5
5
|
const SliderIndicator = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -11,7 +11,7 @@ const SliderIndicator = class {
|
|
|
11
11
|
*/
|
|
12
12
|
active = false;
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'd9cc5d71cf33a58c8d43f6dab9a909c2d06f2d2f', class: `p-slider-indicator ${this.active && 'active'}` }));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
SliderIndicator.style = sliderIndicatorComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-slider-indicator.entry.js","sources":["src/components/deprecated/atoms/slider-indicator/slider-indicator.component.scss?tag=p-slider-indicator&encapsulation=shadow","src/components/deprecated/atoms/slider-indicator/slider-indicator.component.tsx"],"sourcesContent":[":host {\n\t@apply block w-2 h-2 bg-mystic-dark rounded-full;\n}\n\n:host(.active) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-slider-indicator',\n\tstyleUrl: 'slider-indicator.component.scss',\n\tshadow: true,\n})\nexport class SliderIndicator {\n\t/**\n\t * Wether the slider indicator is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-slider-indicator ${this.active && 'active'}`}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,2BAA2B,GAAG,
|
|
1
|
+
{"version":3,"file":"p-slider-indicator.entry.js","sources":["src/components/deprecated/atoms/slider-indicator/slider-indicator.component.scss?tag=p-slider-indicator&encapsulation=shadow","src/components/deprecated/atoms/slider-indicator/slider-indicator.component.tsx"],"sourcesContent":[":host {\n\t@apply block w-2 h-2 bg-mystic-dark rounded-full;\n}\n\n:host(.active) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-slider-indicator',\n\tstyleUrl: 'slider-indicator.component.scss',\n\tshadow: true,\n})\nexport class SliderIndicator {\n\t/**\n\t * Wether the slider indicator is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-slider-indicator ${this.active && 'active'}`}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,2BAA2B,GAAG,geAAge;;MCOvf,eAAe,GAAA,MAAA;;;;AAC3B;;AAEG;IACK,MAAM,GAAY,KAAK;IAE/B,MAAM,GAAA;QACL,QACC,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACJ,KAAK,EAAE,CAAsB,mBAAA,EAAA,IAAI,CAAC,MAAM,IAAI,QAAQ,CAAE,CAAA,EAAA,CAC/C;;;;;;;"}
|
|
@@ -27,7 +27,7 @@ const Smile = class {
|
|
|
27
27
|
*/
|
|
28
28
|
variant = 'modal';
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'ce399fe0541567baa86813a2d87815900c4e0ecf', class: smile({ variant: this.variant }) }, h("div", { key: '8779b1bcb694671d615164712511ce4e721b84ae', class: 'absolute bottom-0 left-0 h-full w-full text-off-white-500', innerHTML: smileSvg })));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
Smile.style = smileComponentCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-DhGo7hbh.js';
|
|
2
2
|
|
|
3
|
-
const statusComponentCss = ".mr-2{margin-right:.5rem!important}.flex{display:flex!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(
|
|
3
|
+
const statusComponentCss = ".mr-2{margin-right:.5rem!important}.flex{display:flex!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(0 255 255/var(--tw-text-opacity,1))!important}*{box-sizing:border-box}p-status{--tw-text-opacity:1;align-items:center;color:rgb(0 255 255/var(--tw-text-opacity,1));display:flex;font-size:.875rem;font-weight:500;line-height:1.25rem}p-status p-icon{font-size:1rem;line-height:1.5rem;margin-right:.5rem}p-status.variant-positive{--tw-text-opacity:1;color:rgb(173 255 47/var(--tw-text-opacity,1))}p-status.variant-unbiased{--tw-text-opacity:1;color:rgb(255 255 0/var(--tw-text-opacity,1))}p-status.variant-negative{--tw-text-opacity:1;color:rgb(255 20 147/var(--tw-text-opacity,1))}.static{position:static!important}";
|
|
4
4
|
|
|
5
5
|
const Status = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -23,8 +23,8 @@ const Status = class {
|
|
|
23
23
|
*/
|
|
24
24
|
iconRotate;
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
27
|
-
}` }, this._getIcon(), h("slot", { key: '
|
|
26
|
+
return (h(Host, { key: 'be9bde36193a5cb33ef365ce5cf78637f9a9ad98', class: `p-status variant-${this.variant}
|
|
27
|
+
}` }, this._getIcon(), h("slot", { key: '847a22130404a065832c703aec9bcc171f20050b' })));
|
|
28
28
|
}
|
|
29
29
|
_getIcon() {
|
|
30
30
|
const icon = this.icon || this._getVariantIcon();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-status.entry.js","sources":["src/components/deprecated/atoms/status/status.component.scss?tag=p-status","src/components/deprecated/atoms/status/status.component.tsx"],"sourcesContent":["p-status {\n\t@apply flex items-center;\n\t@apply text-sm text-storm-vague font-medium;\n\n\tp-icon {\n\t\t@apply mr-2 text-base;\n\t}\n\n\t&.variant-positive {\n\t\t@apply text-positive;\n\t}\n\n\t&.variant-unbiased {\n\t\t@apply text-unbiased;\n\t}\n\n\t&.variant-negative {\n\t\t@apply text-negative;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../../types/tailwind';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-status',\n\tstyleUrl: 'status.component.scss',\n})\nexport class Status {\n\t/**\n\t * The variant of the status\n\t */\n\t@Prop() variant: 'default' | 'positive' | 'unbiased' | 'negative' = 'default';\n\n\t/**\n\t * Icon to show on the status\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-status variant-${this.variant}\n }`}\n\t\t\t>\n\t\t\t\t{this._getIcon()}\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getIcon() {\n\t\tconst icon = this.icon || this._getVariantIcon();\n\n\t\tif (!icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tvariant={icon}\n\t\t\t\tflip={this.iconFlip}\n\t\t\t\trotate={this.iconRotate}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getVariantIcon() {\n\t\tlet icon = null;\n\t\tswitch (this.variant) {\n\t\t\tcase 'positive':\n\t\t\t\ticon = 'checkmark';\n\t\t\t\tbreak;\n\t\t\tcase 'negative':\n\t\t\t\ticon = 'negative';\n\t\t\t\tbreak;\n\t\t\tcase 'unbiased':\n\t\t\t\ticon = 'clock';\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\ticon = null;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn icon;\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,kBAAkB,GAAG,
|
|
1
|
+
{"version":3,"file":"p-status.entry.js","sources":["src/components/deprecated/atoms/status/status.component.scss?tag=p-status","src/components/deprecated/atoms/status/status.component.tsx"],"sourcesContent":["p-status {\n\t@apply flex items-center;\n\t@apply text-sm text-storm-vague font-medium;\n\n\tp-icon {\n\t\t@apply mr-2 text-base;\n\t}\n\n\t&.variant-positive {\n\t\t@apply text-positive;\n\t}\n\n\t&.variant-unbiased {\n\t\t@apply text-unbiased;\n\t}\n\n\t&.variant-negative {\n\t\t@apply text-negative;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../../types/tailwind';\nimport {\n\tIconFlipOptions,\n\tIconVariant,\n} from '../../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-status',\n\tstyleUrl: 'status.component.scss',\n})\nexport class Status {\n\t/**\n\t * The variant of the status\n\t */\n\t@Prop() variant: 'default' | 'positive' | 'unbiased' | 'negative' = 'default';\n\n\t/**\n\t * Icon to show on the status\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-status variant-${this.variant}\n }`}\n\t\t\t>\n\t\t\t\t{this._getIcon()}\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getIcon() {\n\t\tconst icon = this.icon || this._getVariantIcon();\n\n\t\tif (!icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tvariant={icon}\n\t\t\t\tflip={this.iconFlip}\n\t\t\t\trotate={this.iconRotate}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getVariantIcon() {\n\t\tlet icon = null;\n\t\tswitch (this.variant) {\n\t\t\tcase 'positive':\n\t\t\t\ticon = 'checkmark';\n\t\t\t\tbreak;\n\t\t\tcase 'negative':\n\t\t\t\ticon = 'negative';\n\t\t\t\tbreak;\n\t\t\tcase 'unbiased':\n\t\t\t\ticon = 'clock';\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\ticon = null;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn icon;\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,kBAAkB,GAAG,myBAAmyB;;MCWjzB,MAAM,GAAA,MAAA;;;;AAClB;;AAEG;IACK,OAAO,GAAqD,SAAS;AAE7E;;AAEG;AACK,IAAA,IAAI;AAEZ;;AAEG;AACK,IAAA,QAAQ;AAEhB;;AAEG;AACK,IAAA,UAAU;IAElB,MAAM,GAAA;AACL,QAAA,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACJ,KAAK,EAAE,CAAoB,iBAAA,EAAA,IAAI,CAAC,OAAO;AACzB,iBAAA,CAAA,EAAA,EAEb,IAAI,CAAC,QAAQ,EAAE,EAChB,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;IAID,QAAQ,GAAA;QACf,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,EAAE;QAEhD,IAAI,CAAC,IAAI,EAAE;YACV;;QAGD,QACC,CACC,CAAA,QAAA,EAAA,EAAA,OAAO,EAAE,IAAI,EACb,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,EAAA,CACtB;;IAII,eAAe,GAAA;QACtB,IAAI,IAAI,GAAG,IAAI;AACf,QAAA,QAAQ,IAAI,CAAC,OAAO;AACnB,YAAA,KAAK,UAAU;gBACd,IAAI,GAAG,WAAW;gBAClB;AACD,YAAA,KAAK,UAAU;gBACd,IAAI,GAAG,UAAU;gBACjB;AACD,YAAA,KAAK,UAAU;gBACd,IAAI,GAAG,OAAO;gBACd;AACD,YAAA;gBACC,IAAI,GAAG,IAAI;gBACX;;AAGF,QAAA,OAAO,IAAI;;;;;;;"}
|
|
@@ -1,19 +1,93 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-DhGo7hbh.js';
|
|
2
|
+
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
|
+
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
|
+
import './clsx-ChV9xqsO.js';
|
|
2
5
|
|
|
3
|
-
const stepperItemComponentCss = "
|
|
6
|
+
const stepperItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.flex-row-reverse{flex-direction:row-reverse!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-dark-teal-400{--tw-border-opacity:1!important;border-color:rgb(51 116 109/var(--tw-border-opacity,1))!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-50{--tw-bg-opacity:1!important;background-color:rgb(229 238 237/var(--tw-bg-opacity,1))!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-black-teal-500{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-dark-teal-400{--tw-text-opacity:1!important;color:rgb(51 116 109/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";
|
|
4
7
|
|
|
8
|
+
const item = cva('flex gap-2', {
|
|
9
|
+
variants: {
|
|
10
|
+
align: {
|
|
11
|
+
start: 'items-start',
|
|
12
|
+
center: 'items-center',
|
|
13
|
+
end: 'items-end',
|
|
14
|
+
},
|
|
15
|
+
contentPosition: {
|
|
16
|
+
start: 'flex-row-reverse',
|
|
17
|
+
end: null
|
|
18
|
+
},
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
const circle = cva(['h-6 w-6 flex items-center justify-center', 'text-sm text-center font-medium', 'border border-solid border-dark-teal-400', 'rounded-full'], {
|
|
22
|
+
variants: {
|
|
23
|
+
finished: {
|
|
24
|
+
true: null,
|
|
25
|
+
false: null
|
|
26
|
+
},
|
|
27
|
+
active: {
|
|
28
|
+
true: null,
|
|
29
|
+
false: null
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
compoundVariants: [
|
|
33
|
+
{
|
|
34
|
+
finished: false,
|
|
35
|
+
active: false,
|
|
36
|
+
class: 'text-dark-teal-400 bg-dark-teal-50'
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
active: true,
|
|
40
|
+
finished: false,
|
|
41
|
+
class: 'text-white bg-dark-teal-400',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
active: false,
|
|
45
|
+
finished: true,
|
|
46
|
+
class: 'text-white bg-dark-teal-400',
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
});
|
|
50
|
+
const content = cva('text-sm font-medium', {
|
|
51
|
+
variants: {
|
|
52
|
+
finished: {
|
|
53
|
+
true: null,
|
|
54
|
+
false: null
|
|
55
|
+
},
|
|
56
|
+
active: {
|
|
57
|
+
true: null,
|
|
58
|
+
false: null
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
compoundVariants: [
|
|
62
|
+
{
|
|
63
|
+
finished: false,
|
|
64
|
+
active: false,
|
|
65
|
+
class: 'text-black-teal-400'
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
active: true,
|
|
69
|
+
finished: false,
|
|
70
|
+
class: 'text-black-teal-500',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
active: false,
|
|
74
|
+
finished: true,
|
|
75
|
+
class: 'text-black-teal-500',
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
});
|
|
5
79
|
const StepperItem = class {
|
|
6
80
|
constructor(hostRef) {
|
|
7
81
|
registerInstance(this, hostRef);
|
|
8
82
|
}
|
|
9
83
|
/**
|
|
10
|
-
* The
|
|
84
|
+
* The number of the step
|
|
11
85
|
*/
|
|
12
|
-
|
|
86
|
+
number = 1;
|
|
13
87
|
/**
|
|
14
|
-
* The
|
|
88
|
+
* The alignment of the content in case of vertical direction
|
|
15
89
|
*/
|
|
16
|
-
|
|
90
|
+
align = 'center';
|
|
17
91
|
/**
|
|
18
92
|
* The position of the content in case of vertical direction
|
|
19
93
|
*/
|
|
@@ -27,7 +101,16 @@ const StepperItem = class {
|
|
|
27
101
|
*/
|
|
28
102
|
active = false;
|
|
29
103
|
render() {
|
|
30
|
-
return (h(
|
|
104
|
+
return (h("div", { key: '31bdc65cb996e82942a2669150516d52c612a6de', class: item({
|
|
105
|
+
align: this.align,
|
|
106
|
+
contentPosition: this.contentPosition
|
|
107
|
+
}) }, h("div", { key: 'c8a00a2c7345508a154116f8a11fb1514b819328', class: circle({
|
|
108
|
+
active: asBoolean(this.active),
|
|
109
|
+
finished: asBoolean(this.finished)
|
|
110
|
+
}) }, this.number), h("div", { key: '30206086d8f9b97695071865897326bfd73cdf55', class: content({
|
|
111
|
+
active: asBoolean(this.active),
|
|
112
|
+
finished: asBoolean(this.finished)
|
|
113
|
+
}) }, h("slot", { key: '9235d3ad7efe5c8264177b653c713233e193eef1' }))));
|
|
31
114
|
}
|
|
32
115
|
};
|
|
33
116
|
StepperItem.style = stepperItemComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-stepper-item.entry.js","sources":["src/components/
|
|
1
|
+
{"version":3,"file":"p-stepper-item.entry.js","sources":["src/components/atoms/stepper/item/stepper-item.component.css?tag=p-stepper-item&encapsulation=shadow","src/components/atoms/stepper/item/stepper-item.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst item = cva(\n\t'flex gap-2',\n\t{\n\t\tvariants: {\n\t\t\talign: {\n\t\t\t\tstart: 'items-start',\n\t\t\t\tcenter: 'items-center',\n\t\t\t\tend: 'items-end',\n\t\t\t},\n\t\t\tcontentPosition: {\n\t\t\t\tstart: 'flex-row-reverse',\n\t\t\t\tend: null\n\t\t\t},\n\t\t}\n\t}\n);\n\nconst circle = cva(['h-6 w-6 flex items-center justify-center', 'text-sm text-center font-medium', 'border border-solid border-dark-teal-400', 'rounded-full'], {\n\tvariants: {\n\t\tfinished: {\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\tfinished: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-dark-teal-400 bg-dark-teal-50'\n\t\t},\n\t\t{\n\t\t\tactive: true,\n\t\t\tfinished: false,\n\t\t\tclass: 'text-white bg-dark-teal-400',\n\t\t},\n\t\t{\n\t\t\tactive: false,\n\t\t\tfinished: true,\n\t\t\tclass: 'text-white bg-dark-teal-400',\n\n\t\t}\n\t]\n})\n\nconst content = cva('text-sm font-medium', {\n\tvariants: {\n\t\tfinished: {\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\tfinished: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-black-teal-400'\n\t\t},\n\t\t{\n\t\t\tactive: true,\n\t\t\tfinished: false,\n\t\t\tclass: 'text-black-teal-500',\n\t\t},\n\t\t{\n\t\t\tactive: false,\n\t\t\tfinished: true,\n\t\t\tclass: 'text-black-teal-500',\n\n\t\t}\n\t]\n})\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.css',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The number of the step\n\t */\n\t@Prop() number: number = 1;\n\n\t/**\n\t * The alignment of the content in case of vertical direction\n\t */\n\t@Prop() align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop() contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the step is finished\n\t */\n\t@Prop() finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div class={item({\n\t\t\t\talign: this.align,\n\t\t\t\tcontentPosition: this.contentPosition\n\t\t\t})}>\n\t\t\t\t<div class={circle({\n\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\tfinished: asBoolean(this.finished)\n\t\t\t\t})}>\n\t\t\t\t\t{this.number}\n\t\t\t\t</div>\n\t\t\t\t<div class={content({\n\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\tfinished: asBoolean(this.finished)\n\t\t\t\t})}>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,uBAAuB,GAAG,g6CAAg6C;;ACIh8C,MAAM,IAAI,GAAG,GAAG,CACf,YAAY,EACZ;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,KAAK,EAAE;AACN,YAAA,KAAK,EAAE,aAAa;AACpB,YAAA,MAAM,EAAE,cA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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-DhGo7hbh.js';
|
|
2
2
|
|
|
3
|
-
const stepperLineComponentCss = ".
|
|
3
|
+
const stepperLineComponentCss = ".mx-\\[calc\\(0\\.75rem-1px\\)\\]{margin-left:calc(.75rem - 1px)!important;margin-right:calc(.75rem - 1px)!important}.block{display:block!important}.h-\\[1px\\]{height:1px!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-\\[1px\\]{width:1px!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1));display:block;flex:1 1 auto;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([direction=horizontal]){height:1px}:host([direction=vertical]){margin-left:calc(.75rem - 1px);margin-right:calc(.75rem - 1px);min-height:1rem;width:1px}:host([active=true]),:host([active]:not([active=false])){--tw-bg-opacity:1;background-color:rgb(51 116 109/var(--tw-bg-opacity,1))}.static{position:static!important}";
|
|
4
4
|
|
|
5
5
|
const StepperLine = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -15,7 +15,7 @@ const StepperLine = class {
|
|
|
15
15
|
*/
|
|
16
16
|
direction = 'horizontal';
|
|
17
17
|
render() {
|
|
18
|
-
return h(Host, { key: '
|
|
18
|
+
return h(Host, { key: 'e7dba68dafe58d56327f1d66518882c68bcdba7f' });
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
StepperLine.style = stepperLineComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-stepper-line.entry.js","sources":["src/components/
|
|
1
|
+
{"version":3,"file":"p-stepper-line.entry.js","sources":["src/components/atoms/stepper/line/stepper-line.component.css?tag=p-stepper-line&encapsulation=shadow","src/components/atoms/stepper/line/stepper-line.component.tsx"],"sourcesContent":[":host {\n\t@apply flex-auto;\n\t@apply transition duration-500 ease-in-out;\n\n\t@apply block;\n\n\t@apply bg-off-white-700;\n}\n\n:host([direction='horizontal']) {\n\t@apply h-[1px];\n}\n\n:host([direction='vertical']) {\n\t@apply min-h-[1rem] w-[1px] mx-[calc(0.75rem-1px)];\n}\n\n:host([active=\"true\"]), :host([active]:not([active=\"false\"])) {\n\t@apply bg-dark-teal-400;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-line',\n\tstyleUrl: 'stepper-line.component.css',\n\tshadow: true,\n})\nexport class StepperLine {\n\t/**\n\t * Wether the line is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\t/**\n\t * The direction of the stepper line\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\trender() {\n\t\treturn <Host />;\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,uBAAuB,GAAG,0tCAA0tC;;MCO7uC,WAAW,GAAA,MAAA;;;;AACvB;;AAEG;IACsB,MAAM,GAAY,KAAK;AAEhD;;AAEG;IACsB,SAAS,GACjC,YAAY;IAEb,MAAM,GAAA;QACL,OAAO,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAG;;;;;;;"}
|
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
import { r as registerInstance, g as getElement, h
|
|
1
|
+
import { r as registerInstance, g as getElement, h } from './index-DhGo7hbh.js';
|
|
2
|
+
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
|
+
import './clsx-ChV9xqsO.js';
|
|
2
4
|
|
|
3
|
-
const stepperComponentCss = ".flex{display:flex!important}.h-auto{height:auto!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}
|
|
5
|
+
const stepperComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.h-auto{height:auto!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}";
|
|
4
6
|
|
|
7
|
+
const stepper = cva(['flex gap-2'], {
|
|
8
|
+
variants: {
|
|
9
|
+
direction: {
|
|
10
|
+
vertical: 'w-full flex-col flex-wrap items-start',
|
|
11
|
+
horizontal: 'h-auto items-center'
|
|
12
|
+
},
|
|
13
|
+
contentPosition: {
|
|
14
|
+
start: null,
|
|
15
|
+
end: null
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
compoundVariants: [{
|
|
19
|
+
direction: 'vertical',
|
|
20
|
+
contentPosition: 'start',
|
|
21
|
+
class: 'items-end'
|
|
22
|
+
}]
|
|
23
|
+
});
|
|
5
24
|
const Stepper = class {
|
|
6
25
|
constructor(hostRef) {
|
|
7
26
|
registerInstance(this, hostRef);
|
|
@@ -18,6 +37,10 @@ const Stepper = class {
|
|
|
18
37
|
* The direction of the stepper
|
|
19
38
|
*/
|
|
20
39
|
direction = 'horizontal';
|
|
40
|
+
/**
|
|
41
|
+
* The alignment of the content in case of vertical direction
|
|
42
|
+
*/
|
|
43
|
+
align = 'center';
|
|
21
44
|
/**
|
|
22
45
|
* The position of the content in case of vertical direction
|
|
23
46
|
*/
|
|
@@ -56,15 +79,9 @@ const Stepper = class {
|
|
|
56
79
|
if (item.direction !== this.direction && !directionChanged) {
|
|
57
80
|
directionChanged = true;
|
|
58
81
|
}
|
|
82
|
+
item.number = i + 1;
|
|
59
83
|
item.direction = this.direction;
|
|
60
|
-
item.align =
|
|
61
|
-
this.direction === 'vertical'
|
|
62
|
-
? 'start'
|
|
63
|
-
: i === 0
|
|
64
|
-
? 'start'
|
|
65
|
-
: i === items?.length - 1
|
|
66
|
-
? 'end'
|
|
67
|
-
: 'center';
|
|
84
|
+
item.align = this.direction === 'vertical' ? this.align : 'start';
|
|
68
85
|
item.contentPosition = this.contentPosition;
|
|
69
86
|
}
|
|
70
87
|
if (directionChanged) {
|
|
@@ -109,14 +126,27 @@ const Stepper = class {
|
|
|
109
126
|
}
|
|
110
127
|
};
|
|
111
128
|
_setStepperLineData = (stepperLine, item, nextItem, i, activeStep) => {
|
|
112
|
-
|
|
113
|
-
|
|
129
|
+
let heightDiff = item.clientHeight - 24;
|
|
130
|
+
let heightDiffNext = nextItem.clientHeight - 24;
|
|
131
|
+
if (this.align === 'center') {
|
|
132
|
+
heightDiff = heightDiff / 2;
|
|
133
|
+
heightDiffNext = heightDiffNext / 2;
|
|
134
|
+
}
|
|
114
135
|
stepperLine.direction = this.direction;
|
|
115
136
|
stepperLine.active = i < activeStep;
|
|
116
137
|
if (heightDiff > 0 && this.direction === 'vertical') {
|
|
117
|
-
|
|
118
|
-
stepperLine.style.
|
|
119
|
-
stepperLine.style.
|
|
138
|
+
let totalHeight = 0;
|
|
139
|
+
stepperLine.style.marginTop = "0";
|
|
140
|
+
stepperLine.style.marginBottom = "0";
|
|
141
|
+
if (this.align === 'start' || this.align === 'center') {
|
|
142
|
+
stepperLine.style.marginTop = `-${heightDiff / 16}rem`;
|
|
143
|
+
totalHeight += heightDiff;
|
|
144
|
+
}
|
|
145
|
+
if (this.align === 'center' || this.align === "end") {
|
|
146
|
+
stepperLine.style.marginBottom = `-${heightDiffNext / 16}rem`;
|
|
147
|
+
totalHeight += heightDiffNext;
|
|
148
|
+
}
|
|
149
|
+
stepperLine.style.minHeight = `calc(${(totalHeight / 16)}rem)`;
|
|
120
150
|
}
|
|
121
151
|
};
|
|
122
152
|
componentDidLoad() {
|
|
@@ -129,12 +159,20 @@ const Stepper = class {
|
|
|
129
159
|
}
|
|
130
160
|
}
|
|
131
161
|
render() {
|
|
132
|
-
return (h(
|
|
162
|
+
return (h("div", { key: 'a1c7897dc9bc10124df448557ef5fdba732f6d7c', class: stepper({ direction: this.direction }) }, h("slot", { key: '92b8c3491be2d344f89cec56f35699ca2a9d42b8', onSlotchange: () => this._generateStepsOnce() })));
|
|
163
|
+
}
|
|
164
|
+
_onAlignChange() {
|
|
165
|
+
this._generateStepsOnce();
|
|
166
|
+
}
|
|
167
|
+
_onDirectionChange() {
|
|
168
|
+
this._generateStepsOnce();
|
|
133
169
|
}
|
|
134
170
|
_onActiveStepChange() {
|
|
135
171
|
this._generateStepsOnce();
|
|
136
172
|
}
|
|
137
173
|
static get watchers() { return {
|
|
174
|
+
"align": ["_onAlignChange"],
|
|
175
|
+
"direction": ["_onDirectionChange"],
|
|
138
176
|
"activeStep": ["_onActiveStepChange"]
|
|
139
177
|
}; }
|
|
140
178
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-stepper.entry.js","sources":["src/components/deprecated/molecules/stepper/stepper.component.scss?tag=p-stepper&encapsulation=shadow","src/components/deprecated/molecules/stepper/stepper.component.tsx"],"sourcesContent":[":host {\n\t@apply flex;\n}\n\n:host([direction='horizontal']) {\n\t@apply h-auto items-end;\n}\n\n:host([direction='vertical']) {\n\t@apply flex-col flex-wrap items-start;\n\t@apply w-full;\n}\n\n:host([direction='vertical'][content-position='start']) {\n\t@apply items-end;\n}\n","import { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper',\n\tstyleUrl: 'stepper.component.scss',\n\tshadow: true,\n})\nexport class Stepper {\n\t/**\n\t * The currently active step\n\t */\n\t@Prop() activeStep: number = 1;\n\n\t/**\n\t * Wether to automatically apply active & finished to items\n\t */\n\t@Prop() enableAutoStatus: boolean = true;\n\n\t/**\n\t * The direction of the stepper\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _generateTimeout: NodeJS.Timeout | undefined;\n\tprivate _resizeObserver: ResizeObserver;\n\n\tprivate _generateStepsOnce = () => {\n\t\tif (this._generateTimeout) {\n\t\t\tclearTimeout(this._generateTimeout);\n\t\t\tthis._generateTimeout = null;\n\t\t}\n\n\t\tthis._generateTimeout = setTimeout(() => this._generateSteps(), 50);\n\t};\n\n\tprivate _generateSteps = async () => {\n\t\tif (!this._el) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet activeStep = this.activeStep - 1 || 0;\n\t\tconst items = this._el.querySelectorAll('p-stepper-item');\n\n\t\tlet directionChanged = false;\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\tif (this.enableAutoStatus) {\n\t\t\t\titem.active = i === activeStep;\n\t\t\t\titem.finished = i < activeStep;\n\t\t\t}\n\n\t\t\tif (!this.activeStep || activeStep < 0) {\n\t\t\t\tif (item.active) {\n\t\t\t\t\tactiveStep = i;\n\t\t\t\t}\n\n\t\t\t\tif (activeStep < 0 && item.finished) {\n\t\t\t\t\tactiveStep = i + 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (item.direction !== this.direction && !directionChanged) {\n\t\t\t\tdirectionChanged = true;\n\t\t\t}\n\n\t\t\titem.direction = this.direction;\n\t\t\titem.align =\n\t\t\t\tthis.direction === 'vertical'\n\t\t\t\t\t? 'start'\n\t\t\t\t\t: i === 0\n\t\t\t\t\t? 'start'\n\t\t\t\t\t: i === items?.length - 1\n\t\t\t\t\t? 'end'\n\t\t\t\t\t: 'center';\n\t\t\titem.contentPosition = this.contentPosition;\n\t\t}\n\n\t\tif (directionChanged) {\n\t\t\t// super hacky way to ensure all elements that have a direction changed are re-rendered\n\t\t\tawait new Promise(resolve => setTimeout(resolve, 200));\n\t\t}\n\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\tif (i < items.length - 1) {\n\t\t\t\tlet nextItem = item.nextElementSibling;\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\tconst stepperLine = document.createElement('p-stepper-line');\n\t\t\t\t\tthis._el.insertBefore(stepperLine, nextItem);\n\t\t\t\t\tthis._setStepperLineData(stepperLine, item, nextItem, i, activeStep);\n\n\t\t\t\t\tconst previous = stepperLine.previousElementSibling;\n\t\t\t\t\tif (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\t\tprevious.remove();\n\t\t\t\t\t}\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\tconst stepperLine = nextItem;\n\t\t\t\t\tnextItem = nextItem.nextElementSibling;\n\n\t\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\t\tthis._setStepperLineData(\n\t\t\t\t\t\t\tstepperLine,\n\t\t\t\t\t\t\titem,\n\t\t\t\t\t\t\tnextItem,\n\t\t\t\t\t\t\ti,\n\t\t\t\t\t\t\tactiveStep\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (i > 0) {\n\t\t\t\tconst previousItem = item.previousElementSibling;\n\t\t\t\tif (\n\t\t\t\t\tpreviousItem &&\n\t\t\t\t\tpreviousItem.tagName.toLowerCase() === 'p-stepper-line'\n\t\t\t\t) {\n\t\t\t\t\tpreviousItem.direction = this.direction;\n\t\t\t\t\tpreviousItem.active = item.active || item.finished;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst lines = this._el.querySelectorAll(\n\t\t\t'p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child'\n\t\t);\n\t\tfor (let j = lines.length - 1; j >= 0; j--) {\n\t\t\tconst line = lines.item(j);\n\t\t\tline.remove();\n\t\t}\n\t};\n\n\tprivate _setStepperLineData = (\n\t\tstepperLine: HTMLPStepperLineElement,\n\t\titem: HTMLPStepperItemElement,\n\t\tnextItem: HTMLPStepperItemElement,\n\t\ti: number,\n\t\tactiveStep: number\n\t) => {\n\t\tconst heightDiff = item.clientHeight / 2;\n\t\tconst heightDiffNext = nextItem.clientHeight / 2;\n\n\t\tstepperLine.direction = this.direction;\n\t\tstepperLine.active = i < activeStep;\n\n\t\tif (heightDiff > 0 && this.direction === 'vertical') {\n\t\t\tstepperLine.style.marginTop = `-${heightDiff / 16}rem`;\n\t\t\tstepperLine.style.marginBottom = `-${heightDiffNext / 16}rem`;\n\t\t\tstepperLine.style.minHeight = `calc(1rem + ${\n\t\t\t\t(heightDiff + heightDiffNext) / 16\n\t\t\t}rem)`;\n\t\t}\n\t};\n\n\tcomponentDidLoad() {\n\t\tthis._resizeObserver = new ResizeObserver(() => this._generateStepsOnce());\n\t\tthis._resizeObserver.observe(this._el);\n\t}\n\n\tdisconnectCallback() {\n\t\tif (this._resizeObserver) {\n\t\t\tthis._resizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-stepper'>\n\t\t\t\t<slot onSlotchange={() => this._generateStepsOnce()} />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('activeStep')\n\tprotected _onActiveStepChange() {\n\t\tthis._generateStepsOnce();\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,mBAAmB,GAAG,mcAAmc;;MCOld,OAAO,GAAA,MAAA;;;;AACnB;;AAEG;IACK,UAAU,GAAW,CAAC;AAE9B;;AAEG;IACK,gBAAgB,GAAY,IAAI;AAExC;;AAEG;IACsB,SAAS,GAA8B,YAAY;AAE5E;;AAEG;IACsB,eAAe,GAAoB,KAAK;;AAOzD,IAAA,gBAAgB;AAChB,IAAA,eAAe;IAEf,kBAAkB,GAAG,MAAK;AACjC,QAAA,IAAI,IAAI,CAAC,gBAAgB,EAAE;AAC1B,YAAA,YAAY,CAAC,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,KAAK,CAAC,SAAS,GAAG,IAAI,UAAU,GAAG,EAAE,CAAA,GAAA,CAAK;YACtD,WAAW,CAAC,KAAK,CAAC,YAAY,GAAG,IAAI,cAAc,GAAG,EAAE,CAAA,GAAA,CAAK;AAC7D,YAAA,WAAW,CAAC,KAAK,CAAC,SAAS,GAAG,CAC7B,YAAA,EAAA,CAAC,UAAU,GAAG,cAAc,IAAI,EACjC,MAAM;;AAER,KAAC;IAED,gBAAgB,GAAA;AACf,QAAA,IAAI,CAAC,eAAe,GAAG,IAAI,cAAc,CAAC,MAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAC1E,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;;IAGvC,kBAAkB,GAAA;AACjB,QAAA,IAAI,IAAI,CAAC,eAAe,EAAE;AACzB,YAAA,IAAI,CAAC,eAAe,CAAC,UAAU,EAAE;;;IAInC,MAAM,GAAA;AACL,QAAA,QACC,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EAAA,EACtB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,YAAY,EAAE,MAAM,IAAI,CAAC,kBAAkB,EAAE,EAAA,CAAI,CACjD;;IAKC,mBAAmB,GAAA;QAC5B,IAAI,CAAC,kBAAkB,EAAE;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"p-stepper.entry.js","sources":["src/components/organisms/stepper/stepper.component.css?tag=p-stepper&encapsulation=shadow","src/components/organisms/stepper/stepper.component.tsx"],"sourcesContent":["","import { Component, Element, h, Prop, Watch } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst stepper = cva(\n\t['flex gap-2'],\n\t{\n\t\tvariants: {\n\t\t\tdirection: {\n\t\t\t\tvertical: 'w-full flex-col flex-wrap items-start',\n\t\t\t\thorizontal: 'h-auto items-center'\n\t\t\t},\n\t\t\tcontentPosition: {\n\t\t\t\tstart: null,\n\t\t\t\tend: null\n\t\t\t}\n\t\t},\n\t\tcompoundVariants: [{\n\t\t\tdirection: 'vertical',\n\t\t\tcontentPosition: 'start',\n\t\t\tclass: 'items-end'\n\t\t}]\n\t}\n);\n\n@Component({\n\ttag: 'p-stepper',\n\tstyleUrl: 'stepper.component.css',\n\tshadow: true,\n})\nexport class Stepper {\n\t/**\n\t * The currently active step\n\t */\n\t@Prop() activeStep: number = 1;\n\n\t/**\n\t * Wether to automatically apply active & finished to items\n\t */\n\t@Prop() enableAutoStatus: boolean = true;\n\n\t/**\n\t * The direction of the stepper\n\t */\n\t@Prop() direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The alignment of the content in case of vertical direction\n\t */\n\t@Prop() align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop() contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _generateTimeout: NodeJS.Timeout | undefined;\n\tprivate _resizeObserver: ResizeObserver;\n\n\tprivate _generateStepsOnce = () => {\n\t\tif (this._generateTimeout) {\n\t\t\tclearTimeout(this._generateTimeout);\n\t\t\tthis._generateTimeout = null;\n\t\t}\n\n\t\tthis._generateTimeout = setTimeout(() => this._generateSteps(), 50);\n\t};\n\n\tprivate _generateSteps = async () => {\n\t\tif (!this._el) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet activeStep = this.activeStep - 1 || 0;\n\t\tconst items = this._el.querySelectorAll('p-stepper-item');\n\n\t\tlet directionChanged = false;\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\tif (this.enableAutoStatus) {\n\t\t\t\titem.active = i === activeStep;\n\t\t\t\titem.finished = i < activeStep;\n\t\t\t}\n\n\t\t\tif (!this.activeStep || activeStep < 0) {\n\t\t\t\tif (item.active) {\n\t\t\t\t\tactiveStep = i;\n\t\t\t\t}\n\n\t\t\t\tif (activeStep < 0 && item.finished) {\n\t\t\t\t\tactiveStep = i + 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (item.direction !== this.direction && !directionChanged) {\n\t\t\t\tdirectionChanged = true;\n\t\t\t}\n\n\t\t\titem.number = i + 1;\n\t\t\titem.direction = this.direction;\n\t\t\titem.align = this.direction === 'vertical' ? this.align : 'start';\n\t\t\titem.contentPosition = this.contentPosition;\n\t\t}\n\n\t\tif (directionChanged) {\n\t\t\t// super hacky way to ensure all elements that have a direction changed are re-rendered\n\t\t\tawait new Promise(resolve => setTimeout(resolve, 200));\n\t\t}\n\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\tif (i < items.length - 1) {\n\t\t\t\tlet nextItem = item.nextElementSibling;\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\tconst stepperLine = document.createElement('p-stepper-line');\n\t\t\t\t\tthis._el.insertBefore(stepperLine, nextItem);\n\t\t\t\t\tthis._setStepperLineData(stepperLine, item, nextItem, i, activeStep);\n\n\t\t\t\t\tconst previous = stepperLine.previousElementSibling;\n\t\t\t\t\tif (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\t\tprevious.remove();\n\t\t\t\t\t}\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\tconst stepperLine = nextItem;\n\t\t\t\t\tnextItem = nextItem.nextElementSibling;\n\n\t\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\t\tthis._setStepperLineData(\n\t\t\t\t\t\t\tstepperLine,\n\t\t\t\t\t\t\titem,\n\t\t\t\t\t\t\tnextItem,\n\t\t\t\t\t\t\ti,\n\t\t\t\t\t\t\tactiveStep\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (i > 0) {\n\t\t\t\tconst previousItem = item.previousElementSibling;\n\t\t\t\tif (\n\t\t\t\t\tpreviousItem &&\n\t\t\t\t\tpreviousItem.tagName.toLowerCase() === 'p-stepper-line'\n\t\t\t\t) {\n\t\t\t\t\tpreviousItem.direction = this.direction;\n\t\t\t\t\tpreviousItem.active = item.active || item.finished;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst lines = this._el.querySelectorAll(\n\t\t\t'p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child'\n\t\t);\n\t\tfor (let j = lines.length - 1; j >= 0; j--) {\n\t\t\tconst line = lines.item(j);\n\t\t\tline.remove();\n\t\t}\n\t};\n\n\tprivate _setStepperLineData = (\n\t\tstepperLine: HTMLPStepperLineElement,\n\t\titem: HTMLPStepperItemElement,\n\t\tnextItem: HTMLPStepperItemElement,\n\t\ti: number,\n\t\tactiveStep: number\n\t) => {\n\t\tlet heightDiff = item.clientHeight - 24;\n\t\tlet heightDiffNext = nextItem.clientHeight - 24;\n\n\t\tif(this.align === 'center') {\n\t\t\theightDiff = heightDiff / 2;\n\t\t\theightDiffNext = heightDiffNext / 2;\n\t\t}\n\n\t\tstepperLine.direction = this.direction;\n\t\tstepperLine.active = i < activeStep;\n\n\t\tif (heightDiff > 0 && this.direction === 'vertical') {\n\t\t\tlet totalHeight = 0;\n\n\t\t\tstepperLine.style.marginTop = \"0\";\n\t\t\tstepperLine.style.marginBottom= \"0\";\n\n\t\t\tif(this.align === 'start' || this.align === 'center') {\n\t\t\t\tstepperLine.style.marginTop = `-${heightDiff / 16}rem`;\n\t\t\t\ttotalHeight += heightDiff;\n\t\t\t}\n\n\t\t\tif(this.align === 'center' || this.align===\"end\") {\n\t\t\t\tstepperLine.style.marginBottom = `-${heightDiffNext / 16}rem`;\n\t\t\t\ttotalHeight += heightDiffNext;\n\t\t\t}\n\n\t\t\tstepperLine.style.minHeight = `calc(${\n\t\t\t\t(totalHeight / 16)\n\t\t\t}rem)`;\n\t\t}\n\t};\n\n\tcomponentDidLoad() {\n\t\tthis._resizeObserver = new ResizeObserver(() => this._generateStepsOnce());\n\t\tthis._resizeObserver.observe(this._el);\n\t}\n\n\tdisconnectCallback() {\n\t\tif (this._resizeObserver) {\n\t\t\tthis._resizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<div class={stepper({ direction: this.direction })}>\n\t\t\t\t<slot onSlotchange={() => this._generateStepsOnce()} />\n\t\t\t</div>\n\t\t);\n\t}\n\n\t@Watch('align')\n\tprotected _onAlignChange() {\n\t\tthis._generateStepsOnce();\n\t}\n\n\t@Watch('direction')\n\tprotected _onDirectionChange() {\n\t\tthis._generateStepsOnce();\n\t}\n\n\t@Watch('activeStep')\n\tprotected _onActiveStepChange() {\n\t\tthis._generateStepsOnce();\n\t}\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,mBAAmB,GAAG,gYAAgY;;ACG5Z,MAAM,OAAO,GAAG,GAAG,CAClB,CAAC,YAAY,CAAC,EACd;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,SAAS,EAAE;AACV,YAAA,QAAQ,EAAE,uCAAuC;AACjD,YAAA,UAAU,EAAE;AACZ,SAAA;AACD,QAAA,eAAe,EAAE;AAChB,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,GAAG,EAAE;AACL;AACD,KAAA;AACD,IAAA,gBAAgB,EAAE,CAAC;AAClB,YAAA,SAAS,EAAE,UAAU;AACrB,YAAA,eAAe,EAAE,OAAO;AACxB,YAAA,KAAK,EAAE;SACP;AACD,CAAA,CACD;MAOY,OAAO,GAAA,MAAA;;;;AACnB;;AAEG;IACK,UAAU,GAAW,CAAC;AAE9B;;AAEG;IACK,gBAAgB,GAAY,IAAI;AAExC;;AAEG;IACK,SAAS,GAA8B,YAAY;AAE3D;;AAEG;IACK,KAAK,GAA+B,QAAQ;AAEpD;;AAEG;IACK,eAAe,GAAo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L,QACC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,EAAA,EACjD,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,YAAY,EAAE,MAAM,IAAI,CAAC,kBAAkB,EAAE,EAAA,CAAI,CAClD;;IAKE,cAAc,GAAA;QACvB,IAAI,CAAC,kBAAkB,EAAE;;IAIhB,kBAAkB,GAAA;QAC3B,IAAI,CAAC,kBAAkB,EAAE;;IAIhB,mBAAmB,GAAA;QAC5B,IAAI,CAAC,kBAAkB,EAAE;;;;;;;;;;;;"}
|
|
@@ -7,7 +7,7 @@ const TabContainer = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '43e225204eb027cd3f5f2eae92c2271def487d03', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: 'ef3ac1ad190bda824b77c945f67605b995f128a0', class: 'z-10 flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: 'ef54021a7401f93cfc9b850e84c4aac84aab507c' })), h("p-divider", { key: 'c584d7fcd4538c65993a07e39964146a2be6ad1c', class: 'absolute bottom-0 left-0 m-0 w-full' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
TabContainer.style = tabContainerComponentCss;
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h } from './index-DhGo7hbh.js';
|
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import './clsx-ChV9xqsO.js';
|
|
4
4
|
|
|
5
|
-
const tabItemComponentCss = ".flex{display:flex!important}.h-10{height:2.5rem!important}.whitespace-nowrap{white-space:nowrap!important}.border-0{border-width:0!important}.border-b-2{border-bottom-width:2px!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(
|
|
5
|
+
const tabItemComponentCss = ".flex{display:flex!important}.h-10{height:2.5rem!important}.whitespace-nowrap{white-space:nowrap!important}.border-0{border-width:0!important}.border-b-2{border-bottom-width:2px!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(255 192 203/var(--tw-border-opacity,1))!important}.border-transparent{border-color:transparent!important}.font-semibold{font-weight:600!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(255 192 203/var(--tw-text-opacity,1))!important}*{box-sizing:border-box}:host{--tw-content:\" \"}.static{position:static!important}.h-8{height:2rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.justify-between{justify-content:space-between!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-dark-teal-400{--tw-text-opacity:1!important;color:rgb(51 116 109/var(--tw-text-opacity,1))!important}.text-dark-teal-600{--tw-text-opacity:1!important;color:rgb(0 72 64/var(--tw-text-opacity,1))!important}.after\\:h-\\[2px\\]:after{content:var(--tw-content)!important;height:2px!important}.after\\:bg-dark-teal-600:after{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important;content:var(--tw-content)!important}.after\\:bg-transparent:after{background-color:transparent!important;content:var(--tw-content)!important}.hover\\:after\\:bg-dark-teal-100:hover:after{--tw-bg-opacity:1!important;background-color:rgb(204 220 218/var(--tw-bg-opacity,1))!important;content:var(--tw-content)!important}";
|
|
6
6
|
|
|
7
7
|
const item = cva([
|
|
8
8
|
'text-base h-8 flex flex-col justify-between',
|
|
@@ -25,7 +25,7 @@ const TabItem = class {
|
|
|
25
25
|
*/
|
|
26
26
|
active = false;
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '8d17525daf6b9660dd94afd4fa9041db70cf630f', class: item({ active: this.active }) }, h("slot", { key: 'f1d51698f037d577418d77df9d71da3a488b3e22' })));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
TabItem.style = tabItemComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-tab-item.entry.js","sources":["src/components/atoms/tab/item/tab-item.component.css?tag=p-tab-item&encapsulation=shadow","src/components/atoms/tab/item/tab-item.component.tsx"],"sourcesContent":[":host {\n\t--tw-content: ' ';\n}\n\n/* :host { */\n/* \t@apply flex h-10 items-center; */\n/* \t@apply whitespace-nowrap font-semibold text-storm-medium; */\n/* \t@apply cursor-pointer; */\n/* \t@apply border-0 border-b-2 border-transparent #{!important}; */\n/* } */\n/**/\n/* :host(.active) { */\n/* \t@apply border-indigo text-indigo #{!important}; */\n/* } */\n","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst item = cva(\n\t[\n\t\t'text-base h-8 flex flex-col justify-between',\n\t\t'cursor-pointer',\n\t\t\"after:h-[2px] after:content-[' ']\",\n\t],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\ttrue: 'after:bg-dark-teal-600 text-dark-teal-600',\n\t\t\t\tfalse:\n\t\t\t\t\t'text-dark-teal-400 after:bg-transparent hover:after:bg-dark-teal-100',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-tab-item',\n\tstyleUrl: 'tab-item.component.css',\n\tshadow: true,\n})\nexport class TabItem {\n\t/**\n\t * Wether the tab item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div class={item({ active: this.active })}>\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,mBAAmB,GAAG,
|
|
1
|
+
{"version":3,"file":"p-tab-item.entry.js","sources":["src/components/atoms/tab/item/tab-item.component.css?tag=p-tab-item&encapsulation=shadow","src/components/atoms/tab/item/tab-item.component.tsx"],"sourcesContent":[":host {\n\t--tw-content: ' ';\n}\n\n/* :host { */\n/* \t@apply flex h-10 items-center; */\n/* \t@apply whitespace-nowrap font-semibold text-storm-medium; */\n/* \t@apply cursor-pointer; */\n/* \t@apply border-0 border-b-2 border-transparent #{!important}; */\n/* } */\n/**/\n/* :host(.active) { */\n/* \t@apply border-indigo text-indigo #{!important}; */\n/* } */\n","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst item = cva(\n\t[\n\t\t'text-base h-8 flex flex-col justify-between',\n\t\t'cursor-pointer',\n\t\t\"after:h-[2px] after:content-[' ']\",\n\t],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\ttrue: 'after:bg-dark-teal-600 text-dark-teal-600',\n\t\t\t\tfalse:\n\t\t\t\t\t'text-dark-teal-400 after:bg-transparent hover:after:bg-dark-teal-100',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-tab-item',\n\tstyleUrl: 'tab-item.component.css',\n\tshadow: true,\n})\nexport class TabItem {\n\t/**\n\t * Wether the tab item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div class={item({ active: this.active })}>\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;;;AAAA,MAAM,mBAAmB,GAAG,ghDAAghD;;ACG5iD,MAAM,IAAI,GAAG,GAAG,CACf;IACC,6CAA6C;IAC7C,gBAAgB;IAChB,mCAAmC;CACnC,EACD;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,MAAM,EAAE;AACP,YAAA,IAAI,EAAE,2CAA2C;AACjD,YAAA,KAAK,EACJ,sEAAsE;AACvE,SAAA;AACD,KAAA;AACD,CAAA,CACD;MAOY,OAAO,GAAA,MAAA;;;;AACnB;;AAEG;IACK,MAAM,GAAY,KAAK;IAE/B,MAAM,GAAA;AACL,QAAA,QACC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,EAAA,EACxC,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH;;;;;;;"}
|
|
@@ -41,9 +41,9 @@ const ToastContainer = class {
|
|
|
41
41
|
*/
|
|
42
42
|
placement = 'top-end';
|
|
43
43
|
render() {
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '97a53b6f33ed71dbf5976838eb114819fd393b63', class: container({
|
|
45
45
|
placement: this.placement,
|
|
46
|
-
}) }, h("slot", { key: '
|
|
46
|
+
}) }, h("slot", { key: 'c50b78409fd2c1d6a78f7c9099a9323abe33f315' })));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
ToastContainer.style = toastContainerComponentCss;
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h, H as Host } from './index-D
|
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import './clsx-ChV9xqsO.js';
|
|
4
4
|
|
|
5
|
-
const toastComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:.5rem!important}.border-l-4{border-left-width:4px!important}.border-solid{border-style:solid!important}.border-l-negative{--tw-border-opacity:1!important;border-left-color:rgb(
|
|
5
|
+
const toastComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:.5rem!important}.border-l-4{border-left-width:4px!important}.border-solid{border-style:solid!important}.border-l-negative{--tw-border-opacity:1!important;border-left-color:rgb(255 20 147/var(--tw-border-opacity,1))!important}.border-l-positive{--tw-border-opacity:1!important;border-left-color:rgb(173 255 47/var(--tw-border-opacity,1))!important}.border-l-unbiased{--tw-border-opacity:1!important;border-left-color:rgb(255 255 0/var(--tw-border-opacity,1))!important}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.shadow-3{--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color);background-color:rgb(0 72 64/var(--tw-bg-opacity,1));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;gap:.5rem;padding:.5rem}.static{position:static!important}.m-0{margin:0!important}.h-9{height:2.25rem!important}.w-\\[2px\\]{width:2px!important}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)!important}.min-w-0{min-width:0!important}.flex-shrink-0{flex-shrink:0!important}.flex-col{flex-direction:column!important}.gap-2{gap:.5rem!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.bg-amber-500{--tw-bg-opacity:1!important;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))!important}.bg-negative-red-500{--tw-bg-opacity:1!important;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))!important}.bg-positive-green-500{--tw-bg-opacity:1!important;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-800{--tw-bg-opacity:1!important;background-color:rgb(189 140 255/var(--tw-bg-opacity,1))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-dark-teal-200{--tw-text-opacity:1!important;color:rgb(153 185 182/var(--tw-text-opacity,1))!important}.text-white-500{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";
|
|
6
6
|
|
|
7
7
|
const indicator = cva('w-[2px] rounded-full h-9 flex-shrink-0', {
|
|
8
8
|
variants: {
|
|
@@ -56,7 +56,7 @@ const Toast = class {
|
|
|
56
56
|
*/
|
|
57
57
|
action;
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '94bb3b8bb8035eec6dc12deccf040279c805e644', onClick: () => this._onClick() }, h("div", { key: '82686867da2cb5500ad5d21410e319cf642504a8', class: indicator({ variant: this.variant }) }), h("div", { key: '37e8453d196f3f737f9b9ba125c5a021b8256162', class: content() }, h("div", { key: '04e856865d3ac8c4bd0bc87a4b84e7b85654c05f', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '93c3d8a2a364d5f5ba62159dd727ec9c19b58217', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-white-500' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '491a7fe9c6619a0cfbf2957abaf5de2c9cb690b9', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-dark-teal-200' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("p-button", { key: '07c30b20730769fbf5bd5c7ba7d02d094d391f3e', variant: 'transparent', iconOnly: true, icon: this.actionIcon, iconFlip: this.actionIconFlip, iconRotate: this.actionIconRotate, class: 'flex-shrink-0' })))));
|
|
60
60
|
}
|
|
61
61
|
_onClick() {
|
|
62
62
|
if (this.enableAction) {
|
|
@@ -101,11 +101,11 @@ const Toggle = class {
|
|
|
101
101
|
}
|
|
102
102
|
render() {
|
|
103
103
|
const id = this.id?.length ? this.id : this._nonce;
|
|
104
|
-
return (h(Host, { key: '
|
|
104
|
+
return (h(Host, { key: '0a065754deda99b08f8ae159cd4e8087519fb6cf', class: 'p-checkbox' }, h("label", { key: '61fb7552c58235319632f3923fe7622c4d1f1f83', htmlFor: id, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: 'cbdb173120f6c8e7d8cd69dfba0f71b8efc409d8', class: 'group relative flex flex-shrink-0 items-center' }, h("input", { key: '50f7c7b13108c1fa423058dbd893e316627a0ae3', class: checkbox({
|
|
105
105
|
disabled: asBoolean(this.disabled),
|
|
106
|
-
}), type: 'checkbox', id: id, name: this.name, required: this.required, checked: !!this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
106
|
+
}), type: 'checkbox', id: id, name: this.name, required: this.required, checked: !!this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '5469b37cb866cabd63eb4124eba543b2eaadff43', class: circle({
|
|
107
107
|
disabled: this.disabled,
|
|
108
|
-
}) })), h("slot", { key: '
|
|
108
|
+
}) })), h("slot", { key: '2d5fe2783703211a3e055cb2787da2f4dd1b6836' }))));
|
|
109
109
|
}
|
|
110
110
|
_onChange(ev) {
|
|
111
111
|
if (asBoolean(this.disabled)) {
|