loseta 0.14.0 → 0.16.0

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 (353) hide show
  1. package/README.md +2 -1
  2. package/dist/commands/add.js +4 -2
  3. package/dist/commands/add.js.map +1 -1
  4. package/dist/commands/list.js +7 -2
  5. package/dist/commands/list.js.map +1 -1
  6. package/package.json +1 -1
  7. package/registry/components/alert-dialog.css +7 -0
  8. package/registry/components/alert.css +2 -0
  9. package/registry/components/avatar.css +11 -2
  10. package/registry/components/button-group.css +33 -18
  11. package/registry/components/button.css +6 -0
  12. package/registry/components/checkbox.css +17 -2
  13. package/registry/components/command.css +7 -0
  14. package/registry/components/context-menu.css +8 -0
  15. package/registry/components/dialog.css +24 -1
  16. package/registry/components/drawer.css +4 -0
  17. package/registry/components/empty.css +2 -0
  18. package/registry/components/field.css +8 -3
  19. package/registry/components/input-group.css +12 -1
  20. package/registry/components/input-otp.css +6 -0
  21. package/registry/components/input.css +5 -0
  22. package/registry/components/navigation-menu.css +18 -1
  23. package/registry/components/radio.css +19 -4
  24. package/registry/components/sheet.css +10 -0
  25. package/registry/components/sidebar.css +68 -0
  26. package/registry/components/slider.css +1 -1
  27. package/registry/components/switch.css +14 -0
  28. package/registry/components/table.css +4 -4
  29. package/registry/components/textarea.css +6 -0
  30. package/registry/components/toggle-group.css +8 -0
  31. package/registry/components/tooltip.css +106 -78
  32. package/registry/examples/alert-dialog.html +133 -7
  33. package/registry/examples/alert.html +50 -3
  34. package/registry/examples/aspect-ratio.html +5 -0
  35. package/registry/examples/attachment.html +12 -0
  36. package/registry/examples/avatar.html +49 -4
  37. package/registry/examples/badge.html +3 -0
  38. package/registry/examples/bubble.html +5 -0
  39. package/registry/examples/button-group.html +140 -12
  40. package/registry/examples/button.html +60 -15
  41. package/registry/examples/checkbox.html +107 -4
  42. package/registry/examples/code-block.html +5 -0
  43. package/registry/examples/combobox.html +13 -0
  44. package/registry/examples/command.html +322 -1
  45. package/registry/examples/context-menu.html +170 -1
  46. package/registry/examples/dialog.html +166 -5
  47. package/registry/examples/drawer.html +198 -10
  48. package/registry/examples/dropdown-menu.html +259 -2
  49. package/registry/examples/empty.html +107 -1
  50. package/registry/examples/field.html +232 -0
  51. package/registry/examples/input-group.html +101 -5
  52. package/registry/examples/input-otp.html +74 -2
  53. package/registry/examples/input.html +75 -4
  54. package/registry/examples/item.html +12 -0
  55. package/registry/examples/marker.html +6 -0
  56. package/registry/examples/menubar.html +338 -9
  57. package/registry/examples/message-scroller.html +1 -1
  58. package/registry/examples/message.html +16 -0
  59. package/registry/examples/navigation-menu.html +166 -17
  60. package/registry/examples/popover.html +153 -6
  61. package/registry/examples/progress.html +66 -3
  62. package/registry/examples/questionnaire.html +33 -0
  63. package/registry/examples/radio.html +121 -9
  64. package/registry/examples/resizable.html +11 -0
  65. package/registry/examples/scroll-area.html +9 -0
  66. package/registry/examples/separator.html +3 -0
  67. package/registry/examples/sheet.html +205 -7
  68. package/registry/examples/sidebar.html +377 -1
  69. package/registry/examples/slider.html +52 -5
  70. package/registry/examples/spinner.html +3 -0
  71. package/registry/examples/switch.html +68 -0
  72. package/registry/examples/table.html +192 -8
  73. package/registry/examples/textarea.html +33 -3
  74. package/registry/examples/toggle-group.html +72 -12
  75. package/registry/examples/toggle.html +34 -7
  76. package/registry/examples/tooltip.html +99 -2
  77. package/registry/examples/trace.html +13 -1
  78. package/registry/primitives/menu.css +10 -0
  79. package/registry/primitives/popover.css +38 -6
  80. package/registry/registry.json +417 -39
  81. package/registry/styles/luma/accordion.css +1 -1
  82. package/registry/styles/luma/alert-dialog.css +8 -0
  83. package/registry/styles/luma/alert.css +1 -17
  84. package/registry/styles/luma/attachment.css +176 -0
  85. package/registry/styles/luma/avatar.css +44 -1
  86. package/registry/styles/luma/bubble.css +147 -0
  87. package/registry/styles/luma/button-group.css +5 -17
  88. package/registry/styles/luma/button.css +8 -8
  89. package/registry/styles/luma/checkbox.css +6 -0
  90. package/registry/styles/luma/collapsible.css +1 -1
  91. package/registry/styles/luma/command.css +6 -0
  92. package/registry/styles/luma/drawer.css +8 -0
  93. package/registry/styles/luma/empty.css +2 -4
  94. package/registry/styles/luma/field.css +1 -1
  95. package/registry/styles/luma/input-group.css +14 -2
  96. package/registry/styles/luma/input-otp.css +8 -0
  97. package/registry/styles/luma/input.css +5 -0
  98. package/registry/styles/luma/kbd.css +1 -1
  99. package/registry/styles/luma/label.css +4 -0
  100. package/registry/styles/luma/marker.css +35 -0
  101. package/registry/styles/luma/menubar.css +1 -1
  102. package/registry/styles/luma/message-scroller.css +47 -0
  103. package/registry/styles/luma/message.css +39 -0
  104. package/registry/styles/luma/navigation-menu.css +11 -0
  105. package/registry/styles/luma/primitives/menu.css +8 -4
  106. package/registry/styles/luma/progress.css +26 -1
  107. package/registry/styles/luma/questionnaire.css +141 -0
  108. package/registry/styles/luma/radio.css +3 -1
  109. package/registry/styles/luma/sheet.css +20 -0
  110. package/registry/styles/luma/sidebar.css +114 -1
  111. package/registry/styles/luma/switch.css +39 -10
  112. package/registry/styles/luma/table.css +6 -2
  113. package/registry/styles/luma/textarea.css +5 -0
  114. package/registry/styles/luma/toggle-group.css +11 -0
  115. package/registry/styles/luma/trace.css +85 -0
  116. package/registry/styles/lyra/accordion.css +1 -1
  117. package/registry/styles/lyra/alert-dialog.css +8 -0
  118. package/registry/styles/lyra/alert.css +1 -17
  119. package/registry/styles/lyra/attachment.css +176 -0
  120. package/registry/styles/lyra/avatar.css +44 -1
  121. package/registry/styles/lyra/bubble.css +147 -0
  122. package/registry/styles/lyra/button-group.css +5 -17
  123. package/registry/styles/lyra/button.css +8 -8
  124. package/registry/styles/lyra/checkbox.css +6 -0
  125. package/registry/styles/lyra/collapsible.css +1 -1
  126. package/registry/styles/lyra/command.css +6 -0
  127. package/registry/styles/lyra/drawer.css +8 -0
  128. package/registry/styles/lyra/empty.css +2 -4
  129. package/registry/styles/lyra/field.css +1 -1
  130. package/registry/styles/lyra/input-group.css +15 -3
  131. package/registry/styles/lyra/input-otp.css +8 -0
  132. package/registry/styles/lyra/input.css +5 -0
  133. package/registry/styles/lyra/kbd.css +1 -1
  134. package/registry/styles/lyra/label.css +4 -0
  135. package/registry/styles/lyra/marker.css +35 -0
  136. package/registry/styles/lyra/menubar.css +1 -1
  137. package/registry/styles/lyra/message-scroller.css +47 -0
  138. package/registry/styles/lyra/message.css +39 -0
  139. package/registry/styles/lyra/navigation-menu.css +11 -0
  140. package/registry/styles/lyra/primitives/menu.css +8 -4
  141. package/registry/styles/lyra/progress.css +26 -1
  142. package/registry/styles/lyra/questionnaire.css +141 -0
  143. package/registry/styles/lyra/radio.css +3 -1
  144. package/registry/styles/lyra/sheet.css +20 -0
  145. package/registry/styles/lyra/sidebar.css +114 -1
  146. package/registry/styles/lyra/switch.css +37 -8
  147. package/registry/styles/lyra/table.css +6 -2
  148. package/registry/styles/lyra/textarea.css +5 -1
  149. package/registry/styles/lyra/trace.css +85 -0
  150. package/registry/styles/maia/accordion.css +1 -1
  151. package/registry/styles/maia/alert-dialog.css +8 -0
  152. package/registry/styles/maia/alert.css +1 -17
  153. package/registry/styles/maia/attachment.css +176 -0
  154. package/registry/styles/maia/avatar.css +44 -1
  155. package/registry/styles/maia/bubble.css +147 -0
  156. package/registry/styles/maia/button-group.css +5 -17
  157. package/registry/styles/maia/button.css +8 -8
  158. package/registry/styles/maia/checkbox.css +6 -0
  159. package/registry/styles/maia/collapsible.css +1 -1
  160. package/registry/styles/maia/command.css +6 -0
  161. package/registry/styles/maia/drawer.css +8 -0
  162. package/registry/styles/maia/empty.css +2 -4
  163. package/registry/styles/maia/field.css +1 -1
  164. package/registry/styles/maia/input-group.css +14 -2
  165. package/registry/styles/maia/input-otp.css +8 -0
  166. package/registry/styles/maia/input.css +5 -0
  167. package/registry/styles/maia/kbd.css +1 -1
  168. package/registry/styles/maia/label.css +4 -0
  169. package/registry/styles/maia/marker.css +35 -0
  170. package/registry/styles/maia/menubar.css +1 -1
  171. package/registry/styles/maia/message-scroller.css +47 -0
  172. package/registry/styles/maia/message.css +39 -0
  173. package/registry/styles/maia/navigation-menu.css +11 -0
  174. package/registry/styles/maia/primitives/menu.css +8 -4
  175. package/registry/styles/maia/progress.css +26 -1
  176. package/registry/styles/maia/questionnaire.css +141 -0
  177. package/registry/styles/maia/radio.css +3 -1
  178. package/registry/styles/maia/sheet.css +20 -0
  179. package/registry/styles/maia/sidebar.css +114 -1
  180. package/registry/styles/maia/switch.css +37 -8
  181. package/registry/styles/maia/table.css +6 -2
  182. package/registry/styles/maia/textarea.css +5 -0
  183. package/registry/styles/maia/toggle-group.css +11 -0
  184. package/registry/styles/maia/trace.css +85 -0
  185. package/registry/styles/mira/accordion.css +1 -1
  186. package/registry/styles/mira/alert-dialog.css +8 -0
  187. package/registry/styles/mira/alert.css +1 -17
  188. package/registry/styles/mira/attachment.css +176 -0
  189. package/registry/styles/mira/avatar.css +44 -1
  190. package/registry/styles/mira/bubble.css +147 -0
  191. package/registry/styles/mira/button-group.css +5 -17
  192. package/registry/styles/mira/button.css +8 -8
  193. package/registry/styles/mira/checkbox.css +6 -0
  194. package/registry/styles/mira/collapsible.css +1 -1
  195. package/registry/styles/mira/command.css +6 -0
  196. package/registry/styles/mira/drawer.css +8 -0
  197. package/registry/styles/mira/empty.css +2 -4
  198. package/registry/styles/mira/field.css +1 -1
  199. package/registry/styles/mira/input-group.css +14 -2
  200. package/registry/styles/mira/input-otp.css +8 -0
  201. package/registry/styles/mira/input.css +7 -2
  202. package/registry/styles/mira/kbd.css +1 -1
  203. package/registry/styles/mira/label.css +4 -0
  204. package/registry/styles/mira/marker.css +35 -0
  205. package/registry/styles/mira/menubar.css +1 -1
  206. package/registry/styles/mira/message-scroller.css +47 -0
  207. package/registry/styles/mira/message.css +39 -0
  208. package/registry/styles/mira/navigation-menu.css +11 -0
  209. package/registry/styles/mira/primitives/menu.css +8 -4
  210. package/registry/styles/mira/progress.css +26 -1
  211. package/registry/styles/mira/questionnaire.css +141 -0
  212. package/registry/styles/mira/radio.css +3 -1
  213. package/registry/styles/mira/sheet.css +20 -0
  214. package/registry/styles/mira/sidebar.css +113 -0
  215. package/registry/styles/mira/switch.css +39 -10
  216. package/registry/styles/mira/table.css +7 -3
  217. package/registry/styles/mira/textarea.css +6 -2
  218. package/registry/styles/mira/toggle-group.css +11 -0
  219. package/registry/styles/mira/trace.css +85 -0
  220. package/registry/styles/nova/accordion.css +1 -1
  221. package/registry/styles/nova/alert-dialog.css +8 -0
  222. package/registry/styles/nova/alert.css +1 -17
  223. package/registry/styles/nova/avatar.css +44 -1
  224. package/registry/styles/nova/button-group.css +5 -17
  225. package/registry/styles/nova/button.css +8 -8
  226. package/registry/styles/nova/checkbox.css +6 -0
  227. package/registry/styles/nova/collapsible.css +1 -1
  228. package/registry/styles/nova/command.css +8 -0
  229. package/registry/styles/nova/drawer.css +8 -0
  230. package/registry/styles/nova/empty.css +2 -4
  231. package/registry/styles/nova/field.css +1 -1
  232. package/registry/styles/nova/input-group.css +15 -3
  233. package/registry/styles/nova/input-otp.css +8 -0
  234. package/registry/styles/nova/input.css +5 -0
  235. package/registry/styles/nova/kbd.css +1 -1
  236. package/registry/styles/nova/label.css +4 -0
  237. package/registry/styles/nova/menubar.css +1 -1
  238. package/registry/styles/nova/navigation-menu.css +11 -0
  239. package/registry/styles/nova/primitives/menu.css +8 -4
  240. package/registry/styles/nova/progress.css +26 -1
  241. package/registry/styles/nova/radio.css +3 -1
  242. package/registry/styles/nova/sheet.css +20 -0
  243. package/registry/styles/nova/sidebar.css +114 -1
  244. package/registry/styles/nova/switch.css +37 -8
  245. package/registry/styles/nova/table.css +6 -2
  246. package/registry/styles/nova/textarea.css +5 -0
  247. package/registry/styles/nova/toggle.css +2 -0
  248. package/registry/styles/rhea/accordion.css +1 -1
  249. package/registry/styles/rhea/alert-dialog.css +8 -0
  250. package/registry/styles/rhea/alert.css +1 -17
  251. package/registry/styles/rhea/attachment.css +176 -0
  252. package/registry/styles/rhea/avatar.css +44 -1
  253. package/registry/styles/rhea/bubble.css +147 -0
  254. package/registry/styles/rhea/button-group.css +5 -17
  255. package/registry/styles/rhea/button.css +8 -8
  256. package/registry/styles/rhea/checkbox.css +6 -0
  257. package/registry/styles/rhea/collapsible.css +1 -1
  258. package/registry/styles/rhea/command.css +6 -0
  259. package/registry/styles/rhea/drawer.css +8 -0
  260. package/registry/styles/rhea/empty.css +2 -4
  261. package/registry/styles/rhea/field.css +1 -1
  262. package/registry/styles/rhea/input-group.css +15 -3
  263. package/registry/styles/rhea/input-otp.css +8 -0
  264. package/registry/styles/rhea/input.css +5 -0
  265. package/registry/styles/rhea/kbd.css +1 -1
  266. package/registry/styles/rhea/label.css +4 -0
  267. package/registry/styles/rhea/marker.css +35 -0
  268. package/registry/styles/rhea/menubar.css +1 -1
  269. package/registry/styles/rhea/message-scroller.css +47 -0
  270. package/registry/styles/rhea/message.css +39 -0
  271. package/registry/styles/rhea/navigation-menu.css +11 -0
  272. package/registry/styles/rhea/primitives/menu.css +8 -4
  273. package/registry/styles/rhea/primitives/popover.css +1 -1
  274. package/registry/styles/rhea/progress.css +25 -0
  275. package/registry/styles/rhea/questionnaire.css +141 -0
  276. package/registry/styles/rhea/radio.css +3 -1
  277. package/registry/styles/rhea/sheet.css +20 -0
  278. package/registry/styles/rhea/sidebar.css +114 -1
  279. package/registry/styles/rhea/switch.css +39 -10
  280. package/registry/styles/rhea/table.css +6 -2
  281. package/registry/styles/rhea/textarea.css +5 -0
  282. package/registry/styles/rhea/toggle-group.css +11 -0
  283. package/registry/styles/rhea/trace.css +85 -0
  284. package/registry/styles/sera/accordion.css +1 -1
  285. package/registry/styles/sera/alert-dialog.css +8 -0
  286. package/registry/styles/sera/alert.css +1 -17
  287. package/registry/styles/sera/attachment.css +176 -0
  288. package/registry/styles/sera/avatar.css +44 -1
  289. package/registry/styles/sera/bubble.css +147 -0
  290. package/registry/styles/sera/button-group.css +5 -17
  291. package/registry/styles/sera/button.css +8 -8
  292. package/registry/styles/sera/checkbox.css +6 -0
  293. package/registry/styles/sera/collapsible.css +1 -1
  294. package/registry/styles/sera/command.css +6 -0
  295. package/registry/styles/sera/drawer.css +8 -0
  296. package/registry/styles/sera/empty.css +2 -4
  297. package/registry/styles/sera/field.css +1 -1
  298. package/registry/styles/sera/input-group.css +14 -2
  299. package/registry/styles/sera/input-otp.css +8 -0
  300. package/registry/styles/sera/input.css +5 -0
  301. package/registry/styles/sera/kbd.css +1 -1
  302. package/registry/styles/sera/label.css +4 -0
  303. package/registry/styles/sera/marker.css +35 -0
  304. package/registry/styles/sera/menubar.css +1 -1
  305. package/registry/styles/sera/message-scroller.css +47 -0
  306. package/registry/styles/sera/message.css +39 -0
  307. package/registry/styles/sera/navigation-menu.css +11 -0
  308. package/registry/styles/sera/primitives/menu.css +8 -4
  309. package/registry/styles/sera/progress.css +26 -1
  310. package/registry/styles/sera/questionnaire.css +147 -0
  311. package/registry/styles/sera/radio.css +3 -1
  312. package/registry/styles/sera/sheet.css +20 -0
  313. package/registry/styles/sera/sidebar.css +117 -0
  314. package/registry/styles/sera/switch.css +37 -8
  315. package/registry/styles/sera/table.css +6 -2
  316. package/registry/styles/sera/textarea.css +5 -0
  317. package/registry/styles/sera/toggle-group.css +10 -0
  318. package/registry/styles/sera/trace.css +87 -0
  319. package/registry/styles/vega/accordion.css +1 -1
  320. package/registry/styles/vega/alert-dialog.css +8 -0
  321. package/registry/styles/vega/alert.css +1 -17
  322. package/registry/styles/vega/attachment.css +176 -0
  323. package/registry/styles/vega/avatar.css +44 -1
  324. package/registry/styles/vega/bubble.css +147 -0
  325. package/registry/styles/vega/button-group.css +5 -17
  326. package/registry/styles/vega/button.css +8 -8
  327. package/registry/styles/vega/checkbox.css +6 -0
  328. package/registry/styles/vega/collapsible.css +1 -1
  329. package/registry/styles/vega/command.css +6 -0
  330. package/registry/styles/vega/drawer.css +8 -0
  331. package/registry/styles/vega/empty.css +2 -4
  332. package/registry/styles/vega/field.css +1 -1
  333. package/registry/styles/vega/input-group.css +14 -2
  334. package/registry/styles/vega/input-otp.css +8 -0
  335. package/registry/styles/vega/input.css +5 -0
  336. package/registry/styles/vega/kbd.css +1 -1
  337. package/registry/styles/vega/label.css +4 -0
  338. package/registry/styles/vega/marker.css +35 -0
  339. package/registry/styles/vega/menubar.css +1 -1
  340. package/registry/styles/vega/message-scroller.css +47 -0
  341. package/registry/styles/vega/message.css +39 -0
  342. package/registry/styles/vega/navigation-menu.css +11 -0
  343. package/registry/styles/vega/primitives/menu.css +8 -4
  344. package/registry/styles/vega/progress.css +26 -1
  345. package/registry/styles/vega/questionnaire.css +141 -0
  346. package/registry/styles/vega/radio.css +3 -1
  347. package/registry/styles/vega/sheet.css +20 -0
  348. package/registry/styles/vega/sidebar.css +114 -1
  349. package/registry/styles/vega/switch.css +37 -8
  350. package/registry/styles/vega/table.css +6 -2
  351. package/registry/styles/vega/textarea.css +5 -0
  352. package/registry/styles/vega/toggle-group.css +11 -0
  353. package/registry/styles/vega/trace.css +85 -0
