@plusui/library 0.1.8 → 0.1.9

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.
Files changed (322) hide show
  1. package/cdn/components/accordion/accordion.js +3 -3
  2. package/cdn/components/accordion/index.js +3 -3
  3. package/cdn/components/accordion-group/accordion-group.js +3 -3
  4. package/cdn/components/accordion-group/index.js +3 -3
  5. package/cdn/components/alert/alert.js +4 -4
  6. package/cdn/components/alert/index.js +4 -4
  7. package/cdn/components/avatar/avatar.js +5 -5
  8. package/cdn/components/avatar/index.js +5 -5
  9. package/cdn/components/badge/badge.host.style.js +1 -1
  10. package/cdn/components/badge/badge.js +5 -5
  11. package/cdn/components/badge/index.js +5 -5
  12. package/cdn/components/base/index.js +2 -2
  13. package/cdn/components/base/tailwind-base.js +3 -3
  14. package/cdn/components/breadcrumb/breadcrumb.js +3 -3
  15. package/cdn/components/breadcrumb/index.js +3 -3
  16. package/cdn/components/breadcrumb-item/breadcrumb-item.js +4 -4
  17. package/cdn/components/breadcrumb-item/index.js +4 -4
  18. package/cdn/components/button/button.js +96 -17
  19. package/cdn/components/button/index.js +4 -4
  20. package/cdn/components/button-group/button-group.js +4 -4
  21. package/cdn/components/button-group/index.js +4 -4
  22. package/cdn/components/checkbox/checkbox.js +5 -5
  23. package/cdn/components/checkbox/index.js +5 -5
  24. package/cdn/components/checkbox-group/checkbox-group.js +3 -3
  25. package/cdn/components/checkbox-group/index.js +3 -3
  26. package/cdn/components/chip/chip.js +4 -4
  27. package/cdn/components/chip/index.js +4 -4
  28. package/cdn/components/divider/divider.js +4 -4
  29. package/cdn/components/divider/divider.style.js +1 -1
  30. package/cdn/components/divider/index.js +4 -4
  31. package/cdn/components/drawer/drawer.js +4 -4
  32. package/cdn/components/drawer/index.js +4 -4
  33. package/cdn/components/dropdown/dropdown.js +5 -5
  34. package/cdn/components/dropdown/index.js +5 -5
  35. package/cdn/components/dropdown-item/dropdown-item.js +5 -5
  36. package/cdn/components/dropdown-item/index.js +5 -5
  37. package/cdn/components/icon/icon.js +4 -4
  38. package/cdn/components/icon/index.js +3 -3
  39. package/cdn/components/index.js +8 -8
  40. package/cdn/components/input/index.js +6 -6
  41. package/cdn/components/input/input.js +6 -6
  42. package/cdn/components/link/index.js +3 -3
  43. package/cdn/components/link/link.js +3 -3
  44. package/cdn/components/list-box-item/index.js +4 -4
  45. package/cdn/components/list-box-item/list-box-item.js +4 -4
  46. package/cdn/components/modal/index.js +4 -4
  47. package/cdn/components/modal/modal.js +4 -4
  48. package/cdn/components/popconfirm/index.js +5 -5
  49. package/cdn/components/popconfirm/popconfirm.js +5 -5
  50. package/cdn/components/popover/index.js +5 -5
  51. package/cdn/components/popover/popover.js +5 -5
  52. package/cdn/components/radio/index.js +5 -5
  53. package/cdn/components/radio/radio.js +5 -5
  54. package/cdn/components/radio-group/index.js +3 -3
  55. package/cdn/components/radio-group/radio-group.js +3 -3
  56. package/cdn/components/rating/index.js +6 -6
  57. package/cdn/components/rating/rating.js +6 -6
  58. package/cdn/components/segmented-picker/index.js +3 -3
  59. package/cdn/components/segmented-picker/segmented-picker.component.js +3 -3
  60. package/cdn/components/segmented-picker-item/index.js +4 -4
  61. package/cdn/components/segmented-picker-item/segmented-picker-item.component.js +4 -4
  62. package/cdn/components/select/index.js +5 -5
  63. package/cdn/components/select/select.js +5 -5
  64. package/cdn/components/select-item/index.js +5 -5
  65. package/cdn/components/select-item/select-item.js +5 -5
  66. package/cdn/components/service/index.js +4 -4
  67. package/cdn/components/service/service.js +5 -5
  68. package/cdn/components/tab/index.js +4 -4
  69. package/cdn/components/tab/tab.js +4 -4
  70. package/cdn/components/tab-group/index.js +4 -4
  71. package/cdn/components/tab-group/tab-group.js +4 -4
  72. package/cdn/components/tab-panel/index.js +3 -3
  73. package/cdn/components/tab-panel/tab-panel.js +3 -3
  74. package/cdn/components/tag/index.js +4 -4
  75. package/cdn/components/tag/tag.js +4 -4
  76. package/cdn/components/text/index.js +3 -3
  77. package/cdn/components/text/text.js +3 -3
  78. package/cdn/components/textarea/index.js +6 -6
  79. package/cdn/components/textarea/textarea.js +6 -6
  80. package/cdn/components/toast/index.js +3 -3
  81. package/cdn/components/toast/toast.js +3 -3
  82. package/cdn/components/toast-container/index.js +4 -4
  83. package/cdn/components/toast-container/toast-container.js +4 -4
  84. package/cdn/components/toggle/index.js +7 -7
  85. package/cdn/components/toggle/toggle.js +7 -7
  86. package/cdn/components/tooltip/index.js +5 -5
  87. package/cdn/components/tooltip/tooltip.js +5 -5
  88. package/cdn/factory/tailwind-factory.js +7 -7
  89. package/cdn/floating-ui.dom-BYyWpmHF.js +1 -0
  90. package/{dist/floating-ui.dom-OBaMlALa.js → cdn/floating-ui.dom-BpzIshEG.js} +26 -14
  91. package/cdn/global-9t6v8EOl.js +31 -0
  92. package/cdn/global-CRwUv2yr.js +1 -0
  93. package/cdn/{if-defined-CQ5F5a3V.js → if-defined-CIB8OTrH.js} +1 -1
  94. package/cdn/{if-defined-D-m3dgRf.js → if-defined-DpyZ37D-.js} +1 -1
  95. package/cdn/lit-element-BNK__jO-.js +27 -0
  96. package/cdn/lit-element-CSuLHuHb.js +22 -0
  97. package/cdn/{live-BOAtKRUN.js → live-C1eBrEBV.js} +1 -1
  98. package/cdn/{live-Ba4FL2pG.js → live-CYp4nasd.js} +1 -1
  99. package/cdn/property-B8EDuyz_.js +7 -0
  100. package/cdn/{property-DiPQx9S3.js → property-Dz31PgR6.js} +2 -2
  101. package/{dist/state-D1d5Sfj8.js → cdn/state-BRspp5eU.js} +1 -1
  102. package/{dist/state-CURcf9xb.js → cdn/state-hFbsBSdV.js} +1 -1
  103. package/cdn/{style-map-Z-XBeQmS.js → style-map-BYRi_l0u.js} +1 -1
  104. package/{dist/style-map-DC_vNus2.js → cdn/style-map-Cgr6kXUm.js} +1 -1
  105. package/custom-elements.json +130 -1
  106. package/dist/components/accordion/accordion.d.ts +1 -1
  107. package/dist/components/accordion/accordion.js +2 -2
  108. package/dist/components/accordion/index.js +2 -2
  109. package/dist/components/accordion-group/accordion-group.d.ts +1 -1
  110. package/dist/components/accordion-group/accordion-group.js +2 -2
  111. package/dist/components/accordion-group/index.js +2 -2
  112. package/dist/components/alert/alert.d.ts +1 -1
  113. package/dist/components/alert/alert.js +3 -3
  114. package/dist/components/alert/index.js +3 -3
  115. package/dist/components/avatar/avatar.d.ts +1 -1
  116. package/dist/components/avatar/avatar.js +4 -4
  117. package/dist/components/avatar/index.js +4 -4
  118. package/dist/components/badge/badge.d.ts +1 -1
  119. package/dist/components/badge/badge.host.style.js +1 -1
  120. package/dist/components/badge/badge.js +4 -4
  121. package/dist/components/badge/index.js +4 -4
  122. package/dist/components/base/index.js +1 -1
  123. package/dist/components/base/tailwind-base.js +2 -2
  124. package/dist/components/breadcrumb/breadcrumb.d.ts +1 -1
  125. package/dist/components/breadcrumb/breadcrumb.js +2 -2
  126. package/dist/components/breadcrumb/index.js +2 -2
  127. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  128. package/dist/components/breadcrumb-item/index.js +3 -3
  129. package/dist/components/button/button.d.ts +36 -1
  130. package/dist/components/button/button.d.ts.map +1 -1
  131. package/dist/components/button/button.js +95 -16
  132. package/dist/components/button/button.js.map +1 -1
  133. package/dist/components/button/index.js +3 -3
  134. package/dist/components/button-group/button-group.d.ts +1 -1
  135. package/dist/components/button-group/button-group.js +3 -3
  136. package/dist/components/button-group/index.js +3 -3
  137. package/dist/components/checkbox/checkbox.d.ts +1 -1
  138. package/dist/components/checkbox/checkbox.js +4 -4
  139. package/dist/components/checkbox/index.js +4 -4
  140. package/dist/components/checkbox-group/checkbox-group.d.ts +1 -1
  141. package/dist/components/checkbox-group/checkbox-group.js +2 -2
  142. package/dist/components/checkbox-group/index.js +2 -2
  143. package/dist/components/chip/chip.d.ts +1 -1
  144. package/dist/components/chip/chip.js +3 -3
  145. package/dist/components/chip/index.js +3 -3
  146. package/dist/components/divider/divider.d.ts +1 -1
  147. package/dist/components/divider/divider.js +3 -3
  148. package/dist/components/divider/divider.style.js +1 -1
  149. package/dist/components/divider/index.js +3 -3
  150. package/dist/components/drawer/drawer.d.ts +1 -1
  151. package/dist/components/drawer/drawer.js +3 -3
  152. package/dist/components/drawer/index.js +3 -3
  153. package/dist/components/dropdown/dropdown.d.ts +1 -1
  154. package/dist/components/dropdown/dropdown.js +4 -4
  155. package/dist/components/dropdown/index.js +4 -4
  156. package/dist/components/dropdown-item/dropdown-item.d.ts +1 -1
  157. package/dist/components/dropdown-item/dropdown-item.js +4 -4
  158. package/dist/components/dropdown-item/index.js +4 -4
  159. package/dist/components/icon/icon.d.ts +1 -1
  160. package/dist/components/icon/icon.js +4 -4
  161. package/dist/components/icon/index.js +3 -3
  162. package/dist/components/index.js +7 -7
  163. package/dist/components/input/index.js +5 -5
  164. package/dist/components/input/input.d.ts +1 -1
  165. package/dist/components/input/input.js +5 -5
  166. package/dist/components/link/index.js +2 -2
  167. package/dist/components/link/link.d.ts +1 -1
  168. package/dist/components/link/link.js +2 -2
  169. package/dist/components/list-box-item/index.js +3 -3
  170. package/dist/components/list-box-item/list-box-item.d.ts +1 -1
  171. package/dist/components/list-box-item/list-box-item.js +3 -3
  172. package/dist/components/modal/index.js +3 -3
  173. package/dist/components/modal/modal.d.ts +1 -1
  174. package/dist/components/modal/modal.js +3 -3
  175. package/dist/components/popconfirm/index.js +4 -4
  176. package/dist/components/popconfirm/popconfirm.d.ts +1 -1
  177. package/dist/components/popconfirm/popconfirm.js +4 -4
  178. package/dist/components/popover/index.js +4 -4
  179. package/dist/components/popover/popover.d.ts +1 -1
  180. package/dist/components/popover/popover.js +4 -4
  181. package/dist/components/radio/index.js +4 -4
  182. package/dist/components/radio/radio.d.ts +1 -1
  183. package/dist/components/radio/radio.js +4 -4
  184. package/dist/components/radio-group/index.js +2 -2
  185. package/dist/components/radio-group/radio-group.d.ts +1 -1
  186. package/dist/components/radio-group/radio-group.js +2 -2
  187. package/dist/components/rating/index.js +5 -5
  188. package/dist/components/rating/rating.d.ts +1 -1
  189. package/dist/components/rating/rating.js +5 -5
  190. package/dist/components/segmented-picker/index.js +2 -2
  191. package/dist/components/segmented-picker/segmented-picker.component.d.ts +1 -1
  192. package/dist/components/segmented-picker/segmented-picker.component.js +2 -2
  193. package/dist/components/segmented-picker-item/index.js +3 -3
  194. package/dist/components/segmented-picker-item/segmented-picker-item.component.d.ts +1 -1
  195. package/dist/components/segmented-picker-item/segmented-picker-item.component.js +3 -3
  196. package/dist/components/select/index.js +4 -4
  197. package/dist/components/select/select.d.ts +1 -1
  198. package/dist/components/select/select.js +4 -4
  199. package/dist/components/select-item/index.js +4 -4
  200. package/dist/components/select-item/select-item.d.ts +1 -1
  201. package/dist/components/select-item/select-item.js +4 -4
  202. package/dist/components/service/index.js +3 -3
  203. package/dist/components/service/service.d.ts +1 -1
  204. package/dist/components/service/service.js +4 -4
  205. package/dist/components/tab/index.js +3 -3
  206. package/dist/components/tab/tab.d.ts +1 -1
  207. package/dist/components/tab/tab.js +3 -3
  208. package/dist/components/tab-group/index.js +3 -3
  209. package/dist/components/tab-group/tab-group.d.ts +1 -1
  210. package/dist/components/tab-group/tab-group.js +3 -3
  211. package/dist/components/tab-panel/index.js +2 -2
  212. package/dist/components/tab-panel/tab-panel.d.ts +1 -1
  213. package/dist/components/tab-panel/tab-panel.js +2 -2
  214. package/dist/components/tag/index.js +3 -3
  215. package/dist/components/tag/tag.d.ts +1 -1
  216. package/dist/components/tag/tag.js +3 -3
  217. package/dist/components/text/index.js +2 -2
  218. package/dist/components/text/text.d.ts +1 -1
  219. package/dist/components/text/text.js +2 -2
  220. package/dist/components/textarea/index.js +5 -5
  221. package/dist/components/textarea/textarea.d.ts +1 -1
  222. package/dist/components/textarea/textarea.js +5 -5
  223. package/dist/components/toast/index.js +2 -2
  224. package/dist/components/toast/toast.js +2 -2
  225. package/dist/components/toast-container/index.js +3 -3
  226. package/dist/components/toast-container/toast-container.d.ts +1 -1
  227. package/dist/components/toast-container/toast-container.js +3 -3
  228. package/dist/components/toggle/index.js +6 -6
  229. package/dist/components/toggle/toggle.d.ts +2 -2
  230. package/dist/components/toggle/toggle.js +6 -6
  231. package/dist/components/tooltip/index.js +4 -4
  232. package/dist/components/tooltip/tooltip.d.ts +1 -1
  233. package/dist/components/tooltip/tooltip.js +4 -4
  234. package/dist/factory/tailwind-factory.d.ts.map +1 -1
  235. package/dist/factory/tailwind-factory.js +6 -6
  236. package/{cdn/floating-ui.dom-OBaMlALa.js → dist/floating-ui.dom-BpzIshEG.js} +26 -14
  237. package/dist/floating-ui.dom-BwkSoRW9.js +1 -0
  238. package/dist/{if-defined-D-m3dgRf.js → if-defined-DpyZ37D-.js} +1 -1
  239. package/dist/{if-defined-h3Ll_h1t.js → if-defined-DsURCocJ.js} +1 -1
  240. package/dist/index.css +1 -1
  241. package/dist/lit-element-BNK__jO-.js +27 -0
  242. package/dist/lit-element-DWht4T0R.js +22 -0
  243. package/dist/{live-BOAtKRUN.js → live-C1eBrEBV.js} +1 -1
  244. package/dist/{live-CoXrsQ3D.js → live-Cv3p2930.js} +1 -1
  245. package/dist/model/plus.d.ts.map +1 -1
  246. package/dist/property-D4Afnon0.js +7 -0
  247. package/dist/{property-DiPQx9S3.js → property-Dz31PgR6.js} +2 -2
  248. package/dist/{query-BFSYd3aM.js → query-JZZ8o83g.js} +1 -1
  249. package/dist/{query-assigned-elements-D29cbcky.js → query-assigned-elements-DeL5RNz8.js} +1 -1
  250. package/{cdn/state-D1d5Sfj8.js → dist/state-BRspp5eU.js} +1 -1
  251. package/{cdn/state-CoIPL7X5.js → dist/state-CxOUQRG2.js} +1 -1
  252. package/dist/{style-map-B8m-sO4m.js → style-map-BSFs8yH4.js} +1 -1
  253. package/{cdn/style-map-DC_vNus2.js → dist/style-map-Cgr6kXUm.js} +1 -1
  254. package/dist/styles/global.js +2 -2
  255. package/dist/utils/boolean-converter.d.ts.map +1 -1
  256. package/eslint/custom-element-eslint-rules.js +4 -0
  257. package/package.json +1 -1
  258. package/public/html/index.js +128 -37
  259. package/public/react/index.d.ts +100 -42
  260. package/public/react/index.js +310 -181
  261. package/react/PlusAccordion.js +9 -9
  262. package/react/PlusAccordionGroup.js +1 -3
  263. package/react/PlusAlert.js +9 -9
  264. package/react/PlusAvatar.js +1 -3
  265. package/react/PlusBadge.js +1 -3
  266. package/react/PlusBreadcrumb.js +1 -3
  267. package/react/PlusBreadcrumbItem.js +1 -3
  268. package/react/PlusButton.d.ts +23 -0
  269. package/react/PlusButton.js +22 -5
  270. package/react/PlusButtonGroup.js +1 -3
  271. package/react/PlusCheckbox.js +9 -17
  272. package/react/PlusCheckboxGroup.js +9 -9
  273. package/react/PlusChip.js +1 -3
  274. package/react/PlusDivider.js +9 -9
  275. package/react/PlusDrawer.js +1 -7
  276. package/react/PlusDropDownItem.js +9 -9
  277. package/react/PlusDropdown.js +9 -9
  278. package/react/PlusIcon.js +1 -3
  279. package/react/PlusInput.js +9 -14
  280. package/react/PlusLink.js +1 -3
  281. package/react/PlusListBoxItem.js +9 -9
  282. package/react/PlusModal.js +1 -7
  283. package/react/PlusPopconfirm.js +9 -9
  284. package/react/PlusPopover.js +9 -9
  285. package/react/PlusRadio.js +9 -12
  286. package/react/PlusRadioGroup.js +1 -3
  287. package/react/PlusRating.js +9 -12
  288. package/react/PlusSegmentedPicker.js +9 -9
  289. package/react/PlusSegmentedPickerItem.js +1 -3
  290. package/react/PlusSelect.js +9 -9
  291. package/react/PlusSelectItem.js +9 -9
  292. package/react/PlusService.js +1 -3
  293. package/react/PlusTab.js +1 -3
  294. package/react/PlusTabGroup.js +9 -9
  295. package/react/PlusTabPanel.js +1 -3
  296. package/react/PlusTag.js +1 -3
  297. package/react/PlusText.js +1 -3
  298. package/react/PlusTextarea.js +9 -14
  299. package/react/PlusToast.js +9 -9
  300. package/react/PlusToastContainer.js +1 -3
  301. package/react/PlusToggle.js +9 -14
  302. package/react/PlusTooltip.js +1 -3
  303. package/react/Tailwind.js +1 -3
  304. package/types/custom-element-jsx.d.ts +17 -0
  305. package/types/custom-element-solidjs.d.ts +17 -0
  306. package/types/custom-element-svelte.d.ts +17 -0
  307. package/types/custom-element-vuejs.d.ts +17 -0
  308. package/vscode.html-custom-data.json +35 -1
  309. package/web-types.json +65 -2
  310. package/cdn/floating-ui.dom-CXNHR8n2.js +0 -1
  311. package/cdn/global-CJbRDY6F.js +0 -31
  312. package/cdn/global-DTtsklIM.js +0 -1
  313. package/cdn/lit-element-ByzbtpGk.js +0 -27
  314. package/cdn/lit-element-DNNEDGnu.js +0 -23
  315. package/cdn/property-DLlzgs39.js +0 -7
  316. package/dist/floating-ui.dom-CpuNudqy.js +0 -1
  317. package/dist/lit-element-B3f5s1Hz.js +0 -23
  318. package/dist/lit-element-ByzbtpGk.js +0 -27
  319. package/dist/property-DLmwa-N3.js +0 -7
  320. /package/dist/{base-CWTcY3O3.js → base-2hF1n6hl.js} +0 -0
  321. /package/dist/{directive-CXHWwTfw.js → directive-DRRu7zbS.js} +0 -0
  322. /package/dist/{index-Bw06nX5-.js → index-Up-p3euZ.js} +0 -0
