@kdcloudjs/shoelace 1.0.8 → 1.0.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 (319) hide show
  1. package/{dist/chunks/chunk.OFVB4KAZ.js → cdn/chunks/chunk.23WX4IIK.js} +1 -1
  2. package/cdn/chunks/{chunk.TPCBDU3P.js → chunk.3ROPEJ6A.js} +1 -1
  3. package/cdn/chunks/{chunk.I2VIRKGU.js → chunk.3ZKAIQC3.js} +6 -6
  4. package/cdn/chunks/{chunk.74WFQGMH.js → chunk.4M63ZPLF.js} +2 -1
  5. package/cdn/chunks/{chunk.JGAD2NAP.js → chunk.4OO66AUH.js} +1 -1
  6. package/cdn/chunks/{chunk.QVGQMXSJ.js → chunk.4S76P34M.js} +1 -1
  7. package/cdn/chunks/{chunk.FCH7L4DJ.js → chunk.5IST66LN.js} +1 -1
  8. package/{dist/chunks/chunk.OZRMOJDP.js → cdn/chunks/chunk.5VRD66ML.js} +1 -1
  9. package/{dist/chunks/chunk.GASEXX4D.js → cdn/chunks/chunk.7GZEZ2Y5.js} +1 -1
  10. package/cdn/chunks/{chunk.L23JWZXF.js → chunk.BWF6NN7L.js} +4 -4
  11. package/cdn/chunks/{chunk.5EVZQYMV.js → chunk.BXTUASYQ.js} +1 -1
  12. package/cdn/chunks/{chunk.O7A3KDKU.js → chunk.D36AO6T3.js} +1 -1
  13. package/cdn/chunks/{chunk.LODLV2NS.js → chunk.DKPXHODS.js} +1 -1
  14. package/{dist/chunks/chunk.KQBYJ4UO.js → cdn/chunks/chunk.DRGDUTKF.js} +1 -1
  15. package/cdn/chunks/{chunk.KRJ56QFY.js → chunk.EJFHWZ3C.js} +1 -1
  16. package/cdn/chunks/{chunk.OIJXPVJT.js → chunk.ELRVTLCB.js} +1 -1
  17. package/{dist/chunks/chunk.KD3GIHSB.js → cdn/chunks/chunk.EN2D7JQA.js} +1 -1
  18. package/cdn/chunks/{chunk.PPMK7HQH.js → chunk.EXK5T256.js} +1 -1
  19. package/cdn/chunks/{chunk.RIKP3Z5U.js → chunk.FBR4Q63N.js} +1 -1
  20. package/cdn/chunks/{chunk.HL7H3M6B.js → chunk.FEW45SGJ.js} +1 -1
  21. package/cdn/chunks/{chunk.K2F3BCM7.js → chunk.GCDL523E.js} +4 -4
  22. package/cdn/chunks/{chunk.WTYJ6D3G.js → chunk.GETMDTK6.js} +1 -1
  23. package/cdn/chunks/{chunk.WKXHY77X.js → chunk.GO57DLFX.js} +2 -2
  24. package/cdn/chunks/{chunk.IIJPIX4C.js → chunk.HP5EQBJI.js} +10 -10
  25. package/cdn/chunks/{chunk.KA5JBMLK.js → chunk.IXXY6EMT.js} +2 -2
  26. package/cdn/chunks/{chunk.HZLF6TXJ.js → chunk.JFJGWT5X.js} +1 -1
  27. package/cdn/chunks/{chunk.V6SSDIDU.js → chunk.JVMLLWDE.js} +1 -1
  28. package/cdn/chunks/{chunk.C2YJADJR.js → chunk.JYAK756K.js} +1 -1
  29. package/{dist/chunks/chunk.JO4UZZVN.js → cdn/chunks/chunk.KBJCVKVV.js} +1 -1
  30. package/cdn/chunks/{chunk.RMEE3P3T.js → chunk.KEVRKCI3.js} +1 -1
  31. package/cdn/chunks/{chunk.JT56MIJ4.js → chunk.KWYJUC6D.js} +4 -4
  32. package/{dist/chunks/chunk.UVASQIHI.js → cdn/chunks/chunk.L636OJ7W.js} +1 -1
  33. package/cdn/chunks/{chunk.55VMUAMC.js → chunk.L7ESWREN.js} +1 -1
  34. package/cdn/chunks/{chunk.FOUHO4EI.js → chunk.LHJA5GEJ.js} +4 -4
  35. package/cdn/chunks/{chunk.K35KM3AY.js → chunk.LIHFS4YL.js} +5 -5
  36. package/cdn/chunks/{chunk.LAR5NV4G.js → chunk.LOTHJHHC.js} +1 -1
  37. package/cdn/chunks/{chunk.NJFCHXN5.js → chunk.M564KY5J.js} +1 -1
  38. package/cdn/chunks/{chunk.PJ4QDGB7.js → chunk.MCVJD4TI.js} +1 -1
  39. package/cdn/chunks/{chunk.ZGMXI5IW.js → chunk.MKWDM3XY.js} +1 -1
  40. package/{dist/chunks/chunk.ZWPCQY7U.js → cdn/chunks/chunk.MUIYRTUD.js} +1 -1
  41. package/{dist/chunks/chunk.B4HPN34J.js → cdn/chunks/chunk.N5UQGXF5.js} +1 -1
  42. package/cdn/chunks/{chunk.IVT5REKM.js → chunk.NLD3CJ2O.js} +1 -1
  43. package/cdn/chunks/{chunk.PJG46NM4.js → chunk.NNBPVQ3D.js} +1 -1
  44. package/cdn/chunks/{chunk.UDV3OXUL.js → chunk.NNEFB3JX.js} +1 -1
  45. package/cdn/chunks/{chunk.SRYTXUFA.js → chunk.NSDCQFXI.js} +1 -1
  46. package/cdn/chunks/{chunk.YCIA2527.js → chunk.OELR5RX6.js} +1 -1
  47. package/cdn/chunks/{chunk.WUYRDSRQ.js → chunk.P6BV3EX3.js} +1 -1
  48. package/cdn/chunks/{chunk.FKNGB7NW.js → chunk.P7GNMMSW.js} +1 -1
  49. package/cdn/chunks/{chunk.XPQFTFKI.js → chunk.PJYXONJJ.js} +1 -1
  50. package/{dist/chunks/chunk.WMLA5253.js → cdn/chunks/chunk.Q6XHH6QC.js} +1 -1
  51. package/{dist/chunks/chunk.7MRKDH2Y.js → cdn/chunks/chunk.QD43L3QY.js} +1 -1
  52. package/cdn/chunks/{chunk.VKDJTD6U.js → chunk.QT5V3QPK.js} +1 -1
  53. package/{dist/chunks/chunk.G2JAPLRH.js → cdn/chunks/chunk.R4NWL2KS.js} +1 -1
  54. package/cdn/chunks/{chunk.YDZ5OX4I.js → chunk.R6JWTZZK.js} +1 -1
  55. package/cdn/chunks/{chunk.SHVWPOHD.js → chunk.RCCQJPZS.js} +1 -1
  56. package/{dist/chunks/chunk.3GEIQ7YN.js → cdn/chunks/chunk.RTPVXMFH.js} +1 -1
  57. package/cdn/chunks/{chunk.WFOA4JCE.js → chunk.RVTVMACR.js} +1 -1
  58. package/cdn/chunks/{chunk.VYLWXLHM.js → chunk.SO4NNE4G.js} +1 -1
  59. package/cdn/chunks/{chunk.H2UW64J2.js → chunk.TAV4D7VV.js} +1 -1
  60. package/cdn/chunks/{chunk.ECAQDARE.js → chunk.TDVD67IW.js} +1 -1
  61. package/cdn/chunks/{chunk.VQ7Q6EDW.js → chunk.TE7YSKAA.js} +1 -1
  62. package/cdn/chunks/{chunk.ZA77RJ5F.js → chunk.TNKASOE5.js} +1 -1
  63. package/cdn/chunks/{chunk.6UM6FC4K.js → chunk.TSM6P6WK.js} +1 -1
  64. package/cdn/chunks/{chunk.GRUXSLFM.js → chunk.U3EP43KI.js} +1 -1
  65. package/{dist/chunks/chunk.RSZTIROJ.js → cdn/chunks/chunk.UFGMX3XH.js} +1 -1
  66. package/cdn/chunks/{chunk.PEHKG2LH.js → chunk.WRCIQWGB.js} +1 -1
  67. package/cdn/chunks/{chunk.7LIKXAS7.js → chunk.WUCNRQR2.js} +1 -1
  68. package/cdn/chunks/{chunk.EMNG5BUV.js → chunk.WWQQYRTC.js} +6 -6
  69. package/cdn/chunks/{chunk.CV4KXOED.js → chunk.XB6H2JAW.js} +4 -4
  70. package/cdn/chunks/{chunk.SPEZ4SVZ.js → chunk.XCQWFE6U.js} +1 -1
  71. package/cdn/chunks/{chunk.RAJGP56K.js → chunk.XEJLVA7W.js} +1 -1
  72. package/cdn/chunks/{chunk.I3CHFQIU.js → chunk.YFUVB5JK.js} +1 -1
  73. package/cdn/chunks/{chunk.A6JN67Y5.js → chunk.YSD4CRJR.js} +3 -3
  74. package/cdn/chunks/{chunk.ERKC472U.js → chunk.YWJXPHLW.js} +1 -1
  75. package/cdn/chunks/{chunk.4EZCWDFF.js → chunk.YX664DDU.js} +4 -4
  76. package/cdn/components/alert/alert.component.js +4 -4
  77. package/cdn/components/alert/alert.js +5 -5
  78. package/cdn/components/button/button.component.js +4 -4
  79. package/cdn/components/button/button.js +5 -5
  80. package/cdn/components/calendar/calendar.component.js +6 -6
  81. package/cdn/components/calendar/calendar.js +6 -6
  82. package/cdn/components/carousel/carousel.component.js +4 -4
  83. package/cdn/components/carousel/carousel.js +5 -5
  84. package/cdn/components/checkbox/checkbox.component.js +2 -2
  85. package/cdn/components/checkbox/checkbox.js +3 -3
  86. package/cdn/components/color-picker/color-picker.component.js +10 -10
  87. package/cdn/components/color-picker/color-picker.js +11 -11
  88. package/cdn/components/copy-button/copy-button.component.js +5 -5
  89. package/cdn/components/copy-button/copy-button.js +6 -6
  90. package/cdn/components/date-panel/date-panel.component.js +8 -8
  91. package/cdn/components/date-panel/date-panel.js +8 -8
  92. package/cdn/components/datepicker/datepicker.component.js +11 -11
  93. package/cdn/components/datepicker/datepicker.js +11 -11
  94. package/cdn/components/details/details.component.js +3 -3
  95. package/cdn/components/details/details.js +4 -4
  96. package/cdn/components/dialog/dialog.component.js +4 -4
  97. package/cdn/components/dialog/dialog.js +5 -5
  98. package/cdn/components/drawer/drawer.component.js +4 -4
  99. package/cdn/components/drawer/drawer.js +5 -5
  100. package/cdn/components/dropdown/dropdown.component.js +5 -5
  101. package/cdn/components/dropdown/dropdown.js +6 -6
  102. package/cdn/components/image-comparer/image-comparer.component.js +3 -3
  103. package/cdn/components/image-comparer/image-comparer.js +4 -4
  104. package/cdn/components/input/input.component.js +4 -4
  105. package/cdn/components/input/input.js +5 -5
  106. package/cdn/components/menu-item/menu-item.component.js +5 -5
  107. package/cdn/components/menu-item/menu-item.js +6 -6
  108. package/cdn/components/nav-submenu/nav-submenu.component.js +4 -4
  109. package/cdn/components/nav-submenu/nav-submenu.js +5 -5
  110. package/cdn/components/option/option.component.js +3 -3
  111. package/cdn/components/option/option.js +4 -4
  112. package/cdn/components/pagination/custom-select.js +7 -7
  113. package/cdn/components/pagination/pagination.component.js +7 -7
  114. package/cdn/components/pagination/pagination.js +7 -7
  115. package/cdn/components/popup/popup.component.js +3 -3
  116. package/cdn/components/popup/popup.js +4 -4
  117. package/cdn/components/progress-bar/progress-bar.component.js +4 -4
  118. package/cdn/components/progress-bar/progress-bar.js +5 -5
  119. package/cdn/components/range/range.component.js +4 -4
  120. package/cdn/components/range/range.js +5 -5
  121. package/cdn/components/rating/rating.component.js +3 -3
  122. package/cdn/components/rating/rating.js +4 -4
  123. package/cdn/components/select/select.component.js +6 -6
  124. package/cdn/components/select/select.js +7 -7
  125. package/cdn/components/split-panel/split-panel.component.js +2 -2
  126. package/cdn/components/split-panel/split-panel.js +3 -3
  127. package/cdn/components/tab/tab.component.js +4 -4
  128. package/cdn/components/tab/tab.js +5 -5
  129. package/cdn/components/tab-group/tab-group.component.js +4 -4
  130. package/cdn/components/tab-group/tab-group.js +5 -5
  131. package/cdn/components/table/head-table.js +15 -15
  132. package/cdn/components/table/table.component.js +18 -18
  133. package/cdn/components/table/table.js +19 -19
  134. package/cdn/components/tag/tag.component.js +4 -4
  135. package/cdn/components/tag/tag.js +5 -5
  136. package/cdn/components/time-panel/time-panel.component.js +5 -5
  137. package/cdn/components/time-panel/time-panel.js +5 -5
  138. package/cdn/components/timepicker/timepicker.component.js +11 -11
  139. package/cdn/components/timepicker/timepicker.js +11 -11
  140. package/cdn/components/tooltip/tooltip.component.js +4 -4
  141. package/cdn/components/tooltip/tooltip.js +5 -5
  142. package/cdn/components/tree/tree.component.js +8 -8
  143. package/cdn/components/tree/tree.js +9 -9
  144. package/cdn/components/tree-item/tree-item.component.js +6 -6
  145. package/cdn/components/tree-item/tree-item.js +7 -7
  146. package/cdn/custom-elements.json +3229 -3229
  147. package/cdn/react/alert/index.js +5 -5
  148. package/cdn/react/button/index.js +5 -5
  149. package/cdn/react/carousel/index.js +5 -5
  150. package/cdn/react/checkbox/index.js +3 -3
  151. package/cdn/react/color-picker/index.js +11 -11
  152. package/cdn/react/copy-button/index.js +6 -6
  153. package/cdn/react/date-panel/index.js +9 -9
  154. package/cdn/react/datepicker/index.js +12 -12
  155. package/cdn/react/details/index.js +4 -4
  156. package/cdn/react/dialog/index.js +5 -5
  157. package/cdn/react/drawer/index.js +5 -5
  158. package/cdn/react/dropdown/index.js +6 -6
  159. package/cdn/react/image-comparer/index.js +4 -4
  160. package/cdn/react/index.js +129 -129
  161. package/cdn/react/input/index.js +5 -5
  162. package/cdn/react/menu-item/index.js +6 -6
  163. package/cdn/react/nav-submenu/index.js +5 -5
  164. package/cdn/react/option/index.js +4 -4
  165. package/cdn/react/pagination/index.js +7 -7
  166. package/cdn/react/popup/index.js +4 -4
  167. package/cdn/react/progress-bar/index.js +5 -5
  168. package/cdn/react/range/index.js +5 -5
  169. package/cdn/react/rating/index.js +4 -4
  170. package/cdn/react/select/index.js +7 -7
  171. package/cdn/react/split-panel/index.js +3 -3
  172. package/cdn/react/tab/index.js +5 -5
  173. package/cdn/react/tab-group/index.js +5 -5
  174. package/cdn/react/table/index.js +19 -19
  175. package/cdn/react/tag/index.js +5 -5
  176. package/cdn/react/timepicker/index.js +12 -12
  177. package/cdn/react/tooltip/index.js +5 -5
  178. package/cdn/react/tree/index.js +9 -9
  179. package/cdn/react/tree-item/index.js +7 -7
  180. package/cdn/shoelace.js +121 -121
  181. package/cdn/types/vue/index.d.ts +339 -339
  182. package/cdn/vscode.html-custom-data.json +330 -330
  183. package/cdn/web-types.json +895 -895
  184. package/dist/chunks/{chunk.4CT6MODQ.js → chunk.3O2ZAWRN.js} +1 -1
  185. package/dist/chunks/{chunk.L66OLHOJ.js → chunk.65SWTFEH.js} +5 -5
  186. package/dist/chunks/{chunk.63VCQTIT.js → chunk.6K3SBMWI.js} +1 -1
  187. package/dist/chunks/{chunk.32RC4SMF.js → chunk.7DRTYVWG.js} +1 -1
  188. package/{cdn/chunks/chunk.ICYZ3ZRB.js → dist/chunks/chunk.AA6JYI52.js} +1 -1
  189. package/dist/chunks/{chunk.566V5ODQ.js → chunk.B36WUI3P.js} +1 -1
  190. package/dist/chunks/{chunk.INPXNEHC.js → chunk.BEAXM65Y.js} +1 -1
  191. package/{cdn/chunks/chunk.B4DQB52P.js → dist/chunks/chunk.BGAOXRYS.js} +1 -1
  192. package/dist/chunks/{chunk.3VZ7XFPS.js → chunk.C3IQZ3QU.js} +1 -1
  193. package/{cdn/chunks/chunk.4DLZFMRP.js → dist/chunks/chunk.D2HTCBDV.js} +1 -1
  194. package/dist/chunks/{chunk.ZDLGREW3.js → chunk.DDQ2YNYS.js} +1 -1
  195. package/{cdn/chunks/chunk.3AZELGZB.js → dist/chunks/chunk.DFM5TOGZ.js} +1 -1
  196. package/{cdn/chunks/chunk.FR2NJBAW.js → dist/chunks/chunk.DNWIIWHB.js} +1 -1
  197. package/{cdn/chunks/chunk.ZN7RVCVV.js → dist/chunks/chunk.EE7OR5ZV.js} +1 -1
  198. package/dist/chunks/{chunk.TGDPJA5Z.js → chunk.EW3SB3JX.js} +1 -1
  199. package/dist/chunks/{chunk.TA3UWWM6.js → chunk.FGGHZJHD.js} +1 -1
  200. package/{cdn/chunks/chunk.6EIVSMAA.js → dist/chunks/chunk.FH6HU3TJ.js} +1 -1
  201. package/dist/chunks/{chunk.B3BZRK7H.js → chunk.FHZLYJ7H.js} +1 -1
  202. package/dist/chunks/{chunk.XXPEI6S4.js → chunk.FIVKTUOJ.js} +2 -1
  203. package/dist/chunks/{chunk.BSY4RDX2.js → chunk.HSDGB6VT.js} +1 -1
  204. package/dist/chunks/{chunk.6C4YL2CP.js → chunk.ISXBJOWZ.js} +6 -6
  205. package/dist/chunks/{chunk.5TQ5K66H.js → chunk.JGVFJLYW.js} +1 -1
  206. package/{cdn/chunks/chunk.D2BCJUHY.js → dist/chunks/chunk.JOXCBGLB.js} +1 -1
  207. package/dist/chunks/{chunk.CKWTFK3H.js → chunk.K7LDLQY6.js} +1 -1
  208. package/{cdn/chunks/chunk.AU2R525E.js → dist/chunks/chunk.KOJOKR3G.js} +1 -1
  209. package/dist/chunks/{chunk.K7RC3PY7.js → chunk.M7SY65QP.js} +1 -1
  210. package/{cdn/chunks/chunk.JM7BKSZG.js → dist/chunks/chunk.MQTZGVQC.js} +1 -1
  211. package/dist/chunks/{chunk.UL7KBIXX.js → chunk.MWEQR4PV.js} +1 -1
  212. package/{cdn/chunks/chunk.AGYFIM4Q.js → dist/chunks/chunk.MWZE6QFU.js} +1 -1
  213. package/dist/chunks/{chunk.6U7F7URL.js → chunk.OQMSL7DX.js} +1 -1
  214. package/{cdn/chunks/chunk.GJYIQ2J2.js → dist/chunks/chunk.ORWUGWZH.js} +1 -1
  215. package/dist/chunks/{chunk.I6Q32ZWP.js → chunk.PBPPZ2MK.js} +5 -5
  216. package/dist/chunks/{chunk.JTFYAKXQ.js → chunk.PJSMHPAF.js} +1 -1
  217. package/dist/chunks/{chunk.2TO4Y66B.js → chunk.PRGGJCNJ.js} +1 -1
  218. package/{cdn/chunks/chunk.B7G2OHZ4.js → dist/chunks/chunk.QUEVSO7U.js} +1 -1
  219. package/dist/chunks/{chunk.5TKWYUQS.js → chunk.RVED3QP3.js} +1 -1
  220. package/dist/chunks/{chunk.JQV37LH6.js → chunk.RZIN3JXU.js} +1 -1
  221. package/dist/chunks/{chunk.BDOFPKDT.js → chunk.T2JSCPSE.js} +1 -1
  222. package/dist/chunks/{chunk.A5R6GFQO.js → chunk.TB3SF74U.js} +3 -3
  223. package/dist/chunks/{chunk.3UQAMROW.js → chunk.TY7ZAVOX.js} +2 -2
  224. package/{cdn/chunks/chunk.OB65AD3O.js → dist/chunks/chunk.W6JUTZTP.js} +1 -1
  225. package/dist/components/alert/alert.component.js +2 -2
  226. package/dist/components/alert/alert.js +3 -3
  227. package/dist/components/button/button.component.js +2 -2
  228. package/dist/components/button/button.js +3 -3
  229. package/dist/components/calendar/calendar.component.js +4 -4
  230. package/dist/components/calendar/calendar.js +4 -4
  231. package/dist/components/carousel/carousel.component.js +2 -2
  232. package/dist/components/carousel/carousel.js +3 -3
  233. package/dist/components/checkbox/checkbox.component.js +2 -2
  234. package/dist/components/checkbox/checkbox.js +3 -3
  235. package/dist/components/color-picker/color-picker.component.js +6 -6
  236. package/dist/components/color-picker/color-picker.js +7 -7
  237. package/dist/components/date-panel/date-panel.component.js +6 -6
  238. package/dist/components/date-panel/date-panel.js +6 -6
  239. package/dist/components/datepicker/datepicker.component.js +8 -8
  240. package/dist/components/datepicker/datepicker.js +8 -8
  241. package/dist/components/dialog/dialog.component.js +2 -2
  242. package/dist/components/dialog/dialog.js +3 -3
  243. package/dist/components/drawer/drawer.component.js +2 -2
  244. package/dist/components/drawer/drawer.js +3 -3
  245. package/dist/components/input/input.component.js +2 -2
  246. package/dist/components/input/input.js +3 -3
  247. package/dist/components/menu-item/menu-item.component.js +2 -2
  248. package/dist/components/menu-item/menu-item.js +3 -3
  249. package/dist/components/pagination/custom-select.js +3 -3
  250. package/dist/components/pagination/pagination.component.js +3 -3
  251. package/dist/components/pagination/pagination.js +3 -3
  252. package/dist/components/range/range.component.js +2 -2
  253. package/dist/components/range/range.js +3 -3
  254. package/dist/components/select/select.component.js +2 -2
  255. package/dist/components/select/select.js +3 -3
  256. package/dist/components/table/head-table.js +8 -8
  257. package/dist/components/table/table.component.js +11 -11
  258. package/dist/components/table/table.js +12 -12
  259. package/dist/components/time-panel/time-panel.component.js +3 -3
  260. package/dist/components/time-panel/time-panel.js +3 -3
  261. package/dist/components/timepicker/timepicker.component.js +8 -8
  262. package/dist/components/timepicker/timepicker.js +8 -8
  263. package/dist/components/tree/tree.component.js +6 -6
  264. package/dist/components/tree/tree.js +7 -7
  265. package/dist/components/tree-item/tree-item.component.js +4 -4
  266. package/dist/components/tree-item/tree-item.js +5 -5
  267. package/dist/custom-elements.json +3229 -3229
  268. package/dist/react/alert/index.js +3 -3
  269. package/dist/react/button/index.js +3 -3
  270. package/dist/react/carousel/index.js +3 -3
  271. package/dist/react/checkbox/index.js +3 -3
  272. package/dist/react/color-picker/index.js +7 -7
  273. package/dist/react/date-panel/index.js +7 -7
  274. package/dist/react/datepicker/index.js +9 -9
  275. package/dist/react/dialog/index.js +3 -3
  276. package/dist/react/drawer/index.js +3 -3
  277. package/dist/react/index.js +105 -105
  278. package/dist/react/input/index.js +3 -3
  279. package/dist/react/menu-item/index.js +3 -3
  280. package/dist/react/pagination/index.js +3 -3
  281. package/dist/react/range/index.js +3 -3
  282. package/dist/react/select/index.js +3 -3
  283. package/dist/react/table/index.js +12 -12
  284. package/dist/react/timepicker/index.js +9 -9
  285. package/dist/react/tree/index.js +7 -7
  286. package/dist/react/tree-item/index.js +5 -5
  287. package/dist/shoelace.js +99 -99
  288. package/dist/types/vue/index.d.ts +339 -339
  289. package/dist/vscode.html-custom-data.json +330 -330
  290. package/dist/web-types.json +895 -895
  291. package/package.json +2 -2
  292. package/cdn/chunks/{chunk.U4ET44SL.js → chunk.33HCVHKR.js} +3 -3
  293. package/cdn/chunks/{chunk.U3HJITZ6.js → chunk.4XZRAY4I.js} +3 -3
  294. package/cdn/chunks/{chunk.HHBZDFH4.js → chunk.5TSM4VI7.js} +3 -3
  295. package/cdn/chunks/{chunk.RK2BVAV5.js → chunk.62BUAYEN.js} +3 -3
  296. package/cdn/chunks/{chunk.I56KGWR2.js → chunk.ED24VHRA.js} +6 -6
  297. package/cdn/chunks/{chunk.D6F22637.js → chunk.FQCV7DYK.js} +3 -3
  298. package/cdn/chunks/{chunk.Q4LMKXFG.js → chunk.K56PLL3U.js} +3 -3
  299. package/cdn/chunks/{chunk.CBMCIPXG.js → chunk.NHTFPAPK.js} +3 -3
  300. package/cdn/chunks/{chunk.LC3BU3MO.js → chunk.OFZH2C6Q.js} +3 -3
  301. package/cdn/chunks/{chunk.RBSOA6OJ.js → chunk.OQC5PZVQ.js} +3 -3
  302. package/cdn/chunks/{chunk.YKDBXRCU.js → chunk.P6XVSHPE.js} +3 -3
  303. package/cdn/chunks/{chunk.2MTL3FGH.js → chunk.PQV3XRTK.js} +3 -3
  304. package/cdn/chunks/{chunk.MWWXGSIA.js → chunk.TH32XAJZ.js} +3 -3
  305. package/cdn/chunks/{chunk.3F6V74NZ.js → chunk.UKKAD4IJ.js} +3 -3
  306. package/cdn/chunks/{chunk.PKX6PMAZ.js → chunk.UW7KXJNU.js} +3 -3
  307. package/cdn/chunks/{chunk.KKFPVTXK.js → chunk.VJEWHPOO.js} +3 -3
  308. package/cdn/chunks/{chunk.PGAKPN6W.js → chunk.WACRJU63.js} +3 -3
  309. package/cdn/chunks/{chunk.QYQHEP6I.js → chunk.XSHHGP57.js} +3 -3
  310. package/dist/chunks/{chunk.6SWYT4LZ.js → chunk.7ZP7HD7M.js} +3 -3
  311. package/dist/chunks/{chunk.63HBHPPT.js → chunk.A7XGUTBO.js} +3 -3
  312. package/dist/chunks/{chunk.XEYCIKBS.js → chunk.BGV3JLGD.js} +3 -3
  313. package/dist/chunks/{chunk.VUQZGD6T.js → chunk.CIJACHTX.js} +3 -3
  314. package/dist/chunks/{chunk.AFRCZNXR.js → chunk.IPQGRX5Y.js} +3 -3
  315. package/dist/chunks/{chunk.STEKEZUP.js → chunk.LKQY7XWY.js} +3 -3
  316. package/dist/chunks/{chunk.AXO7GIM3.js → chunk.N6YBAJST.js} +3 -3
  317. package/dist/chunks/{chunk.DVJWPRKF.js → chunk.S632BJPH.js} +3 -3
  318. package/dist/chunks/{chunk.IBPTWAHN.js → chunk.SVREM4GW.js} +3 -3
  319. package/dist/chunks/{chunk.XRQEVVQK.js → chunk.UOQLVORX.js} +3 -3
