@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
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { E, x } from '../../lit-element-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { E, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import { r } from '../../state-D1d5Sfj8.js';
|
|
4
4
|
import { o } from '../../query-assigned-elements-B8Evmg7O.js';
|
|
5
|
-
import { c as computePosition, o as offset, f as flip, s as shift, a as arrow, b as autoUpdate } from '../../floating-ui.dom-
|
|
5
|
+
import { c as computePosition, o as offset, f as flip, s as shift, a as arrow, b as autoUpdate } from '../../floating-ui.dom-OBaMlALa.js';
|
|
6
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
6
7
|
import Tailwind from '../base/tailwind-base.js';
|
|
7
8
|
import { popconfirmStyle } from './popconfirm.style.js';
|
|
8
9
|
import '../../base-Cl6v8-BZ.js';
|
|
9
|
-
import '../../global-
|
|
10
|
+
import '../../global-CFlb4NrK.js';
|
|
10
11
|
import '../../index-B9iart53.js';
|
|
11
12
|
|
|
12
13
|
var PopconfirmTrigger;
|
|
@@ -147,9 +148,6 @@ class PlusPopconfirm extends Tailwind {
|
|
|
147
148
|
/**
|
|
148
149
|
* Determines whether a status icon should be displayed in the popconfirm.
|
|
149
150
|
*
|
|
150
|
-
* - `true` (default) - An icon representing the status will be displayed.
|
|
151
|
-
* - `false` - No icon will be displayed.
|
|
152
|
-
*
|
|
153
151
|
* @type {boolean}
|
|
154
152
|
* @default true
|
|
155
153
|
*/
|
|
@@ -157,9 +155,6 @@ class PlusPopconfirm extends Tailwind {
|
|
|
157
155
|
/**
|
|
158
156
|
* Determines whether the arrow should be displayed.
|
|
159
157
|
*
|
|
160
|
-
* - `true` (default) - Arrow will be displayed.
|
|
161
|
-
* - `false` - Arrow will be hidden.
|
|
162
|
-
*
|
|
163
158
|
* @type {boolean}
|
|
164
159
|
* @default true
|
|
165
160
|
*/
|
|
@@ -369,10 +364,10 @@ class PlusPopconfirm extends Tailwind {
|
|
|
369
364
|
<div class=${headerLeft()}>
|
|
370
365
|
<slot name="icon">
|
|
371
366
|
${this.statusIcon
|
|
372
|
-
? x `<plus-
|
|
367
|
+
? x `<plus-icon
|
|
373
368
|
class="flex"
|
|
374
|
-
|
|
375
|
-
></plus-
|
|
369
|
+
icon-name=${statusIconMap[this.status]}
|
|
370
|
+
></plus-icon>`
|
|
376
371
|
: E}
|
|
377
372
|
</slot>
|
|
378
373
|
|
|
@@ -383,13 +378,13 @@ class PlusPopconfirm extends Tailwind {
|
|
|
383
378
|
|
|
384
379
|
<div class=${headerRight()} part="close">
|
|
385
380
|
<slot name="actions">
|
|
386
|
-
<plus-
|
|
387
|
-
|
|
381
|
+
<plus-icon
|
|
382
|
+
icon-name="xmark"
|
|
388
383
|
@click=${this.closePopconfirm}
|
|
389
384
|
role="button"
|
|
390
385
|
tabindex="0"
|
|
391
386
|
aria-label="Close popconfirm"
|
|
392
|
-
></plus-
|
|
387
|
+
></plus-icon>
|
|
393
388
|
</slot>
|
|
394
389
|
</div>
|
|
395
390
|
</header>
|
|
@@ -458,15 +453,17 @@ __decorate([
|
|
|
458
453
|
__decorate([
|
|
459
454
|
n({
|
|
460
455
|
type: Boolean,
|
|
461
|
-
converter:
|
|
456
|
+
converter: booleanConverter,
|
|
462
457
|
attribute: 'status-icon',
|
|
458
|
+
reflect: true,
|
|
463
459
|
})
|
|
464
460
|
], PlusPopconfirm.prototype, "statusIcon", void 0);
|
|
465
461
|
__decorate([
|
|
466
462
|
n({
|
|
467
463
|
type: Boolean,
|
|
468
|
-
converter:
|
|
464
|
+
converter: booleanConverter,
|
|
469
465
|
attribute: 'show-arrow',
|
|
466
|
+
reflect: true,
|
|
470
467
|
})
|
|
471
468
|
], PlusPopconfirm.prototype, "showArrow", void 0);
|
|
472
469
|
__decorate([
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import PlusPopover from './popover.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
4
|
-
import '../../state-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../../state-D1d5Sfj8.js';
|
|
5
5
|
import '../../query-assigned-elements-B8Evmg7O.js';
|
|
6
6
|
import '../../base-Cl6v8-BZ.js';
|
|
7
|
-
import '../../floating-ui.dom-
|
|
7
|
+
import '../../floating-ui.dom-OBaMlALa.js';
|
|
8
|
+
import '../../utils/boolean-converter.js';
|
|
8
9
|
import '../base/tailwind-base.js';
|
|
9
|
-
import '../../global-
|
|
10
|
+
import '../../global-CFlb4NrK.js';
|
|
10
11
|
import './popover.style.js';
|
|
11
12
|
import '../../index-B9iart53.js';
|
|
12
13
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { E, x } from '../../lit-element-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { E, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import { r } from '../../state-D1d5Sfj8.js';
|
|
4
4
|
import { o } from '../../query-assigned-elements-B8Evmg7O.js';
|
|
5
|
-
import { c as computePosition, o as offset, f as flip, s as shift, a as arrow, b as autoUpdate } from '../../floating-ui.dom-
|
|
5
|
+
import { c as computePosition, o as offset, f as flip, s as shift, a as arrow, b as autoUpdate } from '../../floating-ui.dom-OBaMlALa.js';
|
|
6
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
6
7
|
import Tailwind from '../base/tailwind-base.js';
|
|
7
8
|
import { popoverStyle } from './popover.style.js';
|
|
8
9
|
import '../../base-Cl6v8-BZ.js';
|
|
9
|
-
import '../../global-
|
|
10
|
+
import '../../global-CFlb4NrK.js';
|
|
10
11
|
import '../../index-B9iart53.js';
|
|
11
12
|
|
|
12
13
|
var PopoverTrigger;
|
|
@@ -347,9 +348,9 @@ class PlusPopover extends Tailwind {
|
|
|
347
348
|
<div class=${headerLeft()}>
|
|
348
349
|
<slot name="icon">
|
|
349
350
|
${this.statusIcon
|
|
350
|
-
? x `<plus-
|
|
351
|
-
|
|
352
|
-
></plus-
|
|
351
|
+
? x `<plus-icon
|
|
352
|
+
icon-name=${statusIconMap[this.status]}
|
|
353
|
+
></plus-icon>`
|
|
353
354
|
: E}
|
|
354
355
|
</slot>
|
|
355
356
|
<div class="${title()}" part="title" id="popover-title">
|
|
@@ -360,13 +361,13 @@ class PlusPopover extends Tailwind {
|
|
|
360
361
|
<div class=${headerRight()} part="close">
|
|
361
362
|
<slot name="actions">
|
|
362
363
|
${this.dismissable &&
|
|
363
|
-
x `<plus-
|
|
364
|
-
|
|
364
|
+
x `<plus-icon
|
|
365
|
+
icon-name="xmark"
|
|
365
366
|
@click=${() => this.closePopover(true)}
|
|
366
367
|
role="button"
|
|
367
368
|
tabindex="0"
|
|
368
369
|
aria-label="Close popover"
|
|
369
|
-
></plus-
|
|
370
|
+
></plus-icon>`}
|
|
370
371
|
</slot>
|
|
371
372
|
</div>
|
|
372
373
|
</header>
|
|
@@ -402,13 +403,27 @@ __decorate([
|
|
|
402
403
|
n({ type: String })
|
|
403
404
|
], PlusPopover.prototype, "status", void 0);
|
|
404
405
|
__decorate([
|
|
405
|
-
n({
|
|
406
|
+
n({
|
|
407
|
+
type: Boolean,
|
|
408
|
+
converter: booleanConverter,
|
|
409
|
+
reflect: true,
|
|
410
|
+
})
|
|
406
411
|
], PlusPopover.prototype, "dismissable", void 0);
|
|
407
412
|
__decorate([
|
|
408
|
-
n({
|
|
413
|
+
n({
|
|
414
|
+
type: Boolean,
|
|
415
|
+
converter: booleanConverter,
|
|
416
|
+
attribute: 'status-icon',
|
|
417
|
+
reflect: true,
|
|
418
|
+
})
|
|
409
419
|
], PlusPopover.prototype, "statusIcon", void 0);
|
|
410
420
|
__decorate([
|
|
411
|
-
n({
|
|
421
|
+
n({
|
|
422
|
+
type: Boolean,
|
|
423
|
+
converter: booleanConverter,
|
|
424
|
+
attribute: 'show-arrow',
|
|
425
|
+
reflect: true,
|
|
426
|
+
})
|
|
412
427
|
], PlusPopover.prototype, "showArrow", void 0);
|
|
413
428
|
__decorate([
|
|
414
429
|
r()
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import PlusRadio from './radio.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
4
|
-
import '../../state-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../../state-D1d5Sfj8.js';
|
|
5
5
|
import '../../query-CHb9Ft_d.js';
|
|
6
6
|
import '../../base-Cl6v8-BZ.js';
|
|
7
|
+
import '../../utils/boolean-converter.js';
|
|
7
8
|
import '../base/tailwind-base.js';
|
|
8
|
-
import '../../global-
|
|
9
|
+
import '../../global-CFlb4NrK.js';
|
|
9
10
|
import './radio.style.js';
|
|
10
11
|
import '../../index-B9iart53.js';
|
|
11
|
-
import '../../style-map-
|
|
12
|
+
import '../../style-map-DC_vNus2.js';
|
|
12
13
|
import '../../directive-DZCF8pFJ.js';
|
|
13
14
|
|
|
14
15
|
customElements.define('plus-radio', PlusRadio);
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { x } from '../../lit-element-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import { r } from '../../state-D1d5Sfj8.js';
|
|
4
4
|
import { e } from '../../query-CHb9Ft_d.js';
|
|
5
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
5
6
|
import Tailwind from '../base/tailwind-base.js';
|
|
6
7
|
import { radioStyle } from './radio.style.js';
|
|
7
|
-
import { o } from '../../style-map-
|
|
8
|
+
import { o } from '../../style-map-DC_vNus2.js';
|
|
8
9
|
import '../../base-Cl6v8-BZ.js';
|
|
9
|
-
import '../../global-
|
|
10
|
+
import '../../global-CFlb4NrK.js';
|
|
10
11
|
import '../../index-B9iart53.js';
|
|
11
12
|
import '../../directive-DZCF8pFJ.js';
|
|
12
13
|
|
|
@@ -37,37 +38,19 @@ class PlusRadio extends Tailwind {
|
|
|
37
38
|
* @default 'md'
|
|
38
39
|
*/
|
|
39
40
|
this.size = 'md';
|
|
40
|
-
/**
|
|
41
|
-
* Indicates whether the radio button is checked
|
|
42
|
-
* @default false
|
|
43
|
-
*/
|
|
41
|
+
/** Whether the radio is checked. */
|
|
44
42
|
this.checked = false;
|
|
45
|
-
/**
|
|
46
|
-
* Indicates if the radio button is in an error state
|
|
47
|
-
* @default false
|
|
48
|
-
*/
|
|
43
|
+
/** Whether the radio is in an error state. */
|
|
49
44
|
this.error = false;
|
|
50
|
-
/**
|
|
51
|
-
* Disables the radio button interaction
|
|
52
|
-
* @default false
|
|
53
|
-
*/
|
|
45
|
+
/** Whether the radio is disabled. */
|
|
54
46
|
this.disabled = false;
|
|
55
|
-
/**
|
|
56
|
-
* Makes the radio button readonly (non-interactive but not disabled)
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
47
|
+
/** Whether the radio is readonly. */
|
|
59
48
|
this.readonly = false;
|
|
60
|
-
/**
|
|
61
|
-
* The name of the radio button, used for form submission and radio grouping
|
|
62
|
-
*/
|
|
49
|
+
/** The radio's name attribute. */
|
|
63
50
|
this.name = '';
|
|
64
|
-
/**
|
|
65
|
-
* Indicates if the radio input is required
|
|
66
|
-
*/
|
|
51
|
+
/** Whether the radio is required. */
|
|
67
52
|
this.required = false;
|
|
68
|
-
/**
|
|
69
|
-
* The value associated with the radio button
|
|
70
|
-
*/
|
|
53
|
+
/** The radio's value attribute. */
|
|
71
54
|
this.value = '';
|
|
72
55
|
/**
|
|
73
56
|
* Internal state to track if the radio button has focus
|
|
@@ -208,22 +191,22 @@ __decorate([
|
|
|
208
191
|
n({ type: String })
|
|
209
192
|
], PlusRadio.prototype, "text", void 0);
|
|
210
193
|
__decorate([
|
|
211
|
-
n({ type: Boolean, reflect: true })
|
|
194
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
212
195
|
], PlusRadio.prototype, "checked", void 0);
|
|
213
196
|
__decorate([
|
|
214
|
-
n({ type: Boolean })
|
|
197
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
215
198
|
], PlusRadio.prototype, "error", void 0);
|
|
216
199
|
__decorate([
|
|
217
|
-
n({ type: Boolean, reflect: true })
|
|
200
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
218
201
|
], PlusRadio.prototype, "disabled", void 0);
|
|
219
202
|
__decorate([
|
|
220
|
-
n({ type: Boolean, reflect: true })
|
|
203
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
221
204
|
], PlusRadio.prototype, "readonly", void 0);
|
|
222
205
|
__decorate([
|
|
223
206
|
n()
|
|
224
207
|
], PlusRadio.prototype, "name", void 0);
|
|
225
208
|
__decorate([
|
|
226
|
-
n({ type: Boolean, reflect: true })
|
|
209
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
227
210
|
], PlusRadio.prototype, "required", void 0);
|
|
228
211
|
__decorate([
|
|
229
212
|
n()
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import PlusRadioGroup from './radio-group.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../../utils/boolean-converter.js';
|
|
4
5
|
import '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
6
7
|
import './radio-group.style.js';
|
|
7
8
|
import '../../index-B9iart53.js';
|
|
8
9
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { x } from '../../lit-element-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
3
4
|
import Tailwind from '../base/tailwind-base.js';
|
|
4
5
|
import { radioGroupStyle } from './radio-group.style.js';
|
|
5
|
-
import '../../global-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
6
7
|
import '../../index-B9iart53.js';
|
|
7
8
|
|
|
8
9
|
class PlusRadioGroup extends Tailwind {
|
|
@@ -10,7 +11,9 @@ class PlusRadioGroup extends Tailwind {
|
|
|
10
11
|
super();
|
|
11
12
|
this.name = '';
|
|
12
13
|
this.value = '';
|
|
14
|
+
/** Disables all radio buttons in the group. */
|
|
13
15
|
this.disabled = false;
|
|
16
|
+
/** Makes the radio group required for form submission. */
|
|
14
17
|
this.required = false;
|
|
15
18
|
/**
|
|
16
19
|
* The size of all radio buttons in the group
|
|
@@ -20,9 +23,7 @@ class PlusRadioGroup extends Tailwind {
|
|
|
20
23
|
* @default 'md'
|
|
21
24
|
*/
|
|
22
25
|
this.size = 'md';
|
|
23
|
-
/**
|
|
24
|
-
* Shows error styling on the radio group
|
|
25
|
-
*/
|
|
26
|
+
/** Displays the radio buttons in an error state. */
|
|
26
27
|
this.error = false;
|
|
27
28
|
/**
|
|
28
29
|
* Orientation of the radio buttons
|
|
@@ -124,16 +125,16 @@ __decorate([
|
|
|
124
125
|
n()
|
|
125
126
|
], PlusRadioGroup.prototype, "value", void 0);
|
|
126
127
|
__decorate([
|
|
127
|
-
n({ type: Boolean, reflect: true })
|
|
128
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
128
129
|
], PlusRadioGroup.prototype, "disabled", void 0);
|
|
129
130
|
__decorate([
|
|
130
|
-
n({ type: Boolean, reflect: true })
|
|
131
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
131
132
|
], PlusRadioGroup.prototype, "required", void 0);
|
|
132
133
|
__decorate([
|
|
133
134
|
n({ type: String })
|
|
134
135
|
], PlusRadioGroup.prototype, "size", void 0);
|
|
135
136
|
__decorate([
|
|
136
|
-
n({ type: Boolean })
|
|
137
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
137
138
|
], PlusRadioGroup.prototype, "error", void 0);
|
|
138
139
|
__decorate([
|
|
139
140
|
n()
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import PlusRating from './rating.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
4
|
-
import '../../state-
|
|
5
|
-
import '../../style-map-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../../state-D1d5Sfj8.js';
|
|
5
|
+
import '../../style-map-DC_vNus2.js';
|
|
6
6
|
import '../../directive-DZCF8pFJ.js';
|
|
7
|
-
import '../../if-defined-
|
|
7
|
+
import '../../if-defined-D-m3dgRf.js';
|
|
8
8
|
import './rating.style.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
10
|
import '../label/label.style.js';
|
|
11
11
|
import '../caption/caption.style.js';
|
|
12
12
|
import '../base/tailwind-base.js';
|
|
13
|
-
import '../../global-
|
|
14
|
-
import '
|
|
15
|
-
import '../../unsafe-html-BXTWMFA8.js';
|
|
16
|
-
import '../svg-icon/icons.js';
|
|
13
|
+
import '../../global-CFlb4NrK.js';
|
|
14
|
+
import '../../utils/boolean-converter.js';
|
|
17
15
|
|
|
18
16
|
customElements.define('plus-rating', PlusRating);
|
|
19
17
|
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { E, x } from '../../lit-element-
|
|
3
|
-
import { r } from '../../state-
|
|
4
|
-
import { o as o$1 } from '../../style-map-
|
|
5
|
-
import { o } from '../../if-defined-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { E, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import { r } from '../../state-D1d5Sfj8.js';
|
|
4
|
+
import { o as o$1 } from '../../style-map-DC_vNus2.js';
|
|
5
|
+
import { o } from '../../if-defined-D-m3dgRf.js';
|
|
6
6
|
import { ratingStyle } from './rating.style.js';
|
|
7
7
|
import Tailwind from '../base/tailwind-base.js';
|
|
8
|
-
import '
|
|
8
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
9
9
|
import { labelStyle } from '../label/label.style.js';
|
|
10
10
|
import { captionStyle } from '../caption/caption.style.js';
|
|
11
11
|
import '../../directive-DZCF8pFJ.js';
|
|
12
12
|
import '../../index-B9iart53.js';
|
|
13
|
-
import '../../global-
|
|
14
|
-
import '../../unsafe-html-BXTWMFA8.js';
|
|
15
|
-
import '../svg-icon/icons.js';
|
|
13
|
+
import '../../global-CFlb4NrK.js';
|
|
16
14
|
|
|
17
15
|
/**
|
|
18
16
|
* @tag plus-rating
|
|
@@ -226,7 +224,7 @@ class PlusRating extends Tailwind {
|
|
|
226
224
|
>
|
|
227
225
|
<!-- Background Star -->
|
|
228
226
|
<span class="${styles.starIcon()} ${currentIconColorClass}">
|
|
229
|
-
<plus-
|
|
227
|
+
<plus-icon icon-name=${currentIconName}></plus-icon>
|
|
230
228
|
</span>
|
|
231
229
|
|
|
232
230
|
<!-- Foreground Partial Star -->
|
|
@@ -236,9 +234,7 @@ class PlusRating extends Tailwind {
|
|
|
236
234
|
class="${styles.starPartial()} ${styles.starIcon()} text-color-primary"
|
|
237
235
|
style=${o$1({ width: partialWidth })}
|
|
238
236
|
>
|
|
239
|
-
<plus-
|
|
240
|
-
iconName=${this.filledIconName}
|
|
241
|
-
></plus-svg-icon>
|
|
237
|
+
<plus-icon icon-name=${this.filledIconName}></plus-icon>
|
|
242
238
|
</span>
|
|
243
239
|
`
|
|
244
240
|
: E}
|
|
@@ -262,10 +258,10 @@ __decorate([
|
|
|
262
258
|
n({ type: Number })
|
|
263
259
|
], PlusRating.prototype, "precision", void 0);
|
|
264
260
|
__decorate([
|
|
265
|
-
n({ type: Boolean })
|
|
261
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
266
262
|
], PlusRating.prototype, "readonly", void 0);
|
|
267
263
|
__decorate([
|
|
268
|
-
n({ type: Boolean })
|
|
264
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
269
265
|
], PlusRating.prototype, "disabled", void 0);
|
|
270
266
|
__decorate([
|
|
271
267
|
n({ type: String })
|
|
@@ -286,7 +282,7 @@ __decorate([
|
|
|
286
282
|
n({ type: String })
|
|
287
283
|
], PlusRating.prototype, "caption", void 0);
|
|
288
284
|
__decorate([
|
|
289
|
-
n({ type: Boolean })
|
|
285
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
290
286
|
], PlusRating.prototype, "required", void 0);
|
|
291
287
|
__decorate([
|
|
292
288
|
r()
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import PlusSegmentedPicker from './segmented-picker.component.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
5
|
+
import '../../global-CFlb4NrK.js';
|
|
6
6
|
import '../../query-assigned-elements-B8Evmg7O.js';
|
|
7
7
|
import '../../base-Cl6v8-BZ.js';
|
|
8
8
|
import './segmented-picker.style.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { x } from '../../lit-element-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
3
3
|
import Tailwind from '../base/tailwind-base.js';
|
|
4
4
|
import { o } from '../../query-assigned-elements-B8Evmg7O.js';
|
|
5
5
|
import { segmentedPickerStyle } from './segmented-picker.style.js';
|
|
6
|
-
import '../../global-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
7
7
|
import '../../base-Cl6v8-BZ.js';
|
|
8
8
|
import '../../index-B9iart53.js';
|
|
9
9
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import PlusSegmentedPickerItem from './segmented-picker-item.component.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
6
|
-
import '../../state-
|
|
5
|
+
import '../../global-CFlb4NrK.js';
|
|
6
|
+
import '../../state-D1d5Sfj8.js';
|
|
7
|
+
import '../../utils/boolean-converter.js';
|
|
7
8
|
import './segmented-picker-item.style.js';
|
|
8
9
|
import '../../index-B9iart53.js';
|
|
9
10
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { x } from '../../lit-element-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
3
3
|
import Tailwind from '../base/tailwind-base.js';
|
|
4
|
-
import { r } from '../../state-
|
|
4
|
+
import { r } from '../../state-D1d5Sfj8.js';
|
|
5
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
5
6
|
import { segmentedPickerItemStyle } from './segmented-picker-item.style.js';
|
|
6
|
-
import '../../global-
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
7
8
|
import '../../index-B9iart53.js';
|
|
8
9
|
|
|
9
10
|
/**
|
|
@@ -14,15 +15,12 @@ import '../../index-B9iart53.js';
|
|
|
14
15
|
*
|
|
15
16
|
* @csspart label - The label element.
|
|
16
17
|
* @csspart input - The input element.
|
|
18
|
+
* @cssproperty --active-color - Color of the active indicator
|
|
17
19
|
*/
|
|
18
20
|
class PlusSegmentedPickerItem extends Tailwind {
|
|
19
21
|
constructor() {
|
|
20
22
|
super(...arguments);
|
|
21
|
-
/**
|
|
22
|
-
* Whether the item is checked.
|
|
23
|
-
* @type {boolean}
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
23
|
+
/** The value associated with the item. */
|
|
26
24
|
this.checked = false;
|
|
27
25
|
/**
|
|
28
26
|
* The status of the item.
|
|
@@ -30,11 +28,7 @@ class PlusSegmentedPickerItem extends Tailwind {
|
|
|
30
28
|
* @default 'default'
|
|
31
29
|
*/
|
|
32
30
|
this.status = 'default';
|
|
33
|
-
/**
|
|
34
|
-
* Whether the item is disabled.
|
|
35
|
-
* @type {boolean}
|
|
36
|
-
* @default false
|
|
37
|
-
*/
|
|
31
|
+
/** Disables the item, making it non-interactive. */
|
|
38
32
|
this.disabled = false;
|
|
39
33
|
/**
|
|
40
34
|
* The shape of the item.
|
|
@@ -113,13 +107,13 @@ class PlusSegmentedPickerItem extends Tailwind {
|
|
|
113
107
|
}
|
|
114
108
|
}
|
|
115
109
|
__decorate([
|
|
116
|
-
n({ type: Boolean, reflect: true })
|
|
110
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
117
111
|
], PlusSegmentedPickerItem.prototype, "checked", void 0);
|
|
118
112
|
__decorate([
|
|
119
113
|
n({ type: String, reflect: true })
|
|
120
114
|
], PlusSegmentedPickerItem.prototype, "status", void 0);
|
|
121
115
|
__decorate([
|
|
122
|
-
n({ type: Boolean, reflect: true })
|
|
116
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
123
117
|
], PlusSegmentedPickerItem.prototype, "disabled", void 0);
|
|
124
118
|
__decorate([
|
|
125
119
|
n({ type: String, reflect: true })
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import PlusSelect from './select.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
4
|
-
import '../../state-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../../state-D1d5Sfj8.js';
|
|
5
5
|
import '../../query-assigned-elements-B8Evmg7O.js';
|
|
6
6
|
import '../../base-Cl6v8-BZ.js';
|
|
7
7
|
import '../base/tailwind-base.js';
|
|
8
|
-
import '../../global-
|
|
9
|
-
import '../../floating-ui.dom-
|
|
8
|
+
import '../../global-CFlb4NrK.js';
|
|
9
|
+
import '../../floating-ui.dom-OBaMlALa.js';
|
|
10
10
|
import './select.style.js';
|
|
11
11
|
import '../../index-B9iart53.js';
|
|
12
|
+
import '../../utils/boolean-converter.js';
|
|
12
13
|
|
|
13
14
|
customElements.define('plus-select', PlusSelect);
|
|
14
15
|
|