@@ -1,15 +1,62 @@
1
1
  <!-- Default -->
2
2
  <div class="alert" role="alert">
3
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.801 10A10 10 0 1 1 17 3.335"/><path d="m9 11 3 3L22 4"/></svg>
3
4
  <h3 data-slot="title">Heads up!</h3>
4
5
  <section>
5
- <p>You can add components to your app using the CLI.</p>
6
+ <p>You can add components and dependencies to your app using the CLI.</p>
6
7
  </section>
7
8
  </div>
8
9
 
9
10
  <!-- Destructive -->
10
11
  <div class="alert" data-variant="destructive" role="alert">
11
- <h3 data-slot="title">Session expired</h3>
12
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><line x1="12" x2="12" y1="8" y2="12"/><line x1="12" x2="12.01" y1="16" y2="16"/></svg>
13
+ <h3 data-slot="title">Payment failed</h3>
12
14
  <section>
13
- <p>Please log in again to continue.</p>
15
+ <p>Your payment could not be processed. Please check your payment method and try again.</p>
14
16
  </section>
15
17
  </div>
18
+
19
+ <!-- Action -->
20
+ <div class="alert" role="alert">
21
+ <h3 data-slot="title">Dark mode is now available</h3>
22
+ <p data-slot="description">Enable it under your profile settings to get started.</p>
23
+ <footer>
24
+ <button type="button" class="btn" data-size="xs">Enable</button>
25
+ </footer>
26
+ </div>
27
+
28
+ <!-- Description container -->
29
+ <div class="alert" role="alert">
30
+ <h3 data-slot="title">Using the CLI</h3>
31
+ <div data-slot="description">
32
+ <p>Add components and dependencies with the CLI.</p>
33
+ <p>Then customize the alert with your own tokens.</p>
34
+ </div>
35
+ </div>
36
+
37
+ <!-- Custom colors -->
38
+ <div class="alert" role="alert" style="--card: color-mix(in oklab, var(--chart-4) 10%, var(--background)); --border: color-mix(in oklab, var(--chart-4) 40%, var(--background)); --muted-foreground: color-mix(in oklab, var(--chart-4) 35%, var(--foreground))">
39
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"/><path d="M12 9v4"/><path d="M12 17h.01"/></svg>
40
+ <h3 data-slot="title">Your subscription will expire in 3 days.</h3>
41
+ <section>
42
+ <p>Renew now to avoid service interruption or upgrade to a paid plan to continue using the service.</p>
43
+ </section>
44
+ </div>
45
+
46
+ <!-- Right-to-left -->
47
+ <div dir="rtl" lang="ar" style="display: grid; gap: 1rem">
48
+ <div class="alert" role="alert">
49
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.801 10A10 10 0 1 1 17 3.335"/><path d="m9 11 3 3L22 4"/></svg>
50
+ <h3 data-slot="title">تم الدفع بنجاح</h3>
51
+ <section>
52
+ <p>تمت معالجة دفعتك البالغة 29.99 دولارًا. تم إرسال إيصال إلى عنوان بريدك الإلكتروني.</p>
53
+ </section>
54
+ </div>
55
+ <div class="alert" role="alert">
56
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg>
57
+ <h3 data-slot="title">ميزة جديدة متاحة</h3>
58
+ <section>
59
+ <p>لقد أضفنا دعم الوضع الداكن. يمكنك تفعيله في إعدادات حسابك.</p>
60
+ </section>
61
+ </div>
62
+ </div>
@@ -1,3 +1,8 @@
1
+ <!-- Default -->
2
+ <div class="aspect-ratio" style="max-width: 24rem">
3
+ <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2394a3b8'/%3E%3Cstop offset='1' stop-color='%23e2e8f0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='90' fill='url(%23g)'/%3E%3Ctext x='80' y='49' text-anchor='middle' font-family='sans-serif' font-size='12' fill='%23334155'%3E16:9%3C/text%3E%3C/svg%3E" alt="A 16 by 9 media placeholder" />
4
+ </div>
5
+
1
6
  <!-- 16 / 9 -->
