@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,1905 @@
|
|
|
1
|
+
import type { DefineComponent } from "vue";
|
|
2
|
+
|
|
3
|
+
type PlusAvatarProps = {
|
|
4
|
+
/** URL of the avatar image */
|
|
5
|
+
image?: string | undefined;
|
|
6
|
+
/** Alternative text for the avatar */
|
|
7
|
+
alt?: string | undefined;
|
|
8
|
+
/** Shape of the avatar
|
|
9
|
+
- circle: Circular shape
|
|
10
|
+
- square: Square shape with slight rounding */
|
|
11
|
+
shape?: "circle" | "square";
|
|
12
|
+
/** Size of the avatar
|
|
13
|
+
Can be a predefined size (xs, sm, md, lg, xl) or custom value */
|
|
14
|
+
size?: Size | string;
|
|
15
|
+
/** Icon class to use when no image is available */
|
|
16
|
+
icon?: string;
|
|
17
|
+
/** Toggles inverted color scheme */
|
|
18
|
+
invert?: boolean;
|
|
19
|
+
/** Text to display as initials when no image is available */
|
|
20
|
+
text?: string | undefined;
|
|
21
|
+
/** Strategy to use when image fails to load
|
|
22
|
+
- icon: Shows an icon
|
|
23
|
+
- text: Shows text initials
|
|
24
|
+
- custom: Uses fallback slot content */
|
|
25
|
+
fallbackStrategy?: "icon" | "text" | "custom";
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
type PlusButtonProps = {
|
|
29
|
+
/** Determines the visual style of the button
|
|
30
|
+
- filled: Solid background color
|
|
31
|
+
- outlined: Transparent background with border
|
|
32
|
+
- dashed: Transparent background with dashed border
|
|
33
|
+
- text: Text only without background or border */
|
|
34
|
+
kind?: "filled" | "outlined" | "dashed" | "text";
|
|
35
|
+
/** Sets the status/color variant of the button
|
|
36
|
+
- default: Neutral color scheme
|
|
37
|
+
- primary: Brand color scheme
|
|
38
|
+
- success: Green color scheme
|
|
39
|
+
- warning: Yellow color scheme
|
|
40
|
+
- danger: Red color scheme
|
|
41
|
+
- info: Blue color scheme */
|
|
42
|
+
status?: "default" | "primary" | "success" | "warning" | "danger" | "info";
|
|
43
|
+
/** Sets the size of the button
|
|
44
|
+
- sm: Small size
|
|
45
|
+
- md: Medium size
|
|
46
|
+
- lg: Large size */
|
|
47
|
+
size?: "sm" | "md" | "lg";
|
|
48
|
+
/** Disables the button interaction */
|
|
49
|
+
disabled?: boolean;
|
|
50
|
+
/** Shows loading spinner and disables interaction */
|
|
51
|
+
loading?: boolean;
|
|
52
|
+
/** */
|
|
53
|
+
"full-width"?: boolean;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
type PlusButtonGroupProps = {
|
|
57
|
+
/** The orientation of the button group. */
|
|
58
|
+
orientation?: Orientation;
|
|
59
|
+
/** Determines whether the button group's properties override the properties of its child buttons.
|
|
60
|
+
When true, all buttons in the group will have the same appearance.
|
|
61
|
+
When false, each button can have its own properties. */
|
|
62
|
+
override?: boolean;
|
|
63
|
+
/** Determines the visual style of the button
|
|
64
|
+
- filled: Solid background color
|
|
65
|
+
- outlined: Transparent background with border
|
|
66
|
+
- dashed: Transparent background with dashed border
|
|
67
|
+
- text: Text only without background or border */
|
|
68
|
+
kind?: "filled" | "outlined" | "dashed" | "text";
|
|
69
|
+
/** Sets the status/color variant of the button
|
|
70
|
+
- default: Neutral color scheme
|
|
71
|
+
- primary: Brand color scheme
|
|
72
|
+
- success: Green color scheme
|
|
73
|
+
- warning: Yellow color scheme
|
|
74
|
+
- danger: Red color scheme
|
|
75
|
+
- info: Blue color scheme */
|
|
76
|
+
status?: "default" | "primary" | "success" | "warning" | "danger" | "info";
|
|
77
|
+
/** Sets the size of the button
|
|
78
|
+
- sm: Small size
|
|
79
|
+
- md: Medium size
|
|
80
|
+
- lg: Large size */
|
|
81
|
+
size?: "sm" | "md" | "lg";
|
|
82
|
+
/** Disables the button interaction */
|
|
83
|
+
disabled?: boolean;
|
|
84
|
+
/** Shows loading spinner and disables interaction */
|
|
85
|
+
loading?: boolean;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
type PlusIconProps = {
|
|
89
|
+
/** */
|
|
90
|
+
iconName?: IconName | undefined;
|
|
91
|
+
/** */
|
|
92
|
+
prefix?: IconPrefix;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
type PlusBadgeProps = {
|
|
96
|
+
/** Sets the status/color variant of the badge
|
|
97
|
+
- default: Neutral color scheme
|
|
98
|
+
- primary: Brand color scheme
|
|
99
|
+
- success: Green color scheme
|
|
100
|
+
- warning: Yellow color scheme
|
|
101
|
+
- danger: Red color scheme
|
|
102
|
+
- info: Blue color scheme */
|
|
103
|
+
status?: "default" | "primary" | "success" | "warning" | "danger" | "info";
|
|
104
|
+
/** Sets the size of the badge
|
|
105
|
+
- sm: Small size
|
|
106
|
+
- md: Medium size
|
|
107
|
+
- lg: Large size */
|
|
108
|
+
size?: "sm" | "md" | "lg";
|
|
109
|
+
/** Sets the position of the badge relative to its content
|
|
110
|
+
- top-right: Top right corner
|
|
111
|
+
- top-left: Top left corner
|
|
112
|
+
- bottom-right: Bottom right corner
|
|
113
|
+
- bottom-left: Bottom left corner
|
|
114
|
+
- '': No specific position */
|
|
115
|
+
orientation?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "";
|
|
116
|
+
/** Sets the offset of the badge from its default position
|
|
117
|
+
Format: "x,y" where x and y can be any valid CSS length value
|
|
118
|
+
Example: "10px,5px" or "-5px,-10px" */
|
|
119
|
+
offset?: [string, string];
|
|
120
|
+
/** Sets the content of the badge
|
|
121
|
+
If not provided, the badge will be displayed as a dot */
|
|
122
|
+
content?: string | undefined;
|
|
123
|
+
/** */
|
|
124
|
+
hasSlot?: boolean;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
type PlusTagProps = {
|
|
128
|
+
/** Accessible label for the tag (falls back to text content) */
|
|
129
|
+
"aria-label"?: string;
|
|
130
|
+
/** ARIA role (defaults to "status") */
|
|
131
|
+
role?: string;
|
|
132
|
+
/** Defines the tag's visual state and color scheme */
|
|
133
|
+
status?: "success" | "warning" | "error" | "info" | "default";
|
|
134
|
+
/** Controls the tag's size variant */
|
|
135
|
+
size?: "sm" | "md" | "lg";
|
|
136
|
+
/** Toggles between light/dark color themes */
|
|
137
|
+
invert?: boolean;
|
|
138
|
+
/** Sets the border radius style */
|
|
139
|
+
radius?: "full" | "medium" | "none";
|
|
140
|
+
/** */
|
|
141
|
+
ariaLabel?: string;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
type PlusSvgIconProps = {
|
|
145
|
+
/** */
|
|
146
|
+
iconName?: IconName | undefined;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
type PlusChipProps = {
|
|
150
|
+
/** Determines the visual style of the chip
|
|
151
|
+
- filled: Solid background color
|
|
152
|
+
- outlined: Transparent background with border */
|
|
153
|
+
kind?: "filled" | "outlined";
|
|
154
|
+
/** Sets the size of the chip
|
|
155
|
+
- sm: Small size
|
|
156
|
+
- md: Medium size
|
|
157
|
+
- lg: Large size */
|
|
158
|
+
size?: "sm" | "md" | "lg";
|
|
159
|
+
/** Defines the type of chip
|
|
160
|
+
- default: Standard chip
|
|
161
|
+
- avatar: Chip with avatar support */
|
|
162
|
+
type?: "default" | "avatar";
|
|
163
|
+
/** Sets the status/color variant of the chip
|
|
164
|
+
- default: Neutral color scheme
|
|
165
|
+
- success: Green color scheme
|
|
166
|
+
- warning: Yellow color scheme
|
|
167
|
+
- danger: Red color scheme
|
|
168
|
+
- info: Blue color scheme */
|
|
169
|
+
status?: "default" | "success" | "warning" | "danger" | "info";
|
|
170
|
+
/** Controls the border radius style
|
|
171
|
+
- full: Fully rounded corners
|
|
172
|
+
- rounded: Slightly rounded corners */
|
|
173
|
+
shape?: "full" | "rounded";
|
|
174
|
+
/** Toggles inverted color scheme */
|
|
175
|
+
invert?: boolean;
|
|
176
|
+
/** Shows/hides the dismiss button */
|
|
177
|
+
dismiss?: boolean;
|
|
178
|
+
/** Disables the chip interaction */
|
|
179
|
+
disabled?: boolean;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
type PlusLinkProps = {
|
|
183
|
+
/** Controls the size of the link
|
|
184
|
+
- sm: Small size with smaller text and spacing
|
|
185
|
+
- md: Medium size with default text and spacing
|
|
186
|
+
- lg: Large size with larger text and spacing
|
|
187
|
+
- inherit: Inherits size from parent element */
|
|
188
|
+
size?: "sm" | "md" | "lg" | "inherit";
|
|
189
|
+
/** When true, the link becomes non-interactive and shows disabled styling */
|
|
190
|
+
disabled?: boolean;
|
|
191
|
+
/** When true, the link becomes non-interactive but maintains normal styling */
|
|
192
|
+
readonly?: boolean;
|
|
193
|
+
/** The URL that the hyperlink points to */
|
|
194
|
+
href?: string;
|
|
195
|
+
/** Specifies where to display the linked URL
|
|
196
|
+
Common values: _blank, _self, _parent, _top */
|
|
197
|
+
target?: string;
|
|
198
|
+
/** Specifies the relationship between the current document and the linked document
|
|
199
|
+
Common values: nofollow, noopener, noreferrer */
|
|
200
|
+
rel?: string;
|
|
201
|
+
/** Sets the link to download the target URL instead of navigating
|
|
202
|
+
Optional value specifies the suggested filename */
|
|
203
|
+
download?: string;
|
|
204
|
+
/** When true, displays loading state and disables interaction */
|
|
205
|
+
loading?: boolean;
|
|
206
|
+
/** When true, link opens in new tab with secure attributes
|
|
207
|
+
Automatically sets target="_blank" and rel="noopener noreferrer" */
|
|
208
|
+
external?: boolean;
|
|
209
|
+
/** Controls the underline style of the link
|
|
210
|
+
values:
|
|
211
|
+
- always: always underlined
|
|
212
|
+
- hover: underlined on hover
|
|
213
|
+
- never: never underlined */
|
|
214
|
+
underline?: "always" | "hover" | "never" | undefined;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
type PlusAlertProps = {
|
|
218
|
+
/** Determines the visual style of the alert
|
|
219
|
+
- filled: Solid background color
|
|
220
|
+
- outlined: Transparent background with border
|
|
221
|
+
- dashed: Transparent background with dashed border */
|
|
222
|
+
kind?: "filled" | "outlined" | "dashed";
|
|
223
|
+
/** The size of the alert */
|
|
224
|
+
size?: "sm" | "md" | "lg";
|
|
225
|
+
/** Sets the status/color variant of the alert
|
|
226
|
+
- default: Neutral color scheme
|
|
227
|
+
- primary: Brand color scheme
|
|
228
|
+
- success: Green color scheme
|
|
229
|
+
- warning: Yellow color scheme
|
|
230
|
+
- danger: Red color scheme
|
|
231
|
+
- info: Blue color scheme */
|
|
232
|
+
status?: "default" | "success" | "warning" | "danger" | "info";
|
|
233
|
+
/** When true, the alert will be displayed with an inverted color scheme */
|
|
234
|
+
invert?: boolean;
|
|
235
|
+
/** When true, the alert will be displayed with a dismissible close button */
|
|
236
|
+
dismissible?: boolean;
|
|
237
|
+
/** The message of the alert */
|
|
238
|
+
message?: string;
|
|
239
|
+
/** The description of the alert */
|
|
240
|
+
description?: string;
|
|
241
|
+
/** The status icon of the alert */
|
|
242
|
+
statusIcon?: string;
|
|
243
|
+
/** The dismiss icon of the alert */
|
|
244
|
+
dismissIcon?: string;
|
|
245
|
+
/** When true, the alert will be displayed with a full width */
|
|
246
|
+
"full-width"?: boolean;
|
|
247
|
+
/** When true, the alert will be hidden */
|
|
248
|
+
hidden?: boolean;
|
|
249
|
+
|
|
250
|
+
/** Emitted when the alert is dismissed */
|
|
251
|
+
"onplus-dismiss"?: (e: CustomEvent<never>) => void;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
type PlusRadioProps = {
|
|
255
|
+
/** Sets the size of the radio button
|
|
256
|
+
- sm: Small size
|
|
257
|
+
- md: Medium size
|
|
258
|
+
- lg: Large size */
|
|
259
|
+
size?: "sm" | "md" | "lg";
|
|
260
|
+
/** Defines the text label for the radio button */
|
|
261
|
+
text?: string | undefined;
|
|
262
|
+
/** Indicates whether the radio button is checked */
|
|
263
|
+
checked?: boolean;
|
|
264
|
+
/** Indicates if the radio button is in an error state */
|
|
265
|
+
error?: boolean;
|
|
266
|
+
/** Disables the radio button interaction */
|
|
267
|
+
disabled?: boolean;
|
|
268
|
+
/** Makes the radio button readonly (non-interactive but not disabled) */
|
|
269
|
+
readonly?: boolean;
|
|
270
|
+
/** The name of the radio button, used for form submission and radio grouping */
|
|
271
|
+
name?: string;
|
|
272
|
+
/** Indicates if the radio input is required */
|
|
273
|
+
required?: boolean;
|
|
274
|
+
/** The value associated with the radio button */
|
|
275
|
+
value?: string;
|
|
276
|
+
/** */
|
|
277
|
+
input?: HTMLInputElement;
|
|
278
|
+
/** Internal state to track if the radio button has focus */
|
|
279
|
+
hasFocus?: boolean;
|
|
280
|
+
/** Emitted when the radio button's checked state changes */
|
|
281
|
+
"onplus-change"?: (e: CustomEvent<never>) => void;
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
type PlusSegmentedPickerItemProps = {
|
|
285
|
+
/** Whether the item is checked. */
|
|
286
|
+
checked?: boolean;
|
|
287
|
+
/** The status of the item. */
|
|
288
|
+
status?: "default" | "primary";
|
|
289
|
+
/** Whether the item is disabled. */
|
|
290
|
+
disabled?: boolean;
|
|
291
|
+
/** The shape of the item. */
|
|
292
|
+
shape?: "square" | "circle";
|
|
293
|
+
/** The size of the item. */
|
|
294
|
+
size?: "sm" | "md" | "lg";
|
|
295
|
+
/** The name of the group this item belongs to. */
|
|
296
|
+
groupName?: string;
|
|
297
|
+
/** The value of the item. */
|
|
298
|
+
value?: string;
|
|
299
|
+
/** */
|
|
300
|
+
internalId?: string;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
type PlusSegmentedPickerProps = {
|
|
304
|
+
/** The status of the segmented picker. */
|
|
305
|
+
status?: "default" | "primary";
|
|
306
|
+
/** The shape of the segmented picker. */
|
|
307
|
+
shape?: "square" | "circle";
|
|
308
|
+
/** The size of the segmented picker. */
|
|
309
|
+
size?: "sm" | "md" | "lg";
|
|
310
|
+
/** */
|
|
311
|
+
slots?: PlusSegmentedPickerItem[];
|
|
312
|
+
/** Emitted when an item is selected. */
|
|
313
|
+
"onplus-segmented-picker-item-changed"?: (e: CustomEvent<never>) => void;
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
type PlusRadioGroupProps = {
|
|
317
|
+
/** */
|
|
318
|
+
name?: string;
|
|
319
|
+
/** */
|
|
320
|
+
value?: string;
|
|
321
|
+
/** */
|
|
322
|
+
disabled?: boolean;
|
|
323
|
+
/** */
|
|
324
|
+
required?: boolean;
|
|
325
|
+
/** The size of all radio buttons in the group
|
|
326
|
+
- sm: Small size
|
|
327
|
+
- md: Medium size
|
|
328
|
+
- lg: Large size */
|
|
329
|
+
size?: "sm" | "md" | "lg";
|
|
330
|
+
/** Shows error styling on the radio group */
|
|
331
|
+
error?: boolean;
|
|
332
|
+
/** Orientation of the radio buttons
|
|
333
|
+
- horizontal: Radio buttons are arranged side by side
|
|
334
|
+
- vertical: Radio buttons are stacked vertically */
|
|
335
|
+
orientation?: "horizontal" | "vertical";
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
type PlusModalProps = {
|
|
339
|
+
/** The size of the modal */
|
|
340
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
341
|
+
/** Whether the modal is open */
|
|
342
|
+
"is-open"?: boolean;
|
|
343
|
+
/** Whether the modal should take full width */
|
|
344
|
+
"full-width"?: boolean;
|
|
345
|
+
/** Whether the modal should close when clicking the backdrop */
|
|
346
|
+
"close-on-backdrop"?: boolean;
|
|
347
|
+
/** Whether the modal should close when pressing the Escape key */
|
|
348
|
+
"close-on-esc"?: boolean;
|
|
349
|
+
/** The duration of the animation in milliseconds */
|
|
350
|
+
"animation-duration"?: number;
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
type PlusDrawerProps = {
|
|
354
|
+
/** The size of the drawer */
|
|
355
|
+
size?: "sm" | "md" | "lg";
|
|
356
|
+
/** Whether the drawer is open */
|
|
357
|
+
"is-open"?: boolean;
|
|
358
|
+
/** The position of the drawer */
|
|
359
|
+
orientation?: "left" | "right" | "top" | "bottom";
|
|
360
|
+
/** The duration of the animation in milliseconds */
|
|
361
|
+
"animation-duration"?: number;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
type PlusAccordionProps = {
|
|
365
|
+
/** Whether the accordion is expanded */
|
|
366
|
+
expand?: boolean;
|
|
367
|
+
/** Whether the accordion is part of a group */
|
|
368
|
+
"is-grouped"?: boolean;
|
|
369
|
+
/** Whether the accordion is the last item in a group */
|
|
370
|
+
"is-last"?: boolean;
|
|
371
|
+
/** Whether the accordion is the first item in a group */
|
|
372
|
+
"is-first"?: boolean;
|
|
373
|
+
/** The size of the accordion */
|
|
374
|
+
size?: "sm" | "md" | "lg";
|
|
375
|
+
/** Whether the accordion is disabled */
|
|
376
|
+
disabled?: boolean;
|
|
377
|
+
|
|
378
|
+
/** Emitted when the accordion is toggled */
|
|
379
|
+
"onplus-accordion-toggle"?: (e: CustomEvent<never>) => void;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
type PlusAccordionGroupProps = {
|
|
383
|
+
/** Whether multiple accordions can be expanded at the same time */
|
|
384
|
+
multi?: boolean;
|
|
385
|
+
/** The visual style of the accordion group */
|
|
386
|
+
kind?: "bordered" | "divided" | "separated";
|
|
387
|
+
/** The size of the accordions in the group */
|
|
388
|
+
size?: "sm" | "md" | "lg";
|
|
389
|
+
/** */
|
|
390
|
+
accordions?: Array<Node>;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
type PlusDividerProps = {
|
|
394
|
+
/** The orientation of the divider. */
|
|
395
|
+
orientation?: "horizontal" | "vertical";
|
|
396
|
+
/** The Kind of the divider. */
|
|
397
|
+
kind?: "solid" | "dashed" | "dotted";
|
|
398
|
+
/** The position of the text content (only applicable with hasContent=true) */
|
|
399
|
+
"content-position"?: "left" | "center" | "right";
|
|
400
|
+
/** The thickness of the divider */
|
|
401
|
+
thickness?: "thin" | "medium" | "thick";
|
|
402
|
+
/** Whether the divider has content or not */
|
|
403
|
+
hasContent?: boolean;
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
type PlusPopoverProps = {
|
|
407
|
+
/** The size of the popover.
|
|
408
|
+
|
|
409
|
+
Available options:
|
|
410
|
+
- `sm` (small)
|
|
411
|
+
- `md` (medium - default)
|
|
412
|
+
- `lg` (large) */
|
|
413
|
+
size?: "sm" | "md" | "lg";
|
|
414
|
+
/** The position of the popover relative to the target element.
|
|
415
|
+
|
|
416
|
+
Available options:
|
|
417
|
+
- `top` (default)
|
|
418
|
+
- `top-start`
|
|
419
|
+
- `top-end`
|
|
420
|
+
- `bottom`
|
|
421
|
+
- `bottom-start`
|
|
422
|
+
- `bottom-end`
|
|
423
|
+
- `left`
|
|
424
|
+
- `left-start`
|
|
425
|
+
- `left-end`
|
|
426
|
+
- `right`
|
|
427
|
+
- `right-start`
|
|
428
|
+
- `right-end` */
|
|
429
|
+
orientation?: PopoverPosition;
|
|
430
|
+
/** Determines how the popover is triggered.
|
|
431
|
+
|
|
432
|
+
Available options:
|
|
433
|
+
- `click` (default) - Popover toggles on click.
|
|
434
|
+
- `hover` - Popover appears on hover. */
|
|
435
|
+
trigger?: "click" | "hover";
|
|
436
|
+
/** The main text content of the popover.
|
|
437
|
+
|
|
438
|
+
If a slot with `name="content"` is provided, this text will be ignored. */
|
|
439
|
+
text?: string;
|
|
440
|
+
/** The header title of the popover.
|
|
441
|
+
|
|
442
|
+
If a slot with `name="title"` is provided, this text will be ignored. */
|
|
443
|
+
"header-text"?: string;
|
|
444
|
+
/** The status of the popover, which affects its styling.
|
|
445
|
+
|
|
446
|
+
Available options:
|
|
447
|
+
- `success` (green)
|
|
448
|
+
- `warning` (yellow)
|
|
449
|
+
- `danger` (red)
|
|
450
|
+
- `info` (blue)
|
|
451
|
+
- `primary` (default theme color)
|
|
452
|
+
- `default` (gray - default) */
|
|
453
|
+
status?: "success" | "warning" | "danger" | "info" | "primary" | "default";
|
|
454
|
+
/** Determines whether the popover can be dismissed by clicking the close button.
|
|
455
|
+
|
|
456
|
+
- `true` (default) - Popover can be closed.
|
|
457
|
+
- `false` - The close button is hidden. */
|
|
458
|
+
dismissable?: boolean;
|
|
459
|
+
/** Determines whether a status icon should be displayed in the popover.
|
|
460
|
+
|
|
461
|
+
- `true` (default) - An icon representing the status will be displayed.
|
|
462
|
+
- `false` - No icon will be displayed. */
|
|
463
|
+
statusIcon?: boolean;
|
|
464
|
+
/** Determines whether the arrow should be displayed.
|
|
465
|
+
|
|
466
|
+
- `true` (default) - Arrow will be displayed.
|
|
467
|
+
- `false` - Arrow will be hidden. */
|
|
468
|
+
showArrow?: boolean;
|
|
469
|
+
/** */
|
|
470
|
+
slots?: Array<HTMLElement>;
|
|
471
|
+
/** Emitted when the popover is opened */
|
|
472
|
+
"onplus-popover-open"?: (e: CustomEvent<never>) => void;
|
|
473
|
+
/** Emitted when the popover is closed */
|
|
474
|
+
"onplus-popover-close"?: (e: CustomEvent<never>) => void;
|
|
475
|
+
/** Emitted when the popover is dismissed via close button */
|
|
476
|
+
"onplus-popover-dismiss"?: (e: CustomEvent<never>) => void;
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
type PlusListBoxItemProps = {
|
|
480
|
+
/** Sets the size of the list box item
|
|
481
|
+
- sm: Small size
|
|
482
|
+
- md: Medium size
|
|
483
|
+
- lg: Large size */
|
|
484
|
+
size?: "sm" | "md" | "lg";
|
|
485
|
+
/** Disables the list box item interaction
|
|
486
|
+
When disabled, the item cannot be clicked or selected */
|
|
487
|
+
disabled?: boolean;
|
|
488
|
+
/** Sets the selected state of the list box item
|
|
489
|
+
When selected, the item will display with a highlighted background */
|
|
490
|
+
selected?: boolean;
|
|
491
|
+
/** Sets the text content of the list box item
|
|
492
|
+
If provided, this will be used as the item's content when no slot content is present */
|
|
493
|
+
text?: string | undefined;
|
|
494
|
+
|
|
495
|
+
/** Emitted when the list box item is clicked */
|
|
496
|
+
onclick?: (e: CustomEvent<never>) => void;
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
type PlusDropDownItemProps = {
|
|
500
|
+
/** Sets the size of the dropdown item
|
|
501
|
+
- sm: Small size
|
|
502
|
+
- md: Medium size
|
|
503
|
+
- lg: Large size */
|
|
504
|
+
size?: "sm" | "md" | "lg";
|
|
505
|
+
/** Disables the dropdown item interaction
|
|
506
|
+
When disabled, the item cannot be clicked or selected */
|
|
507
|
+
disabled?: boolean;
|
|
508
|
+
/** Indicates whether the dropdown item is currently selected
|
|
509
|
+
The selected state is managed by the parent PlusDropdown component */
|
|
510
|
+
selected?: boolean;
|
|
511
|
+
/** Sets the text content of the dropdown item
|
|
512
|
+
If provided, this will be used as the item's content,
|
|
513
|
+
and also as the aria-label for accessibility */
|
|
514
|
+
text?: string | undefined;
|
|
515
|
+
|
|
516
|
+
/** Emitted when the dropdown item is clicked */
|
|
517
|
+
onclick?: (e: CustomEvent<never>) => void;
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
type PlusDropdownProps = {
|
|
521
|
+
/** Sets the size of the dropdown button
|
|
522
|
+
- sm: Small size
|
|
523
|
+
- md: Medium size
|
|
524
|
+
- lg: Large size */
|
|
525
|
+
size?: "sm" | "md" | "lg";
|
|
526
|
+
/** Sets the status/color variant of the dropdown button
|
|
527
|
+
- default: Neutral color scheme
|
|
528
|
+
- primary: Primary color scheme
|
|
529
|
+
- success: Green color scheme
|
|
530
|
+
- warning: Yellow color scheme
|
|
531
|
+
- danger: Red color scheme
|
|
532
|
+
- info: Blue color scheme */
|
|
533
|
+
status?: "default" | "primary" | "success" | "warning" | "danger" | "info";
|
|
534
|
+
/** Determines the visual style of the dropdown button
|
|
535
|
+
- filled: Solid background color
|
|
536
|
+
- outlined: Transparent background with border
|
|
537
|
+
- dashed: Transparent background with dashed border
|
|
538
|
+
- text: No background or border */
|
|
539
|
+
kind?: "filled" | "outlined" | "dashed" | "text";
|
|
540
|
+
/** Disables the dropdown interaction */
|
|
541
|
+
disabled?: boolean;
|
|
542
|
+
/** Sets the text content of the dropdown button if no default slot is provided */
|
|
543
|
+
text?: string | undefined;
|
|
544
|
+
|
|
545
|
+
/** Emitted when the dropdown is opened */
|
|
546
|
+
"onplus-dropdown-open"?: (e: CustomEvent<never>) => void;
|
|
547
|
+
/** Emitted when the dropdown is closed */
|
|
548
|
+
"onplus-dropdown-close"?: (e: CustomEvent<never>) => void;
|
|
549
|
+
/** Emitted when an item is selected with the selected item in detail */
|
|
550
|
+
"onplus-dropdown-selected-item"?: (e: CustomEvent<never>) => void;
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
type PlusTooltipProps = {
|
|
554
|
+
/** Sets the size of the tooltip.
|
|
555
|
+
- sm: Small size
|
|
556
|
+
- md: Medium size
|
|
557
|
+
- lg: Large size */
|
|
558
|
+
size?: "sm" | "md" | "lg";
|
|
559
|
+
/** The text content displayed inside the tooltip. */
|
|
560
|
+
message?: string;
|
|
561
|
+
/** The trigger event for the tooltip.
|
|
562
|
+
- hover: Tooltip appears on hover.
|
|
563
|
+
- click: Tooltip appears on click. */
|
|
564
|
+
trigger?: TooltipTrigger;
|
|
565
|
+
/** The tooltip placement relative to the target element.
|
|
566
|
+
- top, bottom, left, right */
|
|
567
|
+
orientation?: TooltipOrientation;
|
|
568
|
+
/** */
|
|
569
|
+
hideDelay?: number;
|
|
570
|
+
/** */
|
|
571
|
+
slots?: Array<HTMLElement>;
|
|
572
|
+
};
|
|
573
|
+
|
|
574
|
+
type PlusInputProps = {
|
|
575
|
+
/** The type of input */
|
|
576
|
+
type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url";
|
|
577
|
+
/** The name of the input */
|
|
578
|
+
name?: string;
|
|
579
|
+
/** The value of the input */
|
|
580
|
+
value?: string;
|
|
581
|
+
/** The placeholder text */
|
|
582
|
+
placeholder?: string;
|
|
583
|
+
/** The size of the input */
|
|
584
|
+
size?: "sm" | "md" | "lg";
|
|
585
|
+
/** Whether the input should have a clear button */
|
|
586
|
+
clearable?: boolean;
|
|
587
|
+
/** Whether the input is disabled */
|
|
588
|
+
disabled?: boolean;
|
|
589
|
+
/** Whether the input is readonly */
|
|
590
|
+
readonly?: boolean;
|
|
591
|
+
/** Whether the input is required */
|
|
592
|
+
required?: boolean;
|
|
593
|
+
/** Whether to show a password toggle button */
|
|
594
|
+
"password-toggle"?: boolean;
|
|
595
|
+
/** Whether the password is visible */
|
|
596
|
+
"password-visible"?: boolean;
|
|
597
|
+
/** The label for the input */
|
|
598
|
+
label?: string;
|
|
599
|
+
/** The validation pattern for the input */
|
|
600
|
+
pattern?: string;
|
|
601
|
+
/** The minimum length of the input value */
|
|
602
|
+
minlength?: number;
|
|
603
|
+
/** The maximum length of the input value */
|
|
604
|
+
maxlength?: number;
|
|
605
|
+
/** The minimum value of the input */
|
|
606
|
+
min?: number | string;
|
|
607
|
+
/** The maximum value of the input */
|
|
608
|
+
max?: number | string;
|
|
609
|
+
/** The step value for numeric inputs */
|
|
610
|
+
step?: number | "any";
|
|
611
|
+
/** Whether autocorrect is enabled */
|
|
612
|
+
autocorrect?: "off" | "on";
|
|
613
|
+
/** The autocomplete attribute */
|
|
614
|
+
autocomplete?: string;
|
|
615
|
+
/** Whether the input should automatically get focus */
|
|
616
|
+
autoFocus?: boolean;
|
|
617
|
+
/** The enterkeyhint attribute */
|
|
618
|
+
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
619
|
+
/** The inputmode attribute */
|
|
620
|
+
inputmode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
621
|
+
/** Whether spellcheck is enabled */
|
|
622
|
+
spellCheck?: boolean;
|
|
623
|
+
/** Caption text to display below the input */
|
|
624
|
+
caption?: string;
|
|
625
|
+
/** Whether the input is in an error state */
|
|
626
|
+
error?: boolean;
|
|
627
|
+
/** The error message to display */
|
|
628
|
+
"error-message"?: string;
|
|
629
|
+
/** Whether the input should take up full width */
|
|
630
|
+
"full-width"?: boolean;
|
|
631
|
+
/** Whether the input is used as part of a select component */
|
|
632
|
+
isSelect?: boolean;
|
|
633
|
+
/** Icon name for the prefix icon */
|
|
634
|
+
"prefix-icon"?: string;
|
|
635
|
+
/** Icon name for the suffix icon */
|
|
636
|
+
"suffix-icon"?: string;
|
|
637
|
+
|
|
638
|
+
/** Emitted when the input value changes */
|
|
639
|
+
"onplus-input"?: (e: CustomEvent<never>) => void;
|
|
640
|
+
/** Emitted when the input value changes and the input loses focus */
|
|
641
|
+
"onplus-change"?: (e: CustomEvent<never>) => void;
|
|
642
|
+
/** Emitted when the input gains focus */
|
|
643
|
+
"onplus-focus"?: (e: CustomEvent<never>) => void;
|
|
644
|
+
/** Emitted when the input loses focus */
|
|
645
|
+
"onplus-blur"?: (e: CustomEvent<never>) => void;
|
|
646
|
+
/** Emitted when the clear button is clicked */
|
|
647
|
+
"onplus-clear"?: (e: CustomEvent<never>) => void;
|
|
648
|
+
/** Emitted when the password visibility is toggled */
|
|
649
|
+
"onplus-password-toggle"?: (e: CustomEvent<never>) => void;
|
|
650
|
+
/** Emitted when the input value is invalid */
|
|
651
|
+
"onplus-invalid"?: (e: CustomEvent<never>) => void;
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
type PlusPopconfirmProps = {
|
|
655
|
+
/** The size of the popconfirm.
|
|
656
|
+
|
|
657
|
+
Available options:
|
|
658
|
+
- `sm` (small)
|
|
659
|
+
- `md` (medium - default)
|
|
660
|
+
- `lg` (large) */
|
|
661
|
+
size?: "sm" | "md" | "lg";
|
|
662
|
+
/** The position of the popconfirm relative to the target element.
|
|
663
|
+
|
|
664
|
+
Available options:
|
|
665
|
+
- `top` (default)
|
|
666
|
+
- `top-start`
|
|
667
|
+
- `top-end`
|
|
668
|
+
- `bottom`
|
|
669
|
+
- `bottom-start`
|
|
670
|
+
- `bottom-end`
|
|
671
|
+
- `left`
|
|
672
|
+
- `left-start`
|
|
673
|
+
- `left-end`
|
|
674
|
+
- `right`
|
|
675
|
+
- `right-start`
|
|
676
|
+
- `right-end` */
|
|
677
|
+
orientation?: PopconfirmPosition;
|
|
678
|
+
/** Determines how the popconfirm is triggered.
|
|
679
|
+
|
|
680
|
+
Available options:
|
|
681
|
+
- `click` (default) - Popconfirm toggles on click.
|
|
682
|
+
- `hover` - Popconfirm appears on hover. */
|
|
683
|
+
trigger?: "click" | "hover";
|
|
684
|
+
/** The title of the popconfirm. */
|
|
685
|
+
title?: string;
|
|
686
|
+
/** The text for the confirm button. */
|
|
687
|
+
"confirm-text"?: string;
|
|
688
|
+
/** The text for the cancel button. */
|
|
689
|
+
"cancel-text"?: string;
|
|
690
|
+
/** The status of the popconfirm, which affects its styling.
|
|
691
|
+
|
|
692
|
+
Available options:
|
|
693
|
+
- `success` (green)
|
|
694
|
+
- `warning` (yellow)
|
|
695
|
+
- `danger` (red)
|
|
696
|
+
- `info` (blue)
|
|
697
|
+
- `primary` (default theme color)
|
|
698
|
+
- `default` (gray - default) */
|
|
699
|
+
status?: "success" | "warning" | "danger" | "info" | "primary" | "default";
|
|
700
|
+
/** Determines whether a status icon should be displayed in the popconfirm.
|
|
701
|
+
|
|
702
|
+
- `true` (default) - An icon representing the status will be displayed.
|
|
703
|
+
- `false` - No icon will be displayed. */
|
|
704
|
+
"status-icon"?: boolean;
|
|
705
|
+
/** Determines whether the arrow should be displayed.
|
|
706
|
+
|
|
707
|
+
- `true` (default) - Arrow will be displayed.
|
|
708
|
+
- `false` - Arrow will be hidden. */
|
|
709
|
+
"show-arrow"?: boolean;
|
|
710
|
+
/** */
|
|
711
|
+
slots?: Array<HTMLElement>;
|
|
712
|
+
/** Emitted when the popconfirm is opened */
|
|
713
|
+
"onplus-popconfirm-open"?: (e: CustomEvent<never>) => void;
|
|
714
|
+
/** Emitted when the popconfirm is closed */
|
|
715
|
+
"onplus-popconfirm-close"?: (e: CustomEvent<never>) => void;
|
|
716
|
+
/** Emitted when the confirm button is clicked */
|
|
717
|
+
"onplus-popconfirm-confirm"?: (e: CustomEvent<never>) => void;
|
|
718
|
+
/** Emitted when the cancel button is clicked */
|
|
719
|
+
"onplus-popconfirm-cancel"?: (e: CustomEvent<never>) => void;
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
type PlusTextProps = {
|
|
723
|
+
/** Defines the visual style and semantic meaning of the text.
|
|
724
|
+
- `display`: For large, prominent display text (rendered as div).
|
|
725
|
+
- `heading1`: For the main heading (rendered as h1).
|
|
726
|
+
- `heading2`: For secondary headings (rendered as h2).
|
|
727
|
+
- `title1`: For primary titles (rendered as h3 - adjust as needed).
|
|
728
|
+
- `title2`: For secondary titles (rendered as h4 - adjust as needed).
|
|
729
|
+
- `body`: For standard body text (rendered as p) (default).
|
|
730
|
+
- `body-accent`: For emphasized body text (rendered as p).
|
|
731
|
+
- `helper`: For helper text, often used with form elements (rendered as div).
|
|
732
|
+
- `caption`: For small caption text (rendered as div). */
|
|
733
|
+
kind?: "display" | "heading1" | "heading2" | "title1" | "title2" | "body" | "body-accent" | "helper" | "caption";
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
type PlusBreadcrumbItemProps = {
|
|
737
|
+
/** The URL to navigate to when the item is clicked. If omitted, the item is rendered as text. */
|
|
738
|
+
href?: string | undefined;
|
|
739
|
+
/** Name of the optional icon to display before the label. Used only if the `prefix` slot is empty. */
|
|
740
|
+
"prefix-icon"?: string | undefined;
|
|
741
|
+
/** Name of the optional icon to display after the label. Used only if the `suffix` slot is empty. */
|
|
742
|
+
"suffix-icon"?: string | undefined;
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
type PlusBreadcrumbProps = {
|
|
746
|
+
/** Defines the visual style of the breadcrumb container. */
|
|
747
|
+
kind?: "non-framed" | "framed";
|
|
748
|
+
/** The type of separator to display between items. */
|
|
749
|
+
separator?: "arrow" | "slash";
|
|
750
|
+
/** The size of the breadcrumb items and separators. */
|
|
751
|
+
size?: "sm" | "md" | "lg";
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
type PlusCheckboxProps = {
|
|
755
|
+
/** The checkbox's name, submitted as a name/value pair with form data. */
|
|
756
|
+
name?: string | undefined;
|
|
757
|
+
/** The size of the checkbox. */
|
|
758
|
+
size?: "sm" | "md" | "lg";
|
|
759
|
+
/** Whether the checkbox is checked. */
|
|
760
|
+
checked?: boolean;
|
|
761
|
+
/** Whether the checkbox is in an indeterminate state. */
|
|
762
|
+
indeterminate?: boolean;
|
|
763
|
+
/** Whether the checkbox is disabled. */
|
|
764
|
+
disabled?: boolean;
|
|
765
|
+
/** The value associated with the checkbox. Submitted with the form data if checked. */
|
|
766
|
+
value?: string;
|
|
767
|
+
/** If true, the checkbox is displayed in an error state. */
|
|
768
|
+
error?: boolean;
|
|
769
|
+
/** The text label displayed next to the checkbox. If not provided, use the default slot. */
|
|
770
|
+
text?: string | undefined;
|
|
771
|
+
/** */
|
|
772
|
+
input?: HTMLInputElement;
|
|
773
|
+
/** Emitted when the checkbox's checked state changes. */
|
|
774
|
+
"onplus-change"?: (e: CustomEvent<never>) => void;
|
|
775
|
+
/** Emitted when the checkbox gains focus. */
|
|
776
|
+
"onplus-focus"?: (e: CustomEvent<never>) => void;
|
|
777
|
+
/** Emitted when the checkbox loses focus. */
|
|
778
|
+
"onplus-blur"?: (e: CustomEvent<never>) => void;
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
type PlusCheckboxGroupProps = {
|
|
782
|
+
/** The selected values in the group. */
|
|
783
|
+
value?: string[];
|
|
784
|
+
/** Whether to display the checkboxes vertically. */
|
|
785
|
+
vertical?: boolean;
|
|
786
|
+
/** The size of the checkboxes in the group. */
|
|
787
|
+
size?: "sm" | "md" | "lg";
|
|
788
|
+
/** Whether the entire group is disabled. */
|
|
789
|
+
disabled?: boolean;
|
|
790
|
+
|
|
791
|
+
/** Emitted when the value of the group changes (any checkbox is checked/unchecked). */
|
|
792
|
+
"onplus-change"?: (e: CustomEvent<never>) => void;
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
type PlusTextareaProps = {
|
|
796
|
+
/** The textarea's name attribute. */
|
|
797
|
+
name?: string;
|
|
798
|
+
/** The textarea's value attribute. */
|
|
799
|
+
value?: string;
|
|
800
|
+
/** The textarea's placeholder text. */
|
|
801
|
+
placeholder?: string;
|
|
802
|
+
/** The size variant of the textarea. */
|
|
803
|
+
size?: "sm" | "md" | "lg";
|
|
804
|
+
/** Whether the textarea is disabled. */
|
|
805
|
+
disabled?: boolean;
|
|
806
|
+
/** Whether the textarea is readonly. */
|
|
807
|
+
readonly?: boolean;
|
|
808
|
+
/** Whether the textarea is required. */
|
|
809
|
+
required?: boolean;
|
|
810
|
+
/** The label for the textarea. */
|
|
811
|
+
label?: string | undefined;
|
|
812
|
+
/** The minimum length of the value. */
|
|
813
|
+
minlength?: number | undefined;
|
|
814
|
+
/** The maximum length of the value. */
|
|
815
|
+
maxlength?: number | undefined;
|
|
816
|
+
/** Whether the textarea should automatically get focus. */
|
|
817
|
+
autoFocus?: boolean | undefined;
|
|
818
|
+
/** Caption text to display below the textarea. */
|
|
819
|
+
caption?: string | undefined;
|
|
820
|
+
/** Whether the textarea is in an error state. */
|
|
821
|
+
error?: boolean;
|
|
822
|
+
/** The error message to display (overrides default validation messages). */
|
|
823
|
+
"error-message"?: string;
|
|
824
|
+
/** Whether the textarea should take up full width. */
|
|
825
|
+
"full-width"?: boolean;
|
|
826
|
+
/** Specifies the visible number of lines in a text area. */
|
|
827
|
+
rows?: number;
|
|
828
|
+
/** Controls how the textarea can be resized. */
|
|
829
|
+
resize?: "none" | "vertical" | "horizontal" | "both";
|
|
830
|
+
/** Specifies how the text in a text area is to be wrapped when submitted in a form. */
|
|
831
|
+
wrap?: "hard" | "soft" | "off";
|
|
832
|
+
/** */
|
|
833
|
+
textarea?: HTMLTextAreaElement;
|
|
834
|
+
/** Emitted when the textarea value changes */
|
|
835
|
+
"onplus-input"?: (e: CustomEvent<never>) => void;
|
|
836
|
+
/** Emitted when the textarea value changes and loses focus */
|
|
837
|
+
"onplus-change"?: (e: CustomEvent<never>) => void;
|
|
838
|
+
/** Emitted when the textarea gains focus */
|
|
839
|
+
"onplus-focus"?: (e: CustomEvent<never>) => void;
|
|
840
|
+
/** Emitted when the textarea loses focus */
|
|
841
|
+
"onplus-blur"?: (e: CustomEvent<never>) => void;
|
|
842
|
+
/** Emitted when the textarea value is invalid */
|
|
843
|
+
"onplus-invalid"?: (e: CustomEvent<never>) => void;
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
type PlusRatingProps = {
|
|
847
|
+
/** */
|
|
848
|
+
value?: number;
|
|
849
|
+
/** */
|
|
850
|
+
max?: number;
|
|
851
|
+
/** */
|
|
852
|
+
precision?: number;
|
|
853
|
+
/** */
|
|
854
|
+
readonly?: boolean;
|
|
855
|
+
/** */
|
|
856
|
+
disabled?: boolean;
|
|
857
|
+
/** */
|
|
858
|
+
size?: "sm" | "md" | "lg";
|
|
859
|
+
/** */
|
|
860
|
+
name?: string | undefined;
|
|
861
|
+
/** The name of the icon to use for empty rating items. */
|
|
862
|
+
"empty-icon-name"?: string;
|
|
863
|
+
/** The name of the icon to use for filled rating items. */
|
|
864
|
+
"filled-icon-name"?: string;
|
|
865
|
+
/** The label for the rating component. */
|
|
866
|
+
label?: string | undefined;
|
|
867
|
+
/** The caption text displayed below the rating. */
|
|
868
|
+
caption?: string | undefined;
|
|
869
|
+
/** */
|
|
870
|
+
required?: boolean;
|
|
871
|
+
|
|
872
|
+
/** Emitted when the rating value changes via user interaction. */
|
|
873
|
+
"onplus-change"?: (e: CustomEvent<never>) => void;
|
|
874
|
+
/** Emitted when the user hovers over a star, includes the potential value. */
|
|
875
|
+
"onplus-hover"?: (e: CustomEvent<never>) => void;
|
|
876
|
+
};
|
|
877
|
+
|
|
878
|
+
type PlusToastProps = {
|
|
879
|
+
/** The size of the toast. */
|
|
880
|
+
size?: SizeType;
|
|
881
|
+
/** The visual style of the toast. */
|
|
882
|
+
kind?: "default" | "outlined" | "dashed";
|
|
883
|
+
/** The status variant of the toast, controlling color and icon. */
|
|
884
|
+
status?: StatusType;
|
|
885
|
+
/** Determines if the dismiss button is shown. */
|
|
886
|
+
dismiss?: boolean;
|
|
887
|
+
/** Shows the default status icon. */
|
|
888
|
+
"status-icon"?: boolean;
|
|
889
|
+
/** */
|
|
890
|
+
header?: string | undefined;
|
|
891
|
+
/** Optional custom icon name (e.g., 'fa-solid fa-star') or SVG string. Overrides the default status icon. Ignored if the 'icon' slot is used. */
|
|
892
|
+
icon?: string | undefined;
|
|
893
|
+
/** */
|
|
894
|
+
message?: string | undefined;
|
|
895
|
+
|
|
896
|
+
/** Emitted when the toast is closed by the user via the close button. */
|
|
897
|
+
"onplus-close"?: (e: CustomEvent<never>) => void;
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
type PlusToastContainerProps = {
|
|
901
|
+
/** The position the container is responsible for.
|
|
902
|
+
Only toasts targeted for this position via ToastService will be displayed. */
|
|
903
|
+
position?: PositionType;
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
type PlusServiceProps = {};
|
|
907
|
+
|
|
908
|
+
type PlusSelectItemProps = {
|
|
909
|
+
/** Sets the size of the select item. */
|
|
910
|
+
size?: "sm" | "md" | "lg";
|
|
911
|
+
/** Disables the select item, preventing interaction.
|
|
912
|
+
When disabled, the item cannot be clicked or selected. */
|
|
913
|
+
disabled?: boolean;
|
|
914
|
+
/** Indicates whether the select item is currently selected.
|
|
915
|
+
The selected state is managed by the parent PlusSelect component. */
|
|
916
|
+
selected?: boolean;
|
|
917
|
+
/** Sets the text content of the select item.
|
|
918
|
+
If provided, this will be used as the item's content and as the aria-label for accessibility.
|
|
919
|
+
If not provided, the slotted content is used for accessibility. */
|
|
920
|
+
text?: string | undefined;
|
|
921
|
+
|
|
922
|
+
/** Emitted when the select item is clicked, handled by the parent PlusSelect component */
|
|
923
|
+
onclick?: (e: CustomEvent<never>) => void;
|
|
924
|
+
};
|
|
925
|
+
|
|
926
|
+
type PlusSelectProps = {
|
|
927
|
+
/** Sets the size of the select button. */
|
|
928
|
+
size?: "sm" | "md" | "lg";
|
|
929
|
+
/** Placeholder text for the select trigger input. */
|
|
930
|
+
placeholder?: string;
|
|
931
|
+
/** Label text for the select. */
|
|
932
|
+
label?: string;
|
|
933
|
+
/** Indicates if the select is in an error state. */
|
|
934
|
+
error?: boolean;
|
|
935
|
+
/** Disables the select, preventing interaction. */
|
|
936
|
+
disabled?: boolean;
|
|
937
|
+
/** Marks the select as required. */
|
|
938
|
+
required?: boolean;
|
|
939
|
+
/** Makes the select read-only, preventing changes. */
|
|
940
|
+
readonly?: boolean;
|
|
941
|
+
/** Caption text displayed below the select. */
|
|
942
|
+
caption?: string | undefined;
|
|
943
|
+
/** Enables a clear button to reset the selection. */
|
|
944
|
+
clearable?: boolean;
|
|
945
|
+
|
|
946
|
+
/** Emitted when the select is opened */
|
|
947
|
+
"onplus-select-open"?: (e: CustomEvent<never>) => void;
|
|
948
|
+
/** Emitted when the select is closed */
|
|
949
|
+
"onplus-select-close"?: (e: CustomEvent<never>) => void;
|
|
950
|
+
/** Emitted when an item is selected, with the selected item in detail */
|
|
951
|
+
"onplus-select-selected-item"?: (e: CustomEvent<never>) => void;
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
type PlusToggleProps = {
|
|
955
|
+
/** */
|
|
956
|
+
name?: string;
|
|
957
|
+
/** */
|
|
958
|
+
value?: string;
|
|
959
|
+
/** */
|
|
960
|
+
checked?: boolean;
|
|
961
|
+
/** */
|
|
962
|
+
size?: "sm" | "md" | "lg";
|
|
963
|
+
/** */
|
|
964
|
+
label?: string | undefined;
|
|
965
|
+
/** */
|
|
966
|
+
caption?: string | undefined;
|
|
967
|
+
/** */
|
|
968
|
+
text?: string | undefined;
|
|
969
|
+
/** */
|
|
970
|
+
"text-position"?: "left" | "right";
|
|
971
|
+
/** */
|
|
972
|
+
"toggle-icon"?: string | undefined;
|
|
973
|
+
/** */
|
|
974
|
+
"toggle-active-icon"?: string | undefined;
|
|
975
|
+
/** */
|
|
976
|
+
"toggle-inactive-icon"?: string | undefined;
|
|
977
|
+
/** */
|
|
978
|
+
"icon-size"?: number | undefined;
|
|
979
|
+
/** */
|
|
980
|
+
error?: boolean;
|
|
981
|
+
/** */
|
|
982
|
+
"error-message"?: string;
|
|
983
|
+
/** */
|
|
984
|
+
disabled?: boolean;
|
|
985
|
+
/** */
|
|
986
|
+
readonly?: boolean;
|
|
987
|
+
/** */
|
|
988
|
+
required?: boolean;
|
|
989
|
+
/** */
|
|
990
|
+
"full-width"?: boolean;
|
|
991
|
+
/** */
|
|
992
|
+
animation?: "default" | "bounce" | "smooth";
|
|
993
|
+
/** */
|
|
994
|
+
"custom-aria-label"?: string | undefined;
|
|
995
|
+
/** */
|
|
996
|
+
input?: HTMLInputElement;
|
|
997
|
+
/** Emitted when the toggle state changes */
|
|
998
|
+
"onplus-change"?: (e: CustomEvent<never>) => void;
|
|
999
|
+
/** Emitted when the toggle state changes (for input event compatibility) */
|
|
1000
|
+
"onplus-input"?: (e: CustomEvent<never>) => void;
|
|
1001
|
+
/** Emitted when the toggle gains focus */
|
|
1002
|
+
"onplus-focus"?: (e: CustomEvent<never>) => void;
|
|
1003
|
+
/** Emitted when the toggle loses focus */
|
|
1004
|
+
"onplus-blur"?: (e: CustomEvent<never>) => void;
|
|
1005
|
+
/** Emitted when the toggle validation fails */
|
|
1006
|
+
"onplus-invalid"?: (e: CustomEvent<never>) => void;
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
type PlusTabProps = {
|
|
1010
|
+
/** Sets the value of the tab, used for identification and selection */
|
|
1011
|
+
value?: string;
|
|
1012
|
+
/** Indicates if the tab is currently selected */
|
|
1013
|
+
active?: boolean;
|
|
1014
|
+
/** Sets the size of the tab
|
|
1015
|
+
- sm: Small size
|
|
1016
|
+
- md: Medium size
|
|
1017
|
+
- lg: Large size */
|
|
1018
|
+
size?: "sm" | "md" | "lg";
|
|
1019
|
+
/** Disables the tab interaction */
|
|
1020
|
+
disabled?: boolean;
|
|
1021
|
+
/** Sets the orientation of the tabs
|
|
1022
|
+
- horizontal: Tabs arranged horizontally
|
|
1023
|
+
- vertical: Tabs arranged vertically */
|
|
1024
|
+
orientation?: "horizontal" | "vertical";
|
|
1025
|
+
/** Icon to display before the tab content */
|
|
1026
|
+
"prefix-icon"?: string | undefined;
|
|
1027
|
+
/** Icon to display after the tab content */
|
|
1028
|
+
"suffix-icon"?: string | undefined;
|
|
1029
|
+
/** Enables the dismiss button to remove the tab */
|
|
1030
|
+
dismissible?: boolean;
|
|
1031
|
+
/** Truncates the text if it's too long */
|
|
1032
|
+
truncate?: boolean;
|
|
1033
|
+
/** Use animated indicator instead of border for active tab
|
|
1034
|
+
This is controlled by the parent tab-group */
|
|
1035
|
+
animated?: boolean;
|
|
1036
|
+
};
|
|
1037
|
+
|
|
1038
|
+
type PlusTabPanelProps = {
|
|
1039
|
+
/** Sets the value of the tab panel, used for matching with a tab */
|
|
1040
|
+
value?: string;
|
|
1041
|
+
/** Indicates if the panel is currently visible */
|
|
1042
|
+
active?: boolean;
|
|
1043
|
+
/** Custom CSS class to apply to the panel */
|
|
1044
|
+
panelClass?: string;
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
type PlusTabGroupProps = {
|
|
1048
|
+
/** Sets the size of the tabs
|
|
1049
|
+
- sm: Small size
|
|
1050
|
+
- md: Medium size
|
|
1051
|
+
- lg: Large size */
|
|
1052
|
+
size?: "sm" | "md" | "lg";
|
|
1053
|
+
/** Sets the orientation of the tabs
|
|
1054
|
+
- horizontal: Tabs arranged horizontally
|
|
1055
|
+
- vertical: Tabs arranged vertically */
|
|
1056
|
+
orientation?: "horizontal" | "vertical";
|
|
1057
|
+
/** Disables all tabs */
|
|
1058
|
+
disabled?: boolean;
|
|
1059
|
+
/** Enables the dismiss button on all tabs */
|
|
1060
|
+
dismissible?: boolean;
|
|
1061
|
+
/** Currently active tab value */
|
|
1062
|
+
value?: string;
|
|
1063
|
+
/** Enables animated sliding indicator for active tab */
|
|
1064
|
+
animated?: boolean;
|
|
1065
|
+
|
|
1066
|
+
/** Emitted when a tab is selected with the tab's value */
|
|
1067
|
+
"onplus-tabs-change"?: (e: CustomEvent<never>) => void;
|
|
1068
|
+
};
|
|
1069
|
+
|
|
1070
|
+
export type CustomElements = {
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* ---
|
|
1074
|
+
*
|
|
1075
|
+
*
|
|
1076
|
+
* ### **Slots:**
|
|
1077
|
+
* - _default_ - The default slot for avatar content
|
|
1078
|
+
* - **fallback** - Optional slot for custom fallback content
|
|
1079
|
+
*
|
|
1080
|
+
* ### **CSS Properties:**
|
|
1081
|
+
* - **--text-color** - Controls the text color of the avatar _(default: undefined)_
|
|
1082
|
+
* - **--bg-default** - Controls the default background color _(default: undefined)_
|
|
1083
|
+
*
|
|
1084
|
+
* ### **CSS Parts:**
|
|
1085
|
+
* - **base** - The component's base wrapper
|
|
1086
|
+
*/
|
|
1087
|
+
"plus-avatar": DefineComponent<PlusAvatarProps>;
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
*
|
|
1091
|
+
* ---
|
|
1092
|
+
*
|
|
1093
|
+
*/
|
|
1094
|
+
"plus-button": DefineComponent<PlusButtonProps>;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Button group component that groups related buttons together.
|
|
1098
|
+
* ---
|
|
1099
|
+
*
|
|
1100
|
+
*
|
|
1101
|
+
* ### **Slots:**
|
|
1102
|
+
* - _default_ - The default slot for the buttons
|
|
1103
|
+
*
|
|
1104
|
+
* ### **CSS Properties:**
|
|
1105
|
+
* - **--button-group-gap** - Gap between buttons in the group _(default: undefined)_
|
|
1106
|
+
*/
|
|
1107
|
+
"plus-button-group": DefineComponent<PlusButtonGroupProps>;
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
*
|
|
1111
|
+
* ---
|
|
1112
|
+
*
|
|
1113
|
+
*/
|
|
1114
|
+
"plus-icon": DefineComponent<PlusIconProps>;
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
*
|
|
1118
|
+
* ---
|
|
1119
|
+
*
|
|
1120
|
+
*/
|
|
1121
|
+
"plus-badge": DefineComponent<PlusBadgeProps>;
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* A versatile tag component for displaying status, labels, and categories
|
|
1125
|
+
* ---
|
|
1126
|
+
*
|
|
1127
|
+
*
|
|
1128
|
+
* ### **CSS Properties:**
|
|
1129
|
+
* - **--tag-bg-color** - Background color for default state (inherits from --plus-color-background-neutral-default) _(default: undefined)_
|
|
1130
|
+
* - **--tag-text-color** - Text color for default state (inherits from --plus-color-text-default) _(default: undefined)_
|
|
1131
|
+
*
|
|
1132
|
+
* ### **CSS Parts:**
|
|
1133
|
+
* - **tag** - The container element for the tag
|
|
1134
|
+
*/
|
|
1135
|
+
"plus-tag": DefineComponent<PlusTagProps>;
|
|
1136
|
+
|
|
1137
|
+
/**
|
|
1138
|
+
*
|
|
1139
|
+
* ---
|
|
1140
|
+
*
|
|
1141
|
+
*/
|
|
1142
|
+
"plus-svg-icon": DefineComponent<PlusSvgIconProps>;
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
*
|
|
1146
|
+
* ---
|
|
1147
|
+
*
|
|
1148
|
+
*
|
|
1149
|
+
* ### **Slots:**
|
|
1150
|
+
* - _default_ - The default slot for chip content
|
|
1151
|
+
*
|
|
1152
|
+
* ### **CSS Properties:**
|
|
1153
|
+
* - **--text-color** - Controls the text color of the chip _(default: undefined)_
|
|
1154
|
+
* - **--border-color** - Controls the border color of the chip _(default: undefined)_
|
|
1155
|
+
* - **--bg-default** - Controls the default background color _(default: undefined)_
|
|
1156
|
+
* - **--bg-hovered** - Controls the background color when hovered _(default: undefined)_
|
|
1157
|
+
* - **--bg-pressed** - Controls the background color when pressed _(default: undefined)_
|
|
1158
|
+
* - **--bg-focused** - Controls the background color when focused _(default: undefined)_
|
|
1159
|
+
*
|
|
1160
|
+
* ### **CSS Parts:**
|
|
1161
|
+
* - **base** - The component's base wrapper
|
|
1162
|
+
* - **icon** - The dismiss icon wrapper
|
|
1163
|
+
*/
|
|
1164
|
+
"plus-chip": DefineComponent<PlusChipProps>;
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
*
|
|
1168
|
+
* ---
|
|
1169
|
+
*
|
|
1170
|
+
*
|
|
1171
|
+
* ### **Slots:**
|
|
1172
|
+
* - _default_ - The default slot for link content
|
|
1173
|
+
* - **prefix** - Slot for content to be placed before the link content
|
|
1174
|
+
* - **suffix** - Slot for content to be placed after the link content
|
|
1175
|
+
*
|
|
1176
|
+
* ### **CSS Parts:**
|
|
1177
|
+
* - **base** - The component's base wrapper
|
|
1178
|
+
*/
|
|
1179
|
+
"plus-link": DefineComponent<PlusLinkProps>;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Alert component that displays important messages to users.
|
|
1183
|
+
* ---
|
|
1184
|
+
*
|
|
1185
|
+
*
|
|
1186
|
+
* ### **Events:**
|
|
1187
|
+
* - **plus-dismiss** - Emitted when the alert is dismissed
|
|
1188
|
+
*
|
|
1189
|
+
* ### **Slots:**
|
|
1190
|
+
* - **message** - The main message content
|
|
1191
|
+
* - **description** - Additional descriptive content
|
|
1192
|
+
* - **prefix** - Custom status icon
|
|
1193
|
+
* - **dismiss** - Custom dismiss button
|
|
1194
|
+
*
|
|
1195
|
+
* ### **CSS Parts:**
|
|
1196
|
+
* - **base** - The main container element
|
|
1197
|
+
* - **status-icon** - The status icon container
|
|
1198
|
+
* - **content** - The content container
|
|
1199
|
+
* - **message** - The message container
|
|
1200
|
+
* - **description** - The description container
|
|
1201
|
+
* - **dismiss** - The dismiss button container
|
|
1202
|
+
*/
|
|
1203
|
+
"plus-alert": DefineComponent<PlusAlertProps>;
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* Radio button component that allows single selection from a group of options.
|
|
1207
|
+
* ---
|
|
1208
|
+
*
|
|
1209
|
+
*
|
|
1210
|
+
* ### **Events:**
|
|
1211
|
+
* - **plus-change** - Emitted when the radio button's checked state changes
|
|
1212
|
+
*
|
|
1213
|
+
* ### **Methods:**
|
|
1214
|
+
* - **handleChange()** - Handles the change event when the radio button is toggled
|
|
1215
|
+
*
|
|
1216
|
+
* ### **Slots:**
|
|
1217
|
+
* - _default_ - The radio button label content
|
|
1218
|
+
*
|
|
1219
|
+
* ### **CSS Parts:**
|
|
1220
|
+
* - **radio** - The component's radio input element
|
|
1221
|
+
*/
|
|
1222
|
+
"plus-radio": DefineComponent<PlusRadioProps>;
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* An item component for the segmented picker.
|
|
1226
|
+
* ---
|
|
1227
|
+
*
|
|
1228
|
+
*
|
|
1229
|
+
* ### **Slots:**
|
|
1230
|
+
* - _default_ - The content of the item.
|
|
1231
|
+
*
|
|
1232
|
+
* ### **CSS Parts:**
|
|
1233
|
+
* - **label** - The label element.
|
|
1234
|
+
* - **input** - The input element.
|
|
1235
|
+
*/
|
|
1236
|
+
"plus-segmented-picker-item": DefineComponent<PlusSegmentedPickerItemProps>;
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* A segmented picker component that allows users to select one option from a group of options.
|
|
1240
|
+
* ---
|
|
1241
|
+
*
|
|
1242
|
+
*
|
|
1243
|
+
* ### **Events:**
|
|
1244
|
+
* - **plus-segmented-picker-item-changed** - Emitted when an item is selected.
|
|
1245
|
+
*
|
|
1246
|
+
* ### **Slots:**
|
|
1247
|
+
* - _default_ - The content of the segmented picker, should be plus-segmented-picker-item elements.
|
|
1248
|
+
*
|
|
1249
|
+
* ### **CSS Parts:**
|
|
1250
|
+
* - **host** - The host element.
|
|
1251
|
+
* - **animation-overlay** - The animation overlay element.
|
|
1252
|
+
*/
|
|
1253
|
+
"plus-segmented-picker": DefineComponent<PlusSegmentedPickerProps>;
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
*
|
|
1257
|
+
* ---
|
|
1258
|
+
*
|
|
1259
|
+
*/
|
|
1260
|
+
"plus-radio-group": DefineComponent<PlusRadioGroupProps>;
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* Modal dialog component that appears on top of the page content.
|
|
1264
|
+
* ---
|
|
1265
|
+
*
|
|
1266
|
+
*
|
|
1267
|
+
* ### **Methods:**
|
|
1268
|
+
* - **hide(): _void_** - Hides the modal with animation
|
|
1269
|
+
* - **show(): _void_** - Shows the modal with animation
|
|
1270
|
+
*
|
|
1271
|
+
* ### **Slots:**
|
|
1272
|
+
* - **header** - The header content of the modal
|
|
1273
|
+
* - **body** - The main content of the modal
|
|
1274
|
+
* - **footer** - The footer content of the modal
|
|
1275
|
+
* - **close** - Custom close button (defaults to an X icon)
|
|
1276
|
+
*
|
|
1277
|
+
* ### **CSS Parts:**
|
|
1278
|
+
* - **container** - The main container element
|
|
1279
|
+
* - **overlay** - The overlay element
|
|
1280
|
+
* - **modal** - The modal element
|
|
1281
|
+
* - **header** - The header element
|
|
1282
|
+
* - **body** - The body element
|
|
1283
|
+
* - **footer** - The footer element
|
|
1284
|
+
* - **close-button** - The close button element
|
|
1285
|
+
*/
|
|
1286
|
+
"plus-modal": DefineComponent<PlusModalProps>;
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Sliding panel component that appears from the edge of the screen.
|
|
1290
|
+
* ---
|
|
1291
|
+
*
|
|
1292
|
+
*
|
|
1293
|
+
* ### **Methods:**
|
|
1294
|
+
* - **hide(): _void_** - Hides the drawer with animation
|
|
1295
|
+
* - **show(): _void_** - Shows the drawer with animation
|
|
1296
|
+
*
|
|
1297
|
+
* ### **Slots:**
|
|
1298
|
+
* - **header** - The header content of the drawer
|
|
1299
|
+
* - **body** - The main content of the drawer
|
|
1300
|
+
* - **footer** - The footer content of the drawer
|
|
1301
|
+
* - **close** - Custom close button (defaults to an X icon)
|
|
1302
|
+
*
|
|
1303
|
+
* ### **CSS Parts:**
|
|
1304
|
+
* - **container** - The main container element
|
|
1305
|
+
* - **overlay** - The overlay element
|
|
1306
|
+
* - **drawer** - The drawer element
|
|
1307
|
+
* - **header** - The header element
|
|
1308
|
+
* - **body** - The body element
|
|
1309
|
+
* - **footer** - The footer element
|
|
1310
|
+
* - **close-button** - The close button element
|
|
1311
|
+
*/
|
|
1312
|
+
"plus-drawer": DefineComponent<PlusDrawerProps>;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Accordion component for displaying collapsible content.
|
|
1316
|
+
* ---
|
|
1317
|
+
*
|
|
1318
|
+
*
|
|
1319
|
+
* ### **Events:**
|
|
1320
|
+
* - **plus-accordion-toggle** - Emitted when the accordion is toggled
|
|
1321
|
+
*
|
|
1322
|
+
* ### **Slots:**
|
|
1323
|
+
* - **header** - The header content of the accordion
|
|
1324
|
+
* - **helper** - Optional helper text displayed next to the header
|
|
1325
|
+
* - **panel** - The content that is shown when the accordion is expanded
|
|
1326
|
+
*
|
|
1327
|
+
* ### **CSS Parts:**
|
|
1328
|
+
* - **header** - The header container
|
|
1329
|
+
* - **panel** - The panel container
|
|
1330
|
+
* - **icon** - The expand/collapse icon
|
|
1331
|
+
* - **helper** - The helper text container
|
|
1332
|
+
*/
|
|
1333
|
+
"plus-accordion": DefineComponent<PlusAccordionProps>;
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* A container for grouping accordion items together.
|
|
1337
|
+
* ---
|
|
1338
|
+
*
|
|
1339
|
+
*
|
|
1340
|
+
* ### **Slots:**
|
|
1341
|
+
* - **default** - Accordion items to be grouped
|
|
1342
|
+
*
|
|
1343
|
+
* ### **CSS Parts:**
|
|
1344
|
+
* - **container** - The container element
|
|
1345
|
+
*/
|
|
1346
|
+
"plus-accordion-group": DefineComponent<PlusAccordionGroupProps>;
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
*
|
|
1350
|
+
* ---
|
|
1351
|
+
*
|
|
1352
|
+
*
|
|
1353
|
+
* ### **Slots:**
|
|
1354
|
+
* - _default_ - The default slot for optional divider content (for text dividers)
|
|
1355
|
+
*
|
|
1356
|
+
* ### **CSS Properties:**
|
|
1357
|
+
* - **--divider-color** - Controls the color of the divider _(default: undefined)_
|
|
1358
|
+
* - **--divider-thickness** - Controls the thickness of the divider _(default: undefined)_
|
|
1359
|
+
* - **--divider-spacing** - Controls the spacing around the divider _(default: undefined)_
|
|
1360
|
+
*
|
|
1361
|
+
* ### **CSS Parts:**
|
|
1362
|
+
* - **divider** - The component's base wrapper
|
|
1363
|
+
* - **label** - The text content container
|
|
1364
|
+
*/
|
|
1365
|
+
"plus-divider": DefineComponent<PlusDividerProps>;
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* Popover component that displays content in a floating panel.
|
|
1369
|
+
* ---
|
|
1370
|
+
*
|
|
1371
|
+
*
|
|
1372
|
+
* ### **Events:**
|
|
1373
|
+
* - **plus-popover-open** - Emitted when the popover is opened
|
|
1374
|
+
* - **plus-popover-close** - Emitted when the popover is closed
|
|
1375
|
+
* - **plus-popover-dismiss** - Emitted when the popover is dismissed via close button
|
|
1376
|
+
*
|
|
1377
|
+
* ### **Slots:**
|
|
1378
|
+
* - _default_ - The target element that triggers the popover
|
|
1379
|
+
* - **icon** - Custom icon for the popover
|
|
1380
|
+
* - **title** - The popover title
|
|
1381
|
+
* - **actions** - Actions like close button
|
|
1382
|
+
* - **content** - The main content inside the popover
|
|
1383
|
+
*
|
|
1384
|
+
* ### **CSS Parts:**
|
|
1385
|
+
* - **popover** - The popover container element
|
|
1386
|
+
* - **arrow** - The popover arrow indicator
|
|
1387
|
+
* - **title** - The popover title
|
|
1388
|
+
* - **close** - The close button area
|
|
1389
|
+
* - **content** - The main content inside the popover
|
|
1390
|
+
*/
|
|
1391
|
+
"plus-popover": DefineComponent<PlusPopoverProps>;
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
*
|
|
1395
|
+
* ---
|
|
1396
|
+
*
|
|
1397
|
+
*
|
|
1398
|
+
* ### **Events:**
|
|
1399
|
+
* - **click** - Emitted when the list box item is clicked
|
|
1400
|
+
*
|
|
1401
|
+
* ### **Slots:**
|
|
1402
|
+
* - _default_ - The default slot for the list box item content
|
|
1403
|
+
*
|
|
1404
|
+
* ### **CSS Properties:**
|
|
1405
|
+
* - **--i-bg-default** - Controls the default background color _(default: undefined)_
|
|
1406
|
+
* - **--i-bg-hovered** - Controls the background color when hovered _(default: undefined)_
|
|
1407
|
+
* - **--i-bg-pressed** - Controls the background color when pressed _(default: undefined)_
|
|
1408
|
+
* - **--i-text-color** - Controls the text color _(default: undefined)_
|
|
1409
|
+
* - **--i-selected-bg** - Controls the background color when selected _(default: undefined)_
|
|
1410
|
+
*
|
|
1411
|
+
* ### **CSS Parts:**
|
|
1412
|
+
* - **base** - The component's base wrapper
|
|
1413
|
+
*/
|
|
1414
|
+
"plus-list-box-item": DefineComponent<PlusListBoxItemProps>;
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* ---
|
|
1419
|
+
*
|
|
1420
|
+
*
|
|
1421
|
+
* ### **Events:**
|
|
1422
|
+
* - **click** - Emitted when the dropdown item is clicked
|
|
1423
|
+
*
|
|
1424
|
+
* ### **Slots:**
|
|
1425
|
+
* - _default_ - The default slot for dropdown item content
|
|
1426
|
+
*
|
|
1427
|
+
* ### **CSS Properties:**
|
|
1428
|
+
* - **--i-bg-default** - Controls the default background color _(default: undefined)_
|
|
1429
|
+
* - **--i-bg-hovered** - Controls the background color when hovered _(default: undefined)_
|
|
1430
|
+
* - **--i-bg-pressed** - Controls the background color when pressed _(default: undefined)_
|
|
1431
|
+
* - **--i-text-color** - Controls the text color _(default: undefined)_
|
|
1432
|
+
* - **--i-selected-bg** - Controls the background color when selected _(default: undefined)_
|
|
1433
|
+
*
|
|
1434
|
+
* ### **CSS Parts:**
|
|
1435
|
+
* - **base** - The component's base wrapper
|
|
1436
|
+
* - **item** - The listbox item element
|
|
1437
|
+
*/
|
|
1438
|
+
"plus-dropdown-item": DefineComponent<PlusDropDownItemProps>;
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
*
|
|
1442
|
+
* ---
|
|
1443
|
+
*
|
|
1444
|
+
*
|
|
1445
|
+
* ### **Events:**
|
|
1446
|
+
* - **plus-dropdown-open** - Emitted when the dropdown is opened
|
|
1447
|
+
* - **plus-dropdown-close** - Emitted when the dropdown is closed
|
|
1448
|
+
* - **plus-dropdown-selected-item** - Emitted when an item is selected with the selected item in detail
|
|
1449
|
+
*
|
|
1450
|
+
* ### **Slots:**
|
|
1451
|
+
* - _default_ - The default slot for the dropdown trigger button content
|
|
1452
|
+
* - **suffix** - Slot for adding content to the right side of the trigger button
|
|
1453
|
+
* - **dropdown-item** - Slot for dropdown menu items
|
|
1454
|
+
*
|
|
1455
|
+
* ### **CSS Parts:**
|
|
1456
|
+
* - **base** - The component's base wrapper
|
|
1457
|
+
* - **button** - The dropdown trigger button
|
|
1458
|
+
* - **dropdown-box** - The dropdown list container
|
|
1459
|
+
*/
|
|
1460
|
+
"plus-dropdown": DefineComponent<PlusDropdownProps>;
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
*
|
|
1464
|
+
* ---
|
|
1465
|
+
*
|
|
1466
|
+
*/
|
|
1467
|
+
"plus-tooltip": DefineComponent<PlusTooltipProps>;
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* Form input component that provides various input types, validation, and styling features.
|
|
1471
|
+
* ---
|
|
1472
|
+
*
|
|
1473
|
+
*
|
|
1474
|
+
* ### **Events:**
|
|
1475
|
+
* - **plus-input** - Emitted when the input value changes
|
|
1476
|
+
* - **plus-change** - Emitted when the input value changes and the input loses focus
|
|
1477
|
+
* - **plus-focus** - Emitted when the input gains focus
|
|
1478
|
+
* - **plus-blur** - Emitted when the input loses focus
|
|
1479
|
+
* - **plus-clear** - Emitted when the clear button is clicked
|
|
1480
|
+
* - **plus-password-toggle** - Emitted when the password visibility is toggled
|
|
1481
|
+
* - **plus-invalid** - Emitted when the input value is invalid
|
|
1482
|
+
*
|
|
1483
|
+
* ### **Methods:**
|
|
1484
|
+
* - **checkValidity(): _boolean_** - Checks the validity of the input against constraints.
|
|
1485
|
+
* - **reportValidity(): _boolean_** - Reports the validity of the input. If the input is invalid,
|
|
1486
|
+
* it dispatches an 'invalid' event and focuses the input.
|
|
1487
|
+
* - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message for the input.
|
|
1488
|
+
*
|
|
1489
|
+
* ### **Slots:**
|
|
1490
|
+
* - **prefix** - Content to be placed before the input
|
|
1491
|
+
* - **suffix** - Content to be placed after the input
|
|
1492
|
+
*
|
|
1493
|
+
* ### **CSS Parts:**
|
|
1494
|
+
* - **input** - The native input element
|
|
1495
|
+
* - **wrapper** - The input wrapper element
|
|
1496
|
+
* - **prefix** - The prefix container
|
|
1497
|
+
* - **suffix** - The suffix container
|
|
1498
|
+
* - **clear-button** - The clear button
|
|
1499
|
+
* - **password-toggle** - The password visibility toggle button
|
|
1500
|
+
*/
|
|
1501
|
+
"plus-input": DefineComponent<PlusInputProps>;
|
|
1502
|
+
|
|
1503
|
+
/**
|
|
1504
|
+
* Popconfirm component that displays a confirmation dialog in a floating panel.
|
|
1505
|
+
* ---
|
|
1506
|
+
*
|
|
1507
|
+
*
|
|
1508
|
+
* ### **Events:**
|
|
1509
|
+
* - **plus-popconfirm-open** - Emitted when the popconfirm is opened
|
|
1510
|
+
* - **plus-popconfirm-close** - Emitted when the popconfirm is closed
|
|
1511
|
+
* - **plus-popconfirm-confirm** - Emitted when the confirm button is clicked
|
|
1512
|
+
* - **plus-popconfirm-cancel** - Emitted when the cancel button is clicked
|
|
1513
|
+
*
|
|
1514
|
+
* ### **Slots:**
|
|
1515
|
+
* - _default_ - The target element that triggers the popconfirm
|
|
1516
|
+
* - **icon** - Custom icon for the popconfirm
|
|
1517
|
+
* - **title** - The popconfirm title
|
|
1518
|
+
* - **header** - The entire header section
|
|
1519
|
+
* - **footer** - The footer section with action buttons
|
|
1520
|
+
* - **content** - The main content inside the popconfirm
|
|
1521
|
+
*
|
|
1522
|
+
* ### **CSS Parts:**
|
|
1523
|
+
* - **popconfirm** - The popconfirm container element
|
|
1524
|
+
* - **arrow** - The popconfirm arrow indicator
|
|
1525
|
+
* - **header** - The popconfirm header section
|
|
1526
|
+
* - **title** - The popconfirm title
|
|
1527
|
+
* - **content** - The main content inside the popconfirm
|
|
1528
|
+
* - **footer** - The footer section with action buttons
|
|
1529
|
+
*/
|
|
1530
|
+
"plus-popconfirm": DefineComponent<PlusPopconfirmProps>;
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
*
|
|
1534
|
+
* ---
|
|
1535
|
+
*
|
|
1536
|
+
*
|
|
1537
|
+
* ### **Slots:**
|
|
1538
|
+
* - _default_ - The default slot for the text content.
|
|
1539
|
+
*
|
|
1540
|
+
* ### **CSS Properties:**
|
|
1541
|
+
* - **--i-text-color** - Inherited text color variable. _(default: undefined)_
|
|
1542
|
+
*
|
|
1543
|
+
* ### **CSS Parts:**
|
|
1544
|
+
* - **base** - The component's base wrapper element (e.g., h1, p, div).
|
|
1545
|
+
*/
|
|
1546
|
+
"plus-text": DefineComponent<PlusTextProps>;
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
*
|
|
1550
|
+
* ---
|
|
1551
|
+
*
|
|
1552
|
+
*
|
|
1553
|
+
* ### **Slots:**
|
|
1554
|
+
* - _default_ - The default slot for the item's label content.
|
|
1555
|
+
* - **prefix** - Optional slot for content/icon to display before the label. Overrides `prefix-icon` property.
|
|
1556
|
+
* - **suffix** - Optional slot for content/icon to display after the label. Overrides `suffix-icon` property.
|
|
1557
|
+
*
|
|
1558
|
+
* ### **CSS Parts:**
|
|
1559
|
+
* - **base** - The component's base wrapper element.
|
|
1560
|
+
* - **link** - The `plus-link` element (if `href` is provided).
|
|
1561
|
+
* - **text** - The `span` element (if `href` is not provided).
|
|
1562
|
+
* - **prefix** - The prefix container (slot or icon).
|
|
1563
|
+
* - **suffix** - The suffix container (slot or icon).
|
|
1564
|
+
* - **separator** - The separator element.
|
|
1565
|
+
*/
|
|
1566
|
+
"plus-breadcrumb-item": DefineComponent<PlusBreadcrumbItemProps>;
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
*
|
|
1570
|
+
* ---
|
|
1571
|
+
*
|
|
1572
|
+
*
|
|
1573
|
+
* ### **Slots:**
|
|
1574
|
+
* - _default_ - Default slot for `plus-breadcrumb-item` elements.
|
|
1575
|
+
*
|
|
1576
|
+
* ### **CSS Parts:**
|
|
1577
|
+
* - **base** - The main container element (`nav`).
|
|
1578
|
+
*/
|
|
1579
|
+
"plus-breadcrumb": DefineComponent<PlusBreadcrumbProps>;
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
*
|
|
1583
|
+
* ---
|
|
1584
|
+
*
|
|
1585
|
+
*
|
|
1586
|
+
* ### **Events:**
|
|
1587
|
+
* - **plus-change** - Emitted when the checkbox's checked state changes.
|
|
1588
|
+
* - **plus-focus** - Emitted when the checkbox gains focus.
|
|
1589
|
+
* - **plus-blur** - Emitted when the checkbox loses focus.
|
|
1590
|
+
*
|
|
1591
|
+
* ### **Methods:**
|
|
1592
|
+
* - **formResetCallback()** - Called when the associated form is reset.
|
|
1593
|
+
* Resets the checkbox to its initial checked state.
|
|
1594
|
+
* We need to specific attribute initialChecked
|
|
1595
|
+
* - **formDisabledCallback(disabled: _boolean_)** - Called when the disabled state of the parent form changes.
|
|
1596
|
+
* - **click()** - Clicks the checkbox
|
|
1597
|
+
* - **focus(options: _FocusOptions_)** - Focuses the checkbox
|
|
1598
|
+
* - **blur()** - Blurs the checkbox
|
|
1599
|
+
*
|
|
1600
|
+
* ### **Slots:**
|
|
1601
|
+
* - _default_ - The label for the checkbox.
|
|
1602
|
+
*
|
|
1603
|
+
* ### **CSS Properties:**
|
|
1604
|
+
* - **--checkbox-size** - Controls the size of the checkbox control. Typically maps to sm, md, lg tokens. _(default: undefined)_
|
|
1605
|
+
* - **--checkbox-color-default** - Default background color. _(default: undefined)_
|
|
1606
|
+
* - **--checkbox-color-checked** - Background color when checked. _(default: undefined)_
|
|
1607
|
+
* - **--checkbox-color-border** - Border color. _(default: undefined)_
|
|
1608
|
+
* - **--checkbox-color-border-checked** - Border color when checked. _(default: undefined)_
|
|
1609
|
+
* - **--checkbox-color-icon** - Color of the checkmark/indeterminate icon. _(default: undefined)_
|
|
1610
|
+
* - **--checkbox-border-color-error** - Border color in the error state. _(default: undefined)_
|
|
1611
|
+
*
|
|
1612
|
+
* ### **CSS Parts:**
|
|
1613
|
+
* - **base** - The component's base wrapper (label).
|
|
1614
|
+
* - **control** - The container for the actual checkbox input and its visual representation.
|
|
1615
|
+
* - **checkbox** - The visual representation of the checkbox.
|
|
1616
|
+
* - **icon** - The checkmark or indeterminate icon.
|
|
1617
|
+
* - **label** - The text label container.
|
|
1618
|
+
*/
|
|
1619
|
+
"plus-checkbox": DefineComponent<PlusCheckboxProps>;
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* ---
|
|
1624
|
+
*
|
|
1625
|
+
*
|
|
1626
|
+
* ### **Events:**
|
|
1627
|
+
* - **plus-change** - Emitted when the value of the group changes (any checkbox is checked/unchecked).
|
|
1628
|
+
*
|
|
1629
|
+
* ### **Slots:**
|
|
1630
|
+
* - _default_ - Default slot for `plus-checkbox` elements.
|
|
1631
|
+
*
|
|
1632
|
+
* ### **CSS Parts:**
|
|
1633
|
+
* - **base** - The main container element.
|
|
1634
|
+
*/
|
|
1635
|
+
"plus-checkbox-group": DefineComponent<PlusCheckboxGroupProps>;
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* A form-associated textarea component with validation and styling.
|
|
1639
|
+
* ---
|
|
1640
|
+
*
|
|
1641
|
+
*
|
|
1642
|
+
* ### **Events:**
|
|
1643
|
+
* - **plus-input** - Emitted when the textarea value changes
|
|
1644
|
+
* - **plus-change** - Emitted when the textarea value changes and loses focus
|
|
1645
|
+
* - **plus-focus** - Emitted when the textarea gains focus
|
|
1646
|
+
* - **plus-blur** - Emitted when the textarea loses focus
|
|
1647
|
+
* - **plus-invalid** - Emitted when the textarea value is invalid
|
|
1648
|
+
*
|
|
1649
|
+
* ### **Methods:**
|
|
1650
|
+
* - **checkValidity(): _boolean_** - Checks the validity of the textarea against constraints.
|
|
1651
|
+
* - **reportValidity(): _boolean_** - Reports the validity state to the user.
|
|
1652
|
+
* - **setCustomValidity(message: _string_): _void_** - Sets a custom validation message.
|
|
1653
|
+
*
|
|
1654
|
+
* ### **CSS Properties:**
|
|
1655
|
+
* - **--focus-ring-color** - Color of the focus ring _(default: --primary-500)_
|
|
1656
|
+
* - **--error-color** - Color used for error states _(default: --red-500)_
|
|
1657
|
+
*
|
|
1658
|
+
* ### **CSS Parts:**
|
|
1659
|
+
* - **textarea** - The native textarea element
|
|
1660
|
+
* - **label** - The label element
|
|
1661
|
+
* - **caption** - The caption/error message container
|
|
1662
|
+
*/
|
|
1663
|
+
"plus-textarea": DefineComponent<PlusTextareaProps>;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* A rating component to display and optionally set a rating value.
|
|
1667
|
+
* ---
|
|
1668
|
+
*
|
|
1669
|
+
*
|
|
1670
|
+
* ### **Events:**
|
|
1671
|
+
* - **plus-change** - Emitted when the rating value changes via user interaction.
|
|
1672
|
+
* - **plus-hover** - Emitted when the user hovers over a star, includes the potential value.
|
|
1673
|
+
*
|
|
1674
|
+
* ### **Methods:**
|
|
1675
|
+
* - **reportValidity(): _boolean_** - Checks validity and sets the error state. Returns true if valid, false otherwise.
|
|
1676
|
+
*
|
|
1677
|
+
* ### **CSS Properties:**
|
|
1678
|
+
* - **--star-color-active** - Color of active/selected stars. _(default: --color-warning-500)_
|
|
1679
|
+
* - **--star-color-inactive** - Color of inactive stars. _(default: --color-neutral-300)_
|
|
1680
|
+
* - **--star-color-hover** - Color of stars on hover. _(default: --plus-color-text-primary)_
|
|
1681
|
+
*
|
|
1682
|
+
* ### **CSS Parts:**
|
|
1683
|
+
* - **host** - The main container element.
|
|
1684
|
+
* - **star-container** - The container for each star.
|
|
1685
|
+
* - **star-icon** - Each individual star icon.
|
|
1686
|
+
* - **star-partial** - The element used to display partial stars.
|
|
1687
|
+
*/
|
|
1688
|
+
"plus-rating": DefineComponent<PlusRatingProps>;
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* Displays short, temporary messages.
|
|
1692
|
+
* ---
|
|
1693
|
+
*
|
|
1694
|
+
*
|
|
1695
|
+
* ### **Events:**
|
|
1696
|
+
* - **plus-close** - Emitted when the toast is closed by the user via the close button.
|
|
1697
|
+
*
|
|
1698
|
+
* ### **Slots:**
|
|
1699
|
+
* - _default_ - The default slot for the toast message content. If both message and header properties are set, this slot is ignored.
|
|
1700
|
+
* - **header** - Optional header content for the toast. Overrides the header property.
|
|
1701
|
+
* - **icon** - Optional icon content to replace the default status icon.
|
|
1702
|
+
*
|
|
1703
|
+
* ### **CSS Properties:**
|
|
1704
|
+
* - **--toast-border-radius** - Controls the border radius of the toast. _(default: undefined)_
|
|
1705
|
+
* - **--toast-padding** - Controls the padding of the toast. _(default: undefined)_
|
|
1706
|
+
* - **--icon-size** - Controls the size of the status icon. _(default: undefined)_
|
|
1707
|
+
* - **--close-button-size** - Controls the size of the close button. _(default: undefined)_
|
|
1708
|
+
*
|
|
1709
|
+
* ### **CSS Parts:**
|
|
1710
|
+
* - **base** - The component's base wrapper.
|
|
1711
|
+
* - **container** - The main container for icon, content, and close button.
|
|
1712
|
+
* - **icon** - The container for the status icon.
|
|
1713
|
+
* - **content** - The container for header and message text.
|
|
1714
|
+
* - **header** - The header text element.
|
|
1715
|
+
* - **message** - The message text element.
|
|
1716
|
+
* - **close-button** - The close button container.
|
|
1717
|
+
*/
|
|
1718
|
+
"plus-toast": DefineComponent<PlusToastProps>;
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* A container element that listens to the ToastService to display toast notifications.
|
|
1722
|
+
* ---
|
|
1723
|
+
*
|
|
1724
|
+
*
|
|
1725
|
+
* ### **Slots:**
|
|
1726
|
+
* - _default_ - Toast components are rendered here based on ToastService updates.
|
|
1727
|
+
*
|
|
1728
|
+
* ### **CSS Properties:**
|
|
1729
|
+
* - **--toast-container-gap** - Controls the gap between toasts within the container. _(default: undefined)_
|
|
1730
|
+
* - **--toast-container-z-index** - Controls the stack order of the container. _(default: undefined)_
|
|
1731
|
+
*
|
|
1732
|
+
* ### **CSS Parts:**
|
|
1733
|
+
* - **base** - The component's base wrapper.
|
|
1734
|
+
*/
|
|
1735
|
+
"plus-toast-container": DefineComponent<PlusToastContainerProps>;
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* A utility component to automatically set up the UI infrastructure for global services.
|
|
1739
|
+
* Currently sets up the necessary containers for the ToastService.
|
|
1740
|
+
* Place this component once at the root of your application.
|
|
1741
|
+
* ---
|
|
1742
|
+
*
|
|
1743
|
+
*/
|
|
1744
|
+
"plus-service": DefineComponent<PlusServiceProps>;
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* A select item component that represents a selectable option within a select menu.
|
|
1748
|
+
* Automatically registers itself as a select-item slot in the parent PlusSelect component.
|
|
1749
|
+
* ---
|
|
1750
|
+
*
|
|
1751
|
+
*
|
|
1752
|
+
* ### **Events:**
|
|
1753
|
+
* - **click** - Emitted when the select item is clicked, handled by the parent PlusSelect component
|
|
1754
|
+
*
|
|
1755
|
+
* ### **Slots:**
|
|
1756
|
+
* - _default_ - The default slot for select item content
|
|
1757
|
+
*
|
|
1758
|
+
* ### **CSS Properties:**
|
|
1759
|
+
* - **--i-bg-default** - Controls the default background color _(default: undefined)_
|
|
1760
|
+
* - **--i-bg-hovered** - Controls the background color when hovered _(default: undefined)_
|
|
1761
|
+
* - **--i-bg-pressed** - Controls the background color when pressed _(default: undefined)_
|
|
1762
|
+
* - **--i-text-color** - Controls the text color _(default: undefined)_
|
|
1763
|
+
* - **--i-selected-bg** - Controls the background color when selected _(default: undefined)_
|
|
1764
|
+
*
|
|
1765
|
+
* ### **CSS Parts:**
|
|
1766
|
+
* - **base** - The component's base wrapper
|
|
1767
|
+
* - **item** - The listbox item element
|
|
1768
|
+
*/
|
|
1769
|
+
"plus-select-item": DefineComponent<PlusSelectItemProps>;
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* A select component that provides a collapsible menu with selectable options.
|
|
1773
|
+
* Uses Floating UI for intelligent positioning of the select menu.
|
|
1774
|
+
* ---
|
|
1775
|
+
*
|
|
1776
|
+
*
|
|
1777
|
+
* ### **Events:**
|
|
1778
|
+
* - **plus-select-open** - Emitted when the select is opened
|
|
1779
|
+
* - **plus-select-close** - Emitted when the select is closed
|
|
1780
|
+
* - **plus-select-selected-item** - Emitted when an item is selected, with the selected item in detail
|
|
1781
|
+
*
|
|
1782
|
+
* ### **Slots:**
|
|
1783
|
+
* - _default_ - The default slot for the select trigger button content
|
|
1784
|
+
* - **suffix** - Slot for adding content to the right side of the trigger button
|
|
1785
|
+
* - **select-item** - Slot for select menu items
|
|
1786
|
+
*
|
|
1787
|
+
* ### **CSS Parts:**
|
|
1788
|
+
* - **base** - The component's base wrapper
|
|
1789
|
+
* - **select** - The select trigger input
|
|
1790
|
+
* - **select-box** - The select list container
|
|
1791
|
+
*/
|
|
1792
|
+
"plus-select": DefineComponent<PlusSelectProps>;
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* Toggle component that provides a switch with various styles and states.
|
|
1796
|
+
* ---
|
|
1797
|
+
*
|
|
1798
|
+
*
|
|
1799
|
+
* ### **Events:**
|
|
1800
|
+
* - **plus-change** - Emitted when the toggle state changes
|
|
1801
|
+
* - **plus-input** - Emitted when the toggle state changes (for input event compatibility)
|
|
1802
|
+
* - **plus-focus** - Emitted when the toggle gains focus
|
|
1803
|
+
* - **plus-blur** - Emitted when the toggle loses focus
|
|
1804
|
+
* - **plus-invalid** - Emitted when the toggle validation fails
|
|
1805
|
+
*
|
|
1806
|
+
* ### **Methods:**
|
|
1807
|
+
* - **checkValidity(): __** - Checks the validity of the toggle input
|
|
1808
|
+
* - **reportValidity(): __** - Reports the validity of the toggle input
|
|
1809
|
+
* - **setCustomValidity(message: _string_): _void_** - Sets a custom validity message for the toggle
|
|
1810
|
+
*
|
|
1811
|
+
* ### **Slots:**
|
|
1812
|
+
* - _default_ - The default slot for toggle text content when no text property is specified
|
|
1813
|
+
*
|
|
1814
|
+
* ### **CSS Properties:**
|
|
1815
|
+
* - **--text-color** - Controls the text color _(default: undefined)_
|
|
1816
|
+
* - **--border-color** - Controls the border color of the toggle _(default: undefined)_
|
|
1817
|
+
* - **--switch-bg** - Controls the background color of the switch _(default: undefined)_
|
|
1818
|
+
* - **--switch-bg-hover** - Controls the background color when hovered _(default: undefined)_
|
|
1819
|
+
* - **--switch-bg-active** - Controls the background color when pressed _(default: undefined)_
|
|
1820
|
+
* - **--dot-bg** - Controls the background color of the dot _(default: undefined)_
|
|
1821
|
+
* - **--dot-text** - Controls the text color of the icon in the dot _(default: undefined)_
|
|
1822
|
+
*
|
|
1823
|
+
* ### **CSS Parts:**
|
|
1824
|
+
* - **base** - The component's base wrapper
|
|
1825
|
+
* - **label** - The label element
|
|
1826
|
+
* - **control** - The control element containing the toggle and text
|
|
1827
|
+
* - **switch** - The switch element
|
|
1828
|
+
* - **dot** - The dot element inside the switch
|
|
1829
|
+
* - **text** - The text element
|
|
1830
|
+
* - **icon** - The icon element when an icon is used
|
|
1831
|
+
* - **caption** - The caption element
|
|
1832
|
+
*/
|
|
1833
|
+
"plus-toggle": DefineComponent<PlusToggleProps>;
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* Tab component that represents a single tab in a tab group.
|
|
1837
|
+
* ---
|
|
1838
|
+
*
|
|
1839
|
+
*
|
|
1840
|
+
* ### **Slots:**
|
|
1841
|
+
* - _default_ - The default slot for tab content
|
|
1842
|
+
* - **prefix** - Content to be placed before the tab content
|
|
1843
|
+
* - **suffix** - Content to be placed after the tab content
|
|
1844
|
+
*
|
|
1845
|
+
* ### **CSS Properties:**
|
|
1846
|
+
* - **--text-color** - Controls the text color of the tab _(default: undefined)_
|
|
1847
|
+
* - **--active-color** - Controls the color of the active indicator _(default: undefined)_
|
|
1848
|
+
* - **--bg-default** - Controls the default background color _(default: undefined)_
|
|
1849
|
+
* - **--bg-hovered** - Controls the background color when hovered _(default: undefined)_
|
|
1850
|
+
*
|
|
1851
|
+
* ### **CSS Parts:**
|
|
1852
|
+
* - **tab** - The component's base wrapper
|
|
1853
|
+
*/
|
|
1854
|
+
"plus-tab": DefineComponent<PlusTabProps>;
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* Tab panel component that displays content associated with a tab.
|
|
1858
|
+
* ---
|
|
1859
|
+
*
|
|
1860
|
+
*
|
|
1861
|
+
* ### **Slots:**
|
|
1862
|
+
* - _default_ - The default slot for tab panel content
|
|
1863
|
+
*
|
|
1864
|
+
* ### **CSS Parts:**
|
|
1865
|
+
* - **panel** - The component's base wrapper
|
|
1866
|
+
*/
|
|
1867
|
+
"plus-tab-panel": DefineComponent<PlusTabPanelProps>;
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* Tab group component that manages a set of tabs and panels.
|
|
1871
|
+
* ---
|
|
1872
|
+
*
|
|
1873
|
+
*
|
|
1874
|
+
* ### **Events:**
|
|
1875
|
+
* - **plus-tabs-change** - Emitted when a tab is selected with the tab's value
|
|
1876
|
+
*
|
|
1877
|
+
* ### **Slots:**
|
|
1878
|
+
* - **tablist** - Slot for tabs
|
|
1879
|
+
* - **panels** - Slot for tab panels
|
|
1880
|
+
*
|
|
1881
|
+
* ### **CSS Properties:**
|
|
1882
|
+
* - **--tabs-gap** - Controls the gap between tabs _(default: undefined)_
|
|
1883
|
+
* - **--tabs-indicator-color** - Controls the color of the active tab indicator _(default: undefined)_
|
|
1884
|
+
* - **--tabs-indicator-height** - Controls the height of the animated indicator _(default: undefined)_
|
|
1885
|
+
*
|
|
1886
|
+
* ### **CSS Parts:**
|
|
1887
|
+
* - **group** - The component's base wrapper
|
|
1888
|
+
* - **tablist** - The tabs container
|
|
1889
|
+
* - **panels** - The tab panels container
|
|
1890
|
+
* - **indicator** - The animated indicator element (when animated=true)
|
|
1891
|
+
*/
|
|
1892
|
+
"plus-tab-group": DefineComponent<PlusTabGroupProps>;
|
|
1893
|
+
};
|
|
1894
|
+
|
|
1895
|
+
declare module "vue" {
|
|
1896
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
1897
|
+
interface GlobalComponents extends CustomElements {}
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
declare global {
|
|
1901
|
+
namespace JSX {
|
|
1902
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
1903
|
+
interface IntrinsicElements extends CustomElements {}
|
|
1904
|
+
}
|
|
1905
|
+
}
|