@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
|
@@ -7,14 +7,23 @@ import './state-BJbOyUuL.js';
|
|
|
7
7
|
|
|
8
8
|
const modalBodyComponentCss = () => `*{box-sizing:border-box}.static{position:static}.-mt-px{margin-top:-1px}.rounded{border-radius:.25rem}.rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.pb-4{padding-bottom:1rem}.pb-\\[calc\\(env\\(safe-area-inset-bottom\\)\\+1rem\\)\\]{padding-bottom:calc(env(safe-area-inset-bottom) + 1rem)}@media (min-width:64rem){.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}.desktop-xs\\:rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}`;
|
|
9
9
|
|
|
10
|
-
const body = cva(
|
|
10
|
+
const body = cva(`
|
|
11
|
+
-mt-px bg-white p-4
|
|
12
|
+
dark:bg-hurricane-600
|
|
13
|
+
`, {
|
|
11
14
|
variants: {
|
|
12
15
|
roundedBottom: {
|
|
13
|
-
true:
|
|
16
|
+
true: `
|
|
17
|
+
rounded-b-none pb-[calc(env(safe-area-inset-bottom)+1rem)]
|
|
18
|
+
desktop-xs:rounded-b-2xl
|
|
19
|
+
`,
|
|
14
20
|
false: 'pb-4',
|
|
15
21
|
},
|
|
16
22
|
roundedTop: {
|
|
17
|
-
true:
|
|
23
|
+
true: `
|
|
24
|
+
rounded-t-lg
|
|
25
|
+
desktop-xs:rounded-t-2xl
|
|
26
|
+
`,
|
|
18
27
|
false: null,
|
|
19
28
|
},
|
|
20
29
|
},
|
|
@@ -32,10 +41,10 @@ const ModalBody = class {
|
|
|
32
41
|
*/
|
|
33
42
|
roundedTop = false;
|
|
34
43
|
render() {
|
|
35
|
-
return (h(ThemedHost, { key: '
|
|
44
|
+
return (h(ThemedHost, { key: '4f460cc8150f3610e72bdeb18040abe0be4f88a6' }, h("div", { key: '5c6027a2eb2aa2efe427acd5b5ff621c0908a794', class: body({
|
|
36
45
|
roundedBottom: this.roundedBottom,
|
|
37
46
|
roundedTop: this.roundedTop,
|
|
38
|
-
}) }, h("slot", { key: '
|
|
47
|
+
}) }, h("slot", { key: 'fbb1db79d47487b2fa20f98f3233fb04fa8c3782' }))));
|
|
39
48
|
}
|
|
40
49
|
};
|
|
41
50
|
ModalBody.style = modalBodyComponentCss();
|
|
@@ -43,12 +52,15 @@ ModalBody.style = modalBodyComponentCss();
|
|
|
43
52
|
const modalContainerComponentCss = () => `.flex{display:flex}.w-full{width:100%}.justify-center{justify-content:center}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none}.static{position:static}.z-modal{z-index:600}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards}.flex-col{flex-direction:column}.rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}@media (min-width:40rem){.tablet\\:max-w-\\[20rem\\]{max-width:20rem}.tablet\\:max-w-\\[35rem\\]{max-width:35rem}.tablet\\:max-w-\\[41rem\\]{max-width:41rem}.tablet\\:max-w-\\[45rem\\]{max-width:45rem}.tablet\\:max-w-\\[65rem\\]{max-width:65rem}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}.dark\\:border:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-width:1px}.dark\\:border-solid:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:solid}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border:where([data-theme=dark],[data-theme=dark] *){border-width:1px}.dark\\:border-solid:where([data-theme=dark],[data-theme=dark] *){border-style:solid}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}`;
|
|
44
53
|
|
|
45
54
|
const container = cva([
|
|
46
|
-
'
|
|
55
|
+
'w-full min-w-0 flex-1',
|
|
47
56
|
'z-modal flex flex-col',
|
|
48
|
-
|
|
57
|
+
`
|
|
58
|
+
rounded-b-none rounded-t-2xl
|
|
59
|
+
desktop-xs:rounded-b-2xl
|
|
60
|
+
`,
|
|
49
61
|
'max-h-[calc(100dvh-4rem)]',
|
|
50
62
|
'shadow-modal',
|
|
51
|
-
'dark:border
|
|
63
|
+
'dark:border dark:border-solid dark:border-hurricane-400',
|
|
52
64
|
], {
|
|
53
65
|
variants: {
|
|
54
66
|
size: {
|
|
@@ -59,8 +71,14 @@ const container = cva([
|
|
|
59
71
|
'2xl': 'tablet:max-w-[65rem]',
|
|
60
72
|
},
|
|
61
73
|
closing: {
|
|
62
|
-
false:
|
|
63
|
-
|
|
74
|
+
false: `
|
|
75
|
+
animate-slide-in-bottom
|
|
76
|
+
desktop-xs:animate-slide-in-bottom-small
|
|
77
|
+
`,
|
|
78
|
+
true: `
|
|
79
|
+
pointer-events-none animate-slide-out-bottom
|
|
80
|
+
desktop-xs:animate-slide-out-bottom-small
|
|
81
|
+
`,
|
|
64
82
|
},
|
|
65
83
|
},
|
|
66
84
|
});
|
|
@@ -77,10 +95,10 @@ const ModalContainer = class {
|
|
|
77
95
|
*/
|
|
78
96
|
closing = false;
|
|
79
97
|
render() {
|
|
80
|
-
return (h(ThemedHost, { key: '
|
|
98
|
+
return (h(ThemedHost, { key: 'd3989b7b4ba97896e66811db665c689d82b32780' }, h("div", { key: 'cf54c0f6285357f72066f7086cd12c1718c9711a', class: container({
|
|
81
99
|
size: this.size,
|
|
82
100
|
closing: asBoolean(this.closing),
|
|
83
|
-
}) }, h("slot", { key: '
|
|
101
|
+
}) }, h("slot", { key: '96a7d44c3e1970d6be09f32176eaa47110b775c6' }))));
|
|
84
102
|
}
|
|
85
103
|
};
|
|
86
104
|
ModalContainer.style = modalContainerComponentCss();
|
|
@@ -92,7 +110,7 @@ const ModalFooter = class {
|
|
|
92
110
|
registerInstance(this, hostRef);
|
|
93
111
|
}
|
|
94
112
|
render() {
|
|
95
|
-
return (h(ThemedHost, { key: 'db7731369d6e62f4e6cd9a45d49202c1d9600284' }, h("div", { key: '
|
|
113
|
+
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' })))));
|
|
96
114
|
}
|
|
97
115
|
};
|
|
98
116
|
ModalFooter.style = modalFooterComponentCss();
|
|
@@ -100,15 +118,21 @@ ModalFooter.style = modalFooterComponentCss();
|
|
|
100
118
|
const modalHeaderComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.z-\\[1\\]{z-index:1}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-\\[7\\/1\\]{aspect-ratio:7/1}.h-12{height:3rem}.max-h-28{max-height:7rem}.w-\\[calc\\(100\\%-7rem\\)\\]{width:calc(100% - 7rem)}.w-full{width:100%}.flex-1{flex:1 1 0%}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.flex-col{flex-direction:column}.justify-end{justify-content:flex-end}.overflow-hidden{overflow:hidden}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.pb-0{padding-bottom:0}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
101
119
|
|
|
102
120
|
const header = cva([
|
|
103
|
-
|
|
121
|
+
`
|
|
122
|
+
relative z-[1] w-full flex-col overflow-hidden rounded-t-2xl bg-white
|
|
123
|
+
dark:bg-hurricane-600
|
|
124
|
+
`,
|
|
104
125
|
'inline-flex aspect-[7/1] max-h-28',
|
|
105
126
|
]);
|
|
106
|
-
const content = cva(['flex justify-end', 'w-full p-4 pb-0
|
|
127
|
+
const content = cva(['flex justify-end', 'h-12 w-full p-4 pb-0']);
|
|
107
128
|
const title = cva([
|
|
108
129
|
'flex-1 text-center',
|
|
109
130
|
'w-[calc(100%-7rem)]',
|
|
110
|
-
'absolute
|
|
111
|
-
|
|
131
|
+
'absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2',
|
|
132
|
+
`
|
|
133
|
+
text-ambit text-2xl font-bold text-storm-500
|
|
134
|
+
dark:text-white
|
|
135
|
+
`,
|
|
112
136
|
]);
|
|
113
137
|
const ModalHeader = class {
|
|
114
138
|
constructor(hostRef) {
|
|
@@ -124,7 +148,7 @@ const ModalHeader = class {
|
|
|
124
148
|
*/
|
|
125
149
|
close;
|
|
126
150
|
render() {
|
|
127
|
-
return (h(ThemedHost, { key: '
|
|
151
|
+
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' }))));
|
|
128
152
|
}
|
|
129
153
|
};
|
|
130
154
|
ModalHeader.style = modalHeaderComponentCss();
|
|
@@ -8,19 +8,31 @@ const navbarComponentCss = () => `.w-full{width:100%}.max-h-screen-safe{max-heig
|
|
|
8
8
|
|
|
9
9
|
const sidebarAndTopbar = cva([
|
|
10
10
|
'transition',
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
`
|
|
12
|
+
bg-off-white-300
|
|
13
|
+
dark:bg-hurricane-800
|
|
14
|
+
`,
|
|
15
|
+
`
|
|
16
|
+
border-0 border-solid border-off-white-700
|
|
17
|
+
dark:border-hurricane-500
|
|
18
|
+
`,
|
|
13
19
|
'p-4',
|
|
14
20
|
]);
|
|
15
21
|
const sidebar = cva([
|
|
16
22
|
'flex flex-col',
|
|
17
23
|
'fixed left-0 top-0 z-navbar h-screen w-60',
|
|
18
24
|
'w-full max-w-[16.5rem]',
|
|
19
|
-
|
|
25
|
+
`
|
|
26
|
+
layout-1280:relative layout-1280:z-0 layout-1280:h-full
|
|
27
|
+
layout-1280:max-w-none
|
|
28
|
+
`,
|
|
20
29
|
'gap-6',
|
|
21
30
|
'transition-all',
|
|
22
31
|
'will-change-transform',
|
|
23
|
-
|
|
32
|
+
`
|
|
33
|
+
-translate-x-full transform-gpu
|
|
34
|
+
layout-1280:translate-x-0
|
|
35
|
+
`,
|
|
24
36
|
'border-r',
|
|
25
37
|
'safe-sidebar',
|
|
26
38
|
], {
|
|
@@ -32,16 +44,21 @@ const sidebar = cva([
|
|
|
32
44
|
},
|
|
33
45
|
});
|
|
34
46
|
const topbar = cva([
|
|
35
|
-
'flex w-full justify-between
|
|
47
|
+
'flex w-full items-center justify-between',
|
|
36
48
|
'relative z-navbar-topbar',
|
|
37
49
|
'border-b',
|
|
38
50
|
'layout-1280:hidden',
|
|
39
51
|
'safe-topbar',
|
|
40
52
|
]);
|
|
41
|
-
const backdrop = cva([
|
|
53
|
+
const backdrop = cva([
|
|
54
|
+
`
|
|
55
|
+
relative z-navbar-backdrop transition-opacity
|
|
56
|
+
layout-1280:hidden
|
|
57
|
+
`,
|
|
58
|
+
], {
|
|
42
59
|
variants: {
|
|
43
60
|
show: {
|
|
44
|
-
false: '
|
|
61
|
+
false: 'pointer-events-none opacity-0',
|
|
45
62
|
true: 'opacity-100',
|
|
46
63
|
},
|
|
47
64
|
},
|
|
@@ -52,7 +69,7 @@ const Navbar = class {
|
|
|
52
69
|
}
|
|
53
70
|
_show = false;
|
|
54
71
|
render() {
|
|
55
|
-
return (h(ThemedHost, { key: '
|
|
72
|
+
return (h(ThemedHost, { key: 'e6140399cd45343a3e16a6418539f30a7bc06405' }, h("p-backdrop", { key: '24fc4cdca947a947105591e25fbc6f7682f64ed4', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '0b9691b00c84c4639860f40343316b1d42b53b26', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: 'b9fff9390b8d735b0ea792cdc289c103aa3aa350', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: 'a13c500530dc614c56f84afa0a761d1d99abacfa', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: 'c8ee2b2c29bd01d741549a3afca9e06636c0cd3b', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '0824da3fcf5e35ff166e54ce95c917142a4bde94', name: 'company' })), h("div", { key: '0ba905bfbf5f3a23a0f79d560790d91f34040ef7', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: '27be57ecd655d89fa8c2576321fc4d10f2008717', name: 'content' })), h("div", { key: '5ed6652b93d0ca2e567a2f611a667b20c15faab6', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: 'b8152c3081703b2e88ac25b45e40c767407fd947', name: 'user' }))), h("div", { key: '51bc9f577cc3edb1d676a4740476359625efd6d3', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '22dbff73b42867f98d11a7e4f4319f98f62d37ac', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: '717fb0a04a59f535d0b53dc91457393cadf014dc', name: 'topbar' }))));
|
|
56
73
|
}
|
|
57
74
|
handleCloseNavbar() {
|
|
58
75
|
this._show = false;
|
|
@@ -11,20 +11,32 @@ const navigationItemComponentCss = () => `*.sc-p-navigation-item{box-sizing:bord
|
|
|
11
11
|
const navigationItem = cva([
|
|
12
12
|
'h-8 w-[inherit]',
|
|
13
13
|
'flex items-center gap-2',
|
|
14
|
-
|
|
14
|
+
`
|
|
15
|
+
hover:text-storm-500
|
|
16
|
+
dark:hover:text-white
|
|
17
|
+
`,
|
|
15
18
|
'rounded-lg',
|
|
16
|
-
'py-1
|
|
19
|
+
'px-2 py-1',
|
|
17
20
|
'text-sm font-medium',
|
|
18
21
|
'cursor-pointer',
|
|
19
22
|
], {
|
|
20
23
|
variants: {
|
|
21
24
|
active: {
|
|
22
25
|
false: [
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
`
|
|
27
|
+
text-storm-400
|
|
28
|
+
dark:text-hurricane-200
|
|
29
|
+
`,
|
|
30
|
+
`
|
|
31
|
+
hover:bg-off-white-500
|
|
32
|
+
dark:hover:bg-white/10
|
|
33
|
+
`,
|
|
25
34
|
],
|
|
26
35
|
true: [
|
|
27
|
-
|
|
36
|
+
`
|
|
37
|
+
bg-off-white-600 font-semibold text-storm-500
|
|
38
|
+
dark:bg-white/10 dark:text-white
|
|
39
|
+
`,
|
|
28
40
|
],
|
|
29
41
|
},
|
|
30
42
|
icon: {
|
|
@@ -33,7 +45,7 @@ const navigationItem = cva([
|
|
|
33
45
|
},
|
|
34
46
|
},
|
|
35
47
|
});
|
|
36
|
-
const navigationItemIconContainer = cva(['flex h-6
|
|
48
|
+
const navigationItemIconContainer = cva(['flex aspect-branding h-6 items-center justify-center rounded-full'], {
|
|
37
49
|
variants: {
|
|
38
50
|
active: {
|
|
39
51
|
false: false,
|
|
@@ -84,13 +96,13 @@ const NavigationItem = class {
|
|
|
84
96
|
render() {
|
|
85
97
|
const TagType = this.as;
|
|
86
98
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
87
|
-
return (h(ThemedHost, { key: '
|
|
99
|
+
return (h(ThemedHost, { key: '9618d8427117bdcc2809e8f1a81174d0d99366c9', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '3db385fe49b1eba6b032494d8f303aa5e1e60c01', class: navigationItem({
|
|
88
100
|
icon: !!this.icon,
|
|
89
101
|
active,
|
|
90
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
102
|
+
}), href: this.href, target: this.target }, h("div", { key: '7c97ebc4d504b06bb795b4885be0250f0c839882', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '881b8afabc70357e31783903c5c8956cae6b34a6', variant: this.icon })), h("span", { key: '509205092f325b8037a8abaf51ce314136c15621', class: cn({
|
|
91
103
|
'has-counter': !!this.counter,
|
|
92
104
|
'w-full': this.applyFullWidth,
|
|
93
|
-
}) }, h("slot", { key: '
|
|
105
|
+
}) }, h("slot", { key: '0573c0d5ea35d1b72de532cd46c4b53bf97d956e' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'cac8304e8a0f23e3fe1f81279f916d6e83a3a652' }, this.counter)), !!this.loading && h("p-loader", { key: '949b2eed1d715a0a98a831ad649ffbeba5787577', class: 'ml-auto' }))));
|
|
94
106
|
}
|
|
95
107
|
};
|
|
96
108
|
NavigationItem.style = navigationItemComponentCss();
|
|
@@ -9,7 +9,7 @@ const NavigationTitle = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(ThemedHost, { key: '
|
|
12
|
+
return (h(ThemedHost, { key: 'c265a1688d2e50bbd288e93227d5cfd9e37b453f', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, h("slot", { key: 'e274095b3c138155d6370559eb691a77461b647d' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NavigationTitle.style = navigationTitleComponentCss();
|
|
@@ -15,8 +15,8 @@ const pagination$1 = cva([
|
|
|
15
15
|
'p-pagination',
|
|
16
16
|
'items-center gap-2',
|
|
17
17
|
'rounded-full',
|
|
18
|
-
'
|
|
19
|
-
'dark:
|
|
18
|
+
'border border-solid border-off-white-700 bg-off-white-300',
|
|
19
|
+
'dark:border-hurricane-400 dark:bg-hurricane-500',
|
|
20
20
|
'p-1',
|
|
21
21
|
], {
|
|
22
22
|
variants: {
|
|
@@ -81,7 +81,7 @@ const Pagination = class {
|
|
|
81
81
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
82
82
|
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '5812bfaaee47936e0f1d910c4da0421589e5cf9b' }, h("p-pagination-size", { key: '2fe1f8e733d96ef2843d184f17c02b2db44b3fb5', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
83
83
|
this.hideOnSinglePage &&
|
|
84
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
84
|
+
this._hasPaginationPages && (h("p-divider", { key: 'c8062527297b143b8aaf4c11cf7038a8a99c7df5', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'd52f747c7a82ff3d7ef285a2430fad635f34475c', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
85
85
|
this._hasPaginationPages = detail > 1;
|
|
86
86
|
this.pagesChange.emit(detail);
|
|
87
87
|
} })))));
|
|
@@ -98,7 +98,7 @@ Pagination.style = paginationComponentCss();
|
|
|
98
98
|
|
|
99
99
|
const paginationPagesComponentCss = () => `*{box-sizing:border-box}.static{position:static}.mt-2{margin-top:.5rem}.flex{display:flex}.hidden{display:none}.w-28{width:7rem}.items-center{align-items:center}.gap-2{gap:.5rem}`;
|
|
100
100
|
|
|
101
|
-
const pagination = cva(['p-pagination', 'flex gap-2
|
|
101
|
+
const pagination = cva(['p-pagination', 'flex items-center gap-2'], {
|
|
102
102
|
variants: {
|
|
103
103
|
hidden: {
|
|
104
104
|
false: 'flex',
|
|
@@ -380,20 +380,26 @@ const paginationSize = cva('p-pagination-size', {
|
|
|
380
380
|
const trigger = cva([
|
|
381
381
|
'group/pagination-size-trigger',
|
|
382
382
|
'flex items-center gap-2',
|
|
383
|
-
'px-2
|
|
384
|
-
'text-sm text-storm-500
|
|
383
|
+
'h-6 px-2',
|
|
384
|
+
'text-sm font-medium text-storm-500',
|
|
385
385
|
'dark:text-white',
|
|
386
386
|
'cursor-pointer rounded-full',
|
|
387
|
-
'
|
|
387
|
+
'border border-solid shadow-1',
|
|
388
388
|
], {
|
|
389
389
|
variants: {
|
|
390
390
|
active: {
|
|
391
391
|
false: [
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
`
|
|
393
|
+
border-transparent bg-white
|
|
394
|
+
hover:bg-white-600
|
|
395
|
+
`,
|
|
396
|
+
`
|
|
397
|
+
dark:bg-white/15
|
|
398
|
+
dark:hover:bg-white/25
|
|
399
|
+
`,
|
|
394
400
|
],
|
|
395
401
|
true: [
|
|
396
|
-
'
|
|
402
|
+
'border-indigo-600 bg-white-600 ring ring-2 ring-indigo-100',
|
|
397
403
|
'dark:bg-white/25 dark:ring-0',
|
|
398
404
|
],
|
|
399
405
|
},
|
|
@@ -438,18 +444,18 @@ const PaginationSize = class {
|
|
|
438
444
|
this._setLocales();
|
|
439
445
|
}
|
|
440
446
|
render() {
|
|
441
|
-
return (h(ThemedHost, { key: '
|
|
447
|
+
return (h(ThemedHost, { key: 'bd468fb3b2889b8cd35ea4cbe39423e47c804e20', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, h("p-dropdown", { key: 'd8e97c2c1f86d393d7c2c2bb6e8fbf6a0f44567e', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, h("div", { key: 'ff75dd123c0a3543ef2118d0a14f15aae96f49f8', class: trigger({
|
|
442
448
|
active: this.dropdownIsOpen,
|
|
443
|
-
}), slot: 'trigger' }, h("p", { key: '
|
|
449
|
+
}), slot: 'trigger' }, h("p", { key: '986ddcf2e5c81ff4dc132aa3612764508e6287d4', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
|
|
444
450
|
? this.itemTemplate(this.size)
|
|
445
|
-
: this._defaultItemTemplate(this.size)), h("p-icon", { key: '
|
|
451
|
+
: this._defaultItemTemplate(this.size)), h("p-icon", { key: '4b335f1178302bcbd7682be7c442eab43e8950d5', class: cn([
|
|
446
452
|
'flex-shrink-0',
|
|
447
453
|
'group-hover/pagination-size-trigger:text-storm-500',
|
|
448
454
|
'dark:group-hover/pagination-size-trigger:text-white',
|
|
449
455
|
], {
|
|
450
456
|
'text-storm-300 dark:text-hurricane-200': !this.dropdownIsOpen,
|
|
451
457
|
'text-storm-500 dark:text-white': !!this.dropdownIsOpen,
|
|
452
|
-
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: '
|
|
458
|
+
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: 'b26417bae87adfb4d18452c8d953fe4faa4bd868', slot: 'items' }, this.sizeOptions.map(option => (h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
453
459
|
? this.itemTemplate(option)
|
|
454
460
|
: this._defaultItemTemplate(option))))))));
|
|
455
461
|
}
|
|
@@ -6,7 +6,7 @@ import './state-BJbOyUuL.js';
|
|
|
6
6
|
|
|
7
7
|
const profileComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.my-0{margin-bottom:0;margin-top:0}.flex{display:flex}.h-10{height:2.5rem}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
8
8
|
|
|
9
|
-
const profileContent = cva(['flex
|
|
9
|
+
const profileContent = cva(['flex min-w-0 flex-1 items-center gap-2'], {
|
|
10
10
|
variants: {
|
|
11
11
|
dropdown: {
|
|
12
12
|
false: 'h-10 py-1',
|
|
@@ -47,7 +47,7 @@ const Profile = class {
|
|
|
47
47
|
_getContent() {
|
|
48
48
|
return (h("div", { class: profileContent({
|
|
49
49
|
dropdown: this._hasDropdownSlot,
|
|
50
|
-
}) }, h("slot", { name: 'avatar' }), h("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, h("p", { class: 'my-0 w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap
|
|
50
|
+
}) }, h("slot", { name: 'avatar' }), h("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, h("p", { class: '\n my-0 w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap\n text-sm font-semibold text-storm-500\n dark:text-white\n ' }, h("slot", { name: 'title' })), h("p", { class: '\n my-0 w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap\n text-xs font-medium text-storm-400\n dark:text-hurricane-200\n ' }, h("slot", { name: 'subtitle' }))), h("slot", { name: 'post-title' })));
|
|
51
51
|
}
|
|
52
52
|
_updateAvatar() {
|
|
53
53
|
const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
|
|
@@ -9,24 +9,42 @@ import './state-BJbOyUuL.js';
|
|
|
9
9
|
const radioComponentCss = () => `*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.m-0{margin:0}.block{display:block}.flex{display:flex}.h-2{height:.5rem}.h-4{height:1rem}.w-2{width:.5rem}.w-4{width:1rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.border-storm-50{--tw-border-opacity:1;border-color:rgb(232 232 234/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.checked\\:cursor-auto:checked{cursor:auto}.checked\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.checked\\:bg-indigo-600:checked{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.checked\\:ring-indigo-100:checked{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.empty\\:hidden:empty{display:none}.hover\\:border-storm-500\\/20:hover{border-color:rgba(24,30,41,.2)}.hover\\:bg-indigo-100:hover{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.checked\\:hover\\:border-storm-500\\/20:hover:checked{border-color:rgba(24,30,41,.2)}.checked\\:hover\\:bg-indigo-700:hover:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.group\\/radio-label:hover .group-hover\\/radio-label\\:border-storm-500\\/20{border-color:rgba(24,30,41,.2)}.group\\/radio-label:hover .group-hover\\/radio-label\\:bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.group\\/radio-label:hover .checked\\:group-hover\\/radio-label\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.group\\/radio-label:hover .checked\\:group-hover\\/radio-label\\:bg-indigo-700:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:bg-storm-200{--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.peer:checked~.peer-checked\\:ring-storm-500\\/10{--tw-ring-color:rgba(24,30,41,.1)}.dark\\:border-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:checked\\:ring-0:checked:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}.dark\\:border-white\\/10:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:checked\\:ring-0:checked:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}`;
|
|
10
10
|
|
|
11
11
|
const radio = cva([
|
|
12
|
-
'peer
|
|
13
|
-
'rounded-full border border-
|
|
14
|
-
'
|
|
12
|
+
'peer m-0 flex-shrink-0 appearance-none outline-none',
|
|
13
|
+
'border-inset rounded-full border border-solid',
|
|
14
|
+
'h-4 w-4',
|
|
15
15
|
], {
|
|
16
16
|
variants: {
|
|
17
17
|
disabled: {
|
|
18
18
|
false: [
|
|
19
19
|
'cursor-pointer shadow-1',
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
`
|
|
21
|
+
border-storm-100 bg-white
|
|
22
|
+
dark:border-white/15 dark:bg-white/10
|
|
23
|
+
`,
|
|
24
|
+
`
|
|
25
|
+
hover:border-storm-500/20 hover:bg-indigo-100
|
|
26
|
+
dark:hover:border-white/15 dark:hover:bg-white/20
|
|
27
|
+
`,
|
|
28
|
+
`
|
|
29
|
+
group-hover/radio-label:border-storm-500/20
|
|
30
|
+
group-hover/radio-label:bg-indigo-100
|
|
31
|
+
`,
|
|
23
32
|
'checked:cursor-auto',
|
|
24
|
-
'checked:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
33
|
+
'checked:border-storm-500/20 checked:bg-indigo-600',
|
|
34
|
+
`
|
|
35
|
+
checked:ring-2 checked:ring-indigo-100
|
|
36
|
+
dark:checked:ring-0
|
|
37
|
+
`,
|
|
38
|
+
'checked:hover:border-storm-500/20 checked:hover:bg-indigo-700',
|
|
39
|
+
`
|
|
40
|
+
checked:group-hover/radio-label:border-storm-500/20
|
|
41
|
+
checked:group-hover/radio-label:bg-indigo-700
|
|
42
|
+
`,
|
|
28
43
|
],
|
|
29
|
-
true:
|
|
44
|
+
true: `
|
|
45
|
+
cursor-not-allowed border-storm-50 bg-white-600
|
|
46
|
+
dark:border-white/10 dark:bg-white/5
|
|
47
|
+
`,
|
|
30
48
|
},
|
|
31
49
|
},
|
|
32
50
|
compoundVariants: [
|
|
@@ -34,9 +52,12 @@ const radio = cva([
|
|
|
34
52
|
disabled: false,
|
|
35
53
|
class: [
|
|
36
54
|
'cursor-pointer shadow-1',
|
|
37
|
-
'
|
|
38
|
-
'hover:
|
|
39
|
-
|
|
55
|
+
'border-storm-100 bg-white',
|
|
56
|
+
'hover:border-storm-500/20 hover:bg-indigo-100',
|
|
57
|
+
`
|
|
58
|
+
group-hover/radio-label:border-storm-500/20
|
|
59
|
+
group-hover/radio-label:bg-indigo-100
|
|
60
|
+
`,
|
|
40
61
|
],
|
|
41
62
|
},
|
|
42
63
|
],
|
|
@@ -44,13 +65,19 @@ const radio = cva([
|
|
|
44
65
|
const circle = cva([
|
|
45
66
|
'block',
|
|
46
67
|
'rounded-full bg-transparent',
|
|
47
|
-
|
|
48
|
-
|
|
68
|
+
`
|
|
69
|
+
pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2
|
|
70
|
+
-translate-y-1/2 transform
|
|
71
|
+
`,
|
|
72
|
+
'h-2 w-2',
|
|
49
73
|
], {
|
|
50
74
|
variants: {
|
|
51
75
|
disabled: {
|
|
52
76
|
false: 'peer-checked:bg-white peer-checked:ring-1 peer-checked:ring-storm-500/10',
|
|
53
|
-
true:
|
|
77
|
+
true: `
|
|
78
|
+
peer-checked:bg-storm-200
|
|
79
|
+
dark:peer-checked:bg-hurricane-300
|
|
80
|
+
`,
|
|
54
81
|
},
|
|
55
82
|
},
|
|
56
83
|
});
|
|
@@ -107,11 +134,11 @@ const Radio = class {
|
|
|
107
134
|
}
|
|
108
135
|
render() {
|
|
109
136
|
const id = this.id?.length ? this.id : this._nonce;
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
137
|
+
return (h(ThemedHost, { key: '6d6c70b28586db5068f33308fff1c3a35bce641c' }, h("label", { key: 'd6741f15e337174a3576163e6b27b65dd54773f4', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: 'c82520956d1f16cc1a7b6740ab4e03299d5f2039', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '80a7c6b02ff323e646a739cfcfee1652f2ec4df2', checked: this.checked, class: radio({
|
|
111
138
|
disabled: asBoolean(this.disabled),
|
|
112
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
139
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: 'a46921d80daadde9058060754c65b11d17b47b71', class: circle({
|
|
113
140
|
disabled: asBoolean(this.disabled),
|
|
114
|
-
}) })), h("div", { key: '
|
|
141
|
+
}) })), h("div", { key: 'cd295853a620d74ece3521b96daac11a871cad1d', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: '7775f245e2652c7b010c34d52376908f2b4a2f99' })))));
|
|
115
142
|
}
|
|
116
143
|
_onChange(ev) {
|
|
117
144
|
if (asBoolean(this.disabled)) {
|
|
@@ -31,13 +31,13 @@ const Range = class {
|
|
|
31
31
|
valueChange;
|
|
32
32
|
render() {
|
|
33
33
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
34
|
-
return (h(ThemedHost, { key: 'cb6a6b717940ba17aa7a6df5cc36577a991d3831' }, h("div", { key: '
|
|
34
|
+
return (h(ThemedHost, { key: 'cb6a6b717940ba17aa7a6df5cc36577a991d3831' }, h("div", { key: '82e000061159418bb6dc5ba3c72dc9c36315777f', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: 'f3825df8da36fd3e28988753db4216e613336749', variant: 'minus' }), h("div", { key: '1020caacf9987bfa348181c6a90b430805f1888f', class: 'relative h-6 flex-1' }, h("input", { key: '05fb1b7ed4af1392f107bf27977aab3a80f45c98', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
35
35
|
const value = ev.target.value;
|
|
36
36
|
this.value = Number.parseFloat(value);
|
|
37
37
|
this.valueChange.emit(value);
|
|
38
|
-
} }), h("div", { key: '
|
|
38
|
+
} }), h("div", { key: '90cdf9d7a326ec8764722cda4167a2260eff1e93', class: '\n z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
39
39
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
40
|
-
} })), h("p-icon", { key: '
|
|
40
|
+
} })), h("p-icon", { key: 'b80ba4a88335c01383d94bbb661f7c1300c88e3b', variant: 'plus' }))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
Range.style = rangeComponentCss();
|