@plusui/library 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/components/accordion/accordion.js +34 -9
- package/cdn/components/accordion/accordion.style.js +2 -2
- package/cdn/components/accordion/index.js +4 -3
- package/cdn/components/accordion-group/accordion-group.js +5 -4
- package/cdn/components/accordion-group/index.js +4 -3
- package/cdn/components/alert/alert.js +25 -14
- package/cdn/components/alert/index.js +5 -4
- package/cdn/components/avatar/avatar.js +26 -11
- package/cdn/components/avatar/avatar.style.js +1 -1
- package/cdn/components/avatar/index.js +6 -5
- package/cdn/components/badge/badge.host.style.js +1 -1
- package/cdn/components/badge/badge.js +5 -5
- package/cdn/components/badge/index.js +5 -5
- package/cdn/components/base/index.js +2 -2
- package/cdn/components/base/tailwind-base.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +3 -3
- package/cdn/components/breadcrumb/index.js +3 -3
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +9 -8
- package/cdn/components/breadcrumb-item/index.js +5 -4
- package/cdn/components/button/button.js +12 -8
- package/cdn/components/button/index.js +5 -4
- package/cdn/components/button-group/button-group.js +19 -29
- package/cdn/components/button-group/index.js +5 -4
- package/cdn/components/checkbox/checkbox.js +13 -16
- package/cdn/components/checkbox/index.js +6 -9
- package/cdn/components/checkbox-group/checkbox-group.js +41 -20
- package/cdn/components/checkbox-group/index.js +4 -3
- package/cdn/components/chip/chip.js +9 -8
- package/cdn/components/chip/index.js +5 -4
- package/cdn/components/divider/divider.js +4 -4
- package/cdn/components/divider/divider.style.js +1 -1
- package/cdn/components/divider/index.js +4 -4
- package/cdn/components/drawer/drawer.js +12 -6
- package/cdn/components/drawer/index.js +5 -4
- package/cdn/components/dropdown/dropdown.js +10 -9
- package/cdn/components/dropdown/index.js +6 -5
- package/cdn/components/dropdown-item/dropdown-item.js +8 -7
- package/cdn/components/dropdown-item/index.js +6 -5
- package/cdn/components/icon/icon-registry.js +103 -0
- package/cdn/components/icon/icon.js +198 -2956
- package/cdn/components/icon/index.js +10 -3
- package/cdn/components/icon/light-icons.js +8 -0
- package/cdn/components/icon/regular-icons.js +10 -0
- package/cdn/components/icon/solid-icons.js +34 -0
- package/cdn/components/index.js +15 -14
- package/cdn/components/input/index.js +7 -6
- package/cdn/components/input/input.js +48 -23
- package/cdn/components/link/index.js +4 -3
- package/cdn/components/link/link.js +8 -7
- package/cdn/components/list-box-item/index.js +5 -4
- package/cdn/components/list-box-item/list-box-item.js +9 -16
- package/cdn/components/modal/index.js +5 -4
- package/cdn/components/modal/modal.js +20 -9
- package/cdn/components/popconfirm/index.js +6 -5
- package/cdn/components/popconfirm/popconfirm.js +16 -19
- package/cdn/components/popover/index.js +6 -5
- package/cdn/components/popover/popover.js +29 -14
- package/cdn/components/radio/index.js +6 -5
- package/cdn/components/radio/radio.js +18 -35
- package/cdn/components/radio-group/index.js +4 -3
- package/cdn/components/radio-group/radio-group.js +10 -9
- package/cdn/components/rating/index.js +7 -9
- package/cdn/components/rating/rating.js +12 -16
- package/cdn/components/segmented-picker/index.js +3 -3
- package/cdn/components/segmented-picker/segmented-picker.component.js +3 -3
- package/cdn/components/segmented-picker-item/index.js +5 -4
- package/cdn/components/segmented-picker-item/segmented-picker-item.component.js +10 -16
- package/cdn/components/select/index.js +6 -5
- package/cdn/components/select/select.js +34 -18
- package/cdn/components/select/select.style.js +5 -1
- package/cdn/components/select-item/index.js +6 -5
- package/cdn/components/select-item/select-item.js +8 -7
- package/cdn/components/service/index.js +5 -8
- package/cdn/components/service/service.js +6 -9
- package/cdn/components/tab/index.js +5 -4
- package/cdn/components/tab/tab.js +15 -11
- package/cdn/components/tab-group/index.js +5 -4
- package/cdn/components/tab-group/tab-group.js +11 -8
- package/cdn/components/tab-panel/index.js +4 -3
- package/cdn/components/tab-panel/tab-panel.js +7 -7
- package/cdn/components/tag/index.js +5 -4
- package/cdn/components/tag/tag.js +7 -9
- package/cdn/components/text/index.js +3 -3
- package/cdn/components/text/text.js +3 -3
- package/cdn/components/textarea/index.js +7 -6
- package/cdn/components/textarea/textarea.js +18 -12
- package/cdn/components/toast/index.js +4 -7
- package/cdn/components/toast/toast.js +9 -12
- package/cdn/components/toast-container/index.js +5 -8
- package/cdn/components/toast-container/toast-container.js +5 -8
- package/cdn/components/toggle/index.js +8 -11
- package/cdn/components/toggle/toggle.js +24 -26
- package/cdn/components/tooltip/index.js +5 -5
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/factory/tailwind-factory.js +7 -7
- package/cdn/floating-ui.dom-CXNHR8n2.js +1 -0
- package/cdn/{floating-ui.dom-BpzIshEG.js → floating-ui.dom-OBaMlALa.js} +14 -26
- package/cdn/global-CFlb4NrK.js +31 -0
- package/cdn/global-DJT9VHCE.js +1 -0
- package/cdn/{if-defined-CIB8OTrH.js → if-defined-CQ5F5a3V.js} +1 -1
- package/{dist/if-defined-DpyZ37D-.js → cdn/if-defined-D-m3dgRf.js} +1 -1
- package/cdn/lit-element-ByzbtpGk.js +27 -0
- package/cdn/lit-element-DNNEDGnu.js +23 -0
- package/cdn/{live-C1eBrEBV.js → live-BOAtKRUN.js} +1 -1
- package/cdn/{live-CYp4nasd.js → live-Ba4FL2pG.js} +1 -1
- package/cdn/loader.js +3 -7
- package/cdn/property-DLlzgs39.js +7 -0
- package/cdn/{property-Dz31PgR6.js → property-DiPQx9S3.js} +2 -2
- package/{dist/query-assigned-elements-BjEeiBhg.js → cdn/query-assigned-elements-D78NayL0.js} +1 -1
- package/{dist/state-CQcls-Yf.js → cdn/state-CoIPL7X5.js} +1 -1
- package/cdn/{state-BRspp5eU.js → state-D1d5Sfj8.js} +1 -1
- package/{dist/style-map-Cgr6kXUm.js → cdn/style-map-DC_vNus2.js} +1 -1
- package/cdn/{style-map-BYRi_l0u.js → style-map-Z-XBeQmS.js} +1 -1
- package/cdn/utils/boolean-converter.js +30 -0
- package/custom-elements.json +663 -355
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/accordion.js +33 -8
- package/dist/components/accordion/accordion.js.map +1 -1
- package/dist/components/accordion/accordion.style.js +2 -2
- package/dist/components/accordion/accordion.style.js.map +1 -1
- package/dist/components/accordion/index.js +3 -2
- package/dist/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/components/accordion-group/accordion-group.d.ts.map +1 -1
- package/dist/components/accordion-group/accordion-group.js +4 -3
- package/dist/components/accordion-group/accordion-group.js.map +1 -1
- package/dist/components/accordion-group/index.js +3 -2
- package/dist/components/alert/alert.d.ts +1 -1
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/alert.js +24 -13
- package/dist/components/alert/alert.js.map +1 -1
- package/dist/components/alert/index.js +4 -3
- package/dist/components/avatar/avatar.d.ts +4 -3
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/avatar.js +25 -10
- package/dist/components/avatar/avatar.js.map +1 -1
- package/dist/components/avatar/avatar.style.js +1 -1
- package/dist/components/avatar/avatar.style.js.map +1 -1
- package/dist/components/avatar/index.js +5 -4
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/badge/badge.host.style.js +1 -1
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/badge/index.js +4 -4
- package/dist/components/base/index.js +1 -1
- package/dist/components/base/tailwind-base.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb/index.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts.map +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +8 -7
- package/dist/components/breadcrumb-item/breadcrumb-item.js.map +1 -1
- package/dist/components/breadcrumb-item/index.js +4 -3
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +11 -7
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/button/index.js +4 -3
- package/dist/components/button-group/button-group.d.ts +2 -2
- package/dist/components/button-group/button-group.d.ts.map +1 -1
- package/dist/components/button-group/button-group.js +18 -28
- package/dist/components/button-group/button-group.js.map +1 -1
- package/dist/components/button-group/index.js +4 -3
- package/dist/components/checkbox/checkbox.d.ts +1 -2
- package/dist/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.js +12 -15
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/checkbox/index.js +5 -8
- package/dist/components/checkbox-group/checkbox-group.d.ts +2 -3
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.js +40 -19
- package/dist/components/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/components/checkbox-group/index.js +3 -2
- package/dist/components/chip/chip.d.ts +1 -1
- package/dist/components/chip/chip.d.ts.map +1 -1
- package/dist/components/chip/chip.js +8 -7
- package/dist/components/chip/chip.js.map +1 -1
- package/dist/components/chip/index.js +4 -3
- package/dist/components/divider/divider.d.ts +1 -1
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/divider/divider.style.js +1 -1
- package/dist/components/divider/index.js +3 -3
- package/dist/components/drawer/drawer.d.ts +1 -1
- package/dist/components/drawer/drawer.d.ts.map +1 -1
- package/dist/components/drawer/drawer.js +11 -5
- package/dist/components/drawer/drawer.js.map +1 -1
- package/dist/components/drawer/index.js +4 -3
- package/dist/components/dropdown/dropdown.d.ts +1 -1
- package/dist/components/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/dropdown/dropdown.js +9 -8
- package/dist/components/dropdown/dropdown.js.map +1 -1
- package/dist/components/dropdown/index.js +5 -4
- package/dist/components/dropdown-item/dropdown-item.d.ts +1 -1
- package/dist/components/dropdown-item/dropdown-item.d.ts.map +1 -1
- package/dist/components/dropdown-item/dropdown-item.js +7 -6
- package/dist/components/dropdown-item/dropdown-item.js.map +1 -1
- package/dist/components/dropdown-item/index.js +5 -4
- package/dist/components/icon/icon-registry.d.ts +50 -0
- package/dist/components/icon/icon-registry.d.ts.map +1 -0
- package/dist/components/icon/icon-registry.js +103 -0
- package/dist/components/icon/icon-registry.js.map +1 -0
- package/dist/components/icon/icon.d.ts +55 -7
- package/dist/components/icon/icon.d.ts.map +1 -1
- package/dist/components/icon/icon.js +198 -2956
- package/dist/components/icon/icon.js.map +1 -1
- package/dist/components/icon/index.d.ts +3 -1
- package/dist/components/icon/index.d.ts.map +1 -1
- package/dist/components/icon/index.js +10 -3
- package/dist/components/icon/index.js.map +1 -1
- package/dist/components/icon/light-icons.d.ts +7 -0
- package/dist/components/icon/light-icons.d.ts.map +1 -0
- package/dist/components/icon/light-icons.js +8 -0
- package/dist/components/icon/light-icons.js.map +1 -0
- package/dist/components/icon/regular-icons.d.ts +9 -0
- package/dist/components/icon/regular-icons.d.ts.map +1 -0
- package/dist/components/icon/regular-icons.js +10 -0
- package/dist/components/icon/regular-icons.js.map +1 -0
- package/dist/components/icon/solid-icons.d.ts +28 -0
- package/dist/components/icon/solid-icons.d.ts.map +1 -0
- package/dist/components/icon/solid-icons.js +34 -0
- package/dist/components/icon/solid-icons.js.map +1 -0
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +14 -13
- package/dist/components/index.js.map +1 -1
- package/dist/components/input/index.js +6 -5
- package/dist/components/input/input.d.ts +10 -3
- package/dist/components/input/input.d.ts.map +1 -1
- package/dist/components/input/input.js +47 -22
- package/dist/components/input/input.js.map +1 -1
- package/dist/components/link/index.js +3 -2
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/link/link.js +7 -6
- package/dist/components/link/link.js.map +1 -1
- package/dist/components/list-box-item/index.js +4 -3
- package/dist/components/list-box-item/list-box-item.d.ts +3 -11
- package/dist/components/list-box-item/list-box-item.d.ts.map +1 -1
- package/dist/components/list-box-item/list-box-item.js +8 -15
- package/dist/components/list-box-item/list-box-item.js.map +1 -1
- package/dist/components/modal/index.js +4 -3
- package/dist/components/modal/modal.d.ts +1 -1
- package/dist/components/modal/modal.d.ts.map +1 -1
- package/dist/components/modal/modal.js +19 -8
- package/dist/components/modal/modal.js.map +1 -1
- package/dist/components/popconfirm/index.js +5 -4
- package/dist/components/popconfirm/popconfirm.d.ts +1 -7
- package/dist/components/popconfirm/popconfirm.d.ts.map +1 -1
- package/dist/components/popconfirm/popconfirm.js +15 -18
- package/dist/components/popconfirm/popconfirm.js.map +1 -1
- package/dist/components/popover/index.js +5 -4
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/popover/popover.js +28 -13
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/radio/index.js +5 -4
- package/dist/components/radio/radio.d.ts +8 -26
- package/dist/components/radio/radio.d.ts.map +1 -1
- package/dist/components/radio/radio.js +17 -34
- package/dist/components/radio/radio.js.map +1 -1
- package/dist/components/radio-group/index.js +3 -2
- package/dist/components/radio-group/radio-group.d.ts +4 -4
- package/dist/components/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group/radio-group.js +9 -8
- package/dist/components/radio-group/radio-group.js.map +1 -1
- package/dist/components/rating/index.js +6 -8
- package/dist/components/rating/rating.d.ts +1 -2
- package/dist/components/rating/rating.d.ts.map +1 -1
- package/dist/components/rating/rating.js +11 -15
- package/dist/components/rating/rating.js.map +1 -1
- package/dist/components/segmented-picker/index.js +2 -2
- package/dist/components/segmented-picker/segmented-picker.component.d.ts +1 -1
- package/dist/components/segmented-picker/segmented-picker.component.js +2 -2
- package/dist/components/segmented-picker-item/index.js +4 -3
- package/dist/components/segmented-picker-item/segmented-picker-item.component.d.ts +4 -11
- package/dist/components/segmented-picker-item/segmented-picker-item.component.d.ts.map +1 -1
- package/dist/components/segmented-picker-item/segmented-picker-item.component.js +9 -15
- package/dist/components/segmented-picker-item/segmented-picker-item.component.js.map +1 -1
- package/dist/components/select/index.js +5 -4
- package/dist/components/select/select.d.ts +6 -1
- package/dist/components/select/select.d.ts.map +1 -1
- package/dist/components/select/select.js +33 -17
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/select/select.style.d.ts +28 -0
- package/dist/components/select/select.style.d.ts.map +1 -1
- package/dist/components/select/select.style.js +5 -1
- package/dist/components/select/select.style.js.map +1 -1
- package/dist/components/select-item/index.js +5 -4
- package/dist/components/select-item/select-item.d.ts +1 -1
- package/dist/components/select-item/select-item.d.ts.map +1 -1
- package/dist/components/select-item/select-item.js +7 -6
- package/dist/components/select-item/select-item.js.map +1 -1
- package/dist/components/service/index.js +4 -7
- package/dist/components/service/service.d.ts +1 -1
- package/dist/components/service/service.js +5 -8
- package/dist/components/tab/index.js +4 -3
- package/dist/components/tab/tab.d.ts +3 -3
- package/dist/components/tab/tab.d.ts.map +1 -1
- package/dist/components/tab/tab.js +14 -10
- package/dist/components/tab/tab.js.map +1 -1
- package/dist/components/tab-group/index.js +4 -3
- package/dist/components/tab-group/tab-group.d.ts +2 -2
- package/dist/components/tab-group/tab-group.d.ts.map +1 -1
- package/dist/components/tab-group/tab-group.js +10 -7
- package/dist/components/tab-group/tab-group.js.map +1 -1
- package/dist/components/tab-panel/index.js +3 -2
- package/dist/components/tab-panel/tab-panel.d.ts +3 -4
- package/dist/components/tab-panel/tab-panel.d.ts.map +1 -1
- package/dist/components/tab-panel/tab-panel.js +6 -6
- package/dist/components/tab-panel/tab-panel.js.map +1 -1
- package/dist/components/tag/index.js +4 -3
- package/dist/components/tag/tag.d.ts +2 -5
- package/dist/components/tag/tag.d.ts.map +1 -1
- package/dist/components/tag/tag.js +6 -8
- package/dist/components/tag/tag.js.map +1 -1
- package/dist/components/text/index.js +2 -2
- package/dist/components/text/text.d.ts +1 -1
- package/dist/components/text/text.js +2 -2
- package/dist/components/textarea/index.js +6 -5
- package/dist/components/textarea/textarea.d.ts +1 -1
- package/dist/components/textarea/textarea.d.ts.map +1 -1
- package/dist/components/textarea/textarea.js +17 -11
- package/dist/components/textarea/textarea.js.map +1 -1
- package/dist/components/toast/index.js +3 -6
- package/dist/components/toast/toast.d.ts +1 -2
- package/dist/components/toast/toast.d.ts.map +1 -1
- package/dist/components/toast/toast.js +8 -11
- package/dist/components/toast/toast.js.map +1 -1
- package/dist/components/toast-container/index.js +4 -7
- package/dist/components/toast-container/toast-container.d.ts +1 -1
- package/dist/components/toast-container/toast-container.js +4 -7
- package/dist/components/toggle/index.js +7 -10
- package/dist/components/toggle/toggle.d.ts +2 -4
- package/dist/components/toggle/toggle.d.ts.map +1 -1
- package/dist/components/toggle/toggle.js +23 -25
- package/dist/components/toggle/toggle.js.map +1 -1
- package/dist/components/tooltip/index.js +4 -4
- package/dist/components/tooltip/tooltip.d.ts +1 -1
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/factory/tailwind-factory.d.ts.map +1 -1
- package/dist/factory/tailwind-factory.js +6 -6
- package/dist/floating-ui.dom-D2kZGcxs.js +1 -0
- package/dist/{floating-ui.dom-BpzIshEG.js → floating-ui.dom-OBaMlALa.js} +14 -26
- package/{cdn/if-defined-DpyZ37D-.js → dist/if-defined-D-m3dgRf.js} +1 -1
- package/dist/{if-defined-ByWlXMXY.js → if-defined-Lnht-wFh.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/lit-element-BrXyG1pe.js +23 -0
- package/dist/lit-element-ByzbtpGk.js +27 -0
- package/dist/{live-C1eBrEBV.js → live-BOAtKRUN.js} +1 -1
- package/dist/{live-pVFa0Jqn.js → live-BmuA0KMh.js} +1 -1
- package/dist/model/plus.d.ts.map +1 -1
- package/dist/property-B6euWYsa.js +7 -0
- package/dist/{property-Dz31PgR6.js → property-DiPQx9S3.js} +2 -2
- package/dist/{query-RRtZCxQ7.js → query-CS0ORr77.js} +1 -1
- package/{cdn/query-assigned-elements-BVENYXMn.js → dist/query-assigned-elements-kixPV2ud.js} +2 -2
- package/{cdn/state-hFbsBSdV.js → dist/state-CLE0KCMj.js} +1 -1
- package/dist/{state-BRspp5eU.js → state-D1d5Sfj8.js} +1 -1
- package/{cdn/style-map-Cgr6kXUm.js → dist/style-map-DC_vNus2.js} +1 -1
- package/dist/{style-map-BRcUXxgF.js → style-map-YDK_mtXK.js} +1 -1
- package/dist/styles/global.js +2 -2
- package/dist/utils/boolean-converter.d.ts +21 -0
- package/dist/utils/boolean-converter.d.ts.map +1 -0
- package/dist/utils/boolean-converter.js +30 -0
- package/dist/utils/boolean-converter.js.map +1 -0
- package/eslint/custom-element-eslint-rules.js +9 -9
- package/package.json +2 -6
- package/public/html/index.js +15772 -0
- package/public/react/index.d.ts +6908 -0
- package/public/react/index.js +17355 -0
- package/react/PlusAccordion.js +9 -9
- package/react/PlusAccordionGroup.js +3 -1
- package/react/PlusAlert.js +9 -9
- package/react/PlusAvatar.d.ts +1 -1
- package/react/PlusAvatar.js +3 -1
- package/react/PlusBadge.js +3 -1
- package/react/PlusBreadcrumb.js +3 -1
- package/react/PlusBreadcrumbItem.js +3 -1
- package/react/PlusButton.js +3 -1
- package/react/PlusButtonGroup.js +3 -1
- package/react/PlusCheckbox.js +17 -9
- package/react/PlusCheckboxGroup.js +9 -9
- package/react/PlusChip.js +3 -1
- package/react/PlusDivider.js +9 -9
- package/react/PlusDrawer.js +7 -1
- package/react/PlusDropDownItem.js +9 -9
- package/react/PlusDropdown.js +9 -9
- package/react/PlusIcon.d.ts +17 -3
- package/react/PlusIcon.js +8 -4
- package/react/PlusInput.d.ts +5 -8
- package/react/PlusInput.js +16 -13
- package/react/PlusLink.js +3 -1
- package/react/PlusListBoxItem.d.ts +2 -4
- package/react/PlusListBoxItem.js +9 -9
- package/react/PlusModal.js +7 -1
- package/react/PlusPopconfirm.d.ts +2 -8
- package/react/PlusPopconfirm.js +9 -9
- package/react/PlusPopover.js +11 -11
- package/react/PlusRadio.d.ts +7 -7
- package/react/PlusRadio.js +12 -9
- package/react/PlusRadioGroup.d.ts +3 -3
- package/react/PlusRadioGroup.js +3 -1
- package/react/PlusRating.js +12 -9
- package/react/PlusSegmentedPicker.js +9 -9
- package/react/PlusSegmentedPickerItem.d.ts +5 -2
- package/react/PlusSegmentedPickerItem.js +3 -1
- package/react/PlusSelect.d.ts +3 -0
- package/react/PlusSelect.js +11 -9
- package/react/PlusSelectItem.js +9 -9
- package/react/PlusService.js +3 -1
- package/react/PlusTab.d.ts +2 -2
- package/react/PlusTab.js +3 -1
- package/react/PlusTabGroup.d.ts +1 -1
- package/react/PlusTabGroup.js +9 -9
- package/react/PlusTabPanel.d.ts +2 -2
- package/react/PlusTabPanel.js +3 -1
- package/react/PlusTag.js +3 -1
- package/react/PlusText.js +3 -1
- package/react/PlusTextarea.js +14 -9
- package/react/PlusToast.js +9 -9
- package/react/PlusToastContainer.js +3 -1
- package/react/PlusToggle.d.ts +0 -3
- package/react/PlusToggle.js +14 -11
- package/react/PlusTooltip.js +3 -1
- package/react/Tailwind.js +3 -1
- package/react/index.d.ts +1 -2
- package/react/index.js +1 -2
- package/types/custom-element-jsx.d.ts +61 -68
- package/types/custom-element-solidjs.d.ts +64 -73
- package/types/custom-element-svelte.d.ts +61 -68
- package/types/custom-element-vuejs.d.ts +61 -68
- package/vscode.css-custom-data.json +17 -0
- package/vscode.html-custom-data.json +103 -78
- package/web-types.json +163 -120
- package/cdn/components/svg-icon/icons.js +0 -31
- package/cdn/components/svg-icon/index.js +0 -8
- package/cdn/components/svg-icon/svg-icon.js +0 -31
- package/cdn/floating-ui.dom-BYyWpmHF.js +0 -1
- package/cdn/global-CvNEUQeA.js +0 -31
- package/cdn/global-DePk2FdN.js +0 -1
- package/cdn/lit-element-BNK__jO-.js +0 -27
- package/cdn/lit-element-CSuLHuHb.js +0 -22
- package/cdn/property-B8EDuyz_.js +0 -7
- package/cdn/unsafe-html-BXTWMFA8.js +0 -10
- package/cdn/unsafe-html-CFzahWAO.js +0 -6
- package/dist/components/svg-icon/icons.d.ts +0 -25
- package/dist/components/svg-icon/icons.d.ts.map +0 -1
- package/dist/components/svg-icon/icons.js +0 -31
- package/dist/components/svg-icon/icons.js.map +0 -1
- package/dist/components/svg-icon/index.d.ts +0 -3
- package/dist/components/svg-icon/index.d.ts.map +0 -1
- package/dist/components/svg-icon/index.js +0 -8
- package/dist/components/svg-icon/index.js.map +0 -1
- package/dist/components/svg-icon/svg-icon.d.ts +0 -9
- package/dist/components/svg-icon/svg-icon.d.ts.map +0 -1
- package/dist/components/svg-icon/svg-icon.js +0 -31
- package/dist/components/svg-icon/svg-icon.js.map +0 -1
- package/dist/floating-ui.dom-CC_JVmd9.js +0 -1
- package/dist/lit-element-B7kcWHze.js +0 -22
- package/dist/lit-element-BNK__jO-.js +0 -27
- package/dist/property-Bb1Db6at.js +0 -7
- package/dist/unsafe-html-BXTWMFA8.js +0 -10
- package/dist/unsafe-html-CglCgc9K.js +0 -6
- package/react/PlusSvgIcon.d.ts +0 -52
- package/react/PlusSvgIcon.js +0 -21
- /package/dist/{base-DxcUbjR1.js → base-AyU8eeio.js} +0 -0
- /package/dist/{directive-BnoBrrxd.js → directive-D_Ke56J1.js} +0 -0
- /package/dist/{index-DHCwMC4J.js → index-CsKO2ZpR.js} +0 -0
|
@@ -1,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
3
|
import { accordionStyle } from './accordion.style.js';
|
|
4
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
4
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
6
|
import '../../index-B9iart53.js';
|
|
6
|
-
import '../../global-
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* @tag plus-accordion
|
|
@@ -130,7 +131,12 @@ class PlusAccordion extends Tailwind {
|
|
|
130
131
|
<slot name="helper"></slot>
|
|
131
132
|
</span>
|
|
132
133
|
</div>
|
|
133
|
-
<
|
|
134
|
+
<plus-icon
|
|
135
|
+
class=${icon()}
|
|
136
|
+
part="icon"
|
|
137
|
+
aria-hidden="true"
|
|
138
|
+
icon-name=${this.expand ? 'angle-up' : 'angle-down'}
|
|
139
|
+
></plus-icon>
|
|
134
140
|
</div>
|
|
135
141
|
<div
|
|
136
142
|
class=${panel()}
|
|
@@ -182,24 +188,43 @@ PlusAccordion.styles = [
|
|
|
182
188
|
__decorate([
|
|
183
189
|
n({
|
|
184
190
|
type: Boolean,
|
|
185
|
-
converter:
|
|
191
|
+
converter: booleanConverter,
|
|
186
192
|
reflect: true,
|
|
187
193
|
})
|
|
188
194
|
], PlusAccordion.prototype, "expand", void 0);
|
|
189
195
|
__decorate([
|
|
190
|
-
n({
|
|
196
|
+
n({
|
|
197
|
+
type: Boolean,
|
|
198
|
+
reflect: true,
|
|
199
|
+
attribute: 'is-grouped',
|
|
200
|
+
converter: booleanConverter,
|
|
201
|
+
})
|
|
191
202
|
], PlusAccordion.prototype, "isGrouped", void 0);
|
|
192
203
|
__decorate([
|
|
193
|
-
n({
|
|
204
|
+
n({
|
|
205
|
+
type: Boolean,
|
|
206
|
+
reflect: true,
|
|
207
|
+
attribute: 'is-last',
|
|
208
|
+
converter: booleanConverter,
|
|
209
|
+
})
|
|
194
210
|
], PlusAccordion.prototype, "isLast", void 0);
|
|
195
211
|
__decorate([
|
|
196
|
-
n({
|
|
212
|
+
n({
|
|
213
|
+
type: Boolean,
|
|
214
|
+
reflect: true,
|
|
215
|
+
attribute: 'is-first',
|
|
216
|
+
converter: booleanConverter,
|
|
217
|
+
})
|
|
197
218
|
], PlusAccordion.prototype, "isFirst", void 0);
|
|
198
219
|
__decorate([
|
|
199
220
|
n({ type: String, reflect: true })
|
|
200
221
|
], PlusAccordion.prototype, "size", void 0);
|
|
201
222
|
__decorate([
|
|
202
|
-
n({
|
|
223
|
+
n({
|
|
224
|
+
type: Boolean,
|
|
225
|
+
reflect: true,
|
|
226
|
+
converter: booleanConverter,
|
|
227
|
+
})
|
|
203
228
|
], PlusAccordion.prototype, "disabled", void 0);
|
|
204
229
|
|
|
205
230
|
export { PlusAccordion, PlusAccordion as default };
|
|
@@ -33,11 +33,11 @@ const accordionStyle = ce({
|
|
|
33
33
|
expand: {
|
|
34
34
|
true: {
|
|
35
35
|
panel: 'block',
|
|
36
|
-
icon: '
|
|
36
|
+
icon: 'text-base text-center',
|
|
37
37
|
},
|
|
38
38
|
false: {
|
|
39
39
|
panel: 'hidden',
|
|
40
|
-
icon: '
|
|
40
|
+
icon: 'text-base text-center',
|
|
41
41
|
},
|
|
42
42
|
},
|
|
43
43
|
isGrouped: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import PlusAccordion from './accordion.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import './accordion.style.js';
|
|
5
5
|
import '../../index-B9iart53.js';
|
|
6
|
+
import '../../utils/boolean-converter.js';
|
|
6
7
|
import '../base/tailwind-base.js';
|
|
7
|
-
import '../../global-
|
|
8
|
+
import '../../global-CFlb4NrK.js';
|
|
8
9
|
|
|
9
10
|
customElements.define('plus-accordion', PlusAccordion);
|
|
10
11
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { _ as __decorate, n as n$1 } from '../../property-
|
|
2
|
-
import {
|
|
1
|
+
import { _ as __decorate, n as n$1 } from '../../property-DiPQx9S3.js';
|
|
2
|
+
import { i, x } from '../../lit-element-ByzbtpGk.js';
|
|
3
3
|
import { e } from '../../base-Cl6v8-BZ.js';
|
|
4
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
4
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
|
-
import '../../global-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* @license
|
|
@@ -168,7 +169,7 @@ __decorate([
|
|
|
168
169
|
n$1({
|
|
169
170
|
type: Boolean,
|
|
170
171
|
reflect: true,
|
|
171
|
-
converter:
|
|
172
|
+
converter: booleanConverter,
|
|
172
173
|
})
|
|
173
174
|
], PlusAccordionGroup.prototype, "multi", void 0);
|
|
174
175
|
__decorate([
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import PlusAccordionGroup from './accordion-group.js';
|
|
2
|
-
import '../../property-
|
|
3
|
-
import '../../lit-element-
|
|
2
|
+
import '../../property-DiPQx9S3.js';
|
|
3
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
4
4
|
import '../../base-Cl6v8-BZ.js';
|
|
5
|
+
import '../../utils/boolean-converter.js';
|
|
5
6
|
import '../base/tailwind-base.js';
|
|
6
|
-
import '../../global-
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
7
8
|
|
|
8
9
|
customElements.define('plus-accordion-group', PlusAccordionGroup);
|
|
9
10
|
|
|
@@ -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, E, 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 { alertStyle } from './alert.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
|
|
|
@@ -187,11 +188,11 @@ class PlusAlert extends Tailwind {
|
|
|
187
188
|
>
|
|
188
189
|
<div class=${statusIcon()} part="status-icon">
|
|
189
190
|
<slot name="prefix">
|
|
190
|
-
${x `<plus-
|
|
191
|
-
|
|
191
|
+
${x `<plus-icon
|
|
192
|
+
icon-name=${this.statusIcon || statusIconMap[this.status]}
|
|
192
193
|
part="status-icon"
|
|
193
194
|
>
|
|
194
|
-
</plus-
|
|
195
|
+
</plus-icon>`}
|
|
195
196
|
</slot>
|
|
196
197
|
</div>
|
|
197
198
|
<div class=${content()} part="content">
|
|
@@ -210,9 +211,9 @@ class PlusAlert extends Tailwind {
|
|
|
210
211
|
@click=${this.handleDismiss}
|
|
211
212
|
aria-label="Close alert"
|
|
212
213
|
>
|
|
213
|
-
<plus-
|
|
214
|
-
|
|
215
|
-
></plus-
|
|
214
|
+
<plus-icon
|
|
215
|
+
icon-name=${this.dismissIcon || 'xmark'}
|
|
216
|
+
></plus-icon>
|
|
216
217
|
</slot>`
|
|
217
218
|
: E}
|
|
218
219
|
</div>
|
|
@@ -233,14 +234,14 @@ __decorate([
|
|
|
233
234
|
n({
|
|
234
235
|
type: Boolean,
|
|
235
236
|
reflect: true,
|
|
236
|
-
converter:
|
|
237
|
+
converter: booleanConverter,
|
|
237
238
|
})
|
|
238
239
|
], PlusAlert.prototype, "invert", void 0);
|
|
239
240
|
__decorate([
|
|
240
241
|
n({
|
|
241
242
|
type: Boolean,
|
|
242
243
|
reflect: true,
|
|
243
|
-
converter:
|
|
244
|
+
converter: booleanConverter,
|
|
244
245
|
})
|
|
245
246
|
], PlusAlert.prototype, "dismissible", void 0);
|
|
246
247
|
__decorate([
|
|
@@ -256,10 +257,20 @@ __decorate([
|
|
|
256
257
|
n({ type: String })
|
|
257
258
|
], PlusAlert.prototype, "dismissIcon", void 0);
|
|
258
259
|
__decorate([
|
|
259
|
-
n({
|
|
260
|
+
n({
|
|
261
|
+
type: Boolean,
|
|
262
|
+
attribute: 'full-width',
|
|
263
|
+
converter: booleanConverter,
|
|
264
|
+
reflect: true,
|
|
265
|
+
})
|
|
260
266
|
], PlusAlert.prototype, "fullWidth", void 0);
|
|
261
267
|
__decorate([
|
|
262
|
-
n({
|
|
268
|
+
n({
|
|
269
|
+
type: Boolean,
|
|
270
|
+
reflect: true,
|
|
271
|
+
attribute: 'hidden',
|
|
272
|
+
converter: booleanConverter,
|
|
273
|
+
})
|
|
263
274
|
], PlusAlert.prototype, "hiddenAlert", void 0);
|
|
264
275
|
|
|
265
276
|
export { PlusAlert, PlusAlert as default };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusAlert from './alert.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 './alert.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-alert', PlusAlert);
|
|
@@ -1,11 +1,12 @@
|
|
|
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 { 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 Tailwind from '../base/tailwind-base.js';
|
|
5
6
|
import { Sizes, isValidSize } from '../../model/plus.js';
|
|
6
7
|
import { avatarStyle } from './avatar.style.js';
|
|
7
|
-
import { o } from '../../style-map-
|
|
8
|
-
import '../../global-
|
|
8
|
+
import { o } from '../../style-map-DC_vNus2.js';
|
|
9
|
+
import '../../global-CFlb4NrK.js';
|
|
9
10
|
import '../../index-B9iart53.js';
|
|
10
11
|
import '../../directive-DZCF8pFJ.js';
|
|
11
12
|
|
|
@@ -42,10 +43,10 @@ class PlusAvatar extends Tailwind {
|
|
|
42
43
|
*/
|
|
43
44
|
this.size = Sizes.md;
|
|
44
45
|
/**
|
|
45
|
-
* Icon
|
|
46
|
-
* @default '
|
|
46
|
+
* Icon name to use when no image is available
|
|
47
|
+
* @default 'user'
|
|
47
48
|
*/
|
|
48
|
-
this.icon = '
|
|
49
|
+
this.icon = 'user';
|
|
49
50
|
/**
|
|
50
51
|
* Toggles inverted color scheme
|
|
51
52
|
* @default false
|
|
@@ -106,9 +107,11 @@ class PlusAvatar extends Tailwind {
|
|
|
106
107
|
return this.getInitials();
|
|
107
108
|
}
|
|
108
109
|
if (this.fallbackStrategy === 'icon') {
|
|
109
|
-
return x `<
|
|
110
|
+
return x `<plus-icon icon-name=${this.icon}></plus-icon>`;
|
|
110
111
|
}
|
|
111
|
-
return x `<slot name="fallback"
|
|
112
|
+
return x `<slot name="fallback"
|
|
113
|
+
><plus-icon icon-name=${this.icon}></plus-icon
|
|
114
|
+
></slot>`;
|
|
112
115
|
}
|
|
113
116
|
renderContent() {
|
|
114
117
|
// if (this.loading) {
|
|
@@ -152,6 +155,18 @@ class PlusAvatar extends Tailwind {
|
|
|
152
155
|
`;
|
|
153
156
|
}
|
|
154
157
|
}
|
|
158
|
+
PlusAvatar.styles = [
|
|
159
|
+
...Tailwind.styles,
|
|
160
|
+
i `
|
|
161
|
+
:host {
|
|
162
|
+
display: inline-flex;
|
|
163
|
+
align-items: center;
|
|
164
|
+
justify-content: center;
|
|
165
|
+
width: fit-content;
|
|
166
|
+
height: fit-content;
|
|
167
|
+
}
|
|
168
|
+
`,
|
|
169
|
+
];
|
|
155
170
|
__decorate([
|
|
156
171
|
n()
|
|
157
172
|
], PlusAvatar.prototype, "image", void 0);
|
|
@@ -168,7 +183,7 @@ __decorate([
|
|
|
168
183
|
n()
|
|
169
184
|
], PlusAvatar.prototype, "icon", void 0);
|
|
170
185
|
__decorate([
|
|
171
|
-
n({ type: Boolean })
|
|
186
|
+
n({ type: Boolean, converter: booleanConverter, reflect: true })
|
|
172
187
|
], PlusAvatar.prototype, "invert", void 0);
|
|
173
188
|
__decorate([
|
|
174
189
|
n()
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import PlusAvatar from './avatar.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 '../base/tailwind-base.js';
|
|
6
|
-
import '../../global-
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
7
8
|
import '../../model/plus.js';
|
|
8
9
|
import './avatar.style.js';
|
|
9
10
|
import '../../index-B9iart53.js';
|
|
10
|
-
import '../../style-map-
|
|
11
|
+
import '../../style-map-DC_vNus2.js';
|
|
11
12
|
import '../../directive-DZCF8pFJ.js';
|
|
12
13
|
|
|
13
14
|
customElements.define('plus-avatar', PlusAvatar);
|
|
@@ -1,11 +1,11 @@
|
|
|
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 Tailwind from '../base/tailwind-base.js';
|
|
4
|
-
import { x } from '../../lit-element-
|
|
4
|
+
import { x } from '../../lit-element-ByzbtpGk.js';
|
|
5
5
|
import badgeHostStyle from './badge.host.style.js';
|
|
6
6
|
import { badgeStyle } from './badge.style.js';
|
|
7
|
-
import { o } from '../../style-map-
|
|
8
|
-
import '../../global-
|
|
7
|
+
import { o } from '../../style-map-DC_vNus2.js';
|
|
8
|
+
import '../../global-CFlb4NrK.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
10
|
import '../../directive-DZCF8pFJ.js';
|
|
11
11
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import PlusBadge from './badge.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 '../base/tailwind-base.js';
|
|
6
|
-
import '../../global-
|
|
6
|
+
import '../../global-CFlb4NrK.js';
|
|
7
7
|
import './badge.host.style.js';
|
|
8
8
|
import './badge.style.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
|
-
import '../../style-map-
|
|
10
|
+
import '../../style-map-DC_vNus2.js';
|
|
11
11
|
import '../../directive-DZCF8pFJ.js';
|
|
12
12
|
|
|
13
13
|
customElements.define('plus-badge', PlusBadge);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './tailwind-base.js';
|
|
2
|
-
import '../../lit-element-
|
|
3
|
-
import '../../global-
|
|
2
|
+
import '../../lit-element-ByzbtpGk.js';
|
|
3
|
+
import '../../global-CFlb4NrK.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { c as css_248z } from '../../global-
|
|
1
|
+
import { i, a as r, r as r$1 } from '../../lit-element-ByzbtpGk.js';
|
|
2
|
+
import { c as css_248z } from '../../global-CFlb4NrK.js';
|
|
3
3
|
|
|
4
4
|
var preflight = i `
|
|
5
5
|
@layer base {
|
|
@@ -166,7 +166,7 @@ var preflight = i `
|
|
|
166
166
|
}
|
|
167
167
|
`;
|
|
168
168
|
|
|
169
|
-
class Tailwind extends
|
|
169
|
+
class Tailwind extends r$1 {
|
|
170
170
|
constructor() {
|
|
171
171
|
super();
|
|
172
172
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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
4
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
5
|
import { breadcrumbStyle } from './breadcrumb.style.js';
|
|
6
6
|
import '../../base-Cl6v8-BZ.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
8
8
|
import '../../index-B9iart53.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PlusBreadcrumb } from './breadcrumb.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
6
|
import '../base/tailwind-base.js';
|
|
7
|
-
import '../../global-
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
8
8
|
import './breadcrumb.style.js';
|
|
9
9
|
import '../../index-B9iart53.js';
|
|
10
10
|
|
|
@@ -1,10 +1,11 @@
|
|
|
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
|
+
import { booleanConverter } from '../../utils/boolean-converter.js';
|
|
3
4
|
import { SlotController } from '../../controllers/slot-controller.js';
|
|
4
5
|
import Tailwind from '../base/tailwind-base.js';
|
|
5
6
|
import { breadcrumbItemStyle } from './breadcrumb-item.style.js';
|
|
6
|
-
import { o } from '../../if-defined-
|
|
7
|
-
import '../../global-
|
|
7
|
+
import { o } from '../../if-defined-D-m3dgRf.js';
|
|
8
|
+
import '../../global-CFlb4NrK.js';
|
|
8
9
|
import '../../index-B9iart53.js';
|
|
9
10
|
|
|
10
11
|
/**
|
|
@@ -46,7 +47,7 @@ class PlusBreadcrumbItem extends Tailwind {
|
|
|
46
47
|
const iconName = this.separatorInternal === 'arrow' ? 'angle-right' : 'slash-forward';
|
|
47
48
|
const separatorContent = this.separatorInternal === 'slash'
|
|
48
49
|
? '/'
|
|
49
|
-
: x `<plus-
|
|
50
|
+
: x `<plus-icon icon-name=${iconName}></plus-icon>`;
|
|
50
51
|
return x `<span part="separator" class=${separator()}
|
|
51
52
|
>${separatorContent}</span
|
|
52
53
|
>`;
|
|
@@ -59,7 +60,7 @@ class PlusBreadcrumbItem extends Tailwind {
|
|
|
59
60
|
>${hasPrefixSlot
|
|
60
61
|
? x `<slot name="prefix"></slot>`
|
|
61
62
|
: this.prefixIcon
|
|
62
|
-
? x `<plus-
|
|
63
|
+
? x `<plus-icon icon-name=${this.prefixIcon}></plus-icon>`
|
|
63
64
|
: E}</span
|
|
64
65
|
>
|
|
65
66
|
`;
|
|
@@ -72,7 +73,7 @@ class PlusBreadcrumbItem extends Tailwind {
|
|
|
72
73
|
>${hasSuffixSlot
|
|
73
74
|
? x `<slot name="suffix"></slot>`
|
|
74
75
|
: this.suffixIcon
|
|
75
|
-
? x `<plus-
|
|
76
|
+
? x `<plus-icon icon-name=${this.suffixIcon}></plus-icon>`
|
|
76
77
|
: E}</span
|
|
77
78
|
>
|
|
78
79
|
`;
|
|
@@ -120,7 +121,7 @@ __decorate([
|
|
|
120
121
|
n({ type: String, attribute: 'suffix-icon' })
|
|
121
122
|
], PlusBreadcrumbItem.prototype, "suffixIcon", void 0);
|
|
122
123
|
__decorate([
|
|
123
|
-
n({ type: Boolean, attribute: false })
|
|
124
|
+
n({ type: Boolean, attribute: false, converter: booleanConverter })
|
|
124
125
|
], PlusBreadcrumbItem.prototype, "isLastItemInternal", void 0);
|
|
125
126
|
__decorate([
|
|
126
127
|
n({ type: String, attribute: false })
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { PlusBreadcrumbItem } from './breadcrumb-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 '../../controllers/slot-controller.js';
|
|
5
6
|
import '../base/tailwind-base.js';
|
|
6
|
-
import '../../global-
|
|
7
|
+
import '../../global-CFlb4NrK.js';
|
|
7
8
|
import './breadcrumb-item.style.js';
|
|
8
9
|
import '../../index-B9iart53.js';
|
|
9
|
-
import '../../if-defined-
|
|
10
|
+
import '../../if-defined-D-m3dgRf.js';
|
|
10
11
|
|
|
11
12
|
customElements.define('plus-breadcrumb-item', PlusBreadcrumbItem);
|
|
12
13
|
|
|
@@ -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 { baseButtonStyle } from './button.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
|
|
|
@@ -186,7 +187,10 @@ PlusButton.styles = [
|
|
|
186
187
|
:host {
|
|
187
188
|
display: inline-block;
|
|
188
189
|
height: fit-content;
|
|
189
|
-
|
|
190
|
+
}
|
|
191
|
+
:host([full-width]) {
|
|
192
|
+
display: block;
|
|
193
|
+
width: 100%;
|
|
190
194
|
}
|
|
191
195
|
.plus-button {
|
|
192
196
|
border-top-left-radius: var(--border-top-left-radius, 0.375rem);
|
|
@@ -209,21 +213,21 @@ __decorate([
|
|
|
209
213
|
n({
|
|
210
214
|
type: Boolean,
|
|
211
215
|
reflect: true,
|
|
212
|
-
converter:
|
|
216
|
+
converter: booleanConverter,
|
|
213
217
|
})
|
|
214
218
|
], PlusButton.prototype, "disabled", void 0);
|
|
215
219
|
__decorate([
|
|
216
220
|
n({
|
|
217
221
|
type: Boolean,
|
|
218
222
|
reflect: true,
|
|
219
|
-
converter:
|
|
223
|
+
converter: booleanConverter,
|
|
220
224
|
})
|
|
221
225
|
], PlusButton.prototype, "loading", void 0);
|
|
222
226
|
__decorate([
|
|
223
227
|
n({
|
|
224
228
|
type: Boolean,
|
|
225
229
|
reflect: true,
|
|
226
|
-
converter:
|
|
230
|
+
converter: booleanConverter,
|
|
227
231
|
attribute: 'full-width',
|
|
228
232
|
})
|
|
229
233
|
], PlusButton.prototype, "fullWidth", void 0);
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import PlusButton from './button.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 './button.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-button', PlusButton);
|