@solid-design-system/components 7.0.0-next.2 → 7.0.0-next.3

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 (289) hide show
  1. package/cdn/chunks/chunk.2MPVWXFB.js +2 -0
  2. package/cdn/chunks/{chunk.P6Y5AQHG.js → chunk.D7PE6JKX.js} +2 -2
  3. package/cdn/components/input/input.d.ts +1 -1
  4. package/cdn/components/input/input.js +1 -1
  5. package/cdn/components/textarea/textarea.d.ts +1 -1
  6. package/cdn/components/textarea/textarea.js +1 -1
  7. package/cdn/custom-elements.json +31 -29
  8. package/cdn/solid-components.bundle.js +4 -4
  9. package/cdn/solid-components.iife.js +4 -4
  10. package/cdn/solid-components.js +1 -1
  11. package/cdn/vscode.html-custom-data.json +3 -14
  12. package/cdn/web-types.json +37 -29
  13. package/cdn-versioned/chunks/chunk.2MPVWXFB.js +2 -0
  14. package/cdn-versioned/chunks/chunk.2XJ2J3VL.js +1 -1
  15. package/cdn-versioned/chunks/chunk.36YZDWQH.js +2 -2
  16. package/cdn-versioned/chunks/chunk.3H5XUPF5.js +5 -5
  17. package/cdn-versioned/chunks/chunk.47KQZYJR.js +2 -2
  18. package/cdn-versioned/chunks/chunk.4MY3PWSN.js +1 -1
  19. package/cdn-versioned/chunks/chunk.4QZMOBX3.js +2 -2
  20. package/cdn-versioned/chunks/chunk.5F5NZQB2.js +2 -2
  21. package/cdn-versioned/chunks/chunk.5ITG6KGD.js +2 -2
  22. package/cdn-versioned/chunks/chunk.64SUNU54.js +2 -2
  23. package/cdn-versioned/chunks/chunk.6GDQK5O5.js +2 -2
  24. package/cdn-versioned/chunks/chunk.6WQRLB7U.js +2 -2
  25. package/cdn-versioned/chunks/chunk.7LHRDGWP.js +2 -2
  26. package/cdn-versioned/chunks/chunk.7XY6DMAY.js +2 -2
  27. package/cdn-versioned/chunks/chunk.C45254AN.js +2 -2
  28. package/cdn-versioned/chunks/chunk.CWSVXPYD.js +1 -1
  29. package/cdn-versioned/chunks/{chunk.P6Y5AQHG.js → chunk.D7PE6JKX.js} +2 -2
  30. package/cdn-versioned/chunks/chunk.DIDMWRN3.js +2 -2
  31. package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
  32. package/cdn-versioned/chunks/chunk.GHSIC6MA.js +2 -2
  33. package/cdn-versioned/chunks/chunk.HBXGLINC.js +2 -2
  34. package/cdn-versioned/chunks/chunk.IWKYZ6J2.js +2 -2
  35. package/cdn-versioned/chunks/chunk.IZCKJLZR.js +2 -2
  36. package/cdn-versioned/chunks/chunk.J5C22TF2.js +3 -3
  37. package/cdn-versioned/chunks/chunk.JI2XVLZH.js +2 -2
  38. package/cdn-versioned/chunks/chunk.JURMXI5Y.js +5 -5
  39. package/cdn-versioned/chunks/chunk.K6TOCFIN.js +2 -2
  40. package/cdn-versioned/chunks/chunk.KOMME47J.js +2 -2
  41. package/cdn-versioned/chunks/chunk.KR27MICN.js +2 -2
  42. package/cdn-versioned/chunks/chunk.KZ5SFF6G.js +2 -2
  43. package/cdn-versioned/chunks/chunk.LICVZSAH.js +3 -3
  44. package/cdn-versioned/chunks/chunk.LVATN3YW.js +2 -2
  45. package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
  46. package/cdn-versioned/chunks/chunk.MHW6ZP4T.js +2 -2
  47. package/cdn-versioned/chunks/chunk.NATZPKHW.js +2 -2
  48. package/cdn-versioned/chunks/chunk.NFDBY4LL.js +2 -2
  49. package/cdn-versioned/chunks/chunk.NICDKFPS.js +2 -2
  50. package/cdn-versioned/chunks/chunk.NJ5CEN2R.js +2 -2
  51. package/cdn-versioned/chunks/chunk.PJ4AHTMH.js +2 -2
  52. package/cdn-versioned/chunks/chunk.PNRCMW5N.js +1 -1
  53. package/cdn-versioned/chunks/chunk.QTPFQGR7.js +2 -2
  54. package/cdn-versioned/chunks/chunk.QW2U4ORE.js +2 -2
  55. package/cdn-versioned/chunks/chunk.RLTO5J3E.js +2 -2
  56. package/cdn-versioned/chunks/chunk.ROU5X4FC.js +9 -9
  57. package/cdn-versioned/chunks/chunk.SKS4G5SG.js +2 -2
  58. package/cdn-versioned/chunks/chunk.SWPN5WUJ.js +2 -2
  59. package/cdn-versioned/chunks/chunk.U5LYN6TY.js +2 -2
  60. package/cdn-versioned/chunks/chunk.UBUSZ4VB.js +2 -2
  61. package/cdn-versioned/chunks/chunk.UN7DL2MN.js +1 -1
  62. package/cdn-versioned/chunks/chunk.UTBC4DI6.js +1 -1
  63. package/cdn-versioned/chunks/chunk.UY5TXYXC.js +2 -2
  64. package/cdn-versioned/chunks/chunk.V3PA35KW.js +2 -2
  65. package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
  66. package/cdn-versioned/chunks/chunk.WZSNE2FO.js +2 -2
  67. package/cdn-versioned/chunks/chunk.X2QW55HD.js +1 -1
  68. package/cdn-versioned/chunks/chunk.XIIQ37KS.js +2 -2
  69. package/cdn-versioned/chunks/chunk.XNB5UHRT.js +1 -1
  70. package/cdn-versioned/chunks/chunk.XPALAZ3K.js +3 -3
  71. package/cdn-versioned/chunks/chunk.XY6LAPFB.js +1 -1
  72. package/cdn-versioned/chunks/chunk.YAUFTHOR.js +1 -1
  73. package/cdn-versioned/chunks/chunk.YG4OTB7M.js +2 -2
  74. package/cdn-versioned/chunks/chunk.YL7463TI.js +2 -2
  75. package/cdn-versioned/chunks/chunk.ZAB7A5W7.js +2 -2
  76. package/cdn-versioned/chunks/chunk.ZXMU6GLZ.js +2 -2
  77. package/cdn-versioned/chunks/chunk.ZXQQJBCT.js +2 -2
  78. package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
  79. package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  80. package/cdn-versioned/components/animation/animation.d.ts +1 -1
  81. package/cdn-versioned/components/audio/audio.d.ts +1 -1
  82. package/cdn-versioned/components/badge/badge.d.ts +1 -1
  83. package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
  84. package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  85. package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  86. package/cdn-versioned/components/button/button.d.ts +1 -1
  87. package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
  88. package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
  89. package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  90. package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
  91. package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  92. package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
  93. package/cdn-versioned/components/datepicker/datepicker.d.ts +1 -1
  94. package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
  95. package/cdn-versioned/components/divider/divider.d.ts +1 -1
  96. package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
  97. package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
  98. package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
  99. package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
  100. package/cdn-versioned/components/header/header.d.ts +1 -1
  101. package/cdn-versioned/components/icon/icon.d.ts +1 -1
  102. package/cdn-versioned/components/include/include.d.ts +1 -1
  103. package/cdn-versioned/components/input/input.d.ts +2 -2
  104. package/cdn-versioned/components/input/input.js +1 -1
  105. package/cdn-versioned/components/link/link.d.ts +1 -1
  106. package/cdn-versioned/components/loader/loader.d.ts +1 -1
  107. package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
  108. package/cdn-versioned/components/menu/menu.d.ts +1 -1
  109. package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
  110. package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  111. package/cdn-versioned/components/notification/notification.d.ts +1 -1
  112. package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
  113. package/cdn-versioned/components/option/option.d.ts +1 -1
  114. package/cdn-versioned/components/popup/popup.d.ts +1 -1
  115. package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  116. package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
  117. package/cdn-versioned/components/radio/radio.d.ts +1 -1
  118. package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
  119. package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
  120. package/cdn-versioned/components/range/range.d.ts +1 -1
  121. package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
  122. package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
  123. package/cdn-versioned/components/select/select.d.ts +1 -1
  124. package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
  125. package/cdn-versioned/components/spinner/spinner.d.ts +1 -1
  126. package/cdn-versioned/components/step/step.d.ts +1 -1
  127. package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
  128. package/cdn-versioned/components/switch/switch.d.ts +1 -1
  129. package/cdn-versioned/components/tab/tab.d.ts +1 -1
  130. package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
  131. package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  132. package/cdn-versioned/components/tag/tag.d.ts +1 -1
  133. package/cdn-versioned/components/textarea/textarea.d.ts +2 -2
  134. package/cdn-versioned/components/textarea/textarea.js +1 -1
  135. package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  136. package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
  137. package/cdn-versioned/components/video/video.d.ts +1 -1
  138. package/cdn-versioned/custom-elements.json +290 -288
  139. package/cdn-versioned/internal/form.js +2 -2
  140. package/cdn-versioned/solid-components.bundle.js +81 -81
  141. package/cdn-versioned/solid-components.css +2 -2
  142. package/cdn-versioned/solid-components.iife.js +81 -81
  143. package/cdn-versioned/solid-components.js +1 -1
  144. package/cdn-versioned/vscode.html-custom-data.json +117 -128
  145. package/cdn-versioned/web-types.json +206 -198
  146. package/dist/chunks/{chunk.QIIQFT2B.js → chunk.332BBYHT.js} +10 -2
  147. package/dist/chunks/{chunk.4MPXU2RU.js → chunk.MZXDJ23T.js} +12 -2
  148. package/dist/components/input/input.d.ts +1 -1
  149. package/dist/components/input/input.js +1 -1
  150. package/dist/components/textarea/textarea.d.ts +1 -1
  151. package/dist/components/textarea/textarea.js +1 -1
  152. package/dist/custom-elements.json +31 -29
  153. package/dist/solid-components.js +2 -2
  154. package/dist/vscode.html-custom-data.json +3 -14
  155. package/dist/web-types.json +37 -29
  156. package/dist-versioned/chunks/{chunk.QIIQFT2B.js → chunk.332BBYHT.js} +12 -4
  157. package/dist-versioned/chunks/chunk.4ICMHKGL.js +7 -7
  158. package/dist-versioned/chunks/chunk.4KQSESLL.js +10 -10
  159. package/dist-versioned/chunks/chunk.4UWPPYNK.js +2 -2
  160. package/dist-versioned/chunks/chunk.64V7RPJM.js +4 -4
  161. package/dist-versioned/chunks/chunk.BGHQYSC6.js +2 -2
  162. package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
  163. package/dist-versioned/chunks/chunk.CBXPY7RV.js +5 -5
  164. package/dist-versioned/chunks/chunk.CEEZZN7A.js +2 -2
  165. package/dist-versioned/chunks/chunk.CFE22DL2.js +8 -8
  166. package/dist-versioned/chunks/chunk.DJIFAD75.js +13 -13
  167. package/dist-versioned/chunks/chunk.DZ6FRKXI.js +12 -12
  168. package/dist-versioned/chunks/chunk.EAM3NSOC.js +4 -4
  169. package/dist-versioned/chunks/chunk.EBLUHAPV.js +5 -5
  170. package/dist-versioned/chunks/chunk.EI5PCGH6.js +5 -5
  171. package/dist-versioned/chunks/chunk.ENPE3AO3.js +14 -14
  172. package/dist-versioned/chunks/chunk.FAQBBAJ3.js +25 -25
  173. package/dist-versioned/chunks/chunk.FRTXHCPD.js +6 -6
  174. package/dist-versioned/chunks/chunk.GWLYBCED.js +7 -7
  175. package/dist-versioned/chunks/chunk.H4N3X443.js +6 -6
  176. package/dist-versioned/chunks/chunk.H6K6J6HB.js +10 -10
  177. package/dist-versioned/chunks/chunk.HQZ5Y72U.js +5 -5
  178. package/dist-versioned/chunks/chunk.HVKZA5Q2.js +1 -1
  179. package/dist-versioned/chunks/chunk.HX75WC4T.js +10 -10
  180. package/dist-versioned/chunks/chunk.HXXLOMBL.js +2 -2
  181. package/dist-versioned/chunks/chunk.I5TVWNGY.js +3 -3
  182. package/dist-versioned/chunks/chunk.ICBYOTXZ.js +4 -4
  183. package/dist-versioned/chunks/chunk.IJQGWINY.js +2 -2
  184. package/dist-versioned/chunks/chunk.IU2IAYUW.js +5 -5
  185. package/dist-versioned/chunks/chunk.JO4VO3DE.js +23 -23
  186. package/dist-versioned/chunks/chunk.K5UVAUSH.js +1 -1
  187. package/dist-versioned/chunks/chunk.KDPFXMT7.js +2 -2
  188. package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
  189. package/dist-versioned/chunks/chunk.L3TT74JB.js +3 -3
  190. package/dist-versioned/chunks/chunk.LM6MZUBT.js +7 -7
  191. package/dist-versioned/chunks/chunk.LNZEJCES.js +3 -3
  192. package/dist-versioned/chunks/chunk.MLBOR3OA.js +2 -2
  193. package/dist-versioned/chunks/{chunk.4MPXU2RU.js → chunk.MZXDJ23T.js} +17 -7
  194. package/dist-versioned/chunks/chunk.NAAQDM44.js +1 -1
  195. package/dist-versioned/chunks/chunk.NDQTMQGH.js +5 -5
  196. package/dist-versioned/chunks/chunk.NEWIPIU5.js +3 -3
  197. package/dist-versioned/chunks/chunk.NHPAPNCA.js +11 -11
  198. package/dist-versioned/chunks/chunk.O6I23JYG.js +1 -1
  199. package/dist-versioned/chunks/chunk.PJELKFNY.js +1 -1
  200. package/dist-versioned/chunks/chunk.POPOYCUO.js +10 -10
  201. package/dist-versioned/chunks/chunk.QGERTGJH.js +4 -4
  202. package/dist-versioned/chunks/chunk.QUNBU6CO.js +5 -5
  203. package/dist-versioned/chunks/chunk.RH3RR3MN.js +6 -6
  204. package/dist-versioned/chunks/chunk.ROTKRIJL.js +4 -4
  205. package/dist-versioned/chunks/chunk.TACTLKX6.js +6 -6
  206. package/dist-versioned/chunks/chunk.TF2CAVQI.js +33 -33
  207. package/dist-versioned/chunks/chunk.TXBRN4WB.js +5 -5
  208. package/dist-versioned/chunks/chunk.U4QAR37W.js +1 -1
  209. package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
  210. package/dist-versioned/chunks/chunk.WCTYTU3K.js +3 -3
  211. package/dist-versioned/chunks/chunk.WD6OT624.js +6 -6
  212. package/dist-versioned/chunks/chunk.WJFZKOMO.js +2 -2
  213. package/dist-versioned/chunks/chunk.X6ZZWTS7.js +2 -2
  214. package/dist-versioned/chunks/chunk.XUYPFGE4.js +11 -11
  215. package/dist-versioned/chunks/chunk.XZHZDSPQ.js +1 -1
  216. package/dist-versioned/chunks/chunk.Y32GRFGF.js +2 -2
  217. package/dist-versioned/chunks/chunk.YC54RFTI.js +11 -11
  218. package/dist-versioned/chunks/chunk.YEAB2PEA.js +1 -1
  219. package/dist-versioned/chunks/chunk.ZI4J2JI6.js +2 -2
  220. package/dist-versioned/chunks/chunk.ZINALM6Z.js +12 -12
  221. package/dist-versioned/components/accordion/accordion.d.ts +1 -1
  222. package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
  223. package/dist-versioned/components/animation/animation.d.ts +1 -1
  224. package/dist-versioned/components/audio/audio.d.ts +1 -1
  225. package/dist-versioned/components/badge/badge.d.ts +1 -1
  226. package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
  227. package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
  228. package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  229. package/dist-versioned/components/button/button.d.ts +1 -1
  230. package/dist-versioned/components/button-group/button-group.d.ts +1 -1
  231. package/dist-versioned/components/carousel/carousel.d.ts +1 -1
  232. package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
  233. package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
  234. package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
  235. package/dist-versioned/components/combobox/combobox.d.ts +1 -1
  236. package/dist-versioned/components/datepicker/datepicker.d.ts +1 -1
  237. package/dist-versioned/components/dialog/dialog.d.ts +1 -1
  238. package/dist-versioned/components/divider/divider.d.ts +1 -1
  239. package/dist-versioned/components/drawer/drawer.d.ts +1 -1
  240. package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
  241. package/dist-versioned/components/expandable/expandable.d.ts +1 -1
  242. package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
  243. package/dist-versioned/components/header/header.d.ts +1 -1
  244. package/dist-versioned/components/icon/icon.d.ts +1 -1
  245. package/dist-versioned/components/include/include.d.ts +1 -1
  246. package/dist-versioned/components/input/input.d.ts +2 -2
  247. package/dist-versioned/components/input/input.js +1 -1
  248. package/dist-versioned/components/link/link.d.ts +1 -1
  249. package/dist-versioned/components/loader/loader.d.ts +1 -1
  250. package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
  251. package/dist-versioned/components/menu/menu.d.ts +1 -1
  252. package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
  253. package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
  254. package/dist-versioned/components/notification/notification.d.ts +1 -1
  255. package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
  256. package/dist-versioned/components/option/option.d.ts +1 -1
  257. package/dist-versioned/components/popup/popup.d.ts +1 -1
  258. package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
  259. package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
  260. package/dist-versioned/components/radio/radio.d.ts +1 -1
  261. package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
  262. package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
  263. package/dist-versioned/components/range/range.d.ts +1 -1
  264. package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
  265. package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
  266. package/dist-versioned/components/select/select.d.ts +1 -1
  267. package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
  268. package/dist-versioned/components/spinner/spinner.d.ts +1 -1
  269. package/dist-versioned/components/step/step.d.ts +1 -1
  270. package/dist-versioned/components/step-group/step-group.d.ts +1 -1
  271. package/dist-versioned/components/switch/switch.d.ts +1 -1
  272. package/dist-versioned/components/tab/tab.d.ts +1 -1
  273. package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
  274. package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
  275. package/dist-versioned/components/tag/tag.d.ts +1 -1
  276. package/dist-versioned/components/textarea/textarea.d.ts +2 -2
  277. package/dist-versioned/components/textarea/textarea.js +1 -1
  278. package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
  279. package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
  280. package/dist-versioned/components/video/video.d.ts +1 -1
  281. package/dist-versioned/custom-elements.json +290 -288
  282. package/dist-versioned/internal/form.js +2 -2
  283. package/dist-versioned/solid-components.css +2 -2
  284. package/dist-versioned/solid-components.js +2 -2
  285. package/dist-versioned/vscode.html-custom-data.json +117 -128
  286. package/dist-versioned/web-types.json +206 -198
  287. package/package.json +2 -2
  288. package/cdn/chunks/chunk.HEGJI2MO.js +0 -2
  289. package/cdn-versioned/chunks/chunk.HEGJI2MO.js +0 -2
