@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
|
@@ -5,19 +5,19 @@ import { asBoolean } from "../../../../utils/as-boolean";
|
|
|
5
5
|
const dropdownMenuContainer = cva([
|
|
6
6
|
'p-dropdown-menu-container',
|
|
7
7
|
'p-1',
|
|
8
|
-
'rounded-lg
|
|
8
|
+
'z-10 rounded-lg',
|
|
9
9
|
'border',
|
|
10
10
|
'transform-gpu will-change-transform',
|
|
11
11
|
], {
|
|
12
12
|
variants: {
|
|
13
13
|
variant: {
|
|
14
14
|
default: [
|
|
15
|
-
'
|
|
16
|
-
'dark:bg-hurricane-400
|
|
15
|
+
'border-storm-100 bg-white drop-shadow-2',
|
|
16
|
+
'dark:border-transparent dark:bg-hurricane-400',
|
|
17
17
|
],
|
|
18
18
|
storm: [
|
|
19
|
-
'bg-storm-400 drop-shadow-3
|
|
20
|
-
'dark:
|
|
19
|
+
'border-storm-400 bg-storm-400 drop-shadow-3',
|
|
20
|
+
'dark:border-storm-100 dark:border-white/60 dark:bg-white',
|
|
21
21
|
],
|
|
22
22
|
},
|
|
23
23
|
fullWidth: {
|
|
@@ -37,7 +37,7 @@ const dropdownMenuContainer = cva([
|
|
|
37
37
|
},
|
|
38
38
|
],
|
|
39
39
|
});
|
|
40
|
-
const innerContainer = cva('
|
|
40
|
+
const innerContainer = cva('relative min-h-full w-full', {
|
|
41
41
|
variants: {
|
|
42
42
|
allowOverflow: {
|
|
43
43
|
false: 'overflow-y-auto overflow-x-hidden',
|
|
@@ -4,14 +4,20 @@ import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
|
4
4
|
import { cn } from "../../../../utils";
|
|
5
5
|
import { asBoolean } from "../../../../utils/as-boolean";
|
|
6
6
|
const dropdownMenuItem = cva([
|
|
7
|
-
|
|
7
|
+
`
|
|
8
|
+
p-dropdown-menu-item group flex max-w-full items-center gap-2 rounded-lg
|
|
9
|
+
text-sm
|
|
10
|
+
`,
|
|
8
11
|
], {
|
|
9
12
|
variants: {
|
|
10
13
|
variant: {
|
|
11
14
|
default: null,
|
|
12
15
|
storm: null,
|
|
13
16
|
negative: null,
|
|
14
|
-
pagination:
|
|
17
|
+
pagination: `
|
|
18
|
+
h-6 px-2 text-xs text-storm-300
|
|
19
|
+
dark:text-hurricane-200
|
|
20
|
+
`,
|
|
15
21
|
},
|
|
16
22
|
active: {
|
|
17
23
|
false: null,
|
|
@@ -54,47 +60,71 @@ const dropdownMenuItem = cva([
|
|
|
54
60
|
active: false,
|
|
55
61
|
enableHover: true,
|
|
56
62
|
disabled: false,
|
|
57
|
-
class:
|
|
63
|
+
class: `
|
|
64
|
+
hover:bg-indigo-50
|
|
65
|
+
dark:hover:bg-indigo-600/10
|
|
66
|
+
`,
|
|
58
67
|
},
|
|
59
68
|
{
|
|
60
69
|
variant: 'default',
|
|
61
70
|
active: true,
|
|
62
71
|
disabled: false,
|
|
63
|
-
class:
|
|
72
|
+
class: `
|
|
73
|
+
bg-indigo-100
|
|
74
|
+
dark:bg-indigo-600/20
|
|
75
|
+
`,
|
|
64
76
|
},
|
|
65
77
|
{
|
|
66
78
|
variant: 'default',
|
|
67
79
|
disabled: false,
|
|
68
|
-
class:
|
|
80
|
+
class: `
|
|
81
|
+
text-storm-500
|
|
82
|
+
dark:text-white
|
|
83
|
+
`,
|
|
69
84
|
},
|
|
70
85
|
{
|
|
71
86
|
variant: 'default',
|
|
72
87
|
disabled: true,
|
|
73
|
-
class:
|
|
88
|
+
class: `
|
|
89
|
+
text-storm-200
|
|
90
|
+
dark:text-hurricane-300
|
|
91
|
+
`,
|
|
74
92
|
},
|
|
75
93
|
{
|
|
76
94
|
variant: 'default',
|
|
77
95
|
disabled: true,
|
|
78
96
|
active: true,
|
|
79
|
-
class:
|
|
97
|
+
class: `
|
|
98
|
+
bg-indigo-50
|
|
99
|
+
dark:bg-white/5
|
|
100
|
+
`,
|
|
80
101
|
},
|
|
81
102
|
{
|
|
82
103
|
variant: 'storm',
|
|
83
104
|
active: false,
|
|
84
105
|
enableHover: true,
|
|
85
|
-
class:
|
|
106
|
+
class: `
|
|
107
|
+
text-white
|
|
108
|
+
dark:text-storm-500
|
|
109
|
+
`,
|
|
86
110
|
},
|
|
87
111
|
{
|
|
88
112
|
variant: 'storm',
|
|
89
113
|
active: false,
|
|
90
114
|
enableHover: true,
|
|
91
115
|
disabled: false,
|
|
92
|
-
class:
|
|
116
|
+
class: `
|
|
117
|
+
hover:bg-storm-500
|
|
118
|
+
dark:hover:bg-storm-500/15
|
|
119
|
+
`,
|
|
93
120
|
},
|
|
94
121
|
{
|
|
95
122
|
variant: 'storm',
|
|
96
123
|
active: true,
|
|
97
|
-
class:
|
|
124
|
+
class: `
|
|
125
|
+
bg-storm-600 text-white
|
|
126
|
+
dark:bg-storm-500/20 dark:text-storm-500
|
|
127
|
+
`,
|
|
98
128
|
},
|
|
99
129
|
{
|
|
100
130
|
variant: 'storm',
|
|
@@ -106,13 +136,20 @@ const dropdownMenuItem = cva([
|
|
|
106
136
|
active: false,
|
|
107
137
|
enableHover: true,
|
|
108
138
|
disabled: false,
|
|
109
|
-
class:
|
|
139
|
+
class: `
|
|
140
|
+
text-negative-red-500
|
|
141
|
+
hover:bg-negative-red-50
|
|
142
|
+
dark:hover:bg-negative-red-500/10
|
|
143
|
+
`,
|
|
110
144
|
},
|
|
111
145
|
{
|
|
112
146
|
variant: 'negative',
|
|
113
147
|
active: true,
|
|
114
148
|
disabled: false,
|
|
115
|
-
class:
|
|
149
|
+
class: `
|
|
150
|
+
bg-negative-red-100 text-negative-red-500
|
|
151
|
+
dark:bg-negative-red-500/15
|
|
152
|
+
`,
|
|
116
153
|
},
|
|
117
154
|
{
|
|
118
155
|
variant: 'negative',
|
|
@@ -159,8 +196,14 @@ const dropdownMenuItemIcon = cva(['text-base'], {
|
|
|
159
196
|
active: false,
|
|
160
197
|
disabled: false,
|
|
161
198
|
class: [
|
|
162
|
-
|
|
163
|
-
|
|
199
|
+
`
|
|
200
|
+
text-storm-300
|
|
201
|
+
group-hover:text-storm-500
|
|
202
|
+
`,
|
|
203
|
+
`
|
|
204
|
+
dark:text-hurricane-200
|
|
205
|
+
dark:group-hover:text-white
|
|
206
|
+
`,
|
|
164
207
|
],
|
|
165
208
|
},
|
|
166
209
|
{
|
|
@@ -168,21 +211,35 @@ const dropdownMenuItemIcon = cva(['text-base'], {
|
|
|
168
211
|
active: false,
|
|
169
212
|
disabled: false,
|
|
170
213
|
class: [
|
|
171
|
-
|
|
172
|
-
|
|
214
|
+
`
|
|
215
|
+
text-storm-100
|
|
216
|
+
group-hover:text-white
|
|
217
|
+
`,
|
|
218
|
+
`
|
|
219
|
+
dark:text-storm-300
|
|
220
|
+
dark:group-hover:text-storm-500
|
|
221
|
+
`,
|
|
173
222
|
],
|
|
174
223
|
},
|
|
175
224
|
{
|
|
176
225
|
variant: 'negative',
|
|
177
226
|
active: false,
|
|
178
227
|
disabled: false,
|
|
179
|
-
class:
|
|
228
|
+
class: `
|
|
229
|
+
text-negative-red-500
|
|
230
|
+
group-hover:text-negative-red-800
|
|
231
|
+
dark:text-negative-red-alternative
|
|
232
|
+
dark:group-hover:text-negative-red-500
|
|
233
|
+
`,
|
|
180
234
|
},
|
|
181
235
|
{
|
|
182
236
|
variant: 'negative',
|
|
183
237
|
active: true,
|
|
184
238
|
disabled: false,
|
|
185
|
-
class:
|
|
239
|
+
class: `
|
|
240
|
+
text-negative-red-800
|
|
241
|
+
dark:text-negative-red-500
|
|
242
|
+
`,
|
|
186
243
|
},
|
|
187
244
|
],
|
|
188
245
|
});
|
|
@@ -228,19 +285,19 @@ export class DropdownMenuItem {
|
|
|
228
285
|
*/
|
|
229
286
|
autoHeight = false;
|
|
230
287
|
render() {
|
|
231
|
-
return (h(ThemedHost, { key: '
|
|
288
|
+
return (h(ThemedHost, { key: '9db5400644abc5f1cd2b61bddbf2e17ff7b819a1' }, h("div", { key: '35a64c76b96041fc565c19845aca3f0330c96b49', class: cn(dropdownMenuItem({
|
|
232
289
|
variant: this.variant,
|
|
233
290
|
active: asBoolean(this.active),
|
|
234
291
|
enableHover: asBoolean(this.enableHover ?? true),
|
|
235
292
|
autoHeight: asBoolean(this.autoHeight ?? false),
|
|
236
293
|
enableTextWrap: this.enableTextWrap,
|
|
237
294
|
disabled: asBoolean(this.disabled),
|
|
238
|
-
})) }, this.icon && (h("p-icon", { key: '
|
|
295
|
+
})) }, this.icon && (h("p-icon", { key: 'a7a7a2d9c28cf63aeb66043eb7c8e28fe375437c', class: dropdownMenuItemIcon({
|
|
239
296
|
variant: this.variant,
|
|
240
297
|
active: asBoolean(this.active),
|
|
241
298
|
disabled: asBoolean(this.disabled),
|
|
242
299
|
wave: asBoolean(this.iconWave),
|
|
243
|
-
}), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: '
|
|
300
|
+
}), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: 'e57a547ced7bd228f920d5c5197d6c17dc1aeaee', checked: this.active, disabled: this.disabled })), this.useContainer ? (h("div", { class: cn('block w-full overflow-hidden text-start', {
|
|
244
301
|
'text-ellipsis whitespace-nowrap': !this.enableTextWrap,
|
|
245
302
|
}) }, h("slot", null))) : (h("slot", null)))));
|
|
246
303
|
}
|
|
@@ -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 item = cva(['group', 'flex
|
|
5
|
+
const item = cva(['group', 'flex h-8 items-center gap-2 px-2', 'text-sm', 'rounded-lg'], {
|
|
6
6
|
variants: {
|
|
7
7
|
hover: {
|
|
8
8
|
false: null,
|
|
@@ -10,7 +10,7 @@ const item = cva(['group', 'flex gap-2 items-center h-8 px-2', 'text-sm', 'round
|
|
|
10
10
|
},
|
|
11
11
|
disabled: {
|
|
12
12
|
false: null,
|
|
13
|
-
true: '
|
|
13
|
+
true: 'cursor-not-allowed opacity-60',
|
|
14
14
|
},
|
|
15
15
|
},
|
|
16
16
|
compoundVariants: [
|
|
@@ -26,8 +26,15 @@ const item = cva(['group', 'flex gap-2 items-center h-8 px-2', 'text-sm', 'round
|
|
|
26
26
|
disabled: false,
|
|
27
27
|
hover: true,
|
|
28
28
|
class: [
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
`
|
|
30
|
+
cursor-pointer
|
|
31
|
+
hover:bg-storm-800
|
|
32
|
+
active:bg-storm-700 active:text-storm-100/60
|
|
33
|
+
`,
|
|
34
|
+
`
|
|
35
|
+
dark:hover:bg-hurricane-500
|
|
36
|
+
dark:active:bg-hurricane-600/50
|
|
37
|
+
`,
|
|
31
38
|
],
|
|
32
39
|
},
|
|
33
40
|
],
|
|
@@ -47,7 +54,10 @@ const icon = cva([], {
|
|
|
47
54
|
{
|
|
48
55
|
disabled: false,
|
|
49
56
|
hover: true,
|
|
50
|
-
class:
|
|
57
|
+
class: `
|
|
58
|
+
group-hover:text-storm-100
|
|
59
|
+
group-active:text-storm-100/60
|
|
60
|
+
`,
|
|
51
61
|
},
|
|
52
62
|
],
|
|
53
63
|
});
|
|
@@ -81,10 +91,10 @@ export class FloatingMenuItem {
|
|
|
81
91
|
*/
|
|
82
92
|
iconRotate;
|
|
83
93
|
render() {
|
|
84
|
-
return (h(ThemedHost, { key: '
|
|
94
|
+
return (h(ThemedHost, { key: '9ea48ae1034fdfac03dda8cc37f418b70e84d110', class: item({
|
|
85
95
|
hover: asBoolean(this.hover) && !asBoolean(this.loading),
|
|
86
96
|
disabled: asBoolean(this.disabled),
|
|
87
|
-
}) }, this._getIcon(), h("p", { key: '
|
|
97
|
+
}) }, this._getIcon(), h("p", { key: 'd95a7f2ccf5e11fb5048bf9ae651e341a62a75ec', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, h("slot", { key: '0af451107a9e94f6b63aa90d0683e4b50b43ba40' }))));
|
|
88
98
|
}
|
|
89
99
|
_getIcon() {
|
|
90
100
|
if (!this.icon && !this.loading) {
|
|
@@ -10,7 +10,7 @@ export class Helper {
|
|
|
10
10
|
*/
|
|
11
11
|
placement = 'top';
|
|
12
12
|
render() {
|
|
13
|
-
return (h(ThemedHost, { key: 'd7f07b4f232bb43ce0988ea8533353a8d193e7bf' }, h("p-tooltip", { key: 'df76c8696c9621a6ea5431c5d256eded55de0b57', class: 'flex', placement: this.placement, strategy: this.strategy }, h("p-icon", { key: '
|
|
13
|
+
return (h(ThemedHost, { key: 'd7f07b4f232bb43ce0988ea8533353a8d193e7bf' }, h("p-tooltip", { key: 'df76c8696c9621a6ea5431c5d256eded55de0b57', class: 'flex', placement: this.placement, strategy: this.strategy }, h("p-icon", { key: 'f582de019e9a60ebe2296405354cb48ebfc4ca1f', class: '\n cursor-pointer text-storm-300\n hover:text-storm-500\n dark:text-hurricane-300\n dark:hover:text-hurricane-200\n ', size: 'sm', slot: 'trigger', variant: 'question-circle' }), h("div", { key: '1863361d1ec8867f5f403d823290273b77571516', slot: 'content' }, h("slot", { key: 'd876213ee32eb63e77c9074391f8f31fd42ddd69' })))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "p-helper"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,37 +1,73 @@
|
|
|
1
1
|
import { h, } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import { ThemedHost } from "../../../internal/themed-host.component";
|
|
4
|
-
const infopanel = cva(['flex flex-col gap-1', 'w-full
|
|
4
|
+
const infopanel = cva(['flex flex-col gap-1', 'h-inherit w-full px-4 py-3', 'relative rounded-lg'], {
|
|
5
5
|
variants: {
|
|
6
6
|
closeAble: {
|
|
7
7
|
true: 'pr-10',
|
|
8
8
|
},
|
|
9
9
|
variant: {
|
|
10
|
-
neutral:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
neutral: `
|
|
11
|
+
bg-indigo-100
|
|
12
|
+
dark:bg-indigo-300/15
|
|
13
|
+
`,
|
|
14
|
+
positive: `
|
|
15
|
+
bg-positive-green-100
|
|
16
|
+
dark:bg-positive-green-alternative/15
|
|
17
|
+
`,
|
|
18
|
+
biased: `
|
|
19
|
+
bg-amber-50
|
|
20
|
+
dark:bg-amber-alternative/15
|
|
21
|
+
`,
|
|
22
|
+
negative: `
|
|
23
|
+
bg-negative-red-100
|
|
24
|
+
dark:bg-negative-red-alternative/15
|
|
25
|
+
`,
|
|
26
|
+
feedback: `
|
|
27
|
+
bg-white-700
|
|
28
|
+
dark:bg-hurricane-100/15
|
|
29
|
+
`,
|
|
15
30
|
},
|
|
16
31
|
},
|
|
17
32
|
});
|
|
18
33
|
const header = cva('text-sm font-medium', {
|
|
19
34
|
variants: {
|
|
20
35
|
variant: {
|
|
21
|
-
neutral:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
36
|
+
neutral: `
|
|
37
|
+
text-indigo-900
|
|
38
|
+
dark:text-indigo-400
|
|
39
|
+
`,
|
|
40
|
+
positive: `
|
|
41
|
+
text-positive-green-800
|
|
42
|
+
dark:text-positive-green-alternative
|
|
43
|
+
`,
|
|
44
|
+
biased: `
|
|
45
|
+
text-amber-800
|
|
46
|
+
dark:text-amber-alternative
|
|
47
|
+
`,
|
|
48
|
+
negative: `
|
|
49
|
+
text-negative-red-800
|
|
50
|
+
dark:text-negative-red-alternative
|
|
51
|
+
`,
|
|
52
|
+
feedback: `
|
|
53
|
+
text-storm-800
|
|
54
|
+
dark:text-hurricane-100
|
|
55
|
+
`,
|
|
26
56
|
},
|
|
27
57
|
},
|
|
28
58
|
});
|
|
29
59
|
const close = cva([
|
|
30
60
|
'absolute right-2 top-2',
|
|
31
61
|
'flex items-center justify-center',
|
|
32
|
-
'rounded-lg
|
|
33
|
-
|
|
34
|
-
|
|
62
|
+
'cursor-pointer rounded-lg',
|
|
63
|
+
`
|
|
64
|
+
text-storm-800/60
|
|
65
|
+
hover:bg-white-500/40 hover:text-storm-800/60
|
|
66
|
+
`,
|
|
67
|
+
`
|
|
68
|
+
dark:text-white/60
|
|
69
|
+
dark:hover:bg-white/15 dark:hover:text-white
|
|
70
|
+
`,
|
|
35
71
|
'h-6 w-6',
|
|
36
72
|
]);
|
|
37
73
|
export class InfoPanel {
|
|
@@ -62,10 +98,10 @@ export class InfoPanel {
|
|
|
62
98
|
render() {
|
|
63
99
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
64
100
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
65
|
-
return (h(ThemedHost, { key: '
|
|
101
|
+
return (h(ThemedHost, { key: '87ae49020797e8641547365c95ff8612133cc199' }, h("div", { key: 'f19b4f2340c1a85b5c37f744506ce9f518e80ba0', class: infopanel({
|
|
66
102
|
variant: this.variant,
|
|
67
103
|
closeAble: this.closeable,
|
|
68
|
-
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: '
|
|
104
|
+
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: '49de1f8919c4d0ae223381866417b9757f7f9eb3', class: header({ variant: this.variant }) }, this.header?.length ? (h("p", { class: 'my-0' }, this.header)) : (h("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (h("div", { key: '2612d827209f18b1164d907b15eeb7f7d13db969', class: '\n h-inherit text-sm font-normal text-storm-800/60\n dark:text-white/70\n ' }, this.content?.length ? (h("p", { class: 'my-0' }, this.content)) : (h("slot", { name: 'content' })))), this.closeable && (h("div", { key: '682d40844b695e499d0dbb93144b9f313c0f9da4', class: close(), onClick: () => this._close() }, h("p-icon", { key: '8eeb362cefab7c7ea50f837044668e9633ae947d', variant: 'negative' }))))));
|
|
69
105
|
}
|
|
70
106
|
_close() {
|
|
71
107
|
this.closed.emit();
|
|
@@ -9,7 +9,10 @@ export class Layout {
|
|
|
9
9
|
*/
|
|
10
10
|
scroll;
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '8f62f5f3f1412e4bb494051d15a064dc0c3263d9', class: `
|
|
13
|
+
p-layout
|
|
14
|
+
variant-${this.variant}
|
|
15
|
+
` }, h("div", { key: '7f4cd5cbd739fd4ec64cbc065962fe215bd1b33a', class: 'content', onScroll: ev => this.scroll.emit(ev) }, h("div", { key: '1b16574e29b90200b07d3b4d9fad07102eca5ff9', class: 'inner-content' }, h("slot", { key: 'e609a7fa805feee5400356e825cec2b850550fac', name: 'content' }))), h("div", { key: '59bd6420f48ca71728acaf035be6527690534665', class: 'sidebar' }, h("slot", { key: '06844d4224284bd09c96fd7ccd367983cab70254', name: 'sidebar' })), h("div", { key: '002c820da5677f074f48764e9a9f5ecd00920c9e', class: 'topbar' }, h("slot", { key: '1c997e9e8e9ea84809085119bba5b5b2d0f93475', name: 'topbar' }))));
|
|
13
16
|
}
|
|
14
17
|
static get is() { return "p-layout"; }
|
|
15
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class ListingItem {
|
|
|
6
6
|
*/
|
|
7
7
|
icon = 'placeholder';
|
|
8
8
|
render() {
|
|
9
|
-
return (h(ThemedHost, { key: 'e2b07cadde155cc5f8e89c305001f60d6f59ae30' }, h("div", { key: '
|
|
9
|
+
return (h(ThemedHost, { key: 'e2b07cadde155cc5f8e89c305001f60d6f59ae30' }, h("div", { key: 'f6a73a4819c9e79d321940e2eaac315c2a5c4071', class: '\n flex items-center gap-2 text-storm-500\n dark:text-white\n ' }, h("p-icon", { key: '70ae7063fd9e6971014b0c980fa0044a06a07480', variant: this.icon }), h("div", { key: '163a4b15c05122af8608b877a974fbbb9213823f', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, h("slot", { key: '9d9c2d335873477597dc37547c71af01befda87d' })))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "p-listing-item"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,11 +39,17 @@ export class Loader {
|
|
|
39
39
|
if (this.variant === 'ghost') {
|
|
40
40
|
return (h(ThemedHost, { class: 'variant-ghost min-h-4 min-w-4 rounded-2xl' }));
|
|
41
41
|
}
|
|
42
|
-
const loader = h("div", { class: `
|
|
42
|
+
const loader = (h("div", { class: `
|
|
43
|
+
loader
|
|
44
|
+
color-${this.color}
|
|
45
|
+
` }));
|
|
43
46
|
if (this.variant === 'full-screen') {
|
|
44
47
|
return (h(ThemedHost, { class: 'variant-full-screen' }, h("div", { class: 'loading-screen' }, h("div", { class: 'content' }, h("slot", null)))));
|
|
45
48
|
}
|
|
46
|
-
return (h(ThemedHost, { class: `
|
|
49
|
+
return (h(ThemedHost, { class: `
|
|
50
|
+
variant-default flex
|
|
51
|
+
${this.variant === 'full-width' && 'w-full justify-center text-4xl'}
|
|
52
|
+
` }, loader));
|
|
47
53
|
}
|
|
48
54
|
_checkShow() {
|
|
49
55
|
if (this._showSubscriber) {
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
|
-
const body = cva(
|
|
4
|
+
const body = cva(`
|
|
5
|
+
-mt-px bg-white p-4
|
|
6
|
+
dark:bg-hurricane-600
|
|
7
|
+
`, {
|
|
5
8
|
variants: {
|
|
6
9
|
roundedBottom: {
|
|
7
|
-
true:
|
|
10
|
+
true: `
|
|
11
|
+
rounded-b-none pb-[calc(env(safe-area-inset-bottom)+1rem)]
|
|
12
|
+
desktop-xs:rounded-b-2xl
|
|
13
|
+
`,
|
|
8
14
|
false: 'pb-4',
|
|
9
15
|
},
|
|
10
16
|
roundedTop: {
|
|
11
|
-
true:
|
|
17
|
+
true: `
|
|
18
|
+
rounded-t-lg
|
|
19
|
+
desktop-xs:rounded-t-2xl
|
|
20
|
+
`,
|
|
12
21
|
false: null,
|
|
13
22
|
},
|
|
14
23
|
},
|
|
@@ -23,10 +32,10 @@ export class ModalBody {
|
|
|
23
32
|
*/
|
|
24
33
|
roundedTop = false;
|
|
25
34
|
render() {
|
|
26
|
-
return (h(ThemedHost, { key: '
|
|
35
|
+
return (h(ThemedHost, { key: '4f460cc8150f3610e72bdeb18040abe0be4f88a6' }, h("div", { key: '5c6027a2eb2aa2efe427acd5b5ff621c0908a794', class: body({
|
|
27
36
|
roundedBottom: this.roundedBottom,
|
|
28
37
|
roundedTop: this.roundedTop,
|
|
29
|
-
}) }, h("slot", { key: '
|
|
38
|
+
}) }, h("slot", { key: 'fbb1db79d47487b2fa20f98f3233fb04fa8c3782' }))));
|
|
30
39
|
}
|
|
31
40
|
static get is() { return "p-modal-body"; }
|
|
32
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,12 +3,15 @@ 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
|
+
'w-full min-w-0 flex-1',
|
|
7
7
|
'z-modal flex flex-col',
|
|
8
|
-
|
|
8
|
+
`
|
|
9
|
+
rounded-b-none rounded-t-2xl
|
|
10
|
+
desktop-xs:rounded-b-2xl
|
|
11
|
+
`,
|
|
9
12
|
'max-h-[calc(100dvh-4rem)]',
|
|
10
13
|
'shadow-modal',
|
|
11
|
-
'dark:border
|
|
14
|
+
'dark:border dark:border-solid dark:border-hurricane-400',
|
|
12
15
|
], {
|
|
13
16
|
variants: {
|
|
14
17
|
size: {
|
|
@@ -19,8 +22,14 @@ const container = cva([
|
|
|
19
22
|
'2xl': 'tablet:max-w-[65rem]',
|
|
20
23
|
},
|
|
21
24
|
closing: {
|
|
22
|
-
false:
|
|
23
|
-
|
|
25
|
+
false: `
|
|
26
|
+
animate-slide-in-bottom
|
|
27
|
+
desktop-xs:animate-slide-in-bottom-small
|
|
28
|
+
`,
|
|
29
|
+
true: `
|
|
30
|
+
pointer-events-none animate-slide-out-bottom
|
|
31
|
+
desktop-xs:animate-slide-out-bottom-small
|
|
32
|
+
`,
|
|
24
33
|
},
|
|
25
34
|
},
|
|
26
35
|
});
|
|
@@ -34,10 +43,10 @@ export class ModalContainer {
|
|
|
34
43
|
*/
|
|
35
44
|
closing = false;
|
|
36
45
|
render() {
|
|
37
|
-
return (h(ThemedHost, { key: '
|
|
46
|
+
return (h(ThemedHost, { key: 'd3989b7b4ba97896e66811db665c689d82b32780' }, h("div", { key: 'cf54c0f6285357f72066f7086cd12c1718c9711a', class: container({
|
|
38
47
|
size: this.size,
|
|
39
48
|
closing: asBoolean(this.closing),
|
|
40
|
-
}) }, h("slot", { key: '
|
|
49
|
+
}) }, h("slot", { key: '96a7d44c3e1970d6be09f32176eaa47110b775c6' }))));
|
|
41
50
|
}
|
|
42
51
|
static get is() { return "p-modal-container"; }
|
|
43
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
3
3
|
export class ModalFooter {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(ThemedHost, { key: 'db7731369d6e62f4e6cd9a45d49202c1d9600284' }, h("div", { key: '
|
|
5
|
+
return (h(ThemedHost, { key: 'db7731369d6e62f4e6cd9a45d49202c1d9600284' }, h("div", { key: 'a0ef39283aa6a636ccf2e2aed077c5e4b78be0b2', class: '\n flex flex-col rounded-b-none bg-white px-4\n pb-[calc(env(safe-area-inset-bottom)+1rem)]\n desktop-xs:rounded-b-2xl\n dark:bg-hurricane-600\n ' }, h("p-divider", { key: '307cc08feaf5555108d153a8b956ced52a24848b', class: '\n mb-4 hidden text-off-white-700\n desktop-xs:inline-block\n dark:text-white/10\n ' }), h("div", { key: '1e21b3ceb5e1eb58115b3d46c2c36771c8f0842e', class: '\n flex flex-col gap-4\n tablet:flex-row\n ' }, h("slot", { key: 'f383532efab19f9810097b2712c18184b18967a1' })))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-modal-footer"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,15 +2,21 @@ 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
|
-
|
|
5
|
+
`
|
|
6
|
+
relative z-[1] w-full flex-col overflow-hidden rounded-t-2xl bg-white
|
|
7
|
+
dark:bg-hurricane-600
|
|
8
|
+
`,
|
|
6
9
|
'inline-flex aspect-[7/1] max-h-28',
|
|
7
10
|
]);
|
|
8
|
-
const content = cva(['flex justify-end', 'w-full p-4 pb-0
|
|
11
|
+
const content = cva(['flex justify-end', 'h-12 w-full p-4 pb-0']);
|
|
9
12
|
const title = cva([
|
|
10
13
|
'flex-1 text-center',
|
|
11
14
|
'w-[calc(100%-7rem)]',
|
|
12
|
-
'absolute
|
|
13
|
-
|
|
15
|
+
'absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2',
|
|
16
|
+
`
|
|
17
|
+
text-ambit text-2xl font-bold text-storm-500
|
|
18
|
+
dark:text-white
|
|
19
|
+
`,
|
|
14
20
|
]);
|
|
15
21
|
export class ModalHeader {
|
|
16
22
|
/**
|
|
@@ -22,7 +28,7 @@ export class ModalHeader {
|
|
|
22
28
|
*/
|
|
23
29
|
close;
|
|
24
30
|
render() {
|
|
25
|
-
return (h(ThemedHost, { key: '
|
|
31
|
+
return (h(ThemedHost, { key: 'dbb51f33774127b65d699fba9053651fd98509bb' }, h("div", { key: 'b3d864bbf0b006ce7247c282f889c4500bb6c379', class: header() }, h("div", { key: 'd8b71c2d987b85e946b4c49372561290ff1ae54d', class: content() }, h("div", { key: 'acb36bfe313501f90a9f034de27cbcc2909d1256', class: title() }, h("slot", { key: '4a7b12ebae3fbe321a47a9e0e00572b3e2bc01bc' })), this.showClose && (h("p-button", { key: '069df47301c8ce0790ca61d8141f21fcc3191258', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: 'ab9cdfc56527962b7414b574fde67dbb4c046f29', class: 'dark:text-hurricane-400' }))));
|
|
26
32
|
}
|
|
27
33
|
static get is() { return "p-modal-header"; }
|
|
28
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ThemedHost } from "../../../internal/themed-host.component";
|
|
3
3
|
export class NavigationTitle {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(ThemedHost, { key: '
|
|
5
|
+
return (h(ThemedHost, { key: 'c265a1688d2e50bbd288e93227d5cfd9e37b453f', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, h("slot", { key: 'e274095b3c138155d6370559eb691a77461b647d' })));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-navigation-title"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|