@marismoon/ui 0.0.0-stage → 0.1.0-next.1

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 (453) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +26 -2
  3. package/THIRD_PARTY_NOTICES.md +50 -0
  4. package/dist/components/icons/app-icon.d.ts +14 -0
  5. package/dist/components/icons/app-icon.js +30 -0
  6. package/dist/components/icons/icon-placeholder.d.ts +134 -0
  7. package/dist/components/icons/icon-placeholder.js +240 -0
  8. package/dist/components/icons/icon-variants.d.ts +2 -0
  9. package/dist/components/icons/icon-variants.js +68 -0
  10. package/dist/components/icons/index.d.ts +117 -0
  11. package/dist/components/icons/index.js +118 -0
  12. package/dist/components/icons/solar/add-circle-linear.d.ts +2 -0
  13. package/dist/components/icons/solar/add-circle-linear.js +27 -0
  14. package/dist/components/icons/solar/add-folder-linear.d.ts +2 -0
  15. package/dist/components/icons/solar/add-folder-linear.js +21 -0
  16. package/dist/components/icons/solar/alt-arrow-down-linear.d.ts +2 -0
  17. package/dist/components/icons/solar/alt-arrow-down-linear.js +22 -0
  18. package/dist/components/icons/solar/alt-arrow-left-linear.d.ts +2 -0
  19. package/dist/components/icons/solar/alt-arrow-left-linear.js +22 -0
  20. package/dist/components/icons/solar/alt-arrow-right-linear.d.ts +2 -0
  21. package/dist/components/icons/solar/alt-arrow-right-linear.js +22 -0
  22. package/dist/components/icons/solar/alt-arrow-up-linear.d.ts +2 -0
  23. package/dist/components/icons/solar/alt-arrow-up-linear.js +22 -0
  24. package/dist/components/icons/solar/archive-linear.d.ts +2 -0
  25. package/dist/components/icons/solar/archive-linear.js +25 -0
  26. package/dist/components/icons/solar/arrow-down-linear.d.ts +2 -0
  27. package/dist/components/icons/solar/arrow-down-linear.js +22 -0
  28. package/dist/components/icons/solar/arrow-left-linear.d.ts +2 -0
  29. package/dist/components/icons/solar/arrow-left-linear.js +22 -0
  30. package/dist/components/icons/solar/arrow-right-linear.d.ts +2 -0
  31. package/dist/components/icons/solar/arrow-right-linear.js +22 -0
  32. package/dist/components/icons/solar/arrow-right-up-linear.d.ts +2 -0
  33. package/dist/components/icons/solar/arrow-right-up-linear.js +22 -0
  34. package/dist/components/icons/solar/arrow-up-linear.d.ts +2 -0
  35. package/dist/components/icons/solar/arrow-up-linear.js +22 -0
  36. package/dist/components/icons/solar/bell-bold.d.ts +2 -0
  37. package/dist/components/icons/solar/bell-bold.js +20 -0
  38. package/dist/components/icons/solar/bell-linear.d.ts +2 -0
  39. package/dist/components/icons/solar/bell-linear.js +23 -0
  40. package/dist/components/icons/solar/bill-list-bold.d.ts +2 -0
  41. package/dist/components/icons/solar/bill-list-bold.js +19 -0
  42. package/dist/components/icons/solar/bill-list-linear.d.ts +2 -0
  43. package/dist/components/icons/solar/bill-list-linear.js +23 -0
  44. package/dist/components/icons/solar/bluetooth-linear.d.ts +2 -0
  45. package/dist/components/icons/solar/bluetooth-linear.js +26 -0
  46. package/dist/components/icons/solar/book-linear.d.ts +2 -0
  47. package/dist/components/icons/solar/book-linear.js +26 -0
  48. package/dist/components/icons/solar/bookmark-linear.d.ts +2 -0
  49. package/dist/components/icons/solar/bookmark-linear.js +21 -0
  50. package/dist/components/icons/solar/brain-linear.d.ts +2 -0
  51. package/dist/components/icons/solar/brain-linear.js +25 -0
  52. package/dist/components/icons/solar/branching-paths-up-linear.d.ts +2 -0
  53. package/dist/components/icons/solar/branching-paths-up-linear.js +33 -0
  54. package/dist/components/icons/solar/buildings-2-linear.d.ts +2 -0
  55. package/dist/components/icons/solar/buildings-2-linear.js +31 -0
  56. package/dist/components/icons/solar/calculator-linear.d.ts +2 -0
  57. package/dist/components/icons/solar/calculator-linear.js +32 -0
  58. package/dist/components/icons/solar/calendar-linear.d.ts +2 -0
  59. package/dist/components/icons/solar/calendar-linear.js +50 -0
  60. package/dist/components/icons/solar/card-bold.d.ts +2 -0
  61. package/dist/components/icons/solar/card-bold.js +22 -0
  62. package/dist/components/icons/solar/card-linear.d.ts +2 -0
  63. package/dist/components/icons/solar/card-linear.js +23 -0
  64. package/dist/components/icons/solar/chart-2-bold.d.ts +2 -0
  65. package/dist/components/icons/solar/chart-2-bold.js +31 -0
  66. package/dist/components/icons/solar/chart-2-linear.d.ts +2 -0
  67. package/dist/components/icons/solar/chart-2-linear.js +24 -0
  68. package/dist/components/icons/solar/chart-square-bold.d.ts +2 -0
  69. package/dist/components/icons/solar/chart-square-bold.js +19 -0
  70. package/dist/components/icons/solar/chart-square-linear.d.ts +2 -0
  71. package/dist/components/icons/solar/chart-square-linear.js +23 -0
  72. package/dist/components/icons/solar/chat-square-linear.d.ts +2 -0
  73. package/dist/components/icons/solar/chat-square-linear.js +21 -0
  74. package/dist/components/icons/solar/check-circle-linear.d.ts +2 -0
  75. package/dist/components/icons/solar/check-circle-linear.js +28 -0
  76. package/dist/components/icons/solar/check-mark-linear.d.ts +2 -0
  77. package/dist/components/icons/solar/check-mark-linear.js +22 -0
  78. package/dist/components/icons/solar/clipboard-linear.d.ts +2 -0
  79. package/dist/components/icons/solar/clipboard-linear.js +27 -0
  80. package/dist/components/icons/solar/clock-circle-bold.d.ts +2 -0
  81. package/dist/components/icons/solar/clock-circle-bold.js +19 -0
  82. package/dist/components/icons/solar/clock-circle-linear.d.ts +2 -0
  83. package/dist/components/icons/solar/clock-circle-linear.js +28 -0
  84. package/dist/components/icons/solar/close-circle-linear.d.ts +2 -0
  85. package/dist/components/icons/solar/close-circle-linear.js +27 -0
  86. package/dist/components/icons/solar/close-linear.d.ts +2 -0
  87. package/dist/components/icons/solar/close-linear.js +21 -0
  88. package/dist/components/icons/solar/cloud-bold.d.ts +2 -0
  89. package/dist/components/icons/solar/cloud-bold.js +17 -0
  90. package/dist/components/icons/solar/cloud-linear.d.ts +2 -0
  91. package/dist/components/icons/solar/cloud-linear.js +21 -0
  92. package/dist/components/icons/solar/code-linear.d.ts +2 -0
  93. package/dist/components/icons/solar/code-linear.js +25 -0
  94. package/dist/components/icons/solar/code-square-linear.d.ts +2 -0
  95. package/dist/components/icons/solar/code-square-linear.js +26 -0
  96. package/dist/components/icons/solar/copy-linear.d.ts +2 -0
  97. package/dist/components/icons/solar/copy-linear.js +20 -0
  98. package/dist/components/icons/solar/danger-circle-linear.d.ts +2 -0
  99. package/dist/components/icons/solar/danger-circle-linear.js +30 -0
  100. package/dist/components/icons/solar/danger-triangle-linear.d.ts +2 -0
  101. package/dist/components/icons/solar/danger-triangle-linear.js +36 -0
  102. package/dist/components/icons/solar/diskette-linear.d.ts +2 -0
  103. package/dist/components/icons/solar/diskette-linear.js +25 -0
  104. package/dist/components/icons/solar/dislike-linear.d.ts +2 -0
  105. package/dist/components/icons/solar/dislike-linear.js +28 -0
  106. package/dist/components/icons/solar/document-text-bold.d.ts +2 -0
  107. package/dist/components/icons/solar/document-text-bold.js +19 -0
  108. package/dist/components/icons/solar/document-text-linear.d.ts +2 -0
  109. package/dist/components/icons/solar/document-text-linear.js +23 -0
  110. package/dist/components/icons/solar/download-linear.d.ts +2 -0
  111. package/dist/components/icons/solar/download-linear.js +24 -0
  112. package/dist/components/icons/solar/eye-bold.d.ts +2 -0
  113. package/dist/components/icons/solar/eye-bold.js +19 -0
  114. package/dist/components/icons/solar/eye-closed-linear.d.ts +2 -0
  115. package/dist/components/icons/solar/eye-closed-linear.js +21 -0
  116. package/dist/components/icons/solar/eye-linear.d.ts +2 -0
  117. package/dist/components/icons/solar/eye-linear.js +20 -0
  118. package/dist/components/icons/solar/file-code-linear.d.ts +2 -0
  119. package/dist/components/icons/solar/file-code-linear.js +31 -0
  120. package/dist/components/icons/solar/file-linear.d.ts +2 -0
  121. package/dist/components/icons/solar/file-linear.js +24 -0
  122. package/dist/components/icons/solar/file-text-linear.d.ts +2 -0
  123. package/dist/components/icons/solar/file-text-linear.js +34 -0
  124. package/dist/components/icons/solar/folder-bold.d.ts +2 -0
  125. package/dist/components/icons/solar/folder-bold.js +19 -0
  126. package/dist/components/icons/solar/folder-linear.d.ts +2 -0
  127. package/dist/components/icons/solar/folder-linear.js +23 -0
  128. package/dist/components/icons/solar/gallery-linear.d.ts +2 -0
  129. package/dist/components/icons/solar/gallery-linear.js +29 -0
  130. package/dist/components/icons/solar/global-linear.d.ts +2 -0
  131. package/dist/components/icons/solar/global-linear.js +25 -0
  132. package/dist/components/icons/solar/graph-linear.d.ts +2 -0
  133. package/dist/components/icons/solar/graph-linear.js +21 -0
  134. package/dist/components/icons/solar/graph-up-linear.d.ts +2 -0
  135. package/dist/components/icons/solar/graph-up-linear.js +24 -0
  136. package/dist/components/icons/solar/heart-linear.d.ts +2 -0
  137. package/dist/components/icons/solar/heart-linear.js +22 -0
  138. package/dist/components/icons/solar/home-2-linear.d.ts +2 -0
  139. package/dist/components/icons/solar/home-2-linear.js +21 -0
  140. package/dist/components/icons/solar/home-smile-angle-bold.d.ts +2 -0
  141. package/dist/components/icons/solar/home-smile-angle-bold.js +19 -0
  142. package/dist/components/icons/solar/home-smile-angle-linear.d.ts +2 -0
  143. package/dist/components/icons/solar/home-smile-angle-linear.js +21 -0
  144. package/dist/components/icons/solar/inbox-linear.d.ts +2 -0
  145. package/dist/components/icons/solar/inbox-linear.js +23 -0
  146. package/dist/components/icons/solar/info-circle-linear.d.ts +2 -0
  147. package/dist/components/icons/solar/info-circle-linear.js +30 -0
  148. package/dist/components/icons/solar/letter-bold.d.ts +2 -0
  149. package/dist/components/icons/solar/letter-bold.js +19 -0
  150. package/dist/components/icons/solar/letter-linear.d.ts +2 -0
  151. package/dist/components/icons/solar/letter-linear.js +23 -0
  152. package/dist/components/icons/solar/like-linear.d.ts +2 -0
  153. package/dist/components/icons/solar/like-linear.js +28 -0
  154. package/dist/components/icons/solar/link-linear.d.ts +2 -0
  155. package/dist/components/icons/solar/link-linear.js +21 -0
  156. package/dist/components/icons/solar/list-linear.d.ts +2 -0
  157. package/dist/components/icons/solar/list-linear.js +25 -0
  158. package/dist/components/icons/solar/logout-2-linear.d.ts +2 -0
  159. package/dist/components/icons/solar/logout-2-linear.js +24 -0
  160. package/dist/components/icons/solar/magnifer-linear.d.ts +2 -0
  161. package/dist/components/icons/solar/magnifer-linear.js +27 -0
  162. package/dist/components/icons/solar/magnifier-zoom-in-linear.d.ts +2 -0
  163. package/dist/components/icons/solar/magnifier-zoom-in-linear.js +29 -0
  164. package/dist/components/icons/solar/magnifier-zoom-out-linear.d.ts +2 -0
  165. package/dist/components/icons/solar/magnifier-zoom-out-linear.js +29 -0
  166. package/dist/components/icons/solar/maximize-square-minimalistic-linear.d.ts +2 -0
  167. package/dist/components/icons/solar/maximize-square-minimalistic-linear.js +24 -0
  168. package/dist/components/icons/solar/menu-dots-linear.d.ts +2 -0
  169. package/dist/components/icons/solar/menu-dots-linear.js +34 -0
  170. package/dist/components/icons/solar/microphone-linear.d.ts +2 -0
  171. package/dist/components/icons/solar/microphone-linear.js +27 -0
  172. package/dist/components/icons/solar/minimize-square-minimalistic-linear.d.ts +2 -0
  173. package/dist/components/icons/solar/minimize-square-minimalistic-linear.js +24 -0
  174. package/dist/components/icons/solar/minus-circle-linear.d.ts +2 -0
  175. package/dist/components/icons/solar/minus-circle-linear.js +26 -0
  176. package/dist/components/icons/solar/monitor-linear.d.ts +2 -0
  177. package/dist/components/icons/solar/monitor-linear.js +23 -0
  178. package/dist/components/icons/solar/moon-linear.d.ts +2 -0
  179. package/dist/components/icons/solar/moon-linear.js +16 -0
  180. package/dist/components/icons/solar/notebook-bold.d.ts +2 -0
  181. package/dist/components/icons/solar/notebook-bold.js +19 -0
  182. package/dist/components/icons/solar/notebook-linear.d.ts +2 -0
  183. package/dist/components/icons/solar/notebook-linear.js +23 -0
  184. package/dist/components/icons/solar/pallete-2-bold.d.ts +2 -0
  185. package/dist/components/icons/solar/pallete-2-bold.js +19 -0
  186. package/dist/components/icons/solar/pallete-2-linear.d.ts +2 -0
  187. package/dist/components/icons/solar/pallete-2-linear.js +62 -0
  188. package/dist/components/icons/solar/panel-left-close-linear.d.ts +2 -0
  189. package/dist/components/icons/solar/panel-left-close-linear.js +26 -0
  190. package/dist/components/icons/solar/panel-left-open-linear.d.ts +2 -0
  191. package/dist/components/icons/solar/panel-left-open-linear.js +26 -0
  192. package/dist/components/icons/solar/pen-linear.d.ts +2 -0
  193. package/dist/components/icons/solar/pen-linear.js +21 -0
  194. package/dist/components/icons/solar/pie-chart-2-linear.d.ts +2 -0
  195. package/dist/components/icons/solar/pie-chart-2-linear.js +21 -0
  196. package/dist/components/icons/solar/presentation-graph-linear.d.ts +2 -0
  197. package/dist/components/icons/solar/presentation-graph-linear.js +28 -0
  198. package/dist/components/icons/solar/pulse-linear.d.ts +2 -0
  199. package/dist/components/icons/solar/pulse-linear.js +21 -0
  200. package/dist/components/icons/solar/question-circle-linear.d.ts +2 -0
  201. package/dist/components/icons/solar/question-circle-linear.js +32 -0
  202. package/dist/components/icons/solar/radio-minimalistic-linear.d.ts +2 -0
  203. package/dist/components/icons/solar/radio-minimalistic-linear.js +32 -0
  204. package/dist/components/icons/solar/refresh-bold.d.ts +2 -0
  205. package/dist/components/icons/solar/refresh-bold.js +20 -0
  206. package/dist/components/icons/solar/refresh-circle-linear.d.ts +2 -0
  207. package/dist/components/icons/solar/refresh-circle-linear.js +35 -0
  208. package/dist/components/icons/solar/refresh-linear.d.ts +2 -0
  209. package/dist/components/icons/solar/refresh-linear.js +16 -0
  210. package/dist/components/icons/solar/restart-linear.d.ts +2 -0
  211. package/dist/components/icons/solar/restart-linear.js +22 -0
  212. package/dist/components/icons/solar/sale-linear.d.ts +2 -0
  213. package/dist/components/icons/solar/sale-linear.js +34 -0
  214. package/dist/components/icons/solar/scissors-linear.d.ts +2 -0
  215. package/dist/components/icons/solar/scissors-linear.js +21 -0
  216. package/dist/components/icons/solar/settings-bold.d.ts +2 -0
  217. package/dist/components/icons/solar/settings-bold.js +19 -0
  218. package/dist/components/icons/solar/settings-linear.d.ts +2 -0
  219. package/dist/components/icons/solar/settings-linear.js +24 -0
  220. package/dist/components/icons/solar/share-linear.d.ts +2 -0
  221. package/dist/components/icons/solar/share-linear.js +27 -0
  222. package/dist/components/icons/solar/shield-warning-bold.d.ts +2 -0
  223. package/dist/components/icons/solar/shield-warning-bold.js +19 -0
  224. package/dist/components/icons/solar/shield-warning-linear.d.ts +2 -0
  225. package/dist/components/icons/solar/shield-warning-linear.js +36 -0
  226. package/dist/components/icons/solar/smile-circle-linear.d.ts +2 -0
  227. package/dist/components/icons/solar/smile-circle-linear.js +38 -0
  228. package/dist/components/icons/solar/sort-horizontal-linear.d.ts +2 -0
  229. package/dist/components/icons/solar/sort-horizontal-linear.js +22 -0
  230. package/dist/components/icons/solar/sort-vertical-linear.d.ts +2 -0
  231. package/dist/components/icons/solar/sort-vertical-linear.js +22 -0
  232. package/dist/components/icons/solar/soundwave-linear.d.ts +2 -0
  233. package/dist/components/icons/solar/soundwave-linear.js +27 -0
  234. package/dist/components/icons/solar/star-linear.d.ts +2 -0
  235. package/dist/components/icons/solar/star-linear.js +21 -0
  236. package/dist/components/icons/solar/stars-linear.d.ts +2 -0
  237. package/dist/components/icons/solar/stars-linear.js +20 -0
  238. package/dist/components/icons/solar/subtitles-linear.d.ts +2 -0
  239. package/dist/components/icons/solar/subtitles-linear.js +29 -0
  240. package/dist/components/icons/solar/sun-linear.d.ts +2 -0
  241. package/dist/components/icons/solar/sun-linear.js +27 -0
  242. package/dist/components/icons/solar/text-bold-linear.d.ts +2 -0
  243. package/dist/components/icons/solar/text-bold-linear.js +21 -0
  244. package/dist/components/icons/solar/text-format-linear.d.ts +2 -0
  245. package/dist/components/icons/solar/text-format-linear.js +22 -0
  246. package/dist/components/icons/solar/text-italic-linear.d.ts +2 -0
  247. package/dist/components/icons/solar/text-italic-linear.js +22 -0
  248. package/dist/components/icons/solar/text-underline-linear.d.ts +2 -0
  249. package/dist/components/icons/solar/text-underline-linear.js +22 -0
  250. package/dist/components/icons/solar/transfer-horizontal-linear.d.ts +2 -0
  251. package/dist/components/icons/solar/transfer-horizontal-linear.js +22 -0
  252. package/dist/components/icons/solar/transfer-vertical-linear.d.ts +2 -0
  253. package/dist/components/icons/solar/transfer-vertical-linear.js +22 -0
  254. package/dist/components/icons/solar/trash-bin-trash-linear.d.ts +2 -0
  255. package/dist/components/icons/solar/trash-bin-trash-linear.js +27 -0
  256. package/dist/components/icons/solar/user-circle-linear.d.ts +2 -0
  257. package/dist/components/icons/solar/user-circle-linear.js +33 -0
  258. package/dist/components/icons/solar/user-cross-linear.d.ts +2 -0
  259. package/dist/components/icons/solar/user-cross-linear.js +33 -0
  260. package/dist/components/icons/solar/user-linear.d.ts +2 -0
  261. package/dist/components/icons/solar/user-linear.js +25 -0
  262. package/dist/components/icons/solar/users-group-rounded-linear.d.ts +2 -0
  263. package/dist/components/icons/solar/users-group-rounded-linear.js +35 -0
  264. package/dist/components/icons/solar/verified-check-linear.d.ts +2 -0
  265. package/dist/components/icons/solar/verified-check-linear.js +24 -0
  266. package/dist/components/icons/solar/volume-cross-linear.d.ts +2 -0
  267. package/dist/components/icons/solar/volume-cross-linear.js +30 -0
  268. package/dist/components/icons/solar/wallet-linear.d.ts +2 -0
  269. package/dist/components/icons/solar/wallet-linear.js +32 -0
  270. package/dist/components/icons/solar/widget-2-bold.d.ts +2 -0
  271. package/dist/components/icons/solar/widget-2-bold.js +35 -0
  272. package/dist/components/icons/solar/widget-2-linear.d.ts +2 -0
  273. package/dist/components/icons/solar/widget-2-linear.js +20 -0
  274. package/dist/components/icons/solar/widget-4-linear.d.ts +2 -0
  275. package/dist/components/icons/solar/widget-4-linear.js +25 -0
  276. package/dist/components/icons/solar/window-frame-linear.d.ts +2 -0
  277. package/dist/components/icons/solar/window-frame-linear.js +37 -0
  278. package/dist/components/motion/MotionSurface.d.ts +4 -0
  279. package/dist/components/motion/MotionSurface.js +15 -0
  280. package/dist/components/motion/motion-tokens.d.ts +38 -0
  281. package/dist/components/motion/motion-tokens.js +38 -0
  282. package/dist/components/shared/BrandPaletteControl.d.ts +1 -0
  283. package/dist/components/shared/BrandPaletteControl.js +48 -0
  284. package/dist/components/shared/DarkStyleControl.d.ts +3 -0
  285. package/dist/components/shared/DarkStyleControl.js +48 -0
  286. package/dist/components/shared/DataTable.d.ts +29 -0
  287. package/dist/components/shared/DataTable.js +180 -0
  288. package/dist/components/shared/EmptyState.d.ts +11 -0
  289. package/dist/components/shared/EmptyState.js +32 -0
  290. package/dist/components/shared/FrostCard.d.ts +2 -0
  291. package/dist/components/shared/FrostCard.js +11 -0
  292. package/dist/components/shared/MetricCard.d.ts +14 -0
  293. package/dist/components/shared/MetricCard.js +36 -0
  294. package/dist/components/shared/StatusBadge.d.ts +32 -0
  295. package/dist/components/shared/StatusBadge.js +41 -0
  296. package/dist/components/shared/ThemeSwitcher.d.ts +3 -0
  297. package/dist/components/shared/ThemeSwitcher.js +93 -0
  298. package/dist/components/shared/data-table.css +375 -0
  299. package/dist/components/shared/use-data-table.d.ts +22 -0
  300. package/dist/components/shared/use-data-table.js +21 -0
  301. package/dist/components/ui/accordion.d.ts +7 -0
  302. package/dist/components/ui/accordion.js +63 -0
  303. package/dist/components/ui/alert-dialog.d.ts +18 -0
  304. package/dist/components/ui/alert-dialog.js +99 -0
  305. package/dist/components/ui/alert.d.ts +10 -0
  306. package/dist/components/ui/alert.js +42 -0
  307. package/dist/components/ui/aspect-ratio.d.ts +3 -0
  308. package/dist/components/ui/aspect-ratio.js +11 -0
  309. package/dist/components/ui/attachment.d.ts +24 -0
  310. package/dist/components/ui/attachment.js +100 -0
  311. package/dist/components/ui/avatar.d.ts +11 -0
  312. package/dist/components/ui/avatar.js +50 -0
  313. package/dist/components/ui/badge.d.ts +25 -0
  314. package/dist/components/ui/badge.js +52 -0
  315. package/dist/components/ui/breadcrumb.d.ts +11 -0
  316. package/dist/components/ui/breadcrumb.js +82 -0
  317. package/dist/components/ui/bubble.d.ts +17 -0
  318. package/dist/components/ui/bubble.js +71 -0
  319. package/dist/components/ui/button-group.d.ts +11 -0
  320. package/dist/components/ui/button-group.js +39 -0
  321. package/dist/components/ui/button.d.ts +11 -0
  322. package/dist/components/ui/button.js +55 -0
  323. package/dist/components/ui/calendar.d.ts +10 -0
  324. package/dist/components/ui/calendar.js +123 -0
  325. package/dist/components/ui/card.d.ts +11 -0
  326. package/dist/components/ui/card.js +55 -0
  327. package/dist/components/ui/carousel.d.ts +28 -0
  328. package/dist/components/ui/carousel.js +142 -0
  329. package/dist/components/ui/chart.d.ts +44 -0
  330. package/dist/components/ui/chart.js +148 -0
  331. package/dist/components/ui/checkbox.d.ts +4 -0
  332. package/dist/components/ui/checkbox.js +24 -0
  333. package/dist/components/ui/code-block.d.ts +26 -0
  334. package/dist/components/ui/code-block.js +133 -0
  335. package/dist/components/ui/collapsible.d.ts +5 -0
  336. package/dist/components/ui/collapsible.js +23 -0
  337. package/dist/components/ui/combobox.d.ts +24 -0
  338. package/dist/components/ui/combobox.js +188 -0
  339. package/dist/components/ui/command.d.ts +18 -0
  340. package/dist/components/ui/command.js +101 -0
  341. package/dist/components/ui/context-menu.d.ts +31 -0
  342. package/dist/components/ui/context-menu.js +142 -0
  343. package/dist/components/ui/date-picker.d.ts +19 -0
  344. package/dist/components/ui/date-picker.js +107 -0
  345. package/dist/components/ui/dialog.d.ts +20 -0
  346. package/dist/components/ui/dialog.js +121 -0
  347. package/dist/components/ui/direction.d.ts +7 -0
  348. package/dist/components/ui/direction.js +13 -0
  349. package/dist/components/ui/drawer.d.ts +13 -0
  350. package/dist/components/ui/drawer.js +76 -0
  351. package/dist/components/ui/dropdown-menu.d.ts +29 -0
  352. package/dist/components/ui/dropdown-menu.js +141 -0
  353. package/dist/components/ui/empty.d.ts +11 -0
  354. package/dist/components/ui/empty.js +58 -0
  355. package/dist/components/ui/field.d.ts +24 -0
  356. package/dist/components/ui/field.js +109 -0
  357. package/dist/components/ui/hover-card.d.ts +6 -0
  358. package/dist/components/ui/hover-card.js +30 -0
  359. package/dist/components/ui/input-group.d.ts +16 -0
  360. package/dist/components/ui/input-group.js +79 -0
  361. package/dist/components/ui/input-otp.d.ts +11 -0
  362. package/dist/components/ui/input-otp.js +52 -0
  363. package/dist/components/ui/input.d.ts +11 -0
  364. package/dist/components/ui/input.js +20 -0
  365. package/dist/components/ui/item.d.ts +23 -0
  366. package/dist/components/ui/item.js +117 -0
  367. package/dist/components/ui/kbd.d.ts +3 -0
  368. package/dist/components/ui/kbd.js +18 -0
  369. package/dist/components/ui/label.d.ts +4 -0
  370. package/dist/components/ui/label.js +13 -0
  371. package/dist/components/ui/marker.d.ts +11 -0
  372. package/dist/components/ui/marker.js +39 -0
  373. package/dist/components/ui/menubar.d.ts +30 -0
  374. package/dist/components/ui/menubar.js +153 -0
  375. package/dist/components/ui/message-scroller.d.ts +10 -0
  376. package/dist/components/ui/message-scroller.js +65 -0
  377. package/dist/components/ui/message.d.ts +10 -0
  378. package/dist/components/ui/message.js +48 -0
  379. package/dist/components/ui/native-select.d.ts +8 -0
  380. package/dist/components/ui/native-select.js +45 -0
  381. package/dist/components/ui/navigation-menu.d.ts +14 -0
  382. package/dist/components/ui/navigation-menu.js +84 -0
  383. package/dist/components/ui/pagination.d.ts +20 -0
  384. package/dist/components/ui/pagination.js +135 -0
  385. package/dist/components/ui/popover.d.ts +10 -0
  386. package/dist/components/ui/popover.js +54 -0
  387. package/dist/components/ui/popup.css +109 -0
  388. package/dist/components/ui/progress.d.ts +4 -0
  389. package/dist/components/ui/progress.js +20 -0
  390. package/dist/components/ui/questionnaire.d.ts +19 -0
  391. package/dist/components/ui/questionnaire.js +174 -0
  392. package/dist/components/ui/radio-group.d.ts +5 -0
  393. package/dist/components/ui/radio-group.js +25 -0
  394. package/dist/components/ui/resizable.d.ts +7 -0
  395. package/dist/components/ui/resizable.js +27 -0
  396. package/dist/components/ui/scroll-area.d.ts +5 -0
  397. package/dist/components/ui/scroll-area.js +35 -0
  398. package/dist/components/ui/select.css +56 -0
  399. package/dist/components/ui/select.d.ts +22 -0
  400. package/dist/components/ui/select.js +226 -0
  401. package/dist/components/ui/separator.d.ts +4 -0
  402. package/dist/components/ui/separator.js +15 -0
  403. package/dist/components/ui/sheet.d.ts +14 -0
  404. package/dist/components/ui/sheet.js +94 -0
  405. package/dist/components/ui/sidebar.d.ts +69 -0
  406. package/dist/components/ui/sidebar.js +383 -0
  407. package/dist/components/ui/skeleton.d.ts +2 -0
  408. package/dist/components/ui/skeleton.js +11 -0
  409. package/dist/components/ui/slider.d.ts +4 -0
  410. package/dist/components/ui/slider.js +39 -0
  411. package/dist/components/ui/sonner.d.ts +3 -0
  412. package/dist/components/ui/sonner.js +74 -0
  413. package/dist/components/ui/spinner.d.ts +2 -0
  414. package/dist/components/ui/spinner.js +19 -0
  415. package/dist/components/ui/switch.d.ts +6 -0
  416. package/dist/components/ui/switch.js +19 -0
  417. package/dist/components/ui/table.d.ts +12 -0
  418. package/dist/components/ui/table.js +66 -0
  419. package/dist/components/ui/tabs.d.ts +11 -0
  420. package/dist/components/ui/tabs.js +45 -0
  421. package/dist/components/ui/text-field.css +96 -0
  422. package/dist/components/ui/textarea.d.ts +5 -0
  423. package/dist/components/ui/textarea.js +13 -0
  424. package/dist/components/ui/toggle-group.d.ts +10 -0
  425. package/dist/components/ui/toggle-group.js +51 -0
  426. package/dist/components/ui/toggle.d.ts +9 -0
  427. package/dist/components/ui/toggle.js +35 -0
  428. package/dist/components/ui/tooltip.d.ts +7 -0
  429. package/dist/components/ui/tooltip.js +34 -0
  430. package/dist/components/ui/trace.d.ts +18 -0
  431. package/dist/components/ui/trace.js +80 -0
  432. package/dist/hooks/use-mobile.d.ts +1 -0
  433. package/dist/hooks/use-mobile.js +17 -0
  434. package/dist/lib/format.d.ts +3 -0
  435. package/dist/lib/format.js +24 -0
  436. package/dist/lib/storage.d.ts +22 -0
  437. package/dist/lib/storage.js +54 -0
  438. package/dist/lib/ui-labels.d.ts +37 -0
  439. package/dist/lib/ui-labels.js +37 -0
  440. package/dist/lib/utils.d.ts +1 -0
  441. package/dist/lib/utils.js +1 -0
  442. package/dist/styles/dark-base.css +145 -0
  443. package/dist/styles/dark-clean.css +62 -0
  444. package/dist/styles/fonts.css +6 -0
  445. package/dist/styles/globals.css +134 -0
  446. package/dist/styles/icon-states.css +48 -0
  447. package/dist/styles/materials.css +188 -0
  448. package/dist/styles/motion.css +132 -0
  449. package/dist/styles/shadcn.css +642 -0
  450. package/dist/styles/soft-edge.css +60 -0
  451. package/dist/styles/spectrum.css +212 -0
  452. package/dist/styles/tokens.css +1048 -0
  453. package/package.json +116 -3