2
7
  <div class="aspect-ratio" style="--ratio: 16 / 9">
3
8
  <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 90'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%2394a3b8'/%3E%3Cstop offset='1' stop-color='%23e2e8f0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='160' height='90' fill='url(%23g)'/%3E%3Ctext x='80' y='49' text-anchor='middle' font-family='sans-serif' font-size='12' fill='%23334155'%3E16:9%3C/text%3E%3C/svg%3E" alt="A 16 by 9 media placeholder" />
@@ -1,3 +1,15 @@
1
+ <!-- Default -->
2
+ <div class="attachment">
3
+ <div data-slot="media"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/><path d="M10 9H8"/><path d="M16 13H8"/><path d="M16 17H8"/></svg></div>
4
+ <div data-slot="content">
5
+ <span data-slot="title">report.pdf</span>
6
+ <span data-slot="description">PDF · 2.4 MB</span>
7
+ </div>
8
+ <div data-slot="actions">
9
+ <button type="button" class="btn" data-variant="ghost" data-size="icon-xs" aria-label="Remove report.pdf">×</button>
10
+ </div>
11
+ </div>
12
+
1
13
  <!-- States -->
2
14
  <div style="display: flex; flex-direction: column; gap: 0.75rem; max-width: 24rem">
3
15
  <div class="attachment">