@@ -6,114 +6,6 @@
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
- {
10
- "name": "sl-alert",
11
- "description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **sl-show** - Emitted when the alert opens.\n- **sl-after-show** - Emitted after the alert opens and all animations are complete.\n- **sl-hide** - Emitted when the alert closes.\n- **sl-after-hide** - Emitted after the alert closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the alert.\n- **hide()** - Hides the alert\n- **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.\n\n### **Slots:**\n - _default_ - The alert's main content.\n- **icon** - An icon to show in the alert. Works best with `<sl-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the optional icon.\n- **message** - The container that wraps the alert's main content.\n- **close-button** - The close button, an `<sl-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
12
- "doc-url": "",
13
- "attributes": [
14
- {
15
- "name": "open",
16
- "description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
17
- "value": { "type": "boolean", "default": "false" }
18
- },
19
- {
20
- "name": "closable",
21
- "description": "Enables a close button that allows the user to dismiss the alert.",
22
- "value": { "type": "boolean", "default": "false" }
23
- },
24
- {
25
- "name": "variant",
26
- "description": "The alert's theme variant.",
27
- "value": {
28
- "type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger'",
29
- "default": "'primary'"
30
- }
31
- },
32
- {
33
- "name": "duration",
34
- "description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own.",
35
- "value": { "type": "string", "default": "Infinity" }
36
- },
37
- {
38
- "name": "countdown",
39
- "description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
40
- "value": { "type": "'rtl' | 'ltr' | undefined" }
41
- }
42
- ],
43
- "slots": [
44
- { "name": "", "description": "The alert's main content." },
45
- {
46
- "name": "icon",
47
- "description": "An icon to show in the alert. Works best with `<sl-icon>`."
48
- }
49
- ],
50
- "events": [
51
- {
52
- "name": "sl-show",
53
- "description": "Emitted when the alert opens."
54
- },
55
- {
56
- "name": "sl-after-show",
57
- "description": "Emitted after the alert opens and all animations are complete."
58
- },
59
- {
60
- "name": "sl-hide",
61
- "description": "Emitted when the alert closes."
62
- },
63
- {
64
- "name": "sl-after-hide",
65
- "description": "Emitted after the alert closes and all animations are complete."
66
- }
67
- ],
68
- "js": {
69
- "properties": [
70
- { "name": "base", "type": "HTMLElement" },
71
- { "name": "countdownElement", "type": "HTMLElement" },
72
- {
73
- "name": "open",
74
- "description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
75
- "type": "boolean"
76
- },
77
- {
78
- "name": "closable",
79
- "description": "Enables a close button that allows the user to dismiss the alert.",
80
- "type": "boolean"
81
- },
82
- {
83
- "name": "variant",
84
- "description": "The alert's theme variant.",
85
- "type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger'"
86
- },
87
- {
88
- "name": "duration",
89
- "description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own."
90
- },
91
- {
92
- "name": "countdown",
93
- "description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
94
- "type": "'rtl' | 'ltr' | undefined"
95
- }
96
- ],
97
- "events": [
98
- {
99
- "name": "sl-show",
100
- "description": "Emitted when the alert opens."
101
- },
102
- {
103
- "name": "sl-after-show",
104
- "description": "Emitted after the alert opens and all animations are complete."
105
- },
106
- {
107
- "name": "sl-hide",
108
- "description": "Emitted when the alert closes."
109
- },
110
- {
111
- "name": "sl-after-hide",
112
- "description": "Emitted after the alert closes and all animations are complete."
113
- }
114
- ]
115
- }
116
- },
117
9
  {
118
10
  "name": "sl-animated-image",
119
11
  "description": "A component for displaying animated GIFs and WEBPs that play and pause on interaction.\n---\n\n\n### **Events:**\n - **sl-load** - Emitted when the image loads successfully.\n- **sl-error** - Emitted when the image fails to load.\n\n### **Slots:**\n - **play-icon** - Optional play icon to use instead of the default. Works best with `<sl-icon>`.\n- **pause-icon** - Optional pause icon to use instead of the default. Works best with `<sl-icon>`.\n\n### **CSS Properties:**\n - **--control-box-size** - The size of the icon box. _(default: undefined)_\n- **--icon-size** - The size of the play/pause icons. _(default: undefined)_\n\n### **CSS Parts:**\n - **control-box** - The container that surrounds the pause/play icons and provides their background.",
@@ -188,6 +80,88 @@
188
80
  ]
