loseta 0.18.0 → 0.20.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 (743) hide show
  1. package/README.md +86 -18
  2. package/dist/cli.js +3 -4
  3. package/dist/cli.js.map +1 -1
  4. package/dist/command-context.d.ts +20 -0
  5. package/dist/command-context.js +26 -0
  6. package/dist/command-context.js.map +1 -0
  7. package/dist/command-errors.d.ts +2 -0
  8. package/dist/command-errors.js +42 -0
  9. package/dist/command-errors.js.map +1 -0
  10. package/dist/commands/add.d.ts +8 -0
  11. package/dist/commands/add.js +189 -61
  12. package/dist/commands/add.js.map +1 -1
  13. package/dist/commands/init.d.ts +8 -0
  14. package/dist/commands/init.js +70 -27
  15. package/dist/commands/init.js.map +1 -1
  16. package/dist/commands/list.d.ts +8 -0
  17. package/dist/commands/list.js +42 -3
  18. package/dist/commands/list.js.map +1 -1
  19. package/dist/commands/style.d.ts +10 -1
  20. package/dist/commands/style.js +58 -10
  21. package/dist/commands/style.js.map +1 -1
  22. package/dist/constants.d.ts +9 -0
  23. package/dist/constants.js +10 -0
  24. package/dist/constants.js.map +1 -0
  25. package/dist/fetch.d.ts +28 -0
  26. package/dist/fetch.js +135 -0
  27. package/dist/fetch.js.map +1 -0
  28. package/dist/imports.d.ts +6 -6
  29. package/dist/imports.js +42 -32
  30. package/dist/imports.js.map +1 -1
  31. package/dist/install.d.ts +17 -14
  32. package/dist/install.js +67 -41
  33. package/dist/install.js.map +1 -1
  34. package/dist/local-registry.d.ts +20 -0
  35. package/dist/local-registry.js +58 -0
  36. package/dist/local-registry.js.map +1 -0
  37. package/dist/manifest.d.ts +1 -1
  38. package/dist/manifest.js +14 -2
  39. package/dist/manifest.js.map +1 -1
  40. package/dist/package-info.d.ts +2 -0
  41. package/dist/package-info.js +5 -0
  42. package/dist/package-info.js.map +1 -0
  43. package/dist/payload.d.ts +31 -0
  44. package/dist/payload.js +155 -0
  45. package/dist/payload.js.map +1 -0
  46. package/dist/registry-url.d.ts +14 -0
  47. package/dist/registry-url.js +63 -0
  48. package/dist/registry-url.js.map +1 -0
  49. package/dist/remote-registry.d.ts +36 -0
  50. package/dist/remote-registry.js +232 -0
  51. package/dist/remote-registry.js.map +1 -0
  52. package/dist/resolve.d.ts +23 -0
  53. package/dist/resolve.js +106 -0
  54. package/dist/resolve.js.map +1 -0
  55. package/{registry/schema.json → dist/schema-catalog.json} +31 -9
  56. package/dist/schema-item.json +119 -0
  57. package/dist/source-types.d.ts +15 -0
  58. package/dist/source-types.js +2 -0
  59. package/dist/source-types.js.map +1 -0
  60. package/dist/style-switch.d.ts +4 -1
  61. package/dist/style-switch.js +12 -2
  62. package/dist/style-switch.js.map +1 -1
  63. package/dist/types.d.ts +55 -3
  64. package/dist/validate-content.d.ts +20 -0
  65. package/dist/validate-content.js +385 -0
  66. package/dist/validate-content.js.map +1 -0
  67. package/dist/validation-rules.json +121 -0
  68. package/dist/version.d.ts +6 -0
  69. package/dist/version.js +26 -0
  70. package/dist/version.js.map +1 -0
  71. package/package.json +4 -4
  72. package/registry/base.css +0 -20
  73. package/registry/behaviors/code-block.js +0 -106
  74. package/registry/behaviors/combobox.js +0 -237
  75. package/registry/behaviors/command.js +0 -105
  76. package/registry/behaviors/core.js +0 -302
  77. package/registry/behaviors/dialog.js +0 -97
  78. package/registry/behaviors/listbox.js +0 -135
  79. package/registry/behaviors/menu.js +0 -586
  80. package/registry/behaviors/popover.js +0 -127
  81. package/registry/behaviors/select.js +0 -196
  82. package/registry/behaviors/tabs.js +0 -95
  83. package/registry/behaviors/toast.js +0 -137
  84. package/registry/components/accordion.css +0 -65
  85. package/registry/components/alert-dialog.css +0 -104
  86. package/registry/components/alert.css +0 -41
  87. package/registry/components/aspect-ratio.css +0 -25
  88. package/registry/components/attachment.css +0 -84
  89. package/registry/components/avatar.css +0 -63
  90. package/registry/components/badge.css +0 -22
  91. package/registry/components/breadcrumb.css +0 -65
  92. package/registry/components/bubble.css +0 -92
  93. package/registry/components/button-group.css +0 -98
  94. package/registry/components/button.css +0 -32
  95. package/registry/components/calendar.css +0 -96
  96. package/registry/components/card.css +0 -51
  97. package/registry/components/carousel.css +0 -95
  98. package/registry/components/chart.css +0 -65
  99. package/registry/components/checkbox.css +0 -39
  100. package/registry/components/code-block.css +0 -192
  101. package/registry/components/collapsible.css +0 -57
  102. package/registry/components/combobox.css +0 -42
  103. package/registry/components/command.css +0 -27
  104. package/registry/components/context-menu.css +0 -37
  105. package/registry/components/dialog.css +0 -87
  106. package/registry/components/drawer.css +0 -30
  107. package/registry/components/dropdown-menu.css +0 -14
  108. package/registry/components/empty.css +0 -66
  109. package/registry/components/field.css +0 -169
  110. package/registry/components/hover-card.css +0 -18
  111. package/registry/components/input-group.css +0 -56
  112. package/registry/components/input-otp.css +0 -119
  113. package/registry/components/input.css +0 -31
  114. package/registry/components/item.css +0 -102
  115. package/registry/components/kbd.css +0 -19
  116. package/registry/components/label.css +0 -31
  117. package/registry/components/marker.css +0 -47
  118. package/registry/components/menubar.css +0 -52
  119. package/registry/components/message-scroller.css +0 -56
  120. package/registry/components/message.css +0 -61
  121. package/registry/components/native-select.css +0 -27
  122. package/registry/components/navigation-menu.css +0 -52
  123. package/registry/components/pagination.css +0 -49
  124. package/registry/components/popover.css +0 -7
  125. package/registry/components/progress.css +0 -13
  126. package/registry/components/questionnaire.css +0 -92
  127. package/registry/components/radio.css +0 -40
  128. package/registry/components/resizable.css +0 -51
  129. package/registry/components/scroll-area.css +0 -16
  130. package/registry/components/select.css +0 -50
  131. package/registry/components/separator.css +0 -12
  132. package/registry/components/sheet.css +0 -31
  133. package/registry/components/sidebar.css +0 -107
  134. package/registry/components/skeleton.css +0 -11
  135. package/registry/components/slider.css +0 -13
  136. package/registry/components/spinner.css +0 -8
  137. package/registry/components/switch.css +0 -41
  138. package/registry/components/table.css +0 -73
  139. package/registry/components/tabs.css +0 -61
  140. package/registry/components/textarea.css +0 -25
  141. package/registry/components/toast.css +0 -47
  142. package/registry/components/toggle-group.css +0 -25
  143. package/registry/components/toggle.css +0 -31
  144. package/registry/components/tooltip.css +0 -434
  145. package/registry/components/trace.css +0 -78
  146. package/registry/examples/accordion.html +0 -56
  147. package/registry/examples/alert-dialog.html +0 -146
  148. package/registry/examples/alert.html +0 -62
  149. package/registry/examples/aspect-ratio.html +0 -14
  150. package/registry/examples/attachment.html +0 -53
  151. package/registry/examples/avatar.html +0 -66
  152. package/registry/examples/badge.html +0 -49
  153. package/registry/examples/breadcrumb.html +0 -103
  154. package/registry/examples/bubble.html +0 -26
  155. package/registry/examples/button-group.html +0 -141
  156. package/registry/examples/button.html +0 -66
  157. package/registry/examples/calendar.html +0 -696
  158. package/registry/examples/card.html +0 -204
  159. package/registry/examples/carousel.html +0 -49
  160. package/registry/examples/chart.html +0 -39
  161. package/registry/examples/checkbox.html +0 -111
  162. package/registry/examples/code-block.html +0 -84
  163. package/registry/examples/collapsible.html +0 -22
  164. package/registry/examples/combobox.html +0 -43
  165. package/registry/examples/command.html +0 -365
  166. package/registry/examples/context-menu.html +0 -179
  167. package/registry/examples/dialog.html +0 -187
  168. package/registry/examples/drawer.html +0 -234
  169. package/registry/examples/dropdown-menu.html +0 -272
  170. package/registry/examples/empty.html +0 -117
  171. package/registry/examples/field.html +0 -247
  172. package/registry/examples/hover-card.html +0 -13
  173. package/registry/examples/input-group.html +0 -110
  174. package/registry/examples/input-otp.html +0 -182
  175. package/registry/examples/input.html +0 -80
  176. package/registry/examples/item.html +0 -32
  177. package/registry/examples/kbd.html +0 -94
  178. package/registry/examples/label.html +0 -5
  179. package/registry/examples/marker.html +0 -20
  180. package/registry/examples/menubar.html +0 -372
  181. package/registry/examples/message-scroller.html +0 -54
  182. package/registry/examples/message.html +0 -47
  183. package/registry/examples/native-select.html +0 -91
  184. package/registry/examples/navigation-menu.html +0 -207
  185. package/registry/examples/pagination.html +0 -39
  186. package/registry/examples/popover.html +0 -163
  187. package/registry/examples/progress.html +0 -68
  188. package/registry/examples/questionnaire.html +0 -99
  189. package/registry/examples/radio.html +0 -127
  190. package/registry/examples/resizable.html +0 -34
  191. package/registry/examples/scroll-area.html +0 -34
  192. package/registry/examples/select.html +0 -250
  193. package/registry/examples/separator.html +0 -18
  194. package/registry/examples/sheet.html +0 -240
  195. package/registry/examples/sidebar.html +0 -407
  196. package/registry/examples/skeleton.html +0 -6
  197. package/registry/examples/slider.html +0 -56
  198. package/registry/examples/spinner.html +0 -15
  199. package/registry/examples/switch.html +0 -73
  200. package/registry/examples/table.html +0 -218
  201. package/registry/examples/tabs.html +0 -27
  202. package/registry/examples/textarea.html +0 -36
  203. package/registry/examples/toast.html +0 -28
  204. package/registry/examples/toggle-group.html +0 -73
  205. package/registry/examples/toggle.html +0 -40
  206. package/registry/examples/tooltip.html +0 -106
  207. package/registry/examples/trace.html +0 -54
  208. package/registry/primitives/dialog-shell.css +0 -129
  209. package/registry/primitives/listbox.css +0 -82
  210. package/registry/primitives/menu.css +0 -109
  211. package/registry/primitives/popover.css +0 -162
  212. package/registry/registry.json +0 -5265
  213. package/registry/reset.css +0 -400
  214. package/registry/styles/luma/accordion.css +0 -59
  215. package/registry/styles/luma/alert-dialog.css +0 -82
  216. package/registry/styles/luma/alert.css +0 -98
  217. package/registry/styles/luma/aspect-ratio.css +0 -6
  218. package/registry/styles/luma/attachment.css +0 -176
  219. package/registry/styles/luma/avatar.css +0 -132
  220. package/registry/styles/luma/badge.css +0 -112
  221. package/registry/styles/luma/breadcrumb.css +0 -62
  222. package/registry/styles/luma/bubble.css +0 -147
  223. package/registry/styles/luma/button-group.css +0 -63
  224. package/registry/styles/luma/button.css +0 -222
  225. package/registry/styles/luma/calendar.css +0 -140
  226. package/registry/styles/luma/card.css +0 -82
  227. package/registry/styles/luma/carousel.css +0 -63
  228. package/registry/styles/luma/chart.css +0 -51
  229. package/registry/styles/luma/checkbox.css +0 -58
  230. package/registry/styles/luma/code-block.css +0 -186
  231. package/registry/styles/luma/collapsible.css +0 -50
  232. package/registry/styles/luma/combobox.css +0 -59
  233. package/registry/styles/luma/command.css +0 -27
  234. package/registry/styles/luma/context-menu.css +0 -19
  235. package/registry/styles/luma/dialog.css +0 -64
  236. package/registry/styles/luma/drawer.css +0 -68
  237. package/registry/styles/luma/dropdown-menu.css +0 -8
  238. package/registry/styles/luma/empty.css +0 -52
  239. package/registry/styles/luma/field.css +0 -120
  240. package/registry/styles/luma/hover-card.css +0 -22
  241. package/registry/styles/luma/input-group.css +0 -98
  242. package/registry/styles/luma/input-otp.css +0 -102
  243. package/registry/styles/luma/input.css +0 -61
  244. package/registry/styles/luma/item.css +0 -133
  245. package/registry/styles/luma/kbd.css +0 -22
  246. package/registry/styles/luma/label.css +0 -74
  247. package/registry/styles/luma/marker.css +0 -35
  248. package/registry/styles/luma/menubar.css +0 -48
  249. package/registry/styles/luma/message-scroller.css +0 -47
  250. package/registry/styles/luma/message.css +0 -39
  251. package/registry/styles/luma/native-select.css +0 -80
  252. package/registry/styles/luma/navigation-menu.css +0 -90
  253. package/registry/styles/luma/pagination.css +0 -46
  254. package/registry/styles/luma/popover.css +0 -25
  255. package/registry/styles/luma/primitives/dialog-shell.css +0 -19
  256. package/registry/styles/luma/primitives/listbox.css +0 -79
  257. package/registry/styles/luma/primitives/menu.css +0 -108
  258. package/registry/styles/luma/primitives/popover.css +0 -16
  259. package/registry/styles/luma/progress.css +0 -92
  260. package/registry/styles/luma/questionnaire.css +0 -141
  261. package/registry/styles/luma/radio.css +0 -48
  262. package/registry/styles/luma/resizable.css +0 -34
  263. package/registry/styles/luma/scroll-area.css +0 -30
  264. package/registry/styles/luma/select.css +0 -80
  265. package/registry/styles/luma/separator.css +0 -14
  266. package/registry/styles/luma/sheet.css +0 -74
  267. package/registry/styles/luma/sidebar.css +0 -211
  268. package/registry/styles/luma/skeleton.css +0 -7
  269. package/registry/styles/luma/slider.css +0 -15
  270. package/registry/styles/luma/spinner.css +0 -35
  271. package/registry/styles/luma/switch.css +0 -110
  272. package/registry/styles/luma/table.css +0 -91
  273. package/registry/styles/luma/tabs.css +0 -133
  274. package/registry/styles/luma/textarea.css +0 -53
  275. package/registry/styles/luma/toast.css +0 -62
  276. package/registry/styles/luma/toggle-group.css +0 -59
  277. package/registry/styles/luma/toggle.css +0 -128
  278. package/registry/styles/luma/tooltip.css +0 -35
  279. package/registry/styles/luma/trace.css +0 -85
  280. package/registry/styles/lyra/accordion.css +0 -59
  281. package/registry/styles/lyra/alert-dialog.css +0 -82
  282. package/registry/styles/lyra/alert.css +0 -98
  283. package/registry/styles/lyra/aspect-ratio.css +0 -6
  284. package/registry/styles/lyra/attachment.css +0 -176
  285. package/registry/styles/lyra/avatar.css +0 -132
  286. package/registry/styles/lyra/badge.css +0 -112
  287. package/registry/styles/lyra/breadcrumb.css +0 -62
  288. package/registry/styles/lyra/bubble.css +0 -147
  289. package/registry/styles/lyra/button-group.css +0 -62
  290. package/registry/styles/lyra/button.css +0 -221
  291. package/registry/styles/lyra/calendar.css +0 -140
  292. package/registry/styles/lyra/card.css +0 -81
  293. package/registry/styles/lyra/carousel.css +0 -63
  294. package/registry/styles/lyra/chart.css +0 -51
  295. package/registry/styles/lyra/checkbox.css +0 -58
  296. package/registry/styles/lyra/code-block.css +0 -186
  297. package/registry/styles/lyra/collapsible.css +0 -50
  298. package/registry/styles/lyra/combobox.css +0 -59
  299. package/registry/styles/lyra/command.css +0 -27
  300. package/registry/styles/lyra/context-menu.css +0 -19
  301. package/registry/styles/lyra/dialog.css +0 -64
  302. package/registry/styles/lyra/drawer.css +0 -68
  303. package/registry/styles/lyra/dropdown-menu.css +0 -8
  304. package/registry/styles/lyra/empty.css +0 -52
  305. package/registry/styles/lyra/field.css +0 -120
  306. package/registry/styles/lyra/hover-card.css +0 -22
  307. package/registry/styles/lyra/input-group.css +0 -98
  308. package/registry/styles/lyra/input-otp.css +0 -102
  309. package/registry/styles/lyra/input.css +0 -62
  310. package/registry/styles/lyra/item.css +0 -133
  311. package/registry/styles/lyra/kbd.css +0 -22
  312. package/registry/styles/lyra/label.css +0 -74
  313. package/registry/styles/lyra/marker.css +0 -35
  314. package/registry/styles/lyra/menubar.css +0 -48
  315. package/registry/styles/lyra/message-scroller.css +0 -47
  316. package/registry/styles/lyra/message.css +0 -39
  317. package/registry/styles/lyra/native-select.css +0 -79
  318. package/registry/styles/lyra/navigation-menu.css +0 -90
  319. package/registry/styles/lyra/pagination.css +0 -46
  320. package/registry/styles/lyra/popover.css +0 -25
  321. package/registry/styles/lyra/primitives/dialog-shell.css +0 -19
  322. package/registry/styles/lyra/primitives/listbox.css +0 -79
  323. package/registry/styles/lyra/primitives/menu.css +0 -108
  324. package/registry/styles/lyra/primitives/popover.css +0 -16
  325. package/registry/styles/lyra/progress.css +0 -92
  326. package/registry/styles/lyra/questionnaire.css +0 -141
  327. package/registry/styles/lyra/radio.css +0 -48
  328. package/registry/styles/lyra/resizable.css +0 -34
  329. package/registry/styles/lyra/scroll-area.css +0 -30
  330. package/registry/styles/lyra/select.css +0 -80
  331. package/registry/styles/lyra/separator.css +0 -14
  332. package/registry/styles/lyra/sheet.css +0 -74
  333. package/registry/styles/lyra/sidebar.css +0 -211
  334. package/registry/styles/lyra/skeleton.css +0 -7
  335. package/registry/styles/lyra/slider.css +0 -15
  336. package/registry/styles/lyra/spinner.css +0 -35
  337. package/registry/styles/lyra/switch.css +0 -110
  338. package/registry/styles/lyra/table.css +0 -91
  339. package/registry/styles/lyra/tabs.css +0 -133
  340. package/registry/styles/lyra/textarea.css +0 -53
  341. package/registry/styles/lyra/toast.css +0 -62
  342. package/registry/styles/lyra/toggle-group.css +0 -48
  343. package/registry/styles/lyra/toggle.css +0 -126
  344. package/registry/styles/lyra/tooltip.css +0 -35
  345. package/registry/styles/lyra/trace.css +0 -85
  346. package/registry/styles/maia/accordion.css +0 -59
  347. package/registry/styles/maia/alert-dialog.css +0 -82
  348. package/registry/styles/maia/alert.css +0 -98
  349. package/registry/styles/maia/aspect-ratio.css +0 -6
  350. package/registry/styles/maia/attachment.css +0 -176
  351. package/registry/styles/maia/avatar.css +0 -132
  352. package/registry/styles/maia/badge.css +0 -113
  353. package/registry/styles/maia/breadcrumb.css +0 -62
  354. package/registry/styles/maia/bubble.css +0 -147
  355. package/registry/styles/maia/button-group.css +0 -63
  356. package/registry/styles/maia/button.css +0 -222
  357. package/registry/styles/maia/calendar.css +0 -140
  358. package/registry/styles/maia/card.css +0 -81
  359. package/registry/styles/maia/carousel.css +0 -63
  360. package/registry/styles/maia/chart.css +0 -51
  361. package/registry/styles/maia/checkbox.css +0 -58
  362. package/registry/styles/maia/code-block.css +0 -186
  363. package/registry/styles/maia/collapsible.css +0 -50
  364. package/registry/styles/maia/combobox.css +0 -59
  365. package/registry/styles/maia/command.css +0 -27
  366. package/registry/styles/maia/context-menu.css +0 -19
  367. package/registry/styles/maia/dialog.css +0 -64
  368. package/registry/styles/maia/drawer.css +0 -68
  369. package/registry/styles/maia/dropdown-menu.css +0 -8
  370. package/registry/styles/maia/empty.css +0 -52
  371. package/registry/styles/maia/field.css +0 -120
  372. package/registry/styles/maia/hover-card.css +0 -22
  373. package/registry/styles/maia/input-group.css +0 -98
  374. package/registry/styles/maia/input-otp.css +0 -102
  375. package/registry/styles/maia/input.css +0 -61
  376. package/registry/styles/maia/item.css +0 -133
  377. package/registry/styles/maia/kbd.css +0 -22
  378. package/registry/styles/maia/label.css +0 -74
  379. package/registry/styles/maia/marker.css +0 -35
  380. package/registry/styles/maia/menubar.css +0 -48
  381. package/registry/styles/maia/message-scroller.css +0 -47
  382. package/registry/styles/maia/message.css +0 -39
  383. package/registry/styles/maia/native-select.css +0 -80
  384. package/registry/styles/maia/navigation-menu.css +0 -90
  385. package/registry/styles/maia/pagination.css +0 -46
  386. package/registry/styles/maia/popover.css +0 -25
  387. package/registry/styles/maia/primitives/dialog-shell.css +0 -19
  388. package/registry/styles/maia/primitives/listbox.css +0 -79
  389. package/registry/styles/maia/primitives/menu.css +0 -108
  390. package/registry/styles/maia/primitives/popover.css +0 -16
  391. package/registry/styles/maia/progress.css +0 -92
  392. package/registry/styles/maia/questionnaire.css +0 -141
  393. package/registry/styles/maia/radio.css +0 -48
  394. package/registry/styles/maia/resizable.css +0 -34
  395. package/registry/styles/maia/scroll-area.css +0 -30
  396. package/registry/styles/maia/select.css +0 -80
  397. package/registry/styles/maia/separator.css +0 -14
  398. package/registry/styles/maia/sheet.css +0 -74
  399. package/registry/styles/maia/sidebar.css +0 -211
  400. package/registry/styles/maia/skeleton.css +0 -7
  401. package/registry/styles/maia/slider.css +0 -15
  402. package/registry/styles/maia/spinner.css +0 -35
  403. package/registry/styles/maia/switch.css +0 -110
  404. package/registry/styles/maia/table.css +0 -91
  405. package/registry/styles/maia/tabs.css +0 -133
  406. package/registry/styles/maia/textarea.css +0 -53
  407. package/registry/styles/maia/toast.css +0 -62
  408. package/registry/styles/maia/toggle-group.css +0 -59
  409. package/registry/styles/maia/toggle.css +0 -128
  410. package/registry/styles/maia/tooltip.css +0 -35
  411. package/registry/styles/maia/trace.css +0 -85
  412. package/registry/styles/mira/accordion.css +0 -59
  413. package/registry/styles/mira/alert-dialog.css +0 -82
  414. package/registry/styles/mira/alert.css +0 -98
  415. package/registry/styles/mira/aspect-ratio.css +0 -6
  416. package/registry/styles/mira/attachment.css +0 -176
  417. package/registry/styles/mira/avatar.css +0 -132
  418. package/registry/styles/mira/badge.css +0 -116
  419. package/registry/styles/mira/breadcrumb.css +0 -62
  420. package/registry/styles/mira/bubble.css +0 -147
  421. package/registry/styles/mira/button-group.css +0 -63
  422. package/registry/styles/mira/button.css +0 -222
  423. package/registry/styles/mira/calendar.css +0 -140
  424. package/registry/styles/mira/card.css +0 -81
  425. package/registry/styles/mira/carousel.css +0 -63
  426. package/registry/styles/mira/chart.css +0 -51
  427. package/registry/styles/mira/checkbox.css +0 -58
  428. package/registry/styles/mira/code-block.css +0 -186
  429. package/registry/styles/mira/collapsible.css +0 -50
  430. package/registry/styles/mira/combobox.css +0 -59
  431. package/registry/styles/mira/command.css +0 -27
  432. package/registry/styles/mira/context-menu.css +0 -19
  433. package/registry/styles/mira/dialog.css +0 -64
  434. package/registry/styles/mira/drawer.css +0 -68
  435. package/registry/styles/mira/dropdown-menu.css +0 -8
  436. package/registry/styles/mira/empty.css +0 -52
  437. package/registry/styles/mira/field.css +0 -120
  438. package/registry/styles/mira/hover-card.css +0 -22
  439. package/registry/styles/mira/input-group.css +0 -98
  440. package/registry/styles/mira/input-otp.css +0 -102
  441. package/registry/styles/mira/input.css +0 -62
  442. package/registry/styles/mira/item.css +0 -133
  443. package/registry/styles/mira/kbd.css +0 -22
  444. package/registry/styles/mira/label.css +0 -74
  445. package/registry/styles/mira/marker.css +0 -35
  446. package/registry/styles/mira/menubar.css +0 -48
  447. package/registry/styles/mira/message-scroller.css +0 -47
  448. package/registry/styles/mira/message.css +0 -39
  449. package/registry/styles/mira/native-select.css +0 -80
  450. package/registry/styles/mira/navigation-menu.css +0 -90
  451. package/registry/styles/mira/pagination.css +0 -46
  452. package/registry/styles/mira/popover.css +0 -25
  453. package/registry/styles/mira/primitives/dialog-shell.css +0 -19
  454. package/registry/styles/mira/primitives/listbox.css +0 -79
  455. package/registry/styles/mira/primitives/menu.css +0 -109
  456. package/registry/styles/mira/primitives/popover.css +0 -16
  457. package/registry/styles/mira/progress.css +0 -92
  458. package/registry/styles/mira/questionnaire.css +0 -141
  459. package/registry/styles/mira/radio.css +0 -48
  460. package/registry/styles/mira/resizable.css +0 -34
  461. package/registry/styles/mira/scroll-area.css +0 -30
  462. package/registry/styles/mira/select.css +0 -80
  463. package/registry/styles/mira/separator.css +0 -14
  464. package/registry/styles/mira/sheet.css +0 -74
  465. package/registry/styles/mira/sidebar.css +0 -211
  466. package/registry/styles/mira/skeleton.css +0 -7
  467. package/registry/styles/mira/slider.css +0 -15
  468. package/registry/styles/mira/spinner.css +0 -35
  469. package/registry/styles/mira/switch.css +0 -110
  470. package/registry/styles/mira/table.css +0 -91
  471. package/registry/styles/mira/tabs.css +0 -133
  472. package/registry/styles/mira/textarea.css +0 -53
  473. package/registry/styles/mira/toast.css +0 -62
  474. package/registry/styles/mira/toggle-group.css +0 -59
  475. package/registry/styles/mira/toggle.css +0 -128
  476. package/registry/styles/mira/tooltip.css +0 -35
  477. package/registry/styles/mira/trace.css +0 -85
  478. package/registry/styles/nova/accordion.css +0 -59
  479. package/registry/styles/nova/alert-dialog.css +0 -82
  480. package/registry/styles/nova/alert.css +0 -98
  481. package/registry/styles/nova/aspect-ratio.css +0 -6
  482. package/registry/styles/nova/attachment.css +0 -176
  483. package/registry/styles/nova/avatar.css +0 -132
  484. package/registry/styles/nova/badge.css +0 -112
  485. package/registry/styles/nova/breadcrumb.css +0 -62
  486. package/registry/styles/nova/bubble.css +0 -147
  487. package/registry/styles/nova/button-group.css +0 -62
  488. package/registry/styles/nova/button.css +0 -221
  489. package/registry/styles/nova/calendar.css +0 -140
  490. package/registry/styles/nova/card.css +0 -84
  491. package/registry/styles/nova/carousel.css +0 -55
  492. package/registry/styles/nova/chart.css +0 -42
  493. package/registry/styles/nova/checkbox.css +0 -58
  494. package/registry/styles/nova/code-block.css +0 -186
  495. package/registry/styles/nova/collapsible.css +0 -50
  496. package/registry/styles/nova/combobox.css +0 -59
  497. package/registry/styles/nova/command.css +0 -27
  498. package/registry/styles/nova/context-menu.css +0 -19
  499. package/registry/styles/nova/dialog.css +0 -64
  500. package/registry/styles/nova/drawer.css +0 -68
  501. package/registry/styles/nova/dropdown-menu.css +0 -8
  502. package/registry/styles/nova/empty.css +0 -52
  503. package/registry/styles/nova/field.css +0 -120
  504. package/registry/styles/nova/hover-card.css +0 -22
  505. package/registry/styles/nova/input-group.css +0 -98
  506. package/registry/styles/nova/input-otp.css +0 -102
  507. package/registry/styles/nova/input.css +0 -61
  508. package/registry/styles/nova/item.css +0 -133
  509. package/registry/styles/nova/kbd.css +0 -22
  510. package/registry/styles/nova/label.css +0 -74
  511. package/registry/styles/nova/marker.css +0 -35
  512. package/registry/styles/nova/menubar.css +0 -48
  513. package/registry/styles/nova/message-scroller.css +0 -47
  514. package/registry/styles/nova/message.css +0 -39
  515. package/registry/styles/nova/native-select.css +0 -82
  516. package/registry/styles/nova/navigation-menu.css +0 -90
  517. package/registry/styles/nova/pagination.css +0 -46
  518. package/registry/styles/nova/popover.css +0 -25
  519. package/registry/styles/nova/primitives/dialog-shell.css +0 -23
  520. package/registry/styles/nova/primitives/listbox.css +0 -79
  521. package/registry/styles/nova/primitives/menu.css +0 -108
  522. package/registry/styles/nova/primitives/popover.css +0 -16
  523. package/registry/styles/nova/progress.css +0 -92
  524. package/registry/styles/nova/questionnaire.css +0 -141
  525. package/registry/styles/nova/radio.css +0 -48
  526. package/registry/styles/nova/resizable.css +0 -33
  527. package/registry/styles/nova/scroll-area.css +0 -30
  528. package/registry/styles/nova/select.css +0 -80
  529. package/registry/styles/nova/separator.css +0 -14
  530. package/registry/styles/nova/sheet.css +0 -74
  531. package/registry/styles/nova/sidebar.css +0 -211
  532. package/registry/styles/nova/skeleton.css +0 -7
  533. package/registry/styles/nova/slider.css +0 -15
  534. package/registry/styles/nova/spinner.css +0 -35
  535. package/registry/styles/nova/switch.css +0 -110
  536. package/registry/styles/nova/table.css +0 -91
  537. package/registry/styles/nova/tabs.css +0 -133
  538. package/registry/styles/nova/textarea.css +0 -53
  539. package/registry/styles/nova/toast.css +0 -62
  540. package/registry/styles/nova/toggle-group.css +0 -48
  541. package/registry/styles/nova/toggle.css +0 -124
  542. package/registry/styles/nova/tooltip.css +0 -35
  543. package/registry/styles/nova/trace.css +0 -85
  544. package/registry/styles/rhea/accordion.css +0 -59
  545. package/registry/styles/rhea/alert-dialog.css +0 -82
  546. package/registry/styles/rhea/alert.css +0 -98
  547. package/registry/styles/rhea/aspect-ratio.css +0 -6
  548. package/registry/styles/rhea/attachment.css +0 -176
  549. package/registry/styles/rhea/avatar.css +0 -132
  550. package/registry/styles/rhea/badge.css +0 -112
  551. package/registry/styles/rhea/breadcrumb.css +0 -62
  552. package/registry/styles/rhea/bubble.css +0 -147
  553. package/registry/styles/rhea/button-group.css +0 -63
  554. package/registry/styles/rhea/button.css +0 -222
  555. package/registry/styles/rhea/calendar.css +0 -140
  556. package/registry/styles/rhea/card.css +0 -82
  557. package/registry/styles/rhea/carousel.css +0 -63
  558. package/registry/styles/rhea/chart.css +0 -51
  559. package/registry/styles/rhea/checkbox.css +0 -58
  560. package/registry/styles/rhea/code-block.css +0 -186
  561. package/registry/styles/rhea/collapsible.css +0 -50
  562. package/registry/styles/rhea/combobox.css +0 -59
  563. package/registry/styles/rhea/command.css +0 -27
  564. package/registry/styles/rhea/context-menu.css +0 -19
  565. package/registry/styles/rhea/dialog.css +0 -64
  566. package/registry/styles/rhea/drawer.css +0 -68
  567. package/registry/styles/rhea/dropdown-menu.css +0 -8
  568. package/registry/styles/rhea/empty.css +0 -52
  569. package/registry/styles/rhea/field.css +0 -120
  570. package/registry/styles/rhea/hover-card.css +0 -22
  571. package/registry/styles/rhea/input-group.css +0 -98
  572. package/registry/styles/rhea/input-otp.css +0 -102
  573. package/registry/styles/rhea/input.css +0 -61
  574. package/registry/styles/rhea/item.css +0 -133
  575. package/registry/styles/rhea/kbd.css +0 -22
  576. package/registry/styles/rhea/label.css +0 -74
  577. package/registry/styles/rhea/marker.css +0 -35
  578. package/registry/styles/rhea/menubar.css +0 -48
  579. package/registry/styles/rhea/message-scroller.css +0 -47
  580. package/registry/styles/rhea/message.css +0 -39
  581. package/registry/styles/rhea/native-select.css +0 -80
  582. package/registry/styles/rhea/navigation-menu.css +0 -90
  583. package/registry/styles/rhea/pagination.css +0 -46
  584. package/registry/styles/rhea/popover.css +0 -25
  585. package/registry/styles/rhea/primitives/dialog-shell.css +0 -19
  586. package/registry/styles/rhea/primitives/listbox.css +0 -79
  587. package/registry/styles/rhea/primitives/menu.css +0 -109
  588. package/registry/styles/rhea/primitives/popover.css +0 -16
  589. package/registry/styles/rhea/progress.css +0 -92
  590. package/registry/styles/rhea/questionnaire.css +0 -141
  591. package/registry/styles/rhea/radio.css +0 -48
  592. package/registry/styles/rhea/resizable.css +0 -34
  593. package/registry/styles/rhea/scroll-area.css +0 -30
  594. package/registry/styles/rhea/select.css +0 -80
  595. package/registry/styles/rhea/separator.css +0 -14
  596. package/registry/styles/rhea/sheet.css +0 -74
  597. package/registry/styles/rhea/sidebar.css +0 -211
  598. package/registry/styles/rhea/skeleton.css +0 -7
  599. package/registry/styles/rhea/slider.css +0 -15
  600. package/registry/styles/rhea/spinner.css +0 -35
  601. package/registry/styles/rhea/switch.css +0 -110
  602. package/registry/styles/rhea/table.css +0 -91
  603. package/registry/styles/rhea/tabs.css +0 -133
  604. package/registry/styles/rhea/textarea.css +0 -53
  605. package/registry/styles/rhea/toast.css +0 -62
  606. package/registry/styles/rhea/toggle-group.css +0 -59
  607. package/registry/styles/rhea/toggle.css +0 -128
  608. package/registry/styles/rhea/tooltip.css +0 -35
  609. package/registry/styles/rhea/trace.css +0 -85
  610. package/registry/styles/sera/accordion.css +0 -59
  611. package/registry/styles/sera/alert-dialog.css +0 -84
  612. package/registry/styles/sera/alert.css +0 -98
  613. package/registry/styles/sera/aspect-ratio.css +0 -6
  614. package/registry/styles/sera/attachment.css +0 -176
  615. package/registry/styles/sera/avatar.css +0 -132
  616. package/registry/styles/sera/badge.css +0 -143
  617. package/registry/styles/sera/breadcrumb.css +0 -62
  618. package/registry/styles/sera/bubble.css +0 -147
  619. package/registry/styles/sera/button-group.css +0 -63
  620. package/registry/styles/sera/button.css +0 -222
  621. package/registry/styles/sera/calendar.css +0 -148
  622. package/registry/styles/sera/card.css +0 -84
  623. package/registry/styles/sera/carousel.css +0 -63
  624. package/registry/styles/sera/chart.css +0 -51
  625. package/registry/styles/sera/checkbox.css +0 -58
  626. package/registry/styles/sera/code-block.css +0 -186
  627. package/registry/styles/sera/collapsible.css +0 -50
  628. package/registry/styles/sera/combobox.css +0 -60
  629. package/registry/styles/sera/command.css +0 -27
  630. package/registry/styles/sera/context-menu.css +0 -19
  631. package/registry/styles/sera/dialog.css +0 -67
  632. package/registry/styles/sera/drawer.css +0 -70
  633. package/registry/styles/sera/dropdown-menu.css +0 -8
  634. package/registry/styles/sera/empty.css +0 -52
  635. package/registry/styles/sera/field.css +0 -120
  636. package/registry/styles/sera/hover-card.css +0 -22
  637. package/registry/styles/sera/input-group.css +0 -99
  638. package/registry/styles/sera/input-otp.css +0 -103
  639. package/registry/styles/sera/input.css +0 -62
  640. package/registry/styles/sera/item.css +0 -133
  641. package/registry/styles/sera/kbd.css +0 -22
  642. package/registry/styles/sera/label.css +0 -74
  643. package/registry/styles/sera/marker.css +0 -35
  644. package/registry/styles/sera/menubar.css +0 -48
  645. package/registry/styles/sera/message-scroller.css +0 -47
  646. package/registry/styles/sera/message.css +0 -39
  647. package/registry/styles/sera/native-select.css +0 -81
  648. package/registry/styles/sera/navigation-menu.css +0 -90
  649. package/registry/styles/sera/pagination.css +0 -46
  650. package/registry/styles/sera/popover.css +0 -25
  651. package/registry/styles/sera/primitives/dialog-shell.css +0 -19
  652. package/registry/styles/sera/primitives/listbox.css +0 -79
  653. package/registry/styles/sera/primitives/menu.css +0 -108
  654. package/registry/styles/sera/primitives/popover.css +0 -16
  655. package/registry/styles/sera/progress.css +0 -92
  656. package/registry/styles/sera/questionnaire.css +0 -147
  657. package/registry/styles/sera/radio.css +0 -48
  658. package/registry/styles/sera/resizable.css +0 -34
  659. package/registry/styles/sera/scroll-area.css +0 -30
  660. package/registry/styles/sera/select.css +0 -81
  661. package/registry/styles/sera/separator.css +0 -14
  662. package/registry/styles/sera/sheet.css +0 -76
  663. package/registry/styles/sera/sidebar.css +0 -217
  664. package/registry/styles/sera/skeleton.css +0 -7
  665. package/registry/styles/sera/slider.css +0 -15
  666. package/registry/styles/sera/spinner.css +0 -35
  667. package/registry/styles/sera/switch.css +0 -111
  668. package/registry/styles/sera/table.css +0 -92
  669. package/registry/styles/sera/tabs.css +0 -133
  670. package/registry/styles/sera/textarea.css +0 -54
  671. package/registry/styles/sera/toast.css +0 -64
  672. package/registry/styles/sera/toggle-group.css +0 -58
  673. package/registry/styles/sera/toggle.css +0 -128
  674. package/registry/styles/sera/tooltip.css +0 -35
  675. package/registry/styles/sera/trace.css +0 -87
  676. package/registry/styles/vega/accordion.css +0 -59
  677. package/registry/styles/vega/alert-dialog.css +0 -82
  678. package/registry/styles/vega/alert.css +0 -98
  679. package/registry/styles/vega/aspect-ratio.css +0 -6
  680. package/registry/styles/vega/attachment.css +0 -176
  681. package/registry/styles/vega/avatar.css +0 -132
  682. package/registry/styles/vega/badge.css +0 -112
  683. package/registry/styles/vega/breadcrumb.css +0 -62
  684. package/registry/styles/vega/bubble.css +0 -147
  685. package/registry/styles/vega/button-group.css +0 -63
  686. package/registry/styles/vega/button.css +0 -222
  687. package/registry/styles/vega/calendar.css +0 -140
  688. package/registry/styles/vega/card.css +0 -82
  689. package/registry/styles/vega/carousel.css +0 -63
  690. package/registry/styles/vega/chart.css +0 -51
  691. package/registry/styles/vega/checkbox.css +0 -59
  692. package/registry/styles/vega/code-block.css +0 -186
  693. package/registry/styles/vega/collapsible.css +0 -50
  694. package/registry/styles/vega/combobox.css +0 -59
  695. package/registry/styles/vega/command.css +0 -27
  696. package/registry/styles/vega/context-menu.css +0 -19
  697. package/registry/styles/vega/dialog.css +0 -64
  698. package/registry/styles/vega/drawer.css +0 -68
  699. package/registry/styles/vega/dropdown-menu.css +0 -8
  700. package/registry/styles/vega/empty.css +0 -52
  701. package/registry/styles/vega/field.css +0 -120
  702. package/registry/styles/vega/hover-card.css +0 -22
  703. package/registry/styles/vega/input-group.css +0 -98
  704. package/registry/styles/vega/input-otp.css +0 -102
  705. package/registry/styles/vega/input.css +0 -62
  706. package/registry/styles/vega/item.css +0 -133
  707. package/registry/styles/vega/kbd.css +0 -22
  708. package/registry/styles/vega/label.css +0 -74
  709. package/registry/styles/vega/marker.css +0 -35
  710. package/registry/styles/vega/menubar.css +0 -48
  711. package/registry/styles/vega/message-scroller.css +0 -47
  712. package/registry/styles/vega/message.css +0 -39
  713. package/registry/styles/vega/native-select.css +0 -81
  714. package/registry/styles/vega/navigation-menu.css +0 -90
  715. package/registry/styles/vega/pagination.css +0 -46
  716. package/registry/styles/vega/popover.css +0 -25
  717. package/registry/styles/vega/primitives/dialog-shell.css +0 -19
  718. package/registry/styles/vega/primitives/listbox.css +0 -79
  719. package/registry/styles/vega/primitives/menu.css +0 -108
  720. package/registry/styles/vega/primitives/popover.css +0 -16
  721. package/registry/styles/vega/progress.css +0 -92
  722. package/registry/styles/vega/questionnaire.css +0 -141
  723. package/registry/styles/vega/radio.css +0 -48
  724. package/registry/styles/vega/resizable.css +0 -34
  725. package/registry/styles/vega/scroll-area.css +0 -30
  726. package/registry/styles/vega/select.css +0 -80
  727. package/registry/styles/vega/separator.css +0 -14
  728. package/registry/styles/vega/sheet.css +0 -74
  729. package/registry/styles/vega/sidebar.css +0 -211
  730. package/registry/styles/vega/skeleton.css +0 -7
  731. package/registry/styles/vega/slider.css +0 -15
  732. package/registry/styles/vega/spinner.css +0 -35
  733. package/registry/styles/vega/switch.css +0 -111
  734. package/registry/styles/vega/table.css +0 -91
  735. package/registry/styles/vega/tabs.css +0 -133
  736. package/registry/styles/vega/textarea.css +0 -54
  737. package/registry/styles/vega/toast.css +0 -62
  738. package/registry/styles/vega/toggle-group.css +0 -59
  739. package/registry/styles/vega/toggle.css +0 -128
  740. package/registry/styles/vega/tooltip.css +0 -35
  741. package/registry/styles/vega/trace.css +0 -85
  742. package/registry/tokens.css +0 -125
  743. package/registry/utilities.css +0 -14