@@ -1,9 +1,9 @@
1
- import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
2
- import { i, x } from '../../lit-element-ByzbtpGk.js';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
+ import { a as i, x, E } from '../../lit-element-BNK__jO-.js';
3
3
  import { booleanConverter } from '../../utils/boolean-converter.js';
4
4
  import Tailwind from '../base/tailwind-base.js';
5
5
  import { baseButtonStyle } from './button.style.js';
6
- import { o } from '../../style-map-DC_vNus2.js';
6
+ import { o } from '../../style-map-Cgr6kXUm.js';
7
7
  import '../../styles/global.js';
8
8
  import '../../style-inject.es-tgCJW-Cu.js';
9
9
  import '../../index-B9iart53.js';
@@ -11,7 +11,7 @@ import '../../directive-DZCF8pFJ.js';
11
11
 
12
12
  /**
13
13
  * @tag plus-button
14
- * @summary Button component that provides a clickable element with various styles and states.
14
+ * @summary Polymorphic button component that can render as either a button or anchor link.
15
15
  *
16
16
  * @slot - The default slot for button content
17
17
  * @slot prefix - Content to be placed before the button content
@@ -28,9 +28,25 @@ import '../../directive-DZCF8pFJ.js';
28
28
  *
29
29
  * @example
30
30
  * ```html
31
+ * <!-- As a button -->
31
32
  * <plus-button kind="filled" status="primary" size="md">
32
33
  * Click me
33
34
  * </plus-button>
35
+ *
36
+ * <!-- As a link -->
37
+ * <plus-button href="/dashboard" kind="filled" status="primary">
38
+ * Go to Dashboard
39
+ * </plus-button>
40
+ *
41
+ * <!-- External link -->
42
+ * <plus-button href="https://github.com" external kind="outlined">
43
+ * GitHub
44
+ * </plus-button>
45
+ *
46
+ * <!-- Submit button in a form -->
47
+ * <plus-button type="submit" kind="filled" status="primary">
48
+ * Submit Form
49
+ * </plus-button>
34
50
  * ```
35
51
  */