189
81
  }
190
82
  },
83
+ {
84
+ "name": "sl-avatar",
85
+ "description": "Avatars are used to represent a person or object.\n---\n\n\n### **Events:**\n - **sl-error** - The image could not be loaded. This may because of an invalid URL, a temporary network condition, or some unknown cause.\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<sl-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
86
+ "doc-url": "",
87
+ "attributes": [
88
+ {
89
+ "name": "image",
90
+ "description": "The image source to use for the avatar.",
91
+ "value": { "type": "string", "default": "''" }
92
+ },
93
+ {
94
+ "name": "label",
95
+ "description": "A label to use to describe the avatar to assistive devices.",
96
+ "value": { "type": "string", "default": "''" }
97
+ },
98
+ {
99
+ "name": "initials",
100
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
101
+ "value": { "type": "string", "default": "''" }
102
+ },
103
+ {
104
+ "name": "loading",
105
+ "description": "Indicates how the browser should load the image.",
106
+ "value": { "type": "'eager' | 'lazy'", "default": "'eager'" }
107
+ },
108
+ {
109
+ "name": "shape",
110
+ "description": "The shape of the avatar.",
111
+ "value": {
112
+ "type": "'circle' | 'square' | 'rounded'",
113
+ "default": "'circle'"
114
+ }
115
+ }
116
+ ],
117
+ "slots": [
118
+ {
119
+ "name": "icon",
120
+ "description": "The default icon to use when no image or initials are present. Works best with `<sl-icon>`."
121
+ }
122
+ ],
123
+ "events": [
124
+ {
125
+ "name": "sl-error",
126
+ "description": "The image could not be loaded. This may because of an invalid URL, a temporary network condition, or some unknown cause."
127
+ }
128
+ ],
129
+ "js": {
130
+ "properties": [
131
+ {
132
+ "name": "image",
133
+ "description": "The image source to use for the avatar.",
134
+ "type": "string"
135
+ },
136
+ {
137
+ "name": "label",
138
+ "description": "A label to use to describe the avatar to assistive devices.",
139
+ "type": "string"
140
+ },
141
+ {
142
+ "name": "initials",
143
+ "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
144
+ "type": "string"
145
+ },
146
+ {
147
+ "name": "loading",
148
+ "description": "Indicates how the browser should load the image.",
149
+ "type": "'eager' | 'lazy'"
150
+ },
151
+ {
152
+ "name": "shape",
153
+ "description": "The shape of the avatar.",
154
+ "type": "'circle' | 'square' | 'rounded'"
155
+ }
156
+ ],
157
+ "events": [
158
+ {
159
+ "name": "sl-error",
160
+ "description": "The image could not be loaded. This may because of an invalid URL, a temporary network condition, or some unknown cause."
161
+ }
162
+ ]
163
+ }
164
+ },
191
165
  {
192
166
  "name": "sl-animation",
193
167
  "description": "Animate elements declaratively with nearly 100 baked-in presets, or roll your own with custom keyframes. Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).\n---\n\n\n### **Events:**\n - **sl-cancel** - Emitted when the animation is canceled.\n- **sl-finish** - Emitted when the animation finishes.\n- **sl-start** - Emitted when the animation starts or restarts.\n\n### **Methods:**\n - **cancel()** - Clears all keyframe effects caused by this animation and aborts its playback.\n- **finish()** - Sets the playback time to the end of the animation corresponding to the current playback direction.\n\n### **Slots:**\n - _default_ - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple `<sl-animation>` elements.",
@@ -354,87 +328,148 @@
354
328
  }
355
329
  },
356
330
  {
357
- "name": "sl-avatar",
358
- "description": "Avatars are used to represent a person or object.\n---\n\n\n### **Events:**\n - **sl-error** - The image could not be loaded. This may because of an invalid URL, a temporary network condition, or some unknown cause.\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<sl-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
331
+ "name": "sl-alert",
332
+ "description": "Alerts are used to display important messages inline or as toast notifications.\n---\n\n\n### **Events:**\n - **sl-show** - Emitted when the alert opens.\n- **sl-after-show** - Emitted after the alert opens and all animations are complete.\n- **sl-hide** - Emitted when the alert closes.\n- **sl-after-hide** - Emitted after the alert closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the alert.\n- **hide()** - Hides the alert\n- **toast()** - Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\ndismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\ncalling this method again. The returned promise will resolve after the alert is hidden.\n\n### **Slots:**\n - _default_ - The alert's main content.\n- **icon** - An icon to show in the alert. Works best with `<sl-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the optional icon.\n- **message** - The container that wraps the alert's main content.\n- **close-button** - The close button, an `<sl-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
359
333
  "doc-url": "",
360
334
  "attributes": [
361
335
  {
362
- "name": "image",
363
- "description": "The image source to use for the avatar.",
364
- "value": { "type": "string", "default": "''" }
336
+ "name": "open",
337
+ "description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
338
+ "value": { "type": "boolean", "default": "false" }
365
339
  },
366
340
  {
367
- "name": "label",
368
- "description": "A label to use to describe the avatar to assistive devices.",
369
- "value": { "type": "string", "default": "''" }
341
+ "name": "closable",
342
+ "description": "Enables a close button that allows the user to dismiss the alert.",
343
+ "value": { "type": "boolean", "default": "false" }
370
344
  },
371
345
  {
372
- "name": "initials",
373
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
374
- "value": { "type": "string", "default": "''" }
346
+ "name": "variant",
347
+ "description": "The alert's theme variant.",
348
+ "value": {
349
+ "type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger'",
350
+ "default": "'primary'"
351
+ }
375
352
  },
376
353
  {
377
- "name": "loading",
378
- "description": "Indicates how the browser should load the image.",
379
- "value": { "type": "'eager' | 'lazy'", "default": "'eager'" }
354
+ "name": "duration",
355
+ "description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own.",
356
+ "value": { "type": "string", "default": "Infinity" }
380
357
  },
381
358
  {
382
- "name": "shape",
383
- "description": "The shape of the avatar.",
384
- "value": {
385
- "type": "'circle' | 'square' | 'rounded'",
386
- "default": "'circle'"
387
- }
359
+ "name": "countdown",
360
+ "description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
361
+ "value": { "type": "'rtl' | 'ltr' | undefined" }
388
362
  }
389
363
  ],
390
364
  "slots": [
365
+ { "name": "", "description": "The alert's main content." },
391
366
  {
392
367
  "name": "icon",
393
- "description": "The default icon to use when no image or initials are present. Works best with `<sl-icon>`."
368
+ "description": "An icon to show in the alert. Works best with `<sl-icon>`."
394
369
  }
395
370
  ],
396
371
  "events": [
397
372
  {
398
- "name": "sl-error",
399
- "description": "The image could not be loaded. This may because of an invalid URL, a temporary network condition, or some unknown cause."
373
+ "name": "sl-show",
374
+ "description": "Emitted when the alert opens."
375
+ },
376
+ {
377
+ "name": "sl-after-show",
378
+ "description": "Emitted after the alert opens and all animations are complete."
379
+ },
380
+ {
381
+ "name": "sl-hide",
382
+ "description": "Emitted when the alert closes."
383
+ },
384
+ {
385
+ "name": "sl-after-hide",
386
+ "description": "Emitted after the alert closes and all animations are complete."
400
387
  }
401
388
  ],
402
389
  "js": {
403
390
  "properties": [
391
+ { "name": "base", "type": "HTMLElement" },
392
+ { "name": "countdownElement", "type": "HTMLElement" },
404
393
  {
405
- "name": "image",
406
- "description": "The image source to use for the avatar.",
407
- "type": "string"
408
- },
409
- {
410
- "name": "label",
411
- "description": "A label to use to describe the avatar to assistive devices.",
412
- "type": "string"
394
+ "name": "open",
395
+ "description": "Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\nuse the `show()` and `hide()` methods and this attribute will reflect the alert's open state.",
396
+ "type": "boolean"
413
397
  },
414
398
  {
415
- "name": "initials",
416
- "description": "Initials to use as a fallback when no image is available (1-2 characters max recommended).",
417
- "type": "string"
399
+ "name": "closable",
400
+ "description": "Enables a close button that allows the user to dismiss the alert.",
401
+ "type": "boolean"
418
402
  },
419
403
  {
420
- "name": "loading",
421
- "description": "Indicates how the browser should load the image.",
422
- "type": "'eager' | 'lazy'"
404
+ "name": "variant",
405
+ "description": "The alert's theme variant.",
406
+ "type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger'"
423
407
  },
424
408
  {
425
- "name": "shape",
426
- "description": "The shape of the avatar.",
427
- "type": "'circle' | 'square' | 'rounded'"
409
+ "name": "duration",
410
+ "description": "The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\nthe alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\nthe alert will not close on its own."
411
+ },
412
+ {
413
+ "name": "countdown",
414
+ "description": "Enables a countdown that indicates the remaining time the alert will be displayed.\nTypically used to indicate the remaining time before a whole app refresh.",
415
+ "type": "'rtl' | 'ltr' | undefined"
428
416
  }
429
417
  ],
430
418
  "events": [
431
419
  {
432
- "name": "sl-error",
433
- "description": "The image could not be loaded. This may because of an invalid URL, a temporary network condition, or some unknown cause."
420
+ "name": "sl-show",
421
+ "description": "Emitted when the alert opens."
422
+ },
423
+ {
424
+ "name": "sl-after-show",
425
+ "description": "Emitted after the alert opens and all animations are complete."
426
+ },
427
+ {
428
+ "name": "sl-hide",
429
+ "description": "Emitted when the alert closes."
430
+ },
431
+ {
432
+ "name": "sl-after-hide",
433
+ "description": "Emitted after the alert closes and all animations are complete."
434
434
  }
435
435
  ]
436
436
  }
437
437
  },
438
+ {
439
+ "name": "sl-breadcrumb",
440
+ "description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n---\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<sl-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
441
+ "doc-url": "",
442
+ "attributes": [
443
+ {
444
+ "name": "label",
445
+ "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
446
+ "value": { "type": "string", "default": "''" }
447
+ }
448
+ ],
449
+ "slots": [
450
+ {
451
+ "name": "",
452
+ "description": "One or more breadcrumb items to display."
453
+ },
454
+ {
455
+ "name": "separator",
456
+ "description": "The separator to use between breadcrumb items. Works best with `<sl-icon>`."
457
+ }
458
+ ],
459
+ "events": [],
460
+ "js": {
461
+ "properties": [
462
+ { "name": "defaultSlot", "type": "HTMLSlotElement" },
463
+ { "name": "separatorSlot", "type": "HTMLSlotElement" },
464
+ {
465
+ "name": "label",
466
+ "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
467
+ "type": "string"
468
+ }
469
+ ],
470
+ "events": []
471
+ }
472
+ },
438
473
  {
439
474
  "name": "sl-badge",
440
475
  "description": "Badges are used to draw attention and display statuses or counts.\n---\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -483,34 +518,60 @@
483
518
  }
484
519
  },
485
520
  {
486
- "name": "sl-breadcrumb",
487
- "description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n---\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<sl-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
521
+ "name": "sl-breadcrumb-item",
522
+ "description": "Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n---\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<sl-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
488
523
  "doc-url": "",
489
524
  "attributes": [
490
525
  {
491
- "name": "label",
492
- "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
493
- "value": { "type": "string", "default": "''" }
526
+ "name": "href",
527
+ "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
528
+ "value": { "type": "string | undefined" }
529
+ },
530
+ {
531
+ "name": "target",
532
+ "description": "Tells the browser where to open the link. Only used when `href` is set.",
533
+ "value": {
534
+ "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
535
+ }
536
+ },
537
+ {
538
+ "name": "rel",
539
+ "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
540
+ "value": { "type": "string", "default": "'noreferrer noopener'" }
494
541
  }
495
542
  ],
496
543
  "slots": [
544
+ { "name": "", "description": "The breadcrumb item's label." },
497
545
  {
498
- "name": "",
499
- "description": "One or more breadcrumb items to display."
546
+ "name": "prefix",
547
+ "description": "An optional prefix, usually an icon or icon button."
548
+ },
549
+ {
550
+ "name": "suffix",
551
+ "description": "An optional suffix, usually an icon or icon button."
500
552
  },
501
553
  {
502
554
  "name": "separator",
503
- "description": "The separator to use between breadcrumb items. Works best with `<sl-icon>`."
555
+ "description": "The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<sl-breadcrumb>` instead."
504
556
  }
505
557
  ],
506
558
  "events": [],
507
559
  "js": {
508
560
  "properties": [
509
561
  { "name": "defaultSlot", "type": "HTMLSlotElement" },
510
- { "name": "separatorSlot", "type": "HTMLSlotElement" },
511
562
  {
512
- "name": "label",
513
- "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
563
+ "name": "href",
564
+ "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
565
+ "type": "string | undefined"
566
+ },
567
+ {
568
+ "name": "target",
569
+ "description": "Tells the browser where to open the link. Only used when `href` is set.",
570
+ "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
571
+ },
572
+ {
573
+ "name": "rel",
574
+ "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
514
575
  "type": "string"
515
576
  }
516
577
  ],
@@ -805,67 +866,6 @@
805
866
  ]
806
867
  }
807
868
  },
808
- {
809
- "name": "sl-breadcrumb-item",
810
- "description": "Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n---\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<sl-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
811
- "doc-url": "",
812
- "attributes": [
813
- {
814
- "name": "href",
815
- "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
816
- "value": { "type": "string | undefined" }
817
- },
818
- {
819
- "name": "target",
820
- "description": "Tells the browser where to open the link. Only used when `href` is set.",
821
- "value": {
822
- "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
823
- }
824
- },
825
- {
826
- "name": "rel",
827
- "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
828
- "value": { "type": "string", "default": "'noreferrer noopener'" }
829
- }
830
- ],
831
- "slots": [
832
- { "name": "", "description": "The breadcrumb item's label." },
833
- {
834
- "name": "prefix",
835
- "description": "An optional prefix, usually an icon or icon button."
836
- },
837
- {
838
- "name": "suffix",
839
- "description": "An optional suffix, usually an icon or icon button."
840
- },
841
- {
842
- "name": "separator",
843
- "description": "The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<sl-breadcrumb>` instead."
844
- }
845
- ],
846
- "events": [],
847
- "js": {
848
- "properties": [
849
- { "name": "defaultSlot", "type": "HTMLSlotElement" },
850
- {
851
- "name": "href",
852
- "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
853
- "type": "string | undefined"
854
- },
855
- {
856
- "name": "target",
857
- "description": "Tells the browser where to open the link. Only used when `href` is set.",
858
- "type": "'_blank' | '_parent' | '_self' | '_top' | undefined"
859
- },
860
- {
861
- "name": "rel",
862
- "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
863
- "type": "string"
864
- }
865
- ],
866
- "events": []
867
- }
868
- },
869
869
  {
870
870
  "name": "sl-button-group",
871
871
  "description": "Button groups can be used to group related buttons into sections.\n---\n\n\n### **Slots:**\n - _default_ - One or more `<sl-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -897,6 +897,29 @@
897
897
  "events": []
898
898
  }
899
899
  },