@@ -1,78 +0,0 @@
1
- /* Trace */
2
- @layer loseta.components {
3
- .trace {
4
- display: block;
5
-
6
- > summary {
7
- display: flex;
8
- width: 100%;
9
- min-width: 0;
10
- align-items: center;
11
- gap: 0.5rem;
12
- list-style-type: none;
13
- cursor: pointer;
14
- outline-style: none;
15
-
16
- &::-webkit-details-marker {
17
- display: none;
18
- }
19
-
20
- &::after {
21
- width: 0.375rem;
22
- height: 0.375rem;
23
- flex-shrink: 0;
24
- border-inline-end-style: solid;
25
- border-inline-end-width: 1px;
26
- border-block-end-style: solid;
27
- border-block-end-width: 1px;
28
- content: '';
29
- rotate: -45deg;
30
- transition-property: rotate;
31
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
32
- transition-duration: 150ms;
33
- }
34
-
35
- @media (forced-colors: active) {
36
- outline: 2px solid transparent;
37
- outline-offset: 2px;
38
- }
39
- }
40
-
41
- &[open] > summary::after {
42
- rotate: 45deg;
43
- }
44
-
45
- > summary > [data-slot='icon'] {
46
- display: inline-flex;
47
- width: 1rem;
48
- height: 1rem;
49
- flex-shrink: 0;
50
- align-items: center;
51
- justify-content: center;
52
- }
53
-
54
- > summary > [data-slot='title'] {
55
- min-width: 0;
56
- overflow: hidden;
57
- text-overflow: ellipsis;
58
- white-space: nowrap;
59
- }
60
-
61
- > summary > [data-slot='status'] {
62
- flex-shrink: 0;
63
- }
64
-
65
- > [data-slot='body'] {
66
- display: flex;
67
- min-width: 0;
68
- flex-direction: column;
69
- gap: 0.5rem;
70
- }
71
-
72
- [data-slot='source'] {
73
- display: inline-flex;
74
- align-items: center;
75
- gap: 0.25rem;
76
- }
77
- }
78
- }
@@ -1,56 +0,0 @@
1
- <!-- Default -->
2
- <div class="accordion">
3
- <details open>
4
- <summary>
5
- Is it accessible?
6
- <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>
7
- </summary>
8
- <div>
9
- <p>Yes. It uses native details and summary elements.</p>
10
- </div>
11
- </details>
12
- <details>
13
- <summary>
14
- Can I style it?
15
- <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>
16
- </summary>
17
- <div>
18
- <p>Yes. The base file owns the anatomy and the Nova style owns the surface.</p>
19
- </div>
20
- </details>
21
- </div>
22
-
23
- <!-- Exclusive -->
24
- <div class="accordion">
25
- <details name="demo-accordion" open>
26
- <summary>
27
- Shipping
28
- <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>
29
- </summary>
30
- <div>
31
- <p>Orders placed before 14:00 ship the same day.</p>
32
- </div>
33
- </details>
34
- <details name="demo-accordion">
35
- <summary>
36
- Returns
37
- <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>
38
- </summary>
39
- <div>
40
- <p>Returns are accepted within 30 days of delivery.</p>
41
- </div>
42
- </details>
43
- </div>
44
-
45
- <!-- Disabled -->
46
- <div class="accordion">
47
- <details inert>
48
- <summary>
49
- Archived section
50
- <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>
51
- </summary>
52
- <div>
53
- <p>This section cannot be opened.</p>
54
- </div>
55
- </details>
56
- </div>
@@ -1,146 +0,0 @@
1
- <!-- Default -->
2
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-default">
3
- Open alert dialog
4
- </button>
5
-
6
- <dialog class="alert-dialog" id="demo-alert-dialog-default" aria-labelledby="alert-dialog-default-title" aria-describedby="alert-dialog-default-description">
7
- <div>
8
- <header>
9
- <h2 data-slot="title" id="alert-dialog-default-title">Are you sure?</h2>
10
- <p data-slot="description" id="alert-dialog-default-description">
11
- This action cannot be undone.
12
- </p>
13
- </header>
14
- <footer>
15
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
16
- <button type="button" class="btn" data-close-dialog>Continue</button>
17
- </footer>
18
- </div>
19
- </dialog>
20
-
21
- <!-- Destructive -->
22
- <button type="button" class="btn" data-variant="destructive" data-open-dialog="demo-alert-dialog-destructive">
23
- Delete chat
24
- </button>
25
-
26
- <dialog class="alert-dialog" id="demo-alert-dialog-destructive" data-size="sm" aria-labelledby="alert-dialog-destructive-title" aria-describedby="alert-dialog-destructive-description">
27
- <div>
28
- <header>
29
- <figure data-variant="destructive"><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="M3 6h18"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"/><path d="M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/><line x1="10" x2="10" y1="11" y2="17"/><line x1="14" x2="14" y1="11" y2="17"/></svg></figure>
30
- <h2 data-slot="title" id="alert-dialog-destructive-title">Delete chat?</h2>
31
- <p data-slot="description" id="alert-dialog-destructive-description">
32
- This will permanently delete this chat conversation. View <a href="#">Settings</a> to delete any memories saved during this chat.
33
- </p>
34
- </header>
35
- <footer>
36
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
37
- <button type="button" class="btn" data-variant="destructive" data-close-dialog>Delete</button>
38
- </footer>
39
- </div>
40
- </dialog>
41
-
42
- <!-- Small -->
43
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-small">
44
- Show small alert dialog
45
- </button>
46
-
47
- <dialog class="alert-dialog" id="demo-alert-dialog-small" data-size="sm" aria-labelledby="alert-dialog-small-title" aria-describedby="alert-dialog-small-description">
48
- <div>
49
- <header>
50
- <h2 data-slot="title" id="alert-dialog-small-title">Allow accessory to connect?</h2>
51
- <p data-slot="description" id="alert-dialog-small-description">
52
- Do you want to allow the USB accessory to connect to this device?
53
- </p>
54
- </header>
55
- <footer>
56
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Don't allow</button>
57
- <button type="button" class="btn" data-close-dialog>Allow</button>
58
- </footer>
59
- </div>
60
- </dialog>
61
-
62
- <!-- Media -->
63
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-media">
64
- Share project
65
- </button>
66
-
67
- <dialog class="alert-dialog" id="demo-alert-dialog-media" aria-labelledby="alert-dialog-media-title" aria-describedby="alert-dialog-media-description">
68
- <div>
69
- <header>
70
- <figure><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="M8 12h8"/><path d="M12 8v8"/></svg></figure>
71
- <h2 data-slot="title" id="alert-dialog-media-title">Share this project?</h2>
72
- <p data-slot="description" id="alert-dialog-media-description">
73
- Anyone with the link will be able to view and edit this project.
74
- </p>
75
- </header>
76
- <footer>
77
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
78
- <button type="button" class="btn" data-close-dialog>Share</button>
79
- </footer>
80
- </div>
81
- </dialog>
82
-
83
- <!-- Small with media -->
84
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-small-media">
85
- Show small media alert
86
- </button>
87
-
88
- <dialog class="alert-dialog" id="demo-alert-dialog-small-media" data-size="sm" aria-labelledby="alert-dialog-small-media-title" aria-describedby="alert-dialog-small-media-description">
89
- <div>
90
- <header>
91
- <figure><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="m7 7 10 10-5 5V2l5 5L7 17"/></svg></figure>
92
- <h2 data-slot="title" id="alert-dialog-small-media-title">Allow accessory to connect?</h2>
93
- <p data-slot="description" id="alert-dialog-small-media-description">
94
- Do you want to allow the USB accessory to connect to this device?
95
- </p>
96
- </header>
97
- <footer>
98
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Don't allow</button>
99
- <button type="button" class="btn" data-close-dialog>Allow</button>
100
- </footer>
101
- </div>
102
- </dialog>
103
-
104
- <!-- With image -->
105
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-image">
106
- Remove teammate
107
- </button>
108
-
109
- <dialog class="alert-dialog" id="demo-alert-dialog-image" aria-labelledby="alert-dialog-image-title" aria-describedby="alert-dialog-image-description">
110
- <div>
111
- <header>
112
- <figure><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="" width="40" height="40"></figure>
113
- <h2 data-slot="title" id="alert-dialog-image-title">Remove teammate?</h2>
114
- <p data-slot="description" id="alert-dialog-image-description">
115
- They will lose access to this workspace and its documents.
116
- </p>
117
- </header>
118
- <footer>
119
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
120
- <button type="button" class="btn" data-variant="destructive" data-close-dialog>Remove</button>
121
- </footer>
122
- </div>
123
- </dialog>
124
-
125
- <!-- Right-to-left -->
126
- <div dir="rtl" lang="ar" style="display: flex; flex-wrap: wrap; gap: 0.5rem">
127
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-alert-dialog-rtl">
128
- إظهار الحوار
129
- </button>
130
-
131
- <dialog class="alert-dialog" id="demo-alert-dialog-rtl" data-size="sm" aria-labelledby="alert-dialog-rtl-title" aria-describedby="alert-dialog-rtl-description">
132
- <div>
133
- <header>
134
- <figure><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="m7 7 10 10-5 5V2l5 5L7 17"/></svg></figure>
135
- <h2 data-slot="title" id="alert-dialog-rtl-title">السماح للملحق بالاتصال؟</h2>
136
- <p data-slot="description" id="alert-dialog-rtl-description">
137
- هل تريد السماح لملحق USB بالاتصال بهذا الجهاز؟
138
- </p>
139
- </header>
140
- <footer>
141
- <button type="button" class="btn" data-variant="outline" data-close-dialog>عدم السماح</button>
142
- <button type="button" class="btn" data-close-dialog>السماح</button>
143
- </footer>
144
- </div>
145
- </dialog>
146
- </div>
@@ -1,62 +0,0 @@
1
- <!-- Default -->
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>
4
- <h3 data-slot="title">Heads up!</h3>
5
- <section>
6
- <p>You can add components and dependencies to your app using the CLI.</p>
7
- </section>
8
- </div>
9
-
10
- <!-- Destructive -->
11
- <div class="alert" data-variant="destructive" role="alert">
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>
14
- <section>
15
- <p>Your payment could not be processed. Please check your payment method and try again.</p>
16
- </section>
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,14 +0,0 @@
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
-
6
- <!-- 16 / 9 -->
7
- <div class="aspect-ratio" style="--ratio: 16 / 9">
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" />
9
- </div>
10
-
11
- <!-- Square, contain -->
12
- <div class="aspect-ratio" style="--ratio: 1 / 1; max-width: 16rem" data-fit="contain">
13
- <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 wide media placeholder inside a square frame" />
14
- </div>
@@ -1,53 +0,0 @@
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
-
13
- <!-- States -->
14
- <div style="display: flex; flex-direction: column; gap: 0.75rem; max-width: 24rem">
15
- <div class="attachment">
16
- <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>
17
- <div data-slot="content">
18
- <span data-slot="title">report.pdf</span>
19
- <span data-slot="description">PDF · 2.4 MB</span>
20
- </div>
21
- <div data-slot="actions">
22
- <button type="button" class="btn" data-variant="ghost" data-size="icon-xs" aria-label="Remove report.pdf">×</button>
23
- </div>
24
- </div>
25
- <div class="attachment" aria-busy="true">
26
- <div data-slot="media"><span class="spinner" data-size="sm"></span></div>
27
- <div data-slot="content">
28
- <span data-slot="title">sales-dashboard.csv</span>
29
- <span data-slot="description">Uploading · 64%</span>
30
- </div>
31
- </div>
32
- <div class="attachment">
33
- <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"><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></div>
34
- <div data-slot="content">
35
- <span data-slot="title">workspace.zip</span>
36
- <span data-slot="description" role="alert">Upload failed. The file is larger than 10 MB.</span>
37
- </div>
38
- </div>
39
- </div>
40
-
41
- <!-- Media -->
42
- <div class="attachment" data-orientation="vertical">
43
- <div data-slot="media">
44
- <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="Workspace preview">
45
- </div>
46
- <div data-slot="content">
47
- <span data-slot="title">cover.png</span>
48
- <span data-slot="description">PNG · 840 KB</span>
49
- </div>
50
- <div data-slot="actions">
51
- <button type="button" class="btn" data-variant="secondary" data-size="icon-xs" aria-label="Remove cover.png">×</button>
52
- </div>
53
- </div>
@@ -1,66 +0,0 @@
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
-
10
- <!-- Sizes -->
11
- <div style="display: flex; align-items: center; gap: 0.75rem">
12
- <span class="avatar" data-size="sm"><span data-slot="fallback">SM</span></span>
13
- <span class="avatar"><span data-slot="fallback">AV</span></span>
14
- <span class="avatar" data-size="lg"><span data-slot="fallback">LG</span></span>
15
- </div>
16
-
17
- <!-- Badge -->
18
- <span class="avatar">
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" />
20
- <span data-slot="fallback" aria-hidden="true">AL</span>
21
- <span data-slot="badge" aria-hidden="true"></span>
22
- </span>
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
-
31
- <!-- Group -->
32
- <div class="avatar-group" role="group" aria-label="Project contributors">
33
- <span class="avatar"><span data-slot="fallback">AL</span></span>
34
- <span class="avatar"><span data-slot="fallback">GR</span></span>
35
- <span class="avatar"><span data-slot="fallback">TS</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>
66
- </div>
@@ -1,49 +0,0 @@
1
- <!-- Default -->
2
- <span class="badge">Badge</span>
3
-
4
- <!-- Variants -->
5
- <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
6
- <span class="badge">Default</span>
7
- <span class="badge" data-variant="secondary">Secondary</span>
8
- <span class="badge" data-variant="outline">Outline</span>
9
- <span class="badge" data-variant="destructive">Destructive</span>
10
- <span class="badge" data-variant="ghost">Ghost</span>
11
- <span class="badge" data-variant="link">Link</span>
12
- </div>
13
-
14
- <!-- With icons -->
15
- <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
16
- <span class="badge" data-variant="secondary"><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="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z"/><path d="m9 12 2 2 4-4"/></svg>Verified</span>
17
- <span class="badge" data-variant="outline">Bookmark<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-end"><path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/></svg></span>
18
- </div>
19
-
20
- <!-- With spinner -->
21
- <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
22
- <span class="badge" data-variant="destructive" aria-busy="true"><span class="spinner" data-size="sm" data-icon="inline-start" aria-hidden="true"></span>Deleting</span>
23
- <span class="badge" data-variant="secondary" aria-busy="true">Generating<span class="spinner" data-size="sm" data-icon="inline-end" aria-hidden="true"></span></span>
24
- </div>
25
-
26
- <!-- As link -->
27
- <div style="display: flex; flex-wrap: wrap; gap: 0.5rem">
28
- <a class="badge" href="#">Open link<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-end"><path d="M7 7h10v10"/><path d="M7 17 17 7"/></svg></a>
29
- <a class="badge" data-variant="outline" href="#">Read the docs<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-end"><path d="M7 7h10v10"/><path d="M7 17 17 7"/></svg></a>
30
- </div>
31
-
32
- <!-- In a field -->
33
- <div class="field" style="max-width: 24rem">
34
- <label class="label" for="demo-badge-webhook" style="width: 100%">
35
- Webhook URL
36
- <span class="badge" data-variant="secondary" style="margin-inline-start: auto">Beta</span>
37
- </label>
38
- <input class="input" id="demo-badge-webhook" type="url" placeholder="https://api.example.com/webhook">
39
- </div>
40
-
41
- <!-- Right-to-left -->
42
- <div dir="rtl" lang="ar" style="display: flex; flex-wrap: wrap; gap: 0.5rem">
43
- <span class="badge">شارة</span>
44
- <span class="badge" data-variant="secondary">ثانوي</span>
45
- <span class="badge" data-variant="outline">مخطط</span>
46
- <span class="badge" data-variant="destructive">مدمر</span>
47
- <span class="badge" data-variant="secondary"><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="M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z"/><path d="m9 12 2 2 4-4"/></svg>متحقق</span>
48
- <span class="badge" 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-end"><path d="M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z"/></svg></span>
49
- </div>