@paperless/core 0.1.0-alpha.7 → 0.1.0-alpha.70
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 +624 -0
- package/README.md +1 -1
- package/dist/assets/icons/checklist.svg +17 -0
- package/dist/assets/icons/folder.svg +19 -0
- package/dist/assets/icons/integration.svg +17 -0
- package/dist/assets/icons/task.svg +17 -0
- package/dist/assets/icons/template.svg +17 -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-hover.svg → helper/helper-hover.svg} +0 -0
- package/dist/assets/images/{helper.svg → helper/helper.svg} +0 -0
- package/dist/build/p-0100c1a2.js +2 -0
- package/dist/build/p-11d24001.entry.js +1 -0
- package/dist/build/p-19254809.entry.js +1 -0
- package/dist/build/p-2120a0b7.entry.js +1 -0
- package/dist/build/p-2a3dd70b.entry.js +1 -0
- package/dist/build/p-2c7eebe0.entry.js +1 -0
- package/dist/build/p-30026c58.entry.js +1 -0
- package/dist/build/p-33abd97e.entry.js +1 -0
- package/dist/build/p-3f6d3736.entry.js +1 -0
- package/dist/build/p-40f9ac13.entry.js +1 -0
- package/dist/build/p-41693695.entry.js +1 -0
- package/dist/build/p-4a85b858.entry.js +1 -0
- package/dist/build/p-6421cd2a.entry.js +1 -0
- package/dist/build/p-73184004.entry.js +1 -0
- package/dist/build/p-75c92a9d.entry.js +1 -0
- package/dist/build/p-7784ee14.entry.js +1 -0
- package/dist/build/p-7933cf7c.entry.js +1 -0
- package/dist/build/p-7e05bc4b.entry.js +1 -0
- package/dist/build/p-864ac423.entry.js +1 -0
- package/dist/build/p-a28114e6.entry.js +1 -0
- package/dist/build/p-a5b0a5bd.entry.js +1 -0
- package/dist/build/p-a69581db.entry.js +1 -0
- package/dist/build/p-a7086ffa.js +1 -0
- package/dist/build/p-b68368f3.entry.js +1 -0
- package/dist/build/p-bf2e2185.entry.js +1 -0
- package/dist/build/p-c64e2313.entry.js +1 -0
- package/dist/build/p-cadb7366.entry.js +1 -0
- package/dist/build/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
- package/dist/build/p-df237d9a.entry.js +1 -0
- package/dist/build/p-e8dfce4a.entry.js +1 -0
- package/dist/build/p-f8bb6e8d.entry.js +1 -0
- package/dist/build/p-fb1e33eb.entry.js +1 -0
- package/dist/build/p-fcd30824.entry.js +1 -0
- package/dist/build/p-ffeed7c6.entry.js +1 -0
- package/dist/build/paperless.css +186 -18
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-a2da05ae.js → index-f9c302b6.js} +229 -3
- package/dist/cjs/loader.cjs.js +2 -2
- 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.cjs.entry.js +38 -0
- package/dist/cjs/p-button_3.cjs.entry.js +167 -17
- 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-counter.cjs.entry.js +19 -0
- package/dist/cjs/p-divider.cjs.entry.js +19 -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-dropdown.cjs.entry.js +141 -0
- package/dist/cjs/p-helper.cjs.entry.js +7 -3
- package/dist/cjs/p-illustration.cjs.entry.js +9 -12
- package/dist/cjs/p-info-panel.cjs.entry.js +31 -0
- package/dist/cjs/p-input-group.cjs.entry.js +41 -0
- package/dist/cjs/p-layout.cjs.entry.js +23 -0
- package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +92 -0
- package/dist/cjs/p-modal.cjs.entry.js +39 -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 +26 -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-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 +76 -1812
- package/dist/cjs/paperless.cjs.js +2 -2
- package/dist/cjs/popper-e0c4ed4c.js +1790 -0
- package/dist/collection/assets/icons/checklist.svg +17 -0
- package/dist/collection/assets/icons/folder.svg +19 -0
- package/dist/collection/assets/icons/integration.svg +17 -0
- package/dist/collection/assets/icons/task.svg +17 -0
- package/dist/collection/assets/icons/template.svg +17 -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-hover.svg → helper/helper-hover.svg} +0 -0
- package/dist/collection/assets/images/{helper.svg → helper/helper.svg} +0 -0
- package/dist/collection/collection-manifest.json +34 -1
- 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 +28 -2
- package/dist/collection/components/atoms/button/button.component.js +108 -10
- 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 +5 -0
- package/dist/collection/components/atoms/counter/counter.component.js +15 -0
- package/dist/collection/components/atoms/divider/divider.component.css +3 -0
- package/dist/collection/components/atoms/divider/divider.component.js +14 -0
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +5 -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 +41 -0
- package/dist/collection/components/atoms/helper/helper.component.css +3 -3
- package/dist/collection/components/atoms/helper/helper.component.js +34 -3
- package/dist/collection/components/atoms/icon/icon.component.css +1 -0
- package/dist/collection/components/atoms/icon/icon.component.js +64 -20
- package/dist/collection/components/atoms/illustration/illustration.component.js +2 -9
- 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 +59 -0
- package/dist/collection/components/atoms/layout/layout.component.js +47 -0
- package/dist/collection/components/atoms/loader/loader.component.css +2 -2
- package/dist/collection/components/atoms/loader/loader.component.js +4 -3
- 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/atoms/modal-body/modal-body.component.js +41 -0
- 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 +4 -0
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +16 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.css +6 -0
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +15 -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/profile/profile.component.css +13 -0
- package/dist/collection/components/atoms/profile/profile.component.js +25 -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/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 +19 -13
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +133 -35
- 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/dropdown/dropdown.component.css +9 -0
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +233 -0
- package/dist/collection/components/molecules/input-group/input-group.component.css +205 -0
- package/dist/collection/components/molecules/input-group/input-group.component.js +237 -0
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +28 -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/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 +111 -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/screens.js +8 -0
- 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 +26 -14
- package/dist/collection/utils/child-of.js +5 -0
- package/dist/collection/utils/icons.js +10 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/components/avatar.component.js +54 -0
- package/dist/components/counter.component.js +30 -0
- package/dist/components/divider.component.js +30 -0
- package/dist/components/dropdown-menu-container.component.js +29 -0
- package/dist/components/helper.component.js +42 -0
- package/dist/components/icon.component.js +138 -9
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +33 -0
- package/dist/components/loader.component.js +5 -4
- 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 +36 -0
- package/dist/components/modal-header.component.js +30 -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 +28 -4
- 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-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 +39 -0
- package/dist/components/p-dropdown.d.ts +11 -0
- package/dist/components/p-dropdown.js +166 -0
- package/dist/components/p-helper.js +1 -34
- package/dist/components/p-illustration.js +0 -4
- 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 +84 -0
- package/dist/components/p-layout.d.ts +11 -0
- package/dist/components/p-layout.js +39 -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 +94 -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 +46 -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-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/pagination-item.component.js +36 -0
- package/dist/components/popper.js +1788 -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 +82 -1816
- package/dist/esm/{index-d08bfe75.js → index-fff70567.js} +229 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/p-accordion.entry.js +38 -0
- package/dist/esm/p-avatar-group.entry.js +15 -0
- package/dist/esm/p-avatar.entry.js +34 -0
- package/dist/esm/p-button_3.entry.js +167 -17
- 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-counter.entry.js +15 -0
- package/dist/esm/p-divider.entry.js +15 -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-dropdown.entry.js +137 -0
- package/dist/esm/p-helper.entry.js +7 -3
- package/dist/esm/p-illustration.entry.js +9 -12
- package/dist/esm/p-info-panel.entry.js +27 -0
- package/dist/esm/p-input-group.entry.js +37 -0
- package/dist/esm/p-layout.entry.js +19 -0
- package/dist/esm/p-modal-backdrop_5.entry.js +84 -0
- package/dist/esm/p-modal.entry.js +35 -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 +22 -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-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 +76 -1812
- package/dist/esm/paperless.js +2 -2
- 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-0100c1a2.js +2 -0
- package/dist/paperless/p-11d24001.entry.js +1 -0
- package/dist/paperless/p-19254809.entry.js +1 -0
- package/dist/paperless/p-2120a0b7.entry.js +1 -0
- package/dist/paperless/p-2a3dd70b.entry.js +1 -0
- package/dist/paperless/p-2c7eebe0.entry.js +1 -0
- package/dist/paperless/p-30026c58.entry.js +1 -0
- package/dist/paperless/p-33abd97e.entry.js +1 -0
- package/dist/paperless/p-3f6d3736.entry.js +1 -0
- package/dist/paperless/p-40f9ac13.entry.js +1 -0
- package/dist/paperless/p-41693695.entry.js +1 -0
- package/dist/paperless/p-4a85b858.entry.js +1 -0
- package/dist/paperless/p-6421cd2a.entry.js +1 -0
- package/dist/paperless/p-73184004.entry.js +1 -0
- package/dist/paperless/p-75c92a9d.entry.js +1 -0
- package/dist/paperless/p-7784ee14.entry.js +1 -0
- package/dist/paperless/p-7933cf7c.entry.js +1 -0
- package/dist/paperless/p-7e05bc4b.entry.js +1 -0
- package/dist/paperless/p-864ac423.entry.js +1 -0
- package/dist/paperless/p-a28114e6.entry.js +1 -0
- package/dist/paperless/p-a5b0a5bd.entry.js +1 -0
- package/dist/paperless/p-a69581db.entry.js +1 -0
- package/dist/paperless/p-a7086ffa.js +1 -0
- package/dist/paperless/p-b68368f3.entry.js +1 -0
- package/dist/paperless/p-bf2e2185.entry.js +1 -0
- package/dist/paperless/p-c64e2313.entry.js +1 -0
- package/dist/paperless/p-cadb7366.entry.js +1 -0
- package/dist/paperless/{p-f04c4de0.entry.js → p-d069673f.entry.js} +1 -1
- package/dist/paperless/p-df237d9a.entry.js +1 -0
- package/dist/paperless/p-e8dfce4a.entry.js +1 -0
- package/dist/paperless/p-f8bb6e8d.entry.js +1 -0
- package/dist/paperless/p-fb1e33eb.entry.js +1 -0
- package/dist/paperless/p-fcd30824.entry.js +1 -0
- package/dist/paperless/p-ffeed7c6.entry.js +1 -0
- package/dist/paperless/paperless.css +284 -26355
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +2 -290
- 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 +7 -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 +26 -14
- 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 +18 -1
- 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 +3 -0
- package/dist/types/components/atoms/divider/divider.component.d.ts +3 -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 +7 -0
- package/dist/types/components/atoms/helper/helper.component.d.ts +5 -0
- package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
- 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/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 +3 -0
- package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +3 -0
- package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
- package/dist/types/components/atoms/profile/profile.component.d.ts +8 -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/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 +20 -8
- package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +42 -0
- package/dist/types/components/molecules/input-group/input-group.component.d.ts +49 -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/stepper/stepper.component.d.ts +18 -0
- package/dist/types/components/organisms/modal/modal.component.d.ts +25 -0
- package/dist/types/components.d.ts +1078 -21
- package/dist/types/utils/child-of.d.ts +1 -0
- package/dist/types/utils/icons.d.ts +5 -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 -61
- package/dist/build/p-092ba1be.entry.js +0 -1
- package/dist/build/p-c04e9d44.entry.js +0 -1
- package/dist/build/p-f33e1285.js +0 -2
- package/dist/build/p-f64e0b3a.entry.js +0 -1
- package/dist/collection/tailwind/grid.js +0 -6
- package/dist/paperless/p-092ba1be.entry.js +0 -1
- package/dist/paperless/p-c04e9d44.entry.js +0 -1
- package/dist/paperless/p-f33e1285.js +0 -2
- package/dist/paperless/p-f64e0b3a.entry.js +0 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class SegmentItem {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether the segment item is active
|
|
6
|
+
*/
|
|
7
|
+
this.active = false;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-segment-item variant-${this.icon ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon ? this._getIcon() : h("slot", null)));
|
|
11
|
+
}
|
|
12
|
+
_getIcon() {
|
|
13
|
+
if (!this.icon) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
return (h("p-icon", { class: "flex", variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
|
|
17
|
+
}
|
|
18
|
+
static get is() { return "p-segment-item"; }
|
|
19
|
+
static get encapsulation() { return "shadow"; }
|
|
20
|
+
static get originalStyleUrls() { return {
|
|
21
|
+
"$": ["segment-item.component.scss"]
|
|
22
|
+
}; }
|
|
23
|
+
static get styleUrls() { return {
|
|
24
|
+
"$": ["segment-item.component.css"]
|
|
25
|
+
}; }
|
|
26
|
+
static get properties() { return {
|
|
27
|
+
"active": {
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"mutable": false,
|
|
30
|
+
"complexType": {
|
|
31
|
+
"original": "boolean",
|
|
32
|
+
"resolved": "boolean",
|
|
33
|
+
"references": {}
|
|
34
|
+
},
|
|
35
|
+
"required": false,
|
|
36
|
+
"optional": false,
|
|
37
|
+
"docs": {
|
|
38
|
+
"tags": [],
|
|
39
|
+
"text": "Wether the segment item is active"
|
|
40
|
+
},
|
|
41
|
+
"attribute": "active",
|
|
42
|
+
"reflect": false,
|
|
43
|
+
"defaultValue": "false"
|
|
44
|
+
},
|
|
45
|
+
"icon": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "IconVariant",
|
|
50
|
+
"resolved": "\"arrow\" | \"attachment\" | \"bread\" | \"calendar\" | \"car\" | \"checklist\" | \"checkmark\" | \"chevron\" | \"clock\" | \"cogs\" | \"comment\" | \"document\" | \"download\" | \"envelope\" | \"explanation\" | \"eye\" | \"filter\" | \"folder\" | \"grid\" | \"headset\" | \"integration\" | \"list\" | \"location\" | \"megaphone\" | \"minus\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
|
|
51
|
+
"references": {
|
|
52
|
+
"IconVariant": {
|
|
53
|
+
"location": "import",
|
|
54
|
+
"path": "../icon/icon.component"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": false,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": "Icon to show on the segment item"
|
|
63
|
+
},
|
|
64
|
+
"attribute": "icon",
|
|
65
|
+
"reflect": false
|
|
66
|
+
},
|
|
67
|
+
"iconFlip": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "IconFlipOptions",
|
|
72
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
73
|
+
"references": {
|
|
74
|
+
"IconFlipOptions": {
|
|
75
|
+
"location": "import",
|
|
76
|
+
"path": "../icon/icon.component"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Icon flip"
|
|
85
|
+
},
|
|
86
|
+
"attribute": "icon-flip",
|
|
87
|
+
"reflect": false
|
|
88
|
+
},
|
|
89
|
+
"iconRotate": {
|
|
90
|
+
"type": "number",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "RotateOptions",
|
|
94
|
+
"resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
|
|
95
|
+
"references": {
|
|
96
|
+
"RotateOptions": {
|
|
97
|
+
"location": "import",
|
|
98
|
+
"path": "../../../utils/types"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"required": false,
|
|
103
|
+
"optional": false,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [],
|
|
106
|
+
"text": "Icon rotate"
|
|
107
|
+
},
|
|
108
|
+
"attribute": "icon-rotate",
|
|
109
|
+
"reflect": false
|
|
110
|
+
}
|
|
111
|
+
}; }
|
|
112
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
p-status {
|
|
2
|
+
@apply flex items-center;
|
|
3
|
+
@apply text-sm text-storm-vague font-medium;
|
|
4
|
+
}
|
|
5
|
+
p-status p-icon {
|
|
6
|
+
@apply mr-2 text-base;
|
|
7
|
+
}
|
|
8
|
+
p-status.variant-positive {
|
|
9
|
+
@apply text-positive;
|
|
10
|
+
}
|
|
11
|
+
p-status.variant-unbiased {
|
|
12
|
+
@apply text-unbiased;
|
|
13
|
+
}
|
|
14
|
+
p-status.variant-negative {
|
|
15
|
+
@apply text-negative;
|
|
16
|
+
} .static{position:static!important}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class Status {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* The variant of the status
|
|
6
|
+
*/
|
|
7
|
+
this.variant = 'default';
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-status variant-${this.variant}
|
|
11
|
+
}` },
|
|
12
|
+
this._getIcon(),
|
|
13
|
+
h("slot", null)));
|
|
14
|
+
}
|
|
15
|
+
_getIcon() {
|
|
16
|
+
const icon = this.icon || this._getVariantIcon();
|
|
17
|
+
if (!icon) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
return (h("p-icon", { variant: icon, flip: this.iconFlip, rotate: this.iconRotate }));
|
|
21
|
+
}
|
|
22
|
+
_getVariantIcon() {
|
|
23
|
+
let icon = null;
|
|
24
|
+
switch (this.variant) {
|
|
25
|
+
case 'positive':
|
|
26
|
+
icon = 'checkmark';
|
|
27
|
+
break;
|
|
28
|
+
case 'negative':
|
|
29
|
+
icon = 'negative';
|
|
30
|
+
break;
|
|
31
|
+
case 'unbiased':
|
|
32
|
+
icon = 'clock';
|
|
33
|
+
break;
|
|
34
|
+
default:
|
|
35
|
+
icon = null;
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
return icon;
|
|
39
|
+
}
|
|
40
|
+
static get is() { return "p-status"; }
|
|
41
|
+
static get originalStyleUrls() { return {
|
|
42
|
+
"$": ["status.component.scss"]
|
|
43
|
+
}; }
|
|
44
|
+
static get styleUrls() { return {
|
|
45
|
+
"$": ["status.component.css"]
|
|
46
|
+
}; }
|
|
47
|
+
static get properties() { return {
|
|
48
|
+
"variant": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"mutable": false,
|
|
51
|
+
"complexType": {
|
|
52
|
+
"original": "'default' | 'positive' | 'unbiased' | 'negative'",
|
|
53
|
+
"resolved": "\"default\" | \"negative\" | \"positive\" | \"unbiased\"",
|
|
54
|
+
"references": {}
|
|
55
|
+
},
|
|
56
|
+
"required": false,
|
|
57
|
+
"optional": false,
|
|
58
|
+
"docs": {
|
|
59
|
+
"tags": [],
|
|
60
|
+
"text": "The variant of the status"
|
|
61
|
+
},
|
|
62
|
+
"attribute": "variant",
|
|
63
|
+
"reflect": false,
|
|
64
|
+
"defaultValue": "'default'"
|
|
65
|
+
},
|
|
66
|
+
"icon": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "IconVariant",
|
|
71
|
+
"resolved": "\"arrow\" | \"attachment\" | \"bread\" | \"calendar\" | \"car\" | \"checklist\" | \"checkmark\" | \"chevron\" | \"clock\" | \"cogs\" | \"comment\" | \"document\" | \"download\" | \"envelope\" | \"explanation\" | \"eye\" | \"filter\" | \"folder\" | \"grid\" | \"headset\" | \"integration\" | \"list\" | \"location\" | \"megaphone\" | \"minus\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
|
|
72
|
+
"references": {
|
|
73
|
+
"IconVariant": {
|
|
74
|
+
"location": "import",
|
|
75
|
+
"path": "../icon/icon.component"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": false,
|
|
80
|
+
"optional": false,
|
|
81
|
+
"docs": {
|
|
82
|
+
"tags": [],
|
|
83
|
+
"text": "Icon to show on the status"
|
|
84
|
+
},
|
|
85
|
+
"attribute": "icon",
|
|
86
|
+
"reflect": false
|
|
87
|
+
},
|
|
88
|
+
"iconFlip": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"mutable": false,
|
|
91
|
+
"complexType": {
|
|
92
|
+
"original": "IconFlipOptions",
|
|
93
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
94
|
+
"references": {
|
|
95
|
+
"IconFlipOptions": {
|
|
96
|
+
"location": "import",
|
|
97
|
+
"path": "../icon/icon.component"
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"required": false,
|
|
102
|
+
"optional": false,
|
|
103
|
+
"docs": {
|
|
104
|
+
"tags": [],
|
|
105
|
+
"text": "Icon flip"
|
|
106
|
+
},
|
|
107
|
+
"attribute": "icon-flip",
|
|
108
|
+
"reflect": false
|
|
109
|
+
},
|
|
110
|
+
"iconRotate": {
|
|
111
|
+
"type": "number",
|
|
112
|
+
"mutable": false,
|
|
113
|
+
"complexType": {
|
|
114
|
+
"original": "RotateOptions",
|
|
115
|
+
"resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
|
|
116
|
+
"references": {
|
|
117
|
+
"RotateOptions": {
|
|
118
|
+
"location": "import",
|
|
119
|
+
"path": "../../../utils/types"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": false,
|
|
124
|
+
"optional": false,
|
|
125
|
+
"docs": {
|
|
126
|
+
"tags": [],
|
|
127
|
+
"text": "Icon rotate"
|
|
128
|
+
},
|
|
129
|
+
"attribute": "icon-rotate",
|
|
130
|
+
"reflect": false
|
|
131
|
+
}
|
|
132
|
+
}; }
|
|
133
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply flex items-end justify-center relative;
|
|
3
|
+
}
|
|
4
|
+
:host .content {
|
|
5
|
+
@apply whitespace-nowrap;
|
|
6
|
+
@apply text-sm font-semibold text-storm-light;
|
|
7
|
+
}
|
|
8
|
+
:host .circle {
|
|
9
|
+
@apply transition duration-500 ease-in-out;
|
|
10
|
+
@apply flex items-center justify-center;
|
|
11
|
+
@apply rounded-round h-4 w-4;
|
|
12
|
+
@apply bg-mystic-dark text-white;
|
|
13
|
+
}
|
|
14
|
+
:host .circle p-icon {
|
|
15
|
+
@apply flex !important;
|
|
16
|
+
font-size: 0.625rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host([direction=horizontal]) {
|
|
20
|
+
@apply h-10;
|
|
21
|
+
}
|
|
22
|
+
:host([direction=horizontal]) .content {
|
|
23
|
+
@apply absolute top-0;
|
|
24
|
+
@apply order-1;
|
|
25
|
+
}
|
|
26
|
+
:host([direction=horizontal]) .circle {
|
|
27
|
+
@apply order-2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
:host([direction=vertical]) {
|
|
31
|
+
@apply h-4;
|
|
32
|
+
}
|
|
33
|
+
:host([direction=vertical]) .content {
|
|
34
|
+
@apply ml-4 order-2;
|
|
35
|
+
}
|
|
36
|
+
:host([direction=vertical]) .circle {
|
|
37
|
+
@apply order-1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host([active]) .content,
|
|
41
|
+
:host([finished]) .content {
|
|
42
|
+
@apply text-indigo;
|
|
43
|
+
}
|
|
44
|
+
:host([active]) .circle,
|
|
45
|
+
:host([finished]) .circle {
|
|
46
|
+
@apply bg-indigo;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:host([direction=horizontal][align=start]) .content {
|
|
50
|
+
@apply left-0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:host([direction=horizontal][align=end]) .content {
|
|
54
|
+
@apply right-0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:host([direction=horizontal][align=center]) .content {
|
|
58
|
+
@apply left-1/2 text-center transform -translate-x-1/2;
|
|
59
|
+
} .static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1\/2{--tw-translate-y:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{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-1\/2{--tw-translate-x:-50%!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}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-indigo,.border-mystic-dark{--tw-border-opacity:1!important}.border-mystic-dark{border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.static{position:static!important}.static{position:static!important}.static{position:static!important}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class StepperItem {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* The alignment of the step content
|
|
6
|
+
*/
|
|
7
|
+
this.align = 'center';
|
|
8
|
+
/**
|
|
9
|
+
* The direction of the stepper step
|
|
10
|
+
*/
|
|
11
|
+
this.direction = 'horizontal';
|
|
12
|
+
/**
|
|
13
|
+
* Wether the step is finished
|
|
14
|
+
*/
|
|
15
|
+
this.finished = false;
|
|
16
|
+
/**
|
|
17
|
+
* Wether the step is active
|
|
18
|
+
*/
|
|
19
|
+
this.active = false;
|
|
20
|
+
}
|
|
21
|
+
render() {
|
|
22
|
+
return (h(Host, { class: "p-stepper-item" },
|
|
23
|
+
h("div", { class: "content" },
|
|
24
|
+
h("slot", null)),
|
|
25
|
+
h("div", { class: "circle" }, this.finished && h("p-icon", { variant: "checkmark" }))));
|
|
26
|
+
}
|
|
27
|
+
static get is() { return "p-stepper-item"; }
|
|
28
|
+
static get encapsulation() { return "shadow"; }
|
|
29
|
+
static get originalStyleUrls() { return {
|
|
30
|
+
"$": ["stepper-item.component.scss"]
|
|
31
|
+
}; }
|
|
32
|
+
static get styleUrls() { return {
|
|
33
|
+
"$": ["stepper-item.component.css"]
|
|
34
|
+
}; }
|
|
35
|
+
static get properties() { return {
|
|
36
|
+
"align": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"mutable": false,
|
|
39
|
+
"complexType": {
|
|
40
|
+
"original": "'start' | 'center' | 'end'",
|
|
41
|
+
"resolved": "\"center\" | \"end\" | \"start\"",
|
|
42
|
+
"references": {}
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"optional": false,
|
|
46
|
+
"docs": {
|
|
47
|
+
"tags": [],
|
|
48
|
+
"text": "The alignment of the step content"
|
|
49
|
+
},
|
|
50
|
+
"attribute": "align",
|
|
51
|
+
"reflect": true,
|
|
52
|
+
"defaultValue": "'center'"
|
|
53
|
+
},
|
|
54
|
+
"direction": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"mutable": false,
|
|
57
|
+
"complexType": {
|
|
58
|
+
"original": "'horizontal' | 'vertical'",
|
|
59
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
60
|
+
"references": {}
|
|
61
|
+
},
|
|
62
|
+
"required": false,
|
|
63
|
+
"optional": false,
|
|
64
|
+
"docs": {
|
|
65
|
+
"tags": [],
|
|
66
|
+
"text": "The direction of the stepper step"
|
|
67
|
+
},
|
|
68
|
+
"attribute": "direction",
|
|
69
|
+
"reflect": true,
|
|
70
|
+
"defaultValue": "'horizontal'"
|
|
71
|
+
},
|
|
72
|
+
"finished": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "boolean",
|
|
77
|
+
"resolved": "boolean",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "Wether the step is finished"
|
|
85
|
+
},
|
|
86
|
+
"attribute": "finished",
|
|
87
|
+
"reflect": true,
|
|
88
|
+
"defaultValue": "false"
|
|
89
|
+
},
|
|
90
|
+
"active": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "boolean",
|
|
95
|
+
"resolved": "boolean",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "Wether the step is active"
|
|
103
|
+
},
|
|
104
|
+
"attribute": "active",
|
|
105
|
+
"reflect": true,
|
|
106
|
+
"defaultValue": "false"
|
|
107
|
+
}
|
|
108
|
+
}; }
|
|
109
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply flex-auto;
|
|
3
|
+
@apply transition duration-500 ease-in-out;
|
|
4
|
+
@apply block;
|
|
5
|
+
@apply bg-mystic-dark;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:host([direction=horizontal]) {
|
|
9
|
+
@apply h-[2px] mb-[calc(.5rem-1px)];
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:host([direction=vertical]) {
|
|
13
|
+
@apply w-[2px] ml-[calc(.5rem-1px)];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host([active]) {
|
|
17
|
+
@apply bg-indigo;
|
|
18
|
+
} .static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1\/2{--tw-translate-y:-50%!important}.-translate-x-1\/2,.-translate-y-1\/2{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-1\/2{--tw-translate-x:-50%!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}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-indigo,.border-mystic-dark{--tw-border-opacity:1!important}.border-mystic-dark{border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.static{position:static!important}.static{position:static!important}.static{position:static!important}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class StepperLine {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether the line is active
|
|
6
|
+
*/
|
|
7
|
+
this.active = false;
|
|
8
|
+
/**
|
|
9
|
+
* The direction of the stepper line
|
|
10
|
+
*/
|
|
11
|
+
this.direction = 'horizontal';
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return h(Host, { class: "p-stepper-line" });
|
|
15
|
+
}
|
|
16
|
+
static get is() { return "p-stepper-line"; }
|
|
17
|
+
static get encapsulation() { return "shadow"; }
|
|
18
|
+
static get originalStyleUrls() { return {
|
|
19
|
+
"$": ["stepper-line.component.scss"]
|
|
20
|
+
}; }
|
|
21
|
+
static get styleUrls() { return {
|
|
22
|
+
"$": ["stepper-line.component.css"]
|
|
23
|
+
}; }
|
|
24
|
+
static get properties() { return {
|
|
25
|
+
"active": {
|
|
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 the line is active"
|
|
38
|
+
},
|
|
39
|
+
"attribute": "active",
|
|
40
|
+
"reflect": true,
|
|
41
|
+
"defaultValue": "false"
|
|
42
|
+
},
|
|
43
|
+
"direction": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"mutable": false,
|
|
46
|
+
"complexType": {
|
|
47
|
+
"original": "'horizontal' | 'vertical'",
|
|
48
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
49
|
+
"references": {}
|
|
50
|
+
},
|
|
51
|
+
"required": false,
|
|
52
|
+
"optional": false,
|
|
53
|
+
"docs": {
|
|
54
|
+
"tags": [],
|
|
55
|
+
"text": "The direction of the stepper line"
|
|
56
|
+
},
|
|
57
|
+
"attribute": "direction",
|
|
58
|
+
"reflect": true,
|
|
59
|
+
"defaultValue": "'horizontal'"
|
|
60
|
+
}
|
|
61
|
+
}; }
|
|
62
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Component, h, Host } from '@stencil/core';
|
|
2
|
+
export class TabGroup {
|
|
3
|
+
render() {
|
|
4
|
+
return (h(Host, { class: "p-tab-group" },
|
|
5
|
+
h("div", { class: "content" },
|
|
6
|
+
h("slot", null)),
|
|
7
|
+
h("p-divider", null)));
|
|
8
|
+
}
|
|
9
|
+
static get is() { return "p-tab-group"; }
|
|
10
|
+
static get encapsulation() { return "shadow"; }
|
|
11
|
+
static get originalStyleUrls() { return {
|
|
12
|
+
"$": ["tab-group.component.scss"]
|
|
13
|
+
}; }
|
|
14
|
+
static get styleUrls() { return {
|
|
15
|
+
"$": ["tab-group.component.css"]
|
|
16
|
+
}; }
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply flex items-center h-10;
|
|
3
|
+
@apply font-semibold text-storm-medium;
|
|
4
|
+
@apply cursor-pointer;
|
|
5
|
+
@apply border-0 border-b-2 border-transparent !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:host(.active) {
|
|
9
|
+
@apply border-indigo text-indigo !important;
|
|
10
|
+
} .static{position:static!important}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class TabItem {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether the tab item is active
|
|
6
|
+
*/
|
|
7
|
+
this.active = false;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-tab-item ${this.active && 'active'}` },
|
|
11
|
+
h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "p-tab-item"; }
|
|
14
|
+
static get encapsulation() { return "shadow"; }
|
|
15
|
+
static get originalStyleUrls() { return {
|
|
16
|
+
"$": ["tab-item.component.scss"]
|
|
17
|
+
}; }
|
|
18
|
+
static get styleUrls() { return {
|
|
19
|
+
"$": ["tab-item.component.css"]
|
|
20
|
+
}; }
|
|
21
|
+
static get properties() { return {
|
|
22
|
+
"active": {
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"mutable": false,
|
|
25
|
+
"complexType": {
|
|
26
|
+
"original": "boolean",
|
|
27
|
+
"resolved": "boolean",
|
|
28
|
+
"references": {}
|
|
29
|
+
},
|
|
30
|
+
"required": false,
|
|
31
|
+
"optional": false,
|
|
32
|
+
"docs": {
|
|
33
|
+
"tags": [],
|
|
34
|
+
"text": "Wether the tab item is active"
|
|
35
|
+
},
|
|
36
|
+
"attribute": "active",
|
|
37
|
+
"reflect": false,
|
|
38
|
+
"defaultValue": "false"
|
|
39
|
+
}
|
|
40
|
+
}; }
|
|
41
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply flex gap-1 items-center px-3 rounded;
|
|
3
|
+
@apply h-[1.375rem];
|
|
4
|
+
@apply text-xs font-semibold;
|
|
5
|
+
}
|
|
6
|
+
:host .circle {
|
|
7
|
+
@apply hidden rounded-round h-2 w-2;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:host([circle]) {
|
|
11
|
+
@apply pl-2;
|
|
12
|
+
}
|
|
13
|
+
:host([circle]) .circle {
|
|
14
|
+
@apply block;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host([circle=false]) .circle {
|
|
18
|
+
@apply hidden;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host([variant=info]) {
|
|
22
|
+
@apply bg-sky/20;
|
|
23
|
+
@apply text-sky;
|
|
24
|
+
}
|
|
25
|
+
:host([variant=info]) .circle {
|
|
26
|
+
@apply bg-sky;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:host([variant=positive]) {
|
|
30
|
+
@apply bg-positive/20;
|
|
31
|
+
@apply text-positive;
|
|
32
|
+
}
|
|
33
|
+
:host([variant=positive]) .circle {
|
|
34
|
+
@apply bg-positive;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:host([variant=unbiased]) {
|
|
38
|
+
@apply bg-unbiased/20;
|
|
39
|
+
@apply text-unbiased;
|
|
40
|
+
}
|
|
41
|
+
:host([variant=unbiased]) .circle {
|
|
42
|
+
@apply bg-unbiased;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:host([variant=negative]) {
|
|
46
|
+
@apply bg-negative/20;
|
|
47
|
+
@apply text-negative;
|
|
48
|
+
}
|
|
49
|
+
:host([variant=negative]) .circle {
|
|
50
|
+
@apply bg-negative;
|
|
51
|
+
} .static{position:static!important}
|