@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,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
4
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
|
-
import {
|
|
6
|
-
import { c as computePosition, o as offset, s as shift, f as flip, b as autoUpdate } from '../../floating-ui.dom-
|
|
5
|
+
import { i, x } from '../../lit-element-ByzbtpGk.js';
|
|
6
|
+
import { c as computePosition, o as offset, s as shift, f as flip, b as autoUpdate } from '../../floating-ui.dom-OBaMlALa.js';
|
|
7
7
|
import { selectStyle } from './select.style.js';
|
|
8
|
+
import { booleanConverter } from '../../utils/boolean-converter.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
|
/**
|
|
@@ -68,6 +69,11 @@ class PlusSelect extends Tailwind {
|
|
|
68
69
|
* @default false
|
|
69
70
|
*/
|
|
70
71
|
this.clearable = false;
|
|
72
|
+
/**
|
|
73
|
+
* Makes the select full width.
|
|
74
|
+
* @default false
|
|
75
|
+
*/
|
|
76
|
+
this.fullWidth = false;
|
|
71
77
|
/**
|
|
72
78
|
* Tracks the visibility state of the select menu.
|
|
73
79
|
* @private
|
|
@@ -314,10 +320,14 @@ class PlusSelect extends Tailwind {
|
|
|
314
320
|
role="combobox"
|
|
315
321
|
part="select"
|
|
316
322
|
suffix-icon=${this.isVisible ? 'chevron-up' : 'chevron-down'}
|
|
323
|
+
?full-width=${this.fullWidth}
|
|
317
324
|
></plus-input>
|
|
318
325
|
<div
|
|
319
326
|
id=${this.selectId}
|
|
320
|
-
class=${selectStyle({
|
|
327
|
+
class=${selectStyle({
|
|
328
|
+
isOpen: this.isVisible,
|
|
329
|
+
fullWidth: this.fullWidth,
|
|
330
|
+
})}
|
|
321
331
|
role="listbox"
|
|
322
332
|
aria-label="Select options"
|
|
323
333
|
?hidden=${!this.isVisible}
|
|
@@ -335,15 +345,13 @@ PlusSelect.styles = [
|
|
|
335
345
|
...Tailwind.styles,
|
|
336
346
|
i `
|
|
337
347
|
:host {
|
|
338
|
-
display: block;
|
|
339
|
-
|
|
340
|
-
width:
|
|
341
|
-
|
|
348
|
+
display: inline-block;
|
|
349
|
+
width: 100%;
|
|
350
|
+
max-width: 256px;
|
|
351
|
+
position: relative;
|
|
342
352
|
}
|
|
343
353
|
:host([full-width]) {
|
|
344
|
-
width: 100%;
|
|
345
|
-
max-width: unset;
|
|
346
|
-
min-width: unset;
|
|
354
|
+
max-width: 100%;
|
|
347
355
|
}
|
|
348
356
|
`,
|
|
349
357
|
];
|
|
@@ -360,23 +368,31 @@ __decorate([
|
|
|
360
368
|
n({ type: String })
|
|
361
369
|
], PlusSelect.prototype, "label", void 0);
|
|
362
370
|
__decorate([
|
|
363
|
-
n({ type: Boolean })
|
|
371
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
364
372
|
], PlusSelect.prototype, "error", void 0);
|
|
365
373
|
__decorate([
|
|
366
|
-
n({ type: Boolean })
|
|
374
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
367
375
|
], PlusSelect.prototype, "disabled", void 0);
|
|
368
376
|
__decorate([
|
|
369
|
-
n({ type: Boolean })
|
|
377
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
370
378
|
], PlusSelect.prototype, "required", void 0);
|
|
371
379
|
__decorate([
|
|
372
|
-
n({ type: Boolean })
|
|
380
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
373
381
|
], PlusSelect.prototype, "readonly", void 0);
|
|
374
382
|
__decorate([
|
|
375
383
|
n({ type: String })
|
|
376
384
|
], PlusSelect.prototype, "caption", void 0);
|
|
377
385
|
__decorate([
|
|
378
|
-
n({ type: Boolean })
|
|
386
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
379
387
|
], PlusSelect.prototype, "clearable", void 0);
|
|
388
|
+
__decorate([
|
|
389
|
+
n({
|
|
390
|
+
type: Boolean,
|
|
391
|
+
reflect: true,
|
|
392
|
+
converter: booleanConverter,
|
|
393
|
+
attribute: 'full-width',
|
|
394
|
+
})
|
|
395
|
+
], PlusSelect.prototype, "fullWidth", void 0);
|
|
380
396
|
__decorate([
|
|
381
397
|
r()
|
|
382
398
|
], PlusSelect.prototype, "isVisible", void 0);
|
|
@@ -2,13 +2,17 @@ import { c as ce } from '../../index-B9iart53.js';
|
|
|
2
2
|
|
|
3
3
|
const selectStyle = ce({
|
|
4
4
|
base: [
|
|
5
|
-
'select-box antialiased flex flex-col max-
|
|
5
|
+
'select-box antialiased flex flex-col max-h-80 absolute z-50 w-auto shadow-lg overflow-y-auto bg-color-surface',
|
|
6
6
|
],
|
|
7
7
|
variants: {
|
|
8
8
|
isOpen: {
|
|
9
9
|
true: '',
|
|
10
10
|
false: 'hidden',
|
|
11
11
|
},
|
|
12
|
+
fullWidth: {
|
|
13
|
+
true: 'w-full max-w-full',
|
|
14
|
+
false: 'max-w-80',
|
|
15
|
+
},
|
|
12
16
|
},
|
|
13
17
|
});
|
|
14
18
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusSelectItem from './select-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 '../../if-defined-
|
|
7
|
-
import '../../live-
|
|
5
|
+
import '../../global-CFlb4NrK.js';
|
|
6
|
+
import '../../if-defined-D-m3dgRf.js';
|
|
7
|
+
import '../../live-BOAtKRUN.js';
|
|
8
8
|
import '../../directive-DZCF8pFJ.js';
|
|
9
|
+
import '../../utils/boolean-converter.js';
|
|
9
10
|
|
|
10
11
|
customElements.define('plus-select-item', PlusSelectItem);
|
|
11
12
|
|
|
@@ -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 '../../if-defined-
|
|
5
|
-
import { l } from '../../live-
|
|
6
|
-
import '../../
|
|
3
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import { o } from '../../if-defined-D-m3dgRf.js';
|
|
5
|
+
import { l } from '../../live-BOAtKRUN.js';
|
|
6
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
7
8
|
import '../../directive-DZCF8pFJ.js';
|
|
8
9
|
|
|
9
10
|
/**
|
|
@@ -80,10 +81,10 @@ __decorate([
|
|
|
80
81
|
n({ type: String })
|
|
81
82
|
], PlusSelectItem.prototype, "size", void 0);
|
|
82
83
|
__decorate([
|
|
83
|
-
n({ type: Boolean })
|
|
84
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
84
85
|
], PlusSelectItem.prototype, "disabled", void 0);
|
|
85
86
|
__decorate([
|
|
86
|
-
n({ type: Boolean })
|
|
87
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
87
88
|
], PlusSelectItem.prototype, "selected", void 0);
|
|
88
89
|
__decorate([
|
|
89
90
|
n({ attribute: 'text' })
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
export { PlusService } from './service.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../toast-container/toast-container.js';
|
|
5
|
-
import '../../state-
|
|
5
|
+
import '../../state-D1d5Sfj8.js';
|
|
6
6
|
import '../toast-container/toast-container.style.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
8
|
import '../../services/toast.service.js';
|
|
9
9
|
import '../base/tailwind-base.js';
|
|
10
|
-
import '../../global-
|
|
10
|
+
import '../../global-CFlb4NrK.js';
|
|
11
11
|
import '../toast/toast.js';
|
|
12
12
|
import '../toast/toast.style.js';
|
|
13
13
|
import '../../controllers/slot-controller.js';
|
|
14
|
-
import '
|
|
15
|
-
import '../../unsafe-html-BXTWMFA8.js';
|
|
16
|
-
import '../../directive-DZCF8pFJ.js';
|
|
17
|
-
import '../svg-icon/icons.js';
|
|
14
|
+
import '../../utils/boolean-converter.js';
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import { _ as __decorate } from '../../property-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as __decorate } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { r, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
3
|
import '../toast-container/toast-container.js';
|
|
4
|
-
import '../../state-
|
|
4
|
+
import '../../state-D1d5Sfj8.js';
|
|
5
5
|
import '../toast-container/toast-container.style.js';
|
|
6
6
|
import '../../index-B9iart53.js';
|
|
7
7
|
import '../../services/toast.service.js';
|
|
8
8
|
import '../base/tailwind-base.js';
|
|
9
|
-
import '../../global-
|
|
9
|
+
import '../../global-CFlb4NrK.js';
|
|
10
10
|
import '../toast/toast.js';
|
|
11
11
|
import '../toast/toast.style.js';
|
|
12
12
|
import '../../controllers/slot-controller.js';
|
|
13
|
-
import '
|
|
14
|
-
import '../../unsafe-html-BXTWMFA8.js';
|
|
15
|
-
import '../../directive-DZCF8pFJ.js';
|
|
16
|
-
import '../svg-icon/icons.js';
|
|
13
|
+
import '../../utils/boolean-converter.js';
|
|
17
14
|
|
|
18
15
|
/**
|
|
19
16
|
* @license
|
|
@@ -29,7 +26,7 @@ const t=t=>(e,o)=>{ void 0!==o?o.addInitializer((()=>{customElements.define(t,e)
|
|
|
29
26
|
* Place this component once at the root of your application.
|
|
30
27
|
* @dependency plus-toast-container
|
|
31
28
|
*/
|
|
32
|
-
let PlusService = class PlusService extends
|
|
29
|
+
let PlusService = class PlusService extends r {
|
|
33
30
|
// This component doesn't need its own shadow DOM or complex styles
|
|
34
31
|
createRenderRoot() {
|
|
35
32
|
return this;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusTab from './tab.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../../utils/boolean-converter.js';
|
|
4
5
|
import '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
6
7
|
import './styles.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
|
// Make sure to set custom elements for auto-registration
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { i, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
3
4
|
import Tailwind from '../base/tailwind-base.js';
|
|
4
5
|
import { tabStyle } from './styles.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
|
|
|
@@ -116,13 +117,13 @@ class PlusTab extends Tailwind {
|
|
|
116
117
|
>
|
|
117
118
|
${prefixIcon
|
|
118
119
|
? x `<span class="tab-prefix-icon"
|
|
119
|
-
><
|
|
120
|
+
><plus-icon icon-name="${prefixIcon}"></plus-icon
|
|
120
121
|
></span>`
|
|
121
122
|
: ''}
|
|
122
123
|
<slot></slot>
|
|
123
124
|
${suffixIcon
|
|
124
125
|
? x `<span class="tab-suffix-icon"
|
|
125
|
-
><
|
|
126
|
+
><plus-icon icon-name="${suffixIcon}"></plus-icon
|
|
126
127
|
></span>`
|
|
127
128
|
: ''}
|
|
128
129
|
${dismissible
|
|
@@ -169,7 +170,7 @@ __decorate([
|
|
|
169
170
|
n({ type: String })
|
|
170
171
|
], PlusTab.prototype, "value", void 0);
|
|
171
172
|
__decorate([
|
|
172
|
-
n({ type: Boolean, reflect: true })
|
|
173
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
173
174
|
], PlusTab.prototype, "active", void 0);
|
|
174
175
|
__decorate([
|
|
175
176
|
n({ type: String })
|
|
@@ -178,7 +179,7 @@ __decorate([
|
|
|
178
179
|
n({
|
|
179
180
|
type: Boolean,
|
|
180
181
|
reflect: true,
|
|
181
|
-
converter:
|
|
182
|
+
converter: booleanConverter,
|
|
182
183
|
})
|
|
183
184
|
], PlusTab.prototype, "disabled", void 0);
|
|
184
185
|
__decorate([
|
|
@@ -193,19 +194,22 @@ __decorate([
|
|
|
193
194
|
__decorate([
|
|
194
195
|
n({
|
|
195
196
|
type: Boolean,
|
|
196
|
-
converter:
|
|
197
|
+
converter: booleanConverter,
|
|
198
|
+
reflect: true,
|
|
197
199
|
})
|
|
198
200
|
], PlusTab.prototype, "dismissible", void 0);
|
|
199
201
|
__decorate([
|
|
200
202
|
n({
|
|
201
203
|
type: Boolean,
|
|
202
|
-
converter:
|
|
204
|
+
converter: booleanConverter,
|
|
205
|
+
reflect: true,
|
|
203
206
|
})
|
|
204
207
|
], PlusTab.prototype, "truncate", void 0);
|
|
205
208
|
__decorate([
|
|
206
209
|
n({
|
|
207
210
|
type: Boolean,
|
|
208
|
-
converter:
|
|
211
|
+
converter: booleanConverter,
|
|
212
|
+
reflect: true,
|
|
209
213
|
})
|
|
210
214
|
], PlusTab.prototype, "animated", void 0);
|
|
211
215
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusTabGroup from './tab-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
5
|
import '../../query-CHb9Ft_d.js';
|
|
6
6
|
import '../../base-Cl6v8-BZ.js';
|
|
7
|
+
import '../../utils/boolean-converter.js';
|
|
7
8
|
import '../base/tailwind-base.js';
|
|
8
|
-
import '../../global-
|
|
9
|
+
import '../../global-CFlb4NrK.js';
|
|
9
10
|
import '../tab/styles.js';
|
|
10
11
|
import '../../index-B9iart53.js';
|
|
11
12
|
|
|
@@ -1,11 +1,12 @@
|
|
|
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
4
|
import { e } from '../../query-CHb9Ft_d.js';
|
|
5
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
5
6
|
import Tailwind from '../base/tailwind-base.js';
|
|
6
7
|
import { tabStyle } from '../tab/styles.js';
|
|
7
8
|
import '../../base-Cl6v8-BZ.js';
|
|
8
|
-
import '../../global-
|
|
9
|
+
import '../../global-CFlb4NrK.js';
|
|
9
10
|
import '../../index-B9iart53.js';
|
|
10
11
|
|
|
11
12
|
/**
|
|
@@ -60,7 +61,7 @@ class PlusTabGroup extends Tailwind {
|
|
|
60
61
|
*/
|
|
61
62
|
this.disabled = false;
|
|
62
63
|
/**
|
|
63
|
-
*
|
|
64
|
+
* Allows individual tabs to be dismissed (closed).
|
|
64
65
|
* @default false
|
|
65
66
|
*/
|
|
66
67
|
this.dismissible = false;
|
|
@@ -308,13 +309,15 @@ __decorate([
|
|
|
308
309
|
__decorate([
|
|
309
310
|
n({
|
|
310
311
|
type: Boolean,
|
|
311
|
-
converter:
|
|
312
|
+
converter: booleanConverter,
|
|
313
|
+
reflect: true,
|
|
312
314
|
})
|
|
313
315
|
], PlusTabGroup.prototype, "disabled", void 0);
|
|
314
316
|
__decorate([
|
|
315
317
|
n({
|
|
316
318
|
type: Boolean,
|
|
317
|
-
converter:
|
|
319
|
+
converter: booleanConverter,
|
|
320
|
+
reflect: true,
|
|
318
321
|
})
|
|
319
322
|
], PlusTabGroup.prototype, "dismissible", void 0);
|
|
320
323
|
__decorate([
|
|
@@ -324,7 +327,7 @@ __decorate([
|
|
|
324
327
|
n({
|
|
325
328
|
type: Boolean,
|
|
326
329
|
reflect: true,
|
|
327
|
-
converter:
|
|
330
|
+
converter: booleanConverter,
|
|
328
331
|
})
|
|
329
332
|
], PlusTabGroup.prototype, "animated", void 0);
|
|
330
333
|
__decorate([
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import PlusTabPanel from './tab-panel.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../../utils/boolean-converter.js';
|
|
4
5
|
import '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
6
7
|
import '../tab/styles.js';
|
|
7
8
|
import '../../index-B9iart53.js';
|
|
8
9
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { _ as __decorate, n } from '../../property-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { i, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
3
4
|
import Tailwind from '../base/tailwind-base.js';
|
|
4
5
|
import { tabStyle } from '../tab/styles.js';
|
|
5
|
-
import '../../global-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
6
7
|
import '../../index-B9iart53.js';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -26,12 +27,11 @@ class PlusTabPanel extends Tailwind {
|
|
|
26
27
|
*/
|
|
27
28
|
this.value = '';
|
|
28
29
|
/**
|
|
29
|
-
* Indicates
|
|
30
|
-
* @default false
|
|
30
|
+
* Indicates whether the panel is currently active/visible.
|
|
31
31
|
*/
|
|
32
32
|
this.active = false;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* An optional class to apply to the panel container.
|
|
35
35
|
*/
|
|
36
36
|
this.panelClass = '';
|
|
37
37
|
}
|
|
@@ -63,7 +63,7 @@ __decorate([
|
|
|
63
63
|
n({ type: String })
|
|
64
64
|
], PlusTabPanel.prototype, "value", void 0);
|
|
65
65
|
__decorate([
|
|
66
|
-
n({ type: Boolean, reflect: true })
|
|
66
|
+
n({ type: Boolean, reflect: true, converter: booleanConverter })
|
|
67
67
|
], PlusTabPanel.prototype, "active", void 0);
|
|
68
68
|
__decorate([
|
|
69
69
|
n({ type: String })
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusTag from './tag.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
|
+
import '../../utils/boolean-converter.js';
|
|
4
5
|
import '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
6
7
|
import './tag.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-tag', PlusTag);
|
|
@@ -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 {
|
|
4
|
+
import { i, x } from '../../lit-element-ByzbtpGk.js';
|
|
4
5
|
import { tagStyle } from './tag.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
|
|
|
@@ -106,10 +107,7 @@ class PlusTag extends Tailwind {
|
|
|
106
107
|
* @default 'md'
|
|
107
108
|
*/
|
|
108
109
|
this.size = 'md';
|
|
109
|
-
/**
|
|
110
|
-
* Toggles between light/dark color themes
|
|
111
|
-
* @default false
|
|
112
|
-
*/
|
|
110
|
+
/** Inverts the color scheme of the tag. */
|
|
113
111
|
this.invert = false;
|
|
114
112
|
/**
|
|
115
113
|
* Sets the border radius style
|
|
@@ -179,7 +177,7 @@ __decorate([
|
|
|
179
177
|
n({ type: String })
|
|
180
178
|
], PlusTag.prototype, "size", void 0);
|
|
181
179
|
__decorate([
|
|
182
|
-
n({ type: Boolean, converter:
|
|
180
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
183
181
|
], PlusTag.prototype, "invert", void 0);
|
|
184
182
|
__decorate([
|
|
185
183
|
n({ type: String })
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PlusText } from './text.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 './text.style.js';
|
|
7
7
|
import '../../index-B9iart53.js';
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as __decorate, n as n$1 } from '../../property-
|
|
2
|
-
import { x } from '../../lit-element-
|
|
1
|
+
import { _ as __decorate, n as n$1 } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
3
3
|
import Tailwind from '../base/tailwind-base.js';
|
|
4
4
|
import { textStyle } from './text.style.js';
|
|
5
|
-
import '../../global-
|
|
5
|
+
import '../../global-CFlb4NrK.js';
|
|
6
6
|
import '../../index-B9iart53.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { PlusTextarea } from './textarea.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 './textarea.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 { textareaStyle } from './textarea.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
|
|
|
@@ -236,13 +237,13 @@ __decorate([
|
|
|
236
237
|
n({ reflect: true })
|
|
237
238
|
], PlusTextarea.prototype, "size", void 0);
|
|
238
239
|
__decorate([
|
|
239
|
-
n({ type: Boolean, converter:
|
|
240
|
+
n({ type: Boolean, converter: booleanConverter })
|
|
240
241
|
], PlusTextarea.prototype, "disabled", void 0);
|
|
241
242
|
__decorate([
|
|
242
|
-
n({ type: Boolean, converter:
|
|
243
|
+
n({ type: Boolean, converter: booleanConverter })
|
|
243
244
|
], PlusTextarea.prototype, "readonly", void 0);
|
|
244
245
|
__decorate([
|
|
245
|
-
n({ type: Boolean, converter:
|
|
246
|
+
n({ type: Boolean, converter: booleanConverter })
|
|
246
247
|
], PlusTextarea.prototype, "required", void 0);
|
|
247
248
|
__decorate([
|
|
248
249
|
n({ type: String })
|
|
@@ -254,19 +255,24 @@ __decorate([
|
|
|
254
255
|
n({ type: Number })
|
|
255
256
|
], PlusTextarea.prototype, "maxlength", void 0);
|
|
256
257
|
__decorate([
|
|
257
|
-
n({ type: Boolean })
|
|
258
|
+
n({ type: Boolean, converter: booleanConverter })
|
|
258
259
|
], PlusTextarea.prototype, "autoFocus", void 0);
|
|
259
260
|
__decorate([
|
|
260
261
|
n({ type: String })
|
|
261
262
|
], PlusTextarea.prototype, "caption", void 0);
|
|
262
263
|
__decorate([
|
|
263
|
-
n({ type: Boolean, converter:
|
|
264
|
+
n({ type: Boolean, converter: booleanConverter })
|
|
264
265
|
], PlusTextarea.prototype, "error", void 0);
|
|
265
266
|
__decorate([
|
|
266
267
|
n({ type: String, attribute: 'error-message' })
|
|
267
268
|
], PlusTextarea.prototype, "errorMessage", void 0);
|
|
268
269
|
__decorate([
|
|
269
|
-
n({
|
|
270
|
+
n({
|
|
271
|
+
reflect: true,
|
|
272
|
+
attribute: 'full-width',
|
|
273
|
+
type: Boolean,
|
|
274
|
+
converter: booleanConverter,
|
|
275
|
+
})
|
|
270
276
|
], PlusTextarea.prototype, "fullWidth", void 0);
|
|
271
277
|
__decorate([
|
|
272
278
|
n({ type: Number })
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { PlusToast } from './toast.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import './toast.style.js';
|
|
5
5
|
import '../../index-B9iart53.js';
|
|
6
6
|
import '../base/tailwind-base.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
8
8
|
import '../../controllers/slot-controller.js';
|
|
9
|
-
import '
|
|
10
|
-
import '../../unsafe-html-BXTWMFA8.js';
|
|
11
|
-
import '../../directive-DZCF8pFJ.js';
|
|
12
|
-
import '../svg-icon/icons.js';
|
|
9
|
+
import '../../utils/boolean-converter.js';
|
|
13
10
|
|
|
14
11
|
customElements.define('plus-toast', PlusToast);
|
|
15
12
|
|