@@ -1,3 +1,12 @@
1
+ <!-- Default -->
2
+ <span class="avatar"><span data-slot="fallback">CN</span></span>
3
+
4
+ <!-- Basic -->
5
+ <span class="avatar">
6
+ <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23cbd5e1'/%3E%3Ccircle cx='32' cy='24' r='11' fill='%23475569'/%3E%3Cpath d='M10 64c0-12 10-22 22-22s22 10 22 22z' fill='%23475569'/%3E%3C/svg%3E" alt="Ada Lovelace" />
7
+ <span data-slot="fallback" aria-hidden="true">AL</span>
8
+ </span>
9
+
1
10
  <!-- Sizes -->
2
11
  <div style="display: flex; align-items: center; gap: 0.75rem">
3
12
  <span class="avatar" data-size="sm"><span data-slot="fallback">SM</span></span>
@@ -5,17 +14,53 @@
5
14
  <span class="avatar" data-size="lg"><span data-slot="fallback">LG</span></span>
6
15
  </div>
7
16
 
8
- <!-- Image and badge -->
9
- <span class="avatar" data-size="lg">
17
+ <!-- Badge -->
18
+ <span class="avatar">
10
19
  <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23cbd5e1'/%3E%3Ccircle cx='32' cy='24' r='11' fill='%23475569'/%3E%3Cpath d='M10 64c0-12 10-22 22-22s22 10 22 22z' fill='%23475569'/%3E%3C/svg%3E" alt="Ada Lovelace" />
