loseta 0.19.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 (749) hide show
  1. package/README.md +84 -20
  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/calendar.js +0 -855
  74. package/registry/behaviors/carousel.js +0 -280
  75. package/registry/behaviors/code-block.js +0 -106
  76. package/registry/behaviors/combobox.js +0 -237
  77. package/registry/behaviors/command.js +0 -105
  78. package/registry/behaviors/core.js +0 -302
  79. package/registry/behaviors/dialog.js +0 -97
  80. package/registry/behaviors/hover-overlay.js +0 -180
  81. package/registry/behaviors/listbox.js +0 -135
  82. package/registry/behaviors/menu.js +0 -586
  83. package/registry/behaviors/message-scroller.js +0 -147
  84. package/registry/behaviors/popover.js +0 -127
  85. package/registry/behaviors/questionnaire.js +0 -91
  86. package/registry/behaviors/resizable.js +0 -463
  87. package/registry/behaviors/select.js +0 -196
  88. package/registry/behaviors/tabs.js +0 -95
  89. package/registry/behaviors/toast.js +0 -137
  90. package/registry/components/accordion.css +0 -65
  91. package/registry/components/alert-dialog.css +0 -104
  92. package/registry/components/alert.css +0 -41
  93. package/registry/components/aspect-ratio.css +0 -25
  94. package/registry/components/attachment.css +0 -84
  95. package/registry/components/avatar.css +0 -63
  96. package/registry/components/badge.css +0 -22
  97. package/registry/components/breadcrumb.css +0 -65
  98. package/registry/components/bubble.css +0 -92
  99. package/registry/components/button-group.css +0 -98
  100. package/registry/components/button.css +0 -32
  101. package/registry/components/calendar.css +0 -96
  102. package/registry/components/card.css +0 -51
  103. package/registry/components/carousel.css +0 -96
  104. package/registry/components/chart.css +0 -65
  105. package/registry/components/checkbox.css +0 -39
  106. package/registry/components/code-block.css +0 -192
  107. package/registry/components/collapsible.css +0 -57
  108. package/registry/components/combobox.css +0 -42
  109. package/registry/components/command.css +0 -27
  110. package/registry/components/context-menu.css +0 -37
  111. package/registry/components/dialog.css +0 -87
  112. package/registry/components/drawer.css +0 -30
  113. package/registry/components/dropdown-menu.css +0 -14
  114. package/registry/components/empty.css +0 -66
  115. package/registry/components/field.css +0 -169
  116. package/registry/components/hover-card.css +0 -18
  117. package/registry/components/input-group.css +0 -56
  118. package/registry/components/input-otp.css +0 -119
  119. package/registry/components/input.css +0 -31
  120. package/registry/components/item.css +0 -102
  121. package/registry/components/kbd.css +0 -19
  122. package/registry/components/label.css +0 -31
  123. package/registry/components/marker.css +0 -47
  124. package/registry/components/menubar.css +0 -52
  125. package/registry/components/message-scroller.css +0 -56
  126. package/registry/components/message.css +0 -61
  127. package/registry/components/native-select.css +0 -27
  128. package/registry/components/navigation-menu.css +0 -52
  129. package/registry/components/pagination.css +0 -49
  130. package/registry/components/popover.css +0 -7
  131. package/registry/components/progress.css +0 -13
  132. package/registry/components/questionnaire.css +0 -92
  133. package/registry/components/radio.css +0 -40
  134. package/registry/components/resizable.css +0 -100
  135. package/registry/components/scroll-area.css +0 -16
  136. package/registry/components/select.css +0 -50
  137. package/registry/components/separator.css +0 -12
  138. package/registry/components/sheet.css +0 -31
  139. package/registry/components/sidebar.css +0 -107
  140. package/registry/components/skeleton.css +0 -11
  141. package/registry/components/slider.css +0 -13
  142. package/registry/components/spinner.css +0 -8
  143. package/registry/components/switch.css +0 -41
  144. package/registry/components/table.css +0 -73
  145. package/registry/components/tabs.css +0 -61
  146. package/registry/components/textarea.css +0 -25
  147. package/registry/components/toast.css +0 -47
  148. package/registry/components/toggle-group.css +0 -25
  149. package/registry/components/toggle.css +0 -31
  150. package/registry/components/tooltip.css +0 -437
  151. package/registry/components/trace.css +0 -78
  152. package/registry/examples/accordion.html +0 -56
  153. package/registry/examples/alert-dialog.html +0 -146
  154. package/registry/examples/alert.html +0 -62
  155. package/registry/examples/aspect-ratio.html +0 -14
  156. package/registry/examples/attachment.html +0 -53
  157. package/registry/examples/avatar.html +0 -66
  158. package/registry/examples/badge.html +0 -49
  159. package/registry/examples/breadcrumb.html +0 -103
  160. package/registry/examples/bubble.html +0 -26
  161. package/registry/examples/button-group.html +0 -141
  162. package/registry/examples/button.html +0 -66
  163. package/registry/examples/calendar.html +0 -757
  164. package/registry/examples/card.html +0 -204
  165. package/registry/examples/carousel.html +0 -127
  166. package/registry/examples/chart.html +0 -39
  167. package/registry/examples/checkbox.html +0 -111
  168. package/registry/examples/code-block.html +0 -84
  169. package/registry/examples/collapsible.html +0 -22
  170. package/registry/examples/combobox.html +0 -43
  171. package/registry/examples/command.html +0 -365
  172. package/registry/examples/context-menu.html +0 -179
  173. package/registry/examples/dialog.html +0 -187
  174. package/registry/examples/drawer.html +0 -234
  175. package/registry/examples/dropdown-menu.html +0 -272
  176. package/registry/examples/empty.html +0 -117
  177. package/registry/examples/field.html +0 -247
  178. package/registry/examples/hover-card.html +0 -13
  179. package/registry/examples/input-group.html +0 -110
  180. package/registry/examples/input-otp.html +0 -182
  181. package/registry/examples/input.html +0 -80
  182. package/registry/examples/item.html +0 -32
  183. package/registry/examples/kbd.html +0 -94
  184. package/registry/examples/label.html +0 -5
  185. package/registry/examples/marker.html +0 -20
  186. package/registry/examples/menubar.html +0 -372
  187. package/registry/examples/message-scroller.html +0 -54
  188. package/registry/examples/message.html +0 -47
  189. package/registry/examples/native-select.html +0 -91
  190. package/registry/examples/navigation-menu.html +0 -207
  191. package/registry/examples/pagination.html +0 -39
  192. package/registry/examples/popover.html +0 -163
  193. package/registry/examples/progress.html +0 -68
  194. package/registry/examples/questionnaire.html +0 -99
  195. package/registry/examples/radio.html +0 -127
  196. package/registry/examples/resizable.html +0 -107
  197. package/registry/examples/scroll-area.html +0 -34
  198. package/registry/examples/select.html +0 -250
  199. package/registry/examples/separator.html +0 -18
  200. package/registry/examples/sheet.html +0 -240
  201. package/registry/examples/sidebar.html +0 -407
  202. package/registry/examples/skeleton.html +0 -6
  203. package/registry/examples/slider.html +0 -56
  204. package/registry/examples/spinner.html +0 -15
  205. package/registry/examples/switch.html +0 -73
  206. package/registry/examples/table.html +0 -218
  207. package/registry/examples/tabs.html +0 -27
  208. package/registry/examples/textarea.html +0 -36
  209. package/registry/examples/toast.html +0 -28
  210. package/registry/examples/toggle-group.html +0 -73
  211. package/registry/examples/toggle.html +0 -40
  212. package/registry/examples/tooltip.html +0 -106
  213. package/registry/examples/trace.html +0 -54
  214. package/registry/primitives/dialog-shell.css +0 -129
  215. package/registry/primitives/listbox.css +0 -82
  216. package/registry/primitives/menu.css +0 -109
  217. package/registry/primitives/popover.css +0 -162
  218. package/registry/registry.json +0 -5349
  219. package/registry/reset.css +0 -400
  220. package/registry/styles/luma/accordion.css +0 -59
  221. package/registry/styles/luma/alert-dialog.css +0 -82
  222. package/registry/styles/luma/alert.css +0 -98
  223. package/registry/styles/luma/aspect-ratio.css +0 -6
  224. package/registry/styles/luma/attachment.css +0 -176
  225. package/registry/styles/luma/avatar.css +0 -132
  226. package/registry/styles/luma/badge.css +0 -112
  227. package/registry/styles/luma/breadcrumb.css +0 -62
  228. package/registry/styles/luma/bubble.css +0 -147
  229. package/registry/styles/luma/button-group.css +0 -63
  230. package/registry/styles/luma/button.css +0 -222
  231. package/registry/styles/luma/calendar.css +0 -140
  232. package/registry/styles/luma/card.css +0 -82
  233. package/registry/styles/luma/carousel.css +0 -63
  234. package/registry/styles/luma/chart.css +0 -51
  235. package/registry/styles/luma/checkbox.css +0 -58
  236. package/registry/styles/luma/code-block.css +0 -186
  237. package/registry/styles/luma/collapsible.css +0 -50
  238. package/registry/styles/luma/combobox.css +0 -59
  239. package/registry/styles/luma/command.css +0 -27
  240. package/registry/styles/luma/context-menu.css +0 -19
  241. package/registry/styles/luma/dialog.css +0 -64
  242. package/registry/styles/luma/drawer.css +0 -68
  243. package/registry/styles/luma/dropdown-menu.css +0 -8
  244. package/registry/styles/luma/empty.css +0 -52
  245. package/registry/styles/luma/field.css +0 -120
  246. package/registry/styles/luma/hover-card.css +0 -22
  247. package/registry/styles/luma/input-group.css +0 -98
  248. package/registry/styles/luma/input-otp.css +0 -102
  249. package/registry/styles/luma/input.css +0 -61
  250. package/registry/styles/luma/item.css +0 -133
  251. package/registry/styles/luma/kbd.css +0 -22
  252. package/registry/styles/luma/label.css +0 -74
  253. package/registry/styles/luma/marker.css +0 -35
  254. package/registry/styles/luma/menubar.css +0 -48
  255. package/registry/styles/luma/message-scroller.css +0 -47
  256. package/registry/styles/luma/message.css +0 -39
  257. package/registry/styles/luma/native-select.css +0 -80
  258. package/registry/styles/luma/navigation-menu.css +0 -90
  259. package/registry/styles/luma/pagination.css +0 -46
  260. package/registry/styles/luma/popover.css +0 -25
  261. package/registry/styles/luma/primitives/dialog-shell.css +0 -19
  262. package/registry/styles/luma/primitives/listbox.css +0 -79
  263. package/registry/styles/luma/primitives/menu.css +0 -108
  264. package/registry/styles/luma/primitives/popover.css +0 -16
  265. package/registry/styles/luma/progress.css +0 -92
  266. package/registry/styles/luma/questionnaire.css +0 -141
  267. package/registry/styles/luma/radio.css +0 -48
  268. package/registry/styles/luma/resizable.css +0 -44
  269. package/registry/styles/luma/scroll-area.css +0 -30
  270. package/registry/styles/luma/select.css +0 -80
  271. package/registry/styles/luma/separator.css +0 -14
  272. package/registry/styles/luma/sheet.css +0 -74
  273. package/registry/styles/luma/sidebar.css +0 -211
  274. package/registry/styles/luma/skeleton.css +0 -7
  275. package/registry/styles/luma/slider.css +0 -15
  276. package/registry/styles/luma/spinner.css +0 -35
  277. package/registry/styles/luma/switch.css +0 -110
  278. package/registry/styles/luma/table.css +0 -91
  279. package/registry/styles/luma/tabs.css +0 -133
  280. package/registry/styles/luma/textarea.css +0 -53
  281. package/registry/styles/luma/toast.css +0 -62
  282. package/registry/styles/luma/toggle-group.css +0 -59
  283. package/registry/styles/luma/toggle.css +0 -128
  284. package/registry/styles/luma/tooltip.css +0 -35
  285. package/registry/styles/luma/trace.css +0 -85
  286. package/registry/styles/lyra/accordion.css +0 -59
  287. package/registry/styles/lyra/alert-dialog.css +0 -82
  288. package/registry/styles/lyra/alert.css +0 -98
  289. package/registry/styles/lyra/aspect-ratio.css +0 -6
  290. package/registry/styles/lyra/attachment.css +0 -176
  291. package/registry/styles/lyra/avatar.css +0 -132
  292. package/registry/styles/lyra/badge.css +0 -112
  293. package/registry/styles/lyra/breadcrumb.css +0 -62
  294. package/registry/styles/lyra/bubble.css +0 -147
  295. package/registry/styles/lyra/button-group.css +0 -62
  296. package/registry/styles/lyra/button.css +0 -221
  297. package/registry/styles/lyra/calendar.css +0 -140
  298. package/registry/styles/lyra/card.css +0 -81
  299. package/registry/styles/lyra/carousel.css +0 -63
  300. package/registry/styles/lyra/chart.css +0 -51
  301. package/registry/styles/lyra/checkbox.css +0 -58
  302. package/registry/styles/lyra/code-block.css +0 -186
  303. package/registry/styles/lyra/collapsible.css +0 -50
  304. package/registry/styles/lyra/combobox.css +0 -59
  305. package/registry/styles/lyra/command.css +0 -27
  306. package/registry/styles/lyra/context-menu.css +0 -19
  307. package/registry/styles/lyra/dialog.css +0 -64
  308. package/registry/styles/lyra/drawer.css +0 -68
  309. package/registry/styles/lyra/dropdown-menu.css +0 -8
  310. package/registry/styles/lyra/empty.css +0 -52
  311. package/registry/styles/lyra/field.css +0 -120
  312. package/registry/styles/lyra/hover-card.css +0 -22
  313. package/registry/styles/lyra/input-group.css +0 -98
  314. package/registry/styles/lyra/input-otp.css +0 -102
  315. package/registry/styles/lyra/input.css +0 -62
  316. package/registry/styles/lyra/item.css +0 -133
  317. package/registry/styles/lyra/kbd.css +0 -22
  318. package/registry/styles/lyra/label.css +0 -74
  319. package/registry/styles/lyra/marker.css +0 -35
  320. package/registry/styles/lyra/menubar.css +0 -48
  321. package/registry/styles/lyra/message-scroller.css +0 -47
  322. package/registry/styles/lyra/message.css +0 -39
  323. package/registry/styles/lyra/native-select.css +0 -79
  324. package/registry/styles/lyra/navigation-menu.css +0 -90
  325. package/registry/styles/lyra/pagination.css +0 -46
  326. package/registry/styles/lyra/popover.css +0 -25
  327. package/registry/styles/lyra/primitives/dialog-shell.css +0 -19
  328. package/registry/styles/lyra/primitives/listbox.css +0 -79
  329. package/registry/styles/lyra/primitives/menu.css +0 -108
  330. package/registry/styles/lyra/primitives/popover.css +0 -16
  331. package/registry/styles/lyra/progress.css +0 -92
  332. package/registry/styles/lyra/questionnaire.css +0 -141
  333. package/registry/styles/lyra/radio.css +0 -48
  334. package/registry/styles/lyra/resizable.css +0 -44
  335. package/registry/styles/lyra/scroll-area.css +0 -30
  336. package/registry/styles/lyra/select.css +0 -80
  337. package/registry/styles/lyra/separator.css +0 -14
  338. package/registry/styles/lyra/sheet.css +0 -74
  339. package/registry/styles/lyra/sidebar.css +0 -211
  340. package/registry/styles/lyra/skeleton.css +0 -7
  341. package/registry/styles/lyra/slider.css +0 -15
  342. package/registry/styles/lyra/spinner.css +0 -35
  343. package/registry/styles/lyra/switch.css +0 -110
  344. package/registry/styles/lyra/table.css +0 -91
  345. package/registry/styles/lyra/tabs.css +0 -133
  346. package/registry/styles/lyra/textarea.css +0 -53
  347. package/registry/styles/lyra/toast.css +0 -62
  348. package/registry/styles/lyra/toggle-group.css +0 -48
  349. package/registry/styles/lyra/toggle.css +0 -126
  350. package/registry/styles/lyra/tooltip.css +0 -35
  351. package/registry/styles/lyra/trace.css +0 -85
  352. package/registry/styles/maia/accordion.css +0 -59
  353. package/registry/styles/maia/alert-dialog.css +0 -82
  354. package/registry/styles/maia/alert.css +0 -98
  355. package/registry/styles/maia/aspect-ratio.css +0 -6
  356. package/registry/styles/maia/attachment.css +0 -176
  357. package/registry/styles/maia/avatar.css +0 -132
  358. package/registry/styles/maia/badge.css +0 -113
  359. package/registry/styles/maia/breadcrumb.css +0 -62
  360. package/registry/styles/maia/bubble.css +0 -147
  361. package/registry/styles/maia/button-group.css +0 -63
  362. package/registry/styles/maia/button.css +0 -222
  363. package/registry/styles/maia/calendar.css +0 -140
  364. package/registry/styles/maia/card.css +0 -81
  365. package/registry/styles/maia/carousel.css +0 -63
  366. package/registry/styles/maia/chart.css +0 -51
  367. package/registry/styles/maia/checkbox.css +0 -58
  368. package/registry/styles/maia/code-block.css +0 -186
  369. package/registry/styles/maia/collapsible.css +0 -50
  370. package/registry/styles/maia/combobox.css +0 -59
  371. package/registry/styles/maia/command.css +0 -27
  372. package/registry/styles/maia/context-menu.css +0 -19
  373. package/registry/styles/maia/dialog.css +0 -64
  374. package/registry/styles/maia/drawer.css +0 -68
  375. package/registry/styles/maia/dropdown-menu.css +0 -8
  376. package/registry/styles/maia/empty.css +0 -52
  377. package/registry/styles/maia/field.css +0 -120
  378. package/registry/styles/maia/hover-card.css +0 -22
  379. package/registry/styles/maia/input-group.css +0 -98
  380. package/registry/styles/maia/input-otp.css +0 -102
  381. package/registry/styles/maia/input.css +0 -61
  382. package/registry/styles/maia/item.css +0 -133
  383. package/registry/styles/maia/kbd.css +0 -22
  384. package/registry/styles/maia/label.css +0 -74
  385. package/registry/styles/maia/marker.css +0 -35
  386. package/registry/styles/maia/menubar.css +0 -48
  387. package/registry/styles/maia/message-scroller.css +0 -47
  388. package/registry/styles/maia/message.css +0 -39
  389. package/registry/styles/maia/native-select.css +0 -80
  390. package/registry/styles/maia/navigation-menu.css +0 -90
  391. package/registry/styles/maia/pagination.css +0 -46
  392. package/registry/styles/maia/popover.css +0 -25
  393. package/registry/styles/maia/primitives/dialog-shell.css +0 -19
  394. package/registry/styles/maia/primitives/listbox.css +0 -79
  395. package/registry/styles/maia/primitives/menu.css +0 -108
  396. package/registry/styles/maia/primitives/popover.css +0 -16
  397. package/registry/styles/maia/progress.css +0 -92
  398. package/registry/styles/maia/questionnaire.css +0 -141
  399. package/registry/styles/maia/radio.css +0 -48
  400. package/registry/styles/maia/resizable.css +0 -44
  401. package/registry/styles/maia/scroll-area.css +0 -30
  402. package/registry/styles/maia/select.css +0 -80
  403. package/registry/styles/maia/separator.css +0 -14
  404. package/registry/styles/maia/sheet.css +0 -74
  405. package/registry/styles/maia/sidebar.css +0 -211
  406. package/registry/styles/maia/skeleton.css +0 -7
  407. package/registry/styles/maia/slider.css +0 -15
  408. package/registry/styles/maia/spinner.css +0 -35
  409. package/registry/styles/maia/switch.css +0 -110
  410. package/registry/styles/maia/table.css +0 -91
  411. package/registry/styles/maia/tabs.css +0 -133
  412. package/registry/styles/maia/textarea.css +0 -53
  413. package/registry/styles/maia/toast.css +0 -62
  414. package/registry/styles/maia/toggle-group.css +0 -59
  415. package/registry/styles/maia/toggle.css +0 -128
  416. package/registry/styles/maia/tooltip.css +0 -35
  417. package/registry/styles/maia/trace.css +0 -85
  418. package/registry/styles/mira/accordion.css +0 -59
  419. package/registry/styles/mira/alert-dialog.css +0 -82
  420. package/registry/styles/mira/alert.css +0 -98
  421. package/registry/styles/mira/aspect-ratio.css +0 -6
  422. package/registry/styles/mira/attachment.css +0 -176
  423. package/registry/styles/mira/avatar.css +0 -132
  424. package/registry/styles/mira/badge.css +0 -116
  425. package/registry/styles/mira/breadcrumb.css +0 -62
  426. package/registry/styles/mira/bubble.css +0 -147
  427. package/registry/styles/mira/button-group.css +0 -63
  428. package/registry/styles/mira/button.css +0 -222
  429. package/registry/styles/mira/calendar.css +0 -140
  430. package/registry/styles/mira/card.css +0 -81
  431. package/registry/styles/mira/carousel.css +0 -63
  432. package/registry/styles/mira/chart.css +0 -51
  433. package/registry/styles/mira/checkbox.css +0 -58
  434. package/registry/styles/mira/code-block.css +0 -186
  435. package/registry/styles/mira/collapsible.css +0 -50
  436. package/registry/styles/mira/combobox.css +0 -59
  437. package/registry/styles/mira/command.css +0 -27
  438. package/registry/styles/mira/context-menu.css +0 -19
  439. package/registry/styles/mira/dialog.css +0 -64
  440. package/registry/styles/mira/drawer.css +0 -68
  441. package/registry/styles/mira/dropdown-menu.css +0 -8
  442. package/registry/styles/mira/empty.css +0 -52
  443. package/registry/styles/mira/field.css +0 -120
  444. package/registry/styles/mira/hover-card.css +0 -22
  445. package/registry/styles/mira/input-group.css +0 -98
  446. package/registry/styles/mira/input-otp.css +0 -102
  447. package/registry/styles/mira/input.css +0 -62
  448. package/registry/styles/mira/item.css +0 -133
  449. package/registry/styles/mira/kbd.css +0 -22
  450. package/registry/styles/mira/label.css +0 -74
  451. package/registry/styles/mira/marker.css +0 -35
  452. package/registry/styles/mira/menubar.css +0 -48
  453. package/registry/styles/mira/message-scroller.css +0 -47
  454. package/registry/styles/mira/message.css +0 -39
  455. package/registry/styles/mira/native-select.css +0 -80
  456. package/registry/styles/mira/navigation-menu.css +0 -90
  457. package/registry/styles/mira/pagination.css +0 -46
  458. package/registry/styles/mira/popover.css +0 -25
  459. package/registry/styles/mira/primitives/dialog-shell.css +0 -19
  460. package/registry/styles/mira/primitives/listbox.css +0 -79
  461. package/registry/styles/mira/primitives/menu.css +0 -109
  462. package/registry/styles/mira/primitives/popover.css +0 -16
  463. package/registry/styles/mira/progress.css +0 -92
  464. package/registry/styles/mira/questionnaire.css +0 -141
  465. package/registry/styles/mira/radio.css +0 -48
  466. package/registry/styles/mira/resizable.css +0 -44
  467. package/registry/styles/mira/scroll-area.css +0 -30
  468. package/registry/styles/mira/select.css +0 -80
  469. package/registry/styles/mira/separator.css +0 -14
  470. package/registry/styles/mira/sheet.css +0 -74
  471. package/registry/styles/mira/sidebar.css +0 -211
  472. package/registry/styles/mira/skeleton.css +0 -7
  473. package/registry/styles/mira/slider.css +0 -15
  474. package/registry/styles/mira/spinner.css +0 -35
  475. package/registry/styles/mira/switch.css +0 -110
  476. package/registry/styles/mira/table.css +0 -91
  477. package/registry/styles/mira/tabs.css +0 -133
  478. package/registry/styles/mira/textarea.css +0 -53
  479. package/registry/styles/mira/toast.css +0 -62
  480. package/registry/styles/mira/toggle-group.css +0 -59
  481. package/registry/styles/mira/toggle.css +0 -128
  482. package/registry/styles/mira/tooltip.css +0 -35
  483. package/registry/styles/mira/trace.css +0 -85
  484. package/registry/styles/nova/accordion.css +0 -59
  485. package/registry/styles/nova/alert-dialog.css +0 -82
  486. package/registry/styles/nova/alert.css +0 -98
  487. package/registry/styles/nova/aspect-ratio.css +0 -6
  488. package/registry/styles/nova/attachment.css +0 -176
  489. package/registry/styles/nova/avatar.css +0 -132
  490. package/registry/styles/nova/badge.css +0 -112
  491. package/registry/styles/nova/breadcrumb.css +0 -62
  492. package/registry/styles/nova/bubble.css +0 -147
  493. package/registry/styles/nova/button-group.css +0 -62
  494. package/registry/styles/nova/button.css +0 -221
  495. package/registry/styles/nova/calendar.css +0 -140
  496. package/registry/styles/nova/card.css +0 -84
  497. package/registry/styles/nova/carousel.css +0 -55
  498. package/registry/styles/nova/chart.css +0 -42
  499. package/registry/styles/nova/checkbox.css +0 -58
  500. package/registry/styles/nova/code-block.css +0 -186
  501. package/registry/styles/nova/collapsible.css +0 -50
  502. package/registry/styles/nova/combobox.css +0 -59
  503. package/registry/styles/nova/command.css +0 -27
  504. package/registry/styles/nova/context-menu.css +0 -19
  505. package/registry/styles/nova/dialog.css +0 -64
  506. package/registry/styles/nova/drawer.css +0 -68
  507. package/registry/styles/nova/dropdown-menu.css +0 -8
  508. package/registry/styles/nova/empty.css +0 -52
  509. package/registry/styles/nova/field.css +0 -120
  510. package/registry/styles/nova/hover-card.css +0 -22
  511. package/registry/styles/nova/input-group.css +0 -98
  512. package/registry/styles/nova/input-otp.css +0 -102
  513. package/registry/styles/nova/input.css +0 -61
  514. package/registry/styles/nova/item.css +0 -133
  515. package/registry/styles/nova/kbd.css +0 -22
  516. package/registry/styles/nova/label.css +0 -74
  517. package/registry/styles/nova/marker.css +0 -35
  518. package/registry/styles/nova/menubar.css +0 -48
  519. package/registry/styles/nova/message-scroller.css +0 -47
  520. package/registry/styles/nova/message.css +0 -39
  521. package/registry/styles/nova/native-select.css +0 -82
  522. package/registry/styles/nova/navigation-menu.css +0 -90
  523. package/registry/styles/nova/pagination.css +0 -46
  524. package/registry/styles/nova/popover.css +0 -25
  525. package/registry/styles/nova/primitives/dialog-shell.css +0 -23
  526. package/registry/styles/nova/primitives/listbox.css +0 -79
  527. package/registry/styles/nova/primitives/menu.css +0 -108
  528. package/registry/styles/nova/primitives/popover.css +0 -16
  529. package/registry/styles/nova/progress.css +0 -92
  530. package/registry/styles/nova/questionnaire.css +0 -141
  531. package/registry/styles/nova/radio.css +0 -48
  532. package/registry/styles/nova/resizable.css +0 -43
  533. package/registry/styles/nova/scroll-area.css +0 -30
  534. package/registry/styles/nova/select.css +0 -80
  535. package/registry/styles/nova/separator.css +0 -14
  536. package/registry/styles/nova/sheet.css +0 -74
  537. package/registry/styles/nova/sidebar.css +0 -211
  538. package/registry/styles/nova/skeleton.css +0 -7
  539. package/registry/styles/nova/slider.css +0 -15
  540. package/registry/styles/nova/spinner.css +0 -35
  541. package/registry/styles/nova/switch.css +0 -110
  542. package/registry/styles/nova/table.css +0 -91
  543. package/registry/styles/nova/tabs.css +0 -133
  544. package/registry/styles/nova/textarea.css +0 -53
  545. package/registry/styles/nova/toast.css +0 -62
  546. package/registry/styles/nova/toggle-group.css +0 -48
  547. package/registry/styles/nova/toggle.css +0 -124
  548. package/registry/styles/nova/tooltip.css +0 -35
  549. package/registry/styles/nova/trace.css +0 -85
  550. package/registry/styles/rhea/accordion.css +0 -59
  551. package/registry/styles/rhea/alert-dialog.css +0 -82
  552. package/registry/styles/rhea/alert.css +0 -98
  553. package/registry/styles/rhea/aspect-ratio.css +0 -6
  554. package/registry/styles/rhea/attachment.css +0 -176
  555. package/registry/styles/rhea/avatar.css +0 -132
  556. package/registry/styles/rhea/badge.css +0 -112
  557. package/registry/styles/rhea/breadcrumb.css +0 -62
  558. package/registry/styles/rhea/bubble.css +0 -147
  559. package/registry/styles/rhea/button-group.css +0 -63
  560. package/registry/styles/rhea/button.css +0 -222
  561. package/registry/styles/rhea/calendar.css +0 -140
  562. package/registry/styles/rhea/card.css +0 -82
  563. package/registry/styles/rhea/carousel.css +0 -63
  564. package/registry/styles/rhea/chart.css +0 -51
  565. package/registry/styles/rhea/checkbox.css +0 -58
  566. package/registry/styles/rhea/code-block.css +0 -186
  567. package/registry/styles/rhea/collapsible.css +0 -50
  568. package/registry/styles/rhea/combobox.css +0 -59
  569. package/registry/styles/rhea/command.css +0 -27
  570. package/registry/styles/rhea/context-menu.css +0 -19
  571. package/registry/styles/rhea/dialog.css +0 -64
  572. package/registry/styles/rhea/drawer.css +0 -68
  573. package/registry/styles/rhea/dropdown-menu.css +0 -8
  574. package/registry/styles/rhea/empty.css +0 -52
  575. package/registry/styles/rhea/field.css +0 -120
  576. package/registry/styles/rhea/hover-card.css +0 -22
  577. package/registry/styles/rhea/input-group.css +0 -98
  578. package/registry/styles/rhea/input-otp.css +0 -102
  579. package/registry/styles/rhea/input.css +0 -61
  580. package/registry/styles/rhea/item.css +0 -133
  581. package/registry/styles/rhea/kbd.css +0 -22
  582. package/registry/styles/rhea/label.css +0 -74
  583. package/registry/styles/rhea/marker.css +0 -35
  584. package/registry/styles/rhea/menubar.css +0 -48
  585. package/registry/styles/rhea/message-scroller.css +0 -47
  586. package/registry/styles/rhea/message.css +0 -39
  587. package/registry/styles/rhea/native-select.css +0 -80
  588. package/registry/styles/rhea/navigation-menu.css +0 -90
  589. package/registry/styles/rhea/pagination.css +0 -46
  590. package/registry/styles/rhea/popover.css +0 -25
  591. package/registry/styles/rhea/primitives/dialog-shell.css +0 -19
  592. package/registry/styles/rhea/primitives/listbox.css +0 -79
  593. package/registry/styles/rhea/primitives/menu.css +0 -109
  594. package/registry/styles/rhea/primitives/popover.css +0 -16
  595. package/registry/styles/rhea/progress.css +0 -92
  596. package/registry/styles/rhea/questionnaire.css +0 -141
  597. package/registry/styles/rhea/radio.css +0 -48
  598. package/registry/styles/rhea/resizable.css +0 -44
  599. package/registry/styles/rhea/scroll-area.css +0 -30
  600. package/registry/styles/rhea/select.css +0 -80
  601. package/registry/styles/rhea/separator.css +0 -14
  602. package/registry/styles/rhea/sheet.css +0 -74
  603. package/registry/styles/rhea/sidebar.css +0 -211
  604. package/registry/styles/rhea/skeleton.css +0 -7
  605. package/registry/styles/rhea/slider.css +0 -15
  606. package/registry/styles/rhea/spinner.css +0 -35
  607. package/registry/styles/rhea/switch.css +0 -110
  608. package/registry/styles/rhea/table.css +0 -91
  609. package/registry/styles/rhea/tabs.css +0 -133
  610. package/registry/styles/rhea/textarea.css +0 -53
  611. package/registry/styles/rhea/toast.css +0 -62
  612. package/registry/styles/rhea/toggle-group.css +0 -59
  613. package/registry/styles/rhea/toggle.css +0 -128
  614. package/registry/styles/rhea/tooltip.css +0 -35
  615. package/registry/styles/rhea/trace.css +0 -85
  616. package/registry/styles/sera/accordion.css +0 -59
  617. package/registry/styles/sera/alert-dialog.css +0 -84
  618. package/registry/styles/sera/alert.css +0 -98
  619. package/registry/styles/sera/aspect-ratio.css +0 -6
  620. package/registry/styles/sera/attachment.css +0 -176
  621. package/registry/styles/sera/avatar.css +0 -132
  622. package/registry/styles/sera/badge.css +0 -143
  623. package/registry/styles/sera/breadcrumb.css +0 -62
  624. package/registry/styles/sera/bubble.css +0 -147
  625. package/registry/styles/sera/button-group.css +0 -63
  626. package/registry/styles/sera/button.css +0 -222
  627. package/registry/styles/sera/calendar.css +0 -148
  628. package/registry/styles/sera/card.css +0 -84
  629. package/registry/styles/sera/carousel.css +0 -63
  630. package/registry/styles/sera/chart.css +0 -51
  631. package/registry/styles/sera/checkbox.css +0 -58
  632. package/registry/styles/sera/code-block.css +0 -186
  633. package/registry/styles/sera/collapsible.css +0 -50
  634. package/registry/styles/sera/combobox.css +0 -60
  635. package/registry/styles/sera/command.css +0 -27
  636. package/registry/styles/sera/context-menu.css +0 -19
  637. package/registry/styles/sera/dialog.css +0 -67
  638. package/registry/styles/sera/drawer.css +0 -70
  639. package/registry/styles/sera/dropdown-menu.css +0 -8
  640. package/registry/styles/sera/empty.css +0 -52
  641. package/registry/styles/sera/field.css +0 -120
  642. package/registry/styles/sera/hover-card.css +0 -22
  643. package/registry/styles/sera/input-group.css +0 -99
  644. package/registry/styles/sera/input-otp.css +0 -103
  645. package/registry/styles/sera/input.css +0 -62
  646. package/registry/styles/sera/item.css +0 -133
  647. package/registry/styles/sera/kbd.css +0 -22
  648. package/registry/styles/sera/label.css +0 -74
  649. package/registry/styles/sera/marker.css +0 -35
  650. package/registry/styles/sera/menubar.css +0 -48
  651. package/registry/styles/sera/message-scroller.css +0 -47
  652. package/registry/styles/sera/message.css +0 -39
  653. package/registry/styles/sera/native-select.css +0 -81
  654. package/registry/styles/sera/navigation-menu.css +0 -90
  655. package/registry/styles/sera/pagination.css +0 -46
  656. package/registry/styles/sera/popover.css +0 -25
  657. package/registry/styles/sera/primitives/dialog-shell.css +0 -19
  658. package/registry/styles/sera/primitives/listbox.css +0 -79
  659. package/registry/styles/sera/primitives/menu.css +0 -108
  660. package/registry/styles/sera/primitives/popover.css +0 -16
  661. package/registry/styles/sera/progress.css +0 -92
  662. package/registry/styles/sera/questionnaire.css +0 -147
  663. package/registry/styles/sera/radio.css +0 -48
  664. package/registry/styles/sera/resizable.css +0 -44
  665. package/registry/styles/sera/scroll-area.css +0 -30
  666. package/registry/styles/sera/select.css +0 -81
  667. package/registry/styles/sera/separator.css +0 -14
  668. package/registry/styles/sera/sheet.css +0 -76
  669. package/registry/styles/sera/sidebar.css +0 -217
  670. package/registry/styles/sera/skeleton.css +0 -7
  671. package/registry/styles/sera/slider.css +0 -15
  672. package/registry/styles/sera/spinner.css +0 -35
  673. package/registry/styles/sera/switch.css +0 -111
  674. package/registry/styles/sera/table.css +0 -92
  675. package/registry/styles/sera/tabs.css +0 -133
  676. package/registry/styles/sera/textarea.css +0 -54
  677. package/registry/styles/sera/toast.css +0 -64
  678. package/registry/styles/sera/toggle-group.css +0 -58
  679. package/registry/styles/sera/toggle.css +0 -128
  680. package/registry/styles/sera/tooltip.css +0 -35
  681. package/registry/styles/sera/trace.css +0 -87
  682. package/registry/styles/vega/accordion.css +0 -59
  683. package/registry/styles/vega/alert-dialog.css +0 -82
  684. package/registry/styles/vega/alert.css +0 -98
  685. package/registry/styles/vega/aspect-ratio.css +0 -6
  686. package/registry/styles/vega/attachment.css +0 -176
  687. package/registry/styles/vega/avatar.css +0 -132
  688. package/registry/styles/vega/badge.css +0 -112
  689. package/registry/styles/vega/breadcrumb.css +0 -62
  690. package/registry/styles/vega/bubble.css +0 -147
  691. package/registry/styles/vega/button-group.css +0 -63
  692. package/registry/styles/vega/button.css +0 -222
  693. package/registry/styles/vega/calendar.css +0 -140
  694. package/registry/styles/vega/card.css +0 -82
  695. package/registry/styles/vega/carousel.css +0 -63
  696. package/registry/styles/vega/chart.css +0 -51
  697. package/registry/styles/vega/checkbox.css +0 -59
  698. package/registry/styles/vega/code-block.css +0 -186
  699. package/registry/styles/vega/collapsible.css +0 -50
  700. package/registry/styles/vega/combobox.css +0 -59
  701. package/registry/styles/vega/command.css +0 -27
  702. package/registry/styles/vega/context-menu.css +0 -19
  703. package/registry/styles/vega/dialog.css +0 -64
  704. package/registry/styles/vega/drawer.css +0 -68
  705. package/registry/styles/vega/dropdown-menu.css +0 -8
  706. package/registry/styles/vega/empty.css +0 -52
  707. package/registry/styles/vega/field.css +0 -120
  708. package/registry/styles/vega/hover-card.css +0 -22
  709. package/registry/styles/vega/input-group.css +0 -98
  710. package/registry/styles/vega/input-otp.css +0 -102
  711. package/registry/styles/vega/input.css +0 -62
  712. package/registry/styles/vega/item.css +0 -133
  713. package/registry/styles/vega/kbd.css +0 -22
  714. package/registry/styles/vega/label.css +0 -74
  715. package/registry/styles/vega/marker.css +0 -35
  716. package/registry/styles/vega/menubar.css +0 -48
  717. package/registry/styles/vega/message-scroller.css +0 -47
  718. package/registry/styles/vega/message.css +0 -39
  719. package/registry/styles/vega/native-select.css +0 -81
  720. package/registry/styles/vega/navigation-menu.css +0 -90
  721. package/registry/styles/vega/pagination.css +0 -46
  722. package/registry/styles/vega/popover.css +0 -25
  723. package/registry/styles/vega/primitives/dialog-shell.css +0 -19
  724. package/registry/styles/vega/primitives/listbox.css +0 -79
  725. package/registry/styles/vega/primitives/menu.css +0 -108
  726. package/registry/styles/vega/primitives/popover.css +0 -16
  727. package/registry/styles/vega/progress.css +0 -92
  728. package/registry/styles/vega/questionnaire.css +0 -141
  729. package/registry/styles/vega/radio.css +0 -48
  730. package/registry/styles/vega/resizable.css +0 -44
  731. package/registry/styles/vega/scroll-area.css +0 -30
  732. package/registry/styles/vega/select.css +0 -80
  733. package/registry/styles/vega/separator.css +0 -14
  734. package/registry/styles/vega/sheet.css +0 -74
  735. package/registry/styles/vega/sidebar.css +0 -211
  736. package/registry/styles/vega/skeleton.css +0 -7
  737. package/registry/styles/vega/slider.css +0 -15
  738. package/registry/styles/vega/spinner.css +0 -35
  739. package/registry/styles/vega/switch.css +0 -111
  740. package/registry/styles/vega/table.css +0 -91
  741. package/registry/styles/vega/tabs.css +0 -133
  742. package/registry/styles/vega/textarea.css +0 -54
  743. package/registry/styles/vega/toast.css +0 -62
  744. package/registry/styles/vega/toggle-group.css +0 -59
  745. package/registry/styles/vega/toggle.css +0 -128
  746. package/registry/styles/vega/tooltip.css +0 -35
  747. package/registry/styles/vega/trace.css +0 -85
  748. package/registry/tokens.css +0 -125
  749. package/registry/utilities.css +0 -14