36
52
  const textColorMap = {
@@ -84,8 +100,24 @@ class PlusButton extends Tailwind {
84
100
  */
85
101
  this.loading = false;
86
102
  this.fullWidth = false;
103
+ /**
104
+ * When true, link opens in new tab with secure attributes
105
+ * Automatically sets target="_blank" and rel="noopener noreferrer"
106
+ * @default false
107
+ */
108
+ this.external = false;
109
+ /**
110
+ * Specifies the button type for form interactions
111
+ * Only applies when rendering as a button (no href)
112
+ * @default 'button'
113
+ */
114
+ this.type = 'button';
87
115
  }
88
- handleClick() {
116
+ handleClick(e) {
117
+ if (this.disabled || this.loading) {
118
+ e.preventDefault();
119
+ return;
120
+ }
89
121
  this.emit('plus-click');
90
122
  }
91
123
  handleFocus() {
@@ -114,7 +146,7 @@ class PlusButton extends Tailwind {
114
146
  '--i-text-color': `var(--plus-color-text-${textColorMap[_statusColor]})`,
115
147
  '--i-border-color': 'transparent',
116
148
  };
117
- const styles = {
149
+ const stylesMap = {
118
150
  filled: filledStyles,
119
151
  outlined: commonStyles,
120
152
  dashed: commonStyles,
@@ -155,29 +187,58 @@ class PlusButton extends Tailwind {
155
187
  />
156
188
  </svg>
157
189
  </div>`;
190
+ // Link props for anchor element
191
+ const target = this.external ? '_blank' : this.target;
192
+ const rel = this.external ? 'noopener noreferrer' : this.rel;
193
+ const isLink = this.href !== undefined;
194
+ const isDisabled = this.disabled || this.loading;
195
+ const finalStyles = { ...dynamicStyles, ...stylesMap[this.kind] };
196
+ const content = x `
197
+ <slot name="prefix"></slot>
198
+ <slot></slot>
199
+ <slot name="suffix"></slot>
200
+ ${this.loading ? LoadingTemplate : ''}
201
+ `;
202
+ if (isLink) {
203
+ return x `
204
+ <a
205
+ class=${base()}
206
+ part="button"
207
+ href=${this.href}
208
+ target=${target || E}
209
+ rel=${rel || E}
210
+ download=${this.download || E}
211
+ aria-disabled=${isDisabled ? 'true' : E}
212
+ tabindex=${isDisabled ? '-1' : E}
213
+ style=${o(finalStyles)}
214
+ @click=${this.handleClick}
215
+ @focus=${this.handleFocus}
216
+ @blur=${this.handleBlur}
217
+ >
218
+ ${content}
219
+ </a>
220
+ `;
221
+ }
158
222
  return x `
159
223
  <button
160
224
  class=${base()}
161
225
  part="button"
162
- ?disabled=${this.disabled || this.loading}
163
- style=${o({ ...dynamicStyles, ...styles[this.kind] })}
226
+ type=${this.type}
227
+ ?disabled=${isDisabled}
228
+ style=${o(finalStyles)}
164
229
  @click=${this.handleClick}
165
230
  @focus=${this.handleFocus}
166
231
  @blur=${this.handleBlur}
167
- aria-label="Button"
168
- role="button"
169
- tabindex="0"
170
232
  @keydown=${(e) => {
171
233
  if (e.key === 'Enter' || e.key === ' ') {
172
- this.handleClick();
234
+ if (!isDisabled) {
235
+ this.handleClick(e);
236
+ }
173
237
  e.preventDefault();
174
238
  }
175
239
  }}
176
240
  >
177
- <slot name="prefix"></slot>
178
- <slot></slot>
179
- <slot name="suffix"></slot>
180
- ${this.loading ? LoadingTemplate : ''}
241
+ ${content}
181
242
  </button>
182
243
  `;
183
244
  }
@@ -232,5 +293,23 @@ __decorate([
232
293
  attribute: 'full-width',
233
294
  })
234
295
  ], PlusButton.prototype, "fullWidth", void 0);
296
+ __decorate([
297
+ n({ type: String })
298
+ ], PlusButton.prototype, "href", void 0);
299
+ __decorate([
300
+ n({ type: String })
301
+ ], PlusButton.prototype, "target", void 0);
302
+ __decorate([
303
+ n({ type: String })
304
+ ], PlusButton.prototype, "rel", void 0);
305
+ __decorate([
306
+ n({ type: String })
307
+ ], PlusButton.prototype, "download", void 0);
308
+ __decorate([
309
+ n({ type: Boolean, converter: booleanConverter, reflect: true })
310
+ ], PlusButton.prototype, "external", void 0);
311
+ __decorate([
312
+ n({ type: String })
313
+ ], PlusButton.prototype, "type", void 0);
235
314
 
236
315
  export { PlusButton, PlusButton as default };
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/components/button/button.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,QAAQ,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,YAAY,GAAG;IACnB,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;IACf,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AAEX,MAAqB,UAAW,SAAQ,QAAQ;IAAhD;;QAoBE;;;;;;;WAOG;QAEH,SAAI,GAA8C,QAAQ,CAAC;QAE3D;;;;;;;;;WASG;QAEH,WAAM,GACJ,SAAS,CAAC;QAEZ;;;;;;WAMG;QAEH,SAAI,GAAuB,IAAI,CAAC;QAEhC;;;WAGG;QAMH,aAAQ,GAAG,KAAK,CAAC;QAEjB;;;WAGG;QAMH,YAAO,GAAG,KAAK,C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;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCACd;AAQb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4CACT;AAQlB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;4CACvD;AAQjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;wCACoB;AAoJjD,OAAO,EAAE,UAAU,EAAE,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import PlusButton from './button.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
4
  import '../../utils/boolean-converter.js';
5
5
  import '../base/tailwind-base.js';
6
6
  import '../../styles/global.js';
7
7
  import '../../style-inject.es-tgCJW-Cu.js';
8
8
  import './button.style.js';
9
9
  import '../../index-B9iart53.js';
10
- import '../../style-map-DC_vNus2.js';
10
+ import '../../style-map-Cgr6kXUm.js';
11
11
  import '../../directive-DZCF8pFJ.js';
12
12
 
13
13
  customElements.define('plus-button', PlusButton);
@@ -96,7 +96,7 @@ export default class PlusButtonGroup extends Tailwind {
96
96
  private handleSlotChange;
97
97
  updated(changedProperties: Map<string, unknown>): void;
98
98
  connectedCallback(): void;
99
- render(): import("lit-html").TemplateResult<1>;
99
+ render(): import("lit").TemplateResult<1>;
100
100
  }
101
101
  export { PlusButtonGroup };
102
102
  //# sourceMappingURL=button-group.d.ts.map
@@ -1,6 +1,6 @@
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';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
+ import { a as i, x } from '../../lit-element-BNK__jO-.js';
3
+ import { r } from '../../state-BRspp5eU.js';
4
4
  import { booleanConverter } from '../../utils/boolean-converter.js';
5
5
  import { buttonGroupStyle } from './button-group.style.js';
6
6
  import Tailwind from '../base/tailwind-base.js';
@@ -1,7 +1,7 @@
1
1
  import PlusButtonGroup from './button-group.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
4
- import '../../state-D1d5Sfj8.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
+ import '../../state-BRspp5eU.js';
5
5
  import '../../utils/boolean-converter.js';
6
6
  import './button-group.style.js';
7
7
  import '../../index-B9iart53.js';
@@ -68,6 +68,6 @@ export declare class PlusCheckbox extends Tailwind {
68
68
  focus(options?: FocusOptions): void;
69
69
  /** Blurs the checkbox */
70
70
  blur(): void;
71
- render(): import("lit-html").TemplateResult<1>;
71
+ render(): import("lit").TemplateResult<1>;
72
72
  }
73
73
  //# sourceMappingURL=checkbox.d.ts.map
@@ -1,8 +1,8 @@
1
- import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
2
- import { r } from '../../state-D1d5Sfj8.js';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
+ import { r } from '../../state-BRspp5eU.js';
3
3
  import { e } from '../../query-CHb9Ft_d.js';
4
- import { x } from '../../lit-element-ByzbtpGk.js';
5
- import { l } from '../../live-BOAtKRUN.js';
4
+ import { x } from '../../lit-element-BNK__jO-.js';
5
+ import { l } from '../../live-C1eBrEBV.js';
6
6
  import { booleanConverter } from '../../utils/boolean-converter.js';
7
7
  import Tailwind from '../base/tailwind-base.js';
8
8
  import { checkboxStyle } from './checkbox.style.js';
@@ -1,10 +1,10 @@
1
1
  import { PlusCheckbox } from './checkbox.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
4
- import '../../state-D1d5Sfj8.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
+ import '../../state-BRspp5eU.js';
5
5
  import '../../query-CHb9Ft_d.js';
6
6
  import '../../base-Cl6v8-BZ.js';
7
- import '../../live-BOAtKRUN.js';
7
+ import '../../live-C1eBrEBV.js';
8
8
  import '../../directive-DZCF8pFJ.js';
9
9
  import '../../utils/boolean-converter.js';
10
10
  import '../base/tailwind-base.js';
@@ -24,6 +24,6 @@ export declare class PlusCheckboxGroup extends Tailwind {
24
24
  private handleSlotChange;
25
25
  private updateCheckboxes;
26
26
  private handleCheckboxChange;
27
- render(): import("lit-html").TemplateResult<1>;
27
+ render(): import("lit").TemplateResult<1>;
28
28
  }
29
29
  //# sourceMappingURL=checkbox-group.d.ts.map
@@ -1,6 +1,6 @@
1
- import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
2
  import { o } from '../../query-assigned-elements-B8Evmg7O.js';
3
- import { x } from '../../lit-element-ByzbtpGk.js';
3
+ import { x } from '../../lit-element-BNK__jO-.js';
4
4
  import { booleanConverter } from '../../utils/boolean-converter.js';
5
5
  import Tailwind from '../base/tailwind-base.js';
6
6
  import { checkboxGroupStyle } from './checkbox-group.style.js';
@@ -1,6 +1,6 @@
1
1
  import { PlusCheckboxGroup } from './checkbox-group.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
4
  import '../../query-assigned-elements-B8Evmg7O.js';
5
5
  import '../../base-Cl6v8-BZ.js';
6
6
  import '../../utils/boolean-converter.js';
@@ -79,7 +79,7 @@ export default class PlusChip extends Tailwind {
79
79
  * @private
80
80
  */
81
81
  private onDismiss;
82
- render(): import("lit-html").TemplateResult<1>;
82
+ render(): import("lit").TemplateResult<1>;
83
83
  }
84
84
  export { PlusChip };
85
85
  //# sourceMappingURL=chip.d.ts.map
@@ -1,9 +1,9 @@
1
- import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
2
- import { E, x } from '../../lit-element-ByzbtpGk.js';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
+ import { E, x } from '../../lit-element-BNK__jO-.js';
3
3
  import Tailwind from '../base/tailwind-base.js';
4
4
  import { booleanConverter } from '../../utils/boolean-converter.js';
5
5
  import { chipStyle } from './chip.style.js';
6
- import { o } from '../../style-map-DC_vNus2.js';
6
+ import { o } from '../../style-map-Cgr6kXUm.js';
7
7
  import '../../styles/global.js';
8
8
  import '../../style-inject.es-tgCJW-Cu.js';
9
9
  import '../../index-B9iart53.js';
@@ -1,13 +1,13 @@
1
1
  import PlusChip from './chip.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
4
  import '../base/tailwind-base.js';
5
5
  import '../../styles/global.js';
6
6
  import '../../style-inject.es-tgCJW-Cu.js';
7
7
  import '../../utils/boolean-converter.js';
8
8
  import './chip.style.js';
9
9
  import '../../index-B9iart53.js';
10
- import '../../style-map-DC_vNus2.js';
10
+ import '../../style-map-Cgr6kXUm.js';
11
11
  import '../../directive-DZCF8pFJ.js';
12
12
 
13
13
  customElements.define('plus-chip', PlusChip);
@@ -43,7 +43,7 @@ export default class PlusDivider extends Tailwind {
43
43
  hasContent: boolean;
44
44
  static styles: import("lit").CSSResult[];
45
45
  handleSlotChange(event: Event): void;
46
- render(): import("lit-html").TemplateResult<1>;
46
+ render(): import("lit").TemplateResult<1>;
47
47
  }
48
48
  export { PlusDivider };
49
49
  //# sourceMappingURL=divider.d.ts.map
@@ -1,6 +1,6 @@
1
- import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
2
- import { x } from '../../lit-element-ByzbtpGk.js';
3
- import { r } from '../../state-D1d5Sfj8.js';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
+ import { x } from '../../lit-element-BNK__jO-.js';
3
+ import { r } from '../../state-BRspp5eU.js';
4
4
  import { dividerStyle, baseDividerStyle } from './divider.style.js';
5
5
  import Tailwind from '../base/tailwind-base.js';
6
6
  import '../../index-B9iart53.js';
@@ -1,4 +1,4 @@
1
- import { i } from '../../lit-element-ByzbtpGk.js';
1
+ import { a as i } from '../../lit-element-BNK__jO-.js';
2
2
  import { c as ce } from '../../index-B9iart53.js';
3
3
 
4
4
  const baseDividerStyle = ce({
@@ -1,7 +1,7 @@
1
1
  import PlusDivider from './divider.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
4
- import '../../state-D1d5Sfj8.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
+ import '../../state-BRspp5eU.js';
5
5
  import './divider.style.js';
6
6
  import '../../index-B9iart53.js';
7
7
  import '../base/tailwind-base.js';
@@ -73,7 +73,7 @@ export default class PlusDrawer extends Tailwind {
73
73
  private handleBeforeShow;
74
74
  disconnectedCallback(): void;
75
75
  private handleKeydown;
76
- render(): import("lit-html").TemplateResult<1>;
76
+ render(): import("lit").TemplateResult<1>;
77
77
  }
78
78
  export { PlusDrawer };
79
79
  //# sourceMappingURL=drawer.d.ts.map
@@ -1,6 +1,6 @@
1
- import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
2
- import { x } from '../../lit-element-ByzbtpGk.js';
3
- import { r } from '../../state-D1d5Sfj8.js';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
+ import { x } from '../../lit-element-BNK__jO-.js';
3
+ import { r } from '../../state-BRspp5eU.js';
4
4
  import { booleanConverter } from '../../utils/boolean-converter.js';
5
5
  import { drawerStyle } from './drawer.style.js';
6
6
  import Tailwind from '../base/tailwind-base.js';
@@ -1,7 +1,7 @@
1
1
  import PlusDrawer from './drawer.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
4
- import '../../state-D1d5Sfj8.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
+ import '../../state-BRspp5eU.js';
5
5
  import '../../utils/boolean-converter.js';
6
6
  import './drawer.style.js';
7
7
  import '../../index-B9iart53.js';
@@ -141,7 +141,7 @@ export default class PlusDropdown extends Tailwind {
141
141
  * Renders the dropdown component
142
142
  * @returns The rendered template
143
143
  */
144
- render(): import("lit-html").TemplateResult<1>;
144
+ render(): import("lit").TemplateResult<1>;
145
145
  }
146
146
  export { PlusDropdown };
147
147
  //# sourceMappingURL=dropdown.d.ts.map
@@ -1,10 +1,10 @@
1
- import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
2
- import { r } from '../../state-D1d5Sfj8.js';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
+ import { r } from '../../state-BRspp5eU.js';
3
3
  import { o } from '../../query-assigned-elements-B8Evmg7O.js';
4
4
  import { booleanConverter } from '../../utils/boolean-converter.js';
5
5
  import Tailwind from '../base/tailwind-base.js';
6
- import { x } from '../../lit-element-ByzbtpGk.js';
7
- import { c as computePosition, o as offset, s as shift, f as flip, b as autoUpdate } from '../../floating-ui.dom-OBaMlALa.js';
6
+ import { x } from '../../lit-element-BNK__jO-.js';
7
+ import { c as computePosition, o as offset, s as shift, f as flip, b as autoUpdate } from '../../floating-ui.dom-BpzIshEG.js';
8
8
  import { dropdownStyle } from './dropdown.style.js';
9
9
  import '../../base-Cl6v8-BZ.js';
10
10
  import '../../styles/global.js';
@@ -1,14 +1,14 @@
1
1
  import PlusDropdown from './dropdown.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
4
- import '../../state-D1d5Sfj8.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
+ import '../../state-BRspp5eU.js';
5
5
  import '../../query-assigned-elements-B8Evmg7O.js';
6
6
  import '../../base-Cl6v8-BZ.js';
7
7
  import '../../utils/boolean-converter.js';
8
8
  import '../base/tailwind-base.js';
9
9
  import '../../styles/global.js';
10
10
  import '../../style-inject.es-tgCJW-Cu.js';
11
- import '../../floating-ui.dom-OBaMlALa.js';
11
+ import '../../floating-ui.dom-BpzIshEG.js';
12
12
  import './dropdown.style.js';
13
13
  import '../../index-B9iart53.js';
14
14
 
@@ -57,7 +57,7 @@ export default class PlusDropDownItem extends Tailwind {
57
57
  * with proper ARIA attributes for accessibility
58
58
  * @returns The rendered template
59
59
  */
60
- render(): import("lit-html").TemplateResult<1>;
60
+ render(): import("lit").TemplateResult<1>;
61
61
  }
62
62
  export { PlusDropDownItem };
63
63
  //# sourceMappingURL=dropdown-item.d.ts.map
@@ -1,9 +1,9 @@
1
- import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
2
  import { booleanConverter } from '../../utils/boolean-converter.js';
3
3
  import Tailwind from '../base/tailwind-base.js';
4
- import { x } from '../../lit-element-ByzbtpGk.js';
5
- import { o } from '../../if-defined-D-m3dgRf.js';
6
- import { l } from '../../live-BOAtKRUN.js';
4
+ import { x } from '../../lit-element-BNK__jO-.js';
5
+ import { o } from '../../if-defined-DpyZ37D-.js';
6
+ import { l } from '../../live-C1eBrEBV.js';
7
7
  import '../../styles/global.js';
8
8
  import '../../style-inject.es-tgCJW-Cu.js';
9
9
  import '../../directive-DZCF8pFJ.js';
@@ -1,12 +1,12 @@
1
1
  import PlusDropDownItem from './dropdown-item.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
4
  import '../../utils/boolean-converter.js';
5
5
  import '../base/tailwind-base.js';
6
6
  import '../../styles/global.js';
7
7
  import '../../style-inject.es-tgCJW-Cu.js';
8
- import '../../if-defined-D-m3dgRf.js';
9
- import '../../live-BOAtKRUN.js';
8
+ import '../../if-defined-DpyZ37D-.js';
9
+ import '../../live-C1eBrEBV.js';
10
10
  import '../../directive-DZCF8pFJ.js';
11
11
 
12
12
  customElements.define('plus-dropdown-item', PlusDropDownItem);
@@ -54,7 +54,7 @@ export default class PlusIcon extends LitElement {
54
54
  private hasError;
55
55
  protected updated(changedProperties: Map<string, unknown>): void;
56
56
  private loadIcon;
57
- render(): import("lit-html").TemplateResult<1> | typeof nothing;
57
+ render(): import("lit").TemplateResult<1> | typeof nothing;
58
58
  }
59
59
  export { PlusIcon };
60
60
  //# sourceMappingURL=icon.d.ts.map
@@ -1,6 +1,6 @@
1
- import { _ as __decorate, n } from '../../property-DiPQx9S3.js';
2
- import { E, T, i as i$1, r as r$1, x } from '../../lit-element-ByzbtpGk.js';
3
- import { r } from '../../state-D1d5Sfj8.js';
1
+ import { _ as __decorate, n } from '../../property-Dz31PgR6.js';
2
+ import { E, T, a as i$1, i as i$2, x } from '../../lit-element-BNK__jO-.js';
3
+ import { r } from '../../state-BRspp5eU.js';
4
4
  import { i, t, e as e$1 } from '../../directive-DZCF8pFJ.js';
5
5
  import { getIcon } from './icon-registry.js';
6
6
  import './solid-icons.js';
@@ -42,7 +42,7 @@ import './light-icons.js';
42
42
  * <plus-icon icon-name="home" style="--icon-size: 32px;"></plus-icon>
43
43
  * ```
44
44
  */
45
- class PlusIcon extends r$1 {
45
+ class PlusIcon extends i$2 {
46
46
  constructor() {
47
47
  super(...arguments);
48
48
  /**
@@ -1,8 +1,8 @@
1
1
  import PlusIcon from './icon.js';
2
2
  export { getAvailableIcons, getCachedIcon, getIcon, hasIcon, registerIcon } from './icon-registry.js';
3
- import '../../property-DiPQx9S3.js';
4
- import '../../lit-element-ByzbtpGk.js';
5
- import '../../state-D1d5Sfj8.js';
3
+ import '../../property-Dz31PgR6.js';
4
+ import '../../lit-element-BNK__jO-.js';
5
+ import '../../state-BRspp5eU.js';
6
6
  import '../../directive-DZCF8pFJ.js';
7
7
  import './solid-icons.js';
8
8
  import './regular-icons.js';
@@ -75,17 +75,17 @@ export { PlusToggle } from './toggle/toggle.js';
75
75
  export { default as PlusTab } from './tab/tab.js';
76
76
  export { default as PlusTabPanel } from './tab-panel/tab-panel.js';
77
77
  export { default as PlusTabGroup } from './tab-group/tab-group.js';
78
- import '../lit-element-ByzbtpGk.js';
78
+ import '../lit-element-BNK__jO-.js';
79
79
  import '../styles/global.js';
80
80
  import '../style-inject.es-tgCJW-Cu.js';
81
81
  import './avatar/avatar.js';
82
- import '../property-DiPQx9S3.js';
83
- import '../state-D1d5Sfj8.js';
82
+ import '../property-Dz31PgR6.js';
83
+ import '../state-BRspp5eU.js';
84
84
  import '../utils/boolean-converter.js';
85
85
  import '../model/plus.js';
86
86
  import './avatar/avatar.style.js';
87
87
  import '../index-B9iart53.js';
88
- import '../style-map-DC_vNus2.js';
88
+ import '../style-map-Cgr6kXUm.js';
89
89
  import '../directive-DZCF8pFJ.js';
90
90
  import './chip/chip.js';
91
91
  import './chip/chip.style.js';
@@ -114,12 +114,12 @@ import './modal/modal.style.js';
114
114
  import './drawer/drawer.style.js';
115
115
  import './accordion/accordion.style.js';
116
116
  import './divider/divider.style.js';
117
- import '../floating-ui.dom-OBaMlALa.js';
117
+ import '../floating-ui.dom-BpzIshEG.js';
118
118
  import './popover/popover.style.js';
119
119
  import './list-box-item/list-box-item.style.js';
120
120
  import './dropdown/dropdown.style.js';
121
- import '../if-defined-D-m3dgRf.js';
122
- import '../live-BOAtKRUN.js';
121
+ import '../if-defined-DpyZ37D-.js';
122
+ import '../live-C1eBrEBV.js';
123
123
  import './tooltip/tooltip.style.js';
124
124
  import './input/input.style.js';
125
125
  import './label/label.style.js';
@@ -1,15 +1,15 @@
1
1
  import PlusInput from './input.js';
2
- import '../../property-DiPQx9S3.js';
3
- import '../../lit-element-ByzbtpGk.js';
4
- import '../../state-D1d5Sfj8.js';
2
+ import '../../property-Dz31PgR6.js';
3
+ import '../../lit-element-BNK__jO-.js';
4
+ import '../../state-BRspp5eU.js';
5
5
  import '../../query-CHb9Ft_d.js';
6
6
  import '../../base-Cl6v8-BZ.js';
7
7
  import '../../utils/boolean-converter.js';
8
8
  import '../base/tailwind-base.js';
9
9
  import '../../styles/global.js';
10
10
  import '../../style-inject.es-tgCJW-Cu.js';
11
- import '../../if-defined-D-m3dgRf.js';
12
- import '../../live-BOAtKRUN.js';
11
+ import '../../if-defined-DpyZ37D-.js';
12
+ import '../../live-C1eBrEBV.js';
13
13
  import '../../directive-DZCF8pFJ.js';
14
14
  import './input.style.js';
15
15
  import '../../index-B9iart53.js';