11
20
  <span data-slot="fallback" aria-hidden="true">AL</span>
12
21
  <span data-slot="badge" aria-hidden="true"></span>
13
22
  </span>
14
23
 
24
+ <!-- Badge with icon -->
25
+ <span class="avatar" data-size="lg">
26
+ <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' fill='%23cbd5e1'/%3E%3Ccircle cx='32' cy='24' r='11' fill='%23475569'/%3E%3Cpath d='M10 64c0-12 10-22 22-22s22 10 22 22z' fill='%23475569'/%3E%3C/svg%3E" alt="Ada Lovelace" />
27
+ <span data-slot="fallback" aria-hidden="true">AL</span>
28
+ <span data-slot="badge" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></span>
29
+ </span>
30
+
15
31
  <!-- Group -->
16
- <div class="avatar-group">
32
+ <div class="avatar-group" role="group" aria-label="Project contributors">
17
33
  <span class="avatar"><span data-slot="fallback">AL</span></span>
18
34
  <span class="avatar"><span data-slot="fallback">GR</span></span>
19
35
  <span class="avatar"><span data-slot="fallback">TS</span></span>
20
- <span class="avatar"><span data-slot="fallback">+3</span></span>
36
+ </div>
37
+
38
+ <!-- Group count -->
39
+ <div class="avatar-group" role="group" aria-label="Project contributors">
40
+ <span class="avatar"><span data-slot="fallback">AL</span></span>
41
+ <span class="avatar"><span data-slot="fallback">GR</span></span>
42
+ <span class="avatar"><span data-slot="fallback">TS</span></span>
43
+ <span data-slot="count"><span aria-hidden="true">+3</span><span class="sr-only">3 more contributors</span></span>
44
+ </div>
45
+
46
+ <!-- Group with icon -->
47
+ <div class="avatar-group" role="group" aria-label="Project contributors">
48
+ <span class="avatar"><span data-slot="fallback">AL</span></span>
49
+ <span class="avatar"><span data-slot="fallback">GR</span></span>
50
+ <span class="avatar"><span data-slot="fallback">TS</span></span>
51
+ <span data-slot="count"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg><span class="sr-only">3 more contributors</span></span>
52
+ </div>
53
+
54
+ <!-- Right-to-left -->
55
+ <div style="display: flex; flex-wrap: wrap; align-items: center; gap: 1rem" dir="rtl" lang="ar">
56
+ <span class="avatar" data-size="lg">
57
+ <span data-slot="fallback">ع</span>
58
+ <span data-slot="badge" aria-hidden="true"></span>
59
+ </span>
60
+ <div class="avatar-group" role="group" aria-label="أعضاء الفريق">
61
+ <span class="avatar" data-size="lg"><span data-slot="fallback">أح</span></span>
62
+ <span class="avatar" data-size="lg"><span data-slot="fallback">سم</span></span>
63
+ <span class="avatar" data-size="lg"><span data-slot="fallback">لي</span></span>
64
+ <span data-slot="count"><span aria-hidden="true">+٣</span><span class="sr-only">٣ أعضاء آخرون</span></span>
65
+ </div>
21
66
  </div>
@@ -1,3 +1,6 @@
1
+ <!-- Default -->
2
+ <span class="badge">Badge</span>
3
+
1
4
  <!-- Variants -->
2
5
  <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
3
6
  <span class="badge">Default</span>
@@ -1,3 +1,8 @@
1
+ <!-- Default -->
2
+ <div class="bubble" data-align="start">
3
+ <div data-slot="content">Hello! How can I help you today?</div>
4
+ </div>
5
+
1
6
  <!-- Variants -->
2
7
  <div style="display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: flex-start">
3
8
  <div class="bubble"><div data-slot="content">Default</div></div>
