@paperless/core 3.4.1 → 3.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/p-099fed2a.entry.js +1 -0
- package/dist/build/p-0b4b4cf7.entry.js +1 -0
- package/dist/build/p-102da1de.entry.js +1 -0
- package/dist/build/p-16c98151.entry.js +1 -0
- package/dist/build/p-187a4dda.entry.js +1 -0
- package/dist/build/p-1b85b4f5.entry.js +1 -0
- package/dist/build/p-1be02ecd.entry.js +1 -0
- package/dist/build/p-1c6555d0.entry.js +1 -0
- package/dist/build/p-2a9e2f97.entry.js +1 -0
- package/dist/build/p-2c0ca302.entry.js +1 -0
- package/dist/build/p-2eb0963d.entry.js +1 -0
- package/dist/{paperless/p-c96befa1.entry.js → build/p-2f9a3144.entry.js} +2 -2
- package/dist/build/p-31869c91.entry.js +1 -0
- package/dist/build/p-33c965ed.entry.js +1 -0
- package/dist/build/p-33fc3203.entry.js +1 -0
- package/dist/build/p-413e2751.entry.js +1 -0
- package/dist/build/p-4baa94c0.entry.js +1 -0
- package/dist/build/p-4cd9344a.entry.js +1 -0
- package/dist/build/p-5f2b2731.entry.js +1 -0
- package/dist/build/p-62f87c18.entry.js +1 -0
- package/dist/build/p-63ef1d8d.entry.js +1 -0
- package/dist/build/p-6412710a.entry.js +1 -0
- package/dist/build/p-6b1c18a6.entry.js +1 -0
- package/dist/build/p-748c6ed3.entry.js +1 -0
- package/dist/build/p-7be1c70d.entry.js +1 -0
- package/dist/build/p-7c4f3d89.entry.js +1 -0
- package/dist/build/p-8c1a3795.entry.js +1 -0
- package/dist/build/p-8e7069b0.entry.js +1 -0
- package/dist/build/p-99522e10.entry.js +1 -0
- package/dist/build/p-aca48431.entry.js +1 -0
- package/dist/build/p-bcfbb856.entry.js +1 -0
- package/dist/build/{p-2416d737.js → p-c875a76d.js} +1 -1
- package/dist/build/p-d6958e7a.entry.js +1 -0
- package/dist/build/p-dbac42ad.entry.js +1 -0
- package/dist/build/p-df709c40.entry.js +1 -0
- package/dist/build/p-e00be7e7.entry.js +1 -0
- package/dist/build/p-e021a548.entry.js +1 -0
- package/dist/build/p-e2219fa7.entry.js +1 -0
- package/dist/build/p-ecc80c01.entry.js +1 -0
- package/dist/build/p-f13f7779.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +20 -20
- package/dist/cjs/p-avatar.cjs.entry.js +4 -4
- package/dist/cjs/p-backdrop.cjs.entry.js +13 -13
- package/dist/cjs/p-badge_3.cjs.entry.js +23 -23
- package/dist/cjs/p-button_3.cjs.entry.js +74 -74
- package/dist/cjs/p-calendar.cjs.entry.js +8 -8
- package/dist/cjs/p-card-container.cjs.entry.js +12 -12
- package/dist/cjs/p-card-header.cjs.entry.js +7 -7
- package/dist/cjs/p-checkbox_3.cjs.entry.js +39 -39
- package/dist/cjs/p-content-slider.cjs.entry.js +12 -12
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +3 -3
- package/dist/cjs/p-divider.cjs.entry.js +18 -18
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +16 -15
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +77 -77
- package/dist/cjs/p-empty-state_8.cjs.entry.js +56 -54
- package/dist/cjs/p-field_3.cjs.entry.js +51 -51
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +13 -13
- package/dist/cjs/p-info-panel.cjs.entry.js +39 -39
- package/dist/cjs/p-label.cjs.entry.js +12 -11
- package/dist/cjs/p-layout.cjs.entry.js +4 -4
- package/dist/cjs/p-listing-item.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js +31 -31
- package/dist/cjs/p-navbar.cjs.entry.js +17 -17
- package/dist/cjs/p-navigation-item.cjs.entry.js +15 -15
- package/dist/cjs/p-navigation-title.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +12 -12
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-radio.cjs.entry.js +31 -31
- package/dist/cjs/p-range.cjs.entry.js +4 -4
- package/dist/cjs/p-select.cjs.entry.js +15 -15
- package/dist/cjs/p-smile.cjs.entry.js +4 -4
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +16 -16
- package/dist/cjs/p-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js +17 -17
- package/dist/cjs/p-toast-container.cjs.entry.js +7 -7
- package/dist/cjs/p-toast.cjs.entry.js +14 -14
- package/dist/cjs/p-toggle.cjs.entry.js +48 -48
- package/dist/cjs/p-tooltip.cjs.entry.js +9 -9
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +4 -4
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +13 -13
- package/dist/collection/components/atoms/badge/badge.component.js +7 -7
- package/dist/collection/components/atoms/card/container/card-container.component.js +12 -12
- package/dist/collection/components/atoms/card/header/card-header.component.css +1 -1
- package/dist/collection/components/atoms/card/header/card-header.component.js +6 -6
- package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -1
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +38 -38
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +17 -17
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +9 -8
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +7 -7
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +60 -60
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +12 -12
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +38 -38
- package/dist/collection/components/atoms/layout/layout.component.js +4 -4
- package/dist/collection/components/atoms/listing/item/listing-item.component.css +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/loader/loader.component.js +6 -6
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +11 -11
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +11 -11
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +7 -7
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.css +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 +17 -17
- package/dist/collection/components/atoms/radio/radio.component.css +1 -1
- package/dist/collection/components/atoms/radio/radio.component.js +30 -30
- package/dist/collection/components/atoms/segment/container/segment-container.component.css +1 -1
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +14 -14
- package/dist/collection/components/atoms/smile/smile.component.js +4 -4
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +16 -16
- package/dist/collection/components/atoms/tab/container/tab-container.component.css +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +17 -17
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +6 -6
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +7 -7
- package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.js +47 -47
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +8 -8
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +19 -19
- package/dist/collection/components/molecules/button/button.component.js +68 -68
- package/dist/collection/components/molecules/calendar/calendar.component.js +8 -8
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +12 -12
- package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/empty-state/empty-state.component.css +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +1 -1
- package/dist/collection/components/molecules/field/container/field-container.component.css +1 -1
- package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
- package/dist/collection/components/molecules/field/field/field.component.js +40 -40
- package/dist/collection/components/molecules/label/label.component.js +12 -11
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +15 -15
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.css +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +1 -1
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +10 -10
- package/dist/collection/components/molecules/profile/profile.component.css +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.css +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.css +1 -1
- package/dist/collection/components/molecules/select/select.component.js +14 -14
- package/dist/collection/components/molecules/table/cell/table-cell.component.css +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 +9 -9
- package/dist/collection/components/molecules/table/header/table-header.component.css +1 -1
- package/dist/collection/components/molecules/table/header/table-header.component.js +24 -22
- package/dist/collection/components/molecules/table/row/table-row.component.js +13 -13
- package/dist/collection/components/molecules/toast/toast.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +13 -13
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +16 -16
- package/dist/components/p-06SzeIsG.js +1 -0
- package/dist/components/p-2yaxaWU2.js +1 -0
- package/dist/components/p-48UlhVtz.js +1 -0
- package/dist/components/p-AkD55vN_.js +1 -0
- package/dist/components/{p-BfGdPBSg.js → p-B-BsxOeK.js} +1 -1
- package/dist/components/p-B0rHem3C.js +1 -0
- package/dist/components/p-B9s4_6Vm.js +1 -0
- package/dist/components/p-BBAR0LE7.js +1 -0
- package/dist/components/p-BCddfleq.js +1 -0
- package/dist/components/{p-B4eE9yEE.js → p-BEhC6raw.js} +1 -1
- package/dist/components/p-BEu_Xlbv.js +1 -0
- package/dist/components/p-BaiRAcrb.js +1 -0
- package/dist/components/p-BmU3MAfH.js +1 -0
- package/dist/components/p-C16aqi4P.js +1 -0
- package/dist/components/p-CHER4MCx.js +1 -0
- package/dist/components/p-CcNA1hkp.js +1 -0
- package/dist/components/p-CpYDgn2m.js +1 -0
- package/dist/components/p-CrAZWi4n.js +1 -0
- package/dist/components/p-Cr_WB0kg.js +1 -0
- package/dist/components/p-Crasy6LB.js +1 -0
- package/dist/components/p-CxOhqNqH.js +1 -0
- package/dist/components/p-D5t-6wkl.js +1 -0
- package/dist/components/p-D8faiybE.js +1 -0
- package/dist/components/p-DDV-lx3_.js +1 -0
- package/dist/components/p-DP6H82uQ.js +1 -0
- package/dist/components/p-DR1auS78.js +1 -0
- package/dist/components/{p-CDu0amfB.js → p-DT72kk3I.js} +1 -1
- package/dist/components/p-DWHcD5b-.js +1 -0
- package/dist/components/p-DlQumf-0.js +1 -0
- package/dist/components/p-DmzyuekN.js +1 -0
- package/dist/components/p-QJoR_dmN.js +1 -0
- package/dist/components/p-SYK2C-7G.js +1 -0
- package/dist/components/p-ShAy0ruV.js +1 -0
- package/dist/components/p-TfYQFmRD.js +1 -0
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.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 +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-iLGr9rDU.js +1 -0
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- 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 +1 -1
- package/dist/components/p-nGuULFe2.js +1 -0
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-navigation-title.js +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-profile.js +1 -1
- package/dist/components/p-qeQ4j6y4.js +1 -0
- package/dist/components/p-radio.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.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 +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/p-attachment.entry.js +20 -20
- package/dist/esm/p-avatar.entry.js +4 -4
- package/dist/esm/p-backdrop.entry.js +13 -13
- package/dist/esm/p-badge_3.entry.js +23 -23
- package/dist/esm/p-button_3.entry.js +74 -74
- package/dist/esm/p-calendar.entry.js +8 -8
- package/dist/esm/p-card-container.entry.js +12 -12
- package/dist/esm/p-card-header.entry.js +7 -7
- package/dist/esm/p-checkbox_3.entry.js +39 -39
- package/dist/esm/p-content-slider.entry.js +12 -12
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +3 -3
- package/dist/esm/p-divider.entry.js +18 -18
- package/dist/esm/p-drawer-body_3.entry.js +16 -15
- package/dist/esm/p-dropdown-menu-item_2.entry.js +77 -77
- package/dist/esm/p-empty-state_8.entry.js +56 -54
- package/dist/esm/p-field_3.entry.js +51 -51
- package/dist/esm/p-floating-menu-item.entry.js +13 -13
- package/dist/esm/p-info-panel.entry.js +39 -39
- package/dist/esm/p-label.entry.js +12 -11
- package/dist/esm/p-layout.entry.js +4 -4
- package/dist/esm/p-listing-item.entry.js +2 -2
- package/dist/esm/p-modal-body_4.entry.js +31 -31
- package/dist/esm/p-navbar.entry.js +17 -17
- package/dist/esm/p-navigation-item.entry.js +15 -15
- package/dist/esm/p-navigation-title.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +12 -12
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-radio.entry.js +31 -31
- package/dist/esm/p-range.entry.js +4 -4
- package/dist/esm/p-select.entry.js +15 -15
- package/dist/esm/p-smile.entry.js +4 -4
- package/dist/esm/p-stepper-item_2.entry.js +16 -16
- package/dist/esm/p-tab-container.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js +17 -17
- package/dist/esm/p-toast-container.entry.js +7 -7
- package/dist/esm/p-toast.entry.js +14 -14
- package/dist/esm/p-toggle.entry.js +48 -48
- package/dist/esm/p-tooltip.entry.js +9 -9
- package/dist/index.html +1 -1
- package/dist/paperless/p-099fed2a.entry.js +1 -0
- package/dist/paperless/p-0b4b4cf7.entry.js +1 -0
- package/dist/paperless/p-102da1de.entry.js +1 -0
- package/dist/paperless/p-16c98151.entry.js +1 -0
- package/dist/paperless/p-187a4dda.entry.js +1 -0
- package/dist/paperless/p-1b85b4f5.entry.js +1 -0
- package/dist/paperless/p-1be02ecd.entry.js +1 -0
- package/dist/paperless/p-1c6555d0.entry.js +1 -0
- package/dist/paperless/p-2a9e2f97.entry.js +1 -0
- package/dist/paperless/p-2c0ca302.entry.js +1 -0
- package/dist/paperless/p-2eb0963d.entry.js +1 -0
- package/dist/{build/p-c96befa1.entry.js → paperless/p-2f9a3144.entry.js} +2 -2
- package/dist/paperless/p-31869c91.entry.js +1 -0
- package/dist/paperless/p-33c965ed.entry.js +1 -0
- package/dist/paperless/p-33fc3203.entry.js +1 -0
- package/dist/paperless/p-413e2751.entry.js +1 -0
- package/dist/paperless/p-4baa94c0.entry.js +1 -0
- package/dist/paperless/p-4cd9344a.entry.js +1 -0
- package/dist/paperless/p-5f2b2731.entry.js +1 -0
- package/dist/paperless/p-62f87c18.entry.js +1 -0
- package/dist/paperless/p-63ef1d8d.entry.js +1 -0
- package/dist/paperless/p-6412710a.entry.js +1 -0
- package/dist/paperless/p-6b1c18a6.entry.js +1 -0
- package/dist/paperless/p-748c6ed3.entry.js +1 -0
- package/dist/paperless/p-7be1c70d.entry.js +1 -0
- package/dist/paperless/p-7c4f3d89.entry.js +1 -0
- package/dist/paperless/p-8c1a3795.entry.js +1 -0
- package/dist/paperless/p-8e7069b0.entry.js +1 -0
- package/dist/paperless/p-99522e10.entry.js +1 -0
- package/dist/paperless/p-aca48431.entry.js +1 -0
- package/dist/paperless/p-bcfbb856.entry.js +1 -0
- package/dist/paperless/p-d6958e7a.entry.js +1 -0
- package/dist/paperless/p-dbac42ad.entry.js +1 -0
- package/dist/paperless/p-df709c40.entry.js +1 -0
- package/dist/paperless/p-e00be7e7.entry.js +1 -0
- package/dist/paperless/p-e021a548.entry.js +1 -0
- package/dist/paperless/p-e2219fa7.entry.js +1 -0
- package/dist/paperless/p-ecc80c01.entry.js +1 -0
- package/dist/paperless/p-f13f7779.entry.js +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/hydrate/index.js +751 -747
- package/hydrate/index.mjs +751 -747
- package/package.json +1 -1
- package/dist/build/p-0686342c.entry.js +0 -1
- package/dist/build/p-0fe16faa.entry.js +0 -1
- package/dist/build/p-17c4c0c5.entry.js +0 -1
- package/dist/build/p-3d756173.entry.js +0 -1
- package/dist/build/p-4cff56e8.entry.js +0 -1
- package/dist/build/p-4d137a6e.entry.js +0 -1
- package/dist/build/p-5770dbc8.entry.js +0 -1
- package/dist/build/p-5831f1c7.entry.js +0 -1
- package/dist/build/p-58b45104.entry.js +0 -1
- package/dist/build/p-5d0011d0.entry.js +0 -1
- package/dist/build/p-5eba855f.entry.js +0 -1
- package/dist/build/p-6ba2d6db.entry.js +0 -1
- package/dist/build/p-6e4149f4.entry.js +0 -1
- package/dist/build/p-725b81df.entry.js +0 -1
- package/dist/build/p-79648998.entry.js +0 -1
- package/dist/build/p-7c4a912a.entry.js +0 -1
- package/dist/build/p-7d972093.entry.js +0 -1
- package/dist/build/p-7dbbee4d.entry.js +0 -1
- package/dist/build/p-8b383bce.entry.js +0 -1
- package/dist/build/p-8b7970c3.entry.js +0 -1
- package/dist/build/p-8c62ce07.entry.js +0 -1
- package/dist/build/p-90837322.entry.js +0 -1
- package/dist/build/p-90ae5ad7.entry.js +0 -1
- package/dist/build/p-93dcdeda.entry.js +0 -1
- package/dist/build/p-a2826b34.entry.js +0 -1
- package/dist/build/p-a7d84ee9.entry.js +0 -1
- package/dist/build/p-ad4bf0a8.entry.js +0 -1
- package/dist/build/p-aebdd434.entry.js +0 -1
- package/dist/build/p-aed1fd15.entry.js +0 -1
- package/dist/build/p-baa9f32b.entry.js +0 -1
- package/dist/build/p-c465f763.entry.js +0 -1
- package/dist/build/p-c5120c4d.entry.js +0 -1
- package/dist/build/p-c6d53712.entry.js +0 -1
- package/dist/build/p-c795bde9.entry.js +0 -1
- package/dist/build/p-ce369eb2.entry.js +0 -1
- package/dist/build/p-ce822727.entry.js +0 -1
- package/dist/build/p-e17c452a.entry.js +0 -1
- package/dist/build/p-eb201a9b.entry.js +0 -1
- package/dist/components/p-5uHCPmGk.js +0 -1
- package/dist/components/p-BHiyb8ip.js +0 -1
- package/dist/components/p-BNP0EWBh.js +0 -1
- package/dist/components/p-Bda4K1Yk.js +0 -1
- package/dist/components/p-BeSy-okV.js +0 -1
- package/dist/components/p-Bs0UbjiW.js +0 -1
- package/dist/components/p-C31KuY0d.js +0 -1
- package/dist/components/p-C7N1zgx3.js +0 -1
- package/dist/components/p-CE8E8FBm.js +0 -1
- package/dist/components/p-CJJ1D4_g.js +0 -1
- package/dist/components/p-CQvBODGb.js +0 -1
- package/dist/components/p-CTO6yoKa.js +0 -1
- package/dist/components/p-Cb4CJncP.js +0 -1
- package/dist/components/p-CeTgyWQk.js +0 -1
- package/dist/components/p-Cfo-JRkk.js +0 -1
- package/dist/components/p-Chn3zUDI.js +0 -1
- package/dist/components/p-Cjm1FJmm.js +0 -1
- package/dist/components/p-Cs7yJK6D.js +0 -1
- package/dist/components/p-Cu6GBVmu.js +0 -1
- package/dist/components/p-CunBMmUT.js +0 -1
- package/dist/components/p-CxCtRzMh.js +0 -1
- package/dist/components/p-CyNjpuPx.js +0 -1
- package/dist/components/p-DIyH3jA1.js +0 -1
- package/dist/components/p-DeBYujHG.js +0 -1
- package/dist/components/p-DetQXQMw.js +0 -1
- package/dist/components/p-Dgla_G75.js +0 -1
- package/dist/components/p-DozUOKTG.js +0 -1
- package/dist/components/p-Fr1e2Ydf.js +0 -1
- package/dist/components/p-TRbYWjl9.js +0 -1
- package/dist/components/p-Tct8krSb.js +0 -1
- package/dist/components/p-UHCQc1G8.js +0 -1
- package/dist/components/p-YSzGS0Cj.js +0 -1
- package/dist/components/p-_KqQOKJS.js +0 -1
- package/dist/components/p-ezohBi3D.js +0 -1
- package/dist/paperless/p-0686342c.entry.js +0 -1
- package/dist/paperless/p-0fe16faa.entry.js +0 -1
- package/dist/paperless/p-17c4c0c5.entry.js +0 -1
- package/dist/paperless/p-3d756173.entry.js +0 -1
- package/dist/paperless/p-4cff56e8.entry.js +0 -1
- package/dist/paperless/p-4d137a6e.entry.js +0 -1
- package/dist/paperless/p-5770dbc8.entry.js +0 -1
- package/dist/paperless/p-5831f1c7.entry.js +0 -1
- package/dist/paperless/p-58b45104.entry.js +0 -1
- package/dist/paperless/p-5d0011d0.entry.js +0 -1
- package/dist/paperless/p-5eba855f.entry.js +0 -1
- package/dist/paperless/p-6ba2d6db.entry.js +0 -1
- package/dist/paperless/p-6e4149f4.entry.js +0 -1
- package/dist/paperless/p-725b81df.entry.js +0 -1
- package/dist/paperless/p-79648998.entry.js +0 -1
- package/dist/paperless/p-7c4a912a.entry.js +0 -1
- package/dist/paperless/p-7d972093.entry.js +0 -1
- package/dist/paperless/p-7dbbee4d.entry.js +0 -1
- package/dist/paperless/p-8b383bce.entry.js +0 -1
- package/dist/paperless/p-8b7970c3.entry.js +0 -1
- package/dist/paperless/p-8c62ce07.entry.js +0 -1
- package/dist/paperless/p-90837322.entry.js +0 -1
- package/dist/paperless/p-90ae5ad7.entry.js +0 -1
- package/dist/paperless/p-93dcdeda.entry.js +0 -1
- package/dist/paperless/p-a2826b34.entry.js +0 -1
- package/dist/paperless/p-a7d84ee9.entry.js +0 -1
- package/dist/paperless/p-ad4bf0a8.entry.js +0 -1
- package/dist/paperless/p-aebdd434.entry.js +0 -1
- package/dist/paperless/p-aed1fd15.entry.js +0 -1
- package/dist/paperless/p-baa9f32b.entry.js +0 -1
- package/dist/paperless/p-c465f763.entry.js +0 -1
- package/dist/paperless/p-c5120c4d.entry.js +0 -1
- package/dist/paperless/p-c6d53712.entry.js +0 -1
- package/dist/paperless/p-c795bde9.entry.js +0 -1
- package/dist/paperless/p-ce369eb2.entry.js +0 -1
- package/dist/paperless/p-ce822727.entry.js +0 -1
- package/dist/paperless/p-e17c452a.entry.js +0 -1
- package/dist/paperless/p-eb201a9b.entry.js +0 -1
|
@@ -4,7 +4,7 @@ import { T as ThemedHost } from './themed-host.component-CUNsbvgN.js';
|
|
|
4
4
|
import './clsx-ChV9xqsO.js';
|
|
5
5
|
import './state-BJbOyUuL.js';
|
|
6
6
|
|
|
7
|
-
const profileComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.flex{display:flex}.h-10{height:2.5rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.py-1{padding-bottom:.25rem;padding-top:.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}`;
|
|
7
|
+
const profileComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.my-0{margin-bottom:0;margin-top:0}.flex{display:flex}.h-10{height:2.5rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
8
8
|
|
|
9
9
|
const profileContent = cva(['flex min-w-0 flex-1 items-center gap-2'], {
|
|
10
10
|
variants: {
|
|
@@ -47,7 +47,7 @@ const Profile = class {
|
|
|
47
47
|
_getContent() {
|
|
48
48
|
return (h("div", { class: profileContent({
|
|
49
49
|
dropdown: this._hasDropdownSlot,
|
|
50
|
-
}) }, h("slot", { name: 'avatar' }), h("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, h("p", { class: '\n
|
|
50
|
+
}) }, h("slot", { name: 'avatar' }), h("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, h("p", { class: '\n my-0 w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap\n text-sm font-semibold text-storm-500\n dark:text-white\n ' }, h("slot", { name: 'title' })), h("p", { class: '\n my-0 w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap\n text-xs font-medium text-storm-400\n dark:text-hurricane-200\n ' }, h("slot", { name: 'subtitle' }))), h("slot", { name: 'post-title' })));
|
|
51
51
|
}
|
|
52
52
|
_updateAvatar() {
|
|
53
53
|
const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
|
|
@@ -6,7 +6,7 @@ import { n as nonce } from './nonce-D9kEjsvZ.js';
|
|
|
6
6
|
import './clsx-ChV9xqsO.js';
|
|
7
7
|
import './state-BJbOyUuL.js';
|
|
8
8
|
|
|
9
|
-
const radioComponentCss = () => `*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.m-0{margin:0}.block{display:block}.flex{display:flex}.h-2{height:.5rem}.h-4{height:1rem}.w-2{width:.5rem}.w-4{width:1rem}.flex-shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.border-storm-50{--tw-border-opacity:1;border-color:rgb(232 232 234/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.checked\\:cursor-auto:checked{cursor:auto}.checked\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.checked\\:bg-indigo-600:checked{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.checked\\:ring-indigo-100:checked{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.hover\\:border-storm-500\\/20:hover{border-color:rgba(24,30,41,.2)}.hover\\:bg-indigo-100:hover{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.checked\\:hover\\:border-storm-500\\/20:hover:checked{border-color:rgba(24,30,41,.2)}.checked\\:hover\\:bg-indigo-700:hover:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.group\\/radio-label:hover .group-hover\\/radio-label\\:border-storm-500\\/20{border-color:rgba(24,30,41,.2)}.group\\/radio-label:hover .group-hover\\/radio-label\\:bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.group\\/radio-label:hover .checked\\:group-hover\\/radio-label\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.group\\/radio-label:hover .checked\\:group-hover\\/radio-label\\:bg-indigo-700:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:bg-storm-200{--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.peer:checked~.peer-checked\\:ring-storm-500\\/10{--tw-ring-color:rgba(24,30,41,.1)}.dark\\:border-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:checked\\:ring-0:checked:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}.dark\\:border-white\\/10:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:checked\\:ring-0:checked:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}`;
|
|
9
|
+
const radioComponentCss = () => `*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.m-0{margin:0}.block{display:block}.flex{display:flex}.h-2{height:.5rem}.h-4{height:1rem}.w-2{width:.5rem}.w-4{width:1rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.border-storm-50{--tw-border-opacity:1;border-color:rgb(232 232 234/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.checked\\:cursor-auto:checked{cursor:auto}.checked\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.checked\\:bg-indigo-600:checked{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.checked\\:ring-indigo-100:checked{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.empty\\:hidden:empty{display:none}.hover\\:border-storm-500\\/20:hover{border-color:rgba(24,30,41,.2)}.hover\\:bg-indigo-100:hover{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.checked\\:hover\\:border-storm-500\\/20:hover:checked{border-color:rgba(24,30,41,.2)}.checked\\:hover\\:bg-indigo-700:hover:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.group\\/radio-label:hover .group-hover\\/radio-label\\:border-storm-500\\/20{border-color:rgba(24,30,41,.2)}.group\\/radio-label:hover .group-hover\\/radio-label\\:bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.group\\/radio-label:hover .checked\\:group-hover\\/radio-label\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.group\\/radio-label:hover .checked\\:group-hover\\/radio-label\\:bg-indigo-700:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:bg-storm-200{--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.peer:checked~.peer-checked\\:ring-storm-500\\/10{--tw-ring-color:rgba(24,30,41,.1)}.dark\\:border-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:checked\\:ring-0:checked:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}.dark\\:border-white\\/10:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:checked\\:ring-0:checked:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}`;
|
|
10
10
|
|
|
11
11
|
const radio = cva([
|
|
12
12
|
'peer m-0 flex-shrink-0 appearance-none outline-none',
|
|
@@ -18,33 +18,33 @@ const radio = cva([
|
|
|
18
18
|
false: [
|
|
19
19
|
'cursor-pointer shadow-1',
|
|
20
20
|
`
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
border-storm-100 bg-white
|
|
22
|
+
dark:border-white/15 dark:bg-white/10
|
|
23
|
+
`,
|
|
24
24
|
`
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
hover:border-storm-500/20 hover:bg-indigo-100
|
|
26
|
+
dark:hover:border-white/15 dark:hover:bg-white/20
|
|
27
|
+
`,
|
|
28
28
|
`
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
group-hover/radio-label:border-storm-500/20
|
|
30
|
+
group-hover/radio-label:bg-indigo-100
|
|
31
|
+
`,
|
|
32
32
|
'checked:cursor-auto',
|
|
33
33
|
'checked:border-storm-500/20 checked:bg-indigo-600',
|
|
34
34
|
`
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
checked:ring-2 checked:ring-indigo-100
|
|
36
|
+
dark:checked:ring-0
|
|
37
|
+
`,
|
|
38
38
|
'checked:hover:border-storm-500/20 checked:hover:bg-indigo-700',
|
|
39
39
|
`
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
checked:group-hover/radio-label:border-storm-500/20
|
|
41
|
+
checked:group-hover/radio-label:bg-indigo-700
|
|
42
|
+
`,
|
|
43
43
|
],
|
|
44
44
|
true: `
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
cursor-not-allowed border-storm-50 bg-white-600
|
|
46
|
+
dark:border-white/10 dark:bg-white/5
|
|
47
|
+
`,
|
|
48
48
|
},
|
|
49
49
|
},
|
|
50
50
|
compoundVariants: [
|
|
@@ -55,9 +55,9 @@ const radio = cva([
|
|
|
55
55
|
'border-storm-100 bg-white',
|
|
56
56
|
'hover:border-storm-500/20 hover:bg-indigo-100',
|
|
57
57
|
`
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
group-hover/radio-label:border-storm-500/20
|
|
59
|
+
group-hover/radio-label:bg-indigo-100
|
|
60
|
+
`,
|
|
61
61
|
],
|
|
62
62
|
},
|
|
63
63
|
],
|
|
@@ -66,18 +66,18 @@ const circle = cva([
|
|
|
66
66
|
'block',
|
|
67
67
|
'rounded-full bg-transparent',
|
|
68
68
|
`
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2
|
|
70
|
+
-translate-y-1/2 transform
|
|
71
|
+
`,
|
|
72
72
|
'h-2 w-2',
|
|
73
73
|
], {
|
|
74
74
|
variants: {
|
|
75
75
|
disabled: {
|
|
76
76
|
false: 'peer-checked:bg-white peer-checked:ring-1 peer-checked:ring-storm-500/10',
|
|
77
77
|
true: `
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
peer-checked:bg-storm-200
|
|
79
|
+
dark:peer-checked:bg-hurricane-300
|
|
80
|
+
`,
|
|
81
81
|
},
|
|
82
82
|
},
|
|
83
83
|
});
|
|
@@ -134,11 +134,11 @@ const Radio = class {
|
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
const id = this.id?.length ? this.id : this._nonce;
|
|
137
|
-
return (h(ThemedHost, { key: '
|
|
137
|
+
return (h(ThemedHost, { key: '6d6c70b28586db5068f33308fff1c3a35bce641c' }, h("label", { key: 'd6741f15e337174a3576163e6b27b65dd54773f4', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: 'c82520956d1f16cc1a7b6740ab4e03299d5f2039', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '80a7c6b02ff323e646a739cfcfee1652f2ec4df2', checked: this.checked, class: radio({
|
|
138
138
|
disabled: asBoolean(this.disabled),
|
|
139
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
139
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: 'a46921d80daadde9058060754c65b11d17b47b71', class: circle({
|
|
140
140
|
disabled: asBoolean(this.disabled),
|
|
141
|
-
}) })), h("div", { key: '
|
|
141
|
+
}) })), h("div", { key: 'cd295853a620d74ece3521b96daac11a871cad1d', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: '7775f245e2652c7b010c34d52376908f2b4a2f99' })))));
|
|
142
142
|
}
|
|
143
143
|
_onChange(ev) {
|
|
144
144
|
if (asBoolean(this.disabled)) {
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, a as createEvent, h } from './index-yFtRjnrU.js'
|
|
|
2
2
|
import { T as ThemedHost } from './themed-host.component-CUNsbvgN.js';
|
|
3
3
|
import './state-BJbOyUuL.js';
|
|
4
4
|
|
|
5
|
-
const rangeComponentCss = () => `.m-0{margin:0}.mt-\\[calc\\(\\(0\\.5rem-1px\\)\\*-1\\)\\]{margin-top:calc(-.5rem + 1px)}.h-4{height:1rem}.h-6{height:1.5rem}.h-\\[2px\\]{height:2px}.w-4{width:1rem}.w-full{width:100%}.appearance-none{appearance:none}.rounded-full{border-radius:9999px}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}*{box-sizing:border-box}:host{input{appearance:none;background-color:transparent;height:1.5rem;margin:0;width:100%}input::-webkit-slider-runnable-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.15)}input:where([data-theme=dark],[data-theme=dark] *)::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.15)}input::-moz-range-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::-moz-range-track{background-color:hsla(0,0%,100%,.15)}input:where([data-theme=dark],[data-theme=dark] *)::-moz-range-track{background-color:hsla(0,0%,100%,.15)}input::-webkit-slider-thumb{--tw-bg-opacity:1;appearance:none;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;margin-top:calc(-.5rem + 1px);width:1rem}input::-webkit-slider-thumb:hover{cursor:grab}input::-webkit-slider-thumb:active,input::-webkit-slider-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-webkit-slider-thumb:active{cursor:grabbing}input::-moz-range-thumb{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;width:1rem}input::-moz-range-thumb:hover{cursor:grab}input::-moz-range-thumb:active,input::-moz-range-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-moz-range-thumb:active{cursor:grabbing}}.hover\\:cursor-grab:hover{cursor:grab}.hover\\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.active\\:cursor-grabbing:active{cursor:grabbing}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-1\\/2{top:50%}.w-inherit{width:inherit}.flex-1{flex:1 1 0%}.-translate-y-1\\/2{--tw-translate-y:-50%}.-translate-y-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.gap-2{gap:.5rem}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}`;
|
|
5
|
+
const rangeComponentCss = () => `.m-0{margin:0}.mt-\\[calc\\(\\(0\\.5rem-1px\\)\\*-1\\)\\]{margin-top:calc(-.5rem + 1px)}.h-4{height:1rem}.h-6{height:1.5rem}.h-\\[2px\\]{height:2px}.w-4{width:1rem}.w-full{width:100%}.appearance-none{appearance:none}.rounded-full{border-radius:9999px}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}*{box-sizing:border-box}:host{input{appearance:none;background-color:transparent;height:1.5rem;margin:0;width:100%}input::-webkit-slider-runnable-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.15)}input:where([data-theme=dark],[data-theme=dark] *)::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.15)}input::-moz-range-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::-moz-range-track{background-color:hsla(0,0%,100%,.15)}input:where([data-theme=dark],[data-theme=dark] *)::-moz-range-track{background-color:hsla(0,0%,100%,.15)}input::-webkit-slider-thumb{--tw-bg-opacity:1;appearance:none;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;margin-top:calc(-.5rem + 1px);width:1rem}input::-webkit-slider-thumb:hover{cursor:grab}input::-webkit-slider-thumb:active,input::-webkit-slider-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-webkit-slider-thumb:active{cursor:grabbing}input::-moz-range-thumb{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;width:1rem}input::-moz-range-thumb:hover{cursor:grab}input::-moz-range-thumb:active,input::-moz-range-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-moz-range-thumb:active{cursor:grabbing}}.hover\\:cursor-grab:hover{cursor:grab}.hover\\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.active\\:cursor-grabbing:active{cursor:grabbing}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-1\\/2{top:50%}.flex{display:flex}.w-inherit{width:inherit}.flex-1{flex:1 1 0%}.-translate-y-1\\/2{--tw-translate-y:-50%}.-translate-y-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.gap-2{gap:.5rem}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}`;
|
|
6
6
|
|
|
7
7
|
const Range = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -31,13 +31,13 @@ const Range = class {
|
|
|
31
31
|
valueChange;
|
|
32
32
|
render() {
|
|
33
33
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
34
|
-
return (h(ThemedHost, { key: 'ae78cbe140c926f4c15da133c99dd2b84ff1060f' }, h("div", { key: '
|
|
34
|
+
return (h(ThemedHost, { key: 'ae78cbe140c926f4c15da133c99dd2b84ff1060f' }, h("div", { key: '27a1f144fa8c1fa7c62ffb9b6300ce4f7b5d032c', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '353b493c7deb2a8de7b461dd5e78bf7af41ffbd2', variant: 'minus' }), h("div", { key: 'afb0b67c052ef23f0a85c5ed2b4286f3769114f2', class: 'relative h-6 flex-1' }, h("input", { key: '664649a633ea007d101dd7ef9a5dc528cd503bce', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
35
35
|
const value = ev.target.value;
|
|
36
36
|
this.value = Number.parseFloat(value);
|
|
37
37
|
this.valueChange.emit(value);
|
|
38
|
-
} }), h("div", { key: '
|
|
38
|
+
} }), h("div", { key: '0bea7f03b87ab00d74780796f00f3eda90bc1b96', class: '\n z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
39
39
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
40
|
-
} })), h("p-icon", { key: '
|
|
40
|
+
} })), h("p-icon", { key: '8136e15955e461ec30c3bb8d83cabbd80c8089f2', variant: 'plus' }))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
Range.style = rangeComponentCss();
|
|
@@ -7,7 +7,7 @@ import { S as SELECT_DEFAULT_MAX_DISPLAYED_ITEMS } from './constants-CEaB2BT0.js
|
|
|
7
7
|
import './clsx-ChV9xqsO.js';
|
|
8
8
|
import './state-BJbOyUuL.js';
|
|
9
9
|
|
|
10
|
-
const selectComponentCss = () => `*{box-sizing:border-box}:host{--tw-translate-y:0px!important;--tw-translate-x:0px!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.static{position:static}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.z-10{z-index:10}.my-1{margin-bottom:.25rem;margin-top:.25rem}.mb-3{margin-bottom:.75rem}.block{display:block}.flex{display:flex}.hidden{display:none}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[1\\.625rem\\]{height:1.625rem}.h-full{height:100%}.w-6{width:1.5rem}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.text-start{text-align:start}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.text-indigo-500{--tw-text-opacity:1;color:rgb(142 179 251/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-negative-red-700{--tw-text-opacity:1;color:rgb(147 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.group\\/button:hover .group-hover\\/button\\:text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
10
|
+
const selectComponentCss = () => `*{box-sizing:border-box}:host{--tw-translate-y:0px!important;--tw-translate-x:0px!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.static{position:static}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.z-10{z-index:10}.my-1{margin-bottom:.25rem;margin-top:.25rem}.mb-3{margin-bottom:.75rem}.block{display:block}.flex{display:flex}.hidden{display:none}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[1\\.625rem\\]{height:1.625rem}.h-full{height:100%}.w-6{width:1.5rem}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.text-start{text-align:start}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-indigo-500{--tw-text-opacity:1;color:rgb(142 179 251/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-negative-red-700{--tw-text-opacity:1;color:rgb(147 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.group\\/button:hover .group-hover\\/button\\:text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.group\\/item:hover .group-hover\\/item\\:text-indigo-800{--tw-text-opacity:1;color:rgb(27 88 210/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.15)}.group\\/item:hover .dark\\:group-hover\\/item\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/15:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.15)}.group\\/item:hover .dark\\:group-hover\\/item\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
11
11
|
|
|
12
12
|
const multiContainer = cva([
|
|
13
13
|
'flex items-center gap-2',
|
|
@@ -28,9 +28,9 @@ const textContainer = cva('block w-full overflow-hidden text-start', {
|
|
|
28
28
|
variants: {
|
|
29
29
|
variant: {
|
|
30
30
|
placeholder: `
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
text-storm-400
|
|
32
|
+
dark:text-white
|
|
33
|
+
`,
|
|
34
34
|
default: null,
|
|
35
35
|
},
|
|
36
36
|
enableTextWrap: {
|
|
@@ -39,10 +39,10 @@ const textContainer = cva('block w-full overflow-hidden text-start', {
|
|
|
39
39
|
},
|
|
40
40
|
error: {
|
|
41
41
|
true: `
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
text-negative-red-700
|
|
43
|
+
group-hover/button:text-negative-red-800
|
|
44
|
+
dark:text-negative-red-alternative
|
|
45
|
+
`,
|
|
46
46
|
false: null,
|
|
47
47
|
},
|
|
48
48
|
},
|
|
@@ -279,7 +279,7 @@ const Select = class {
|
|
|
279
279
|
if (this._selectedItem?.length === 0) {
|
|
280
280
|
return placeholder;
|
|
281
281
|
}
|
|
282
|
-
return (h("div", { class: multiContainer(), ref: ref => (this._multiContainerRef = ref) }, this._selectedItem.map(item => (h("div", { class: multiItem(), onClick: () => this._selectValue(item) }, item[this.selectionDisplayKey ?? this.displayKey], h("p-icon", { class: '\n
|
|
282
|
+
return (h("div", { class: multiContainer(), ref: ref => (this._multiContainerRef = ref) }, this._selectedItem.map(item => (h("div", { class: multiItem(), onClick: () => this._selectValue(item) }, item[this.selectionDisplayKey ?? this.displayKey], h("p-icon", { class: '\n text-xs text-indigo-500\n group-hover/item:text-indigo-800\n dark:text-white/15\n dark:group-hover/item:text-white\n ', variant: 'negative' })))), h("div", { class: 'extra pointer-events-none hidden text-sm text-storm-100' }, "+", this._amountHidden)));
|
|
283
283
|
}
|
|
284
284
|
return this._getDisplay(this._selectedItem, true);
|
|
285
285
|
}
|
|
@@ -347,8 +347,8 @@ const Select = class {
|
|
|
347
347
|
if (this.error?.length) {
|
|
348
348
|
buttonIcon = 'warning';
|
|
349
349
|
}
|
|
350
|
-
return (h(ThemedHost, { key: '
|
|
351
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '
|
|
350
|
+
return (h(ThemedHost, { key: 'b7c7d91e9c103eb283a19e6d61bd8a1ccdfcb1ae' }, h("p-field-container", { key: 'ce39c71781d71950eb8f0ec439e70508a801d4bd', error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, label: this.label, prefix: this.prefix, required: this.required, showOptional: this.showOptional, variant: 'write' }, h("p-dropdown", { key: '172741cbe636fa4b59cbac4445fdff1c8ade7ca7', applyChevron: false, applyFullWidth: true, applyMaxWidth: false, "disable-trigger-click": this.disabled, insideClick: true, manual: true, manualChevron: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, slot: 'content', strategy: this.strategy, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-button", { key: '9fda8191122e870eda211c58b30a6de022b629eb', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
351
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '1d08bb324241e1db8698678be35a1fd57f00603f', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
352
352
|
}
|
|
353
353
|
documentClickHandler(event) {
|
|
354
354
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -509,7 +509,7 @@ const Select = class {
|
|
|
509
509
|
});
|
|
510
510
|
if (this._items.length === 0 && !this.showAddItem) {
|
|
511
511
|
items = [
|
|
512
|
-
h("p", { class: '\n
|
|
512
|
+
h("p", { class: '\n w-full p-2 text-center text-sm text-storm-400\n dark:text-hurricane-200\n ', slot: 'items' }, this.emptyStateText),
|
|
513
513
|
];
|
|
514
514
|
}
|
|
515
515
|
if (this.enableSelectAll && this._items.length > 0) {
|
|
@@ -603,9 +603,9 @@ const Select = class {
|
|
|
603
603
|
}
|
|
604
604
|
if (this.iconKey && (!isSelection || this.showIconOnSelectedItem)) {
|
|
605
605
|
content = (h("span", { class: 'flex items-center gap-2' }, item[this.iconKey] && (h("p-icon", { class: cn(`
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
606
|
+
text-storm-300
|
|
607
|
+
dark:text-hurricane-200
|
|
608
|
+
`, (!isSelection || !!this.applyClassOnSelectedItem) &&
|
|
609
609
|
(!isSelectedInMenu || !!this.applyClassOnSelectedItemInMenu)
|
|
610
610
|
? (item?.[this.iconClassKey] ?? '')
|
|
611
611
|
: ''), variant: item[this.iconKey] })), h("div", { class: textContainer({
|
|
@@ -22,9 +22,9 @@ const smile = cva(null, {
|
|
|
22
22
|
{
|
|
23
23
|
variant: ['modal', 'card'],
|
|
24
24
|
class: `
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
absolute bottom-0 left-1/2 z-[-1] aspect-[8/3] -translate-x-1/2
|
|
26
|
+
text-off-white-500
|
|
27
|
+
`,
|
|
28
28
|
},
|
|
29
29
|
],
|
|
30
30
|
});
|
|
@@ -52,7 +52,7 @@ const Smile = class {
|
|
|
52
52
|
*/
|
|
53
53
|
variant = 'modal';
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '6c99a0206e831d9122665ca9f17c1f533a9c8bc2', class: smile({ variant: this.variant }) }, h("div", { key: 'f157da0f0fae32f1355533d6a9fafe69c73a3309', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
Smile.style = smileComponentCss();
|
|
@@ -96,33 +96,33 @@ const content = cva('mt-[1px] flex-1 text-sm font-medium', {
|
|
|
96
96
|
finished: false,
|
|
97
97
|
active: false,
|
|
98
98
|
class: `
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
text-storm-400
|
|
100
|
+
dark:text-hurricane-200
|
|
101
|
+
`,
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
active: true,
|
|
105
105
|
finished: false,
|
|
106
106
|
class: `
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
text-storm-500
|
|
108
|
+
dark:text-white
|
|
109
|
+
`,
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
active: false,
|
|
113
113
|
finished: true,
|
|
114
114
|
class: `
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
text-storm-500
|
|
116
|
+
dark:text-white
|
|
117
|
+
`,
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
direction: 'horizontal',
|
|
121
121
|
active: false,
|
|
122
122
|
class: `
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
hidden
|
|
124
|
+
desktop-xs:inline-block
|
|
125
|
+
`,
|
|
126
126
|
},
|
|
127
127
|
],
|
|
128
128
|
});
|
|
@@ -155,19 +155,19 @@ const StepperItem = class {
|
|
|
155
155
|
*/
|
|
156
156
|
active = false;
|
|
157
157
|
render() {
|
|
158
|
-
return (h(ThemedHost, { key: '
|
|
158
|
+
return (h(ThemedHost, { key: '59225e7cf6387dc74870532f93d41f017ac2b917' }, h("div", { key: '3405b371edfc473077228b13dfb6642af24ca7b3', class: item({
|
|
159
159
|
align: this.align,
|
|
160
160
|
contentPosition: this.contentPosition,
|
|
161
|
-
}) }, h("div", { key: '
|
|
161
|
+
}) }, h("div", { key: 'd4c559d9f794406bd0c967a0b8d02437b1fa5770', class: circle({
|
|
162
162
|
align: this.align,
|
|
163
163
|
direction: this.direction,
|
|
164
164
|
active: asBoolean(this.active),
|
|
165
165
|
finished: asBoolean(this.finished),
|
|
166
|
-
}) }, this.number), h("div", { key: '
|
|
166
|
+
}) }, this.number), h("div", { key: 'e62cac677b32c265bafaa4f7e0844dae1fdee71b', class: content({
|
|
167
167
|
active: asBoolean(this.active),
|
|
168
168
|
finished: asBoolean(this.finished),
|
|
169
169
|
direction: this.direction,
|
|
170
|
-
}) }, h("slot", { key: '
|
|
170
|
+
}) }, h("slot", { key: '853a7664d61bd16d5e0da555bf779a250ba9c15f' })))));
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
StepperItem.style = stepperItemComponentCss();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-yFtRjnrU.js';
|
|
2
2
|
|
|
3
|
-
const tabContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.m-0{margin:0}.flex{display:flex}.h-8{height:2rem}.w-full{width:100%}.flex-col{flex-direction:column}.gap-5{gap:1.25rem}.overflow-x-auto{overflow-x:auto}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.scrollbar-hide::-webkit-scrollbar{display:none}`;
|
|
3
|
+
const tabContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.m-0{margin:0}.flex{display:flex}.h-8{height:2rem}.w-full{width:100%}.flex-col{flex-direction:column}.gap-5{gap:1.25rem}.overflow-x-auto{overflow-x:auto}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.scrollbar-hide::-webkit-scrollbar{display:none}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}`;
|
|
4
4
|
|
|
5
5
|
const TabContainer = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '52a5885561b5e33d4f3add2bf07615ad98b17977', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: '19fda7b08f566510d4b7a565b5e6686daa42fe28', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: '8ee560a0e3125fddaf38beac8ac80662b193fda4' })), h("p-divider", { key: '
|
|
10
|
+
return (h("div", { key: '52a5885561b5e33d4f3add2bf07615ad98b17977', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: '19fda7b08f566510d4b7a565b5e6686daa42fe28', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: '8ee560a0e3125fddaf38beac8ac80662b193fda4' })), h("p-divider", { key: '153374f8cc24d554a8beeef4fdaa30a93173d3fc', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
TabContainer.style = tabContainerComponentCss();
|
|
@@ -10,29 +10,29 @@ const item = cva([
|
|
|
10
10
|
'flex h-8 flex-col justify-between text-sm',
|
|
11
11
|
'cursor-pointer',
|
|
12
12
|
`
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
after:content-['
|
|
14
|
+
']
|
|
15
|
+
after:h-[2px]
|
|
16
|
+
`,
|
|
17
17
|
], {
|
|
18
18
|
variants: {
|
|
19
19
|
active: {
|
|
20
20
|
true: `
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
text-indigo-600
|
|
22
|
+
after:bg-indigo-600
|
|
23
|
+
`,
|
|
24
24
|
false: [
|
|
25
25
|
`
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
text-storm-300
|
|
27
|
+
after:bg-transparent
|
|
28
|
+
hover:text-storm-400
|
|
29
|
+
hover:after:bg-storm-400
|
|
30
|
+
`,
|
|
31
31
|
`
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
dark:text-hurricane-200
|
|
33
|
+
dark:hover:text-white
|
|
34
|
+
dark:hover:after:bg-white
|
|
35
|
+
`,
|
|
36
36
|
],
|
|
37
37
|
},
|
|
38
38
|
},
|
|
@@ -46,7 +46,7 @@ const TabItem = class {
|
|
|
46
46
|
*/
|
|
47
47
|
active = false;
|
|
48
48
|
render() {
|
|
49
|
-
return (h(ThemedHost, { key: '
|
|
49
|
+
return (h(ThemedHost, { key: '68381d5e607b93bd36eaac21b4548f1a8cbe1169' }, h("div", { key: 'fe0d645f2421de9d8f0c3c2b008125b9c70244d4', class: item({ active: this.active }) }, h("slot", { key: 'bba769a606b49e9f5eab7f47a3bdd263bbc34f3f' }))));
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
TabItem.style = tabItemComponentCss();
|
|
@@ -9,12 +9,12 @@ const container = cva([
|
|
|
9
9
|
'tablet:max-w-[26.5rem]',
|
|
10
10
|
'z-[600]',
|
|
11
11
|
`
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
w-[calc(100%-(env(safe-area-inset-left,0)+env(safe-area-inset-right,
|
|
13
|
+
0)+2rem))]
|
|
14
|
+
`,
|
|
15
15
|
`
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
max-w-[calc(100%-(env(safe-area-inset-left,0)+env(safe-area-inset-right,0)+2rem))]
|
|
17
|
+
`,
|
|
18
18
|
], {
|
|
19
19
|
variants: {
|
|
20
20
|
placement: {
|
|
@@ -46,9 +46,9 @@ const ToastContainer = class {
|
|
|
46
46
|
*/
|
|
47
47
|
placement = 'top-end';
|
|
48
48
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'bd21d7bd4c72892795945f527a55d244c74a3e8a', class: container({
|
|
50
50
|
placement: this.placement,
|
|
51
|
-
}) }, h("slot", { key: '
|
|
51
|
+
}) }, h("slot", { key: 'c822ef2a7a7269a926b0e6d416d3f584e133e668' })));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
ToastContainer.style = toastContainerComponentCss();
|
|
@@ -4,27 +4,27 @@ import { T as ThemedHost } from './themed-host.component-CUNsbvgN.js';
|
|
|
4
4
|
import './clsx-ChV9xqsO.js';
|
|
5
5
|
import './state-BJbOyUuL.js';
|
|
6
6
|
|
|
7
|
-
const toastComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-9{height:2.25rem}.w-\\[2px\\]{width:2px}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)}.w-full{width:100%}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))}.bg-indigo-800{--tw-bg-opacity:1;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-positive-green-500{--tw-bg-opacity:1;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.hover\\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))}.dark\\:bg-amber-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-indigo-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-positive-green-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))}`;
|
|
7
|
+
const toastComponentCss = () => `*{box-sizing:border-box}.static{position:static}.m-0{margin:0}.flex{display:flex}.h-9{height:2.25rem}.w-\\[2px\\]{width:2px}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)}.w-full{width:100%}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))}.bg-indigo-800{--tw-bg-opacity:1;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-positive-green-500{--tw-bg-opacity:1;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.shadow-2{--tw-shadow:0 1px 1px rgba(0,2,2,.04),0 2px 2px rgba(0,2,2,.04),0 4px 4px rgba(0,2,2,.04);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:text-storm-500:hover{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.hover\\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(24 30 41/var(--tw-border-opacity,1))}.dark\\:bg-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(24 30 41/var(--tw-border-opacity,1))}.dark\\:bg-amber-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-indigo-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-positive-green-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
8
8
|
|
|
9
9
|
const indicator = cva('h-9 w-[2px] flex-shrink-0 rounded-full', {
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
12
12
|
neutral: `
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
bg-indigo-800
|
|
14
|
+
dark:bg-indigo-400
|
|
15
|
+
`,
|
|
16
16
|
positive: `
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
bg-positive-green-500
|
|
18
|
+
dark:bg-positive-green-alternative
|
|
19
|
+
`,
|
|
20
20
|
biased: `
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
bg-amber-500
|
|
22
|
+
dark:bg-amber-alternative
|
|
23
|
+
`,
|
|
24
24
|
negative: `
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
bg-negative-red-500
|
|
26
|
+
dark:bg-negative-red-alternative
|
|
27
|
+
`,
|
|
28
28
|
},
|
|
29
29
|
},
|
|
30
30
|
});
|
|
@@ -70,7 +70,7 @@ const Toast = class {
|
|
|
70
70
|
*/
|
|
71
71
|
action;
|
|
72
72
|
render() {
|
|
73
|
-
return (h(ThemedHost, { key: '
|
|
73
|
+
return (h(ThemedHost, { key: '8d36846b85c4e661ccd81533ac05eb6a651bedb6' }, h("div", { key: '5a60824f6868fa38893b7e451850f6e181caa95c', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, h("div", { key: 'c3ebd2eecb1f3378176653bfe7ae96bd9b7b4b13', class: indicator({ variant: this.variant }) }), h("div", { key: '89ce39565adb3958a12551d5021f7ab86c9babb5', class: content() }, h("div", { key: '9c833a877f81b34c53ff73378b799fad436e76fd', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '7ec87f298e4dda01ff689f877d436c726abef8a5', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '08c6c263d6ce9915b055fc24e4b0aca7d2b7bfc2', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: '111084df846674e17f00ec8c7902a099f05a1e58', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '660342af8a7f33cdd2495cf03fd54fe8923babc8', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
74
74
|
}
|
|
75
75
|
_onClick() {
|
|
76
76
|
if (this.enableAction) {
|