@paperless/core 0.1.0-alpha.11 → 0.1.0-alpha.112
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 +1039 -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/menu.svg +25 -0
- package/dist/assets/icons/more.svg +18 -0
- package/dist/assets/icons/signout.svg +23 -0
- package/dist/assets/icons/switch.svg +20 -0
- package/dist/assets/icons/task.svg +17 -0
- package/dist/assets/icons/template.svg +17 -0
- package/dist/assets/illustrations/e-mail.svg +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-58ce5668.entry.js +1 -0
- package/dist/build/p-592426ae.entry.js +1 -0
- package/dist/build/p-6088647a.entry.js +1 -0
- package/dist/build/p-66a35b59.entry.js +1 -0
- package/dist/build/p-6835a9e3.entry.js +1 -0
- package/dist/build/p-705ab6e5.entry.js +1 -0
- package/dist/build/p-7947115e.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-8a12ac8b.entry.js +1 -0
- package/dist/build/p-8ac8a69d.entry.js +1 -0
- package/dist/{paperless/p-23980fbb.entry.js → build/p-8b743795.entry.js} +1 -1
- package/dist/build/p-92b6c76c.entry.js +1 -0
- package/dist/build/p-938f52ee.entry.js +1 -0
- package/dist/build/p-9b54bae2.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-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-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-f3fda8cd.entry.js +1 -0
- package/dist/build/paperless.css +190 -18
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-6b6e08cc.js → index-9d3b51c9.js} +203 -5
- 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 +184 -0
- package/dist/cjs/p-button_3.cjs.entry.js +265 -13
- 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 +172 -0
- package/dist/cjs/p-counter.cjs.entry.js +11 -3
- package/dist/cjs/p-divider.cjs.entry.js +6 -3
- 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 +7 -3
- package/dist/cjs/p-illustration.cjs.entry.js +5 -2
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/p-pagination.cjs.entry.js +15 -8
- 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 +35 -1807
- package/dist/cjs/paperless.cjs.js +3 -3
- 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/menu.svg +25 -0
- package/dist/collection/assets/icons/more.svg +18 -0
- package/dist/collection/assets/icons/signout.svg +23 -0
- package/dist/collection/assets/icons/switch.svg +20 -0
- package/dist/collection/assets/icons/task.svg +17 -0
- package/dist/collection/assets/icons/template.svg +17 -0
- package/dist/collection/assets/illustrations/e-mail.svg +1 -0
- package/dist/collection/collection-manifest.json +32 -2
- package/dist/collection/components/atoms/avatar/avatar.component.css +12 -19
- package/dist/collection/components/atoms/avatar/avatar.component.js +16 -6
- 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 +41 -17
- package/dist/collection/components/atoms/button/button.component.js +109 -11
- 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 +26 -1
- package/dist/collection/components/atoms/counter/counter.component.js +50 -2
- package/dist/collection/components/atoms/divider/divider.component.css +9 -2
- package/dist/collection/components/atoms/divider/divider.component.js +8 -2
- 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 +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js +33 -2
- package/dist/collection/components/atoms/icon/icon.component.css +1 -0
- package/dist/collection/components/atoms/icon/icon.component.js +62 -13
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
- 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 +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 +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 +1 -1
- 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 +19 -13
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +77 -24
- 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 +30 -0
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +254 -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 +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.js +20 -12
- package/dist/collection/components/molecules/profile/profile.component.css +60 -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 -7
- 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 +26 -14
- 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 +59 -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/components/icon.component.js +236 -5
- package/dist/components/index.d.ts +42 -12
- package/dist/components/index.js +30 -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 +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.js +1 -47
- package/dist/components/p-button.js +1 -93
- 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 +200 -0
- package/dist/components/p-counter.js +1 -28
- package/dist/components/p-divider.js +1 -28
- 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.js +1 -34
- package/dist/components/p-illustration.js +3 -0
- package/dist/components/p-info-panel.js +1 -1
- 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-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.js +15 -8
- 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/pagination-item.component.js +1 -1
- 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 +37 -1808
- package/dist/esm/{index-5c917d13.js → index-9062156b.js} +203 -5
- 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 +179 -0
- package/dist/esm/p-button_3.entry.js +265 -13
- 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 +168 -0
- package/dist/esm/p-counter.entry.js +11 -3
- package/dist/esm/p-divider.entry.js +6 -3
- 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 +7 -3
- package/dist/esm/p-illustration.entry.js +5 -2
- package/dist/esm/p-info-panel.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/p-pagination.entry.js +15 -8
- 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 +35 -1807
- 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-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-58ce5668.entry.js +1 -0
- package/dist/paperless/p-592426ae.entry.js +1 -0
- package/dist/paperless/p-6088647a.entry.js +1 -0
- package/dist/paperless/p-66a35b59.entry.js +1 -0
- package/dist/paperless/p-6835a9e3.entry.js +1 -0
- package/dist/paperless/p-705ab6e5.entry.js +1 -0
- package/dist/paperless/p-7947115e.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-8a12ac8b.entry.js +1 -0
- package/dist/paperless/p-8ac8a69d.entry.js +1 -0
- package/dist/{build/p-23980fbb.entry.js → paperless/p-8b743795.entry.js} +1 -1
- package/dist/paperless/p-92b6c76c.entry.js +1 -0
- package/dist/paperless/p-938f52ee.entry.js +1 -0
- package/dist/paperless/p-9b54bae2.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-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-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-f3fda8cd.entry.js +1 -0
- package/dist/paperless/paperless.css +288 -26451
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +2 -444
- 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 +26 -14
- package/dist/types/components/atoms/avatar/avatar.component.d.ts +2 -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 +8 -0
- package/dist/types/components/atoms/divider/divider.component.d.ts +4 -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 +5 -0
- package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
- 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 +7 -0
- package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -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 +12 -3
- package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
- package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +42 -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 +1 -9
- 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 +1074 -16
- 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 -61
- package/dist/build/p-06a38756.entry.js +0 -1
- package/dist/build/p-19afe191.entry.js +0 -1
- package/dist/build/p-229f113b.js +0 -2
- package/dist/build/p-31f80006.entry.js +0 -1
- package/dist/build/p-5f0ec763.entry.js +0 -1
- package/dist/build/p-6c6c1137.entry.js +0 -1
- package/dist/build/p-80bf9d06.entry.js +0 -1
- package/dist/build/p-d750cdf6.entry.js +0 -1
- package/dist/build/p-e80637b9.entry.js +0 -1
- package/dist/build/p-ec52095f.entry.js +0 -1
- package/dist/cjs/p-avatar.cjs.entry.js +0 -32
- package/dist/collection/tailwind/grid.js +0 -26
- package/dist/esm/p-avatar.entry.js +0 -28
- package/dist/paperless/p-06a38756.entry.js +0 -1
- package/dist/paperless/p-19afe191.entry.js +0 -1
- package/dist/paperless/p-229f113b.js +0 -2
- package/dist/paperless/p-31f80006.entry.js +0 -1
- package/dist/paperless/p-5f0ec763.entry.js +0 -1
- package/dist/paperless/p-6c6c1137.entry.js +0 -1
- package/dist/paperless/p-80bf9d06.entry.js +0 -1
- package/dist/paperless/p-d750cdf6.entry.js +0 -1
- package/dist/paperless/p-e80637b9.entry.js +0 -1
- package/dist/paperless/p-ec52095f.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Event, h, Host, Listen, Prop } from '@stencil/core';
|
|
1
|
+
import { Component, Event, h, Host, Listen, Prop, } from '@stencil/core';
|
|
2
2
|
export class Button {
|
|
3
3
|
constructor() {
|
|
4
4
|
/**
|
|
@@ -9,18 +9,34 @@ export class Button {
|
|
|
9
9
|
* The size of the button
|
|
10
10
|
*/
|
|
11
11
|
this.size = 'medium';
|
|
12
|
+
/**
|
|
13
|
+
* The width of the button
|
|
14
|
+
*/
|
|
15
|
+
this.width = 'auto';
|
|
12
16
|
/**
|
|
13
17
|
* Wether to show a loader or not
|
|
14
18
|
*/
|
|
15
19
|
this.loading = false;
|
|
20
|
+
/**
|
|
21
|
+
* Wether to show a chevron or not
|
|
22
|
+
*/
|
|
23
|
+
this.chevron = false;
|
|
16
24
|
/**
|
|
17
25
|
* Wether the button is disabled
|
|
18
26
|
*/
|
|
19
27
|
this.disabled = false;
|
|
28
|
+
/**
|
|
29
|
+
* Wether the button is icon only
|
|
30
|
+
*/
|
|
31
|
+
this.iconOnly = false;
|
|
20
32
|
/**
|
|
21
33
|
* Icon position
|
|
22
34
|
*/
|
|
23
35
|
this.iconPosition = 'end';
|
|
36
|
+
/**
|
|
37
|
+
* Wether the button should inherit text styles
|
|
38
|
+
*/
|
|
39
|
+
this.inheritText = false;
|
|
24
40
|
}
|
|
25
41
|
render() {
|
|
26
42
|
let loaderColor = 'white';
|
|
@@ -33,12 +49,17 @@ export class Button {
|
|
|
33
49
|
break;
|
|
34
50
|
}
|
|
35
51
|
const VariableTag = this.variant === 'text' ? 'a' : 'button';
|
|
36
|
-
return (h(Host, { class:
|
|
37
|
-
h(VariableTag, { class: `variant-${this.variant} size-${this.size} icon-position-${this.iconPosition}`, disabled: this.disabled, href: this.href, target: this.target },
|
|
38
|
-
this.icon &&
|
|
52
|
+
return (h(Host, { class: `p-button ${this.width === 'full' && 'w-full'}` },
|
|
53
|
+
h(VariableTag, { class: `variant-${this.variant} size-${this.size} width-${this.width} icon-position-${this.iconPosition} ${this.chevron && 'has-chevron'} ${this.iconOnly && 'has-icon-only'} ${this.inheritText && 'should-inherit-text'}`, disabled: this.disabled, href: this.href, target: this.target },
|
|
54
|
+
this.icon &&
|
|
55
|
+
this.iconPosition === 'start' &&
|
|
56
|
+
this._getIcon(),
|
|
39
57
|
h("slot", null),
|
|
40
|
-
this.icon &&
|
|
41
|
-
|
|
58
|
+
this.icon &&
|
|
59
|
+
this.iconPosition === 'end' &&
|
|
60
|
+
this._getIcon(),
|
|
61
|
+
this.loading && h("p-loader", { color: loaderColor }),
|
|
62
|
+
this.chevron && (h("p-icon", { variant: "chevron", rotate: this.chevron === 'up' ? 180 : 0 })))));
|
|
42
63
|
}
|
|
43
64
|
handleClick(ev) {
|
|
44
65
|
if (this.loading || this.disabled) {
|
|
@@ -50,7 +71,7 @@ export class Button {
|
|
|
50
71
|
if (!this.icon) {
|
|
51
72
|
return;
|
|
52
73
|
}
|
|
53
|
-
return h("p-icon", { variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate });
|
|
74
|
+
return (h("p-icon", { variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
|
|
54
75
|
}
|
|
55
76
|
static get is() { return "p-button"; }
|
|
56
77
|
static get originalStyleUrls() { return {
|
|
@@ -130,6 +151,24 @@ export class Button {
|
|
|
130
151
|
"reflect": false,
|
|
131
152
|
"defaultValue": "'medium'"
|
|
132
153
|
},
|
|
154
|
+
"width": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"mutable": false,
|
|
157
|
+
"complexType": {
|
|
158
|
+
"original": "'auto' | 'full'",
|
|
159
|
+
"resolved": "\"auto\" | \"full\"",
|
|
160
|
+
"references": {}
|
|
161
|
+
},
|
|
162
|
+
"required": false,
|
|
163
|
+
"optional": false,
|
|
164
|
+
"docs": {
|
|
165
|
+
"tags": [],
|
|
166
|
+
"text": "The width of the button"
|
|
167
|
+
},
|
|
168
|
+
"attribute": "width",
|
|
169
|
+
"reflect": false,
|
|
170
|
+
"defaultValue": "'auto'"
|
|
171
|
+
},
|
|
133
172
|
"loading": {
|
|
134
173
|
"type": "boolean",
|
|
135
174
|
"mutable": false,
|
|
@@ -148,6 +187,24 @@ export class Button {
|
|
|
148
187
|
"reflect": false,
|
|
149
188
|
"defaultValue": "false"
|
|
150
189
|
},
|
|
190
|
+
"chevron": {
|
|
191
|
+
"type": "any",
|
|
192
|
+
"mutable": false,
|
|
193
|
+
"complexType": {
|
|
194
|
+
"original": "boolean | 'up' | 'down'",
|
|
195
|
+
"resolved": "\"down\" | \"up\" | boolean",
|
|
196
|
+
"references": {}
|
|
197
|
+
},
|
|
198
|
+
"required": false,
|
|
199
|
+
"optional": false,
|
|
200
|
+
"docs": {
|
|
201
|
+
"tags": [],
|
|
202
|
+
"text": "Wether to show a chevron or not"
|
|
203
|
+
},
|
|
204
|
+
"attribute": "chevron",
|
|
205
|
+
"reflect": false,
|
|
206
|
+
"defaultValue": "false"
|
|
207
|
+
},
|
|
151
208
|
"disabled": {
|
|
152
209
|
"type": "boolean",
|
|
153
210
|
"mutable": false,
|
|
@@ -171,7 +228,7 @@ export class Button {
|
|
|
171
228
|
"mutable": false,
|
|
172
229
|
"complexType": {
|
|
173
230
|
"original": "IconVariant",
|
|
174
|
-
"resolved": "\"arrow\" | \"attachment\" | \"bread\" | \"calendar\" | \"car\" | \"checkmark\" | \"chevron\" | \"clock\" | \"cogs\" | \"comment\" | \"document\" | \"download\" | \"envelope\" | \"explanation\" | \"eye\" | \"filter\" | \"grid\" | \"headset\" | \"list\" | \"location\" | \"megaphone\" | \"minus\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"tachometer\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
|
|
231
|
+
"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\" | \"menu\" | \"minus\" | \"more\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"signout\" | \"switch\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
|
|
175
232
|
"references": {
|
|
176
233
|
"IconVariant": {
|
|
177
234
|
"location": "import",
|
|
@@ -188,6 +245,24 @@ export class Button {
|
|
|
188
245
|
"attribute": "icon",
|
|
189
246
|
"reflect": false
|
|
190
247
|
},
|
|
248
|
+
"iconOnly": {
|
|
249
|
+
"type": "boolean",
|
|
250
|
+
"mutable": false,
|
|
251
|
+
"complexType": {
|
|
252
|
+
"original": "boolean",
|
|
253
|
+
"resolved": "boolean",
|
|
254
|
+
"references": {}
|
|
255
|
+
},
|
|
256
|
+
"required": false,
|
|
257
|
+
"optional": false,
|
|
258
|
+
"docs": {
|
|
259
|
+
"tags": [],
|
|
260
|
+
"text": "Wether the button is icon only"
|
|
261
|
+
},
|
|
262
|
+
"attribute": "icon-only",
|
|
263
|
+
"reflect": false,
|
|
264
|
+
"defaultValue": "false"
|
|
265
|
+
},
|
|
191
266
|
"iconPosition": {
|
|
192
267
|
"type": "string",
|
|
193
268
|
"mutable": false,
|
|
@@ -232,9 +307,14 @@ export class Button {
|
|
|
232
307
|
"type": "number",
|
|
233
308
|
"mutable": false,
|
|
234
309
|
"complexType": {
|
|
235
|
-
"original": "
|
|
236
|
-
"resolved": "
|
|
237
|
-
"references": {
|
|
310
|
+
"original": "RotateOptions",
|
|
311
|
+
"resolved": "-135 | -180 | -225 | -25 | -270 | -315 | -45 | -90 | 0 | 135 | 180 | 225 | 25 | 270 | 315 | 45 | 90",
|
|
312
|
+
"references": {
|
|
313
|
+
"RotateOptions": {
|
|
314
|
+
"location": "import",
|
|
315
|
+
"path": "../../../utils/types"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
238
318
|
},
|
|
239
319
|
"required": false,
|
|
240
320
|
"optional": false,
|
|
@@ -244,6 +324,24 @@ export class Button {
|
|
|
244
324
|
},
|
|
245
325
|
"attribute": "icon-rotate",
|
|
246
326
|
"reflect": false
|
|
327
|
+
},
|
|
328
|
+
"inheritText": {
|
|
329
|
+
"type": "boolean",
|
|
330
|
+
"mutable": false,
|
|
331
|
+
"complexType": {
|
|
332
|
+
"original": "boolean",
|
|
333
|
+
"resolved": "boolean",
|
|
334
|
+
"references": {}
|
|
335
|
+
},
|
|
336
|
+
"required": false,
|
|
337
|
+
"optional": false,
|
|
338
|
+
"docs": {
|
|
339
|
+
"tags": [],
|
|
340
|
+
"text": "Wether the button should inherit text styles"
|
|
341
|
+
},
|
|
342
|
+
"attribute": "inherit-text",
|
|
343
|
+
"reflect": false,
|
|
344
|
+
"defaultValue": "false"
|
|
247
345
|
}
|
|
248
346
|
}; }
|
|
249
347
|
static get events() { return [{
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class CardBody {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether the button should inherit text styles
|
|
6
|
+
*/
|
|
7
|
+
this.inheritText = false;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: "p-card-body" },
|
|
11
|
+
h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "p-card-body"; }
|
|
14
|
+
static get originalStyleUrls() { return {
|
|
15
|
+
"$": ["card-body.component.scss"]
|
|
16
|
+
}; }
|
|
17
|
+
static get styleUrls() { return {
|
|
18
|
+
"$": ["card-body.component.css"]
|
|
19
|
+
}; }
|
|
20
|
+
static get properties() { return {
|
|
21
|
+
"inheritText": {
|
|
22
|
+
"type": "boolean",
|
|
23
|
+
"mutable": false,
|
|
24
|
+
"complexType": {
|
|
25
|
+
"original": "boolean",
|
|
26
|
+
"resolved": "boolean",
|
|
27
|
+
"references": {}
|
|
28
|
+
},
|
|
29
|
+
"required": false,
|
|
30
|
+
"optional": false,
|
|
31
|
+
"docs": {
|
|
32
|
+
"tags": [],
|
|
33
|
+
"text": "Wether the button should inherit text styles"
|
|
34
|
+
},
|
|
35
|
+
"attribute": "inherit-text",
|
|
36
|
+
"reflect": true,
|
|
37
|
+
"defaultValue": "false"
|
|
38
|
+
}
|
|
39
|
+
}; }
|
|
40
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply flex flex-col w-full;
|
|
3
|
+
@apply bg-white rounded-large;
|
|
4
|
+
@apply filter drop-shadow-4 !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host([hoverable]) {
|
|
8
|
+
@apply cursor-pointer;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host([hoverable]:hover) {
|
|
12
|
+
@apply drop-shadow-5 !important;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host([shadow=false]) {
|
|
16
|
+
@apply drop-shadow-transparent !important;
|
|
17
|
+
} .static{position:static!important}*{box-sizing:border-box}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class CardContainer {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether the card should be hoverable
|
|
6
|
+
*/
|
|
7
|
+
this.hoverable = false;
|
|
8
|
+
/**
|
|
9
|
+
* Wether the card should have shadow
|
|
10
|
+
*/
|
|
11
|
+
this.shadow = true;
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (h(Host, { class: "p-card-container" },
|
|
15
|
+
h("slot", null)));
|
|
16
|
+
}
|
|
17
|
+
static get is() { return "p-card-container"; }
|
|
18
|
+
static get encapsulation() { return "shadow"; }
|
|
19
|
+
static get originalStyleUrls() { return {
|
|
20
|
+
"$": ["card-container.component.scss"]
|
|
21
|
+
}; }
|
|
22
|
+
static get styleUrls() { return {
|
|
23
|
+
"$": ["card-container.component.css"]
|
|
24
|
+
}; }
|
|
25
|
+
static get properties() { return {
|
|
26
|
+
"hoverable": {
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"mutable": false,
|
|
29
|
+
"complexType": {
|
|
30
|
+
"original": "boolean",
|
|
31
|
+
"resolved": "boolean",
|
|
32
|
+
"references": {}
|
|
33
|
+
},
|
|
34
|
+
"required": false,
|
|
35
|
+
"optional": false,
|
|
36
|
+
"docs": {
|
|
37
|
+
"tags": [],
|
|
38
|
+
"text": "Wether the card should be hoverable"
|
|
39
|
+
},
|
|
40
|
+
"attribute": "hoverable",
|
|
41
|
+
"reflect": true,
|
|
42
|
+
"defaultValue": "false"
|
|
43
|
+
},
|
|
44
|
+
"shadow": {
|
|
45
|
+
"type": "boolean",
|
|
46
|
+
"mutable": false,
|
|
47
|
+
"complexType": {
|
|
48
|
+
"original": "boolean",
|
|
49
|
+
"resolved": "boolean",
|
|
50
|
+
"references": {}
|
|
51
|
+
},
|
|
52
|
+
"required": false,
|
|
53
|
+
"optional": false,
|
|
54
|
+
"docs": {
|
|
55
|
+
"tags": [],
|
|
56
|
+
"text": "Wether the card should have shadow"
|
|
57
|
+
},
|
|
58
|
+
"attribute": "shadow",
|
|
59
|
+
"reflect": true,
|
|
60
|
+
"defaultValue": "true"
|
|
61
|
+
}
|
|
62
|
+
}; }
|
|
63
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
p-card-header {
|
|
2
|
+
@apply mx-4 h-14;
|
|
3
|
+
@apply flex gap-3 items-center;
|
|
4
|
+
@apply text-storm-medium;
|
|
5
|
+
@apply border-b border-b-mystic-medium !important;
|
|
6
|
+
}
|
|
7
|
+
p-card-header .title {
|
|
8
|
+
@apply flex items-center text-storm;
|
|
9
|
+
@apply font-semibold;
|
|
10
|
+
}
|
|
11
|
+
p-card-header .title > p-icon {
|
|
12
|
+
@apply ml-2 text-mystic-dark;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
p-card-container.has-hover:hover p-card-header .title > p-icon {
|
|
16
|
+
@apply text-indigo;
|
|
17
|
+
} .static{position:static!important}*{box-sizing:border-box}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class CardHeader {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Enable the title arrow
|
|
6
|
+
*/
|
|
7
|
+
this.arrow = false;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
var _a, _b;
|
|
11
|
+
return (h(Host, { class: "p-card-header" },
|
|
12
|
+
h("slot", { name: "prefix" }),
|
|
13
|
+
(((_a = this.header) === null || _a === void 0 ? void 0 : _a.length) || this.arrow) && (h("div", { class: "title" }, (_b = this.header) !== null && _b !== void 0 ? _b : '',
|
|
14
|
+
this.arrow && h("p-icon", { variant: "arrow" }))),
|
|
15
|
+
h("slot", { name: "suffix" })));
|
|
16
|
+
}
|
|
17
|
+
static get is() { return "p-card-header"; }
|
|
18
|
+
static get originalStyleUrls() { return {
|
|
19
|
+
"$": ["card-header.component.scss"]
|
|
20
|
+
}; }
|
|
21
|
+
static get styleUrls() { return {
|
|
22
|
+
"$": ["card-header.component.css"]
|
|
23
|
+
}; }
|
|
24
|
+
static get properties() { return {
|
|
25
|
+
"header": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"mutable": false,
|
|
28
|
+
"complexType": {
|
|
29
|
+
"original": "string",
|
|
30
|
+
"resolved": "string",
|
|
31
|
+
"references": {}
|
|
32
|
+
},
|
|
33
|
+
"required": false,
|
|
34
|
+
"optional": false,
|
|
35
|
+
"docs": {
|
|
36
|
+
"tags": [],
|
|
37
|
+
"text": "Content of the card header"
|
|
38
|
+
},
|
|
39
|
+
"attribute": "header",
|
|
40
|
+
"reflect": false
|
|
41
|
+
},
|
|
42
|
+
"arrow": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"mutable": false,
|
|
45
|
+
"complexType": {
|
|
46
|
+
"original": "boolean",
|
|
47
|
+
"resolved": "boolean",
|
|
48
|
+
"references": {}
|
|
49
|
+
},
|
|
50
|
+
"required": false,
|
|
51
|
+
"optional": false,
|
|
52
|
+
"docs": {
|
|
53
|
+
"tags": [],
|
|
54
|
+
"text": "Enable the title arrow"
|
|
55
|
+
},
|
|
56
|
+
"attribute": "arrow",
|
|
57
|
+
"reflect": false,
|
|
58
|
+
"defaultValue": "false"
|
|
59
|
+
}
|
|
60
|
+
}; }
|
|
61
|
+
}
|
|
@@ -2,4 +2,29 @@
|
|
|
2
2
|
@apply h-4 px-2 bg-indigo rounded-xlarge;
|
|
3
3
|
@apply text-xs leading-3 text-white font-bold uppercase;
|
|
4
4
|
@apply flex justify-center items-center;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host(.variant-positive),
|
|
8
|
+
:host(.variant-unbiased),
|
|
9
|
+
:host(.variant-negative) {
|
|
10
|
+
@apply rounded px-1 min-w-[1rem];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host(.variant-positive) {
|
|
14
|
+
@apply bg-positive-light text-positive-dark;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host(.variant-unbiased) {
|
|
18
|
+
@apply bg-unbiased-light text-unbiased-dark;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host(.variant-negative) {
|
|
22
|
+
@apply bg-negative-light text-negative-dark;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host(.size-mini) {
|
|
26
|
+
@apply w-2 h-2 rounded-round p-0 min-w-0;
|
|
27
|
+
}
|
|
28
|
+
:host(.size-mini) slot {
|
|
29
|
+
display: none;
|
|
30
|
+
} .static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
2
|
export class Counter {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* The variant of the counter
|
|
6
|
+
*/
|
|
7
|
+
this.variant = 'info';
|
|
8
|
+
/**
|
|
9
|
+
* The size of the counter
|
|
10
|
+
*/
|
|
11
|
+
this.size = 'default';
|
|
12
|
+
}
|
|
3
13
|
render() {
|
|
4
|
-
return (h(Host, { class:
|
|
14
|
+
return (h(Host, { class: `p-counter variant-${this.variant} size-${this.size}` },
|
|
5
15
|
h("slot", null)));
|
|
6
16
|
}
|
|
7
17
|
static get is() { return "p-counter"; }
|
|
@@ -12,4 +22,42 @@ export class Counter {
|
|
|
12
22
|
static get styleUrls() { return {
|
|
13
23
|
"$": ["counter.component.css"]
|
|
14
24
|
}; }
|
|
25
|
+
static get properties() { return {
|
|
26
|
+
"variant": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"mutable": false,
|
|
29
|
+
"complexType": {
|
|
30
|
+
"original": "'info' | 'negative' | 'positive' | 'unbiased'",
|
|
31
|
+
"resolved": "\"info\" | \"negative\" | \"positive\" | \"unbiased\"",
|
|
32
|
+
"references": {}
|
|
33
|
+
},
|
|
34
|
+
"required": false,
|
|
35
|
+
"optional": false,
|
|
36
|
+
"docs": {
|
|
37
|
+
"tags": [],
|
|
38
|
+
"text": "The variant of the counter"
|
|
39
|
+
},
|
|
40
|
+
"attribute": "variant",
|
|
41
|
+
"reflect": false,
|
|
42
|
+
"defaultValue": "'info'"
|
|
43
|
+
},
|
|
44
|
+
"size": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"mutable": false,
|
|
47
|
+
"complexType": {
|
|
48
|
+
"original": "'default' | 'mini'",
|
|
49
|
+
"resolved": "\"default\" | \"mini\"",
|
|
50
|
+
"references": {}
|
|
51
|
+
},
|
|
52
|
+
"required": false,
|
|
53
|
+
"optional": false,
|
|
54
|
+
"docs": {
|
|
55
|
+
"tags": [],
|
|
56
|
+
"text": "The size of the counter"
|
|
57
|
+
},
|
|
58
|
+
"attribute": "size",
|
|
59
|
+
"reflect": false,
|
|
60
|
+
"defaultValue": "'default'"
|
|
61
|
+
}
|
|
62
|
+
}; }
|
|
15
63
|
}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
@apply
|
|
3
|
-
}
|
|
2
|
+
@apply block my-2 w-full;
|
|
3
|
+
}
|
|
4
|
+
:host .content {
|
|
5
|
+
@apply flex w-full items-center;
|
|
6
|
+
}
|
|
7
|
+
:host .content::before, :host .content::after {
|
|
8
|
+
content: "";
|
|
9
|
+
@apply h-px bg-mystic-medium flex-1;
|
|
10
|
+
} .static{position:static!important}.m-0{margin:0!important}.mt-6{margin-top:1.5rem!important}.flex{display:flex!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-3{gap:.75rem!important}.whitespace-nowrap{white-space:nowrap!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.font-medium{font-weight:500!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity))!important}*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.items-center{align-items:center!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!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}.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}.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}.flex{display:flex!important}.items-center{align-items:center!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}*{box-sizing:border-box}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import { Component, h, Host } from '@stencil/core';
|
|
1
|
+
import { Component, Element, h, Host } from '@stencil/core';
|
|
2
2
|
export class Divider {
|
|
3
3
|
render() {
|
|
4
|
-
|
|
4
|
+
var _a;
|
|
5
|
+
const hasSlotted = !!((_a = this._el.innerHTML) === null || _a === void 0 ? void 0 : _a.length);
|
|
6
|
+
return (h(Host, { class: "p-divider" },
|
|
7
|
+
h("div", { class: "content" },
|
|
8
|
+
h("div", { class: `flex items-center ${hasSlotted && 'px-2'}` },
|
|
9
|
+
h("slot", null)))));
|
|
5
10
|
}
|
|
6
11
|
static get is() { return "p-divider"; }
|
|
7
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,4 +16,5 @@ export class Divider {
|
|
|
11
16
|
static get styleUrls() { return {
|
|
12
17
|
"$": ["divider.component.css"]
|
|
13
18
|
}; }
|
|
19
|
+
static get elementRef() { return "_el"; }
|
|
14
20
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
p-dropdown-menu-container {
|
|
2
|
+
@apply w-full;
|
|
3
|
+
@apply max-w-[222px];
|
|
4
|
+
@apply flex flex-col p-2 bg-white rounded-xxlarge;
|
|
5
|
+
@apply filter drop-shadow-4 z-10;
|
|
6
|
+
} .static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}*{box-sizing:border-box}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}.static{position:static!important}*{box-sizing:border-box}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Component, h, Host } from '@stencil/core';
|
|
2
|
+
export class DropdownMenuContainer {
|
|
3
|
+
render() {
|
|
4
|
+
return (h(Host, { class: "p-dropdown-menu-container" },
|
|
5
|
+
h("slot", null)));
|
|
6
|
+
}
|
|
7
|
+
static get is() { return "p-dropdown-menu-container"; }
|
|
8
|
+
static get originalStyleUrls() { return {
|
|
9
|
+
"$": ["dropdown-menu-container.component.scss"]
|
|
10
|
+
}; }
|
|
11
|
+
static get styleUrls() { return {
|
|
12
|
+
"$": ["dropdown-menu-container.component.css"]
|
|
13
|
+
}; }
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
@apply h-8 flex items-center px-2 rounded w-full gap-2;
|
|
3
|
+
@apply text-sm text-storm font-semibold;
|
|
4
|
+
@apply cursor-pointer;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host(:hover) {
|
|
8
|
+
@apply text-storm bg-indigo-light;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:host(.active) {
|
|
12
|
+
@apply text-indigo bg-indigo-light;
|
|
13
|
+
} .static{position:static!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}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Component, h, Host, Prop } from '@stencil/core';
|
|
2
|
+
export class DropdownMenuItem {
|
|
3
|
+
constructor() {
|
|
4
|
+
/**
|
|
5
|
+
* Wether the dropdown menu item is active
|
|
6
|
+
*/
|
|
7
|
+
this.active = false;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return (h(Host, { class: `p-dropdown-menu-item ${this.active && 'active'}` },
|
|
11
|
+
this.icon && h("p-icon", { variant: this.icon }),
|
|
12
|
+
h("slot", null)));
|
|
13
|
+
}
|
|
14
|
+
static get is() { return "p-dropdown-menu-item"; }
|
|
15
|
+
static get encapsulation() { return "shadow"; }
|
|
16
|
+
static get originalStyleUrls() { return {
|
|
17
|
+
"$": ["dropdown-menu-item.component.scss"]
|
|
18
|
+
}; }
|
|
19
|
+
static get styleUrls() { return {
|
|
20
|
+
"$": ["dropdown-menu-item.component.css"]
|
|
21
|
+
}; }
|
|
22
|
+
static get properties() { return {
|
|
23
|
+
"active": {
|
|
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 the dropdown menu item is active"
|
|
36
|
+
},
|
|
37
|
+
"attribute": "active",
|
|
38
|
+
"reflect": false,
|
|
39
|
+
"defaultValue": "false"
|
|
40
|
+
},
|
|
41
|
+
"icon": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"mutable": false,
|
|
44
|
+
"complexType": {
|
|
45
|
+
"original": "IconVariant",
|
|
46
|
+
"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\" | \"menu\" | \"minus\" | \"more\" | \"negative\" | \"pagination\" | \"payment\" | \"pencil\" | \"person\" | \"plus\" | \"question\" | \"receipt\" | \"report\" | \"search\" | \"settings\" | \"sick\" | \"signout\" | \"switch\" | \"tachometer\" | \"task\" | \"template\" | \"tool\" | \"trash\" | \"turn\" | \"upload\" | \"warning\"",
|
|
47
|
+
"references": {
|
|
48
|
+
"IconVariant": {
|
|
49
|
+
"location": "import",
|
|
50
|
+
"path": "../icon/icon.component"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"required": false,
|
|
55
|
+
"optional": false,
|
|
56
|
+
"docs": {
|
|
57
|
+
"tags": [],
|
|
58
|
+
"text": "Icon of the navigation item"
|
|
59
|
+
},
|
|
60
|
+
"attribute": "icon",
|
|
61
|
+
"reflect": false
|
|
62
|
+
}
|
|
63
|
+
}; }
|
|
64
|
+
}
|