@plusui/library 0.1.0
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/LICENSE +21 -0
- package/README.md +118 -0
- package/cdn/base-Cl6v8-BZ.js +8 -0
- package/cdn/base-hbm3XPKy.js +6 -0
- package/cdn/components/accordion/accordion.js +205 -0
- package/cdn/components/accordion/accordion.style.js +91 -0
- package/cdn/components/accordion/index.js +11 -0
- package/cdn/components/accordion-group/accordion-group.js +181 -0
- package/cdn/components/accordion-group/index.js +10 -0
- package/cdn/components/alert/alert.js +265 -0
- package/cdn/components/alert/alert.style.js +81 -0
- package/cdn/components/alert/index.js +11 -0
- package/cdn/components/avatar/avatar.js +183 -0
- package/cdn/components/avatar/avatar.style.js +29 -0
- package/cdn/components/avatar/index.js +13 -0
- package/cdn/components/badge/badge.host.style.js +12 -0
- package/cdn/components/badge/badge.js +151 -0
- package/cdn/components/badge/badge.style.js +62 -0
- package/cdn/components/badge/index.js +15 -0
- package/cdn/components/base/index.js +3 -0
- package/cdn/components/base/tailwind-base.js +192 -0
- package/cdn/components/breadcrumb/breadcrumb.js +59 -0
- package/cdn/components/breadcrumb/breadcrumb.style.js +39 -0
- package/cdn/components/breadcrumb/index.js +13 -0
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +132 -0
- package/cdn/components/breadcrumb-item/breadcrumb-item.style.js +40 -0
- package/cdn/components/breadcrumb-item/index.js +13 -0
- package/cdn/components/button/button.js +231 -0
- package/cdn/components/button/button.style.js +68 -0
- package/cdn/components/button/index.js +13 -0
- package/cdn/components/button-group/button-group.js +250 -0
- package/cdn/components/button-group/button-group.style.js +52 -0
- package/cdn/components/button-group/index.js +12 -0
- package/cdn/components/caption/caption.style.js +29 -0
- package/cdn/components/checkbox/checkbox.js +205 -0
- package/cdn/components/checkbox/checkbox.style.js +158 -0
- package/cdn/components/checkbox/index.js +20 -0
- package/cdn/components/checkbox-group/checkbox-group.js +106 -0
- package/cdn/components/checkbox-group/checkbox-group.style.js +39 -0
- package/cdn/components/checkbox-group/index.js +13 -0
- package/cdn/components/chip/chip.js +188 -0
- package/cdn/components/chip/chip.style.js +71 -0
- package/cdn/components/chip/index.js +11 -0
- package/cdn/components/divider/divider.js +126 -0
- package/cdn/components/divider/divider.style.js +151 -0
- package/cdn/components/divider/index.js +12 -0
- package/cdn/components/drawer/drawer.js +188 -0
- package/cdn/components/drawer/drawer.style.js +171 -0
- package/cdn/components/drawer/index.js +12 -0
- package/cdn/components/dropdown/dropdown.js +331 -0
- package/cdn/components/dropdown/dropdown.style.js +15 -0
- package/cdn/components/dropdown/index.js +15 -0
- package/cdn/components/dropdown-item/dropdown-item.js +104 -0
- package/cdn/components/dropdown-item/index.js +12 -0
- package/cdn/components/icon/icon.js +2999 -0
- package/cdn/components/icon/index.js +7 -0
- package/cdn/components/index.js +139 -0
- package/cdn/components/input/index.js +19 -0
- package/cdn/components/input/input.js +591 -0
- package/cdn/components/input/input.style.js +133 -0
- package/cdn/components/label/label.style.js +28 -0
- package/cdn/components/link/index.js +9 -0
- package/cdn/components/link/link.js +168 -0
- package/cdn/components/link/link.style.js +41 -0
- package/cdn/components/list-box-item/index.js +13 -0
- package/cdn/components/list-box-item/list-box-item.js +101 -0
- package/cdn/components/list-box-item/list-box-item.style.js +42 -0
- package/cdn/components/modal/index.js +12 -0
- package/cdn/components/modal/modal.js +224 -0
- package/cdn/components/modal/modal.style.js +101 -0
- package/cdn/components/popconfirm/index.js +15 -0
- package/cdn/components/popconfirm/popconfirm.js +476 -0
- package/cdn/components/popconfirm/popconfirm.style.js +78 -0
- package/cdn/components/popover/index.js +15 -0
- package/cdn/components/popover/popover.js +417 -0
- package/cdn/components/popover/popover.style.js +67 -0
- package/cdn/components/radio/index.js +14 -0
- package/cdn/components/radio/radio.js +235 -0
- package/cdn/components/radio/radio.style.js +98 -0
- package/cdn/components/radio-group/index.js +9 -0
- package/cdn/components/radio-group/radio-group.js +142 -0
- package/cdn/components/radio-group/radio-group.style.js +18 -0
- package/cdn/components/rating/index.js +20 -0
- package/cdn/components/rating/rating.js +301 -0
- package/cdn/components/rating/rating.style.js +62 -0
- package/cdn/components/segmented-picker/index.js +13 -0
- package/cdn/components/segmented-picker/segmented-picker.component.js +119 -0
- package/cdn/components/segmented-picker/segmented-picker.style.js +49 -0
- package/cdn/components/segmented-picker-item/index.js +12 -0
- package/cdn/components/segmented-picker-item/segmented-picker-item.component.js +140 -0
- package/cdn/components/segmented-picker-item/segmented-picker-item.style.js +49 -0
- package/cdn/components/select/index.js +15 -0
- package/cdn/components/select/select.js +376 -0
- package/cdn/components/select/select.style.js +15 -0
- package/cdn/components/select-item/index.js +12 -0
- package/cdn/components/select-item/select-item.js +92 -0
- package/cdn/components/service/index.js +17 -0
- package/cdn/components/service/service.js +50 -0
- package/cdn/components/svg-icon/icons.js +31 -0
- package/cdn/components/svg-icon/index.js +8 -0
- package/cdn/components/svg-icon/svg-icon.js +31 -0
- package/cdn/components/tab/index.js +14 -0
- package/cdn/components/tab/styles.js +134 -0
- package/cdn/components/tab/tab.js +212 -0
- package/cdn/components/tab-group/index.js +15 -0
- package/cdn/components/tab-group/tab-group.js +346 -0
- package/cdn/components/tab-panel/index.js +12 -0
- package/cdn/components/tab-panel/tab-panel.js +72 -0
- package/cdn/components/tag/index.js +13 -0
- package/cdn/components/tag/tag.js +188 -0
- package/cdn/components/tag/tag.style.js +38 -0
- package/cdn/components/text/index.js +11 -0
- package/cdn/components/text/text.js +84 -0
- package/cdn/components/text/text.style.js +23 -0
- package/cdn/components/textarea/index.js +19 -0
- package/cdn/components/textarea/textarea.js +281 -0
- package/cdn/components/textarea/textarea.style.js +106 -0
- package/cdn/components/toast/index.js +16 -0
- package/cdn/components/toast/toast.js +188 -0
- package/cdn/components/toast/toast.style.js +88 -0
- package/cdn/components/toast-container/index.js +20 -0
- package/cdn/components/toast-container/toast-container.js +110 -0
- package/cdn/components/toast-container/toast-container.style.js +31 -0
- package/cdn/components/toggle/index.js +24 -0
- package/cdn/components/toggle/toggle.js +509 -0
- package/cdn/components/toggle/toggle.style.js +249 -0
- package/cdn/components/tooltip/index.js +15 -0
- package/cdn/components/tooltip/tooltip.js +266 -0
- package/cdn/components/tooltip/tooltip.style.js +18 -0
- package/cdn/controllers/slot-controller.js +40 -0
- package/cdn/directive-B-tr8_pJ.js +6 -0
- package/cdn/directive-DZCF8pFJ.js +8 -0
- package/cdn/factory/tailwind-factory.js +23 -0
- package/cdn/floating-ui.dom-CXNHR8n2.js +1 -0
- package/cdn/floating-ui.dom-OBaMlALa.js +1571 -0
- package/cdn/global--d79_U21.js +1 -0
- package/cdn/global-Dh9axYQH.js +31 -0
- package/cdn/if-defined-CQ5F5a3V.js +6 -0
- package/cdn/if-defined-D-m3dgRf.js +9 -0
- package/cdn/index-B9iart53.js +2545 -0
- package/cdn/index-BMAGQoq5.js +1 -0
- package/cdn/lit-element-ByzbtpGk.js +27 -0
- package/cdn/lit-element-DNNEDGnu.js +23 -0
- package/cdn/live-BOAtKRUN.js +16 -0
- package/cdn/live-Ba4FL2pG.js +11 -0
- package/cdn/loader.js +301 -0
- package/cdn/model/plus.js +13 -0
- package/cdn/property-DLlzgs39.js +7 -0
- package/cdn/property-DiPQx9S3.js +38 -0
- package/cdn/query-CHb9Ft_d.js +9 -0
- package/cdn/query-DhvfedBn.js +6 -0
- package/cdn/query-assigned-elements-B8Evmg7O.js +9 -0
- package/cdn/query-assigned-elements-BVENYXMn.js +6 -0
- package/cdn/services/toast.service.js +71 -0
- package/cdn/state-CoIPL7X5.js +6 -0
- package/cdn/state-D1d5Sfj8.js +9 -0
- package/cdn/style-map-DC_vNus2.js +10 -0
- package/cdn/style-map-Z-XBeQmS.js +6 -0
- package/cdn/unsafe-html-BhmP6ONc.js +10 -0
- package/cdn/unsafe-html-rEfV9uY8.js +6 -0
- package/custom-elements.json +14054 -0
- package/dist/base-BqsGesSl.js +6 -0
- package/dist/base-Cl6v8-BZ.js +8 -0
- package/dist/components/accordion/accordion.d.ts +75 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/accordion.js +206 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/accordion/accordion.style.d.ts +439 -0
- package/dist/components/accordion/accordion.style.d.ts.map +1 -0
- package/dist/components/accordion/accordion.style.js +91 -0
- package/dist/components/accordion/accordion.style.js.map +1 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/accordion/index.d.ts.map +1 -0
- package/dist/components/accordion/index.js +12 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/accordion-group/accordion-group.d.ts +54 -0
- package/dist/components/accordion-group/accordion-group.d.ts.map +1 -0
- package/dist/components/accordion-group/accordion-group.js +182 -0
- package/dist/components/accordion-group/accordion-group.js.map +1 -0
- package/dist/components/accordion-group/index.d.ts +2 -0
- package/dist/components/accordion-group/index.d.ts.map +1 -0
- package/dist/components/accordion-group/index.js +11 -0
- package/dist/components/accordion-group/index.js.map +1 -0
- package/dist/components/alert/alert.d.ts +117 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/alert.js +266 -0
- package/dist/components/alert/alert.js.map +1 -0
- package/dist/components/alert/alert.style.d.ts +366 -0
- package/dist/components/alert/alert.style.d.ts.map +1 -0
- package/dist/components/alert/alert.style.js +81 -0
- package/dist/components/alert/alert.style.js.map +1 -0
- package/dist/components/alert/alert.styles.d.ts +3 -0
- package/dist/components/alert/alert.styles.d.ts.map +1 -0
- package/dist/components/alert/alert.styles.js +15 -0
- package/dist/components/alert/alert.styles.js.map +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/index.js +12 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/avatar/avatar.d.ts +75 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/avatar.js +184 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/avatar/avatar.style.d.ts +93 -0
- package/dist/components/avatar/avatar.style.d.ts.map +1 -0
- package/dist/components/avatar/avatar.style.js +29 -0
- package/dist/components/avatar/avatar.style.js.map +1 -0
- package/dist/components/avatar/index.d.ts +2 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js +14 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/badge.d.ts +49 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/badge.host.style.d.ts +3 -0
- package/dist/components/badge/badge.host.style.d.ts.map +1 -0
- package/dist/components/badge/badge.host.style.js +12 -0
- package/dist/components/badge/badge.host.style.js.map +1 -0
- package/dist/components/badge/badge.js +152 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/badge/badge.style.d.ts +177 -0
- package/dist/components/badge/badge.style.d.ts.map +1 -0
- package/dist/components/badge/badge.style.js +62 -0
- package/dist/components/badge/badge.style.js.map +1 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/index.js +16 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/base/index.d.ts +3 -0
- package/dist/components/base/index.d.ts.map +1 -0
- package/dist/components/base/index.js +4 -0
- package/dist/components/base/index.js.map +1 -0
- package/dist/components/base/tailwind-base.d.ts +8 -0
- package/dist/components/base/tailwind-base.d.ts.map +1 -0
- package/dist/components/base/tailwind-base.js +193 -0
- package/dist/components/base/tailwind-base.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +23 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.js +60 -0
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.style.d.ts +72 -0
- package/dist/components/breadcrumb/breadcrumb.style.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.style.js +39 -0
- package/dist/components/breadcrumb/breadcrumb.style.js.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +2 -0
- package/dist/components/breadcrumb/index.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.js +14 -0
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +39 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts.map +1 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.js +133 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.js.map +1 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.style.d.ts +157 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.style.d.ts.map +1 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.style.js +40 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.style.js.map +1 -0
- package/dist/components/breadcrumb-item/index.d.ts +2 -0
- package/dist/components/breadcrumb-item/index.d.ts.map +1 -0
- package/dist/components/breadcrumb-item/index.js +14 -0
- package/dist/components/breadcrumb-item/index.js.map +1 -0
- package/dist/components/button/button.d.ts +49 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/button.js +232 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/button.style.d.ts +256 -0
- package/dist/components/button/button.style.d.ts.map +1 -0
- package/dist/components/button/button.style.js +68 -0
- package/dist/components/button/button.style.js.map +1 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/index.js +14 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/button-group.d.ts +102 -0
- package/dist/components/button-group/button-group.d.ts.map +1 -0
- package/dist/components/button-group/button-group.js +251 -0
- package/dist/components/button-group/button-group.js.map +1 -0
- package/dist/components/button-group/button-group.style.d.ts +215 -0
- package/dist/components/button-group/button-group.style.d.ts.map +1 -0
- package/dist/components/button-group/button-group.style.js +52 -0
- package/dist/components/button-group/button-group.style.js.map +1 -0
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-group/index.d.ts.map +1 -0
- package/dist/components/button-group/index.js +13 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/components/caption/caption.style.d.ts +107 -0
- package/dist/components/caption/caption.style.d.ts.map +1 -0
- package/dist/components/caption/caption.style.js +29 -0
- package/dist/components/caption/caption.style.js.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +74 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.js +206 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/checkbox/checkbox.style.d.ts +363 -0
- package/dist/components/checkbox/checkbox.style.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.style.js +158 -0
- package/dist/components/checkbox/checkbox.style.js.map +1 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/checkbox/index.js +21 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +30 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.js +107 -0
- package/dist/components/checkbox-group/checkbox-group.js.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.style.d.ts +71 -0
- package/dist/components/checkbox-group/checkbox-group.style.d.ts.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.style.js +39 -0
- package/dist/components/checkbox-group/checkbox-group.style.js.map +1 -0
- package/dist/components/checkbox-group/index.d.ts +2 -0
- package/dist/components/checkbox-group/index.d.ts.map +1 -0
- package/dist/components/checkbox-group/index.js +14 -0
- package/dist/components/checkbox-group/index.js.map +1 -0
- package/dist/components/chip/chip.d.ts +85 -0
- package/dist/components/chip/chip.d.ts.map +1 -0
- package/dist/components/chip/chip.js +189 -0
- package/dist/components/chip/chip.js.map +1 -0
- package/dist/components/chip/chip.style.d.ts +263 -0
- package/dist/components/chip/chip.style.d.ts.map +1 -0
- package/dist/components/chip/chip.style.js +71 -0
- package/dist/components/chip/chip.style.js.map +1 -0
- package/dist/components/chip/index.d.ts +2 -0
- package/dist/components/chip/index.d.ts.map +1 -0
- package/dist/components/chip/index.js +12 -0
- package/dist/components/chip/index.js.map +1 -0
- package/dist/components/divider/divider.d.ts +49 -0
- package/dist/components/divider/divider.d.ts.map +1 -0
- package/dist/components/divider/divider.js +127 -0
- package/dist/components/divider/divider.js.map +1 -0
- package/dist/components/divider/divider.style.d.ts +246 -0
- package/dist/components/divider/divider.style.d.ts.map +1 -0
- package/dist/components/divider/divider.style.js +151 -0
- package/dist/components/divider/divider.style.js.map +1 -0
- package/dist/components/divider/index.d.ts +2 -0
- package/dist/components/divider/index.d.ts.map +1 -0
- package/dist/components/divider/index.js +13 -0
- package/dist/components/divider/index.js.map +1 -0
- package/dist/components/drawer/drawer.d.ts +79 -0
- package/dist/components/drawer/drawer.d.ts.map +1 -0
- package/dist/components/drawer/drawer.js +189 -0
- package/dist/components/drawer/drawer.js.map +1 -0
- package/dist/components/drawer/drawer.style.d.ts +281 -0
- package/dist/components/drawer/drawer.style.d.ts.map +1 -0
- package/dist/components/drawer/drawer.style.js +171 -0
- package/dist/components/drawer/drawer.style.js.map +1 -0
- package/dist/components/drawer/index.d.ts +2 -0
- package/dist/components/drawer/index.d.ts.map +1 -0
- package/dist/components/drawer/index.js +13 -0
- package/dist/components/drawer/index.js.map +1 -0
- package/dist/components/dropdown/dropdown.d.ts +147 -0
- package/dist/components/dropdown/dropdown.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown.js +332 -0
- package/dist/components/dropdown/dropdown.js.map +1 -0
- package/dist/components/dropdown/dropdown.style.d.ts +37 -0
- package/dist/components/dropdown/dropdown.style.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown.style.js +15 -0
- package/dist/components/dropdown/dropdown.style.js.map +1 -0
- package/dist/components/dropdown/index.d.ts +2 -0
- package/dist/components/dropdown/index.d.ts.map +1 -0
- package/dist/components/dropdown/index.js +16 -0
- package/dist/components/dropdown/index.js.map +1 -0
- package/dist/components/dropdown-item/dropdown-item.d.ts +63 -0
- package/dist/components/dropdown-item/dropdown-item.d.ts.map +1 -0
- package/dist/components/dropdown-item/dropdown-item.js +105 -0
- package/dist/components/dropdown-item/dropdown-item.js.map +1 -0
- package/dist/components/dropdown-item/index.d.ts +2 -0
- package/dist/components/dropdown-item/index.d.ts.map +1 -0
- package/dist/components/dropdown-item/index.js +13 -0
- package/dist/components/dropdown-item/index.js.map +1 -0
- package/dist/components/icon/icon.d.ts +12 -0
- package/dist/components/icon/icon.d.ts.map +1 -0
- package/dist/components/icon/icon.js +2999 -0
- package/dist/components/icon/icon.js.map +1 -0
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/icon/index.d.ts.map +1 -0
- package/dist/components/icon/index.js +7 -0
- package/dist/components/icon/index.js.map +1 -0
- package/dist/components/index.d.ts +44 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +140 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/index.js +20 -0
- package/dist/components/input/index.js.map +1 -0
- package/dist/components/input/input.d.ts +315 -0
- package/dist/components/input/input.d.ts.map +1 -0
- package/dist/components/input/input.js +592 -0
- package/dist/components/input/input.js.map +1 -0
- package/dist/components/input/input.style.d.ts +533 -0
- package/dist/components/input/input.style.d.ts.map +1 -0
- package/dist/components/input/input.style.js +133 -0
- package/dist/components/input/input.style.js.map +1 -0
- package/dist/components/label/label.style.d.ts +107 -0
- package/dist/components/label/label.style.d.ts.map +1 -0
- package/dist/components/label/label.style.js +28 -0
- package/dist/components/label/label.style.js.map +1 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/index.d.ts.map +1 -0
- package/dist/components/link/index.js +10 -0
- package/dist/components/link/index.js.map +1 -0
- package/dist/components/link/link.d.ts +84 -0
- package/dist/components/link/link.d.ts.map +1 -0
- package/dist/components/link/link.js +169 -0
- package/dist/components/link/link.js.map +1 -0
- package/dist/components/link/link.style.d.ts +156 -0
- package/dist/components/link/link.style.d.ts.map +1 -0
- package/dist/components/link/link.style.js +41 -0
- package/dist/components/link/link.style.js.map +1 -0
- package/dist/components/list-box-item/index.d.ts +2 -0
- package/dist/components/list-box-item/index.d.ts.map +1 -0
- package/dist/components/list-box-item/index.js +14 -0
- package/dist/components/list-box-item/index.js.map +1 -0
- package/dist/components/list-box-item/list-box-item.d.ts +54 -0
- package/dist/components/list-box-item/list-box-item.d.ts.map +1 -0
- package/dist/components/list-box-item/list-box-item.js +102 -0
- package/dist/components/list-box-item/list-box-item.js.map +1 -0
- package/dist/components/list-box-item/list-box-item.style.d.ts +100 -0
- package/dist/components/list-box-item/list-box-item.style.d.ts.map +1 -0
- package/dist/components/list-box-item/list-box-item.style.js +42 -0
- package/dist/components/list-box-item/list-box-item.style.js.map +1 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/modal/index.js +13 -0
- package/dist/components/modal/index.js.map +1 -0
- package/dist/components/modal/modal.d.ts +95 -0
- package/dist/components/modal/modal.d.ts.map +1 -0
- package/dist/components/modal/modal.js +225 -0
- package/dist/components/modal/modal.js.map +1 -0
- package/dist/components/modal/modal.style.d.ts +295 -0
- package/dist/components/modal/modal.style.d.ts.map +1 -0
- package/dist/components/modal/modal.style.js +101 -0
- package/dist/components/modal/modal.style.js.map +1 -0
- package/dist/components/popconfirm/index.d.ts +2 -0
- package/dist/components/popconfirm/index.d.ts.map +1 -0
- package/dist/components/popconfirm/index.js +16 -0
- package/dist/components/popconfirm/index.js.map +1 -0
- package/dist/components/popconfirm/popconfirm.d.ts +183 -0
- package/dist/components/popconfirm/popconfirm.d.ts.map +1 -0
- package/dist/components/popconfirm/popconfirm.js +477 -0
- package/dist/components/popconfirm/popconfirm.js.map +1 -0
- package/dist/components/popconfirm/popconfirm.style.d.ts +417 -0
- package/dist/components/popconfirm/popconfirm.style.d.ts.map +1 -0
- package/dist/components/popconfirm/popconfirm.style.js +78 -0
- package/dist/components/popconfirm/popconfirm.style.js.map +1 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/index.js +16 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/popover/popover.d.ts +184 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/popover/popover.js +418 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/components/popover/popover.style.d.ts +348 -0
- package/dist/components/popover/popover.style.d.ts.map +1 -0
- package/dist/components/popover/popover.style.js +67 -0
- package/dist/components/popover/popover.style.js.map +1 -0
- package/dist/components/radio/index.d.ts +2 -0
- package/dist/components/radio/index.d.ts.map +1 -0
- package/dist/components/radio/index.js +15 -0
- package/dist/components/radio/index.js.map +1 -0
- package/dist/components/radio/radio.d.ts +85 -0
- package/dist/components/radio/radio.d.ts.map +1 -0
- package/dist/components/radio/radio.js +236 -0
- package/dist/components/radio/radio.js.map +1 -0
- package/dist/components/radio/radio.style.d.ts +272 -0
- package/dist/components/radio/radio.style.d.ts.map +1 -0
- package/dist/components/radio/radio.style.js +98 -0
- package/dist/components/radio/radio.style.js.map +1 -0
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/index.d.ts.map +1 -0
- package/dist/components/radio-group/index.js +10 -0
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +37 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.js +143 -0
- package/dist/components/radio-group/radio-group.js.map +1 -0
- package/dist/components/radio-group/radio-group.style.d.ts +71 -0
- package/dist/components/radio-group/radio-group.style.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.style.js +18 -0
- package/dist/components/radio-group/radio-group.style.js.map +1 -0
- package/dist/components/rating/index.d.ts +2 -0
- package/dist/components/rating/index.d.ts.map +1 -0
- package/dist/components/rating/index.js +21 -0
- package/dist/components/rating/index.js.map +1 -0
- package/dist/components/rating/rating.d.ts +53 -0
- package/dist/components/rating/rating.d.ts.map +1 -0
- package/dist/components/rating/rating.js +302 -0
- package/dist/components/rating/rating.js.map +1 -0
- package/dist/components/rating/rating.style.d.ts +208 -0
- package/dist/components/rating/rating.style.d.ts.map +1 -0
- package/dist/components/rating/rating.style.js +62 -0
- package/dist/components/rating/rating.style.js.map +1 -0
- package/dist/components/segmented-picker/index.d.ts +2 -0
- package/dist/components/segmented-picker/index.d.ts.map +1 -0
- package/dist/components/segmented-picker/index.js +14 -0
- package/dist/components/segmented-picker/index.js.map +1 -0
- package/dist/components/segmented-picker/segmented-picker.component.d.ts +41 -0
- package/dist/components/segmented-picker/segmented-picker.component.d.ts.map +1 -0
- package/dist/components/segmented-picker/segmented-picker.component.js +120 -0
- package/dist/components/segmented-picker/segmented-picker.component.js.map +1 -0
- package/dist/components/segmented-picker/segmented-picker.style.d.ts +221 -0
- package/dist/components/segmented-picker/segmented-picker.style.d.ts.map +1 -0
- package/dist/components/segmented-picker/segmented-picker.style.js +49 -0
- package/dist/components/segmented-picker/segmented-picker.style.js.map +1 -0
- package/dist/components/segmented-picker-item/index.d.ts +2 -0
- package/dist/components/segmented-picker-item/index.d.ts.map +1 -0
- package/dist/components/segmented-picker-item/index.js +13 -0
- package/dist/components/segmented-picker-item/index.js.map +1 -0
- package/dist/components/segmented-picker-item/segmented-picker-item.component.d.ts +60 -0
- package/dist/components/segmented-picker-item/segmented-picker-item.component.d.ts.map +1 -0
- package/dist/components/segmented-picker-item/segmented-picker-item.component.js +141 -0
- package/dist/components/segmented-picker-item/segmented-picker-item.component.js.map +1 -0
- package/dist/components/segmented-picker-item/segmented-picker-item.style.d.ts +156 -0
- package/dist/components/segmented-picker-item/segmented-picker-item.style.d.ts.map +1 -0
- package/dist/components/segmented-picker-item/segmented-picker-item.style.js +49 -0
- package/dist/components/segmented-picker-item/segmented-picker-item.style.js.map +1 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/index.js +16 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/select/select.d.ts +160 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.js +377 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/select/select.style.d.ts +37 -0
- package/dist/components/select/select.style.d.ts.map +1 -0
- package/dist/components/select/select.style.js +15 -0
- package/dist/components/select/select.style.js.map +1 -0
- package/dist/components/select-item/index.d.ts +2 -0
- package/dist/components/select-item/index.d.ts.map +1 -0
- package/dist/components/select-item/index.js +13 -0
- package/dist/components/select-item/index.js.map +1 -0
- package/dist/components/select-item/select-item.d.ts +56 -0
- package/dist/components/select-item/select-item.d.ts.map +1 -0
- package/dist/components/select-item/select-item.js +93 -0
- package/dist/components/select-item/select-item.js.map +1 -0
- package/dist/components/service/index.d.ts +2 -0
- package/dist/components/service/index.d.ts.map +1 -0
- package/dist/components/service/index.js +18 -0
- package/dist/components/service/index.js.map +1 -0
- package/dist/components/service/service.d.ts +19 -0
- package/dist/components/service/service.d.ts.map +1 -0
- package/dist/components/service/service.js +51 -0
- package/dist/components/service/service.js.map +1 -0
- package/dist/components/svg-icon/icons.d.ts +25 -0
- package/dist/components/svg-icon/icons.d.ts.map +1 -0
- package/dist/components/svg-icon/icons.js +31 -0
- package/dist/components/svg-icon/icons.js.map +1 -0
- package/dist/components/svg-icon/index.d.ts +3 -0
- package/dist/components/svg-icon/index.d.ts.map +1 -0
- package/dist/components/svg-icon/index.js +8 -0
- package/dist/components/svg-icon/index.js.map +1 -0
- package/dist/components/svg-icon/svg-icon.d.ts +9 -0
- package/dist/components/svg-icon/svg-icon.d.ts.map +1 -0
- package/dist/components/svg-icon/svg-icon.js +31 -0
- package/dist/components/svg-icon/svg-icon.js.map +1 -0
- package/dist/components/tab/index.d.ts +2 -0
- package/dist/components/tab/index.d.ts.map +1 -0
- package/dist/components/tab/index.js +15 -0
- package/dist/components/tab/index.js.map +1 -0
- package/dist/components/tab/styles.d.ts +363 -0
- package/dist/components/tab/styles.d.ts.map +1 -0
- package/dist/components/tab/styles.js +134 -0
- package/dist/components/tab/styles.js.map +1 -0
- package/dist/components/tab/tab.d.ts +83 -0
- package/dist/components/tab/tab.d.ts.map +1 -0
- package/dist/components/tab/tab.js +213 -0
- package/dist/components/tab/tab.js.map +1 -0
- package/dist/components/tab-group/index.d.ts +2 -0
- package/dist/components/tab-group/index.d.ts.map +1 -0
- package/dist/components/tab-group/index.js +16 -0
- package/dist/components/tab-group/index.js.map +1 -0
- package/dist/components/tab-group/tab-group.d.ts +118 -0
- package/dist/components/tab-group/tab-group.d.ts.map +1 -0
- package/dist/components/tab-group/tab-group.js +347 -0
- package/dist/components/tab-group/tab-group.js.map +1 -0
- package/dist/components/tab-panel/index.d.ts +2 -0
- package/dist/components/tab-panel/index.d.ts.map +1 -0
- package/dist/components/tab-panel/index.js +13 -0
- package/dist/components/tab-panel/index.js.map +1 -0
- package/dist/components/tab-panel/tab-panel.d.ts +33 -0
- package/dist/components/tab-panel/tab-panel.d.ts.map +1 -0
- package/dist/components/tab-panel/tab-panel.js +73 -0
- package/dist/components/tab-panel/tab-panel.js.map +1 -0
- package/dist/components/tag/index.d.ts +2 -0
- package/dist/components/tag/index.d.ts.map +1 -0
- package/dist/components/tag/index.js +14 -0
- package/dist/components/tag/index.js.map +1 -0
- package/dist/components/tag/tag.d.ts +91 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/tag/tag.js +189 -0
- package/dist/components/tag/tag.js.map +1 -0
- package/dist/components/tag/tag.style.d.ts +135 -0
- package/dist/components/tag/tag.style.d.ts.map +1 -0
- package/dist/components/tag/tag.style.js +38 -0
- package/dist/components/tag/tag.style.js.map +1 -0
- package/dist/components/text/index.d.ts +2 -0
- package/dist/components/text/index.d.ts.map +1 -0
- package/dist/components/text/index.js +12 -0
- package/dist/components/text/index.js.map +1 -0
- package/dist/components/text/text.d.ts +36 -0
- package/dist/components/text/text.d.ts.map +1 -0
- package/dist/components/text/text.js +85 -0
- package/dist/components/text/text.js.map +1 -0
- package/dist/components/text/text.style.d.ts +86 -0
- package/dist/components/text/text.style.d.ts.map +1 -0
- package/dist/components/text/text.style.js +23 -0
- package/dist/components/text/text.style.js.map +1 -0
- package/dist/components/textarea/index.d.ts +2 -0
- package/dist/components/textarea/index.d.ts.map +1 -0
- package/dist/components/textarea/index.js +20 -0
- package/dist/components/textarea/index.js.map +1 -0
- package/dist/components/textarea/textarea.d.ts +76 -0
- package/dist/components/textarea/textarea.d.ts.map +1 -0
- package/dist/components/textarea/textarea.js +282 -0
- package/dist/components/textarea/textarea.js.map +1 -0
- package/dist/components/textarea/textarea.style.d.ts +436 -0
- package/dist/components/textarea/textarea.style.d.ts.map +1 -0
- package/dist/components/textarea/textarea.style.js +106 -0
- package/dist/components/textarea/textarea.style.js.map +1 -0
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +17 -0
- package/dist/components/toast/index.js.map +1 -0
- package/dist/components/toast/toast.d.ts +57 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/toast/toast.js +189 -0
- package/dist/components/toast/toast.js.map +1 -0
- package/dist/components/toast/toast.style.d.ts +333 -0
- package/dist/components/toast/toast.style.d.ts.map +1 -0
- package/dist/components/toast/toast.style.js +88 -0
- package/dist/components/toast/toast.style.js.map +1 -0
- package/dist/components/toast-container/index.d.ts +2 -0
- package/dist/components/toast-container/index.d.ts.map +1 -0
- package/dist/components/toast-container/index.js +21 -0
- package/dist/components/toast-container/index.js.map +1 -0
- package/dist/components/toast-container/toast-container.d.ts +34 -0
- package/dist/components/toast-container/toast-container.d.ts.map +1 -0
- package/dist/components/toast-container/toast-container.js +111 -0
- package/dist/components/toast-container/toast-container.js.map +1 -0
- package/dist/components/toast-container/toast-container.style.d.ts +113 -0
- package/dist/components/toast-container/toast-container.style.d.ts.map +1 -0
- package/dist/components/toast-container/toast-container.style.js +31 -0
- package/dist/components/toast-container/toast-container.style.js.map +1 -0
- package/dist/components/toggle/index.d.ts +2 -0
- package/dist/components/toggle/index.d.ts.map +1 -0
- package/dist/components/toggle/index.js +25 -0
- package/dist/components/toggle/index.js.map +1 -0
- package/dist/components/toggle/toggle.d.ts +112 -0
- package/dist/components/toggle/toggle.d.ts.map +1 -0
- package/dist/components/toggle/toggle.js +510 -0
- package/dist/components/toggle/toggle.js.map +1 -0
- package/dist/components/toggle/toggle.style.d.ts +585 -0
- package/dist/components/toggle/toggle.style.d.ts.map +1 -0
- package/dist/components/toggle/toggle.style.js +249 -0
- package/dist/components/toggle/toggle.style.js.map +1 -0
- package/dist/components/tooltip/index.d.ts +2 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js +16 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +104 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.js +267 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/components/tooltip/tooltip.style.d.ts +123 -0
- package/dist/components/tooltip/tooltip.style.d.ts.map +1 -0
- package/dist/components/tooltip/tooltip.style.js +18 -0
- package/dist/components/tooltip/tooltip.style.js.map +1 -0
- package/dist/controllers/slot-controller.d.ts +19 -0
- package/dist/controllers/slot-controller.d.ts.map +1 -0
- package/dist/controllers/slot-controller.js +40 -0
- package/dist/controllers/slot-controller.js.map +1 -0
- package/dist/directive-CaeGQrCm.js +6 -0
- package/dist/directive-DZCF8pFJ.js +8 -0
- package/dist/factory/tailwind-factory.d.ts +3 -0
- package/dist/factory/tailwind-factory.d.ts.map +1 -0
- package/dist/factory/tailwind-factory.js +24 -0
- package/dist/factory/tailwind-factory.js.map +1 -0
- package/dist/floating-ui.dom-D3XJuCC4.js +1 -0
- package/dist/floating-ui.dom-OBaMlALa.js +1571 -0
- package/dist/if-defined-D-m3dgRf.js +9 -0
- package/dist/if-defined-DZx5z3Rt.js +6 -0
- package/dist/index-B9iart53.js +2545 -0
- package/dist/index-exQ3KYY9.js +1 -0
- package/dist/index.css +3 -0
- package/dist/lit-element-ByzbtpGk.js +27 -0
- package/dist/lit-element-DWUSmjFy.js +23 -0
- package/dist/live-BOAtKRUN.js +16 -0
- package/dist/live-Cq6acxyl.js +11 -0
- package/dist/model/plus.d.ts +10 -0
- package/dist/model/plus.d.ts.map +1 -0
- package/dist/model/plus.js +13 -0
- package/dist/model/plus.js.map +1 -0
- package/dist/property-BbhdtSvA.js +7 -0
- package/dist/property-DiPQx9S3.js +38 -0
- package/dist/query-CHb9Ft_d.js +9 -0
- package/dist/query-M3XxJAZy.js +6 -0
- package/dist/query-assigned-elements-B8Evmg7O.js +9 -0
- package/dist/query-assigned-elements-DBAPT3sj.js +6 -0
- package/dist/services/toast.service.d.ts +46 -0
- package/dist/services/toast.service.d.ts.map +1 -0
- package/dist/services/toast.service.js +71 -0
- package/dist/services/toast.service.js.map +1 -0
- package/dist/state-D1d5Sfj8.js +9 -0
- package/dist/state-D6IyB_n5.js +6 -0
- package/dist/style-inject.es-tgCJW-Cu.js +28 -0
- package/dist/style-map-CTYAtfNA.js +6 -0
- package/dist/style-map-DC_vNus2.js +10 -0
- package/dist/styles/base/preflight.styles.d.ts +3 -0
- package/dist/styles/base/preflight.styles.d.ts.map +1 -0
- package/dist/styles/base/preflight.styles.js +166 -0
- package/dist/styles/base/preflight.styles.js.map +1 -0
- package/dist/styles/global.js +7 -0
- package/dist/styles/theme/brand.js +7 -0
- package/dist/styles/theme/dark.js +7 -0
- package/dist/styles/theme/light.js +7 -0
- package/dist/unsafe-html-B4iHxNlq.js +6 -0
- package/dist/unsafe-html-BhmP6ONc.js +10 -0
- package/eslint/custom-element-eslint-rules.js +467 -0
- package/package.json +130 -0
- package/react/PlusAccordion.d.ts +84 -0
- package/react/PlusAccordion.js +47 -0
- package/react/PlusAccordionGroup.d.ts +64 -0
- package/react/PlusAccordionGroup.js +25 -0
- package/react/PlusAlert.d.ts +111 -0
- package/react/PlusAlert.js +57 -0
- package/react/PlusAvatar.d.ts +90 -0
- package/react/PlusAvatar.js +40 -0
- package/react/PlusBadge.d.ts +81 -0
- package/react/PlusBadge.js +28 -0
- package/react/PlusBreadcrumb.d.ts +64 -0
- package/react/PlusBreadcrumb.js +25 -0
- package/react/PlusBreadcrumbItem.d.ts +71 -0
- package/react/PlusBreadcrumbItem.js +25 -0
- package/react/PlusButton.d.ts +80 -0
- package/react/PlusButton.js +29 -0
- package/react/PlusButtonGroup.d.ts +91 -0
- package/react/PlusButtonGroup.js +38 -0
- package/react/PlusCheckbox.d.ts +115 -0
- package/react/PlusCheckbox.js +61 -0
- package/react/PlusCheckboxGroup.d.ts +73 -0
- package/react/PlusCheckboxGroup.js +37 -0
- package/react/PlusChip.d.ts +102 -0
- package/react/PlusChip.js +40 -0
- package/react/PlusDivider.d.ts +76 -0
- package/react/PlusDivider.js +44 -0
- package/react/PlusDrawer.d.ts +80 -0
- package/react/PlusDrawer.js +32 -0
- package/react/PlusDropDownItem.d.ts +88 -0
- package/react/PlusDropDownItem.js +37 -0
- package/react/PlusDropdown.d.ts +101 -0
- package/react/PlusDropdown.js +44 -0
- package/react/PlusIcon.d.ts +55 -0
- package/react/PlusIcon.js +24 -0
- package/react/PlusInput.d.ts +190 -0
- package/react/PlusInput.js +108 -0
- package/react/PlusLink.d.ts +99 -0
- package/react/PlusLink.js +44 -0
- package/react/PlusListBoxItem.d.ts +86 -0
- package/react/PlusListBoxItem.js +37 -0
- package/react/PlusModal.d.ts +86 -0
- package/react/PlusModal.js +41 -0
- package/react/PlusPopconfirm.d.ts +147 -0
- package/react/PlusPopconfirm.js +60 -0
- package/react/PlusPopover.d.ts +148 -0
- package/react/PlusPopover.js +55 -0
- package/react/PlusRadio.d.ts +97 -0
- package/react/PlusRadio.js +60 -0
- package/react/PlusRadioGroup.d.ts +75 -0
- package/react/PlusRadioGroup.js +38 -0
- package/react/PlusRating.d.ts +109 -0
- package/react/PlusRating.js +63 -0
- package/react/PlusSegmentedPicker.d.ts +71 -0
- package/react/PlusSegmentedPicker.js +40 -0
- package/react/PlusSegmentedPickerItem.d.ts +77 -0
- package/react/PlusSegmentedPickerItem.js +38 -0
- package/react/PlusSelect.d.ts +101 -0
- package/react/PlusSelect.js +59 -0
- package/react/PlusSelectItem.d.ts +86 -0
- package/react/PlusSelectItem.js +37 -0
- package/react/PlusService.d.ts +51 -0
- package/react/PlusService.js +20 -0
- package/react/PlusSvgIcon.d.ts +52 -0
- package/react/PlusSvgIcon.js +23 -0
- package/react/PlusTab.d.ts +99 -0
- package/react/PlusTab.js +44 -0
- package/react/PlusTabGroup.d.ts +93 -0
- package/react/PlusTabGroup.js +47 -0
- package/react/PlusTabPanel.d.ts +64 -0
- package/react/PlusTabPanel.js +25 -0
- package/react/PlusTag.d.ts +74 -0
- package/react/PlusTag.js +28 -0
- package/react/PlusText.d.ts +70 -0
- package/react/PlusText.js +23 -0
- package/react/PlusTextarea.d.ts +139 -0
- package/react/PlusTextarea.js +80 -0
- package/react/PlusToast.d.ts +99 -0
- package/react/PlusToast.js +51 -0
- package/react/PlusToastContainer.d.ts +63 -0
- package/react/PlusToastContainer.js +23 -0
- package/react/PlusToggle.d.ts +158 -0
- package/react/PlusToggle.js +86 -0
- package/react/PlusTooltip.d.ts +70 -0
- package/react/PlusTooltip.js +28 -0
- package/react/Tailwind.d.ts +49 -0
- package/react/Tailwind.js +20 -0
- package/react/index.d.ts +43 -0
- package/react/index.js +43 -0
- package/react/react-utils.js +34 -0
- package/types/custom-element-jsx.d.ts +1953 -0
- package/types/custom-element-solidjs.d.ts +2039 -0
- package/types/custom-element-svelte.d.ts +1935 -0
- package/types/custom-element-vuejs.d.ts +1905 -0
- package/vscode.css-custom-data.json +561 -0
- package/vscode.html-custom-data.json +1788 -0
- package/web-types.json +4523 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { E } from '../../lit-element-ByzbtpGk.js';
|
|
2
|
+
|
|
3
|
+
const icons = {
|
|
4
|
+
xmark: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" fill="currentColor"><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>`,
|
|
5
|
+
'circle-info': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>`,
|
|
6
|
+
'circle-check': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>`,
|
|
7
|
+
'circle-exclamation': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/></svg>`,
|
|
8
|
+
'triangle-exclamation': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>`,
|
|
9
|
+
'heart-circle-plus': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9l2.6-2.4C267.2 438.6 256 404.6 256 368c0-97.2 78.8-176 176-176c28.3 0 55 6.7 78.7 18.5c.9-6.5 1.3-13 1.3-19.6l0-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1l0 5.8c0 41.5 17.2 81.2 47.6 109.5zM432 512a144 144 0 1 0 0-288 144 144 0 1 0 0 288zm16-208l0 48 48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-48 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-48 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l48 0 0-48c0-8.8 7.2-16 16-16s16 7.2 16 16z"/></svg>`,
|
|
10
|
+
'circle-plus': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344l0-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"/></svg>`,
|
|
11
|
+
'chevron-up': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"/></svg>`,
|
|
12
|
+
'chevron-down': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>`,
|
|
13
|
+
'circle-question': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3l58.3 0c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24l0-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1l-58.3 0c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/></svg>`,
|
|
14
|
+
// Password toggle icons
|
|
15
|
+
eye: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"/></svg>`,
|
|
16
|
+
'eye-slash': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"/></svg>`,
|
|
17
|
+
// User interface icons
|
|
18
|
+
user: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"/></svg>`,
|
|
19
|
+
lock: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z"/></svg>`,
|
|
20
|
+
envelope: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"/></svg>`,
|
|
21
|
+
check: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>`,
|
|
22
|
+
'angle-right': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg>`,
|
|
23
|
+
minus: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"/></svg>`,
|
|
24
|
+
'solid-star': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"/></svg>`,
|
|
25
|
+
'regular-star': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M287.9 0c9.2 0 17.6 5.2 21.6 13.5l68.6 141.3 153.2 22.6c9 1.3 16.5 7.6 19.3 16.3s.5 18.1-5.9 24.5L433.6 328.4l26.2 155.6c1.5 9-2.2 18.1-9.7 23.5s-17.3 6-25.3 1.7l-137-73.2L151 509.1c-8.1 4.3-17.9 3.7-25.3-1.7s-11.2-14.5-9.7-23.5l26.2-155.6L31.1 218.2c-6.5-6.4-8.7-15.9-5.9-24.5s10.3-14.9 19.3-16.3l153.2-22.6L266.3 13.5C270.4 5.2 278.7 0 287.9 0zm0 79L235.4 187.2c-3.5 7.1-10.2 12.1-18.1 13.3L99 217.9 184.9 303c5.5 5.5 8.1 13.3 6.8 21L171.4 443.7l105.2-56.2c7.1-3.8 15.6-3.8 22.6 0l105.2 56.2L384.2 324.1c-1.3-7.7 1.2-15.5 6.8-21l85.9-85.1L358.6 200.5c-7.8-1.2-14.6-6.1-18.1-13.3L287.9 79z"/></svg>`,
|
|
26
|
+
};
|
|
27
|
+
function getIcon(name) {
|
|
28
|
+
return icons[name] || E;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { getIcon, icons };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PlusSvgIcon from './svg-icon.js';
|
|
2
|
+
export { getIcon, icons } from './icons.js';
|
|
3
|
+
import '../../property-DiPQx9S3.js';
|
|
4
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
5
|
+
import '../../unsafe-html-BhmP6ONc.js';
|
|
6
|
+
import '../../directive-DZCF8pFJ.js';
|
|
7
|
+
|
|
8
|
+
customElements.define('plus-svg-icon', PlusSvgIcon);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { i, r, E, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import { o } from '../../unsafe-html-BhmP6ONc.js';
|
|
4
|
+
import { getIcon } from './icons.js';
|
|
5
|
+
import '../../directive-DZCF8pFJ.js';
|
|
6
|
+
|
|
7
|
+
class PlusSvgIcon extends r {
|
|
8
|
+
render() {
|
|
9
|
+
if (!this.iconName)
|
|
10
|
+
return E;
|
|
11
|
+
return x `${o(getIcon(this.iconName))}`;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
PlusSvgIcon.styles = i `
|
|
15
|
+
:host {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
height: fit-content;
|
|
18
|
+
width: fit-content;
|
|
19
|
+
}
|
|
20
|
+
svg {
|
|
21
|
+
height: 1em;
|
|
22
|
+
// width: 1em;
|
|
23
|
+
vertical-align: middle;
|
|
24
|
+
fill: currentColor;
|
|
25
|
+
}
|
|
26
|
+
`;
|
|
27
|
+
__decorate([
|
|
28
|
+
n({ type: String })
|
|
29
|
+
], PlusSvgIcon.prototype, "iconName", void 0);
|
|
30
|
+
|
|
31
|
+
export { PlusSvgIcon, PlusSvgIcon as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import PlusTab from './tab.js';
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../base/tailwind-base.js';
|
|
5
|
+
import '../../global-Dh9axYQH.js';
|
|
6
|
+
import './styles.js';
|
|
7
|
+
import '../../index-B9iart53.js';
|
|
8
|
+
import '../../style-map-DC_vNus2.js';
|
|
9
|
+
import '../../directive-DZCF8pFJ.js';
|
|
10
|
+
|
|
11
|
+
// Make sure to set custom elements for auto-registration
|
|
12
|
+
customElements.define('plus-tab', PlusTab);
|
|
13
|
+
|
|
14
|
+
export { PlusTab };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { c as ce } from '../../index-B9iart53.js';
|
|
2
|
+
|
|
3
|
+
const tabStyle = ce({
|
|
4
|
+
slots: {
|
|
5
|
+
tab: [
|
|
6
|
+
'plus-ui-element',
|
|
7
|
+
'tab',
|
|
8
|
+
'flex items-center gap-2',
|
|
9
|
+
'font-sans',
|
|
10
|
+
'cursor-pointer',
|
|
11
|
+
'border-0',
|
|
12
|
+
'transition-all duration-200',
|
|
13
|
+
'focus-visible:outline-none focus-visible:ring-default',
|
|
14
|
+
'whitespace-nowrap',
|
|
15
|
+
],
|
|
16
|
+
tabHeader: ['flex'],
|
|
17
|
+
tabGroup: ['flex w-full'],
|
|
18
|
+
tabPanel: [
|
|
19
|
+
'w-full',
|
|
20
|
+
'focus-visible:outline-none focus-visible:ring-default',
|
|
21
|
+
],
|
|
22
|
+
tabDismiss: [
|
|
23
|
+
'tab-dismiss',
|
|
24
|
+
'ml-1 p-0.5',
|
|
25
|
+
'text-color-muted',
|
|
26
|
+
'hover:text-color-default',
|
|
27
|
+
'focus:outline-none focus:ring-1 focus:ring-offset-1',
|
|
28
|
+
'rounded-full',
|
|
29
|
+
'transition-colors',
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
variants: {
|
|
33
|
+
size: {
|
|
34
|
+
sm: {
|
|
35
|
+
tab: ['text-sm', 'px-3 py-1.5'],
|
|
36
|
+
},
|
|
37
|
+
md: {
|
|
38
|
+
tab: ['text-base', 'px-4 py-2'],
|
|
39
|
+
},
|
|
40
|
+
lg: {
|
|
41
|
+
tab: ['text-lg', 'px-5 py-2.5'],
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
orientation: {
|
|
45
|
+
vertical: {
|
|
46
|
+
tabHeader: ['flex-col'],
|
|
47
|
+
tabGroup: ['flex-row gap-4'],
|
|
48
|
+
tab: [
|
|
49
|
+
'justify-start text-left',
|
|
50
|
+
'border-r-2 border-r-transparent',
|
|
51
|
+
'hover:bg-color-subtle',
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
horizontal: {
|
|
55
|
+
tabHeader: ['flex-row'],
|
|
56
|
+
tabGroup: ['flex-col gap-4'],
|
|
57
|
+
tab: [
|
|
58
|
+
'justify-center text-center',
|
|
59
|
+
'border-b-2 border-b-transparent',
|
|
60
|
+
'hover:bg-color-subtle',
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
active: {
|
|
65
|
+
true: {
|
|
66
|
+
tab: ['text-color-primary', 'border-color-primary'],
|
|
67
|
+
tabPanel: ['block'],
|
|
68
|
+
},
|
|
69
|
+
false: {
|
|
70
|
+
tab: ['text-color-default', 'border-color-default'],
|
|
71
|
+
tabPanel: ['hidden'],
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
disabled: {
|
|
75
|
+
true: {
|
|
76
|
+
tab: ['cursor-not-allowed', 'opacity-60', 'hover:bg-transparent'],
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
truncated: {
|
|
80
|
+
true: {
|
|
81
|
+
tab: ['truncate'],
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
animated: {
|
|
85
|
+
true: {
|
|
86
|
+
tab: [],
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
defaultVariants: {
|
|
91
|
+
size: 'md',
|
|
92
|
+
orientation: 'horizontal',
|
|
93
|
+
active: false,
|
|
94
|
+
disabled: false,
|
|
95
|
+
truncated: false,
|
|
96
|
+
animated: false,
|
|
97
|
+
},
|
|
98
|
+
compoundVariants: [
|
|
99
|
+
{
|
|
100
|
+
orientation: 'horizontal',
|
|
101
|
+
active: true,
|
|
102
|
+
animated: false,
|
|
103
|
+
class: {
|
|
104
|
+
tab: 'border-b-2 border-b-color-primary',
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
orientation: 'vertical',
|
|
109
|
+
active: true,
|
|
110
|
+
animated: false,
|
|
111
|
+
class: {
|
|
112
|
+
tab: 'border-r-2 border-r-color-primary',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
orientation: 'horizontal',
|
|
117
|
+
active: true,
|
|
118
|
+
animated: true,
|
|
119
|
+
class: {
|
|
120
|
+
tab: 'border-b-transparent z-10',
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
orientation: 'vertical',
|
|
125
|
+
active: true,
|
|
126
|
+
animated: true,
|
|
127
|
+
class: {
|
|
128
|
+
tab: 'border-r-transparent z-10',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
export { tabStyle };
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { i, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import Tailwind from '../base/tailwind-base.js';
|
|
4
|
+
import { tabStyle } from './styles.js';
|
|
5
|
+
import { o } from '../../style-map-DC_vNus2.js';
|
|
6
|
+
import '../../global-Dh9axYQH.js';
|
|
7
|
+
import '../../index-B9iart53.js';
|
|
8
|
+
import '../../directive-DZCF8pFJ.js';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @tag plus-tab
|
|
12
|
+
* @summary Tab component that represents a single tab in a tab group.
|
|
13
|
+
*
|
|
14
|
+
* @slot - The default slot for tab content
|
|
15
|
+
* @slot prefix - Content to be placed before the tab content
|
|
16
|
+
* @slot suffix - Content to be placed after the tab content
|
|
17
|
+
*
|
|
18
|
+
* @csspart tab - The component's base wrapper
|
|
19
|
+
*
|
|
20
|
+
* @cssproperty --text-color - Controls the text color of the tab
|
|
21
|
+
* @cssproperty --active-color - Controls the color of the active indicator
|
|
22
|
+
* @cssproperty --bg-default - Controls the default background color
|
|
23
|
+
* @cssproperty --bg-hovered - Controls the background color when hovered
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```html
|
|
27
|
+
* <plus-tab value="tab1">Tab 1</plus-tab>
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class PlusTab extends Tailwind {
|
|
31
|
+
constructor() {
|
|
32
|
+
super();
|
|
33
|
+
/**
|
|
34
|
+
* Sets the value of the tab, used for identification and selection
|
|
35
|
+
*/
|
|
36
|
+
this.value = '';
|
|
37
|
+
/**
|
|
38
|
+
* Indicates if the tab is currently selected
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
this.active = false;
|
|
42
|
+
/**
|
|
43
|
+
* Sets the size of the tab
|
|
44
|
+
* - sm: Small size
|
|
45
|
+
* - md: Medium size
|
|
46
|
+
* - lg: Large size
|
|
47
|
+
* @default 'md'
|
|
48
|
+
*/
|
|
49
|
+
this.size = 'md';
|
|
50
|
+
/**
|
|
51
|
+
* Disables the tab interaction
|
|
52
|
+
* @default false
|
|
53
|
+
*/
|
|
54
|
+
this.disabled = false;
|
|
55
|
+
/**
|
|
56
|
+
* Sets the orientation of the tabs
|
|
57
|
+
* - horizontal: Tabs arranged horizontally
|
|
58
|
+
* - vertical: Tabs arranged vertically
|
|
59
|
+
* @default 'horizontal'
|
|
60
|
+
*/
|
|
61
|
+
this.orientation = 'horizontal';
|
|
62
|
+
/**
|
|
63
|
+
* Enables the dismiss button to remove the tab
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
this.dismissible = false;
|
|
67
|
+
/**
|
|
68
|
+
* Truncates the text if it's too long
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
71
|
+
this.truncate = false;
|
|
72
|
+
/**
|
|
73
|
+
* Use animated indicator instead of border for active tab
|
|
74
|
+
* This is controlled by the parent tab-group
|
|
75
|
+
* @default false
|
|
76
|
+
*/
|
|
77
|
+
this.animated = false;
|
|
78
|
+
this.addEventListener('click', this.handleClick);
|
|
79
|
+
}
|
|
80
|
+
handleClick() {
|
|
81
|
+
if (this.disabled)
|
|
82
|
+
return;
|
|
83
|
+
this.emit('plus-tab-click', { detail: { value: this.value } });
|
|
84
|
+
}
|
|
85
|
+
handleDismiss(e) {
|
|
86
|
+
e.stopPropagation();
|
|
87
|
+
this.emit('plus-tab-dismiss', { detail: { value: this.value } });
|
|
88
|
+
}
|
|
89
|
+
render() {
|
|
90
|
+
const { size, active, disabled, orientation, prefixIcon, suffixIcon, dismissible, truncate, animated, } = this;
|
|
91
|
+
const dynamicStyles = {
|
|
92
|
+
'--tab-text-color': 'var(--text-color, var(--plus-color-text-default))',
|
|
93
|
+
'--tab-active-color': 'var(--active-color, var(--plus-color-primary-default))',
|
|
94
|
+
'--tab-bg-default': 'var(--bg-default, transparent)',
|
|
95
|
+
'--tab-bg-hovered': 'var(--bg-hovered, var(--plus-color-background-default-hovered))',
|
|
96
|
+
};
|
|
97
|
+
// Create tab style properties from component state
|
|
98
|
+
const tabStyleProps = {
|
|
99
|
+
size,
|
|
100
|
+
active,
|
|
101
|
+
disabled,
|
|
102
|
+
orientation,
|
|
103
|
+
truncated: truncate,
|
|
104
|
+
animated,
|
|
105
|
+
};
|
|
106
|
+
const { tab } = tabStyle(tabStyleProps);
|
|
107
|
+
return x `
|
|
108
|
+
<div
|
|
109
|
+
part="tab"
|
|
110
|
+
class=${tab()}
|
|
111
|
+
role="tab"
|
|
112
|
+
aria-selected=${active}
|
|
113
|
+
aria-disabled=${disabled}
|
|
114
|
+
tabindex=${disabled ? -1 : active ? 0 : -1}
|
|
115
|
+
style=${o(dynamicStyles)}
|
|
116
|
+
>
|
|
117
|
+
${prefixIcon
|
|
118
|
+
? x `<span class="tab-prefix-icon"
|
|
119
|
+
><i class="${prefixIcon}"></i
|
|
120
|
+
></span>`
|
|
121
|
+
: ''}
|
|
122
|
+
<slot></slot>
|
|
123
|
+
${suffixIcon
|
|
124
|
+
? x `<span class="tab-suffix-icon"
|
|
125
|
+
><i class="${suffixIcon}"></i
|
|
126
|
+
></span>`
|
|
127
|
+
: ''}
|
|
128
|
+
${dismissible
|
|
129
|
+
? x `<button
|
|
130
|
+
type="button"
|
|
131
|
+
class="tab-dismiss-button"
|
|
132
|
+
aria-label="Dismiss tab"
|
|
133
|
+
@click=${this.handleDismiss}
|
|
134
|
+
>
|
|
135
|
+
<svg
|
|
136
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
137
|
+
viewBox="0 0 384 512"
|
|
138
|
+
class="h-3 w-3 fill-current"
|
|
139
|
+
>
|
|
140
|
+
<path
|
|
141
|
+
d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"
|
|
142
|
+
/>
|
|
143
|
+
</svg>
|
|
144
|
+
</button>`
|
|
145
|
+
: ''}
|
|
146
|
+
</div>
|
|
147
|
+
`;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
PlusTab.styles = [
|
|
151
|
+
...Tailwind.styles,
|
|
152
|
+
i `
|
|
153
|
+
:host {
|
|
154
|
+
display: inline-block;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.tab-prefix-icon,
|
|
158
|
+
.tab-suffix-icon {
|
|
159
|
+
display: inline-flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tab {
|
|
164
|
+
outline: none;
|
|
165
|
+
}
|
|
166
|
+
`,
|
|
167
|
+
];
|
|
168
|
+
__decorate([
|
|
169
|
+
n({ type: String })
|
|
170
|
+
], PlusTab.prototype, "value", void 0);
|
|
171
|
+
__decorate([
|
|
172
|
+
n({ type: Boolean, reflect: true })
|
|
173
|
+
], PlusTab.prototype, "active", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
n({ type: String })
|
|
176
|
+
], PlusTab.prototype, "size", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
n({
|
|
179
|
+
type: Boolean,
|
|
180
|
+
reflect: true,
|
|
181
|
+
converter: (value) => (value === 'false' ? false : Boolean(value)),
|
|
182
|
+
})
|
|
183
|
+
], PlusTab.prototype, "disabled", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
n({ type: String })
|
|
186
|
+
], PlusTab.prototype, "orientation", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
n({ type: String, attribute: 'prefix-icon' })
|
|
189
|
+
], PlusTab.prototype, "prefixIcon", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
n({ type: String, attribute: 'suffix-icon' })
|
|
192
|
+
], PlusTab.prototype, "suffixIcon", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
n({
|
|
195
|
+
type: Boolean,
|
|
196
|
+
converter: (value) => (value === 'false' ? false : Boolean(value)),
|
|
197
|
+
})
|
|
198
|
+
], PlusTab.prototype, "dismissible", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
n({
|
|
201
|
+
type: Boolean,
|
|
202
|
+
converter: (value) => (value === 'false' ? false : Boolean(value)),
|
|
203
|
+
})
|
|
204
|
+
], PlusTab.prototype, "truncate", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
n({
|
|
207
|
+
type: Boolean,
|
|
208
|
+
converter: (value) => (value === 'false' ? false : Boolean(value)),
|
|
209
|
+
})
|
|
210
|
+
], PlusTab.prototype, "animated", void 0);
|
|
211
|
+
|
|
212
|
+
export { PlusTab, PlusTab as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import PlusTabGroup from './tab-group.js';
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../../state-D1d5Sfj8.js';
|
|
5
|
+
import '../../query-CHb9Ft_d.js';
|
|
6
|
+
import '../../base-Cl6v8-BZ.js';
|
|
7
|
+
import '../base/tailwind-base.js';
|
|
8
|
+
import '../../global-Dh9axYQH.js';
|
|
9
|
+
import '../tab/styles.js';
|
|
10
|
+
import '../../index-B9iart53.js';
|
|
11
|
+
|
|
12
|
+
// Define the element
|
|
13
|
+
customElements.define('plus-tab-group', PlusTabGroup);
|
|
14
|
+
|
|
15
|
+
export { PlusTabGroup };
|