loseta 0.19.0 → 0.21.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 (761) hide show
  1. package/README.md +91 -20
  2. package/dist/cli.js +69 -16
  3. package/dist/cli.js.map +1 -1
  4. package/dist/colors.d.ts +9 -0
  5. package/dist/colors.js +25 -0
  6. package/dist/colors.js.map +1 -0
  7. package/dist/command-context.d.ts +20 -0
  8. package/dist/command-context.js +26 -0
  9. package/dist/command-context.js.map +1 -0
  10. package/dist/command-errors.d.ts +2 -0
  11. package/dist/command-errors.js +42 -0
  12. package/dist/command-errors.js.map +1 -0
  13. package/dist/command.d.ts +45 -0
  14. package/dist/command.js +72 -0
  15. package/dist/command.js.map +1 -0
  16. package/dist/commands/add.d.ts +9 -1
  17. package/dist/commands/add.js +190 -62
  18. package/dist/commands/add.js.map +1 -1
  19. package/dist/commands/init.d.ts +9 -1
  20. package/dist/commands/init.js +72 -29
  21. package/dist/commands/init.js.map +1 -1
  22. package/dist/commands/list.d.ts +9 -1
  23. package/dist/commands/list.js +44 -5
  24. package/dist/commands/list.js.map +1 -1
  25. package/dist/commands/style.d.ts +10 -1
  26. package/dist/commands/style.js +60 -12
  27. package/dist/commands/style.js.map +1 -1
  28. package/dist/constants.d.ts +9 -0
  29. package/dist/constants.js +10 -0
  30. package/dist/constants.js.map +1 -0
  31. package/dist/fetch.d.ts +28 -0
  32. package/dist/fetch.js +135 -0
  33. package/dist/fetch.js.map +1 -0
  34. package/dist/imports.d.ts +6 -6
  35. package/dist/imports.js +42 -32
  36. package/dist/imports.js.map +1 -1
  37. package/dist/install.d.ts +17 -14
  38. package/dist/install.js +67 -41
  39. package/dist/install.js.map +1 -1
  40. package/dist/local-registry.d.ts +20 -0
  41. package/dist/local-registry.js +58 -0
  42. package/dist/local-registry.js.map +1 -0
  43. package/dist/manifest.d.ts +1 -1
  44. package/dist/manifest.js +14 -2
  45. package/dist/manifest.js.map +1 -1
  46. package/dist/package-info.d.ts +2 -0
  47. package/dist/package-info.js +5 -0
  48. package/dist/package-info.js.map +1 -0
  49. package/dist/payload.d.ts +31 -0
  50. package/dist/payload.js +155 -0
  51. package/dist/payload.js.map +1 -0
  52. package/dist/prompts.d.ts +35 -0
  53. package/dist/prompts.js +105 -0
  54. package/dist/prompts.js.map +1 -0
  55. package/dist/registry-url.d.ts +14 -0
  56. package/dist/registry-url.js +63 -0
  57. package/dist/registry-url.js.map +1 -0
  58. package/dist/remote-registry.d.ts +36 -0
  59. package/dist/remote-registry.js +232 -0
  60. package/dist/remote-registry.js.map +1 -0
  61. package/dist/resolve.d.ts +23 -0
  62. package/dist/resolve.js +106 -0
  63. package/dist/resolve.js.map +1 -0
  64. package/{registry/schema.json → dist/schema-catalog.json} +31 -9
  65. package/dist/schema-item.json +119 -0
  66. package/dist/source-types.d.ts +15 -0
  67. package/dist/source-types.js +2 -0
  68. package/dist/source-types.js.map +1 -0
  69. package/dist/style-selection.d.ts +1 -1
  70. package/dist/style-switch.d.ts +4 -1
  71. package/dist/style-switch.js +12 -2
  72. package/dist/style-switch.js.map +1 -1
  73. package/dist/types.d.ts +55 -3
  74. package/dist/ui.js +1 -1
  75. package/dist/ui.js.map +1 -1
  76. package/dist/validate-content.d.ts +20 -0
  77. package/dist/validate-content.js +385 -0
  78. package/dist/validate-content.js.map +1 -0
  79. package/dist/validation-rules.json +121 -0
  80. package/dist/version.d.ts +6 -0
  81. package/dist/version.js +26 -0
  82. package/dist/version.js.map +1 -0
  83. package/package.json +9 -9
  84. package/registry/base.css +0 -20
  85. package/registry/behaviors/calendar.js +0 -855
  86. package/registry/behaviors/carousel.js +0 -280
  87. package/registry/behaviors/code-block.js +0 -106
  88. package/registry/behaviors/combobox.js +0 -237
  89. package/registry/behaviors/command.js +0 -105
  90. package/registry/behaviors/core.js +0 -302
  91. package/registry/behaviors/dialog.js +0 -97
  92. package/registry/behaviors/hover-overlay.js +0 -180
  93. package/registry/behaviors/listbox.js +0 -135
  94. package/registry/behaviors/menu.js +0 -586
  95. package/registry/behaviors/message-scroller.js +0 -147
  96. package/registry/behaviors/popover.js +0 -127
  97. package/registry/behaviors/questionnaire.js +0 -91
  98. package/registry/behaviors/resizable.js +0 -463
  99. package/registry/behaviors/select.js +0 -196
  100. package/registry/behaviors/tabs.js +0 -95
  101. package/registry/behaviors/toast.js +0 -137
  102. package/registry/components/accordion.css +0 -65
  103. package/registry/components/alert-dialog.css +0 -104
  104. package/registry/components/alert.css +0 -41
  105. package/registry/components/aspect-ratio.css +0 -25
  106. package/registry/components/attachment.css +0 -84
  107. package/registry/components/avatar.css +0 -63
  108. package/registry/components/badge.css +0 -22
  109. package/registry/components/breadcrumb.css +0 -65
  110. package/registry/components/bubble.css +0 -92
  111. package/registry/components/button-group.css +0 -98
  112. package/registry/components/button.css +0 -32
  113. package/registry/components/calendar.css +0 -96
  114. package/registry/components/card.css +0 -51
  115. package/registry/components/carousel.css +0 -96
  116. package/registry/components/chart.css +0 -65
  117. package/registry/components/checkbox.css +0 -39
  118. package/registry/components/code-block.css +0 -192
  119. package/registry/components/collapsible.css +0 -57
  120. package/registry/components/combobox.css +0 -42
  121. package/registry/components/command.css +0 -27
  122. package/registry/components/context-menu.css +0 -37
  123. package/registry/components/dialog.css +0 -87
  124. package/registry/components/drawer.css +0 -30
  125. package/registry/components/dropdown-menu.css +0 -14
  126. package/registry/components/empty.css +0 -66
  127. package/registry/components/field.css +0 -169
  128. package/registry/components/hover-card.css +0 -18
  129. package/registry/components/input-group.css +0 -56
  130. package/registry/components/input-otp.css +0 -119
  131. package/registry/components/input.css +0 -31
  132. package/registry/components/item.css +0 -102
  133. package/registry/components/kbd.css +0 -19
  134. package/registry/components/label.css +0 -31
  135. package/registry/components/marker.css +0 -47
  136. package/registry/components/menubar.css +0 -52
  137. package/registry/components/message-scroller.css +0 -56
  138. package/registry/components/message.css +0 -61
  139. package/registry/components/native-select.css +0 -27
  140. package/registry/components/navigation-menu.css +0 -52
  141. package/registry/components/pagination.css +0 -49
  142. package/registry/components/popover.css +0 -7
  143. package/registry/components/progress.css +0 -13
  144. package/registry/components/questionnaire.css +0 -92
  145. package/registry/components/radio.css +0 -40
  146. package/registry/components/resizable.css +0 -100
  147. package/registry/components/scroll-area.css +0 -16
  148. package/registry/components/select.css +0 -50
  149. package/registry/components/separator.css +0 -12
  150. package/registry/components/sheet.css +0 -31
  151. package/registry/components/sidebar.css +0 -107
  152. package/registry/components/skeleton.css +0 -11
  153. package/registry/components/slider.css +0 -13
  154. package/registry/components/spinner.css +0 -8
  155. package/registry/components/switch.css +0 -41
  156. package/registry/components/table.css +0 -73
  157. package/registry/components/tabs.css +0 -61
  158. package/registry/components/textarea.css +0 -25
  159. package/registry/components/toast.css +0 -47
  160. package/registry/components/toggle-group.css +0 -25
  161. package/registry/components/toggle.css +0 -31
  162. package/registry/components/tooltip.css +0 -437
  163. package/registry/components/trace.css +0 -78
  164. package/registry/examples/accordion.html +0 -56
  165. package/registry/examples/alert-dialog.html +0 -146
  166. package/registry/examples/alert.html +0 -62
  167. package/registry/examples/aspect-ratio.html +0 -14
  168. package/registry/examples/attachment.html +0 -53
  169. package/registry/examples/avatar.html +0 -66
  170. package/registry/examples/badge.html +0 -49
  171. package/registry/examples/breadcrumb.html +0 -103
  172. package/registry/examples/bubble.html +0 -26
  173. package/registry/examples/button-group.html +0 -141
  174. package/registry/examples/button.html +0 -66
  175. package/registry/examples/calendar.html +0 -757
  176. package/registry/examples/card.html +0 -204
  177. package/registry/examples/carousel.html +0 -127
  178. package/registry/examples/chart.html +0 -39
  179. package/registry/examples/checkbox.html +0 -111
  180. package/registry/examples/code-block.html +0 -84
  181. package/registry/examples/collapsible.html +0 -22
  182. package/registry/examples/combobox.html +0 -43
  183. package/registry/examples/command.html +0 -365
  184. package/registry/examples/context-menu.html +0 -179
  185. package/registry/examples/dialog.html +0 -187
  186. package/registry/examples/drawer.html +0 -234
  187. package/registry/examples/dropdown-menu.html +0 -272
  188. package/registry/examples/empty.html +0 -117
  189. package/registry/examples/field.html +0 -247
  190. package/registry/examples/hover-card.html +0 -13
  191. package/registry/examples/input-group.html +0 -110
  192. package/registry/examples/input-otp.html +0 -182
  193. package/registry/examples/input.html +0 -80
  194. package/registry/examples/item.html +0 -32
  195. package/registry/examples/kbd.html +0 -94
  196. package/registry/examples/label.html +0 -5
  197. package/registry/examples/marker.html +0 -20
  198. package/registry/examples/menubar.html +0 -372
  199. package/registry/examples/message-scroller.html +0 -54
  200. package/registry/examples/message.html +0 -47
  201. package/registry/examples/native-select.html +0 -91
  202. package/registry/examples/navigation-menu.html +0 -207
  203. package/registry/examples/pagination.html +0 -39
  204. package/registry/examples/popover.html +0 -163
  205. package/registry/examples/progress.html +0 -68
  206. package/registry/examples/questionnaire.html +0 -99
  207. package/registry/examples/radio.html +0 -127
  208. package/registry/examples/resizable.html +0 -107
  209. package/registry/examples/scroll-area.html +0 -34
  210. package/registry/examples/select.html +0 -250
  211. package/registry/examples/separator.html +0 -18
  212. package/registry/examples/sheet.html +0 -240
  213. package/registry/examples/sidebar.html +0 -407
  214. package/registry/examples/skeleton.html +0 -6
  215. package/registry/examples/slider.html +0 -56
  216. package/registry/examples/spinner.html +0 -15
  217. package/registry/examples/switch.html +0 -73
  218. package/registry/examples/table.html +0 -218
  219. package/registry/examples/tabs.html +0 -27
  220. package/registry/examples/textarea.html +0 -36
  221. package/registry/examples/toast.html +0 -28
  222. package/registry/examples/toggle-group.html +0 -73
  223. package/registry/examples/toggle.html +0 -40
  224. package/registry/examples/tooltip.html +0 -106
  225. package/registry/examples/trace.html +0 -54
  226. package/registry/primitives/dialog-shell.css +0 -129
  227. package/registry/primitives/listbox.css +0 -82
  228. package/registry/primitives/menu.css +0 -109
  229. package/registry/primitives/popover.css +0 -162
  230. package/registry/registry.json +0 -5349
  231. package/registry/reset.css +0 -400
  232. package/registry/styles/luma/accordion.css +0 -59
  233. package/registry/styles/luma/alert-dialog.css +0 -82
  234. package/registry/styles/luma/alert.css +0 -98
  235. package/registry/styles/luma/aspect-ratio.css +0 -6
  236. package/registry/styles/luma/attachment.css +0 -176
  237. package/registry/styles/luma/avatar.css +0 -132
  238. package/registry/styles/luma/badge.css +0 -112
  239. package/registry/styles/luma/breadcrumb.css +0 -62
  240. package/registry/styles/luma/bubble.css +0 -147
  241. package/registry/styles/luma/button-group.css +0 -63
  242. package/registry/styles/luma/button.css +0 -222
  243. package/registry/styles/luma/calendar.css +0 -140
  244. package/registry/styles/luma/card.css +0 -82
  245. package/registry/styles/luma/carousel.css +0 -63
  246. package/registry/styles/luma/chart.css +0 -51
  247. package/registry/styles/luma/checkbox.css +0 -58
  248. package/registry/styles/luma/code-block.css +0 -186
  249. package/registry/styles/luma/collapsible.css +0 -50
  250. package/registry/styles/luma/combobox.css +0 -59
  251. package/registry/styles/luma/command.css +0 -27
  252. package/registry/styles/luma/context-menu.css +0 -19
  253. package/registry/styles/luma/dialog.css +0 -64
  254. package/registry/styles/luma/drawer.css +0 -68
  255. package/registry/styles/luma/dropdown-menu.css +0 -8
  256. package/registry/styles/luma/empty.css +0 -52
  257. package/registry/styles/luma/field.css +0 -120
  258. package/registry/styles/luma/hover-card.css +0 -22
  259. package/registry/styles/luma/input-group.css +0 -98
  260. package/registry/styles/luma/input-otp.css +0 -102
  261. package/registry/styles/luma/input.css +0 -61
  262. package/registry/styles/luma/item.css +0 -133
  263. package/registry/styles/luma/kbd.css +0 -22
  264. package/registry/styles/luma/label.css +0 -74
  265. package/registry/styles/luma/marker.css +0 -35
  266. package/registry/styles/luma/menubar.css +0 -48
  267. package/registry/styles/luma/message-scroller.css +0 -47
  268. package/registry/styles/luma/message.css +0 -39
  269. package/registry/styles/luma/native-select.css +0 -80
  270. package/registry/styles/luma/navigation-menu.css +0 -90
  271. package/registry/styles/luma/pagination.css +0 -46
  272. package/registry/styles/luma/popover.css +0 -25
  273. package/registry/styles/luma/primitives/dialog-shell.css +0 -19
  274. package/registry/styles/luma/primitives/listbox.css +0 -79
  275. package/registry/styles/luma/primitives/menu.css +0 -108
  276. package/registry/styles/luma/primitives/popover.css +0 -16
  277. package/registry/styles/luma/progress.css +0 -92
  278. package/registry/styles/luma/questionnaire.css +0 -141
  279. package/registry/styles/luma/radio.css +0 -48
  280. package/registry/styles/luma/resizable.css +0 -44
  281. package/registry/styles/luma/scroll-area.css +0 -30
  282. package/registry/styles/luma/select.css +0 -80
  283. package/registry/styles/luma/separator.css +0 -14
  284. package/registry/styles/luma/sheet.css +0 -74
  285. package/registry/styles/luma/sidebar.css +0 -211
  286. package/registry/styles/luma/skeleton.css +0 -7
  287. package/registry/styles/luma/slider.css +0 -15
  288. package/registry/styles/luma/spinner.css +0 -35
  289. package/registry/styles/luma/switch.css +0 -110
  290. package/registry/styles/luma/table.css +0 -91
  291. package/registry/styles/luma/tabs.css +0 -133
  292. package/registry/styles/luma/textarea.css +0 -53
  293. package/registry/styles/luma/toast.css +0 -62
  294. package/registry/styles/luma/toggle-group.css +0 -59
  295. package/registry/styles/luma/toggle.css +0 -128
  296. package/registry/styles/luma/tooltip.css +0 -35
  297. package/registry/styles/luma/trace.css +0 -85
  298. package/registry/styles/lyra/accordion.css +0 -59
  299. package/registry/styles/lyra/alert-dialog.css +0 -82
  300. package/registry/styles/lyra/alert.css +0 -98
  301. package/registry/styles/lyra/aspect-ratio.css +0 -6
  302. package/registry/styles/lyra/attachment.css +0 -176
  303. package/registry/styles/lyra/avatar.css +0 -132
  304. package/registry/styles/lyra/badge.css +0 -112
  305. package/registry/styles/lyra/breadcrumb.css +0 -62
  306. package/registry/styles/lyra/bubble.css +0 -147
  307. package/registry/styles/lyra/button-group.css +0 -62
  308. package/registry/styles/lyra/button.css +0 -221
  309. package/registry/styles/lyra/calendar.css +0 -140
  310. package/registry/styles/lyra/card.css +0 -81
  311. package/registry/styles/lyra/carousel.css +0 -63
  312. package/registry/styles/lyra/chart.css +0 -51
  313. package/registry/styles/lyra/checkbox.css +0 -58
  314. package/registry/styles/lyra/code-block.css +0 -186
  315. package/registry/styles/lyra/collapsible.css +0 -50
  316. package/registry/styles/lyra/combobox.css +0 -59
  317. package/registry/styles/lyra/command.css +0 -27
  318. package/registry/styles/lyra/context-menu.css +0 -19
  319. package/registry/styles/lyra/dialog.css +0 -64
  320. package/registry/styles/lyra/drawer.css +0 -68
  321. package/registry/styles/lyra/dropdown-menu.css +0 -8
  322. package/registry/styles/lyra/empty.css +0 -52
  323. package/registry/styles/lyra/field.css +0 -120
  324. package/registry/styles/lyra/hover-card.css +0 -22
  325. package/registry/styles/lyra/input-group.css +0 -98
  326. package/registry/styles/lyra/input-otp.css +0 -102
  327. package/registry/styles/lyra/input.css +0 -62
  328. package/registry/styles/lyra/item.css +0 -133
  329. package/registry/styles/lyra/kbd.css +0 -22
  330. package/registry/styles/lyra/label.css +0 -74
  331. package/registry/styles/lyra/marker.css +0 -35
  332. package/registry/styles/lyra/menubar.css +0 -48
  333. package/registry/styles/lyra/message-scroller.css +0 -47
  334. package/registry/styles/lyra/message.css +0 -39
  335. package/registry/styles/lyra/native-select.css +0 -79
  336. package/registry/styles/lyra/navigation-menu.css +0 -90
  337. package/registry/styles/lyra/pagination.css +0 -46
  338. package/registry/styles/lyra/popover.css +0 -25
  339. package/registry/styles/lyra/primitives/dialog-shell.css +0 -19
  340. package/registry/styles/lyra/primitives/listbox.css +0 -79
  341. package/registry/styles/lyra/primitives/menu.css +0 -108
  342. package/registry/styles/lyra/primitives/popover.css +0 -16
  343. package/registry/styles/lyra/progress.css +0 -92
  344. package/registry/styles/lyra/questionnaire.css +0 -141
  345. package/registry/styles/lyra/radio.css +0 -48
  346. package/registry/styles/lyra/resizable.css +0 -44
  347. package/registry/styles/lyra/scroll-area.css +0 -30
  348. package/registry/styles/lyra/select.css +0 -80
  349. package/registry/styles/lyra/separator.css +0 -14
  350. package/registry/styles/lyra/sheet.css +0 -74
  351. package/registry/styles/lyra/sidebar.css +0 -211
  352. package/registry/styles/lyra/skeleton.css +0 -7
  353. package/registry/styles/lyra/slider.css +0 -15
  354. package/registry/styles/lyra/spinner.css +0 -35
  355. package/registry/styles/lyra/switch.css +0 -110
  356. package/registry/styles/lyra/table.css +0 -91
  357. package/registry/styles/lyra/tabs.css +0 -133
  358. package/registry/styles/lyra/textarea.css +0 -53
  359. package/registry/styles/lyra/toast.css +0 -62
  360. package/registry/styles/lyra/toggle-group.css +0 -48
  361. package/registry/styles/lyra/toggle.css +0 -126
  362. package/registry/styles/lyra/tooltip.css +0 -35
  363. package/registry/styles/lyra/trace.css +0 -85
  364. package/registry/styles/maia/accordion.css +0 -59
  365. package/registry/styles/maia/alert-dialog.css +0 -82
  366. package/registry/styles/maia/alert.css +0 -98
  367. package/registry/styles/maia/aspect-ratio.css +0 -6
  368. package/registry/styles/maia/attachment.css +0 -176
  369. package/registry/styles/maia/avatar.css +0 -132
  370. package/registry/styles/maia/badge.css +0 -113
  371. package/registry/styles/maia/breadcrumb.css +0 -62
  372. package/registry/styles/maia/bubble.css +0 -147
  373. package/registry/styles/maia/button-group.css +0 -63
  374. package/registry/styles/maia/button.css +0 -222
  375. package/registry/styles/maia/calendar.css +0 -140
  376. package/registry/styles/maia/card.css +0 -81
  377. package/registry/styles/maia/carousel.css +0 -63
  378. package/registry/styles/maia/chart.css +0 -51
  379. package/registry/styles/maia/checkbox.css +0 -58
  380. package/registry/styles/maia/code-block.css +0 -186
  381. package/registry/styles/maia/collapsible.css +0 -50
  382. package/registry/styles/maia/combobox.css +0 -59
  383. package/registry/styles/maia/command.css +0 -27
  384. package/registry/styles/maia/context-menu.css +0 -19
  385. package/registry/styles/maia/dialog.css +0 -64
  386. package/registry/styles/maia/drawer.css +0 -68
  387. package/registry/styles/maia/dropdown-menu.css +0 -8
  388. package/registry/styles/maia/empty.css +0 -52
  389. package/registry/styles/maia/field.css +0 -120
  390. package/registry/styles/maia/hover-card.css +0 -22
  391. package/registry/styles/maia/input-group.css +0 -98
  392. package/registry/styles/maia/input-otp.css +0 -102
  393. package/registry/styles/maia/input.css +0 -61
  394. package/registry/styles/maia/item.css +0 -133
  395. package/registry/styles/maia/kbd.css +0 -22
  396. package/registry/styles/maia/label.css +0 -74
  397. package/registry/styles/maia/marker.css +0 -35
  398. package/registry/styles/maia/menubar.css +0 -48
  399. package/registry/styles/maia/message-scroller.css +0 -47
  400. package/registry/styles/maia/message.css +0 -39
  401. package/registry/styles/maia/native-select.css +0 -80
  402. package/registry/styles/maia/navigation-menu.css +0 -90
  403. package/registry/styles/maia/pagination.css +0 -46
  404. package/registry/styles/maia/popover.css +0 -25
  405. package/registry/styles/maia/primitives/dialog-shell.css +0 -19
  406. package/registry/styles/maia/primitives/listbox.css +0 -79
  407. package/registry/styles/maia/primitives/menu.css +0 -108
  408. package/registry/styles/maia/primitives/popover.css +0 -16
  409. package/registry/styles/maia/progress.css +0 -92
  410. package/registry/styles/maia/questionnaire.css +0 -141
  411. package/registry/styles/maia/radio.css +0 -48
  412. package/registry/styles/maia/resizable.css +0 -44
  413. package/registry/styles/maia/scroll-area.css +0 -30
  414. package/registry/styles/maia/select.css +0 -80
  415. package/registry/styles/maia/separator.css +0 -14
  416. package/registry/styles/maia/sheet.css +0 -74
  417. package/registry/styles/maia/sidebar.css +0 -211
  418. package/registry/styles/maia/skeleton.css +0 -7
  419. package/registry/styles/maia/slider.css +0 -15
  420. package/registry/styles/maia/spinner.css +0 -35
  421. package/registry/styles/maia/switch.css +0 -110
  422. package/registry/styles/maia/table.css +0 -91
  423. package/registry/styles/maia/tabs.css +0 -133
  424. package/registry/styles/maia/textarea.css +0 -53
  425. package/registry/styles/maia/toast.css +0 -62
  426. package/registry/styles/maia/toggle-group.css +0 -59
  427. package/registry/styles/maia/toggle.css +0 -128
  428. package/registry/styles/maia/tooltip.css +0 -35
  429. package/registry/styles/maia/trace.css +0 -85
  430. package/registry/styles/mira/accordion.css +0 -59
  431. package/registry/styles/mira/alert-dialog.css +0 -82
  432. package/registry/styles/mira/alert.css +0 -98
  433. package/registry/styles/mira/aspect-ratio.css +0 -6
  434. package/registry/styles/mira/attachment.css +0 -176
  435. package/registry/styles/mira/avatar.css +0 -132
  436. package/registry/styles/mira/badge.css +0 -116
  437. package/registry/styles/mira/breadcrumb.css +0 -62
  438. package/registry/styles/mira/bubble.css +0 -147
  439. package/registry/styles/mira/button-group.css +0 -63
  440. package/registry/styles/mira/button.css +0 -222
  441. package/registry/styles/mira/calendar.css +0 -140
  442. package/registry/styles/mira/card.css +0 -81
  443. package/registry/styles/mira/carousel.css +0 -63
  444. package/registry/styles/mira/chart.css +0 -51
  445. package/registry/styles/mira/checkbox.css +0 -58
  446. package/registry/styles/mira/code-block.css +0 -186
  447. package/registry/styles/mira/collapsible.css +0 -50
  448. package/registry/styles/mira/combobox.css +0 -59
  449. package/registry/styles/mira/command.css +0 -27
  450. package/registry/styles/mira/context-menu.css +0 -19
  451. package/registry/styles/mira/dialog.css +0 -64
  452. package/registry/styles/mira/drawer.css +0 -68
  453. package/registry/styles/mira/dropdown-menu.css +0 -8
  454. package/registry/styles/mira/empty.css +0 -52
  455. package/registry/styles/mira/field.css +0 -120
  456. package/registry/styles/mira/hover-card.css +0 -22
  457. package/registry/styles/mira/input-group.css +0 -98
  458. package/registry/styles/mira/input-otp.css +0 -102
  459. package/registry/styles/mira/input.css +0 -62
  460. package/registry/styles/mira/item.css +0 -133
  461. package/registry/styles/mira/kbd.css +0 -22
  462. package/registry/styles/mira/label.css +0 -74
  463. package/registry/styles/mira/marker.css +0 -35
  464. package/registry/styles/mira/menubar.css +0 -48
  465. package/registry/styles/mira/message-scroller.css +0 -47
  466. package/registry/styles/mira/message.css +0 -39
  467. package/registry/styles/mira/native-select.css +0 -80
  468. package/registry/styles/mira/navigation-menu.css +0 -90
  469. package/registry/styles/mira/pagination.css +0 -46
  470. package/registry/styles/mira/popover.css +0 -25
  471. package/registry/styles/mira/primitives/dialog-shell.css +0 -19
  472. package/registry/styles/mira/primitives/listbox.css +0 -79
  473. package/registry/styles/mira/primitives/menu.css +0 -109
  474. package/registry/styles/mira/primitives/popover.css +0 -16
  475. package/registry/styles/mira/progress.css +0 -92
  476. package/registry/styles/mira/questionnaire.css +0 -141
  477. package/registry/styles/mira/radio.css +0 -48
  478. package/registry/styles/mira/resizable.css +0 -44
  479. package/registry/styles/mira/scroll-area.css +0 -30
  480. package/registry/styles/mira/select.css +0 -80
  481. package/registry/styles/mira/separator.css +0 -14
  482. package/registry/styles/mira/sheet.css +0 -74
  483. package/registry/styles/mira/sidebar.css +0 -211
  484. package/registry/styles/mira/skeleton.css +0 -7
  485. package/registry/styles/mira/slider.css +0 -15
  486. package/registry/styles/mira/spinner.css +0 -35
  487. package/registry/styles/mira/switch.css +0 -110
  488. package/registry/styles/mira/table.css +0 -91
  489. package/registry/styles/mira/tabs.css +0 -133
  490. package/registry/styles/mira/textarea.css +0 -53
  491. package/registry/styles/mira/toast.css +0 -62
  492. package/registry/styles/mira/toggle-group.css +0 -59
  493. package/registry/styles/mira/toggle.css +0 -128
  494. package/registry/styles/mira/tooltip.css +0 -35
  495. package/registry/styles/mira/trace.css +0 -85
  496. package/registry/styles/nova/accordion.css +0 -59
  497. package/registry/styles/nova/alert-dialog.css +0 -82
  498. package/registry/styles/nova/alert.css +0 -98
  499. package/registry/styles/nova/aspect-ratio.css +0 -6
  500. package/registry/styles/nova/attachment.css +0 -176
  501. package/registry/styles/nova/avatar.css +0 -132
  502. package/registry/styles/nova/badge.css +0 -112
  503. package/registry/styles/nova/breadcrumb.css +0 -62
  504. package/registry/styles/nova/bubble.css +0 -147
  505. package/registry/styles/nova/button-group.css +0 -62
  506. package/registry/styles/nova/button.css +0 -221
  507. package/registry/styles/nova/calendar.css +0 -140
  508. package/registry/styles/nova/card.css +0 -84
  509. package/registry/styles/nova/carousel.css +0 -55
  510. package/registry/styles/nova/chart.css +0 -42
  511. package/registry/styles/nova/checkbox.css +0 -58
  512. package/registry/styles/nova/code-block.css +0 -186
  513. package/registry/styles/nova/collapsible.css +0 -50
  514. package/registry/styles/nova/combobox.css +0 -59
  515. package/registry/styles/nova/command.css +0 -27
  516. package/registry/styles/nova/context-menu.css +0 -19
  517. package/registry/styles/nova/dialog.css +0 -64
  518. package/registry/styles/nova/drawer.css +0 -68
  519. package/registry/styles/nova/dropdown-menu.css +0 -8
  520. package/registry/styles/nova/empty.css +0 -52
  521. package/registry/styles/nova/field.css +0 -120
  522. package/registry/styles/nova/hover-card.css +0 -22
  523. package/registry/styles/nova/input-group.css +0 -98
  524. package/registry/styles/nova/input-otp.css +0 -102
  525. package/registry/styles/nova/input.css +0 -61
  526. package/registry/styles/nova/item.css +0 -133
  527. package/registry/styles/nova/kbd.css +0 -22
  528. package/registry/styles/nova/label.css +0 -74
  529. package/registry/styles/nova/marker.css +0 -35
  530. package/registry/styles/nova/menubar.css +0 -48
  531. package/registry/styles/nova/message-scroller.css +0 -47
  532. package/registry/styles/nova/message.css +0 -39
  533. package/registry/styles/nova/native-select.css +0 -82
  534. package/registry/styles/nova/navigation-menu.css +0 -90
  535. package/registry/styles/nova/pagination.css +0 -46
  536. package/registry/styles/nova/popover.css +0 -25
  537. package/registry/styles/nova/primitives/dialog-shell.css +0 -23
  538. package/registry/styles/nova/primitives/listbox.css +0 -79
  539. package/registry/styles/nova/primitives/menu.css +0 -108
  540. package/registry/styles/nova/primitives/popover.css +0 -16
  541. package/registry/styles/nova/progress.css +0 -92
  542. package/registry/styles/nova/questionnaire.css +0 -141
  543. package/registry/styles/nova/radio.css +0 -48
  544. package/registry/styles/nova/resizable.css +0 -43
  545. package/registry/styles/nova/scroll-area.css +0 -30
  546. package/registry/styles/nova/select.css +0 -80
  547. package/registry/styles/nova/separator.css +0 -14
  548. package/registry/styles/nova/sheet.css +0 -74
  549. package/registry/styles/nova/sidebar.css +0 -211
  550. package/registry/styles/nova/skeleton.css +0 -7
  551. package/registry/styles/nova/slider.css +0 -15
  552. package/registry/styles/nova/spinner.css +0 -35
  553. package/registry/styles/nova/switch.css +0 -110
  554. package/registry/styles/nova/table.css +0 -91
  555. package/registry/styles/nova/tabs.css +0 -133
  556. package/registry/styles/nova/textarea.css +0 -53
  557. package/registry/styles/nova/toast.css +0 -62
  558. package/registry/styles/nova/toggle-group.css +0 -48
  559. package/registry/styles/nova/toggle.css +0 -124
  560. package/registry/styles/nova/tooltip.css +0 -35
  561. package/registry/styles/nova/trace.css +0 -85
  562. package/registry/styles/rhea/accordion.css +0 -59
  563. package/registry/styles/rhea/alert-dialog.css +0 -82
  564. package/registry/styles/rhea/alert.css +0 -98
  565. package/registry/styles/rhea/aspect-ratio.css +0 -6
  566. package/registry/styles/rhea/attachment.css +0 -176
  567. package/registry/styles/rhea/avatar.css +0 -132
  568. package/registry/styles/rhea/badge.css +0 -112
  569. package/registry/styles/rhea/breadcrumb.css +0 -62
  570. package/registry/styles/rhea/bubble.css +0 -147
  571. package/registry/styles/rhea/button-group.css +0 -63
  572. package/registry/styles/rhea/button.css +0 -222
  573. package/registry/styles/rhea/calendar.css +0 -140
  574. package/registry/styles/rhea/card.css +0 -82
  575. package/registry/styles/rhea/carousel.css +0 -63
  576. package/registry/styles/rhea/chart.css +0 -51
  577. package/registry/styles/rhea/checkbox.css +0 -58
  578. package/registry/styles/rhea/code-block.css +0 -186
  579. package/registry/styles/rhea/collapsible.css +0 -50
  580. package/registry/styles/rhea/combobox.css +0 -59
  581. package/registry/styles/rhea/command.css +0 -27
  582. package/registry/styles/rhea/context-menu.css +0 -19
  583. package/registry/styles/rhea/dialog.css +0 -64
  584. package/registry/styles/rhea/drawer.css +0 -68
  585. package/registry/styles/rhea/dropdown-menu.css +0 -8
  586. package/registry/styles/rhea/empty.css +0 -52
  587. package/registry/styles/rhea/field.css +0 -120
  588. package/registry/styles/rhea/hover-card.css +0 -22
  589. package/registry/styles/rhea/input-group.css +0 -98
  590. package/registry/styles/rhea/input-otp.css +0 -102
  591. package/registry/styles/rhea/input.css +0 -61
  592. package/registry/styles/rhea/item.css +0 -133
  593. package/registry/styles/rhea/kbd.css +0 -22
  594. package/registry/styles/rhea/label.css +0 -74
  595. package/registry/styles/rhea/marker.css +0 -35
  596. package/registry/styles/rhea/menubar.css +0 -48
  597. package/registry/styles/rhea/message-scroller.css +0 -47
  598. package/registry/styles/rhea/message.css +0 -39
  599. package/registry/styles/rhea/native-select.css +0 -80
  600. package/registry/styles/rhea/navigation-menu.css +0 -90
  601. package/registry/styles/rhea/pagination.css +0 -46
  602. package/registry/styles/rhea/popover.css +0 -25
  603. package/registry/styles/rhea/primitives/dialog-shell.css +0 -19
  604. package/registry/styles/rhea/primitives/listbox.css +0 -79
  605. package/registry/styles/rhea/primitives/menu.css +0 -109
  606. package/registry/styles/rhea/primitives/popover.css +0 -16
  607. package/registry/styles/rhea/progress.css +0 -92
  608. package/registry/styles/rhea/questionnaire.css +0 -141
  609. package/registry/styles/rhea/radio.css +0 -48
  610. package/registry/styles/rhea/resizable.css +0 -44
  611. package/registry/styles/rhea/scroll-area.css +0 -30
  612. package/registry/styles/rhea/select.css +0 -80
  613. package/registry/styles/rhea/separator.css +0 -14
  614. package/registry/styles/rhea/sheet.css +0 -74
  615. package/registry/styles/rhea/sidebar.css +0 -211
  616. package/registry/styles/rhea/skeleton.css +0 -7
  617. package/registry/styles/rhea/slider.css +0 -15
  618. package/registry/styles/rhea/spinner.css +0 -35
  619. package/registry/styles/rhea/switch.css +0 -110
  620. package/registry/styles/rhea/table.css +0 -91
  621. package/registry/styles/rhea/tabs.css +0 -133
  622. package/registry/styles/rhea/textarea.css +0 -53
  623. package/registry/styles/rhea/toast.css +0 -62
  624. package/registry/styles/rhea/toggle-group.css +0 -59
  625. package/registry/styles/rhea/toggle.css +0 -128
  626. package/registry/styles/rhea/tooltip.css +0 -35
  627. package/registry/styles/rhea/trace.css +0 -85
  628. package/registry/styles/sera/accordion.css +0 -59
  629. package/registry/styles/sera/alert-dialog.css +0 -84
  630. package/registry/styles/sera/alert.css +0 -98
  631. package/registry/styles/sera/aspect-ratio.css +0 -6
  632. package/registry/styles/sera/attachment.css +0 -176
  633. package/registry/styles/sera/avatar.css +0 -132
  634. package/registry/styles/sera/badge.css +0 -143
  635. package/registry/styles/sera/breadcrumb.css +0 -62
  636. package/registry/styles/sera/bubble.css +0 -147
  637. package/registry/styles/sera/button-group.css +0 -63
  638. package/registry/styles/sera/button.css +0 -222
  639. package/registry/styles/sera/calendar.css +0 -148
  640. package/registry/styles/sera/card.css +0 -84
  641. package/registry/styles/sera/carousel.css +0 -63
  642. package/registry/styles/sera/chart.css +0 -51
  643. package/registry/styles/sera/checkbox.css +0 -58
  644. package/registry/styles/sera/code-block.css +0 -186
  645. package/registry/styles/sera/collapsible.css +0 -50
  646. package/registry/styles/sera/combobox.css +0 -60
  647. package/registry/styles/sera/command.css +0 -27
  648. package/registry/styles/sera/context-menu.css +0 -19
  649. package/registry/styles/sera/dialog.css +0 -67
  650. package/registry/styles/sera/drawer.css +0 -70
  651. package/registry/styles/sera/dropdown-menu.css +0 -8
  652. package/registry/styles/sera/empty.css +0 -52
  653. package/registry/styles/sera/field.css +0 -120
  654. package/registry/styles/sera/hover-card.css +0 -22
  655. package/registry/styles/sera/input-group.css +0 -99
  656. package/registry/styles/sera/input-otp.css +0 -103
  657. package/registry/styles/sera/input.css +0 -62
  658. package/registry/styles/sera/item.css +0 -133
  659. package/registry/styles/sera/kbd.css +0 -22
  660. package/registry/styles/sera/label.css +0 -74
  661. package/registry/styles/sera/marker.css +0 -35
  662. package/registry/styles/sera/menubar.css +0 -48
  663. package/registry/styles/sera/message-scroller.css +0 -47
  664. package/registry/styles/sera/message.css +0 -39
  665. package/registry/styles/sera/native-select.css +0 -81
  666. package/registry/styles/sera/navigation-menu.css +0 -90
  667. package/registry/styles/sera/pagination.css +0 -46
  668. package/registry/styles/sera/popover.css +0 -25
  669. package/registry/styles/sera/primitives/dialog-shell.css +0 -19
  670. package/registry/styles/sera/primitives/listbox.css +0 -79
  671. package/registry/styles/sera/primitives/menu.css +0 -108
  672. package/registry/styles/sera/primitives/popover.css +0 -16
  673. package/registry/styles/sera/progress.css +0 -92
  674. package/registry/styles/sera/questionnaire.css +0 -147
  675. package/registry/styles/sera/radio.css +0 -48
  676. package/registry/styles/sera/resizable.css +0 -44
  677. package/registry/styles/sera/scroll-area.css +0 -30
  678. package/registry/styles/sera/select.css +0 -81
  679. package/registry/styles/sera/separator.css +0 -14
  680. package/registry/styles/sera/sheet.css +0 -76
  681. package/registry/styles/sera/sidebar.css +0 -217
  682. package/registry/styles/sera/skeleton.css +0 -7
  683. package/registry/styles/sera/slider.css +0 -15
  684. package/registry/styles/sera/spinner.css +0 -35
  685. package/registry/styles/sera/switch.css +0 -111
  686. package/registry/styles/sera/table.css +0 -92
  687. package/registry/styles/sera/tabs.css +0 -133
  688. package/registry/styles/sera/textarea.css +0 -54
  689. package/registry/styles/sera/toast.css +0 -64
  690. package/registry/styles/sera/toggle-group.css +0 -58
  691. package/registry/styles/sera/toggle.css +0 -128
  692. package/registry/styles/sera/tooltip.css +0 -35
  693. package/registry/styles/sera/trace.css +0 -87
  694. package/registry/styles/vega/accordion.css +0 -59
  695. package/registry/styles/vega/alert-dialog.css +0 -82
  696. package/registry/styles/vega/alert.css +0 -98
  697. package/registry/styles/vega/aspect-ratio.css +0 -6
  698. package/registry/styles/vega/attachment.css +0 -176
  699. package/registry/styles/vega/avatar.css +0 -132
  700. package/registry/styles/vega/badge.css +0 -112
  701. package/registry/styles/vega/breadcrumb.css +0 -62
  702. package/registry/styles/vega/bubble.css +0 -147
  703. package/registry/styles/vega/button-group.css +0 -63
  704. package/registry/styles/vega/button.css +0 -222
  705. package/registry/styles/vega/calendar.css +0 -140
  706. package/registry/styles/vega/card.css +0 -82
  707. package/registry/styles/vega/carousel.css +0 -63
  708. package/registry/styles/vega/chart.css +0 -51
  709. package/registry/styles/vega/checkbox.css +0 -59
  710. package/registry/styles/vega/code-block.css +0 -186
  711. package/registry/styles/vega/collapsible.css +0 -50
  712. package/registry/styles/vega/combobox.css +0 -59
  713. package/registry/styles/vega/command.css +0 -27
  714. package/registry/styles/vega/context-menu.css +0 -19
  715. package/registry/styles/vega/dialog.css +0 -64
  716. package/registry/styles/vega/drawer.css +0 -68
  717. package/registry/styles/vega/dropdown-menu.css +0 -8
  718. package/registry/styles/vega/empty.css +0 -52
  719. package/registry/styles/vega/field.css +0 -120
  720. package/registry/styles/vega/hover-card.css +0 -22
  721. package/registry/styles/vega/input-group.css +0 -98
  722. package/registry/styles/vega/input-otp.css +0 -102
  723. package/registry/styles/vega/input.css +0 -62
  724. package/registry/styles/vega/item.css +0 -133
  725. package/registry/styles/vega/kbd.css +0 -22
  726. package/registry/styles/vega/label.css +0 -74
  727. package/registry/styles/vega/marker.css +0 -35
  728. package/registry/styles/vega/menubar.css +0 -48
  729. package/registry/styles/vega/message-scroller.css +0 -47
  730. package/registry/styles/vega/message.css +0 -39
  731. package/registry/styles/vega/native-select.css +0 -81
  732. package/registry/styles/vega/navigation-menu.css +0 -90
  733. package/registry/styles/vega/pagination.css +0 -46
  734. package/registry/styles/vega/popover.css +0 -25
  735. package/registry/styles/vega/primitives/dialog-shell.css +0 -19
  736. package/registry/styles/vega/primitives/listbox.css +0 -79
  737. package/registry/styles/vega/primitives/menu.css +0 -108
  738. package/registry/styles/vega/primitives/popover.css +0 -16
  739. package/registry/styles/vega/progress.css +0 -92
  740. package/registry/styles/vega/questionnaire.css +0 -141
  741. package/registry/styles/vega/radio.css +0 -48
  742. package/registry/styles/vega/resizable.css +0 -44
  743. package/registry/styles/vega/scroll-area.css +0 -30
  744. package/registry/styles/vega/select.css +0 -80
  745. package/registry/styles/vega/separator.css +0 -14
  746. package/registry/styles/vega/sheet.css +0 -74
  747. package/registry/styles/vega/sidebar.css +0 -211
  748. package/registry/styles/vega/skeleton.css +0 -7
  749. package/registry/styles/vega/slider.css +0 -15
  750. package/registry/styles/vega/spinner.css +0 -35
  751. package/registry/styles/vega/switch.css +0 -111
  752. package/registry/styles/vega/table.css +0 -91
  753. package/registry/styles/vega/tabs.css +0 -133
  754. package/registry/styles/vega/textarea.css +0 -54
  755. package/registry/styles/vega/toast.css +0 -62
  756. package/registry/styles/vega/toggle-group.css +0 -59
  757. package/registry/styles/vega/toggle.css +0 -128
  758. package/registry/styles/vega/tooltip.css +0 -35
  759. package/registry/styles/vega/trace.css +0 -85
  760. package/registry/tokens.css +0 -125
  761. package/registry/utilities.css +0 -14