@@ -0,0 +1,2 @@
1
+ import{a as w}from"./chunk.SAEYIL5V.js";import{a as $}from"./chunk.ERP45OHF.js";import{b as x}from"./chunk.LZRL7OLU.js";import{a as r}from"./chunk.LHSR56PH.js";import{a as C}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.4ZZFYCXX.js";import{a as d}from"./chunk.NYKJXI3Q.js";import{a as g,b as i,c,d as b,h as m}from"./chunk.YAUFTHOR.js";import{b as y,e as o}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends m{constructor(){super(...arguments);this.formControlController=new x(this);this.hasSlotController=new C(this,"help-text","label");this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.title="";this.name="";this.value="";this.size="lg";this.label="";this.helpText="";this.placeholder="";this.rows=4;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.form="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0;this.defaultValue=""}get validity(){return this.textarea.validity}get validationMessage(){return this.textarea.validationMessage}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.setTextareaHeight()})}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.textarea.value,this.setTextareaHeight(),this.emit("sd-change")}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.textarea.value=this.value;return}this.value=this.textarea.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(l){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(l),this.invalidMessage.textContent=l.target.validationMessage}setTextareaHeight(){this.textarea.style.height=void 0}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleRowsChange(){this.setTextareaHeight()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.setTextareaHeight()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(l){this.textarea.focus(l)}blur(){this.textarea.blur()}select(){this.textarea.select()}scrollPosition(l){if(l){typeof l.top=="number"&&(this.textarea.scrollTop=l.top),typeof l.left=="number"&&(this.textarea.scrollLeft=l.left);return}return{top:this.textarea.scrollTop,left:this.textarea.scrollTop}}setSelectionRange(l,a,n="none"){this.textarea.setSelectionRange(l,a,n)}setRangeText(l,a,n,p){this.textarea.setRangeText(l,a,n,p),this.value!==this.textarea.value&&(this.value=this.textarea.value),this.value!==this.textarea.value&&(this.value=this.textarea.value,this.setTextareaHeight())}checkValidity(){var l;return(l=this.textarea)==null?void 0:l.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.textarea.reportValidity()}setCustomValidity(l){this.textarea.setCustomValidity(l),this.formControlController.updateValidity()}render(){let l={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},a=this.label?!0:!!l.label,n=this.helpText?!0:!!l.helpText,p=!!l.tooltip,V=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&a&&(this.hasFocus&&!this.visuallyDisabled||V),u=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",f=this.size==="sm"?"text-sm":"text-base",v={sm:"text-base top-1",md:"text-lg top-2",lg:"text-xl top-2"}[this.size];return o`<div part="form-control" class="flex flex-col h-full text-left">${a&&!this.floatingLabel||p?o`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${s(a?"inline-block":"hidden",f,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${a?"false":"true"}"><slot name="label">${this.label}</slot></label> ${l.tooltip?o`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${s("relative h-full w-full",this.disabled&&"cursor-not-allowed")}">${a&&this.floatingLabel?o`<label id="label" part="form-control-floating-label" class="${s("absolute left-4 z-20 transition-all duration-200 cursor-text",f,h?"top-2 text-xs":"top-2.5 form-control-color-text")}" for="input"><span class="${s("leading-none",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null}<div part="border" class="${s("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[u])}"></div><div part="base" class="${s("textarea h-full flex items-top form-control-border-radius group transition-colors duration-medium hover:duration-fast ease-in-out",this.floatingLabel&&"pt-6",{sm:"textarea-sm",md:"textarea-md",lg:"textarea-lg"}[this.size],!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",u==="disabled"||u==="visuallyDisabled"?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(u)&&"form-control--invalid-color-background")}"><textarea part="textarea" id="input" class="${s("ps-4 flex-grow focus:outline-none bg-transparent placeholder:text-neutral-700 resize-none group-has-[sd-icon]:pe-8",{sm:h?"pb-1":"py-2",md:h?"pb-1":"py-2",lg:h?"pb-2":"py-2"}[this.size],this.disabled&&"cursor-not-allowed",f)}" title="${this.title}" name="${r(this.name)}" .value="${w(this.value)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" ?visually-disabled="${this.visuallyDisabled}" placeholder="${!this.floatingLabel||h?r(this.placeholder):""}" minlength="${r(this.minlength)}" maxlength="${r(this.maxlength)}" rows="${r(this.rows)}" autocapitalize="${r(this.autocapitalize)}" autocorrect="${r(this.autocorrect===void 0?void 0:this.autocorrect?"on":"off")}" ?autofocus="${this.autofocus}" spellcheck="${r(this.spellcheck)}" enterkeyhint="${r(this.enterkeyhint)}" inputmode="${r(this.inputmode)}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" aria-disabled="${this.disabled||this.visuallyDisabled}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"></textarea> ${this.showInvalidStyle?o`<sd-icon class="${s("text-error absolute right-4 pointer-events-none",v)}" library="_internal" name="risk" part="invalid-icon"></sd-icon>`:""} ${this.styleOnValid&&this.showValidStyle?o`<sd-icon class="${s("text-success absolute right-4 pointer-events-none",v)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${s("text-sm mt-1",n&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!n||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...m.styles,y`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{display:block;height:100%}:host textarea{scrollbar-gutter:stable}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:rgba(var(--sd-color-text-neutral-500))}:host([required]) #label::after{content:' *'}:host([visually-disabled]) textarea{caret-color:transparent}.no-scrollbar::-webkit-scrollbar{display:none}`],e([b("#input")],t.prototype,"textarea",2),e([b("#invalid-message")],t.prototype,"invalidMessage",2),e([c()],t.prototype,"hasFocus",2),e([c()],t.prototype,"showValidStyle",2),e([c()],t.prototype,"showInvalidStyle",2),e([i({type:String,reflect:!0})],t.prototype,"title",2),e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"label",2),e([i({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([i({type:String,reflect:!0})],t.prototype,"placeholder",2),e([i({type:Number,reflect:!0})],t.prototype,"rows",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"readonly",2),e([i({type:String,reflect:!0})],t.prototype,"form",2),e([i({type:Boolean,reflect:!0})],t.prototype,"required",2),e([i({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),e([i({type:Number,reflect:!0})],t.prototype,"minlength",2),e([i({type:Number,reflect:!0})],t.prototype,"maxlength",2),e([i({type:String,reflect:!0})],t.prototype,"autocapitalize",2),e([i({type:Boolean,reflect:!0,converter:{fromAttribute:l=>l!=="off",toAttribute:l=>l?"on":"off"}})],t.prototype,"autocorrect",2),e([i({reflect:!0})],t.prototype,"autocomplete",2),e([i({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),e([i({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),e([i({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),e([i({type:Boolean,converter:{fromAttribute:l=>!(!l||l==="false"),toAttribute:l=>l?"true":"false"}})],t.prototype,"spellcheck",2),e([i({type:String,reflect:!0})],t.prototype,"inputmode",2),e([$()],t.prototype,"defaultValue",2),e([d("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),e([d("rows",{waitUntilFirstUpdate:!0})],t.prototype,"handleRowsChange",1),e([d("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),e([d(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=e([g("sd-textarea")],t);export{t as a};
@@ -1,2 +1,2 @@
1
- import{a as N}from"./chunk.ICEC5PGK.js";import{a as B}from"./chunk.SAEYIL5V.js";import{a as A}from"./chunk.ERP45OHF.js";import{b as z}from"./chunk.LZRL7OLU.js";import{a as n}from"./chunk.LHSR56PH.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as P,b as V}from"./chunk.QQD62QOV.js";import{a as T}from"./chunk.VAM5SM3O.js";import{a}from"./chunk.4ZZFYCXX.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as E,b as l,c as m,d as w,h as x}from"./chunk.YAUFTHOR.js";import{b as D,e as r,h as F,i as L}from"./chunk.OBAEIKIV.js";import{a as k,e as i}from"./chunk.6EV4YU6C.js";var $=class extends N{constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==P.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return L}update(e,[s]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=k({},s),this.host.addEventListener("pointerdown",this.handlePointerDown)),F}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var s;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(s=this.observer)==null||s.disconnect(),this.observer=new MutationObserver(u=>{u.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},C=V($);var _,R=(_=navigator.userAgentData)==null?void 0:_.brands.some(f=>f.brand.includes("Chromium")),J=R?!1:navigator.userAgent.includes("Firefox"),t=class extends x{constructor(){super(...arguments);this.formControlController=new z(this);this.hasSlotController=new M(this,"help-text","label","left","right","message","placeholder");this.localize=new T(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsDate)!=null?s:null}set valueAsDate(e){let s=document.createElement("input");s.type="date",s.valueAsDate=e,this.value=s.value}get valueAsNumber(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsNumber)!=null?s:parseFloat(this.value)}set valueAsNumber(e){let s=document.createElement("input");s.type="number",s.valueAsNumber=e,this.value=s.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let s=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!s&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,s,u="none"){this.input.setSelectionRange(e,s,u)}setRangeText(e,s,u,p){this.input.setRangeText(e,s,u,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},s=this.label?!0:!!e.label,u=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),O=!!e.tooltip,S=e.left,v=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&s&&(this.hasFocus||v||this.isClickableIconFocused),y=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",g=this.size==="sm"?"text-sm":"text-base",U={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[y],c=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",d={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],o={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],K=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return r`<div part="form-control" class="${a((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(s||O)&&!this.floatingLabel?r`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(s?"inline-block":"hidden",g,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${s?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?r`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${a("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] ease-in-out duration-medium hover:duration-fast",U)}"></div><div part="base" class="${a("px-4 flex flex-row items-center form-control-border-radius transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",["disabled","visuallyDisabled"].includes(y)?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(y)&&"form-control--invalid-color-background",K)}">${e.left?r`<slot name="left" part="left" class="${a("inline-flex",this.size==="sm"?"mr-1":"mr-2",c,o)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",g,h&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${n(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||h?n(this.placeholder):""}" minlength="${n(this.minlength)}" maxlength="${n(this.maxlength)}" min="${n(this.min)}" max="${n(this.max)}" step="${n(this.step)}" .value="${B(this.value)}" autocapitalize="${n(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${n(this.autocomplete)}" autocorrect="${n(this.type==="password"?"off":this.autocorrect)}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${n(this.pattern)}" enterkeyhint="${n(this.enterkeyhint)}" inputmode="${n(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${s&&this.floatingLabel?r`<label part="form-control-floating-label" class="${a("pointer-events-none absolute",S?q:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2 form-control-color-text":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${s?"false":"true"}"><span id="floating-label" class="${a("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?g:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${p?r`<button part="clear-button" class="${a("flex justify-center",d)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",o)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?r`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${a("flex items-center sd-interactive",d,this.floatingLabel&&!h&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?r`<slot name="show-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye"></sd-icon></slot>`:r`<slot name="hide-password-icon"><sd-icon class="${a(c,o)}" library="_internal" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?r`<sd-icon class="${a(c,d,o)}" library="_internal" name="calendar"></sd-icon>`:""} ${this.type==="time"?r`<sd-icon class="${a(c,d,o)}" library="_internal" name="clock"></sd-icon>`:""} ${this.type==="search"?r`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${a(c,o)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?r`<sd-icon part="invalid-icon" class="${a("text-error",d,o)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?r`<sd-icon class="${a("text-success flex-shrink-0",d,o)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""} ${e.right?r`<slot name="right" part="right" class="${a("inline-flex",c,d,o)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?r`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,o)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm mt-1",u&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!u||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...x.styles,D`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
- :host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-icon{color:rgba(var(--sd-color-text-neutral-500))}.hide-password-toggle{display:none}.has-floating-label input[type=date]:not(.has-value),.has-floating-label input[type=datetime-local]:not(.has-value),.has-floating-label input[type=time]:not(.has-value){color:transparent}.has-floating-label input[type=date]:focus,.has-floating-label input[type=datetime-local]:focus,.has-floating-label input[type=time]:focus{color:inherit}.icon-color{color:rgba(var(--sd-form-control-color-icon-fill))}`],i([w("#input")],t.prototype,"input",2),i([w("#invalid-message")],t.prototype,"invalidMessage",2),i([m()],t.prototype,"hasFocus",2),i([m()],t.prototype,"showValidStyle",2),i([m()],t.prototype,"showInvalidStyle",2),i([m()],t.prototype,"isClickableIconFocused",2),i([l({type:String,reflect:!0})],t.prototype,"type",2),i([l({type:String,reflect:!0})],t.prototype,"size",2),i([l({type:String,reflect:!0})],t.prototype,"inputmode",2),i([l()],t.prototype,"value",2),i([A()],t.prototype,"defaultValue",2),i([l({type:String,reflect:!0})],t.prototype,"placeholder",2),i([l({type:String,reflect:!0})],t.prototype,"label",2),i([l({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),i([l({type:Boolean,reflect:!0})],t.prototype,"clearable",2),i([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([l({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([l({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),i([l({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),i([l({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),i([l({type:Number,reflect:!0})],t.prototype,"minlength",2),i([l({type:Number,reflect:!0})],t.prototype,"maxlength",2),i([l({reflect:!0})],t.prototype,"min",2),i([l({reflect:!0})],t.prototype,"max",2),i([l({type:String,reflect:!0})],t.prototype,"form",2),i([l({type:String,reflect:!0})],t.prototype,"name",2),i([l({type:String,reflect:!0})],t.prototype,"title",2),i([l({type:Boolean,reflect:!0})],t.prototype,"required",2),i([l({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),i([l()],t.prototype,"pattern",2),i([l({reflect:!0})],t.prototype,"step",2),i([l({type:String,reflect:!0})],t.prototype,"autocapitalize",2),i([l({type:String,reflect:!0})],t.prototype,"autocorrect",2),i([l({reflect:!0})],t.prototype,"autocomplete",2),i([l({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),i([l({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),i([l({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([l({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([b("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([b("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([b("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),i([b(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=i([E("sd-input")],t);export{t as a};
1
+ import{a as N}from"./chunk.ICEC5PGK.js";import{a as B}from"./chunk.SAEYIL5V.js";import{a as M}from"./chunk.ERP45OHF.js";import{b as z}from"./chunk.LZRL7OLU.js";import{a as o}from"./chunk.LHSR56PH.js";import{a as A}from"./chunk.CGQ2BPPZ.js";import{a as P,b as V}from"./chunk.QQD62QOV.js";import{a as T}from"./chunk.VAM5SM3O.js";import{a}from"./chunk.4ZZFYCXX.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as E,b as l,c as m,d as w,h as x}from"./chunk.YAUFTHOR.js";import{b as D,e as r,h as F,i as L}from"./chunk.OBAEIKIV.js";import{a as k,e as i}from"./chunk.6EV4YU6C.js";var $=class extends N{constructor(e){super(e);this.handlePointerDown=e=>{e.button!==0||this.host.disabled||this.spinOnLongPressCallback(e)};this.handlePointerUp=e=>{e==null||e.preventDefault(),e==null||e.stopPropagation(),this.timeout&&this.callbacks.start(),this.stopSpinningAndCleanUp(),this.callbacks.end(),document.removeEventListener("pointerup",this.handlePointerUp)};if(e.type!==P.ELEMENT||!(e.element instanceof HTMLButtonElement))throw new Error("The `longPress` directive must be used on an HTMLButtonElement.")}render(e){return L}update(e,[s]){return this.callbacks===void 0&&this.host===void 0&&(this.host=e.element,this.callbacks=k({},s),this.host.addEventListener("pointerdown",this.handlePointerDown)),F}disconnected(){this.stopSpinningAndCleanUp(),this.host.removeEventListener("pointerdown",this.handlePointerDown),document.removeEventListener("pointerup",this.handlePointerUp)}spinOnLongPressCallback(e){var s;e.preventDefault(),e.stopPropagation(),this.timeout=setTimeout(()=>{this.timeout=void 0,this.interval=setInterval(()=>{this.callbacks.start()},50)},500),document.addEventListener("pointerup",this.handlePointerUp),(s=this.observer)==null||s.disconnect(),this.observer=new MutationObserver(u=>{u.forEach(p=>{p.attributeName==="disabled"&&this.stopSpinningAndCleanUp()})}),this.observer.observe(this.host,{attributes:!0})}stopSpinningAndCleanUp(){var e;clearInterval(this.interval),clearTimeout(this.timeout),(e=this.observer)==null||e.disconnect()}},C=V($);var _,R=(_=navigator.userAgentData)==null?void 0:_.brands.some(f=>f.brand.includes("Chromium")),J=R?!1:navigator.userAgent.includes("Firefox"),t=class extends x{constructor(){super(...arguments);this.formControlController=new z(this);this.hasSlotController=new A(this,"help-text","label","left","right","message","placeholder");this.localize=new T(this);this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.isClickableIconFocused=!1;this.type="text";this.size="lg";this.value="";this.defaultValue="";this.placeholder="";this.label="";this.helpText="";this.clearable=!1;this.disabled=!1;this.visuallyDisabled=!1;this.readonly=!1;this.passwordToggle=!1;this.passwordVisible=!1;this.spinButtons=!1;this.form="";this.name="";this.title="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.spellcheck=!0}get valueAsDate(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsDate)!=null?s:null}set valueAsDate(e){let s=document.createElement("input");s.type="date",s.valueAsDate=e,this.value=s.value}get valueAsNumber(){var e,s;return(s=(e=this.input)==null?void 0:e.valueAsNumber)!=null?s:parseFloat(this.value)}set valueAsNumber(e){let s=document.createElement("input");s.type="number",s.valueAsNumber=e,this.value=s.value}get validity(){return this.input.validity}firstUpdated(){this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleChange(){this.value=this.input.value,this.emit("sd-change")}handleClearClick(e){this.value="",this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change"),this.input.focus(),e.stopPropagation()}handleSearchClick(e){this.emit("sd-search"),e.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleInput(){if(this.visuallyDisabled){this.input.value=this.value;return}this.value=this.input.value,this.formControlController.updateValidity(),this.emit("sd-input")}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),this.invalidMessage.textContent=e.target.validationMessage}handleKeyDown(e){let s=e.metaKey||e.ctrlKey||e.shiftKey||e.altKey;e.key==="Enter"&&!s&&setTimeout(()=>{!e.defaultPrevented&&!e.isComposing&&this.formControlController.submit()})}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}handleClickableIconFocusIn(){this.isClickableIconFocused=!0}handleClickableIconFocusOut(){this.isClickableIconFocused=!1}isDecrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.min===void 0||this.min===null)return!1;let e=typeof this.min=="string"?parseFloat(this.min):this.min;return this.valueAsNumber<=e}isIncrementDisabled(){if(this.disabled||this.readonly)return!0;if(this.max===void 0||this.max===null)return!1;let e=typeof this.max=="string"?parseFloat(this.max):this.max;return this.valueAsNumber>=e}handleStep(){this.handleInput(),this.input.focus()}handleStepUp(){this.stepUp(),this.handleStep()}handleStepDown(){this.stepDown(),this.handleStep()}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}handleSizeChange(){this.size=this.floatingLabel&&this.size==="sm"?"md":this.size}focus(e){this.input.focus(e)}blur(){this.input.blur()}select(){this.input.select()}setSelectionRange(e,s,u="none"){this.input.setSelectionRange(e,s,u)}setRangeText(e,s,u,p){this.input.setRangeText(e,s,u,p),this.value!==this.input.value&&(this.value=this.input.value)}showPicker(){"showPicker"in HTMLInputElement.prototype&&this.input.showPicker()}stepUp(){this.input.stepUp(),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(){this.input.stepDown(),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){var e;return(e=this.input)==null?void 0:e.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(e){this.input.setCustomValidity(e),this.formControlController.updateValidity()}render(){let e={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),description:this.hasSlotController.test("description"),left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right"),tooltip:this.hasSlotController.test("tooltip")},s=this.label?!0:!!e.label,u=this.helpText?!0:!!e.helpText,p=this.clearable&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),O=!!e.tooltip,U=e.left,v=this.value!==null&&String(this.value).length>0,h=this.floatingLabel&&s&&(this.hasFocus||v||this.isClickableIconFocused),y=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",g=this.size==="sm"?"text-sm":"text-base",S={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[y],c=this.disabled||this.visuallyDisabled?"text-neutral-500":"icon-color",d={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],n={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],K=this.size==="lg"?this.floatingLabel?h?"py-3":"py-4":"py-2":this.floatingLabel?h?"py-2":"py-3":"py-1",q={sm:"left-[36px]",md:"left-[44px]",lg:"left-12"}[this.size];return r`<div part="form-control" class="${a((this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${(s||O)&&!this.floatingLabel?r`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${a(s?"inline-block":"hidden",g,this.visuallyDisabled||this.disabled?"text-neutral-500":" form-control-color-text")}" for="input" aria-hidden="${s?"false":"true"}"><slot name="label">${this.label}</slot></label> ${e.tooltip?r`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${a("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${a("absolute w-full h-full pointer-events-none border form-control-border-radius transition-[border] ease-in-out duration-medium hover:duration-fast",S)}"></div><div part="base" class="${a("px-4 flex flex-row items-center form-control-border-radius transition-colors ease-in-out duration-medium hover:duration-fast",this.floatingLabel&&"has-floating-label",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:[@media(hover:hover)]:form-control--hover-color-background":"",this.readonly?"form-control--read-only-color-background":"bg-white",["disabled","visuallyDisabled"].includes(y)?"text-neutral-500":"text-black",["invalid","activeInvalid"].includes(y)&&"form-control--invalid-color-background",K)}">${e.left?r`<slot name="left" part="left" class="${a("inline-flex",this.size==="sm"?"mr-1":"mr-2",c,n)}"></slot>`:""} <input part="input" id="input" class="${a("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder:text-neutral-500 cursor-not-allowed":"placeholder:text-neutral-700",this.size==="sm"?h?"h-4":"h-6":h?"h-6":"h-8",g,h&&"leading-none mt-4")}" type="${this.type==="password"&&this.passwordVisible?"text":this.type}" title="${this.title}" name="${o(this.name)}" ?disabled="${this.disabled}" ?readonly="${this.readonly}" ?required="${this.required}" placeholder="${!this.floatingLabel||h?o(this.placeholder):""}" minlength="${o(this.minlength)}" maxlength="${o(this.maxlength)}" min="${o(this.min)}" max="${o(this.max)}" step="${o(this.step)}" .value="${B(this.value)}" autocapitalize="${o(this.type==="password"?"off":this.autocapitalize)}" autocomplete="${o(this.autocomplete)}" autocorrect="${o(this.type==="password"?"off":this.autocorrect===void 0?void 0:this.autocorrect?"on":"off")}" ?autofocus="${this.autofocus}" spellcheck="${this.spellcheck}" pattern="${o(this.pattern)}" enterkeyhint="${o(this.enterkeyhint)}" inputmode="${o(this.inputmode)}" aria-describedby="help-text invalid-message" aria-disabled="${this.visuallyDisabled||this.disabled?"true":"false"}" aria-invalid="${this.showInvalidStyle}" @change="${this.handleChange}" @input="${this.handleInput}" @invalid="${this.handleInvalid}" @keydown="${this.handleKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleBlur}"> ${s&&this.floatingLabel?r`<label part="form-control-floating-label" class="${a("pointer-events-none absolute",U?q:"left-4",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?"top-1/2 -translate-y-1/2 form-control-color-text":this.size==="lg"?"top-2":"top-1")}" for="input" aria-hidden="${s?"false":"true"}"><span id="floating-label" class="${a("pointer-events-none leading-none",!this.readonly&&"transition-all duration-medium ease-out",!h||!v&&(this.readonly||this.visuallyDisabled)?g:"text-xs",(this.visuallyDisabled||this.disabled)&&"text-neutral-500",h&&!this.visuallyDisabled&&!this.disabled&&"form-control--filled__floating-label-color-text")}">${this.label}</span></label>`:null} ${p?r`<button part="clear-button" class="${a("flex justify-center",d)}" type="button" aria-label="${this.localize.term("clearEntry")}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-icon class="${a(this.disabled||this.visuallyDisabled?"text-neutral-500":"text-neutral-700",n)}" library="_internal" name="closing-round"></sd-icon></slot></button>`:""} ${this.passwordToggle&&this.type==="password"?r`<button aria-label="${this.localize.term(this.passwordVisible?"hidePassword":"showPassword")}" part="password-toggle-button" class="${a("flex items-center sd-interactive",d,this.floatingLabel&&!h&&"hide-password-toggle")}" type="button" @click="${this.handlePasswordToggle}" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}">${this.passwordVisible?r`<slot name="show-password-icon"><sd-icon class="${a(c,n)}" library="_internal" name="eye"></sd-icon></slot>`:r`<slot name="hide-password-icon"><sd-icon class="${a(c,n)}" library="_internal" name="eye-crossed-out"></sd-icon></slot>`}</button>`:""} ${(this.type==="date"||this.type==="datetime-local")&&!J?r`<sd-icon class="${a(c,d,n)}" library="_internal" name="calendar"></sd-icon>`:""} ${this.type==="time"?r`<sd-icon class="${a(c,d,n)}" library="_internal" name="clock"></sd-icon>`:""} ${this.type==="search"?r`<button class="${a("flex items-center sd-interactive",d)}" type="button" @click="${this.handleSearchClick}"><sd-icon class="${a(c,n)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-icon></button>`:""} ${this.showInvalidStyle?r`<sd-icon part="invalid-icon" class="${a("text-error",d,n)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?r`<sd-icon class="${a("text-success flex-shrink-0",d,n)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""} ${e.right?r`<slot name="right" part="right" class="${a("inline-flex",c,d,n)}"></slot>`:""} ${this.type==="number"&&this.spinButtons?r`<div part="stepper" class="flex items-center"><button part="decrement-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isDecrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepDown(),end:()=>this.handleChange()})} tabindex="-1" @mousedown="${this.handleClickableIconFocusIn}" @focus="${()=>this.handleClickableIconFocusIn()}" @blur="${this.handleClickableIconFocusOut}"><slot name="decrement-number-stepper"><sd-icon library="_internal" name="minus-circle" label="Decrease value" class="${a(c,d,n)}"></sd-icon></slot></button> <button part="increment-number-stepper" class="stepper-button flex" type="button" ?disabled="${this.isIncrementDisabled()}" aria-hidden="true" ${C({start:()=>this.handleStepUp(),end:()=>this.handleChange()})} tabindex="-1"><slot name="increment-number-stepper"><sd-icon library="_internal" name="plus-circle" label="Decrease value" class="${a(c,d,n)}"></sd-icon></slot></button></div>`:""}</div></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${a("text-sm mt-1",u&&!this.showInvalidStyle?"block":"hidden",this.visuallyDisabled||this.disabled?"text-neutral-500":"text-neutral-700")}" aria-hidden="${!u||this.showInvalidStyle}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage(this.size)}`}};t.styles=[...x.styles,D`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
2
+ :host{position:relative;box-sizing:border-box;display:inline-block;width:100%;text-align:left}:host([vertical]){display:block}:host([required]) :is(#label,#floating-label)::after{content:' *'}:host([visually-disabled]) input{caret-color:transparent}details summary::-webkit-details-marker{display:none}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}input[type=time]::-webkit-calendar-picker-indicator{background:0 0;display:none;-webkit-appearance:none}details summary::-webkit-details-marker,input[type=date]::-webkit-calendar-picker-indicator,input[type=datetime-local]::-webkit-calendar-picker-indicator,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{display:none}.stepper-button[disabled] sd-icon{color:rgba(var(--sd-color-text-neutral-500))}.hide-password-toggle{display:none}.has-floating-label input[type=date]:not(.has-value),.has-floating-label input[type=datetime-local]:not(.has-value),.has-floating-label input[type=time]:not(.has-value){color:transparent}.has-floating-label input[type=date]:focus,.has-floating-label input[type=datetime-local]:focus,.has-floating-label input[type=time]:focus{color:inherit}.icon-color{color:rgba(var(--sd-form-control-color-icon-fill))}`],i([w("#input")],t.prototype,"input",2),i([w("#invalid-message")],t.prototype,"invalidMessage",2),i([m()],t.prototype,"hasFocus",2),i([m()],t.prototype,"showValidStyle",2),i([m()],t.prototype,"showInvalidStyle",2),i([m()],t.prototype,"isClickableIconFocused",2),i([l({type:String,reflect:!0})],t.prototype,"type",2),i([l({type:String,reflect:!0})],t.prototype,"size",2),i([l({type:String,reflect:!0})],t.prototype,"inputmode",2),i([l()],t.prototype,"value",2),i([M()],t.prototype,"defaultValue",2),i([l({type:String,reflect:!0})],t.prototype,"placeholder",2),i([l({type:String,reflect:!0})],t.prototype,"label",2),i([l({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),i([l({type:Boolean,reflect:!0})],t.prototype,"clearable",2),i([l({type:Boolean,reflect:!0})],t.prototype,"disabled",2),i([l({type:Boolean,reflect:!0,attribute:"visually-disabled"})],t.prototype,"visuallyDisabled",2),i([l({type:Boolean,reflect:!0})],t.prototype,"readonly",2),i([l({attribute:"password-toggle",type:Boolean,reflect:!0})],t.prototype,"passwordToggle",2),i([l({attribute:"password-visible",type:Boolean,reflect:!0})],t.prototype,"passwordVisible",2),i([l({attribute:"spin-buttons",type:Boolean,reflect:!0})],t.prototype,"spinButtons",2),i([l({type:Number,reflect:!0})],t.prototype,"minlength",2),i([l({type:Number,reflect:!0})],t.prototype,"maxlength",2),i([l({reflect:!0})],t.prototype,"min",2),i([l({reflect:!0})],t.prototype,"max",2),i([l({type:String,reflect:!0})],t.prototype,"form",2),i([l({type:String,reflect:!0})],t.prototype,"name",2),i([l({type:String,reflect:!0})],t.prototype,"title",2),i([l({type:Boolean,reflect:!0})],t.prototype,"required",2),i([l({attribute:"floating-label",type:Boolean,reflect:!0})],t.prototype,"floatingLabel",2),i([l()],t.prototype,"pattern",2),i([l({reflect:!0})],t.prototype,"step",2),i([l({type:String,reflect:!0})],t.prototype,"autocapitalize",2),i([l({type:Boolean,reflect:!0,converter:{fromAttribute:e=>e!=="off",toAttribute:e=>e?"on":"off"}})],t.prototype,"autocorrect",2),i([l({reflect:!0})],t.prototype,"autocomplete",2),i([l({type:Boolean,reflect:!0})],t.prototype,"autofocus",2),i([l({type:String,reflect:!0})],t.prototype,"enterkeyhint",2),i([l({type:Boolean,reflect:!0,attribute:"style-on-valid"})],t.prototype,"styleOnValid",2),i([l({type:Boolean,converter:{fromAttribute:e=>!(!e||e==="false"),toAttribute:e=>e?"true":"false"}})],t.prototype,"spellcheck",2),i([b("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),i([b("step",{waitUntilFirstUpdate:!0})],t.prototype,"handleStepChange",1),i([b("value",{waitUntilFirstUpdate:!0})],t.prototype,"handleValueChange",1),i([b(["size","floatingLabel"])],t.prototype,"handleSizeChange",1),t=i([E("sd-input")],t);export{t as a};
@@ -40,7 +40,7 @@ export default class SdInput extends SolidElement implements SolidFormControl {
40
40
  pattern: string;
41
41
  step: number | 'any';
42
42
  autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
43
- autocorrect: 'off' | 'on';
43
+ autocorrect: boolean;
44
44
  autocomplete: string;
45
45
  autofocus: boolean;
46
46
  enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.P6Y5AQHG.js";import"../../chunks/chunk.ICEC5PGK.js";import"../../chunks/chunk.SAEYIL5V.js";import"../../chunks/chunk.IF6Y3ILD.js";import"../../chunks/chunk.ERP45OHF.js";import"../../chunks/chunk.LZRL7OLU.js";import"../../chunks/chunk.LHSR56PH.js";import"../../chunks/chunk.CGQ2BPPZ.js";import"../../chunks/chunk.PJ4AHTMH.js";import"../../chunks/chunk.W5O4FM6B.js";import"../../chunks/chunk.QQD62QOV.js";import"../../chunks/chunk.NYJUQAML.js";import"../../chunks/chunk.TRGIF57L.js";import"../../chunks/chunk.MB7SWCJ2.js";import"../../chunks/chunk.U7TS5SGA.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.VAM5SM3O.js";import"../../chunks/chunk.PB7NJRWC.js";import"../../chunks/chunk.NADOKI3X.js";import"../../chunks/chunk.4XDRYWQQ.js";import"../../chunks/chunk.4ZZFYCXX.js";import"../../chunks/chunk.NYKJXI3Q.js";import"../../chunks/chunk.YAUFTHOR.js";import"../../chunks/chunk.OBAEIKIV.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.D7PE6JKX.js";import"../../chunks/chunk.ICEC5PGK.js";import"../../chunks/chunk.SAEYIL5V.js";import"../../chunks/chunk.IF6Y3ILD.js";import"../../chunks/chunk.ERP45OHF.js";import"../../chunks/chunk.LZRL7OLU.js";import"../../chunks/chunk.LHSR56PH.js";import"../../chunks/chunk.CGQ2BPPZ.js";import"../../chunks/chunk.PJ4AHTMH.js";import"../../chunks/chunk.W5O4FM6B.js";import"../../chunks/chunk.QQD62QOV.js";import"../../chunks/chunk.NYJUQAML.js";import"../../chunks/chunk.TRGIF57L.js";import"../../chunks/chunk.MB7SWCJ2.js";import"../../chunks/chunk.U7TS5SGA.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.VAM5SM3O.js";import"../../chunks/chunk.PB7NJRWC.js";import"../../chunks/chunk.NADOKI3X.js";import"../../chunks/chunk.4XDRYWQQ.js";import"../../chunks/chunk.4ZZFYCXX.js";import"../../chunks/chunk.NYKJXI3Q.js";import"../../chunks/chunk.YAUFTHOR.js";import"../../chunks/chunk.OBAEIKIV.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
@@ -26,7 +26,7 @@ export default class SdTextarea extends SolidElement implements SolidFormControl
26
26
  minlength: number;
27
27
  maxlength: number;
28
28
  autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
29
- autocorrect: 'off' | 'on';
29
+ autocorrect: boolean;
30
30
  autocomplete: string;
31
31
  autofocus: boolean;
32
32
  enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
@@ -1 +1 @@
1
- import{a}from"../../chunks/chunk.HEGJI2MO.js";import"../../chunks/chunk.SAEYIL5V.js";import"../../chunks/chunk.IF6Y3ILD.js";import"../../chunks/chunk.ERP45OHF.js";import"../../chunks/chunk.LZRL7OLU.js";import"../../chunks/chunk.LHSR56PH.js";import"../../chunks/chunk.CGQ2BPPZ.js";import"../../chunks/chunk.PJ4AHTMH.js";import"../../chunks/chunk.W5O4FM6B.js";import"../../chunks/chunk.QQD62QOV.js";import"../../chunks/chunk.NYJUQAML.js";import"../../chunks/chunk.TRGIF57L.js";import"../../chunks/chunk.MB7SWCJ2.js";import"../../chunks/chunk.U7TS5SGA.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.4ZZFYCXX.js";import"../../chunks/chunk.NYKJXI3Q.js";import"../../chunks/chunk.YAUFTHOR.js";import"../../chunks/chunk.OBAEIKIV.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
1
+ import{a}from"../../chunks/chunk.2MPVWXFB.js";import"../../chunks/chunk.SAEYIL5V.js";import"../../chunks/chunk.IF6Y3ILD.js";import"../../chunks/chunk.ERP45OHF.js";import"../../chunks/chunk.LZRL7OLU.js";import"../../chunks/chunk.LHSR56PH.js";import"../../chunks/chunk.CGQ2BPPZ.js";import"../../chunks/chunk.PJ4AHTMH.js";import"../../chunks/chunk.W5O4FM6B.js";import"../../chunks/chunk.QQD62QOV.js";import"../../chunks/chunk.NYJUQAML.js";import"../../chunks/chunk.TRGIF57L.js";import"../../chunks/chunk.MB7SWCJ2.js";import"../../chunks/chunk.U7TS5SGA.js";import"../../chunks/chunk.PYHYYOBE.js";import"../../chunks/chunk.TWZDCIM2.js";import"../../chunks/chunk.MWDEA25W.js";import"../../chunks/chunk.4ZZFYCXX.js";import"../../chunks/chunk.NYKJXI3Q.js";import"../../chunks/chunk.YAUFTHOR.js";import"../../chunks/chunk.OBAEIKIV.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
@@ -1888,7 +1888,7 @@
1888
1888
  "kind": "field",
1889
1889
  "name": "variant",
1890
1890
  "type": {
1891
- "text": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'primary|80'\n | 'white|80'\n | 'image'"
1891
+ "text": "'neutral-100' | 'primary' | 'white' | 'border-primary' | 'border-white' | 'primary|80' | 'white|80' | 'image'"
1892
1892
  },
1893
1893
  "default": "'primary'",
1894
1894
  "description": "The brandshape's theme variant.",
@@ -1988,7 +1988,7 @@
1988
1988
  {
1989
1989
  "name": "variant",
1990
1990
  "type": {
1991
- "text": "| 'neutral-100'\n | 'primary'\n | 'white'\n | 'border-primary'\n | 'border-white'\n | 'primary|80'\n | 'white|80'\n | 'image'"
1991
+ "text": "'neutral-100' | 'primary' | 'white' | 'border-primary' | 'border-white' | 'primary|80' | 'white|80' | 'image'"
1992
1992
  },
1993
1993
  "default": "'primary'",
1994
1994
  "description": "The brandshape's theme variant.",
@@ -10468,7 +10468,7 @@
10468
10468
  "kind": "field",
10469
10469
  "name": "type",
10470
10470
  "type": {
10471
- "text": "| 'date'\n | 'datetime-local'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'"
10471
+ "text": "'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url'"
10472
10472
  },
10473
10473
  "default": "'text'",
10474
10474
  "description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
@@ -10490,7 +10490,7 @@
10490
10490
  "kind": "field",
10491
10491
  "name": "inputmode",
10492
10492
  "type": {
10493
- "text": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
10493
+ "text": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
10494
10494
  },
10495
10495
  "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
10496
10496
  "attribute": "inputmode",
@@ -10743,7 +10743,7 @@
10743
10743
  "kind": "field",
10744
10744
  "name": "autocapitalize",
10745
10745
  "type": {
10746
- "text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
10746
+ "text": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
10747
10747
  },
10748
10748
  "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
10749
10749
  "attribute": "autocapitalize",
@@ -10753,8 +10753,9 @@
10753
10753
  "kind": "field",
10754
10754
  "name": "autocorrect",
10755
10755
  "type": {
10756
- "text": "'off' | 'on'"
10756
+ "text": "boolean"
10757
10757
  },
10758
+ "description": "Indicates whether the browser's autocorrect feature is on or off.",
10758
10759
  "attribute": "autocorrect",
10759
10760
  "reflects": true
10760
10761
  },
@@ -10782,7 +10783,7 @@
10782
10783
  "kind": "field",
10783
10784
  "name": "enterkeyhint",
10784
10785
  "type": {
10785
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
10786
+ "text": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
10786
10787
  },
10787
10788
  "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
10788
10789
  "attribute": "enterkeyhint",
@@ -11056,7 +11057,7 @@
11056
11057
  {
11057
11058
  "name": "type",
11058
11059
  "type": {
11059
- "text": "| 'date'\n | 'datetime-local'\n | 'email'\n | 'number'\n | 'password'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'"
11060
+ "text": "'date' | 'datetime-local' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'time' | 'url'"
11060
11061
  },
11061
11062
  "default": "'text'",
11062
11063
  "description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
@@ -11074,7 +11075,7 @@
11074
11075
  {
11075
11076
  "name": "inputmode",
11076
11077
  "type": {
11077
- "text": "| 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url'"
11078
+ "text": "'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'"
11078
11079
  },
11079
11080
  "description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
11080
11081
  "fieldName": "inputmode"
@@ -11274,7 +11275,7 @@
11274
11275
  {
11275
11276
  "name": "autocapitalize",
11276
11277
  "type": {
11277
- "text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
11278
+ "text": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
11278
11279
  },
11279
11280
  "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
11280
11281
  "fieldName": "autocapitalize"
@@ -11282,8 +11283,9 @@
11282
11283
  {
11283
11284
  "name": "autocorrect",
11284
11285
  "type": {
11285
- "text": "'off' | 'on'"
11286
+ "text": "boolean"
11286
11287
  },
11288
+ "description": "Indicates whether the browser's autocorrect feature is on or off.",
11287
11289
  "fieldName": "autocorrect"
11288
11290
  },
11289
11291
  {
@@ -11305,7 +11307,7 @@
11305
11307
  {
11306
11308
  "name": "enterkeyhint",
11307
11309
  "type": {
11308
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
11310
+ "text": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
11309
11311
  },
11310
11312
  "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
11311
11313
  "fieldName": "enterkeyhint"
@@ -14319,7 +14321,7 @@
14319
14321
  "kind": "field",
14320
14322
  "name": "arrowPlacement",
14321
14323
  "type": {
14322
- "text": "| 'start'\n | 'end'\n | 'center'\n | 'anchor'"
14324
+ "text": "'start' | 'end' | 'center' | 'anchor'"
14323
14325
  },
14324
14326
  "default": "'anchor'",
14325
14327
  "description": "The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.",
@@ -14613,7 +14615,7 @@
14613
14615
  {
14614
14616
  "name": "arrow-placement",
14615
14617
  "type": {
14616
- "text": "| 'start'\n | 'end'\n | 'center'\n | 'anchor'"
14618
+ "text": "'start' | 'end' | 'center' | 'anchor'"
14617
14619
  },
14618
14620
  "default": "'anchor'",
14619
14621
  "description": "The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\nanchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\nalign the arrow to the start, end, or center of the popover instead.",
@@ -16859,7 +16861,7 @@
16859
16861
  "kind": "field",
16860
16862
  "name": "tooltip",
16861
16863
  "type": {
16862
- "text": "| 'on-interaction'\n | 'hidden'\n | 'always-visible'"
16864
+ "text": "'on-interaction' | 'hidden' | 'always-visible'"
16863
16865
  },
16864
16866
  "default": "'on-interaction'",
16865
16867
  "description": "Defines the thumbs tooltip behaviour.",
@@ -17106,7 +17108,7 @@
17106
17108
  {
17107
17109
  "name": "tooltip",
17108
17110
  "type": {
17109
- "text": "| 'on-interaction'\n | 'hidden'\n | 'always-visible'"
17111
+ "text": "'on-interaction' | 'hidden' | 'always-visible'"
17110
17112
  },
17111
17113
  "default": "'on-interaction'",
17112
17114
  "description": "Defines the thumbs tooltip behaviour.",
@@ -21572,7 +21574,7 @@
21572
21574
  "kind": "field",
21573
21575
  "name": "variant",
21574
21576
  "type": {
21575
- "text": "| 'white'\n | 'white border-neutral-400'\n | 'neutral-100'\n | 'primary'\n | 'primary-100'"
21577
+ "text": "'white' | 'white border-neutral-400' | 'neutral-100' | 'primary' | 'primary-100'"
21576
21578
  },
21577
21579
  "default": "'white'",
21578
21580
  "description": "Variant of the teaser",
@@ -21695,7 +21697,7 @@
21695
21697
  {
21696
21698
  "name": "variant",
21697
21699
  "type": {
21698
- "text": "| 'white'\n | 'white border-neutral-400'\n | 'neutral-100'\n | 'primary'\n | 'primary-100'"
21700
+ "text": "'white' | 'white border-neutral-400' | 'neutral-100' | 'primary' | 'primary-100'"
21699
21701
  },
21700
21702
  "default": "'white'",
21701
21703
  "description": "Variant of the teaser",
@@ -21883,7 +21885,7 @@
21883
21885
  "kind": "field",
21884
21886
  "name": "variant",
21885
21887
  "type": {
21886
- "text": "| 'white'\n | 'neutral-100'\n | 'primary'\n | 'primary-100'\n | 'gradient-light'\n | 'gradient-dark'"
21888
+ "text": "'white' | 'neutral-100' | 'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
21887
21889
  },
21888
21890
  "default": "'white'",
21889
21891
  "description": "Variant of the teaser",
@@ -21984,7 +21986,7 @@
21984
21986
  {
21985
21987
  "name": "variant",
21986
21988
  "type": {
21987
- "text": "| 'white'\n | 'neutral-100'\n | 'primary'\n | 'primary-100'\n | 'gradient-light'\n | 'gradient-dark'"
21989
+ "text": "'white' | 'neutral-100' | 'primary' | 'primary-100' | 'gradient-light' | 'gradient-dark'"
21988
21990
  },
21989
21991
  "default": "'white'",
21990
21992
  "description": "Variant of the teaser",
@@ -22311,7 +22313,7 @@
22311
22313
  "kind": "field",
22312
22314
  "name": "autocapitalize",
22313
22315
  "type": {
22314
- "text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
22316
+ "text": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
22315
22317
  },
22316
22318
  "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
22317
22319
  "attribute": "autocapitalize",
@@ -22321,7 +22323,7 @@
22321
22323
  "kind": "field",
22322
22324
  "name": "autocorrect",
22323
22325
  "type": {
22324
- "text": "'off' | 'on'"
22326
+ "text": "boolean"
22325
22327
  },
22326
22328
  "description": "Indicates whether the browser's autocorrect feature is on or off.",
22327
22329
  "attribute": "autocorrect",
@@ -22351,7 +22353,7 @@
22351
22353
  "kind": "field",
22352
22354
  "name": "enterkeyhint",
22353
22355
  "type": {
22354
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
22356
+ "text": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
22355
22357
  },
22356
22358
  "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
22357
22359
  "attribute": "enterkeyhint",
@@ -22792,7 +22794,7 @@
22792
22794
  {
22793
22795
  "name": "autocapitalize",
22794
22796
  "type": {
22795
- "text": "| 'off'\n | 'none'\n | 'on'\n | 'sentences'\n | 'words'\n | 'characters'"
22797
+ "text": "'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'"
22796
22798
  },
22797
22799
  "description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
22798
22800
  "fieldName": "autocapitalize"
@@ -22800,7 +22802,7 @@
22800
22802
  {
22801
22803
  "name": "autocorrect",
22802
22804
  "type": {
22803
- "text": "'off' | 'on'"
22805
+ "text": "boolean"
22804
22806
  },
22805
22807
  "description": "Indicates whether the browser's autocorrect feature is on or off.",
22806
22808
  "fieldName": "autocorrect"
@@ -22824,7 +22826,7 @@
22824
22826
  {
22825
22827
  "name": "enterkeyhint",
22826
22828
  "type": {
22827
- "text": "| 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send'"
22829
+ "text": "'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'"
22828
22830
  },
22829
22831
  "description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
22830
22832
  "fieldName": "enterkeyhint"
@@ -23165,7 +23167,7 @@
23165
23167
  "kind": "field",
23166
23168
  "name": "placement",
23167
23169
  "type": {
23168
- "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'"
23170
+ "text": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'"
23169
23171
  },
23170
23172
  "default": "'top'",
23171
23173
  "description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
@@ -23356,7 +23358,7 @@
23356
23358
  {
23357
23359
  "name": "placement",
23358
23360
  "type": {
23359
- "text": "| 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'"
23361
+ "text": "'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'"
23360
23362
  },
23361
23363
  "default": "'top'",
23362
23364
  "description": "The preferred placement of the tooltip. Note that the actual placement may vary as needed to keep the tooltip\ninside of the viewport.",
@@ -23721,7 +23723,7 @@
23721
23723
  "package": {
23722
23724
  "name": "@solid-design-system/components",
23723
23725
  "description": "Solid Design System: Components",
23724
- "version": "7.0.0-next.2",
23726
+ "version": "7.0.0-next.3",
23725
23727
  "author": "Union Investment",
23726
23728
  "homepage": "https://solid-design-system.fe.union-investment.de/docs/",
23727
23729
  "license": "MIT"