@paperless/core 2.0.1-beta.21 → 2.0.1-beta.22
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 +11 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/p-05ca30af.entry.js +2 -0
- package/dist/build/p-05ca30af.entry.js.map +1 -0
- package/dist/{paperless/p-cc3445fc.entry.js → build/p-0b883fbb.entry.js} +2 -2
- package/dist/build/{p-65d9a61f.entry.js → p-109a8a56.entry.js} +2 -2
- package/dist/{paperless/p-958f3c09.entry.js → build/p-11c446d6.entry.js} +2 -2
- package/dist/{paperless/p-c3ba61ac.entry.js → build/p-1fdda214.entry.js} +2 -2
- package/dist/build/{p-0bbd4d1c.entry.js → p-314d396f.entry.js} +2 -2
- package/dist/build/{p-14e63599.entry.js → p-35080e8e.entry.js} +2 -2
- package/dist/build/{p-d9fae6bd.entry.js → p-3fdd326e.entry.js} +2 -2
- package/dist/build/{p-d6ca5bce.entry.js → p-412a9f4d.entry.js} +2 -2
- package/dist/build/p-45b82020.entry.js +2 -0
- package/dist/{paperless/p-af468e9f.entry.js → build/p-4eeba18a.entry.js} +2 -2
- package/dist/build/{p-a5934232.entry.js → p-6bcae357.entry.js} +2 -2
- package/dist/{paperless/p-cfe6ec9a.entry.js → build/p-6cf35b72.entry.js} +2 -2
- package/dist/build/{p-ea577bae.entry.js → p-70d427af.entry.js} +2 -2
- package/dist/build/{p-1b5ec2b1.entry.js → p-7f3cad06.entry.js} +2 -2
- package/dist/build/p-859c4fb1.entry.js +2 -0
- package/dist/build/{p-46362798.entry.js → p-881a012e.entry.js} +2 -2
- package/dist/build/p-8c094336.entry.js +2 -0
- package/dist/build/p-8c094336.entry.js.map +1 -0
- package/dist/{paperless/p-d044f441.entry.js → build/p-8d165db5.entry.js} +2 -2
- package/dist/{paperless/p-214a2978.entry.js → build/p-955283d1.entry.js} +2 -2
- package/dist/build/p-955283d1.entry.js.map +1 -0
- package/dist/build/{p-f40f89a7.entry.js → p-99688230.entry.js} +2 -2
- package/dist/build/{p-d70b3539.entry.js → p-9f790bea.entry.js} +2 -2
- package/dist/build/{p-eec56c71.entry.js → p-a80dc54a.entry.js} +2 -2
- package/dist/{paperless/p-0413fcd0.entry.js → build/p-af175b74.entry.js} +2 -2
- package/dist/build/{p-3e393301.entry.js → p-b2b69ce0.entry.js} +2 -2
- package/dist/build/{p-1ed4a75e.entry.js → p-b708b7e3.entry.js} +2 -2
- package/dist/build/p-b868a720.js +2 -0
- package/dist/build/p-c1142e26.entry.js +2 -0
- package/dist/build/{p-a56474ea.entry.js → p-c18827fc.entry.js} +2 -2
- package/dist/build/{p-d9d8c17c.entry.js → p-c2825667.entry.js} +2 -2
- package/dist/{paperless/p-d8eb3b7b.entry.js → build/p-d19f3457.entry.js} +2 -2
- package/dist/{paperless/p-48efb6e4.entry.js → build/p-e9008b5f.entry.js} +2 -2
- package/dist/{paperless/p-fd53acd3.entry.js → build/p-eb6d1fed.entry.js} +2 -2
- package/dist/build/{p-2bd123f4.entry.js → p-f6fcedff.entry.js} +2 -2
- package/dist/build/{p-036bb6f4.entry.js → p-fb51eccd.entry.js} +2 -2
- package/dist/build/{p-3a428a06.entry.js → p-fe5637cc.entry.js} +2 -2
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/index-3f9bbc0c.js +8 -8
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.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 +67 -0
- package/dist/cjs/p-badge_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +4 -4
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-checkbox_3.cjs.entry.js +3 -3
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/p-field_3.cjs.entry.js +3 -3
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +6 -6
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
- package/dist/cjs/p-input-error.cjs.entry.js +1 -1
- package/dist/cjs/p-label.cjs.entry.js +64 -0
- package/dist/cjs/p-label.cjs.entry.js.map +1 -0
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- 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-page-size-select_3.cjs.entry.js +2 -2
- package/dist/cjs/p-portal_2.cjs.entry.js +5 -5
- package/dist/cjs/p-profile.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-slider-indicator.cjs.entry.js +1 -1
- package/dist/cjs/p-status.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
- 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-item/pagination-item.component.js +1 -1
- package/dist/collection/components/atoms/portal/portal.component.js +1 -1
- 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 +1 -1
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
- package/dist/collection/components/atoms/status/status.component.js +2 -2
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab-group/tab-group.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-container.component.js +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
- 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/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
- package/dist/collection/components/molecules/button/button.component.js +4 -4
- 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/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +3 -3
- package/dist/collection/components/molecules/field/field.component.js +3 -3
- package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
- package/dist/collection/components/molecules/label/label.component.css +1 -0
- package/dist/collection/components/{atoms → molecules}/label/label.component.js +49 -57
- package/dist/collection/components/molecules/label/label.component.js.map +1 -0
- 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/pagination.component.js +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/select/select.component.js +1 -1
- package/dist/collection/components/molecules/stepper/stepper.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 +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.js +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -1
- package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/tailwind/theme/colors.js +1 -1
- package/dist/collection/tailwind/theme/colors.js.map +1 -1
- package/dist/components/button.component.js +4 -4
- package/dist/components/calendar.component.js +1 -1
- package/dist/components/dropdown.component.js +3 -3
- package/dist/components/field.component.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-error.component.js +1 -1
- package/dist/components/modal-body.component.js +1 -1
- package/dist/components/modal-container.component.js +1 -1
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-header.component.js +1 -1
- package/dist/components/navigation-title.component.js +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +4 -4
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-label.js +83 -1
- package/dist/components/p-label.js.map +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +2 -2
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-radio.js +3 -3
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-status.js +2 -2
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-group.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table.js +29 -29
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +3 -3
- package/dist/components/pagination-item.component.js +1 -1
- package/dist/components/pagination.component.js +1 -1
- package/dist/components/portal.component.js +1 -1
- package/dist/components/segment-container.component.js +1 -1
- package/dist/components/segment-item.component.js +1 -1
- package/dist/components/slider-indicator.component.js +1 -1
- package/dist/components/stepper-line.component.js +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-container.component.js +1 -1
- package/dist/components/table-footer.component.js +1 -1
- package/dist/components/table-header.component.js +14 -14
- package/dist/components/table-header.component.js.map +1 -1
- package/dist/components/table-row.component.js +2 -2
- package/dist/components/tooltip.component.js +4 -4
- package/dist/esm/index-2ef94580.js +8 -8
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.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 +61 -0
- package/dist/esm/p-badge_3.entry.js.map +1 -0
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +4 -4
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_3.entry.js +3 -3
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +1 -1
- package/dist/esm/p-field_3.entry.js +3 -3
- package/dist/esm/p-floating-menu-container_8.entry.js +6 -6
- package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
- package/dist/esm/p-input-error.entry.js +1 -1
- package/dist/esm/p-label.entry.js +60 -0
- package/dist/esm/p-label.entry.js.map +1 -0
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +4 -4
- package/dist/esm/p-navbar.entry.js +1 -1
- 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-page-size-select_3.entry.js +2 -2
- package/dist/esm/p-portal_2.entry.js +5 -5
- package/dist/esm/p-profile.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-slider-indicator.entry.js +1 -1
- package/dist/esm/p-status.entry.js +2 -2
- package/dist/esm/p-stepper-item.entry.js +1 -1
- package/dist/esm/p-stepper-line.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-group.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/paperless/p-05ca30af.entry.js +2 -0
- package/dist/paperless/p-05ca30af.entry.js.map +1 -0
- package/dist/{build/p-cc3445fc.entry.js → paperless/p-0b883fbb.entry.js} +2 -2
- package/dist/paperless/{p-65d9a61f.entry.js → p-109a8a56.entry.js} +2 -2
- package/dist/{build/p-958f3c09.entry.js → paperless/p-11c446d6.entry.js} +2 -2
- package/dist/{build/p-c3ba61ac.entry.js → paperless/p-1fdda214.entry.js} +2 -2
- package/dist/paperless/{p-0bbd4d1c.entry.js → p-314d396f.entry.js} +2 -2
- package/dist/paperless/{p-14e63599.entry.js → p-35080e8e.entry.js} +2 -2
- package/dist/paperless/{p-d9fae6bd.entry.js → p-3fdd326e.entry.js} +2 -2
- package/dist/paperless/{p-d6ca5bce.entry.js → p-412a9f4d.entry.js} +2 -2
- package/dist/paperless/p-45b82020.entry.js +2 -0
- package/dist/{build/p-af468e9f.entry.js → paperless/p-4eeba18a.entry.js} +2 -2
- package/dist/paperless/{p-a5934232.entry.js → p-6bcae357.entry.js} +2 -2
- package/dist/{build/p-cfe6ec9a.entry.js → paperless/p-6cf35b72.entry.js} +2 -2
- package/dist/paperless/{p-ea577bae.entry.js → p-70d427af.entry.js} +2 -2
- package/dist/paperless/{p-1b5ec2b1.entry.js → p-7f3cad06.entry.js} +2 -2
- package/dist/paperless/p-859c4fb1.entry.js +2 -0
- package/dist/paperless/{p-46362798.entry.js → p-881a012e.entry.js} +2 -2
- package/dist/paperless/p-8c094336.entry.js +2 -0
- package/dist/paperless/p-8c094336.entry.js.map +1 -0
- package/dist/{build/p-d044f441.entry.js → paperless/p-8d165db5.entry.js} +2 -2
- package/dist/{build/p-214a2978.entry.js → paperless/p-955283d1.entry.js} +2 -2
- package/dist/paperless/p-955283d1.entry.js.map +1 -0
- package/dist/paperless/{p-f40f89a7.entry.js → p-99688230.entry.js} +2 -2
- package/dist/paperless/{p-d70b3539.entry.js → p-9f790bea.entry.js} +2 -2
- package/dist/paperless/{p-eec56c71.entry.js → p-a80dc54a.entry.js} +2 -2
- package/dist/{build/p-0413fcd0.entry.js → paperless/p-af175b74.entry.js} +2 -2
- package/dist/paperless/{p-3e393301.entry.js → p-b2b69ce0.entry.js} +2 -2
- package/dist/paperless/{p-1ed4a75e.entry.js → p-b708b7e3.entry.js} +2 -2
- package/dist/paperless/p-c1142e26.entry.js +2 -0
- package/dist/paperless/{p-a56474ea.entry.js → p-c18827fc.entry.js} +2 -2
- package/dist/paperless/{p-d9d8c17c.entry.js → p-c2825667.entry.js} +2 -2
- package/dist/{build/p-d8eb3b7b.entry.js → paperless/p-d19f3457.entry.js} +2 -2
- package/dist/{build/p-48efb6e4.entry.js → paperless/p-e9008b5f.entry.js} +2 -2
- package/dist/{build/p-fd53acd3.entry.js → paperless/p-eb6d1fed.entry.js} +2 -2
- package/dist/paperless/{p-2bd123f4.entry.js → p-f6fcedff.entry.js} +2 -2
- package/dist/paperless/{p-036bb6f4.entry.js → p-fb51eccd.entry.js} +2 -2
- package/dist/paperless/{p-3a428a06.entry.js → p-fe5637cc.entry.js} +2 -2
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/theme/colors.ts +1 -1
- package/dist/types/components/{atoms → molecules}/label/label.component.d.ts +4 -12
- package/dist/types/components.d.ts +12 -38
- package/hydrate/index.js +104 -76
- package/hydrate/index.mjs +104 -76
- package/package.json +1 -1
- package/dist/build/p-214a2978.entry.js.map +0 -1
- package/dist/build/p-50134fa1.entry.js +0 -2
- package/dist/build/p-50134fa1.entry.js.map +0 -1
- package/dist/build/p-6d8852ca.entry.js +0 -2
- package/dist/build/p-889eb696.js +0 -2
- package/dist/build/p-bf261165.entry.js +0 -2
- package/dist/build/p-c8e79e30.entry.js +0 -2
- package/dist/build/p-e15305dc.entry.js +0 -2
- package/dist/build/p-e15305dc.entry.js.map +0 -1
- package/dist/cjs/p-badge.cjs.entry.js +0 -22
- package/dist/cjs/p-badge.cjs.entry.js.map +0 -1
- package/dist/cjs/p-label_3.cjs.entry.js +0 -76
- package/dist/cjs/p-label_3.cjs.entry.js.map +0 -1
- package/dist/collection/components/atoms/label/label.component.css +0 -1
- package/dist/collection/components/atoms/label/label.component.js.map +0 -1
- package/dist/components/label.component.js +0 -57
- package/dist/components/label.component.js.map +0 -1
- package/dist/esm/p-badge.entry.js +0 -18
- package/dist/esm/p-badge.entry.js.map +0 -1
- package/dist/esm/p-label_3.entry.js +0 -70
- package/dist/esm/p-label_3.entry.js.map +0 -1
- package/dist/paperless/p-214a2978.entry.js.map +0 -1
- package/dist/paperless/p-50134fa1.entry.js +0 -2
- package/dist/paperless/p-50134fa1.entry.js.map +0 -1
- package/dist/paperless/p-6d8852ca.entry.js +0 -2
- package/dist/paperless/p-bf261165.entry.js +0 -2
- package/dist/paperless/p-c8e79e30.entry.js +0 -2
- package/dist/paperless/p-e15305dc.entry.js +0 -2
- package/dist/paperless/p-e15305dc.entry.js.map +0 -1
- /package/dist/build/{p-cc3445fc.entry.js.map → p-0b883fbb.entry.js.map} +0 -0
- /package/dist/build/{p-65d9a61f.entry.js.map → p-109a8a56.entry.js.map} +0 -0
- /package/dist/build/{p-958f3c09.entry.js.map → p-11c446d6.entry.js.map} +0 -0
- /package/dist/build/{p-c3ba61ac.entry.js.map → p-1fdda214.entry.js.map} +0 -0
- /package/dist/build/{p-0bbd4d1c.entry.js.map → p-314d396f.entry.js.map} +0 -0
- /package/dist/build/{p-14e63599.entry.js.map → p-35080e8e.entry.js.map} +0 -0
- /package/dist/build/{p-d9fae6bd.entry.js.map → p-3fdd326e.entry.js.map} +0 -0
- /package/dist/build/{p-d6ca5bce.entry.js.map → p-412a9f4d.entry.js.map} +0 -0
- /package/dist/build/{p-bf261165.entry.js.map → p-45b82020.entry.js.map} +0 -0
- /package/dist/build/{p-af468e9f.entry.js.map → p-4eeba18a.entry.js.map} +0 -0
- /package/dist/build/{p-a5934232.entry.js.map → p-6bcae357.entry.js.map} +0 -0
- /package/dist/build/{p-cfe6ec9a.entry.js.map → p-6cf35b72.entry.js.map} +0 -0
- /package/dist/build/{p-ea577bae.entry.js.map → p-70d427af.entry.js.map} +0 -0
- /package/dist/build/{p-1b5ec2b1.entry.js.map → p-7f3cad06.entry.js.map} +0 -0
- /package/dist/build/{p-6d8852ca.entry.js.map → p-859c4fb1.entry.js.map} +0 -0
- /package/dist/build/{p-46362798.entry.js.map → p-881a012e.entry.js.map} +0 -0
- /package/dist/build/{p-d044f441.entry.js.map → p-8d165db5.entry.js.map} +0 -0
- /package/dist/build/{p-f40f89a7.entry.js.map → p-99688230.entry.js.map} +0 -0
- /package/dist/build/{p-d70b3539.entry.js.map → p-9f790bea.entry.js.map} +0 -0
- /package/dist/build/{p-eec56c71.entry.js.map → p-a80dc54a.entry.js.map} +0 -0
- /package/dist/build/{p-0413fcd0.entry.js.map → p-af175b74.entry.js.map} +0 -0
- /package/dist/build/{p-3e393301.entry.js.map → p-b2b69ce0.entry.js.map} +0 -0
- /package/dist/build/{p-1ed4a75e.entry.js.map → p-b708b7e3.entry.js.map} +0 -0
- /package/dist/build/{p-c8e79e30.entry.js.map → p-c1142e26.entry.js.map} +0 -0
- /package/dist/build/{p-a56474ea.entry.js.map → p-c18827fc.entry.js.map} +0 -0
- /package/dist/build/{p-d9d8c17c.entry.js.map → p-c2825667.entry.js.map} +0 -0
- /package/dist/build/{p-d8eb3b7b.entry.js.map → p-d19f3457.entry.js.map} +0 -0
- /package/dist/build/{p-48efb6e4.entry.js.map → p-e9008b5f.entry.js.map} +0 -0
- /package/dist/build/{p-fd53acd3.entry.js.map → p-eb6d1fed.entry.js.map} +0 -0
- /package/dist/build/{p-2bd123f4.entry.js.map → p-f6fcedff.entry.js.map} +0 -0
- /package/dist/build/{p-036bb6f4.entry.js.map → p-fb51eccd.entry.js.map} +0 -0
- /package/dist/build/{p-3a428a06.entry.js.map → p-fe5637cc.entry.js.map} +0 -0
- /package/dist/paperless/{p-cc3445fc.entry.js.map → p-0b883fbb.entry.js.map} +0 -0
- /package/dist/paperless/{p-65d9a61f.entry.js.map → p-109a8a56.entry.js.map} +0 -0
- /package/dist/paperless/{p-958f3c09.entry.js.map → p-11c446d6.entry.js.map} +0 -0
- /package/dist/paperless/{p-c3ba61ac.entry.js.map → p-1fdda214.entry.js.map} +0 -0
- /package/dist/paperless/{p-0bbd4d1c.entry.js.map → p-314d396f.entry.js.map} +0 -0
- /package/dist/paperless/{p-14e63599.entry.js.map → p-35080e8e.entry.js.map} +0 -0
- /package/dist/paperless/{p-d9fae6bd.entry.js.map → p-3fdd326e.entry.js.map} +0 -0
- /package/dist/paperless/{p-d6ca5bce.entry.js.map → p-412a9f4d.entry.js.map} +0 -0
- /package/dist/paperless/{p-bf261165.entry.js.map → p-45b82020.entry.js.map} +0 -0
- /package/dist/paperless/{p-af468e9f.entry.js.map → p-4eeba18a.entry.js.map} +0 -0
- /package/dist/paperless/{p-a5934232.entry.js.map → p-6bcae357.entry.js.map} +0 -0
- /package/dist/paperless/{p-cfe6ec9a.entry.js.map → p-6cf35b72.entry.js.map} +0 -0
- /package/dist/paperless/{p-ea577bae.entry.js.map → p-70d427af.entry.js.map} +0 -0
- /package/dist/paperless/{p-1b5ec2b1.entry.js.map → p-7f3cad06.entry.js.map} +0 -0
- /package/dist/paperless/{p-6d8852ca.entry.js.map → p-859c4fb1.entry.js.map} +0 -0
- /package/dist/paperless/{p-46362798.entry.js.map → p-881a012e.entry.js.map} +0 -0
- /package/dist/paperless/{p-d044f441.entry.js.map → p-8d165db5.entry.js.map} +0 -0
- /package/dist/paperless/{p-f40f89a7.entry.js.map → p-99688230.entry.js.map} +0 -0
- /package/dist/paperless/{p-d70b3539.entry.js.map → p-9f790bea.entry.js.map} +0 -0
- /package/dist/paperless/{p-eec56c71.entry.js.map → p-a80dc54a.entry.js.map} +0 -0
- /package/dist/paperless/{p-0413fcd0.entry.js.map → p-af175b74.entry.js.map} +0 -0
- /package/dist/paperless/{p-3e393301.entry.js.map → p-b2b69ce0.entry.js.map} +0 -0
- /package/dist/paperless/{p-1ed4a75e.entry.js.map → p-b708b7e3.entry.js.map} +0 -0
- /package/dist/paperless/{p-c8e79e30.entry.js.map → p-c1142e26.entry.js.map} +0 -0
- /package/dist/paperless/{p-a56474ea.entry.js.map → p-c18827fc.entry.js.map} +0 -0
- /package/dist/paperless/{p-d9d8c17c.entry.js.map → p-c2825667.entry.js.map} +0 -0
- /package/dist/paperless/{p-d8eb3b7b.entry.js.map → p-d19f3457.entry.js.map} +0 -0
- /package/dist/paperless/{p-48efb6e4.entry.js.map → p-e9008b5f.entry.js.map} +0 -0
- /package/dist/paperless/{p-fd53acd3.entry.js.map → p-eb6d1fed.entry.js.map} +0 -0
- /package/dist/paperless/{p-2bd123f4.entry.js.map → p-f6fcedff.entry.js.map} +0 -0
- /package/dist/paperless/{p-036bb6f4.entry.js.map → p-fb51eccd.entry.js.map} +0 -0
- /package/dist/paperless/{p-3a428a06.entry.js.map → p-fe5637cc.entry.js.map} +0 -0
|
@@ -66,13 +66,13 @@ export class Radio {
|
|
|
66
66
|
*/
|
|
67
67
|
checkedChange;
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'ef48217704ef103668234d8b3b8da720b58d90ee', class: 'p-radio' }, h("label", { key: '29176e1a1f018a252f1c990d8ed02ab67b97297c', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: '785cfc9c4f61069a37efd36f39ed948eb08ffea0', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '8ef43efad2ebd27ea62dbd3254279901b7dc2504', class: radio({
|
|
70
70
|
size: this.size,
|
|
71
71
|
disabled: this.disabled,
|
|
72
|
-
}), type: 'radio', id: this.id ?? this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
72
|
+
}), type: 'radio', id: this.id ?? this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: 'fe41351c563e10018dfe02235faa98c1e883f153', class: circle({
|
|
73
73
|
size: this.size,
|
|
74
74
|
disabled: this.disabled,
|
|
75
|
-
}) })), h("slot", { key: '
|
|
75
|
+
}) })), h("slot", { key: '9821b79310a24b03420be123009471ec4e99fefe' }))));
|
|
76
76
|
}
|
|
77
77
|
_onChange(ev) {
|
|
78
78
|
if (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: 'a126f83ab98eedf6bf4bfcc894418ac2927fb1ec', class: "p-segment-container" }, h("slot", { key: '8fdb90a932a5d12e91c283cadf05aa8260a0664f' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-segment-container"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
@@ -17,7 +17,7 @@ export class SegmentItem {
|
|
|
17
17
|
this._hasDescriptionSlot = !!this._el.querySelector(':scope > [slot="description"]');
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '1883a31af0f6e08cab2fbc21595405b7bea4c7b1', class: `p-segment-item variant-${this.iconOnly ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon && this._getIcon(), h("slot", { key: '2928aea3c142a89847851e9bae1d8e7c4dc80881' }), this.size === 'big' && this._hasDescriptionSlot && (h("span", { key: '5f579cb91b1961876a22a58f12c4e2e80a362d7e', class: "description" }, h("slot", { key: 'd7faac99c72f5965904079d9724a198511afcd2a', name: "description" })))));
|
|
21
21
|
}
|
|
22
22
|
_getIcon() {
|
|
23
23
|
if (!this.icon) {
|
|
@@ -4,7 +4,7 @@ export class SliderIndicator {
|
|
|
4
4
|
this.active = false;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '8023e6a85ee66918d86ab48398bf086129e04f9d', class: `p-slider-indicator ${this.active && 'active'}` }));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "p-slider-indicator"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,8 +7,8 @@ export class Status {
|
|
|
7
7
|
this.iconRotate = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
11
|
-
}` }, this._getIcon(), h("slot", { key: '
|
|
10
|
+
return (h(Host, { key: '9b538283ce0517c77e00bd51a9d683b24bb3d70c', class: `p-status variant-${this.variant}
|
|
11
|
+
}` }, this._getIcon(), h("slot", { key: 'fdadde949efb67b1f45314cb72ec048c437c1939' })));
|
|
12
12
|
}
|
|
13
13
|
_getIcon() {
|
|
14
14
|
const icon = this.icon || this._getVariantIcon();
|
|
@@ -8,7 +8,7 @@ export class StepperItem {
|
|
|
8
8
|
this.active = false;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'fdb8be45614926e6e49e020f37b2220b57fc4c4a', class: "p-stepper-item" }, h("div", { key: 'f6a682601cf37da44aba81c8c252657fa81fccee', class: "circle" }, this.finished && h("p-icon", { key: '6f255a564f8862711dc3d3617b8a52446e4c2aed', variant: "checkmark" })), h("div", { key: '7e87bad4eeeb5858efdba5fd03a02ad49d6fbf55', class: "content" }, h("slot", { key: '99076927549c510ae73bf7e0c1c248ab6f681a09', name: "content" }))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "p-stepper-item"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class StepperLine {
|
|
|
5
5
|
this.direction = 'horizontal';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return h(Host, { key: '
|
|
8
|
+
return h(Host, { key: '9afe16b1b44c0af870416074eb6bfee7c50d7d1a', class: "p-stepper-line" });
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "p-stepper-line"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class TabGroup {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'aa88a446769f313f5efbc20661cb38b8540178a5', class: "p-tab-group relative flex w-full flex-col" }, h("div", { key: '076cab05927dc55d65ff6bcefd9439ae35432c33', class: "scrollbar-hide z-10 flex w-full gap-5 overflow-x-auto" }, h("slot", { key: 'bbc31cf25e62f3a77d5ba08363ce1a8b28f00853' })), h("p-divider", { key: '617439542832dac0732b4d9f985e3d10b4a209b0', class: "absolute bottom-0 left-0 m-0 w-full" })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-tab-group"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class TabItem {
|
|
|
4
4
|
this.active = false;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'fa6aea3812d850f94a74a6cf1f88bc86b6351fa8', class: `p-tab-item ${this.active && 'active'}` }, h("slot", { key: 'b20e0b0695ec3a8e65506d004af650a6bee87d6b' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "p-tab-item"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class TableContainer {
|
|
|
4
4
|
this.shadow = true;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '4e0ae2ffb330d59f65fea3060a733589789b6238', class: `p-table-container ${!this.shadow && 'no-shadow'}` }, h("slot", { key: '4e5330fd7cfe7b021e8dd2a86a819170762a431a' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "p-table-container"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class ToastContainer {
|
|
|
4
4
|
this.placement = 'top-end';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '58603ebc78b238e44f447f59c4f16c82de5ddcb6', class: `p-toast-container placement-${this.placement}` }, h("slot", { key: '1a3ba94eadae2d79b46ade86520284423324b2b7' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "p-toast-container"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -104,13 +104,13 @@ export class Toggle {
|
|
|
104
104
|
*/
|
|
105
105
|
indeterminateChange;
|
|
106
106
|
render() {
|
|
107
|
-
return (h(Host, { key: '
|
|
107
|
+
return (h(Host, { key: 'c0dabd76bf6665ffdd747f3418cc4e1a22f96a5f', class: 'p-checkbox' }, h("label", { key: 'ffd7c2d536568ba6a350ace76f731c2938bfd2de', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: 'e53e83e770f6ed573d5cadeb11d45b86f2a4ddce', class: 'group relative flex flex-shrink-0 items-center' }, h("input", { key: '5d8b6cb60decc05e162a68ead269f7b9d4890b72', class: checkbox({
|
|
108
108
|
size: this.size,
|
|
109
109
|
disabled: this.disabled,
|
|
110
|
-
}), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
110
|
+
}), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: 'd20d1ef90cf7cedc4b48ba44826f2d5ad22878ed', class: circle({
|
|
111
111
|
size: this.size,
|
|
112
112
|
disabled: this.disabled,
|
|
113
|
-
}) })), h("slot", { key: '
|
|
113
|
+
}) })), h("slot", { key: 'ce3e1ee30f727d6f941f93df26403257018ef7fc' }))));
|
|
114
114
|
}
|
|
115
115
|
_onChange(ev) {
|
|
116
116
|
if (this.disabled) {
|
|
@@ -83,19 +83,19 @@ export class Tooltip {
|
|
|
83
83
|
ref: el => this._load(el),
|
|
84
84
|
};
|
|
85
85
|
let tooltip;
|
|
86
|
-
const tooltipElement = (h("div", { key: '
|
|
86
|
+
const tooltipElement = (h("div", { key: '56d0d0e1a7cb6d1e97b3367aee6adb5ae293b53b', class: popover({
|
|
87
87
|
variant: this.variant,
|
|
88
88
|
strategy: this.usePortal ? 'none' : this.strategy,
|
|
89
|
-
}), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: '
|
|
89
|
+
}), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: '00d635edb79b804c7424e1d0860e9187ae306e7f', class: 'flex gap-2' }, this.variant === 'error' && (h("div", { key: '3db71eb65444549657f9720e9ab1c8fe06f5b0ca', class: 'w-[2px] bg-negative-red' })), this.content ? this.content : h("slot", { name: 'content' }))));
|
|
90
90
|
if (this.usePortal) {
|
|
91
|
-
tooltip = (h("p-portal", { key: '
|
|
91
|
+
tooltip = (h("p-portal", { key: '34c9d947df9c8724cf6f0a30532fa7a8b8f0d94e', class: portal({
|
|
92
92
|
strategy: this.strategy,
|
|
93
93
|
}), ...tooltipProps }, tooltipElement));
|
|
94
94
|
}
|
|
95
95
|
else {
|
|
96
96
|
tooltip = tooltipElement;
|
|
97
97
|
}
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: '7eb41fb620f29211b4dfa7a8bf788625a8027393', class: 'p-popover flex cursor-pointer' }, h("div", { key: 'baa27f78e76a4a3218a6ca95b14941a71cb860ff', class: 'relative h-inherit w-inherit' }, h("slot", { key: '88c466a87263e47d96e29ef570f6a78298b8529c', name: 'trigger' }), tooltip)));
|
|
99
99
|
}
|
|
100
100
|
clickHandler() {
|
|
101
101
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
|
@@ -11,7 +11,7 @@ export class Accordion {
|
|
|
11
11
|
*/
|
|
12
12
|
isOpen;
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '310eabf3edef4a28e9aad349c62709aba8b8b07c', class: 'p-accordion' }, h("div", { key: '9d9d3fb6dc68292ad5f90de15ebc884f289e5792', class: 'flex cursor-pointer items-center gap-3 text-storm-vague', onClick: () => this._onClick() }, h("p-icon", { key: '35f18b0cca23dd68fc527e4494b1acbe5478d338', class: 'flex', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: 'ac21ad37327f5b73b23174aaa47547b997205b97', class: 'm-0 whitespace-nowrap text-lg font-medium' }, this.header), h("p-divider", { key: '18fe537bf51d29d4477f9355b299a5bce82e7a9b' })), this.open && (h("div", { key: 'b6d0a3c7cc497ec86a8adcca3fc4f2f815cd5ba0', class: 'mt-6' }, h("slot", { key: 'b44e3a118822173be502213d82b6a95365917b41' })))));
|
|
15
15
|
}
|
|
16
16
|
_onClick() {
|
|
17
17
|
if (!this.closeable && this.open) {
|
|
@@ -15,14 +15,14 @@ export class Attachment {
|
|
|
15
15
|
*/
|
|
16
16
|
delete;
|
|
17
17
|
render() {
|
|
18
|
-
let prefix = h("p-icon", { key: '
|
|
18
|
+
let prefix = h("p-icon", { key: '0f6fdd0e2d04701633d2159ec6dd3e7a6805d81f', variant: 'attachment' });
|
|
19
19
|
if (this.loading) {
|
|
20
|
-
prefix = h("p-loader", { key: '
|
|
20
|
+
prefix = h("p-loader", { key: '13ab45a77fc4bef011ab08760539459e68df943e' });
|
|
21
21
|
}
|
|
22
22
|
if (this.error) {
|
|
23
|
-
prefix = (h("p-icon", { key: '
|
|
23
|
+
prefix = (h("p-icon", { key: 'e8d352fe5293af4fa7704df89a55d1a22a86756f', variant: 'warning', class: 'text-negative' }));
|
|
24
24
|
}
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '5d94032752397283496ad42f3034be1dc41a70e3', class: 'p-attachment flex items-start gap-4' }, h("div", { key: '0abebda5e4f17d6a00e07fe4d5853a3083046bf9', class: `flex h-8 min-w-0 flex-1 items-center justify-start gap-2 rounded-lg bg-mystic px-2 ${this.error?.length ? 'text-negative' : 'text-storm-medium'}` }, prefix, h("span", { key: '179dd7e6c759bc6205e9d9e2521c945553d3a0cb', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap' }, h("slot", { key: '0b99553205320b53f5389a721cd4c993fd6da95a' })), this.error?.length && h("p-input-error", { key: '39d53a690670b83dc859a9a667aeada3182e7a35', error: this.error })), h("p-button", { key: 'a8a726acacae0c0e82d979e31a2de2afff34acf5', variant: 'secondary', iconOnly: true, icon: this.mode === 'read' ? 'download' : 'trash', disabled: this.loading, loading: this.mode === 'read' && this.downloading, size: 'sm', onOnClick: () => (this.mode === 'read' ? this.download : this.delete).emit() })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "p-attachment"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -289,7 +289,7 @@ export class Button {
|
|
|
289
289
|
? 'a'
|
|
290
290
|
: 'button';
|
|
291
291
|
const active = this.active || this.class?.includes('active');
|
|
292
|
-
return (h(Host, { key: '
|
|
292
|
+
return (h(Host, { key: 'b21137921cfdf8cef894f31aceec317b76f8e0dd', class: 'p-button block' }, h(VariableTag, { key: '3b796d5754b8e089b5dffe8d91e6f61e00538e0a', disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
|
|
293
293
|
variant: this.variant,
|
|
294
294
|
size: this.size,
|
|
295
295
|
underline: this.underline,
|
|
@@ -298,14 +298,14 @@ export class Button {
|
|
|
298
298
|
buttonGroupPosition: this.buttonGroupPosition,
|
|
299
299
|
iconOnly: this.iconOnly,
|
|
300
300
|
active,
|
|
301
|
-
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '
|
|
301
|
+
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: 'dd238bf0b2d040ed90a8e439dfb563d9168c61b7', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
|
|
302
302
|
this.iconPosition === 'start' &&
|
|
303
303
|
!(this.iconOnly && this.loading) &&
|
|
304
|
-
this._getIcon(), h("slot", { key: '
|
|
304
|
+
this._getIcon(), h("slot", { key: '9e06619e8b75a3afff008ef990bf3e04553d1d4b' }), this.icon &&
|
|
305
305
|
this.iconPosition === 'end' &&
|
|
306
306
|
!this.loading &&
|
|
307
307
|
!this.chevron &&
|
|
308
|
-
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '
|
|
308
|
+
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '8864bae307de1ddb69f1c466a428e2b05d907234', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.loading && h("p-loader", { key: 'e5901475f799e01b5dc29a8a848a9e3fd239681f', color: loaderColor }))));
|
|
309
309
|
}
|
|
310
310
|
handleClick(ev) {
|
|
311
311
|
if (this.loading || this.disabled) {
|
|
@@ -11,7 +11,7 @@ export class ButtonGroup {
|
|
|
11
11
|
this._checkButtons();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '2b21e710322939b988c56ec93315f294e141fd8b', class: 'p-button-group flex items-center' }, h("slot", { key: '8df0ce25df38771b78d6152368d00c45aec74dc4' })));
|
|
15
15
|
}
|
|
16
16
|
slotchange() {
|
|
17
17
|
this._checkButtons();
|
|
@@ -139,7 +139,7 @@ export class Calendar {
|
|
|
139
139
|
.filter(date => isValid(date));
|
|
140
140
|
}
|
|
141
141
|
render() {
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: 'bdac26a59422c5e8f2958bdbde5c2e2716926cc2', class: calendar({ variant: this.variant }) }, this._getView()));
|
|
143
143
|
}
|
|
144
144
|
_getView() {
|
|
145
145
|
if (this._view === 'year') {
|
|
@@ -39,9 +39,9 @@ export class ContentSlider {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '75da799f01accf4047ac83242a1200509947c1f5', class: "p-content-slider" }, h("div", { key: '4146cd50da6e230f179612844beb835914a89632', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
|
|
43
43
|
height: `${this._outerHeight}px`,
|
|
44
|
-
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: '
|
|
44
|
+
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: 'fdbbd773f07938dd8906bb456e7739f6c717092c', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '7a3d5dd2a3234d27c8ab6acfc5a64f98cf52c1c8' }))), h("div", { key: '56cd4bdee286d29a469bf30ac842977c80ed6195', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("p-slider-indicator", { active: i === this._visibleIndex })))))));
|
|
45
45
|
}
|
|
46
46
|
_mouseDownHandler(e) {
|
|
47
47
|
if (this.disableDrag || this._dragging) {
|
|
@@ -34,10 +34,10 @@ export class Cropper {
|
|
|
34
34
|
}, 200);
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '7390aec5b5f81ffd67e54811ca821cc9772fddc5', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: '95ecbd9acce466e81d90810cc7297dcf6ea5cdbe', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: '76534002ee9c7dc3e8e073393b35235c187d7656', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: '597dba1bcc2d306c4161b9a45bcb061d8acc9e2d', class: clsx({
|
|
38
38
|
'rounded-round': this.variant === 'user',
|
|
39
39
|
rounded: this.variant === 'company',
|
|
40
|
-
}), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '
|
|
40
|
+
}), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: 'e00c6e0b5541edce749b7837769cb35b26b2e3b6', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: 'adee5991926e23ed24349ca87b69f4e5002185a1', action: 'move', plain: true }))), h("div", { key: '76041ecf8ca26fd74b50acdc5543e94efc4326dd', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, h("p-icon", { key: 'e0ae20d0717c42c24a554527f032564ef62400c7', variant: 'minus' }), h("input", { key: 'e1f7facd9c9e6012e577688ba13b8119effce06d', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), h("p-icon", { key: '25815296c58d77cc72a1d7de328e8f44c897b608', variant: 'plus' }))));
|
|
41
41
|
}
|
|
42
42
|
_setImageRef(ref) {
|
|
43
43
|
if (this._imageRef) {
|
|
@@ -112,7 +112,7 @@ export class Datepicker {
|
|
|
112
112
|
this.parseValue(this.value);
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '0de36ac63a8498aa89896203a95b32990ff09005', class: 'p-datepicker' }, h("p-dropdown", { key: '03c3fd3666a07cafd8c972627637a335f4dbd31f', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: '79f0be9fbc485923a05f884d7ab215d53d56ea46', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, disabled: this.disabled, focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), h("div", { key: '3f096013cc6cde840576d9a71cd8ff6bdbf5c0d7', slot: 'items' }, h("p-calendar", { key: 'e40c1f2a0c1458a836268f4d39e64bb3bb637b5a', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode })))));
|
|
116
116
|
}
|
|
117
117
|
documentClickHandler({ target }) {
|
|
118
118
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -69,12 +69,12 @@ export class Dropdown {
|
|
|
69
69
|
};
|
|
70
70
|
let dropdownContainer;
|
|
71
71
|
if (this.usePortal) {
|
|
72
|
-
dropdownContainer = (h("p-portal", { key: '
|
|
72
|
+
dropdownContainer = (h("p-portal", { key: '81ed3076cb5ac5af3c6fcf097ad343cede28bebb', ...dropdownContainerProps }, h("p-dropdown-menu-container", { key: '1a237f89a54eef8dbd5a992fb7c2aac0d207af48', maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, h("slot", { key: '9615d965a064a4c0d3844b9baa0710049c78aa40', name: 'items' }))));
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
|
-
dropdownContainer = (h("p-dropdown-menu-container", { key: '
|
|
75
|
+
dropdownContainer = (h("p-dropdown-menu-container", { key: '9c84750f3ac8235467b4d877ce8c71848352c053', maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, h("slot", { key: '94521db2dcb1fe662dff6b05d740fdfd5e1e8571', name: 'items' })));
|
|
76
76
|
}
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: '460ac62023f171b2e115af2d3de8bb77b55415dc', class: 'p-dropdown relative' }, h("div", { key: 'bba16627eac8cde7593ed69e0e7fec5d02987e52', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { key: '6af8feb795d8b2e2401a1a70e7ec3029e7194132', name: 'trigger' })), dropdownContainer));
|
|
78
78
|
}
|
|
79
79
|
_checkButtons(active = false) {
|
|
80
80
|
if (!this.applyChevron) {
|
|
@@ -135,16 +135,16 @@ export class Field {
|
|
|
135
135
|
_inputRef;
|
|
136
136
|
render() {
|
|
137
137
|
const { prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, } = this._getSlotInfo();
|
|
138
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: '369e15b85e845790a9df07aa20508c953bb39ff3', class: 'p-field' }, h("p-field-container", { key: '232ac448fdd71b051d6e6d5ebcd65e5ce8effa38', forceShowTooltip: this.forceShowTooltip || this._focused, label: this.label, helper: this.helper, error: this.error, required: this.required }, hasLabelSlot && (h("slot", { key: '14db4b1e32a88d4936ed42e7b02fce2aa842484b', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '30b883d2b9804772883690e2e02c480124f036c1', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '63dd8b1491818988bd2c3cf34064139f40a80824', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '9d764d0293a6085ef4d4e62f3a0899fb65951988', name: 'error', slot: 'error' })), h("div", { key: '7d439bcdbc4f9c6d7ee39732b9661c3c99aaa49e', class: field({
|
|
139
139
|
error: !!this.error?.length,
|
|
140
140
|
disabled: this.disabled,
|
|
141
141
|
focused: this.focused || this._focused,
|
|
142
142
|
size: this.size,
|
|
143
|
-
}), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
143
|
+
}), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '4eff37bc22e6706a6546a4367bb89d25f4a6f91f', class: prefixAndSuffic({
|
|
144
144
|
error: !!this.error?.length,
|
|
145
145
|
disabled: this.disabled,
|
|
146
146
|
focused: this.focused || this._focused,
|
|
147
|
-
}), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getInput(), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
147
|
+
}), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getInput(), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '25f300b997455353e9563035288902de694b3130', class: prefixAndSuffic({
|
|
148
148
|
error: !!this.error?.length,
|
|
149
149
|
disabled: this.disabled,
|
|
150
150
|
focused: this.focused || this._focused,
|
|
@@ -6,7 +6,7 @@ export class InputError {
|
|
|
6
6
|
this._showTooltip = false;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: 'ac5ab660850ac1908dd9645aec4e96238946ecf2', class: 'p-input-error' }, h("p-tooltip", { key: 'f9d2588446e1f675c4de4d58fd0d24e7d2af1fe9', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, h("p-icon", { key: '4e6eaa812e9b30b07299a617c1fcb24261c00fee', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "p-input-error"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.flex-1{flex:1 1 0%!important}.flex-shrink-0{flex-shrink:0!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.bg-amber-100{--tw-bg-opacity:1!important;background-color:rgb(255 246 194/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-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 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}.p-2{padding:.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-amber-800{--tw-text-opacity:1!important;color:rgb(148 77 11/var(--tw-text-opacity,1))!important}.text-dark-teal-800{--tw-text-opacity:1!important;color:rgb(1 37 33/var(--tw-text-opacity,1))!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}@media (min-width:64rem){.desktop-xs\:block{display:block!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:py-0{padding-bottom:0!important;padding-top:0!important}}
|
|
@@ -1,24 +1,56 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
import { cn } from "../../../utils/cn";
|
|
4
|
+
const label = cva(['flex items-center justify-center gap-2', 'h-6 rounded-full'], {
|
|
5
|
+
variants: {
|
|
6
|
+
variant: {
|
|
7
|
+
positive: 'bg-positive-green-100 text-positive-green-800',
|
|
8
|
+
biased: 'bg-amber-100 text-amber-800',
|
|
9
|
+
negative: 'bg-negative-red-100 text-negative-red-800',
|
|
10
|
+
neutral: 'bg-supportive-lilac-100 text-supportive-lilac-900',
|
|
11
|
+
unavailable: 'bg-white-700 text-dark-teal-800',
|
|
12
|
+
},
|
|
13
|
+
iconOnly: {
|
|
14
|
+
false: 'px-2',
|
|
15
|
+
true: 'p-2 w-6',
|
|
16
|
+
},
|
|
17
|
+
keepMobileContent: {
|
|
18
|
+
false: null,
|
|
19
|
+
true: null,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
compoundVariants: [
|
|
23
|
+
{
|
|
24
|
+
keepMobileContent: false,
|
|
25
|
+
iconOnly: false,
|
|
26
|
+
class: 'p-2 w-6 desktop-xs:w-auto desktop-xs:py-0',
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
});
|
|
2
30
|
export class Label {
|
|
3
31
|
constructor() {
|
|
4
32
|
this.variant = 'neutral';
|
|
5
|
-
this.
|
|
6
|
-
this.iconPosition = 'start';
|
|
33
|
+
this.iconOnly = false;
|
|
7
34
|
this.icon = undefined;
|
|
8
35
|
this.iconFlip = undefined;
|
|
9
36
|
this.iconRotate = undefined;
|
|
10
|
-
this.size = 'default';
|
|
11
37
|
this.keepMobileContent = false;
|
|
12
38
|
}
|
|
13
39
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
15
|
-
|
|
40
|
+
return (h(Host, { key: 'f856eed050d7fa75c8cd48bb8f27bce27beb19c5', class: 'p-label' }, h("div", { key: '429ee34de3268f5a94e9996b1d4cde4f8165f67b', class: label({
|
|
41
|
+
variant: this.variant,
|
|
42
|
+
iconOnly: this.iconOnly,
|
|
43
|
+
keepMobileContent: this.keepMobileContent,
|
|
44
|
+
}) }, this.icon && (h("p-icon", { key: 'ed98f89a18751466d842f3c731aa253fa4a428b7', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: 'bc29f59321fa594bfa9925a0ec29c28ddedc7d4a', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
|
|
45
|
+
hidden: !this.keepMobileContent,
|
|
46
|
+
'desktop-xs:block': !this.keepMobileContent,
|
|
47
|
+
}) }, h("slot", { key: '81cdfddd2f82d84a26b4c85311cd03171ac6e9a0' }))))));
|
|
16
48
|
}
|
|
17
49
|
static get is() { return "p-label"; }
|
|
18
50
|
static get encapsulation() { return "shadow"; }
|
|
19
51
|
static get originalStyleUrls() {
|
|
20
52
|
return {
|
|
21
|
-
"$": ["label.component.
|
|
53
|
+
"$": ["label.component.css"]
|
|
22
54
|
};
|
|
23
55
|
}
|
|
24
56
|
static get styleUrls() {
|
|
@@ -32,8 +64,8 @@ export class Label {
|
|
|
32
64
|
"type": "string",
|
|
33
65
|
"mutable": false,
|
|
34
66
|
"complexType": {
|
|
35
|
-
"original": "| '
|
|
36
|
-
"resolved": "\"
|
|
67
|
+
"original": "| 'positive'\n\t\t| 'biased'\n\t\t| 'negative'\n\t\t| 'neutral'\n\t\t| 'unavailable'",
|
|
68
|
+
"resolved": "\"biased\" | \"negative\" | \"neutral\" | \"positive\" | \"unavailable\"",
|
|
37
69
|
"references": {}
|
|
38
70
|
},
|
|
39
71
|
"required": false,
|
|
@@ -48,45 +80,25 @@ export class Label {
|
|
|
48
80
|
"reflect": true,
|
|
49
81
|
"defaultValue": "'neutral'"
|
|
50
82
|
},
|
|
51
|
-
"
|
|
52
|
-
"type": "
|
|
83
|
+
"iconOnly": {
|
|
84
|
+
"type": "boolean",
|
|
53
85
|
"mutable": false,
|
|
54
86
|
"complexType": {
|
|
55
|
-
"original": "
|
|
56
|
-
"resolved": "
|
|
87
|
+
"original": "boolean",
|
|
88
|
+
"resolved": "boolean",
|
|
57
89
|
"references": {}
|
|
58
90
|
},
|
|
59
91
|
"required": false,
|
|
60
92
|
"optional": false,
|
|
61
93
|
"docs": {
|
|
62
94
|
"tags": [],
|
|
63
|
-
"text": "
|
|
95
|
+
"text": "Wether to only show the icon"
|
|
64
96
|
},
|
|
65
97
|
"getter": false,
|
|
66
98
|
"setter": false,
|
|
67
|
-
"attribute": "
|
|
99
|
+
"attribute": "icon-only",
|
|
68
100
|
"reflect": true,
|
|
69
|
-
"defaultValue": "
|
|
70
|
-
},
|
|
71
|
-
"iconPosition": {
|
|
72
|
-
"type": "string",
|
|
73
|
-
"mutable": false,
|
|
74
|
-
"complexType": {
|
|
75
|
-
"original": "'start' | 'end'",
|
|
76
|
-
"resolved": "\"end\" | \"start\"",
|
|
77
|
-
"references": {}
|
|
78
|
-
},
|
|
79
|
-
"required": false,
|
|
80
|
-
"optional": false,
|
|
81
|
-
"docs": {
|
|
82
|
-
"tags": [],
|
|
83
|
-
"text": "Icon position"
|
|
84
|
-
},
|
|
85
|
-
"getter": false,
|
|
86
|
-
"setter": false,
|
|
87
|
-
"attribute": "icon-position",
|
|
88
|
-
"reflect": false,
|
|
89
|
-
"defaultValue": "'start'"
|
|
101
|
+
"defaultValue": "false"
|
|
90
102
|
},
|
|
91
103
|
"icon": {
|
|
92
104
|
"type": "string",
|
|
@@ -97,7 +109,7 @@ export class Label {
|
|
|
97
109
|
"references": {
|
|
98
110
|
"IconVariant": {
|
|
99
111
|
"location": "import",
|
|
100
|
-
"path": "
|
|
112
|
+
"path": "../../atoms/icon/icon.component",
|
|
101
113
|
"id": "src/components/atoms/icon/icon.component.tsx::IconVariant"
|
|
102
114
|
}
|
|
103
115
|
}
|
|
@@ -122,7 +134,7 @@ export class Label {
|
|
|
122
134
|
"references": {
|
|
123
135
|
"IconFlipOptions": {
|
|
124
136
|
"location": "import",
|
|
125
|
-
"path": "
|
|
137
|
+
"path": "../../atoms/icon/icon.component",
|
|
126
138
|
"id": "src/components/atoms/icon/icon.component.tsx::IconFlipOptions"
|
|
127
139
|
}
|
|
128
140
|
}
|
|
@@ -163,26 +175,6 @@ export class Label {
|
|
|
163
175
|
"attribute": "icon-rotate",
|
|
164
176
|
"reflect": false
|
|
165
177
|
},
|
|
166
|
-
"size": {
|
|
167
|
-
"type": "string",
|
|
168
|
-
"mutable": false,
|
|
169
|
-
"complexType": {
|
|
170
|
-
"original": "'small' | 'default'",
|
|
171
|
-
"resolved": "\"default\" | \"small\"",
|
|
172
|
-
"references": {}
|
|
173
|
-
},
|
|
174
|
-
"required": false,
|
|
175
|
-
"optional": false,
|
|
176
|
-
"docs": {
|
|
177
|
-
"tags": [],
|
|
178
|
-
"text": "The size of the label"
|
|
179
|
-
},
|
|
180
|
-
"getter": false,
|
|
181
|
-
"setter": false,
|
|
182
|
-
"attribute": "size",
|
|
183
|
-
"reflect": true,
|
|
184
|
-
"defaultValue": "'default'"
|
|
185
|
-
},
|
|
186
178
|
"keepMobileContent": {
|
|
187
179
|
"type": "boolean",
|
|
188
180
|
"mutable": false,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/label/label.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAGzD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAC;AAEvC,MAAM,KAAK,GAAG,GAAG,CAChB,CAAC,wCAAwC,EAAE,kBAAkB,CAAC,EAC9D;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,QAAQ,EAAE,+CAA+C;YACzD,MAAM,EAAE,8BAA8B;YACtC,QAAQ,EAAE,2CAA2C;YACrD,OAAO,EAAE,mDAAmD;YAC5D,WAAW,EAAE,iCAAiC;SAC9C;QACD,QAAQ,EAAE;YACT,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,SAAS;SACf;QACD,iBAAiB,EAAE;YAClB,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI;SACV;KACD;IACD,gBAAgB,EAAE;QACjB;YACC,iBAAiB,EAAE,KAAK;YACxB,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,2CAA2C;SAClD;KACD;CACD,CACD,CAAC;AAOF,MAAM,OAAO,KAAK;;uBASE,SAAS;wBAKiB,KAAK;;;;iCAoBI,KAAK;;IAE3D,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAC,SAAS;YACpB,4DACC,KAAK,EAAE,KAAK,CAAC;oBACZ,OAAO,EAAE,IAAI,CAAC,OAAO;oBACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;oBACvB,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;iBACzC,CAAC;gBAED,IAAI,CAAC,IAAI,IAAI,CACb,+DACC,KAAK,EAAC,eAAe,EACrB,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,CACF;gBAEA,CAAC,IAAI,CAAC,QAAQ,IAAI,CAClB,4DACC,KAAK,EAAE,EAAE,CACR,gEAAgE,EAChE;wBACC,MAAM,EAAE,CAAC,IAAI,CAAC,iBAAiB;wBAC/B,kBAAkB,EAAE,CAAC,IAAI,CAAC,iBAAiB;qBAC3C,CACD;oBAED,8DAAQ,CACH,CACN,CACI,CACA,CACP,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../types';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../../utils/cn';\n\nconst label = cva(\n\t['flex items-center justify-center gap-2', 'h-6 rounded-full'],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tpositive: 'bg-positive-green-100 text-positive-green-800',\n\t\t\t\tbiased: 'bg-amber-100 text-amber-800',\n\t\t\t\tnegative: 'bg-negative-red-100 text-negative-red-800',\n\t\t\t\tneutral: 'bg-supportive-lilac-100 text-supportive-lilac-900',\n\t\t\t\tunavailable: 'bg-white-700 text-dark-teal-800',\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\tfalse: 'px-2',\n\t\t\t\ttrue: 'p-2 w-6',\n\t\t\t},\n\t\t\tkeepMobileContent: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tkeepMobileContent: false,\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'p-2 w-6 desktop-xs:w-auto desktop-xs:py-0',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-label',\n\tstyleUrl: 'label.component.css',\n\tshadow: true,\n})\nexport class Label {\n\t/**\n\t * Variant of the label\n\t */\n\t@Prop({ reflect: true }) variant:\n\t\t| 'positive'\n\t\t| 'biased'\n\t\t| 'negative'\n\t\t| 'neutral'\n\t\t| 'unavailable' = 'neutral';\n\n\t/**\n\t * Wether to only show the icon\n\t */\n\t@Prop({ reflect: true }) iconOnly: boolean = false;\n\n\t/**\n\t * Icon to show on the label\n\t */\n\t@Prop({ reflect: true }) icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Wether to keep the content on mobile\n\t */\n\t@Prop({ reflect: true }) keepMobileContent: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-label'>\n\t\t\t\t<div\n\t\t\t\t\tclass={label({\n\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t\t\tkeepMobileContent: this.keepMobileContent,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.icon && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tclass='flex-shrink-0'\n\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{!this.iconOnly && (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={cn(\n\t\t\t\t\t\t\t\t'flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm',\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\thidden: !this.keepMobileContent,\n\t\t\t\t\t\t\t\t\t'desktop-xs:block': !this.keepMobileContent,\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -43,10 +43,10 @@ export class NavigationItem {
|
|
|
43
43
|
render() {
|
|
44
44
|
const TagType = this.as;
|
|
45
45
|
const active = this.active || this.class?.includes('active');
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '093b9c1c4c03c9b6d8bafe510ff7713f2cde758c', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '275b9172a1d3722d308065185b8c6f898e717bca', class: navigationItem({
|
|
47
47
|
icon: !!this.icon,
|
|
48
48
|
active,
|
|
49
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
49
|
+
}), href: this.href, target: this.target }, h("div", { key: 'c2ca2fee661b6244bff144deaf9c8499ee0afa8b', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'c1974b11f7d21422880f61139c535f0099f91a67', variant: this.icon })), h("span", { key: '71b4f19042174fb8cbf2f0feb6be74bffe5c1303', class: this.counter && 'has-counter' }, h("slot", { key: '72fa6bd043213151eb3e22105102973ad8c7fbef' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'caa907ca2acf8451cfcecc1e8a43ce0ef5bf153b' }, this.counter)), !!this.loading && h("p-loader", { key: 'cf2a8eb51f5a7453b87b87aa44bb4823670ef714', class: 'ml-auto' }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "p-navigation-item"; }
|
|
52
52
|
static get originalStyleUrls() {
|
package/dist/collection/components/molecules/navigation-section/navigation-section.component.js
CHANGED
|
@@ -4,7 +4,7 @@ export class NavigationSection {
|
|
|
4
4
|
this.header = undefined;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: 'f4c9cbde8f0bf86e2cc1df10c7f4b2d50e3ac803', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '4be5133078abe4f0b20e75168c49faced844655e' }, this.header)), h("div", { key: 'dc04383133e2f7122bba8d8dbe18f7d6ed2bae0e', class: 'flex flex-col' }, h("slot", { key: '82a5fd7183090458ab036d915b0e0af562183ef4' }))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "p-navigation-section"; }
|
|
10
10
|
static get originalStyleUrls() {
|