900
+ {
901
+ "name": "sl-card",
902
+ "description": "Cards can be used to group related subjects in a container.\n---\n\n\n### **Slots:**\n - _default_ - The card's main content.\n- **header** - An optional header for the card.\n- **footer** - An optional footer for the card.\n- **image** - An optional image to render at the start of the card.\n\n### **CSS Properties:**\n - **--border-color** - The card's border color, including borders that occur inside the card. _(default: undefined)_\n- **--border-radius** - The border radius for the card's edges. _(default: undefined)_\n- **--border-width** - The width of the card's borders. _(default: undefined)_\n- **--padding** - The padding to use for the card's sections. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **image** - The container that wraps the card's image.\n- **header** - The container that wraps the card's header.\n- **body** - The container that wraps the card's main content.\n- **footer** - The container that wraps the card's footer.",
903
+ "doc-url": "",
904
+ "attributes": [],
905
+ "slots": [
906
+ { "name": "", "description": "The card's main content." },
907
+ {
908
+ "name": "header",
909
+ "description": "An optional header for the card."
910
+ },
911
+ {
912
+ "name": "footer",
913
+ "description": "An optional footer for the card."
914
+ },
915
+ {
916
+ "name": "image",
917
+ "description": "An optional image to render at the start of the card."
918
+ }
919
+ ],
920
+ "events": [],
921
+ "js": { "properties": [], "events": [] }
922
+ },
900
923
  {
901
924
  "name": "sl-carousel",
902
925
  "description": "Carousels display an arbitrary number of content slides along a horizontal or vertical axis.\n---\n\n\n### **Events:**\n - **sl-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sl-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sl-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sl-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--aspect-ratio** - The aspect ratio of each slide. _(default: 16/9)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **pagination** - The pagination indicators wrapper.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.",
@@ -1034,29 +1057,6 @@
1034
1057
  ]
1035
1058
  }
1036
1059
  },
1037
- {
1038
- "name": "sl-card",
1039
- "description": "Cards can be used to group related subjects in a container.\n---\n\n\n### **Slots:**\n - _default_ - The card's main content.\n- **header** - An optional header for the card.\n- **footer** - An optional footer for the card.\n- **image** - An optional image to render at the start of the card.\n\n### **CSS Properties:**\n - **--border-color** - The card's border color, including borders that occur inside the card. _(default: undefined)_\n- **--border-radius** - The border radius for the card's edges. _(default: undefined)_\n- **--border-width** - The width of the card's borders. _(default: undefined)_\n- **--padding** - The padding to use for the card's sections. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **image** - The container that wraps the card's image.\n- **header** - The container that wraps the card's header.\n- **body** - The container that wraps the card's main content.\n- **footer** - The container that wraps the card's footer.",
1040
- "doc-url": "",
1041
- "attributes": [],
1042
- "slots": [
1043
- { "name": "", "description": "The card's main content." },
1044
- {
1045
- "name": "header",
1046
- "description": "An optional header for the card."
1047
- },
1048
- {
1049
- "name": "footer",
1050
- "description": "An optional footer for the card."
1051
- },
1052
- {
1053
- "name": "image",
1054
- "description": "An optional image to render at the start of the card."
1055
- }
1056
- ],
1057
- "events": [],
1058
- "js": { "properties": [], "events": [] }
1059
- },
1060
1060
  {
1061
1061
  "name": "sl-carousel-item",
1062
1062
  "description": "A carousel item represent a slide within a [carousel](/components/carousel).\n---\n\n\n### **Slots:**\n - _default_ - The carousel item's content..\n\n### **CSS Properties:**\n - **--aspect-ratio** - The slide's aspect ratio. Inherited from the carousel by default. _(default: undefined)_",
@@ -1069,76 +1069,44 @@
1069
1069
  "js": { "properties": [], "events": [] }
1070
1070
  },