@@ -1,13 +1,141 @@
1
- <!-- Horizontal -->
2
- <div class="btn-group" role="group" aria-label="Button group" data-orientation="horizontal">
3
- <button class="btn" data-variant="outline">Left</button>
4
- <button class="btn" data-variant="outline">Center</button>
5
- <button class="btn" data-variant="outline">Right</button>
6
- </div>
7
-
8
- <!-- Vertical -->
9
- <div class="btn-group" role="group" aria-label="Vertical button group" data-orientation="vertical">
10
- <button class="btn" data-variant="outline">Top</button>
11
- <button class="btn" data-variant="outline">Middle</button>
12
- <button class="btn" data-variant="outline">Bottom</button>
1
+ <!-- Default -->
2
+ <div class="btn-group" role="group" aria-label="History">
3
+ <button type="button" class="btn" data-variant="outline">Undo</button>
4
+ <button type="button" class="btn" data-variant="outline">Redo</button>
5
+ </div>
6
+
7
+ <!-- Orientation -->
8
+ <div style="display: flex; align-items: flex-start; gap: 1rem">
9
+ <div class="btn-group" role="group" aria-label="Zoom">
10
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-label="Zoom out"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/></svg></button>
11
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-label="Zoom in"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></button>
12
+ </div>
13
+ <div class="btn-group" role="group" aria-label="Volume" data-orientation="vertical">
14
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-label="Volume up"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></button>
15
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-label="Volume down"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/></svg></button>
16
+ </div>
17
+ </div>
18
+
19
+ <!-- Sizes -->
20
+ <div style="display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem">
21
+ <div class="btn-group" role="group" aria-label="Small actions">
22
+ <button type="button" class="btn" data-variant="outline" data-size="sm">Small</button>
23
+ <button type="button" class="btn" data-variant="outline" data-size="sm">Button</button>
24
+ <button type="button" class="btn" data-variant="outline" data-size="icon-sm" aria-label="Add"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></button>
25
+ </div>
26
+ <div class="btn-group" role="group" aria-label="Default actions">
27
+ <button type="button" class="btn" data-variant="outline">Default</button>
28
+ <button type="button" class="btn" data-variant="outline">Button</button>
29
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-label="Add"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></button>
30
+ </div>
31
+ <div class="btn-group" role="group" aria-label="Large actions">
32
+ <button type="button" class="btn" data-variant="outline" data-size="lg">Large</button>
33
+ <button type="button" class="btn" data-variant="outline" data-size="lg">Button</button>
34
+ <button type="button" class="btn" data-variant="outline" data-size="icon-lg" aria-label="Add"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></button>
35
+ </div>
36
+ </div>
37
+
38
+ <!-- Text -->
39
+ <div class="btn-group" role="group" aria-label="Project URL">
40
+ <label class="label" for="demo-button-group-url">https://</label>
41
+ <input class="input" id="demo-button-group-url" type="text" placeholder="example.com">
42
+ <button type="button" class="btn" data-variant="outline">Copy</button>
43
+ </div>
44
+
45
+ <!-- Separator -->
46
+ <div class="btn-group" role="group" aria-label="Clipboard">
47
+ <button type="button" class="btn" data-variant="secondary">Copy</button>
48
+ <hr role="separator" aria-orientation="vertical">
49
+ <button type="button" class="btn" data-variant="secondary">Paste</button>
50
+ </div>
51
+
52
+ <!-- Split -->
53
+ <div class="btn-group" role="group" aria-label="New project">
54
+ <button type="button" class="btn" data-variant="secondary">New project</button>
55
+ <hr role="separator" aria-orientation="vertical">
56
+ <button type="button" class="btn" data-variant="secondary" data-size="icon" aria-label="New project options"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></button>
57
+ </div>
58
+
59
+ <!-- Input -->
60
+ <div class="btn-group" role="group" aria-label="Search">
61
+ <input class="input" type="search" placeholder="Search components..." aria-label="Search components">
62
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-label="Search"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg></button>
63
+ </div>
64
+
65
+ <!-- Dropdown menu -->
66
+ <div class="btn-group" role="group" aria-label="Conversation actions">
67
+ <button type="button" class="btn" data-variant="outline">Follow</button>
68
+ <div class="dropdown-menu">
69
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-haspopup="menu" aria-expanded="false" aria-label="More conversation actions"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></button>
70
+ <div data-popover data-side="bottom" data-align="end" aria-hidden="true" style="width: 11rem">
71
+ <div role="menu">
72
+ <button type="button" role="menuitem">Mute conversation</button>
73
+ <button type="button" role="menuitem">Mark as read</button>
74
+ <button type="button" role="menuitem">Report conversation</button>
75
+ <div role="separator"></div>
76
+ <button type="button" role="menuitem" data-variant="destructive">Delete conversation</button>
77
+ </div>
78
+ </div>
79
+ </div>
80
+ </div>
81
+
82
+ <!-- Popover -->
83
+ <div class="btn-group" role="group" aria-label="Copilot">
84
+ <button type="button" class="btn" data-variant="outline"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="inline-start"><path d="M12 8V4H8"/><rect width="16" height="12" x="4" y="8" rx="2"/><path d="M2 14h2"/><path d="M20 14h2"/><path d="M15 13v2"/><path d="M9 13v2"/></svg>Copilot</button>
85
+ <div class="popover">
86
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-expanded="false" aria-label="Start a new task"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></button>
87
+ <div data-popover data-side="bottom" data-align="end" aria-hidden="true">
88
+ <header>
89
+ <h3 data-slot="title">Start a new task</h3>
90
+ <p data-slot="description">Describe your task in natural language.</p>
91
+ </header>
92
+ <div class="field">
93
+ <label class="label" for="demo-button-group-task">Task</label>
94
+ <textarea class="textarea" id="demo-button-group-task" placeholder="I need to..."></textarea>
95
+ </div>
96
+ </div>
97
+ </div>
98
+ </div>
99
+
100
+ <!-- Select -->
101
+ <div class="btn-group" role="group" aria-label="Send amount">
102
+ <div class="btn-group" role="group" aria-label="Amount">
103
+ <div class="select">
104
+ <button type="button" role="combobox" aria-haspopup="listbox" aria-expanded="false" aria-controls="demo-button-group-currency" aria-label="Currency">
105
+ <span data-slot="value">$</span>
106
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg>
107
+ </button>
108
+ <div data-popover data-side="bottom" aria-hidden="true" id="demo-button-group-currency">
109
+ <div role="listbox" aria-label="Currency">
110
+ <div role="option" aria-selected="true" aria-label="US Dollar">
111
+ <span data-slot="text">$</span>
112
+ <span data-slot="indicator" aria-hidden="true">✓</span>
113
+ </div>
114
+ <div role="option" aria-selected="false" aria-label="Euro">
115
+ <span data-slot="text">€</span>
116
+ <span data-slot="indicator" aria-hidden="true">✓</span>
117
+ </div>
118
+ <div role="option" aria-selected="false" aria-label="British Pound">
119
+ <span data-slot="text">£</span>
120
+ <span data-slot="indicator" aria-hidden="true">✓</span>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </div>
125
+ <input class="input" type="text" inputmode="decimal" placeholder="10.00" aria-label="Amount">
126
+ </div>
127
+ <div class="btn-group" role="group" aria-label="Send">
128
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-label="Send"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></button>
129
+ </div>
130
+ </div>
131
+
132
+ <!-- Nested -->
133
+ <div class="btn-group" role="group" aria-label="Message composer">
134
+ <div class="btn-group" role="group" aria-label="Attachments">
135
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-label="Add attachment"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></button>
136
+ </div>
137
+ <div class="btn-group" role="group" aria-label="Message">
138
+ <input class="input" type="text" placeholder="Send a message..." aria-label="Message">
139
+ <button type="button" class="btn" data-variant="outline" data-size="icon" aria-label="Send message"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></button>
140
+ </div>
13
141
  </div>