@@ -1,179 +0,0 @@
1
- <!-- Default -->
2
- <div tabindex="0" aria-haspopup="menu" aria-controls="demo-context-1" style="display: grid; place-items: center; min-height: 10rem; border: 1px dashed var(--border); border-radius: var(--radius-lg)">
3
- <p>Right-click anywhere in this area.</p>
4
- <div class="context-menu" id="demo-context-1" role="menu" aria-hidden="true" style="--context-x: 0px; --context-y: 0px">
5
- <button type="button" role="menuitem">Profile</button>
6
- <button type="button" role="menuitem">Billing</button>
7
- <button type="button" role="menuitem">Team</button>
8
- <button type="button" role="menuitem">Subscription</button>
9
- </div>
10
- </div>
11
-
12
- <!-- Submenu -->
13
- <div tabindex="0" aria-haspopup="menu" aria-controls="demo-context-2" style="display: grid; place-items: center; min-height: 10rem; border: 1px dashed var(--border); border-radius: var(--radius-lg)">
14
- <p>Right-click anywhere in this area.</p>
15
- <div class="context-menu" id="demo-context-2" role="menu" aria-hidden="true" style="--context-x: 0px; --context-y: 0px">
16
- <button type="button" role="menuitem">Copy <span data-slot="shortcut">⌘C</span></button>
17
- <button type="button" role="menuitem">Cut <span data-slot="shortcut">⌘X</span></button>
18
- <div role="none">
19
- <button type="button" role="menuitem" aria-haspopup="menu" aria-expanded="false" aria-controls="demo-context-submenu-more">
20
- More tools
21
- <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-rtl-flip><path d="m9 18 6-6-6-6"/></svg>
22
- </button>
23
- <div data-popover data-side="inline-end" id="demo-context-submenu-more" aria-hidden="true">
24
- <div role="menu">
25
- <button type="button" role="menuitem">Save page...</button>
26
- <button type="button" role="menuitem">Create shortcut...</button>
27
- <button type="button" role="menuitem">Name window...</button>
28
- <div role="separator"></div>
29
- <button type="button" role="menuitem">Developer tools</button>
30
- <div role="separator"></div>
31
- <button type="button" role="menuitem" data-variant="destructive">Delete</button>
32
- </div>
33
- </div>
34
- </div>
35
- </div>
36
- </div>
37
-
38
- <!-- Shortcuts -->
39
- <div tabindex="0" aria-haspopup="menu" aria-controls="demo-context-3" style="display: grid; place-items: center; min-height: 10rem; border: 1px dashed var(--border); border-radius: var(--radius-lg)">
40
- <p>Right-click anywhere in this area.</p>
41
- <div class="context-menu" id="demo-context-3" role="menu" aria-hidden="true" style="--context-x: 0px; --context-y: 0px">
42
- <button type="button" role="menuitem">Back <span data-slot="shortcut">⌘[</span></button>
43
- <button type="button" role="menuitem" disabled>Forward <span data-slot="shortcut">⌘]</span></button>
44
- <button type="button" role="menuitem">Reload <span data-slot="shortcut">⌘R</span></button>
45
- <div role="separator"></div>
46
- <button type="button" role="menuitem">Save <span data-slot="shortcut">⌘S</span></button>
47
- <button type="button" role="menuitem">Save as... <span data-slot="shortcut">⇧⌘S</span></button>
48
- </div>
49
- </div>
50
-
51
- <!-- Groups -->
52
- <div tabindex="0" aria-haspopup="menu" aria-controls="demo-context-4" style="display: grid; place-items: center; min-height: 10rem; border: 1px dashed var(--border); border-radius: var(--radius-lg)">
53
- <p>Right-click anywhere in this area.</p>
54
- <div class="context-menu" id="demo-context-4" role="menu" aria-hidden="true" style="--context-x: 0px; --context-y: 0px">
55
- <div role="group" aria-label="File">
56
- <div role="heading" aria-level="2">File</div>
57
- <button type="button" role="menuitem">New file <span data-slot="shortcut">⌘N</span></button>
58
- <button type="button" role="menuitem">Open file <span data-slot="shortcut">⌘O</span></button>
59
- <button type="button" role="menuitem">Save <span data-slot="shortcut">⌘S</span></button>
60
- </div>
61
- <div role="separator"></div>
62
- <div role="group" aria-label="Edit">
63
- <div role="heading" aria-level="2">Edit</div>
64
- <button type="button" role="menuitem">Undo <span data-slot="shortcut">⌘Z</span></button>
65
- <button type="button" role="menuitem">Redo <span data-slot="shortcut">⇧⌘Z</span></button>
66
- </div>
67
- <div role="separator"></div>
68
- <div role="group" aria-label="Clipboard">
69
- <button type="button" role="menuitem">Cut <span data-slot="shortcut">⌘X</span></button>
70
- <button type="button" role="menuitem">Copy <span data-slot="shortcut">⌘C</span></button>
71
- <button type="button" role="menuitem">Paste <span data-slot="shortcut">⌘V</span></button>
72
- </div>
73
- <div role="separator"></div>
74
- <button type="button" role="menuitem" data-variant="destructive">Delete <span data-slot="shortcut">⌫</span></button>
75
- </div>
76
- </div>
77
-
78
- <!-- Icons -->
79
- <div tabindex="0" aria-haspopup="menu" aria-controls="demo-context-5" style="display: grid; place-items: center; min-height: 10rem; border: 1px dashed var(--border); border-radius: var(--radius-lg)">
80
- <p>Right-click anywhere in this area.</p>
81
- <div class="context-menu" id="demo-context-5" role="menu" aria-hidden="true" style="--context-x: 0px; --context-y: 0px">
82
- <button type="button" role="menuitem"><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"><rect width="14" height="14" x="8" y="8" rx="2" ry="2"/><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"/></svg> Copy</button>
83
- <button type="button" role="menuitem"><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="6" cy="6" r="3"/><path d="M8.12 8.12 12 12"/><path d="M20 4 8.12 15.88"/><circle cx="6" cy="18" r="3"/><path d="M14.8 14.8 20 20"/></svg> Cut</button>
84
- <button type="button" role="menuitem"><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"><rect width="8" height="4" x="8" y="2" rx="1" ry="1"/><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"/><path d="M12 11h4"/><path d="M12 16h4"/><path d="M8 11h.01"/><path d="M8 16h.01"/></svg> Paste</button>
85
- <div role="separator"></div>
86
- <button type="button" role="menuitem" 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> Delete</button>
87
- </div>
88
- </div>
89
-
90
- <!-- Checkboxes -->
91
- <div tabindex="0" aria-haspopup="menu" aria-controls="demo-context-6" style="display: grid; place-items: center; min-height: 10rem; border: 1px dashed var(--border); border-radius: var(--radius-lg)">
92
- <p>Right-click anywhere in this area.</p>
93
- <div class="context-menu" id="demo-context-6" role="menu" aria-hidden="true" style="--context-x: 0px; --context-y: 0px">
94
- <button type="button" role="menuitemcheckbox" aria-checked="true">
95
- Show bookmarks bar
96
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
97
- </button>
98
- <button type="button" role="menuitemcheckbox" aria-checked="false">
99
- Show full URLs
100
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
101
- </button>
102
- <button type="button" role="menuitemcheckbox" aria-checked="true">
103
- Show developer tools
104
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
105
- </button>
106
- </div>
107
- </div>
108
-
109
- <!-- Radio -->
110
- <div tabindex="0" aria-haspopup="menu" aria-controls="demo-context-7" style="display: grid; place-items: center; min-height: 10rem; border: 1px dashed var(--border); border-radius: var(--radius-lg)">
111
- <p>Right-click anywhere in this area.</p>
112
- <div class="context-menu" id="demo-context-7" role="menu" aria-hidden="true" style="--context-x: 0px; --context-y: 0px">
113
- <div role="group" aria-label="People">
114
- <div role="heading" aria-level="2">People</div>
115
- <button type="button" role="menuitemradio" aria-checked="true">
116
- Pedro Duarte
117
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
118
- </button>
119
- <button type="button" role="menuitemradio" aria-checked="false">
120
- Colm Tuite
121
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
122
- </button>
123
- </div>
124
- <div role="separator"></div>
125
- <div role="group" aria-label="Theme">
126
- <div role="heading" aria-level="2">Theme</div>
127
- <button type="button" role="menuitemradio" aria-checked="true">
128
- Light
129
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
130
- </button>
131
- <button type="button" role="menuitemradio" aria-checked="false">
132
- Dark
133
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
134
- </button>
135
- <button type="button" role="menuitemradio" aria-checked="false">
136
- System
137
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
138
- </button>
139
- </div>
140
- </div>
141
- </div>
142
-
143
- <!-- Destructive -->
144
- <div tabindex="0" aria-haspopup="menu" aria-controls="demo-context-8" style="display: grid; place-items: center; min-height: 10rem; border: 1px dashed var(--border); border-radius: var(--radius-lg)">
145
- <p>Right-click anywhere in this area.</p>
146
- <div class="context-menu" id="demo-context-8" role="menu" aria-hidden="true" style="--context-x: 0px; --context-y: 0px">
147
- <button type="button" role="menuitem"><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.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"/><path d="m15 5 4 4"/></svg> Edit</button>
148
- <button type="button" role="menuitem"><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="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8"/><polyline points="16 6 12 2 8 6"/><line x1="12" x2="12" y1="2" y2="15"/></svg> Share</button>
149
- <div role="separator"></div>
150
- <button type="button" role="menuitem" 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> Delete</button>
151
- </div>
152
- </div>
153
-
154
- <!-- Right-to-left -->
155
- <div tabindex="0" aria-haspopup="menu" aria-controls="demo-context-9" dir="rtl" lang="ar" style="display: grid; place-items: center; min-height: 10rem; border: 1px dashed var(--border); border-radius: var(--radius-lg)">
156
- <p>انقر بزر الماوس الأيمن هنا.</p>
157
- <div class="context-menu" id="demo-context-9" role="menu" aria-hidden="true" style="--context-x: 0px; --context-y: 0px">
158
- <button type="button" role="menuitem">رجوع <span data-slot="shortcut">⌘[</span></button>
159
- <button type="button" role="menuitem" disabled>تقدم <span data-slot="shortcut">⌘]</span></button>
160
- <button type="button" role="menuitem">إعادة تحميل <span data-slot="shortcut">⌘R</span></button>
161
- <div role="separator"></div>
162
- <button type="button" role="menuitemcheckbox" aria-checked="true">
163
- إظهار الإشارات المرجعية
164
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
165
- </button>
166
- <div role="separator"></div>
167
- <div role="group" aria-label="الأشخاص">
168
- <div role="heading" aria-level="2">الأشخاص</div>
169
- <button type="button" role="menuitemradio" aria-checked="true">
170
- بيدرو دوارتي
171
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
172
- </button>
173
- <button type="button" role="menuitemradio" aria-checked="false">
174
- كولم تويت
175
- <span data-slot="indicator" 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="M20 6 9 17l-5-5"/></svg></span>
176
- </button>
177
- </div>
178
- </div>
179
- </div>
@@ -1,187 +0,0 @@
1
- <!-- Default -->
2
- <button type="button" class="btn" data-open-dialog="demo-dialog-default">Open dialog</button>
3
-
4
- <dialog class="dialog" id="demo-dialog-default" aria-labelledby="dialog-default-title" aria-describedby="dialog-default-description">
5
- <div>
6
- <header>
7
- <h2 data-slot="title" id="dialog-default-title">Dialog title</h2>
8
- <p data-slot="description" id="dialog-default-description">
9
- This is the dialog content. Add actions or a form to finish the flow.
10
- </p>
11
- </header>
12
- <footer>
13
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
14
- <button type="button" class="btn" data-close-dialog>Continue</button>
15
- </footer>
16
- <form method="dialog">
17
- <button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close"><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="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
18
- </form>
19
- </div>
20
- </dialog>
21
-
22
- <!-- Edit profile -->
23
- <button type="button" class="btn" data-open-dialog="demo-dialog">Open profile dialog</button>
24
-
25
- <dialog class="dialog" id="demo-dialog" aria-labelledby="dialog-title" aria-describedby="dialog-description">
26
- <div>
27
- <header>
28
- <h2 data-slot="title" id="dialog-title">Edit profile</h2>
29
- <p data-slot="description" id="dialog-description">
30
- Make changes to your profile here. Click save when you're done.
31
- </p>
32
- </header>
33
- <section>
34
- <div class="fieldset">
35
- <div class="field">
36
- <label class="label" for="dialog-name">Name</label>
37
- <input class="input" id="dialog-name" value="Ada Lovelace">
38
- </div>
39
- <div class="field">
40
- <label class="label" for="dialog-username">Username</label>
41
- <input class="input" id="dialog-username" value="@ada">
42
- </div>
43
- </div>
44
- </section>
45
- <footer>
46
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
47
- <button type="button" class="btn" data-close-dialog>Save changes</button>
48
- </footer>
49
- <form method="dialog">
50
- <button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close"><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="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
51
- </form>
52
- </div>
53
- </dialog>
54
-
55
- <!-- Custom close button -->
56
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-dialog-close-button">
57
- Open share dialog
58
- </button>
59
-
60
- <dialog class="dialog" id="demo-dialog-close-button" aria-labelledby="dialog-close-title" aria-describedby="dialog-close-description">
61
- <div>
62
- <header>
63
- <h2 data-slot="title" id="dialog-close-title">Share link</h2>
64
- <p data-slot="description" id="dialog-close-description">
65
- Anyone who has this link will be able to view this.
66
- </p>
67
- </header>
68
- <section>
69
- <div class="field">
70
- <label class="sr-only" for="dialog-share-link">Link</label>
71
- <input class="input" id="dialog-share-link" value="https://loseta.dev/docs/components/dialog" readonly>
72
- </div>
73
- </section>
74
- <footer data-align="start">
75
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Close</button>
76
- </footer>
77
- </div>
78
- </dialog>
79
-
80
- <!-- No close button -->
81
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-dialog-no-close">
82
- Open dialog without close
83
- </button>
84
-
85
- <dialog class="dialog" id="demo-dialog-no-close" aria-labelledby="dialog-no-close-title" aria-describedby="dialog-no-close-description">
86
- <div>
87
- <header>
88
- <h2 data-slot="title" id="dialog-no-close-title">No close button</h2>
89
- <p data-slot="description" id="dialog-no-close-description">
90
- This dialog has no close control. Dismiss it with Escape or your own action.
91
- </p>
92
- </header>
93
- </div>
94
- </dialog>
95
-
96
- <!-- Scrollable content -->
97
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-dialog-scrollable">
98
- Open scrollable dialog
99
- </button>
100
-
101
- <dialog class="dialog" id="demo-dialog-scrollable" aria-labelledby="dialog-scrollable-title" aria-describedby="dialog-scrollable-description">
102
- <div>
103
- <header>
104
- <h2 data-slot="title" id="dialog-scrollable-title">Scrollable content</h2>
105
- <p data-slot="description" id="dialog-scrollable-description">
106
- The header stays in view while the section scrolls.
107
- </p>
108
- </header>
109
- <section role="region" aria-label="Scrollable content" tabindex="0">
110
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
111
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
112
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
113
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
114
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
115
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
116
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
117
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
118
- </section>
119
- <form method="dialog">
120
- <button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="Close"><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="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
121
- </form>
122
- </div>
123
- </dialog>
124
-
125
- <!-- Sticky footer -->
126
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-dialog-sticky-footer">
127
- Open sticky footer dialog
128
- </button>
129
-
130
- <dialog class="dialog" id="demo-dialog-sticky-footer" aria-labelledby="dialog-sticky-footer-title" aria-describedby="dialog-sticky-footer-description">
131
- <div>
132
- <header>
133
- <h2 data-slot="title" id="dialog-sticky-footer-title">Sticky footer</h2>
134
- <p data-slot="description" id="dialog-sticky-footer-description">
135
- The footer stays visible while the section scrolls.
136
- </p>
137
- </header>
138
- <section role="region" aria-label="Sticky footer content" tabindex="0">
139
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
140
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
141
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
142
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
143
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
144
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
145
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
146
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
147
- </section>
148
- <footer>
149
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Close</button>
150
- </footer>
151
- </div>
152
- </dialog>
153
-
154
- <!-- Right-to-left -->
155
- <div dir="rtl" lang="ar" style="display: flex; flex-wrap: wrap; gap: 0.5rem">
156
- <button type="button" class="btn" data-open-dialog="demo-dialog-rtl">فتح الحوار</button>
157
-
158
- <dialog class="dialog" id="demo-dialog-rtl" aria-labelledby="dialog-rtl-title" aria-describedby="dialog-rtl-description">
159
- <div>
160
- <header>
161
- <h2 data-slot="title" id="dialog-rtl-title">تعديل الملف الشخصي</h2>
162
- <p data-slot="description" id="dialog-rtl-description">
163
- قم بإجراء تغييرات على ملفك الشخصي هنا. انقر على حفظ عند الانتهاء.
164
- </p>
165
- </header>
166
- <section>
167
- <div class="fieldset">
168
- <div class="field">
169
- <label class="label" for="dialog-rtl-name">الاسم</label>
170
- <input class="input" id="dialog-rtl-name" value="آدا لوفليس">
171
- </div>
172
- <div class="field">
173
- <label class="label" for="dialog-rtl-username">اسم المستخدم</label>
174
- <input class="input" id="dialog-rtl-username" value="@ada">
175
- </div>
176
- </div>
177
- </section>
178
- <footer>
179
- <button type="button" class="btn" data-variant="outline" data-close-dialog>إلغاء</button>
180
- <button type="button" class="btn" data-close-dialog>حفظ التغييرات</button>
181
- </footer>
182
- <form method="dialog">
183
- <button class="btn" data-variant="ghost" data-size="icon-sm" aria-label="إغلاق"><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="M18 6 6 18"/><path d="m6 6 12 12"/></svg></button>
184
- </form>
185
- </div>
186
- </dialog>
187
- </div>
@@ -1,234 +0,0 @@
1
- <!-- Default -->
2
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-drawer-default">
3
- Open drawer
4
- </button>
5
-
6
- <dialog class="drawer" id="demo-drawer-default" data-side="block-end" aria-labelledby="drawer-default-title" aria-describedby="drawer-default-description">
7
- <div>
8
- <span data-slot="handle" aria-hidden="true"></span>
9
- <header>
10
- <h2 data-slot="title" id="drawer-default-title">Edit profile</h2>
11
- <p data-slot="description" id="drawer-default-description">Make changes to your profile here.</p>
12
- </header>
13
- <section>
14
- <div class="fieldset">
15
- <div class="field">
16
- <label class="label" for="drawer-default-name">Name</label>
17
- <input class="input" id="drawer-default-name" value="Ada Lovelace">
18
- </div>
19
- <div class="field">
20
- <label class="label" for="drawer-default-username">Username</label>
21
- <input class="input" id="drawer-default-username" value="@ada">
22
- </div>
23
- </div>
24
- </section>
25
- <footer>
26
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
27
- <button type="button" class="btn" data-close-dialog>Save changes</button>
28
- </footer>
29
- </div>
30
- </dialog>
31
-
32
- <!-- Large -->
33
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-drawer-large">
34
- Open large drawer
35
- </button>
36
-
37
- <dialog class="drawer" id="demo-drawer-large" data-side="block-end" data-size="lg" aria-labelledby="drawer-large-title" aria-describedby="drawer-large-description">
38
- <div>
39
- <span data-slot="handle" aria-hidden="true"></span>
40
- <header>
41
- <h2 data-slot="title" id="drawer-large-title">Filters</h2>
42
- <p data-slot="description" id="drawer-large-description">Narrow the results to the records you need.</p>
43
- </header>
44
- <section>
45
- <div class="field">
46
- <label class="label" for="drawer-large-query">Search</label>
47
- <input class="input" id="drawer-large-query" placeholder="Name, owner or status">
48
- </div>
49
- </section>
50
- <footer>
51
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Reset</button>
52
- <button type="button" class="btn" data-close-dialog>Apply</button>
53
- </footer>
54
- </div>
55
- </dialog>
56
-
57
- <!-- Small -->
58
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-drawer-small">
59
- Open small drawer
60
- </button>
61
-
62
- <dialog class="drawer" id="demo-drawer-small" data-side="block-end" data-size="sm" aria-labelledby="drawer-small-title" aria-describedby="drawer-small-description">
63
- <div>
64
- <span data-slot="handle" aria-hidden="true"></span>
65
- <header>
66
- <h2 data-slot="title" id="drawer-small-title">Quick action</h2>
67
- <p data-slot="description" id="drawer-small-description">Confirm the action without leaving the page.</p>
68
- </header>
69
- <section>
70
- <p>The small size keeps a short confirmation within reach.</p>
71
- </section>
72
- <footer>
73
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Cancel</button>
74
- <button type="button" class="btn" data-close-dialog>Confirm</button>
75
- </footer>
76
- </div>
77
- </dialog>
78
-
79
- <!-- Top -->
80
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-drawer-top">
81
- Open top drawer
82
- </button>
83
-
84
- <dialog class="drawer" id="demo-drawer-top" data-side="block-start" aria-labelledby="drawer-top-title" aria-describedby="drawer-top-description">
85
- <div>
86
- <header>
87
- <h2 data-slot="title" id="drawer-top-title">Notifications</h2>
88
- <p data-slot="description" id="drawer-top-description">Anchored to the block start edge, with the handle at the bottom.</p>
89
- </header>
90
- <section>
91
- <p>Use a top drawer for a short announcement or a wide filter bar.</p>
92
- </section>
93
- <footer>
94
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Close</button>
95
- </footer>
96
- <span data-slot="handle" aria-hidden="true"></span>
97
- </div>
98
- </dialog>
99
-
100
- <!-- Scrollable content -->
101
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-drawer-scrollable">
102
- Open scrollable drawer
103
- </button>
104
-
105
- <dialog class="drawer" id="demo-drawer-scrollable" data-side="block-end" aria-labelledby="drawer-scrollable-title" aria-describedby="drawer-scrollable-description">
106
- <div>
107
- <span data-slot="handle" aria-hidden="true"></span>
108
- <header>
109
- <h2 data-slot="title" id="drawer-scrollable-title">Scrollable content</h2>
110
- <p data-slot="description" id="drawer-scrollable-description">The header and footer stay in place while the section scrolls.</p>
111
- </header>
112
- <section role="region" aria-label="Scrollable drawer content" tabindex="0">
113
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
114
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
115
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
116
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
117
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
118
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
119
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
120
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
121
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
122
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
123
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
124
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
125
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
126
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
127
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
128
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
129
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
130
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
131
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
132
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
133
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
134
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
135
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
136
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
137
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
138
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
139
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
140
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
141
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
142
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
143
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
144
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
145
- </section>
146
- <footer>
147
- <button type="button" class="btn" data-variant="outline" data-close-dialog>Close</button>
148
- </footer>
149
- </div>
150
- </dialog>
151
-
152
- <!-- Nested -->
153
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-drawer-nested">
154
- Open drawer
155
- </button>
156
-
157
- <dialog class="drawer" id="demo-drawer-nested" data-side="block-end" aria-labelledby="drawer-nested-title" aria-describedby="drawer-nested-description">
158
- <div>
159
- <span data-slot="handle" aria-hidden="true"></span>
160
- <header>
161
- <h2 data-slot="title" id="drawer-nested-title">Drawer</h2>
162
- <p data-slot="description" id="drawer-nested-description">Open another drawer from inside this one.</p>
163
- </header>
164
- <section>
165
- <p>The parent drawer stays mounted behind the nested drawer.</p>
166
- </section>
167
- <footer>
168
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-drawer-nested-child">Open nested drawer</button>
169
- <button type="button" class="btn" data-close-dialog>Close</button>
170
- </footer>
171
- <dialog class="drawer" id="demo-drawer-nested-child" data-side="block-end" aria-labelledby="drawer-nested-child-title" aria-describedby="drawer-nested-child-description">
172
- <div>
173
- <span data-slot="handle" aria-hidden="true"></span>
174
- <header>
175
- <h2 data-slot="title" id="drawer-nested-child-title">Nested drawer</h2>
176
- <p data-slot="description" id="drawer-nested-child-description">This drawer stacks above the parent.</p>
177
- </header>
178
- <section>
179
- <p>Close this drawer to return to the parent.</p>
180
- </section>
181
- <footer>
182
- <button type="button" class="btn" data-close-dialog>Close</button>
183
- </footer>
184
- </div>
185
- </dialog>
186
- </div>
187
- </dialog>
188
-
189
- <!-- Without handle -->
190
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-drawer-no-handle">
191
- Open drawer without handle
192
- </button>
193
-
194
- <dialog class="drawer" id="demo-drawer-no-handle" data-side="block-end" aria-labelledby="drawer-no-handle-title" aria-describedby="drawer-no-handle-description">
195
- <div>
196
- <header>
197
- <h2 data-slot="title" id="drawer-no-handle-title">No handle</h2>
198
- <p data-slot="description" id="drawer-no-handle-description">The handle is optional. Leave it out when drag gestures are not part of the flow.</p>
199
- </header>
200
- <section>
201
- <p>Use the footer actions or Escape to dismiss the drawer.</p>
202
- </section>
203
- <footer>
204
- <button type="button" class="btn" data-close-dialog>Close</button>
205
- </footer>
206
- </div>
207
- </dialog>
208
-
209
- <!-- Right-to-left -->
210
- <div dir="rtl" lang="ar">
211
- <button type="button" class="btn" data-variant="outline" data-open-dialog="demo-drawer-rtl">
212
- فتح الدرج
213
- </button>
214
-
215
- <dialog class="drawer" id="demo-drawer-rtl" data-side="block-end" aria-labelledby="drawer-rtl-title" aria-describedby="drawer-rtl-description">
216
- <div>
217
- <span data-slot="handle" aria-hidden="true"></span>
218
- <header>
219
- <h2 data-slot="title" id="drawer-rtl-title">تعديل الملف الشخصي</h2>
220
- <p data-slot="description" id="drawer-rtl-description">أجرِ تغييرات على ملفك الشخصي هنا.</p>
221
- </header>
222
- <section>
223
- <div class="field">
224
- <label class="label" for="drawer-rtl-name">الاسم</label>
225
- <input class="input" id="drawer-rtl-name" value="ليلى حسن">
226
- </div>
227
- </section>
228
- <footer>
229
- <button type="button" class="btn" data-variant="outline" data-close-dialog>إلغاء</button>
230
- <button type="button" class="btn" data-close-dialog>حفظ التغييرات</button>
231
- </footer>
232
- </div>
233
- </dialog>
234
- </div>