@plusui/library 0.1.3 → 0.1.5
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/cdn/components/accordion/accordion.js +34 -9
- package/cdn/components/accordion/accordion.style.js +2 -2
- package/cdn/components/accordion/index.js +4 -3
- package/cdn/components/accordion-group/accordion-group.js +5 -4
- package/cdn/components/accordion-group/index.js +4 -3
- package/cdn/components/alert/alert.js +25 -14
- package/cdn/components/alert/index.js +5 -4
- package/cdn/components/avatar/avatar.js +26 -11
- package/cdn/components/avatar/avatar.style.js +1 -1
- package/cdn/components/avatar/index.js +6 -5
- package/cdn/components/badge/badge.host.style.js +1 -1
- package/cdn/components/badge/badge.js +5 -5
- package/cdn/components/badge/index.js +5 -5
- package/cdn/components/base/index.js +2 -2
- package/cdn/components/base/tailwind-base.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumb/index.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +9 -8
- package/cdn/components/breadcrumb-item/index.js +5 -4
- package/cdn/components/button/button.js +12 -8
- package/cdn/components/button/index.js +5 -4
- package/cdn/components/button-group/button-group.js +19 -29
- package/cdn/components/button-group/index.js +5 -4
- package/cdn/components/checkbox/checkbox.js +13 -16
- package/cdn/components/checkbox/index.js +6 -9
- package/cdn/components/checkbox-group/checkbox-group.js +41 -20
- package/cdn/components/checkbox-group/index.js +4 -3
- package/cdn/components/chip/chip.js +9 -8
- package/cdn/components/chip/index.js +5 -4
- package/cdn/components/divider/divider.js +4 -4
- package/cdn/components/divider/divider.style.js +1 -1
- package/cdn/components/divider/index.js +4 -4
- package/cdn/components/drawer/drawer.js +12 -6
- package/cdn/components/drawer/index.js +5 -4
- package/cdn/components/dropdown/dropdown.js +10 -9
- package/cdn/components/dropdown/index.js +6 -5
- package/cdn/components/dropdown-item/dropdown-item.js +8 -7
- package/cdn/components/dropdown-item/index.js +6 -5
- package/cdn/components/icon/icon-registry.js +103 -0
- package/cdn/components/icon/icon.js +198 -2956
- package/cdn/components/icon/index.js +10 -3
- package/cdn/components/icon/light-icons.js +8 -0
- package/cdn/components/icon/regular-icons.js +10 -0
- package/cdn/components/icon/solid-icons.js +34 -0
- package/cdn/components/index.js +15 -14
- package/cdn/components/input/index.js +7 -6
- package/cdn/components/input/input.js +48 -23
- package/cdn/components/link/index.js +4 -3
- package/cdn/components/link/link.js +8 -7
- package/cdn/components/list-box-item/index.js +5 -4
- package/cdn/components/list-box-item/list-box-item.js +9 -16
- package/cdn/components/modal/index.js +5 -4
- package/cdn/components/modal/modal.js +20 -9
- package/cdn/components/popconfirm/index.js +6 -5
- package/cdn/components/popconfirm/popconfirm.js +16 -19
- package/cdn/components/popover/index.js +6 -5
- package/cdn/components/popover/popover.js +29 -14
- package/cdn/components/radio/index.js +6 -5
- package/cdn/components/radio/radio.js +18 -35
- package/cdn/components/radio-group/index.js +4 -3
- package/cdn/components/radio-group/radio-group.js +10 -9
- package/cdn/components/rating/index.js +7 -9
- package/cdn/components/rating/rating.js +12 -16
- package/cdn/components/segmented-picker/index.js +3 -3
- package/cdn/components/segmented-picker/segmented-picker.component.js +3 -3
- package/cdn/components/segmented-picker-item/index.js +5 -4
- package/cdn/components/segmented-picker-item/segmented-picker-item.component.js +10 -16
- package/cdn/components/select/index.js +6 -5
- package/cdn/components/select/select.js +34 -18
- package/cdn/components/select/select.style.js +5 -1
- package/cdn/components/select-item/index.js +6 -5
- package/cdn/components/select-item/select-item.js +8 -7
- package/cdn/components/service/index.js +5 -8
- package/cdn/components/service/service.js +6 -9
- package/cdn/components/tab/index.js +5 -4
- package/cdn/components/tab/tab.js +15 -11
- package/cdn/components/tab-group/index.js +5 -4
- package/cdn/components/tab-group/tab-group.js +11 -8
- package/cdn/components/tab-panel/index.js +4 -3
- package/cdn/components/tab-panel/tab-panel.js +7 -7
- package/cdn/components/tag/index.js +5 -4
- package/cdn/components/tag/tag.js +7 -9
- package/cdn/components/text/index.js +3 -3
- package/cdn/components/text/text.js +3 -3
- package/cdn/components/textarea/index.js +7 -6
- package/cdn/components/textarea/textarea.js +18 -12
- package/cdn/components/toast/index.js +4 -7
- package/cdn/components/toast/toast.js +9 -12
- package/cdn/components/toast-container/index.js +5 -8
- package/cdn/components/toast-container/toast-container.js +5 -8
- package/cdn/components/toggle/index.js +8 -11
- package/cdn/components/toggle/toggle.js +24 -26
- package/cdn/components/tooltip/index.js +5 -5
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/factory/tailwind-factory.js +7 -7
- package/cdn/floating-ui.dom-CXNHR8n2.js +1 -0
- package/cdn/{floating-ui.dom-BpzIshEG.js → floating-ui.dom-OBaMlALa.js} +14 -26
- package/cdn/global-CFlb4NrK.js +31 -0
- package/cdn/global-DJT9VHCE.js +1 -0
- package/cdn/{if-defined-CIB8OTrH.js → if-defined-CQ5F5a3V.js} +1 -1
- package/{dist/if-defined-DpyZ37D-.js → cdn/if-defined-D-m3dgRf.js} +1 -1
- package/cdn/lit-element-ByzbtpGk.js +27 -0
- package/cdn/lit-element-DNNEDGnu.js +23 -0
- package/cdn/{live-C1eBrEBV.js → live-BOAtKRUN.js} +1 -1
- package/cdn/{live-CYp4nasd.js → live-Ba4FL2pG.js} +1 -1
- package/cdn/loader.js +3 -7
- package/cdn/property-DLlzgs39.js +7 -0
- package/cdn/{property-Dz31PgR6.js → property-DiPQx9S3.js} +2 -2
- package/{dist/query-assigned-elements-BjEeiBhg.js → cdn/query-assigned-elements-D78NayL0.js} +1 -1
- package/{dist/state-CQcls-Yf.js → cdn/state-CoIPL7X5.js} +1 -1
- package/cdn/{state-BRspp5eU.js → state-D1d5Sfj8.js} +1 -1
- package/{dist/style-map-Cgr6kXUm.js → cdn/style-map-DC_vNus2.js} +1 -1
- package/cdn/{style-map-BYRi_l0u.js → style-map-Z-XBeQmS.js} +1 -1
- package/cdn/utils/boolean-converter.js +30 -0
- package/custom-elements.json +663 -355
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/accordion.js +33 -8
- package/dist/components/accordion/accordion.js.map +1 -1
- package/dist/components/accordion/accordion.style.js +2 -2
- package/dist/components/accordion/accordion.style.js.map +1 -1
- package/dist/components/accordion/index.js +3 -2
- package/dist/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/components/accordion-group/accordion-group.d.ts.map +1 -1
- package/dist/components/accordion-group/accordion-group.js +4 -3
- package/dist/components/accordion-group/accordion-group.js.map +1 -1
- package/dist/components/accordion-group/index.js +3 -2
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/alert.js +24 -13
- package/dist/components/alert/alert.js.map +1 -1
- package/dist/components/alert/index.js +4 -3
- package/dist/components/avatar/avatar.d.ts +4 -3
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/avatar.js +25 -10
- package/dist/components/avatar/avatar.js.map +1 -1
- package/dist/components/avatar/avatar.style.js +1 -1
- package/dist/components/avatar/avatar.style.js.map +1 -1
- package/dist/components/avatar/index.js +5 -4
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/badge.host.style.js +1 -1
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/badge/index.js +4 -4
- package/dist/components/base/index.js +1 -1
- package/dist/components/base/tailwind-base.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb/index.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts.map +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +8 -7
- package/dist/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/components/breadcrumb-item/index.js +4 -3
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +11 -7
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/button/index.js +4 -3
- package/dist/components/button-group/button-group.d.ts +2 -2
- package/dist/components/button-group/button-group.d.ts.map +1 -1
- package/dist/components/button-group/button-group.js +18 -28
- package/dist/components/button-group/button-group.js.map +1 -1
- package/dist/components/button-group/index.js +4 -3
- package/dist/components/checkbox/checkbox.d.ts +1 -2
- package/dist/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.js +12 -15
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/checkbox/index.js +5 -8
- package/dist/components/checkbox-group/checkbox-group.d.ts +2 -3
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +40 -19
- package/dist/components/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/components/checkbox-group/index.js +3 -2
- package/dist/components/chip/chip.d.ts +1 -1
- package/dist/components/chip/chip.d.ts.map +1 -1
- package/dist/components/chip/chip.js +8 -7
- package/dist/components/chip/chip.js.map +1 -1
- package/dist/components/chip/index.js +4 -3
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/divider/divider.style.js +1 -1
- package/dist/components/divider/index.js +3 -3
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/drawer/drawer.js +11 -5
- package/dist/components/drawer/drawer.js.map +1 -1
- package/dist/components/drawer/index.js +4 -3
- package/dist/components/dropdown/dropdown.d.ts +1 -1
- package/dist/components/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/dropdown/dropdown.js +9 -8
- package/dist/components/dropdown/dropdown.js.map +1 -1
- package/dist/components/dropdown/index.js +5 -4
- package/dist/components/dropdown-item/dropdown-item.d.ts +1 -1
- package/dist/components/dropdown-item/dropdown-item.d.ts.map +1 -1
- package/dist/components/dropdown-item/dropdown-item.js +7 -6
- package/dist/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/components/dropdown-item/index.js +5 -4
- package/dist/components/icon/icon-registry.d.ts +50 -0
- package/dist/components/icon/icon-registry.d.ts.map +1 -0
- package/dist/components/icon/icon-registry.js +103 -0
- package/dist/components/icon/icon-registry.js.map +1 -0
- package/dist/components/icon/icon.d.ts +55 -7
- package/dist/components/icon/icon.d.ts.map +1 -1
- package/dist/components/icon/icon.js +198 -2956
- package/dist/components/icon/icon.js.map +1 -1
- package/dist/components/icon/index.d.ts +3 -1
- package/dist/components/icon/index.d.ts.map +1 -1
- package/dist/components/icon/index.js +10 -3
- package/dist/components/icon/index.js.map +1 -1
- package/dist/components/icon/light-icons.d.ts +7 -0
- package/dist/components/icon/light-icons.d.ts.map +1 -0
- package/dist/components/icon/light-icons.js +8 -0
- package/dist/components/icon/light-icons.js.map +1 -0
- package/dist/components/icon/regular-icons.d.ts +9 -0
- package/dist/components/icon/regular-icons.d.ts.map +1 -0
- package/dist/components/icon/regular-icons.js +10 -0
- package/dist/components/icon/regular-icons.js.map +1 -0
- package/dist/components/icon/solid-icons.d.ts +28 -0
- package/dist/components/icon/solid-icons.d.ts.map +1 -0
- package/dist/components/icon/solid-icons.js +34 -0
- package/dist/components/icon/solid-icons.js.map +1 -0
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +14 -13
- package/dist/components/index.js.map +1 -1
- package/dist/components/input/index.js +6 -5
- package/dist/components/input/input.d.ts +10 -3
- package/dist/components/input/input.d.ts.map +1 -1
- package/dist/components/input/input.js +47 -22
- package/dist/components/input/input.js.map +1 -1
- package/dist/components/link/index.js +3 -2
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/link/link.js +7 -6
- package/dist/components/link/link.js.map +1 -1
- package/dist/components/list-box-item/index.js +4 -3
- package/dist/components/list-box-item/list-box-item.d.ts +3 -11
- package/dist/components/list-box-item/list-box-item.d.ts.map +1 -1
- package/dist/components/list-box-item/list-box-item.js +8 -15
- package/dist/components/list-box-item/list-box-item.js.map +1 -1
- package/dist/components/modal/index.js +4 -3
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/modal/modal.d.ts.map +1 -1
- package/dist/components/modal/modal.js +19 -8
- package/dist/components/modal/modal.js.map +1 -1
- package/dist/components/popconfirm/index.js +5 -4
- package/dist/components/popconfirm/popconfirm.d.ts +1 -7
- package/dist/components/popconfirm/popconfirm.d.ts.map +1 -1
- package/dist/components/popconfirm/popconfirm.js +15 -18
- package/dist/components/popconfirm/popconfirm.js.map +1 -1
- package/dist/components/popover/index.js +5 -4
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/popover/popover.js +28 -13
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/radio/index.js +5 -4
- package/dist/components/radio/radio.d.ts +8 -26
- package/dist/components/radio/radio.d.ts.map +1 -1
- package/dist/components/radio/radio.js +17 -34
- package/dist/components/radio/radio.js.map +1 -1
- package/dist/components/radio-group/index.js +3 -2
- package/dist/components/radio-group/radio-group.d.ts +4 -4
- package/dist/components/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group/radio-group.js +9 -8
- package/dist/components/radio-group/radio-group.js.map +1 -1
- package/dist/components/rating/index.js +6 -8
- package/dist/components/rating/rating.d.ts +1 -2
- package/dist/components/rating/rating.d.ts.map +1 -1
- package/dist/components/rating/rating.js +11 -15
- package/dist/components/rating/rating.js.map +1 -1
- package/dist/components/segmented-picker/index.js +2 -2
- package/dist/components/segmented-picker/segmented-picker.component.d.ts +1 -1
- package/dist/components/segmented-picker/segmented-picker.component.js +2 -2
- package/dist/components/segmented-picker-item/index.js +4 -3
- package/dist/components/segmented-picker-item/segmented-picker-item.component.d.ts +4 -11
- package/dist/components/segmented-picker-item/segmented-picker-item.component.d.ts.map +1 -1
- package/dist/components/segmented-picker-item/segmented-picker-item.component.js +9 -15
- package/dist/components/segmented-picker-item/segmented-picker-item.component.js.map +1 -1
- package/dist/components/select/index.js +5 -4
- package/dist/components/select/select.d.ts +6 -1
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/select/select.js +33 -17
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/select/select.style.d.ts +28 -0
- package/dist/components/select/select.style.d.ts.map +1 -1
- package/dist/components/select/select.style.js +5 -1
- package/dist/components/select/select.style.js.map +1 -1
- package/dist/components/select-item/index.js +5 -4
- package/dist/components/select-item/select-item.d.ts +1 -1
- package/dist/components/select-item/select-item.d.ts.map +1 -1
- package/dist/components/select-item/select-item.js +7 -6
- package/dist/components/select-item/select-item.js.map +1 -1
- package/dist/components/service/index.js +4 -7
- package/dist/components/service/service.d.ts +1 -1
- package/dist/components/service/service.js +5 -8
- package/dist/components/tab/index.js +4 -3
- package/dist/components/tab/tab.d.ts +3 -3
- package/dist/components/tab/tab.d.ts.map +1 -1
- package/dist/components/tab/tab.js +14 -10
- package/dist/components/tab/tab.js.map +1 -1
- package/dist/components/tab-group/index.js +4 -3
- package/dist/components/tab-group/tab-group.d.ts +2 -2
- package/dist/components/tab-group/tab-group.d.ts.map +1 -1
- package/dist/components/tab-group/tab-group.js +10 -7
- package/dist/components/tab-group/tab-group.js.map +1 -1
- package/dist/components/tab-panel/index.js +3 -2
- package/dist/components/tab-panel/tab-panel.d.ts +3 -4
- package/dist/components/tab-panel/tab-panel.d.ts.map +1 -1
- package/dist/components/tab-panel/tab-panel.js +6 -6
- package/dist/components/tab-panel/tab-panel.js.map +1 -1
- package/dist/components/tag/index.js +4 -3
- package/dist/components/tag/tag.d.ts +2 -5
- package/dist/components/tag/tag.d.ts.map +1 -1
- package/dist/components/tag/tag.js +6 -8
- package/dist/components/tag/tag.js.map +1 -1
- package/dist/components/text/index.js +2 -2
- package/dist/components/text/text.d.ts +1 -1
- package/dist/components/text/text.js +2 -2
- package/dist/components/textarea/index.js +6 -5
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/textarea/textarea.d.ts.map +1 -1
- package/dist/components/textarea/textarea.js +17 -11
- package/dist/components/textarea/textarea.js.map +1 -1
- package/dist/components/toast/index.js +3 -6
- package/dist/components/toast/toast.d.ts +1 -2
- package/dist/components/toast/toast.d.ts.map +1 -1
- package/dist/components/toast/toast.js +8 -11
- package/dist/components/toast/toast.js.map +1 -1
- package/dist/components/toast-container/index.js +4 -7
- package/dist/components/toast-container/toast-container.d.ts +1 -1
- package/dist/components/toast-container/toast-container.js +4 -7
- package/dist/components/toggle/index.js +7 -10
- package/dist/components/toggle/toggle.d.ts +2 -4
- package/dist/components/toggle/toggle.d.ts.map +1 -1
- package/dist/components/toggle/toggle.js +23 -25
- package/dist/components/toggle/toggle.js.map +1 -1
- package/dist/components/tooltip/index.js +4 -4
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/factory/tailwind-factory.d.ts.map +1 -1
- package/dist/factory/tailwind-factory.js +6 -6
- package/dist/floating-ui.dom-D2kZGcxs.js +1 -0
- package/dist/{floating-ui.dom-BpzIshEG.js → floating-ui.dom-OBaMlALa.js} +14 -26
- package/{cdn/if-defined-DpyZ37D-.js → dist/if-defined-D-m3dgRf.js} +1 -1
- package/dist/{if-defined-ByWlXMXY.js → if-defined-Lnht-wFh.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/lit-element-BrXyG1pe.js +23 -0
- package/dist/lit-element-ByzbtpGk.js +27 -0
- package/dist/{live-C1eBrEBV.js → live-BOAtKRUN.js} +1 -1
- package/dist/{live-pVFa0Jqn.js → live-BmuA0KMh.js} +1 -1
- package/dist/model/plus.d.ts.map +1 -1
- package/dist/property-B6euWYsa.js +7 -0
- package/dist/{property-Dz31PgR6.js → property-DiPQx9S3.js} +2 -2
- package/dist/{query-RRtZCxQ7.js → query-CS0ORr77.js} +1 -1
- package/{cdn/query-assigned-elements-BVENYXMn.js → dist/query-assigned-elements-kixPV2ud.js} +2 -2
- package/{cdn/state-hFbsBSdV.js → dist/state-CLE0KCMj.js} +1 -1
- package/dist/{state-BRspp5eU.js → state-D1d5Sfj8.js} +1 -1
- package/{cdn/style-map-Cgr6kXUm.js → dist/style-map-DC_vNus2.js} +1 -1
- package/dist/{style-map-BRcUXxgF.js → style-map-YDK_mtXK.js} +1 -1
- package/dist/styles/global.js +2 -2
- package/dist/utils/boolean-converter.d.ts +21 -0
- package/dist/utils/boolean-converter.d.ts.map +1 -0
- package/dist/utils/boolean-converter.js +30 -0
- package/dist/utils/boolean-converter.js.map +1 -0
- package/eslint/custom-element-eslint-rules.js +9 -9
- package/package.json +2 -6
- package/public/html/index.js +15772 -0
- package/public/react/index.d.ts +6908 -0
- package/public/react/index.js +17355 -0
- package/react/PlusAccordion.js +9 -9
- package/react/PlusAccordionGroup.js +3 -1
- package/react/PlusAlert.js +9 -9
- package/react/PlusAvatar.d.ts +1 -1
- package/react/PlusAvatar.js +3 -1
- package/react/PlusBadge.js +3 -1
- package/react/PlusBreadcrumb.js +3 -1
- package/react/PlusBreadcrumbItem.js +3 -1
- package/react/PlusButton.js +3 -1
- package/react/PlusButtonGroup.js +3 -1
- package/react/PlusCheckbox.js +17 -9
- package/react/PlusCheckboxGroup.js +9 -9
- package/react/PlusChip.js +3 -1
- package/react/PlusDivider.js +9 -9
- package/react/PlusDrawer.js +7 -1
- package/react/PlusDropDownItem.js +9 -9
- package/react/PlusDropdown.js +9 -9
- package/react/PlusIcon.d.ts +17 -3
- package/react/PlusIcon.js +8 -4
- package/react/PlusInput.d.ts +5 -8
- package/react/PlusInput.js +16 -13
- package/react/PlusLink.js +3 -1
- package/react/PlusListBoxItem.d.ts +2 -4
- package/react/PlusListBoxItem.js +9 -9
- package/react/PlusModal.js +7 -1
- package/react/PlusPopconfirm.d.ts +2 -8
- package/react/PlusPopconfirm.js +9 -9
- package/react/PlusPopover.js +11 -11
- package/react/PlusRadio.d.ts +7 -7
- package/react/PlusRadio.js +12 -9
- package/react/PlusRadioGroup.d.ts +3 -3
- package/react/PlusRadioGroup.js +3 -1
- package/react/PlusRating.js +12 -9
- package/react/PlusSegmentedPicker.js +9 -9
- package/react/PlusSegmentedPickerItem.d.ts +5 -2
- package/react/PlusSegmentedPickerItem.js +3 -1
- package/react/PlusSelect.d.ts +3 -0
- package/react/PlusSelect.js +11 -9
- package/react/PlusSelectItem.js +9 -9
- package/react/PlusService.js +3 -1
- package/react/PlusTab.d.ts +2 -2
- package/react/PlusTab.js +3 -1
- package/react/PlusTabGroup.d.ts +1 -1
- package/react/PlusTabGroup.js +9 -9
- package/react/PlusTabPanel.d.ts +2 -2
- package/react/PlusTabPanel.js +3 -1
- package/react/PlusTag.js +3 -1
- package/react/PlusText.js +3 -1
- package/react/PlusTextarea.js +14 -9
- package/react/PlusToast.js +9 -9
- package/react/PlusToastContainer.js +3 -1
- package/react/PlusToggle.d.ts +0 -3
- package/react/PlusToggle.js +14 -11
- package/react/PlusTooltip.js +3 -1
- package/react/Tailwind.js +3 -1
- package/react/index.d.ts +1 -2
- package/react/index.js +1 -2
- package/types/custom-element-jsx.d.ts +61 -68
- package/types/custom-element-solidjs.d.ts +64 -73
- package/types/custom-element-svelte.d.ts +61 -68
- package/types/custom-element-vuejs.d.ts +61 -68
- package/vscode.css-custom-data.json +17 -0
- package/vscode.html-custom-data.json +103 -78
- package/web-types.json +163 -120
- package/cdn/components/svg-icon/icons.js +0 -31
- package/cdn/components/svg-icon/index.js +0 -8
- package/cdn/components/svg-icon/svg-icon.js +0 -31
- package/cdn/floating-ui.dom-BYyWpmHF.js +0 -1
- package/cdn/global-CvNEUQeA.js +0 -31
- package/cdn/global-DePk2FdN.js +0 -1
- package/cdn/lit-element-BNK__jO-.js +0 -27
- package/cdn/lit-element-CSuLHuHb.js +0 -22
- package/cdn/property-B8EDuyz_.js +0 -7
- package/cdn/unsafe-html-BXTWMFA8.js +0 -10
- package/cdn/unsafe-html-CFzahWAO.js +0 -6
- package/dist/components/svg-icon/icons.d.ts +0 -25
- package/dist/components/svg-icon/icons.d.ts.map +0 -1
- package/dist/components/svg-icon/icons.js +0 -31
- package/dist/components/svg-icon/icons.js.map +0 -1
- package/dist/components/svg-icon/index.d.ts +0 -3
- package/dist/components/svg-icon/index.d.ts.map +0 -1
- package/dist/components/svg-icon/index.js +0 -8
- package/dist/components/svg-icon/index.js.map +0 -1
- package/dist/components/svg-icon/svg-icon.d.ts +0 -9
- package/dist/components/svg-icon/svg-icon.d.ts.map +0 -1
- package/dist/components/svg-icon/svg-icon.js +0 -31
- package/dist/components/svg-icon/svg-icon.js.map +0 -1
- package/dist/floating-ui.dom-CC_JVmd9.js +0 -1
- package/dist/lit-element-B7kcWHze.js +0 -22
- package/dist/lit-element-BNK__jO-.js +0 -27
- package/dist/property-Bb1Db6at.js +0 -7
- package/dist/unsafe-html-BXTWMFA8.js +0 -10
- package/dist/unsafe-html-CglCgc9K.js +0 -6
- package/react/PlusSvgIcon.d.ts +0 -52
- package/react/PlusSvgIcon.js +0 -21
- /package/dist/{base-DxcUbjR1.js → base-AyU8eeio.js} +0 -0
- /package/dist/{directive-BnoBrrxd.js → directive-D_Ke56J1.js} +0 -0
- /package/dist/{index-DHCwMC4J.js → index-CsKO2ZpR.js} +0 -0
|
@@ -49,7 +49,7 @@ type PlusAvatarProps = {
|
|
|
49
49
|
/** Size of the avatar
|
|
50
50
|
Can be a predefined size (xs, sm, md, lg, xl) or custom value */
|
|
51
51
|
size?: Size | string;
|
|
52
|
-
/** Icon
|
|
52
|
+
/** Icon name to use when no image is available */
|
|
53
53
|
icon?: string;
|
|
54
54
|
/** Toggles inverted color scheme */
|
|
55
55
|
invert?: boolean;
|
|
@@ -122,13 +122,6 @@ When false, each button can have its own properties. */
|
|
|
122
122
|
loading?: boolean;
|
|
123
123
|
};
|
|
124
124
|
|
|
125
|
-
type PlusIconProps = {
|
|
126
|
-
/** */
|
|
127
|
-
iconName?: IconName | undefined;
|
|
128
|
-
/** */
|
|
129
|
-
prefix?: IconPrefix;
|
|
130
|
-
};
|
|
131
|
-
|
|
132
125
|
type PlusBadgeProps = {
|
|
133
126
|
/** Sets the status/color variant of the badge
|
|
134
127
|
- default: Neutral color scheme
|
|
@@ -178,9 +171,15 @@ type PlusTagProps = {
|
|
|
178
171
|
"bind:ariaLabel"?: string;
|
|
179
172
|
};
|
|
180
173
|
|
|
181
|
-
type
|
|
182
|
-
/**
|
|
183
|
-
|
|
174
|
+
type PlusIconProps = {
|
|
175
|
+
/** Name of the icon to display */
|
|
176
|
+
"icon-name"?: IconName;
|
|
177
|
+
/** Style variant of the icon: solid, regular, or light */
|
|
178
|
+
"icon-style"?: IconStyle;
|
|
179
|
+
/** Size variant for the icon */
|
|
180
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
181
|
+
/** Label for accessibility - will be used as aria-label */
|
|
182
|
+
label?: string | undefined;
|
|
184
183
|
};
|
|
185
184
|
|
|
186
185
|
type PlusChipProps = {
|
|
@@ -296,19 +295,19 @@ type PlusRadioProps = {
|
|
|
296
295
|
size?: "sm" | "md" | "lg";
|
|
297
296
|
/** Defines the text label for the radio button */
|
|
298
297
|
text?: string | undefined;
|
|
299
|
-
/**
|
|
298
|
+
/** Whether the radio is checked. */
|
|
300
299
|
checked?: boolean;
|
|
301
|
-
/**
|
|
300
|
+
/** Whether the radio is in an error state. */
|
|
302
301
|
error?: boolean;
|
|
303
|
-
/**
|
|
302
|
+
/** Whether the radio is disabled. */
|
|
304
303
|
disabled?: boolean;
|
|
305
|
-
/**
|
|
304
|
+
/** Whether the radio is readonly. */
|
|
306
305
|
readonly?: boolean;
|
|
307
|
-
/** The
|
|
306
|
+
/** The radio's name attribute. */
|
|
308
307
|
name?: string;
|
|
309
|
-
/**
|
|
308
|
+
/** Whether the radio is required. */
|
|
310
309
|
required?: boolean;
|
|
311
|
-
/** The value
|
|
310
|
+
/** The radio's value attribute. */
|
|
312
311
|
value?: string;
|
|
313
312
|
/** */
|
|
314
313
|
"bind:input"?: HTMLInputElement;
|
|
@@ -319,11 +318,11 @@ type PlusRadioProps = {
|
|
|
319
318
|
};
|
|
320
319
|
|
|
321
320
|
type PlusSegmentedPickerItemProps = {
|
|
322
|
-
/**
|
|
321
|
+
/** The value associated with the item. */
|
|
323
322
|
checked?: boolean;
|
|
324
323
|
/** The status of the item. */
|
|
325
324
|
status?: "default" | "primary";
|
|
326
|
-
/**
|
|
325
|
+
/** Disables the item, making it non-interactive. */
|
|
327
326
|
disabled?: boolean;
|
|
328
327
|
/** The shape of the item. */
|
|
329
328
|
shape?: "square" | "circle";
|
|
@@ -355,16 +354,16 @@ type PlusRadioGroupProps = {
|
|
|
355
354
|
name?: string;
|
|
356
355
|
/** */
|
|
357
356
|
value?: string;
|
|
358
|
-
/**
|
|
357
|
+
/** Disables all radio buttons in the group. */
|
|
359
358
|
disabled?: boolean;
|
|
360
|
-
/**
|
|
359
|
+
/** Makes the radio group required for form submission. */
|
|
361
360
|
required?: boolean;
|
|
362
361
|
/** The size of all radio buttons in the group
|
|
363
362
|
- sm: Small size
|
|
364
363
|
- md: Medium size
|
|
365
364
|
- lg: Large size */
|
|
366
365
|
size?: "sm" | "md" | "lg";
|
|
367
|
-
/**
|
|
366
|
+
/** Displays the radio buttons in an error state. */
|
|
368
367
|
error?: boolean;
|
|
369
368
|
/** Orientation of the radio buttons
|
|
370
369
|
- horizontal: Radio buttons are arranged side by side
|
|
@@ -497,12 +496,12 @@ Available options:
|
|
|
497
496
|
|
|
498
497
|
- `true` (default) - An icon representing the status will be displayed.
|
|
499
498
|
- `false` - No icon will be displayed. */
|
|
500
|
-
|
|
499
|
+
"status-icon"?: boolean;
|
|
501
500
|
/** Determines whether the arrow should be displayed.
|
|
502
501
|
|
|
503
502
|
- `true` (default) - Arrow will be displayed.
|
|
504
503
|
- `false` - Arrow will be hidden. */
|
|
505
|
-
|
|
504
|
+
"show-arrow"?: boolean;
|
|
506
505
|
/** */
|
|
507
506
|
"bind:slots"?: Array<HTMLElement>;
|
|
508
507
|
/** Emitted when the popover is opened */
|
|
@@ -519,11 +518,9 @@ type PlusListBoxItemProps = {
|
|
|
519
518
|
- md: Medium size
|
|
520
519
|
- lg: Large size */
|
|
521
520
|
size?: "sm" | "md" | "lg";
|
|
522
|
-
/** Disables the
|
|
523
|
-
When disabled, the item cannot be clicked or selected */
|
|
521
|
+
/** Disables the item, making it non-interactive. */
|
|
524
522
|
disabled?: boolean;
|
|
525
|
-
/**
|
|
526
|
-
When selected, the item will display with a highlighted background */
|
|
523
|
+
/** Indicates whether the item is currently selected. */
|
|
527
524
|
selected?: boolean;
|
|
528
525
|
/** Sets the text content of the list box item
|
|
529
526
|
If provided, this will be used as the item's content when no slot content is present */
|
|
@@ -609,16 +606,6 @@ type PlusTooltipProps = {
|
|
|
609
606
|
};
|
|
610
607
|
|
|
611
608
|
type PlusInputProps = {
|
|
612
|
-
/** The type of input */
|
|
613
|
-
type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url";
|
|
614
|
-
/** The name of the input */
|
|
615
|
-
name?: string;
|
|
616
|
-
/** The value of the input */
|
|
617
|
-
value?: string;
|
|
618
|
-
/** The placeholder text */
|
|
619
|
-
placeholder?: string;
|
|
620
|
-
/** The size of the input */
|
|
621
|
-
size?: "sm" | "md" | "lg";
|
|
622
609
|
/** Whether the input should have a clear button */
|
|
623
610
|
clearable?: boolean;
|
|
624
611
|
/** Whether the input is disabled */
|
|
@@ -631,6 +618,18 @@ type PlusInputProps = {
|
|
|
631
618
|
"password-toggle"?: boolean;
|
|
632
619
|
/** Whether the password is visible */
|
|
633
620
|
"password-visible"?: boolean;
|
|
621
|
+
/** Whether the input is in an error state */
|
|
622
|
+
error?: boolean;
|
|
623
|
+
/** The type of input */
|
|
624
|
+
type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url";
|
|
625
|
+
/** The name of the input */
|
|
626
|
+
name?: string;
|
|
627
|
+
/** The value of the input */
|
|
628
|
+
value?: string;
|
|
629
|
+
/** The placeholder text */
|
|
630
|
+
placeholder?: string;
|
|
631
|
+
/** The size of the input */
|
|
632
|
+
size?: "sm" | "md" | "lg";
|
|
634
633
|
/** The label for the input */
|
|
635
634
|
label?: string;
|
|
636
635
|
/** The validation pattern for the input */
|
|
@@ -650,23 +649,19 @@ type PlusInputProps = {
|
|
|
650
649
|
/** The autocomplete attribute */
|
|
651
650
|
autocomplete?: string;
|
|
652
651
|
/** Whether the input should automatically get focus */
|
|
653
|
-
autoFocus?: boolean;
|
|
652
|
+
autoFocus?: boolean | undefined;
|
|
654
653
|
/** The enterkeyhint attribute */
|
|
655
654
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
656
655
|
/** The inputmode attribute */
|
|
657
656
|
inputmode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
658
657
|
/** Whether spellcheck is enabled */
|
|
659
|
-
spellCheck?: boolean;
|
|
658
|
+
spellCheck?: boolean | undefined;
|
|
660
659
|
/** Caption text to display below the input */
|
|
661
660
|
caption?: string;
|
|
662
|
-
/** Whether the input is in an error state */
|
|
663
|
-
error?: boolean;
|
|
664
661
|
/** The error message to display */
|
|
665
662
|
"error-message"?: string;
|
|
666
663
|
/** Whether the input should take up full width */
|
|
667
664
|
"full-width"?: boolean;
|
|
668
|
-
/** Whether the input is used as part of a select component */
|
|
669
|
-
isSelect?: boolean;
|
|
670
665
|
/** Icon name for the prefix icon */
|
|
671
666
|
"prefix-icon"?: string;
|
|
672
667
|
/** Icon name for the suffix icon */
|
|
@@ -734,15 +729,9 @@ Available options:
|
|
|
734
729
|
- `primary` (default theme color)
|
|
735
730
|
- `default` (gray - default) */
|
|
736
731
|
status?: "success" | "warning" | "danger" | "info" | "primary" | "default";
|
|
737
|
-
/** Determines whether a status icon should be displayed in the popconfirm.
|
|
738
|
-
|
|
739
|
-
- `true` (default) - An icon representing the status will be displayed.
|
|
740
|
-
- `false` - No icon will be displayed. */
|
|
732
|
+
/** Determines whether a status icon should be displayed in the popconfirm. */
|
|
741
733
|
"status-icon"?: boolean;
|
|
742
|
-
/** Determines whether the arrow should be displayed.
|
|
743
|
-
|
|
744
|
-
- `true` (default) - Arrow will be displayed.
|
|
745
|
-
- `false` - Arrow will be hidden. */
|
|
734
|
+
/** Determines whether the arrow should be displayed. */
|
|
746
735
|
"show-arrow"?: boolean;
|
|
747
736
|
/** */
|
|
748
737
|
"bind:slots"?: Array<HTMLElement>;
|
|
@@ -979,6 +968,8 @@ type PlusSelectProps = {
|
|
|
979
968
|
caption?: string | undefined;
|
|
980
969
|
/** Enables a clear button to reset the selection. */
|
|
981
970
|
clearable?: boolean;
|
|
971
|
+
/** Makes the select full width. */
|
|
972
|
+
"full-width"?: boolean;
|
|
982
973
|
|
|
983
974
|
/** Emitted when the select is opened */
|
|
984
975
|
"on:plus-select-open"?: (e: CustomEvent<never>) => void;
|
|
@@ -1012,8 +1003,6 @@ type PlusToggleProps = {
|
|
|
1012
1003
|
/** */
|
|
1013
1004
|
"toggle-inactive-icon"?: string | undefined;
|
|
1014
1005
|
/** */
|
|
1015
|
-
"icon-size"?: number | undefined;
|
|
1016
|
-
/** */
|
|
1017
1006
|
error?: boolean;
|
|
1018
1007
|
/** */
|
|
1019
1008
|
"error-message"?: string;
|
|
@@ -1059,9 +1048,9 @@ type PlusTabProps = {
|
|
|
1059
1048
|
- horizontal: Tabs arranged horizontally
|
|
1060
1049
|
- vertical: Tabs arranged vertically */
|
|
1061
1050
|
orientation?: "horizontal" | "vertical";
|
|
1062
|
-
/** Icon to display before the tab content */
|
|
1051
|
+
/** Icon name to display before the tab content */
|
|
1063
1052
|
"prefix-icon"?: string | undefined;
|
|
1064
|
-
/** Icon to display after the tab content */
|
|
1053
|
+
/** Icon name to display after the tab content */
|
|
1065
1054
|
"suffix-icon"?: string | undefined;
|
|
1066
1055
|
/** Enables the dismiss button to remove the tab */
|
|
1067
1056
|
dismissible?: boolean;
|
|
@@ -1075,9 +1064,9 @@ This is controlled by the parent tab-group */
|
|
|
1075
1064
|
type PlusTabPanelProps = {
|
|
1076
1065
|
/** Sets the value of the tab panel, used for matching with a tab */
|
|
1077
1066
|
value?: string;
|
|
1078
|
-
/** Indicates
|
|
1067
|
+
/** Indicates whether the panel is currently active/visible. */
|
|
1079
1068
|
active?: boolean;
|
|
1080
|
-
/**
|
|
1069
|
+
/** An optional class to apply to the panel container. */
|
|
1081
1070
|
panelClass?: string;
|
|
1082
1071
|
};
|
|
1083
1072
|
|
|
@@ -1093,7 +1082,7 @@ type PlusTabGroupProps = {
|
|
|
1093
1082
|
orientation?: "horizontal" | "vertical";
|
|
1094
1083
|
/** Disables all tabs */
|
|
1095
1084
|
disabled?: boolean;
|
|
1096
|
-
/**
|
|
1085
|
+
/** Allows individual tabs to be dismissed (closed). */
|
|
1097
1086
|
dismissible?: boolean;
|
|
1098
1087
|
/** Currently active tab value */
|
|
1099
1088
|
value?: string;
|
|
@@ -1143,13 +1132,6 @@ export type CustomElements = {
|
|
|
1143
1132
|
*/
|
|
1144
1133
|
"plus-button-group": Partial<PlusButtonGroupProps & BaseProps & BaseEvents>;
|
|
1145
1134
|
|
|
1146
|
-
/**
|
|
1147
|
-
*
|
|
1148
|
-
* ---
|
|
1149
|
-
*
|
|
1150
|
-
*/
|
|
1151
|
-
"plus-icon": Partial<PlusIconProps & BaseProps & BaseEvents>;
|
|
1152
|
-
|
|
1153
1135
|
/**
|
|
1154
1136
|
*
|
|
1155
1137
|
* ---
|
|
@@ -1175,8 +1157,16 @@ export type CustomElements = {
|
|
|
1175
1157
|
*
|
|
1176
1158
|
* ---
|
|
1177
1159
|
*
|
|
1160
|
+
*
|
|
1161
|
+
* ### **CSS Properties:**
|
|
1162
|
+
* - **--icon-size** - Custom icon size (overrides size variants) _(default: undefined)_
|
|
1163
|
+
* - **--icon-color** - Custom icon color (overrides currentColor) _(default: undefined)_
|
|
1164
|
+
*
|
|
1165
|
+
* ### **CSS Parts:**
|
|
1166
|
+
* - **base** - The component's base wrapper
|
|
1167
|
+
* - **icon** - The SVG icon element
|
|
1178
1168
|
*/
|
|
1179
|
-
"plus-
|
|
1169
|
+
"plus-icon": Partial<PlusIconProps & BaseProps & BaseEvents>;
|
|
1180
1170
|
|
|
1181
1171
|
/**
|
|
1182
1172
|
*
|
|
@@ -1266,6 +1256,9 @@ export type CustomElements = {
|
|
|
1266
1256
|
* ### **Slots:**
|
|
1267
1257
|
* - _default_ - The content of the item.
|
|
1268
1258
|
*
|
|
1259
|
+
* ### **CSS Properties:**
|
|
1260
|
+
* - **--active-color** - Color of the active indicator _(default: undefined)_
|
|
1261
|
+
*
|
|
1269
1262
|
* ### **CSS Parts:**
|
|
1270
1263
|
* - **label** - The label element.
|
|
1271
1264
|
* - **input** - The input element.
|
|
@@ -12,7 +12,7 @@ type PlusAvatarProps = {
|
|
|
12
12
|
/** Size of the avatar
|
|
13
13
|
Can be a predefined size (xs, sm, md, lg, xl) or custom value */
|
|
14
14
|
size?: Size | string;
|
|
15
|
-
/** Icon
|
|
15
|
+
/** Icon name to use when no image is available */
|
|
16
16
|
icon?: string;
|
|
17
17
|
/** Toggles inverted color scheme */
|
|
18
18
|
invert?: boolean;
|
|
@@ -85,13 +85,6 @@ When false, each button can have its own properties. */
|
|
|
85
85
|
loading?: boolean;
|
|
86
86
|
};
|
|
87
87
|
|
|
88
|
-
type PlusIconProps = {
|
|
89
|
-
/** */
|
|
90
|
-
iconName?: IconName | undefined;
|
|
91
|
-
/** */
|
|
92
|
-
prefix?: IconPrefix;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
88
|
type PlusBadgeProps = {
|
|
96
89
|
/** Sets the status/color variant of the badge
|
|
97
90
|
- default: Neutral color scheme
|
|
@@ -141,9 +134,15 @@ type PlusTagProps = {
|
|
|
141
134
|
ariaLabel?: string;
|
|
142
135
|
};
|
|
143
136
|
|
|
144
|
-
type
|
|
145
|
-
/**
|
|
146
|
-
|
|
137
|
+
type PlusIconProps = {
|
|
138
|
+
/** Name of the icon to display */
|
|
139
|
+
"icon-name"?: IconName;
|
|
140
|
+
/** Style variant of the icon: solid, regular, or light */
|
|
141
|
+
"icon-style"?: IconStyle;
|
|
142
|
+
/** Size variant for the icon */
|
|
143
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
144
|
+
/** Label for accessibility - will be used as aria-label */
|
|
145
|
+
label?: string | undefined;
|
|
147
146
|
};
|
|
148
147
|
|
|
149
148
|
type PlusChipProps = {
|
|
@@ -259,19 +258,19 @@ type PlusRadioProps = {
|
|
|
259
258
|
size?: "sm" | "md" | "lg";
|
|
260
259
|
/** Defines the text label for the radio button */
|
|
261
260
|
text?: string | undefined;
|
|
262
|
-
/**
|
|
261
|
+
/** Whether the radio is checked. */
|
|
263
262
|
checked?: boolean;
|
|
264
|
-
/**
|
|
263
|
+
/** Whether the radio is in an error state. */
|
|
265
264
|
error?: boolean;
|
|
266
|
-
/**
|
|
265
|
+
/** Whether the radio is disabled. */
|
|
267
266
|
disabled?: boolean;
|
|
268
|
-
/**
|
|
267
|
+
/** Whether the radio is readonly. */
|
|
269
268
|
readonly?: boolean;
|
|
270
|
-
/** The
|
|
269
|
+
/** The radio's name attribute. */
|
|
271
270
|
name?: string;
|
|
272
|
-
/**
|
|
271
|
+
/** Whether the radio is required. */
|
|
273
272
|
required?: boolean;
|
|
274
|
-
/** The value
|
|
273
|
+
/** The radio's value attribute. */
|
|
275
274
|
value?: string;
|
|
276
275
|
/** */
|
|
277
276
|
input?: HTMLInputElement;
|
|
@@ -282,11 +281,11 @@ type PlusRadioProps = {
|
|
|
282
281
|
};
|
|
283
282
|
|
|
284
283
|
type PlusSegmentedPickerItemProps = {
|
|
285
|
-
/**
|
|
284
|
+
/** The value associated with the item. */
|
|
286
285
|
checked?: boolean;
|
|
287
286
|
/** The status of the item. */
|
|
288
287
|
status?: "default" | "primary";
|
|
289
|
-
/**
|
|
288
|
+
/** Disables the item, making it non-interactive. */
|
|
290
289
|
disabled?: boolean;
|
|
291
290
|
/** The shape of the item. */
|
|
292
291
|
shape?: "square" | "circle";
|
|
@@ -318,16 +317,16 @@ type PlusRadioGroupProps = {
|
|
|
318
317
|
name?: string;
|
|
319
318
|
/** */
|
|
320
319
|
value?: string;
|
|
321
|
-
/**
|
|
320
|
+
/** Disables all radio buttons in the group. */
|
|
322
321
|
disabled?: boolean;
|
|
323
|
-
/**
|
|
322
|
+
/** Makes the radio group required for form submission. */
|
|
324
323
|
required?: boolean;
|
|
325
324
|
/** The size of all radio buttons in the group
|
|
326
325
|
- sm: Small size
|
|
327
326
|
- md: Medium size
|
|
328
327
|
- lg: Large size */
|
|
329
328
|
size?: "sm" | "md" | "lg";
|
|
330
|
-
/**
|
|
329
|
+
/** Displays the radio buttons in an error state. */
|
|
331
330
|
error?: boolean;
|
|
332
331
|
/** Orientation of the radio buttons
|
|
333
332
|
- horizontal: Radio buttons are arranged side by side
|
|
@@ -460,12 +459,12 @@ Available options:
|
|
|
460
459
|
|
|
461
460
|
- `true` (default) - An icon representing the status will be displayed.
|
|
462
461
|
- `false` - No icon will be displayed. */
|
|
463
|
-
|
|
462
|
+
"status-icon"?: boolean;
|
|
464
463
|
/** Determines whether the arrow should be displayed.
|
|
465
464
|
|
|
466
465
|
- `true` (default) - Arrow will be displayed.
|
|
467
466
|
- `false` - Arrow will be hidden. */
|
|
468
|
-
|
|
467
|
+
"show-arrow"?: boolean;
|
|
469
468
|
/** */
|
|
470
469
|
slots?: Array<HTMLElement>;
|
|
471
470
|
/** Emitted when the popover is opened */
|
|
@@ -482,11 +481,9 @@ type PlusListBoxItemProps = {
|
|
|
482
481
|
- md: Medium size
|
|
483
482
|
- lg: Large size */
|
|
484
483
|
size?: "sm" | "md" | "lg";
|
|
485
|
-
/** Disables the
|
|
486
|
-
When disabled, the item cannot be clicked or selected */
|
|
484
|
+
/** Disables the item, making it non-interactive. */
|
|
487
485
|
disabled?: boolean;
|
|
488
|
-
/**
|
|
489
|
-
When selected, the item will display with a highlighted background */
|
|
486
|
+
/** Indicates whether the item is currently selected. */
|
|
490
487
|
selected?: boolean;
|
|
491
488
|
/** Sets the text content of the list box item
|
|
492
489
|
If provided, this will be used as the item's content when no slot content is present */
|
|
@@ -572,16 +569,6 @@ type PlusTooltipProps = {
|
|
|
572
569
|
};
|
|
573
570
|
|
|
574
571
|
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
572
|
/** Whether the input should have a clear button */
|
|
586
573
|
clearable?: boolean;
|
|
587
574
|
/** Whether the input is disabled */
|
|
@@ -594,6 +581,18 @@ type PlusInputProps = {
|
|
|
594
581
|
"password-toggle"?: boolean;
|
|
595
582
|
/** Whether the password is visible */
|
|
596
583
|
"password-visible"?: boolean;
|
|
584
|
+
/** Whether the input is in an error state */
|
|
585
|
+
error?: boolean;
|
|
586
|
+
/** The type of input */
|
|
587
|
+
type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url";
|
|
588
|
+
/** The name of the input */
|
|
589
|
+
name?: string;
|
|
590
|
+
/** The value of the input */
|
|
591
|
+
value?: string;
|
|
592
|
+
/** The placeholder text */
|
|
593
|
+
placeholder?: string;
|
|
594
|
+
/** The size of the input */
|
|
595
|
+
size?: "sm" | "md" | "lg";
|
|
597
596
|
/** The label for the input */
|
|
598
597
|
label?: string;
|
|
599
598
|
/** The validation pattern for the input */
|
|
@@ -613,23 +612,19 @@ type PlusInputProps = {
|
|
|
613
612
|
/** The autocomplete attribute */
|
|
614
613
|
autocomplete?: string;
|
|
615
614
|
/** Whether the input should automatically get focus */
|
|
616
|
-
autoFocus?: boolean;
|
|
615
|
+
autoFocus?: boolean | undefined;
|
|
617
616
|
/** The enterkeyhint attribute */
|
|
618
617
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
619
618
|
/** The inputmode attribute */
|
|
620
619
|
inputmode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
621
620
|
/** Whether spellcheck is enabled */
|
|
622
|
-
spellCheck?: boolean;
|
|
621
|
+
spellCheck?: boolean | undefined;
|
|
623
622
|
/** Caption text to display below the input */
|
|
624
623
|
caption?: string;
|
|
625
|
-
/** Whether the input is in an error state */
|
|
626
|
-
error?: boolean;
|
|
627
624
|
/** The error message to display */
|
|
628
625
|
"error-message"?: string;
|
|
629
626
|
/** Whether the input should take up full width */
|
|
630
627
|
"full-width"?: boolean;
|
|
631
|
-
/** Whether the input is used as part of a select component */
|
|
632
|
-
isSelect?: boolean;
|
|
633
628
|
/** Icon name for the prefix icon */
|
|
634
629
|
"prefix-icon"?: string;
|
|
635
630
|
/** Icon name for the suffix icon */
|
|
@@ -697,15 +692,9 @@ Available options:
|
|
|
697
692
|
- `primary` (default theme color)
|
|
698
693
|
- `default` (gray - default) */
|
|
699
694
|
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. */
|
|
695
|
+
/** Determines whether a status icon should be displayed in the popconfirm. */
|
|
704
696
|
"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. */
|
|
697
|
+
/** Determines whether the arrow should be displayed. */
|
|
709
698
|
"show-arrow"?: boolean;
|
|
710
699
|
/** */
|
|
711
700
|
slots?: Array<HTMLElement>;
|
|
@@ -942,6 +931,8 @@ type PlusSelectProps = {
|
|
|
942
931
|
caption?: string | undefined;
|
|
943
932
|
/** Enables a clear button to reset the selection. */
|
|
944
933
|
clearable?: boolean;
|
|
934
|
+
/** Makes the select full width. */
|
|
935
|
+
"full-width"?: boolean;
|
|
945
936
|
|
|
946
937
|
/** Emitted when the select is opened */
|
|
947
938
|
"onplus-select-open"?: (e: CustomEvent<never>) => void;
|
|
@@ -975,8 +966,6 @@ type PlusToggleProps = {
|
|
|
975
966
|
/** */
|
|
976
967
|
"toggle-inactive-icon"?: string | undefined;
|
|
977
968
|
/** */
|
|
978
|
-
"icon-size"?: number | undefined;
|
|
979
|
-
/** */
|
|
980
969
|
error?: boolean;
|
|
981
970
|
/** */
|
|
982
971
|
"error-message"?: string;
|
|
@@ -1022,9 +1011,9 @@ type PlusTabProps = {
|
|
|
1022
1011
|
- horizontal: Tabs arranged horizontally
|
|
1023
1012
|
- vertical: Tabs arranged vertically */
|
|
1024
1013
|
orientation?: "horizontal" | "vertical";
|
|
1025
|
-
/** Icon to display before the tab content */
|
|
1014
|
+
/** Icon name to display before the tab content */
|
|
1026
1015
|
"prefix-icon"?: string | undefined;
|
|
1027
|
-
/** Icon to display after the tab content */
|
|
1016
|
+
/** Icon name to display after the tab content */
|
|
1028
1017
|
"suffix-icon"?: string | undefined;
|
|
1029
1018
|
/** Enables the dismiss button to remove the tab */
|
|
1030
1019
|
dismissible?: boolean;
|
|
@@ -1038,9 +1027,9 @@ This is controlled by the parent tab-group */
|
|
|
1038
1027
|
type PlusTabPanelProps = {
|
|
1039
1028
|
/** Sets the value of the tab panel, used for matching with a tab */
|
|
1040
1029
|
value?: string;
|
|
1041
|
-
/** Indicates
|
|
1030
|
+
/** Indicates whether the panel is currently active/visible. */
|
|
1042
1031
|
active?: boolean;
|
|
1043
|
-
/**
|
|
1032
|
+
/** An optional class to apply to the panel container. */
|
|
1044
1033
|
panelClass?: string;
|
|
1045
1034
|
};
|
|
1046
1035
|
|
|
@@ -1056,7 +1045,7 @@ type PlusTabGroupProps = {
|
|
|
1056
1045
|
orientation?: "horizontal" | "vertical";
|
|
1057
1046
|
/** Disables all tabs */
|
|
1058
1047
|
disabled?: boolean;
|
|
1059
|
-
/**
|
|
1048
|
+
/** Allows individual tabs to be dismissed (closed). */
|
|
1060
1049
|
dismissible?: boolean;
|
|
1061
1050
|
/** Currently active tab value */
|
|
1062
1051
|
value?: string;
|
|
@@ -1106,13 +1095,6 @@ export type CustomElements = {
|
|
|
1106
1095
|
*/
|
|
1107
1096
|
"plus-button-group": DefineComponent<PlusButtonGroupProps>;
|
|
1108
1097
|
|
|
1109
|
-
/**
|
|
1110
|
-
*
|
|
1111
|
-
* ---
|
|
1112
|
-
*
|
|
1113
|
-
*/
|
|
1114
|
-
"plus-icon": DefineComponent<PlusIconProps>;
|
|
1115
|
-
|
|
1116
1098
|
/**
|
|
1117
1099
|
*
|
|
1118
1100
|
* ---
|
|
@@ -1138,8 +1120,16 @@ export type CustomElements = {
|
|
|
1138
1120
|
*
|
|
1139
1121
|
* ---
|
|
1140
1122
|
*
|
|
1123
|
+
*
|
|
1124
|
+
* ### **CSS Properties:**
|
|
1125
|
+
* - **--icon-size** - Custom icon size (overrides size variants) _(default: undefined)_
|
|
1126
|
+
* - **--icon-color** - Custom icon color (overrides currentColor) _(default: undefined)_
|
|
1127
|
+
*
|
|
1128
|
+
* ### **CSS Parts:**
|
|
1129
|
+
* - **base** - The component's base wrapper
|
|
1130
|
+
* - **icon** - The SVG icon element
|
|
1141
1131
|
*/
|
|
1142
|
-
"plus-
|
|
1132
|
+
"plus-icon": DefineComponent<PlusIconProps>;
|
|
1143
1133
|
|
|
1144
1134
|
/**
|
|
1145
1135
|
*
|
|
@@ -1229,6 +1219,9 @@ export type CustomElements = {
|
|
|
1229
1219
|
* ### **Slots:**
|
|
1230
1220
|
* - _default_ - The content of the item.
|
|
1231
1221
|
*
|
|
1222
|
+
* ### **CSS Properties:**
|
|
1223
|
+
* - **--active-color** - Color of the active indicator _(default: undefined)_
|
|
1224
|
+
*
|
|
1232
1225
|
* ### **CSS Parts:**
|
|
1233
1226
|
* - **label** - The label element.
|
|
1234
1227
|
* - **input** - The input element.
|
|
@@ -27,6 +27,16 @@
|
|
|
27
27
|
"description": "Text color for default state (inherits from --plus-color-text-default)",
|
|
28
28
|
"values": []
|
|
29
29
|
},
|
|
30
|
+
{
|
|
31
|
+
"name": "--icon-size",
|
|
32
|
+
"description": "Custom icon size (overrides size variants)",
|
|
33
|
+
"values": []
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "--icon-color",
|
|
37
|
+
"description": "Custom icon color (overrides currentColor)",
|
|
38
|
+
"values": []
|
|
39
|
+
},
|
|
30
40
|
{
|
|
31
41
|
"name": "--text-color",
|
|
32
42
|
"description": "Controls the text color of the chip",
|
|
@@ -57,6 +67,11 @@
|
|
|
57
67
|
"description": "Controls the background color when focused",
|
|
58
68
|
"values": []
|
|
59
69
|
},
|
|
70
|
+
{
|
|
71
|
+
"name": "--active-color",
|
|
72
|
+
"description": "Color of the active indicator",
|
|
73
|
+
"values": []
|
|
74
|
+
},
|
|
60
75
|
{
|
|
61
76
|
"name": "--divider-color",
|
|
62
77
|
"description": "Controls the color of the divider",
|
|
@@ -320,6 +335,8 @@
|
|
|
320
335
|
"description": "The container element for the tag"
|
|
321
336
|
},
|
|
322
337
|
{ "name": "::part(base)", "description": "The component's base wrapper" },
|
|
338
|
+
{ "name": "::part(icon)", "description": "The SVG icon element" },
|
|
339
|
+
{ "name": "::part(base)", "description": "The component's base wrapper" },
|
|
323
340
|
{ "name": "::part(icon)", "description": "The dismiss icon wrapper" },
|
|
324
341
|
{ "name": "::part(base)", "description": "The component's base wrapper" },
|
|
325
342
|
{ "name": "::part(base)", "description": "The main container element" },
|