@plusui/library 0.1.2 → 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-BmQGl3Hh.js → cdn/query-assigned-elements-D78NayL0.js} +1 -1
- package/{dist/state-qylyRN7L.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-D2TYlDW5.js → if-defined-Lnht-wFh.js} +1 -1
- package/dist/index.css +2 -2
- 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-Cl8wOWGv.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-3HJE_24O.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-eMo7d83b.js → style-map-YDK_mtXK.js} +1 -1
- package/dist/styles/global.js +2 -2
- package/dist/styles/theme/light.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 +164 -121
- 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-COKphIjP.js +0 -31
- package/cdn/global-jro1Jrjm.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-qD1bNRwo.js +0 -1
- package/dist/lit-element-BNK__jO-.js +0 -27
- package/dist/lit-element-CEaY83fr.js +0 -22
- package/dist/property-Y9xP4-Ky.js +0 -7
- package/dist/unsafe-html-BLLzcKgC.js +0 -6
- package/dist/unsafe-html-BXTWMFA8.js +0 -10
- package/react/PlusSvgIcon.d.ts +0 -52
- package/react/PlusSvgIcon.js +0 -21
- /package/dist/{base-DYpPqEdE.js → base-AyU8eeio.js} +0 -0
- /package/dist/{directive-C38_WcAU.js → directive-D_Ke56J1.js} +0 -0
- /package/dist/{index-CpjI9mV3.js → index-CsKO2ZpR.js} +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
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, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import { r } from '../../state-D1d5Sfj8.js';
|
|
4
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
4
5
|
import { buttonGroupStyle } from './button-group.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-button-group
|
|
@@ -34,7 +35,7 @@ class PlusButtonGroup extends Tailwind {
|
|
|
34
35
|
* Determines whether the button group's properties override the properties of its child buttons.
|
|
35
36
|
* When true, all buttons in the group will have the same appearance.
|
|
36
37
|
* When false, each button can have its own properties.
|
|
37
|
-
* @default
|
|
38
|
+
* @default false
|
|
38
39
|
*/
|
|
39
40
|
this.override = false;
|
|
40
41
|
/**
|
|
@@ -93,30 +94,18 @@ class PlusButtonGroup extends Tailwind {
|
|
|
93
94
|
this.buttons.forEach((button) => {
|
|
94
95
|
if (this.override) {
|
|
95
96
|
// Override button properties with group properties
|
|
96
|
-
button.
|
|
97
|
-
button.
|
|
98
|
-
button.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
button.setAttribute('disabled', '');
|
|
102
|
-
}
|
|
103
|
-
else {
|
|
104
|
-
button.removeAttribute('disabled');
|
|
105
|
-
}
|
|
106
|
-
if (this.loading) {
|
|
107
|
-
button.setAttribute('loading', '');
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
button.removeAttribute('loading');
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
// Always set full-width attribute on buttons when orientation is vertical
|
|
114
|
-
if (isVertical) {
|
|
115
|
-
button.setAttribute('full-width', '');
|
|
97
|
+
button.size = this.size;
|
|
98
|
+
button.kind = this.kind;
|
|
99
|
+
button.status = this.status;
|
|
100
|
+
button.disabled = this.disabled;
|
|
101
|
+
button.loading = this.loading;
|
|
116
102
|
}
|
|
117
103
|
else {
|
|
118
|
-
button.
|
|
104
|
+
button.disabled = this.disabled || button.disabled;
|
|
105
|
+
button.loading = this.loading || button.loading;
|
|
119
106
|
}
|
|
107
|
+
// Always set full-width attribute on buttons when orientation is vertical
|
|
108
|
+
button.fullWidth = isVertical;
|
|
120
109
|
});
|
|
121
110
|
}
|
|
122
111
|
/**
|
|
@@ -225,7 +214,8 @@ __decorate([
|
|
|
225
214
|
__decorate([
|
|
226
215
|
n({
|
|
227
216
|
type: Boolean,
|
|
228
|
-
converter:
|
|
217
|
+
converter: booleanConverter,
|
|
218
|
+
reflect: true,
|
|
229
219
|
})
|
|
230
220
|
], PlusButtonGroup.prototype, "override", void 0);
|
|
231
221
|
__decorate([
|
|
@@ -238,10 +228,10 @@ __decorate([
|
|
|
238
228
|
n({ type: String })
|
|
239
229
|
], PlusButtonGroup.prototype, "size", void 0);
|
|
240
230
|
__decorate([
|
|
241
|
-
n({ type: Boolean })
|
|
231
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
242
232
|
], PlusButtonGroup.prototype, "disabled", void 0);
|
|
243
233
|
__decorate([
|
|
244
|
-
n({ type: Boolean })
|
|
234
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
245
235
|
], PlusButtonGroup.prototype, "loading", void 0);
|
|
246
236
|
__decorate([
|
|
247
237
|
r()
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusButtonGroup from './button-group.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 './button-group.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-button-group', PlusButtonGroup);
|
|
11
12
|
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { r } from '../../state-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { r } from '../../state-D1d5Sfj8.js';
|
|
3
3
|
import { e } from '../../query-CHb9Ft_d.js';
|
|
4
|
-
import { x } from '../../lit-element-
|
|
5
|
-
import { l } from '../../live-
|
|
4
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
5
|
+
import { l } from '../../live-BOAtKRUN.js';
|
|
6
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
6
7
|
import Tailwind from '../base/tailwind-base.js';
|
|
7
8
|
import { checkboxStyle } from './checkbox.style.js';
|
|
8
|
-
import '../svg-icon/index.js';
|
|
9
9
|
import '../../base-Cl6v8-BZ.js';
|
|
10
10
|
import '../../directive-DZCF8pFJ.js';
|
|
11
|
-
import '../../global-
|
|
11
|
+
import '../../global-CFlb4NrK.js';
|
|
12
12
|
import '../../index-B9iart53.js';
|
|
13
|
-
import '../svg-icon/svg-icon.js';
|
|
14
|
-
import '../../unsafe-html-BXTWMFA8.js';
|
|
15
|
-
import '../svg-icon/icons.js';
|
|
16
13
|
|
|
17
14
|
/**
|
|
18
15
|
* @tag plus-checkbox
|
|
@@ -155,11 +152,11 @@ class PlusCheckbox extends Tailwind {
|
|
|
155
152
|
@click=${(e) => e.stopPropagation()}
|
|
156
153
|
/>
|
|
157
154
|
<span part="checkbox" class=${checkbox()} aria-hidden="true">
|
|
158
|
-
<plus-
|
|
155
|
+
<plus-icon
|
|
159
156
|
part="icon"
|
|
160
157
|
class=${icon()}
|
|
161
|
-
|
|
162
|
-
></plus-
|
|
158
|
+
icon-name=${this.indeterminate ? 'minus' : 'check'}
|
|
159
|
+
></plus-icon>
|
|
163
160
|
</span>
|
|
164
161
|
</span>
|
|
165
162
|
<span part="label" class=${label()}>
|
|
@@ -184,19 +181,19 @@ __decorate([
|
|
|
184
181
|
n({ reflect: true })
|
|
185
182
|
], PlusCheckbox.prototype, "size", void 0);
|
|
186
183
|
__decorate([
|
|
187
|
-
n({ type: Boolean, reflect: true })
|
|
184
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
188
185
|
], PlusCheckbox.prototype, "checked", void 0);
|
|
189
186
|
__decorate([
|
|
190
|
-
n({ type: Boolean, reflect: true })
|
|
187
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
191
188
|
], PlusCheckbox.prototype, "indeterminate", void 0);
|
|
192
189
|
__decorate([
|
|
193
|
-
n({ type: Boolean, reflect: true })
|
|
190
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
194
191
|
], PlusCheckbox.prototype, "disabled", void 0);
|
|
195
192
|
__decorate([
|
|
196
193
|
n()
|
|
197
194
|
], PlusCheckbox.prototype, "value", void 0);
|
|
198
195
|
__decorate([
|
|
199
|
-
n({ type: Boolean, reflect: true })
|
|
196
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
200
197
|
], PlusCheckbox.prototype, "error", void 0);
|
|
201
198
|
__decorate([
|
|
202
199
|
n()
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { PlusCheckbox } from './checkbox.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 '../../live-
|
|
7
|
+
import '../../live-BOAtKRUN.js';
|
|
8
8
|
import '../../directive-DZCF8pFJ.js';
|
|
9
|
+
import '../../utils/boolean-converter.js';
|
|
9
10
|
import '../base/tailwind-base.js';
|
|
10
|
-
import '../../global-
|
|
11
|
+
import '../../global-CFlb4NrK.js';
|
|
11
12
|
import './checkbox.style.js';
|
|
12
13
|
import '../../index-B9iart53.js';
|
|
13
|
-
import '../svg-icon/index.js';
|
|
14
|
-
import '../svg-icon/svg-icon.js';
|
|
15
|
-
import '../../unsafe-html-BXTWMFA8.js';
|
|
16
|
-
import '../svg-icon/icons.js';
|
|
17
14
|
|
|
18
15
|
customElements.define('plus-checkbox', PlusCheckbox);
|
|
19
16
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
2
|
import { o } from '../../query-assigned-elements-B8Evmg7O.js';
|
|
3
|
-
import { x } from '../../lit-element-
|
|
3
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
4
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
6
|
import { checkboxGroupStyle } from './checkbox-group.style.js';
|
|
6
7
|
import '../../base-Cl6v8-BZ.js';
|
|
7
|
-
import '../../global-
|
|
8
|
+
import '../../global-CFlb4NrK.js';
|
|
8
9
|
import '../../index-B9iart53.js';
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -30,16 +31,21 @@ class PlusCheckboxGroup extends Tailwind {
|
|
|
30
31
|
/** Whether the entire group is disabled. */
|
|
31
32
|
this.disabled = false;
|
|
32
33
|
this.handleCheckboxChange = (event) => {
|
|
33
|
-
|
|
34
|
+
const target = event.target;
|
|
35
|
+
// We only want to handle clicks on direct plus-checkbox children
|
|
36
|
+
if (target.tagName.toLowerCase() !== 'plus-checkbox') {
|
|
34
37
|
return;
|
|
35
38
|
}
|
|
36
|
-
|
|
37
|
-
if (
|
|
39
|
+
// IMPORTANT: Check if the event's target is a direct child of this group.
|
|
40
|
+
if (target.closest('plus-checkbox-group') !== this) {
|
|
38
41
|
return;
|
|
39
42
|
}
|
|
40
|
-
|
|
43
|
+
// Stop the event from bubbling up to the host, where the user might be listening.
|
|
44
|
+
event.stopPropagation();
|
|
45
|
+
const checkbox = target;
|
|
46
|
+
const targetValue = checkbox.value ?? '';
|
|
41
47
|
const oldValue = [...this.value];
|
|
42
|
-
if (
|
|
48
|
+
if (checkbox.checked) {
|
|
43
49
|
if (!this.value.includes(targetValue)) {
|
|
44
50
|
this.value = [...this.value, targetValue];
|
|
45
51
|
}
|
|
@@ -53,26 +59,40 @@ class PlusCheckboxGroup extends Tailwind {
|
|
|
53
59
|
}
|
|
54
60
|
};
|
|
55
61
|
}
|
|
62
|
+
updated(changedProperties) {
|
|
63
|
+
super.updated(changedProperties);
|
|
64
|
+
if (changedProperties.has('disabled') || changedProperties.has('size')) {
|
|
65
|
+
this.updateCheckboxes();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
56
68
|
handleSlotChange() {
|
|
57
69
|
this.updateCheckboxes();
|
|
58
70
|
}
|
|
59
71
|
updateCheckboxes() {
|
|
60
72
|
if (!this.checkboxes)
|
|
61
73
|
return;
|
|
62
|
-
this.checkboxes.forEach((
|
|
74
|
+
this.checkboxes.forEach((_checkbox) => {
|
|
75
|
+
// We only want to update checkboxes that are direct children of this group.
|
|
76
|
+
if (_checkbox.closest('plus-checkbox-group') !== this) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const checkbox = _checkbox;
|
|
63
80
|
checkbox.size = this.size;
|
|
64
|
-
|
|
81
|
+
if (this.disabled) {
|
|
82
|
+
if (checkbox._internalDisabled === undefined) {
|
|
83
|
+
checkbox._internalDisabled = checkbox.disabled;
|
|
84
|
+
}
|
|
85
|
+
checkbox.disabled = true;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
if (checkbox._internalDisabled !== undefined) {
|
|
89
|
+
checkbox.disabled = checkbox._internalDisabled;
|
|
90
|
+
checkbox._internalDisabled = undefined;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
65
93
|
checkbox.checked = this.value.includes(checkbox.value ?? '');
|
|
66
94
|
});
|
|
67
95
|
}
|
|
68
|
-
connectedCallback() {
|
|
69
|
-
super.connectedCallback();
|
|
70
|
-
this.addEventListener('plus-change', this.handleCheckboxChange);
|
|
71
|
-
}
|
|
72
|
-
disconnectedCallback() {
|
|
73
|
-
super.disconnectedCallback();
|
|
74
|
-
this.removeEventListener('plus-change', this.handleCheckboxChange);
|
|
75
|
-
}
|
|
76
96
|
render() {
|
|
77
97
|
const { base } = checkboxGroupStyle({ vertical: this.vertical });
|
|
78
98
|
return x `
|
|
@@ -81,6 +101,7 @@ class PlusCheckboxGroup extends Tailwind {
|
|
|
81
101
|
role="group"
|
|
82
102
|
class=${base()}
|
|
83
103
|
@slotchange=${this.handleSlotChange}
|
|
104
|
+
@plus-change=${this.handleCheckboxChange}
|
|
84
105
|
>
|
|
85
106
|
<slot></slot>
|
|
86
107
|
</div>
|
|
@@ -94,13 +115,13 @@ __decorate([
|
|
|
94
115
|
n({ type: Array })
|
|
95
116
|
], PlusCheckboxGroup.prototype, "value", void 0);
|
|
96
117
|
__decorate([
|
|
97
|
-
n({ type: Boolean })
|
|
118
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
98
119
|
], PlusCheckboxGroup.prototype, "vertical", void 0);
|
|
99
120
|
__decorate([
|
|
100
121
|
n({ reflect: true })
|
|
101
122
|
], PlusCheckboxGroup.prototype, "size", void 0);
|
|
102
123
|
__decorate([
|
|
103
|
-
n({ type: Boolean, reflect: true })
|
|
124
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
104
125
|
], PlusCheckboxGroup.prototype, "disabled", void 0);
|
|
105
126
|
|
|
106
127
|
export { PlusCheckboxGroup };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { PlusCheckboxGroup } from './checkbox-group.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../../query-assigned-elements-B8Evmg7O.js';
|
|
5
5
|
import '../../base-Cl6v8-BZ.js';
|
|
6
|
+
import '../../utils/boolean-converter.js';
|
|
6
7
|
import '../base/tailwind-base.js';
|
|
7
|
-
import '../../global-
|
|
8
|
+
import '../../global-CFlb4NrK.js';
|
|
8
9
|
import './checkbox-group.style.js';
|
|
9
10
|
import '../../index-B9iart53.js';
|
|
10
11
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { E, x } from '../../lit-element-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { E, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
3
|
import Tailwind from '../base/tailwind-base.js';
|
|
4
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
4
5
|
import { chipStyle } from './chip.style.js';
|
|
5
|
-
import { o } from '../../style-map-
|
|
6
|
-
import '../../global-
|
|
6
|
+
import { o } from '../../style-map-DC_vNus2.js';
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
7
8
|
import '../../index-B9iart53.js';
|
|
8
9
|
import '../../directive-DZCF8pFJ.js';
|
|
9
10
|
|
|
@@ -152,7 +153,7 @@ class PlusChip extends Tailwind {
|
|
|
152
153
|
part="icon"
|
|
153
154
|
aria-label="Remove"
|
|
154
155
|
@click=${this.onDismiss}
|
|
155
|
-
|
|
156
|
+
icon-name="xmark"
|
|
156
157
|
>
|
|
157
158
|
</plus-icon>`
|
|
158
159
|
: E}
|
|
@@ -176,13 +177,13 @@ __decorate([
|
|
|
176
177
|
n({ type: String })
|
|
177
178
|
], PlusChip.prototype, "shape", void 0);
|
|
178
179
|
__decorate([
|
|
179
|
-
n({ type: Boolean, converter:
|
|
180
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
180
181
|
], PlusChip.prototype, "invert", void 0);
|
|
181
182
|
__decorate([
|
|
182
|
-
n({ type: Boolean, converter:
|
|
183
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
183
184
|
], PlusChip.prototype, "dismiss", void 0);
|
|
184
185
|
__decorate([
|
|
185
|
-
n({ type: Boolean })
|
|
186
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
186
187
|
], PlusChip.prototype, "disabled", void 0);
|
|
187
188
|
|
|
188
189
|
export { PlusChip, PlusChip as default };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusChip from './chip.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
|
+
import '../../utils/boolean-converter.js';
|
|
6
7
|
import './chip.style.js';
|
|
7
8
|
import '../../index-B9iart53.js';
|
|
8
|
-
import '../../style-map-
|
|
9
|
+
import '../../style-map-DC_vNus2.js';
|
|
9
10
|
import '../../directive-DZCF8pFJ.js';
|
|
10
11
|
|
|
11
12
|
customElements.define('plus-chip', PlusChip);
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { dividerStyle, baseDividerStyle } from './divider.style.js';
|
|
5
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
6
6
|
import '../../index-B9iart53.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @tag plus-divider
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import PlusDivider from './divider.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 './divider.style.js';
|
|
6
6
|
import '../../index-B9iart53.js';
|
|
7
7
|
import '../base/tailwind-base.js';
|
|
8
|
-
import '../../global-
|
|
8
|
+
import '../../global-CFlb4NrK.js';
|
|
9
9
|
|
|
10
10
|
customElements.define('plus-divider', PlusDivider);
|
|
11
11
|
|
|
@@ -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 { drawerStyle } from './drawer.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-drawer
|
|
@@ -152,7 +153,7 @@ class PlusDrawer extends Tailwind {
|
|
|
152
153
|
aria-label="Close drawer"
|
|
153
154
|
@click=${() => this.hide()}
|
|
154
155
|
>
|
|
155
|
-
<plus-
|
|
156
|
+
<plus-icon icon-name="xmark"></plus-icon>
|
|
156
157
|
</button>
|
|
157
158
|
</slot>
|
|
158
159
|
</div>
|
|
@@ -173,7 +174,12 @@ __decorate([
|
|
|
173
174
|
n({ type: String, reflect: true })
|
|
174
175
|
], PlusDrawer.prototype, "size", void 0);
|
|
175
176
|
__decorate([
|
|
176
|
-
n({
|
|
177
|
+
n({
|
|
178
|
+
type: Boolean,
|
|
179
|
+
reflect: true,
|
|
180
|
+
attribute: 'is-open',
|
|
181
|
+
converter: booleanConverter,
|
|
182
|
+
})
|
|
177
183
|
], PlusDrawer.prototype, "isOpen", void 0);
|
|
178
184
|
__decorate([
|
|
179
185
|
n({ type: String, reflect: true })
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusDrawer from './drawer.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 './drawer.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-drawer', PlusDrawer);
|
|
11
12
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import { r } from '../../state-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { r } from '../../state-D1d5Sfj8.js';
|
|
3
3
|
import { o } from '../../query-assigned-elements-B8Evmg7O.js';
|
|
4
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
4
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
|
-
import { x } from '../../lit-element-
|
|
6
|
-
import { c as computePosition, o as offset, s as shift, f as flip, b as autoUpdate } from '../../floating-ui.dom-
|
|
6
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
7
|
+
import { c as computePosition, o as offset, s as shift, f as flip, b as autoUpdate } from '../../floating-ui.dom-OBaMlALa.js';
|
|
7
8
|
import { dropdownStyle } from './dropdown.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
|
/**
|
|
@@ -281,10 +282,10 @@ class PlusDropdown extends Tailwind {
|
|
|
281
282
|
part="button"
|
|
282
283
|
><slot>${this.text}</slot>
|
|
283
284
|
<slot name="suffix">
|
|
284
|
-
<plus-
|
|
285
|
-
|
|
285
|
+
<plus-icon
|
|
286
|
+
icon-name=${this.isVisible ? 'chevron-up' : 'chevron-down'}
|
|
286
287
|
size="sm"
|
|
287
|
-
></plus-
|
|
288
|
+
></plus-icon>
|
|
288
289
|
</slot>
|
|
289
290
|
</plus-button>
|
|
290
291
|
<div
|
|
@@ -316,7 +317,7 @@ __decorate([
|
|
|
316
317
|
n({ type: String })
|
|
317
318
|
], PlusDropdown.prototype, "kind", void 0);
|
|
318
319
|
__decorate([
|
|
319
|
-
n({ type: Boolean })
|
|
320
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
320
321
|
], PlusDropdown.prototype, "disabled", void 0);
|
|
321
322
|
__decorate([
|
|
322
323
|
n({ type: String })
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import PlusDropdown from './dropdown.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 '../../utils/boolean-converter.js';
|
|
7
8
|
import '../base/tailwind-base.js';
|
|
8
|
-
import '../../global-
|
|
9
|
-
import '../../floating-ui.dom-
|
|
9
|
+
import '../../global-CFlb4NrK.js';
|
|
10
|
+
import '../../floating-ui.dom-OBaMlALa.js';
|
|
10
11
|
import './dropdown.style.js';
|
|
11
12
|
import '../../index-B9iart53.js';
|
|
12
13
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
2
3
|
import Tailwind from '../base/tailwind-base.js';
|
|
3
|
-
import { x } from '../../lit-element-
|
|
4
|
-
import { o } from '../../if-defined-
|
|
5
|
-
import { l } from '../../live-
|
|
6
|
-
import '../../global-
|
|
4
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
5
|
+
import { o } from '../../if-defined-D-m3dgRf.js';
|
|
6
|
+
import { l } from '../../live-BOAtKRUN.js';
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
7
8
|
import '../../directive-DZCF8pFJ.js';
|
|
8
9
|
|
|
9
10
|
/**
|
|
@@ -87,14 +88,14 @@ __decorate([
|
|
|
87
88
|
n({
|
|
88
89
|
type: Boolean,
|
|
89
90
|
reflect: true,
|
|
90
|
-
converter:
|
|
91
|
+
converter: booleanConverter,
|
|
91
92
|
})
|
|
92
93
|
], PlusDropDownItem.prototype, "disabled", void 0);
|
|
93
94
|
__decorate([
|
|
94
95
|
n({
|
|
95
96
|
type: Boolean,
|
|
96
97
|
reflect: true,
|
|
97
|
-
converter:
|
|
98
|
+
converter: booleanConverter,
|
|
98
99
|
})
|
|
99
100
|
], PlusDropDownItem.prototype, "selected", void 0);
|
|
100
101
|
__decorate([
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import PlusDropDownItem from './dropdown-item.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 '../../if-defined-
|
|
7
|
-
import '../../live-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
7
|
+
import '../../if-defined-D-m3dgRf.js';
|
|
8
|
+
import '../../live-BOAtKRUN.js';
|
|
8
9
|
import '../../directive-DZCF8pFJ.js';
|
|
9
10
|
|
|
10
11
|
customElements.define('plus-dropdown-item', PlusDropDownItem);
|