1071
1071
  {
1072
- "name": "sl-color-picker",
1073
- "description": "Color pickers allow the user to select a color.\n---\n\n\n### **Events:**\n - **sl-blur** - Emitted when the color picker loses focus.\n- **sl-change** - Emitted when the color picker's value changes.\n- **sl-focus** - Emitted when the color picker receives focus.\n- **sl-input** - Emitted when the color picker receives input.\n- **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the color picker.\n- **blur()** - Removes focus from the color picker.\n- **getFormattedValue(format: _'hex' | 'hexa' | 'rgb' | 'rgba' | 'hsl' | 'hsla' | 'hsv' | 'hsva'_)** - Returns the current value as a string in the specified format.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The color picker's form label. Alternatively, you can use the `label` attribute.\n\n### **CSS Properties:**\n - **--grid-width** - The width of the color grid. _(default: undefined)_\n- **--grid-height** - The height of the color grid. _(default: undefined)_\n- **--grid-handle-size** - The size of the color grid's handle. _(default: undefined)_\n- **--slider-height** - The height of the hue and alpha sliders. _(default: undefined)_\n- **--slider-handle-size** - The diameter of the slider's handle. _(default: undefined)_\n- **--swatch-size** - The size of each predefined color swatch. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The color picker's dropdown trigger.\n- **swatches** - The container that holds the swatches.\n- **swatch** - Each individual swatch.\n- **grid** - The color grid.\n- **grid-handle** - The color grid's handle.\n- **slider** - Hue and opacity sliders.\n- **slider-handle** - Hue and opacity slider handles.\n- **hue-slider** - The hue slider.\n- **hue-slider-handle** - The hue slider's handle.\n- **opacity-slider** - The opacity slider.\n- **opacity-slider-handle** - The opacity slider's handle.\n- **preview** - The preview color.\n- **input** - The text input.\n- **eye-dropper-button** - The eye dropper button.\n- **eye-dropper-button__base** - The eye dropper button's exported `button` part.\n- **eye-dropper-button__prefix** - The eye dropper button's exported `prefix` part.\n- **eye-dropper-button__label** - The eye dropper button's exported `label` part.\n- **eye-dropper-button__suffix** - The eye dropper button's exported `suffix` part.\n- **eye-dropper-button__caret** - The eye dropper button's exported `caret` part.\n- **format-button** - The format button.\n- **format-button__base** - The format button's exported `button` part.\n- **format-button__prefix** - The format button's exported `prefix` part.\n- **format-button__label** - The format button's exported `label` part.\n- **format-button__suffix** - The format button's exported `suffix` part.\n- **format-button__caret** - The format button's exported `caret` part.",
1072
+ "name": "sl-checkbox",
1073
+ "description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sl-blur** - Emitted when the checkbox loses focus.\n- **sl-change** - Emitted when the checked state changes.\n- **sl-focus** - Emitted when the checkbox gains focus.\n- **sl-input** - Emitted when the checkbox receives input.\n- **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **help-text** - Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sl-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sl-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **form-control-help-text** - The help text's wrapper.",
1074
1074
  "doc-url": "",
1075
1075
  "attributes": [
1076
+ { "name": "title", "value": { "type": "string", "default": "''" } },
1076
1077
  {
1077
- "name": "value",
1078
- "description": "The current value of the color picker. The value's format will vary based the `format` attribute. To get the value\nin a specific format, use the `getFormattedValue()` method. The value is submitted as a name/value pair with form\ndata.",
1079
- "value": { "type": "string", "default": "''" }
1080
- },
1081
- {
1082
- "name": "label",
1083
- "description": "The color picker's label. This will not be displayed, but it will be announced by assistive devices. If you need to\ndisplay HTML, you can use the `label` slot` instead.",
1078
+ "name": "name",
1079
+ "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1084
1080
  "value": { "type": "string", "default": "''" }
1085
1081
  },
1086
1082
  {
1087
- "name": "format",
1088
- "description": "The format to use. If opacity is enabled, these will translate to HEXA, RGBA, HSLA, and HSVA respectively. The color\npicker will accept user input in any format (including CSS color names) and convert it to the desired format.",
1089
- "value": {
1090
- "type": "'hex' | 'rgb' | 'hsl' | 'hsv'",
1091
- "default": "'hex'"
1092
- }
1093
- },
1094
- {
1095
- "name": "inline",
1096
- "description": "Renders the color picker inline rather than in a dropdown.",
1097
- "value": { "type": "boolean", "default": "false" }
1083
+ "name": "value",
1084
+ "description": "The current value of the checkbox, submitted as a name/value pair with form data.",
1085
+ "value": { "type": "string" }
1098
1086
  },
1099
1087
  {
1100
1088
  "name": "size",
1101
- "description": "Determines the size of the color picker's trigger. This has no effect on inline color pickers.",
1089
+ "description": "The checkbox's size.",
1102
1090
  "value": {
1103
1091
  "type": "'small' | 'medium' | 'large'",
1104
1092
  "default": "'medium'"
1105
1093
  }
1106
1094
  },
1107
- {
1108
- "name": "no-format-toggle",
1109
- "description": "Removes the button that lets users toggle between format.",
1110
- "value": { "type": "boolean", "default": "false" }
1111
- },
1112
- {
1113
- "name": "name",
1114
- "description": "The name of the form control, submitted as a name/value pair with form data.",
1115
- "value": { "type": "string", "default": "''" }
1116
- },
1117
1095
  {
1118
1096
  "name": "disabled",
1119
- "description": "Disables the color picker.",
1120
- "value": { "type": "boolean", "default": "false" }
1121
- },
1122
- {
1123
- "name": "hoist",
1124
- "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
1097
+ "description": "Disables the checkbox.",
1125
1098
  "value": { "type": "boolean", "default": "false" }
1126
1099
  },
1127
1100
  {
1128
- "name": "opacity",
1129
- "description": "Shows the opacity slider. Enabling this will cause the formatted value to be HEXA, RGBA, or HSLA.",
1101
+ "name": "checked",
1102
+ "description": "Draws the checkbox in a checked state.",
1130
1103
  "value": { "type": "boolean", "default": "false" }
1131
1104
  },
1132
1105
  {
1133
- "name": "uppercase",
1134
- "description": "By default, values are lowercase. With this attribute, values will be uppercase instead.",
1106
+ "name": "indeterminate",
1107
+ "description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
1135
1108
  "value": { "type": "boolean", "default": "false" }
1136
1109
  },
1137
- {
1138
- "name": "swatches",
1139
- "description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
1140
- "value": { "type": "string | string[]", "default": "''" }
1141
- },
1142
1110
  {
1143
1111
  "name": "form",
1144
1112
  "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
@@ -1146,32 +1114,38 @@
1146
1114
  },
1147
1115
  {
1148
1116
  "name": "required",
1149
- "description": "Makes the color picker a required field.",
1117
+ "description": "Makes the checkbox a required field.",
1150
1118
  "value": { "type": "boolean", "default": "false" }
1119
+ },
1120
+ {
1121
+ "name": "help-text",
1122
+ "description": "The checkbox's help text. If you need to display HTML, use the `help-text` slot instead.",
1123
+ "value": { "type": "string", "default": "''" }
1151
1124
  }
1152
1125
  ],
1153
1126
  "slots": [
1127
+ { "name": "", "description": "The checkbox's label." },
1154
1128
  {
1155
- "name": "label",
1156
- "description": "The color picker's form label. Alternatively, you can use the `label` attribute."
1129
+ "name": "help-text",
1130
+ "description": "Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute."
1157
1131
  }
1158
1132
  ],
1159
1133
  "events": [
1160
1134
  {
1161
1135
  "name": "sl-blur",
1162
- "description": "Emitted when the color picker loses focus."
1136
+ "description": "Emitted when the checkbox loses focus."
1163
1137
  },
1164
1138
  {
1165
1139
  "name": "sl-change",
1166
- "description": "Emitted when the color picker's value changes."
1140
+ "description": "Emitted when the checked state changes."
1167
1141
  },
1168
1142
  {
1169
1143
  "name": "sl-focus",
1170
- "description": "Emitted when the color picker receives focus."
1144
+ "description": "Emitted when the checkbox gains focus."
1171
1145
  },
1172
1146
  {
1173
1147
  "name": "sl-input",
1174
- "description": "Emitted when the color picker receives input."
1148
+ "description": "Emitted when the checkbox receives input."
1175
1149
  },
1176
1150
  {
1177
1151
  "name": "sl-invalid",
@@ -1180,76 +1154,43 @@
1180
1154
  ],
1181
1155
  "js": {
1182
1156
  "properties": [
1183
- { "name": "base", "type": "HTMLElement" },
1184
- { "name": "input", "type": "SlInput" },
1185
- { "name": "dropdown", "type": "SlDropdown" },
1186
- { "name": "previewButton", "type": "HTMLButtonElement" },
1187
- { "name": "trigger", "type": "HTMLButtonElement" },
1188
- {
1189
- "name": "value",
1190
- "description": "The current value of the color picker. The value's format will vary based the `format` attribute. To get the value\nin a specific format, use the `getFormattedValue()` method. The value is submitted as a name/value pair with form\ndata.",
1191
- "type": "string"
1192
- },
1157
+ { "name": "input", "type": "HTMLInputElement" },
1158
+ { "name": "title", "type": "string" },
1193
1159
  {
1194
- "name": "defaultValue",
1195
- "description": "The default value of the form control. Primarily used for resetting the form control.",
1160
+ "name": "name",
1161
+ "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1196
1162
  "type": "string"
1197
1163
  },
1198
1164
  {
1199
- "name": "label",
1200
- "description": "The color picker's label. This will not be displayed, but it will be announced by assistive devices. If you need to\ndisplay HTML, you can use the `label` slot` instead.",
1165
+ "name": "value",
1166
+ "description": "The current value of the checkbox, submitted as a name/value pair with form data.",
1201
1167
  "type": "string"
1202
1168
  },
1203
- {
1204
- "name": "format",
1205
- "description": "The format to use. If opacity is enabled, these will translate to HEXA, RGBA, HSLA, and HSVA respectively. The color\npicker will accept user input in any format (including CSS color names) and convert it to the desired format.",
1206
- "type": "'hex' | 'rgb' | 'hsl' | 'hsv'"
1207
- },
1208
- {
1209
- "name": "inline",
1210
- "description": "Renders the color picker inline rather than in a dropdown.",
1211
- "type": "boolean"
1212
- },
1213
1169
  {
1214
1170
  "name": "size",
1215
- "description": "Determines the size of the color picker's trigger. This has no effect on inline color pickers.",
1171
+ "description": "The checkbox's size.",
1216
1172
  "type": "'small' | 'medium' | 'large'"
1217
1173
  },
1218
- {
1219
- "name": "noFormatToggle",
1220
- "description": "Removes the button that lets users toggle between format.",
1221
- "type": "boolean"
1222
- },
1223
- {
1224
- "name": "name",
1225
- "description": "The name of the form control, submitted as a name/value pair with form data.",
1226
- "type": "string"
1227
- },
1228
1174
  {
1229
1175
  "name": "disabled",
1230
- "description": "Disables the color picker.",
1176
+ "description": "Disables the checkbox.",
1231
1177
  "type": "boolean"
1232
1178
  },
1233
1179
  {
1234
- "name": "hoist",
1235
- "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
1180
+ "name": "checked",
1181
+ "description": "Draws the checkbox in a checked state.",
1236
1182
  "type": "boolean"
1237
1183
  },
1238
1184
  {
1239
- "name": "opacity",
1240
- "description": "Shows the opacity slider. Enabling this will cause the formatted value to be HEXA, RGBA, or HSLA.",
1185
+ "name": "indeterminate",
1186
+ "description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
1241
1187
  "type": "boolean"
1242
1188
  },
1243
1189
  {
1244
- "name": "uppercase",
1245
- "description": "By default, values are lowercase. With this attribute, values will be uppercase instead.",
1190
+ "name": "defaultChecked",
1191
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
1246
1192
  "type": "boolean"
1247
1193
  },
1248
- {
1249
- "name": "swatches",
1250
- "description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
1251
- "type": "string | string[]"
1252
- },
1253
1194
  {
1254
1195
  "name": "form",
1255
1196
  "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
@@ -1257,9 +1198,14 @@
1257
1198
  },
1258
1199
  {
1259
1200
  "name": "required",
1260
- "description": "Makes the color picker a required field.",
1201
+ "description": "Makes the checkbox a required field.",
1261
1202
  "type": "boolean"
1262
1203
  },
1204
+ {
1205
+ "name": "helpText",
1206
+ "description": "The checkbox's help text. If you need to display HTML, use the `help-text` slot instead.",
1207
+ "type": "string"
1208
+ },
1263
1209
  {
1264
1210
  "name": "validity",
1265
1211
  "description": "Gets the validity state object"
@@ -1272,19 +1218,19 @@
1272
1218
  "events": [
1273
1219
  {
1274
1220
  "name": "sl-blur",
1275
- "description": "Emitted when the color picker loses focus."
1221
+ "description": "Emitted when the checkbox loses focus."
1276
1222
  },
1277
1223
  {
1278
1224
  "name": "sl-change",
1279
- "description": "Emitted when the color picker's value changes."
1225
+ "description": "Emitted when the checked state changes."
1280
1226
  },
1281
1227
  {
1282
1228
  "name": "sl-focus",
1283
- "description": "Emitted when the color picker receives focus."
1229
+ "description": "Emitted when the checkbox gains focus."
1284
1230
  },
1285
1231
  {
1286
1232
  "name": "sl-input",
1287
- "description": "Emitted when the color picker receives input."
1233
+ "description": "Emitted when the checkbox receives input."
1288
1234
  },
1289
1235
  {
1290
1236
  "name": "sl-invalid",
@@ -1294,44 +1240,76 @@
1294
1240
  }
1295
1241
  },
1296
1242
  {
1297
- "name": "sl-checkbox",
1298
- "description": "Checkboxes allow the user to toggle an option on or off.\n---\n\n\n### **Events:**\n - **sl-blur** - Emitted when the checkbox loses focus.\n- **sl-change** - Emitted when the checked state changes.\n- **sl-focus** - Emitted when the checkbox gains focus.\n- **sl-input** - Emitted when the checkbox receives input.\n- **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n- **help-text** - Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sl-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sl-icon>` element.\n- **label** - The container that wraps the checkbox's label.\n- **form-control-help-text** - The help text's wrapper.",
1243
+ "name": "sl-color-picker",
1244
+ "description": "Color pickers allow the user to select a color.\n---\n\n\n### **Events:**\n - **sl-blur** - Emitted when the color picker loses focus.\n- **sl-change** - Emitted when the color picker's value changes.\n- **sl-focus** - Emitted when the color picker receives focus.\n- **sl-input** - Emitted when the color picker receives input.\n- **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the color picker.\n- **blur()** - Removes focus from the color picker.\n- **getFormattedValue(format: _'hex' | 'hexa' | 'rgb' | 'rgba' | 'hsl' | 'hsla' | 'hsv' | 'hsva'_)** - Returns the current value as a string in the specified format.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The color picker's form label. Alternatively, you can use the `label` attribute.\n\n### **CSS Properties:**\n - **--grid-width** - The width of the color grid. _(default: undefined)_\n- **--grid-height** - The height of the color grid. _(default: undefined)_\n- **--grid-handle-size** - The size of the color grid's handle. _(default: undefined)_\n- **--slider-height** - The height of the hue and alpha sliders. _(default: undefined)_\n- **--slider-handle-size** - The diameter of the slider's handle. _(default: undefined)_\n- **--swatch-size** - The size of each predefined color swatch. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The color picker's dropdown trigger.\n- **swatches** - The container that holds the swatches.\n- **swatch** - Each individual swatch.\n- **grid** - The color grid.\n- **grid-handle** - The color grid's handle.\n- **slider** - Hue and opacity sliders.\n- **slider-handle** - Hue and opacity slider handles.\n- **hue-slider** - The hue slider.\n- **hue-slider-handle** - The hue slider's handle.\n- **opacity-slider** - The opacity slider.\n- **opacity-slider-handle** - The opacity slider's handle.\n- **preview** - The preview color.\n- **input** - The text input.\n- **eye-dropper-button** - The eye dropper button.\n- **eye-dropper-button__base** - The eye dropper button's exported `button` part.\n- **eye-dropper-button__prefix** - The eye dropper button's exported `prefix` part.\n- **eye-dropper-button__label** - The eye dropper button's exported `label` part.\n- **eye-dropper-button__suffix** - The eye dropper button's exported `suffix` part.\n- **eye-dropper-button__caret** - The eye dropper button's exported `caret` part.\n- **format-button** - The format button.\n- **format-button__base** - The format button's exported `button` part.\n- **format-button__prefix** - The format button's exported `prefix` part.\n- **format-button__label** - The format button's exported `label` part.\n- **format-button__suffix** - The format button's exported `suffix` part.\n- **format-button__caret** - The format button's exported `caret` part.",
1299
1245
  "doc-url": "",
1300
1246
  "attributes": [
1301
- { "name": "title", "value": { "type": "string", "default": "''" } },
1302
1247
  {
1303
- "name": "name",
1304
- "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1248
+ "name": "value",
1249
+ "description": "The current value of the color picker. The value's format will vary based the `format` attribute. To get the value\nin a specific format, use the `getFormattedValue()` method. The value is submitted as a name/value pair with form\ndata.",
1305
1250
  "value": { "type": "string", "default": "''" }
1306
1251
  },
1307
1252
  {
1308
- "name": "value",
1309
- "description": "The current value of the checkbox, submitted as a name/value pair with form data.",
1310
- "value": { "type": "string" }
1253
+ "name": "label",
1254
+ "description": "The color picker's label. This will not be displayed, but it will be announced by assistive devices. If you need to\ndisplay HTML, you can use the `label` slot` instead.",
1255
+ "value": { "type": "string", "default": "''" }
1256
+ },
1257
+ {
1258
+ "name": "format",
1259
+ "description": "The format to use. If opacity is enabled, these will translate to HEXA, RGBA, HSLA, and HSVA respectively. The color\npicker will accept user input in any format (including CSS color names) and convert it to the desired format.",
1260
+ "value": {
1261
+ "type": "'hex' | 'rgb' | 'hsl' | 'hsv'",
1262
+ "default": "'hex'"
1263
+ }
1264
+ },
1265
+ {
1266
+ "name": "inline",
1267
+ "description": "Renders the color picker inline rather than in a dropdown.",
1268
+ "value": { "type": "boolean", "default": "false" }
1311
1269
  },
1312
1270
  {
1313
1271
  "name": "size",
1314
- "description": "The checkbox's size.",
1272
+ "description": "Determines the size of the color picker's trigger. This has no effect on inline color pickers.",
1315
1273
  "value": {
1316
1274
  "type": "'small' | 'medium' | 'large'",
1317
1275
  "default": "'medium'"
1318
1276
  }
1319
1277
  },
1278
+ {
1279
+ "name": "no-format-toggle",
1280
+ "description": "Removes the button that lets users toggle between format.",
1281
+ "value": { "type": "boolean", "default": "false" }
1282
+ },
1283
+ {
1284
+ "name": "name",
1285
+ "description": "The name of the form control, submitted as a name/value pair with form data.",
1286
+ "value": { "type": "string", "default": "''" }
1287
+ },
1320
1288
  {
1321
1289
  "name": "disabled",
1322
- "description": "Disables the checkbox.",
1290
+ "description": "Disables the color picker.",
1323
1291
  "value": { "type": "boolean", "default": "false" }
1324
1292
  },
1325
1293
  {
1326
- "name": "checked",
1327
- "description": "Draws the checkbox in a checked state.",
1294
+ "name": "hoist",
1295
+ "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
1328
1296
  "value": { "type": "boolean", "default": "false" }
1329
1297
  },
1330
1298
  {
1331
- "name": "indeterminate",
1332
- "description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
1299
+ "name": "opacity",
1300
+ "description": "Shows the opacity slider. Enabling this will cause the formatted value to be HEXA, RGBA, or HSLA.",
1301
+ "value": { "type": "boolean", "default": "false" }
1302
+ },
1303
+ {
1304
+ "name": "uppercase",
1305
+ "description": "By default, values are lowercase. With this attribute, values will be uppercase instead.",
1333
1306
  "value": { "type": "boolean", "default": "false" }
1334
1307
  },
1308
+ {
1309
+ "name": "swatches",
1310
+ "description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
1311
+ "value": { "type": "string | string[]", "default": "''" }
1312
+ },
1335
1313
  {
1336
1314
  "name": "form",
1337
1315
  "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
@@ -1339,38 +1317,32 @@
1339
1317
  },
1340
1318
  {
1341
1319
  "name": "required",
1342
- "description": "Makes the checkbox a required field.",
1320
+ "description": "Makes the color picker a required field.",
1343
1321
  "value": { "type": "boolean", "default": "false" }
1344
- },
1345
- {
1346
- "name": "help-text",
1347
- "description": "The checkbox's help text. If you need to display HTML, use the `help-text` slot instead.",
1348
- "value": { "type": "string", "default": "''" }
1349
1322
  }
1350
1323
  ],
1351
1324
  "slots": [
1352
- { "name": "", "description": "The checkbox's label." },
1353
1325
  {
1354
- "name": "help-text",
1355
- "description": "Text that describes how to use the checkbox. Alternatively, you can use the `help-text` attribute."
1326
+ "name": "label",
1327
+ "description": "The color picker's form label. Alternatively, you can use the `label` attribute."
1356
1328
  }
1357
1329
  ],
1358
1330
  "events": [
1359
1331
  {
1360
1332
  "name": "sl-blur",
1361
- "description": "Emitted when the checkbox loses focus."
1333
+ "description": "Emitted when the color picker loses focus."
1362
1334
  },
1363
1335
  {
1364
1336
  "name": "sl-change",
1365
- "description": "Emitted when the checked state changes."
1337
+ "description": "Emitted when the color picker's value changes."
1366
1338
  },
1367
1339
  {
1368
1340
  "name": "sl-focus",
1369
- "description": "Emitted when the checkbox gains focus."
1341
+ "description": "Emitted when the color picker receives focus."
1370
1342
  },
1371
1343
  {
1372
1344
  "name": "sl-input",
1373
- "description": "Emitted when the checkbox receives input."
1345
+ "description": "Emitted when the color picker receives input."
1374
1346
  },
1375
1347
  {
1376
1348
  "name": "sl-invalid",
@@ -1379,43 +1351,76 @@
1379
1351
  ],
1380
1352
  "js": {
1381
1353
  "properties": [
1382
- { "name": "input", "type": "HTMLInputElement" },
1383
- { "name": "title", "type": "string" },
1354
+ { "name": "base", "type": "HTMLElement" },
1355
+ { "name": "input", "type": "SlInput" },
1356
+ { "name": "dropdown", "type": "SlDropdown" },
1357
+ { "name": "previewButton", "type": "HTMLButtonElement" },
1358
+ { "name": "trigger", "type": "HTMLButtonElement" },
1384
1359
  {
1385
- "name": "name",
1386
- "description": "The name of the checkbox, submitted as a name/value pair with form data.",
1360
+ "name": "value",
1361
+ "description": "The current value of the color picker. The value's format will vary based the `format` attribute. To get the value\nin a specific format, use the `getFormattedValue()` method. The value is submitted as a name/value pair with form\ndata.",
1387
1362
  "type": "string"
1388
1363
  },
1389
1364
  {
1390
- "name": "value",
1391
- "description": "The current value of the checkbox, submitted as a name/value pair with form data.",
1365
+ "name": "defaultValue",
1366
+ "description": "The default value of the form control. Primarily used for resetting the form control.",
1367
+ "type": "string"
1368
+ },
1369
+ {
1370
+ "name": "label",
1371
+ "description": "The color picker's label. This will not be displayed, but it will be announced by assistive devices. If you need to\ndisplay HTML, you can use the `label` slot` instead.",
1392
1372
  "type": "string"
1393
1373
  },
1374
+ {
1375
+ "name": "format",
1376
+ "description": "The format to use. If opacity is enabled, these will translate to HEXA, RGBA, HSLA, and HSVA respectively. The color\npicker will accept user input in any format (including CSS color names) and convert it to the desired format.",
1377
+ "type": "'hex' | 'rgb' | 'hsl' | 'hsv'"
1378
+ },
1379
+ {
1380
+ "name": "inline",
1381
+ "description": "Renders the color picker inline rather than in a dropdown.",
1382
+ "type": "boolean"
1383
+ },
1394
1384
  {
1395
1385
  "name": "size",
1396
- "description": "The checkbox's size.",
1386
+ "description": "Determines the size of the color picker's trigger. This has no effect on inline color pickers.",
1397
1387
  "type": "'small' | 'medium' | 'large'"
1398
1388
  },
1389
+ {
1390
+ "name": "noFormatToggle",
1391
+ "description": "Removes the button that lets users toggle between format.",
1392
+ "type": "boolean"
1393
+ },
1394
+ {
1395
+ "name": "name",
1396
+ "description": "The name of the form control, submitted as a name/value pair with form data.",
1397
+ "type": "string"
1398
+ },
1399
1399
  {
1400
1400
  "name": "disabled",
1401
- "description": "Disables the checkbox.",
1401
+ "description": "Disables the color picker.",
1402
1402
  "type": "boolean"
1403
1403
  },
1404
1404
  {
1405
- "name": "checked",
1406
- "description": "Draws the checkbox in a checked state.",
1405
+ "name": "hoist",
1406
+ "description": "Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n`overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.",
1407
1407
  "type": "boolean"
1408
1408
  },
1409
1409
  {
1410
- "name": "indeterminate",
1411
- "description": "Draws the checkbox in an indeterminate state. This is usually applied to checkboxes that represents a \"select\nall/none\" behavior when associated checkboxes have a mix of checked and unchecked states.",
1410
+ "name": "opacity",
1411
+ "description": "Shows the opacity slider. Enabling this will cause the formatted value to be HEXA, RGBA, or HSLA.",
1412
1412
  "type": "boolean"
1413
1413
  },
1414
1414
  {
1415
- "name": "defaultChecked",
1416
- "description": "The default value of the form control. Primarily used for resetting the form control.",
1415
+ "name": "uppercase",
1416
+ "description": "By default, values are lowercase. With this attribute, values will be uppercase instead.",
1417
1417
  "type": "boolean"
1418
1418
  },
1419
+ {
1420
+ "name": "swatches",
1421
+ "description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
1422
+ "type": "string | string[]"
1423
+ },
1419
1424
  {
1420
1425
  "name": "form",
1421
1426
  "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
@@ -1423,14 +1428,9 @@
1423
1428
  },
1424
1429
  {
1425
1430
  "name": "required",
1426
- "description": "Makes the checkbox a required field.",
1431
+ "description": "Makes the color picker a required field.",
1427
1432
  "type": "boolean"
1428
1433
  },
1429
- {
1430
- "name": "helpText",
1431
- "description": "The checkbox's help text. If you need to display HTML, use the `help-text` slot instead.",
1432
- "type": "string"
1433
- },
1434
1434
  {
1435
1435
  "name": "validity",
1436
1436
  "description": "Gets the validity state object"
@@ -1443,19 +1443,19 @@
1443
1443
  "events": [
1444
1444
  {
1445
1445
  "name": "sl-blur",
1446
- "description": "Emitted when the checkbox loses focus."
1446
+ "description": "Emitted when the color picker loses focus."
1447
1447
  },
1448
1448
  {
1449
1449
  "name": "sl-change",
1450
- "description": "Emitted when the checked state changes."
1450
+ "description": "Emitted when the color picker's value changes."
1451
1451
  },
1452
1452
  {
1453
1453
  "name": "sl-focus",
1454
- "description": "Emitted when the checkbox gains focus."
1454
+ "description": "Emitted when the color picker receives focus."
1455
1455
  },
1456
1456
  {
1457
1457
  "name": "sl-input",
1458
- "description": "Emitted when the checkbox receives input."
1458
+ "description": "Emitted when the color picker receives input."
1459
1459
  },
1460
1460
  {
1461
1461
  "name": "sl-invalid",
@@ -2424,6 +2424,77 @@
2424
2424
  "events": []
2425
2425
  }
2426
2426
  },
2427
+ {
2428
+ "name": "sl-icon",
2429
+ "description": "Icons are symbols that can be used to represent various options within an application.\n---\n\n\n### **Events:**\n - **sl-load** - Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit.\n- **sl-error** - Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit.\n\n### **CSS Parts:**\n - **svg** - The internal SVG element.\n- **use** - The <use> element generated when using `spriteSheet: true`",
2430
+ "doc-url": "",
2431
+ "attributes": [
2432
+ {
2433
+ "name": "name",
2434
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
2435
+ "value": { "type": "string | undefined" }
2436
+ },
2437
+ {
2438
+ "name": "src",
2439
+ "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
2440
+ "value": { "type": "string | undefined" }
2441
+ },
2442
+ {
2443
+ "name": "label",
2444
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
2445
+ "value": { "type": "string", "default": "''" }
2446
+ },
2447
+ {
2448
+ "name": "library",
2449
+ "description": "The name of a registered custom icon library.",
2450
+ "value": { "type": "string", "default": "'default'" }
2451
+ }
2452
+ ],
2453
+ "events": [
2454
+ {
2455
+ "name": "sl-load",
2456
+ "description": "Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit."
2457
+ },
2458
+ {
2459
+ "name": "sl-error",
2460
+ "description": "Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit."
2461
+ }
2462
+ ],
2463
+ "js": {
2464
+ "properties": [
2465
+ {
2466
+ "name": "name",
2467
+ "description": "The name of the icon to draw. Available names depend on the icon library being used.",
2468
+ "type": "string | undefined"
2469
+ },
2470
+ {
2471
+ "name": "src",
2472
+ "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
2473
+ "type": "string | undefined"
2474
+ },
2475
+ {
2476
+ "name": "label",
2477
+ "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
2478
+ "type": "string"
2479
+ },
2480
+ {
2481
+ "name": "library",
2482
+ "description": "The name of a registered custom icon library.",
2483
+ "type": "string"
2484
+ }
2485
+ ],
2486
+ "events": [
2487
+ {
2488
+ "name": "sl-load",
2489
+ "description": "Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit."
2490
+ },
2491
+ {
2492
+ "name": "sl-error",
2493
+ "description": "Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit."
2494
+ }
2495
+ ]
2496
+ }
2497
+ },
2427
2498
  {
2428
2499
  "name": "sl-format-number",
2429
2500
  "description": "Formats a number using the specified locale and options.\n---\n",
@@ -2543,77 +2614,6 @@
2543
2614
  "events": []
2544
2615
  }
2545
2616
  },
2546
- {
2547
- "name": "sl-icon",
2548
- "description": "Icons are symbols that can be used to represent various options within an application.\n---\n\n\n### **Events:**\n - **sl-load** - Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit.\n- **sl-error** - Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit.\n\n### **CSS Parts:**\n - **svg** - The internal SVG element.\n- **use** - The <use> element generated when using `spriteSheet: true`",
2549
- "doc-url": "",
2550
- "attributes": [
2551
- {
2552
- "name": "name",
2553
- "description": "The name of the icon to draw. Available names depend on the icon library being used.",
2554
- "value": { "type": "string | undefined" }
2555
- },
2556
- {
2557
- "name": "src",
2558
- "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
2559
- "value": { "type": "string | undefined" }
2560
- },
2561
- {
2562
- "name": "label",
2563
- "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
2564
- "value": { "type": "string", "default": "''" }
2565
- },
2566
- {
2567
- "name": "library",
2568
- "description": "The name of a registered custom icon library.",
2569
- "value": { "type": "string", "default": "'default'" }
2570
- }
2571
- ],
2572
- "events": [
2573
- {
2574
- "name": "sl-load",
2575
- "description": "Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit."
2576
- },
2577
- {
2578
- "name": "sl-error",
2579
- "description": "Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit."
2580
- }
2581
- ],
2582
- "js": {
2583
- "properties": [
2584
- {
2585
- "name": "name",
2586
- "description": "The name of the icon to draw. Available names depend on the icon library being used.",
2587
- "type": "string | undefined"
2588
- },
2589
- {
2590
- "name": "src",
2591
- "description": "An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\ncan result in XSS attacks.",
2592
- "type": "string | undefined"
2593
- },
2594
- {
2595
- "name": "label",
2596
- "description": "An alternate description to use for assistive devices. If omitted, the icon will be considered presentational and\nignored by assistive devices.",
2597
- "type": "string"
2598
- },
2599
- {
2600
- "name": "library",
2601
- "description": "The name of a registered custom icon library.",
2602
- "type": "string"
2603
- }
2604
- ],
2605
- "events": [
2606
- {
2607
- "name": "sl-load",
2608
- "description": "Emitted when the icon has loaded. When using `spriteSheet: true` this will not emit."
2609
- },
2610
- {
2611
- "name": "sl-error",
2612
- "description": "Emitted when the icon fails to load due to an error. When using `spriteSheet: true` this will not emit."
2613
- }
2614
- ]
2615
- }
2616
- },
2617
2617
  {
2618
2618
  "name": "sl-icon-button",
2619
2619
  "description": "Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.\n---\n\n\n### **Events:**\n - **sl-blur** - Emitted when the icon button loses focus.\n- **sl-focus** - Emitted when the icon button gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the icon button.\n- **focus(options: _FocusOptions_)** - Sets focus on the icon button.\n- **blur()** - Removes focus from the icon button.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
@@ -3311,15 +3311,6 @@
3311
3311
  ]
3312
3312
  }
3313
3313
  },
3314
- {
3315
- "name": "sl-menu-label",
3316
- "description": "Menu labels are used to describe a group of menu items.\n---\n\n\n### **Slots:**\n - _default_ - The menu label's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
3317
- "doc-url": "",
3318
- "attributes": [],
3319
- "slots": [{ "name": "", "description": "The menu label's content." }],
3320
- "events": [],
3321
- "js": { "properties": [], "events": [] }
3322
- },
3323
3314
  {
3324
3315
  "name": "sl-menu-item",
3325
3316
  "description": "Menu items provide options for the user to pick from in a menu.\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a text label based on the contents of the menu item's default slot.\n\n### **Slots:**\n - _default_ - The menu item's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n- **submenu** - Used to denote a nested menu.\n\n### **CSS Properties:**\n - **--submenu-offset** - The distance submenus shift to overlap the parent menu. _(default: -2px)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **checked-icon** - The checked icon, which is only visible when the menu item is checked.\n- **prefix** - The prefix container.\n- **label** - The menu item label.\n- **suffix** - The suffix container.\n- **spinner** - The spinner that shows when the menu item is in the loading state.\n- **spinner__base** - The spinner's base part.\n- **submenu-icon** - The submenu icon, visible only when the menu item has a submenu (not yet implemented).",
@@ -3403,6 +3394,15 @@
3403
3394
  "events": []
3404
3395
  }
3405
3396
  },
3397
+ {
3398
+ "name": "sl-menu-label",
3399
+ "description": "Menu labels are used to describe a group of menu items.\n---\n\n\n### **Slots:**\n - _default_ - The menu label's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
3400
+ "doc-url": "",
3401
+ "attributes": [],
3402
+ "slots": [{ "name": "", "description": "The menu label's content." }],
3403
+ "events": [],
3404
+ "js": { "properties": [], "events": [] }
3405
+ },
3406
3406
  {
3407
3407
  "name": "sl-mutation-observer",
3408
3408
  "description": "The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).\n---\n\n\n### **Events:**\n - **sl-mutation** - Emitted when a mutation occurs.\n\n### **Slots:**\n - _default_ - The content to watch for mutations.",
@@ -3481,114 +3481,26 @@
3481
3481
  "description": "Disables the observer.",
3482
3482
  "type": "boolean"
3483
3483
  }
3484
- ],
3485
- "events": [
3486
- {
3487
- "name": "sl-mutation",
3488
- "type": "{ mutationList: MutationRecord[] }",
3489
- "description": "Emitted when a mutation occurs."
3490
- }
3491
- ]
3492
- }
3493
- },
3494
- {
3495
- "name": "sl-nav",
3496
- "description": "Navs are used to create navigation menus, including top bars and sidebars.\n---\n\n\n### **Events:**\n - **sl-change** - Emitted when the selected nav item changes.\n- **sl-nav-select** - Emitted when a nav item is selected.\n\n### **Slots:**\n - _default_ - The nav items.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
3497
- "doc-url": "",
3498
- "attributes": [
3499
- {
3500
- "name": "value",
3501
- "description": "The value of the selected nav item.",
3502
- "value": { "type": "string", "default": "''" }
3503
- },
3504
- {
3505
- "name": "mode",
3506
- "description": "The mode of navigation.",
3507
- "value": {
3508
- "type": "'horizontal' | 'vertical'",
3509
- "default": "'vertical'"
3510
- }
3511
- }
3512
- ],
3513
- "slots": [{ "name": "", "description": "The nav items." }],
3514
- "events": [
3515
- {
3516
- "name": "sl-change",
3517
- "description": "Emitted when the selected nav item changes."
3518
- },
3519
- {
3520
- "name": "sl-nav-select",
3521
- "type": "{ item: SlNavItem }",
3522
- "description": "Emitted when a nav item is selected."
3523
- }
3524
- ],
3525
- "js": {
3526
- "properties": [
3527
- { "name": "defaultSlot", "type": "HTMLSlotElement" },
3528
- {
3529
- "name": "value",
3530
- "description": "The value of the selected nav item.",
3531
- "type": "string"
3532
- },
3533
- {
3534
- "name": "mode",
3535
- "description": "The mode of navigation.",
3536
- "type": "'horizontal' | 'vertical'"
3537
- }
3538
- ],
3539
- "events": [
3540
- {
3541
- "name": "sl-change",
3542
- "description": "Emitted when the selected nav item changes."
3543
- },
3484
+ ],
3485
+ "events": [
3544
3486
  {
3545
- "name": "sl-nav-select",
3546
- "type": "{ item: SlNavItem }",
3547
- "description": "Emitted when a nav item is selected."
3487
+ "name": "sl-mutation",
3488
+ "type": "{ mutationList: MutationRecord[] }",
3489
+ "description": "Emitted when a mutation occurs."
3548
3490
  }
3549
3491
  ]
3550
3492
  }
3551
3493
  },
3552
3494
  {
3553
- "name": "sl-nav-item",
3554
- "description": "Nav items are the individual links or buttons within a navigation menu.\n---\n\n\n### **Events:**\n - **sl-nav-select** - Emitted when a nav item is selected.\n\n### **Slots:**\n - _default_ - The nav item's label.\n- **prefix** - Used to prepend an icon or similar element to the nav item.\n- **suffix** - Used to append an icon or similar element to the nav item.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The prefix container.\n- **label** - The nav item label.\n- **suffix** - The suffix container.",
3495
+ "name": "sl-nav",
3496
+ "description": "Navs are used to create navigation menus, including top bars and sidebars.\n---\n\n\n### **Events:**\n - **sl-change** - Emitted when the selected nav item changes.\n- **sl-nav-select** - Emitted when a nav item is selected.\n\n### **Slots:**\n - _default_ - The nav items.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
3555
3497
  "doc-url": "",
3556
3498
  "attributes": [
3557
3499
  {
3558
3500
  "name": "value",
3559
- "description": "The value to track selection.",
3560
- "value": { "type": "string", "default": "''" }
3561
- },
3562
- {
3563
- "name": "disabled",
3564
- "description": "Draws the nav item in a disabled state.",
3565
- "value": { "type": "boolean", "default": "false" }
3566
- },
3567
- {
3568
- "name": "active",
3569
- "description": "Draws the nav item in an active (selected) state.",
3570
- "value": { "type": "boolean", "default": "false" }
3571
- },
3572
- {
3573
- "name": "href",
3574
- "description": "The URL to link to. If set, the nav item will render as an anchor tag.",
3501
+ "description": "The value of the selected nav item.",
3575
3502
  "value": { "type": "string", "default": "''" }
3576
3503
  },
3577
- {
3578
- "name": "target",
3579
- "description": "The target attribute for the anchor tag.",
3580
- "value": { "type": "'_blank' | '_parent' | '_self' | '_top'" }
3581
- },
3582
- {
3583
- "name": "download",
3584
- "description": "The download attribute for the anchor tag.",
3585
- "value": { "type": "string | undefined" }
3586
- },
3587
- {
3588
- "name": "rel",
3589
- "description": "The rel attribute for the anchor tag.",
3590
- "value": { "type": "string", "default": "'noreferrer noopener'" }
3591
- },
3592
3504
  {
3593
3505
  "name": "mode",
3594
3506
  "description": "The mode of navigation.",
@@ -3598,18 +3510,12 @@
3598
3510
  }
3599
3511
  }
3600
3512
  ],
3601
- "slots": [
3602
- { "name": "", "description": "The nav item's label." },
3513
+ "slots": [{ "name": "", "description": "The nav items." }],
3514
+ "events": [
3603
3515
  {
3604
- "name": "prefix",
3605
- "description": "Used to prepend an icon or similar element to the nav item."
3516
+ "name": "sl-change",
3517
+ "description": "Emitted when the selected nav item changes."
3606
3518
  },
3607
- {
3608
- "name": "suffix",
3609
- "description": "Used to append an icon or similar element to the nav item."
3610
- }
3611
- ],
3612
- "events": [
3613
3519
  {
3614
3520
  "name": "sl-nav-select",
3615
3521
  "type": "{ item: SlNavItem }",
@@ -3618,39 +3524,10 @@
3618
3524
  ],
3619
3525
  "js": {
3620
3526
  "properties": [
3527
+ { "name": "defaultSlot", "type": "HTMLSlotElement" },
3621
3528
  {
3622
3529
  "name": "value",
3623
- "description": "The value to track selection.",
3624
- "type": "string"
3625
- },
3626
- {
3627
- "name": "disabled",
3628
- "description": "Draws the nav item in a disabled state.",
3629
- "type": "boolean"
3630
- },
3631
- {
3632
- "name": "active",
3633
- "description": "Draws the nav item in an active (selected) state.",
3634
- "type": "boolean"
3635
- },
3636
- {
3637
- "name": "href",
3638
- "description": "The URL to link to. If set, the nav item will render as an anchor tag.",
3639
- "type": "string"
3640
- },
3641
- {
3642
- "name": "target",
3643
- "description": "The target attribute for the anchor tag.",
3644
- "type": "'_blank' | '_parent' | '_self' | '_top'"
3645
- },
3646
- {
3647
- "name": "download",
3648
- "description": "The download attribute for the anchor tag.",
3649
- "type": "string | undefined"
3650
- },
3651
- {
3652
- "name": "rel",
3653
- "description": "The rel attribute for the anchor tag.",
3530
+ "description": "The value of the selected nav item.",
3654
3531
  "type": "string"
3655
3532
  },
3656
3533
  {
@@ -3660,6 +3537,10 @@
3660
3537
  }
3661
3538
  ],
3662
3539
  "events": [
3540
+ {
3541
+ "name": "sl-change",
3542
+ "description": "Emitted when the selected nav item changes."
3543
+ },
3663
3544
  {
3664
3545
  "name": "sl-nav-select",
3665
3546
  "type": "{ item: SlNavItem }",
@@ -3831,6 +3712,125 @@
3831
3712
  ]
3832
3713
  }
3833
3714
  },
3715
+ {
3716
+ "name": "sl-nav-item",
3717
+ "description": "Nav items are the individual links or buttons within a navigation menu.\n---\n\n\n### **Events:**\n - **sl-nav-select** - Emitted when a nav item is selected.\n\n### **Slots:**\n - _default_ - The nav item's label.\n- **prefix** - Used to prepend an icon or similar element to the nav item.\n- **suffix** - Used to append an icon or similar element to the nav item.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **prefix** - The prefix container.\n- **label** - The nav item label.\n- **suffix** - The suffix container.",
3718
+ "doc-url": "",
3719
+ "attributes": [
3720
+ {
3721
+ "name": "value",
3722
+ "description": "The value to track selection.",
3723
+ "value": { "type": "string", "default": "''" }
3724
+ },
3725
+ {
3726
+ "name": "disabled",
3727
+ "description": "Draws the nav item in a disabled state.",
3728
+ "value": { "type": "boolean", "default": "false" }
3729
+ },
3730
+ {
3731
+ "name": "active",
3732
+ "description": "Draws the nav item in an active (selected) state.",
3733
+ "value": { "type": "boolean", "default": "false" }
3734
+ },
3735
+ {
3736
+ "name": "href",
3737
+ "description": "The URL to link to. If set, the nav item will render as an anchor tag.",
3738
+ "value": { "type": "string", "default": "''" }
3739
+ },
3740
+ {
3741
+ "name": "target",
3742
+ "description": "The target attribute for the anchor tag.",
3743
+ "value": { "type": "'_blank' | '_parent' | '_self' | '_top'" }
3744
+ },
3745
+ {
3746
+ "name": "download",
3747
+ "description": "The download attribute for the anchor tag.",
3748
+ "value": { "type": "string | undefined" }
3749
+ },
3750
+ {
3751
+ "name": "rel",
3752
+ "description": "The rel attribute for the anchor tag.",
3753
+ "value": { "type": "string", "default": "'noreferrer noopener'" }
3754
+ },
3755
+ {
3756
+ "name": "mode",
3757
+ "description": "The mode of navigation.",
3758
+ "value": {
3759
+ "type": "'horizontal' | 'vertical'",
3760
+ "default": "'vertical'"
3761
+ }
3762
+ }
3763
+ ],
3764
+ "slots": [
3765
+ { "name": "", "description": "The nav item's label." },
3766
+ {
3767
+ "name": "prefix",
3768
+ "description": "Used to prepend an icon or similar element to the nav item."
3769
+ },
3770
+ {
3771
+ "name": "suffix",
3772
+ "description": "Used to append an icon or similar element to the nav item."
3773
+ }
3774
+ ],
3775
+ "events": [
3776
+ {
3777
+ "name": "sl-nav-select",
3778
+ "type": "{ item: SlNavItem }",
3779
+ "description": "Emitted when a nav item is selected."
3780
+ }
3781
+ ],
3782
+ "js": {
3783
+ "properties": [
3784
+ {
3785
+ "name": "value",
3786
+ "description": "The value to track selection.",
3787
+ "type": "string"
3788
+ },
3789
+ {
3790
+ "name": "disabled",
3791
+ "description": "Draws the nav item in a disabled state.",
3792
+ "type": "boolean"
3793
+ },
3794
+ {
3795
+ "name": "active",
3796
+ "description": "Draws the nav item in an active (selected) state.",
3797
+ "type": "boolean"
3798
+ },
3799
+ {
3800
+ "name": "href",
3801
+ "description": "The URL to link to. If set, the nav item will render as an anchor tag.",
3802
+ "type": "string"
3803
+ },
3804
+ {
3805
+ "name": "target",
3806
+ "description": "The target attribute for the anchor tag.",
3807
+ "type": "'_blank' | '_parent' | '_self' | '_top'"
3808
+ },
3809
+ {
3810
+ "name": "download",
3811
+ "description": "The download attribute for the anchor tag.",
3812
+ "type": "string | undefined"
3813
+ },
3814
+ {
3815
+ "name": "rel",
3816
+ "description": "The rel attribute for the anchor tag.",
3817
+ "type": "string"
3818
+ },
3819
+ {
3820
+ "name": "mode",
3821
+ "description": "The mode of navigation.",
3822
+ "type": "'horizontal' | 'vertical'"
3823
+ }
3824
+ ],
3825
+ "events": [
3826
+ {
3827
+ "name": "sl-nav-select",
3828
+ "type": "{ item: SlNavItem }",
3829
+ "description": "Emitted when a nav item is selected."
3830
+ }
3831
+ ]
3832
+ }
3833
+ },
3834
3834
  {
3835
3835
  "name": "sl-option",
3836
3836
  "description": "Options define the selectable items within various form controls such as [select](/components/select).\n---\n\n\n### **Methods:**\n - **getTextLabel()** - Returns a plain text label based on the option's content.\n\n### **Slots:**\n - _default_ - The option's label.\n- **prefix** - Used to prepend an icon or similar element to the menu item.\n- **suffix** - Used to append an icon or similar element to the menu item.\n\n### **CSS Parts:**\n - **checked-icon** - The checked icon, an `<sl-icon>` element.\n- **base** - The component's base wrapper.\n- **label** - The option's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.",
@@ -4218,24 +4218,62 @@
4218
4218
  }
4219
4219
  ],
4220
4220
  "slots": [
4221
- {
4222
- "name": "",
4223
- "description": "A label to show inside the progress indicator."
4224
- }
4221
+ {
4222
+ "name": "",
4223
+ "description": "A label to show inside the progress indicator."
4224
+ }
4225
+ ],
4226
+ "events": [],
4227
+ "js": {
4228
+ "properties": [
4229
+ {
4230
+ "name": "value",
4231
+ "description": "The current progress as a percentage, 0 to 100.",
4232
+ "type": "number"
4233
+ },
4234
+ {
4235
+ "name": "indeterminate",
4236
+ "description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
4237
+ "type": "boolean"
4238
+ },
4239
+ {
4240
+ "name": "label",
4241
+ "description": "A custom label for assistive devices.",
4242
+ "type": "string"
4243
+ }
4244
+ ],
4245
+ "events": []
4246
+ }
4247
+ },
4248
+ {
4249
+ "name": "sl-progress-ring",
4250
+ "description": "Progress rings are used to show the progress of a determinate operation in a circular fashion.\n---\n\n\n### **Slots:**\n - _default_ - A label to show inside the ring.\n\n### **CSS Properties:**\n - **--size** - The diameter of the progress ring (cannot be a percentage). _(default: undefined)_\n- **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-width** - The width of the indicator. Defaults to the track width. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--indicator-transition-duration** - The duration of the indicator's transition when the value changes. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The progress ring label.",
4251
+ "doc-url": "",
4252
+ "attributes": [
4253
+ {
4254
+ "name": "value",
4255
+ "description": "The current progress as a percentage, 0 to 100.",
4256
+ "value": { "type": "number", "default": "0" }
4257
+ },
4258
+ {
4259
+ "name": "label",
4260
+ "description": "A custom label for assistive devices.",
4261
+ "value": { "type": "string", "default": "''" }
4262
+ }
4263
+ ],
4264
+ "slots": [
4265
+ { "name": "", "description": "A label to show inside the ring." }
4225
4266
  ],
4226
4267
  "events": [],
4227
4268
  "js": {
4228
4269
  "properties": [
4270
+ { "name": "indicator", "type": "SVGCircleElement" },
4271
+ { "name": "indicatorOffset", "type": "string" },
4229
4272
  {
4230
4273
  "name": "value",
4231
4274
  "description": "The current progress as a percentage, 0 to 100.",
4232
4275
  "type": "number"
4233
4276
  },
4234
- {
4235
- "name": "indeterminate",
4236
- "description": "When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state.",
4237
- "type": "boolean"
4238
- },
4239
4277
  {
4240
4278
  "name": "label",
4241
4279
  "description": "A custom label for assistive devices.",
@@ -4329,44 +4367,6 @@
4329
4367
  "events": []
4330
4368
  }
4331
4369
  },
4332
- {
4333
- "name": "sl-progress-ring",
4334
- "description": "Progress rings are used to show the progress of a determinate operation in a circular fashion.\n---\n\n\n### **Slots:**\n - _default_ - A label to show inside the ring.\n\n### **CSS Properties:**\n - **--size** - The diameter of the progress ring (cannot be a percentage). _(default: undefined)_\n- **--track-width** - The width of the track. _(default: undefined)_\n- **--track-color** - The color of the track. _(default: undefined)_\n- **--indicator-width** - The width of the indicator. Defaults to the track width. _(default: undefined)_\n- **--indicator-color** - The color of the indicator. _(default: undefined)_\n- **--indicator-transition-duration** - The duration of the indicator's transition when the value changes. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The progress ring label.",
4335
- "doc-url": "",
4336
- "attributes": [
4337
- {
4338
- "name": "value",
4339
- "description": "The current progress as a percentage, 0 to 100.",
4340
- "value": { "type": "number", "default": "0" }
4341
- },
4342
- {
4343
- "name": "label",
4344
- "description": "A custom label for assistive devices.",
4345
- "value": { "type": "string", "default": "''" }
4346
- }
4347
- ],
4348
- "slots": [
4349
- { "name": "", "description": "A label to show inside the ring." }
4350
- ],
4351
- "events": [],
4352
- "js": {
4353
- "properties": [
4354
- { "name": "indicator", "type": "SVGCircleElement" },
4355
- { "name": "indicatorOffset", "type": "string" },
4356
- {
4357
- "name": "value",
4358
- "description": "The current progress as a percentage, 0 to 100.",
4359
- "type": "number"
4360
- },
4361
- {
4362
- "name": "label",
4363
- "description": "A custom label for assistive devices.",
4364
- "type": "string"
4365
- }
4366
- ],
4367
- "events": []
4368
- }
4369
- },
4370
4370
  {
4371
4371
  "name": "sl-radio",
4372
4372
  "description": "Radios allow the user to select a single option from a group.\n---\n\n\n### **Events:**\n - **sl-blur** - Emitted when the control loses focus.\n- **sl-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The circular container that wraps the radio's checked state.\n- **control--checked** - The radio control when the radio is checked.\n- **checked-icon** - The checked icon, an `<sl-icon>` element.\n- **label** - The container that wraps the radio's label.",
@@ -5048,6 +5048,70 @@
5048
5048
  ]
5049
5049
  }
5050
5050
  },
5051
+ {
5052
+ "name": "sl-screen",
5053
+ "description": "Screen is a grid layout component based on gridstack.js and Shoelace.\n---\n\n\n### **Methods:**\n - **getGridData(): __** - 获取 GridStack 实例的序列化数据\n- **getInstance(): __** - 获取 GridStack 实例的序列化数据\n\n### **CSS Parts:**\n - **base** - The grid layout content.",
5054
+ "doc-url": "",
5055
+ "attributes": [
5056
+ {
5057
+ "name": "options",
5058
+ "description": "The options for the GridStack instance.",
5059
+ "value": { "type": "GridStackOptions", "default": "{}" }
5060
+ },
5061
+ {
5062
+ "name": "data",
5063
+ "description": "The initial configuration for the grid.",
5064
+ "value": { "type": "GridStackNode[]", "default": "[]" }
5065
+ },
5066
+ {
5067
+ "name": "removable",
5068
+ "description": "Whether the items in the grid can be removed.",
5069
+ "value": { "type": "boolean", "default": "false" }
5070
+ },
5071
+ {
5072
+ "name": "static",
5073
+ "description": "Disables dragging and resizing of widgets.",
5074
+ "value": { "type": "boolean", "default": "false" }
5075
+ },
5076
+ {
5077
+ "name": "selector",
5078
+ "description": "The selector for items that can be dragged into the grid from outside.",
5079
+ "value": { "type": "string", "default": "''" }
5080
+ }
5081
+ ],
5082
+ "events": [],
5083
+ "js": {
5084
+ "properties": [
5085
+ { "name": "gridElement", "type": "HTMLElement" },
5086
+ {
5087
+ "name": "options",
5088
+ "description": "The options for the GridStack instance.",
5089
+ "type": "GridStackOptions"
5090
+ },
5091
+ {
5092
+ "name": "data",
5093
+ "description": "The initial configuration for the grid.",
5094
+ "type": "GridStackNode[]"
5095
+ },
5096
+ {
5097
+ "name": "removable",
5098
+ "description": "Whether the items in the grid can be removed.",
5099
+ "type": "boolean"
5100
+ },
5101
+ {
5102
+ "name": "static",
5103
+ "description": "Disables dragging and resizing of widgets.",
5104
+ "type": "boolean"
5105
+ },
5106
+ {
5107
+ "name": "selector",
5108
+ "description": "The selector for items that can be dragged into the grid from outside.",
5109
+ "type": "string"
5110
+ }
5111
+ ],
5112
+ "events": []
5113
+ }
5114
+ },
5051
5115
  {
5052
5116
  "name": "sl-select",
5053
5117
  "description": "Selects allow you to choose items from a menu of predefined options.\n---\n\n\n### **Events:**\n - **sl-change** - Emitted when the control's value changes.\n- **sl-clear** - Emitted when the control's value is cleared.\n- **sl-input** - Emitted when the control receives input.\n- **sl-focus** - Emitted when the control gains focus.\n- **sl-blur** - Emitted when the control loses focus.\n- **sl-show** - Emitted when the select's menu opens.\n- **sl-after-show** - Emitted after the select's menu opens and all animations are complete.\n- **sl-hide** - Emitted when the select's menu closes.\n- **sl-after-hide** - Emitted after the select's menu closes and all animations are complete.\n- **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **show()** - Shows the listbox.\n- **hide()** - Hides the listbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n- **focus(options: _FocusOptions_)** - Sets focus on the control.\n- **blur()** - Removes focus from the control.\n\n### **Slots:**\n - _default_ - The listbox options. Must be `<sl-option>` elements. You can use `<sl-divider>` to group items visually.\n- **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - Used to prepend a presentational icon or similar element to the combobox.\n- **suffix** - Used to append a presentational icon or similar element to the combobox.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **expand-icon** - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The select's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **combobox** - The container the wraps the prefix, suffix, combobox, clear icon, and expand button.\n- **prefix** - The container that wraps the prefix slot.\n- **suffix** - The container that wraps the suffix slot.\n- **display-input** - The element that displays the selected option's label, an `<input>` element.\n- **listbox** - The listbox container where options are slotted.\n- **tags** - The container that houses option tags when `multiselect` is used.\n- **tag** - The individual tags that represent each multiselect option.\n- **tag__base** - The tag's base part.\n- **tag__content** - The tag's content part.\n- **tag__remove-button** - The tag's remove button.\n- **tag__remove-button__base** - The tag's remove button base part.\n- **clear-button** - The clear button.\n- **expand-icon** - The container that wraps the expand icon.",
@@ -5378,70 +5442,6 @@
5378
5442
  ]
5379
5443
  }
5380
5444
  },
5381
- {
5382
- "name": "sl-screen",
5383
- "description": "Screen is a grid layout component based on gridstack.js and Shoelace.\n---\n\n\n### **Methods:**\n - **getGridData(): __** - 获取 GridStack 实例的序列化数据\n- **getInstance(): __** - 获取 GridStack 实例的序列化数据\n\n### **CSS Parts:**\n - **base** - The grid layout content.",
5384
- "doc-url": "",
5385
- "attributes": [
5386
- {
5387
- "name": "options",
5388
- "description": "The options for the GridStack instance.",
5389
- "value": { "type": "GridStackOptions", "default": "{}" }
5390
- },
5391
- {
5392
- "name": "data",
5393
- "description": "The initial configuration for the grid.",
5394
- "value": { "type": "GridStackNode[]", "default": "[]" }
5395
- },
5396
- {
5397
- "name": "removable",
5398
- "description": "Whether the items in the grid can be removed.",
5399
- "value": { "type": "boolean", "default": "false" }
5400
- },
5401
- {
5402
- "name": "static",
5403
- "description": "Disables dragging and resizing of widgets.",
5404
- "value": { "type": "boolean", "default": "false" }
5405
- },
5406
- {
5407
- "name": "selector",
5408
- "description": "The selector for items that can be dragged into the grid from outside.",
5409
- "value": { "type": "string", "default": "''" }
5410
- }
5411
- ],
5412
- "events": [],
5413
- "js": {
5414
- "properties": [
5415
- { "name": "gridElement", "type": "HTMLElement" },
5416
- {
5417
- "name": "options",
5418
- "description": "The options for the GridStack instance.",
5419
- "type": "GridStackOptions"
5420
- },
5421
- {
5422
- "name": "data",
5423
- "description": "The initial configuration for the grid.",
5424
- "type": "GridStackNode[]"
5425
- },
5426
- {
5427
- "name": "removable",
5428
- "description": "Whether the items in the grid can be removed.",
5429
- "type": "boolean"
5430
- },
5431
- {
5432
- "name": "static",
5433
- "description": "Disables dragging and resizing of widgets.",
5434
- "type": "boolean"
5435
- },
5436
- {
5437
- "name": "selector",
5438
- "description": "The selector for items that can be dragged into the grid from outside.",
5439
- "type": "string"
5440
- }
5441
- ],
5442
- "events": []
5443
- }
5444
- },
5445
5445
  {
5446
5446
  "name": "sl-skeleton",
5447
5447
  "description": "Skeletons are used to provide a visual representation of where content will eventually be drawn.\n---\n\n\n### **CSS Properties:**\n - **--border-radius** - The skeleton's border radius. _(default: undefined)_\n- **--color** - The color of the skeleton. _(default: undefined)_\n- **--sheen-color** - The sheen color when the skeleton is in its loading state. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **indicator** - The skeleton's indicator which is responsible for its color and animation.",
@@ -5527,59 +5527,124 @@
5527
5527
  "description": "Content to place in the end panel."
5528
5528
  },
5529
5529
  {
5530
- "name": "divider",
5531
- "description": "The divider. Useful for slotting in a custom icon that renders as a handle."
5530
+ "name": "divider",
5531
+ "description": "The divider. Useful for slotting in a custom icon that renders as a handle."
5532
+ }
5533
+ ],
5534
+ "events": [
5535
+ {
5536
+ "name": "sl-reposition",
5537
+ "description": "Emitted when the divider's position changes."
5538
+ }
5539
+ ],
5540
+ "js": {
5541
+ "properties": [
5542
+ { "name": "divider", "type": "HTMLElement" },
5543
+ {
5544
+ "name": "position",
5545
+ "description": "The current position of the divider from the primary panel's edge as a percentage 0-100. Defaults to 50% of the\ncontainer's initial size.",
5546
+ "type": "number"
5547
+ },
5548
+ {
5549
+ "name": "positionInPixels",
5550
+ "description": "The current position of the divider from the primary panel's edge in pixels.",
5551
+ "type": "number"
5552
+ },
5553
+ {
5554
+ "name": "vertical",
5555
+ "description": "Draws the split panel in a vertical orientation with the start and end panels stacked.",
5556
+ "type": "boolean"
5557
+ },
5558
+ {
5559
+ "name": "disabled",
5560
+ "description": "Disables resizing. Note that the position may still change as a result of resizing the host element.",
5561
+ "type": "boolean"
5562
+ },
5563
+ {
5564
+ "name": "primary",
5565
+ "description": "If no primary panel is designated, both panels will resize proportionally when the host element is resized. If a\nprimary panel is designated, it will maintain its size and the other panel will grow or shrink as needed when the\nhost element is resized.",
5566
+ "type": "'start' | 'end' | undefined"
5567
+ },
5568
+ {
5569
+ "name": "snap",
5570
+ "description": "Either one or more space-separated values at which the divider should snap, in pixels, percentages, or repeat expressions e.g. `'100px 50% 500px' or `repeat(50%) 10px`,\nor a function which takes in a `SnapFunctionParams`, and returns a position to snap to, e.g. `({ pos }) => Math.round(pos / 8) * 8`.",
5571
+ "type": "string | SnapFunction"
5572
+ },
5573
+ {
5574
+ "name": "snapThreshold",
5575
+ "description": "How close the divider must be to a snap point until snapping occurs.",
5576
+ "type": "number"
5577
+ }
5578
+ ],
5579
+ "events": [
5580
+ {
5581
+ "name": "sl-reposition",
5582
+ "description": "Emitted when the divider's position changes."
5583
+ }
5584
+ ]
5585
+ }
5586
+ },
5587
+ {
5588
+ "name": "sl-tab",
5589
+ "description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n---\n\n\n### **Events:**\n - **sl-close** - Emitted when the tab is closable and the close button is activated.\n\n### **Slots:**\n - _default_ - The tab's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **close-button** - The close button, an `<sl-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
5590
+ "doc-url": "",
5591
+ "attributes": [
5592
+ {
5593
+ "name": "panel",
5594
+ "description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
5595
+ "value": { "type": "string", "default": "''" }
5596
+ },
5597
+ {
5598
+ "name": "active",
5599
+ "description": "Draws the tab in an active state.",
5600
+ "value": { "type": "boolean", "default": "false" }
5601
+ },
5602
+ {
5603
+ "name": "closable",
5604
+ "description": "Makes the tab closable and shows a close button.",
5605
+ "value": { "type": "boolean", "default": "false" }
5606
+ },
5607
+ {
5608
+ "name": "disabled",
5609
+ "description": "Disables the tab and prevents selection.",
5610
+ "value": { "type": "boolean", "default": "false" }
5532
5611
  }
5533
5612
  ],
5613
+ "slots": [{ "name": "", "description": "The tab's label." }],
5534
5614
  "events": [
5535
5615
  {
5536
- "name": "sl-reposition",
5537
- "description": "Emitted when the divider's position changes."
5616
+ "name": "sl-close",
5617
+ "description": "Emitted when the tab is closable and the close button is activated."
5538
5618
  }
5539
5619
  ],
5540
5620
  "js": {
5541
5621
  "properties": [
5542
- { "name": "divider", "type": "HTMLElement" },
5622
+ { "name": "tab", "type": "HTMLElement" },
5543
5623
  {
5544
- "name": "position",
5545
- "description": "The current position of the divider from the primary panel's edge as a percentage 0-100. Defaults to 50% of the\ncontainer's initial size.",
5546
- "type": "number"
5624
+ "name": "panel",
5625
+ "description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
5626
+ "type": "string"
5547
5627
  },
5548
5628
  {
5549
- "name": "positionInPixels",
5550
- "description": "The current position of the divider from the primary panel's edge in pixels.",
5551
- "type": "number"
5629
+ "name": "active",
5630
+ "description": "Draws the tab in an active state.",
5631
+ "type": "boolean"
5552
5632
  },
5553
5633
  {
5554
- "name": "vertical",
5555
- "description": "Draws the split panel in a vertical orientation with the start and end panels stacked.",
5634
+ "name": "closable",
5635
+ "description": "Makes the tab closable and shows a close button.",
5556
5636
  "type": "boolean"
5557
5637
  },
5558
5638
  {
5559
5639
  "name": "disabled",
5560
- "description": "Disables resizing. Note that the position may still change as a result of resizing the host element.",
5640
+ "description": "Disables the tab and prevents selection.",
5561
5641
  "type": "boolean"
5562
- },
5563
- {
5564
- "name": "primary",
5565
- "description": "If no primary panel is designated, both panels will resize proportionally when the host element is resized. If a\nprimary panel is designated, it will maintain its size and the other panel will grow or shrink as needed when the\nhost element is resized.",
5566
- "type": "'start' | 'end' | undefined"
5567
- },
5568
- {
5569
- "name": "snap",
5570
- "description": "Either one or more space-separated values at which the divider should snap, in pixels, percentages, or repeat expressions e.g. `'100px 50% 500px' or `repeat(50%) 10px`,\nor a function which takes in a `SnapFunctionParams`, and returns a position to snap to, e.g. `({ pos }) => Math.round(pos / 8) * 8`.",
5571
- "type": "string | SnapFunction"
5572
- },
5573
- {
5574
- "name": "snapThreshold",
5575
- "description": "How close the divider must be to a snap point until snapping occurs.",
5576
- "type": "number"
5577
5642
  }
5578
5643
  ],
5579
5644
  "events": [
5580
5645
  {
5581
- "name": "sl-reposition",
5582
- "description": "Emitted when the divider's position changes."
5646
+ "name": "sl-close",
5647
+ "description": "Emitted when the tab is closable and the close button is activated."
5583
5648
  }
5584
5649
  ]
5585
5650
  }
@@ -5745,71 +5810,6 @@
5745
5810
  ]