@@ -0,0 +1,642 @@
1
+ /* Vendored from shadcn@4.23.0 (dist/tailwind.css), MIT License, Copyright (c) 2023 shadcn.
2
+ https://github.com/shadcn-ui/ui — kept verbatim so packages/ui has no runtime
3
+ dependency on the shadcn CLI. Refresh by copying the file again after a
4
+ shadcn upgrade. See THIRD_PARTY_NOTICES.md. */
5
+
6
+ @theme inline {
7
+ @keyframes accordion-down {
8
+ from {
9
+ height: 0;
10
+ }
11
+ to {
12
+ height: var(
13
+ --radix-accordion-content-height,
14
+ var(--accordion-panel-height, auto)
15
+ );
16
+ }
17
+ }
18
+
19
+ @keyframes accordion-up {
20
+ from {
21
+ height: var(
22
+ --radix-accordion-content-height,
23
+ var(--accordion-panel-height, auto)
24
+ );
25
+ }
26
+ to {
27
+ height: 0;
28
+ }
29
+ }
30
+ }
31
+
32
+ /* Custom variants */
33
+ @custom-variant data-open {
34
+ &:where([data-state="open"]),
35
+ &:where([data-open]:not([data-open="false"])) {
36
+ @slot;
37
+ }
38
+ }
39
+
40
+ @custom-variant data-closed {
41
+ &:where([data-state="closed"]),
42
+ &:where([data-closed]:not([data-closed="false"])) {
43
+ @slot;
44
+ }
45
+ }
46
+
47
+ @custom-variant data-checked {
48
+ &:where([data-state="checked"]),
49
+ &:where([data-checked]:not([data-checked="false"])) {
50
+ @slot;
51
+ }
52
+ }
53
+
54
+ @custom-variant data-unchecked {
55
+ &:where([data-state="unchecked"]),
56
+ &:where([data-unchecked]:not([data-unchecked="false"])) {
57
+ @slot;
58
+ }
59
+ }
60
+
61
+ @custom-variant data-selected {
62
+ &:where([data-selected="true"]) {
63
+ @slot;
64
+ }
65
+ }
66
+
67
+ @custom-variant data-disabled {
68
+ &:where([data-disabled="true"]),
69
+ &:where([data-disabled]:not([data-disabled="false"])) {
70
+ @slot;
71
+ }
72
+ }
73
+
74
+ @custom-variant data-active {
75
+ &:where([data-state="active"]),
76
+ &:where([data-active]:not([data-active="false"])) {
77
+ @slot;
78
+ }
79
+ }
80
+
81
+ @custom-variant data-horizontal {
82
+ &:where([data-orientation="horizontal"]) {
83
+ @slot;
84
+ }
85
+ }
86
+
87
+ @custom-variant data-vertical {
88
+ &:where([data-orientation="vertical"]) {
89
+ @slot;
90
+ }
91
+ }
92
+
93
+ @utility no-scrollbar {
94
+ -ms-overflow-style: none;
95
+ scrollbar-width: none;
96
+
97
+ &::-webkit-scrollbar {
98
+ display: none;
99
+ }
100
+ }
101
+
102
+ /* scroll-fade */
103
+ @property --scroll-fade-t {
104
+ syntax: "<length-percentage>";
105
+ inherits: false;
106
+ initial-value: 0px;
107
+ }
108
+ @property --scroll-fade-b {
109
+ syntax: "<length-percentage>";
110
+ inherits: false;
111
+ initial-value: 0px;
112
+ }
113
+ @property --scroll-fade-s {
114
+ syntax: "<length-percentage>";
115
+ inherits: false;
116
+ initial-value: 0px;
117
+ }
118
+ @property --scroll-fade-e {
119
+ syntax: "<length-percentage>";
120
+ inherits: false;
121
+ initial-value: 0px;
122
+ }
123
+ @property --scroll-fade-mask {
124
+ syntax: "*";
125
+ inherits: false;
126
+ }
127
+
128
+ @theme inline {
129
+ @keyframes scroll-fade-reveal-t {
130
+ from {
131
+ --scroll-fade-t: 0px;
132
+ }
133
+ to {
134
+ --scroll-fade-t: var(--_scroll-fade-size-t, var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10))));
135
+ }
136
+ }
137
+ @keyframes scroll-fade-reveal-b {
138
+ from {
139
+ --scroll-fade-b: var(--_scroll-fade-size-b, var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10))));
140
+ }
141
+ to {
142
+ --scroll-fade-b: 0px;
143
+ }
144
+ }
145
+ @keyframes scroll-fade-reveal-s {
146
+ from {
147
+ --scroll-fade-s: 0px;
148
+ }
149
+ to {
150
+ --scroll-fade-s: var(--_scroll-fade-size-s, var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10))));
151
+ }
152
+ }
153
+ @keyframes scroll-fade-reveal-e {
154
+ from {
155
+ --scroll-fade-e: var(--_scroll-fade-size-e, var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10))));
156
+ }
157
+ to {
158
+ --scroll-fade-e: 0px;
159
+ }
160
+ }
161
+ }
162
+
163
+ @utility scroll-fade {
164
+ --_scroll-fade-size-t: var(
165
+ --scroll-fade-t-size,
166
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
167
+ );
168
+ --_scroll-fade-size-b: var(
169
+ --scroll-fade-b-size,
170
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
171
+ );
172
+ --scroll-fade-block: linear-gradient(
173
+ to bottom,
174
+ transparent 0,
175
+ #000 var(--scroll-fade-t, 0px),
176
+ #000 calc(100% - var(--scroll-fade-b, 0px)),
177
+ transparent 100%
178
+ );
179
+ -webkit-mask-image: var(--scroll-fade-mask, var(--scroll-fade-block));
180
+ mask-image: var(--scroll-fade-mask, var(--scroll-fade-block));
181
+ -webkit-mask-composite: source-in;
182
+ mask-composite: intersect;
183
+ -webkit-mask-repeat: no-repeat;
184
+ mask-repeat: no-repeat;
185
+
186
+ @supports (animation-timeline: scroll()) {
187
+ animation:
188
+ scroll-fade-reveal-t 1ms ease-in-out,
189
+ scroll-fade-reveal-b 1ms ease-in-out;
190
+ animation-timeline: scroll(self y), scroll(self y);
191
+ animation-range:
192
+ 0 var(--scroll-fade-reveal, calc(var(--spacing) * 24)),
193
+ calc(100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))) 100%;
194
+ animation-fill-mode: both;
195
+ }
196
+
197
+ @supports not (animation-timeline: scroll()) {
198
+ --scroll-fade-t: var(--_scroll-fade-size-t);
199
+ --scroll-fade-b: var(--_scroll-fade-size-b);
200
+ }
201
+ }
202
+
203
+ @utility scroll-fade-y {
204
+ --_scroll-fade-size-t: var(
205
+ --scroll-fade-t-size,
206
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
207
+ );
208
+ --_scroll-fade-size-b: var(
209
+ --scroll-fade-b-size,
210
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
211
+ );
212
+ --scroll-fade-block: linear-gradient(
213
+ to bottom,
214
+ transparent 0,
215
+ #000 var(--scroll-fade-t, 0px),
216
+ #000 calc(100% - var(--scroll-fade-b, 0px)),
217
+ transparent 100%
218
+ );
219
+ -webkit-mask-image: var(--scroll-fade-mask, var(--scroll-fade-block));
220
+ mask-image: var(--scroll-fade-mask, var(--scroll-fade-block));
221
+ -webkit-mask-composite: source-in;
222
+ mask-composite: intersect;
223
+ -webkit-mask-repeat: no-repeat;
224
+ mask-repeat: no-repeat;
225
+
226
+ @supports (animation-timeline: scroll()) {
227
+ animation:
228
+ scroll-fade-reveal-t 1ms ease-in-out,
229
+ scroll-fade-reveal-b 1ms ease-in-out;
230
+ animation-timeline: scroll(self y), scroll(self y);
231
+ animation-range:
232
+ 0 var(--scroll-fade-reveal, calc(var(--spacing) * 24)),
233
+ calc(100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))) 100%;
234
+ animation-fill-mode: both;
235
+ }
236
+
237
+ @supports not (animation-timeline: scroll()) {
238
+ --scroll-fade-t: var(--_scroll-fade-size-t);
239
+ --scroll-fade-b: var(--_scroll-fade-size-b);
240
+ }
241
+ }
242
+
243
+ @utility scroll-fade-x {
244
+ --_scroll-fade-size-s: var(
245
+ --scroll-fade-s-size,
246
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
247
+ );
248
+ --_scroll-fade-size-e: var(
249
+ --scroll-fade-e-size,
250
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
251
+ );
252
+ --scroll-fade-inline: linear-gradient(
253
+ to right,
254
+ transparent 0,
255
+ #000 var(--scroll-fade-s, 0px),
256
+ #000 calc(100% - var(--scroll-fade-e, 0px)),
257
+ transparent 100%
258
+ );
259
+ &:where([dir="rtl"], [dir="rtl"] *) {
260
+ --scroll-fade-inline: linear-gradient(
261
+ to left,
262
+ transparent 0,
263
+ #000 var(--scroll-fade-s, 0px),
264
+ #000 calc(100% - var(--scroll-fade-e, 0px)),
265
+ transparent 100%
266
+ );
267
+ }
268
+ -webkit-mask-image: var(--scroll-fade-mask, var(--scroll-fade-inline));
269
+ mask-image: var(--scroll-fade-mask, var(--scroll-fade-inline));
270
+ -webkit-mask-composite: source-in;
271
+ mask-composite: intersect;
272
+ -webkit-mask-repeat: no-repeat;
273
+ mask-repeat: no-repeat;
274
+
275
+ @supports (animation-timeline: scroll()) {
276
+ animation:
277
+ scroll-fade-reveal-s 1ms ease-in-out,
278
+ scroll-fade-reveal-e 1ms ease-in-out;
279
+ animation-timeline: scroll(self inline), scroll(self inline);
280
+ animation-range:
281
+ 0 var(--scroll-fade-reveal, calc(var(--spacing) * 24)),
282
+ calc(100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))) 100%;
283
+ animation-fill-mode: both;
284
+ }
285
+
286
+ @supports not (animation-timeline: scroll()) {
287
+ --scroll-fade-s: var(--_scroll-fade-size-s);
288
+ --scroll-fade-e: var(--_scroll-fade-size-e);
289
+ }
290
+ }
291
+
292
+ @utility scroll-fade-t {
293
+ --_scroll-fade-size-t: var(
294
+ --scroll-fade-t-size,
295
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
296
+ );
297
+ --scroll-fade-mask: linear-gradient(
298
+ to bottom,
299
+ transparent 0,
300
+ #000 var(--scroll-fade-t, 0px),
301
+ #000 100%
302
+ );
303
+ -webkit-mask-image: var(--scroll-fade-mask);
304
+ mask-image: var(--scroll-fade-mask);
305
+ -webkit-mask-composite: source-in;
306
+ mask-composite: intersect;
307
+ -webkit-mask-repeat: no-repeat;
308
+ mask-repeat: no-repeat;
309
+
310
+ @supports (animation-timeline: scroll()) {
311
+ animation: scroll-fade-reveal-t 1ms ease-in-out;
312
+ animation-timeline: scroll(self y);
313
+ animation-range: 0 var(--scroll-fade-reveal, calc(var(--spacing) * 24));
314
+ animation-fill-mode: both;
315
+ }
316
+
317
+ @supports not (animation-timeline: scroll()) {
318
+ --scroll-fade-t: var(--_scroll-fade-size-t);
319
+ }
320
+ }
321
+
322
+ @utility scroll-fade-b {
323
+ --_scroll-fade-size-b: var(
324
+ --scroll-fade-b-size,
325
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
326
+ );
327
+ --scroll-fade-mask: linear-gradient(
328
+ to bottom,
329
+ #000 0,
330
+ #000 calc(100% - var(--scroll-fade-b, 0px)),
331
+ transparent 100%
332
+ );
333
+ -webkit-mask-image: var(--scroll-fade-mask);
334
+ mask-image: var(--scroll-fade-mask);
335
+ -webkit-mask-composite: source-in;
336
+ mask-composite: intersect;
337
+ -webkit-mask-repeat: no-repeat;
338
+ mask-repeat: no-repeat;
339
+
340
+ @supports (animation-timeline: scroll()) {
341
+ animation: scroll-fade-reveal-b 1ms ease-in-out;
342
+ animation-timeline: scroll(self y);
343
+ animation-range: calc(
344
+ 100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))
345
+ )
346
+ 100%;
347
+ animation-fill-mode: both;
348
+ }
349
+
350
+ @supports not (animation-timeline: scroll()) {
351
+ --scroll-fade-b: var(--_scroll-fade-size-b);
352
+ }
353
+ }
354
+
355
+ @utility scroll-fade-l {
356
+ --_scroll-fade-size-s: var(
357
+ --scroll-fade-s-size,
358
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
359
+ );
360
+ --scroll-fade-mask: linear-gradient(
361
+ to right,
362
+ transparent 0,
363
+ #000 var(--scroll-fade-s, 0px),
364
+ #000 100%
365
+ );
366
+ -webkit-mask-image: var(--scroll-fade-mask);
367
+ mask-image: var(--scroll-fade-mask);
368
+ -webkit-mask-composite: source-in;
369
+ mask-composite: intersect;
370
+ -webkit-mask-repeat: no-repeat;
371
+ mask-repeat: no-repeat;
372
+
373
+ @supports (animation-timeline: scroll()) {
374
+ animation: scroll-fade-reveal-s 1ms ease-in-out;
375
+ animation-timeline: scroll(self x);
376
+ animation-range: 0 var(--scroll-fade-reveal, calc(var(--spacing) * 24));
377
+ animation-fill-mode: both;
378
+ }
379
+
380
+ @supports not (animation-timeline: scroll()) {
381
+ --scroll-fade-s: var(--_scroll-fade-size-s);
382
+ }
383
+ }
384
+
385
+ @utility scroll-fade-r {
386
+ --_scroll-fade-size-e: var(
387
+ --scroll-fade-e-size,
388
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
389
+ );
390
+ --scroll-fade-mask: linear-gradient(
391
+ to right,
392
+ #000 0,
393
+ #000 calc(100% - var(--scroll-fade-e, 0px)),
394
+ transparent 100%
395
+ );
396
+ -webkit-mask-image: var(--scroll-fade-mask);
397
+ mask-image: var(--scroll-fade-mask);
398
+ -webkit-mask-composite: source-in;
399
+ mask-composite: intersect;
400
+ -webkit-mask-repeat: no-repeat;
401
+ mask-repeat: no-repeat;
402
+
403
+ @supports (animation-timeline: scroll()) {
404
+ animation: scroll-fade-reveal-e 1ms ease-in-out;
405
+ animation-timeline: scroll(self x);
406
+ animation-range: calc(
407
+ 100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))
408
+ )
409
+ 100%;
410
+ animation-fill-mode: both;
411
+ }
412
+
413
+ @supports not (animation-timeline: scroll()) {
414
+ --scroll-fade-e: var(--_scroll-fade-size-e);
415
+ }
416
+ }
417
+
418
+ @utility scroll-fade-s {
419
+ --_scroll-fade-size-s: var(
420
+ --scroll-fade-s-size,
421
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
422
+ );
423
+ --scroll-fade-mask: linear-gradient(
424
+ to right,
425
+ transparent 0,
426
+ #000 var(--scroll-fade-s, 0px),
427
+ #000 100%
428
+ );
429
+ &:where([dir="rtl"], [dir="rtl"] *) {
430
+ --scroll-fade-mask: linear-gradient(
431
+ to left,
432
+ transparent 0,
433
+ #000 var(--scroll-fade-s, 0px),
434
+ #000 100%
435
+ );
436
+ }
437
+ -webkit-mask-image: var(--scroll-fade-mask);
438
+ mask-image: var(--scroll-fade-mask);
439
+ -webkit-mask-composite: source-in;
440
+ mask-composite: intersect;
441
+ -webkit-mask-repeat: no-repeat;
442
+ mask-repeat: no-repeat;
443
+
444
+ @supports (animation-timeline: scroll()) {
445
+ animation: scroll-fade-reveal-s 1ms ease-in-out;
446
+ animation-timeline: scroll(self inline);
447
+ animation-range: 0 var(--scroll-fade-reveal, calc(var(--spacing) * 24));
448
+ animation-fill-mode: both;
449
+ }
450
+
451
+ @supports not (animation-timeline: scroll()) {
452
+ --scroll-fade-s: var(--_scroll-fade-size-s);
453
+ }
454
+ }
455
+
456
+ @utility scroll-fade-e {
457
+ --_scroll-fade-size-e: var(
458
+ --scroll-fade-e-size,
459
+ var(--scroll-fade-size, min(12%, calc(var(--spacing) * 10)))
460
+ );
461
+ --scroll-fade-mask: linear-gradient(
462
+ to right,
463
+ #000 0,
464
+ #000 calc(100% - var(--scroll-fade-e, 0px)),
465
+ transparent 100%
466
+ );
467
+ &:where([dir="rtl"], [dir="rtl"] *) {
468
+ --scroll-fade-mask: linear-gradient(
469
+ to left,
470
+ #000 0,
471
+ #000 calc(100% - var(--scroll-fade-e, 0px)),
472
+ transparent 100%
473
+ );
474
+ }
475
+ -webkit-mask-image: var(--scroll-fade-mask);
476
+ mask-image: var(--scroll-fade-mask);
477
+ -webkit-mask-composite: source-in;
478
+ mask-composite: intersect;
479
+ -webkit-mask-repeat: no-repeat;
480
+ mask-repeat: no-repeat;
481
+
482
+ @supports (animation-timeline: scroll()) {
483
+ animation: scroll-fade-reveal-e 1ms ease-in-out;
484
+ animation-timeline: scroll(self inline);
485
+ animation-range: calc(
486
+ 100% - var(--scroll-fade-reveal, calc(var(--spacing) * 24))
487
+ )
488
+ 100%;
489
+ animation-fill-mode: both;
490
+ }
491
+
492
+ @supports not (animation-timeline: scroll()) {
493
+ --scroll-fade-e: var(--_scroll-fade-size-e);
494
+ }
495
+ }
496
+
497
+ @utility scroll-fade-* {
498
+ --scroll-fade-size: calc(var(--spacing) * --value(integer));
499
+ --scroll-fade-size: --value([length], [percentage]);
500
+ }
501
+
502
+ @utility scroll-fade-t-* {
503
+ --scroll-fade-t-size: calc(var(--spacing) * --value(integer));
504
+ --scroll-fade-t-size: --value([length], [percentage]);
505
+ }
506
+
507
+ @utility scroll-fade-b-* {
508
+ --scroll-fade-b-size: calc(var(--spacing) * --value(integer));
509
+ --scroll-fade-b-size: --value([length], [percentage]);
510
+ }
511
+
512
+ @utility scroll-fade-s-* {
513
+ --scroll-fade-s-size: calc(var(--spacing) * --value(integer));
514
+ --scroll-fade-s-size: --value([length], [percentage]);
515
+ }
516
+
517
+ @utility scroll-fade-e-* {
518
+ --scroll-fade-e-size: calc(var(--spacing) * --value(integer));
519
+ --scroll-fade-e-size: --value([length], [percentage]);
520
+ }
521
+
522
+ @utility scroll-fade-none {
523
+ --scroll-fade-mask: none;
524
+ }
525
+
526
+ /* shimmer */
527
+ @property --shimmer-angle {
528
+ syntax: "<angle>";
529
+ inherits: true;
530
+ initial-value: 20deg;
531
+ }
532
+ @property --shimmer-image {
533
+ syntax: "*";
534
+ inherits: false;
535
+ }
536
+ @property --shimmer-text-fill {
537
+ syntax: "*";
538
+ inherits: false;
539
+ }
540
+
541
+ @theme inline {
542
+ @keyframes tw-shimmer {
543
+ from {
544
+ background-position: 100% 0;
545
+ }
546
+ to {
547
+ background-position: 0 0;
548
+ }
549
+ }
550
+ }
551
+
552
+ @utility shimmer {
553
+ --_spread: var(--shimmer-spread, calc(3ch + 40px));
554
+ --_base: currentColor;
555
+ --_highlight: var(
556
+ --shimmer-color,
557
+ oklch(from currentColor l c h / calc(alpha* 0.2))
558
+ );
559
+
560
+ background-image: var(
561
+ --shimmer-image,
562
+ linear-gradient(
563
+ calc(90deg + var(--shimmer-angle)),
564
+ var(--_base) calc(50% - var(--_spread)),
565
+ color-mix(in oklch, var(--_highlight), var(--_base) 50%)
566
+ calc(50% - var(--_spread) * 0.5),
567
+ var(--_highlight) 50%,
568
+ color-mix(in oklch, var(--_highlight), var(--_base) 50%)
569
+ calc(50% + var(--_spread) * 0.5),
570
+ var(--_base) calc(50% + var(--_spread))
571
+ )
572
+ );
573
+ background-repeat: no-repeat;
574
+ background-size: calc(200% + var(--_spread) * 2) 100%;
575
+ background-position: 0 0;
576
+ background-clip: text;
577
+ -webkit-background-clip: text;
578
+ -webkit-text-fill-color: var(--shimmer-text-fill, transparent);
579
+ animation: tw-shimmer var(--shimmer-duration, 2s) linear infinite;
580
+
581
+ @variant dark {
582
+ --_highlight: var(
583
+ --shimmer-color,
584
+ oklch(from currentColor max(0.8, calc(l + 0.4)) c h / calc(alpha + 0.4))
585
+ );
586
+ }
587
+
588
+ &:where([dir="rtl"], [dir="rtl"] *) {
589
+ animation-direction: reverse;
590
+ }
591
+
592
+ @media (prefers-reduced-motion: reduce) {
593
+ animation: none;
594
+ background-image: none;
595
+ -webkit-text-fill-color: currentColor;
596
+ }
597
+ }
598
+
599
+ @utility shimmer-once {
600
+ animation-iteration-count: 1;
601
+ }
602
+
603
+ @utility shimmer-reverse {
604
+ animation-direction: reverse;
605
+ }
606
+
607
+ @utility shimmer-none {
608
+ --shimmer-image: none;
609
+ --shimmer-text-fill: currentColor;
610
+ }
611
+
612
+ @utility shimmer-color-* {
613
+ --shimmer-color: --value(--color, [color]);
614
+ --shimmer-color: color-mix(
615
+ in oklch,
616
+ --value(--color, [color]) calc(--modifier(integer) * 1%),
617
+ transparent
618
+ );
619
+ }
620
+
621
+ @utility shimmer-duration-* {
622
+ --shimmer-duration: calc(--value(integer) * 1ms);
623
+ }
624
+
625
+ @utility shimmer-spread-* {
626
+ --shimmer-spread: calc(var(--spacing) * --value(integer));
627
+ --shimmer-spread: --value([length], [percentage]);
628
+ }
629
+
630
+ @utility shimmer-angle-* {
631
+ --shimmer-angle: calc(--value(integer) * 1deg);
632
+ }
633
+
634
+ /* Kept for backwards compatibility. Unlayered, so it still wins over other
635
+ utilities on a plain .shimmer element. Variants are handled in the utility. */
636
+ @media (prefers-reduced-motion: reduce) {
637
+ .shimmer {
638
+ animation: none;
639
+ background-image: none;
640
+ -webkit-text-fill-color: currentColor;
641
+ }
642
+ }
@@ -0,0 +1,60 @@
1
+ /* Soft scroll edges: content that scrolls out of a container fades away instead
2
+ of being cut by a hard edge. The fade only appears on a side that actually
3
+ has more content (driven by the scroll position), so a list at rest keeps
4
+ its first and last rows fully visible. Where scroll-driven animation is
5
+ unsupported the container simply keeps its normal edge. */
6
+ @property --soft-edge-start {
7
+ syntax: "<length>";
8
+ inherits: false;
9
+ initial-value: 0px;
10
+ }
11
+
12
+ @property --soft-edge-end {
13
+ syntax: "<length>";
14
+ inherits: false;
15
+ initial-value: 0px;
16
+ }
17
+
18
+ @keyframes soft-edge {
19
+ 0% {
20
+ --soft-edge-start: 0px;
21
+ --soft-edge-end: 16px;
22
+ }
23
+ 3% {
24
+ --soft-edge-start: 16px;
25
+ }
26
+ 97% {
27
+ --soft-edge-end: 16px;
28
+ }
29
+ 100% {
30
+ --soft-edge-start: 16px;
31
+ --soft-edge-end: 0px;
32
+ }
33
+ }
34
+
35
+ @supports (animation-timeline: scroll()) {
36
+ :is(
37
+ .workspace-directory,
38
+ .mobile-directory-panel,
39
+ .bill-drawer-body,
40
+ .copilot-history,
41
+ .activity-viewport,
42
+ .motion-scroll,
43
+ [data-slot="command-list"],
44
+ [data-slot="select-content"] [data-radix-select-viewport],
45
+ [data-slot="combobox-list"]
46
+ ) {
47
+ mask-image: linear-gradient(
48
+ to bottom,
49
+ transparent 0,
50
+ #000 var(--soft-edge-start),
51
+ #000 calc(100% - var(--soft-edge-end)),
52
+ transparent 100%
53
+ );
54
+ animation: soft-edge linear both;
55
+ animation-timeline: scroll(self);
56
+ }
57
+ }
58
+
59
+ /* The attention list carries its own edge fade (looping mode only) and the
60
+ activity list uses the scroll-driven one above. */