@paperless/core 2.0.1-beta.79 → 2.0.1-beta.80
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/CHANGELOG.md +18 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/{p-c1071220.entry.js → p-07341d05.entry.js} +2 -2
- package/dist/build/p-073f6f2d.entry.js +2 -0
- package/dist/build/p-073f6f2d.entry.js.map +1 -0
- package/dist/build/p-08d7b8fd.entry.js +2 -0
- package/dist/build/{p-691848af.entry.js → p-0a69360c.entry.js} +2 -2
- package/dist/build/{p-ae860e97.entry.js → p-0b7c7c60.entry.js} +2 -2
- package/dist/build/{p-ea3b1122.entry.js → p-25dca54e.entry.js} +2 -2
- package/dist/build/p-2627c2d8.entry.js +2 -0
- package/dist/build/{p-2da8868f.entry.js → p-2d5df355.entry.js} +2 -2
- package/dist/build/{p-a89e2da7.entry.js → p-316270ed.entry.js} +2 -2
- package/dist/build/p-4f6f60bd.entry.js +2 -0
- package/dist/build/p-4f6f60bd.entry.js.map +1 -0
- package/dist/{paperless/p-fbb10dd2.entry.js → build/p-502fd3a3.entry.js} +2 -2
- package/dist/build/{p-3a763793.entry.js → p-51ed483f.entry.js} +2 -2
- package/dist/{paperless/p-c6b6872f.entry.js → build/p-5b5e235d.entry.js} +2 -2
- package/dist/build/{p-a6d33f42.entry.js → p-6b191cc2.entry.js} +2 -2
- package/dist/build/p-6f37cf1e.entry.js +2 -0
- package/dist/build/p-6f37cf1e.entry.js.map +1 -0
- package/dist/build/{p-9d810878.entry.js → p-73d45196.entry.js} +2 -2
- package/dist/{paperless/p-7bf73fad.entry.js → build/p-75f29494.entry.js} +2 -2
- package/dist/build/{p-60d65dee.entry.js → p-76ef8d77.entry.js} +2 -2
- package/dist/build/p-8260a3df.entry.js +2 -0
- package/dist/build/p-8260a3df.entry.js.map +1 -0
- package/dist/build/p-869eef85.entry.js +2 -0
- package/dist/build/p-8ad9857b.entry.js +2 -0
- package/dist/{paperless/p-b7158304.entry.js.map → build/p-8ad9857b.entry.js.map} +1 -1
- package/dist/build/p-8eb3122e.entry.js +2 -0
- package/dist/build/p-8eb3122e.entry.js.map +1 -0
- package/dist/build/{p-0c2b2ef1.js → p-90516fcd.js} +1 -1
- package/dist/build/{p-6523c93f.entry.js → p-93ff5e8a.entry.js} +2 -2
- package/dist/build/p-a4181f4e.entry.js +2 -0
- package/dist/build/{p-09d68fa3.entry.js → p-ba9e371e.entry.js} +2 -2
- package/dist/{paperless/p-fd9774f5.entry.js → build/p-bbed14ec.entry.js} +2 -2
- package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/build/{p-33c84c28.entry.js → p-c3934d04.entry.js} +2 -2
- package/dist/build/{p-90d8cf17.entry.js → p-c531f434.entry.js} +2 -2
- package/dist/build/{p-9026c8b5.entry.js → p-c6a797cb.entry.js} +2 -2
- package/dist/build/{p-65fdfe75.entry.js → p-cda09995.entry.js} +2 -2
- package/dist/build/{p-b1afbc83.entry.js → p-cf791aae.entry.js} +2 -2
- package/dist/build/{p-2a7f51ce.entry.js → p-d9dc7546.entry.js} +2 -2
- package/dist/build/{p-8a0e50c1.entry.js → p-e320460e.entry.js} +2 -2
- package/dist/build/{p-4ea184f4.entry.js → p-e7644591.entry.js} +2 -2
- package/dist/build/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/build/{p-b7308da5.entry.js → p-f8d93f7f.entry.js} +2 -2
- package/dist/build/p-fd25d6b4.entry.js +2 -0
- package/dist/build/p-info-panel.entry.esm.js.map +1 -1
- package/dist/build/p-toast-container.entry.esm.js.map +1 -1
- package/dist/build/p-toast.entry.esm.js.map +1 -1
- package/dist/build/{p-LzoxDEOe.js → p-w5scU5MN.js} +2 -2
- package/dist/build/{p-LzoxDEOe.js.map → p-w5scU5MN.js.map} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +4 -4
- package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button.p-icon.p-loader.entry.cjs.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +17 -18
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-checkbox_4.cjs.entry.js +4 -4
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-counter.cjs.entry.js +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
- package/dist/cjs/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-empty-state_9.cjs.entry.js +12 -12
- package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
- package/dist/cjs/p-field_2.cjs.entry.js +3 -3
- package/dist/cjs/p-helper_2.cjs.entry.js +4 -4
- package/dist/cjs/p-info-panel.cjs.entry.js +34 -3
- package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/p-info-panel.entry.cjs.js.map +1 -1
- package/dist/cjs/p-input-error.cjs.entry.js +1 -1
- package/dist/cjs/p-input-group.cjs.entry.js +3 -3
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
- package/dist/cjs/p-portal.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +34 -2
- package/dist/cjs/p-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +18 -2
- package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast.entry.cjs.js.map +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/{table-helpers-DvUvmM0E.js → table-helpers-B8s1ild-.js} +3 -3
- package/dist/cjs/{table-helpers-DvUvmM0E.js.map → table-helpers-B8s1ild-.js.map} +1 -1
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/info-panel/info-panel.component.js +37 -7
- package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -0
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- 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 +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- 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 +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -0
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +78 -0
- package/dist/collection/components/atoms/toast-container/toast-container.component.js.map +1 -0
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
- package/dist/collection/components/deprecated/atoms/counter/counter.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +4 -4
- package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +3 -3
- package/dist/collection/components/deprecated/molecules/stepper/stepper.component.js +1 -1
- package/dist/collection/components/helpers/portal/portal.component.js +1 -1
- package/dist/collection/components/molecules/button/button.component.css +1 -1
- package/dist/collection/components/molecules/button/button.component.js +16 -17
- package/dist/collection/components/molecules/button/button.component.js.map +1 -1
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/field/field.component.js +3 -3
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +2 -2
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- 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/select/select.component.js +1 -1
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +3 -3
- package/dist/collection/components/molecules/table/footer/table-footer.component.js.map +1 -1
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.css +1 -0
- package/dist/collection/components/{deprecated/molecules → molecules}/toast/toast.component.js +22 -7
- package/dist/collection/components/molecules/toast/toast.component.js.map +1 -0
- package/dist/collection/tailwind.config.js +2 -0
- package/dist/collection/tailwind.config.js.map +1 -1
- package/dist/collection/utils/table-helpers.js +1 -1
- package/dist/collection/utils/table-helpers.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-Cmf7dylG.js → p-5X1lnDRK.js} +5 -5
- package/dist/components/{p-Cmf7dylG.js.map → p-5X1lnDRK.js.map} +1 -1
- package/dist/components/{p-CvrnD0WM.js → p-B6Fq3Unc.js} +5 -5
- package/dist/components/{p-CvrnD0WM.js.map → p-B6Fq3Unc.js.map} +1 -1
- package/dist/components/{p-CR4FaoFo.js → p-BS5qfb8t.js} +3 -3
- package/dist/components/{p-CR4FaoFo.js.map → p-BS5qfb8t.js.map} +1 -1
- package/dist/components/{p-BecdP_Ak.js → p-BSqoCFAK.js} +3 -3
- package/dist/components/{p-BecdP_Ak.js.map → p-BSqoCFAK.js.map} +1 -1
- package/dist/components/{p-DdUN8Nyq.js → p-BdJFMqdg.js} +3 -3
- package/dist/components/{p-DdUN8Nyq.js.map → p-BdJFMqdg.js.map} +1 -1
- package/dist/components/{p-BSp52EHZ.js → p-BjAdteZr.js} +4 -4
- package/dist/components/{p-BSp52EHZ.js.map → p-BjAdteZr.js.map} +1 -1
- package/dist/components/{p-Cgc5Rf-T.js → p-Bn9PWD7q.js} +5 -5
- package/dist/components/{p-Cgc5Rf-T.js.map → p-Bn9PWD7q.js.map} +1 -1
- package/dist/components/{p-G3k1MoRj.js → p-CMb42XxF.js} +3 -3
- package/dist/components/{p-G3k1MoRj.js.map → p-CMb42XxF.js.map} +1 -1
- package/dist/components/{p-CKl8XIXI.js → p-CP6E8Z3I.js} +3 -3
- package/dist/components/{p-CKl8XIXI.js.map → p-CP6E8Z3I.js.map} +1 -1
- package/dist/components/{p-DQjhQalq.js → p-CPfHEOBs.js} +4 -4
- package/dist/components/{p-DQjhQalq.js.map → p-CPfHEOBs.js.map} +1 -1
- package/dist/components/{p-DlN5KZ8K.js → p-CQ4Ij5Yt.js} +19 -20
- package/dist/components/p-CQ4Ij5Yt.js.map +1 -0
- package/dist/components/{p-C7KCgALY.js → p-CXCk-hn_.js} +4 -4
- package/dist/components/{p-C7KCgALY.js.map → p-CXCk-hn_.js.map} +1 -1
- package/dist/components/{p-DH_N7BmJ.js → p-CXPGaIDo.js} +3 -3
- package/dist/components/{p-DH_N7BmJ.js.map → p-CXPGaIDo.js.map} +1 -1
- package/dist/components/{p-TilMkuQF.js → p-Cdg_Jpie.js} +3 -3
- package/dist/components/{p-TilMkuQF.js.map → p-Cdg_Jpie.js.map} +1 -1
- package/dist/components/{p-DKrNvBnR.js → p-Ce3D43Ip.js} +4 -4
- package/dist/components/{p-DKrNvBnR.js.map → p-Ce3D43Ip.js.map} +1 -1
- package/dist/components/{p-Cn672cIU.js → p-CfWRE-_u.js} +11 -11
- package/dist/components/p-CfWRE-_u.js.map +1 -0
- package/dist/components/{p-CnjQFqen.js → p-D6J5DqW9.js} +3 -3
- package/dist/components/{p-CnjQFqen.js.map → p-D6J5DqW9.js.map} +1 -1
- package/dist/components/{p-CuyOoeUT.js → p-DF5tf4bH.js} +4 -4
- package/dist/components/{p-CuyOoeUT.js.map → p-DF5tf4bH.js.map} +1 -1
- package/dist/components/{p-9udfuvz4.js → p-DNZc9PaU.js} +4 -4
- package/dist/components/{p-9udfuvz4.js.map → p-DNZc9PaU.js.map} +1 -1
- package/dist/components/{p-ZAQGesQ7.js → p-DQeoE88H.js} +4 -4
- package/dist/components/{p-ZAQGesQ7.js.map → p-DQeoE88H.js.map} +1 -1
- package/dist/components/{p-Xxbmyx0y.js → p-DUBZI97P.js} +3 -3
- package/dist/components/{p-Xxbmyx0y.js.map → p-DUBZI97P.js.map} +1 -1
- package/dist/components/{p-BrCGvs2R.js → p-DfUAOtmh.js} +10 -10
- package/dist/components/{p-BrCGvs2R.js.map → p-DfUAOtmh.js.map} +1 -1
- package/dist/components/{p-DmrlQGj-.js → p-DlEZYWhh.js} +7 -7
- package/dist/components/{p-DmrlQGj-.js.map → p-DlEZYWhh.js.map} +1 -1
- package/dist/components/{p-BvoW5S7O.js → p-DvTxfR-G.js} +5 -5
- package/dist/components/{p-BvoW5S7O.js.map → p-DvTxfR-G.js.map} +1 -1
- package/dist/components/{p-BN2A_taC.js → p-Tyv3-Gx-.js} +4 -4
- package/dist/components/{p-BN2A_taC.js.map → p-Tyv3-Gx-.js.map} +1 -1
- package/dist/components/{p-Cj4Zbbu2.js → p-VHSzm90Q.js} +5 -5
- package/dist/components/{p-Cj4Zbbu2.js.map → p-VHSzm90Q.js.map} +1 -1
- package/dist/components/{p-T530_mKV.js → p-X9TbRoVo.js} +7 -7
- package/dist/components/{p-T530_mKV.js.map → p-X9TbRoVo.js.map} +1 -1
- package/dist/components/{p-81xGDDZd.js → p-_dcemX76.js} +9 -9
- package/dist/components/{p-81xGDDZd.js.map → p-_dcemX76.js.map} +1 -1
- package/dist/components/{p-JR87NQg8.js → p-aD467fAn.js} +10 -10
- package/dist/components/{p-JR87NQg8.js.map → p-aD467fAn.js.map} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +8 -8
- 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-header.js +1 -1
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-counter.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +10 -10
- 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 +4 -4
- 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-helper.js +1 -1
- package/dist/components/p-info-panel.js +34 -4
- package/dist/components/p-info-panel.js.map +1 -1
- package/dist/components/p-input-error.js +1 -1
- package/dist/components/p-input-group.js +7 -7
- package/dist/components/p-label.js +3 -3
- 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 +6 -6
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +2 -2
- package/dist/components/p-navigation-section.js +2 -2
- 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-portal.js +1 -1
- package/dist/components/p-profile.js +3 -3
- package/dist/components/{p-Ck46vbXY.js → p-q7CIefeo.js} +3 -3
- package/dist/components/{p-Ck46vbXY.js.map → p-q7CIefeo.js.map} +1 -1
- package/dist/components/p-radio.js +3 -3
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +8 -8
- package/dist/components/p-smile.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 +21 -21
- package/dist/components/p-toast-container.js +34 -3
- package/dist/components/p-toast-container.js.map +1 -1
- package/dist/components/p-toast.js +18 -3
- package/dist/components/p-toast.js.map +1 -1
- package/dist/components/p-toggle.js +3 -3
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-ntJMuEET.js → p-yYduLHuy.js} +4 -4
- package/dist/components/{p-ntJMuEET.js.map → p-yYduLHuy.js.map} +1 -1
- package/dist/components/{p-D3n21R2b.js → p-yjUm_prR.js} +4 -4
- package/dist/components/{p-D3n21R2b.js.map → p-yjUm_prR.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/p-accordion.entry.js +1 -1
- package/dist/esm/p-attachment.entry.js +4 -4
- package/dist/esm/p-badge_3.entry.js +3 -3
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +17 -18
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_4.entry.js +4 -4
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-counter.entry.js +1 -1
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +3 -3
- package/dist/esm/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
- package/dist/esm/p-empty-state_9.entry.js +12 -12
- package/dist/esm/p-empty-state_9.entry.js.map +1 -1
- package/dist/esm/p-field_2.entry.js +3 -3
- package/dist/esm/p-helper_2.entry.js +4 -4
- package/dist/esm/p-info-panel.entry.js +35 -4
- package/dist/esm/p-info-panel.entry.js.map +1 -1
- package/dist/esm/p-input-error.entry.js +1 -1
- package/dist/esm/p-input-group.entry.js +3 -3
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination-pages-item.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +4 -4
- package/dist/esm/p-portal.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +35 -3
- package/dist/esm/p-toast-container.entry.js.map +1 -1
- package/dist/esm/p-toast.entry.js +18 -2
- package/dist/esm/p-toast.entry.js.map +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/{table-helpers-CISNVNh_.js → table-helpers-DMmb1Zqx.js} +3 -3
- package/dist/esm/{table-helpers-CISNVNh_.js.map → table-helpers-DMmb1Zqx.js.map} +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/{p-c1071220.entry.js → p-07341d05.entry.js} +2 -2
- package/dist/paperless/p-073f6f2d.entry.js +2 -0
- package/dist/paperless/p-073f6f2d.entry.js.map +1 -0
- package/dist/paperless/p-08d7b8fd.entry.js +2 -0
- package/dist/paperless/{p-691848af.entry.js → p-0a69360c.entry.js} +2 -2
- package/dist/paperless/{p-ae860e97.entry.js → p-0b7c7c60.entry.js} +2 -2
- package/dist/paperless/{p-ea3b1122.entry.js → p-25dca54e.entry.js} +2 -2
- package/dist/paperless/p-2627c2d8.entry.js +2 -0
- package/dist/paperless/{p-2da8868f.entry.js → p-2d5df355.entry.js} +2 -2
- package/dist/paperless/{p-a89e2da7.entry.js → p-316270ed.entry.js} +2 -2
- package/dist/paperless/p-4f6f60bd.entry.js +2 -0
- package/dist/paperless/p-4f6f60bd.entry.js.map +1 -0
- package/dist/{build/p-fbb10dd2.entry.js → paperless/p-502fd3a3.entry.js} +2 -2
- package/dist/paperless/{p-3a763793.entry.js → p-51ed483f.entry.js} +2 -2
- package/dist/{build/p-c6b6872f.entry.js → paperless/p-5b5e235d.entry.js} +2 -2
- package/dist/paperless/{p-a6d33f42.entry.js → p-6b191cc2.entry.js} +2 -2
- package/dist/paperless/p-6f37cf1e.entry.js +2 -0
- package/dist/paperless/p-6f37cf1e.entry.js.map +1 -0
- package/dist/paperless/{p-9d810878.entry.js → p-73d45196.entry.js} +2 -2
- package/dist/{build/p-7bf73fad.entry.js → paperless/p-75f29494.entry.js} +2 -2
- package/dist/paperless/{p-60d65dee.entry.js → p-76ef8d77.entry.js} +2 -2
- package/dist/paperless/p-8260a3df.entry.js +2 -0
- package/dist/paperless/p-8260a3df.entry.js.map +1 -0
- package/dist/paperless/p-869eef85.entry.js +2 -0
- package/dist/paperless/p-8ad9857b.entry.js +2 -0
- package/dist/{build/p-b7158304.entry.js.map → paperless/p-8ad9857b.entry.js.map} +1 -1
- package/dist/paperless/p-8eb3122e.entry.js +2 -0
- package/dist/paperless/p-8eb3122e.entry.js.map +1 -0
- package/dist/paperless/{p-6523c93f.entry.js → p-93ff5e8a.entry.js} +2 -2
- package/dist/paperless/p-a4181f4e.entry.js +2 -0
- package/dist/paperless/{p-09d68fa3.entry.js → p-ba9e371e.entry.js} +2 -2
- package/dist/{build/p-fd9774f5.entry.js → paperless/p-bbed14ec.entry.js} +2 -2
- package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/paperless/{p-33c84c28.entry.js → p-c3934d04.entry.js} +2 -2
- package/dist/paperless/{p-90d8cf17.entry.js → p-c531f434.entry.js} +2 -2
- package/dist/paperless/{p-9026c8b5.entry.js → p-c6a797cb.entry.js} +2 -2
- package/dist/paperless/{p-65fdfe75.entry.js → p-cda09995.entry.js} +2 -2
- package/dist/paperless/{p-b1afbc83.entry.js → p-cf791aae.entry.js} +2 -2
- package/dist/paperless/{p-2a7f51ce.entry.js → p-d9dc7546.entry.js} +2 -2
- package/dist/paperless/{p-8a0e50c1.entry.js → p-e320460e.entry.js} +2 -2
- package/dist/paperless/{p-4ea184f4.entry.js → p-e7644591.entry.js} +2 -2
- package/dist/paperless/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/paperless/{p-b7308da5.entry.js → p-f8d93f7f.entry.js} +2 -2
- package/dist/paperless/p-fd25d6b4.entry.js +2 -0
- package/dist/paperless/p-info-panel.entry.esm.js.map +1 -1
- package/dist/paperless/p-toast-container.entry.esm.js.map +1 -1
- package/dist/paperless/p-toast.entry.esm.js.map +1 -1
- package/dist/paperless/{p-LzoxDEOe.js → p-w5scU5MN.js} +2 -2
- package/dist/paperless/{p-LzoxDEOe.js.map → p-w5scU5MN.js.map} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind.config.ts +2 -0
- package/dist/types/components/{deprecated/atoms → atoms}/info-panel/info-panel.component.d.ts +2 -2
- package/dist/types/components/{deprecated/molecules → molecules}/toast/toast.component.d.ts +4 -4
- package/dist/types/components.d.ts +12 -4
- package/dist/types/tailwind.config.d.ts +1 -0
- package/package.json +1 -1
- package/dist/build/p-00c5e98b.entry.js +0 -2
- package/dist/build/p-17d9bca9.entry.js +0 -2
- package/dist/build/p-17d9bca9.entry.js.map +0 -1
- package/dist/build/p-4a836eeb.entry.js +0 -2
- package/dist/build/p-6d2f81e5.entry.js +0 -2
- package/dist/build/p-6d2f81e5.entry.js.map +0 -1
- package/dist/build/p-8b1f9e44.entry.js +0 -2
- package/dist/build/p-8b1f9e44.entry.js.map +0 -1
- package/dist/build/p-9755ed13.entry.js +0 -2
- package/dist/build/p-9755ed13.entry.js.map +0 -1
- package/dist/build/p-9c504fd7.entry.js +0 -2
- package/dist/build/p-a1bb0d3f.entry.js +0 -2
- package/dist/build/p-a5c294f3.entry.js +0 -2
- package/dist/build/p-b7158304.entry.js +0 -2
- package/dist/build/p-c0db95db.entry.js +0 -2
- package/dist/build/p-c0db95db.entry.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/info-panel/info-panel.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/info-panel/info-panel.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/toast-container/toast-container.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/toast-container/toast-container.component.js +0 -47
- package/dist/collection/components/deprecated/atoms/toast-container/toast-container.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/toast/toast.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/toast/toast.component.js.map +0 -1
- package/dist/components/p-Cn672cIU.js.map +0 -1
- package/dist/components/p-DlN5KZ8K.js.map +0 -1
- package/dist/paperless/p-00c5e98b.entry.js +0 -2
- package/dist/paperless/p-17d9bca9.entry.js +0 -2
- package/dist/paperless/p-17d9bca9.entry.js.map +0 -1
- package/dist/paperless/p-4a836eeb.entry.js +0 -2
- package/dist/paperless/p-6d2f81e5.entry.js +0 -2
- package/dist/paperless/p-6d2f81e5.entry.js.map +0 -1
- package/dist/paperless/p-8b1f9e44.entry.js +0 -2
- package/dist/paperless/p-8b1f9e44.entry.js.map +0 -1
- package/dist/paperless/p-9755ed13.entry.js +0 -2
- package/dist/paperless/p-9755ed13.entry.js.map +0 -1
- package/dist/paperless/p-9c504fd7.entry.js +0 -2
- package/dist/paperless/p-a1bb0d3f.entry.js +0 -2
- package/dist/paperless/p-a5c294f3.entry.js +0 -2
- package/dist/paperless/p-b7158304.entry.js +0 -2
- package/dist/paperless/p-c0db95db.entry.js +0 -2
- package/dist/paperless/p-c0db95db.entry.js.map +0 -1
- /package/dist/build/{p-c1071220.entry.js.map → p-07341d05.entry.js.map} +0 -0
- /package/dist/build/{p-a5c294f3.entry.js.map → p-08d7b8fd.entry.js.map} +0 -0
- /package/dist/build/{p-691848af.entry.js.map → p-0a69360c.entry.js.map} +0 -0
- /package/dist/build/{p-ae860e97.entry.js.map → p-0b7c7c60.entry.js.map} +0 -0
- /package/dist/build/{p-ea3b1122.entry.js.map → p-25dca54e.entry.js.map} +0 -0
- /package/dist/build/{p-9c504fd7.entry.js.map → p-2627c2d8.entry.js.map} +0 -0
- /package/dist/build/{p-2da8868f.entry.js.map → p-2d5df355.entry.js.map} +0 -0
- /package/dist/build/{p-a89e2da7.entry.js.map → p-316270ed.entry.js.map} +0 -0
- /package/dist/build/{p-fbb10dd2.entry.js.map → p-502fd3a3.entry.js.map} +0 -0
- /package/dist/build/{p-3a763793.entry.js.map → p-51ed483f.entry.js.map} +0 -0
- /package/dist/build/{p-c6b6872f.entry.js.map → p-5b5e235d.entry.js.map} +0 -0
- /package/dist/build/{p-a6d33f42.entry.js.map → p-6b191cc2.entry.js.map} +0 -0
- /package/dist/build/{p-9d810878.entry.js.map → p-73d45196.entry.js.map} +0 -0
- /package/dist/build/{p-7bf73fad.entry.js.map → p-75f29494.entry.js.map} +0 -0
- /package/dist/build/{p-60d65dee.entry.js.map → p-76ef8d77.entry.js.map} +0 -0
- /package/dist/build/{p-a1bb0d3f.entry.js.map → p-869eef85.entry.js.map} +0 -0
- /package/dist/build/{p-6523c93f.entry.js.map → p-93ff5e8a.entry.js.map} +0 -0
- /package/dist/build/{p-00c5e98b.entry.js.map → p-a4181f4e.entry.js.map} +0 -0
- /package/dist/build/{p-09d68fa3.entry.js.map → p-ba9e371e.entry.js.map} +0 -0
- /package/dist/build/{p-fd9774f5.entry.js.map → p-bbed14ec.entry.js.map} +0 -0
- /package/dist/build/{p-33c84c28.entry.js.map → p-c3934d04.entry.js.map} +0 -0
- /package/dist/build/{p-90d8cf17.entry.js.map → p-c531f434.entry.js.map} +0 -0
- /package/dist/build/{p-9026c8b5.entry.js.map → p-c6a797cb.entry.js.map} +0 -0
- /package/dist/build/{p-65fdfe75.entry.js.map → p-cda09995.entry.js.map} +0 -0
- /package/dist/build/{p-b1afbc83.entry.js.map → p-cf791aae.entry.js.map} +0 -0
- /package/dist/build/{p-2a7f51ce.entry.js.map → p-d9dc7546.entry.js.map} +0 -0
- /package/dist/build/{p-8a0e50c1.entry.js.map → p-e320460e.entry.js.map} +0 -0
- /package/dist/build/{p-4ea184f4.entry.js.map → p-e7644591.entry.js.map} +0 -0
- /package/dist/build/{p-b7308da5.entry.js.map → p-f8d93f7f.entry.js.map} +0 -0
- /package/dist/build/{p-4a836eeb.entry.js.map → p-fd25d6b4.entry.js.map} +0 -0
- /package/dist/paperless/{p-c1071220.entry.js.map → p-07341d05.entry.js.map} +0 -0
- /package/dist/paperless/{p-a5c294f3.entry.js.map → p-08d7b8fd.entry.js.map} +0 -0
- /package/dist/paperless/{p-691848af.entry.js.map → p-0a69360c.entry.js.map} +0 -0
- /package/dist/paperless/{p-ae860e97.entry.js.map → p-0b7c7c60.entry.js.map} +0 -0
- /package/dist/paperless/{p-ea3b1122.entry.js.map → p-25dca54e.entry.js.map} +0 -0
- /package/dist/paperless/{p-9c504fd7.entry.js.map → p-2627c2d8.entry.js.map} +0 -0
- /package/dist/paperless/{p-2da8868f.entry.js.map → p-2d5df355.entry.js.map} +0 -0
- /package/dist/paperless/{p-a89e2da7.entry.js.map → p-316270ed.entry.js.map} +0 -0
- /package/dist/paperless/{p-fbb10dd2.entry.js.map → p-502fd3a3.entry.js.map} +0 -0
- /package/dist/paperless/{p-3a763793.entry.js.map → p-51ed483f.entry.js.map} +0 -0
- /package/dist/paperless/{p-c6b6872f.entry.js.map → p-5b5e235d.entry.js.map} +0 -0
- /package/dist/paperless/{p-a6d33f42.entry.js.map → p-6b191cc2.entry.js.map} +0 -0
- /package/dist/paperless/{p-9d810878.entry.js.map → p-73d45196.entry.js.map} +0 -0
- /package/dist/paperless/{p-7bf73fad.entry.js.map → p-75f29494.entry.js.map} +0 -0
- /package/dist/paperless/{p-60d65dee.entry.js.map → p-76ef8d77.entry.js.map} +0 -0
- /package/dist/paperless/{p-a1bb0d3f.entry.js.map → p-869eef85.entry.js.map} +0 -0
- /package/dist/paperless/{p-6523c93f.entry.js.map → p-93ff5e8a.entry.js.map} +0 -0
- /package/dist/paperless/{p-00c5e98b.entry.js.map → p-a4181f4e.entry.js.map} +0 -0
- /package/dist/paperless/{p-09d68fa3.entry.js.map → p-ba9e371e.entry.js.map} +0 -0
- /package/dist/paperless/{p-fd9774f5.entry.js.map → p-bbed14ec.entry.js.map} +0 -0
- /package/dist/paperless/{p-33c84c28.entry.js.map → p-c3934d04.entry.js.map} +0 -0
- /package/dist/paperless/{p-90d8cf17.entry.js.map → p-c531f434.entry.js.map} +0 -0
- /package/dist/paperless/{p-9026c8b5.entry.js.map → p-c6a797cb.entry.js.map} +0 -0
- /package/dist/paperless/{p-65fdfe75.entry.js.map → p-cda09995.entry.js.map} +0 -0
- /package/dist/paperless/{p-b1afbc83.entry.js.map → p-cf791aae.entry.js.map} +0 -0
- /package/dist/paperless/{p-2a7f51ce.entry.js.map → p-d9dc7546.entry.js.map} +0 -0
- /package/dist/paperless/{p-8a0e50c1.entry.js.map → p-e320460e.entry.js.map} +0 -0
- /package/dist/paperless/{p-4ea184f4.entry.js.map → p-e7644591.entry.js.map} +0 -0
- /package/dist/paperless/{p-b7308da5.entry.js.map → p-f8d93f7f.entry.js.map} +0 -0
- /package/dist/paperless/{p-4a836eeb.entry.js.map → p-fd25d6b4.entry.js.map} +0 -0
- /package/dist/types/components/{deprecated/atoms → atoms}/toast-container/toast-container.component.d.ts +0 -0
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-Ca4wFbmt.js');
|
|
4
|
+
var index$1 = require('./index-mudu9vpz.js');
|
|
5
|
+
require('./clsx-BtxeOLZW.js');
|
|
4
6
|
|
|
5
|
-
const toastComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.border-l-4{border-left-width:4px!important}.border-solid{border-style:solid!important}.border-l-negative{--tw-border-opacity:1!important;border-left-color:rgb(185 30 40/var(--tw-border-opacity,1))!important}.border-l-positive{--tw-border-opacity:1!important;border-left-color:rgb(40 209 124/var(--tw-border-opacity,1))!important}.border-l-unbiased{--tw-border-opacity:1!important;border-left-color:rgb(255 199 45/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.shadow-3{--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)
|
|
7
|
+
const toastComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:.5rem!important}.border-l-4{border-left-width:4px!important}.border-solid{border-style:solid!important}.border-l-negative{--tw-border-opacity:1!important;border-left-color:rgb(185 30 40/var(--tw-border-opacity,1))!important}.border-l-positive{--tw-border-opacity:1!important;border-left-color:rgb(40 209 124/var(--tw-border-opacity,1))!important}.border-l-unbiased{--tw-border-opacity:1!important;border-left-color:rgb(255 199 45/var(--tw-border-opacity,1))!important}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.shadow-3{--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color);background-color:rgb(0 72 64/var(--tw-bg-opacity,1));border-radius:.5rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;gap:.5rem;padding:.5rem}.static{position:static!important}.m-0{margin:0!important}.h-9{height:2.25rem!important}.w-\\[2px\\]{width:2px!important}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)!important}.min-w-0{min-width:0!important}.flex-shrink-0{flex-shrink:0!important}.flex-col{flex-direction:column!important}.gap-2{gap:.5rem!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.bg-amber-500{--tw-bg-opacity:1!important;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))!important}.bg-negative-red-500{--tw-bg-opacity:1!important;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))!important}.bg-positive-green-500{--tw-bg-opacity:1!important;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-800{--tw-bg-opacity:1!important;background-color:rgb(189 140 255/var(--tw-bg-opacity,1))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-dark-teal-200{--tw-text-opacity:1!important;color:rgb(153 185 182/var(--tw-text-opacity,1))!important}.text-white-500{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";
|
|
6
8
|
|
|
9
|
+
const indicator = index$1.cva('w-[2px] rounded-full h-9 flex-shrink-0', {
|
|
10
|
+
variants: {
|
|
11
|
+
variant: {
|
|
12
|
+
neutral: 'bg-supportive-lilac-800',
|
|
13
|
+
positive: 'bg-positive-green-500',
|
|
14
|
+
biased: 'bg-amber-500',
|
|
15
|
+
negative: 'bg-negative-red-500',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
const content = index$1.cva([
|
|
20
|
+
'flex justify-between items-center gap-2',
|
|
21
|
+
'w-[calc(100%-2px-0.5rem)]',
|
|
22
|
+
]);
|
|
7
23
|
const Toast = class {
|
|
8
24
|
constructor(hostRef) {
|
|
9
25
|
index.registerInstance(this, hostRef);
|
|
@@ -42,7 +58,7 @@ const Toast = class {
|
|
|
42
58
|
*/
|
|
43
59
|
action;
|
|
44
60
|
render() {
|
|
45
|
-
return (index.h(index.Host, { key: '
|
|
61
|
+
return (index.h(index.Host, { key: '48a0447dbfc13696bb3a4eff6558f7f11ddaa081', onClick: () => this._onClick() }, index.h("div", { key: 'f6800b7f2a5d22022785e2b6934a75205e3330b5', class: indicator({ variant: this.variant }) }), index.h("div", { key: 'a6bbd501f5b139c03cd5df42b6159b20e1e8c7d5', class: content() }, index.h("div", { key: '706a0c86de41e0bec79b4e4166cd39e1f7d5da25', class: 'flex w-full min-w-0 flex-col' }, index.h("p", { key: '50b648bd2110065729718bd4ec6de7f1483f2342', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-white-500' }, this.header?.length ? this.header : index.h("slot", { name: 'header' })), index.h("p", { key: '6e8a19b86eeefd4c99e5c9103a2a5aea48cc70f8', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-dark-teal-200' }, this.content?.length ? this.content : index.h("slot", { name: 'content' }))), this.enableAction && (index.h("p-button", { key: '15b14086fa9fe4ca4b9c196388d4fdd6a53a0597', variant: 'transparent', iconOnly: true, icon: this.actionIcon, iconFlip: this.actionIconFlip, iconRotate: this.actionIconRotate, class: 'flex-shrink-0' })))));
|
|
46
62
|
}
|
|
47
63
|
_onClick() {
|
|
48
64
|
if (this.enableAction) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-toast.entry.cjs.js","mappings":"
|
|
1
|
+
{"file":"p-toast.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,2iGAA2iG;;ACKrkG,MAAM,SAAS,GAAGA,WAAG,CAAC,wCAAwC,EAAE;AAC/D,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,OAAO,EAAE,yBAAyB;AAClC,YAAA,QAAQ,EAAE,uBAAuB;AACjC,YAAA,MAAM,EAAE,cAAc;AACtB,YAAA,QAAQ,EAAE,qBAAqB;AAC/B,SAAA;AACD,KAAA;AACD,CAAA,CAAC;AAEF,MAAM,OAAO,GAAGA,WAAG,CAAC;IACnB,yCAAyC;IACzC,2BAA2B;AAC3B,CAAA,CAAC;MAOW,KAAK,GAAA,MAAA;;;;;AACjB;;AAEG;IACK,OAAO,G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,aAAa,EACrB,QAAQ,QACR,IAAI,EAAE,IAAI,CAAC,UAAU,EACrB,QAAQ,EAAE,IAAI,CAAC,cAAc,EAC7B,UAAU,EAAE,IAAI,CAAC,gBAAgB,EACjC,KAAK,EAAC,eAAe,EAAA,CACpB,CACF,CACI,CACA;;IAID,QAAQ,GAAA;AACf,QAAA,IAAI,IAAI,CAAC,YAAY,EAAE;AACtB,YAAA,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE;;;;;;;;","names":["cva","h","Host"],"sources":["src/components/molecules/toast/toast.component.css?tag=p-toast&encapsulation=shadow","src/components/molecules/toast/toast.component.tsx"],"sourcesContent":[":host {\n\t@apply flex gap-2;\n\t@apply rounded-lg p-2;\n\t@apply bg-dark-teal-600 shadow-3;\n}\n\n/* :host { */\n/* \t@apply flex justify-between items-center gap-2; */\n/* \t@apply w-full p-4 pl-5; */\n/* \t@apply bg-white rounded box-border; */\n/* \t@apply shadow-3 #{!important}; */\n/* \t@apply border-l-4 border-solid #{!important}; */\n/**/\n/* \tp { */\n/* \t\t@apply m-0; */\n/* \t\t@apply overflow-hidden text-ellipsis whitespace-nowrap; */\n/* \t} */\n/* } */\n/**/\n/* :host(.variant-positive) { */\n/* \t@apply border-l-positive #{!important}; */\n/* } */\n/**/\n/* :host(.variant-unbiased) { */\n/* \t@apply border-l-unbiased #{!important}; */\n/* } */\n/**/\n/* :host(.variant-negative) { */\n/* \t@apply border-l-negative #{!important}; */\n/* } */\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../types';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\nimport { cva } from 'class-variance-authority';\n\nconst indicator = cva('w-[2px] rounded-full h-9 flex-shrink-0', {\n\tvariants: {\n\t\tvariant: {\n\t\t\tneutral: 'bg-supportive-lilac-800',\n\t\t\tpositive: 'bg-positive-green-500',\n\t\t\tbiased: 'bg-amber-500',\n\t\t\tnegative: 'bg-negative-red-500',\n\t\t},\n\t},\n});\n\nconst content = cva([\n\t'flex justify-between items-center gap-2',\n\t'w-[calc(100%-2px-0.5rem)]',\n]);\n\n@Component({\n\ttag: 'p-toast',\n\tstyleUrl: 'toast.component.css',\n\tshadow: true,\n})\nexport class Toast {\n\t/**\n\t * The variant of the toast\n\t */\n\t@Prop() variant: 'neutral' | 'positive' | 'biased' | 'negative' = 'positive';\n\n\t/**\n\t * The header of the toast\n\t */\n\t@Prop() header?: string;\n\n\t/**\n\t * The content of the toast\n\t */\n\t@Prop() content?: string;\n\n\t/**\n\t * Wether to enable the close button\n\t */\n\t@Prop() enableAction: boolean = true;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() actionIcon: IconVariant = 'negative';\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() actionIconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() actionIconRotate: RotateOptions;\n\n\t/**\n\t * Button click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\taction: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host onClick={() => this._onClick()}>\n\t\t\t\t<div class={indicator({ variant: this.variant })} />\n\t\t\t\t<div class={content()}>\n\t\t\t\t\t<div class='flex w-full min-w-0 flex-col'>\n\t\t\t\t\t\t<p class='m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-white-500'>\n\t\t\t\t\t\t\t{this.header?.length ? this.header : <slot name='header' />}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p class='m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-dark-teal-200'>\n\t\t\t\t\t\t\t{this.content?.length ? this.content : <slot name='content' />}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{this.enableAction && (\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant='transparent'\n\t\t\t\t\t\t\ticonOnly\n\t\t\t\t\t\t\ticon={this.actionIcon}\n\t\t\t\t\t\t\ticonFlip={this.actionIconFlip}\n\t\t\t\t\t\t\ticonRotate={this.actionIconRotate}\n\t\t\t\t\t\t\tclass='flex-shrink-0'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onClick() {\n\t\tif (this.enableAction) {\n\t\t\tthis.action.emit();\n\t\t}\n\t}\n}\n"],"version":3}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-toast.entry.cjs.js","sources":["src/components/
|
|
1
|
+
{"version":3,"file":"p-toast.entry.cjs.js","sources":["src/components/molecules/toast/toast.component.css?tag=p-toast&encapsulation=shadow","src/components/molecules/toast/toast.component.tsx"],"sourcesContent":[":host {\n\t@apply flex gap-2;\n\t@apply rounded-lg p-2;\n\t@apply bg-dark-teal-600 shadow-3;\n}\n\n/* :host { */\n/* \t@apply flex justify-between items-center gap-2; */\n/* \t@apply w-full p-4 pl-5; */\n/* \t@apply bg-white rounded box-border; */\n/* \t@apply shadow-3 #{!important}; */\n/* \t@apply border-l-4 border-solid #{!important}; */\n/**/\n/* \tp { */\n/* \t\t@apply m-0; */\n/* \t\t@apply overflow-hidden text-ellipsis whitespace-nowrap; */\n/* \t} */\n/* } */\n/**/\n/* :host(.variant-positive) { */\n/* \t@apply border-l-positive #{!important}; */\n/* } */\n/**/\n/* :host(.variant-unbiased) { */\n/* \t@apply border-l-unbiased #{!important}; */\n/* } */\n/**/\n/* :host(.variant-negative) { */\n/* \t@apply border-l-negative #{!important}; */\n/* } */\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../types';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\nimport { cva } from 'class-variance-authority';\n\nconst indicator = cva('w-[2px] rounded-full h-9 flex-shrink-0', {\n\tvariants: {\n\t\tvariant: {\n\t\t\tneutral: 'bg-supportive-lilac-800',\n\t\t\tpositive: 'bg-positive-green-500',\n\t\t\tbiased: 'bg-amber-500',\n\t\t\tnegative: 'bg-negative-red-500',\n\t\t},\n\t},\n});\n\nconst content = cva([\n\t'flex justify-between items-center gap-2',\n\t'w-[calc(100%-2px-0.5rem)]',\n]);\n\n@Component({\n\ttag: 'p-toast',\n\tstyleUrl: 'toast.component.css',\n\tshadow: true,\n})\nexport class Toast {\n\t/**\n\t * The variant of the toast\n\t */\n\t@Prop() variant: 'neutral' | 'positive' | 'biased' | 'negative' = 'positive';\n\n\t/**\n\t * The header of the toast\n\t */\n\t@Prop() header?: string;\n\n\t/**\n\t * The content of the toast\n\t */\n\t@Prop() content?: string;\n\n\t/**\n\t * Wether to enable the close button\n\t */\n\t@Prop() enableAction: boolean = true;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() actionIcon: IconVariant = 'negative';\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() actionIconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() actionIconRotate: RotateOptions;\n\n\t/**\n\t * Button click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\taction: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host onClick={() => this._onClick()}>\n\t\t\t\t<div class={indicator({ variant: this.variant })} />\n\t\t\t\t<div class={content()}>\n\t\t\t\t\t<div class='flex w-full min-w-0 flex-col'>\n\t\t\t\t\t\t<p class='m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-white-500'>\n\t\t\t\t\t\t\t{this.header?.length ? this.header : <slot name='header' />}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p class='m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-dark-teal-200'>\n\t\t\t\t\t\t\t{this.content?.length ? this.content : <slot name='content' />}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{this.enableAction && (\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant='transparent'\n\t\t\t\t\t\t\ticonOnly\n\t\t\t\t\t\t\ticon={this.actionIcon}\n\t\t\t\t\t\t\ticonFlip={this.actionIconFlip}\n\t\t\t\t\t\t\ticonRotate={this.actionIconRotate}\n\t\t\t\t\t\t\tclass='flex-shrink-0'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onClick() {\n\t\tif (this.enableAction) {\n\t\t\tthis.action.emit();\n\t\t}\n\t}\n}\n"],"names":["cva","h","Host"],"mappings":";;;;;;AAAA,MAAM,iBAAiB,GAAG,2iGAA2iG;;ACKrkG,MAAM,SAAS,GAAGA,WAAG,CAAC,wCAAwC,EAAE;AAC/D,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,OAAO,EAAE,yBAAyB;AAClC,YAAA,QAAQ,EAAE,uBAAuB;AACjC,YAAA,MAAM,EAAE,cAAc;AACtB,YAAA,QAAQ,EAAE,qBAAqB;AAC/B,SAAA;AACD,KAAA;AACD,CAAA,CAAC;AAEF,MAAM,OAAO,GAAGA,WAAG,CAAC;IACnB,yCAAyC;IACzC,2BAA2B;AAC3B,CAAA,CAAC;MAOW,KAAK,GAAA,MAAA;;;;;AACjB;;AAEG;IACK,OAAO,GAAmD,UAAU;AAE5E;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,OAAO;AAEf;;AAEG;IACK,YAAY,GAAY,IAAI;AAEpC;;AAEG;IACK,UAAU,GAAgB,UAAU;AAE5C;;AAEG;AACK,IAAA,cAAc;AAEtB;;AAEG;AACK,IAAA,gBAAgB;AAExB;;AAEG;AAIH,IAAA,MAAM;IAEN,MAAM,GAAA;QACL,QACCC,OAAA,CAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,QAAQ,EAAE,EAAA,EACnCD,OAAA,CAAA,KAAA,EAAA,EAAA,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
92
|
-
return (index.h(index.Host, { key: '
|
|
92
|
+
return (index.h(index.Host, { key: '03f996c30613e499b9b747a50381b3edee8bb9aa', class: 'p-checkbox' }, index.h("label", { key: '6fa5dc8016b30550db1151902bc9d096d60ac7ff', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, index.h("div", { key: 'e0dceca257638fcb7a8a12fc00ccce6cb663dc83', class: 'group relative flex flex-shrink-0 items-center' }, index.h("input", { key: 'ad47f39fe26efde679fb5b58a847b06f06bc39ca', class: checkbox({
|
|
93
93
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
94
|
-
}), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: asBoolean.asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), index.h("div", { key: '
|
|
94
|
+
}), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: asBoolean.asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), index.h("div", { key: '1ddf03add700642598f311d652c507bb1cf150f2', class: circle({
|
|
95
95
|
disabled: this.disabled,
|
|
96
|
-
}) })), index.h("slot", { key: '
|
|
96
|
+
}) })), index.h("slot", { key: '17f844b9ad7132e4c992079f7c702ec03652d227' }))));
|
|
97
97
|
}
|
|
98
98
|
_onChange(ev) {
|
|
99
99
|
if (asBoolean.asBoolean(this.disabled)) {
|
|
@@ -87,7 +87,7 @@ const floatingMenuContainerClass = index.cva(['sticky self-center'], {
|
|
|
87
87
|
false: 'my-4 bottom-0',
|
|
88
88
|
},
|
|
89
89
|
active: {
|
|
90
|
-
false: 'animate-floating-menu-container-out',
|
|
90
|
+
false: 'pointer-events-none animate-floating-menu-container-out',
|
|
91
91
|
true: 'animate-floating-menu-container-in',
|
|
92
92
|
},
|
|
93
93
|
shown: {
|
|
@@ -101,6 +101,6 @@ exports.floatingMenuContainerClass = floatingMenuContainerClass;
|
|
|
101
101
|
exports.getTableCellColumnClasses = getTableCellColumnClasses;
|
|
102
102
|
exports.getTableCellSizes = getTableCellSizes;
|
|
103
103
|
exports.isTableColumnSizesKey = isTableColumnSizesKey;
|
|
104
|
-
//# sourceMappingURL=table-helpers-
|
|
104
|
+
//# sourceMappingURL=table-helpers-B8s1ild-.js.map
|
|
105
105
|
|
|
106
|
-
//# sourceMappingURL=table-helpers-
|
|
106
|
+
//# sourceMappingURL=table-helpers-B8s1ild-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-helpers-
|
|
1
|
+
{"version":3,"file":"table-helpers-B8s1ild-.js","sources":["src/types/table.ts","src/utils/table-helpers.ts"],"sourcesContent":["export type QuickFilterTextFunction = () => string;\n\nexport interface QuickFilter {\n\tidentifier: string;\n\ttext: string | QuickFilterTextFunction;\n\tcount?: number;\n\tdefault?: boolean;\n}\n\nexport interface RowClickEvent {\n\titem: any;\n\tctrlDown: boolean;\n}\n\nexport interface TableDefinitionData {\n\tvalue: any;\n\titem: any;\n\tindex: number;\n\trowIndex: number;\n}\n\nexport type TableDefinitionTemplateFunc = (data: TableDefinitionData) => any;\n\nexport interface TableColumnSizes {\n\tdefault: number | 'hidden' | 'full';\n\ttablet?: number | 'hidden' | 'full';\n\t'desktop-xs'?: number | 'hidden' | 'full';\n\t'desktop-sm'?: number | 'hidden' | 'full';\n\tdesktop?: number | 'hidden' | 'full';\n\t'desktop-lg'?: number | 'hidden' | 'full';\n\t'desktop-xl'?: number | 'hidden' | 'full';\n}\n\nexport type TableColumnSizesKey =\n\t| 'default'\n\t| 'tablet'\n\t| 'desktop-xs'\n\t| 'desktop-sm'\n\t| 'desktop'\n\t| 'desktop-lg'\n\t| 'desktop-xl';\n\nexport function isTableColumnSizesKey(\n\tx: TableColumnSizes,\n\tk: PropertyKey\n): k is keyof TableColumnSizes {\n\treturn k in x;\n}\n","import { cva } from 'class-variance-authority';\nimport { TableColumn } from '../components/helpers/table/column/table-column.component';\nimport {\n\tisTableColumnSizesKey,\n\tTableColumnSizes,\n\tTableColumnSizesKey,\n} from '../types';\n\nexport const getTableCellColumnClasses = (\n\tdefinition: any | TableColumn,\n\tvariant: 'default' | 'header' | 'loading'\n) => {\n\tconst sizes = definition ? getTableCellSizes(definition, variant) : {};\n\n\treturn {\n\t\tflex: true,\n\t\t'items-center': true,\n\t\t'gap-4': true,\n\t\t'justify-start': !definition?.align || definition?.align === 'start',\n\t\t'justify-center': definition?.align === 'center',\n\t\t'justify-end': definition?.align === 'end',\n\t\t'font-semibold': variant !== 'header' && definition?.type === 'th',\n\t\t'text-storm-dark': variant !== 'header' && definition?.type === 'th',\n\t\t...sizes,\n\t};\n};\n\nexport const getTableCellSizes = (\n\t{\n\t\tsizes,\n\t}: {\n\t\tsizes: 'auto' | 'hidden' | 'full' | number | TableColumnSizes;\n\t} /* Table Definition */,\n\tvariant: 'default' | 'header' | 'loading' | 'actions'\n) => {\n\tif (sizes === 'auto' || !sizes) {\n\t\treturn {\n\t\t\t'w-auto': true,\n\t\t};\n\t}\n\n\tif (sizes === 'hidden') {\n\t\treturn {\n\t\t\thidden: true,\n\t\t};\n\t}\n\n\tif (typeof sizes === 'object') {\n\t\tsizes = sizes as TableColumnSizes;\n\t\tconst classes: any = {};\n\t\tlet previousSize: TableColumnSizesKey | undefined;\n\n\t\tfor (let size in sizes) {\n\t\t\tif (!isTableColumnSizesKey(sizes, size)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (size === 'default') {\n\t\t\t\tif (sizes.default === 'hidden') {\n\t\t\t\t\tclasses['hidden'] = true;\n\t\t\t\t\tpreviousSize = size;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tclasses[`w-${sizes.default}/12`] = true;\n\t\t\t\tpreviousSize = size;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst currentValue = sizes[size];\n\t\t\tconst previousValue = previousSize ? sizes[previousSize] : null;\n\t\t\tif (\n\t\t\t\tcurrentValue !== 'hidden' &&\n\t\t\t\tpreviousValue &&\n\t\t\t\tpreviousValue === 'hidden' &&\n\t\t\t\tvariant !== 'actions'\n\t\t\t) {\n\t\t\t\tclasses[`${size}:flex`] = true;\n\t\t\t}\n\n\t\t\tif (currentValue === 'hidden' && variant !== 'actions') {\n\t\t\t\tclasses[`${size}:hidden`] = true;\n\t\t\t\tpreviousSize = size;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (currentValue === 12 || currentValue === 'full') {\n\t\t\t\tclasses[`${size}:w-full`] = true;\n\t\t\t}\n\n\t\t\tclasses[`${size}:w-${currentValue}/12`] = true;\n\t\t\tpreviousSize = size;\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tif (sizes === 12 || sizes === 'full') {\n\t\treturn {\n\t\t\t'w-full': true,\n\t\t};\n\t}\n\n\t// is a number.\n\treturn {\n\t\t[`w-${sizes}/12`]: true,\n\t};\n};\n\nexport const floatingMenuContainerClass = cva(['sticky self-center'], {\n\tvariants: {\n\t\thasFooter: {\n\t\t\ttrue: 'mt-4 -mb-5 bottom-11 z-[3]',\n\t\t\tfalse: 'my-4 bottom-0',\n\t\t},\n\t\tactive: {\n\t\t\tfalse: 'pointer-events-none animate-floating-menu-container-out',\n\t\t\ttrue: 'animate-floating-menu-container-in',\n\t\t},\n\t\tshown: {\n\t\t\tfalse: 'hidden',\n\t\t\ttrue: 'inline-block',\n\t\t},\n\t},\n});\n"],"names":["cva"],"mappings":";;;;AA0CgB,SAAA,qBAAqB,CACpC,CAAmB,EACnB,CAAc,EAAA;IAEd,OAAO,CAAC,IAAI,CAAC;AACd;;MCvCa,yBAAyB,GAAG,CACxC,UAA6B,EAC7B,OAAyC,KACtC;AACH,IAAA,MAAM,KAAK,GAAG,UAAU,GAAG,iBAAiB,CAAC,UAAU,EAAE,OAAO,CAAC,GAAG,EAAE;IAEtE,OAAO;AACN,QAAA,IAAI,EAAE,IAAI;AACV,QAAA,cAAc,EAAE,IAAI;AACpB,QAA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AACN,YAAA,KAAK,EAAE,QAAQ;AACf,YAAA,IAAI,EAAE,cAAc;AACpB,SAAA;AACD,KAAA;AACD,CAAA;;;;;;;"}
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"components/atoms/floating-menu/item/floating-menu-item.component.js",
|
|
27
27
|
"components/atoms/helper/helper.component.js",
|
|
28
28
|
"components/atoms/iban-icon/iban-icon.component.js",
|
|
29
|
+
"components/atoms/info-panel/info-panel.component.js",
|
|
29
30
|
"components/atoms/modal/body/modal-body.component.js",
|
|
30
31
|
"components/atoms/modal/container/modal-container.component.js",
|
|
31
32
|
"components/atoms/modal/footer/modal-footer.component.js",
|
|
@@ -40,20 +41,19 @@
|
|
|
40
41
|
"components/atoms/tab/item/tab-item.component.js",
|
|
41
42
|
"components/atoms/table/actions-container/table-container.component.js",
|
|
42
43
|
"components/atoms/table/container/table-row-actions-container.component.js",
|
|
44
|
+
"components/atoms/toast-container/toast-container.component.js",
|
|
43
45
|
"components/atoms/toggle/toggle.component.js",
|
|
44
46
|
"components/atoms/tooltip/tooltip.component.js",
|
|
45
47
|
"components/deprecated/atoms/counter/counter.component.js",
|
|
46
48
|
"components/deprecated/atoms/drawer/body/drawer-body.component.js",
|
|
47
49
|
"components/deprecated/atoms/drawer/container/drawer-container.component.js",
|
|
48
50
|
"components/deprecated/atoms/drawer/header/drawer-header.component.js",
|
|
49
|
-
"components/deprecated/atoms/info-panel/info-panel.component.js",
|
|
50
51
|
"components/deprecated/atoms/layout/layout.component.js",
|
|
51
52
|
"components/deprecated/atoms/loader/loader.component.js",
|
|
52
53
|
"components/deprecated/atoms/slider-indicator/slider-indicator.component.js",
|
|
53
54
|
"components/deprecated/atoms/status/status.component.js",
|
|
54
55
|
"components/deprecated/atoms/stepper/item/stepper-item.component.js",
|
|
55
56
|
"components/deprecated/atoms/stepper/line/stepper-line.component.js",
|
|
56
|
-
"components/deprecated/atoms/toast-container/toast-container.component.js",
|
|
57
57
|
"components/deprecated/molecules/accordion/accordion.component.js",
|
|
58
58
|
"components/deprecated/molecules/attachment/attachment.component.js",
|
|
59
59
|
"components/deprecated/molecules/content-slider/content-slider.component.js",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"components/deprecated/molecules/input/error/input-error.component.js",
|
|
62
62
|
"components/deprecated/molecules/input/group/input-group.component.js",
|
|
63
63
|
"components/deprecated/molecules/stepper/stepper.component.js",
|
|
64
|
-
"components/deprecated/molecules/toast/toast.component.js",
|
|
65
64
|
"components/deprecated/organisms/drawer/drawer.component.js",
|
|
66
65
|
"components/helpers/portal/portal.component.js",
|
|
67
66
|
"components/molecules/button-group/button-group.component.js",
|
|
@@ -80,6 +79,7 @@
|
|
|
80
79
|
"components/molecules/table/cell/table-cell.component.js",
|
|
81
80
|
"components/molecules/table/footer/table-footer.component.js",
|
|
82
81
|
"components/molecules/table/row/table-row.component.js",
|
|
82
|
+
"components/molecules/toast/toast.component.js",
|
|
83
83
|
"components/organisms/modal/modal.component.js",
|
|
84
84
|
"components/organisms/navbar/navbar.component.js"
|
|
85
85
|
],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.absolute{position:absolute!important}.relative{position:relative!important}.right-2{right:.5rem!important}.top-2{top:.5rem!important}.flex{display:flex!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.whitespace-pre-line{white-space:pre-line!important}.rounded-lg{border-radius:.5rem!important}.bg-indigo-light{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))!important}.font-semibold{font-weight:600!important}*{box-sizing:border-box}.static{position:static!important}.my-0{margin-bottom:0!important;margin-top:0!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-1{gap:.25rem!important}.bg-amber-50{--tw-bg-opacity:1!important;background-color:rgb(255 250 224/var(--tw-bg-opacity,1))!important}.bg-negative-red-100{--tw-bg-opacity:1!important;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))!important}.bg-positive-green-100{--tw-bg-opacity:1!important;background-color:rgb(213 251 199/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-200{--tw-bg-opacity:1!important;background-color:rgb(237 223 255/var(--tw-bg-opacity,1))!important}.bg-white-700{--tw-bg-opacity:1!important;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-amber-800{--tw-text-opacity:1!important;color:rgb(148 77 11/var(--tw-text-opacity,1))!important}.text-black-teal-800{--tw-text-opacity:1!important;color:rgb(0 2 2/var(--tw-text-opacity,1))!important}.text-black-teal-800\/60{color:rgba(0,2,2,.6)!important}.text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}.text-positive-green-800{--tw-text-opacity:1!important;color:rgb(47 100 7/var(--tw-text-opacity,1))!important}.text-supportive-lilac-900{--tw-text-opacity:1!important;color:rgb(80 9 179/var(--tw-text-opacity,1))!important}.hover\:bg-white-500\/40:hover{background-color:hsla(0,0%,100%,.4)!important}.hover\:text-black-teal-800\/60:hover{color:rgba(0,2,2,.6)!important}
|
package/dist/collection/components/{deprecated/atoms → atoms}/info-panel/info-panel.component.js
RENAMED
|
@@ -1,9 +1,39 @@
|
|
|
1
|
-
import { h,
|
|
1
|
+
import { h, } from "@stencil/core";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
const infopanel = cva(['flex flex-col gap-1', 'w-full px-4 py-3', 'rounded-lg relative'], {
|
|
4
|
+
variants: {
|
|
5
|
+
variant: {
|
|
6
|
+
neutral: 'bg-supportive-lilac-200',
|
|
7
|
+
positive: 'bg-positive-green-100',
|
|
8
|
+
biased: 'bg-amber-50',
|
|
9
|
+
negative: 'bg-negative-red-100',
|
|
10
|
+
unavailable: 'bg-white-700',
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
const header = cva('text-sm font-medium', {
|
|
15
|
+
variants: {
|
|
16
|
+
variant: {
|
|
17
|
+
neutral: 'text-supportive-lilac-900',
|
|
18
|
+
positive: 'text-positive-green-800',
|
|
19
|
+
biased: 'text-amber-800',
|
|
20
|
+
negative: 'text-negative-red-800',
|
|
21
|
+
unavailable: 'text-black-teal-800',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
const close = cva([
|
|
26
|
+
'absolute right-2 top-2',
|
|
27
|
+
'flex items-center justify-center',
|
|
28
|
+
'rounded-lg cursor-pointer',
|
|
29
|
+
'text-black-teal-800/60 hover:text-black-teal-800/60 hover:bg-white-500/40',
|
|
30
|
+
'h-6 w-6',
|
|
31
|
+
]);
|
|
2
32
|
export class InfoPanel {
|
|
3
33
|
/**
|
|
4
34
|
* The variant of the info panel
|
|
5
35
|
*/
|
|
6
|
-
variant = '
|
|
36
|
+
variant = 'neutral';
|
|
7
37
|
/**
|
|
8
38
|
* The header of the info panel
|
|
9
39
|
*/
|
|
@@ -25,7 +55,7 @@ export class InfoPanel {
|
|
|
25
55
|
*/
|
|
26
56
|
_el;
|
|
27
57
|
render() {
|
|
28
|
-
return (h(
|
|
58
|
+
return (h("div", { key: 'e5b1b5c58cebe5c16d7def8a2a6435937db2bca8', class: infopanel({ variant: this.variant }) }, h("div", { key: '88bf90eff4209df85d963ee318cbd7a0032e6353', class: header({ variant: this.variant }) }, this.header?.length ? (h("p", { class: 'my-0' }, this.header)) : (h("slot", { name: 'header' }))), h("div", { key: 'ec9cb874f007b96511f6f9046adf5b3732ccb150', class: 'text-sm text-black-teal-800/60' }, this.content?.length ? (h("p", { class: 'my-0' }, this.content)) : (h("slot", { name: 'content' }))), this.closeable && (h("div", { key: '8eb59dbec8b4759ce1e707910deba2620d82ab14', class: close(), onClick: () => this._close() }, h("p-icon", { key: 'd4a0efeefa805a6b2c791d55045684e1bf1baef2', variant: 'negative' })))));
|
|
29
59
|
}
|
|
30
60
|
_close() {
|
|
31
61
|
this.closed.emit();
|
|
@@ -35,7 +65,7 @@ export class InfoPanel {
|
|
|
35
65
|
static get encapsulation() { return "shadow"; }
|
|
36
66
|
static get originalStyleUrls() {
|
|
37
67
|
return {
|
|
38
|
-
"$": ["info-panel.component.
|
|
68
|
+
"$": ["info-panel.component.css"]
|
|
39
69
|
};
|
|
40
70
|
}
|
|
41
71
|
static get styleUrls() {
|
|
@@ -50,8 +80,8 @@ export class InfoPanel {
|
|
|
50
80
|
"attribute": "variant",
|
|
51
81
|
"mutable": false,
|
|
52
82
|
"complexType": {
|
|
53
|
-
"original": "'
|
|
54
|
-
"resolved": "\"
|
|
83
|
+
"original": "| 'neutral'\n\t\t| 'positive'\n\t\t| 'biased'\n\t\t| 'negative'\n\t\t| 'unavailable'",
|
|
84
|
+
"resolved": "\"biased\" | \"negative\" | \"neutral\" | \"positive\" | \"unavailable\"",
|
|
55
85
|
"references": {}
|
|
56
86
|
},
|
|
57
87
|
"required": false,
|
|
@@ -63,7 +93,7 @@ export class InfoPanel {
|
|
|
63
93
|
"getter": false,
|
|
64
94
|
"setter": false,
|
|
65
95
|
"reflect": false,
|
|
66
|
-
"defaultValue": "'
|
|
96
|
+
"defaultValue": "'neutral'"
|
|
67
97
|
},
|
|
68
98
|
"header": {
|
|
69
99
|
"type": "string",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-panel.component.js","sourceRoot":"","sources":["../../../../src/components/atoms/info-panel/info-panel.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,CAAC,EACD,IAAI,EACJ,KAAK,GAEL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,SAAS,GAAG,GAAG,CACpB,CAAC,qBAAqB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC,EAClE;IACC,QAAQ,EAAE;QACT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CAAC,CAAC,CAAC,CACvB,SAAG,KAAK,EAAC,MAAM,IAAE,IAAI,CAAC,OAAO,CAAK,CAClC,CAAC,CAAC,CAAC,CACH,YAAM,IAAI,EAAC,SAAS,GAAG,CACvB,CACI;YAEL,IAAI,CAAC,SAAS,IAAI,CAClB,4DACC,KAAK,EAAE,KAAK,EAAE,EACd,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE;gBAE5B,+DAAQ,OAAO,EAAC,UAAU,GAAG,CACxB,CACN,CACI,CACN,CAAC;IACH,CAAC;IAEO,MAAM;QACb,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACnB,IAAI,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC;IACnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tComponent,\n\tElement,\n\th,\n\tProp,\n\tEvent,\n\tEventEmitter,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst infopanel = cva(\n\t['flex flex-col gap-1', 'w-full px-4 py-3', 'rounded-lg relative'],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tneutral: 'bg-supportive-lilac-200',\n\t\t\t\tpositive: 'bg-positive-green-100',\n\t\t\t\tbiased: 'bg-amber-50',\n\t\t\t\tnegative: 'bg-negative-red-100',\n\t\t\t\tunavailable: 'bg-white-700',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst header = cva('text-sm font-medium', {\n\tvariants: {\n\t\tvariant: {\n\t\t\tneutral: 'text-supportive-lilac-900',\n\t\t\tpositive: 'text-positive-green-800',\n\t\t\tbiased: 'text-amber-800',\n\t\t\tnegative: 'text-negative-red-800',\n\t\t\tunavailable: 'text-black-teal-800',\n\t\t},\n\t},\n});\n\nconst close = cva([\n\t'absolute right-2 top-2',\n\t'flex items-center justify-center',\n\n\t'rounded-lg cursor-pointer',\n\t'text-black-teal-800/60 hover:text-black-teal-800/60 hover:bg-white-500/40',\n\n\t'h-6 w-6',\n]);\n\n@Component({\n\ttag: 'p-info-panel',\n\tstyleUrl: 'info-panel.component.css',\n\tshadow: true,\n})\nexport class InfoPanel {\n\t/**\n\t * The variant of the info panel\n\t */\n\t@Prop() variant:\n\t\t| 'neutral'\n\t\t| 'positive'\n\t\t| 'biased'\n\t\t| 'negative'\n\t\t| 'unavailable' = 'neutral';\n\n\t/**\n\t * The header of the info panel\n\t */\n\t@Prop() header: string;\n\n\t/**\n\t * The content of the info panel\n\t */\n\t@Prop() content: string;\n\n\t/**\n\t * Wether the panel can be closed\n\t */\n\t@Prop() closeable: boolean = false;\n\n\t/**\n\t * When the backdrop is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclosed: EventEmitter<void>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\trender() {\n\t\treturn (\n\t\t\t<div class={infopanel({ variant: this.variant })}>\n\t\t\t\t<div class={header({ variant: this.variant })}>\n\t\t\t\t\t{this.header?.length ? (\n\t\t\t\t\t\t<p class='my-0'>{this.header}</p>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<slot name='header' />\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t<div class='text-sm text-black-teal-800/60'>\n\t\t\t\t\t{this.content?.length ? (\n\t\t\t\t\t\t<p class='my-0'>{this.content}</p>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t<slot name='content' />\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t{this.closeable && (\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={close()}\n\t\t\t\t\t\tonClick={() => this._close()}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-icon variant='negative' />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _close() {\n\t\tthis.closed.emit();\n\t\tthis._el.remove();\n\t}\n}\n"]}
|
|
@@ -22,10 +22,10 @@ export class ModalBody {
|
|
|
22
22
|
*/
|
|
23
23
|
roundedTop = false;
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: '00e169e125fe84577a1c1788a97547a48bc6319e', class: body({
|
|
26
26
|
roundedBottom: this.roundedBottom,
|
|
27
27
|
roundedTop: this.roundedTop,
|
|
28
|
-
}) }, h("slot", { key: '
|
|
28
|
+
}) }, h("slot", { key: '4cafd18d5a56432d8570ff01937cf3a312845837' })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "p-modal-body"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,10 +31,10 @@ export class ModalContainer {
|
|
|
31
31
|
*/
|
|
32
32
|
closing = false;
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'b079f96f914485e5faafc28d4fcf6f599df40017', class: container({
|
|
35
35
|
size: this.size,
|
|
36
36
|
closing: asBoolean(this.closing),
|
|
37
|
-
}) }, h("slot", { key: '
|
|
37
|
+
}) }, h("slot", { key: 'de73a4416020ac67919f79f95dcde669a2a9a38c' })));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "p-modal-container"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ModalFooter {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: 'b26fbd0a806a1108a5f0a99fb3742e16583d21c7', class: 'flex flex-col rounded-b-none bg-white pb-4 desktop-xs:rounded-b-2xl' }, h("p-divider", { key: '5f81afb1d984b9bb344514a46d2213c389a39a84', class: 'mb-4 hidden desktop-xs:inline-block' }), h("div", { key: '8f116e088fc1903c3802857549991b58dca94a20', class: 'flex flex-col gap-4 px-4 tablet:flex-row' }, h("slot", { key: 'ae003d4eb05149d7ffbe16423dcf3c51d377a6a5' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-modal-footer"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,7 +20,7 @@ export class ModalHeader {
|
|
|
20
20
|
*/
|
|
21
21
|
close;
|
|
22
22
|
render() {
|
|
23
|
-
return (h("div", { key: '
|
|
23
|
+
return (h("div", { key: '4764db4317a8aeac99204e3b92d701c407d31224', class: header() }, h("div", { key: 'fc4bf7f7614f724618e85454f6184bffbd844a25', class: content() }, h("div", { key: 'c3f5a95b23c75deb933b5943abcaf673902e301b', class: title() }, h("slot", { key: '62be3362c33e518fcb537e92438a3a15a2ee63f4' })), this.showClose && (h("p-button", { key: '278520cb9dc418f667fe0b3a674ede618d511bcd', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: 'e2aee7fa8158671e33d0cfc6c9c402b543b10df8' })));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "p-modal-header"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class NavigationTitle {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'f715de789e2cce68cad7643c09b45f2bc731d74f', class: 'p-navigation-title text-xs font-medium text-black-teal-300' }, h("slot", { key: '0ce6c6de9eb53305bb74f68c9ccd8fea2a173a06' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-navigation-title"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js
CHANGED
|
@@ -77,12 +77,12 @@ export class PaginationPagesItem {
|
|
|
77
77
|
*/
|
|
78
78
|
disabled = false;
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: '3bc01024ca7b57b8c3a23a248bcdc6e0773a1ee4', class: item({
|
|
81
81
|
variant: this.variant,
|
|
82
82
|
active: this.active,
|
|
83
83
|
hover: this.hover,
|
|
84
84
|
disabled: this.disabled,
|
|
85
|
-
}) }, h("slot", { key: '
|
|
85
|
+
}) }, h("slot", { key: 'bddcd5a3e1b840ad5817672da820e0a4cb2d1e7f' })));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "p-pagination-pages-item"; }
|
|
88
88
|
static get originalStyleUrls() {
|
|
@@ -76,11 +76,11 @@ export class Radio {
|
|
|
76
76
|
checkedChange;
|
|
77
77
|
_nonce = nonce(5);
|
|
78
78
|
render() {
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '777154d1da535ef5178f1089e2b9342dbc131f14', class: 'p-radio' }, h("label", { key: '5cfb49b5f85c6ed0b7f9d739b329ddd0104fbb16', htmlFor: this.id?.length ? this.id : this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: 'd661355108efacee0145b1d8a1c8132e2439cafb', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '842074a3a5f22d9453b825e6c3f257ffb5e90540', class: radio({
|
|
80
80
|
disabled: asBoolean(this.disabled),
|
|
81
|
-
}), type: 'radio', id: this.id?.length ? this.id : this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
81
|
+
}), type: 'radio', id: this.id?.length ? this.id : this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '0c591aa34d34c8ba7c7348f8d5a0301eea47f9dd', class: circle({
|
|
82
82
|
disabled: asBoolean(this.disabled),
|
|
83
|
-
}) })), h("slot", { key: '
|
|
83
|
+
}) })), h("slot", { key: 'efb3137642b741575edd13cc87828bee17b2cd2f' }))));
|
|
84
84
|
}
|
|
85
85
|
_onChange(ev) {
|
|
86
86
|
if (asBoolean(this.disabled)) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SegmentContainer {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'fabf464a64ebc0f7d613f43c25b2b749e3008c9f', class: 'p-segment-container flex rounded-2xl border border-solid border-off-white-700 bg-off-white-300 p-1' }, h("slot", { key: '7444de85732e6f55c46bbc5a43d0e608606ec1e5' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-segment-container"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
@@ -49,11 +49,11 @@ export class SegmentItem {
|
|
|
49
49
|
iconRotate;
|
|
50
50
|
render() {
|
|
51
51
|
const descriptionSlot = this.variant === 'block' ? h("slot", { name: 'description' }) : null;
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: 'c368256e651e37d181e3d63515680eed7450a0c2', class: segmentItem({
|
|
53
53
|
variant: this.variant,
|
|
54
54
|
active: asBoolean(this.active),
|
|
55
55
|
iconOnly: asBoolean(this.iconOnly),
|
|
56
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
56
|
+
}) }, this.icon && (h("p-icon", { key: '0e3e7f71c5142729a2bcc338512ab85bfa5ddc86', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), this.variant === 'default' ? (h("slot", null)) : (h("div", { class: 'flex flex-col items-center gap-1' }, h("p", { class: 'font-semibold empty:hidden' }, h("slot", { name: 'title' })), descriptionSlot && h("p", { class: 'text-xs' }, descriptionSlot)))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "p-segment-item"; }
|
|
59
59
|
static get originalStyleUrls() {
|
|
@@ -15,7 +15,7 @@ export class Smile {
|
|
|
15
15
|
*/
|
|
16
16
|
variant = 'modal';
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'dd204fac740f45cd60cc3185a5b9f8e93817093d', class: smile({ variant: this.variant }) }, h("div", { key: 'c06af2a6dac00fc410d45026eb08c5e1f8971f16', class: 'absolute bottom-0 left-0 h-full w-full text-off-white-500', innerHTML: smileSvg })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "p-smile"; }
|
|
21
21
|
static get originalStyleUrls() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class TabContainer {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: 'a8882108a6853c2fdcb85982c83ca07b56ba508a', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: 'c27758f9bbae7de3a642f5d6c2f891e5f13d0e72', class: 'z-10 flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: 'c4ffcdb9f0a23b4ec694616b20e71609cb94fa7e' })), h("p-divider", { key: 'bdc35dcfc7c90f5c0f2a0a7f9e1a507aa0e8c448', class: 'absolute bottom-0 left-0 m-0 w-full' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-tab-container"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class TabItem {
|
|
|
18
18
|
*/
|
|
19
19
|
active = false;
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: 'a006ac05f12fd029e19b292150b9bac24bdb40de', class: item({ active: this.active }) }, h("slot", { key: '3494755fef6cf3b1965e777291da544d547cd89b' })));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "p-tab-item"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/atoms/table/actions-container/table-container.component.js
CHANGED
|
@@ -3,7 +3,7 @@ import { cva } from "class-variance-authority";
|
|
|
3
3
|
const container = cva('flex flex-col relative');
|
|
4
4
|
export class TableContainer {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(Host, { key: '
|
|
6
|
+
return (h(Host, { key: 'c551eb638e006ba3b0eff1cbc1208e2350c0b8b2', class: container() }, h("slot", { key: 'efc0f73ec57ce3deefe1b9fa57833686c9d07787' })));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "p-table-container"; }
|
|
9
9
|
static get originalStyleUrls() {
|
package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class TableRowActionsContainer {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
return (h("div", { key: '701a1e912c635adf829729438bf2592cae7f9925', class: 'flex before:w-4 before:bg-gradient-to-l before:from-off-white-200' }, h("div", { key: '1391a931a68be15f1401248100d1816c29d8f2c6', class: 'flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3' }, h("slot", { key: '08640edee139207c93b727bdd6cbd167f626845b' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-table-row-actions-container"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*{box-sizing:border-box}.static{position:static!important}.fixed{position:fixed!important}.bottom-\[calc\(env\(safe-area-inset-bottom\2c 0\)\+1rem\)\]{bottom:calc(env(safe-area-inset-bottom,0) + 1rem)!important}.left-\[calc\(env\(safe-area-inset-left\2c 0\)\+1rem\)\]{left:calc(env(safe-area-inset-left,0) + 1rem)!important}.right-\[calc\(env\(safe-area-inset-right\2c 0\)\+1rem\)\]{right:calc(env(safe-area-inset-right,0) + 1rem)!important}.top-\[calc\(env\(safe-area-inset-top\2c 0\)\+1rem\)\]{top:calc(env(safe-area-inset-top,0) + 1rem)!important}.z-\[600\]{z-index:600!important}.z-toast{z-index:700!important}.flex{display:flex!important}.max-w-\[calc\(100\%-\(env\(safe-area-inset-left\2c 0\)\+env\(safe-area-inset-right\2c 0\)\+2rem\)\)\]{max-width:calc(100% - env(safe-area-inset-left,0) - env(safe-area-inset-right,0) - 2rem)!important}.flex-col{flex-direction:column!important}.gap-4{gap:1rem!important}.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-\[26\.5rem\]{max-width:26.5rem!important}}
|