@paperless/core 0.1.0-alpha.0 → 0.1.0-alpha.101
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 +1033 -0
- package/README.md +18 -1
- package/dist/assets/icons/arrow.svg +1 -1
- package/dist/assets/icons/attachment.svg +1 -1
- package/dist/assets/icons/bread.svg +1 -1
- package/dist/assets/icons/calendar.svg +1 -1
- package/dist/assets/icons/car.svg +1 -1
- package/dist/assets/icons/checklist.svg +17 -0
- package/dist/assets/icons/checkmark.svg +1 -1
- package/dist/assets/icons/chevron.svg +1 -1
- package/dist/assets/icons/clock.svg +1 -1
- package/dist/assets/icons/cogs.svg +1 -1
- package/dist/assets/icons/comment.svg +1 -1
- package/dist/assets/icons/document.svg +1 -1
- package/dist/assets/icons/download.svg +1 -1
- package/dist/assets/icons/envelope.svg +1 -1
- package/dist/assets/icons/explanation.svg +1 -1
- package/dist/assets/icons/eye.svg +1 -1
- package/dist/assets/icons/filter.svg +1 -1
- package/dist/assets/icons/folder.svg +19 -0
- package/dist/assets/icons/grid.svg +1 -1
- package/dist/assets/icons/headset.svg +1 -1
- package/dist/assets/icons/integration.svg +17 -0
- package/dist/assets/icons/list.svg +1 -1
- package/dist/assets/icons/location.svg +1 -1
- package/dist/assets/icons/megaphone.svg +1 -1
- package/dist/assets/icons/menu.svg +25 -0
- package/dist/assets/icons/minus.svg +1 -1
- package/dist/assets/icons/more.svg +18 -0
- package/dist/assets/icons/negative.svg +1 -1
- package/dist/assets/icons/pagination.svg +1 -1
- package/dist/assets/icons/payment.svg +1 -1
- package/dist/assets/icons/pencil.svg +1 -1
- package/dist/assets/icons/person.svg +1 -1
- package/dist/assets/icons/plus.svg +1 -1
- package/dist/assets/icons/question.svg +1 -1
- package/dist/assets/icons/receipt.svg +1 -1
- package/dist/assets/icons/report.svg +1 -1
- package/dist/assets/icons/search.svg +1 -1
- package/dist/assets/icons/settings.svg +1 -1
- package/dist/assets/icons/sick.svg +1 -1
- package/dist/assets/icons/signout.svg +23 -0
- package/dist/assets/icons/switch.svg +20 -0
- package/dist/assets/icons/tachometer.svg +1 -1
- package/dist/assets/icons/task.svg +17 -0
- package/dist/assets/icons/template.svg +17 -0
- package/dist/assets/icons/tool.svg +1 -1
- package/dist/assets/icons/trash.svg +1 -1
- package/dist/assets/icons/turn.svg +1 -1
- package/dist/assets/icons/upload.svg +1 -1
- package/dist/assets/icons/warning.svg +1 -1
- package/dist/assets/illustrations/e-mail.svg +1 -0
- package/dist/assets/images/avatar/company-default.svg +12 -0
- package/dist/assets/images/avatar/user-default.svg +12 -0
- package/dist/assets/images/helper/helper-hover.svg +15 -0
- package/dist/assets/images/helper/helper.svg +15 -0
- package/dist/build/p-05d5e3fd.entry.js +1 -0
- package/dist/build/p-113baa35.entry.js +1 -0
- package/dist/build/p-19c20c8e.entry.js +1 -0
- package/dist/build/p-1ef22f4e.entry.js +1 -0
- package/dist/build/p-2beaf0e8.entry.js +1 -0
- package/dist/build/p-3f6c9d44.entry.js +1 -0
- package/dist/build/p-4336cbbc.entry.js +1 -0
- package/dist/build/p-4ca40a0a.entry.js +1 -0
- package/dist/build/p-6088647a.entry.js +1 -0
- package/dist/build/p-6835a9e3.entry.js +1 -0
- package/dist/build/p-6e778574.entry.js +1 -0
- package/dist/build/p-79d3258f.entry.js +1 -0
- package/dist/build/p-801d05b6.entry.js +1 -0
- package/dist/build/p-829c4101.entry.js +1 -0
- package/dist/build/p-89fda3a8.entry.js +1 -0
- package/dist/build/p-8ac8a69d.entry.js +1 -0
- package/dist/{paperless/p-98d636b6.entry.js → build/p-8b743795.entry.js} +1 -1
- package/dist/build/p-910b5034.entry.js +1 -0
- package/dist/build/p-92b6c76c.entry.js +1 -0
- package/dist/build/p-938f52ee.entry.js +1 -0
- package/dist/build/p-9d98d0d9.entry.js +1 -0
- package/dist/build/p-a5ebbd0c.entry.js +1 -0
- package/dist/build/p-a7086ffa.js +1 -0
- package/dist/build/p-bc7e8cc4.js +2 -0
- package/dist/build/p-bd50db3d.entry.js +1 -0
- package/dist/build/p-c27046e6.entry.js +1 -0
- package/dist/build/p-c59d9fc2.entry.js +1 -0
- package/dist/build/p-cc177072.entry.js +1 -0
- package/dist/build/p-d32f2578.entry.js +1 -0
- package/dist/build/p-e20a1842.entry.js +1 -0
- package/dist/build/p-e2a98d53.entry.js +1 -0
- package/dist/build/p-e3797d1d.entry.js +1 -0
- package/dist/build/p-e934ef94.entry.js +1 -0
- package/dist/build/p-e9e20ac3.entry.js +1 -0
- package/dist/build/p-ec2a5f95.entry.js +1 -0
- package/dist/build/p-ede5e914.entry.js +1 -0
- package/dist/build/paperless.css +190 -17
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-6758a39e.js → index-9d3b51c9.js} +690 -14
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/p-accordion.cjs.entry.js +42 -0
- package/dist/cjs/p-avatar-group.cjs.entry.js +19 -0
- package/dist/cjs/p-avatar_2.cjs.entry.js +179 -0
- package/dist/cjs/p-button_3.cjs.entry.js +1157 -0
- package/dist/cjs/p-card-body.cjs.entry.js +23 -0
- package/dist/cjs/p-card-container.cjs.entry.js +27 -0
- package/dist/cjs/p-card-header.cjs.entry.js +24 -0
- package/dist/cjs/p-content-slider.cjs.entry.js +153 -0
- package/dist/cjs/p-counter.cjs.entry.js +27 -0
- package/dist/cjs/p-divider.cjs.entry.js +22 -0
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +19 -0
- package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +23 -0
- package/dist/cjs/p-helper.cjs.entry.js +23 -0
- package/dist/cjs/p-illustration.cjs.entry.js +14 -14
- package/dist/cjs/p-info-panel.cjs.entry.js +31 -0
- package/dist/cjs/p-input-group.cjs.entry.js +51 -0
- package/dist/cjs/p-layout.cjs.entry.js +23 -0
- package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +101 -0
- package/dist/cjs/p-modal.cjs.entry.js +48 -0
- package/dist/cjs/p-navbar.cjs.entry.js +34 -0
- package/dist/cjs/p-navigation-item.cjs.entry.js +23 -0
- package/dist/cjs/p-pagination-item.cjs.entry.js +23 -0
- package/dist/cjs/p-pagination.cjs.entry.js +171 -0
- package/dist/cjs/p-profile.cjs.entry.js +46 -0
- package/dist/cjs/p-segment-container.cjs.entry.js +19 -0
- package/dist/cjs/p-segment-item.cjs.entry.js +29 -0
- package/dist/cjs/p-slider-indicator.cjs.entry.js +23 -0
- package/dist/cjs/p-status.cjs.entry.js +49 -0
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +56 -0
- package/dist/cjs/p-stepper.cjs.entry.js +71 -0
- package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
- package/dist/cjs/p-tab-item.cjs.entry.js +23 -0
- package/dist/cjs/p-tag.cjs.entry.js +27 -0
- package/dist/cjs/p-tooltip.cjs.entry.js +84 -1814
- package/dist/cjs/paperless.cjs.js +3 -3
- package/dist/cjs/popper-e0c4ed4c.js +1790 -0
- package/dist/collection/assets/icons/arrow.svg +1 -1
- package/dist/collection/assets/icons/attachment.svg +1 -1
- package/dist/collection/assets/icons/bread.svg +1 -1
- package/dist/collection/assets/icons/calendar.svg +1 -1
- package/dist/collection/assets/icons/car.svg +1 -1
- package/dist/collection/assets/icons/checklist.svg +17 -0
- package/dist/collection/assets/icons/checkmark.svg +1 -1
- package/dist/collection/assets/icons/chevron.svg +1 -1
- package/dist/collection/assets/icons/clock.svg +1 -1
- package/dist/collection/assets/icons/cogs.svg +1 -1
- package/dist/collection/assets/icons/comment.svg +1 -1
- package/dist/collection/assets/icons/document.svg +1 -1
- package/dist/collection/assets/icons/download.svg +1 -1
- package/dist/collection/assets/icons/envelope.svg +1 -1
- package/dist/collection/assets/icons/explanation.svg +1 -1
- package/dist/collection/assets/icons/eye.svg +1 -1
- package/dist/collection/assets/icons/filter.svg +1 -1
- package/dist/collection/assets/icons/folder.svg +19 -0
- package/dist/collection/assets/icons/grid.svg +1 -1
- package/dist/collection/assets/icons/headset.svg +1 -1
- package/dist/collection/assets/icons/integration.svg +17 -0
- package/dist/collection/assets/icons/list.svg +1 -1
- package/dist/collection/assets/icons/location.svg +1 -1
- package/dist/collection/assets/icons/megaphone.svg +1 -1
- package/dist/collection/assets/icons/menu.svg +25 -0
- package/dist/collection/assets/icons/minus.svg +1 -1
- package/dist/collection/assets/icons/more.svg +18 -0
- package/dist/collection/assets/icons/negative.svg +1 -1
- package/dist/collection/assets/icons/pagination.svg +1 -1
- package/dist/collection/assets/icons/payment.svg +1 -1
- package/dist/collection/assets/icons/pencil.svg +1 -1
- package/dist/collection/assets/icons/person.svg +1 -1
- package/dist/collection/assets/icons/plus.svg +1 -1
- package/dist/collection/assets/icons/question.svg +1 -1
- package/dist/collection/assets/icons/receipt.svg +1 -1
- package/dist/collection/assets/icons/report.svg +1 -1
- package/dist/collection/assets/icons/search.svg +1 -1
- package/dist/collection/assets/icons/settings.svg +1 -1
- package/dist/collection/assets/icons/sick.svg +1 -1
- package/dist/collection/assets/icons/signout.svg +23 -0
- package/dist/collection/assets/icons/switch.svg +20 -0
- package/dist/collection/assets/icons/tachometer.svg +1 -1
- package/dist/collection/assets/icons/task.svg +17 -0
- package/dist/collection/assets/icons/template.svg +17 -0
- package/dist/collection/assets/icons/tool.svg +1 -1
- package/dist/collection/assets/icons/trash.svg +1 -1
- package/dist/collection/assets/icons/turn.svg +1 -1
- package/dist/collection/assets/icons/upload.svg +1 -1
- package/dist/collection/assets/icons/warning.svg +1 -1
- package/dist/collection/assets/illustrations/e-mail.svg +1 -0
- package/dist/collection/assets/images/avatar/company-default.svg +12 -0
- package/dist/collection/assets/images/avatar/user-default.svg +12 -0
- package/dist/collection/assets/images/helper/helper-hover.svg +15 -0
- package/dist/collection/assets/images/helper/helper.svg +15 -0
- package/dist/collection/collection-manifest.json +43 -5
- package/dist/collection/components/atoms/avatar/avatar.component.css +24 -0
- package/dist/collection/components/atoms/avatar/avatar.component.js +110 -0
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +18 -0
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -0
- package/dist/collection/components/atoms/button/button.component.css +95 -0
- package/dist/collection/components/atoms/button/button.component.js +374 -0
- package/dist/collection/components/atoms/card-body/card-body.component.css +9 -0
- package/dist/collection/components/atoms/card-body/card-body.component.js +40 -0
- package/dist/collection/components/atoms/card-container/card-container.component.css +17 -0
- package/dist/collection/components/atoms/card-container/card-container.component.js +63 -0
- package/dist/collection/components/atoms/card-header/card-header.component.css +17 -0
- package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
- package/dist/collection/components/atoms/counter/counter.component.css +30 -0
- package/dist/collection/components/atoms/counter/counter.component.js +63 -0
- package/dist/collection/components/atoms/divider/divider.component.css +10 -0
- package/dist/collection/components/atoms/divider/divider.component.js +20 -0
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +6 -0
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +14 -0
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +13 -0
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +64 -0
- package/dist/collection/components/atoms/helper/helper.component.css +7 -0
- package/dist/collection/components/atoms/helper/helper.component.js +49 -0
- package/dist/collection/components/atoms/icon/icon.component.css +1 -0
- package/dist/collection/components/atoms/icon/icon.component.js +156 -0
- package/dist/collection/components/{illustration → atoms/illustration}/illustration.component.js +5 -12
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +28 -0
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +106 -0
- package/dist/collection/components/atoms/layout/layout.component.css +73 -0
- package/dist/collection/components/atoms/layout/layout.component.js +47 -0
- package/dist/collection/components/atoms/loader/loader.component.css +26 -0
- package/dist/collection/components/atoms/loader/loader.component.js +154 -0
- package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
- package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
- package/dist/collection/components/{button/button.component.js → atoms/modal-body/modal-body.component.js} +12 -13
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +8 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +42 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +16 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +64 -0
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +16 -0
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +41 -0
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +5 -0
- package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -0
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +21 -0
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +112 -0
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +7 -0
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +40 -0
- package/dist/collection/components/atoms/status/status.component.css +16 -0
- package/dist/collection/components/atoms/status/status.component.js +133 -0
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +59 -0
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +109 -0
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +18 -0
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
- package/dist/collection/components/atoms/tab-group/tab-group.component.css +9 -0
- package/dist/collection/components/atoms/tab-group/tab-group.component.js +17 -0
- package/dist/collection/components/atoms/tab-item/tab-item.component.css +10 -0
- package/dist/collection/components/atoms/tab-item/tab-item.component.js +41 -0
- package/dist/collection/components/atoms/tag/tag.component.css +51 -0
- package/dist/collection/components/atoms/tag/tag.component.js +64 -0
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +43 -0
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +317 -0
- package/dist/collection/components/molecules/accordion/accordion.component.css +3 -0
- package/dist/collection/components/molecules/accordion/accordion.component.js +133 -0
- package/dist/collection/components/molecules/content-slider/content-slider.component.css +26 -0
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +229 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +12 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +267 -0
- package/dist/collection/components/molecules/input-group/input-group.component.css +204 -0
- package/dist/collection/components/molecules/input-group/input-group.component.js +264 -0
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +22 -0
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +118 -0
- package/dist/collection/components/molecules/pagination/pagination.component.css +3 -0
- package/dist/collection/components/molecules/pagination/pagination.component.js +242 -0
- package/dist/collection/components/molecules/profile/profile.component.css +36 -0
- package/dist/collection/components/molecules/profile/profile.component.js +92 -0
- package/dist/collection/components/molecules/stepper/stepper.component.css +12 -0
- package/dist/collection/components/molecules/stepper/stepper.component.js +106 -0
- package/dist/collection/components/organisms/modal/modal.component.js +175 -0
- package/dist/collection/components/organisms/navbar/navbar.component.css +56 -0
- package/dist/collection/components/organisms/navbar/navbar.component.js +99 -0
- package/dist/collection/tailwind/animation.js +17 -0
- package/dist/collection/tailwind/backdrop-blur.js +3 -0
- package/dist/collection/tailwind/border-radius.js +8 -6
- package/dist/collection/tailwind/rotate.js +8 -0
- package/dist/collection/tailwind/scale.js +3 -0
- package/dist/collection/tailwind/screens.js +8 -0
- package/dist/collection/tailwind/shadows.js +9 -5
- package/dist/collection/tailwind/spacing.js +10 -0
- package/dist/collection/tailwind/typography.js +21 -0
- package/dist/collection/tailwind/width.js +18 -0
- package/dist/collection/tailwind/z-index.js +3 -0
- package/dist/collection/tailwind.config.js +28 -17
- package/dist/collection/utils/child-of.js +5 -0
- package/dist/collection/utils/icons.js +18 -0
- package/dist/collection/utils/illustrations.js +2 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/components/avatar.component.js +54 -0
- package/dist/components/button.component.js +119 -0
- package/dist/components/counter.component.js +41 -0
- package/dist/components/divider.component.js +33 -0
- package/dist/components/dropdown-menu-container.component.js +29 -0
- package/dist/components/dropdown.component.js +170 -0
- package/dist/components/helper.component.js +42 -0
- package/dist/{cjs/p-icon.cjs.entry.js → components/icon.component.js} +300 -58
- package/dist/components/index.d.ts +42 -4
- package/dist/components/index.js +38 -0
- package/dist/components/loader.component.js +75 -0
- package/dist/components/modal-backdrop.component.js +30 -0
- package/dist/components/modal-body.component.js +36 -0
- package/dist/components/modal-container.component.js +48 -0
- package/dist/components/modal-footer.component.js +42 -0
- package/dist/components/modal-header.component.js +43 -0
- package/dist/components/p-accordion.d.ts +11 -0
- package/dist/components/p-accordion.js +73 -0
- package/dist/components/p-avatar-group.d.ts +11 -0
- package/dist/components/p-avatar-group.js +34 -0
- package/dist/components/p-avatar.d.ts +11 -0
- package/dist/components/p-avatar.js +6 -0
- package/dist/components/p-button.js +1 -34
- package/dist/components/p-card-body.d.ts +11 -0
- package/dist/components/p-card-body.js +38 -0
- package/dist/components/p-card-container.d.ts +11 -0
- package/dist/components/p-card-container.js +44 -0
- package/dist/components/p-card-header.d.ts +11 -0
- package/dist/components/p-card-header.js +46 -0
- package/dist/components/p-content-slider.d.ts +11 -0
- package/dist/components/p-content-slider.js +181 -0
- package/dist/components/p-counter.d.ts +11 -0
- package/dist/components/p-counter.js +6 -0
- package/dist/components/p-divider.d.ts +11 -0
- package/dist/components/p-divider.js +6 -0
- package/dist/components/p-dropdown-menu-container.d.ts +11 -0
- package/dist/components/p-dropdown-menu-container.js +6 -0
- package/dist/components/p-dropdown-menu-item.d.ts +11 -0
- package/dist/components/p-dropdown-menu-item.js +46 -0
- package/dist/components/p-dropdown.d.ts +11 -0
- package/dist/components/p-dropdown.js +6 -0
- package/dist/components/p-helper.d.ts +11 -0
- package/dist/components/p-helper.js +6 -0
- package/dist/components/p-icon.js +1 -815
- package/dist/components/p-illustration.js +6 -7
- package/dist/components/p-info-panel.d.ts +11 -0
- package/dist/components/p-info-panel.js +56 -0
- package/dist/components/p-input-group.d.ts +11 -0
- package/dist/components/p-input-group.js +96 -0
- package/dist/components/p-layout.d.ts +11 -0
- package/dist/components/p-layout.js +39 -0
- package/dist/components/p-loader.d.ts +11 -0
- package/dist/components/p-loader.js +6 -0
- package/dist/components/p-modal-backdrop.d.ts +11 -0
- package/dist/components/p-modal-backdrop.js +6 -0
- package/dist/components/p-modal-body.d.ts +11 -0
- package/dist/components/p-modal-body.js +6 -0
- package/dist/components/p-modal-container.d.ts +11 -0
- package/dist/components/p-modal-container.js +6 -0
- package/dist/components/p-modal-footer.d.ts +11 -0
- package/dist/components/p-modal-footer.js +6 -0
- package/dist/components/p-modal-header.d.ts +11 -0
- package/dist/components/p-modal-header.js +6 -0
- package/dist/components/p-modal.d.ts +11 -0
- package/dist/components/p-modal.js +111 -0
- package/dist/components/p-navbar.d.ts +11 -0
- package/dist/components/p-navbar.js +70 -0
- package/dist/components/p-navigation-item.d.ts +11 -0
- package/dist/components/p-navigation-item.js +55 -0
- package/dist/components/p-pagination-item.d.ts +11 -0
- package/dist/components/p-pagination-item.js +6 -0
- package/dist/components/p-pagination.d.ts +11 -0
- package/dist/components/p-pagination.js +200 -0
- package/dist/components/p-profile.d.ts +11 -0
- package/dist/components/p-profile.js +88 -0
- package/dist/components/p-segment-container.d.ts +11 -0
- package/dist/components/p-segment-container.js +32 -0
- package/dist/components/p-segment-item.d.ts +11 -0
- package/dist/components/p-segment-item.js +54 -0
- package/dist/components/p-slider-indicator.d.ts +11 -0
- package/dist/components/p-slider-indicator.js +6 -0
- package/dist/components/p-status.d.ts +11 -0
- package/dist/components/p-status.js +73 -0
- package/dist/components/p-stepper-item.d.ts +11 -0
- package/dist/components/p-stepper-item.js +6 -0
- package/dist/components/p-stepper-line.d.ts +11 -0
- package/dist/components/p-stepper-line.js +6 -0
- package/dist/components/p-stepper.d.ts +11 -0
- package/dist/components/p-stepper.js +106 -0
- package/dist/components/p-tab-group.d.ts +11 -0
- package/dist/components/p-tab-group.js +39 -0
- package/dist/components/p-tab-item.d.ts +11 -0
- package/dist/components/p-tab-item.js +39 -0
- package/dist/components/p-tag.d.ts +11 -0
- package/dist/components/p-tag.js +44 -0
- package/dist/components/p-tooltip.js +1 -1886
- package/dist/components/pagination-item.component.js +36 -0
- package/dist/components/popper.js +1788 -0
- package/dist/components/slider-indicator.component.js +36 -0
- package/dist/components/stepper-item.component.js +57 -0
- package/dist/components/stepper-line.component.js +41 -0
- package/dist/components/tooltip.component.js +161 -0
- package/dist/esm/{index-e4d80e41.js → index-9062156b.js} +690 -15
- package/dist/esm/loader.js +3 -3
- package/dist/esm/p-accordion.entry.js +38 -0
- package/dist/esm/p-avatar-group.entry.js +15 -0
- package/dist/esm/p-avatar_2.entry.js +174 -0
- package/dist/esm/{p-icon.entry.js → p-button_3.entry.js} +403 -50
- package/dist/esm/p-card-body.entry.js +19 -0
- package/dist/esm/p-card-container.entry.js +23 -0
- package/dist/esm/p-card-header.entry.js +20 -0
- package/dist/esm/p-content-slider.entry.js +149 -0
- package/dist/esm/p-counter.entry.js +23 -0
- package/dist/esm/p-divider.entry.js +18 -0
- package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
- package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
- package/dist/esm/p-helper.entry.js +19 -0
- package/dist/esm/p-illustration.entry.js +14 -14
- package/dist/esm/p-info-panel.entry.js +27 -0
- package/dist/esm/p-input-group.entry.js +47 -0
- package/dist/esm/p-layout.entry.js +19 -0
- package/dist/esm/p-modal-backdrop_5.entry.js +93 -0
- package/dist/esm/p-modal.entry.js +44 -0
- package/dist/esm/p-navbar.entry.js +30 -0
- package/dist/esm/p-navigation-item.entry.js +19 -0
- package/dist/esm/p-pagination-item.entry.js +19 -0
- package/dist/esm/p-pagination.entry.js +167 -0
- package/dist/esm/p-profile.entry.js +42 -0
- package/dist/esm/p-segment-container.entry.js +15 -0
- package/dist/esm/p-segment-item.entry.js +25 -0
- package/dist/esm/p-slider-indicator.entry.js +19 -0
- package/dist/esm/p-status.entry.js +45 -0
- package/dist/esm/p-stepper-item_2.entry.js +51 -0
- package/dist/esm/p-stepper.entry.js +67 -0
- package/dist/esm/p-tab-group.entry.js +15 -0
- package/dist/esm/p-tab-item.entry.js +19 -0
- package/dist/esm/p-tag.entry.js +23 -0
- package/dist/esm/p-tooltip.entry.js +84 -1814
- package/dist/esm/paperless.js +3 -3
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/popper-41c6f9cd.js +1788 -0
- package/dist/index.html +1 -1
- package/dist/paperless/p-05d5e3fd.entry.js +1 -0
- package/dist/paperless/p-113baa35.entry.js +1 -0
- package/dist/paperless/p-19c20c8e.entry.js +1 -0
- package/dist/paperless/p-1ef22f4e.entry.js +1 -0
- package/dist/paperless/p-2beaf0e8.entry.js +1 -0
- package/dist/paperless/p-3f6c9d44.entry.js +1 -0
- package/dist/paperless/p-4336cbbc.entry.js +1 -0
- package/dist/paperless/p-4ca40a0a.entry.js +1 -0
- package/dist/paperless/p-6088647a.entry.js +1 -0
- package/dist/paperless/p-6835a9e3.entry.js +1 -0
- package/dist/paperless/p-6e778574.entry.js +1 -0
- package/dist/paperless/p-79d3258f.entry.js +1 -0
- package/dist/paperless/p-801d05b6.entry.js +1 -0
- package/dist/paperless/p-829c4101.entry.js +1 -0
- package/dist/paperless/p-89fda3a8.entry.js +1 -0
- package/dist/paperless/p-8ac8a69d.entry.js +1 -0
- package/dist/{build/p-98d636b6.entry.js → paperless/p-8b743795.entry.js} +1 -1
- package/dist/paperless/p-910b5034.entry.js +1 -0
- package/dist/paperless/p-92b6c76c.entry.js +1 -0
- package/dist/paperless/p-938f52ee.entry.js +1 -0
- package/dist/paperless/p-9d98d0d9.entry.js +1 -0
- package/dist/paperless/p-a5ebbd0c.entry.js +1 -0
- package/dist/paperless/p-a7086ffa.js +1 -0
- package/dist/paperless/p-bc7e8cc4.js +2 -0
- package/dist/paperless/p-bd50db3d.entry.js +1 -0
- package/dist/paperless/p-c27046e6.entry.js +1 -0
- package/dist/paperless/p-c59d9fc2.entry.js +1 -0
- package/dist/paperless/p-cc177072.entry.js +1 -0
- package/dist/paperless/p-d32f2578.entry.js +1 -0
- package/dist/paperless/p-e20a1842.entry.js +1 -0
- package/dist/paperless/p-e2a98d53.entry.js +1 -0
- package/dist/paperless/p-e3797d1d.entry.js +1 -0
- package/dist/paperless/p-e934ef94.entry.js +1 -0
- package/dist/paperless/p-e9e20ac3.entry.js +1 -0
- package/dist/paperless/p-ec2a5f95.entry.js +1 -0
- package/dist/paperless/p-ede5e914.entry.js +1 -0
- package/dist/paperless/paperless.css +290 -22811
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +2 -248
- package/dist/sw.js.map +1 -0
- package/dist/tailwind/animation.js +17 -0
- package/dist/tailwind/backdrop-blur.js +3 -0
- package/dist/tailwind/border-radius.js +10 -0
- package/dist/tailwind/colors.js +52 -0
- package/dist/tailwind/rotate.js +8 -0
- package/dist/tailwind/scale.js +3 -0
- package/dist/tailwind/screens.js +8 -0
- package/dist/tailwind/shadows.js +11 -0
- package/dist/tailwind/spacing.js +10 -0
- package/dist/tailwind/typography.js +21 -0
- package/dist/tailwind/width.js +18 -0
- package/dist/tailwind/z-index.js +3 -0
- package/dist/tailwind.config.js +28 -17
- package/dist/types/components/atoms/avatar/avatar.component.d.ts +21 -0
- package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
- package/dist/types/components/atoms/button/button.component.d.ts +68 -0
- package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
- package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
- package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
- package/dist/types/components/atoms/counter/counter.component.d.ts +11 -0
- package/dist/types/components/atoms/divider/divider.component.d.ts +7 -0
- package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
- package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +12 -0
- package/dist/types/components/atoms/helper/helper.component.d.ts +8 -0
- package/dist/types/components/{icon → atoms/icon}/icon.component.d.ts +6 -5
- package/dist/types/components/{illustration → atoms/illustration}/illustration.component.d.ts +2 -2
- package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +24 -0
- package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
- package/dist/types/components/atoms/loader/loader.component.d.ts +30 -0
- package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
- package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
- package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
- package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +7 -0
- package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
- package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
- package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
- package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
- package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
- package/dist/types/components/atoms/status/status.component.d.ts +23 -0
- package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
- package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
- package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
- package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
- package/dist/types/components/atoms/tag/tag.component.d.ts +11 -0
- package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +49 -0
- package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
- package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +44 -0
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +47 -0
- package/dist/types/components/molecules/input-group/input-group.component.d.ts +53 -0
- package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
- package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
- package/dist/types/components/molecules/profile/profile.component.d.ts +19 -0
- package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
- package/dist/types/components/organisms/modal/modal.component.d.ts +38 -0
- package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
- package/dist/types/components.d.ts +1467 -63
- package/dist/types/utils/child-of.d.ts +1 -0
- package/dist/types/utils/icons.d.ts +9 -0
- package/dist/types/utils/illustrations.d.ts +1 -0
- package/dist/types/utils/types.d.ts +2 -0
- package/dist/workbox-5fe694da.js +2 -0
- package/dist/workbox-5fe694da.js.map +1 -0
- package/package.json +61 -60
- package/dist/build/p-3318b73b.entry.js +0 -1
- package/dist/build/p-6f9229a6.js +0 -2
- package/dist/build/p-711630fb.entry.js +0 -1
- package/dist/build/p-c3d80205.entry.js +0 -1
- package/dist/cjs/p-button.cjs.entry.js +0 -23
- package/dist/collection/components/button/button.component.css +0 -6
- package/dist/collection/components/icon/icon.component.js +0 -108
- package/dist/collection/components/tooltip/tooltip.component.css +0 -34
- package/dist/collection/components/tooltip/tooltip.component.js +0 -174
- package/dist/collection/tailwind/grid.js +0 -6
- package/dist/esm/p-button.entry.js +0 -19
- package/dist/paperless/p-3318b73b.entry.js +0 -1
- package/dist/paperless/p-6f9229a6.js +0 -2
- package/dist/paperless/p-711630fb.entry.js +0 -1
- package/dist/paperless/p-c3d80205.entry.js +0 -1
- package/dist/types/components/button/button.component.d.ts +0 -7
- package/dist/types/components/tooltip/tooltip.component.d.ts +0 -28
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply grid h-screen w-screen content-start overflow-hidden;
|
|
3
|
+
grid-template-columns: 1fr;
|
|
4
|
+
grid-template-rows: repeat(1fr, 3);
|
|
5
|
+
gap: 0;
|
|
6
|
+
grid-template-areas: "topbar" "sidebar" "content";
|
|
7
|
+
}
|
|
8
|
+
@screen desktop-xs {
|
|
9
|
+
:host {
|
|
10
|
+
grid-template-columns: auto 1fr;
|
|
11
|
+
grid-template-rows: auto 1fr;
|
|
12
|
+
grid-template-areas: "topbar topbar" "sidebar content";
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
:host .topbar,
|
|
16
|
+
:host .sidebar,
|
|
17
|
+
:host .content {
|
|
18
|
+
@apply self-start;
|
|
19
|
+
}
|
|
20
|
+
:host .topbar {
|
|
21
|
+
grid-area: topbar;
|
|
22
|
+
@apply sticky w-full;
|
|
23
|
+
@apply order-2 desktop-sm:order-1;
|
|
24
|
+
}
|
|
25
|
+
:host .sidebar {
|
|
26
|
+
grid-area: sidebar;
|
|
27
|
+
@apply flex h-full box-border;
|
|
28
|
+
@apply w-sidebar-mobile desktop-sm:w-sidebar-desktop;
|
|
29
|
+
@apply order-1 desktop-sm:order-2;
|
|
30
|
+
}
|
|
31
|
+
:host .content {
|
|
32
|
+
grid-area: content;
|
|
33
|
+
@apply relative flex flex-col h-full overflow-y-auto overflow-x-hidden;
|
|
34
|
+
@apply order-3;
|
|
35
|
+
padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
|
|
36
|
+
}
|
|
37
|
+
:host .content .inner-content {
|
|
38
|
+
@apply relative pb-24 box-content;
|
|
39
|
+
@apply px-content-mobile-x py-content-mobile-y;
|
|
40
|
+
@apply desktop-sm:px-content-desktop-x desktop-sm:py-content-desktop-y;
|
|
41
|
+
@apply desktop-xs:w-content-desktop-xs desktop-sm:w-content-desktop-sm desktop:w-content-desktop desktop-lg:w-content-desktop-lg desktop-xl:w-content-desktop-xl;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
:host(.variant-default) .content {
|
|
45
|
+
@apply flex-1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host(.variant-login) {
|
|
49
|
+
grid-template-areas: "topbar topbar" "content content";
|
|
50
|
+
}
|
|
51
|
+
@screen desktop-xs {
|
|
52
|
+
:host(.variant-login) {
|
|
53
|
+
grid-template-areas: "topbar topbar" "content sidebar";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
:host(.variant-login) .sidebar {
|
|
57
|
+
@apply hidden desktop-xs:flex w-unset;
|
|
58
|
+
@apply order-3 p-2;
|
|
59
|
+
@apply flex-1 overflow-hidden;
|
|
60
|
+
}
|
|
61
|
+
:host(.variant-login) .sidebar .inner-content {
|
|
62
|
+
@apply p-2;
|
|
63
|
+
}
|
|
64
|
+
:host(.variant-login) .content {
|
|
65
|
+
@apply order-3 desktop-xs:order-2;
|
|
66
|
+
@apply items-center desktop-xs:justify-center;
|
|
67
|
+
}
|
|
68
|
+
:host(.variant-login) .content .inner-content {
|
|
69
|
+
@apply box-border;
|
|
70
|
+
@apply desktop-xs:py-0 desktop-xs:px-18;
|
|
71
|
+
@apply w-full tablet:w-content-desktop-login;
|
|
72
|
+
@apply pt-14 desktop-xs:pt-content-mobile-y;
|
|
73
|
+
} .static{position:static!important}*{box-sizing:border-box}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class Layout {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Variant of the layout
|
|
6
|
+
*/
|
|
7
|
+
this.variant = 'default';
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-layout variant-${this.variant}` },
|
|
11
|
+
h("div", { class: "topbar" },
|
|
12
|
+
h("slot", { name: "topbar" })),
|
|
13
|
+
h("div", { class: "sidebar" },
|
|
14
|
+
h("slot", { name: "sidebar" })),
|
|
15
|
+
h("div", { class: "content" },
|
|
16
|
+
h("div", { class: "inner-content" },
|
|
17
|
+
h("slot", { name: "content" })))));
|
|
18
|
+
}
|
|
19
|
+
static get is() { return "p-layout"; }
|
|
20
|
+
static get encapsulation() { return "shadow"; }
|
|
21
|
+
static get originalStyleUrls() { return {
|
|
22
|
+
"$": ["layout.component.scss"]
|
|
23
|
+
}; }
|
|
24
|
+
static get styleUrls() { return {
|
|
25
|
+
"$": ["layout.component.css"]
|
|
26
|
+
}; }
|
|
27
|
+
static get properties() { return {
|
|
28
|
+
"variant": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"mutable": false,
|
|
31
|
+
"complexType": {
|
|
32
|
+
"original": "'default' | 'login'",
|
|
33
|
+
"resolved": "\"default\" | \"login\"",
|
|
34
|
+
"references": {}
|
|
35
|
+
},
|
|
36
|
+
"required": false,
|
|
37
|
+
"optional": false,
|
|
38
|
+
"docs": {
|
|
39
|
+
"tags": [],
|
|
40
|
+
"text": "Variant of the layout"
|
|
41
|
+
},
|
|
42
|
+
"attribute": "variant",
|
|
43
|
+
"reflect": false,
|
|
44
|
+
"defaultValue": "'default'"
|
|
45
|
+
}
|
|
46
|
+
}; }
|
|
47
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
:host .loader {
|
|
2
|
+
@apply w-[1em] h-[1em] inline-block rounded-round;
|
|
3
|
+
@apply animate-spin duration-500;
|
|
4
|
+
@apply border-solid border-2 border-indigo-light border-t-indigo !important;
|
|
5
|
+
}
|
|
6
|
+
:host .loader.color-storm {
|
|
7
|
+
@apply border-storm-light/40 border-t-storm !important;
|
|
8
|
+
}
|
|
9
|
+
:host .loader.color-white {
|
|
10
|
+
@apply border-indigo-light/40 border-t-white !important;
|
|
11
|
+
}
|
|
12
|
+
:host .loading-screen {
|
|
13
|
+
@apply fixed top-0 left-0 w-screen h-screen;
|
|
14
|
+
@apply flex items-center justify-center;
|
|
15
|
+
@apply bg-mystic;
|
|
16
|
+
z-index: 1001;
|
|
17
|
+
}
|
|
18
|
+
:host .loading-screen .content {
|
|
19
|
+
@apply max-w-xs;
|
|
20
|
+
}
|
|
21
|
+
:host .loading-screen .content .loader-wrapper {
|
|
22
|
+
@apply w-full flex justify-center;
|
|
23
|
+
}
|
|
24
|
+
:host .loading-screen .content .loader-wrapper .loader {
|
|
25
|
+
@apply text-4xl;
|
|
26
|
+
} .static{position:static!important}.w-full{width:100%!important}*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.rotate-0{--tw-rotate:0deg!important}.rotate-0,.rotate-25{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}.rotate-25{--tw-rotate:25deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{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}.rotate-90{--tw-rotate:90deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{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}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-270{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}.rotate-270{--tw-rotate:270deg!important}.rotate-315{--tw-rotate:315deg!important}.-rotate-0,.rotate-315{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}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-45{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}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-135,.-rotate-90{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}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{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}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-270,.-rotate-315{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}.-rotate-315{--tw-rotate:-315deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{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}.scale-y-flip{--tw-scale-y:-1!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}.text-xxs{font-size:.6875rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important;line-height:1!important}.text-6xl{font-size:3.75rem!important;line-height:1!important}*{box-sizing:border-box}.static{position:static!important}.inline{display:inline!important}.flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}*{box-sizing:border-box}.static{position:static!important}.inline{display:inline!important}.flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}*{box-sizing:border-box}.static{position:static!important}.m-0{margin:0!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}*{box-sizing:border-box}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class Loader {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether to show or hide the loader
|
|
6
|
+
*/
|
|
7
|
+
this.show = true;
|
|
8
|
+
/**
|
|
9
|
+
* Variant of loader
|
|
10
|
+
*/
|
|
11
|
+
this.variant = 'inline';
|
|
12
|
+
/**
|
|
13
|
+
* Color of the loader
|
|
14
|
+
*/
|
|
15
|
+
this.color = 'indigo';
|
|
16
|
+
this._show = this.show;
|
|
17
|
+
this._loader = (h("div", { class: `loader color-${this.color}` }));
|
|
18
|
+
}
|
|
19
|
+
componentWillRender() {
|
|
20
|
+
this._checkShow();
|
|
21
|
+
}
|
|
22
|
+
componentShouldUpdate() {
|
|
23
|
+
this._checkShow();
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
if (!this._show) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
if (this.variant === 'full-screen') {
|
|
30
|
+
return (h(Host, { class: "p-loader variant-full-screen" },
|
|
31
|
+
h("div", { class: "loading-screen" },
|
|
32
|
+
h("div", { class: "content" },
|
|
33
|
+
h("slot", null),
|
|
34
|
+
h("div", { class: "loader-wrapper" }, this._loader)))));
|
|
35
|
+
}
|
|
36
|
+
return (h(Host, { class: `p-loader flex ${this.variant === 'full-width' &&
|
|
37
|
+
'w-full flex justify-center text-4xl'}` }, this._loader));
|
|
38
|
+
}
|
|
39
|
+
_checkShow() {
|
|
40
|
+
var _a;
|
|
41
|
+
if (this._showSubscriber) {
|
|
42
|
+
this._showSubscriber.unsubscribe();
|
|
43
|
+
this._showSubscriber = null;
|
|
44
|
+
}
|
|
45
|
+
if (typeof this.show !== 'boolean') {
|
|
46
|
+
this._showSubscriber = (_a = this.show) === null || _a === void 0 ? void 0 : _a.subscribe((show) => (this._show = show));
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this._show = this.show;
|
|
50
|
+
}
|
|
51
|
+
static get is() { return "p-loader"; }
|
|
52
|
+
static get encapsulation() { return "shadow"; }
|
|
53
|
+
static get originalStyleUrls() { return {
|
|
54
|
+
"$": ["loader.component.scss"]
|
|
55
|
+
}; }
|
|
56
|
+
static get styleUrls() { return {
|
|
57
|
+
"$": ["loader.component.css"]
|
|
58
|
+
}; }
|
|
59
|
+
static get properties() { return {
|
|
60
|
+
"show": {
|
|
61
|
+
"type": "boolean",
|
|
62
|
+
"mutable": false,
|
|
63
|
+
"complexType": {
|
|
64
|
+
"original": "boolean | Observable<boolean>",
|
|
65
|
+
"resolved": "Observable<boolean> | boolean",
|
|
66
|
+
"references": {
|
|
67
|
+
"Observable": {
|
|
68
|
+
"location": "import",
|
|
69
|
+
"path": "rxjs"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"required": false,
|
|
74
|
+
"optional": false,
|
|
75
|
+
"docs": {
|
|
76
|
+
"tags": [],
|
|
77
|
+
"text": "Wether to show or hide the loader"
|
|
78
|
+
},
|
|
79
|
+
"attribute": "show",
|
|
80
|
+
"reflect": false,
|
|
81
|
+
"defaultValue": "true"
|
|
82
|
+
},
|
|
83
|
+
"variant": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"mutable": false,
|
|
86
|
+
"complexType": {
|
|
87
|
+
"original": "'inline' | 'full-width' | 'full-screen' | 'modal'",
|
|
88
|
+
"resolved": "\"full-screen\" | \"full-width\" | \"inline\" | \"modal\"",
|
|
89
|
+
"references": {}
|
|
90
|
+
},
|
|
91
|
+
"required": false,
|
|
92
|
+
"optional": false,
|
|
93
|
+
"docs": {
|
|
94
|
+
"tags": [],
|
|
95
|
+
"text": "Variant of loader"
|
|
96
|
+
},
|
|
97
|
+
"attribute": "variant",
|
|
98
|
+
"reflect": false,
|
|
99
|
+
"defaultValue": "'inline'"
|
|
100
|
+
},
|
|
101
|
+
"color": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "'indigo' | 'white' | 'storm'",
|
|
106
|
+
"resolved": "\"indigo\" | \"storm\" | \"white\"",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": false,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": "Color of the loader"
|
|
114
|
+
},
|
|
115
|
+
"attribute": "color",
|
|
116
|
+
"reflect": false,
|
|
117
|
+
"defaultValue": "'indigo'"
|
|
118
|
+
},
|
|
119
|
+
"modalTitle": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"mutable": false,
|
|
122
|
+
"complexType": {
|
|
123
|
+
"original": "string",
|
|
124
|
+
"resolved": "string",
|
|
125
|
+
"references": {}
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"optional": false,
|
|
129
|
+
"docs": {
|
|
130
|
+
"tags": [],
|
|
131
|
+
"text": "!NOT IMPLEMENTED! Modal title for modal variant"
|
|
132
|
+
},
|
|
133
|
+
"attribute": "modal-title",
|
|
134
|
+
"reflect": false
|
|
135
|
+
},
|
|
136
|
+
"modalDescription": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"mutable": false,
|
|
139
|
+
"complexType": {
|
|
140
|
+
"original": "string",
|
|
141
|
+
"resolved": "string",
|
|
142
|
+
"references": {}
|
|
143
|
+
},
|
|
144
|
+
"required": false,
|
|
145
|
+
"optional": false,
|
|
146
|
+
"docs": {
|
|
147
|
+
"tags": [],
|
|
148
|
+
"text": "!NOT IMPLEMENTED! Modal description for modal variant"
|
|
149
|
+
},
|
|
150
|
+
"attribute": "modal-description",
|
|
151
|
+
"reflect": false
|
|
152
|
+
}
|
|
153
|
+
}; }
|
|
154
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply fixed top-0 left-0 z-modal;
|
|
3
|
+
@apply h-screen w-screen tablet:px-16 desktop-xs:p-16;
|
|
4
|
+
@apply backdrop-blur-xs bg-storm/50;
|
|
5
|
+
@apply flex justify-center items-end desktop-xs:items-center;
|
|
6
|
+
@apply animate-fade-in;
|
|
7
|
+
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Component, h, Host } from '@stencil/core';
|
|
2
|
+
export class ModalBackdrop {
|
|
3
|
+
render() {
|
|
4
|
+
return (h(Host, { class: "p-modal-backdrop" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "p-modal-backdrop"; }
|
|
8
|
+
static get encapsulation() { return "shadow"; }
|
|
9
|
+
static get originalStyleUrls() { return {
|
|
10
|
+
"$": ["modal-backdrop.component.scss"]
|
|
11
|
+
}; }
|
|
12
|
+
static get styleUrls() { return {
|
|
13
|
+
"$": ["modal-backdrop.component.css"]
|
|
14
|
+
}; }
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply px-6 tablet:px-10 desktop-xs:px-14 py-6;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:host(.variant-table) {
|
|
6
|
+
@apply px-6;
|
|
7
|
+
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -1,42 +1,41 @@
|
|
|
1
1
|
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
-
export class
|
|
2
|
+
export class ModalBody {
|
|
3
3
|
constructor() {
|
|
4
4
|
/**
|
|
5
|
-
* The variant of the
|
|
5
|
+
* The variant of the modal body
|
|
6
6
|
*/
|
|
7
|
-
this.variant = '
|
|
7
|
+
this.variant = 'default';
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host,
|
|
11
|
-
h("
|
|
12
|
-
h("slot", null))));
|
|
10
|
+
return (h(Host, { class: `p-modal-body variant-${this.variant}` },
|
|
11
|
+
h("slot", null)));
|
|
13
12
|
}
|
|
14
|
-
static get is() { return "p-
|
|
13
|
+
static get is() { return "p-modal-body"; }
|
|
15
14
|
static get encapsulation() { return "shadow"; }
|
|
16
15
|
static get originalStyleUrls() { return {
|
|
17
|
-
"$": ["
|
|
16
|
+
"$": ["modal-body.component.scss"]
|
|
18
17
|
}; }
|
|
19
18
|
static get styleUrls() { return {
|
|
20
|
-
"$": ["
|
|
19
|
+
"$": ["modal-body.component.css"]
|
|
21
20
|
}; }
|
|
22
21
|
static get properties() { return {
|
|
23
22
|
"variant": {
|
|
24
23
|
"type": "string",
|
|
25
24
|
"mutable": false,
|
|
26
25
|
"complexType": {
|
|
27
|
-
"original": "'
|
|
28
|
-
"resolved": "\"
|
|
26
|
+
"original": "'default' | 'table'",
|
|
27
|
+
"resolved": "\"default\" | \"table\"",
|
|
29
28
|
"references": {}
|
|
30
29
|
},
|
|
31
30
|
"required": false,
|
|
32
31
|
"optional": false,
|
|
33
32
|
"docs": {
|
|
34
33
|
"tags": [],
|
|
35
|
-
"text": "The variant of the
|
|
34
|
+
"text": "The variant of the modal body"
|
|
36
35
|
},
|
|
37
36
|
"attribute": "variant",
|
|
38
37
|
"reflect": false,
|
|
39
|
-
"defaultValue": "'
|
|
38
|
+
"defaultValue": "'default'"
|
|
40
39
|
}
|
|
41
40
|
}; }
|
|
42
41
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
p-modal-container {
|
|
2
|
+
@apply flex flex-col w-full tablet:w-auto;
|
|
3
|
+
@apply bg-white rounded-t-xxlarge desktop-xs:rounded-b-xxlarge;
|
|
4
|
+
@apply overflow-hidden;
|
|
5
|
+
@apply shadow-4 !important;
|
|
6
|
+
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
// $modal-xs: 20rem;
|
|
3
|
+
// $modal-sm: 33.5rem;
|
|
4
|
+
// $modal-md: 38rem;
|
|
5
|
+
// $modal-lg: 47.5rem;
|
|
6
|
+
// $modal-xl: 57.5rem;
|
|
7
|
+
const modalSizes = {
|
|
8
|
+
xs: 'tablet:w-80',
|
|
9
|
+
sm: 'tablet:w-[33.5rem]',
|
|
10
|
+
md: 'tablet:w-[38rem]',
|
|
11
|
+
lg: 'tablet:w-[47.5rem]',
|
|
12
|
+
xl: 'tablet:w-[57.5rem]',
|
|
13
|
+
};
|
|
14
|
+
export class ModalContainer {
|
|
15
|
+
constructor() {
|
|
16
|
+
/**
|
|
17
|
+
* The size of the modal container
|
|
18
|
+
*/
|
|
19
|
+
this.size = 'md';
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
const sizeClass = modalSizes[this.size];
|
|
23
|
+
return (h(Host, { class: `p-modal-container ${sizeClass}` },
|
|
24
|
+
h("slot", null)));
|
|
25
|
+
}
|
|
26
|
+
static get is() { return "p-modal-container"; }
|
|
27
|
+
static get originalStyleUrls() { return {
|
|
28
|
+
"$": ["modal-container.component.scss"]
|
|
29
|
+
}; }
|
|
30
|
+
static get styleUrls() { return {
|
|
31
|
+
"$": ["modal-container.component.css"]
|
|
32
|
+
}; }
|
|
33
|
+
static get properties() { return {
|
|
34
|
+
"size": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"mutable": false,
|
|
37
|
+
"complexType": {
|
|
38
|
+
"original": "'sm' | 'md' | 'lg' | 'xl'",
|
|
39
|
+
"resolved": "\"lg\" | \"md\" | \"sm\" | \"xl\"",
|
|
40
|
+
"references": {}
|
|
41
|
+
},
|
|
42
|
+
"required": false,
|
|
43
|
+
"optional": false,
|
|
44
|
+
"docs": {
|
|
45
|
+
"tags": [],
|
|
46
|
+
"text": "The size of the modal container"
|
|
47
|
+
},
|
|
48
|
+
"attribute": "size",
|
|
49
|
+
"reflect": false,
|
|
50
|
+
"defaultValue": "'md'"
|
|
51
|
+
}
|
|
52
|
+
}; }
|
|
53
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply flex flex-col;
|
|
3
|
+
@apply pb-6 px-6;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:host(.hide-on-mobile) {
|
|
7
|
+
@apply hidden desktop-xs:flex;
|
|
8
|
+
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class ModalFooter {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether to show the footer on mobile
|
|
6
|
+
*/
|
|
7
|
+
this.hideOnMobile = true;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-modal-footer ${this.hideOnMobile && 'hide-on-mobile'}` },
|
|
11
|
+
h("p-divider", { class: "mb-6 mt-0" }),
|
|
12
|
+
h("slot", null)));
|
|
13
|
+
}
|
|
14
|
+
static get is() { return "p-modal-footer"; }
|
|
15
|
+
static get encapsulation() { return "shadow"; }
|
|
16
|
+
static get originalStyleUrls() { return {
|
|
17
|
+
"$": ["modal-footer.component.scss"]
|
|
18
|
+
}; }
|
|
19
|
+
static get styleUrls() { return {
|
|
20
|
+
"$": ["modal-footer.component.css"]
|
|
21
|
+
}; }
|
|
22
|
+
static get properties() { return {
|
|
23
|
+
"hideOnMobile": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"mutable": false,
|
|
26
|
+
"complexType": {
|
|
27
|
+
"original": "boolean",
|
|
28
|
+
"resolved": "boolean",
|
|
29
|
+
"references": {}
|
|
30
|
+
},
|
|
31
|
+
"required": false,
|
|
32
|
+
"optional": false,
|
|
33
|
+
"docs": {
|
|
34
|
+
"tags": [],
|
|
35
|
+
"text": "Wether to show the footer on mobile"
|
|
36
|
+
},
|
|
37
|
+
"attribute": "hide-on-mobile",
|
|
38
|
+
"reflect": false,
|
|
39
|
+
"defaultValue": "true"
|
|
40
|
+
}
|
|
41
|
+
}; }
|
|
42
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply bg-white;
|
|
3
|
+
@apply desktop-xs:bg-mystic;
|
|
4
|
+
@apply flex justify-between items-center mx-4 py-4;
|
|
5
|
+
@apply desktop-xs:mx-0 desktop-xs:px-8 desktop-xs:py-6;
|
|
6
|
+
@apply text-storm-dark text-xl font-semibold;
|
|
7
|
+
@apply desktop-xs:text-3xl desktop-xs:font-bold;
|
|
8
|
+
@apply border-0 border-b border-solid border-b-mystic-medium !important;
|
|
9
|
+
}
|
|
10
|
+
:host .close {
|
|
11
|
+
@apply flex justify-center items-center w-7 h-7 rounded bg-indigo-light text-storm-vague cursor-pointer;
|
|
12
|
+
@apply desktop-xs:hidden;
|
|
13
|
+
}
|
|
14
|
+
:host .close:hover {
|
|
15
|
+
@apply bg-indigo/20;
|
|
16
|
+
} .container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}*{box-sizing:border-box}@media (min-width:40rem){.tablet\:w-80{width:20rem!important}.tablet\:w-\[33\.5rem\]{width:33.5rem!important}.tablet\:w-\[38rem\]{width:38rem!important}.tablet\:w-\[47\.5rem\]{width:47.5rem!important}.tablet\:w-\[57\.5rem\]{width:57.5rem!important}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Component, Event, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class ModalHeader {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether to show the close button on mobile
|
|
6
|
+
*/
|
|
7
|
+
this.showMobileClose = true;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: "p-modal-header" },
|
|
11
|
+
h("span", null,
|
|
12
|
+
h("slot", null)),
|
|
13
|
+
this.showMobileClose && (h("div", { class: "close", onClick: () => this.close.emit() },
|
|
14
|
+
h("p-icon", { variant: "negative" })))));
|
|
15
|
+
}
|
|
16
|
+
static get is() { return "p-modal-header"; }
|
|
17
|
+
static get encapsulation() { return "shadow"; }
|
|
18
|
+
static get originalStyleUrls() { return {
|
|
19
|
+
"$": ["modal-header.component.scss"]
|
|
20
|
+
}; }
|
|
21
|
+
static get styleUrls() { return {
|
|
22
|
+
"$": ["modal-header.component.css"]
|
|
23
|
+
}; }
|
|
24
|
+
static get properties() { return {
|
|
25
|
+
"showMobileClose": {
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"mutable": false,
|
|
28
|
+
"complexType": {
|
|
29
|
+
"original": "boolean",
|
|
30
|
+
"resolved": "boolean",
|
|
31
|
+
"references": {}
|
|
32
|
+
},
|
|
33
|
+
"required": false,
|
|
34
|
+
"optional": false,
|
|
35
|
+
"docs": {
|
|
36
|
+
"tags": [],
|
|
37
|
+
"text": "Wether to show the close button on mobile"
|
|
38
|
+
},
|
|
39
|
+
"attribute": "show-mobile-close",
|
|
40
|
+
"reflect": false,
|
|
41
|
+
"defaultValue": "true"
|
|
42
|
+
}
|
|
43
|
+
}; }
|
|
44
|
+
static get events() { return [{
|
|
45
|
+
"method": "close",
|
|
46
|
+
"name": "close",
|
|
47
|
+
"bubbles": true,
|
|
48
|
+
"cancelable": true,
|
|
49
|
+
"composed": true,
|
|
50
|
+
"docs": {
|
|
51
|
+
"tags": [],
|
|
52
|
+
"text": "Close click event"
|
|
53
|
+
},
|
|
54
|
+
"complexType": {
|
|
55
|
+
"original": "MouseEvent",
|
|
56
|
+
"resolved": "MouseEvent",
|
|
57
|
+
"references": {
|
|
58
|
+
"MouseEvent": {
|
|
59
|
+
"location": "global"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}]; }
|
|
64
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply h-8 w-8;
|
|
3
|
+
@apply flex justify-center items-center;
|
|
4
|
+
@apply font-semibold text-storm-medium text-sm;
|
|
5
|
+
@apply rounded;
|
|
6
|
+
@apply cursor-pointer;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
:host(:hover),
|
|
10
|
+
:host(:focus) {
|
|
11
|
+
@apply text-storm;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host(.active) {
|
|
15
|
+
@apply text-indigo bg-indigo-light;
|
|
16
|
+
} .static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|