@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
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import PlusIcon from './icon.js';
|
|
2
|
-
|
|
3
|
-
import '../../
|
|
4
|
-
import '../../
|
|
2
|
+
export { getAvailableIcons, getCachedIcon, getIcon, hasIcon, registerIcon } from './icon-registry.js';
|
|
3
|
+
import '../../property-DiPQx9S3.js';
|
|
4
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
5
|
+
import '../../state-D1d5Sfj8.js';
|
|
5
6
|
import '../../directive-DZCF8pFJ.js';
|
|
7
|
+
import './solid-icons.js';
|
|
8
|
+
import './regular-icons.js';
|
|
9
|
+
import './light-icons.js';
|
|
6
10
|
|
|
11
|
+
// Register the component
|
|
7
12
|
customElements.define('plus-icon', PlusIcon);
|
|
13
|
+
|
|
14
|
+
export { PlusIcon };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Light style SVG icons for Plus UI
|
|
2
|
+
const lightIcons = {
|
|
3
|
+
star: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path d="M226.5 168.8L287.9 42.3l61.4 126.5c4.6 9.5 13.6 16.1 24.1 17.7l137.4 20.3-99.8 98.8c-7.4 7.3-10.8 17.8-9 28.1l23.5 139.5L303 407.7c-9.4-5-20.7-5-30.2 0L150.2 473.2l23.5-139.5c1.7-10.3-1.6-20.7-9-28.1L65 206.8l137.4-20.3c10.5-1.5 19.5-8.2 24.1-17.7zM424.9 509.1c8.1 4.3 17.9 3.7 25.3-1.7s11.2-14.5 9.7-23.5L433.6 328.4 544.8 218.2c6.5-6.4 8.7-15.9 5.9-24.5s-10.3-14.9-19.3-16.3L378.1 154.8 309.5 13.5C305.5 5.2 297.1 0 287.9 0s-17.6 5.2-21.6 13.5L197.7 154.8 44.5 177.5c-9 1.3-16.5 7.6-19.3 16.3s-.5 18.1 5.9 24.5L142.2 328.4 116 483.9c-1.5 9 2.2 18.1 9.7 23.5s17.3 6 25.3 1.7l137-73.2 137 73.2z"/></svg>`,
|
|
4
|
+
heart: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Pro 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path d="M244 130.6l-12-13.5-4.2-4.7c-26-29.2-65.3-42.8-103.8-35.8c-53.3 9.7-92 56.1-92 110.3l0 3.5c0 32.3 13.4 63.1 37.1 85.1L253 446.8c.8 .7 1.9 1.2 3 1.2s2.2-.4 3-1.2L443 275.5c23.6-22 37-52.8 37-85.1l0-3.5c0-54.2-38.7-100.6-92-110.3c-38.5-7-77.8 6.6-103.8 35.8l-4.2 4.7-12 13.5c-3 3.4-7.4 5.4-12 5.4s-8.9-2-12-5.4zm34.9-57.1C311 48.4 352.7 37.7 393.7 45.1C462.2 57.6 512 117.3 512 186.9l0 3.5c0 36-13.1 70.6-36.6 97.5c-3.4 3.8-6.9 7.5-10.7 11l-184 171.3c-.8 .8-1.7 1.5-2.6 2.2c-6.3 4.9-14.1 7.5-22.1 7.5c-9.2 0-18-3.5-24.8-9.7L47.2 299c-3.8-3.5-7.3-7.2-10.7-11C13.1 261 0 226.4 0 190.4l0-3.5C0 117.3 49.8 57.6 118.3 45.1c40.9-7.4 82.6 3.2 114.7 28.4c6.7 5.3 13 11.1 18.7 17.6l4.2 4.7 4.2-4.7c4.2-4.7 8.6-9.1 13.3-13.1c1.8-1.5 3.6-3 5.4-4.5z"/></svg>`,
|
|
5
|
+
user: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="none" stroke="currentColor" stroke-width="32"><path d="M224 256c70.7 0 128-57.31 128-128S294.7 0 224 0 96 57.31 96 128s57.31 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"/></svg>`,
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export { lightIcons as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Regular style SVG icons for Plus UI
|
|
2
|
+
const regularIcons = {
|
|
3
|
+
star: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M287.9 0c9.2 0 17.6 5.2 21.6 13.5l68.6 141.3 153.2 22.6c9 1.3 16.5 7.6 19.3 16.3s.5 18.1-5.9 24.5L433.6 328.4l26.2 155.6c1.5 9-2.2 18.1-9.7 23.5s-17.3 6-25.3 1.7l-137-73.2L151 509.1c-8.1 4.3-17.9 3.7-25.3-1.7s-11.2-14.5-9.7-23.5l26.2-155.6L31.1 218.2c-6.5-6.4-8.7-15.9-5.9-24.5s10.3-14.9 19.3-16.3l153.2-22.6L266.3 13.5C270.4 5.2 278.7 0 287.9 0zm0 79L235.4 187.2c-3.5 7.1-10.2 12.1-18.1 13.3L99 217.9 184.9 303c5.5 5.5 8.1 13.3 6.8 21L171.4 443.7l105.2-56.2c7.1-3.8 15.6-3.8 22.6 0l105.2 56.2L384.2 324.1c-1.3-7.7 1.2-15.5 6.8-21l85.9-85.1L358.6 200.5c-7.8-1.2-14.6-6.1-18.1-13.3L287.9 79z"/></svg>`,
|
|
4
|
+
heart: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8l0-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5l0 3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20-.1-.1s0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5l0 3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2l0-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z"/></svg>`,
|
|
5
|
+
user: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor"><path d="M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464l349.5 0c-8.9-63.3-63.3-112-129-112l-91.4 0c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3z"/></svg>`,
|
|
6
|
+
'circle-check': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z"/></svg>`,
|
|
7
|
+
'circle-xmark': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"/></svg>`,
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { regularIcons as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Solid style SVG icons for Plus UI
|
|
2
|
+
const solidIcons = {
|
|
3
|
+
// UI Controls
|
|
4
|
+
xmark: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" fill="currentColor"><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>`,
|
|
5
|
+
check: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor"><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>`,
|
|
6
|
+
minus: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor"><path d="M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"/></svg>`,
|
|
7
|
+
// Navigation & Arrows
|
|
8
|
+
'chevron-up': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"/></svg>`,
|
|
9
|
+
'chevron-down': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>`,
|
|
10
|
+
'angle-up': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor"><path d="M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"/></svg>`,
|
|
11
|
+
'angle-down': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor"><path d="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg>`,
|
|
12
|
+
'angle-right': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="currentColor"><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg>`,
|
|
13
|
+
// Status & Feedback
|
|
14
|
+
'circle-check': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>`,
|
|
15
|
+
'circle-xmark': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"/></svg>`,
|
|
16
|
+
'circle-info': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>`,
|
|
17
|
+
'circle-exclamation': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/></svg>`,
|
|
18
|
+
'circle-question': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3l58.3 0c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24l0-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1l-58.3 0c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"/></svg>`,
|
|
19
|
+
'triangle-exclamation': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>`,
|
|
20
|
+
'circle-plus': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344l0-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"/></svg>`,
|
|
21
|
+
// User & Authentication
|
|
22
|
+
user: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"/></svg>`,
|
|
23
|
+
lock: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="currentColor"><path d="M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z"/></svg>`,
|
|
24
|
+
envelope: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="currentColor"><path d="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"/></svg>`,
|
|
25
|
+
eye: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" fill="currentColor"><path d="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"/></svg>`,
|
|
26
|
+
'eye-slash': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" fill="currentColor"><path d="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"/></svg>`,
|
|
27
|
+
// Popular icons
|
|
28
|
+
star: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"/></svg>`,
|
|
29
|
+
heart: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"/></svg>`,
|
|
30
|
+
home: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" fill="currentColor"><path d="M575.8 255.5c0 18-15 32.1-32 32.1l-32 0 .7 160.2c0 2.7-.2 5.4-.5 8.1l0 16.2c0 22.1-17.9 40-40 40l-16 0c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1L416 512l-24 0c-22.1 0-40-17.9-40-40l0-24 0-64c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32 14.3-32 32l0 64 0 24c0 22.1-17.9 40-40 40l-24 0-31.9 0c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2l-16 0c-22.1 0-40-17.9-40-40l0-112c0-.9 0-1.9 .1-2.8l0-69.7-32 0c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"/></svg>`,
|
|
31
|
+
'heart-circle-plus': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" fill="currentColor"><path d="M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9l2.6-2.4C267.2 438.6 256 404.6 256 368c0-97.2 78.8-176 176-176c28.3 0 55 6.7 78.7 18.5c.9-6.5 1.3-13 1.3-19.6l0-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1l0 5.8c0 41.5 17.2 81.2 47.6 109.5zM432 512a144 144 0 1 0 0-288 144 144 0 1 0 0 288zm16-208l0 48 48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-48 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-48 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l48 0 0-48c0-8.8 7.2-16 16-16s16 7.2 16 16z"/></svg>`,
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { solidIcons as default };
|
package/cdn/components/index.js
CHANGED
|
@@ -2,10 +2,9 @@ import './base/tailwind-base.js';
|
|
|
2
2
|
import './avatar/index.js';
|
|
3
3
|
import './button/index.js';
|
|
4
4
|
import './button-group/index.js';
|
|
5
|
-
import './icon/index.js';
|
|
6
5
|
import './badge/index.js';
|
|
7
6
|
import './tag/index.js';
|
|
8
|
-
import './
|
|
7
|
+
import './icon/index.js';
|
|
9
8
|
import './chip/index.js';
|
|
10
9
|
import './link/index.js';
|
|
11
10
|
import './alert/index.js';
|
|
@@ -41,11 +40,12 @@ import './toggle/index.js';
|
|
|
41
40
|
import './tab/index.js';
|
|
42
41
|
import './tab-panel/index.js';
|
|
43
42
|
import './tab-group/index.js';
|
|
43
|
+
export { default as PlusIcon } from './icon/icon.js';
|
|
44
44
|
export { default as PlusButton } from './button/button.js';
|
|
45
45
|
export { default as PlusButtonGroup } from './button-group/button-group.js';
|
|
46
46
|
export { default as PlusBadge } from './badge/badge.js';
|
|
47
47
|
export { default as PlusTag } from './tag/tag.js';
|
|
48
|
-
export { getIcon,
|
|
48
|
+
export { getAvailableIcons, getCachedIcon, getIcon, hasIcon, registerIcon } from './icon/icon-registry.js';
|
|
49
49
|
export { default as PlusSegmentedPicker } from './segmented-picker/segmented-picker.component.js';
|
|
50
50
|
export { default as PlusSegmentedPickerItem } from './segmented-picker-item/segmented-picker-item.component.js';
|
|
51
51
|
export { default as PlusModal } from './modal/modal.js';
|
|
@@ -75,19 +75,17 @@ export { PlusToggle } from './toggle/toggle.js';
|
|
|
75
75
|
export { default as PlusTab } from './tab/tab.js';
|
|
76
76
|
export { default as PlusTabPanel } from './tab-panel/tab-panel.js';
|
|
77
77
|
export { default as PlusTabGroup } from './tab-group/tab-group.js';
|
|
78
|
-
import '../lit-element-
|
|
79
|
-
import '../global-
|
|
78
|
+
import '../lit-element-ByzbtpGk.js';
|
|
79
|
+
import '../global-CFlb4NrK.js';
|
|
80
80
|
import './avatar/avatar.js';
|
|
81
|
-
import '../property-
|
|
82
|
-
import '../state-
|
|
81
|
+
import '../property-DiPQx9S3.js';
|
|
82
|
+
import '../state-D1d5Sfj8.js';
|
|
83
|
+
import '../utils/boolean-converter.js';
|
|
83
84
|
import '../model/plus.js';
|
|
84
85
|
import './avatar/avatar.style.js';
|
|
85
86
|
import '../index-B9iart53.js';
|
|
86
|
-
import '../style-map-
|
|
87
|
+
import '../style-map-DC_vNus2.js';
|
|
87
88
|
import '../directive-DZCF8pFJ.js';
|
|
88
|
-
import './icon/icon.js';
|
|
89
|
-
import '../unsafe-html-BXTWMFA8.js';
|
|
90
|
-
import './svg-icon/svg-icon.js';
|
|
91
89
|
import './chip/chip.js';
|
|
92
90
|
import './chip/chip.style.js';
|
|
93
91
|
import './link/link.js';
|
|
@@ -105,6 +103,9 @@ import './button-group/button-group.style.js';
|
|
|
105
103
|
import './badge/badge.host.style.js';
|
|
106
104
|
import './badge/badge.style.js';
|
|
107
105
|
import './tag/tag.style.js';
|
|
106
|
+
import './icon/solid-icons.js';
|
|
107
|
+
import './icon/regular-icons.js';
|
|
108
|
+
import './icon/light-icons.js';
|
|
108
109
|
import '../query-assigned-elements-B8Evmg7O.js';
|
|
109
110
|
import './segmented-picker/segmented-picker.style.js';
|
|
110
111
|
import './segmented-picker-item/segmented-picker-item.style.js';
|
|
@@ -112,12 +113,12 @@ import './modal/modal.style.js';
|
|
|
112
113
|
import './drawer/drawer.style.js';
|
|
113
114
|
import './accordion/accordion.style.js';
|
|
114
115
|
import './divider/divider.style.js';
|
|
115
|
-
import '../floating-ui.dom-
|
|
116
|
+
import '../floating-ui.dom-OBaMlALa.js';
|
|
116
117
|
import './popover/popover.style.js';
|
|
117
118
|
import './list-box-item/list-box-item.style.js';
|
|
118
119
|
import './dropdown/dropdown.style.js';
|
|
119
|
-
import '../if-defined-
|
|
120
|
-
import '../live-
|
|
120
|
+
import '../if-defined-D-m3dgRf.js';
|
|
121
|
+
import '../live-BOAtKRUN.js';
|
|
121
122
|
import './tooltip/tooltip.style.js';
|
|
122
123
|
import './input/input.style.js';
|
|
123
124
|
import './label/label.style.js';
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import PlusInput from './input.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 '../../if-defined-
|
|
10
|
-
import '../../live-
|
|
9
|
+
import '../../global-CFlb4NrK.js';
|
|
10
|
+
import '../../if-defined-D-m3dgRf.js';
|
|
11
|
+
import '../../live-BOAtKRUN.js';
|
|
11
12
|
import '../../directive-DZCF8pFJ.js';
|
|
12
13
|
import './input.style.js';
|
|
13
14
|
import '../../index-B9iart53.js';
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import {
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { i, E, 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
|
-
import { o } from '../../if-defined-
|
|
7
|
-
import { l } from '../../live-
|
|
7
|
+
import { o } from '../../if-defined-D-m3dgRf.js';
|
|
8
|
+
import { l } from '../../live-BOAtKRUN.js';
|
|
8
9
|
import { inputStyle } from './input.style.js';
|
|
9
10
|
import { labelStyle } from '../label/label.style.js';
|
|
10
11
|
import { captionStyle } from '../caption/caption.style.js';
|
|
11
12
|
import '../../base-Cl6v8-BZ.js';
|
|
12
|
-
import '../../global-
|
|
13
|
+
import '../../global-CFlb4NrK.js';
|
|
13
14
|
import '../../directive-DZCF8pFJ.js';
|
|
14
15
|
import '../../index-B9iart53.js';
|
|
15
16
|
|
|
@@ -94,42 +95,49 @@ class PlusInput extends Tailwind {
|
|
|
94
95
|
* Whether the input should have a clear button
|
|
95
96
|
* @type {boolean}
|
|
96
97
|
* @default false
|
|
98
|
+
* @attr clearable
|
|
97
99
|
*/
|
|
98
100
|
this.clearable = false;
|
|
99
101
|
/**
|
|
100
102
|
* Whether the input is disabled
|
|
101
103
|
* @type {boolean}
|
|
102
104
|
* @default false
|
|
105
|
+
* @attr disabled
|
|
103
106
|
*/
|
|
104
107
|
this.disabled = false;
|
|
105
108
|
/**
|
|
106
109
|
* Whether the input is readonly
|
|
107
110
|
* @type {boolean}
|
|
108
111
|
* @default false
|
|
112
|
+
* @attr readonly
|
|
109
113
|
*/
|
|
110
114
|
this.readonly = false;
|
|
111
115
|
/**
|
|
112
116
|
* Whether the input is required
|
|
113
117
|
* @type {boolean}
|
|
114
118
|
* @default false
|
|
119
|
+
* @attr required
|
|
115
120
|
*/
|
|
116
121
|
this.required = false;
|
|
117
122
|
/**
|
|
118
123
|
* Whether to show a password toggle button
|
|
119
124
|
* @type {boolean}
|
|
120
125
|
* @default false
|
|
126
|
+
* @attr password-toggle
|
|
121
127
|
*/
|
|
122
128
|
this.passwordToggle = false;
|
|
123
129
|
/**
|
|
124
130
|
* Whether the password is visible
|
|
125
131
|
* @type {boolean}
|
|
126
132
|
* @default false
|
|
133
|
+
* @attr password-visible
|
|
127
134
|
*/
|
|
128
135
|
this.passwordVisible = false;
|
|
129
136
|
/**
|
|
130
137
|
* Whether the input is in an error state
|
|
131
138
|
* @type {boolean}
|
|
132
139
|
* @default false
|
|
140
|
+
* @attr error
|
|
133
141
|
*/
|
|
134
142
|
this.error = false;
|
|
135
143
|
/**
|
|
@@ -148,6 +156,8 @@ class PlusInput extends Tailwind {
|
|
|
148
156
|
* Whether the input is used as part of a select component
|
|
149
157
|
* @type {boolean}
|
|
150
158
|
* @default false
|
|
159
|
+
* @internal
|
|
160
|
+
* @attr isSelect
|
|
151
161
|
*/
|
|
152
162
|
this.isSelect = false;
|
|
153
163
|
}
|
|
@@ -384,7 +394,7 @@ class PlusInput extends Tailwind {
|
|
|
384
394
|
aria-label="Clear input"
|
|
385
395
|
tabindex="0"
|
|
386
396
|
>
|
|
387
|
-
<plus-
|
|
397
|
+
<plus-icon icon-name="xmark"></plus-icon>
|
|
388
398
|
</div>`
|
|
389
399
|
: E;
|
|
390
400
|
const PasswordToggleTemplate = () => passwordToggle && this.type === 'password'
|
|
@@ -395,9 +405,9 @@ class PlusInput extends Tailwind {
|
|
|
395
405
|
aria-label=${passwordVisible ? 'Hide password' : 'Show password'}
|
|
396
406
|
tabindex="0"
|
|
397
407
|
>
|
|
398
|
-
<plus-
|
|
399
|
-
|
|
400
|
-
></plus-
|
|
408
|
+
<plus-icon
|
|
409
|
+
icon-name=${passwordVisible ? 'eye-slash' : 'eye'}
|
|
410
|
+
></plus-icon>
|
|
401
411
|
</div>`
|
|
402
412
|
: E;
|
|
403
413
|
return x `<div
|
|
@@ -411,7 +421,7 @@ class PlusInput extends Tailwind {
|
|
|
411
421
|
<div class=${inputWrapper()} @click=${() => this.input.focus()}>
|
|
412
422
|
${prefixIcon
|
|
413
423
|
? x `<div class=${prefix()} aria-hidden="true">
|
|
414
|
-
<plus-
|
|
424
|
+
<plus-icon icon-name=${prefixIcon}></plus-icon>
|
|
415
425
|
</div>`
|
|
416
426
|
: E}
|
|
417
427
|
<slot
|
|
@@ -463,7 +473,7 @@ class PlusInput extends Tailwind {
|
|
|
463
473
|
></slot>
|
|
464
474
|
${suffixIcon
|
|
465
475
|
? x `<div class=${suffix()} aria-hidden="true">
|
|
466
|
-
<plus-
|
|
476
|
+
<plus-icon icon-name=${suffixIcon}></plus-icon>
|
|
467
477
|
</div>`
|
|
468
478
|
: E}
|
|
469
479
|
</div>
|
|
@@ -510,22 +520,32 @@ __decorate([
|
|
|
510
520
|
n({ reflect: true })
|
|
511
521
|
], PlusInput.prototype, "size", void 0);
|
|
512
522
|
__decorate([
|
|
513
|
-
n({ type: Boolean, converter:
|
|
523
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
514
524
|
], PlusInput.prototype, "clearable", void 0);
|
|
515
525
|
__decorate([
|
|
516
|
-
n({ type: Boolean, converter:
|
|
526
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
517
527
|
], PlusInput.prototype, "disabled", void 0);
|
|
518
528
|
__decorate([
|
|
519
|
-
n({ type: Boolean, converter:
|
|
529
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
520
530
|
], PlusInput.prototype, "readonly", void 0);
|
|
521
531
|
__decorate([
|
|
522
|
-
n({ type: Boolean, converter:
|
|
532
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
523
533
|
], PlusInput.prototype, "required", void 0);
|
|
524
534
|
__decorate([
|
|
525
|
-
n({
|
|
535
|
+
n({
|
|
536
|
+
attribute: 'password-toggle',
|
|
537
|
+
type: Boolean,
|
|
538
|
+
converter: booleanConverter,
|
|
539
|
+
reflect: true,
|
|
540
|
+
})
|
|
526
541
|
], PlusInput.prototype, "passwordToggle", void 0);
|
|
527
542
|
__decorate([
|
|
528
|
-
n({
|
|
543
|
+
n({
|
|
544
|
+
attribute: 'password-visible',
|
|
545
|
+
type: Boolean,
|
|
546
|
+
converter: booleanConverter,
|
|
547
|
+
reflect: true,
|
|
548
|
+
})
|
|
529
549
|
], PlusInput.prototype, "passwordVisible", void 0);
|
|
530
550
|
__decorate([
|
|
531
551
|
n({ type: String })
|
|
@@ -555,7 +575,7 @@ __decorate([
|
|
|
555
575
|
n()
|
|
556
576
|
], PlusInput.prototype, "autocomplete", void 0);
|
|
557
577
|
__decorate([
|
|
558
|
-
n({ type: Boolean })
|
|
578
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
559
579
|
], PlusInput.prototype, "autoFocus", void 0);
|
|
560
580
|
__decorate([
|
|
561
581
|
n()
|
|
@@ -564,22 +584,27 @@ __decorate([
|
|
|
564
584
|
n()
|
|
565
585
|
], PlusInput.prototype, "inputmode", void 0);
|
|
566
586
|
__decorate([
|
|
567
|
-
n({ type: Boolean })
|
|
587
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
568
588
|
], PlusInput.prototype, "spellCheck", void 0);
|
|
569
589
|
__decorate([
|
|
570
590
|
n({ type: String })
|
|
571
591
|
], PlusInput.prototype, "caption", void 0);
|
|
572
592
|
__decorate([
|
|
573
|
-
n({ type: Boolean, converter:
|
|
593
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
574
594
|
], PlusInput.prototype, "error", void 0);
|
|
575
595
|
__decorate([
|
|
576
596
|
n({ type: String, attribute: 'error-message' })
|
|
577
597
|
], PlusInput.prototype, "errorMessage", void 0);
|
|
578
598
|
__decorate([
|
|
579
|
-
n({
|
|
599
|
+
n({
|
|
600
|
+
reflect: true,
|
|
601
|
+
attribute: 'full-width',
|
|
602
|
+
type: Boolean,
|
|
603
|
+
converter: booleanConverter,
|
|
604
|
+
})
|
|
580
605
|
], PlusInput.prototype, "fullWidth", void 0);
|
|
581
606
|
__decorate([
|
|
582
|
-
n({ type: Boolean, converter:
|
|
607
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
583
608
|
], PlusInput.prototype, "isSelect", void 0);
|
|
584
609
|
__decorate([
|
|
585
610
|
n({ type: String, attribute: 'prefix-icon' })
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import PlusLink from './link.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 './link.style.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
|
+
import '../../utils/boolean-converter.js';
|
|
8
9
|
|
|
9
10
|
customElements.define('plus-link', PlusLink);
|
|
@@ -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
3
|
import Tailwind from '../base/tailwind-base.js';
|
|
4
4
|
import { linkStyle } from './link.style.js';
|
|
5
|
-
import '../../
|
|
5
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
6
7
|
import '../../index-B9iart53.js';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -133,14 +134,14 @@ __decorate([
|
|
|
133
134
|
n({
|
|
134
135
|
type: Boolean,
|
|
135
136
|
reflect: true,
|
|
136
|
-
converter:
|
|
137
|
+
converter: booleanConverter,
|
|
137
138
|
})
|
|
138
139
|
], PlusLink.prototype, "disabled", void 0);
|
|
139
140
|
__decorate([
|
|
140
141
|
n({
|
|
141
142
|
type: Boolean,
|
|
142
143
|
reflect: true,
|
|
143
|
-
converter:
|
|
144
|
+
converter: booleanConverter,
|
|
144
145
|
})
|
|
145
146
|
], PlusLink.prototype, "readonly", void 0);
|
|
146
147
|
__decorate([
|
|
@@ -156,10 +157,10 @@ __decorate([
|
|
|
156
157
|
n({ type: String })
|
|
157
158
|
], PlusLink.prototype, "download", void 0);
|
|
158
159
|
__decorate([
|
|
159
|
-
n({ type: Boolean })
|
|
160
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
160
161
|
], PlusLink.prototype, "loading", void 0);
|
|
161
162
|
__decorate([
|
|
162
|
-
n({ type: Boolean })
|
|
163
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
163
164
|
], PlusLink.prototype, "external", void 0);
|
|
164
165
|
__decorate([
|
|
165
166
|
n({ type: String })
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import PlusListBoxItem from './list-box-item.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 '../../style-map-
|
|
5
|
+
import '../../global-CFlb4NrK.js';
|
|
6
|
+
import '../../style-map-DC_vNus2.js';
|
|
7
7
|
import '../../directive-DZCF8pFJ.js';
|
|
8
8
|
import './list-box-item.style.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
|
+
import '../../utils/boolean-converter.js';
|
|
10
11
|
|
|
11
12
|
customElements.define('plus-list-box-item', PlusListBoxItem);
|
|
12
13
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
2
|
import Tailwind from '../base/tailwind-base.js';
|
|
3
|
-
import { x } from '../../lit-element-
|
|
4
|
-
import { o } from '../../style-map-
|
|
3
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import { o } from '../../style-map-DC_vNus2.js';
|
|
5
5
|
import { listBoxItemStyle } from './list-box-item.style.js';
|
|
6
|
-
import '../../
|
|
6
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
7
8
|
import '../../directive-DZCF8pFJ.js';
|
|
8
9
|
import '../../index-B9iart53.js';
|
|
9
10
|
|
|
@@ -36,17 +37,9 @@ class PlusListBoxItem extends Tailwind {
|
|
|
36
37
|
* @default 'md'
|
|
37
38
|
*/
|
|
38
39
|
this.size = 'md';
|
|
39
|
-
/**
|
|
40
|
-
* Disables the list box item interaction
|
|
41
|
-
* When disabled, the item cannot be clicked or selected
|
|
42
|
-
* @default false
|
|
43
|
-
*/
|
|
40
|
+
/** Disables the item, making it non-interactive. */
|
|
44
41
|
this.disabled = false;
|
|
45
|
-
/**
|
|
46
|
-
* Sets the selected state of the list box item
|
|
47
|
-
* When selected, the item will display with a highlighted background
|
|
48
|
-
* @default false
|
|
49
|
-
*/
|
|
42
|
+
/** Indicates whether the item is currently selected. */
|
|
50
43
|
this.selected = false;
|
|
51
44
|
}
|
|
52
45
|
/**
|
|
@@ -89,10 +82,10 @@ __decorate([
|
|
|
89
82
|
n({ type: String })
|
|
90
83
|
], PlusListBoxItem.prototype, "size", void 0);
|
|
91
84
|
__decorate([
|
|
92
|
-
n({ type: Boolean, converter:
|
|
85
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
93
86
|
], PlusListBoxItem.prototype, "disabled", void 0);
|
|
94
87
|
__decorate([
|
|
95
|
-
n({ type: Boolean, converter:
|
|
88
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
96
89
|
], PlusListBoxItem.prototype, "selected", void 0);
|
|
97
90
|
__decorate([
|
|
98
91
|
n({ attribute: 'text' })
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusModal from './modal.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
|
+
import '../../utils/boolean-converter.js';
|
|
5
6
|
import './modal.style.js';
|
|
6
7
|
import '../../index-B9iart53.js';
|
|
7
8
|
import '../base/tailwind-base.js';
|
|
8
|
-
import '../../global-
|
|
9
|
+
import '../../global-CFlb4NrK.js';
|
|
9
10
|
|
|
10
11
|
customElements.define('plus-modal', PlusModal);
|
|
11
12
|
|
|
@@ -1,10 +1,11 @@
|
|
|
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
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
4
5
|
import { modalStyle } from './modal.style.js';
|
|
5
6
|
import Tailwind from '../base/tailwind-base.js';
|
|
6
7
|
import '../../index-B9iart53.js';
|
|
7
|
-
import '../../global-
|
|
8
|
+
import '../../global-CFlb4NrK.js';
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @tag plus-modal
|
|
@@ -172,7 +173,7 @@ class PlusModal extends Tailwind {
|
|
|
172
173
|
aria-label="Close modal"
|
|
173
174
|
@click=${() => this.hide()}
|
|
174
175
|
>
|
|
175
|
-
<plus-
|
|
176
|
+
<plus-icon icon-name="xmark"></plus-icon>
|
|
176
177
|
</button>
|
|
177
178
|
</slot>
|
|
178
179
|
</div>
|
|
@@ -193,15 +194,25 @@ __decorate([
|
|
|
193
194
|
n({ type: String, reflect: true })
|
|
194
195
|
], PlusModal.prototype, "size", void 0);
|
|
195
196
|
__decorate([
|
|
196
|
-
n({
|
|
197
|
+
n({
|
|
198
|
+
type: Boolean,
|
|
199
|
+
reflect: true,
|
|
200
|
+
attribute: 'is-open',
|
|
201
|
+
converter: booleanConverter,
|
|
202
|
+
})
|
|
197
203
|
], PlusModal.prototype, "isOpen", void 0);
|
|
198
204
|
__decorate([
|
|
199
|
-
n({
|
|
205
|
+
n({
|
|
206
|
+
type: Boolean,
|
|
207
|
+
reflect: true,
|
|
208
|
+
attribute: 'full-width',
|
|
209
|
+
converter: booleanConverter,
|
|
210
|
+
})
|
|
200
211
|
], PlusModal.prototype, "fullWidth", void 0);
|
|
201
212
|
__decorate([
|
|
202
213
|
n({
|
|
203
214
|
type: Boolean,
|
|
204
|
-
converter:
|
|
215
|
+
converter: booleanConverter,
|
|
205
216
|
reflect: true,
|
|
206
217
|
attribute: 'close-on-backdrop',
|
|
207
218
|
})
|
|
@@ -209,7 +220,7 @@ __decorate([
|
|
|
209
220
|
__decorate([
|
|
210
221
|
n({
|
|
211
222
|
type: Boolean,
|
|
212
|
-
converter:
|
|
223
|
+
converter: booleanConverter,
|
|
213
224
|
reflect: true,
|
|
214
225
|
attribute: 'close-on-esc',
|
|
215
226
|
})
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import PlusPopconfirm from './popconfirm.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 './popconfirm.style.js';
|
|
11
12
|
import '../../index-B9iart53.js';
|
|
12
13
|
|