5746
5811
  }
5747
5812
  },
5748
- {
5749
- "name": "sl-tab",
5750
- "description": "Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).\n---\n\n\n### **Events:**\n - **sl-close** - Emitted when the tab is closable and the close button is activated.\n\n### **Slots:**\n - _default_ - The tab's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **close-button** - The close button, an `<sl-icon-button>`.\n- **close-button__base** - The close button's exported `base` part.",
5751
- "doc-url": "",
5752
- "attributes": [
5753
- {
5754
- "name": "panel",
5755
- "description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
5756
- "value": { "type": "string", "default": "''" }
5757
- },
5758
- {
5759
- "name": "active",
5760
- "description": "Draws the tab in an active state.",
5761
- "value": { "type": "boolean", "default": "false" }
5762
- },
5763
- {
5764
- "name": "closable",
5765
- "description": "Makes the tab closable and shows a close button.",
5766
- "value": { "type": "boolean", "default": "false" }
5767
- },
5768
- {
5769
- "name": "disabled",
5770
- "description": "Disables the tab and prevents selection.",
5771
- "value": { "type": "boolean", "default": "false" }
5772
- }
5773
- ],
5774
- "slots": [{ "name": "", "description": "The tab's label." }],
5775
- "events": [
5776
- {
5777
- "name": "sl-close",
5778
- "description": "Emitted when the tab is closable and the close button is activated."
5779
- }
5780
- ],
5781
- "js": {
5782
- "properties": [
5783
- { "name": "tab", "type": "HTMLElement" },
5784
- {
5785
- "name": "panel",
5786
- "description": "The name of the tab panel this tab is associated with. The panel must be located in the same tab group.",
5787
- "type": "string"
5788
- },
5789
- {
5790
- "name": "active",
5791
- "description": "Draws the tab in an active state.",
5792
- "type": "boolean"
5793
- },
5794
- {
5795
- "name": "closable",
5796
- "description": "Makes the tab closable and shows a close button.",
5797
- "type": "boolean"
5798
- },
5799
- {
5800
- "name": "disabled",
5801
- "description": "Disables the tab and prevents selection.",
5802
- "type": "boolean"
5803
- }
5804
- ],
5805
- "events": [
5806
- {
5807
- "name": "sl-close",
5808
- "description": "Emitted when the tab is closable and the close button is activated."
5809
- }
5810
- ]
5811
- }
5812
- },
5813
5813
  {
5814
5814
  "name": "sl-tab-group",
5815
5815
  "description": "Tab groups organize content into a container that shows one section at a time.\n---\n\n\n### **Events:**\n - **sl-tab-show** - Emitted when a tab is shown.\n- **sl-tab-hide** - Emitted when a tab is hidden.\n\n### **Methods:**\n - **show(panel: _string_)** - Shows the specified tab panel.\n\n### **Slots:**\n - _default_ - Used for grouping tab panels in the tab group. Must be `<sl-tab-panel>` elements.\n- **nav** - Used for grouping tabs in the tab group. Must be `<sl-tab>` elements.\n\n### **CSS Properties:**\n - **--indicator-color** - The color of the active tab indicator. _(default: undefined)_\n- **--track-color** - The color of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n- **--track-width** - The width of the indicator's track (the line that separates tabs from panels). _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **nav** - The tab group's navigation container where tabs are slotted in.\n- **tabs** - The container that wraps the tabs.\n- **active-tab-indicator** - The line that highlights the currently selected tab.\n- **body** - The tab group's body where tab panels are slotted in.\n- **scroll-button** - The previous/next scroll buttons that show when tabs are scrollable, an `<sl-icon-button>`.\n- **scroll-button--start** - The starting scroll button.\n- **scroll-button--end** - The ending scroll button.\n- **scroll-button__base** - The scroll button's exported `base` part.",
@@ -6137,76 +6137,6 @@
6137
6137
  "events": [{ "name": "change", "type": "CustomEvent" }]
6138
6138
  }