@@ -1,112 +0,0 @@
1
- /* Badge */
2
- @layer loseta.style {
3
- .badge {
4
- height: 1.25rem;
5
- gap: 0.25rem;
6
- border-radius: var(--radius-2xl);
7
- border-style: solid;
8
- border-width: 1px;
9
- border-color: transparent;
10
- padding-inline: 0.5rem;
11
- padding-block: 0.125rem;
12
- font-size: var(--text-xs);
13
- line-height: var(--text-xs--line-height);
14
- font-weight: 500;
15
- transition-property: all;
16
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
17
- transition-duration: 150ms;
18
-
19
- > svg {
20
- width: var(--icon-size, 0.75rem);
21
- height: var(--icon-size, 0.75rem);
22
- }
23
-
24
- &:has(*:is([data-icon='inline-end'])) {
25
- padding-inline-end: 0.375rem;
26
- }
27
-
28
- &:has(*:is([data-icon='inline-start'])) {
29
- padding-inline-start: 0.375rem;
30
- }
31
-
32
- &:not([data-variant]),
33
- &[data-variant='primary'] {
34
- background-color: var(--primary);
35
- color: var(--primary-foreground);
36
-
37
- &:is(a):hover {
38
- background-color: color-mix(in oklab, var(--primary) 80%, transparent);
39
- }
40
- }
41
-
42
- &[data-variant='secondary'] {
43
- background-color: var(--secondary);
44
- color: var(--secondary-foreground);
45
-
46
- &:is(a):hover {
47
- background-color: color-mix(in oklab, var(--secondary) 80%, transparent);
48
- }
49
- }
50
-
51
- &[data-variant='outline'] {
52
- border-color: var(--border);
53
- color: var(--foreground);
54
-
55
- &:is(a):hover {
56
- background-color: var(--muted);
57
- color: var(--muted-foreground);
58
- }
59
- }
60
-
61
- &[data-variant='destructive'] {
62
- background-color: light-dark(
63
- color-mix(in oklab, var(--destructive) 10%, transparent),
64
- color-mix(in oklab, var(--destructive) 20%, transparent)
65
- );
66
- color: var(--destructive);
67
-
68
- &:is(a):hover {
69
- background-color: color-mix(in oklab, var(--destructive) 20%, transparent);
70
- }
71
- }
72
-
73
- &[data-variant='ghost'] {
74
- &:hover {
75
- background-color: light-dark(
76
- var(--muted),
77
- color-mix(in oklab, var(--muted) 50%, transparent)
78
- );
79
- color: var(--muted-foreground);
80
- }
81
- }
82
-
83
- &[data-variant='link'] {
84
- color: var(--primary);
85
- text-underline-offset: 4px;
86
-
87
- &:hover {
88
- text-decoration-line: underline;
89
- }
90
- }
91
-
92
- &:focus-visible {
93
- border-color: var(--ring);
94
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
95
- }
96
-
97
- &[aria-invalid='true'] {
98
- border-color: var(--destructive);
99
- box-shadow: 0 0 0 3px light-dark(
100
- color-mix(in oklab, var(--destructive) 20%, transparent),
101
- color-mix(in oklab, var(--destructive) 40%, transparent)
102
- );
103
- }
104
-
105
- &[data-variant='destructive']:focus-visible {
106
- box-shadow: 0 0 0 3px light-dark(
107
- color-mix(in oklab, var(--destructive) 20%, transparent),
108
- color-mix(in oklab, var(--destructive) 40%, transparent)
109
- );
110
- }
111
- }
112
- }
@@ -1,62 +0,0 @@
1
- /* Breadcrumb */
2
- @layer loseta.style {
3
- .breadcrumb {
4
- > ol {
5
- gap: 0.375rem;
6
- font-size: var(--text-sm);
7
- line-height: var(--text-sm--line-height);
8
- color: var(--muted-foreground);
9
- }
10
-
11
- li {
12
- gap: 0.25rem;
13
- }
14
-
15
- > ol > li > :is(a, button),
16
- > ol > li > :is(.dropdown-menu, .popover) > button {
17
- border-radius: var(--radius-md);
18
- transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
19
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
20
- transition-duration: 150ms;
21
-
22
- &:hover {
23
- color: var(--foreground);
24
- }
25
-
26
- &:focus-visible {
27
- border-color: var(--ring);
28
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
29
- }
30
- }
31
-
32
- [aria-current='page'] {
33
- font-weight: 500;
34
- color: var(--foreground);
35
- }
36
-
37
- li[aria-hidden='true'] > svg {
38
- width: 0.875rem;
39
- height: 0.875rem;
40
- }
41
-
42
- li > span[aria-hidden='true'] {
43
- width: 1.25rem;
44
- height: 1.25rem;
45
-
46
- > svg {
47
- width: 1rem;
48
- height: 1rem;
49
- }
50
- }
51
-
52
- [data-slot='ellipsis'] {
53
- width: 1.25rem;
54
- height: 1.25rem;
55
-
56
- > svg {
57
- width: 1rem;
58
- height: 1rem;
59
- }
60
- }
61
- }
62
- }
@@ -1,147 +0,0 @@
1
- /* Bubble */
2
- @layer loseta.style {
3
- .bubble {
4
- > [data-slot='content'] {
5
- border-radius: min(var(--radius-4xl), 24px);
6
- padding-inline: 0.75rem;
7
- padding-block: 0.5rem;
8
- font-size: var(--text-sm);
9
- line-height: 1.625;
10
- transition-property: color, background-color, border-color, box-shadow;
11
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
12
- transition-duration: 150ms;
13
-
14
- &:is(a, button) {
15
- cursor: pointer;
16
- }
17
-
18
- &:is(a, button):focus-visible {
19
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
20
- }
21
- }
22
-
23
- &:not([data-variant]),
24
- &[data-variant='default'] {
25
- > [data-slot='content'] {
26
- background-color: var(--primary);
27
- color: var(--primary-foreground);
28
- }
29
-
30
- > [data-slot='content']:is(a, button):hover {
31
- background-color: color-mix(in oklab, var(--primary) 85%, var(--background));
32
- }
33
- }
34
-
35
- &[data-variant='secondary'] {
36
- > [data-slot='content'] {
37
- background-color: var(--secondary);
38
- color: var(--secondary-foreground);
39
- }
40
-
41
- > [data-slot='content']:is(a, button):hover {
42
- background-color: color-mix(in oklab, var(--secondary) 95%, var(--foreground));
43
- }
44
- }
45
-
46
- &[data-variant='muted'] {
47
- > [data-slot='content'] {
48
- background-color: var(--muted);
49
- color: var(--foreground);
50
- }
51
-
52
- > [data-slot='content']:is(a, button):hover {
53
- background-color: color-mix(in oklab, var(--muted) 95%, var(--foreground));
54
- }
55
- }
56
-
57
- &[data-variant='tinted'] {
58
- > [data-slot='content'] {
59
- background-color: light-dark(
60
- color-mix(in oklab, var(--primary) 8%, var(--background)),
61
- color-mix(in oklab, var(--primary) 18%, var(--background))
62
- );
63
- color: var(--foreground);
64
- }
65
-
66
- > [data-slot='content']:is(a, button):hover {
67
- background-color: light-dark(
68
- color-mix(in oklab, var(--primary) 12%, var(--background)),
69
- color-mix(in oklab, var(--primary) 24%, var(--background))
70
- );
71
- }
72
- }
73
-
74
- &[data-variant='outline'] {
75
- > [data-slot='content'] {
76
- border-color: var(--border);
77
- background-color: var(--background);
78
- color: var(--foreground);
79
- }
80
-
81
- > [data-slot='content']:is(a, button):hover {
82
- background-color: var(--muted);
83
- }
84
- }
85
-
86
- &[data-variant='ghost'] {
87
- > [data-slot='content'] {
88
- border-radius: 0;
89
- background-color: transparent;
90
- padding: 0;
91
- color: var(--foreground);
92
- }
93
-
94
- > [data-slot='content']:is(a, button):hover {
95
- background-color: var(--muted);
96
- }
97
- }
98
-
99
- &[data-variant='destructive'] {
100
- > [data-slot='content'] {
101
- background-color: light-dark(
102
- color-mix(in oklab, var(--destructive) 10%, transparent),
103
- color-mix(in oklab, var(--destructive) 20%, transparent)
104
- );
105
- color: var(--destructive);
106
- }
107
-
108
- > [data-slot='content']:is(a, button):hover {
109
- background-color: light-dark(
110
- color-mix(in oklab, var(--destructive) 20%, transparent),
111
- color-mix(in oklab, var(--destructive) 30%, transparent)
112
- );
113
- }
114
- }
115
-
116
- > [data-slot='reactions'] {
117
- border-radius: var(--radius-2xl);
118
- background-color: var(--muted);
119
- padding-inline: 0.375rem;
120
- padding-block: 0.125rem;
121
- color: var(--foreground);
122
- box-shadow: 0 0 0 3px var(--background);
123
- font-size: var(--text-sm);
124
- line-height: var(--text-sm--line-height);
125
- }
126
-
127
- [data-slot='reaction'] {
128
- padding-inline: 0.25rem;
129
- padding-block: 0.125rem;
130
- background-color: transparent;
131
- color: inherit;
132
-
133
- &:hover {
134
- background-color: color-mix(in oklab, var(--foreground) 8%, transparent);
135
- }
136
-
137
- &[aria-pressed='true'] {
138
- background-color: color-mix(in oklab, var(--primary) 15%, transparent);
139
- color: var(--primary);
140
- }
141
-
142
- &:focus-visible {
143
- box-shadow: 0 0 0 2px var(--ring);
144
- }
145
- }
146
- }
147
- }
@@ -1,63 +0,0 @@
1
- /* Button Group */
2
- @layer loseta.style {
3
- .btn-group {
4
- &:has(>.btn-group) {
5
- gap: 0.5rem;
6
- }
7
-
8
- /* .btn defines its radius and border in this layer, so the group has to
9
- merge its children here as well; component-layer rules would lose. */
10
- &:not([data-orientation='vertical']) {
11
- > :not(:first-child),
12
- > :is(.dropdown-menu, .popover, .select):not(:first-child) > button {
13
- border-start-start-radius: 0;
14
- border-end-start-radius: 0;
15
- border-inline-start-width: 0;
16
- }
17
-
18
- > :not(:last-child),
19
- > :is(.dropdown-menu, .popover, .select):not(:last-child) > button {
20
- border-start-end-radius: 0;
21
- border-end-end-radius: 0;
22
- }
23
- }
24
-
25
- &[data-orientation='vertical'] {
26
- > :not(:first-child),
27
- > :is(.dropdown-menu, .popover, .select):not(:first-child) > button {
28
- border-start-start-radius: 0;
29
- border-start-end-radius: 0;
30
- border-block-start-width: 0;
31
- }
32
-
33
- > :not(:last-child),
34
- > :is(.dropdown-menu, .popover, .select):not(:last-child) > button {
35
- border-end-end-radius: 0;
36
- border-end-start-radius: 0;
37
- }
38
- }
39
-
40
- > :is(span, label, output) {
41
- gap: 0.5rem;
42
- border-radius: var(--radius-2xl);
43
- border-style: solid;
44
- border-width: 1px;
45
- border-color: var(--border);
46
- background-color: var(--muted);
47
- box-shadow: var(--shadow-xs);
48
- padding-inline: 0.625rem;
49
- font-size: var(--text-sm);
50
- line-height: var(--text-sm--line-height);
51
- font-weight: 500;
52
-
53
- & svg {
54
- width: var(--icon-size, 1rem);
55
- height: var(--icon-size, 1rem);
56
- }
57
- }
58
-
59
- > hr[role='separator'] {
60
- background-color: var(--input);
61
- }
62
- }
63
- }
@@ -1,222 +0,0 @@
1
- /* Button */
2
- @layer loseta.style {
3
- .btn {
4
- border-radius: var(--radius-2xl);
5
- border-style: solid;
6
- border-width: 1px;
7
- border-color: transparent;
8
- background-clip: padding-box;
9
- font-size: var(--text-sm);
10
- line-height: var(--text-sm--line-height);
11
- font-weight: 500;
12
-
13
- &:focus-visible {
14
- border-color: var(--ring);
15
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
16
- }
17
-
18
- &:active:not([aria-haspopup]) {
19
- translate: 0 1px;
20
- }
21
-
22
- &[aria-invalid='true'] {
23
- border-color: light-dark(
24
- var(--destructive),
25
- color-mix(in oklab, var(--destructive) 50%, transparent)
26
- );
27
- box-shadow: 0 0 0 3px light-dark(
28
- color-mix(in oklab, var(--destructive) 20%, transparent),
29
- color-mix(in oklab, var(--destructive) 40%, transparent)
30
- );
31
- }
32
-
33
- & svg {
34
- width: var(--icon-size, 1rem);
35
- height: var(--icon-size, 1rem);
36
- }
37
-
38
- &:not([data-size]),
39
- &[data-size='default'] {
40
- height: 2rem;
41
- gap: 0.375rem;
42
- padding-inline: 0.75rem;
43
-
44
- &:has(*:is([data-icon='inline-end'])) {
45
- padding-inline-end: 0.5rem;
46
- }
47
-
48
- &:has(*:is([data-icon='inline-start'])) {
49
- padding-inline-start: 0.5rem;
50
- }
51
- }
52
-
53
- &[data-size='xs'] {
54
- --icon-size: 0.75rem;
55
-
56
- height: 1.5rem;
57
- gap: 0.25rem;
58
- border-radius: var(--radius-2xl);
59
- padding-inline: 0.625rem;
60
- font-size: var(--text-xs);
61
- line-height: var(--text-xs--line-height);
62
-
63
- &:has(*:is([data-icon='inline-end'])) {
64
- padding-inline-end: 0.375rem;
65
- }
66
-
67
- &:has(*:is([data-icon='inline-start'])) {
68
- padding-inline-start: 0.375rem;
69
- }
70
- }
71
-
72
- &[data-size='sm'] {
73
- --icon-size: 0.875rem;
74
-
75
- height: 1.75rem;
76
- gap: 0.25rem;
77
- border-radius: var(--radius-2xl);
78
- padding-inline: 0.75rem;
79
- font-size: var(--text-sm);
80
- line-height: var(--text-sm--line-height);
81
-
82
- &:has(*:is([data-icon='inline-end'])) {
83
- padding-inline-end: 0.375rem;
84
- }
85
-
86
- &:has(*:is([data-icon='inline-start'])) {
87
- padding-inline-start: 0.375rem;
88
- }
89
- }
90
-
91
- &[data-size='lg'] {
92
- height: 2.25rem;
93
- gap: 0.375rem;
94
- padding-inline: 1rem;
95
-
96
- &:has(*:is([data-icon='inline-end'])) {
97
- padding-inline-end: 0.5rem;
98
- }
99
-
100
- &:has(*:is([data-icon='inline-start'])) {
101
- padding-inline-start: 0.5rem;
102
- }
103
- }
104
-
105
- &[data-size='icon'] {
106
- width: 2rem;
107
- height: 2rem;
108
- }
109
-
110
- &[data-size='icon-xs'] {
111
- --icon-size: 0.75rem;
112
-
113
- width: 1.5rem;
114
- height: 1.5rem;
115
- border-radius: var(--radius-2xl);
116
- }
117
-
118
- &[data-size='icon-sm'] {
119
- width: 1.75rem;
120
- height: 1.75rem;
121
- border-radius: var(--radius-2xl);
122
- }
123
-
124
- &[data-size='icon-lg'] {
125
- width: 2.25rem;
126
- height: 2.25rem;
127
- }
128
-
129
- &:not([data-variant]),
130
- &[data-variant='primary'],
131
- &[data-variant='default'] {
132
- background-color: var(--primary);
133
- color: var(--primary-foreground);
134
-
135
- &:hover {
136
- background-color: color-mix(in oklab, var(--primary) 80%, transparent);
137
- }
138
- }
139
-
140
- &[data-variant='secondary'] {
141
- background-color: var(--secondary);
142
- color: var(--secondary-foreground);
143
-
144
- &:hover {
145
- background-color: color-mix(in oklch, var(--secondary), var(--foreground) 5%);
146
- }
147
-
148
- &[aria-expanded='true'] {
149
- background-color: var(--secondary);
150
- color: var(--secondary-foreground);
151
- }
152
- }
153
-
154
- &[data-variant='outline'] {
155
- border-color: light-dark(var(--border), var(--input));
156
- background-color: light-dark(
157
- var(--background),
158
- color-mix(in oklab, var(--input) 30%, transparent)
159
- );
160
- box-shadow: var(--shadow-xs);
161
-
162
- &[aria-expanded='true'] {
163
- background-color: light-dark(
164
- var(--muted),
165
- color-mix(in oklab, var(--input) 30%, transparent)
166
- );
167
- color: var(--foreground);
168
- }
169
-
170
- &:hover {
171
- background-color: light-dark(
172
- var(--muted),
173
- color-mix(in oklab, var(--input) 50%, transparent)
174
- );
175
- color: var(--foreground);
176
- }
177
- }
178
-
179
- &[data-variant='ghost'] {
180
- &[aria-expanded='true'] {
181
- background-color: var(--muted);
182
- color: var(--foreground);
183
- }
184
-
185
- &:hover {
186
- background-color: light-dark(
187
- var(--muted),
188
- color-mix(in oklab, var(--muted) 50%, transparent)
189
- );
190
- color: var(--foreground);
191
- }
192
- }
193
-
194
- &[data-variant='link'] {
195
- color: var(--primary);
196
- text-underline-offset: 4px;
197
-
198
- &:hover {
199
- text-decoration-line: underline;
200
- }
201
- }
202
-
203
- &[data-variant='destructive'] {
204
- background-color: light-dark(
205
- color-mix(in oklab, var(--destructive) 10%, transparent),
206
- color-mix(in oklab, var(--destructive) 20%, transparent)
207
- );
208
- color: var(--destructive);
209
-
210
- &:hover {
211
- background-color: light-dark(
212
- color-mix(in oklab, var(--destructive) 20%, transparent),
213
- color-mix(in oklab, var(--destructive) 30%, transparent)
214
- );
215
- }
216
-
217
- &:focus-visible {
218
- border-color: color-mix(in oklab, var(--destructive) 40%, transparent);
219
- }
220
- }
221
- }
222
- }