@paperless/core 3.0.2 → 3.1.1
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/index.esm.js +1 -1
- package/dist/build/p-047da5c9.entry.js +1 -0
- package/dist/build/p-099fed2a.entry.js +1 -0
- package/dist/build/p-0b4b4cf7.entry.js +1 -0
- package/dist/build/p-16c98151.entry.js +1 -0
- package/dist/build/p-18245eb9.entry.js +1 -0
- package/dist/build/p-1ac00601.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-1fa99d63.entry.js +1 -0
- package/dist/build/p-2a9e2f97.entry.js +1 -0
- package/dist/build/p-2eb0963d.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-34448061.entry.js +1 -0
- package/dist/build/{p-57abbf5d.js → p-3a5ebbd7.js} +1 -1
- package/dist/build/p-459f7a0b.entry.js +1 -0
- package/dist/build/p-4baa94c0.entry.js +1 -0
- package/dist/build/p-5f2b2731.entry.js +1 -0
- package/dist/build/p-6412710a.entry.js +1 -0
- package/dist/build/p-673c243e.entry.js +1 -0
- package/dist/build/p-6ac04b16.entry.js +1 -0
- package/dist/build/p-7158dacd.entry.js +1 -0
- package/dist/build/p-7be1c70d.entry.js +1 -0
- package/dist/build/p-7c4f3d89.entry.js +1 -0
- package/dist/{paperless/p-2ab9ae7b.entry.js → build/p-8a2690df.entry.js} +1 -1
- package/dist/{paperless/p-9d7732b8.entry.js → build/p-8a8adc4d.entry.js} +1 -1
- package/dist/build/p-9889be94.entry.js +1 -0
- package/dist/build/p-99522e10.entry.js +1 -0
- package/dist/build/p-9e1977a6.entry.js +1 -0
- package/dist/build/{p-CHZgJJeM.js → p-DeWIZIsV.js} +1 -1
- package/dist/build/p-aca48431.entry.js +1 -0
- package/dist/build/p-afa4d38a.entry.js +1 -0
- package/dist/build/p-b70ee063.entry.js +1 -0
- package/dist/build/p-b745b141.entry.js +1 -0
- package/dist/build/p-bcfbb856.entry.js +1 -0
- package/dist/build/p-cdcc28c2.entry.js +1 -0
- package/dist/build/p-dbac42ad.entry.js +1 -0
- package/dist/build/p-e00be7e7.entry.js +1 -0
- package/dist/build/p-e2219fa7.entry.js +1 -0
- package/dist/build/p-e30ef289.entry.js +1 -0
- package/dist/build/p-ecc80c01.entry.js +1 -0
- package/dist/build/p-fbd4c0ed.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +22 -9
- package/dist/cjs/p-avatar.cjs.entry.js +5 -2
- package/dist/cjs/p-backdrop.cjs.entry.js +19 -7
- package/dist/cjs/p-badge_3.cjs.entry.js +29 -11
- package/dist/cjs/p-button_3.cjs.entry.js +103 -31
- package/dist/cjs/p-calendar.cjs.entry.js +14 -7
- package/dist/cjs/p-card-container.cjs.entry.js +16 -6
- package/dist/cjs/p-card-header.cjs.entry.js +6 -3
- package/dist/cjs/p-checkbox_3.cjs.entry.js +63 -29
- package/dist/cjs/p-content-slider.cjs.entry.js +12 -2
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js +29 -7
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +23 -10
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +105 -33
- package/dist/cjs/p-empty-state_8.cjs.entry.js +74 -34
- package/dist/cjs/p-field_3.cjs.entry.js +65 -26
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +17 -7
- package/dist/cjs/p-info-panel.cjs.entry.js +52 -16
- package/dist/cjs/p-label.cjs.entry.js +16 -7
- package/dist/cjs/p-layout.cjs.entry.js +4 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +42 -18
- package/dist/cjs/p-navbar.cjs.entry.js +25 -8
- package/dist/cjs/p-navigation-item.cjs.entry.js +21 -9
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +20 -14
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-radio.cjs.entry.js +47 -20
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +19 -9
- package/dist/cjs/p-smile.cjs.entry.js +5 -2
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +27 -15
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +22 -6
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +10 -5
- package/dist/cjs/p-toast.cjs.entry.js +19 -7
- package/dist/cjs/p-toggle.cjs.entry.js +67 -23
- package/dist/cjs/p-tooltip.cjs.entry.js +11 -5
- package/dist/cjs/{table-helpers-D7cRsAPO.js → table-helpers-CskH_8AL.js} +2 -2
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +5 -2
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +19 -7
- package/dist/collection/components/atoms/badge/badge.component.js +9 -3
- package/dist/collection/components/atoms/card/container/card-container.component.js +16 -6
- package/dist/collection/components/atoms/card/header/card-header.component.js +6 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +57 -23
- package/dist/collection/components/atoms/divider/divider.component.js +29 -7
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +12 -5
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +11 -5
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +6 -6
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +78 -21
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +17 -7
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +52 -16
- package/dist/collection/components/atoms/layout/layout.component.js +4 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/loader/loader.component.js +8 -2
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +14 -5
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +16 -7
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +11 -5
- 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 +27 -12
- package/dist/collection/components/atoms/radio/radio.component.js +47 -20
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +19 -7
- package/dist/collection/components/atoms/smile/smile.component.js +5 -2
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +27 -15
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +22 -6
- 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 +6 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +10 -5
- package/dist/collection/components/atoms/toggle/toggle.component.js +67 -23
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +11 -5
- package/dist/collection/components/molecules/attachment/attachment.component.js +22 -9
- package/dist/collection/components/molecules/button/button.component.js +95 -29
- package/dist/collection/components/molecules/calendar/calendar.component.js +14 -7
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +12 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/container/field-container.component.js +9 -6
- package/dist/collection/components/molecules/field/field/field.component.js +55 -19
- package/dist/collection/components/molecules/label/label.component.js +16 -7
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +21 -9
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +16 -10
- package/dist/collection/components/molecules/profile/profile.component.js +2 -2
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +19 -9
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +14 -7
- package/dist/collection/components/molecules/table/header/table-header.component.js +31 -11
- package/dist/collection/components/molecules/table/row/table-row.component.js +18 -8
- package/dist/collection/components/molecules/toast/toast.component.js +19 -7
- package/dist/collection/components/organisms/navbar/navbar.component.js +25 -8
- package/dist/collection/utils/table-helpers.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/p--52gTdZ4.js +1 -0
- package/dist/components/p-0EHH7Dl0.js +1 -0
- package/dist/components/p-2yaxaWU2.js +1 -0
- package/dist/components/p-4DN7zVtS.js +1 -0
- package/dist/components/p-B0rHem3C.js +1 -0
- package/dist/components/p-BBAR0LE7.js +1 -0
- package/dist/components/{p-Duu0fwUk.js → p-BBwQm_OH.js} +1 -1
- package/dist/components/{p-CsM6uU5j.js → p-BCZqknrJ.js} +1 -1
- package/dist/components/p-BCddfleq.js +1 -0
- package/dist/components/p-BKXDGrK7.js +1 -0
- package/dist/components/{p-DMxy9lYo.js → p-BSsW37JK.js} +1 -1
- package/dist/components/p-B_7CTN-Q.js +1 -0
- package/dist/components/p-BaiRAcrb.js +1 -0
- package/dist/components/p-BfH-C6uv.js +1 -0
- package/dist/components/p-BrLLMmZa.js +1 -0
- package/dist/components/p-Bru1muWj.js +1 -0
- package/dist/components/{p-Bl7NThUo.js → p-BtH8h7p9.js} +1 -1
- package/dist/components/p-BtI7diO6.js +1 -0
- package/dist/components/{p-CFSNSi-H.js → p-BtliZ0U_.js} +1 -1
- package/dist/components/p-C1HzSmDf.js +1 -0
- package/dist/components/p-C4dZ9NAe.js +1 -0
- package/dist/components/p-CHER4MCx.js +1 -0
- package/dist/components/{p-CGKUYLex.js → p-CTQuFuDk.js} +1 -1
- package/dist/components/p-CoBFv4r3.js +1 -0
- package/dist/components/p-Crasy6LB.js +1 -0
- package/dist/components/{p-BcD4BpWF.js → p-CtAGaRd5.js} +1 -1
- package/dist/components/p-D5t-6wkl.js +1 -0
- package/dist/components/p-D6iTsl8U.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-Bv-ByGSf.js → p-DSv8ajJ4.js} +1 -1
- package/dist/components/p-DXsoAHFt.js +1 -0
- package/dist/components/p-DmzyuekN.js +1 -0
- package/dist/components/p-DncIsq-f.js +1 -0
- package/dist/components/p-G57Mci8u.js +1 -0
- package/dist/components/p-MeQ48Q-1.js +1 -0
- package/dist/components/p-QJoR_dmN.js +1 -0
- package/dist/components/{p-3RT3BYex.js → p-WEZng7dj.js} +1 -1
- 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-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-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-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-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 +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/index.js +1 -1
- package/dist/esm/p-attachment.entry.js +22 -9
- package/dist/esm/p-avatar.entry.js +5 -2
- package/dist/esm/p-backdrop.entry.js +19 -7
- package/dist/esm/p-badge_3.entry.js +29 -11
- package/dist/esm/p-button_3.entry.js +103 -31
- package/dist/esm/p-calendar.entry.js +14 -7
- package/dist/esm/p-card-container.entry.js +16 -6
- package/dist/esm/p-card-header.entry.js +6 -3
- package/dist/esm/p-checkbox_3.entry.js +63 -29
- package/dist/esm/p-content-slider.entry.js +12 -2
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-divider.entry.js +29 -7
- package/dist/esm/p-drawer-body_3.entry.js +23 -10
- package/dist/esm/p-dropdown-menu-item_2.entry.js +105 -33
- package/dist/esm/p-empty-state_8.entry.js +74 -34
- package/dist/esm/p-field_3.entry.js +65 -26
- package/dist/esm/p-floating-menu-item.entry.js +17 -7
- package/dist/esm/p-info-panel.entry.js +52 -16
- package/dist/esm/p-label.entry.js +16 -7
- package/dist/esm/p-layout.entry.js +4 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +42 -18
- package/dist/esm/p-navbar.entry.js +25 -8
- package/dist/esm/p-navigation-item.entry.js +21 -9
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +20 -14
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-radio.entry.js +47 -20
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +19 -9
- package/dist/esm/p-smile.entry.js +5 -2
- package/dist/esm/p-stepper-item_2.entry.js +27 -15
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +22 -6
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +10 -5
- package/dist/esm/p-toast.entry.js +19 -7
- package/dist/esm/p-toggle.entry.js +67 -23
- package/dist/esm/p-tooltip.entry.js +11 -5
- package/dist/esm/{table-helpers-DA1PfY6l.js → table-helpers-Bvtfm-ta.js} +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/p-047da5c9.entry.js +1 -0
- package/dist/paperless/p-099fed2a.entry.js +1 -0
- package/dist/paperless/p-0b4b4cf7.entry.js +1 -0
- package/dist/paperless/p-16c98151.entry.js +1 -0
- package/dist/paperless/p-18245eb9.entry.js +1 -0
- package/dist/paperless/p-1ac00601.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-1fa99d63.entry.js +1 -0
- package/dist/paperless/p-2a9e2f97.entry.js +1 -0
- package/dist/paperless/p-2eb0963d.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-34448061.entry.js +1 -0
- package/dist/paperless/p-459f7a0b.entry.js +1 -0
- package/dist/paperless/p-4baa94c0.entry.js +1 -0
- package/dist/paperless/p-5f2b2731.entry.js +1 -0
- package/dist/paperless/p-6412710a.entry.js +1 -0
- package/dist/paperless/p-673c243e.entry.js +1 -0
- package/dist/paperless/p-6ac04b16.entry.js +1 -0
- package/dist/paperless/p-7158dacd.entry.js +1 -0
- package/dist/paperless/p-7be1c70d.entry.js +1 -0
- package/dist/paperless/p-7c4f3d89.entry.js +1 -0
- package/dist/{build/p-2ab9ae7b.entry.js → paperless/p-8a2690df.entry.js} +1 -1
- package/dist/{build/p-9d7732b8.entry.js → paperless/p-8a8adc4d.entry.js} +1 -1
- package/dist/paperless/p-9889be94.entry.js +1 -0
- package/dist/paperless/p-99522e10.entry.js +1 -0
- package/dist/paperless/p-9e1977a6.entry.js +1 -0
- package/dist/paperless/{p-CHZgJJeM.js → p-DeWIZIsV.js} +1 -1
- package/dist/paperless/p-aca48431.entry.js +1 -0
- package/dist/paperless/p-afa4d38a.entry.js +1 -0
- package/dist/paperless/p-b70ee063.entry.js +1 -0
- package/dist/paperless/p-b745b141.entry.js +1 -0
- package/dist/paperless/p-bcfbb856.entry.js +1 -0
- package/dist/paperless/p-cdcc28c2.entry.js +1 -0
- package/dist/paperless/p-dbac42ad.entry.js +1 -0
- package/dist/paperless/p-e00be7e7.entry.js +1 -0
- package/dist/paperless/p-e2219fa7.entry.js +1 -0
- package/dist/paperless/p-e30ef289.entry.js +1 -0
- package/dist/paperless/p-ecc80c01.entry.js +1 -0
- package/dist/paperless/p-fbd4c0ed.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 +1021 -401
- package/hydrate/index.mjs +1021 -401
- package/package.json +1 -1
- package/dist/build/p-03121981.entry.js +0 -1
- package/dist/build/p-073cbaa7.entry.js +0 -1
- package/dist/build/p-1537db63.entry.js +0 -1
- package/dist/build/p-196bfb8a.entry.js +0 -1
- package/dist/build/p-19acdd22.entry.js +0 -1
- package/dist/build/p-1c1eddff.entry.js +0 -1
- package/dist/build/p-1d99809d.entry.js +0 -1
- package/dist/build/p-2937ea4e.entry.js +0 -1
- package/dist/build/p-34b384b9.entry.js +0 -1
- package/dist/build/p-44c1c053.entry.js +0 -1
- package/dist/build/p-45cf64a3.entry.js +0 -1
- package/dist/build/p-46616392.entry.js +0 -1
- package/dist/build/p-53db6756.entry.js +0 -1
- package/dist/build/p-5619c169.entry.js +0 -1
- package/dist/build/p-5e0796a9.entry.js +0 -1
- package/dist/build/p-5f64a97e.entry.js +0 -1
- package/dist/build/p-601999d8.entry.js +0 -1
- package/dist/build/p-63d43818.entry.js +0 -1
- package/dist/build/p-69658698.entry.js +0 -1
- package/dist/build/p-785b43a9.entry.js +0 -1
- package/dist/build/p-811807fb.entry.js +0 -1
- package/dist/build/p-81670b3a.entry.js +0 -1
- package/dist/build/p-86a3cc52.entry.js +0 -1
- package/dist/build/p-87b38346.entry.js +0 -1
- package/dist/build/p-91486f55.entry.js +0 -1
- package/dist/build/p-92cbcd5c.entry.js +0 -1
- package/dist/build/p-94640ec1.entry.js +0 -1
- package/dist/build/p-a6156cbc.entry.js +0 -1
- package/dist/build/p-a74f30c8.entry.js +0 -1
- package/dist/build/p-abf997fa.entry.js +0 -1
- package/dist/build/p-bad88af1.entry.js +0 -1
- package/dist/build/p-bdc3f1b8.entry.js +0 -1
- package/dist/build/p-c076dfe7.entry.js +0 -1
- package/dist/build/p-c410fdca.entry.js +0 -1
- package/dist/build/p-e10ac105.entry.js +0 -1
- package/dist/build/p-f043914d.entry.js +0 -1
- package/dist/build/p-f43b03da.entry.js +0 -1
- package/dist/build/p-fa1774a4.entry.js +0 -1
- package/dist/components/p--y4GWpzd.js +0 -1
- package/dist/components/p-B1rVjCs6.js +0 -1
- package/dist/components/p-B4ldecyo.js +0 -1
- package/dist/components/p-B5p7dHkY.js +0 -1
- package/dist/components/p-BDDbB69D.js +0 -1
- package/dist/components/p-BKMmVFyv.js +0 -1
- package/dist/components/p-BSZKPMsM.js +0 -1
- package/dist/components/p-BWLjNSWO.js +0 -1
- package/dist/components/p-B_-9JoqJ.js +0 -1
- package/dist/components/p-Bqj-EqkF.js +0 -1
- package/dist/components/p-Br5JzRPb.js +0 -1
- package/dist/components/p-ByjIFdR7.js +0 -1
- package/dist/components/p-CKY-2A7w.js +0 -1
- package/dist/components/p-CXxGdOem.js +0 -1
- package/dist/components/p-Ch0_FdYv.js +0 -1
- package/dist/components/p-Cpwq0YdW.js +0 -1
- package/dist/components/p-D46WCsOs.js +0 -1
- package/dist/components/p-DEW7r6Qi.js +0 -1
- package/dist/components/p-DSA1b84Z.js +0 -1
- package/dist/components/p-Ddm-XKZe.js +0 -1
- package/dist/components/p-DexJ62g_.js +0 -1
- package/dist/components/p-DgL1D6Aj.js +0 -1
- package/dist/components/p-Dq0MN0E1.js +0 -1
- package/dist/components/p-Pg_XF2ti.js +0 -1
- package/dist/components/p-QG8NWGU3.js +0 -1
- package/dist/components/p-S831PmxS.js +0 -1
- package/dist/components/p-XWWy0siW.js +0 -1
- package/dist/components/p-a6F6aMNs.js +0 -1
- package/dist/components/p-eLkNCIS4.js +0 -1
- package/dist/components/p-g9hO5RJl.js +0 -1
- package/dist/components/p-hg2iAXCC.js +0 -1
- package/dist/components/p-yYBe3oal.js +0 -1
- package/dist/paperless/p-03121981.entry.js +0 -1
- package/dist/paperless/p-073cbaa7.entry.js +0 -1
- package/dist/paperless/p-1537db63.entry.js +0 -1
- package/dist/paperless/p-196bfb8a.entry.js +0 -1
- package/dist/paperless/p-19acdd22.entry.js +0 -1
- package/dist/paperless/p-1c1eddff.entry.js +0 -1
- package/dist/paperless/p-1d99809d.entry.js +0 -1
- package/dist/paperless/p-2937ea4e.entry.js +0 -1
- package/dist/paperless/p-34b384b9.entry.js +0 -1
- package/dist/paperless/p-44c1c053.entry.js +0 -1
- package/dist/paperless/p-45cf64a3.entry.js +0 -1
- package/dist/paperless/p-46616392.entry.js +0 -1
- package/dist/paperless/p-53db6756.entry.js +0 -1
- package/dist/paperless/p-5619c169.entry.js +0 -1
- package/dist/paperless/p-5e0796a9.entry.js +0 -1
- package/dist/paperless/p-5f64a97e.entry.js +0 -1
- package/dist/paperless/p-601999d8.entry.js +0 -1
- package/dist/paperless/p-63d43818.entry.js +0 -1
- package/dist/paperless/p-69658698.entry.js +0 -1
- package/dist/paperless/p-785b43a9.entry.js +0 -1
- package/dist/paperless/p-811807fb.entry.js +0 -1
- package/dist/paperless/p-81670b3a.entry.js +0 -1
- package/dist/paperless/p-86a3cc52.entry.js +0 -1
- package/dist/paperless/p-87b38346.entry.js +0 -1
- package/dist/paperless/p-91486f55.entry.js +0 -1
- package/dist/paperless/p-92cbcd5c.entry.js +0 -1
- package/dist/paperless/p-94640ec1.entry.js +0 -1
- package/dist/paperless/p-a6156cbc.entry.js +0 -1
- package/dist/paperless/p-a74f30c8.entry.js +0 -1
- package/dist/paperless/p-abf997fa.entry.js +0 -1
- package/dist/paperless/p-bad88af1.entry.js +0 -1
- package/dist/paperless/p-bdc3f1b8.entry.js +0 -1
- package/dist/paperless/p-c076dfe7.entry.js +0 -1
- package/dist/paperless/p-c410fdca.entry.js +0 -1
- package/dist/paperless/p-e10ac105.entry.js +0 -1
- package/dist/paperless/p-f043914d.entry.js +0 -1
- package/dist/paperless/p-f43b03da.entry.js +0 -1
- package/dist/paperless/p-fa1774a4.entry.js +0 -1
|
@@ -11,44 +11,88 @@ require('./state-DM8SZBNO.js');
|
|
|
11
11
|
const toggleComponentCss = () => `*{box-sizing:border-box}:host{--tw-content:unset}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-\\[1px\\]{left:1px}.left-\\[2px\\]{left:2px}.top-1\\/2{top:50%}.m-0{margin:0}.flex{display:flex}.h-3{height:.75rem}.h-4{height:1rem}.h-\\[14px\\]{height:14px}.w-3{width:.75rem}.w-8{width:2rem}.w-\\[14px\\]{width:14px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink: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))}.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}.justify-center{justify-content:center}.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-storm-100{--tw-bg-opacity:1;background-color:rgb(209 210 212/var(--tw-bg-opacity,1))}.bg-storm-50{--tw-bg-opacity:1;background-color:rgb(232 232 234/var(--tw-bg-opacity,1))}.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}.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)}.ring-storm-500\\/10{--tw-ring-color:rgba(24,30,41,.1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:h-1:after{content:var(--tw-content);height:.25rem}.after\\:w-1:after{content:var(--tw-content);width:.25rem}.after\\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\\:bg-indigo-800:after{--tw-bg-opacity:1;background-color:rgb(27 88 210/var(--tw-bg-opacity,1));content:var(--tw-content)}.after\\:transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:content-\\[unset\\]:after{--tw-content:unset;content:var(--tw-content)}.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\\/p-toggle:hover .group-hover\\/p-toggle\\:w-\\[18px\\],.group\\/toggle-label:hover .group-hover\\/toggle-label\\:w-\\[18px\\]{width:18px}.group\\/toggle-label:hover .group-hover\\/toggle-label\\:border-storm-500\\/20{border-color:rgba(24,30,41,.2)}.group\\/toggle-label:hover .group-hover\\/toggle-label\\:bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.group\\/p-toggle:hover .group-hover\\/p-toggle\\:after\\:w-2:after,.group\\/toggle-label:hover .group-hover\\/toggle-label\\:after\\:w-2:after{content:var(--tw-content);width:.5rem}.group\\/toggle-label:hover .checked\\:group-hover\\/toggle-label\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.group\\/toggle-label:hover .checked\\:group-hover\\/toggle-label\\:bg-indigo-700:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:left-full{left:100%}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+1px\\)\\]{--tw-translate-x:calc(-100% - 1px)}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+1px\\)\\],.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+2px\\)\\]{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))}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+2px\\)\\]{--tw-translate-x:calc(-100% - 2px)}.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\\:after\\:content-\\[\\'\\'\\]:after{--tw-content:"";content:var(--tw-content)}.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\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.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-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.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\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.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-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}`;
|
|
12
12
|
|
|
13
13
|
const toggle = index$1.cva([
|
|
14
|
-
'peer
|
|
15
|
-
'border
|
|
16
|
-
'
|
|
14
|
+
'peer m-0 flex-shrink-0 appearance-none outline-none',
|
|
15
|
+
'border-inset border border-solid',
|
|
16
|
+
'h-4 w-8 rounded-full',
|
|
17
17
|
], {
|
|
18
18
|
variants: {
|
|
19
19
|
disabled: {
|
|
20
20
|
false: [
|
|
21
21
|
'cursor-pointer shadow-1',
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
`
|
|
23
|
+
border-storm-100 bg-storm-50
|
|
24
|
+
dark:border-white/15 dark:bg-white/10
|
|
25
|
+
`,
|
|
26
|
+
`
|
|
27
|
+
hover:border-storm-500/20 hover:bg-indigo-100
|
|
28
|
+
dark:hover:border-white/15 dark:hover:bg-white/20
|
|
29
|
+
`,
|
|
30
|
+
`
|
|
31
|
+
group-hover/toggle-label:border-storm-500/20
|
|
32
|
+
group-hover/toggle-label:bg-indigo-100
|
|
33
|
+
`,
|
|
34
|
+
'checked:border-storm-500/20 checked:bg-indigo-600',
|
|
35
|
+
`
|
|
36
|
+
checked:ring-2 checked:ring-indigo-100
|
|
37
|
+
dark:checked:ring-0
|
|
38
|
+
`,
|
|
39
|
+
'checked:hover:border-storm-500/20 checked:hover:bg-indigo-700',
|
|
40
|
+
`
|
|
41
|
+
checked:group-hover/toggle-label:border-storm-500/20
|
|
42
|
+
checked:group-hover/toggle-label:bg-indigo-700
|
|
43
|
+
`,
|
|
29
44
|
],
|
|
30
|
-
true:
|
|
45
|
+
true: `
|
|
46
|
+
cursor-not-allowed border-storm-50 bg-white-600
|
|
47
|
+
dark:border-white/10 dark:bg-white/5
|
|
48
|
+
`,
|
|
31
49
|
},
|
|
32
50
|
},
|
|
33
51
|
});
|
|
34
52
|
const circle = index$1.cva([
|
|
35
53
|
'flex items-center justify-center',
|
|
36
|
-
'rounded-full transition-all
|
|
37
|
-
|
|
54
|
+
'rounded-full transition-all',
|
|
55
|
+
`
|
|
56
|
+
pointer-events-none absolute top-1/2 -translate-y-1/2 transform
|
|
57
|
+
peer-checked:left-full
|
|
58
|
+
`,
|
|
38
59
|
], {
|
|
39
60
|
variants: {
|
|
40
61
|
disabled: {
|
|
41
62
|
false: [
|
|
42
63
|
'bg-white ring-1 ring-storm-500/10',
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
64
|
+
`
|
|
65
|
+
left-[1px]
|
|
66
|
+
peer-checked:-translate-x-[calc(100%+1px)]
|
|
67
|
+
`,
|
|
68
|
+
`
|
|
69
|
+
after:rounded-full after:bg-indigo-800 after:transition-all
|
|
70
|
+
after:content-[unset]
|
|
71
|
+
peer-checked:after:content-['']
|
|
72
|
+
`,
|
|
73
|
+
`
|
|
74
|
+
h-[14px] w-[14px]
|
|
75
|
+
group-hover/p-toggle:w-[18px]
|
|
76
|
+
group-hover/toggle-label:w-[18px]
|
|
77
|
+
`,
|
|
78
|
+
`
|
|
79
|
+
after:h-1 after:w-1
|
|
80
|
+
group-hover/p-toggle:after:w-2
|
|
81
|
+
group-hover/toggle-label:after:w-2
|
|
82
|
+
`,
|
|
47
83
|
],
|
|
48
84
|
true: [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
85
|
+
`
|
|
86
|
+
bg-storm-100
|
|
87
|
+
peer-checked:bg-storm-200
|
|
88
|
+
dark:bg-white/15
|
|
89
|
+
dark:peer-checked:bg-white/15
|
|
90
|
+
`,
|
|
91
|
+
`
|
|
92
|
+
left-[2px]
|
|
93
|
+
peer-checked:-translate-x-[calc(100%+2px)]
|
|
94
|
+
`,
|
|
95
|
+
'h-3 w-3',
|
|
52
96
|
],
|
|
53
97
|
},
|
|
54
98
|
},
|
|
@@ -107,11 +151,11 @@ const Toggle = class {
|
|
|
107
151
|
}
|
|
108
152
|
render() {
|
|
109
153
|
const id = this.id?.length ? this.id : this._nonce;
|
|
110
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
154
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'a112d0ed2ec3daa865c559d44c587d20f76822f3' }, index.h("label", { key: '36c971bf96e575e59f0e4ad39e1d917f255abaf9', class: 'flex items-center justify-start gap-2', htmlFor: id }, index.h("div", { key: '5081f38fa7bfd14664f71c837db04473892c13b0', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, index.h("input", { key: '219ab4b5bb5e444e51987898e59c8c31a69b3d1a', checked: !!this.checked, class: toggle({
|
|
111
155
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
112
|
-
}), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), index.h("div", { key: '
|
|
156
|
+
}), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), index.h("div", { key: '9182edb7d27559da52a34e5481ac505c0bdd1d9b', class: circle({
|
|
113
157
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
114
|
-
}) })), index.h("div", { key: '
|
|
158
|
+
}) })), index.h("div", { key: 'c3cff9609226e9e5ed671e9ed46506b8d996788f', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, index.h("slot", { key: 'b140f22e50a8030d3a9deba673e0d0c078e7b064' })))));
|
|
115
159
|
}
|
|
116
160
|
_onChange(ev) {
|
|
117
161
|
if (asBoolean.asBoolean(this.disabled)) {
|
|
@@ -19,9 +19,12 @@ const popover = index$1.cva([
|
|
|
19
19
|
], {
|
|
20
20
|
variants: {
|
|
21
21
|
variant: {
|
|
22
|
-
hover:
|
|
22
|
+
hover: `
|
|
23
|
+
max-w-[14.5rem] bg-storm-500 py-1 text-white
|
|
24
|
+
dark:bg-white dark:text-storm-300
|
|
25
|
+
`,
|
|
23
26
|
click: 'max-w-[18rem]',
|
|
24
|
-
error: '
|
|
27
|
+
error: 'w-full max-w-full',
|
|
25
28
|
},
|
|
26
29
|
strategy: {
|
|
27
30
|
fixed: 'fixed',
|
|
@@ -35,7 +38,10 @@ const popover = index$1.cva([
|
|
|
35
38
|
},
|
|
36
39
|
{
|
|
37
40
|
variant: ['click', 'error'],
|
|
38
|
-
class:
|
|
41
|
+
class: `
|
|
42
|
+
bg-white py-2 text-storm-300
|
|
43
|
+
dark:bg-hurricane-800 dark:text-hurricane-200
|
|
44
|
+
`,
|
|
39
45
|
},
|
|
40
46
|
],
|
|
41
47
|
});
|
|
@@ -99,10 +105,10 @@ const Tooltip = class {
|
|
|
99
105
|
this._cleanup = null;
|
|
100
106
|
}
|
|
101
107
|
render() {
|
|
102
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
108
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'd6eed2d0ae314f5bc0c956df0360c7c3affe5349', "data-filled": this.content?.length > 0 || this._hasContentSlot }, index.h("slot", { key: '68a50b13f23fbb9ff40b83d6a1f1cbad56a12add', name: 'trigger' }), index.h("div", { key: '6d4726e4663fe88a8758485c55ee003fca9e9c59', class: popover({
|
|
103
109
|
variant: this.variant,
|
|
104
110
|
strategy: this.strategy,
|
|
105
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, index.h("div", { key: '
|
|
111
|
+
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, index.h("div", { key: '9ded5ee86411c2d35b3ef4b75894740b5a9db814', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (index.h("div", { key: 'fe330950d9662c415e99d1594581c096b5210cd7', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? index.h("slot", { key: '9ec941819d62d3fcca4edf9262d704644fb0f294', name: 'content' })))));
|
|
106
112
|
}
|
|
107
113
|
clickHandler() {
|
|
108
114
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
|
@@ -98,8 +98,8 @@ const getTableCellSizes = ({ sizes, } /* Table Definition */, variant) => {
|
|
|
98
98
|
const floatingMenuContainerClass = index.cva(['sticky self-center'], {
|
|
99
99
|
variants: {
|
|
100
100
|
hasFooter: {
|
|
101
|
-
true: '
|
|
102
|
-
false: 'my-4
|
|
101
|
+
true: 'bottom-11 z-[3] -mb-5 mt-4',
|
|
102
|
+
false: 'bottom-0 my-4',
|
|
103
103
|
},
|
|
104
104
|
active: {
|
|
105
105
|
false: 'pointer-events-none animate-floating-menu-container-out',
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
const avatar = cva([
|
|
4
|
-
|
|
4
|
+
`
|
|
5
|
+
p-avatar flex aspect-branding items-center justify-center rounded-full
|
|
6
|
+
font-ambit font-bold leading-none ring-1 ring-inset ring-storm-500/20
|
|
7
|
+
`,
|
|
5
8
|
], {
|
|
6
9
|
variants: {
|
|
7
10
|
variant: {
|
|
@@ -54,7 +57,7 @@ export class Avatar {
|
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '3a9dc3ebf87eed33626d3ae0885100a3ea4d9c78', class: avatar({
|
|
58
61
|
size: this.size,
|
|
59
62
|
variant: this.variant,
|
|
60
63
|
}) }, this._failed ? (h("span", null, this.letters?.[0] ?? ' ')) : (h("img", { class: 'z-0 aspect-branding h-full rounded-full object-cover', src: this._src, onError: () => this._setFailed() }))));
|
|
@@ -18,7 +18,7 @@ const backdrop = cva([
|
|
|
18
18
|
},
|
|
19
19
|
closing: {
|
|
20
20
|
false: 'animate-fade-in',
|
|
21
|
-
true: 'animate-fade-out
|
|
21
|
+
true: 'pointer-events-none animate-fade-out',
|
|
22
22
|
},
|
|
23
23
|
},
|
|
24
24
|
});
|
|
@@ -30,10 +30,22 @@ const contentContainer = cva([
|
|
|
30
30
|
variants: {
|
|
31
31
|
variant: {
|
|
32
32
|
modal: [
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
`
|
|
34
|
+
pt-16
|
|
35
|
+
tablet:px-16
|
|
36
|
+
desktop-xs:py-8
|
|
37
|
+
`,
|
|
38
|
+
`
|
|
39
|
+
items-end justify-center
|
|
40
|
+
desktop-xs:items-stretch
|
|
41
|
+
`,
|
|
42
|
+
],
|
|
43
|
+
drawer: [
|
|
44
|
+
`
|
|
45
|
+
items-start justify-end
|
|
46
|
+
desktop-xs:items-start
|
|
47
|
+
`,
|
|
35
48
|
],
|
|
36
|
-
drawer: ['items-start justify-end desktop-xs:items-start'],
|
|
37
49
|
},
|
|
38
50
|
closing: {
|
|
39
51
|
false: null,
|
|
@@ -89,13 +101,13 @@ export class Backdrop {
|
|
|
89
101
|
}
|
|
90
102
|
}
|
|
91
103
|
render() {
|
|
92
|
-
return (h(ThemedHost, { key: '
|
|
104
|
+
return (h(ThemedHost, { key: '8f40c9b8b13965b7d2f566ff2b1aa77b111965be' }, h("div", { key: '9bcf89352f9bbf9bf32681e9c918379baf983921', class: backdrop({
|
|
93
105
|
blur: asBoolean(this.applyBlur),
|
|
94
106
|
closing: asBoolean(this.closing),
|
|
95
|
-
}) }, h("div", { key: '
|
|
107
|
+
}) }, h("div", { key: 'e1875ea68d88c1a0893ca5c7293a3aceaa906d35', class: contentContainer({
|
|
96
108
|
variant: this.variant,
|
|
97
109
|
closing: asBoolean(this.closing),
|
|
98
|
-
}) }, h("slot", { key: '
|
|
110
|
+
}) }, h("slot", { key: '9a3b3f0188a0761e9a8b0fb39910898cad762918' })))));
|
|
99
111
|
}
|
|
100
112
|
handleClick(ev) {
|
|
101
113
|
if (ev.target !== this._el && !this._el.contains(ev.target)) {
|
|
@@ -5,13 +5,19 @@ const badge = cva([
|
|
|
5
5
|
'inline-flex items-center justify-center',
|
|
6
6
|
'h-4 min-w-4 px-1',
|
|
7
7
|
'rounded-full',
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
`
|
|
9
|
+
bg-storm-100
|
|
10
|
+
dark:bg-white/20
|
|
11
|
+
`,
|
|
12
|
+
`
|
|
13
|
+
text-storm-500
|
|
14
|
+
dark:text-white
|
|
15
|
+
`,
|
|
10
16
|
'text-center text-xs font-semibold tracking-tight',
|
|
11
17
|
]);
|
|
12
18
|
export class Badge {
|
|
13
19
|
render() {
|
|
14
|
-
return (h(ThemedHost, { key: '
|
|
20
|
+
return (h(ThemedHost, { key: '8d30aeb1da5a6e388bda06a15f92a06632a68433' }, h("div", { key: '59b10cb3fe29df5ecf33181f092f06b03b921f1c', class: badge() }, h("slot", { key: 'ae19227cab5cb241bd08fd9b4d0c1b2b5e52a252' }))));
|
|
15
21
|
}
|
|
16
22
|
static get is() { return "p-badge"; }
|
|
17
23
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,14 +21,24 @@ import { asBoolean } from "../../../../utils/as-boolean";
|
|
|
21
21
|
// dark:bg-indigo-50 dark:bg-indigo-100 dark:bg-indigo-200 dark:bg-indigo-300 dark:bg-indigo-400 dark:bg-indigo-500 dark:bg-indigo-600 dark:bg-indigo-700 dark:bg-indigo-800 dark:bg-indigo-900 dark:bg-indigo
|
|
22
22
|
// dark:bg-storm-50 dark:bg-storm-100 dark:bg-storm-200 dark:bg-storm-300 dark:bg-storm-400 dark:bg-storm-500 dark:bg-storm-600 dark:bg-storm-700 dark:bg-storm-800 dark:bg-storm
|
|
23
23
|
// dark:bg-hurricane-50 dark:bg-hurricane-100 dark:bg-hurricane-200 dark:bg-hurricane-300 dark:bg-hurricane-400 dark:bg-hurricane-500 dark:bg-hurricane-600 dark:bg-hurricane-700 dark:bg-hurricane-800 dark:bg-hurricane
|
|
24
|
-
const container = cva(['flex
|
|
24
|
+
const container = cva(['flex h-inherit w-inherit flex-col transition', 'rounded-2xl'], {
|
|
25
25
|
variants: {
|
|
26
26
|
variant: {
|
|
27
|
-
default:
|
|
28
|
-
|
|
27
|
+
default: `
|
|
28
|
+
border-off-white-700
|
|
29
|
+
dark:border-white/15
|
|
30
|
+
`,
|
|
31
|
+
error: `
|
|
32
|
+
border-negative-red-500 ring-2 ring-negative-red-50
|
|
33
|
+
dark:border-negative-red-alternative dark:ring-0
|
|
34
|
+
`,
|
|
29
35
|
},
|
|
30
36
|
hoverable: {
|
|
31
|
-
true:
|
|
37
|
+
true: `
|
|
38
|
+
cursor-pointer
|
|
39
|
+
hover:bg-off-white-200
|
|
40
|
+
dark:hover:bg-hurricane-500
|
|
41
|
+
`,
|
|
32
42
|
false: null,
|
|
33
43
|
},
|
|
34
44
|
shadow: {
|
|
@@ -85,13 +95,13 @@ export class CardContainer {
|
|
|
85
95
|
*/
|
|
86
96
|
border = true;
|
|
87
97
|
render() {
|
|
88
|
-
return (h(ThemedHost, { key: '
|
|
98
|
+
return (h(ThemedHost, { key: 'a38d44ea64514da47c620cf3ea4715a764a09774' }, h("div", { key: '4311d4de38c82349896e47ef2a45734505c54890', class: cn(container({
|
|
89
99
|
variant: this.variant,
|
|
90
100
|
active: asBoolean(this.active, false),
|
|
91
101
|
hoverable: asBoolean(this.hoverable, false),
|
|
92
102
|
shadow: asBoolean(this.shadow, true),
|
|
93
103
|
border: asBoolean(this.border),
|
|
94
|
-
}), this.bgClass) }, h("slot", { key: '
|
|
104
|
+
}), this.bgClass) }, h("slot", { key: '55798f8cdab816bf4eb64464006a5069fe33dfe6' }))));
|
|
95
105
|
}
|
|
96
106
|
static get is() { return "p-card-container"; }
|
|
97
107
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
4
|
import { asBoolean } from "../../../../utils/as-boolean";
|
|
5
|
-
const header = cva(
|
|
5
|
+
const header = cva(`relative z-[1] inline-flex w-full flex-col justify-start rounded-t-2xl`, {
|
|
6
6
|
variants: {
|
|
7
7
|
variant: {
|
|
8
8
|
default: 'px-4',
|
|
@@ -18,7 +18,10 @@ const content = cva('flex items-center gap-2', {
|
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
20
|
});
|
|
21
|
-
const title = cva(
|
|
21
|
+
const title = cva(`
|
|
22
|
+
flex h-8 min-w-0 items-center gap-2 text-sm font-bold text-storm-500
|
|
23
|
+
dark:text-white
|
|
24
|
+
`);
|
|
22
25
|
export class CardHeader {
|
|
23
26
|
/**
|
|
24
27
|
* The variant of the card header
|
|
@@ -49,7 +52,7 @@ export class CardHeader {
|
|
|
49
52
|
variant: this.variant,
|
|
50
53
|
}) }, h("div", { key: '3d56078ea79fdcb81461437dd3b8c66f712a5cef', class: content({
|
|
51
54
|
variant: this.variant,
|
|
52
|
-
}) }, this.icon ? (h("p-icon", { class: 'text-storm-300
|
|
55
|
+
}) }, this.icon ? (h("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (h("slot", { name: 'prefix' })), h("div", { key: '005f43cba3bfe99a983662f0bfb7d6c5429cef5d', class: title() }, h("span", { key: '1fc8a26b87fc27bc6d51031bde168b9a1ab3e395', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : h("slot", null)), h("slot", { key: '0afc16e030c057789bbbf3ef3649d81c7721dfa6', name: 'content-suffix' })), h("div", { key: 'e8e336a47953c3a6f11434622aa221e9295d4592', class: '\n ml-auto flex items-center justify-end gap-4\n empty:hidden\n ' }, h("slot", { key: 'b0aec6d332a4109cb91fae4c5b75945486c1b91c', name: 'suffix' }))), this.variant === 'default' ? (asBoolean(this.divider) && (h("p-divider", { class: '\n text-off-white-700\n dark:text-white/15\n ' }))) : (h("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, h("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
|
|
53
56
|
}
|
|
54
57
|
static get is() { return "p-card-header"; }
|
|
55
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,45 +4,79 @@ import { ThemedHost } from "../../../internal/themed-host.component";
|
|
|
4
4
|
import { asBoolean } from "../../../utils/as-boolean";
|
|
5
5
|
import { nonce } from "../../../utils/nonce";
|
|
6
6
|
const checkbox = cva([
|
|
7
|
-
'peer
|
|
8
|
-
'border
|
|
9
|
-
'
|
|
7
|
+
'peer m-0 flex-shrink-0 appearance-none outline-none',
|
|
8
|
+
'border-inset border border-solid',
|
|
9
|
+
'h-4 w-4 rounded',
|
|
10
10
|
], {
|
|
11
11
|
variants: {
|
|
12
12
|
disabled: {
|
|
13
13
|
false: [
|
|
14
14
|
'cursor-pointer shadow-1',
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
`
|
|
16
|
+
border-storm-100 bg-white
|
|
17
|
+
dark:border-white/15 dark:bg-white/10
|
|
18
|
+
`,
|
|
19
|
+
`
|
|
20
|
+
hover:border-storm-500/20 hover:bg-indigo-100
|
|
21
|
+
dark:hover:border-white/15 dark:hover:bg-white/20
|
|
22
|
+
`,
|
|
23
|
+
`
|
|
24
|
+
group-hover/checkbox-label:border-storm-100
|
|
25
|
+
group-hover/checkbox-label:bg-indigo-100
|
|
26
|
+
`,
|
|
27
|
+
'checked:border-storm-500/20 checked:bg-indigo-600',
|
|
28
|
+
`
|
|
29
|
+
checked:ring-2 checked:ring-indigo-100
|
|
30
|
+
dark:checked:ring-0
|
|
31
|
+
`,
|
|
32
|
+
'checked:hover:border-storm-500/20 checked:hover:bg-indigo-700',
|
|
33
|
+
`
|
|
34
|
+
checked:group-hover/checkbox-label:border-storm-500/20
|
|
35
|
+
checked:group-hover/checkbox-label:bg-indigo-700
|
|
36
|
+
`,
|
|
37
|
+
'indeterminate:border-storm-500/20 indeterminate:bg-indigo-600',
|
|
23
38
|
'indeterminate:ring-2 indeterminate:ring-indigo-100',
|
|
24
|
-
'indeterminate:hover:
|
|
25
|
-
|
|
39
|
+
'indeterminate:hover:border-storm-500/20 indeterminate:hover:bg-indigo-700',
|
|
40
|
+
`
|
|
41
|
+
indeterminate:group-hover/checkbox-label:border-storm-500/20
|
|
42
|
+
indeterminate:group-hover/checkbox-label:bg-indigo-700
|
|
43
|
+
`,
|
|
26
44
|
],
|
|
27
|
-
true:
|
|
45
|
+
true: `
|
|
46
|
+
cursor-not-allowed border-storm-50 bg-white-600
|
|
47
|
+
dark:border-white/10 dark:bg-white/5
|
|
48
|
+
`,
|
|
28
49
|
},
|
|
29
50
|
},
|
|
30
51
|
});
|
|
31
52
|
const iconContainer = cva([
|
|
32
|
-
|
|
33
|
-
|
|
53
|
+
`
|
|
54
|
+
hidden
|
|
55
|
+
peer-checked:flex
|
|
56
|
+
peer-indeterminate:flex
|
|
57
|
+
`,
|
|
58
|
+
`
|
|
59
|
+
pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2
|
|
60
|
+
-translate-y-1/2 transform
|
|
61
|
+
`,
|
|
34
62
|
], {
|
|
35
63
|
variants: {
|
|
36
64
|
disabled: {
|
|
37
65
|
false: 'text-white',
|
|
38
|
-
true:
|
|
66
|
+
true: `
|
|
67
|
+
text-storm-200
|
|
68
|
+
dark:text-hurricane-300
|
|
69
|
+
`,
|
|
39
70
|
},
|
|
40
71
|
},
|
|
41
72
|
});
|
|
42
|
-
const icon = cva(['drop-shadow-2
|
|
73
|
+
const icon = cva(['text-xs drop-shadow-2'], {
|
|
43
74
|
variants: {
|
|
44
75
|
disabled: {
|
|
45
|
-
false:
|
|
76
|
+
false: `
|
|
77
|
+
group-hover/checkbox-label:text-sm
|
|
78
|
+
group-hover/p-checkbox:text-sm
|
|
79
|
+
`,
|
|
46
80
|
true: null,
|
|
47
81
|
},
|
|
48
82
|
},
|
|
@@ -94,13 +128,13 @@ export class Checkbox {
|
|
|
94
128
|
}
|
|
95
129
|
render() {
|
|
96
130
|
const id = this.id?.length ? this.id : this._nonce;
|
|
97
|
-
return (h(ThemedHost, { key: '
|
|
131
|
+
return (h(ThemedHost, { key: '790e3aa34ae9ab672a26033e58b1801742e9989d' }, h("label", { key: 'a40fd069e097065a718100d32b0f823e228f6aec', class: 'group/p-checkbox flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: '102743e8fb860e7290d77e7407be13856460f613', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: 'e0aab8a3669d74a544d49ea0dfa40312c913d20e', checked: asBoolean(this.checked), class: checkbox({
|
|
98
132
|
disabled: asBoolean(this.disabled),
|
|
99
|
-
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
133
|
+
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '54a632b71823fe37ea899841ce1a991ade8dab08', class: iconContainer({
|
|
100
134
|
disabled: asBoolean(this.disabled),
|
|
101
|
-
}) }, h("p-icon", { key: '
|
|
135
|
+
}) }, h("p-icon", { key: '78ea7112217b5d623be8dcd20c422796a85372dc', class: icon({
|
|
102
136
|
disabled: asBoolean(this.disabled),
|
|
103
|
-
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), h("div", { key: '
|
|
137
|
+
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), h("div", { key: '6946c6e2c07e6a38ce02d849468d499728a0e4c5', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: '7219e1faea7dee90c29a1e9c4c5182caffad36c5' })))));
|
|
104
138
|
}
|
|
105
139
|
_onChange(ev) {
|
|
106
140
|
if (this.disabled) {
|
|
@@ -4,14 +4,36 @@ import { ThemedHost } from "../../../internal/themed-host.component";
|
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
const content = cva([
|
|
6
6
|
'flex items-center',
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
`
|
|
8
|
+
before:content-[""]
|
|
9
|
+
after:content-[""]
|
|
10
|
+
`,
|
|
11
|
+
`
|
|
12
|
+
before:bg-current
|
|
13
|
+
after:bg-current
|
|
14
|
+
`,
|
|
15
|
+
`
|
|
16
|
+
before:flex-1
|
|
17
|
+
after:flex-1
|
|
18
|
+
`,
|
|
10
19
|
], {
|
|
11
20
|
variants: {
|
|
12
21
|
variant: {
|
|
13
|
-
horizontal: [
|
|
14
|
-
|
|
22
|
+
horizontal: [
|
|
23
|
+
`
|
|
24
|
+
before:h-px
|
|
25
|
+
after:h-px
|
|
26
|
+
`,
|
|
27
|
+
'w-full',
|
|
28
|
+
],
|
|
29
|
+
vertical: [
|
|
30
|
+
'flex-col',
|
|
31
|
+
`
|
|
32
|
+
before:w-px
|
|
33
|
+
after:w-px
|
|
34
|
+
`,
|
|
35
|
+
'h-full',
|
|
36
|
+
],
|
|
15
37
|
},
|
|
16
38
|
alignContent: {
|
|
17
39
|
start: 'before:hidden',
|
|
@@ -35,12 +57,12 @@ export class Divider {
|
|
|
35
57
|
_el;
|
|
36
58
|
render() {
|
|
37
59
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
38
|
-
return (h(ThemedHost, { key: '
|
|
60
|
+
return (h(ThemedHost, { key: '8dc52e5323e9ccbabf6ac4ef27ac69cab95daae4' }, h("div", { key: '0e4feec398c8eea9a625e673a2d1ce12002bf794', class: cn(content({
|
|
39
61
|
variant: this.variant,
|
|
40
62
|
alignContent: this.alignContent,
|
|
41
63
|
}), {
|
|
42
64
|
'text-off-white-700 dark:text-hurricane-400': !this._el.className.includes('text'),
|
|
43
|
-
}) }, h("div", { key: '
|
|
65
|
+
}) }, h("div", { key: '6d2c51c55ac70ecca3f281d562ac3e095240f991', class: '\n flex items-center px-2 text-sm font-medium text-storm-400\n empty:px-0\n dark:text-hurricane-200\n ' }, hasContent && h("slot", { key: 'b7ebd8a85ef5f9e049bbb4232ece62fc25b6708f' })))));
|
|
44
66
|
}
|
|
45
67
|
static get is() { return "p-divider"; }
|
|
46
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,10 +3,17 @@ import { cva } from "class-variance-authority";
|
|
|
3
3
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
4
|
import { asBoolean } from "../../../../utils/as-boolean";
|
|
5
5
|
const container = cva([
|
|
6
|
-
'
|
|
6
|
+
'min-w-0 flex-1 my-safe-2',
|
|
7
7
|
'z-drawer flex flex-col',
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
`
|
|
9
|
+
rounded-2xl bg-white
|
|
10
|
+
dark:border dark:border-solid dark:border-hurricane-400
|
|
11
|
+
dark:bg-hurricane-600
|
|
12
|
+
`,
|
|
13
|
+
`
|
|
14
|
+
w-full
|
|
15
|
+
tablet:w-[22.5rem]
|
|
16
|
+
`,
|
|
10
17
|
'shadow-modal',
|
|
11
18
|
], {
|
|
12
19
|
variants: {
|
|
@@ -22,9 +29,9 @@ export class DrawerContainer {
|
|
|
22
29
|
*/
|
|
23
30
|
closing = false;
|
|
24
31
|
render() {
|
|
25
|
-
return (h(ThemedHost, { key: '
|
|
32
|
+
return (h(ThemedHost, { key: 'bc792e09626c80196369ca43ef43135e6e10132c' }, h("div", { key: 'e3b242a8cd8ba7034aebaf5bd7de73242d7c4c33', class: container({
|
|
26
33
|
closing: asBoolean(this.closing),
|
|
27
|
-
}) }, h("slot", { key: '
|
|
34
|
+
}) }, h("slot", { key: '5e0b9ca40dc6528825b212776d1c4eee7e198f73' }))));
|
|
28
35
|
}
|
|
29
36
|
static get is() { return "p-drawer-container"; }
|
|
30
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,14 +2,20 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
4
|
const header = cva([
|
|
5
|
-
'
|
|
6
|
-
|
|
5
|
+
'relative z-[1] min-h-18 w-full flex-col overflow-hidden rounded-t-2xl',
|
|
6
|
+
`
|
|
7
|
+
bg-white
|
|
8
|
+
dark:bg-hurricane-600
|
|
9
|
+
`,
|
|
7
10
|
'inline-flex',
|
|
8
11
|
]);
|
|
9
|
-
const content = cva(['flex justify-between', 'w-full p-4 pb-0
|
|
12
|
+
const content = cva(['flex justify-between', 'min-h-12 w-full p-4 pb-0']);
|
|
10
13
|
const title = cva([
|
|
11
14
|
'flex-1 text-center',
|
|
12
|
-
|
|
15
|
+
`
|
|
16
|
+
text-ambit text-2xl font-bold text-storm-500
|
|
17
|
+
dark:text-white
|
|
18
|
+
`,
|
|
13
19
|
]);
|
|
14
20
|
export class DrawerHeader {
|
|
15
21
|
/**
|
|
@@ -21,7 +27,7 @@ export class DrawerHeader {
|
|
|
21
27
|
*/
|
|
22
28
|
close;
|
|
23
29
|
render() {
|
|
24
|
-
return (h(ThemedHost, { key: '
|
|
30
|
+
return (h(ThemedHost, { key: 'e05ec2c9d94a38c646e446b2882f675bcccad49e' }, h("div", { key: 'ac59d07abee48dc4bdb945a6cc780c2e124e4613', class: header() }, h("div", { key: 'fb95e22321f77109a554c790fc1d7bc59cf8f404', class: content() }, this.showClose && (h("p-button", { key: 'f6f1c5524ddb466b48682b03571ee245111d3280', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) })), h("div", { key: 'ed99afeff2a45c9a17558d256863c4f22f99594f', class: title() }, h("slot", { key: 'fffd297b663ad9761c848b4dd47a40c545eec324' })), this.showClose && h("div", { key: '73cf17ce479ad201c6ea905043512dfb2b5dd780', class: 'size-8' })), h("p-smile", { key: '07a4e62c3294e1427159c2a73214d754d043da03', class: 'dark:text-hurricane-400' }))));
|
|
25
31
|
}
|
|
26
32
|
static get is() { return "p-drawer-header"; }
|
|
27
33
|
static get encapsulation() { return "shadow"; }
|