6139
6139
  },
6140
- {
6141
- "name": "sl-tag",
6142
- "description": "Tags are used as labels to organize things or to indicate a selection.\n---\n\n\n### **Events:**\n - **sl-remove** - Emitted when the remove button is activated.\n\n### **Slots:**\n - _default_ - The tag's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **remove-button** - The tag's remove button, an `<sl-icon-button>`.\n- **remove-button__base** - The remove button's exported `base` part.",
6143
- "doc-url": "",
6144
- "attributes": [
6145
- {
6146
- "name": "variant",
6147
- "description": "The tag's theme variant.",
6148
- "value": {
6149
- "type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'",
6150
- "default": "'neutral'"
6151
- }
6152
- },
6153
- {
6154
- "name": "size",
6155
- "description": "The tag's size.",
6156
- "value": {
6157
- "type": "'small' | 'medium' | 'large'",
6158
- "default": "'medium'"
6159
- }
6160
- },
6161
- {
6162
- "name": "pill",
6163
- "description": "Draws a pill-style tag with rounded edges.",
6164
- "value": { "type": "boolean", "default": "false" }
6165
- },
6166
- {
6167
- "name": "removable",
6168
- "description": "Makes the tag removable and shows a remove button.",
6169
- "value": { "type": "boolean", "default": "false" }
6170
- }
6171
- ],
6172
- "slots": [{ "name": "", "description": "The tag's content." }],
6173
- "events": [
6174
- {
6175
- "name": "sl-remove",
6176
- "description": "Emitted when the remove button is activated."
6177
- }
6178
- ],
6179
- "js": {
6180
- "properties": [
6181
- {
6182
- "name": "variant",
6183
- "description": "The tag's theme variant.",
6184
- "type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'"
6185
- },
6186
- {
6187
- "name": "size",
6188
- "description": "The tag's size.",
6189
- "type": "'small' | 'medium' | 'large'"
6190
- },
6191
- {
6192
- "name": "pill",
6193
- "description": "Draws a pill-style tag with rounded edges.",
6194
- "type": "boolean"
6195
- },
6196
- {
6197
- "name": "removable",
6198
- "description": "Makes the tag removable and shows a remove button.",
6199
- "type": "boolean"
6200
- }
6201
- ],
6202
- "events": [
6203
- {
6204
- "name": "sl-remove",
6205
- "description": "Emitted when the remove button is activated."
6206
- }
6207
- ]
6208
- }
6209
- },
6210
6140
  {
6211
6141
  "name": "sl-textarea",
6212
6142
  "description": "Textareas collect data from the user and allow multiple lines of text.\n---\n\n\n### **Events:**\n - **sl-blur** - Emitted when the control loses focus.\n- **sl-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sl-focus** - Emitted when the control gains focus.\n- **sl-input** - Emitted when the control receives input.\n- **sl-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the textarea.\n- **blur()** - Removes focus from the textarea.\n- **select()** - Selects all the text in the textarea.\n- **scrollPosition(position: _{ top?: number; left?: number }_): _{ top: number; left: number } | undefined_** - Gets or sets the textarea's scroll position.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The textarea's label. Alternatively, you can use the `label` attribute.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **textarea** - The internal `<textarea>` control.",
@@ -6521,6 +6451,76 @@
6521
6451
  ]
