@plusui/library 0.1.3 → 0.1.4
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
package/react/index.d.ts
CHANGED
|
@@ -2,10 +2,9 @@ export * from "./Tailwind.js";
|
|
|
2
2
|
export * from "./PlusAvatar.js";
|
|
3
3
|
export * from "./PlusButton.js";
|
|
4
4
|
export * from "./PlusButtonGroup.js";
|
|
5
|
-
export * from "./PlusIcon.js";
|
|
6
5
|
export * from "./PlusBadge.js";
|
|
7
6
|
export * from "./PlusTag.js";
|
|
8
|
-
export * from "./
|
|
7
|
+
export * from "./PlusIcon.js";
|
|
9
8
|
export * from "./PlusChip.js";
|
|
10
9
|
export * from "./PlusLink.js";
|
|
11
10
|
export * from "./PlusAlert.js";
|
package/react/index.js
CHANGED
|
@@ -2,10 +2,9 @@ export * from "./Tailwind.js";
|
|
|
2
2
|
export * from "./PlusAvatar.js";
|
|
3
3
|
export * from "./PlusButton.js";
|
|
4
4
|
export * from "./PlusButtonGroup.js";
|
|
5
|
-
export * from "./PlusIcon.js";
|
|
6
5
|
export * from "./PlusBadge.js";
|
|
7
6
|
export * from "./PlusTag.js";
|
|
8
|
-
export * from "./
|
|
7
|
+
export * from "./PlusIcon.js";
|
|
9
8
|
export * from "./PlusChip.js";
|
|
10
9
|
export * from "./PlusLink.js";
|
|
11
10
|
export * from "./PlusAlert.js";
|
|
@@ -72,7 +72,7 @@ export type PlusAvatarProps = {
|
|
|
72
72
|
/** Size of the avatar
|
|
73
73
|
Can be a predefined size (xs, sm, md, lg, xl) or custom value */
|
|
74
74
|
size?: Size | string;
|
|
75
|
-
/** Icon
|
|
75
|
+
/** Icon name to use when no image is available */
|
|
76
76
|
icon?: string;
|
|
77
77
|
/** Toggles inverted color scheme */
|
|
78
78
|
invert?: boolean;
|
|
@@ -145,13 +145,6 @@ When false, each button can have its own properties. */
|
|
|
145
145
|
loading?: boolean;
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
export type PlusIconProps = {
|
|
149
|
-
/** */
|
|
150
|
-
iconName?: IconName | undefined;
|
|
151
|
-
/** */
|
|
152
|
-
prefix?: IconPrefix;
|
|
153
|
-
};
|
|
154
|
-
|
|
155
148
|
export type PlusBadgeProps = {
|
|
156
149
|
/** Sets the status/color variant of the badge
|
|
157
150
|
- default: Neutral color scheme
|
|
@@ -201,9 +194,15 @@ export type PlusTagProps = {
|
|
|
201
194
|
ariaLabel?: string;
|
|
202
195
|
};
|
|
203
196
|
|
|
204
|
-
export type
|
|
205
|
-
/**
|
|
206
|
-
|
|
197
|
+
export type PlusIconProps = {
|
|
198
|
+
/** Name of the icon to display */
|
|
199
|
+
"icon-name"?: IconName;
|
|
200
|
+
/** Style variant of the icon: solid, regular, or light */
|
|
201
|
+
"icon-style"?: IconStyle;
|
|
202
|
+
/** Size variant for the icon */
|
|
203
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
204
|
+
/** Label for accessibility - will be used as aria-label */
|
|
205
|
+
label?: string | undefined;
|
|
207
206
|
};
|
|
208
207
|
|
|
209
208
|
export type PlusChipProps = {
|
|
@@ -319,19 +318,19 @@ export type PlusRadioProps = {
|
|
|
319
318
|
size?: "sm" | "md" | "lg";
|
|
320
319
|
/** Defines the text label for the radio button */
|
|
321
320
|
text?: string | undefined;
|
|
322
|
-
/**
|
|
321
|
+
/** Whether the radio is checked. */
|
|
323
322
|
checked?: boolean;
|
|
324
|
-
/**
|
|
323
|
+
/** Whether the radio is in an error state. */
|
|
325
324
|
error?: boolean;
|
|
326
|
-
/**
|
|
325
|
+
/** Whether the radio is disabled. */
|
|
327
326
|
disabled?: boolean;
|
|
328
|
-
/**
|
|
327
|
+
/** Whether the radio is readonly. */
|
|
329
328
|
readonly?: boolean;
|
|
330
|
-
/** The
|
|
329
|
+
/** The radio's name attribute. */
|
|
331
330
|
name?: string;
|
|
332
|
-
/**
|
|
331
|
+
/** Whether the radio is required. */
|
|
333
332
|
required?: boolean;
|
|
334
|
-
/** The value
|
|
333
|
+
/** The radio's value attribute. */
|
|
335
334
|
value?: string;
|
|
336
335
|
/** */
|
|
337
336
|
input?: HTMLInputElement;
|
|
@@ -342,11 +341,11 @@ export type PlusRadioProps = {
|
|
|
342
341
|
};
|
|
343
342
|
|
|
344
343
|
export type PlusSegmentedPickerItemProps = {
|
|
345
|
-
/**
|
|
344
|
+
/** The value associated with the item. */
|
|
346
345
|
checked?: boolean;
|
|
347
346
|
/** The status of the item. */
|
|
348
347
|
status?: "default" | "primary";
|
|
349
|
-
/**
|
|
348
|
+
/** Disables the item, making it non-interactive. */
|
|
350
349
|
disabled?: boolean;
|
|
351
350
|
/** The shape of the item. */
|
|
352
351
|
shape?: "square" | "circle";
|
|
@@ -378,16 +377,16 @@ export type PlusRadioGroupProps = {
|
|
|
378
377
|
name?: string;
|
|
379
378
|
/** */
|
|
380
379
|
value?: string;
|
|
381
|
-
/**
|
|
380
|
+
/** Disables all radio buttons in the group. */
|
|
382
381
|
disabled?: boolean;
|
|
383
|
-
/**
|
|
382
|
+
/** Makes the radio group required for form submission. */
|
|
384
383
|
required?: boolean;
|
|
385
384
|
/** The size of all radio buttons in the group
|
|
386
385
|
- sm: Small size
|
|
387
386
|
- md: Medium size
|
|
388
387
|
- lg: Large size */
|
|
389
388
|
size?: "sm" | "md" | "lg";
|
|
390
|
-
/**
|
|
389
|
+
/** Displays the radio buttons in an error state. */
|
|
391
390
|
error?: boolean;
|
|
392
391
|
/** Orientation of the radio buttons
|
|
393
392
|
- horizontal: Radio buttons are arranged side by side
|
|
@@ -520,12 +519,12 @@ Available options:
|
|
|
520
519
|
|
|
521
520
|
- `true` (default) - An icon representing the status will be displayed.
|
|
522
521
|
- `false` - No icon will be displayed. */
|
|
523
|
-
|
|
522
|
+
"status-icon"?: boolean;
|
|
524
523
|
/** Determines whether the arrow should be displayed.
|
|
525
524
|
|
|
526
525
|
- `true` (default) - Arrow will be displayed.
|
|
527
526
|
- `false` - Arrow will be hidden. */
|
|
528
|
-
|
|
527
|
+
"show-arrow"?: boolean;
|
|
529
528
|
/** */
|
|
530
529
|
slots?: Array<HTMLElement>;
|
|
531
530
|
/** Emitted when the popover is opened */
|
|
@@ -542,11 +541,9 @@ export type PlusListBoxItemProps = {
|
|
|
542
541
|
- md: Medium size
|
|
543
542
|
- lg: Large size */
|
|
544
543
|
size?: "sm" | "md" | "lg";
|
|
545
|
-
/** Disables the
|
|
546
|
-
When disabled, the item cannot be clicked or selected */
|
|
544
|
+
/** Disables the item, making it non-interactive. */
|
|
547
545
|
disabled?: boolean;
|
|
548
|
-
/**
|
|
549
|
-
When selected, the item will display with a highlighted background */
|
|
546
|
+
/** Indicates whether the item is currently selected. */
|
|
550
547
|
selected?: boolean;
|
|
551
548
|
/** Sets the text content of the list box item
|
|
552
549
|
If provided, this will be used as the item's content when no slot content is present */
|
|
@@ -632,16 +629,6 @@ export type PlusTooltipProps = {
|
|
|
632
629
|
};
|
|
633
630
|
|
|
634
631
|
export type PlusInputProps = {
|
|
635
|
-
/** The type of input */
|
|
636
|
-
type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url";
|
|
637
|
-
/** The name of the input */
|
|
638
|
-
name?: string;
|
|
639
|
-
/** The value of the input */
|
|
640
|
-
value?: string;
|
|
641
|
-
/** The placeholder text */
|
|
642
|
-
placeholder?: string;
|
|
643
|
-
/** The size of the input */
|
|
644
|
-
size?: "sm" | "md" | "lg";
|
|
645
632
|
/** Whether the input should have a clear button */
|
|
646
633
|
clearable?: boolean;
|
|
647
634
|
/** Whether the input is disabled */
|
|
@@ -654,6 +641,18 @@ export type PlusInputProps = {
|
|
|
654
641
|
"password-toggle"?: boolean;
|
|
655
642
|
/** Whether the password is visible */
|
|
656
643
|
"password-visible"?: boolean;
|
|
644
|
+
/** Whether the input is in an error state */
|
|
645
|
+
error?: boolean;
|
|
646
|
+
/** The type of input */
|
|
647
|
+
type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url";
|
|
648
|
+
/** The name of the input */
|
|
649
|
+
name?: string;
|
|
650
|
+
/** The value of the input */
|
|
651
|
+
value?: string;
|
|
652
|
+
/** The placeholder text */
|
|
653
|
+
placeholder?: string;
|
|
654
|
+
/** The size of the input */
|
|
655
|
+
size?: "sm" | "md" | "lg";
|
|
657
656
|
/** The label for the input */
|
|
658
657
|
label?: string;
|
|
659
658
|
/** The validation pattern for the input */
|
|
@@ -673,23 +672,19 @@ export type PlusInputProps = {
|
|
|
673
672
|
/** The autocomplete attribute */
|
|
674
673
|
autocomplete?: string;
|
|
675
674
|
/** Whether the input should automatically get focus */
|
|
676
|
-
autoFocus?: boolean;
|
|
675
|
+
autoFocus?: boolean | undefined;
|
|
677
676
|
/** The enterkeyhint attribute */
|
|
678
677
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
679
678
|
/** The inputmode attribute */
|
|
680
679
|
inputmode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
681
680
|
/** Whether spellcheck is enabled */
|
|
682
|
-
spellCheck?: boolean;
|
|
681
|
+
spellCheck?: boolean | undefined;
|
|
683
682
|
/** Caption text to display below the input */
|
|
684
683
|
caption?: string;
|
|
685
|
-
/** Whether the input is in an error state */
|
|
686
|
-
error?: boolean;
|
|
687
684
|
/** The error message to display */
|
|
688
685
|
"error-message"?: string;
|
|
689
686
|
/** Whether the input should take up full width */
|
|
690
687
|
"full-width"?: boolean;
|
|
691
|
-
/** Whether the input is used as part of a select component */
|
|
692
|
-
isSelect?: boolean;
|
|
693
688
|
/** Icon name for the prefix icon */
|
|
694
689
|
"prefix-icon"?: string;
|
|
695
690
|
/** Icon name for the suffix icon */
|
|
@@ -757,15 +752,9 @@ Available options:
|
|
|
757
752
|
- `primary` (default theme color)
|
|
758
753
|
- `default` (gray - default) */
|
|
759
754
|
status?: "success" | "warning" | "danger" | "info" | "primary" | "default";
|
|
760
|
-
/** Determines whether a status icon should be displayed in the popconfirm.
|
|
761
|
-
|
|
762
|
-
- `true` (default) - An icon representing the status will be displayed.
|
|
763
|
-
- `false` - No icon will be displayed. */
|
|
755
|
+
/** Determines whether a status icon should be displayed in the popconfirm. */
|
|
764
756
|
"status-icon"?: boolean;
|
|
765
|
-
/** Determines whether the arrow should be displayed.
|
|
766
|
-
|
|
767
|
-
- `true` (default) - Arrow will be displayed.
|
|
768
|
-
- `false` - Arrow will be hidden. */
|
|
757
|
+
/** Determines whether the arrow should be displayed. */
|
|
769
758
|
"show-arrow"?: boolean;
|
|
770
759
|
/** */
|
|
771
760
|
slots?: Array<HTMLElement>;
|
|
@@ -1002,6 +991,8 @@ export type PlusSelectProps = {
|
|
|
1002
991
|
caption?: string | undefined;
|
|
1003
992
|
/** Enables a clear button to reset the selection. */
|
|
1004
993
|
clearable?: boolean;
|
|
994
|
+
/** Makes the select full width. */
|
|
995
|
+
"full-width"?: boolean;
|
|
1005
996
|
|
|
1006
997
|
/** Emitted when the select is opened */
|
|
1007
998
|
"onplus-select-open"?: (e: CustomEvent<never>) => void;
|
|
@@ -1035,8 +1026,6 @@ export type PlusToggleProps = {
|
|
|
1035
1026
|
/** */
|
|
1036
1027
|
"toggle-inactive-icon"?: string | undefined;
|
|
1037
1028
|
/** */
|
|
1038
|
-
"icon-size"?: number | undefined;
|
|
1039
|
-
/** */
|
|
1040
1029
|
error?: boolean;
|
|
1041
1030
|
/** */
|
|
1042
1031
|
"error-message"?: string;
|
|
@@ -1082,9 +1071,9 @@ export type PlusTabProps = {
|
|
|
1082
1071
|
- horizontal: Tabs arranged horizontally
|
|
1083
1072
|
- vertical: Tabs arranged vertically */
|
|
1084
1073
|
orientation?: "horizontal" | "vertical";
|
|
1085
|
-
/** Icon to display before the tab content */
|
|
1074
|
+
/** Icon name to display before the tab content */
|
|
1086
1075
|
"prefix-icon"?: string | undefined;
|
|
1087
|
-
/** Icon to display after the tab content */
|
|
1076
|
+
/** Icon name to display after the tab content */
|
|
1088
1077
|
"suffix-icon"?: string | undefined;
|
|
1089
1078
|
/** Enables the dismiss button to remove the tab */
|
|
1090
1079
|
dismissible?: boolean;
|
|
@@ -1098,9 +1087,9 @@ This is controlled by the parent tab-group */
|
|
|
1098
1087
|
export type PlusTabPanelProps = {
|
|
1099
1088
|
/** Sets the value of the tab panel, used for matching with a tab */
|
|
1100
1089
|
value?: string;
|
|
1101
|
-
/** Indicates
|
|
1090
|
+
/** Indicates whether the panel is currently active/visible. */
|
|
1102
1091
|
active?: boolean;
|
|
1103
|
-
/**
|
|
1092
|
+
/** An optional class to apply to the panel container. */
|
|
1104
1093
|
panelClass?: string;
|
|
1105
1094
|
};
|
|
1106
1095
|
|
|
@@ -1116,7 +1105,7 @@ export type PlusTabGroupProps = {
|
|
|
1116
1105
|
orientation?: "horizontal" | "vertical";
|
|
1117
1106
|
/** Disables all tabs */
|
|
1118
1107
|
disabled?: boolean;
|
|
1119
|
-
/**
|
|
1108
|
+
/** Allows individual tabs to be dismissed (closed). */
|
|
1120
1109
|
dismissible?: boolean;
|
|
1121
1110
|
/** Currently active tab value */
|
|
1122
1111
|
value?: string;
|
|
@@ -1166,13 +1155,6 @@ export type CustomElements = {
|
|
|
1166
1155
|
*/
|
|
1167
1156
|
"plus-button-group": Partial<PlusButtonGroupProps & BaseProps & BaseEvents>;
|
|
1168
1157
|
|
|
1169
|
-
/**
|
|
1170
|
-
*
|
|
1171
|
-
* ---
|
|
1172
|
-
*
|
|
1173
|
-
*/
|
|
1174
|
-
"plus-icon": Partial<PlusIconProps & BaseProps & BaseEvents>;
|
|
1175
|
-
|
|
1176
1158
|
/**
|
|
1177
1159
|
*
|
|
1178
1160
|
* ---
|
|
@@ -1198,8 +1180,16 @@ export type CustomElements = {
|
|
|
1198
1180
|
*
|
|
1199
1181
|
* ---
|
|
1200
1182
|
*
|
|
1183
|
+
*
|
|
1184
|
+
* ### **CSS Properties:**
|
|
1185
|
+
* - **--icon-size** - Custom icon size (overrides size variants) _(default: undefined)_
|
|
1186
|
+
* - **--icon-color** - Custom icon color (overrides currentColor) _(default: undefined)_
|
|
1187
|
+
*
|
|
1188
|
+
* ### **CSS Parts:**
|
|
1189
|
+
* - **base** - The component's base wrapper
|
|
1190
|
+
* - **icon** - The SVG icon element
|
|
1201
1191
|
*/
|
|
1202
|
-
"plus-
|
|
1192
|
+
"plus-icon": Partial<PlusIconProps & BaseProps & BaseEvents>;
|
|
1203
1193
|
|
|
1204
1194
|
/**
|
|
1205
1195
|
*
|
|
@@ -1289,6 +1279,9 @@ export type CustomElements = {
|
|
|
1289
1279
|
* ### **Slots:**
|
|
1290
1280
|
* - _default_ - The content of the item.
|
|
1291
1281
|
*
|
|
1282
|
+
* ### **CSS Properties:**
|
|
1283
|
+
* - **--active-color** - Color of the active indicator _(default: undefined)_
|
|
1284
|
+
*
|
|
1292
1285
|
* ### **CSS Parts:**
|
|
1293
1286
|
* - **label** - The label element.
|
|
1294
1287
|
* - **input** - The input element.
|
|
@@ -74,7 +74,7 @@ type PlusAvatarProps = {
|
|
|
74
74
|
/** Size of the avatar
|
|
75
75
|
Can be a predefined size (xs, sm, md, lg, xl) or custom value */
|
|
76
76
|
size?: Size | string;
|
|
77
|
-
/** Icon
|
|
77
|
+
/** Icon name to use when no image is available */
|
|
78
78
|
icon?: string;
|
|
79
79
|
/** Toggles inverted color scheme */
|
|
80
80
|
invert?: boolean;
|
|
@@ -153,15 +153,6 @@ When false, each button can have its own properties. */
|
|
|
153
153
|
JSX.OnAttributes<PlusButtonGroup> &
|
|
154
154
|
JSX.OnCaptureAttributes<PlusButtonGroup>;
|
|
155
155
|
|
|
156
|
-
type PlusIconProps = {
|
|
157
|
-
/** */
|
|
158
|
-
iconName?: IconName | undefined;
|
|
159
|
-
/** */
|
|
160
|
-
prefix?: IconPrefix;
|
|
161
|
-
} & JSX.DirectiveFunctionAttributes<PlusIcon> &
|
|
162
|
-
JSX.OnAttributes<PlusIcon> &
|
|
163
|
-
JSX.OnCaptureAttributes<PlusIcon>;
|
|
164
|
-
|
|
165
156
|
type PlusBadgeProps = {
|
|
166
157
|
/** Sets the status/color variant of the badge
|
|
167
158
|
- default: Neutral color scheme
|
|
@@ -215,12 +206,18 @@ type PlusTagProps = {
|
|
|
215
206
|
JSX.OnAttributes<PlusTag> &
|
|
216
207
|
JSX.OnCaptureAttributes<PlusTag>;
|
|
217
208
|
|
|
218
|
-
type
|
|
219
|
-
/**
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
209
|
+
type PlusIconProps = {
|
|
210
|
+
/** Name of the icon to display */
|
|
211
|
+
"icon-name"?: IconName;
|
|
212
|
+
/** Style variant of the icon: solid, regular, or light */
|
|
213
|
+
"icon-style"?: IconStyle;
|
|
214
|
+
/** Size variant for the icon */
|
|
215
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
216
|
+
/** Label for accessibility - will be used as aria-label */
|
|
217
|
+
label?: string | undefined;
|
|
218
|
+
} & JSX.DirectiveFunctionAttributes<PlusIcon> &
|
|
219
|
+
JSX.OnAttributes<PlusIcon> &
|
|
220
|
+
JSX.OnCaptureAttributes<PlusIcon>;
|
|
224
221
|
|
|
225
222
|
type PlusChipProps = {
|
|
226
223
|
/** Determines the visual style of the chip
|
|
@@ -341,19 +338,19 @@ type PlusRadioProps = {
|
|
|
341
338
|
size?: "sm" | "md" | "lg";
|
|
342
339
|
/** Defines the text label for the radio button */
|
|
343
340
|
text?: string | undefined;
|
|
344
|
-
/**
|
|
341
|
+
/** Whether the radio is checked. */
|
|
345
342
|
checked?: boolean;
|
|
346
|
-
/**
|
|
343
|
+
/** Whether the radio is in an error state. */
|
|
347
344
|
error?: boolean;
|
|
348
|
-
/**
|
|
345
|
+
/** Whether the radio is disabled. */
|
|
349
346
|
disabled?: boolean;
|
|
350
|
-
/**
|
|
347
|
+
/** Whether the radio is readonly. */
|
|
351
348
|
readonly?: boolean;
|
|
352
|
-
/** The
|
|
349
|
+
/** The radio's name attribute. */
|
|
353
350
|
name?: string;
|
|
354
|
-
/**
|
|
351
|
+
/** Whether the radio is required. */
|
|
355
352
|
required?: boolean;
|
|
356
|
-
/** The value
|
|
353
|
+
/** The radio's value attribute. */
|
|
357
354
|
value?: string;
|
|
358
355
|
/** */
|
|
359
356
|
"prop:input"?: HTMLInputElement;
|
|
@@ -366,11 +363,11 @@ type PlusRadioProps = {
|
|
|
366
363
|
JSX.OnCaptureAttributes<PlusRadio>;
|
|
367
364
|
|
|
368
365
|
type PlusSegmentedPickerItemProps = {
|
|
369
|
-
/**
|
|
366
|
+
/** The value associated with the item. */
|
|
370
367
|
checked?: boolean;
|
|
371
368
|
/** The status of the item. */
|
|
372
369
|
status?: "default" | "primary";
|
|
373
|
-
/**
|
|
370
|
+
/** Disables the item, making it non-interactive. */
|
|
374
371
|
disabled?: boolean;
|
|
375
372
|
/** The shape of the item. */
|
|
376
373
|
shape?: "square" | "circle";
|
|
@@ -406,16 +403,16 @@ type PlusRadioGroupProps = {
|
|
|
406
403
|
name?: string;
|
|
407
404
|
/** */
|
|
408
405
|
value?: string;
|
|
409
|
-
/**
|
|
406
|
+
/** Disables all radio buttons in the group. */
|
|
410
407
|
disabled?: boolean;
|
|
411
|
-
/**
|
|
408
|
+
/** Makes the radio group required for form submission. */
|
|
412
409
|
required?: boolean;
|
|
413
410
|
/** The size of all radio buttons in the group
|
|
414
411
|
- sm: Small size
|
|
415
412
|
- md: Medium size
|
|
416
413
|
- lg: Large size */
|
|
417
414
|
size?: "sm" | "md" | "lg";
|
|
418
|
-
/**
|
|
415
|
+
/** Displays the radio buttons in an error state. */
|
|
419
416
|
error?: boolean;
|
|
420
417
|
/** Orientation of the radio buttons
|
|
421
418
|
- horizontal: Radio buttons are arranged side by side
|
|
@@ -560,12 +557,12 @@ Available options:
|
|
|
560
557
|
|
|
561
558
|
- `true` (default) - An icon representing the status will be displayed.
|
|
562
559
|
- `false` - No icon will be displayed. */
|
|
563
|
-
|
|
560
|
+
"status-icon"?: boolean;
|
|
564
561
|
/** Determines whether the arrow should be displayed.
|
|
565
562
|
|
|
566
563
|
- `true` (default) - Arrow will be displayed.
|
|
567
564
|
- `false` - Arrow will be hidden. */
|
|
568
|
-
|
|
565
|
+
"show-arrow"?: boolean;
|
|
569
566
|
/** */
|
|
570
567
|
"prop:slots"?: Array<HTMLElement>;
|
|
571
568
|
/** Emitted when the popover is opened */
|
|
@@ -584,11 +581,9 @@ type PlusListBoxItemProps = {
|
|
|
584
581
|
- md: Medium size
|
|
585
582
|
- lg: Large size */
|
|
586
583
|
size?: "sm" | "md" | "lg";
|
|
587
|
-
/** Disables the
|
|
588
|
-
When disabled, the item cannot be clicked or selected */
|
|
584
|
+
/** Disables the item, making it non-interactive. */
|
|
589
585
|
disabled?: boolean;
|
|
590
|
-
/**
|
|
591
|
-
When selected, the item will display with a highlighted background */
|
|
586
|
+
/** Indicates whether the item is currently selected. */
|
|
592
587
|
selected?: boolean;
|
|
593
588
|
/** Sets the text content of the list box item
|
|
594
589
|
If provided, this will be used as the item's content when no slot content is present */
|
|
@@ -682,16 +677,6 @@ type PlusTooltipProps = {
|
|
|
682
677
|
JSX.OnCaptureAttributes<PlusTooltip>;
|
|
683
678
|
|
|
684
679
|
type PlusInputProps = {
|
|
685
|
-
/** The type of input */
|
|
686
|
-
type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url";
|
|
687
|
-
/** The name of the input */
|
|
688
|
-
name?: string;
|
|
689
|
-
/** The value of the input */
|
|
690
|
-
value?: string;
|
|
691
|
-
/** The placeholder text */
|
|
692
|
-
placeholder?: string;
|
|
693
|
-
/** The size of the input */
|
|
694
|
-
size?: "sm" | "md" | "lg";
|
|
695
680
|
/** Whether the input should have a clear button */
|
|
696
681
|
clearable?: boolean;
|
|
697
682
|
/** Whether the input is disabled */
|
|
@@ -704,6 +689,18 @@ type PlusInputProps = {
|
|
|
704
689
|
"password-toggle"?: boolean;
|
|
705
690
|
/** Whether the password is visible */
|
|
706
691
|
"password-visible"?: boolean;
|
|
692
|
+
/** Whether the input is in an error state */
|
|
693
|
+
error?: boolean;
|
|
694
|
+
/** The type of input */
|
|
695
|
+
type?: "date" | "datetime-local" | "email" | "number" | "password" | "search" | "tel" | "text" | "time" | "url";
|
|
696
|
+
/** The name of the input */
|
|
697
|
+
name?: string;
|
|
698
|
+
/** The value of the input */
|
|
699
|
+
value?: string;
|
|
700
|
+
/** The placeholder text */
|
|
701
|
+
placeholder?: string;
|
|
702
|
+
/** The size of the input */
|
|
703
|
+
size?: "sm" | "md" | "lg";
|
|
707
704
|
/** The label for the input */
|
|
708
705
|
label?: string;
|
|
709
706
|
/** The validation pattern for the input */
|
|
@@ -723,23 +720,19 @@ type PlusInputProps = {
|
|
|
723
720
|
/** The autocomplete attribute */
|
|
724
721
|
autocomplete?: string;
|
|
725
722
|
/** Whether the input should automatically get focus */
|
|
726
|
-
autoFocus?: boolean;
|
|
723
|
+
autoFocus?: boolean | undefined;
|
|
727
724
|
/** The enterkeyhint attribute */
|
|
728
725
|
enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
729
726
|
/** The inputmode attribute */
|
|
730
727
|
inputmode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
731
728
|
/** Whether spellcheck is enabled */
|
|
732
|
-
spellCheck?: boolean;
|
|
729
|
+
spellCheck?: boolean | undefined;
|
|
733
730
|
/** Caption text to display below the input */
|
|
734
731
|
caption?: string;
|
|
735
|
-
/** Whether the input is in an error state */
|
|
736
|
-
error?: boolean;
|
|
737
732
|
/** The error message to display */
|
|
738
733
|
"error-message"?: string;
|
|
739
734
|
/** Whether the input should take up full width */
|
|
740
735
|
"full-width"?: boolean;
|
|
741
|
-
/** Whether the input is used as part of a select component */
|
|
742
|
-
isSelect?: boolean;
|
|
743
736
|
/** Icon name for the prefix icon */
|
|
744
737
|
"prefix-icon"?: string;
|
|
745
738
|
/** Icon name for the suffix icon */
|
|
@@ -809,15 +802,9 @@ Available options:
|
|
|
809
802
|
- `primary` (default theme color)
|
|
810
803
|
- `default` (gray - default) */
|
|
811
804
|
status?: "success" | "warning" | "danger" | "info" | "primary" | "default";
|
|
812
|
-
/** Determines whether a status icon should be displayed in the popconfirm.
|
|
813
|
-
|
|
814
|
-
- `true` (default) - An icon representing the status will be displayed.
|
|
815
|
-
- `false` - No icon will be displayed. */
|
|
805
|
+
/** Determines whether a status icon should be displayed in the popconfirm. */
|
|
816
806
|
"status-icon"?: boolean;
|
|
817
|
-
/** Determines whether the arrow should be displayed.
|
|
818
|
-
|
|
819
|
-
- `true` (default) - Arrow will be displayed.
|
|
820
|
-
- `false` - Arrow will be hidden. */
|
|
807
|
+
/** Determines whether the arrow should be displayed. */
|
|
821
808
|
"show-arrow"?: boolean;
|
|
822
809
|
/** */
|
|
823
810
|
"prop:slots"?: Array<HTMLElement>;
|
|
@@ -1078,6 +1065,8 @@ type PlusSelectProps = {
|
|
|
1078
1065
|
caption?: string | undefined;
|
|
1079
1066
|
/** Enables a clear button to reset the selection. */
|
|
1080
1067
|
clearable?: boolean;
|
|
1068
|
+
/** Makes the select full width. */
|
|
1069
|
+
"full-width"?: boolean;
|
|
1081
1070
|
|
|
1082
1071
|
/** Emitted when the select is opened */
|
|
1083
1072
|
"on:plus-select-open"?: (e: CustomEvent<never>) => void;
|
|
@@ -1113,8 +1102,6 @@ type PlusToggleProps = {
|
|
|
1113
1102
|
/** */
|
|
1114
1103
|
"toggle-inactive-icon"?: string | undefined;
|
|
1115
1104
|
/** */
|
|
1116
|
-
"icon-size"?: number | undefined;
|
|
1117
|
-
/** */
|
|
1118
1105
|
error?: boolean;
|
|
1119
1106
|
/** */
|
|
1120
1107
|
"error-message"?: string;
|
|
@@ -1162,9 +1149,9 @@ type PlusTabProps = {
|
|
|
1162
1149
|
- horizontal: Tabs arranged horizontally
|
|
1163
1150
|
- vertical: Tabs arranged vertically */
|
|
1164
1151
|
orientation?: "horizontal" | "vertical";
|
|
1165
|
-
/** Icon to display before the tab content */
|
|
1152
|
+
/** Icon name to display before the tab content */
|
|
1166
1153
|
"prefix-icon"?: string | undefined;
|
|
1167
|
-
/** Icon to display after the tab content */
|
|
1154
|
+
/** Icon name to display after the tab content */
|
|
1168
1155
|
"suffix-icon"?: string | undefined;
|
|
1169
1156
|
/** Enables the dismiss button to remove the tab */
|
|
1170
1157
|
dismissible?: boolean;
|
|
@@ -1180,9 +1167,9 @@ This is controlled by the parent tab-group */
|
|
|
1180
1167
|
type PlusTabPanelProps = {
|
|
1181
1168
|
/** Sets the value of the tab panel, used for matching with a tab */
|
|
1182
1169
|
value?: string;
|
|
1183
|
-
/** Indicates
|
|
1170
|
+
/** Indicates whether the panel is currently active/visible. */
|
|
1184
1171
|
active?: boolean;
|
|
1185
|
-
/**
|
|
1172
|
+
/** An optional class to apply to the panel container. */
|
|
1186
1173
|
panelClass?: string;
|
|
1187
1174
|
} & JSX.DirectiveFunctionAttributes<PlusTabPanel> &
|
|
1188
1175
|
JSX.OnAttributes<PlusTabPanel> &
|
|
@@ -1200,7 +1187,7 @@ type PlusTabGroupProps = {
|
|
|
1200
1187
|
orientation?: "horizontal" | "vertical";
|
|
1201
1188
|
/** Disables all tabs */
|
|
1202
1189
|
disabled?: boolean;
|
|
1203
|
-
/**
|
|
1190
|
+
/** Allows individual tabs to be dismissed (closed). */
|
|
1204
1191
|
dismissible?: boolean;
|
|
1205
1192
|
/** Currently active tab value */
|
|
1206
1193
|
value?: string;
|
|
@@ -1252,13 +1239,6 @@ export type CustomElements = {
|
|
|
1252
1239
|
*/
|
|
1253
1240
|
"plus-button-group": Partial<PlusButtonGroupProps & BaseProps & BaseEvents>;
|
|
1254
1241
|
|
|
1255
|
-
/**
|
|
1256
|
-
*
|
|
1257
|
-
* ---
|
|
1258
|
-
*
|
|
1259
|
-
*/
|
|
1260
|
-
"plus-icon": Partial<PlusIconProps & BaseProps & BaseEvents>;
|
|
1261
|
-
|
|
1262
1242
|
/**
|
|
1263
1243
|
*
|
|
1264
1244
|
* ---
|
|
@@ -1284,8 +1264,16 @@ export type CustomElements = {
|
|
|
1284
1264
|
*
|
|
1285
1265
|
* ---
|
|
1286
1266
|
*
|
|
1267
|
+
*
|
|
1268
|
+
* ### **CSS Properties:**
|
|
1269
|
+
* - **--icon-size** - Custom icon size (overrides size variants) _(default: undefined)_
|
|
1270
|
+
* - **--icon-color** - Custom icon color (overrides currentColor) _(default: undefined)_
|
|
1271
|
+
*
|
|
1272
|
+
* ### **CSS Parts:**
|
|
1273
|
+
* - **base** - The component's base wrapper
|
|
1274
|
+
* - **icon** - The SVG icon element
|
|
1287
1275
|
*/
|
|
1288
|
-
"plus-
|
|
1276
|
+
"plus-icon": Partial<PlusIconProps & BaseProps & BaseEvents>;
|
|
1289
1277
|
|
|
1290
1278
|
/**
|
|
1291
1279
|
*
|
|
@@ -1375,6 +1363,9 @@ export type CustomElements = {
|
|
|
1375
1363
|
* ### **Slots:**
|
|
1376
1364
|
* - _default_ - The content of the item.
|
|
1377
1365
|
*
|
|
1366
|
+
* ### **CSS Properties:**
|
|
1367
|
+
* - **--active-color** - Color of the active indicator _(default: undefined)_
|
|
1368
|
+
*
|
|
1378
1369
|
* ### **CSS Parts:**
|
|
1379
1370
|
* - **label** - The label element.
|
|
1380
1371
|
* - **input** - The input element.
|