@@ -1,21 +1,66 @@
1
+ <!-- Default -->
2
+ <button type="button" class="btn">Button</button>
3
+
1
4
  <!-- Variants -->
2
5
  <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
3
- <button class="btn">Default</button>
4
- <button class="btn" data-variant="secondary">Secondary</button>
5
- <button class="btn" data-variant="outline">Outline</button>
6
- <button class="btn" data-variant="ghost">Ghost</button>
7
- <button class="btn" data-variant="link">Link</button>
8
- <button class="btn" data-variant="destructive">Destructive</button>
6
+ <button type="button" class="btn">Default</button>
7
+ <button type="button" class="btn" data-variant="secondary">Secondary</button>
8
+ <button type="button" class="btn" data-variant="outline">Outline</button>
9
+ <button type="button" class="btn" data-variant="ghost">Ghost</button>
10
+ <button type="button" class="btn" data-variant="link">Link</button>
11
+ <button type="button" class="btn" data-variant="destructive">Destructive</button>
12
+ </div>
13
+
14
+ <!-- Sizes -->
15
+ <div style="display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem">
16
+ <button type="button" class="btn" data-size="xs">Extra small</button>
17
+ <button type="button" class="btn" data-size="sm">Small</button>
18
+ <button type="button" class="btn">Default</button>
19
+ <button type="button" class="btn" data-size="lg">Large</button>
9
20
  </div>
10
21
 
11
- <!-- Sizes and icons -->
22
+ <!-- Icon buttons -->
12
23
  <div style="display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem">
13
- <button class="btn" data-size="xs">Extra small</button>
14
- <button class="btn" data-size="sm">Small</button>
15
- <button class="btn">Default</button>
16
- <button class="btn" data-size="lg">Large</button>
17
- <button class="btn" data-size="icon" aria-label="Next"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></button>
18
- <button class="btn" data-size="icon-sm" aria-label="Next"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></button>
19
- <button class="btn" data-size="icon-lg" aria-label="Next"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></button>
20
- <button class="btn"><svg data-icon="inline-start" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg>Icon and text</button>
24
+ <button type="button" class="btn" data-size="icon-xs" aria-label="Add"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="M12 5v14"/></svg></button>
25
+ <button type="button" class="btn" data-size="icon-sm" aria-label="Search"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.3-4.3"/></svg></button>
26
+ <button type="button" class="btn" data-size="icon" aria-label="Next"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></button>
27
+ <button type="button" class="btn" data-size="icon-lg" aria-label="More options"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m6 9 6 6 6-6"/></svg></button>
28
+ </div>
29
+
30
+ <!-- With icons -->
31
+ <div style="display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem">
32
+ <button type="button" class="btn"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="inline-start"><line x1="6" x2="6" y1="3" y2="15"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="M18 9a9 9 0 0 1-9 9"/></svg>New branch</button>
33
+ <button type="button" class="btn" data-variant="outline"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="inline-start"><circle cx="12" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><circle cx="18" cy="6" r="3"/><path d="M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9"/><path d="M12 12v3"/></svg>Fork</button>
34
+ <button type="button" class="btn" data-variant="ghost">Continue<svg data-icon="inline-end" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14"/><path d="m12 5 7 7-7 7"/></svg></button>
35
+ </div>
36
+
37
+ <!-- Rounded -->
38
+ <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
39
+ <button type="button" class="btn" style="border-radius: var(--radius-full)">Get started</button>
40
+ <button type="button" class="btn" data-variant="outline" style="border-radius: var(--radius-full)">Documentation</button>
41
+ </div>
42
+
43
+ <!-- Loading -->
44
+ <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
45
+ <button type="button" class="btn" aria-busy="true"><span class="spinner" data-icon="inline-start" aria-hidden="true"></span>Generating</button>
46
+ <button type="button" class="btn" data-variant="outline" aria-busy="true"><span class="spinner" data-icon="inline-start" aria-hidden="true"></span>Downloading</button>
47
+ </div>
48
+
49
+ <!-- Disabled and invalid -->
50
+ <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
51
+ <button type="button" class="btn" disabled>Disabled</button>
52
+ <button type="button" class="btn" data-variant="outline" disabled>Disabled</button>
53
+ <button type="button" class="btn" aria-invalid="true">Invalid</button>
54
+ </div>
55
+
56
+ <!-- As link -->
57
+ <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
58
+ <a class="btn" href="#">Login</a>
59
+ <a class="btn" data-variant="outline" href="#">Read the docs</a>
60
+ </div>
61
+
62
+ <!-- Right-to-left -->
63
+ <div dir="rtl" style="display: flex; flex-wrap: wrap; gap: 0.5rem">
64
+ <button type="button" class="btn"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="inline-start"><line x1="6" x2="6" y1="3" y2="15"/><circle cx="18" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><path d="M18 9a9 9 0 0 1-9 9"/></svg>New branch</button>
65
+ <button type="button" class="btn" data-variant="outline"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" data-icon="inline-start"><circle cx="12" cy="18" r="3"/><circle cx="6" cy="6" r="3"/><circle cx="18" cy="6" r="3"/><path d="M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9"/><path d="M12 12v3"/></svg>Fork</button>
21
66
  </div>
@@ -1,8 +1,111 @@
1
1
  <!-- Default -->
2
+ <div class="field" data-orientation="horizontal">
3
+ <input class="checkbox" type="checkbox" id="demo-checkbox" checked>
4
+ <label class="label" for="demo-checkbox">Accept terms and conditions</label>
5
+ </div>
6
+
7
+ <!-- With description -->
8
+ <div class="field" data-orientation="horizontal">
9
+ <input class="checkbox" type="checkbox" id="demo-checkbox-description" checked>
10
+ <section>
11
+ <label class="label" for="demo-checkbox-description">Accept terms and conditions</label>
12
+ <p>By clicking this checkbox, you agree to the terms and conditions.</p>
13
+ </section>
14
+ </div>
15
+
16
+ <!-- Disabled -->
2
17
  <div class="field">
