@paperless/core 2.22.0-alpha.24 → 2.22.0-alpha.25
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-0305046c.entry.js +1 -0
- package/dist/build/{p-37b27bb1.entry.js → p-0898e57b.entry.js} +1 -1
- package/dist/build/p-099a4c60.entry.js +1 -0
- package/dist/build/{p-4fde72a3.entry.js → p-0c094c99.entry.js} +1 -1
- package/dist/build/{p-3cea628d.entry.js → p-0eb7a6e4.entry.js} +1 -1
- package/dist/build/p-14a2caa3.entry.js +1 -0
- package/dist/build/{p-1b31b10f.entry.js → p-1ce28114.entry.js} +1 -1
- package/dist/build/p-2509308d.entry.js +1 -0
- package/dist/{paperless/p-0cd95c45.entry.js → build/p-389f92f8.entry.js} +1 -1
- package/dist/{paperless/p-71991854.entry.js → build/p-400ae3ad.entry.js} +1 -1
- package/dist/{paperless/p-63846f0b.entry.js → build/p-4793863e.entry.js} +1 -1
- package/dist/build/{p-8679628b.entry.js → p-4ad6dd58.entry.js} +1 -1
- package/dist/build/p-4d456377.entry.js +1 -0
- package/dist/build/{p-6084ee30.entry.js → p-4f068009.entry.js} +1 -1
- package/dist/build/p-6115ce1e.js +1 -0
- package/dist/{paperless/p-39e82216.entry.js → build/p-62c4c7d7.entry.js} +1 -1
- package/dist/build/p-6ff8d21c.entry.js +1 -0
- package/dist/build/{p-e9b9b751.entry.js → p-7ae963de.entry.js} +1 -1
- package/dist/build/p-846f47bd.entry.js +1 -0
- package/dist/build/{p-85fa7375.entry.js → p-870a63fb.entry.js} +1 -1
- package/dist/build/p-8bd7c93a.entry.js +1 -0
- package/dist/build/{p-0ff1c650.entry.js → p-8d0c1f36.entry.js} +1 -1
- package/dist/build/{p-c0cec615.entry.js → p-8ed529ba.entry.js} +1 -1
- package/dist/build/{p-f71f2778.entry.js → p-92bbdecc.entry.js} +1 -1
- package/dist/build/{p-ffcdc88a.entry.js → p-93bbde98.entry.js} +1 -1
- package/dist/{paperless/p-a5abda38.entry.js → build/p-958c8a2c.entry.js} +1 -1
- package/dist/build/{p-90cd1752.entry.js → p-9a49375d.entry.js} +1 -1
- package/dist/build/{p-CrdJDtHg.js → p-CLLU0oUD.js} +1 -1
- package/dist/build/p-CWO2YJCh.js +1 -0
- package/dist/build/p-CXVK8SLW.js +1 -0
- package/dist/build/p-CwQG70_4.js +1 -0
- package/dist/build/{p-BTx_Jfhh.js → p-DE-sstf_.js} +1 -1
- package/dist/build/p-DPc49L2n.js +1 -0
- package/dist/{paperless/p-42d1ea4a.entry.js → build/p-a23a90d6.entry.js} +1 -1
- package/dist/build/{p-73bf8fe0.entry.js → p-a4109895.entry.js} +1 -1
- package/dist/build/p-ad468b70.entry.js +1 -0
- package/dist/build/p-af320255.entry.js +1 -0
- package/dist/build/p-b2248597.entry.js +1 -0
- package/dist/build/{p-27b9a71a.entry.js → p-b37d0053.entry.js} +1 -1
- package/dist/{paperless/p-50ce7b68.entry.js → build/p-bfb06294.entry.js} +1 -1
- package/dist/{paperless/p-da8d3052.entry.js → build/p-c7835f10.entry.js} +1 -1
- package/dist/build/{p-588360e0.entry.js → p-cfe81f27.entry.js} +1 -1
- package/dist/{paperless/p-4874c70c.entry.js → build/p-d0d0a314.entry.js} +1 -1
- package/dist/build/p-d38642c4.entry.js +1 -0
- package/dist/build/p-e30abf73.entry.js +1 -0
- package/dist/build/{p-cacd9fe0.entry.js → p-e6222abf.entry.js} +1 -1
- package/dist/build/p-e9d2bdd6.entry.js +1 -0
- package/dist/build/{p-fe72512a.entry.js → p-f1f160c0.entry.js} +1 -1
- package/dist/build/{p-0302637f.entry.js → p-f3daeb8f.entry.js} +1 -1
- package/dist/build/{p-fc0df371.entry.js → p-f8d8d142.entry.js} +1 -1
- package/dist/build/p-f9c9004b.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{child-of-CdM-uMiH.js → child-of-CvEcBEYZ.js} +1 -3
- package/dist/cjs/index-CEv7WAQX.js +0 -4
- package/dist/cjs/index.cjs.js +486 -491
- package/dist/cjs/is-mobile-browser-CscfWENw.js +17 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{localization-CGd_fklS.js → localization-CTvpcGDo.js} +15 -20
- package/dist/cjs/object-get-by-path-CxU4WbZu.js +14 -0
- package/dist/cjs/p-accordion.cjs.entry.js +3 -3
- package/dist/cjs/p-attachment.cjs.entry.js +8 -8
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +4 -4
- package/dist/cjs/p-badge_3.cjs.entry.js +6 -6
- package/dist/cjs/p-button-group.cjs.entry.js +4 -2
- package/dist/cjs/p-button_3.cjs.entry.js +11 -9
- package/dist/cjs/p-calendar.cjs.entry.js +16 -16
- package/dist/cjs/p-card-body.cjs.entry.js +2 -2
- package/dist/cjs/p-card-container.cjs.entry.js +3 -3
- package/dist/cjs/p-card-header.cjs.entry.js +4 -4
- package/dist/cjs/p-checkbox_3.cjs.entry.js +28 -28
- package/dist/cjs/p-content-slider.cjs.entry.js +7 -7
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2801
- package/dist/cjs/p-datepicker.cjs.entry.js +7 -7
- package/dist/cjs/p-divider.cjs.entry.js +3 -3
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +5 -5
- package/dist/cjs/p-drawer.cjs.entry.js +4 -6
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +7 -7
- package/dist/cjs/p-empty-state_8.cjs.entry.js +56 -57
- package/dist/cjs/p-field_3.cjs.entry.js +15 -15
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/p-iban-icon.cjs.entry.js +16 -8
- package/dist/cjs/p-illustration.cjs.entry.js +19 -19
- package/dist/cjs/p-info-panel.cjs.entry.js +3 -3
- package/dist/cjs/p-label.cjs.entry.js +4 -4
- package/dist/cjs/p-listing-item.cjs.entry.js +2 -2
- package/dist/cjs/p-listing-line.cjs.entry.js +2 -2
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js +7 -7
- package/dist/cjs/p-navbar.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-item.cjs.entry.js +4 -4
- package/dist/cjs/p-navigation-section.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-title.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +22 -22
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-radio.cjs.entry.js +4 -4
- package/dist/cjs/p-range.cjs.entry.js +5 -5
- package/dist/cjs/p-select.cjs.entry.js +12 -12
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +6 -6
- package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/p-table-extra-header.cjs.entry.js +2 -2
- package/dist/cjs/p-table.cjs.entry.js +20 -25
- package/dist/cjs/p-toast.cjs.entry.js +2 -2
- package/dist/cjs/p-toggle.cjs.entry.js +1 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/cjs/{screens-h1MTJhCu.js → screens-AithmFZ8.js} +3 -5
- package/dist/cjs/{table-helpers-DlLLYa6C.js → table-helpers-CWMTGgj6.js} +3 -2
- package/dist/cjs/{themed-host.component-_iELkx_M.js → themed-host.component-3UWKsF6_.js} +1 -3
- package/dist/collection/collection-manifest.json +2 -3
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +4 -4
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +3 -3
- package/dist/collection/components/atoms/card/header/card-header.component.js +8 -8
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +5 -5
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +3 -3
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +4 -4
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +7 -7
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +6 -6
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +16 -8
- package/dist/collection/components/atoms/icon/icon.component.js +9 -7
- package/dist/collection/components/atoms/illustration/illustration.component.js +7 -6
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +3 -3
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +3 -3
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +3 -3
- package/dist/collection/components/atoms/radio/radio.component.js +4 -4
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +8 -8
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +5 -5
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +9 -9
- package/dist/collection/components/helpers/table/extra-header/table-extra-header.component.js +7 -7
- package/dist/collection/components/helpers/table/row-action/table-row-action.component.js +4 -4
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
- package/dist/collection/components/molecules/button/button.component.js +12 -10
- package/dist/collection/components/molecules/button-group/button-group.component.js +4 -2
- package/dist/collection/components/molecules/calendar/calendar.component.js +19 -19
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +7 -7
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -2
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +7 -11
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +20 -20
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +9 -9
- package/dist/collection/components/molecules/field/container/field-container.component.js +9 -9
- package/dist/collection/components/molecules/field/field/field.component.js +8 -8
- package/dist/collection/components/molecules/label/label.component.js +8 -8
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +5 -5
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +12 -12
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +4 -4
- package/dist/collection/components/molecules/select/select.component.js +15 -15
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +4 -4
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +4 -4
- package/dist/collection/components/molecules/table/header/table-header.component.js +9 -10
- package/dist/collection/components/molecules/table/row/table-row.component.js +35 -35
- package/dist/collection/components/molecules/toast/toast.component.js +5 -5
- package/dist/collection/components/organisms/drawer/drawer.component.js +5 -7
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.js +19 -24
- package/dist/collection/internal/themed-host.component.js +1 -3
- package/dist/collection/tailwind/paperless.js +5 -10
- package/dist/collection/tailwind/plugins/safe-area.js +0 -1
- package/dist/collection/tailwind.config.js +3 -1
- package/dist/collection/types/icon.js +1 -0
- package/dist/collection/types/illustration.js +1 -0
- package/dist/collection/types/index.js +2 -0
- package/dist/collection/utils/child-of.js +1 -3
- package/dist/collection/utils/icons.js +10 -10
- package/dist/collection/utils/illustrations.js +1 -1
- package/dist/collection/utils/index.js +0 -1
- package/dist/collection/utils/is-mobile-browser.js +2 -2
- package/dist/collection/utils/localization.js +15 -20
- package/dist/collection/utils/object-get-by-path.js +6 -4
- package/dist/collection/utils/screens.js +3 -5
- package/dist/collection/utils/table-helpers.js +3 -2
- package/dist/collection/utils/transformers.js +4 -4
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DkVPZZHO.js → p-7Qldd8fE.js} +1 -1
- package/dist/components/{p-B_IuCmIa.js → p-B1MbDi-e.js} +1 -1
- package/dist/components/{p--Ty9opX6.js → p-BB7bmhRo.js} +1 -1
- package/dist/components/{p-CXQve1d1.js → p-BDDlblTI.js} +1 -1
- package/dist/components/{p-BFhNsUf5.js → p-BQIf6SbI.js} +1 -1
- package/dist/components/{p-Dg1-sR-k.js → p-BhnSWAm_.js} +1 -1
- package/dist/components/{p-Cu1DdpL1.js → p-BnyCseIX.js} +1 -1
- package/dist/components/{p-dcQaxaLO.js → p-BpnNRSNN.js} +1 -1
- package/dist/components/{p-DimI4bGI.js → p-BtLNLU5M.js} +1 -1
- package/dist/components/{p-DxO1Iohr.js → p-Bte1XwqA.js} +1 -1
- package/dist/components/p-BtiXtaPx.js +1 -0
- package/dist/components/{p-Ci6dVRRb.js → p-Bylx-B13.js} +1 -1
- package/dist/components/{p-ClEzqSGY.js → p-Bzccvp_O.js} +1 -1
- package/dist/components/p-C8Vq1N_0.js +1 -0
- package/dist/components/{p-twaFgOgz.js → p-C9Qej_kA.js} +1 -1
- package/dist/components/p-CEFaN18s.js +1 -0
- package/dist/components/{p-BkR7Q669.js → p-CJKObZ8L.js} +1 -1
- package/dist/components/{p-CC9NuAjl.js → p-CLXB3_-L.js} +1 -1
- package/dist/components/{p-C12vK-lE.js → p-CUmhErgX.js} +1 -1
- package/dist/components/p-CUqoOemU.js +1 -0
- package/dist/components/p-CWO2YJCh.js +1 -0
- package/dist/components/{p-CXK3XHq7.js → p-CX1ewbW4.js} +1 -1
- package/dist/components/p-CXVK8SLW.js +1 -0
- package/dist/components/{p-CQmBWqSs.js → p-CZlpdpMV.js} +1 -1
- package/dist/components/{p-YgJHDU9e.js → p-C_DONK31.js} +1 -1
- package/dist/components/{p-BM-q6wR6.js → p-CdNBlyaj.js} +1 -1
- package/dist/components/{p-Dkpzyp0v.js → p-ChrB-4co.js} +1 -1
- package/dist/components/{p-IEo0WRRo.js → p-Cop5m_ZM.js} +1 -1
- package/dist/components/p-Cq9Ck17A.js +1 -0
- package/dist/components/{p-cCrFaGl7.js → p-Ctox8Lg6.js} +1 -1
- package/dist/components/p-CwQG70_4.js +1 -0
- package/dist/components/p-D25uRUSS.js +1 -0
- package/dist/components/{p-DhdQKtm3.js → p-D29Sbsl9.js} +1 -1
- package/dist/components/p-D5wfsq08.js +1 -0
- package/dist/components/{p-ogrtZyO_.js → p-DAKk3DP1.js} +1 -1
- package/dist/components/{p-DxjOeZfz.js → p-DAb-3URQ.js} +1 -1
- package/dist/components/p-DPc49L2n.js +1 -0
- package/dist/components/{p-IaMFQebP.js → p-DfnFrfyL.js} +1 -1
- package/dist/components/p-DmzXDHw8.js +1 -0
- package/dist/components/{p-t3N4bS8X.js → p-Dolot2T0.js} +1 -1
- package/dist/components/{p-Cokzwe6N.js → p-Dw6QWvDh.js} +1 -1
- package/dist/components/{p-DNqCEr-g.js → p-I0RMpdxn.js} +1 -1
- package/dist/components/p-LNjvz3Yz.js +1 -0
- package/dist/components/p-YBYXO3s0.js +1 -0
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-avatar-group.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-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.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 +1 -3
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +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-DQ6XnmSU.js → p-f2XeK6vS.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-icon.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/{p-BI0xWHkS.js → p-jz4pgX_D.js} +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- package/dist/components/p-listing-line.js +1 -1
- package/dist/components/p-listing.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-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-stepper-item.js +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-CyGCrWD3.js → p-u1RuzYH-.js} +1 -1
- package/dist/components/p-xlO2hePk.js +1 -0
- package/dist/esm/{child-of-BFSNj6hu.js → child-of-TyZ7uPES.js} +1 -3
- package/dist/esm/index-PW1zQoNr.js +0 -4
- package/dist/esm/index.js +487 -492
- package/dist/esm/is-mobile-browser-DPc49L2n.js +15 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{localization-DiJj8rmO.js → localization-CwQG70_4.js} +15 -20
- package/dist/esm/object-get-by-path-CLLU0oUD.js +12 -0
- package/dist/esm/p-accordion.entry.js +3 -3
- package/dist/esm/p-attachment.entry.js +8 -8
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +4 -4
- package/dist/esm/p-badge_3.entry.js +6 -6
- package/dist/esm/p-button-group.entry.js +4 -2
- package/dist/esm/p-button_3.entry.js +11 -9
- package/dist/esm/p-calendar.entry.js +16 -16
- package/dist/esm/p-card-body.entry.js +2 -2
- package/dist/esm/p-card-container.entry.js +3 -3
- package/dist/esm/p-card-header.entry.js +4 -4
- package/dist/esm/p-checkbox_3.entry.js +28 -28
- package/dist/esm/p-content-slider.entry.js +7 -7
- package/dist/esm/p-cropper.entry.js +2 -2801
- package/dist/esm/p-datepicker.entry.js +7 -7
- package/dist/esm/p-divider.entry.js +3 -3
- package/dist/esm/p-drawer-body_3.entry.js +5 -5
- package/dist/esm/p-drawer.entry.js +4 -6
- package/dist/esm/p-dropdown-menu-item_2.entry.js +7 -7
- package/dist/esm/p-empty-state_8.entry.js +56 -57
- package/dist/esm/p-field_3.entry.js +15 -15
- package/dist/esm/p-floating-menu-item.entry.js +3 -3
- package/dist/esm/p-iban-icon.entry.js +16 -8
- package/dist/esm/p-illustration.entry.js +19 -19
- package/dist/esm/p-info-panel.entry.js +3 -3
- package/dist/esm/p-label.entry.js +4 -4
- package/dist/esm/p-listing-item.entry.js +2 -2
- package/dist/esm/p-listing-line.entry.js +2 -2
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-modal-body_4.entry.js +7 -7
- package/dist/esm/p-navbar.entry.js +2 -2
- package/dist/esm/p-navigation-item.entry.js +4 -4
- package/dist/esm/p-navigation-section.entry.js +2 -2
- package/dist/esm/p-navigation-title.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +22 -22
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-radio.entry.js +4 -4
- package/dist/esm/p-range.entry.js +5 -5
- package/dist/esm/p-select.entry.js +12 -12
- package/dist/esm/p-stepper-item_2.entry.js +6 -6
- package/dist/esm/p-tab-item.entry.js +2 -2
- package/dist/esm/p-table-extra-header.entry.js +2 -2
- package/dist/esm/p-table.entry.js +20 -25
- package/dist/esm/p-toast.entry.js +2 -2
- package/dist/esm/p-toggle.entry.js +1 -1
- package/dist/esm/p-tooltip.entry.js +10 -10
- package/dist/esm/paperless.js +1 -1
- package/dist/esm/{screens-B3sNjfzc.js → screens-CWO2YJCh.js} +3 -5
- package/dist/esm/{table-helpers-ChunMu-S.js → table-helpers-CfQnOr9V.js} +3 -2
- package/dist/esm/{themed-host.component-CIh9URD4.js → themed-host.component-Bc5wHkoH.js} +1 -3
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/p-0305046c.entry.js +1 -0
- package/dist/paperless/{p-37b27bb1.entry.js → p-0898e57b.entry.js} +1 -1
- package/dist/paperless/p-099a4c60.entry.js +1 -0
- package/dist/paperless/{p-4fde72a3.entry.js → p-0c094c99.entry.js} +1 -1
- package/dist/paperless/{p-3cea628d.entry.js → p-0eb7a6e4.entry.js} +1 -1
- package/dist/paperless/p-14a2caa3.entry.js +1 -0
- package/dist/paperless/{p-1b31b10f.entry.js → p-1ce28114.entry.js} +1 -1
- package/dist/paperless/p-2509308d.entry.js +1 -0
- package/dist/{build/p-0cd95c45.entry.js → paperless/p-389f92f8.entry.js} +1 -1
- package/dist/{build/p-71991854.entry.js → paperless/p-400ae3ad.entry.js} +1 -1
- package/dist/{build/p-63846f0b.entry.js → paperless/p-4793863e.entry.js} +1 -1
- package/dist/paperless/{p-8679628b.entry.js → p-4ad6dd58.entry.js} +1 -1
- package/dist/paperless/p-4d456377.entry.js +1 -0
- package/dist/paperless/{p-6084ee30.entry.js → p-4f068009.entry.js} +1 -1
- package/dist/{build/p-39e82216.entry.js → paperless/p-62c4c7d7.entry.js} +1 -1
- package/dist/paperless/p-6ff8d21c.entry.js +1 -0
- package/dist/paperless/{p-e9b9b751.entry.js → p-7ae963de.entry.js} +1 -1
- package/dist/paperless/p-846f47bd.entry.js +1 -0
- package/dist/paperless/{p-85fa7375.entry.js → p-870a63fb.entry.js} +1 -1
- package/dist/paperless/p-8bd7c93a.entry.js +1 -0
- package/dist/paperless/{p-0ff1c650.entry.js → p-8d0c1f36.entry.js} +1 -1
- package/dist/paperless/{p-c0cec615.entry.js → p-8ed529ba.entry.js} +1 -1
- package/dist/paperless/{p-f71f2778.entry.js → p-92bbdecc.entry.js} +1 -1
- package/dist/paperless/{p-ffcdc88a.entry.js → p-93bbde98.entry.js} +1 -1
- package/dist/{build/p-a5abda38.entry.js → paperless/p-958c8a2c.entry.js} +1 -1
- package/dist/paperless/{p-90cd1752.entry.js → p-9a49375d.entry.js} +1 -1
- package/dist/paperless/{p-CrdJDtHg.js → p-CLLU0oUD.js} +1 -1
- package/dist/paperless/p-CWO2YJCh.js +1 -0
- package/dist/paperless/p-CXVK8SLW.js +1 -0
- package/dist/paperless/p-CwQG70_4.js +1 -0
- package/dist/paperless/{p-BTx_Jfhh.js → p-DE-sstf_.js} +1 -1
- package/dist/paperless/p-DPc49L2n.js +1 -0
- package/dist/{build/p-42d1ea4a.entry.js → paperless/p-a23a90d6.entry.js} +1 -1
- package/dist/paperless/{p-73bf8fe0.entry.js → p-a4109895.entry.js} +1 -1
- package/dist/paperless/p-ad468b70.entry.js +1 -0
- package/dist/paperless/p-af320255.entry.js +1 -0
- package/dist/paperless/p-b2248597.entry.js +1 -0
- package/dist/paperless/{p-27b9a71a.entry.js → p-b37d0053.entry.js} +1 -1
- package/dist/{build/p-50ce7b68.entry.js → paperless/p-bfb06294.entry.js} +1 -1
- package/dist/{build/p-da8d3052.entry.js → paperless/p-c7835f10.entry.js} +1 -1
- package/dist/paperless/{p-588360e0.entry.js → p-cfe81f27.entry.js} +1 -1
- package/dist/{build/p-4874c70c.entry.js → paperless/p-d0d0a314.entry.js} +1 -1
- package/dist/paperless/p-d38642c4.entry.js +1 -0
- package/dist/paperless/p-e30abf73.entry.js +1 -0
- package/dist/paperless/{p-cacd9fe0.entry.js → p-e6222abf.entry.js} +1 -1
- package/dist/paperless/p-e9d2bdd6.entry.js +1 -0
- package/dist/paperless/{p-fe72512a.entry.js → p-f1f160c0.entry.js} +1 -1
- package/dist/paperless/{p-0302637f.entry.js → p-f3daeb8f.entry.js} +1 -1
- package/dist/paperless/{p-fc0df371.entry.js → p-f8d8d142.entry.js} +1 -1
- package/dist/paperless/p-f9c9004b.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/dist/tailwind/paperless.ts +5 -12
- package/dist/tailwind/plugins/safe-area.ts +0 -1
- package/dist/tailwind.config.ts +4 -1
- package/dist/types/components/atoms/card/header/card-header.component.d.ts +1 -1
- package/dist/types/components/atoms/dropdown-menu/item/dropdown-menu-item.component.d.ts +1 -1
- package/dist/types/components/atoms/floating-menu/item/floating-menu-item.component.d.ts +1 -2
- package/dist/types/components/atoms/icon/icon.component.d.ts +1 -3
- package/dist/types/components/atoms/illustration/illustration.component.d.ts +1 -2
- package/dist/types/components/atoms/listing/item/listing-item.component.d.ts +1 -1
- package/dist/types/components/atoms/segment/item/segment-item.component.d.ts +1 -1
- package/dist/types/components/helpers/table/extra-header/table-extra-header.component.d.ts +5 -5
- package/dist/types/components/helpers/table/row-action/table-row-action.component.d.ts +2 -1
- package/dist/types/components/molecules/button/button.component.d.ts +1 -1
- package/dist/types/components/molecules/cropper/cropper.component.d.ts +0 -1
- package/dist/types/components/molecules/empty-state/empty-state.component.d.ts +3 -1
- package/dist/types/components/molecules/field/field/field.component.d.ts +1 -1
- package/dist/types/components/molecules/label/label.component.d.ts +1 -2
- package/dist/types/components/molecules/navigation/item/navigation-item.component.d.ts +1 -1
- package/dist/types/components/molecules/select/select.component.d.ts +1 -1
- package/dist/types/components/molecules/table/header/table-header.component.d.ts +1 -1
- package/dist/types/components/molecules/table/row/table-row.component.d.ts +1 -1
- package/dist/types/components/molecules/toast/toast.component.d.ts +1 -2
- package/dist/types/components/organisms/table/table.component.d.ts +1 -1
- package/dist/types/components.d.ts +58 -83
- package/dist/types/types/icon.d.ts +3 -0
- package/dist/types/types/illustration.d.ts +2 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/types/utils/table-helpers.d.ts +1 -1
- package/hydrate/index.js +401 -4857
- package/hydrate/index.mjs +401 -4857
- package/package.json +3 -2
- package/dist/assets/illustrations-old/default-empty-state.svg +0 -186
- package/dist/assets/illustrations-old/departments.svg +0 -31
- package/dist/assets/illustrations-old/e-mail.svg +0 -1
- package/dist/assets/illustrations-old/empty-state-add.svg +0 -65
- package/dist/assets/illustrations-old/empty-state-overview.svg +0 -58
- package/dist/assets/illustrations-old/empty-state-search.svg +0 -88
- package/dist/assets/illustrations-old/expenses.svg +0 -397
- package/dist/assets/illustrations-old/functions.svg +0 -58
- package/dist/assets/illustrations-old/questions.svg +0 -30
- package/dist/assets/illustrations-old/sick-leave.svg +0 -353
- package/dist/assets/illustrations-old/time-off.svg +0 -271
- package/dist/assets/illustrations-old/upgrade-to-hr.svg +0 -56
- package/dist/build/p--Uc_OJAV.js +0 -1
- package/dist/build/p-0ace3259.entry.js +0 -1
- package/dist/build/p-1204b8ec.entry.js +0 -1
- package/dist/build/p-12f9e8fd.entry.js +0 -1
- package/dist/build/p-2af31a3d.entry.js +0 -1
- package/dist/build/p-387cdb34.entry.js +0 -1
- package/dist/build/p-47aa5fcc.js +0 -1
- package/dist/build/p-623e756e.entry.js +0 -1
- package/dist/build/p-6995f239.entry.js +0 -1
- package/dist/build/p-6e0cdef0.entry.js +0 -1
- package/dist/build/p-81ce830d.entry.js +0 -1
- package/dist/build/p-B3sNjfzc.js +0 -1
- package/dist/build/p-DVCJlilm.js +0 -1
- package/dist/build/p-DiJj8rmO.js +0 -1
- package/dist/build/p-a2e9ea67.entry.js +0 -1
- package/dist/build/p-b9c70c1e.entry.js +0 -1
- package/dist/build/p-bc2ffc30.entry.js +0 -1
- package/dist/build/p-d8d7d211.entry.js +0 -1
- package/dist/build/p-d966a625.entry.js +0 -1
- package/dist/build/p-e145d906.entry.js +0 -3
- package/dist/build/p-f06b0222.entry.js +0 -1
- package/dist/cjs/is-mobile-browser-B0H5zume.js +0 -17
- package/dist/cjs/object-get-by-path-D9RiabwP.js +0 -12
- package/dist/cjs/p-illustration-deprecated.cjs.entry.js +0 -1648
- package/dist/collection/assets/illustrations-old/default-empty-state.svg +0 -186
- package/dist/collection/assets/illustrations-old/departments.svg +0 -31
- package/dist/collection/assets/illustrations-old/e-mail.svg +0 -1
- package/dist/collection/assets/illustrations-old/empty-state-add.svg +0 -65
- package/dist/collection/assets/illustrations-old/empty-state-overview.svg +0 -58
- package/dist/collection/assets/illustrations-old/empty-state-search.svg +0 -88
- package/dist/collection/assets/illustrations-old/expenses.svg +0 -397
- package/dist/collection/assets/illustrations-old/functions.svg +0 -58
- package/dist/collection/assets/illustrations-old/questions.svg +0 -30
- package/dist/collection/assets/illustrations-old/sick-leave.svg +0 -353
- package/dist/collection/assets/illustrations-old/time-off.svg +0 -271
- package/dist/collection/assets/illustrations-old/upgrade-to-hr.svg +0 -56
- package/dist/collection/components/deprecated/atoms/illustration-deprecated/illustration-deprecated.component.js +0 -45
- package/dist/collection/utils/illustrations-deprecated.js +0 -26
- package/dist/components/p--Uc_OJAV.js +0 -1
- package/dist/components/p-B3sNjfzc.js +0 -1
- package/dist/components/p-BEg0OIem.js +0 -1
- package/dist/components/p-BjTqIvvg.js +0 -1
- package/dist/components/p-BrUYoWaH.js +0 -1
- package/dist/components/p-C17XD-H9.js +0 -1
- package/dist/components/p-CKsghdpb.js +0 -1
- package/dist/components/p-CnrqNb4n.js +0 -1
- package/dist/components/p-DVCJlilm.js +0 -1
- package/dist/components/p-DYye99bH.js +0 -1
- package/dist/components/p-DiJj8rmO.js +0 -1
- package/dist/components/p-a5kQoWAV.js +0 -1
- package/dist/components/p-illustration-deprecated.d.ts +0 -11
- package/dist/components/p-illustration-deprecated.js +0 -1
- package/dist/components/p-qiEuZx_b.js +0 -1
- package/dist/components/p-v_LjXNk5.js +0 -1
- package/dist/components/p-zR_ED6Ps.js +0 -1
- package/dist/esm/is-mobile-browser-DVCJlilm.js +0 -15
- package/dist/esm/object-get-by-path-CrdJDtHg.js +0 -10
- package/dist/esm/p-illustration-deprecated.entry.js +0 -1646
- package/dist/paperless/p--Uc_OJAV.js +0 -1
- package/dist/paperless/p-0ace3259.entry.js +0 -1
- package/dist/paperless/p-1204b8ec.entry.js +0 -1
- package/dist/paperless/p-12f9e8fd.entry.js +0 -1
- package/dist/paperless/p-2af31a3d.entry.js +0 -1
- package/dist/paperless/p-387cdb34.entry.js +0 -1
- package/dist/paperless/p-623e756e.entry.js +0 -1
- package/dist/paperless/p-6995f239.entry.js +0 -1
- package/dist/paperless/p-6e0cdef0.entry.js +0 -1
- package/dist/paperless/p-81ce830d.entry.js +0 -1
- package/dist/paperless/p-B3sNjfzc.js +0 -1
- package/dist/paperless/p-DVCJlilm.js +0 -1
- package/dist/paperless/p-DiJj8rmO.js +0 -1
- package/dist/paperless/p-a2e9ea67.entry.js +0 -1
- package/dist/paperless/p-b9c70c1e.entry.js +0 -1
- package/dist/paperless/p-bc2ffc30.entry.js +0 -1
- package/dist/paperless/p-d8d7d211.entry.js +0 -1
- package/dist/paperless/p-d966a625.entry.js +0 -1
- package/dist/paperless/p-e145d906.entry.js +0 -3
- package/dist/paperless/p-f06b0222.entry.js +0 -1
- package/dist/types/components/deprecated/atoms/illustration-deprecated/illustration-deprecated.component.d.ts +0 -10
- package/dist/types/utils/illustrations-deprecated.d.ts +0 -15
- package/dist/build/{p-BFSNj6hu.js → p-TyZ7uPES.js} +0 -0
- package/dist/build/{p-BO6McqNQ.js → p-V194S7Dm.js} +0 -0
- package/dist/build/{p-49063862.entry.js → p-a096e5b9.entry.js} +0 -0
- package/dist/build/{p-10e45aa0.entry.js → p-a91d2d7d.entry.js} +0 -0
- package/dist/build/{p-ce739b80.entry.js → p-ea4df80c.entry.js} +0 -0
- package/dist/cjs/{icons-DoJUuFS5.js → icons-C2jYPq9N.js} +58 -58
- package/dist/components/{p-dOw_mqvY.js → p-BdmdNQNa.js} +0 -0
- package/dist/components/{p-BFSNj6hu.js → p-TyZ7uPES.js} +0 -0
- package/dist/esm/{icons--Uc_OJAV.js → icons-CXVK8SLW.js} +58 -58
- /package/dist/paperless/{p-BFSNj6hu.js → p-TyZ7uPES.js} +0 -0
- /package/dist/paperless/{p-BO6McqNQ.js → p-V194S7Dm.js} +0 -0
- /package/dist/paperless/{p-49063862.entry.js → p-a096e5b9.entry.js} +0 -0
- /package/dist/paperless/{p-10e45aa0.entry.js → p-a91d2d7d.entry.js} +0 -0
- /package/dist/paperless/{p-ce739b80.entry.js → p-ea4df80c.entry.js} +0 -0
|
@@ -6,7 +6,7 @@ export class ListingItem {
|
|
|
6
6
|
*/
|
|
7
7
|
icon = 'placeholder';
|
|
8
8
|
render() {
|
|
9
|
-
return (h(ThemedHost, { key: '
|
|
9
|
+
return (h(ThemedHost, { key: 'e2b07cadde155cc5f8e89c305001f60d6f59ae30' }, h("div", { key: '19cc7bd70f7db7a95dfca67a5ad95ba80dc30228', class: 'flex items-center gap-2 text-storm-500 dark:text-white' }, h("p-icon", { key: '45d2060debccfa81b61b08f72426b908124c3288', variant: this.icon }), h("div", { key: '0b71a178319947208668f96e2598f09e17dd62d6', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, h("slot", { key: '8531f5b5ab3af0ba370733876465ea140e50b311' })))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "p-listing-item"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,8 +31,8 @@ export class ListingItem {
|
|
|
31
31
|
"references": {
|
|
32
32
|
"IconVariant": {
|
|
33
33
|
"location": "import",
|
|
34
|
-
"path": "
|
|
35
|
-
"id": "src/
|
|
34
|
+
"path": "../../../../types/icon",
|
|
35
|
+
"id": "src/types/icon.ts::IconVariant",
|
|
36
36
|
"referenceLocation": "IconVariant"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
3
3
|
export class ListingLine {
|
|
4
4
|
render() {
|
|
5
|
-
return h(ThemedHost, { key: '
|
|
5
|
+
return h(ThemedHost, { key: 'c86403715338caf974046a01d48cb11ff916f6fc' });
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-listing-line"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,10 +23,10 @@ export class ModalBody {
|
|
|
23
23
|
*/
|
|
24
24
|
roundedTop = false;
|
|
25
25
|
render() {
|
|
26
|
-
return (h(ThemedHost, { key: '
|
|
26
|
+
return (h(ThemedHost, { key: '4dd5344c568a1b856dd92e13a982d8c2346f32a9' }, h("div", { key: '755f6e8625cdafc7b2c861e849a0434f6b104a4a', class: body({
|
|
27
27
|
roundedBottom: this.roundedBottom,
|
|
28
28
|
roundedTop: this.roundedTop,
|
|
29
|
-
}) }, h("slot", { key: '
|
|
29
|
+
}) }, h("slot", { key: 'a10c0615d4f3246cff520e87a1e82dff4f177aec' }))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "p-modal-body"; }
|
|
32
32
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { asBoolean } from "../../../../utils/as-boolean";
|
|
4
3
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
|
+
import { asBoolean } from "../../../../utils/as-boolean";
|
|
5
5
|
const container = cva([
|
|
6
6
|
'flex-1 min-w-0 w-full',
|
|
7
7
|
'z-modal flex flex-col',
|
|
@@ -34,10 +34,10 @@ export class ModalContainer {
|
|
|
34
34
|
*/
|
|
35
35
|
closing = false;
|
|
36
36
|
render() {
|
|
37
|
-
return (h(ThemedHost, { key: '
|
|
37
|
+
return (h(ThemedHost, { key: '918f998bf6ff9f8aa64a323ef7e9208a6205467e' }, h("div", { key: '531c0bc3232ff4f1bb795cc8a9c3c469b5c4a2f7', class: container({
|
|
38
38
|
size: this.size,
|
|
39
39
|
closing: asBoolean(this.closing),
|
|
40
|
-
}) }, h("slot", { key: '
|
|
40
|
+
}) }, h("slot", { key: 'fa2d654b38a33243cc1d437009caee6f262e88a8' }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "p-modal-container"; }
|
|
43
43
|
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: '
|
|
5
|
+
return (h(ThemedHost, { key: 'db7731369d6e62f4e6cd9a45d49202c1d9600284' }, h("div", { key: '28bba6b89dcfeaa6d91e295575f8559a82bcb17c', class: 'flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600' }, h("p-divider", { key: 'd6449db5feef9f6553399b7ca8476fdaa8e38ebe', class: 'mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' }), h("div", { key: 'ad7ba6598fc59911c04089471c03297de2f03c1f', class: 'flex flex-col gap-4 tablet:flex-row' }, h("slot", { key: 'dddec1e9fd3580b37b08b5f988d4f7efae24eeca' })))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-modal-footer"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,7 +22,7 @@ export class ModalHeader {
|
|
|
22
22
|
*/
|
|
23
23
|
close;
|
|
24
24
|
render() {
|
|
25
|
-
return (h(ThemedHost, { key: '
|
|
25
|
+
return (h(ThemedHost, { key: '61310ca15062863fa75788e8621c845829835a83' }, h("div", { key: '45d347c0906fb178470a22ee073f78d2c83a625d', class: header() }, h("div", { key: 'cd7903f26712a92149166a9016f397701c216ee3', class: content() }, h("div", { key: 'e1aa409159b2c19f97682ba5de0ebcdbca799e7a', class: title() }, h("slot", { key: '605016d68fa57dde900543c0cee048f078613fa7' })), this.showClose && (h("p-button", { key: '885ebd89b2f63609e658debad4137df0dfb03b8c', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: 'f461107c6a15c7c58e5944b0b19e54ff0ce88305', class: 'dark:text-hurricane-400' }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "p-modal-header"; }
|
|
28
28
|
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: '8b616d4e4a24357aedf52f2e0b9a8ee6a4e2da0c', class: 'text-xs font-medium text-storm-300 dark:text-hurricane-200' }, h("slot", { key: '47cfce47aa289872078e90d097ab78e1232f9cac' })));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-navigation-title"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { asBoolean } from "../../../../utils/as-boolean";
|
|
4
3
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
|
+
import { asBoolean } from "../../../../utils/as-boolean";
|
|
5
5
|
const item = cva([
|
|
6
6
|
'p-pagination-item',
|
|
7
7
|
'text-sm ',
|
|
@@ -88,12 +88,12 @@ export class PaginationPagesItem {
|
|
|
88
88
|
*/
|
|
89
89
|
disabled = false;
|
|
90
90
|
render() {
|
|
91
|
-
return (h(ThemedHost, { key: '
|
|
91
|
+
return (h(ThemedHost, { key: '8e1fbcaf1a960ca415e653aab0bc26c4cf1ae061' }, h("div", { key: '230b7e153665bcaa32ae288cc9b62dd9b64f70ca', class: item({
|
|
92
92
|
variant: this.variant ?? 'default',
|
|
93
93
|
active: asBoolean(this.active),
|
|
94
94
|
hover: asBoolean(this.hover, true),
|
|
95
95
|
disabled: asBoolean(this.disabled),
|
|
96
|
-
}) }, h("slot", { key: '
|
|
96
|
+
}) }, h("slot", { key: '708294372427d32cece0fa2836cea5ab0663d379' }))));
|
|
97
97
|
}
|
|
98
98
|
static get is() { return "p-pagination-pages-item"; }
|
|
99
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
+
import { ThemedHost } from "../../../internal/themed-host.component";
|
|
3
4
|
import { asBoolean } from "../../../utils/as-boolean";
|
|
4
5
|
import { nonce } from "../../../utils/nonce";
|
|
5
|
-
import { ThemedHost } from "../../../internal/themed-host.component";
|
|
6
6
|
const radio = cva([
|
|
7
7
|
'peer appearance-none m-0 outline-none flex-shrink-0',
|
|
8
8
|
'rounded-full border border-inset border-solid ',
|
|
@@ -91,11 +91,11 @@ export class Radio {
|
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
93
|
const id = this.id?.length ? this.id : this._nonce;
|
|
94
|
-
return (h(ThemedHost, { key: '
|
|
94
|
+
return (h(ThemedHost, { key: '6c93ef349dcabcef38658f27359a441fd4cd3813' }, h("label", { key: '291d100b75f53e0b26ed7684329ab8b47c67d89d', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: '0db6d40c88eb7e38d49a7b00c51a9527bcb07919', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: 'c37a2ca4f67b57fb6fe4c5db31f047928eed1e70', class: radio({
|
|
95
95
|
disabled: asBoolean(this.disabled),
|
|
96
|
-
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
96
|
+
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: 'f062fa8dba4c876a5cce25d5777bf11ae936764a', class: circle({
|
|
97
97
|
disabled: asBoolean(this.disabled),
|
|
98
|
-
}) })), h("div", { key: '
|
|
98
|
+
}) })), h("div", { key: '90340477396fd987eabbe4cc7aeebb38a548ec68', class: 'flex-1 overflow-hidden text-ellipsis empty:hidden dark:text-white' }, h("slot", { key: 'b66d366cac0e5c99903edc18f4256c045d3a5b10' })))));
|
|
99
99
|
}
|
|
100
100
|
_onChange(ev) {
|
|
101
101
|
if (asBoolean(this.disabled)) {
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
3
3
|
export class SegmentContainer {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(ThemedHost, { key: '
|
|
5
|
+
return (h(ThemedHost, { key: '1a1008baf7277eddba9c4e618755cd1acbe9a841' }, h("div", { key: 'daa680e3f2ca890c091b81869ef328e7652c7c09', class: 'flex rounded-2xl border border-solid border-off-white-700 bg-off-white-300 p-1 dark:border-hurricane-400 dark:bg-hurricane-600' }, h("slot", { key: '3931579ceb2a19c187ecba849c316e29cde001a4' }))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-segment-container"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { asBoolean } from "../../../../utils/as-boolean";
|
|
4
|
-
import { cn } from "../../../../utils";
|
|
5
3
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
|
+
import { cn } from "../../../../utils";
|
|
5
|
+
import { asBoolean } from "../../../../utils/as-boolean";
|
|
6
6
|
const segmentItem = cva(['flex items-center justify-center', 'rounded-xl', 'cursor-pointer text-sm'], {
|
|
7
7
|
variants: {
|
|
8
8
|
variant: {
|
|
@@ -62,11 +62,11 @@ export class SegmentItem {
|
|
|
62
62
|
iconRotate;
|
|
63
63
|
render() {
|
|
64
64
|
const descriptionSlot = this.variant === 'block' ? h("slot", { name: 'description' }) : null;
|
|
65
|
-
return (h(ThemedHost, { key: '
|
|
65
|
+
return (h(ThemedHost, { key: '9cd8ce2db3d393050b684b8c54c8a1ce7679b058' }, h("div", { key: '2fe85e1298c475d9c0cc4a4f95405b73e2323ebb', class: segmentItem({
|
|
66
66
|
variant: this.variant,
|
|
67
67
|
active: asBoolean(this.active),
|
|
68
68
|
iconOnly: asBoolean(this.iconOnly),
|
|
69
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
69
|
+
}) }, this.icon && (h("p-icon", { key: '63323d0681027b5a1215c342113d1ffb5c3924b4', class: cn('mb-1', {
|
|
70
70
|
'text-storm-300 dark:text-hurricane-200': !asBoolean(this.active),
|
|
71
71
|
'text-indigo-200': asBoolean(this.active),
|
|
72
72
|
}), variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), this.variant === 'default' ? (h("slot", null)) : (h("div", { class: 'flex flex-col items-center' }, h("p", { class: cn('my-0 font-medium empty:hidden', {}) }, h("slot", { name: 'title' })), descriptionSlot && (h("p", { class: cn('my-0 text-xs font-medium', {
|
|
@@ -157,8 +157,8 @@ export class SegmentItem {
|
|
|
157
157
|
"references": {
|
|
158
158
|
"IconVariant": {
|
|
159
159
|
"location": "import",
|
|
160
|
-
"path": "
|
|
161
|
-
"id": "src/
|
|
160
|
+
"path": "../../../../types/icon",
|
|
161
|
+
"id": "src/types/icon.ts::IconVariant",
|
|
162
162
|
"referenceLocation": "IconVariant"
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -183,8 +183,8 @@ export class SegmentItem {
|
|
|
183
183
|
"references": {
|
|
184
184
|
"IconFlipOptions": {
|
|
185
185
|
"location": "import",
|
|
186
|
-
"path": "
|
|
187
|
-
"id": "src/
|
|
186
|
+
"path": "../../../../types/icon",
|
|
187
|
+
"id": "src/types/icon.ts::IconFlipOptions",
|
|
188
188
|
"referenceLocation": "IconFlipOptions"
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { asBoolean } from "../../../../utils/as-boolean";
|
|
4
3
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
|
+
import { asBoolean } from "../../../../utils/as-boolean";
|
|
5
5
|
const item = cva('flex gap-2', {
|
|
6
6
|
variants: {
|
|
7
7
|
align: {
|
|
@@ -135,19 +135,19 @@ export class StepperItem {
|
|
|
135
135
|
*/
|
|
136
136
|
active = false;
|
|
137
137
|
render() {
|
|
138
|
-
return (h(ThemedHost, { key: '
|
|
138
|
+
return (h(ThemedHost, { key: '197bcb21f1d28e35bee93f7fe3efa2c70361a4dc' }, h("div", { key: '8c0e55e1ca56a4b2c3107542c5533c5166686215', class: item({
|
|
139
139
|
align: this.align,
|
|
140
140
|
contentPosition: this.contentPosition,
|
|
141
|
-
}) }, h("div", { key: '
|
|
141
|
+
}) }, h("div", { key: '5905ce66b404e06f9c1b79818bc1167adbcdd4de', class: circle({
|
|
142
142
|
align: this.align,
|
|
143
143
|
direction: this.direction,
|
|
144
144
|
active: asBoolean(this.active),
|
|
145
145
|
finished: asBoolean(this.finished),
|
|
146
|
-
}) }, this.number), h("div", { key: '
|
|
146
|
+
}) }, this.number), h("div", { key: '829cb80e0b3873461f91cb63521ca70e8578c909', class: content({
|
|
147
147
|
active: asBoolean(this.active),
|
|
148
148
|
finished: asBoolean(this.finished),
|
|
149
149
|
direction: this.direction,
|
|
150
|
-
}) }, h("slot", { key: '
|
|
150
|
+
}) }, h("slot", { key: '38fd35eb991bdfbc3884c93cc710067e7cb4435a' })))));
|
|
151
151
|
}
|
|
152
152
|
static get is() { return "p-stepper-item"; }
|
|
153
153
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class StepperLine {
|
|
|
10
10
|
*/
|
|
11
11
|
direction = 'horizontal';
|
|
12
12
|
render() {
|
|
13
|
-
return h(ThemedHost, { key: '
|
|
13
|
+
return h(ThemedHost, { key: '565c695a3d5b50dc3930eccbf76524b902cd9504' });
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "p-stepper-line"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,7 +22,7 @@ export class TabItem {
|
|
|
22
22
|
*/
|
|
23
23
|
active = false;
|
|
24
24
|
render() {
|
|
25
|
-
return (h(ThemedHost, { key: '
|
|
25
|
+
return (h(ThemedHost, { key: '8795ed5e38ffff0da5edb9154fd084c690e2b95d' }, h("div", { key: 'dfd1fd4d2deeebfe2eac22eae0b84985c158ed26', class: item({ active: this.active }) }, h("slot", { key: '418044c86b215e216a9df1fd9398fd008fa1c41f' }))));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "p-tab-item"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js
CHANGED
|
@@ -7,13 +7,13 @@ export class TableRowActionsContainer {
|
|
|
7
7
|
*/
|
|
8
8
|
checked = false;
|
|
9
9
|
render() {
|
|
10
|
-
return (h(ThemedHost, { key: '
|
|
10
|
+
return (h(ThemedHost, { key: '05b47280bc380ad0960a69c27fa641ea735a94f4' }, h("div", { key: 'e12fc3877b07a0596938b52d2a50f5446bdc78ae', class: cn('flex before:w-4 before:bg-gradient-to-l before:from-off-white-200', {
|
|
11
11
|
'dark:before:from-hurricane-600': !this.checked,
|
|
12
12
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
13
|
-
}) }, h("div", { key: '
|
|
13
|
+
}) }, h("div", { key: 'cddfbd117853e870c9801b9d5a961a029939bd19', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
14
14
|
'dark:bg-hurricane-600': !this.checked,
|
|
15
15
|
'dark:bg-hurricane-400': !!this.checked,
|
|
16
|
-
}) }, h("slot", { key: '
|
|
16
|
+
}) }, h("slot", { key: '647aeaa41557bc01063b60b065cf6975b33aa960' })))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "p-table-row-actions-container"; }
|
|
19
19
|
static get encapsulation() { return "shadow"; }
|
|
@@ -90,10 +90,10 @@ export class Tooltip {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (h(ThemedHost, { key: '
|
|
93
|
+
return (h(ThemedHost, { key: 'ef3333212b88389556fa76159040a9dd6e0c2e17', "data-filled": this.content?.length > 0 || this._hasContentSlot }, h("slot", { key: '095bf08cf3d45b3baaf9921796392b6b51e13719', name: 'trigger' }), h("div", { key: '46dcc7888a6c2e66e1e5e7d5a9492f117775be30', class: popover({
|
|
94
94
|
variant: this.variant,
|
|
95
95
|
strategy: this.strategy,
|
|
96
|
-
}), role: 'popover', "data-placement": this.placement, ref: el => this._load(el) }, h("div", { key: '
|
|
96
|
+
}), role: 'popover', "data-placement": this.placement, ref: el => this._load(el) }, h("div", { key: '5651334a58293cf9a6adc96b2d8cb1991691404a', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (h("div", { key: '9db76dfaf31d1acbb72eedd0d90744bf913bb21f', class: 'w-[2px] bg-negative-red-500 dark:bg-negative-red-alternative' })), this.content ?? h("slot", { key: '0bbaa654220dd3b99c26dd787c540a1ca85bd8af', name: 'content' })))));
|
|
97
97
|
}
|
|
98
98
|
clickHandler() {
|
|
99
99
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
|
@@ -102,7 +102,7 @@ export class Tooltip {
|
|
|
102
102
|
if (!this._popover) {
|
|
103
103
|
return;
|
|
104
104
|
}
|
|
105
|
-
if (this._popover.
|
|
105
|
+
if (Object.hasOwn(this._popover.dataset, 'show')) {
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
108
|
this._show();
|
|
@@ -114,7 +114,7 @@ export class Tooltip {
|
|
|
114
114
|
if (!this._popover) {
|
|
115
115
|
return;
|
|
116
116
|
}
|
|
117
|
-
if (!this._popover.
|
|
117
|
+
if (!Object.hasOwn(this._popover.dataset, 'show')) {
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
120
|
this._hide();
|
|
@@ -135,7 +135,7 @@ export class Tooltip {
|
|
|
135
135
|
if (!this._popover) {
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
|
-
if (show && !this._popover.
|
|
138
|
+
if (show && !Object.hasOwn(this._popover.dataset, 'show')) {
|
|
139
139
|
return this._show();
|
|
140
140
|
}
|
|
141
141
|
return this._hide();
|
|
@@ -151,14 +151,14 @@ export class Tooltip {
|
|
|
151
151
|
return;
|
|
152
152
|
}
|
|
153
153
|
if (!this.content?.length && !this._hasContentSlot) {
|
|
154
|
-
if (this._popover.
|
|
154
|
+
if (Object.hasOwn(this._popover.dataset, 'show')) {
|
|
155
155
|
this._hide();
|
|
156
156
|
}
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
159
|
this._cleanup = autoUpdate(this._el, this._popover, () => this._update());
|
|
160
160
|
// Make the popover visible
|
|
161
|
-
this._popover.
|
|
161
|
+
this._popover.dataset.show = '';
|
|
162
162
|
this._popover.classList.remove('opacity-0', 'pointer-events-none');
|
|
163
163
|
this._popover.classList.add('opacity-100', 'pointer-events-auto');
|
|
164
164
|
// Update its position
|
|
@@ -173,7 +173,7 @@ export class Tooltip {
|
|
|
173
173
|
this._cleanup = null;
|
|
174
174
|
}
|
|
175
175
|
// Hide the popover
|
|
176
|
-
this._popover.
|
|
176
|
+
delete this._popover.dataset.show;
|
|
177
177
|
this._popover.classList.remove('opacity-100', 'pointer-events-auto');
|
|
178
178
|
this._popover.classList.add('opacity-0', 'pointer-events-none');
|
|
179
179
|
this.isOpen.emit(false);
|
|
@@ -195,7 +195,7 @@ export class Tooltip {
|
|
|
195
195
|
computePosition(this._el, this._popover, {
|
|
196
196
|
placement: this.variant === 'error' && !this.placement
|
|
197
197
|
? 'bottom-start'
|
|
198
|
-
: this.placement ?? 'top',
|
|
198
|
+
: (this.placement ?? 'top'),
|
|
199
199
|
strategy: this.strategy,
|
|
200
200
|
middleware: [offset(this.offset), flip(), shift()],
|
|
201
201
|
}).then(({ x, y, placement }) => {
|
package/dist/collection/components/helpers/table/extra-header/table-extra-header.component.js
CHANGED
|
@@ -14,7 +14,7 @@ export class TableExtraHeader {
|
|
|
14
14
|
/**
|
|
15
15
|
* The alignment of the column
|
|
16
16
|
*/
|
|
17
|
-
align =
|
|
17
|
+
align = 'start';
|
|
18
18
|
/**
|
|
19
19
|
* Parsed sizes based on the complete set of columns
|
|
20
20
|
*/
|
|
@@ -22,7 +22,7 @@ export class TableExtraHeader {
|
|
|
22
22
|
/**
|
|
23
23
|
* The sizes of the column
|
|
24
24
|
*/
|
|
25
|
-
sizes =
|
|
25
|
+
sizes = 'auto';
|
|
26
26
|
/**
|
|
27
27
|
* Event to let the table know it has to re render
|
|
28
28
|
*/
|
|
@@ -59,7 +59,7 @@ export class TableExtraHeader {
|
|
|
59
59
|
"type": "any",
|
|
60
60
|
"mutable": true,
|
|
61
61
|
"complexType": {
|
|
62
|
-
"original": "boolean |
|
|
62
|
+
"original": "boolean | 'secondary'",
|
|
63
63
|
"resolved": "\"secondary\" | boolean",
|
|
64
64
|
"references": {}
|
|
65
65
|
},
|
|
@@ -99,7 +99,7 @@ export class TableExtraHeader {
|
|
|
99
99
|
"type": "string",
|
|
100
100
|
"mutable": true,
|
|
101
101
|
"complexType": {
|
|
102
|
-
"original": "
|
|
102
|
+
"original": "'start' | 'center' | 'end'",
|
|
103
103
|
"resolved": "\"center\" | \"end\" | \"start\"",
|
|
104
104
|
"references": {}
|
|
105
105
|
},
|
|
@@ -113,7 +113,7 @@ export class TableExtraHeader {
|
|
|
113
113
|
"setter": false,
|
|
114
114
|
"reflect": true,
|
|
115
115
|
"attribute": "align",
|
|
116
|
-
"defaultValue": "
|
|
116
|
+
"defaultValue": "'start'"
|
|
117
117
|
},
|
|
118
118
|
"parsedSizes": {
|
|
119
119
|
"type": "unknown",
|
|
@@ -143,7 +143,7 @@ export class TableExtraHeader {
|
|
|
143
143
|
"type": "any",
|
|
144
144
|
"mutable": true,
|
|
145
145
|
"complexType": {
|
|
146
|
-
"original": "|
|
|
146
|
+
"original": "| 'auto'\n\t\t| 'hidden'\n\t\t| 'full'\n\t\t| number\n\t\t| TableColumnSizes",
|
|
147
147
|
"resolved": "\"auto\" | \"full\" | \"hidden\" | TableColumnSizes | number",
|
|
148
148
|
"references": {
|
|
149
149
|
"TableColumnSizes": {
|
|
@@ -164,7 +164,7 @@ export class TableExtraHeader {
|
|
|
164
164
|
"setter": false,
|
|
165
165
|
"reflect": false,
|
|
166
166
|
"attribute": "sizes",
|
|
167
|
-
"defaultValue": "
|
|
167
|
+
"defaultValue": "'auto'"
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
170
|
}
|
|
@@ -77,8 +77,8 @@ export class TableRowAction {
|
|
|
77
77
|
"references": {
|
|
78
78
|
"IconVariant": {
|
|
79
79
|
"location": "import",
|
|
80
|
-
"path": "../../../../
|
|
81
|
-
"id": "src/
|
|
80
|
+
"path": "../../../../types/icon",
|
|
81
|
+
"id": "src/types/icon.ts::IconVariant",
|
|
82
82
|
"referenceLocation": "IconVariant"
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -123,8 +123,8 @@ export class TableRowAction {
|
|
|
123
123
|
"references": {
|
|
124
124
|
"IconFlipOptions": {
|
|
125
125
|
"location": "import",
|
|
126
|
-
"path": "../../../../
|
|
127
|
-
"id": "src/
|
|
126
|
+
"path": "../../../../types/icon",
|
|
127
|
+
"id": "src/types/icon.ts::IconFlipOptions",
|
|
128
128
|
"referenceLocation": "IconFlipOptions"
|
|
129
129
|
}
|
|
130
130
|
}
|
|
@@ -27,10 +27,10 @@ export class Accordion {
|
|
|
27
27
|
*/
|
|
28
28
|
isOpen;
|
|
29
29
|
render() {
|
|
30
|
-
return (h(ThemedHost, { key: '
|
|
30
|
+
return (h(ThemedHost, { key: '36d39106bf27e5005cfdd96f062e89d3be88dbef' }, h("div", { key: '55912f6dbbd9f44f9d86e0e1500d425d2d5fd16e', class: cn('flex cursor-pointer items-center gap-2', {
|
|
31
31
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
32
32
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
33
|
-
}), onClick: () => this._onClick() }, h("p-icon", { key: '
|
|
33
|
+
}), onClick: () => this._onClick() }, h("p-icon", { key: '73e31ff40f08654d9911562b67565a6494184460', class: 'flex shrink-0', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: '2a118c3e7bf94a59350c4cc6feeb2756217f4852', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), h("p-divider", { key: 'd6632e38605ee499d559bd40b48a735cbea9f160', class: 'flex-1' })), this.open && (h("div", { key: '2707a0e53b0470485f3f05abf919b8c22199199e', class: 'mt-4' }, h("slot", { key: '2686aa25fa66c990ec52d5f1f58eca7dd707d8f4' })))));
|
|
34
34
|
}
|
|
35
35
|
_onClick() {
|
|
36
36
|
if (!this.closeable && this.open) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, h, } from "@stencil/core";
|
|
2
|
-
import { cn, isMobile, isTablet } from "../../../utils";
|
|
3
2
|
import { cva } from "class-variance-authority";
|
|
3
|
+
import { cn, isMobile, isTablet } from "../../../utils";
|
|
4
4
|
const attachment = cva([
|
|
5
5
|
'flex flex-1 items-center justify-start gap-2',
|
|
6
6
|
'h-8 min-w-0 px-2 rounded-lg',
|
|
@@ -95,21 +95,21 @@ export class Attachment {
|
|
|
95
95
|
_fileRef;
|
|
96
96
|
_cameraFileRef;
|
|
97
97
|
render() {
|
|
98
|
-
let prefix = (h("p-icon", { key: '
|
|
98
|
+
let prefix = (h("p-icon", { key: 'c32bd5160f16b5fe66dd6bdddc7abab643ecac69', class: 'text-storm-300', variant: 'attachment' }));
|
|
99
99
|
if (this.error) {
|
|
100
|
-
prefix = (h("p-icon", { key: '
|
|
100
|
+
prefix = (h("p-icon", { key: '258cc04fd6a6ca24cc99fd4402740c600c845641', variant: 'warning', class: 'text-negative-red-500' }));
|
|
101
101
|
}
|
|
102
102
|
// const isMobileDevice = isMobile();
|
|
103
103
|
const isMobileDevice = isTablet();
|
|
104
104
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
105
|
-
return (h(Fragment, { key: '
|
|
105
|
+
return (h(Fragment, { key: '2d4812f3d31f3cd0816628933c7f430526db82d6' }, h("p-field-container", { key: '349206b933ad13c0f37cd07d2a8da5b7be1a5c06', variant: 'write', label: this.label, helper: this.helper, error: this.error, required: this.required, forceShowTooltip: !!this.error?.length }, h("div", { key: '59d1189891173772085e25882c3fcb474e459e0a', slot: 'content', class: 'flex w-full items-start gap-2' }, h("div", { key: '41b8af0f2636db293df1e503effbd1ec7f97685b', class: attachment({
|
|
106
106
|
click: this.mode === 'write' && !this.value?.length,
|
|
107
107
|
error: !!this.error?.length,
|
|
108
|
-
}), onClick: () => this._uploadClick() }, prefix, h("span", { key: '
|
|
108
|
+
}), onClick: () => this._uploadClick() }, prefix, h("span", { key: 'd53642b51ad59ff0b5ccf497085ba81f4111bebf', class: cn(baseText, 'peer empty:hidden dark:text-white') }, this.value), h("span", { key: '285839432a117ed07ad59c5d66e5784109ac5f79', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: '1e5cd8b15e61316f678fb7b66af77969a3cb403a', class: 'w-8', content: this.mode === 'read'
|
|
109
109
|
? this.downloadTooltip
|
|
110
110
|
: this.value?.length
|
|
111
111
|
? this.deleteTooltip
|
|
112
|
-
: this.uploadTooltip }, h("p-button", { key: '
|
|
112
|
+
: this.uploadTooltip }, h("p-button", { key: 'a0f090e19e177cff757ebae1fc2f5d1f4df8db68', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: this.mode === 'read'
|
|
113
113
|
? 'download'
|
|
114
114
|
: this.value?.length
|
|
115
115
|
? 'trash'
|
|
@@ -120,7 +120,7 @@ export class Attachment {
|
|
|
120
120
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
121
121
|
this.mode === 'write' &&
|
|
122
122
|
isMobileDevice &&
|
|
123
|
-
!this.value?.length && (h("p-tooltip", { key: '
|
|
123
|
+
!this.value?.length && (h("p-tooltip", { key: '2b41ef669b3fc1e58a394d847a30b1316f0e3a0d', content: this.cameraTooltip, class: 'w-8 desktop-xs:hidden' }, h("p-button", { key: 'b3ddba24285c00e05397221a77f73a08164c6953', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: 'camera', onOnClick: () => this._cameraClick() }))))), h("input", { key: '5eec66f53142eb76391fbd626a01556470ce395a', class: 'hidden', type: 'file', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, ref: el => (this._fileRef = el), onChange: ev => this._onFileChange(ev) }), h("input", { key: '288987b14646880b3fbe960514e0b5915b421270', class: 'hidden', type: 'file', accept: 'image/*', capture: 'true', ref: el => (this._cameraFileRef = el), onChange: ev => this._onFileChange(ev) })));
|
|
124
124
|
}
|
|
125
125
|
_uploadClick() {
|
|
126
126
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -143,7 +143,7 @@ export class Attachment {
|
|
|
143
143
|
if (file) {
|
|
144
144
|
this.loading = true;
|
|
145
145
|
const reader = new FileReader();
|
|
146
|
-
reader.
|
|
146
|
+
reader.addEventListener('load', (e) => this._onLoad(file, e?.currentTarget?.result));
|
|
147
147
|
reader.readAsDataURL(file);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -498,19 +498,21 @@ export class Button {
|
|
|
498
498
|
switch (this.variant) {
|
|
499
499
|
case 'secondary':
|
|
500
500
|
case 'dropdown':
|
|
501
|
-
case 'transparent':
|
|
501
|
+
case 'transparent': {
|
|
502
502
|
loaderColor = 'off-white';
|
|
503
503
|
break;
|
|
504
|
-
|
|
504
|
+
}
|
|
505
|
+
case 'text': {
|
|
505
506
|
loaderColor = 'storm';
|
|
506
507
|
break;
|
|
508
|
+
}
|
|
507
509
|
}
|
|
508
510
|
const VariableTag = this.variant === 'text' || this.href?.length || this.as === 'a'
|
|
509
511
|
? 'a'
|
|
510
512
|
: 'button';
|
|
511
513
|
const hostClass = cn('p-button inline-block', this.class);
|
|
512
514
|
const active = asBoolean(this.active) || hostClass?.includes('active');
|
|
513
|
-
return (h(ThemedHost, { key: '
|
|
515
|
+
return (h(ThemedHost, { key: '60d256cfefe040641ad82e5e13a84918995b7575', class: hostClass }, h(VariableTag, { key: '325301c1c4bb3837f9b767326a240abfe57df9d3', disabled: asBoolean(this.disabled), href: this.href, type: this.variant === 'text' ? undefined : this.type, target: this.target, tabIndex: this.tabIndex, class: button({
|
|
514
516
|
variant: this.variant,
|
|
515
517
|
size: this.size,
|
|
516
518
|
loading: asBoolean(this.loading),
|
|
@@ -520,14 +522,14 @@ export class Button {
|
|
|
520
522
|
active,
|
|
521
523
|
error: asBoolean(this.error),
|
|
522
524
|
underline: asBoolean(this.underline) && VariableTag === 'a',
|
|
523
|
-
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '
|
|
525
|
+
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: 'bca146628e8b245ed68217572897783b5a2785b1', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
|
|
524
526
|
this.iconPosition === 'start' &&
|
|
525
527
|
!(this.iconOnly && this.loading) &&
|
|
526
|
-
this._getIcon(), this.label
|
|
528
|
+
this._getIcon(), this.label ?? h("slot", { key: '8062e043413803fb5a66f5c99cb0c19575984429' }), this.icon &&
|
|
527
529
|
this.iconPosition === 'end' &&
|
|
528
530
|
!this.loading &&
|
|
529
531
|
!this.chevron &&
|
|
530
|
-
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '
|
|
532
|
+
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '793e26b051f81801a735d5f643f55ce10f16d9c5', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.loading && h("p-loader", { key: '081b781cc329b17859a538a4dbd8dd711dbed3d1', color: loaderColor }))));
|
|
531
533
|
}
|
|
532
534
|
handleClick(ev) {
|
|
533
535
|
if (this.loading || this.disabled) {
|
|
@@ -877,8 +879,8 @@ export class Button {
|
|
|
877
879
|
"references": {
|
|
878
880
|
"IconVariant": {
|
|
879
881
|
"location": "import",
|
|
880
|
-
"path": "
|
|
881
|
-
"id": "src/
|
|
882
|
+
"path": "../../../types/icon",
|
|
883
|
+
"id": "src/types/icon.ts::IconVariant",
|
|
882
884
|
"referenceLocation": "IconVariant"
|
|
883
885
|
}
|
|
884
886
|
}
|
|
@@ -962,8 +964,8 @@ export class Button {
|
|
|
962
964
|
"references": {
|
|
963
965
|
"IconFlipOptions": {
|
|
964
966
|
"location": "import",
|
|
965
|
-
"path": "
|
|
966
|
-
"id": "src/
|
|
967
|
+
"path": "../../../types/icon",
|
|
968
|
+
"id": "src/types/icon.ts::IconFlipOptions",
|
|
967
969
|
"referenceLocation": "IconFlipOptions"
|
|
968
970
|
}
|
|
969
971
|
}
|
|
@@ -12,13 +12,15 @@ export class ButtonGroup {
|
|
|
12
12
|
this._checkButtons();
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '5c9ba2353a2e1a8ff30bcae75bab8ee588cdbfe0', class: 'flex items-center' }, h("slot", { key: '0d1691050f077740cbdb4a289e72f3bf4ba6d2c1' })));
|
|
16
16
|
}
|
|
17
17
|
slotchange() {
|
|
18
18
|
this._checkButtons();
|
|
19
19
|
}
|
|
20
20
|
_checkButtons() {
|
|
21
|
-
const buttons =
|
|
21
|
+
const buttons = [
|
|
22
|
+
...this._el.querySelectorAll(':scope > p-button'),
|
|
23
|
+
];
|
|
22
24
|
for (let i = 0; i < buttons.length; i++) {
|
|
23
25
|
const button = buttons[i];
|
|
24
26
|
button.size = this.size;
|