@paperless/core 2.0.1-beta.1 → 2.0.1-beta.10
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 +202 -2
- package/dist/assets/iban-icons/icon-abn.svg +6 -0
- package/dist/assets/iban-icons/icon-asn.svg +5 -0
- package/dist/assets/iban-icons/icon-bunq.svg +19 -0
- package/dist/assets/iban-icons/icon-ing.png +0 -0
- package/dist/assets/iban-icons/icon-knab.svg +8 -0
- package/dist/assets/iban-icons/icon-rabo.svg +36 -0
- package/dist/assets/iban-icons/icon-sns.svg +172 -0
- package/dist/assets/iban-icons/icon-triodos.svg +5 -0
- package/dist/assets/icons/arrows/arrow.svg +10 -0
- package/dist/assets/icons/arrows/caret.svg +10 -0
- package/dist/assets/icons/arrows/double-arrow.svg +10 -0
- package/dist/assets/icons/arrows/double-caret.svg +10 -0
- package/dist/assets/icons/communication/bell.svg +10 -0
- package/dist/assets/icons/communication/chat.svg +10 -0
- package/dist/assets/icons/communication/check-circle.svg +11 -0
- package/dist/assets/icons/communication/cross-circle.svg +10 -0
- package/dist/assets/icons/communication/error-circle.svg +11 -0
- package/dist/assets/icons/communication/headset.svg +10 -0
- package/dist/assets/icons/communication/info-circle.svg +12 -0
- package/dist/assets/icons/communication/phone.svg +10 -0
- package/dist/assets/icons/communication/question-circle.svg +12 -0
- package/dist/assets/icons/communication/warning.svg +11 -0
- package/dist/assets/icons/files/attachment.svg +10 -0
- package/dist/assets/icons/files/description.svg +10 -0
- package/dist/assets/icons/files/document.svg +11 -0
- package/dist/assets/icons/files/folder.svg +10 -0
- package/dist/assets/icons/files/pdf.svg +11 -0
- package/dist/assets/icons/files/xls.svg +11 -0
- package/dist/assets/icons/general/bank.svg +10 -0
- package/dist/assets/icons/general/bread.svg +12 -0
- package/dist/assets/icons/general/cake.svg +11 -0
- package/dist/assets/icons/general/calculator.svg +12 -0
- package/dist/assets/icons/general/camera.svg +11 -0
- package/dist/assets/icons/general/car.svg +11 -0
- package/dist/assets/icons/general/certified.svg +11 -0
- package/dist/assets/icons/general/chair.svg +11 -0
- package/dist/assets/icons/general/checkmark.svg +10 -0
- package/dist/assets/icons/general/city.svg +10 -0
- package/dist/assets/icons/general/companies.svg +10 -0
- package/dist/assets/icons/general/company.svg +10 -0
- package/dist/assets/icons/general/credit-card.svg +10 -0
- package/dist/assets/icons/general/cutlery.svg +10 -0
- package/dist/assets/icons/general/department.svg +10 -0
- package/dist/assets/icons/general/diamond.svg +11 -0
- package/dist/assets/icons/general/docter.svg +13 -0
- package/dist/assets/icons/general/download.svg +11 -0
- package/dist/assets/icons/general/envelope.svg +11 -0
- package/dist/assets/icons/general/euro.svg +10 -0
- package/dist/assets/icons/general/exam.svg +11 -0
- package/dist/assets/icons/general/filter.svg +10 -0
- package/dist/assets/icons/general/flower.svg +11 -0
- package/dist/assets/icons/general/globe-2.svg +11 -0
- package/dist/assets/icons/general/globe.svg +11 -0
- package/dist/assets/icons/general/hash.svg +10 -0
- package/dist/assets/icons/general/hat.svg +12 -0
- package/dist/assets/icons/general/home.svg +10 -0
- package/dist/assets/icons/general/integration.svg +10 -0
- package/dist/assets/icons/general/language.svg +11 -0
- package/dist/assets/icons/general/laptop.svg +10 -0
- package/dist/assets/icons/general/location.svg +11 -0
- package/dist/assets/icons/general/mail.svg +11 -0
- package/dist/assets/icons/general/medal.svg +11 -0
- package/dist/assets/icons/general/menu-arrow.svg +10 -0
- package/dist/assets/icons/general/menu.svg +10 -0
- package/dist/assets/icons/general/minus.svg +10 -0
- package/dist/assets/icons/general/more.svg +10 -0
- package/dist/assets/icons/general/negative.svg +10 -0
- package/dist/assets/icons/general/other.svg +10 -0
- package/dist/assets/icons/general/pay.svg +11 -0
- package/dist/assets/icons/general/pencil.svg +10 -0
- package/dist/assets/icons/general/percent.svg +10 -0
- package/dist/assets/icons/general/pie-chart.svg +10 -0
- package/dist/assets/icons/general/placeholder.svg +10 -0
- package/dist/assets/icons/general/plus.svg +10 -0
- package/dist/assets/icons/general/power.svg +10 -0
- package/dist/assets/icons/general/receipt.svg +10 -0
- package/dist/assets/icons/general/reset.svg +11 -0
- package/dist/assets/icons/general/search.svg +10 -0
- package/dist/assets/icons/general/send.svg +10 -0
- package/dist/assets/icons/general/settings.svg +11 -0
- package/dist/assets/icons/general/shuffle.svg +11 -0
- package/dist/assets/icons/general/sick.svg +10 -0
- package/dist/assets/icons/general/signature.svg +10 -0
- package/dist/assets/icons/general/sparkle.svg +10 -0
- package/dist/assets/icons/general/star.svg +10 -0
- package/dist/assets/icons/general/stroller.svg +12 -0
- package/dist/assets/icons/general/tag.svg +11 -0
- package/dist/assets/icons/general/tasks.svg +10 -0
- package/dist/assets/icons/general/tools.svg +10 -0
- package/dist/assets/icons/general/tooth.svg +10 -0
- package/dist/assets/icons/general/train.svg +11 -0
- package/dist/assets/icons/general/trash.svg +10 -0
- package/dist/assets/icons/general/upload.svg +10 -0
- package/dist/assets/icons/general/wave.svg +12 -0
- package/dist/assets/icons/general/zipcode.svg +12 -0
- package/dist/assets/icons/security/eye-closed.svg +10 -0
- package/dist/assets/icons/security/eye.svg +11 -0
- package/dist/assets/icons/security/key.svg +11 -0
- package/dist/assets/icons/security/lock.svg +12 -0
- package/dist/assets/icons/security/unlocked.svg +12 -0
- package/dist/assets/icons/time/alarm.svg +11 -0
- package/dist/assets/icons/time/calendar-free.svg +11 -0
- package/dist/assets/icons/time/calendar-multi.svg +11 -0
- package/dist/assets/icons/time/calendar-not-free.svg +10 -0
- package/dist/assets/icons/time/calendar.svg +11 -0
- package/dist/assets/icons/time/clock.svg +11 -0
- package/dist/assets/icons/users/female.svg +10 -0
- package/dist/assets/icons/users/id-two.svg +10 -0
- package/dist/assets/icons/users/id.svg +12 -0
- package/dist/assets/icons/users/male.svg +10 -0
- package/dist/assets/icons/users/user.svg +10 -0
- package/dist/assets/icons/users/users.svg +11 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/p-013cd7f9.entry.js +2 -0
- package/dist/build/p-0348e450.entry.js +2 -0
- package/dist/build/p-0348e450.entry.js.map +1 -0
- package/dist/build/p-047c1c6f.entry.js +2 -0
- package/dist/build/p-047c1c6f.entry.js.map +1 -0
- package/dist/build/p-08ea38ad.entry.js +2 -0
- package/dist/build/p-08ea38ad.entry.js.map +1 -0
- package/dist/build/p-16a18649.entry.js +2 -0
- package/dist/build/p-16a18649.entry.js.map +1 -0
- package/dist/build/p-221dbb71.entry.js +2 -0
- package/dist/build/p-221dbb71.entry.js.map +1 -0
- package/dist/build/p-23ca3688.entry.js +2 -0
- package/dist/build/p-23ca3688.entry.js.map +1 -0
- package/dist/build/p-28d14744.entry.js +2 -0
- package/dist/build/p-28d14744.entry.js.map +1 -0
- package/dist/build/p-2e3b9db4.js +2 -0
- package/dist/build/p-2e3b9db4.js.map +1 -0
- package/dist/build/p-2f9e9197.entry.js +2 -0
- package/dist/build/p-2f9e9197.entry.js.map +1 -0
- package/dist/build/p-32056913.entry.js +2 -0
- package/dist/build/p-32056913.entry.js.map +1 -0
- package/dist/build/p-385943b2.entry.js +2 -0
- package/dist/build/p-385943b2.entry.js.map +1 -0
- package/dist/build/p-393eba2f.entry.js +2 -0
- package/dist/build/p-393eba2f.entry.js.map +1 -0
- package/dist/build/p-3d867690.entry.js +2 -0
- package/dist/build/p-3d867690.entry.js.map +1 -0
- package/dist/build/p-3e9d994a.entry.js +2 -0
- package/dist/build/p-3e9d994a.entry.js.map +1 -0
- package/dist/build/p-45463125.entry.js +2 -0
- package/dist/build/p-45463125.entry.js.map +1 -0
- package/dist/build/p-5ab354bf.entry.js +2 -0
- package/dist/build/p-5ab354bf.entry.js.map +1 -0
- package/dist/build/p-5e789bb1.entry.js +2 -0
- package/dist/build/p-5e789bb1.entry.js.map +1 -0
- package/dist/build/p-64765a81.js +2 -0
- package/dist/build/p-64765a81.js.map +1 -0
- package/dist/build/p-64b53130.entry.js +2 -0
- package/dist/build/p-64b53130.entry.js.map +1 -0
- package/dist/build/p-64b68231.js +3 -0
- package/dist/build/p-64b68231.js.map +1 -0
- package/dist/build/p-6cddc325.js +2 -0
- package/dist/build/p-6cddc325.js.map +1 -0
- package/dist/build/p-6e71ebca.entry.js +2 -0
- package/dist/build/p-6e71ebca.entry.js.map +1 -0
- package/dist/build/p-6f7721eb.entry.js +2 -0
- package/dist/build/p-6f7721eb.entry.js.map +1 -0
- package/dist/build/p-6fed974c.entry.js +2 -0
- package/dist/build/p-6fed974c.entry.js.map +1 -0
- package/dist/build/p-75006522.js +2 -0
- package/dist/build/p-75006522.js.map +1 -0
- package/dist/build/p-7a577384.entry.js +2 -0
- package/dist/build/p-7a577384.entry.js.map +1 -0
- package/dist/build/p-7beb3401.entry.js +2 -0
- package/dist/build/p-851a7662.entry.js +2 -0
- package/dist/build/p-851a7662.entry.js.map +1 -0
- package/dist/build/p-8a1a6e56.js +2 -0
- package/dist/build/p-8a1a6e56.js.map +1 -0
- package/dist/build/p-8a5b8196.js +2 -0
- package/dist/build/p-8a5b8196.js.map +1 -0
- package/dist/build/p-909879e3.entry.js +3 -0
- package/dist/build/p-909879e3.entry.js.map +1 -0
- package/dist/build/p-92f2aa3a.entry.js +2 -0
- package/dist/build/p-92f2aa3a.entry.js.map +1 -0
- package/dist/build/p-937b2d74.entry.js +2 -0
- package/dist/build/p-937b2d74.entry.js.map +1 -0
- package/dist/build/p-9fa5d08a.entry.js +2 -0
- package/dist/build/p-a587ff9f.entry.js +2 -0
- package/dist/build/p-a587ff9f.entry.js.map +1 -0
- package/dist/build/p-a7b8e22f.entry.js +2 -0
- package/dist/build/p-a7b8e22f.entry.js.map +1 -0
- package/dist/build/p-aa058967.entry.js +2 -0
- package/dist/build/p-aa058967.entry.js.map +1 -0
- package/dist/build/p-aab1cda1.entry.js +2 -0
- package/dist/build/p-aab1cda1.entry.js.map +1 -0
- package/dist/build/p-b8e718c7.entry.js +2 -0
- package/dist/build/p-b8e718c7.entry.js.map +1 -0
- package/dist/build/p-b9a7e240.entry.js +2 -0
- package/dist/build/p-b9a7e240.entry.js.map +1 -0
- package/dist/build/p-bc46f89a.entry.js +2 -0
- package/dist/build/p-be0c925e.entry.js +2 -0
- package/dist/build/p-bfbab545.entry.js +2 -0
- package/dist/build/p-bfbab545.entry.js.map +1 -0
- package/dist/build/p-c6bcbcbf.entry.js +2 -0
- package/dist/build/p-cb7c509e.entry.js +2 -0
- package/dist/build/p-cb8a454c.entry.js +2 -0
- package/dist/build/p-cb8a454c.entry.js.map +1 -0
- package/dist/build/p-cc321a7b.entry.js +2 -0
- package/dist/build/p-cc321a7b.entry.js.map +1 -0
- package/dist/build/p-d5d413a1.js +2 -0
- package/dist/build/p-d5d413a1.js.map +1 -0
- package/dist/build/p-d7dbd13e.entry.js +2 -0
- package/dist/build/p-d7dbd13e.entry.js.map +1 -0
- package/dist/build/p-d81a30f6.entry.js +2 -0
- package/dist/build/p-d81a30f6.entry.js.map +1 -0
- package/dist/build/p-dce95c92.entry.js +2 -0
- package/dist/build/p-dce95c92.entry.js.map +1 -0
- package/dist/build/p-dd6d3839.entry.js +2 -0
- package/dist/build/p-e10cf2d3.entry.js +2 -0
- package/dist/build/p-e10cf2d3.entry.js.map +1 -0
- package/dist/build/p-ea3bce45.entry.js +2 -0
- package/dist/build/p-ece8998b.entry.js +2 -0
- package/dist/build/p-ece8998b.entry.js.map +1 -0
- package/dist/build/p-f78afad9.entry.js +2 -0
- package/dist/build/p-f78afad9.entry.js.map +1 -0
- package/dist/build/p-fcaa0539.entry.js +2 -0
- package/dist/build/p-fcaa0539.entry.js.map +1 -0
- package/dist/build/paperless.css +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/_commonjsHelpers-4213291f.js +24 -0
- package/dist/cjs/_commonjsHelpers-4213291f.js.map +1 -0
- package/dist/cjs/clsx-fc789adc.js +7 -0
- package/dist/cjs/clsx-fc789adc.js.map +1 -0
- package/dist/cjs/iban-71055b2d.js +16 -0
- package/dist/cjs/iban-71055b2d.js.map +1 -0
- package/dist/cjs/icons-deprecated-d4fd5f3e.js +1123 -0
- package/dist/cjs/icons-deprecated-d4fd5f3e.js.map +1 -0
- package/dist/cjs/icons-e50d4119.js +1549 -0
- package/dist/cjs/icons-e50d4119.js.map +1 -0
- package/dist/cjs/index-02e05522.js +2657 -0
- package/dist/cjs/index-02e05522.js.map +1 -0
- package/dist/cjs/index-b556e70f.js +48 -0
- package/dist/cjs/index-b556e70f.js.map +1 -0
- package/dist/cjs/index.cjs.js +308 -193
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/object-get-by-path-c2e8bf29.js +120 -0
- package/dist/cjs/object-get-by-path-c2e8bf29.js.map +1 -0
- package/dist/cjs/p-accordion.cjs.entry.js +3 -3
- package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +5 -9
- package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js +3 -3
- package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +28 -13
- package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +57 -4
- package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/p-badge.cjs.entry.js +21 -0
- package/dist/cjs/p-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/p-button-group.cjs.entry.js +3 -3
- package/dist/cjs/p-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +280 -1173
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +15 -18
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +2 -2
- package/dist/cjs/p-card-body.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-header.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js.map +1 -1
- package/dist/cjs/p-content-slider.cjs.entry.js +1 -1
- package/dist/cjs/p-counter.cjs.entry.js +2 -2
- package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +4 -5
- package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +3 -3
- package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +5 -5
- package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-drawer.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +44 -3
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-dropdown_2.cjs.entry.js +85 -19
- package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +21 -27
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
- package/dist/cjs/p-helper_3.cjs.entry.js +6 -7
- package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-iban-icon.cjs.entry.js +47 -0
- package/dist/cjs/p-iban-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/p-icon-deprecated.cjs.entry.js +61 -0
- package/dist/cjs/p-icon-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/p-label_3.cjs.entry.js +4 -4
- package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +47 -8
- package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2854 -6
- package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-section.cjs.entry.js +23 -0
- package/dist/cjs/p-navigation-section.cjs.entry.js.map +1 -0
- package/dist/cjs/p-navigation-title.cjs.entry.js +21 -0
- package/dist/cjs/p-navigation-title.cjs.entry.js.map +1 -0
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +11 -11
- package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +33 -15
- package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/p-select.cjs.entry.js +4 -4
- package/dist/cjs/p-select.cjs.entry.js.map +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +2 -2
- package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/p-status.cjs.entry.js +2 -2
- package/dist/cjs/p-status.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +6 -8
- package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table-column.cjs.entry.js +1 -1
- package/dist/cjs/p-table-row-action.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +9 -6
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +3 -3
- package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/paperless.cjs.js +2 -2
- package/dist/collection/assets/iban-icons/icon-abn.svg +6 -0
- package/dist/collection/assets/iban-icons/icon-asn.svg +5 -0
- package/dist/collection/assets/iban-icons/icon-bunq.svg +19 -0
- package/dist/collection/assets/iban-icons/icon-knab.svg +8 -0
- package/dist/collection/assets/iban-icons/icon-rabo.svg +36 -0
- package/dist/collection/assets/iban-icons/icon-sns.svg +172 -0
- package/dist/collection/assets/iban-icons/icon-triodos.svg +5 -0
- package/dist/collection/assets/icons/arrows/arrow.svg +10 -0
- package/dist/collection/assets/icons/arrows/caret.svg +10 -0
- package/dist/collection/assets/icons/arrows/double-arrow.svg +10 -0
- package/dist/collection/assets/icons/arrows/double-caret.svg +10 -0
- package/dist/collection/assets/icons/communication/bell.svg +10 -0
- package/dist/collection/assets/icons/communication/chat.svg +10 -0
- package/dist/collection/assets/icons/communication/check-circle.svg +11 -0
- package/dist/collection/assets/icons/communication/cross-circle.svg +10 -0
- package/dist/collection/assets/icons/communication/error-circle.svg +11 -0
- package/dist/collection/assets/icons/communication/headset.svg +10 -0
- package/dist/collection/assets/icons/communication/info-circle.svg +12 -0
- package/dist/collection/assets/icons/communication/phone.svg +10 -0
- package/dist/collection/assets/icons/communication/question-circle.svg +12 -0
- package/dist/collection/assets/icons/communication/warning.svg +11 -0
- package/dist/collection/assets/icons/files/attachment.svg +10 -0
- package/dist/collection/assets/icons/files/description.svg +10 -0
- package/dist/collection/assets/icons/files/document.svg +11 -0
- package/dist/collection/assets/icons/files/folder.svg +10 -0
- package/dist/collection/assets/icons/files/pdf.svg +11 -0
- package/dist/collection/assets/icons/files/xls.svg +11 -0
- package/dist/collection/assets/icons/general/bank.svg +10 -0
- package/dist/collection/assets/icons/general/bread.svg +12 -0
- package/dist/collection/assets/icons/general/cake.svg +11 -0
- package/dist/collection/assets/icons/general/calculator.svg +12 -0
- package/dist/collection/assets/icons/general/camera.svg +11 -0
- package/dist/collection/assets/icons/general/car.svg +11 -0
- package/dist/collection/assets/icons/general/certified.svg +11 -0
- package/dist/collection/assets/icons/general/chair.svg +11 -0
- package/dist/collection/assets/icons/general/checkmark.svg +10 -0
- package/dist/collection/assets/icons/general/city.svg +10 -0
- package/dist/collection/assets/icons/general/companies.svg +10 -0
- package/dist/collection/assets/icons/general/company.svg +10 -0
- package/dist/collection/assets/icons/general/credit-card.svg +10 -0
- package/dist/collection/assets/icons/general/cutlery.svg +10 -0
- package/dist/collection/assets/icons/general/department.svg +10 -0
- package/dist/collection/assets/icons/general/diamond.svg +11 -0
- package/dist/collection/assets/icons/general/docter.svg +13 -0
- package/dist/collection/assets/icons/general/download.svg +11 -0
- package/dist/collection/assets/icons/general/envelope.svg +11 -0
- package/dist/collection/assets/icons/general/euro.svg +10 -0
- package/dist/collection/assets/icons/general/exam.svg +11 -0
- package/dist/collection/assets/icons/general/filter.svg +10 -0
- package/dist/collection/assets/icons/general/flower.svg +11 -0
- package/dist/collection/assets/icons/general/globe-2.svg +11 -0
- package/dist/collection/assets/icons/general/globe.svg +11 -0
- package/dist/collection/assets/icons/general/hash.svg +10 -0
- package/dist/collection/assets/icons/general/hat.svg +12 -0
- package/dist/collection/assets/icons/general/home.svg +10 -0
- package/dist/collection/assets/icons/general/integration.svg +10 -0
- package/dist/collection/assets/icons/general/language.svg +11 -0
- package/dist/collection/assets/icons/general/laptop.svg +10 -0
- package/dist/collection/assets/icons/general/location.svg +11 -0
- package/dist/collection/assets/icons/general/mail.svg +11 -0
- package/dist/collection/assets/icons/general/medal.svg +11 -0
- package/dist/collection/assets/icons/general/menu-arrow.svg +10 -0
- package/dist/collection/assets/icons/general/menu.svg +10 -0
- package/dist/collection/assets/icons/general/minus.svg +10 -0
- package/dist/collection/assets/icons/general/more.svg +10 -0
- package/dist/collection/assets/icons/general/negative.svg +10 -0
- package/dist/collection/assets/icons/general/other.svg +10 -0
- package/dist/collection/assets/icons/general/pay.svg +11 -0
- package/dist/collection/assets/icons/general/pencil.svg +10 -0
- package/dist/collection/assets/icons/general/percent.svg +10 -0
- package/dist/collection/assets/icons/general/pie-chart.svg +10 -0
- package/dist/collection/assets/icons/general/placeholder.svg +10 -0
- package/dist/collection/assets/icons/general/plus.svg +10 -0
- package/dist/collection/assets/icons/general/power.svg +10 -0
- package/dist/collection/assets/icons/general/receipt.svg +10 -0
- package/dist/collection/assets/icons/general/reset.svg +11 -0
- package/dist/collection/assets/icons/general/search.svg +10 -0
- package/dist/collection/assets/icons/general/send.svg +10 -0
- package/dist/collection/assets/icons/general/settings.svg +11 -0
- package/dist/collection/assets/icons/general/shuffle.svg +11 -0
- package/dist/collection/assets/icons/general/sick.svg +10 -0
- package/dist/collection/assets/icons/general/signature.svg +10 -0
- package/dist/collection/assets/icons/general/sparkle.svg +10 -0
- package/dist/collection/assets/icons/general/star.svg +10 -0
- package/dist/collection/assets/icons/general/stroller.svg +12 -0
- package/dist/collection/assets/icons/general/tag.svg +11 -0
- package/dist/collection/assets/icons/general/tasks.svg +10 -0
- package/dist/collection/assets/icons/general/tools.svg +10 -0
- package/dist/collection/assets/icons/general/tooth.svg +10 -0
- package/dist/collection/assets/icons/general/train.svg +11 -0
- package/dist/collection/assets/icons/general/trash.svg +10 -0
- package/dist/collection/assets/icons/general/upload.svg +10 -0
- package/dist/collection/assets/icons/general/wave.svg +12 -0
- package/dist/collection/assets/icons/general/zipcode.svg +12 -0
- package/dist/collection/assets/icons/security/eye-closed.svg +10 -0
- package/dist/collection/assets/icons/security/eye.svg +11 -0
- package/dist/collection/assets/icons/security/key.svg +11 -0
- package/dist/collection/assets/icons/security/lock.svg +12 -0
- package/dist/collection/assets/icons/security/unlocked.svg +12 -0
- package/dist/collection/assets/icons/time/alarm.svg +11 -0
- package/dist/collection/assets/icons/time/calendar-free.svg +11 -0
- package/dist/collection/assets/icons/time/calendar-multi.svg +11 -0
- package/dist/collection/assets/icons/time/calendar-not-free.svg +10 -0
- package/dist/collection/assets/icons/time/calendar.svg +11 -0
- package/dist/collection/assets/icons/time/clock.svg +11 -0
- package/dist/collection/assets/icons/users/female.svg +10 -0
- package/dist/collection/assets/icons/users/id-two.svg +10 -0
- package/dist/collection/assets/icons/users/id.svg +12 -0
- package/dist/collection/assets/icons/users/male.svg +10 -0
- package/dist/collection/assets/icons/users/user.svg +10 -0
- package/dist/collection/assets/icons/users/users.svg +11 -0
- package/dist/collection/collection-manifest.json +6 -1
- package/dist/collection/components/atoms/avatar/avatar.component.css +1 -1
- package/dist/collection/components/atoms/avatar/avatar.component.js +28 -32
- package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +71 -3
- package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
- package/dist/collection/components/atoms/badge/badge.component.css +1 -0
- package/dist/collection/components/atoms/badge/badge.component.js +18 -0
- package/dist/collection/components/atoms/badge/badge.component.js.map +1 -0
- package/dist/collection/components/atoms/badge/test/badge.component.e2e.js +26 -0
- package/dist/collection/components/atoms/badge/test/badge.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/badge/test/badge.component.spec.js +17 -0
- package/dist/collection/components/atoms/badge/test/badge.component.spec.js.map +1 -0
- package/dist/collection/components/atoms/card-body/card-body.component.css +1 -1
- package/dist/collection/components/atoms/card-container/card-container.component.css +1 -1
- package/dist/collection/components/atoms/card-header/card-header.component.css +1 -1
- package/dist/collection/components/atoms/counter/counter.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -1
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -1
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -1
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js.map +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +58 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +72 -3
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js +26 -1
- package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +84 -0
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js.map +1 -0
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js +26 -0
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js +17 -0
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js.map +1 -0
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +45 -55
- package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
- package/dist/collection/components/atoms/icon-deprecated/icon.component.css +1 -0
- package/dist/collection/components/atoms/icon-deprecated/icon.component.js +159 -0
- package/dist/collection/components/atoms/icon-deprecated/icon.component.js.map +1 -0
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js +37 -0
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js +47 -0
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js.map +1 -0
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
- package/dist/collection/components/atoms/label/label.component.css +1 -1
- package/dist/collection/components/atoms/label/label.component.js +2 -2
- package/dist/collection/components/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.js.map +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.css +1 -0
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +18 -0
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js.map +1 -0
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js +26 -0
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js +17 -0
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js.map +1 -0
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -1
- package/dist/collection/components/atoms/status/status.component.css +1 -1
- package/dist/collection/components/atoms/status/status.component.js +2 -2
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -1
- package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -1
- package/dist/collection/components/atoms/table-container/table-container.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
- package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +3 -7
- package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -1
- package/dist/collection/components/molecules/button/button.component.css +1 -0
- package/dist/collection/components/molecules/button/button.component.js +707 -0
- package/dist/collection/components/molecules/button/button.component.js.map +1 -0
- package/dist/collection/components/molecules/button/test/button.component.e2e.js.map +1 -0
- package/dist/collection/components/molecules/button/test/button.component.spec.js.map +1 -0
- package/dist/collection/components/molecules/button-group/button-group.component.js +5 -5
- package/dist/collection/components/molecules/button-group/button-group.component.js.map +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +13 -16
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
- package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +29 -16
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
- package/dist/collection/components/molecules/input-error/input-error.component.js +1 -3
- package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -1
- package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
- package/dist/collection/components/molecules/input-group/input-group.component.js +2 -2
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +82 -48
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.css +1 -0
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +43 -0
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +1 -0
- package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js +26 -0
- package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js.map +1 -0
- package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js +17 -0
- package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js.map +1 -0
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +8 -8
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.js +4 -4
- package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
- package/dist/collection/components/molecules/profile/profile.component.css +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +48 -40
- package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
- package/dist/collection/components/molecules/select/select.component.css +1 -1
- package/dist/collection/components/molecules/select/select.component.js +4 -4
- package/dist/collection/components/molecules/select/select.component.js.map +1 -1
- package/dist/collection/components/molecules/stepper/stepper.component.js +5 -7
- package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -1
- package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -3
- package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.css +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.js +31 -17
- package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -1
- package/dist/collection/components/molecules/table-row/table-row.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js.map +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +45 -47
- package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
- package/dist/collection/components/organisms/table/table.component.css +1 -1
- package/dist/collection/components/organisms/table/table.component.js +26 -5
- package/dist/collection/components/organisms/table/table.component.js.map +1 -1
- package/dist/collection/tailwind/paperless.js +29 -17
- package/dist/collection/tailwind/paperless.js.map +1 -1
- package/dist/collection/tailwind/theme/colors.js +128 -2
- package/dist/collection/tailwind/theme/colors.js.map +1 -1
- package/dist/collection/tailwind/theme/height.js +1 -0
- package/dist/collection/tailwind/theme/height.js.map +1 -1
- package/dist/collection/tailwind/theme/shadows.js +12 -9
- package/dist/collection/tailwind/theme/shadows.js.map +1 -1
- package/dist/collection/tailwind/theme/typography.js +11 -15
- package/dist/collection/tailwind/theme/typography.js.map +1 -1
- package/dist/collection/tailwind/theme/width.js +1 -0
- package/dist/collection/tailwind/theme/width.js.map +1 -1
- package/dist/collection/tailwind.config.js +1 -0
- package/dist/collection/tailwind.config.js.map +1 -1
- package/dist/collection/types/iban.js +11 -0
- package/dist/collection/types/iban.js.map +1 -0
- package/dist/collection/types/index.js +1 -0
- package/dist/collection/types/index.js.map +1 -1
- package/dist/collection/types/tailwind.js.map +1 -1
- package/dist/collection/utils/cn.js +6 -0
- package/dist/collection/utils/cn.js.map +1 -0
- package/dist/collection/utils/icons-deprecated.js +135 -0
- package/dist/collection/utils/icons-deprecated.js.map +1 -0
- package/dist/collection/utils/icons.js +311 -108
- package/dist/collection/utils/icons.js.map +1 -1
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/collection/utils/table-helpers.js +5 -0
- package/dist/collection/utils/table-helpers.js.map +1 -1
- package/dist/components/_commonjsHelpers.js +21 -0
- package/dist/components/_commonjsHelpers.js.map +1 -0
- package/dist/components/avatar.component.js +26 -13
- package/dist/components/avatar.component.js.map +1 -1
- package/dist/components/backdrop.component.js +58 -6
- package/dist/components/backdrop.component.js.map +1 -1
- package/dist/components/badge.component.js +31 -0
- package/dist/components/badge.component.js.map +1 -0
- package/dist/components/button.component.js +240 -10
- package/dist/components/button.component.js.map +1 -1
- package/dist/components/calendar.component.js +14 -17
- package/dist/components/calendar.component.js.map +1 -1
- package/dist/components/divider.component.js +2 -2
- package/dist/components/divider.component.js.map +1 -1
- package/dist/components/drawer-body.component.js +1 -1
- package/dist/components/drawer-body.component.js.map +1 -1
- package/dist/components/drawer-container.component.js +1 -1
- package/dist/components/drawer-container.component.js.map +1 -1
- package/dist/components/drawer-header.component.js +2 -2
- package/dist/components/drawer-header.component.js.map +1 -1
- package/dist/components/dropdown-menu-container.component.js +43 -2
- package/dist/components/dropdown-menu-container.component.js.map +1 -1
- package/dist/components/dropdown-menu-item.component.js +56 -4
- package/dist/components/dropdown-menu-item.component.js.map +1 -1
- package/dist/components/dropdown.component.js +31 -18
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/floating-menu-container.component.js +1 -1
- package/dist/components/floating-menu-container.component.js.map +1 -1
- package/dist/components/floating-menu-item.component.js +1 -1
- package/dist/components/floating-menu-item.component.js.map +1 -1
- package/dist/components/helper.component.js +4 -2
- package/dist/components/helper.component.js.map +1 -1
- package/dist/components/iban.js +14 -0
- package/dist/components/iban.js.map +1 -0
- package/dist/components/icon.component.js +40 -1161
- package/dist/components/icon.component.js.map +1 -1
- package/dist/components/icons-deprecated.js +1121 -0
- package/dist/components/icons-deprecated.js.map +1 -0
- package/dist/components/icons.js +1546 -0
- package/dist/components/icons.js.map +1 -0
- package/dist/components/index.js +299 -188
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +46 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/input-error.component.js +1 -3
- package/dist/components/input-error.component.js.map +1 -1
- package/dist/components/input-group.component.js +1 -1
- package/dist/components/input-group.component.js.map +1 -1
- package/dist/components/label.component.js +1 -1
- package/dist/components/label.component.js.map +1 -1
- package/dist/components/loader.component.js +1 -1
- package/dist/components/loader.component.js.map +1 -1
- package/dist/components/modal-body.component.js +1 -1
- package/dist/components/modal-body.component.js.map +1 -1
- package/dist/components/modal-container.component.js +1 -1
- package/dist/components/modal-container.component.js.map +1 -1
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-footer.component.js.map +1 -1
- package/dist/components/modal-header.component.js +2 -2
- package/dist/components/modal-header.component.js.map +1 -1
- package/dist/components/navigation-title.component.js +31 -0
- package/dist/components/navigation-title.component.js.map +1 -0
- package/dist/components/object-get-by-path.js +5 -0
- package/dist/components/object-get-by-path.js.map +1 -1
- package/dist/components/p-accordion.js +2 -2
- package/dist/components/p-accordion.js.map +1 -1
- package/dist/components/p-attachment.js +4 -8
- package/dist/components/p-attachment.js.map +1 -1
- package/dist/components/p-avatar-group.js +2 -2
- package/dist/components/p-avatar-group.js.map +1 -1
- package/dist/components/p-badge.d.ts +11 -0
- package/dist/components/p-badge.js +8 -0
- package/dist/components/p-badge.js.map +1 -0
- package/dist/components/p-button-group.js +2 -2
- package/dist/components/p-button-group.js.map +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-body.js.map +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-container.js.map +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-card-header.js.map +1 -1
- package/dist/components/p-counter.js +33 -1
- package/dist/components/p-counter.js.map +1 -1
- package/dist/components/p-cropper.js +2 -3
- package/dist/components/p-cropper.js.map +1 -1
- package/dist/components/p-iban-icon.d.ts +11 -0
- package/dist/components/p-iban-icon.js +64 -0
- package/dist/components/p-iban-icon.js.map +1 -0
- package/dist/components/p-icon-deprecated.d.ts +11 -0
- package/dist/components/p-icon-deprecated.js +79 -0
- package/dist/components/p-icon-deprecated.js.map +1 -0
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-info-panel.js.map +1 -1
- package/dist/components/p-navbar.js +46 -10
- package/dist/components/p-navbar.js.map +1 -1
- package/dist/components/p-navigation-item.js +2862 -22
- package/dist/components/p-navigation-item.js.map +1 -1
- package/dist/components/p-navigation-section.d.ts +11 -0
- package/dist/components/p-navigation-section.js +44 -0
- package/dist/components/p-navigation-section.js.map +1 -0
- package/dist/components/p-navigation-title.d.ts +11 -0
- package/dist/components/p-navigation-title.js +8 -0
- package/dist/components/p-navigation-title.js.map +1 -0
- package/dist/components/p-profile.js +54 -26
- package/dist/components/p-profile.js.map +1 -1
- package/dist/components/p-select.js +3 -3
- package/dist/components/p-select.js.map +1 -1
- package/dist/components/p-status.js +1 -1
- package/dist/components/p-status.js.map +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper-item.js.map +1 -1
- package/dist/components/p-stepper.js +5 -7
- package/dist/components/p-stepper.js.map +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-tab-item.js.map +1 -1
- package/dist/components/p-table.js +9 -5
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/p-toast.js +2 -2
- package/dist/components/p-toast.js.map +1 -1
- package/dist/components/page-size-select.component.js +5 -5
- package/dist/components/page-size-select.component.js.map +1 -1
- package/dist/components/pagination-item.component.js +1 -1
- package/dist/components/pagination-item.component.js.map +1 -1
- package/dist/components/pagination.component.js +4 -4
- package/dist/components/pagination.component.js.map +1 -1
- package/dist/components/segment-container.component.js +1 -1
- package/dist/components/segment-container.component.js.map +1 -1
- package/dist/components/segment-item.component.js +1 -1
- package/dist/components/segment-item.component.js.map +1 -1
- package/dist/components/slider-indicator.component.js +1 -1
- package/dist/components/slider-indicator.component.js.map +1 -1
- package/dist/components/stepper-line.component.js +1 -1
- package/dist/components/stepper-line.component.js.map +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-cell.component.js.map +1 -1
- package/dist/components/table-container.component.js +1 -1
- package/dist/components/table-container.component.js.map +1 -1
- package/dist/components/table-footer.component.js +1 -3
- package/dist/components/table-footer.component.js.map +1 -1
- package/dist/components/table-header.component.js +14 -17
- package/dist/components/table-header.component.js.map +1 -1
- package/dist/components/table-row.component.js +1 -1
- package/dist/components/table-row.component.js.map +1 -1
- package/dist/components/tooltip.component.js +1 -1
- package/dist/components/tooltip.component.js.map +1 -1
- package/dist/esm/_commonjsHelpers-e9b9b14e.js +21 -0
- package/dist/esm/_commonjsHelpers-e9b9b14e.js.map +1 -0
- package/dist/esm/clsx-297c1ffe.js +5 -0
- package/dist/esm/clsx-297c1ffe.js.map +1 -0
- package/dist/esm/iban-c412c889.js +14 -0
- package/dist/esm/iban-c412c889.js.map +1 -0
- package/dist/esm/icons-cf12e4d2.js +1546 -0
- package/dist/esm/icons-cf12e4d2.js.map +1 -0
- package/dist/esm/icons-deprecated-2e1d124f.js +1121 -0
- package/dist/esm/icons-deprecated-2e1d124f.js.map +1 -0
- package/dist/esm/index-10317a74.js +46 -0
- package/dist/esm/index-10317a74.js.map +1 -0
- package/dist/esm/index-f99096d4.js +2628 -0
- package/dist/esm/index-f99096d4.js.map +1 -0
- package/dist/esm/index.js +300 -189
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/object-get-by-path-273a7106.js +114 -0
- package/dist/esm/object-get-by-path-273a7106.js.map +1 -0
- package/dist/esm/p-accordion.entry.js +3 -3
- package/dist/esm/p-accordion.entry.js.map +1 -1
- package/dist/esm/p-attachment.entry.js +5 -9
- package/dist/esm/p-attachment.entry.js.map +1 -1
- package/dist/esm/p-avatar-group.entry.js +3 -3
- package/dist/esm/p-avatar-group.entry.js.map +1 -1
- package/dist/esm/p-avatar.entry.js +28 -13
- package/dist/esm/p-avatar.entry.js.map +1 -1
- package/dist/esm/p-backdrop.entry.js +57 -4
- package/dist/esm/p-backdrop.entry.js.map +1 -1
- package/dist/esm/p-badge.entry.js +17 -0
- package/dist/esm/p-badge.entry.js.map +1 -0
- package/dist/esm/p-button-group.entry.js +3 -3
- package/dist/esm/p-button-group.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +280 -1173
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +15 -18
- package/dist/esm/p-calendar.entry.js.map +1 -1
- package/dist/esm/p-card-body.entry.js +2 -2
- package/dist/esm/p-card-body.entry.js.map +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-container.entry.js.map +1 -1
- package/dist/esm/p-card-header.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js.map +1 -1
- package/dist/esm/p-content-slider.entry.js +1 -1
- package/dist/esm/p-counter.entry.js +2 -2
- package/dist/esm/p-counter.entry.js.map +1 -1
- package/dist/esm/p-cropper.entry.js +3 -4
- package/dist/esm/p-cropper.entry.js.map +1 -1
- package/dist/esm/p-datepicker.entry.js +1 -1
- package/dist/esm/p-divider.entry.js +3 -3
- package/dist/esm/p-divider.entry.js.map +1 -1
- package/dist/esm/p-drawer-body_3.entry.js +5 -5
- package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
- package/dist/esm/p-drawer.entry.js +1 -1
- package/dist/esm/p-dropdown-menu-container.entry.js +44 -3
- package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
- package/dist/esm/p-dropdown_2.entry.js +85 -19
- package/dist/esm/p-dropdown_2.entry.js.map +1 -1
- package/dist/esm/p-floating-menu-container_8.entry.js +21 -27
- package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
- package/dist/esm/p-helper_3.entry.js +6 -7
- package/dist/esm/p-helper_3.entry.js.map +1 -1
- package/dist/esm/p-iban-icon.entry.js +43 -0
- package/dist/esm/p-iban-icon.entry.js.map +1 -0
- package/dist/esm/p-icon-deprecated.entry.js +57 -0
- package/dist/esm/p-icon-deprecated.entry.js.map +1 -0
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-info-panel.entry.js.map +1 -1
- package/dist/esm/p-label_3.entry.js +4 -4
- package/dist/esm/p-label_3.entry.js.map +1 -1
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-modal.entry.js +1 -1
- package/dist/esm/p-navbar.entry.js +47 -8
- package/dist/esm/p-navbar.entry.js.map +1 -1
- package/dist/esm/p-navigation-item.entry.js +2854 -6
- package/dist/esm/p-navigation-item.entry.js.map +1 -1
- package/dist/esm/p-navigation-section.entry.js +19 -0
- package/dist/esm/p-navigation-section.entry.js.map +1 -0
- package/dist/esm/p-navigation-title.entry.js +17 -0
- package/dist/esm/p-navigation-title.entry.js.map +1 -0
- package/dist/esm/p-page-size-select_3.entry.js +11 -11
- package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
- package/dist/esm/p-profile.entry.js +33 -15
- package/dist/esm/p-profile.entry.js.map +1 -1
- package/dist/esm/p-select.entry.js +4 -4
- package/dist/esm/p-select.entry.js.map +1 -1
- package/dist/esm/p-slider-indicator.entry.js +2 -2
- package/dist/esm/p-slider-indicator.entry.js.map +1 -1
- package/dist/esm/p-status.entry.js +2 -2
- package/dist/esm/p-status.entry.js.map +1 -1
- package/dist/esm/p-stepper-item.entry.js +2 -2
- package/dist/esm/p-stepper-item.entry.js.map +1 -1
- package/dist/esm/p-stepper-line.entry.js +2 -2
- package/dist/esm/p-stepper-line.entry.js.map +1 -1
- package/dist/esm/p-stepper.entry.js +6 -8
- package/dist/esm/p-stepper.entry.js.map +1 -1
- package/dist/esm/p-tab-group.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js.map +1 -1
- package/dist/esm/p-table-column.entry.js +1 -1
- package/dist/esm/p-table-row-action.entry.js +1 -1
- package/dist/esm/p-table.entry.js +9 -6
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/p-toast-container.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +3 -3
- package/dist/esm/p-toast.entry.js.map +1 -1
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/esm/p-tooltip.entry.js.map +1 -1
- package/dist/esm/paperless.js +3 -3
- 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-013cd7f9.entry.js +2 -0
- package/dist/paperless/p-0348e450.entry.js +2 -0
- package/dist/paperless/p-0348e450.entry.js.map +1 -0
- package/dist/paperless/p-047c1c6f.entry.js +2 -0
- package/dist/paperless/p-047c1c6f.entry.js.map +1 -0
- package/dist/paperless/p-08ea38ad.entry.js +2 -0
- package/dist/paperless/p-08ea38ad.entry.js.map +1 -0
- package/dist/paperless/p-16a18649.entry.js +2 -0
- package/dist/paperless/p-16a18649.entry.js.map +1 -0
- package/dist/paperless/p-221dbb71.entry.js +2 -0
- package/dist/paperless/p-221dbb71.entry.js.map +1 -0
- package/dist/paperless/p-23ca3688.entry.js +2 -0
- package/dist/paperless/p-23ca3688.entry.js.map +1 -0
- package/dist/paperless/p-28d14744.entry.js +2 -0
- package/dist/paperless/p-28d14744.entry.js.map +1 -0
- package/dist/paperless/p-2e3b9db4.js +2 -0
- package/dist/paperless/p-2e3b9db4.js.map +1 -0
- package/dist/paperless/p-2f9e9197.entry.js +2 -0
- package/dist/paperless/p-2f9e9197.entry.js.map +1 -0
- package/dist/paperless/p-32056913.entry.js +2 -0
- package/dist/paperless/p-32056913.entry.js.map +1 -0
- package/dist/paperless/p-385943b2.entry.js +2 -0
- package/dist/paperless/p-385943b2.entry.js.map +1 -0
- package/dist/paperless/p-393eba2f.entry.js +2 -0
- package/dist/paperless/p-393eba2f.entry.js.map +1 -0
- package/dist/paperless/p-3d867690.entry.js +2 -0
- package/dist/paperless/p-3d867690.entry.js.map +1 -0
- package/dist/paperless/p-3e9d994a.entry.js +2 -0
- package/dist/paperless/p-3e9d994a.entry.js.map +1 -0
- package/dist/paperless/p-45463125.entry.js +2 -0
- package/dist/paperless/p-45463125.entry.js.map +1 -0
- package/dist/paperless/p-5ab354bf.entry.js +2 -0
- package/dist/paperless/p-5ab354bf.entry.js.map +1 -0
- package/dist/paperless/p-5e789bb1.entry.js +2 -0
- package/dist/paperless/p-5e789bb1.entry.js.map +1 -0
- package/dist/paperless/p-64765a81.js +2 -0
- package/dist/paperless/p-64765a81.js.map +1 -0
- package/dist/paperless/p-64b53130.entry.js +2 -0
- package/dist/paperless/p-64b53130.entry.js.map +1 -0
- package/dist/paperless/p-64b68231.js +3 -0
- package/dist/paperless/p-64b68231.js.map +1 -0
- package/dist/paperless/p-6cddc325.js +2 -0
- package/dist/paperless/p-6cddc325.js.map +1 -0
- package/dist/paperless/p-6e71ebca.entry.js +2 -0
- package/dist/paperless/p-6e71ebca.entry.js.map +1 -0
- package/dist/paperless/p-6f7721eb.entry.js +2 -0
- package/dist/paperless/p-6f7721eb.entry.js.map +1 -0
- package/dist/paperless/p-6fed974c.entry.js +2 -0
- package/dist/paperless/p-6fed974c.entry.js.map +1 -0
- package/dist/paperless/p-75006522.js +2 -0
- package/dist/paperless/p-75006522.js.map +1 -0
- package/dist/paperless/p-7a577384.entry.js +2 -0
- package/dist/paperless/p-7a577384.entry.js.map +1 -0
- package/dist/paperless/p-7beb3401.entry.js +2 -0
- package/dist/paperless/p-851a7662.entry.js +2 -0
- package/dist/paperless/p-851a7662.entry.js.map +1 -0
- package/dist/paperless/p-8a1a6e56.js +2 -0
- package/dist/paperless/p-8a1a6e56.js.map +1 -0
- package/dist/paperless/p-8a5b8196.js +2 -0
- package/dist/paperless/p-8a5b8196.js.map +1 -0
- package/dist/paperless/p-909879e3.entry.js +3 -0
- package/dist/paperless/p-909879e3.entry.js.map +1 -0
- package/dist/paperless/p-92f2aa3a.entry.js +2 -0
- package/dist/paperless/p-92f2aa3a.entry.js.map +1 -0
- package/dist/paperless/p-937b2d74.entry.js +2 -0
- package/dist/paperless/p-937b2d74.entry.js.map +1 -0
- package/dist/paperless/p-9fa5d08a.entry.js +2 -0
- package/dist/paperless/p-a587ff9f.entry.js +2 -0
- package/dist/paperless/p-a587ff9f.entry.js.map +1 -0
- package/dist/paperless/p-a7b8e22f.entry.js +2 -0
- package/dist/paperless/p-a7b8e22f.entry.js.map +1 -0
- package/dist/paperless/p-aa058967.entry.js +2 -0
- package/dist/paperless/p-aa058967.entry.js.map +1 -0
- package/dist/paperless/p-aab1cda1.entry.js +2 -0
- package/dist/paperless/p-aab1cda1.entry.js.map +1 -0
- package/dist/paperless/p-b8e718c7.entry.js +2 -0
- package/dist/paperless/p-b8e718c7.entry.js.map +1 -0
- package/dist/paperless/p-b9a7e240.entry.js +2 -0
- package/dist/paperless/p-b9a7e240.entry.js.map +1 -0
- package/dist/paperless/p-bc46f89a.entry.js +2 -0
- package/dist/paperless/p-be0c925e.entry.js +2 -0
- package/dist/paperless/p-bfbab545.entry.js +2 -0
- package/dist/paperless/p-bfbab545.entry.js.map +1 -0
- package/dist/paperless/p-c6bcbcbf.entry.js +2 -0
- package/dist/paperless/p-cb7c509e.entry.js +2 -0
- package/dist/paperless/p-cb8a454c.entry.js +2 -0
- package/dist/paperless/p-cb8a454c.entry.js.map +1 -0
- package/dist/paperless/p-cc321a7b.entry.js +2 -0
- package/dist/paperless/p-cc321a7b.entry.js.map +1 -0
- package/dist/paperless/p-d5d413a1.js +2 -0
- package/dist/paperless/p-d5d413a1.js.map +1 -0
- package/dist/paperless/p-d7dbd13e.entry.js +2 -0
- package/dist/paperless/p-d7dbd13e.entry.js.map +1 -0
- package/dist/paperless/p-d81a30f6.entry.js +2 -0
- package/dist/paperless/p-d81a30f6.entry.js.map +1 -0
- package/dist/paperless/p-dce95c92.entry.js +2 -0
- package/dist/paperless/p-dce95c92.entry.js.map +1 -0
- package/dist/paperless/p-dd6d3839.entry.js +2 -0
- package/dist/paperless/p-e10cf2d3.entry.js +2 -0
- package/dist/paperless/p-e10cf2d3.entry.js.map +1 -0
- package/dist/paperless/p-ea3bce45.entry.js +2 -0
- package/dist/paperless/p-ece8998b.entry.js +2 -0
- package/dist/paperless/p-ece8998b.entry.js.map +1 -0
- package/dist/paperless/p-f78afad9.entry.js +2 -0
- package/dist/paperless/p-f78afad9.entry.js.map +1 -0
- package/dist/paperless/p-fcaa0539.entry.js +2 -0
- package/dist/paperless/p-fcaa0539.entry.js.map +1 -0
- package/dist/paperless/paperless.css +1 -1430
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/style/_fonts.scss +2 -69
- package/dist/style/_reset.scss +26 -23
- package/dist/style/_typograhpy.scss +23 -23
- package/dist/style/form/_checkbox.scss +2 -2
- package/dist/style/form/_mixins.scss +1 -1
- package/dist/style/form/_radio.scss +2 -2
- package/dist/style/form/_range.scss +14 -14
- package/dist/style/paperless.scss +4 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/paperless.ts +19 -16
- package/dist/tailwind/theme/colors.ts +133 -2
- package/dist/tailwind/theme/height.ts +1 -0
- package/dist/tailwind/theme/shadows.ts +12 -9
- package/dist/tailwind/theme/typography.ts +11 -15
- package/dist/tailwind/theme/width.ts +1 -0
- package/dist/tailwind.config.ts +1 -0
- package/dist/types/components/atoms/avatar/avatar.component.d.ts +2 -6
- package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +5 -0
- package/dist/types/components/atoms/badge/badge.component.d.ts +3 -0
- package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
- package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +4 -0
- package/dist/types/components/atoms/helper/helper.component.d.ts +5 -1
- package/dist/types/components/atoms/iban-icon/iban-icon.component.d.ts +13 -0
- package/dist/types/components/atoms/icon/icon.component.d.ts +4 -4
- package/dist/types/components/atoms/icon-deprecated/icon.component.d.ts +23 -0
- package/dist/types/components/atoms/navigation-title/navigation-title.component.d.ts +3 -0
- package/dist/types/components/molecules/button/button.component.d.ts +92 -0
- package/dist/types/components/molecules/button-group/button-group.component.d.ts +1 -1
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +1 -0
- package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +10 -10
- package/dist/types/components/molecules/navigation-section/navigation-section.component.d.ts +7 -0
- package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +1 -1
- package/dist/types/components/molecules/profile/profile.component.d.ts +6 -7
- package/dist/types/components/molecules/table-header/table-header.component.d.ts +4 -0
- package/dist/types/components/organisms/navbar/navbar.component.d.ts +1 -9
- package/dist/types/components/organisms/table/table.component.d.ts +5 -0
- package/dist/types/components.d.ts +246 -89
- package/dist/types/tailwind/theme/colors.d.ts +127 -2
- package/dist/types/tailwind/theme/height.d.ts +1 -0
- package/dist/types/tailwind/theme/shadows.d.ts +5 -7
- package/dist/types/tailwind/theme/typography.d.ts +11 -15
- package/dist/types/tailwind/theme/width.d.ts +1 -0
- package/dist/types/types/iban.d.ts +2 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/tailwind.d.ts +1 -1
- package/dist/types/utils/cn.d.ts +2 -0
- package/dist/types/utils/icons-deprecated.d.ts +68 -0
- package/dist/types/utils/icons.d.ts +200 -43
- package/dist/types/utils/index.d.ts +1 -0
- package/hydrate/index.js +5342 -388
- package/package.json +7 -5
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.svg +0 -336
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.woff2 +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.svg +0 -337
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.woff2 +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.svg +0 -336
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.woff2 +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.svg +0 -336
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.woff2 +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.svg +0 -337
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.woff2 +0 -0
- package/dist/build/p-00d4647f.entry.js +0 -2
- package/dist/build/p-00d4647f.entry.js.map +0 -1
- package/dist/build/p-0cbff44f.entry.js +0 -2
- package/dist/build/p-0cbff44f.entry.js.map +0 -1
- package/dist/build/p-179efb16.entry.js +0 -2
- package/dist/build/p-179efb16.entry.js.map +0 -1
- package/dist/build/p-2becd73c.entry.js +0 -2
- package/dist/build/p-2becd73c.entry.js.map +0 -1
- package/dist/build/p-2c2cf3cf.entry.js +0 -2
- package/dist/build/p-2c2cf3cf.entry.js.map +0 -1
- package/dist/build/p-2cd5062f.entry.js +0 -2
- package/dist/build/p-2cd5062f.entry.js.map +0 -1
- package/dist/build/p-2d3ff364.entry.js +0 -2
- package/dist/build/p-2d3ff364.entry.js.map +0 -1
- package/dist/build/p-30c9f5e3.entry.js +0 -2
- package/dist/build/p-30c9f5e3.entry.js.map +0 -1
- package/dist/build/p-35c563a7.entry.js +0 -2
- package/dist/build/p-35c563a7.entry.js.map +0 -1
- package/dist/build/p-3755da14.entry.js +0 -2
- package/dist/build/p-3755da14.entry.js.map +0 -1
- package/dist/build/p-3764eab6.entry.js +0 -2
- package/dist/build/p-3764eab6.entry.js.map +0 -1
- package/dist/build/p-46052ca3.entry.js +0 -2
- package/dist/build/p-46052ca3.entry.js.map +0 -1
- package/dist/build/p-4c30c74b.entry.js +0 -2
- package/dist/build/p-4c30c74b.entry.js.map +0 -1
- package/dist/build/p-576b6378.entry.js +0 -2
- package/dist/build/p-5b062bc3.entry.js +0 -2
- package/dist/build/p-5fa3061e.entry.js +0 -2
- package/dist/build/p-5fa3061e.entry.js.map +0 -1
- package/dist/build/p-606ad811.entry.js +0 -2
- package/dist/build/p-639665b1.entry.js +0 -2
- package/dist/build/p-639665b1.entry.js.map +0 -1
- package/dist/build/p-66e3624b.js +0 -2
- package/dist/build/p-66e3624b.js.map +0 -1
- package/dist/build/p-699e0b35.entry.js +0 -2
- package/dist/build/p-699e0b35.entry.js.map +0 -1
- package/dist/build/p-6f24685c.entry.js +0 -2
- package/dist/build/p-7793ba3a.entry.js +0 -2
- package/dist/build/p-7793ba3a.entry.js.map +0 -1
- package/dist/build/p-7bf042c9.entry.js +0 -3
- package/dist/build/p-7bf042c9.entry.js.map +0 -1
- package/dist/build/p-7dc32e95.entry.js +0 -2
- package/dist/build/p-7dc32e95.entry.js.map +0 -1
- package/dist/build/p-8426ca20.entry.js +0 -2
- package/dist/build/p-8426ca20.entry.js.map +0 -1
- package/dist/build/p-867c00e9.entry.js +0 -2
- package/dist/build/p-867c00e9.entry.js.map +0 -1
- package/dist/build/p-8af4e8e9.entry.js +0 -2
- package/dist/build/p-8af4e8e9.entry.js.map +0 -1
- package/dist/build/p-95dc4bd3.entry.js +0 -2
- package/dist/build/p-a2b552f9.entry.js +0 -2
- package/dist/build/p-a2b552f9.entry.js.map +0 -1
- package/dist/build/p-af6b813e.entry.js +0 -2
- package/dist/build/p-af6b813e.entry.js.map +0 -1
- package/dist/build/p-b59115c3.entry.js +0 -2
- package/dist/build/p-b59115c3.entry.js.map +0 -1
- package/dist/build/p-bbe63029.entry.js +0 -2
- package/dist/build/p-c3999d3e.entry.js +0 -2
- package/dist/build/p-c3999d3e.entry.js.map +0 -1
- package/dist/build/p-cb2674b5.entry.js +0 -2
- package/dist/build/p-cf7bd354.entry.js +0 -2
- package/dist/build/p-cf7bd354.entry.js.map +0 -1
- package/dist/build/p-d0796984.entry.js +0 -2
- package/dist/build/p-d0796984.entry.js.map +0 -1
- package/dist/build/p-d7f2d4d3.entry.js +0 -2
- package/dist/build/p-d8641c29.entry.js +0 -2
- package/dist/build/p-d8641c29.entry.js.map +0 -1
- package/dist/build/p-dace47c5.entry.js +0 -2
- package/dist/build/p-dace47c5.entry.js.map +0 -1
- package/dist/build/p-dd070ee8.entry.js +0 -2
- package/dist/build/p-dd070ee8.entry.js.map +0 -1
- package/dist/build/p-e4d5e7a7.js +0 -3
- package/dist/build/p-e4d5e7a7.js.map +0 -1
- package/dist/build/p-ec15ee73.entry.js +0 -2
- package/dist/build/p-ec15ee73.entry.js.map +0 -1
- package/dist/build/p-ec29eed0.entry.js +0 -2
- package/dist/build/p-ec315c58.entry.js +0 -2
- package/dist/build/p-ec315c58.entry.js.map +0 -1
- package/dist/build/p-eebab75d.entry.js +0 -2
- package/dist/build/p-eebab75d.entry.js.map +0 -1
- package/dist/build/p-ef0bfa6c.entry.js +0 -2
- package/dist/build/p-ef0bfa6c.entry.js.map +0 -1
- package/dist/build/p-f2a896ba.entry.js +0 -2
- package/dist/build/p-f2a896ba.entry.js.map +0 -1
- package/dist/cjs/index-1fde8b14.js +0 -2627
- package/dist/cjs/index-1fde8b14.js.map +0 -1
- package/dist/cjs/object-get-by-path-7e65c82d.js +0 -115
- package/dist/cjs/object-get-by-path-7e65c82d.js.map +0 -1
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-300.svg +0 -336
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-500.svg +0 -337
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-600.svg +0 -336
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-700.svg +0 -336
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-regular.svg +0 -337
- package/dist/collection/components/atoms/button/button.component.css +0 -1
- package/dist/collection/components/atoms/button/button.component.js +0 -444
- package/dist/collection/components/atoms/button/button.component.js.map +0 -1
- package/dist/collection/components/atoms/button/test/button.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/button/test/button.component.spec.js.map +0 -1
- package/dist/collection/tailwind/theme/backdrop-blur.js +0 -4
- package/dist/collection/tailwind/theme/backdrop-blur.js.map +0 -1
- package/dist/collection/tailwind/theme/border-radius.js +0 -12
- package/dist/collection/tailwind/theme/border-radius.js.map +0 -1
- package/dist/components/counter.component.js +0 -37
- package/dist/components/counter.component.js.map +0 -1
- package/dist/esm/index-7b917f6b.js +0 -2598
- package/dist/esm/index-7b917f6b.js.map +0 -1
- package/dist/esm/object-get-by-path-56508a0e.js +0 -109
- package/dist/esm/object-get-by-path-56508a0e.js.map +0 -1
- package/dist/paperless/p-00d4647f.entry.js +0 -2
- package/dist/paperless/p-00d4647f.entry.js.map +0 -1
- package/dist/paperless/p-0cbff44f.entry.js +0 -2
- package/dist/paperless/p-0cbff44f.entry.js.map +0 -1
- package/dist/paperless/p-179efb16.entry.js +0 -2
- package/dist/paperless/p-179efb16.entry.js.map +0 -1
- package/dist/paperless/p-2becd73c.entry.js +0 -2
- package/dist/paperless/p-2becd73c.entry.js.map +0 -1
- package/dist/paperless/p-2c2cf3cf.entry.js +0 -2
- package/dist/paperless/p-2c2cf3cf.entry.js.map +0 -1
- package/dist/paperless/p-2cd5062f.entry.js +0 -2
- package/dist/paperless/p-2cd5062f.entry.js.map +0 -1
- package/dist/paperless/p-2d3ff364.entry.js +0 -2
- package/dist/paperless/p-2d3ff364.entry.js.map +0 -1
- package/dist/paperless/p-30c9f5e3.entry.js +0 -2
- package/dist/paperless/p-30c9f5e3.entry.js.map +0 -1
- package/dist/paperless/p-35c563a7.entry.js +0 -2
- package/dist/paperless/p-35c563a7.entry.js.map +0 -1
- package/dist/paperless/p-3755da14.entry.js +0 -2
- package/dist/paperless/p-3755da14.entry.js.map +0 -1
- package/dist/paperless/p-3764eab6.entry.js +0 -2
- package/dist/paperless/p-3764eab6.entry.js.map +0 -1
- package/dist/paperless/p-46052ca3.entry.js +0 -2
- package/dist/paperless/p-46052ca3.entry.js.map +0 -1
- package/dist/paperless/p-4c30c74b.entry.js +0 -2
- package/dist/paperless/p-4c30c74b.entry.js.map +0 -1
- package/dist/paperless/p-576b6378.entry.js +0 -2
- package/dist/paperless/p-5b062bc3.entry.js +0 -2
- package/dist/paperless/p-5fa3061e.entry.js +0 -2
- package/dist/paperless/p-5fa3061e.entry.js.map +0 -1
- package/dist/paperless/p-606ad811.entry.js +0 -2
- package/dist/paperless/p-639665b1.entry.js +0 -2
- package/dist/paperless/p-639665b1.entry.js.map +0 -1
- package/dist/paperless/p-66e3624b.js +0 -2
- package/dist/paperless/p-66e3624b.js.map +0 -1
- package/dist/paperless/p-699e0b35.entry.js +0 -2
- package/dist/paperless/p-699e0b35.entry.js.map +0 -1
- package/dist/paperless/p-6f24685c.entry.js +0 -2
- package/dist/paperless/p-7793ba3a.entry.js +0 -2
- package/dist/paperless/p-7793ba3a.entry.js.map +0 -1
- package/dist/paperless/p-7bf042c9.entry.js +0 -3
- package/dist/paperless/p-7bf042c9.entry.js.map +0 -1
- package/dist/paperless/p-7dc32e95.entry.js +0 -2
- package/dist/paperless/p-7dc32e95.entry.js.map +0 -1
- package/dist/paperless/p-8426ca20.entry.js +0 -2
- package/dist/paperless/p-8426ca20.entry.js.map +0 -1
- package/dist/paperless/p-867c00e9.entry.js +0 -2
- package/dist/paperless/p-867c00e9.entry.js.map +0 -1
- package/dist/paperless/p-8af4e8e9.entry.js +0 -2
- package/dist/paperless/p-8af4e8e9.entry.js.map +0 -1
- package/dist/paperless/p-95dc4bd3.entry.js +0 -2
- package/dist/paperless/p-a2b552f9.entry.js +0 -2
- package/dist/paperless/p-a2b552f9.entry.js.map +0 -1
- package/dist/paperless/p-af6b813e.entry.js +0 -2
- package/dist/paperless/p-af6b813e.entry.js.map +0 -1
- package/dist/paperless/p-b59115c3.entry.js +0 -2
- package/dist/paperless/p-b59115c3.entry.js.map +0 -1
- package/dist/paperless/p-bbe63029.entry.js +0 -2
- package/dist/paperless/p-c3999d3e.entry.js +0 -2
- package/dist/paperless/p-c3999d3e.entry.js.map +0 -1
- package/dist/paperless/p-cb2674b5.entry.js +0 -2
- package/dist/paperless/p-cf7bd354.entry.js +0 -2
- package/dist/paperless/p-cf7bd354.entry.js.map +0 -1
- package/dist/paperless/p-d0796984.entry.js +0 -2
- package/dist/paperless/p-d0796984.entry.js.map +0 -1
- package/dist/paperless/p-d7f2d4d3.entry.js +0 -2
- package/dist/paperless/p-d8641c29.entry.js +0 -2
- package/dist/paperless/p-d8641c29.entry.js.map +0 -1
- package/dist/paperless/p-dace47c5.entry.js +0 -2
- package/dist/paperless/p-dace47c5.entry.js.map +0 -1
- package/dist/paperless/p-dd070ee8.entry.js +0 -2
- package/dist/paperless/p-dd070ee8.entry.js.map +0 -1
- package/dist/paperless/p-e4d5e7a7.js +0 -3
- package/dist/paperless/p-e4d5e7a7.js.map +0 -1
- package/dist/paperless/p-ec15ee73.entry.js +0 -2
- package/dist/paperless/p-ec15ee73.entry.js.map +0 -1
- package/dist/paperless/p-ec29eed0.entry.js +0 -2
- package/dist/paperless/p-ec315c58.entry.js +0 -2
- package/dist/paperless/p-ec315c58.entry.js.map +0 -1
- package/dist/paperless/p-eebab75d.entry.js +0 -2
- package/dist/paperless/p-eebab75d.entry.js.map +0 -1
- package/dist/paperless/p-ef0bfa6c.entry.js +0 -2
- package/dist/paperless/p-ef0bfa6c.entry.js.map +0 -1
- package/dist/paperless/p-f2a896ba.entry.js +0 -2
- package/dist/paperless/p-f2a896ba.entry.js.map +0 -1
- package/dist/tailwind/theme/backdrop-blur.ts +0 -3
- package/dist/tailwind/theme/border-radius.ts +0 -11
- package/dist/types/components/atoms/button/button.component.d.ts +0 -84
- package/dist/types/tailwind/theme/backdrop-blur.d.ts +0 -4
- package/dist/types/tailwind/theme/border-radius.d.ts +0 -12
- /package/dist/assets/{icons → icons-old}/arrow.svg +0 -0
- /package/dist/assets/{icons → icons-old}/attachment.svg +0 -0
- /package/dist/assets/{icons → icons-old}/bread.svg +0 -0
- /package/dist/assets/{icons → icons-old}/calendar.svg +0 -0
- /package/dist/assets/{icons → icons-old}/camera.svg +0 -0
- /package/dist/assets/{icons → icons-old}/car.svg +0 -0
- /package/dist/assets/{icons → icons-old}/checklist.svg +0 -0
- /package/dist/assets/{icons → icons-old}/checkmark.svg +0 -0
- /package/dist/assets/{icons → icons-old}/chevron.svg +0 -0
- /package/dist/assets/{icons → icons-old}/chevrons.svg +0 -0
- /package/dist/assets/{icons → icons-old}/clock.svg +0 -0
- /package/dist/assets/{icons → icons-old}/cogs.svg +0 -0
- /package/dist/assets/{icons → icons-old}/colleagues.svg +0 -0
- /package/dist/assets/{icons → icons-old}/comment.svg +0 -0
- /package/dist/assets/{icons → icons-old}/companies.svg +0 -0
- /package/dist/assets/{icons → icons-old}/company.svg +0 -0
- /package/dist/assets/{icons → icons-old}/deactivate.svg +0 -0
- /package/dist/assets/{icons → icons-old}/document.svg +0 -0
- /package/dist/assets/{icons → icons-old}/download.svg +0 -0
- /package/dist/assets/{icons → icons-old}/envelope.svg +0 -0
- /package/dist/assets/{icons → icons-old}/explanation.svg +0 -0
- /package/dist/assets/{icons → icons-old}/eye.svg +0 -0
- /package/dist/assets/{icons → icons-old}/fa/piggy.svg +0 -0
- /package/dist/assets/{icons → icons-old}/filter.svg +0 -0
- /package/dist/assets/{icons → icons-old}/folder.svg +0 -0
- /package/dist/assets/{icons → icons-old}/formula.svg +0 -0
- /package/dist/assets/{icons → icons-old}/grid.svg +0 -0
- /package/dist/assets/{icons → icons-old}/hashtag.svg +0 -0
- /package/dist/assets/{icons → icons-old}/headset.svg +0 -0
- /package/dist/assets/{icons → icons-old}/hidden.svg +0 -0
- /package/dist/assets/{icons → icons-old}/iDeal.svg +0 -0
- /package/dist/assets/{icons → icons-old}/integration.svg +0 -0
- /package/dist/assets/{icons → icons-old}/list.svg +0 -0
- /package/dist/assets/{icons → icons-old}/location.svg +0 -0
- /package/dist/assets/{icons → icons-old}/lock.svg +0 -0
- /package/dist/assets/{icons → icons-old}/megaphone.svg +0 -0
- /package/dist/assets/{icons → icons-old}/menu.svg +0 -0
- /package/dist/assets/{icons → icons-old}/minus.svg +0 -0
- /package/dist/assets/{icons → icons-old}/more.svg +0 -0
- /package/dist/assets/{icons → icons-old}/negative.svg +0 -0
- /package/dist/assets/{icons → icons-old}/notification.svg +0 -0
- /package/dist/assets/{icons → icons-old}/pagination.svg +0 -0
- /package/dist/assets/{icons → icons-old}/payment.svg +0 -0
- /package/dist/assets/{icons → icons-old}/pencil.svg +0 -0
- /package/dist/assets/{icons → icons-old}/person.svg +0 -0
- /package/dist/assets/{icons → icons-old}/plan.svg +0 -0
- /package/dist/assets/{icons → icons-old}/plus.svg +0 -0
- /package/dist/assets/{icons → icons-old}/question.svg +0 -0
- /package/dist/assets/{icons → icons-old}/receipt.svg +0 -0
- /package/dist/assets/{icons → icons-old}/reload.svg +0 -0
- /package/dist/assets/{icons → icons-old}/report.svg +0 -0
- /package/dist/assets/{icons → icons-old}/review.svg +0 -0
- /package/dist/assets/{icons → icons-old}/search.svg +0 -0
- /package/dist/assets/{icons → icons-old}/settings.svg +0 -0
- /package/dist/assets/{icons → icons-old}/sick.svg +0 -0
- /package/dist/assets/{icons → icons-old}/signout.svg +0 -0
- /package/dist/assets/{icons → icons-old}/switch.svg +0 -0
- /package/dist/assets/{icons → icons-old}/tachometer.svg +0 -0
- /package/dist/assets/{icons → icons-old}/task.svg +0 -0
- /package/dist/assets/{icons → icons-old}/template.svg +0 -0
- /package/dist/assets/{icons → icons-old}/tool.svg +0 -0
- /package/dist/assets/{icons → icons-old}/trash.svg +0 -0
- /package/dist/assets/{icons → icons-old}/turn.svg +0 -0
- /package/dist/assets/{icons → icons-old}/unlock.svg +0 -0
- /package/dist/assets/{icons → icons-old}/upload.svg +0 -0
- /package/dist/assets/{icons → icons-old}/warning.svg +0 -0
- /package/dist/build/{p-d7f2d4d3.entry.js.map → p-013cd7f9.entry.js.map} +0 -0
- /package/dist/build/{p-cb2674b5.entry.js.map → p-7beb3401.entry.js.map} +0 -0
- /package/dist/build/{p-6f24685c.entry.js.map → p-9fa5d08a.entry.js.map} +0 -0
- /package/dist/build/{p-95dc4bd3.entry.js.map → p-bc46f89a.entry.js.map} +0 -0
- /package/dist/build/{p-ec29eed0.entry.js.map → p-be0c925e.entry.js.map} +0 -0
- /package/dist/build/{p-576b6378.entry.js.map → p-c6bcbcbf.entry.js.map} +0 -0
- /package/dist/build/{p-606ad811.entry.js.map → p-cb7c509e.entry.js.map} +0 -0
- /package/dist/build/{p-5b062bc3.entry.js.map → p-dd6d3839.entry.js.map} +0 -0
- /package/dist/build/{p-bbe63029.entry.js.map → p-ea3bce45.entry.js.map} +0 -0
- /package/dist/collection/assets/{icons → icons-old}/arrow.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/attachment.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/bread.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/calendar.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/camera.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/car.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/checklist.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/checkmark.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/chevron.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/chevrons.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/clock.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/cogs.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/colleagues.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/comment.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/companies.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/company.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/deactivate.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/document.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/download.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/envelope.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/explanation.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/eye.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/fa/piggy.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/filter.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/folder.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/formula.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/grid.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/hashtag.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/headset.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/hidden.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/iDeal.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/integration.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/list.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/location.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/lock.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/megaphone.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/menu.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/minus.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/more.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/negative.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/notification.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/pagination.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/payment.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/pencil.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/person.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/plan.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/plus.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/question.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/receipt.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/reload.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/report.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/review.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/search.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/settings.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/sick.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/signout.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/switch.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/tachometer.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/task.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/template.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/tool.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/trash.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/turn.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/unlock.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/upload.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/warning.svg +0 -0
- /package/dist/collection/components/{atoms → molecules}/button/test/button.component.e2e.js +0 -0
- /package/dist/collection/components/{atoms → molecules}/button/test/button.component.spec.js +0 -0
- /package/dist/paperless/{p-d7f2d4d3.entry.js.map → p-013cd7f9.entry.js.map} +0 -0
- /package/dist/paperless/{p-cb2674b5.entry.js.map → p-7beb3401.entry.js.map} +0 -0
- /package/dist/paperless/{p-6f24685c.entry.js.map → p-9fa5d08a.entry.js.map} +0 -0
- /package/dist/paperless/{p-95dc4bd3.entry.js.map → p-bc46f89a.entry.js.map} +0 -0
- /package/dist/paperless/{p-ec29eed0.entry.js.map → p-be0c925e.entry.js.map} +0 -0
- /package/dist/paperless/{p-576b6378.entry.js.map → p-c6bcbcbf.entry.js.map} +0 -0
- /package/dist/paperless/{p-606ad811.entry.js.map → p-cb7c509e.entry.js.map} +0 -0
- /package/dist/paperless/{p-5b062bc3.entry.js.map → p-dd6d3839.entry.js.map} +0 -0
- /package/dist/paperless/{p-bbe63029.entry.js.map → p-ea3bce45.entry.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f99096d4.js';
|
|
2
2
|
import { c as childOf } from './child-of-fec6ab3a.js';
|
|
3
3
|
import { _ as _typeof, g as getUTCWeekYear, s as startOfUTCWeek, a as startOfUTCISOWeek, r as requiredArgs, t as toDate, b as getUTCWeek, c as toInteger, d as getUTCISOWeek, e as getDefaultOptions, l as longFormatters, f as subMilliseconds, h as getTimezoneOffsetInMilliseconds, i as locale, j as isProtectedWeekYearToken, k as throwProtectedError, m as isProtectedDayOfYearToken, n as isValid, o as isBefore, p as isAfter, q as startOfDay, u as isSameDay, v as format } from './index-5fa2e728.js';
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-f99096d4.js';
|
|
2
2
|
|
|
3
|
-
const dividerComponentCss = ".mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.my-0{margin-bottom:0!important;margin-top:0!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.block{display:block!important}.flex{display:flex!important}.h-full{height:100%!important}.h-px{height:1px!important}.w-auto{width:auto!important}.w-full{width:100%!important}.w-px{width:1px!important}.flex-1{flex:1 1 0%!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;color:rgb(227 236 243/var(--tw-text-opacity));display:block;margin-bottom:.5rem;margin-top:.5rem;width:100%}:host .content{align-items:center;display:flex;width:100%}:host .content:after,:host .content:before{background-color:currentColor;content:\"\";flex:1 1 0%;height:1px}:host([variant=vertical]){display:block;height:100%;margin:0 .5rem;width:auto}:host([variant=vertical]) .content{flex-direction:column;height:100%;width:auto}:host([variant=vertical]) .content:after,:host([variant=vertical]) .content:before{background-color:currentColor;content:\"\";flex:1 1 0%;width:1px}.static{position:static!important}.items-center{align-items:center!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-
|
|
3
|
+
const dividerComponentCss = ".mx-2{margin-left:.5rem!important;margin-right:.5rem!important}.my-0{margin-bottom:0!important;margin-top:0!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.block{display:block!important}.flex{display:flex!important}.h-full{height:100%!important}.h-px{height:1px!important}.w-auto{width:auto!important}.w-full{width:100%!important}.w-px{width:1px!important}.flex-1{flex:1 1 0%!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;color:rgb(227 236 243/var(--tw-text-opacity,1));display:block;margin-bottom:.5rem;margin-top:.5rem;width:100%}:host .content{align-items:center;display:flex;width:100%}:host .content:after,:host .content:before{background-color:currentColor;content:\"\";flex:1 1 0%;height:1px}:host([variant=vertical]){display:block;height:100%;margin:0 .5rem;width:auto}:host([variant=vertical]) .content{flex-direction:column;height:100%;width:auto}:host([variant=vertical]) .content:after,:host([variant=vertical]) .content:before{background-color:currentColor;content:\"\";flex:1 1 0%;width:1px}.static{position:static!important}.items-center{align-items:center!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.text-storm-light{--tw-text-opacity:1!important;color:rgb(176 178 203/var(--tw-text-opacity,1))!important}";
|
|
4
4
|
|
|
5
5
|
const Divider = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -10,7 +10,7 @@ const Divider = class {
|
|
|
10
10
|
render() {
|
|
11
11
|
var _a;
|
|
12
12
|
const hasSlotted = !!((_a = this._el.innerHTML) === null || _a === void 0 ? void 0 : _a.length);
|
|
13
|
-
return (h(Host, { class:
|
|
13
|
+
return (h(Host, { class: 'p-divider' }, h("div", { class: 'content' }, h("div", { class: `flex items-center ${hasSlotted && 'px-2'} text-xs font-semibold uppercase text-storm-light` }, h("slot", null)))));
|
|
14
14
|
}
|
|
15
15
|
get _el() { return getElement(this); }
|
|
16
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-divider.entry.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,
|
|
1
|
+
{"file":"p-divider.entry.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,q6CAAq6C;;MCOp7C,OAAO;;;mBAI2C,YAAY;;EAO1E,MAAM;;IACL,MAAM,UAAU,GAAG,CAAC,EAAC,MAAA,IAAI,CAAC,GAAG,CAAC,SAAS,0CAAE,MAAM,CAAA,CAAC;IAChD,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,WAAW,IACtB,WAAK,KAAK,EAAC,SAAS,IACnB,WACC,KAAK,EAAE,qBACN,UAAU,IAAI,MACf,mDAAmD,IAEnD,eAAQ,CACH,CACD,CACA,EACN;GACF;;;;;;;","names":[],"sources":["src/components/atoms/divider/divider.component.scss?tag=p-divider&encapsulation=shadow","src/components/atoms/divider/divider.component.tsx"],"sourcesContent":[":host {\n\t@apply my-2 block w-full text-mystic-medium;\n\n\t.content {\n\t\t@apply flex w-full items-center;\n\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: '';\n\t\t\t@apply h-px flex-1 bg-current;\n\t\t}\n\t}\n}\n\n:host([variant='vertical']) {\n\t@apply mx-2 my-0 block h-full w-auto;\n\n\t.content {\n\t\t@apply h-full w-auto flex-col;\n\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: '';\n\t\t\t@apply w-px flex-1 bg-current;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-divider',\n\tstyleUrl: 'divider.component.scss',\n\tshadow: true,\n})\nexport class Divider {\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop({ reflect: true }) variant: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\trender() {\n\t\tconst hasSlotted = !!this._el.innerHTML?.length;\n\t\treturn (\n\t\t\t<Host class='p-divider'>\n\t\t\t\t<div class='content'>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`flex items-center ${\n\t\t\t\t\t\t\thasSlotted && 'px-2'\n\t\t\t\t\t\t} text-xs font-semibold uppercase text-storm-light`}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, c as createEvent } from './index-f99096d4.js';
|
|
2
2
|
|
|
3
|
-
const drawerBodyComponentCss = ".flex{display:flex!important}.min-h-full{min-height:100%!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(247 250 252/var(--tw-bg-opacity));display:flex;flex:1 1 0%;flex-direction:column;min-height:100%;padding:1.5rem 1rem env(safe-area-inset-bottom,0);width:100%}.static{position:static!important}";
|
|
3
|
+
const drawerBodyComponentCss = ".flex{display:flex!important}.min-h-full{min-height:100%!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(247 250 252/var(--tw-bg-opacity,1));display:flex;flex:1 1 0%;flex-direction:column;min-height:100%;padding:1.5rem 1rem env(safe-area-inset-bottom,0);width:100%}.static{position:static!important}";
|
|
4
4
|
|
|
5
5
|
const ModalBody = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -13,7 +13,7 @@ const ModalBody = class {
|
|
|
13
13
|
};
|
|
14
14
|
ModalBody.style = drawerBodyComponentCss;
|
|
15
15
|
|
|
16
|
-
const drawerContainerComponentCss = ".z-drawer{z-index:500!important}.flex{display:flex!important}.w-full{width:100%!important}.shadow-
|
|
16
|
+
const drawerContainerComponentCss = ".z-drawer{z-index:500!important}.flex{display:flex!important}.w-full{width:100%!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}.animate-in{--tw-enter-opacity:initial!important;--tw-enter-scale:initial!important;--tw-enter-rotate:initial!important;--tw-enter-translate-x:initial!important;--tw-enter-translate-y:initial!important;animation-duration:.15s!important;animation-name:enter!important}*{box-sizing:border-box}p-drawer-container{--tw-bg-opacity:1;--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;--tw-enter-translate-x:100%;--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;animation-duration:.15s;animation-name:enter;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;display:flex;flex-direction:column;min-height:100vh;width:100%;z-index:500}@media (min-width:40rem){p-drawer-container{width:22.5rem}}p-drawer-container.closing{--tw-exit-translate-x:100%}@media (min-width:40rem){.tablet\\:w-\\[22\\.5rem\\]{width:22.5rem!important}}.static{position:static!important}";
|
|
17
17
|
|
|
18
18
|
const ModalContainer = class {
|
|
19
19
|
constructor(hostRef) {
|
|
@@ -26,7 +26,7 @@ const ModalContainer = class {
|
|
|
26
26
|
};
|
|
27
27
|
ModalContainer.style = drawerContainerComponentCss;
|
|
28
28
|
|
|
29
|
-
const drawerHeaderComponentCss = ".absolute{position:absolute!important}.sticky{position:sticky!important}.top-0{top:0!important}.z-drawer-header{z-index:501!important}.flex{display:flex!important}.items-center{align-items:center!important}.border-0{border-width:0!important}.border-b{border-bottom-width:1px!important}.border-solid{border-style:solid!important}.border-b-mystic-dark{--tw-border-opacity:1!important;border-bottom-color:rgb(218 230 240/var(--tw-border-opacity))!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-semibold{font-weight:600!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1!important;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-width:0!important;border-bottom:1px rgb(218 230 240/var(--tw-border-opacity))!important;border-style:solid!important;color:rgb(39 40 56/var(--tw-text-opacity));display:flex;font-size:1.25rem;font-weight:600;justify-content:center;line-height:1.75rem;padding:calc(env(safe-area-inset-top, 0) + 1rem) 1rem 1rem;position:sticky;top:0;z-index:501}:host p-button{left:1rem;position:absolute;top:calc(env(safe-area-inset-top, 0) + 1rem)}.static{position:static!important}";
|
|
29
|
+
const drawerHeaderComponentCss = ".absolute{position:absolute!important}.sticky{position:sticky!important}.top-0{top:0!important}.z-drawer-header{z-index:501!important}.flex{display:flex!important}.items-center{align-items:center!important}.border-0{border-width:0!important}.border-b{border-bottom-width:1px!important}.border-solid{border-style:solid!important}.border-b-mystic-dark{--tw-border-opacity:1!important;border-bottom-color:rgb(218 230 240/var(--tw-border-opacity,1))!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-semibold{font-weight:600!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1!important;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));border-width:0!important;border-bottom:1px rgb(218 230 240/var(--tw-border-opacity,1))!important;border-style:solid!important;color:rgb(39 40 56/var(--tw-text-opacity,1));display:flex;font-size:1.25rem;font-weight:600;justify-content:center;line-height:1.75rem;padding:calc(env(safe-area-inset-top, 0) + 1rem) 1rem 1rem;position:sticky;top:0;z-index:501}:host p-button{left:1rem;position:absolute;top:calc(env(safe-area-inset-top, 0) + 1rem)}.static{position:static!important}";
|
|
30
30
|
|
|
31
31
|
const ModalHeader = class {
|
|
32
32
|
constructor(hostRef) {
|
|
@@ -35,7 +35,7 @@ const ModalHeader = class {
|
|
|
35
35
|
this.showClose = true;
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { class:
|
|
38
|
+
return (h(Host, { class: 'p-drawer-header' }, this.showClose && (h("p-button", { variant: 'secondary', icon: 'negative', iconOnly: true, onClick: () => this.close.emit(), size: 'sm' })), h("slot", null)));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
ModalHeader.style = drawerHeaderComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-drawer-body.p-drawer-container.p-drawer-header.entry.js","mappings":";;AAAA,MAAM,sBAAsB,GAAG,
|
|
1
|
+
{"file":"p-drawer-body.p-drawer-container.p-drawer-header.entry.js","mappings":";;AAAA,MAAM,sBAAsB,GAAG,scAAsc;;MCOxd,SAAS;;;mBAIkB,SAAS;;EAEhD,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,yBAAyB,IAAI,CAAC,OAAO,EAAE,IACnD,eAAQ,CACF,EACN;GACF;;;;ACnBF,MAAM,2BAA2B,GAAG,4oDAA4oD;;MCYnqD,cAAc;;;mBAIC,KAAK;;EAEhC,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,sBAAsB,IAAI,CAAC,OAAO,IAAI,SAAS,EAAE,IAC7D,eAAQ,CACF,EACN;GACF;;;;ACxBF,MAAM,wBAAwB,GAAG,ksCAAksC;;MCOttC,WAAW;;;;qBAIH,IAAI;;EAUxB,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,iBAAiB,IAC3B,IAAI,CAAC,SAAS,KACd,gBACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,EAChC,IAAI,EAAC,IAAI,GACE,CACZ,EAED,eAAQ,CACF,EACN;GACF;;;;;;","names":[],"sources":["src/components/atoms/drawer-body/drawer-body.component.scss?tag=p-drawer-body&encapsulation=shadow","src/components/atoms/drawer-body/drawer-body.component.tsx","src/components/atoms/drawer-container/drawer-container.component.scss?tag=p-drawer-container","src/components/atoms/drawer-container/drawer-container.component.tsx","src/components/atoms/drawer-header/drawer-header.component.scss?tag=p-drawer-header&encapsulation=shadow","src/components/atoms/drawer-header/drawer-header.component.tsx"],"sourcesContent":[":host {\n\t@apply flex flex-1 flex-col;\n\t@apply min-h-full w-full px-4 py-6;\n\t@apply bg-mystic;\n\n\tpadding-bottom: env(safe-area-inset-bottom, 0);\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-drawer-body',\n\tstyleUrl: 'drawer-body.component.scss',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop() variant: 'default' | 'table' = 'default';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-drawer-body variant-${this.variant}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","p-drawer-container {\n\t@apply z-drawer flex flex-col;\n\t// tablet:w-[22.5rem]\n\t@apply w-full tablet:w-[22.5rem];\n\t@apply bg-white;\n\t@apply min-h-screen;\n\t@apply animate-in slide-in-from-right;\n\n\t@apply shadow-3 #{!important};\n\n\t&.closing {\n\t\t@apply slide-out-to-right;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n// $drawer-xs: 20rem;\n// $drawer-sm: 33.5rem;\n// $drawer-md: 38rem;\n// $drawer-lg: 47.5rem;\n// $drawer-xl: 57.5rem;\n\n@Component({\n\ttag: 'p-drawer-container',\n\tstyleUrl: 'drawer-container.component.scss',\n})\nexport class ModalContainer {\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-drawer-container ${this.closing && 'closing'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",":host {\n\t@apply bg-white;\n\t@apply sticky top-0 flex items-center justify-center;\n\t@apply z-drawer-header p-4;\n\n\tpadding-top: calc(env(safe-area-inset-top, 0) + 1rem);\n\n\t@apply text-xl font-semibold text-storm-dark;\n\n\t@apply border-0 border-b border-solid border-b-mystic-dark #{!important};\n\n\tp-button {\n\t\t@apply absolute left-4;\n\n\t\ttop: calc(env(safe-area-inset-top, 0) + 1rem);\n\t}\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-drawer-header',\n\tstyleUrl: 'drawer-header.component.scss',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-drawer-header'>\n\t\t\t\t{this.showClose && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\tonClick={() => this.close.emit()}\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t></p-button>\n\t\t\t\t)}\n\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f99096d4.js';
|
|
2
2
|
|
|
3
3
|
const drawerComponentCss = ".block{display:block!important}*{box-sizing:border-box}:host{display:block}.static{position:static!important}";
|
|
4
4
|
|
|
@@ -1,17 +1,58 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-f99096d4.js';
|
|
2
|
+
import { c as cva } from './index-10317a74.js';
|
|
3
|
+
import './clsx-297c1ffe.js';
|
|
2
4
|
|
|
3
|
-
const dropdownMenuContainerComponentCss = ".z-10{z-index:10!important}.flex{display:flex!important}.
|
|
5
|
+
const dropdownMenuContainerComponentCss = "*{box-sizing:border-box}.static{position:static!important}.z-10{z-index:10!important}.flex{display:flex!important}.max-h-\\[11\\.5rem\\]{max-height:11.5rem!important}.max-h-\\[13\\.875rem\\]{max-height:13.875rem!important}.max-h-\\[20rem\\]{max-height:20rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.max-w-\\[13\\.875rem\\]{max-width:13.875rem!important}.flex-col{flex-direction:column!important}.gap-\\[1px\\]{gap:1px!important}.overflow-y-auto{overflow-y:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/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-1{padding:.25rem!important}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
|
|
4
6
|
|
|
7
|
+
const dropdownMenuContainer = cva([
|
|
8
|
+
'p-dropdown-menu-container',
|
|
9
|
+
'w-auto p-1',
|
|
10
|
+
'bg-white rounded-lg z-10 drop-shadow-2',
|
|
11
|
+
'border border-black-teal-100',
|
|
12
|
+
], {
|
|
13
|
+
variants: {
|
|
14
|
+
fullWidth: {
|
|
15
|
+
false: null,
|
|
16
|
+
true: 'w-full',
|
|
17
|
+
},
|
|
18
|
+
allowOverflow: {
|
|
19
|
+
false: 'overflow-y-auto overflow-x-hidden',
|
|
20
|
+
true: null,
|
|
21
|
+
},
|
|
22
|
+
scrollable: {
|
|
23
|
+
none: null,
|
|
24
|
+
default: 'max-h-[11.5rem]',
|
|
25
|
+
large: 'max-h-[13.875rem]',
|
|
26
|
+
xlarge: 'max-h-[20rem]',
|
|
27
|
+
},
|
|
28
|
+
maxWidth: {
|
|
29
|
+
false: null,
|
|
30
|
+
true: 'max-w-[13.875rem]',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
});
|
|
5
34
|
const DropdownMenuContainer = class {
|
|
6
35
|
constructor(hostRef) {
|
|
7
36
|
registerInstance(this, hostRef);
|
|
8
37
|
this.maxWidth = true;
|
|
38
|
+
this.class = undefined;
|
|
9
39
|
this.fullWidth = true;
|
|
10
40
|
this.allowOverflow = false;
|
|
11
41
|
this.scrollable = false;
|
|
12
42
|
}
|
|
13
43
|
render() {
|
|
14
|
-
|
|
44
|
+
const scrollable = this.scrollable === false
|
|
45
|
+
? 'none'
|
|
46
|
+
: this.scrollable === true
|
|
47
|
+
? 'default'
|
|
48
|
+
: this.scrollable;
|
|
49
|
+
return (h(Host, { class: dropdownMenuContainer({
|
|
50
|
+
class: this.class,
|
|
51
|
+
fullWidth: this.fullWidth,
|
|
52
|
+
allowOverflow: this.allowOverflow,
|
|
53
|
+
scrollable,
|
|
54
|
+
maxWidth: this.maxWidth,
|
|
55
|
+
}) }, h("div", { class: 'flex w-full flex-col gap-[1px]' }, h("slot", null))));
|
|
15
56
|
}
|
|
16
57
|
};
|
|
17
58
|
DropdownMenuContainer.style = dropdownMenuContainerComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-dropdown-menu-container.entry.js","mappings":"
|
|
1
|
+
{"file":"p-dropdown-menu-container.entry.js","mappings":";;;;AAAA,MAAM,iCAAiC,GAAG,4sCAA4sC;;ACGtvC,MAAM,qBAAqB,GAAG,GAAG,CAChC;EACC,2BAA2B;EAC3B,YAAY;EACZ,wCAAwC;EACxC,8BAA8B;CAC9B,EACD;EACC,QAAQ,EAAE;IACT,SAAS,EAAE;MACV,KAAK,EAAE,IAAI;MACX,IAAI,EAAE,QAAQ;KACd;IACD,aAAa,EAAE;MACd,KAAK,EAAE,mCAAmC;MAC1C,IAAI,EAAE,IAAI;KACV;IACD,UAAU,EAAE;MACX,IAAI,EAAE,IAAI;MACV,OAAO,EAAE,iBAAiB;MAC1B,KAAK,EAAE,mBAAmB;MAC1B,MAAM,EAAE,eAAe;KACvB;IACD,QAAQ,EAAE;MACT,KAAK,EAAE,IAAI;MACX,IAAI,EAAE,mBAAmB;KACzB;GACD;CACD,CACD,CAAC;MAMW,qBAAqB;;;oBAIL,IAAI;;qBAUH,IAAI;yBAKA,KAAK;sBAKyB,KAAK;;EAEpE,MAAM;IACL,MAAM,UAAU,GACf,IAAI,CAAC,UAAU,KAAK,KAAK;QACtB,MAAM;QACN,IAAI,CAAC,UAAU,KAAK,IAAI;UACxB,SAAS;UACT,IAAI,CAAC,UAAU,CAAC;IAEpB,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,qBAAqB,CAAC;QAC5B,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU;QACV,QAAQ,EAAE,IAAI,CAAC,QAAQ;OACvB,CAAC,IAEF,WAAK,KAAK,EAAC,gCAAgC,IAC1C,eAAQ,CACH,CACA,EACN;GACF;;;;;;","names":[],"sources":["src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.scss?tag=p-dropdown-menu-container","src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.tsx"],"sourcesContent":["","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst dropdownMenuContainer = cva(\n\t[\n\t\t'p-dropdown-menu-container',\n\t\t'w-auto p-1',\n\t\t'bg-white rounded-lg z-10 drop-shadow-2',\n\t\t'border border-black-teal-100',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tfullWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'w-full',\n\t\t\t},\n\t\t\tallowOverflow: {\n\t\t\t\tfalse: 'overflow-y-auto overflow-x-hidden',\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tscrollable: {\n\t\t\t\tnone: null,\n\t\t\t\tdefault: 'max-h-[11.5rem]',\n\t\t\t\tlarge: 'max-h-[13.875rem]',\n\t\t\t\txlarge: 'max-h-[20rem]',\n\t\t\t},\n\t\t\tmaxWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'max-w-[13.875rem]',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-dropdown-menu-container',\n\tstyleUrl: 'dropdown-menu-container.component.scss',\n})\nexport class DropdownMenuContainer {\n\t/**\n\t * Wether the container applies it's max width\n\t */\n\t@Prop() maxWidth: boolean = true;\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * Wether the container should all available space\n\t */\n\t@Prop() fullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' | 'xlarge' = false;\n\n\trender() {\n\t\tconst scrollable =\n\t\t\tthis.scrollable === false\n\t\t\t\t? 'none'\n\t\t\t\t: this.scrollable === true\n\t\t\t\t? 'default'\n\t\t\t\t: this.scrollable;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={dropdownMenuContainer({\n\t\t\t\t\tclass: this.class,\n\t\t\t\t\tfullWidth: this.fullWidth,\n\t\t\t\t\tallowOverflow: this.allowOverflow,\n\t\t\t\t\tscrollable,\n\t\t\t\t\tmaxWidth: this.maxWidth,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div class='flex w-full flex-col gap-[1px]'>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f99096d4.js';
|
|
2
2
|
import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift } from './floating-ui.dom.esm-314a52b2.js';
|
|
3
|
+
import { c as cva } from './index-10317a74.js';
|
|
3
4
|
import { c as childOf } from './child-of-fec6ab3a.js';
|
|
5
|
+
import './clsx-297c1ffe.js';
|
|
4
6
|
|
|
5
|
-
const dropdownComponentCss = ".
|
|
7
|
+
const dropdownComponentCss = ".flex{display:flex!important}.hidden{display:none!important}*{box-sizing:border-box}p-dropdown p-dropdown-menu-container{display:none}p-dropdown p-dropdown-menu-container[data-show]{display:flex}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-dropdown{z-index:200!important}.w-inherit{width:inherit!important}";
|
|
6
8
|
|
|
9
|
+
const dropdownContainer = cva(['z-dropdown'], {
|
|
10
|
+
variants: {
|
|
11
|
+
strategy: {
|
|
12
|
+
absolute: 'absolute',
|
|
13
|
+
fixed: 'fixed',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
});
|
|
7
17
|
const Dropdown = class {
|
|
8
18
|
constructor(hostRef) {
|
|
9
19
|
registerInstance(this, hostRef);
|
|
@@ -27,6 +37,9 @@ const Dropdown = class {
|
|
|
27
37
|
componentShouldUpdate() {
|
|
28
38
|
this._update();
|
|
29
39
|
}
|
|
40
|
+
componentDidLoad() {
|
|
41
|
+
this._checkButton();
|
|
42
|
+
}
|
|
30
43
|
disconnectedCallback() {
|
|
31
44
|
if (this._cleanup) {
|
|
32
45
|
this._cleanup();
|
|
@@ -34,23 +47,24 @@ const Dropdown = class {
|
|
|
34
47
|
}
|
|
35
48
|
}
|
|
36
49
|
render() {
|
|
37
|
-
return (h(Host, { class:
|
|
50
|
+
return (h(Host, { class: 'p-dropdown relative' }, h("div", { class: 'relative w-inherit', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { name: 'trigger' })), h("p-dropdown-menu-container", { class: dropdownContainer({
|
|
51
|
+
strategy: this.strategy,
|
|
52
|
+
}), role: 'popover', maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, ref: el => this._load(el), "data-placement": this.placement, "data-strategy": this.strategy, onClick: () => this._containerClickHandler(), scrollable: this.scrollable }, h("slot", { name: 'items' }))));
|
|
38
53
|
}
|
|
39
|
-
_checkButton(
|
|
54
|
+
_checkButton(active = false) {
|
|
40
55
|
if (!this.applyChevron) {
|
|
41
56
|
return;
|
|
42
57
|
}
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
?
|
|
50
|
-
:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
58
|
+
const buttons = this._el.querySelectorAll('p-button');
|
|
59
|
+
for (let button of buttons) {
|
|
60
|
+
button.chevronPosition = this.chevronPosition;
|
|
61
|
+
button.chevron = this.chevronDirection
|
|
62
|
+
? this.chevronDirection
|
|
63
|
+
: this.placement.indexOf('top') >= 0
|
|
64
|
+
? 'up'
|
|
65
|
+
: 'down';
|
|
66
|
+
button.disabled = this.disableTriggerClick;
|
|
67
|
+
button.active = active;
|
|
54
68
|
}
|
|
55
69
|
}
|
|
56
70
|
onShowChange(show) {
|
|
@@ -64,8 +78,7 @@ const Dropdown = class {
|
|
|
64
78
|
this._show();
|
|
65
79
|
}
|
|
66
80
|
documentClickHandler({ target }) {
|
|
67
|
-
if (!this._menu.hasAttribute('data-show') ||
|
|
68
|
-
childOf(target, this._el)) {
|
|
81
|
+
if (!this._menu.hasAttribute('data-show') || childOf(target, this._el)) {
|
|
69
82
|
return;
|
|
70
83
|
}
|
|
71
84
|
this._hide();
|
|
@@ -109,6 +122,7 @@ const Dropdown = class {
|
|
|
109
122
|
this._cleanup = autoUpdate(this._el, this._menu, () => this._update());
|
|
110
123
|
this._menu.setAttribute('data-show', '');
|
|
111
124
|
this.isOpen.emit(true);
|
|
125
|
+
this._checkButton(true);
|
|
112
126
|
}
|
|
113
127
|
_hide() {
|
|
114
128
|
if (!this._loaded || this.show) {
|
|
@@ -121,6 +135,7 @@ const Dropdown = class {
|
|
|
121
135
|
// Hide the popover
|
|
122
136
|
this._menu.removeAttribute('data-show');
|
|
123
137
|
this.isOpen.emit(false);
|
|
138
|
+
this._checkButton(false);
|
|
124
139
|
}
|
|
125
140
|
_update() {
|
|
126
141
|
if (!this._menu) {
|
|
@@ -145,19 +160,70 @@ const Dropdown = class {
|
|
|
145
160
|
};
|
|
146
161
|
Dropdown.style = dropdownComponentCss;
|
|
147
162
|
|
|
148
|
-
const dropdownMenuItemComponentCss = ".block{display:block!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-4{width:1rem!important}.w-6{width:1.5rem!important}.w-\\[2\\.375rem\\]{width:2.375rem!important}.w-full{width:100%!important}.translate-x-0{--tw-translate-x:0px!important}.translate-x-0,.translate-x-3{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.translate-x-3{--tw-translate-x:0.75rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-negative{--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important}.bg-indigo-light{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}.bg-mystic-dark{background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}.bg-mystic-dark,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.bg-center{background-position:50%!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.transition-transform{transition-duration:.15s!important;transition-property:transform!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;height:2rem;justify-content:flex-start;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;width:100%}:host input[type=checkbox].p-input{--tw-bg-opacity:1;--tw-border-opacity:1;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));background-position:50%;background-repeat:no-repeat;background-size:1rem;border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:.25rem;border-style:solid;border-width:1px;height:1.5rem;outline:2px solid transparent!important;outline-offset:2px!important;width:1.5rem}:host input[type=checkbox].p-input+label{margin-left:.2rem;margin-top:.05rem}:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}:host input[type=checkbox].p-input:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){--tw-border-opacity:1;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23dae6f0' fill-rule='evenodd'/%3E%3C/svg%3E\");border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[checked],:host input[type=checkbox].p-input[indeterminate]{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-input.checked,:host input[type=checkbox].p-input:checked,:host input[type=checkbox].p-input[checked]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.965 11.487 13.53 1.53c.435-.572 1.22-.7 1.8-.292l.108.077c.294.206.492.53.546.895.054.365-.04.737-.26 1.026L7.26 14.38a1.34 1.34 0 0 1-.642.463 1.302 1.302 0 0 1-1.575-.263L.362 9.6a1.356 1.356 0 0 1-.36-.99c.017-.37.181-.713.452-.95l.1-.088a1.302 1.302 0 0 1 1.82.093l3.592 3.82h-.001Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.indeterminate,:host input[type=checkbox].p-input:indeterminate,:host input[type=checkbox].p-input[indeterminate]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7h8a1 1 0 0 1 0 2H4a1 1 0 1 1 0-2Z' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.disabled,:host input[type=checkbox].p-input:disabled,:host input[type=checkbox].p-input[disabled]{opacity:.4}:host input[type=checkbox].p-input.error,:host input[type=checkbox].p-input[error]{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error::-moz-placeholder,:host input[type=checkbox].p-input[error]::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error::placeholder,:host input[type=checkbox].p-input[error]::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-input.error.checked,:host input[type=checkbox].p-input.error:checked,:host input[type=checkbox].p-input.error[checked],:host input[type=checkbox].p-input[error].checked,:host input[type=checkbox].p-input[error]:checked,:host input[type=checkbox].p-input[error][checked]{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}:host input[type=checkbox].p-input.size-small{height:1rem;width:1rem}:host input[type=checkbox].p-input.size-small:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked):not(:indeterminate):not([indeterminate]):not(.indeterminate){background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23DAE6F0' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}:host input[type=checkbox].p-input.size-small.checked,:host input[type=checkbox].p-input.size-small:checked,:host input[type=checkbox].p-input.size-small[checked]{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M2.667 2.667h10.667v10.667H2.667z'/%3E%3Cpath fill='%23FFF' d='m6.644 10.325 5.044-6.638a.87.87 0 0 1 1.2-.194l.072.05a.91.91 0 0 1 .19 1.28l-5.644 7.43a.89.89 0 0 1-.427.31.868.868 0 0 1-1.05-.176l-3.12-3.32a.904.904 0 0 1-.241-.66.897.897 0 0 1 .302-.633l.067-.058a.868.868 0 0 1 1.213.062l2.394 2.547Z'/%3E%3C/g%3E%3C/svg%3E\")}:host input[type=checkbox].p-toggle{--tw-bg-opacity:1;--tw-border-opacity:1;align-items:center;appearance:none;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity));border-radius:1.5625rem;border-style:solid;border-width:1px;display:flex;height:1.5rem;justify-content:flex-start;padding:.25rem;width:2.375rem}:host input[type=checkbox].p-toggle:after{--tw-translate-x:0px;--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;content:\"\";display:block;height:1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.1s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host input[type=checkbox].p-toggle.checked,:host input[type=checkbox].p-toggle:checked,:host input[type=checkbox].p-toggle[checked]{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-toggle.checked:after,:host input[type=checkbox].p-toggle:checked:after,:host input[type=checkbox].p-toggle[checked]:after{--tw-translate-x:0.75rem;--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host input[type=checkbox].p-toggle.disabled,:host input[type=checkbox].p-toggle:disabled,:host input[type=checkbox].p-toggle[disabled]{opacity:.4}:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled){cursor:pointer}:host input[type=checkbox].p-toggle:hover:not(:disabled):not([disabled]):not(.disabled):not(:checked):not([checked]):not(.checked){--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity))}:host input[type=checkbox].p-toggle.error,:host input[type=checkbox].p-toggle[error]{--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error::-moz-placeholder,:host input[type=checkbox].p-toggle[error]::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error::placeholder,:host input[type=checkbox].p-toggle[error]::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host input[type=checkbox].p-toggle.error.checked,:host input[type=checkbox].p-toggle.error:checked,:host input[type=checkbox].p-toggle.error[checked],:host input[type=checkbox].p-toggle[error].checked,:host input[type=checkbox].p-toggle[error]:checked,:host input[type=checkbox].p-toggle[error][checked]{--tw-bg-opacity:1;background-color:rgb(185 30 40/var(--tw-bg-opacity))}:host .text-container{display:block;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;width:100%}:host(.hover:hover){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(81 83 107/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}.flex-shrink-0{flex-shrink:0!important}";
|
|
163
|
+
const dropdownMenuItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-8{height:2rem!important}.w-full{width:100%!important}.max-w-full{max-width:100%!important}.flex-shrink-0{flex-shrink:0!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items: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-lg{border-radius:.5rem!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-start{text-align:start!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.hover\\:bg-supportive-lilac-50:hover{--tw-bg-opacity:1!important;background-color:rgb(250 247 255/var(--tw-bg-opacity,1))!important}";
|
|
149
164
|
|
|
165
|
+
const dropdownMenuItem = cva([
|
|
166
|
+
'p-dropdown-menu-item flex px-2 py-1 gap-2 text-sm font-medium group rounded-lg items-center h-8 max-w-full',
|
|
167
|
+
], {
|
|
168
|
+
variants: {
|
|
169
|
+
active: {
|
|
170
|
+
false: null,
|
|
171
|
+
true: 'bg-supportive-lilac-100',
|
|
172
|
+
},
|
|
173
|
+
disabled: {
|
|
174
|
+
false: null,
|
|
175
|
+
true: 'bg-supportive-lilac-100 text-black-teal-200 cursor-not-allowed',
|
|
176
|
+
},
|
|
177
|
+
enableHover: {
|
|
178
|
+
false: null,
|
|
179
|
+
true: null,
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
compoundVariants: [
|
|
183
|
+
{
|
|
184
|
+
active: false,
|
|
185
|
+
enableHover: true,
|
|
186
|
+
disabled: false,
|
|
187
|
+
class: 'hover:bg-supportive-lilac-50',
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
enableHover: true,
|
|
191
|
+
disabled: false,
|
|
192
|
+
class: 'cursor-pointer',
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
});
|
|
196
|
+
const dropdownMenuItemIcon = cva(['text-base'], {
|
|
197
|
+
variants: {
|
|
198
|
+
active: {
|
|
199
|
+
false: 'text-black-teal-300',
|
|
200
|
+
true: false,
|
|
201
|
+
},
|
|
202
|
+
disabled: {
|
|
203
|
+
false: false,
|
|
204
|
+
true: 'text-black-teal-100',
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
});
|
|
150
208
|
const DropdownMenuItem = class {
|
|
151
209
|
constructor(hostRef) {
|
|
152
210
|
registerInstance(this, hostRef);
|
|
153
211
|
this.active = false;
|
|
154
212
|
this.variant = 'default';
|
|
155
213
|
this.enableHover = true;
|
|
214
|
+
this.disabled = false;
|
|
156
215
|
this.icon = undefined;
|
|
157
216
|
this.useContainer = true;
|
|
158
217
|
}
|
|
159
218
|
render() {
|
|
160
|
-
return (h(Host, { class:
|
|
219
|
+
return (h(Host, { class: dropdownMenuItem({
|
|
220
|
+
active: this.active,
|
|
221
|
+
enableHover: this.enableHover,
|
|
222
|
+
disabled: this.disabled,
|
|
223
|
+
}) }, this.icon && (h("p-icon", { class: dropdownMenuItemIcon({
|
|
224
|
+
active: this.active,
|
|
225
|
+
disabled: this.disabled,
|
|
226
|
+
}), variant: this.icon })), this.variant === 'checkbox' && (h("input", { type: 'checkbox', class: 'p-input size-small flex-shrink-0', checked: this.active })), this.useContainer ? (h("div", { class: 'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start' }, h("slot", null))) : (h("slot", null))));
|
|
161
227
|
}
|
|
162
228
|
};
|
|
163
229
|
DropdownMenuItem.style = dropdownMenuItemComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
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,WAAK,KAAK,EAAC,gBAAgB,IAC1B,eAAQ,CACH,KAEN,eAAQ,CACR,CACK,EACN;GACF;;;;;;","names":[],"sources":["src/components/molecules/dropdown/dropdown.component.scss?tag=p-dropdown&encapsulation=shadow","src/components/molecules/dropdown/dropdown.component.tsx","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.scss?tag=p-dropdown-menu-item&encapsulation=shadow","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.tsx"],"sourcesContent":[":host {\n\t@apply relative block;\n\n\t.trigger {\n\t\t@apply relative block h-auto w-auto;\n\t}\n\n\tp-dropdown-menu-container {\n\t\t@apply left-0 top-0 z-dropdown hidden;\n\n\t\t&[data-show] {\n\t\t\t@apply flex;\n\t\t}\n\n\t\t&[data-strategy='absolute'] {\n\t\t\t@apply absolute;\n\t\t}\n\n\t\t&[data-strategy='fixed'] {\n\t\t\t@apply fixed;\n\t\t}\n\t}\n}\n","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { childOf } from '../../../utils/child-of';\n\n@Component({\n\ttag: 'p-dropdown',\n\tstyleUrl: 'dropdown.component.scss',\n\tshadow: true,\n})\nexport class Dropdown {\n\t/**\n\t * The content of the dropdown menu\n\t */\n\t@Prop({ reflect: true }) placement: Placement = 'bottom-start';\n\n\t/**\n\t * The offset of the dropdown menu\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the dropdown placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether to show the dropdown menu\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to automatically calculate the width of the menu based on the trigger\n\t */\n\t@Prop() calculateWidth: boolean = false;\n\n\t/**\n\t * Wether to apply the max width\n\t */\n\t@Prop() applyMaxWidth: boolean = true;\n\n\t/**\n\t * Wether to apply the full width\n\t */\n\t@Prop() applyFullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow in the container\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the dropdown container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() insideClick: boolean = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() disableTriggerClick: boolean = false;\n\n\t/**\n\t * Wether to apply chevron automatically\n\t */\n\t@Prop() applyChevron: boolean = true;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Chevron direction\n\t */\n\t@Prop() chevronDirection: 'up' | 'down';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\tprivate _loaded = false;\n\tprivate _trigger: HTMLElement;\n\tprivate _menu: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-dropdown\">\n\t\t\t\t<div\n\t\t\t\t\tclass=\"trigger\"\n\t\t\t\t\tref={(ref) => (this._trigger = ref)}\n\t\t\t\t\tonClick={() => this._triggerClickHandler()}\n\t\t\t\t>\n\t\t\t\t\t<slot\n\t\t\t\t\t\tonSlotchange={(ev) => this._checkButton(ev)}\n\t\t\t\t\t\tname=\"trigger\"\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\trole=\"popover\"\n\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\tref={(el) => this._load(el)}\n\t\t\t\t\tdata-placement={this.placement}\n\t\t\t\t\tdata-strategy={this.strategy}\n\t\t\t\t\tonClick={() => this._containerClickHandler()}\n\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t>\n\t\t\t\t\t<slot name=\"items\" />\n\t\t\t\t</p-dropdown-menu-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkButton({ target }: Event) {\n\t\tif (!this.applyChevron) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst slot = target as HTMLSlotElement;\n\t\tconst children = slot.assignedElements();\n\n\t\tfor (let child of children) {\n\t\t\tif (child.nodeName === 'P-BUTTON') {\n\t\t\t\t(child as any).chevronPosition = this.chevronPosition;\n\t\t\t\t(child as any).chevron = this.chevronDirection\n\t\t\t\t\t? this.chevronDirection\n\t\t\t\t\t: this.placement.indexOf('top') >= 0\n\t\t\t\t\t\t? 'up'\n\t\t\t\t\t\t: 'down';\n\t\t\t}\n\t\t}\n\t}\n\n\t@Watch('show')\n\tprotected onShowChange(show) {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!show) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (\n\t\t\t!this._menu.hasAttribute('data-show') ||\n\t\t\tchildOf(target, this._el)\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _containerClickHandler() {\n\t\tif (this.insideClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t}\n\t}\n\n\tprivate _triggerClickHandler() {\n\t\tif (this.disableTriggerClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._menu = popover;\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make the popover visible\n\t\tif (this.calculateWidth) {\n\t\t\tthis._menu.style.width = `${this._trigger.clientWidth}px`;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._menu, () => this._update());\n\n\t\tthis._menu.setAttribute('data-show', '');\n\t\tthis.isOpen.emit(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._menu.removeAttribute('data-show');\n\t\tthis.isOpen.emit(false);\n\t}\n\n\tprivate _update() {\n\t\tif (!this._menu) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._menu, {\n\t\t\tplacement: this.placement,\n\t\t\tstrategy: this.strategy,\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._menu.dataset.placement = placement;\n\t\t\tObject.assign(this._menu.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n",":host {\n\t@import '../../../style/form/checkbox';\n\n\t@apply flex h-8 w-full items-center justify-start gap-2 rounded px-2;\n\t@apply text-sm font-semibold text-storm;\n\t@apply cursor-pointer;\n\n\t.text-container {\n\t\t@apply block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start;\n\t}\n}\n\n:host(.hover:hover) {\n\t@apply bg-indigo-light text-storm;\n}\n\n:host(.active) {\n\t@apply bg-indigo-light text-indigo;\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\nimport { IconVariant } from '../icon/icon.component';\n\n@Component({\n\ttag: 'p-dropdown-menu-item',\n\tstyleUrl: 'dropdown-menu-item.component.scss',\n\tshadow: true,\n})\nexport class DropdownMenuItem {\n\t/**\n\t * Wether the dropdown menu item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * The variant of the item\n\t */\n\t@Prop() variant: 'default' | 'checkbox' = 'default';\n\n\t/**\n\t * Wether to enable the hover state\n\t */\n\t@Prop() enableHover: boolean = true;\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * wether to use the container for text\n\t */\n\t@Prop() useContainer = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-dropdown-menu-item ${this.active && 'active'} ${\n\t\t\t\t\tthis.enableHover && 'hover'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{this.icon && <p-icon variant={this.icon} />}\n\n\t\t\t\t{this.variant === 'checkbox' && (\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype='checkbox'\n\t\t\t\t\t\tclass='p-input size-small flex-shrink-0'\n\t\t\t\t\t\tchecked={this.active}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.useContainer ? (\n\t\t\t\t\t<div class='text-container'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<slot />\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-dropdown.p-dropdown-menu-item.entry.js","mappings":";;;;;;AAAA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AC,MAAM,GACnB,CACF,EAEA,IAAI,CAAC,YAAY,IACjB,WAAK,KAAK,EAAC,yEAAyE,IACnF,eAAQ,CACH,KAEN,eAAQ,CACR,CACK,EACN;GACF;;;;;;","names":[],"sources":["src/components/molecules/dropdown/dropdown.component.scss?tag=p-dropdown","src/components/molecules/dropdown/dropdown.component.tsx","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.scss?tag=p-dropdown-menu-item","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.tsx"],"sourcesContent":["p-dropdown {\n\tp-dropdown-menu-container {\n\t\t@apply hidden;\n\n\t\t&[data-show] {\n\t\t\t@apply flex;\n\t\t}\n\t}\n}\n","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { childOf } from '../../../utils/child-of';\n\nconst dropdownContainer = cva(['z-dropdown'], {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tabsolute: 'absolute',\n\t\t\tfixed: 'fixed',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-dropdown',\n\tstyleUrl: 'dropdown.component.scss',\n})\nexport class Dropdown {\n\t/**\n\t * The content of the dropdown menu\n\t */\n\t@Prop({ reflect: true }) placement: Placement = 'bottom-start';\n\n\t/**\n\t * The offset of the dropdown menu\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the dropdown placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether to show the dropdown menu\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to automatically calculate the width of the menu based on the trigger\n\t */\n\t@Prop() calculateWidth: boolean = false;\n\n\t/**\n\t * Wether to apply the max width\n\t */\n\t@Prop() applyMaxWidth: boolean = true;\n\n\t/**\n\t * Wether to apply the full width\n\t */\n\t@Prop() applyFullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow in the container\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the dropdown container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() insideClick: boolean = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() disableTriggerClick: boolean = false;\n\n\t/**\n\t * Wether to apply chevron automatically\n\t */\n\t@Prop() applyChevron: boolean = true;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Chevron direction\n\t */\n\t@Prop() chevronDirection: 'up' | 'down';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\tprivate _loaded = false;\n\tprivate _trigger: HTMLElement;\n\tprivate _menu: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._checkButton();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-dropdown relative'>\n\t\t\t\t<div\n\t\t\t\t\tclass='relative w-inherit'\n\t\t\t\t\tref={ref => (this._trigger = ref)}\n\t\t\t\t\tonClick={() => this._triggerClickHandler()}\n\t\t\t\t>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t</div>\n\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\tclass={dropdownContainer({\n\t\t\t\t\t\tstrategy: this.strategy,\n\t\t\t\t\t})}\n\t\t\t\t\trole='popover'\n\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\tref={el => this._load(el)}\n\t\t\t\t\tdata-placement={this.placement}\n\t\t\t\t\tdata-strategy={this.strategy}\n\t\t\t\t\tonClick={() => this._containerClickHandler()}\n\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t>\n\t\t\t\t\t<slot name='items' />\n\t\t\t\t</p-dropdown-menu-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkButton(active: boolean = false) {\n\t\tif (!this.applyChevron) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst buttons = this._el.querySelectorAll<HTMLPButtonElement>('p-button');\n\t\tfor (let button of buttons) {\n\t\t\tbutton.chevronPosition = this.chevronPosition;\n\t\t\tbutton.chevron = this.chevronDirection\n\t\t\t\t? this.chevronDirection\n\t\t\t\t: this.placement.indexOf('top') >= 0\n\t\t\t\t? 'up'\n\t\t\t\t: 'down';\n\t\t\tbutton.disabled = this.disableTriggerClick;\n\t\t\tbutton.active = active;\n\t\t}\n\t}\n\n\t@Watch('show')\n\tprotected onShowChange(show) {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!show) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (!this._menu.hasAttribute('data-show') || childOf(target, this._el)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _containerClickHandler() {\n\t\tif (this.insideClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t}\n\t}\n\n\tprivate _triggerClickHandler() {\n\t\tif (this.disableTriggerClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._menu = popover;\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make the popover visible\n\t\tif (this.calculateWidth) {\n\t\t\tthis._menu.style.width = `${this._trigger.clientWidth}px`;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._menu, () => this._update());\n\n\t\tthis._menu.setAttribute('data-show', '');\n\t\tthis.isOpen.emit(true);\n\t\tthis._checkButton(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._menu.removeAttribute('data-show');\n\t\tthis.isOpen.emit(false);\n\t\tthis._checkButton(false);\n\t}\n\n\tprivate _update() {\n\t\tif (!this._menu) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._menu, {\n\t\t\tplacement: this.placement,\n\t\t\tstrategy: this.strategy,\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._menu.dataset.placement = placement;\n\t\t\tObject.assign(this._menu.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n","","import { Component, Host, Prop, h } from '@stencil/core';\nimport { IconVariant } from '../icon/icon.component';\nimport { cva } from 'class-variance-authority';\n\nconst dropdownMenuItem = cva(\n\t[\n\t\t'p-dropdown-menu-item flex px-2 py-1 gap-2 text-sm font-medium group rounded-lg items-center h-8 max-w-full',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'bg-supportive-lilac-100',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'bg-supportive-lilac-100 text-black-teal-200 cursor-not-allowed',\n\t\t\t},\n\t\t\tenableHover: {\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\tactive: false,\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'hover:bg-supportive-lilac-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'cursor-pointer',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst dropdownMenuItemIcon = cva(['text-base'], {\n\tvariants: {\n\t\tactive: {\n\t\t\tfalse: 'text-black-teal-300',\n\t\t\ttrue: false,\n\t\t},\n\t\tdisabled: {\n\t\t\tfalse: false,\n\t\t\ttrue: 'text-black-teal-100',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-dropdown-menu-item',\n\tstyleUrl: 'dropdown-menu-item.component.scss',\n})\nexport class DropdownMenuItem {\n\t/**\n\t * Wether the dropdown menu item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * The variant of the item\n\t */\n\t@Prop() variant: 'default' | 'checkbox' = 'default';\n\n\t/**\n\t * Wether to enable the hover state\n\t */\n\t@Prop() enableHover: boolean = true;\n\n\t/**\n\t * Wether the item is disabled\n\t */\n\t@Prop() disabled: boolean = false;\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * wether to use the container for text\n\t */\n\t@Prop() useContainer = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={dropdownMenuItem({\n\t\t\t\t\tactive: this.active,\n\t\t\t\t\tenableHover: this.enableHover,\n\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{/* class={`p-dropdown-menu-item ${this.active && 'active'} ${ */}\n\t\t\t\t{/* \tthis.enableHover && 'hover' */}\n\t\t\t\t{/* }`} */}\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass={dropdownMenuItemIcon({\n\t\t\t\t\t\t\tactive: this.active,\n\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.variant === 'checkbox' && (\n\t\t\t\t\t<input\n\t\t\t\t\t\ttype='checkbox'\n\t\t\t\t\t\tclass='p-input size-small flex-shrink-0'\n\t\t\t\t\t\tchecked={this.active}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.useContainer ? (\n\t\t\t\t\t<div class='block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<slot />\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|