6522
6452
  }
6523
6453
  },
6454
+ {
6455
+ "name": "sl-tag",
6456
+ "description": "Tags are used as labels to organize things or to indicate a selection.\n---\n\n\n### **Events:**\n - **sl-remove** - Emitted when the remove button is activated.\n\n### **Slots:**\n - _default_ - The tag's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **remove-button** - The tag's remove button, an `<sl-icon-button>`.\n- **remove-button__base** - The remove button's exported `base` part.",
6457
+ "doc-url": "",
6458
+ "attributes": [
6459
+ {
6460
+ "name": "variant",
6461
+ "description": "The tag's theme variant.",
6462
+ "value": {
6463
+ "type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'",
6464
+ "default": "'neutral'"
6465
+ }
6466
+ },
6467
+ {
6468
+ "name": "size",
6469
+ "description": "The tag's size.",
6470
+ "value": {
6471
+ "type": "'small' | 'medium' | 'large'",
6472
+ "default": "'medium'"
6473
+ }
6474
+ },
6475
+ {
6476
+ "name": "pill",
6477
+ "description": "Draws a pill-style tag with rounded edges.",
6478
+ "value": { "type": "boolean", "default": "false" }
6479
+ },
6480
+ {
6481
+ "name": "removable",
6482
+ "description": "Makes the tag removable and shows a remove button.",
6483
+ "value": { "type": "boolean", "default": "false" }
6484
+ }
6485
+ ],
6486
+ "slots": [{ "name": "", "description": "The tag's content." }],
6487
+ "events": [
6488
+ {
6489
+ "name": "sl-remove",
6490
+ "description": "Emitted when the remove button is activated."
6491
+ }
6492
+ ],
6493
+ "js": {
6494
+ "properties": [
6495
+ {
6496
+ "name": "variant",
6497
+ "description": "The tag's theme variant.",
6498
+ "type": "'primary' | 'success' | 'neutral' | 'warning' | 'danger' | 'text'"
6499
+ },
6500
+ {
6501
+ "name": "size",
6502
+ "description": "The tag's size.",
6503
+ "type": "'small' | 'medium' | 'large'"
6504
+ },
6505
+ {
6506
+ "name": "pill",
6507
+ "description": "Draws a pill-style tag with rounded edges.",
6508
+ "type": "boolean"
6509
+ },
6510
+ {
6511
+ "name": "removable",
6512
+ "description": "Makes the tag removable and shows a remove button.",
6513
+ "type": "boolean"
6514
+ }
6515
+ ],
6516
+ "events": [
6517
+ {
6518
+ "name": "sl-remove",
6519
+ "description": "Emitted when the remove button is activated."
6520
+ }
6521
+ ]
6522
+ }
6523
+ },
6524
6524
  {
6525
6525
  "name": "sl-timepicker",
6526
6526
  "description": "A time picker component that provides a time selection interface.\n---\n\n\n### **Events:**\n - **sl-change** - Emitted when the control's value changes.\n- **sl-input** - Emitted when the control's value changes.\n- **sl-focus** - Emitted when the control gains focus.\n- **sl-blur** - Emitted when the control loses focus.\n- **sl-clear** - Emitted when the clear button is activated.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **prefix** - The input's prefix, to prepend to the input.\n- **suffix** - The input's suffix, to append to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **help-text** - Help text that describes the input. Alternatively, you can use the `help-text` attribute.",