3
- <label class="label" for="demo-checkbox">
4
- <input class="checkbox" type="checkbox" id="demo-checkbox" checked>
5
- Accept terms and conditions
18
+ <label class="label" for="demo-checkbox-disabled">
19
+ <input class="checkbox" type="checkbox" id="demo-checkbox-disabled" disabled>
20
+ Enable notifications
21
+ </label>
22
+ </div>
23
+
24
+ <!-- Invalid -->
25
+ <div class="field" data-orientation="horizontal" aria-invalid="true">
26
+ <input class="checkbox" type="checkbox" id="demo-checkbox-invalid" aria-invalid="true">
27
+ <section>
28
+ <label class="label" for="demo-checkbox-invalid">Accept terms and conditions</label>
29
+ <p role="alert">You must accept the terms and conditions to continue.</p>
30
+ </section>
31
+ </div>
32
+
33
+ <!-- Group -->
34
+ <fieldset class="fieldset" style="max-width: 20rem">
35
+ <legend data-variant="label">Show these items on the desktop:</legend>
36
+ <p>Select the items you want to show on the desktop.</p>
37
+ <div role="group" data-slot="checkbox-group" aria-label="Items shown on the desktop">
38
+ <div class="field" data-orientation="horizontal">
39
+ <input class="checkbox" type="checkbox" id="demo-checkbox-hard-disks" name="desktop-items" value="hard-disks" checked>
40
+ <label class="label" for="demo-checkbox-hard-disks">Hard disks</label>
41
+ </div>
42
+ <div class="field" data-orientation="horizontal">
43
+ <input class="checkbox" type="checkbox" id="demo-checkbox-external-disks" name="desktop-items" value="external-disks">
44
+ <label class="label" for="demo-checkbox-external-disks">External disks</label>
45
+ </div>
46
+ <div class="field" data-orientation="horizontal">
47
+ <input class="checkbox" type="checkbox" id="demo-checkbox-cds" name="desktop-items" value="cds" checked>
48
+ <label class="label" for="demo-checkbox-cds">CDs, DVDs, and iPods</label>
49
+ </div>
50
+ <div class="field" data-orientation="horizontal">
51
+ <input class="checkbox" type="checkbox" id="demo-checkbox-servers" name="desktop-items" value="servers">
52
+ <label class="label" for="demo-checkbox-servers">Connected servers</label>
53
+ </div>
54
+ </div>
55
+ </fieldset>
56
+
57
+ <!-- With title -->
58
+ <div class="field" style="max-width: 28rem">
59
+ <label class="label" for="demo-checkbox-notifications">
60
+ <div class="field" data-orientation="horizontal">
61
+ <input class="checkbox" type="checkbox" id="demo-checkbox-notifications" checked>
62
+ <section>
63
+ <h3>Enable notifications</h3>
64
+ <p>You can enable or disable notifications at any time.</p>
65
+ </section>
66
+ </div>
6
67
  </label>
7
- <p>You agree to our Terms of Service and Privacy Policy.</p>
68
+ </div>
69
+
70
+ <!-- In table -->
71
+ <div class="table-container">
72
+ <table class="table">
73
+ <caption>Team members and their roles.</caption>
74
+ <thead>
75
+ <tr>
76
+ <th>
77
+ <input class="checkbox" type="checkbox" role="checkbox" aria-label="Select all rows">
78
+ </th>
79
+ <th>Name</th>
80
+ <th>Email</th>
81
+ <th>Role</th>
82
+ </tr>
83
+ </thead>
84
+ <tbody>
85
+ <tr aria-selected="true">
86
+ <td><input class="checkbox" type="checkbox" role="checkbox" aria-label="Select Sarah Chen" checked></td>
87
+ <td>Sarah Chen</td>
88
+ <td>sarah.chen@example.com</td>
89
+ <td>Admin</td>
90
+ </tr>
91
+ <tr aria-selected="true">
92
+ <td><input class="checkbox" type="checkbox" role="checkbox" aria-label="Select Marcus Rodriguez" checked></td>
93
+ <td>Marcus Rodriguez</td>
94
+ <td>marcus.rodriguez@example.com</td>
95
+ <td>User</td>
96
+ </tr>
97
+ <tr>
98
+ <td><input class="checkbox" type="checkbox" role="checkbox" aria-label="Select Priya Patel"></td>
99
+ <td>Priya Patel</td>
100
+ <td>priya.patel@example.com</td>
101
+ <td>User</td>
102
+ </tr>
103
+ <tr>
104
+ <td><input class="checkbox" type="checkbox" role="checkbox" aria-label="Select David Kim"></td>
105
+ <td>David Kim</td>
106
+ <td>david.kim@example.com</td>
107
+ <td>Editor</td>
108
+ </tr>
109
+ </tbody>
110
+ </table>
8
111
  </div>
@@ -1,3 +1,8 @@
1
+ <!-- Default -->
2
+ <div class="code-block" style="max-width: 32rem">
3
+ <pre dir="ltr" tabindex="0"><code>pnpm add loseta</code></pre>
4
+ </div>
5
+
1
6
  <!-- Header and actions -->
2
7
  <div class="code-block">
3
8
  <header>
@@ -1,3 +1,16 @@
1
+ <!-- Default -->
2
+ <div class="combobox">
3
+ <input role="combobox" aria-expanded="false" aria-controls="combobox-default-panel" aria-autocomplete="list" placeholder="Select a framework..." aria-label="Select a framework">
4
+ <div data-popover data-side="bottom" aria-hidden="true" id="combobox-default-panel">
5
+ <div role="listbox" aria-label="Frameworks">
6
+ <div role="option" aria-selected="false"><span data-slot="text">React</span></div>
7
+ <div role="option" aria-selected="false"><span data-slot="text">Vue</span></div>
8
+ <div role="option" aria-selected="false"><span data-slot="text">Svelte</span></div>
9
+ <div data-slot="empty" hidden>No framework found.</div>
10
+ </div>
11
+ </div>
12
+ </div>
13
+
1
14
  <!-- Single -->
2
15
  <div class="combobox">
3
16
  <input role="combobox" aria-expanded="false" aria-controls="combobox-fruit-panel" aria-autocomplete="list" placeholder="Search fruit..." aria-label="Search fruit">