@usalyt/ui 0.0.0-stage → 0.0.2

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 (979) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/LICENSE +21 -0
  3. package/NOTICE +31 -0
  4. package/README.md +147 -2
  5. package/THIRD_PARTY_NOTICES.md +446 -0
  6. package/dist/app-shell-layout-BwhU0DNY.cjs +120 -0
  7. package/dist/app-shell-layout-Dpl6jPni.mjs +115 -0
  8. package/dist/app-shell-layout-Dpl6jPni.mjs.map +1 -0
  9. package/dist/aspect-ratio-D-UR6be8.cjs +36 -0
  10. package/dist/aspect-ratio-DkBx-nZ0.mjs +31 -0
  11. package/dist/aspect-ratio-DkBx-nZ0.mjs.map +1 -0
  12. package/dist/blocks/app-shell-layout/index.cjs +4 -0
  13. package/dist/blocks/app-shell-layout/index.d.cts +2 -0
  14. package/dist/blocks/app-shell-layout/index.d.mts +2 -0
  15. package/dist/blocks/app-shell-layout/index.mjs +3 -0
  16. package/dist/blocks/auth-form/index.cjs +110 -0
  17. package/dist/blocks/auth-form/index.d.cts +25 -0
  18. package/dist/blocks/auth-form/index.d.cts.map +1 -0
  19. package/dist/blocks/auth-form/index.d.mts +25 -0
  20. package/dist/blocks/auth-form/index.d.mts.map +1 -0
  21. package/dist/blocks/auth-form/index.mjs +109 -0
  22. package/dist/blocks/auth-form/index.mjs.map +1 -0
  23. package/dist/blocks/collaboration-chat-panel/index.cjs +4 -0
  24. package/dist/blocks/collaboration-chat-panel/index.d.cts +2 -0
  25. package/dist/blocks/collaboration-chat-panel/index.d.mts +2 -0
  26. package/dist/blocks/collaboration-chat-panel/index.mjs +3 -0
  27. package/dist/blocks/color-palette-sheet/index.cjs +191 -0
  28. package/dist/blocks/color-palette-sheet/index.d.cts +42 -0
  29. package/dist/blocks/color-palette-sheet/index.d.cts.map +1 -0
  30. package/dist/blocks/color-palette-sheet/index.d.mts +42 -0
  31. package/dist/blocks/color-palette-sheet/index.d.mts.map +1 -0
  32. package/dist/blocks/color-palette-sheet/index.mjs +190 -0
  33. package/dist/blocks/color-palette-sheet/index.mjs.map +1 -0
  34. package/dist/blocks/dashboard-header/index.cjs +91 -0
  35. package/dist/blocks/dashboard-header/index.d.cts +19 -0
  36. package/dist/blocks/dashboard-header/index.d.cts.map +1 -0
  37. package/dist/blocks/dashboard-header/index.d.mts +19 -0
  38. package/dist/blocks/dashboard-header/index.d.mts.map +1 -0
  39. package/dist/blocks/dashboard-header/index.mjs +90 -0
  40. package/dist/blocks/dashboard-header/index.mjs.map +1 -0
  41. package/dist/blocks/data-table-with-filters/index.cjs +87 -0
  42. package/dist/blocks/data-table-with-filters/index.d.cts +19 -0
  43. package/dist/blocks/data-table-with-filters/index.d.cts.map +1 -0
  44. package/dist/blocks/data-table-with-filters/index.d.mts +19 -0
  45. package/dist/blocks/data-table-with-filters/index.d.mts.map +1 -0
  46. package/dist/blocks/data-table-with-filters/index.mjs +86 -0
  47. package/dist/blocks/data-table-with-filters/index.mjs.map +1 -0
  48. package/dist/blocks/empty-state-block/index.cjs +4 -0
  49. package/dist/blocks/empty-state-block/index.d.cts +2 -0
  50. package/dist/blocks/empty-state-block/index.d.mts +2 -0
  51. package/dist/blocks/empty-state-block/index.mjs +3 -0
  52. package/dist/blocks/evaluation-summary-report/index.cjs +4 -0
  53. package/dist/blocks/evaluation-summary-report/index.d.cts +2 -0
  54. package/dist/blocks/evaluation-summary-report/index.d.mts +2 -0
  55. package/dist/blocks/evaluation-summary-report/index.mjs +3 -0
  56. package/dist/blocks/form-with-validation/index.cjs +122 -0
  57. package/dist/blocks/form-with-validation/index.d.cts +27 -0
  58. package/dist/blocks/form-with-validation/index.d.cts.map +1 -0
  59. package/dist/blocks/form-with-validation/index.d.mts +27 -0
  60. package/dist/blocks/form-with-validation/index.d.mts.map +1 -0
  61. package/dist/blocks/form-with-validation/index.mjs +120 -0
  62. package/dist/blocks/form-with-validation/index.mjs.map +1 -0
  63. package/dist/blocks/heuristic-finding-card/index.cjs +4 -0
  64. package/dist/blocks/heuristic-finding-card/index.d.cts +2 -0
  65. package/dist/blocks/heuristic-finding-card/index.d.mts +2 -0
  66. package/dist/blocks/heuristic-finding-card/index.mjs +3 -0
  67. package/dist/blocks/inspector-split-view/index.cjs +4 -0
  68. package/dist/blocks/inspector-split-view/index.d.cts +2 -0
  69. package/dist/blocks/inspector-split-view/index.d.mts +2 -0
  70. package/dist/blocks/inspector-split-view/index.mjs +3 -0
  71. package/dist/blocks/instrument-metrics-grid/index.cjs +225 -0
  72. package/dist/blocks/instrument-metrics-grid/index.d.cts +32 -0
  73. package/dist/blocks/instrument-metrics-grid/index.d.cts.map +1 -0
  74. package/dist/blocks/instrument-metrics-grid/index.d.mts +32 -0
  75. package/dist/blocks/instrument-metrics-grid/index.d.mts.map +1 -0
  76. package/dist/blocks/instrument-metrics-grid/index.mjs +224 -0
  77. package/dist/blocks/instrument-metrics-grid/index.mjs.map +1 -0
  78. package/dist/blocks/project-kanban-board/index.cjs +4 -0
  79. package/dist/blocks/project-kanban-board/index.d.cts +2 -0
  80. package/dist/blocks/project-kanban-board/index.d.mts +2 -0
  81. package/dist/blocks/project-kanban-board/index.mjs +3 -0
  82. package/dist/blocks/schedule-timeline-board/index.cjs +327 -0
  83. package/dist/blocks/schedule-timeline-board/index.d.cts +51 -0
  84. package/dist/blocks/schedule-timeline-board/index.d.cts.map +1 -0
  85. package/dist/blocks/schedule-timeline-board/index.d.mts +51 -0
  86. package/dist/blocks/schedule-timeline-board/index.d.mts.map +1 -0
  87. package/dist/blocks/schedule-timeline-board/index.mjs +326 -0
  88. package/dist/blocks/schedule-timeline-board/index.mjs.map +1 -0
  89. package/dist/blocks/stats-card-grid/index.cjs +55 -0
  90. package/dist/blocks/stats-card-grid/index.d.cts +22 -0
  91. package/dist/blocks/stats-card-grid/index.d.cts.map +1 -0
  92. package/dist/blocks/stats-card-grid/index.d.mts +22 -0
  93. package/dist/blocks/stats-card-grid/index.d.mts.map +1 -0
  94. package/dist/blocks/stats-card-grid/index.mjs +54 -0
  95. package/dist/blocks/stats-card-grid/index.mjs.map +1 -0
  96. package/dist/blocks/team-members-table/index.cjs +4 -0
  97. package/dist/blocks/team-members-table/index.d.cts +2 -0
  98. package/dist/blocks/team-members-table/index.d.mts +2 -0
  99. package/dist/blocks/team-members-table/index.mjs +3 -0
  100. package/dist/carousel-BvB82spx.mjs +138 -0
  101. package/dist/carousel-BvB82spx.mjs.map +1 -0
  102. package/dist/carousel-DU60VwEf.cjs +174 -0
  103. package/dist/collaboration-chat-panel-BO-k0fqo.mjs +113 -0
  104. package/dist/collaboration-chat-panel-BO-k0fqo.mjs.map +1 -0
  105. package/dist/collaboration-chat-panel-CR14FNw6.cjs +118 -0
  106. package/dist/color-swatch-XzO6dwhR.mjs +47 -0
  107. package/dist/color-swatch-XzO6dwhR.mjs.map +1 -0
  108. package/dist/color-swatch-nICTKGMP.cjs +58 -0
  109. package/dist/components/accordion/index.cjs +44 -0
  110. package/dist/components/accordion/index.d.cts +11 -0
  111. package/dist/components/accordion/index.d.cts.map +1 -0
  112. package/dist/components/accordion/index.d.mts +11 -0
  113. package/dist/components/accordion/index.d.mts.map +1 -0
  114. package/dist/components/accordion/index.mjs +39 -0
  115. package/dist/components/accordion/index.mjs.map +1 -0
  116. package/dist/components/alert/index.cjs +46 -0
  117. package/dist/components/alert/index.d.cts +14 -0
  118. package/dist/components/alert/index.d.cts.map +1 -0
  119. package/dist/components/alert/index.d.mts +14 -0
  120. package/dist/components/alert/index.d.mts.map +1 -0
  121. package/dist/components/alert/index.mjs +42 -0
  122. package/dist/components/alert/index.mjs.map +1 -0
  123. package/dist/components/alert-dialog/index.cjs +61 -0
  124. package/dist/components/alert-dialog/index.d.cts +23 -0
  125. package/dist/components/alert-dialog/index.d.cts.map +1 -0
  126. package/dist/components/alert-dialog/index.d.mts +23 -0
  127. package/dist/components/alert-dialog/index.d.mts.map +1 -0
  128. package/dist/components/alert-dialog/index.mjs +50 -0
  129. package/dist/components/alert-dialog/index.mjs.map +1 -0
  130. package/dist/components/aspect-ratio/index.cjs +4 -0
  131. package/dist/components/aspect-ratio/index.d.cts +2 -0
  132. package/dist/components/aspect-ratio/index.d.mts +2 -0
  133. package/dist/components/aspect-ratio/index.mjs +3 -0
  134. package/dist/components/avatar/index.cjs +42 -0
  135. package/dist/components/avatar/index.d.cts +14 -0
  136. package/dist/components/avatar/index.d.cts.map +1 -0
  137. package/dist/components/avatar/index.d.mts +14 -0
  138. package/dist/components/avatar/index.d.mts.map +1 -0
  139. package/dist/components/avatar/index.mjs +38 -0
  140. package/dist/components/avatar/index.mjs.map +1 -0
  141. package/dist/components/badge/index.cjs +38 -0
  142. package/dist/components/badge/index.d.cts +11 -0
  143. package/dist/components/badge/index.d.cts.map +1 -0
  144. package/dist/components/badge/index.d.mts +11 -0
  145. package/dist/components/badge/index.d.mts.map +1 -0
  146. package/dist/components/badge/index.mjs +36 -0
  147. package/dist/components/badge/index.mjs.map +1 -0
  148. package/dist/components/breadcrumb/index.cjs +70 -0
  149. package/dist/components/breadcrumb/index.d.cts +18 -0
  150. package/dist/components/breadcrumb/index.d.cts.map +1 -0
  151. package/dist/components/breadcrumb/index.d.mts +18 -0
  152. package/dist/components/breadcrumb/index.d.mts.map +1 -0
  153. package/dist/components/breadcrumb/index.mjs +63 -0
  154. package/dist/components/breadcrumb/index.mjs.map +1 -0
  155. package/dist/components/button/index.cjs +100 -0
  156. package/dist/components/button/index.d.cts +2 -0
  157. package/dist/components/button/index.d.mts +2 -0
  158. package/dist/components/button/index.mjs +98 -0
  159. package/dist/components/button/index.mjs.map +1 -0
  160. package/dist/components/calendar/index.cjs +125 -0
  161. package/dist/components/calendar/index.d.cts +12 -0
  162. package/dist/components/calendar/index.d.cts.map +1 -0
  163. package/dist/components/calendar/index.d.mts +12 -0
  164. package/dist/components/calendar/index.d.mts.map +1 -0
  165. package/dist/components/calendar/index.mjs +124 -0
  166. package/dist/components/calendar/index.mjs.map +1 -0
  167. package/dist/components/card/index.cjs +65 -0
  168. package/dist/components/card/index.d.cts +16 -0
  169. package/dist/components/card/index.d.cts.map +1 -0
  170. package/dist/components/card/index.d.mts +16 -0
  171. package/dist/components/card/index.d.mts.map +1 -0
  172. package/dist/components/card/index.mjs +58 -0
  173. package/dist/components/card/index.mjs.map +1 -0
  174. package/dist/components/carousel/index.cjs +9 -0
  175. package/dist/components/carousel/index.d.cts +2 -0
  176. package/dist/components/carousel/index.d.mts +2 -0
  177. package/dist/components/carousel/index.mjs +3 -0
  178. package/dist/components/chart/index.cjs +63 -0
  179. package/dist/components/chart/index.d.cts +21 -0
  180. package/dist/components/chart/index.d.cts.map +1 -0
  181. package/dist/components/chart/index.d.mts +21 -0
  182. package/dist/components/chart/index.d.mts.map +1 -0
  183. package/dist/components/chart/index.mjs +60 -0
  184. package/dist/components/chart/index.mjs.map +1 -0
  185. package/dist/components/checkbox/index.cjs +34 -0
  186. package/dist/components/checkbox/index.d.cts +10 -0
  187. package/dist/components/checkbox/index.d.cts.map +1 -0
  188. package/dist/components/checkbox/index.d.mts +10 -0
  189. package/dist/components/checkbox/index.d.mts.map +1 -0
  190. package/dist/components/checkbox/index.mjs +33 -0
  191. package/dist/components/checkbox/index.mjs.map +1 -0
  192. package/dist/components/collapsible/index.cjs +22 -0
  193. package/dist/components/collapsible/index.d.cts +8 -0
  194. package/dist/components/collapsible/index.d.cts.map +1 -0
  195. package/dist/components/collapsible/index.d.mts +8 -0
  196. package/dist/components/collapsible/index.d.mts.map +1 -0
  197. package/dist/components/collapsible/index.mjs +19 -0
  198. package/dist/components/collapsible/index.mjs.map +1 -0
  199. package/dist/components/color-swatch/index.cjs +5 -0
  200. package/dist/components/color-swatch/index.d.cts +2 -0
  201. package/dist/components/color-swatch/index.d.mts +2 -0
  202. package/dist/components/color-swatch/index.mjs +3 -0
  203. package/dist/components/combobox/index.cjs +192 -0
  204. package/dist/components/combobox/index.d.cts +27 -0
  205. package/dist/components/combobox/index.d.cts.map +1 -0
  206. package/dist/components/combobox/index.d.mts +27 -0
  207. package/dist/components/combobox/index.d.mts.map +1 -0
  208. package/dist/components/combobox/index.mjs +191 -0
  209. package/dist/components/combobox/index.mjs.map +1 -0
  210. package/dist/components/command/index.cjs +96 -0
  211. package/dist/components/command/index.d.cts +75 -0
  212. package/dist/components/command/index.d.cts.map +1 -0
  213. package/dist/components/command/index.d.mts +75 -0
  214. package/dist/components/command/index.d.mts.map +1 -0
  215. package/dist/components/command/index.mjs +88 -0
  216. package/dist/components/command/index.mjs.map +1 -0
  217. package/dist/components/context-menu/index.cjs +55 -0
  218. package/dist/components/context-menu/index.d.cts +19 -0
  219. package/dist/components/context-menu/index.d.cts.map +1 -0
  220. package/dist/components/context-menu/index.d.mts +19 -0
  221. package/dist/components/context-menu/index.d.mts.map +1 -0
  222. package/dist/components/context-menu/index.mjs +47 -0
  223. package/dist/components/context-menu/index.mjs.map +1 -0
  224. package/dist/components/copy-button/index.cjs +4 -0
  225. package/dist/components/copy-button/index.d.cts +2 -0
  226. package/dist/components/copy-button/index.d.mts +2 -0
  227. package/dist/components/copy-button/index.mjs +3 -0
  228. package/dist/components/data-table/index.cjs +152 -0
  229. package/dist/components/data-table/index.d.cts +20 -0
  230. package/dist/components/data-table/index.d.cts.map +1 -0
  231. package/dist/components/data-table/index.d.mts +20 -0
  232. package/dist/components/data-table/index.d.mts.map +1 -0
  233. package/dist/components/data-table/index.mjs +150 -0
  234. package/dist/components/data-table/index.mjs.map +1 -0
  235. package/dist/components/date-picker/index.cjs +48 -0
  236. package/dist/components/date-picker/index.d.cts +13 -0
  237. package/dist/components/date-picker/index.d.cts.map +1 -0
  238. package/dist/components/date-picker/index.d.mts +13 -0
  239. package/dist/components/date-picker/index.d.mts.map +1 -0
  240. package/dist/components/date-picker/index.mjs +47 -0
  241. package/dist/components/date-picker/index.mjs.map +1 -0
  242. package/dist/components/dialog/index.cjs +68 -0
  243. package/dist/components/dialog/index.d.cts +24 -0
  244. package/dist/components/dialog/index.d.cts.map +1 -0
  245. package/dist/components/dialog/index.d.mts +24 -0
  246. package/dist/components/dialog/index.d.mts.map +1 -0
  247. package/dist/components/dialog/index.mjs +58 -0
  248. package/dist/components/dialog/index.mjs.map +1 -0
  249. package/dist/components/drawer/index.cjs +61 -0
  250. package/dist/components/drawer/index.d.cts +24 -0
  251. package/dist/components/drawer/index.d.cts.map +1 -0
  252. package/dist/components/drawer/index.d.mts +24 -0
  253. package/dist/components/drawer/index.d.mts.map +1 -0
  254. package/dist/components/drawer/index.mjs +51 -0
  255. package/dist/components/drawer/index.mjs.map +1 -0
  256. package/dist/components/dropdown-menu/index.cjs +58 -0
  257. package/dist/components/dropdown-menu/index.d.cts +21 -0
  258. package/dist/components/dropdown-menu/index.d.cts.map +1 -0
  259. package/dist/components/dropdown-menu/index.d.mts +21 -0
  260. package/dist/components/dropdown-menu/index.d.mts.map +1 -0
  261. package/dist/components/dropdown-menu/index.mjs +49 -0
  262. package/dist/components/dropdown-menu/index.mjs.map +1 -0
  263. package/dist/components/file-input/index.cjs +60 -0
  264. package/dist/components/file-input/index.d.cts +11 -0
  265. package/dist/components/file-input/index.d.cts.map +1 -0
  266. package/dist/components/file-input/index.d.mts +11 -0
  267. package/dist/components/file-input/index.d.mts.map +1 -0
  268. package/dist/components/file-input/index.mjs +59 -0
  269. package/dist/components/file-input/index.mjs.map +1 -0
  270. package/dist/components/form/index.cjs +121 -0
  271. package/dist/components/form/index.d.cts +26 -0
  272. package/dist/components/form/index.d.cts.map +1 -0
  273. package/dist/components/form/index.d.mts +26 -0
  274. package/dist/components/form/index.d.mts.map +1 -0
  275. package/dist/components/form/index.mjs +113 -0
  276. package/dist/components/form/index.mjs.map +1 -0
  277. package/dist/components/hover-card/index.cjs +57 -0
  278. package/dist/components/hover-card/index.d.cts +43 -0
  279. package/dist/components/hover-card/index.d.cts.map +1 -0
  280. package/dist/components/hover-card/index.d.mts +43 -0
  281. package/dist/components/hover-card/index.d.mts.map +1 -0
  282. package/dist/components/hover-card/index.mjs +53 -0
  283. package/dist/components/hover-card/index.mjs.map +1 -0
  284. package/dist/components/input/index.cjs +33 -0
  285. package/dist/components/input/index.d.cts +11 -0
  286. package/dist/components/input/index.d.cts.map +1 -0
  287. package/dist/components/input/index.d.mts +11 -0
  288. package/dist/components/input/index.d.mts.map +1 -0
  289. package/dist/components/input/index.mjs +31 -0
  290. package/dist/components/input/index.mjs.map +1 -0
  291. package/dist/components/input-otp/index.cjs +7 -0
  292. package/dist/components/input-otp/index.d.cts +2 -0
  293. package/dist/components/input-otp/index.d.mts +2 -0
  294. package/dist/components/input-otp/index.mjs +3 -0
  295. package/dist/components/kbd/index.cjs +5 -0
  296. package/dist/components/kbd/index.d.cts +2 -0
  297. package/dist/components/kbd/index.d.mts +2 -0
  298. package/dist/components/kbd/index.mjs +3 -0
  299. package/dist/components/label/index.cjs +24 -0
  300. package/dist/components/label/index.d.cts +2 -0
  301. package/dist/components/label/index.d.mts +2 -0
  302. package/dist/components/label/index.mjs +22 -0
  303. package/dist/components/label/index.mjs.map +1 -0
  304. package/dist/components/menubar/index.cjs +63 -0
  305. package/dist/components/menubar/index.d.cts +19 -0
  306. package/dist/components/menubar/index.d.cts.map +1 -0
  307. package/dist/components/menubar/index.d.mts +19 -0
  308. package/dist/components/menubar/index.d.mts.map +1 -0
  309. package/dist/components/menubar/index.mjs +55 -0
  310. package/dist/components/menubar/index.mjs.map +1 -0
  311. package/dist/components/navigation-menu/index.cjs +62 -0
  312. package/dist/components/navigation-menu/index.d.cts +27 -0
  313. package/dist/components/navigation-menu/index.d.cts.map +1 -0
  314. package/dist/components/navigation-menu/index.d.mts +27 -0
  315. package/dist/components/navigation-menu/index.d.mts.map +1 -0
  316. package/dist/components/navigation-menu/index.mjs +56 -0
  317. package/dist/components/navigation-menu/index.mjs.map +1 -0
  318. package/dist/components/number-field/index.cjs +41 -0
  319. package/dist/components/number-field/index.d.cts +11 -0
  320. package/dist/components/number-field/index.d.cts.map +1 -0
  321. package/dist/components/number-field/index.d.mts +11 -0
  322. package/dist/components/number-field/index.d.mts.map +1 -0
  323. package/dist/components/number-field/index.mjs +37 -0
  324. package/dist/components/number-field/index.mjs.map +1 -0
  325. package/dist/components/pagination/index.cjs +10 -0
  326. package/dist/components/pagination/index.d.cts +2 -0
  327. package/dist/components/pagination/index.d.mts +2 -0
  328. package/dist/components/pagination/index.mjs +3 -0
  329. package/dist/components/popover/index.cjs +29 -0
  330. package/dist/components/popover/index.d.cts +14 -0
  331. package/dist/components/popover/index.d.cts.map +1 -0
  332. package/dist/components/popover/index.d.mts +14 -0
  333. package/dist/components/popover/index.d.mts.map +1 -0
  334. package/dist/components/popover/index.mjs +24 -0
  335. package/dist/components/popover/index.mjs.map +1 -0
  336. package/dist/components/progress/index.cjs +94 -0
  337. package/dist/components/progress/index.d.cts +20 -0
  338. package/dist/components/progress/index.d.cts.map +1 -0
  339. package/dist/components/progress/index.d.mts +20 -0
  340. package/dist/components/progress/index.d.mts.map +1 -0
  341. package/dist/components/progress/index.mjs +91 -0
  342. package/dist/components/progress/index.mjs.map +1 -0
  343. package/dist/components/radio-group/index.cjs +43 -0
  344. package/dist/components/radio-group/index.d.cts +17 -0
  345. package/dist/components/radio-group/index.d.cts.map +1 -0
  346. package/dist/components/radio-group/index.d.mts +17 -0
  347. package/dist/components/radio-group/index.d.mts.map +1 -0
  348. package/dist/components/radio-group/index.mjs +41 -0
  349. package/dist/components/radio-group/index.mjs.map +1 -0
  350. package/dist/components/rating/index.cjs +4 -0
  351. package/dist/components/rating/index.d.cts +2 -0
  352. package/dist/components/rating/index.d.mts +2 -0
  353. package/dist/components/rating/index.mjs +3 -0
  354. package/dist/components/resizable/index.cjs +6 -0
  355. package/dist/components/resizable/index.d.cts +2 -0
  356. package/dist/components/resizable/index.d.mts +2 -0
  357. package/dist/components/resizable/index.mjs +3 -0
  358. package/dist/components/scroll-area/index.cjs +35 -0
  359. package/dist/components/scroll-area/index.d.cts +9 -0
  360. package/dist/components/scroll-area/index.d.cts.map +1 -0
  361. package/dist/components/scroll-area/index.d.mts +9 -0
  362. package/dist/components/scroll-area/index.d.mts.map +1 -0
  363. package/dist/components/scroll-area/index.mjs +33 -0
  364. package/dist/components/scroll-area/index.mjs.map +1 -0
  365. package/dist/components/select/index.cjs +54 -0
  366. package/dist/components/select/index.d.cts +17 -0
  367. package/dist/components/select/index.d.cts.map +1 -0
  368. package/dist/components/select/index.d.mts +17 -0
  369. package/dist/components/select/index.d.mts.map +1 -0
  370. package/dist/components/select/index.mjs +46 -0
  371. package/dist/components/select/index.mjs.map +1 -0
  372. package/dist/components/separator/index.cjs +18 -0
  373. package/dist/components/separator/index.d.cts +6 -0
  374. package/dist/components/separator/index.d.cts.map +1 -0
  375. package/dist/components/separator/index.d.mts +6 -0
  376. package/dist/components/separator/index.d.mts.map +1 -0
  377. package/dist/components/separator/index.mjs +17 -0
  378. package/dist/components/separator/index.mjs.map +1 -0
  379. package/dist/components/sheet/index.cjs +69 -0
  380. package/dist/components/sheet/index.d.cts +27 -0
  381. package/dist/components/sheet/index.d.cts.map +1 -0
  382. package/dist/components/sheet/index.d.mts +27 -0
  383. package/dist/components/sheet/index.d.mts.map +1 -0
  384. package/dist/components/sheet/index.mjs +61 -0
  385. package/dist/components/sheet/index.mjs.map +1 -0
  386. package/dist/components/sidebar/index.cjs +16 -0
  387. package/dist/components/sidebar/index.d.cts +2 -0
  388. package/dist/components/sidebar/index.d.mts +2 -0
  389. package/dist/components/sidebar/index.mjs +3 -0
  390. package/dist/components/skeleton/index.cjs +19 -0
  391. package/dist/components/skeleton/index.d.cts +7 -0
  392. package/dist/components/skeleton/index.d.cts.map +1 -0
  393. package/dist/components/skeleton/index.d.mts +7 -0
  394. package/dist/components/skeleton/index.d.mts.map +1 -0
  395. package/dist/components/skeleton/index.mjs +18 -0
  396. package/dist/components/skeleton/index.mjs.map +1 -0
  397. package/dist/components/slider/index.cjs +30 -0
  398. package/dist/components/slider/index.d.cts +10 -0
  399. package/dist/components/slider/index.d.cts.map +1 -0
  400. package/dist/components/slider/index.d.mts +10 -0
  401. package/dist/components/slider/index.d.mts.map +1 -0
  402. package/dist/components/slider/index.mjs +29 -0
  403. package/dist/components/slider/index.mjs.map +1 -0
  404. package/dist/components/sonner/index.cjs +6 -0
  405. package/dist/components/sonner/index.d.cts +2 -0
  406. package/dist/components/sonner/index.d.mts +2 -0
  407. package/dist/components/sonner/index.mjs +3 -0
  408. package/dist/components/spinner/index.cjs +53 -0
  409. package/dist/components/spinner/index.d.cts +14 -0
  410. package/dist/components/spinner/index.d.cts.map +1 -0
  411. package/dist/components/spinner/index.d.mts +14 -0
  412. package/dist/components/spinner/index.d.mts.map +1 -0
  413. package/dist/components/spinner/index.mjs +51 -0
  414. package/dist/components/spinner/index.mjs.map +1 -0
  415. package/dist/components/stepper/index.cjs +9 -0
  416. package/dist/components/stepper/index.d.cts +2 -0
  417. package/dist/components/stepper/index.d.mts +2 -0
  418. package/dist/components/stepper/index.mjs +3 -0
  419. package/dist/components/switch/index.cjs +18 -0
  420. package/dist/components/switch/index.d.cts +8 -0
  421. package/dist/components/switch/index.d.cts.map +1 -0
  422. package/dist/components/switch/index.d.mts +8 -0
  423. package/dist/components/switch/index.d.mts.map +1 -0
  424. package/dist/components/switch/index.mjs +17 -0
  425. package/dist/components/switch/index.mjs.map +1 -0
  426. package/dist/components/table/index.cjs +69 -0
  427. package/dist/components/table/index.d.cts +13 -0
  428. package/dist/components/table/index.d.cts.map +1 -0
  429. package/dist/components/table/index.d.mts +13 -0
  430. package/dist/components/table/index.d.mts.map +1 -0
  431. package/dist/components/table/index.mjs +61 -0
  432. package/dist/components/table/index.mjs.map +1 -0
  433. package/dist/components/tabs/index.cjs +36 -0
  434. package/dist/components/tabs/index.d.cts +9 -0
  435. package/dist/components/tabs/index.d.cts.map +1 -0
  436. package/dist/components/tabs/index.d.mts +9 -0
  437. package/dist/components/tabs/index.d.mts.map +1 -0
  438. package/dist/components/tabs/index.mjs +32 -0
  439. package/dist/components/tabs/index.mjs.map +1 -0
  440. package/dist/components/textarea/index.cjs +32 -0
  441. package/dist/components/textarea/index.d.cts +11 -0
  442. package/dist/components/textarea/index.d.cts.map +1 -0
  443. package/dist/components/textarea/index.d.mts +11 -0
  444. package/dist/components/textarea/index.d.mts.map +1 -0
  445. package/dist/components/textarea/index.mjs +30 -0
  446. package/dist/components/textarea/index.mjs.map +1 -0
  447. package/dist/components/timeline/index.cjs +12 -0
  448. package/dist/components/timeline/index.d.cts +2 -0
  449. package/dist/components/timeline/index.d.mts +2 -0
  450. package/dist/components/timeline/index.mjs +3 -0
  451. package/dist/components/toast/index.cjs +92 -0
  452. package/dist/components/toast/index.d.cts +27 -0
  453. package/dist/components/toast/index.d.cts.map +1 -0
  454. package/dist/components/toast/index.d.mts +27 -0
  455. package/dist/components/toast/index.d.mts.map +1 -0
  456. package/dist/components/toast/index.mjs +80 -0
  457. package/dist/components/toast/index.mjs.map +1 -0
  458. package/dist/components/toggle/index.cjs +5 -0
  459. package/dist/components/toggle/index.d.cts +2 -0
  460. package/dist/components/toggle/index.d.mts +2 -0
  461. package/dist/components/toggle/index.mjs +3 -0
  462. package/dist/components/toggle-group/index.cjs +45 -0
  463. package/dist/components/toggle-group/index.d.cts +13 -0
  464. package/dist/components/toggle-group/index.d.cts.map +1 -0
  465. package/dist/components/toggle-group/index.d.mts +13 -0
  466. package/dist/components/toggle-group/index.d.mts.map +1 -0
  467. package/dist/components/toggle-group/index.mjs +43 -0
  468. package/dist/components/toggle-group/index.mjs.map +1 -0
  469. package/dist/components/tooltip/index.cjs +29 -0
  470. package/dist/components/tooltip/index.d.cts +13 -0
  471. package/dist/components/tooltip/index.d.cts.map +1 -0
  472. package/dist/components/tooltip/index.d.mts +13 -0
  473. package/dist/components/tooltip/index.d.mts.map +1 -0
  474. package/dist/components/tooltip/index.mjs +24 -0
  475. package/dist/components/tooltip/index.mjs.map +1 -0
  476. package/dist/components/tree-view/index.cjs +7 -0
  477. package/dist/components/tree-view/index.d.cts +2 -0
  478. package/dist/components/tree-view/index.d.mts +2 -0
  479. package/dist/components/tree-view/index.mjs +3 -0
  480. package/dist/copy-button-CQR9ba95.cjs +45 -0
  481. package/dist/copy-button-DebO1rhk.mjs +40 -0
  482. package/dist/copy-button-DebO1rhk.mjs.map +1 -0
  483. package/dist/empty-state-block-DlccTgvo.mjs +53 -0
  484. package/dist/empty-state-block-DlccTgvo.mjs.map +1 -0
  485. package/dist/empty-state-block-rrYF_ai9.cjs +58 -0
  486. package/dist/evaluation-summary-report-CIa4moWm.cjs +245 -0
  487. package/dist/evaluation-summary-report-COZZFLS6.mjs +240 -0
  488. package/dist/evaluation-summary-report-COZZFLS6.mjs.map +1 -0
  489. package/dist/files/Inter-OFL.txt +93 -0
  490. package/dist/files/inter-cyrillic-ext-wght-normal.woff2 +0 -0
  491. package/dist/files/inter-cyrillic-wght-normal.woff2 +0 -0
  492. package/dist/files/inter-greek-ext-wght-normal.woff2 +0 -0
  493. package/dist/files/inter-greek-wght-normal.woff2 +0 -0
  494. package/dist/files/inter-latin-ext-wght-normal.woff2 +0 -0
  495. package/dist/files/inter-latin-wght-normal.woff2 +0 -0
  496. package/dist/files/inter-vietnamese-wght-normal.woff2 +0 -0
  497. package/dist/heuristic-finding-card-CeJzuzuN.cjs +153 -0
  498. package/dist/heuristic-finding-card-hlDwM_of.mjs +148 -0
  499. package/dist/heuristic-finding-card-hlDwM_of.mjs.map +1 -0
  500. package/dist/index-2Vh9mMtN.d.mts +12 -0
  501. package/dist/index-2Vh9mMtN.d.mts.map +1 -0
  502. package/dist/index-6OorKnHX.d.cts +21 -0
  503. package/dist/index-6OorKnHX.d.cts.map +1 -0
  504. package/dist/index-6OorKnHX.d.mts +21 -0
  505. package/dist/index-6OorKnHX.d.mts.map +1 -0
  506. package/dist/index-B6epY4xT.d.cts +18 -0
  507. package/dist/index-B6epY4xT.d.cts.map +1 -0
  508. package/dist/index-B8Z5coVq.d.cts +25 -0
  509. package/dist/index-B8Z5coVq.d.cts.map +1 -0
  510. package/dist/index-B8Z5coVq.d.mts +25 -0
  511. package/dist/index-B8Z5coVq.d.mts.map +1 -0
  512. package/dist/index-BHz32vzo.d.cts +17 -0
  513. package/dist/index-BHz32vzo.d.cts.map +1 -0
  514. package/dist/index-BHz32vzo.d.mts +17 -0
  515. package/dist/index-BHz32vzo.d.mts.map +1 -0
  516. package/dist/index-BUL5nXfL.d.cts +22 -0
  517. package/dist/index-BUL5nXfL.d.cts.map +1 -0
  518. package/dist/index-BUL5nXfL.d.mts +22 -0
  519. package/dist/index-BUL5nXfL.d.mts.map +1 -0
  520. package/dist/index-BVVCNb2w.d.cts +29 -0
  521. package/dist/index-BVVCNb2w.d.cts.map +1 -0
  522. package/dist/index-BVVCNb2w.d.mts +29 -0
  523. package/dist/index-BVVCNb2w.d.mts.map +1 -0
  524. package/dist/index-B_JrTcxF.d.cts +31 -0
  525. package/dist/index-B_JrTcxF.d.cts.map +1 -0
  526. package/dist/index-C3V4MOJH.d.mts +18 -0
  527. package/dist/index-C3V4MOJH.d.mts.map +1 -0
  528. package/dist/index-C3ol_8Kk.d.cts +31 -0
  529. package/dist/index-C3ol_8Kk.d.cts.map +1 -0
  530. package/dist/index-C5ugjRen.d.cts +25 -0
  531. package/dist/index-C5ugjRen.d.cts.map +1 -0
  532. package/dist/index-C5ugjRen.d.mts +25 -0
  533. package/dist/index-C5ugjRen.d.mts.map +1 -0
  534. package/dist/index-CI5EwPm7.d.cts +39 -0
  535. package/dist/index-CI5EwPm7.d.cts.map +1 -0
  536. package/dist/index-CI5EwPm7.d.mts +39 -0
  537. package/dist/index-CI5EwPm7.d.mts.map +1 -0
  538. package/dist/index-CU-siW-K.d.mts +46 -0
  539. package/dist/index-CU-siW-K.d.mts.map +1 -0
  540. package/dist/index-CsF26Fe8.d.cts +23 -0
  541. package/dist/index-CsF26Fe8.d.cts.map +1 -0
  542. package/dist/index-CsF26Fe8.d.mts +23 -0
  543. package/dist/index-CsF26Fe8.d.mts.map +1 -0
  544. package/dist/index-CvHlThTj.d.cts +10 -0
  545. package/dist/index-CvHlThTj.d.cts.map +1 -0
  546. package/dist/index-CvHlThTj.d.mts +10 -0
  547. package/dist/index-CvHlThTj.d.mts.map +1 -0
  548. package/dist/index-D56D0Sa2.d.cts +13 -0
  549. package/dist/index-D56D0Sa2.d.cts.map +1 -0
  550. package/dist/index-D56D0Sa2.d.mts +13 -0
  551. package/dist/index-D56D0Sa2.d.mts.map +1 -0
  552. package/dist/index-D5_0x-hC.d.cts +12 -0
  553. package/dist/index-D5_0x-hC.d.cts.map +1 -0
  554. package/dist/index-D5sQcRHf.d.cts +23 -0
  555. package/dist/index-D5sQcRHf.d.cts.map +1 -0
  556. package/dist/index-D5sQcRHf.d.mts +23 -0
  557. package/dist/index-D5sQcRHf.d.mts.map +1 -0
  558. package/dist/index-DeDN45Ha.d.mts +31 -0
  559. package/dist/index-DeDN45Ha.d.mts.map +1 -0
  560. package/dist/index-DjbxiLM8.d.cts +12 -0
  561. package/dist/index-DjbxiLM8.d.cts.map +1 -0
  562. package/dist/index-DjbxiLM8.d.mts +12 -0
  563. package/dist/index-DjbxiLM8.d.mts.map +1 -0
  564. package/dist/index-DlP_5d_g.d.cts +21 -0
  565. package/dist/index-DlP_5d_g.d.cts.map +1 -0
  566. package/dist/index-DlP_5d_g.d.mts +21 -0
  567. package/dist/index-DlP_5d_g.d.mts.map +1 -0
  568. package/dist/index-DtPmPGcN.d.cts +27 -0
  569. package/dist/index-DtPmPGcN.d.cts.map +1 -0
  570. package/dist/index-DtPmPGcN.d.mts +27 -0
  571. package/dist/index-DtPmPGcN.d.mts.map +1 -0
  572. package/dist/index-Q6oL7Ku9.d.cts +8 -0
  573. package/dist/index-Q6oL7Ku9.d.cts.map +1 -0
  574. package/dist/index-Q6oL7Ku9.d.mts +8 -0
  575. package/dist/index-Q6oL7Ku9.d.mts.map +1 -0
  576. package/dist/index-Ymzy10FB.d.cts +21 -0
  577. package/dist/index-Ymzy10FB.d.cts.map +1 -0
  578. package/dist/index-Ymzy10FB.d.mts +21 -0
  579. package/dist/index-Ymzy10FB.d.mts.map +1 -0
  580. package/dist/index-bZKcWdNm.d.cts +15 -0
  581. package/dist/index-bZKcWdNm.d.cts.map +1 -0
  582. package/dist/index-bZKcWdNm.d.mts +15 -0
  583. package/dist/index-bZKcWdNm.d.mts.map +1 -0
  584. package/dist/index-joP2_4d6.d.cts +11 -0
  585. package/dist/index-joP2_4d6.d.cts.map +1 -0
  586. package/dist/index-joP2_4d6.d.mts +11 -0
  587. package/dist/index-joP2_4d6.d.mts.map +1 -0
  588. package/dist/index-o7W0pKFo.d.mts +31 -0
  589. package/dist/index-o7W0pKFo.d.mts.map +1 -0
  590. package/dist/index-y8s6jpSR.d.cts +46 -0
  591. package/dist/index-y8s6jpSR.d.cts.map +1 -0
  592. package/dist/index-zlEzdw7N.d.cts +15 -0
  593. package/dist/index-zlEzdw7N.d.cts.map +1 -0
  594. package/dist/index-zlEzdw7N.d.mts +15 -0
  595. package/dist/index-zlEzdw7N.d.mts.map +1 -0
  596. package/dist/index.cjs +363 -0
  597. package/dist/index.d.cts +83 -0
  598. package/dist/index.d.cts.map +1 -0
  599. package/dist/index.d.mts +83 -0
  600. package/dist/index.d.mts.map +1 -0
  601. package/dist/index.mjs +80 -0
  602. package/dist/input-otp-C7O7AtXb.cjs +67 -0
  603. package/dist/input-otp-CFNLnAuu.mjs +44 -0
  604. package/dist/input-otp-CFNLnAuu.mjs.map +1 -0
  605. package/dist/inspector-split-view-Cwsvl3-m.cjs +150 -0
  606. package/dist/inspector-split-view-D5tX9P5r.mjs +145 -0
  607. package/dist/inspector-split-view-D5tX9P5r.mjs.map +1 -0
  608. package/dist/kbd-D9Ymi9Pt.mjs +37 -0
  609. package/dist/kbd-D9Ymi9Pt.mjs.map +1 -0
  610. package/dist/kbd-Dhz_xrKs.cjs +48 -0
  611. package/dist/pagination-B8J2t1Vr.cjs +105 -0
  612. package/dist/pagination-ivrgsud6.mjs +64 -0
  613. package/dist/pagination-ivrgsud6.mjs.map +1 -0
  614. package/dist/project-kanban-board-BHLRHooH.mjs +138 -0
  615. package/dist/project-kanban-board-BHLRHooH.mjs.map +1 -0
  616. package/dist/project-kanban-board-DUaDiHZC.cjs +143 -0
  617. package/dist/rating-CtXEsqKU.cjs +72 -0
  618. package/dist/rating-pFb5zNn2.mjs +67 -0
  619. package/dist/rating-pFb5zNn2.mjs.map +1 -0
  620. package/dist/resizable-DrJqbD5t.mjs +23 -0
  621. package/dist/resizable-DrJqbD5t.mjs.map +1 -0
  622. package/dist/resizable-VZ7tgMu9.cjs +41 -0
  623. package/dist/rolldown-runtime-D6vf50IK.cjs +28 -0
  624. package/dist/sidebar-BCBtb6sS.mjs +232 -0
  625. package/dist/sidebar-BCBtb6sS.mjs.map +1 -0
  626. package/dist/sidebar-BilZg_Lv.cjs +309 -0
  627. package/dist/sonner-Ba68yk7d.mjs +20 -0
  628. package/dist/sonner-Ba68yk7d.mjs.map +1 -0
  629. package/dist/sonner-Crak-gYY.cjs +25 -0
  630. package/dist/stepper-CgBpI7sb.cjs +96 -0
  631. package/dist/stepper-Dtf208dW.mjs +61 -0
  632. package/dist/stepper-Dtf208dW.mjs.map +1 -0
  633. package/dist/styles.css +2 -0
  634. package/dist/team-members-table-5OWUc6Ib.cjs +126 -0
  635. package/dist/team-members-table-DW52BAKr.mjs +121 -0
  636. package/dist/team-members-table-DW52BAKr.mjs.map +1 -0
  637. package/dist/timeline-CAPfreK3.cjs +118 -0
  638. package/dist/timeline-CBMvtk3M.mjs +65 -0
  639. package/dist/timeline-CBMvtk3M.mjs.map +1 -0
  640. package/dist/toggle-CZG8xQeG.cjs +48 -0
  641. package/dist/toggle-CpGSEgUK.d.cts +13 -0
  642. package/dist/toggle-CpGSEgUK.d.cts.map +1 -0
  643. package/dist/toggle-CpGSEgUK.d.mts +13 -0
  644. package/dist/toggle-CpGSEgUK.d.mts.map +1 -0
  645. package/dist/toggle-CpsU8EEk.mjs +37 -0
  646. package/dist/toggle-CpsU8EEk.mjs.map +1 -0
  647. package/dist/tree-view-BB1ghmfC.mjs +69 -0
  648. package/dist/tree-view-BB1ghmfC.mjs.map +1 -0
  649. package/dist/tree-view-BFzVxqkZ.cjs +92 -0
  650. package/dist/utils-BVF9WCwH.mjs +38 -0
  651. package/dist/utils-BVF9WCwH.mjs.map +1 -0
  652. package/dist/utils-YZxtPI0Y.cjs +40 -0
  653. package/package.json +873 -3
  654. package/scripts/audit-bundle-size.ts +80 -0
  655. package/scripts/generate-storybook-stories.ts +79 -0
  656. package/scripts/postbuild.mjs +132 -0
  657. package/scripts/public-entries.d.mts +25 -0
  658. package/scripts/public-entries.mjs +123 -0
  659. package/scripts/verify-artifacts.mjs +361 -0
  660. package/scripts/write-all-rich-stories.ts +402 -0
  661. package/src/blocks/app-shell-layout/app-shell-layout.stories.tsx +62 -0
  662. package/src/blocks/app-shell-layout/app-shell-layout.test.tsx +59 -0
  663. package/src/blocks/app-shell-layout/app-shell-layout.tsx +180 -0
  664. package/src/blocks/app-shell-layout/index.ts +5 -0
  665. package/src/blocks/auth-form/auth-form.stories.tsx +36 -0
  666. package/src/blocks/auth-form/auth-form.test.tsx +72 -0
  667. package/src/blocks/auth-form/auth-form.tsx +136 -0
  668. package/src/blocks/auth-form/index.ts +1 -0
  669. package/src/blocks/collaboration-chat-panel/collaboration-chat-panel.stories.tsx +45 -0
  670. package/src/blocks/collaboration-chat-panel/collaboration-chat-panel.test.tsx +101 -0
  671. package/src/blocks/collaboration-chat-panel/collaboration-chat-panel.tsx +180 -0
  672. package/src/blocks/collaboration-chat-panel/index.ts +5 -0
  673. package/src/blocks/color-palette-sheet/color-palette-sheet.stories.tsx +161 -0
  674. package/src/blocks/color-palette-sheet/color-palette-sheet.test.tsx +45 -0
  675. package/src/blocks/color-palette-sheet/color-palette-sheet.tsx +287 -0
  676. package/src/blocks/color-palette-sheet/index.ts +1 -0
  677. package/src/blocks/dashboard-header/dashboard-header.stories.tsx +41 -0
  678. package/src/blocks/dashboard-header/dashboard-header.test.tsx +76 -0
  679. package/src/blocks/dashboard-header/dashboard-header.tsx +128 -0
  680. package/src/blocks/dashboard-header/index.ts +1 -0
  681. package/src/blocks/data-table-with-filters/data-table-with-filters.stories.tsx +41 -0
  682. package/src/blocks/data-table-with-filters/data-table-with-filters.test.tsx +40 -0
  683. package/src/blocks/data-table-with-filters/data-table-with-filters.tsx +88 -0
  684. package/src/blocks/data-table-with-filters/index.ts +1 -0
  685. package/src/blocks/empty-state-block/empty-state-block.stories.tsx +39 -0
  686. package/src/blocks/empty-state-block/empty-state-block.test.tsx +76 -0
  687. package/src/blocks/empty-state-block/empty-state-block.tsx +83 -0
  688. package/src/blocks/empty-state-block/index.ts +4 -0
  689. package/src/blocks/evaluation-summary-report/evaluation-summary-report.stories.tsx +77 -0
  690. package/src/blocks/evaluation-summary-report/evaluation-summary-report.test.tsx +87 -0
  691. package/src/blocks/evaluation-summary-report/evaluation-summary-report.tsx +291 -0
  692. package/src/blocks/evaluation-summary-report/index.ts +5 -0
  693. package/src/blocks/form-with-validation/form-with-validation.stories.tsx +48 -0
  694. package/src/blocks/form-with-validation/form-with-validation.test.tsx +95 -0
  695. package/src/blocks/form-with-validation/form-with-validation.tsx +145 -0
  696. package/src/blocks/form-with-validation/index.ts +1 -0
  697. package/src/blocks/heuristic-finding-card/heuristic-finding-card.stories.tsx +125 -0
  698. package/src/blocks/heuristic-finding-card/heuristic-finding-card.test.tsx +68 -0
  699. package/src/blocks/heuristic-finding-card/heuristic-finding-card.tsx +218 -0
  700. package/src/blocks/heuristic-finding-card/index.ts +6 -0
  701. package/src/blocks/inspector-split-view/index.ts +5 -0
  702. package/src/blocks/inspector-split-view/inspector-split-view.stories.tsx +99 -0
  703. package/src/blocks/inspector-split-view/inspector-split-view.test.tsx +96 -0
  704. package/src/blocks/inspector-split-view/inspector-split-view.tsx +190 -0
  705. package/src/blocks/instrument-metrics-grid/index.ts +1 -0
  706. package/src/blocks/instrument-metrics-grid/instrument-metrics-grid.stories.tsx +41 -0
  707. package/src/blocks/instrument-metrics-grid/instrument-metrics-grid.test.tsx +17 -0
  708. package/src/blocks/instrument-metrics-grid/instrument-metrics-grid.tsx +277 -0
  709. package/src/blocks/project-kanban-board/index.ts +6 -0
  710. package/src/blocks/project-kanban-board/project-kanban-board.stories.tsx +107 -0
  711. package/src/blocks/project-kanban-board/project-kanban-board.test.tsx +112 -0
  712. package/src/blocks/project-kanban-board/project-kanban-board.tsx +243 -0
  713. package/src/blocks/schedule-timeline-board/index.ts +1 -0
  714. package/src/blocks/schedule-timeline-board/schedule-timeline-board.stories.tsx +202 -0
  715. package/src/blocks/schedule-timeline-board/schedule-timeline-board.test.tsx +67 -0
  716. package/src/blocks/schedule-timeline-board/schedule-timeline-board.tsx +495 -0
  717. package/src/blocks/stats-card-grid/index.ts +1 -0
  718. package/src/blocks/stats-card-grid/stats-card-grid.stories.tsx +66 -0
  719. package/src/blocks/stats-card-grid/stats-card-grid.test.tsx +53 -0
  720. package/src/blocks/stats-card-grid/stats-card-grid.tsx +127 -0
  721. package/src/blocks/team-members-table/index.ts +6 -0
  722. package/src/blocks/team-members-table/team-members-table.stories.tsx +41 -0
  723. package/src/blocks/team-members-table/team-members-table.test.tsx +58 -0
  724. package/src/blocks/team-members-table/team-members-table.tsx +178 -0
  725. package/src/components/accordion/accordion.stories.tsx +85 -0
  726. package/src/components/accordion/accordion.test.tsx +125 -0
  727. package/src/components/accordion/accordion.tsx +57 -0
  728. package/src/components/accordion/index.ts +1 -0
  729. package/src/components/alert/alert.stories.tsx +90 -0
  730. package/src/components/alert/alert.test.tsx +118 -0
  731. package/src/components/alert/alert.tsx +72 -0
  732. package/src/components/alert/index.ts +1 -0
  733. package/src/components/alert-dialog/alert-dialog.stories.tsx +129 -0
  734. package/src/components/alert-dialog/alert-dialog.test.tsx +187 -0
  735. package/src/components/alert-dialog/alert-dialog.tsx +91 -0
  736. package/src/components/alert-dialog/index.ts +1 -0
  737. package/src/components/aspect-ratio/aspect-ratio.stories.tsx +22 -0
  738. package/src/components/aspect-ratio/aspect-ratio.test.tsx +43 -0
  739. package/src/components/aspect-ratio/aspect-ratio.tsx +39 -0
  740. package/src/components/aspect-ratio/index.ts +1 -0
  741. package/src/components/avatar/avatar.stories.tsx +98 -0
  742. package/src/components/avatar/avatar.test.tsx +72 -0
  743. package/src/components/avatar/avatar.tsx +63 -0
  744. package/src/components/avatar/index.ts +1 -0
  745. package/src/components/badge/badge.stories.tsx +83 -0
  746. package/src/components/badge/badge.test.tsx +79 -0
  747. package/src/components/badge/badge.tsx +58 -0
  748. package/src/components/badge/index.ts +1 -0
  749. package/src/components/breadcrumb/breadcrumb.stories.tsx +89 -0
  750. package/src/components/breadcrumb/breadcrumb.test.tsx +132 -0
  751. package/src/components/breadcrumb/breadcrumb.tsx +115 -0
  752. package/src/components/breadcrumb/index.ts +1 -0
  753. package/src/components/button/button.stories.tsx +150 -0
  754. package/src/components/button/button.test.tsx +192 -0
  755. package/src/components/button/button.tsx +140 -0
  756. package/src/components/button/index.ts +1 -0
  757. package/src/components/calendar/calendar.stories.tsx +64 -0
  758. package/src/components/calendar/calendar.test.tsx +80 -0
  759. package/src/components/calendar/calendar.tsx +161 -0
  760. package/src/components/calendar/index.ts +1 -0
  761. package/src/components/card/card.stories.tsx +118 -0
  762. package/src/components/card/card.test.tsx +113 -0
  763. package/src/components/card/card.tsx +98 -0
  764. package/src/components/card/index.ts +1 -0
  765. package/src/components/carousel/carousel.stories.tsx +40 -0
  766. package/src/components/carousel/carousel.test.tsx +30 -0
  767. package/src/components/carousel/carousel.tsx +241 -0
  768. package/src/components/carousel/index.ts +10 -0
  769. package/src/components/chart/chart.stories.tsx +71 -0
  770. package/src/components/chart/chart.test.tsx +74 -0
  771. package/src/components/chart/chart.tsx +96 -0
  772. package/src/components/chart/index.ts +1 -0
  773. package/src/components/checkbox/checkbox.stories.tsx +118 -0
  774. package/src/components/checkbox/checkbox.test.tsx +118 -0
  775. package/src/components/checkbox/checkbox.tsx +58 -0
  776. package/src/components/checkbox/index.ts +1 -0
  777. package/src/components/collapsible/collapsible.stories.tsx +75 -0
  778. package/src/components/collapsible/collapsible.test.tsx +98 -0
  779. package/src/components/collapsible/collapsible.tsx +23 -0
  780. package/src/components/collapsible/index.ts +1 -0
  781. package/src/components/color-swatch/color-swatch.stories.tsx +28 -0
  782. package/src/components/color-swatch/color-swatch.test.tsx +86 -0
  783. package/src/components/color-swatch/color-swatch.tsx +72 -0
  784. package/src/components/color-swatch/index.ts +5 -0
  785. package/src/components/combobox/combobox.stories.tsx +72 -0
  786. package/src/components/combobox/combobox.test.tsx +146 -0
  787. package/src/components/combobox/combobox.tsx +273 -0
  788. package/src/components/combobox/index.ts +1 -0
  789. package/src/components/command/command.stories.tsx +88 -0
  790. package/src/components/command/command.test.tsx +174 -0
  791. package/src/components/command/command.tsx +152 -0
  792. package/src/components/command/index.ts +1 -0
  793. package/src/components/context-menu/context-menu.stories.tsx +62 -0
  794. package/src/components/context-menu/context-menu.test.tsx +94 -0
  795. package/src/components/context-menu/context-menu.tsx +85 -0
  796. package/src/components/context-menu/index.ts +1 -0
  797. package/src/components/copy-button/copy-button.stories.tsx +21 -0
  798. package/src/components/copy-button/copy-button.test.tsx +33 -0
  799. package/src/components/copy-button/copy-button.tsx +71 -0
  800. package/src/components/copy-button/index.ts +1 -0
  801. package/src/components/data-table/data-table.stories.tsx +85 -0
  802. package/src/components/data-table/data-table.test.tsx +117 -0
  803. package/src/components/data-table/data-table.tsx +243 -0
  804. package/src/components/data-table/index.ts +1 -0
  805. package/src/components/date-picker/date-picker.stories.tsx +49 -0
  806. package/src/components/date-picker/date-picker.test.tsx +50 -0
  807. package/src/components/date-picker/date-picker.tsx +78 -0
  808. package/src/components/date-picker/index.ts +1 -0
  809. package/src/components/dialog/dialog.stories.tsx +131 -0
  810. package/src/components/dialog/dialog.test.tsx +197 -0
  811. package/src/components/dialog/dialog.tsx +97 -0
  812. package/src/components/dialog/index.ts +1 -0
  813. package/src/components/drawer/drawer.stories.tsx +158 -0
  814. package/src/components/drawer/drawer.test.tsx +189 -0
  815. package/src/components/drawer/drawer.tsx +99 -0
  816. package/src/components/drawer/index.ts +1 -0
  817. package/src/components/dropdown-menu/dropdown-menu.stories.tsx +96 -0
  818. package/src/components/dropdown-menu/dropdown-menu.test.tsx +139 -0
  819. package/src/components/dropdown-menu/dropdown-menu.tsx +88 -0
  820. package/src/components/dropdown-menu/index.ts +1 -0
  821. package/src/components/file-input/file-input.stories.tsx +50 -0
  822. package/src/components/file-input/file-input.test.tsx +85 -0
  823. package/src/components/file-input/file-input.tsx +91 -0
  824. package/src/components/file-input/index.ts +1 -0
  825. package/src/components/form/form.stories.tsx +86 -0
  826. package/src/components/form/form.test.tsx +246 -0
  827. package/src/components/form/form.tsx +210 -0
  828. package/src/components/form/index.ts +1 -0
  829. package/src/components/hover-card/hover-card.stories.tsx +74 -0
  830. package/src/components/hover-card/hover-card.test.tsx +63 -0
  831. package/src/components/hover-card/hover-card.tsx +85 -0
  832. package/src/components/hover-card/index.ts +1 -0
  833. package/src/components/input/index.ts +1 -0
  834. package/src/components/input/input.stories.tsx +146 -0
  835. package/src/components/input/input.test.tsx +74 -0
  836. package/src/components/input/input.tsx +39 -0
  837. package/src/components/input-otp/index.ts +6 -0
  838. package/src/components/input-otp/input-otp.stories.tsx +35 -0
  839. package/src/components/input-otp/input-otp.test.tsx +52 -0
  840. package/src/components/input-otp/input-otp.tsx +69 -0
  841. package/src/components/kbd/index.ts +1 -0
  842. package/src/components/kbd/kbd.stories.tsx +22 -0
  843. package/src/components/kbd/kbd.test.tsx +25 -0
  844. package/src/components/kbd/kbd.tsx +41 -0
  845. package/src/components/label/index.ts +1 -0
  846. package/src/components/label/label.stories.tsx +44 -0
  847. package/src/components/label/label.test.tsx +47 -0
  848. package/src/components/label/label.tsx +31 -0
  849. package/src/components/menubar/index.ts +1 -0
  850. package/src/components/menubar/menubar.stories.tsx +70 -0
  851. package/src/components/menubar/menubar.test.tsx +103 -0
  852. package/src/components/menubar/menubar.tsx +103 -0
  853. package/src/components/navigation-menu/index.ts +1 -0
  854. package/src/components/navigation-menu/navigation-menu.stories.tsx +118 -0
  855. package/src/components/navigation-menu/navigation-menu.test.tsx +84 -0
  856. package/src/components/navigation-menu/navigation-menu.tsx +111 -0
  857. package/src/components/number-field/index.ts +1 -0
  858. package/src/components/number-field/number-field.stories.tsx +69 -0
  859. package/src/components/number-field/number-field.test.tsx +76 -0
  860. package/src/components/number-field/number-field.tsx +48 -0
  861. package/src/components/pagination/index.ts +10 -0
  862. package/src/components/pagination/pagination.stories.tsx +46 -0
  863. package/src/components/pagination/pagination.test.tsx +48 -0
  864. package/src/components/pagination/pagination.tsx +106 -0
  865. package/src/components/popover/index.ts +1 -0
  866. package/src/components/popover/popover.stories.tsx +106 -0
  867. package/src/components/popover/popover.test.tsx +111 -0
  868. package/src/components/popover/popover.tsx +30 -0
  869. package/src/components/progress/index.ts +1 -0
  870. package/src/components/progress/progress.stories.tsx +172 -0
  871. package/src/components/progress/progress.test.tsx +68 -0
  872. package/src/components/progress/progress.tsx +156 -0
  873. package/src/components/radio-group/index.ts +1 -0
  874. package/src/components/radio-group/radio-group.stories.tsx +125 -0
  875. package/src/components/radio-group/radio-group.test.tsx +160 -0
  876. package/src/components/radio-group/radio-group.tsx +56 -0
  877. package/src/components/rating/index.ts +1 -0
  878. package/src/components/rating/rating.stories.tsx +39 -0
  879. package/src/components/rating/rating.test.tsx +103 -0
  880. package/src/components/rating/rating.tsx +134 -0
  881. package/src/components/resizable/index.ts +5 -0
  882. package/src/components/resizable/resizable.stories.tsx +36 -0
  883. package/src/components/resizable/resizable.test.tsx +42 -0
  884. package/src/components/resizable/resizable.tsx +43 -0
  885. package/src/components/scroll-area/index.ts +1 -0
  886. package/src/components/scroll-area/scroll-area.stories.tsx +48 -0
  887. package/src/components/scroll-area/scroll-area.test.tsx +52 -0
  888. package/src/components/scroll-area/scroll-area.tsx +46 -0
  889. package/src/components/select/index.ts +1 -0
  890. package/src/components/select/select.stories.tsx +89 -0
  891. package/src/components/select/select.test.tsx +162 -0
  892. package/src/components/select/select.tsx +89 -0
  893. package/src/components/separator/index.ts +1 -0
  894. package/src/components/separator/separator.stories.tsx +68 -0
  895. package/src/components/separator/separator.test.tsx +35 -0
  896. package/src/components/separator/separator.tsx +25 -0
  897. package/src/components/sheet/index.ts +1 -0
  898. package/src/components/sheet/sheet.stories.tsx +164 -0
  899. package/src/components/sheet/sheet.test.tsx +187 -0
  900. package/src/components/sheet/sheet.tsx +119 -0
  901. package/src/components/sidebar/index.ts +18 -0
  902. package/src/components/sidebar/sidebar.stories.tsx +100 -0
  903. package/src/components/sidebar/sidebar.test.tsx +108 -0
  904. package/src/components/sidebar/sidebar.tsx +428 -0
  905. package/src/components/skeleton/index.ts +1 -0
  906. package/src/components/skeleton/skeleton.stories.tsx +51 -0
  907. package/src/components/skeleton/skeleton.test.tsx +41 -0
  908. package/src/components/skeleton/skeleton.tsx +22 -0
  909. package/src/components/slider/index.ts +1 -0
  910. package/src/components/slider/slider.stories.tsx +95 -0
  911. package/src/components/slider/slider.test.tsx +58 -0
  912. package/src/components/slider/slider.tsx +34 -0
  913. package/src/components/sonner/index.ts +1 -0
  914. package/src/components/sonner/sonner.stories.tsx +34 -0
  915. package/src/components/sonner/sonner.test.tsx +15 -0
  916. package/src/components/sonner/sonner.tsx +28 -0
  917. package/src/components/spinner/index.ts +1 -0
  918. package/src/components/spinner/spinner.stories.tsx +66 -0
  919. package/src/components/spinner/spinner.test.tsx +49 -0
  920. package/src/components/spinner/spinner.tsx +65 -0
  921. package/src/components/stepper/index.ts +11 -0
  922. package/src/components/stepper/stepper.stories.tsx +51 -0
  923. package/src/components/stepper/stepper.test.tsx +50 -0
  924. package/src/components/stepper/stepper.tsx +129 -0
  925. package/src/components/switch/index.ts +1 -0
  926. package/src/components/switch/switch.stories.tsx +81 -0
  927. package/src/components/switch/switch.test.tsx +81 -0
  928. package/src/components/switch/switch.tsx +26 -0
  929. package/src/components/table/index.ts +1 -0
  930. package/src/components/table/table.stories.tsx +100 -0
  931. package/src/components/table/table.test.tsx +89 -0
  932. package/src/components/table/table.tsx +120 -0
  933. package/src/components/tabs/index.ts +1 -0
  934. package/src/components/tabs/tabs.stories.tsx +95 -0
  935. package/src/components/tabs/tabs.test.tsx +175 -0
  936. package/src/components/tabs/tabs.tsx +58 -0
  937. package/src/components/textarea/index.ts +1 -0
  938. package/src/components/textarea/textarea.stories.tsx +103 -0
  939. package/src/components/textarea/textarea.test.tsx +65 -0
  940. package/src/components/textarea/textarea.tsx +38 -0
  941. package/src/components/timeline/index.ts +12 -0
  942. package/src/components/timeline/timeline.stories.tsx +104 -0
  943. package/src/components/timeline/timeline.test.tsx +39 -0
  944. package/src/components/timeline/timeline.tsx +135 -0
  945. package/src/components/toast/index.ts +1 -0
  946. package/src/components/toast/toast.stories.tsx +170 -0
  947. package/src/components/toast/toast.test.tsx +159 -0
  948. package/src/components/toast/toast.tsx +136 -0
  949. package/src/components/toggle/index.ts +1 -0
  950. package/src/components/toggle/toggle.stories.tsx +106 -0
  951. package/src/components/toggle/toggle.test.tsx +87 -0
  952. package/src/components/toggle/toggle.tsx +41 -0
  953. package/src/components/toggle-group/index.ts +1 -0
  954. package/src/components/toggle-group/toggle-group.stories.tsx +123 -0
  955. package/src/components/toggle-group/toggle-group.test.tsx +102 -0
  956. package/src/components/toggle-group/toggle-group.tsx +58 -0
  957. package/src/components/tooltip/index.ts +1 -0
  958. package/src/components/tooltip/tooltip.stories.tsx +82 -0
  959. package/src/components/tooltip/tooltip.test.tsx +103 -0
  960. package/src/components/tooltip/tooltip.tsx +30 -0
  961. package/src/components/tree-view/index.ts +8 -0
  962. package/src/components/tree-view/tree-view.stories.tsx +61 -0
  963. package/src/components/tree-view/tree-view.test.tsx +36 -0
  964. package/src/components/tree-view/tree-view.tsx +116 -0
  965. package/src/index.ts +77 -0
  966. package/src/lib/utils.ts +38 -0
  967. package/src/test/contrast.ts +139 -0
  968. package/src/test/palette-contract.test.ts +697 -0
  969. package/src/test/public-entries.test.ts +118 -0
  970. package/src/test/setup.ts +94 -0
  971. package/src/test/sidebar-contract.test.ts +196 -0
  972. package/src/test/type-contract.test.ts +253 -0
  973. package/src/test/vitest-axe.d.ts +10 -0
  974. package/src/typography/typography.stories.tsx +172 -0
  975. package/styles/compiled.css +19 -0
  976. package/styles/globals.css +27 -0
  977. package/styles/theme.css +430 -0
  978. package/tsconfig.json +11 -0
  979. package/tsdown.config.ts +34 -0
@@ -0,0 +1,175 @@
1
+ import React, { createRef } from "react";
2
+ import { render, screen } from "@testing-library/react";
3
+ import userEvent from "@testing-library/user-event";
4
+ import { describe, expect, it } from "vitest";
5
+ import { Tabs, TabsList, TabsTrigger, TabsContent } from "./tabs";
6
+
7
+ describe("Tabs Primitive Component", () => {
8
+ it("renders tabs list and panel content", () => {
9
+ render(
10
+ <Tabs defaultValue="account">
11
+ <TabsList aria-label="Manage Account">
12
+ <TabsTrigger value="account">Account</TabsTrigger>
13
+ <TabsTrigger value="password">Password</TabsTrigger>
14
+ </TabsList>
15
+ <TabsContent value="account">Account Details</TabsContent>
16
+ <TabsContent value="password">Password Settings</TabsContent>
17
+ </Tabs>
18
+ );
19
+
20
+ expect(screen.getByRole("tab", { name: /account/i })).toBeInTheDocument();
21
+ expect(screen.getByText("Account Details")).toBeInTheDocument();
22
+ });
23
+
24
+ it("switches active panel when tab trigger is clicked", async () => {
25
+ const user = userEvent.setup();
26
+ render(
27
+ <Tabs defaultValue="tab1">
28
+ <TabsList aria-label="Test Tabs">
29
+ <TabsTrigger value="tab1">Tab 1</TabsTrigger>
30
+ <TabsTrigger value="tab2">Tab 2</TabsTrigger>
31
+ </TabsList>
32
+ <TabsContent value="tab1">Content 1</TabsContent>
33
+ <TabsContent value="tab2">Content 2</TabsContent>
34
+ </Tabs>
35
+ );
36
+
37
+ const tab2 = screen.getByRole("tab", { name: /tab 2/i });
38
+ await user.click(tab2);
39
+ expect(screen.getByText("Content 2")).toBeInTheDocument();
40
+ });
41
+
42
+ it("does NOT activate disabled tab trigger on click", async () => {
43
+ const user = userEvent.setup();
44
+ render(
45
+ <Tabs defaultValue="tab1">
46
+ <TabsList aria-label="Disabled Tab Test">
47
+ <TabsTrigger value="tab1">Active Tab</TabsTrigger>
48
+ <TabsTrigger disabled value="tab2">
49
+ Disabled Tab
50
+ </TabsTrigger>
51
+ </TabsList>
52
+ <TabsContent value="tab1">Content 1</TabsContent>
53
+ <TabsContent value="tab2">Content 2</TabsContent>
54
+ </Tabs>
55
+ );
56
+
57
+ const disabledTab = screen.getByRole("tab", { name: /disabled tab/i });
58
+ expect(disabledTab).toHaveAttribute("aria-disabled", "true");
59
+ await user.click(disabledTab);
60
+ expect(screen.getByText("Content 1")).toBeInTheDocument();
61
+ expect(screen.queryByText("Content 2")).not.toBeInTheDocument();
62
+ });
63
+
64
+ it("navigates triggers with ArrowRight key", async () => {
65
+ const user = userEvent.setup();
66
+ render(
67
+ <Tabs defaultValue="tab1">
68
+ <TabsList aria-label="Keyboard Nav">
69
+ <TabsTrigger value="tab1">First</TabsTrigger>
70
+ <TabsTrigger value="tab2">Second</TabsTrigger>
71
+ </TabsList>
72
+ <TabsContent value="tab1">Content 1</TabsContent>
73
+ <TabsContent value="tab2">Content 2</TabsContent>
74
+ </Tabs>
75
+ );
76
+
77
+ const firstTab = screen.getByRole("tab", { name: /first/i });
78
+ firstTab.focus();
79
+ await user.keyboard("{ArrowRight}");
80
+ const secondTab = screen.getByRole("tab", { name: /second/i });
81
+ expect(secondTab).toBeInTheDocument();
82
+ });
83
+
84
+ it("marks the selected trigger with the Base UI emitted data-active attribute and the single selected idiom", async () => {
85
+ const user = userEvent.setup();
86
+ render(
87
+ <Tabs defaultValue="overview">
88
+ <TabsList aria-label="Selected State">
89
+ <TabsTrigger value="overview">Overview</TabsTrigger>
90
+ <TabsTrigger value="settings">Settings</TabsTrigger>
91
+ </TabsList>
92
+ <TabsContent value="overview">Overview panel</TabsContent>
93
+ <TabsContent value="settings">Settings panel</TabsContent>
94
+ </Tabs>
95
+ );
96
+
97
+ const settings = screen.getByRole("tab", { name: /settings/i });
98
+ await user.click(settings);
99
+
100
+ // Base UI v1.6.0 Tabs.Tab emits `data-active` when selected.
101
+ expect(settings).toHaveAttribute("data-active");
102
+ expect(settings).not.toHaveAttribute("data-selected");
103
+ expect(settings).not.toHaveAttribute("data-state");
104
+
105
+ // Single underline idiom (owner redesign): hairline list + 2px primary
106
+ // underline on the active trigger. NO background fill, NO shadow.
107
+ const className = settings.className;
108
+ expect(className).toContain("data-active:text-foreground");
109
+ expect(className).toContain("data-active:border-primary");
110
+ expect(className).toContain("border-b-2");
111
+ expect(className).toContain("border-transparent");
112
+ // No competing background fill for the selected state.
113
+ expect(className).not.toContain("data-active:bg-");
114
+ expect(className).not.toContain("data-active:shadow");
115
+
116
+ // The list renders the hairline rail (border-b) instead of a pill fill.
117
+ const list = screen.getByRole("tablist");
118
+ expect(list.className).toContain("border-b");
119
+ expect(list.className).not.toContain("bg-muted");
120
+ expect(list.className).not.toContain("rounded-lg");
121
+ // Dead or hedged state selectors must not remain.
122
+ expect(className).not.toContain("data-[selected]");
123
+ expect(className).not.toContain("data-[state=active]");
124
+ });
125
+
126
+ it("styles the list as the underline rail with muted triggers and clears default radii", () => {
127
+ render(
128
+ <Tabs defaultValue="one">
129
+ <TabsList aria-label="Contract">
130
+ <TabsTrigger value="one">One</TabsTrigger>
131
+ </TabsList>
132
+ <TabsContent value="one">One panel</TabsContent>
133
+ </Tabs>
134
+ );
135
+
136
+ const list = screen.getByRole("tablist");
137
+ expect(list.className).toContain("flex");
138
+ expect(list.className).toContain("flex-wrap");
139
+ expect(list.className).toContain("items-center");
140
+ expect(list.className).toContain("gap-1");
141
+ expect(list.className).toContain("border-b");
142
+ expect(list.className).toContain("border-border");
143
+ // The old segmented-pill surface must not survive the redesign.
144
+ expect(list.className).not.toContain("bg-muted");
145
+ expect(list.className).not.toMatch(/\bp-1\b/);
146
+ expect(list.className).not.toContain("h-9");
147
+
148
+ const trigger = screen.getByRole("tab", { name: /one/i });
149
+ expect(trigger.className).not.toContain("rounded-md");
150
+ expect(trigger.className).not.toContain("font-medium");
151
+ expect(trigger.className).toContain("text-[13px]");
152
+ // Hairline rail sits on the list; the trigger carries border-b-2
153
+ // transparent until active (via data-active:border-* variants).
154
+ expect(trigger.className).toContain("border-transparent");
155
+ expect(trigger.className).not.toContain("data-active:bg-");
156
+ });
157
+
158
+ it("forwards ref to TabsList and TabsTrigger DOM elements", () => {
159
+ const listRef = createRef<HTMLDivElement>();
160
+ const triggerRef = createRef<HTMLButtonElement>();
161
+ render(
162
+ <Tabs defaultValue="t1">
163
+ <TabsList ref={listRef}>
164
+ <TabsTrigger ref={triggerRef} value="t1">
165
+ Tab
166
+ </TabsTrigger>
167
+ </TabsList>
168
+ <TabsContent value="t1">Content</TabsContent>
169
+ </Tabs>
170
+ );
171
+
172
+ expect(listRef.current).toBeInstanceOf(HTMLDivElement);
173
+ expect(triggerRef.current).toBeInstanceOf(HTMLButtonElement);
174
+ });
175
+ });
@@ -0,0 +1,58 @@
1
+ import * as React from "react";
2
+ import { Tabs as BaseTabs } from "@base-ui/react/tabs";
3
+ import { cn } from "../../lib/utils";
4
+
5
+ export const Tabs = BaseTabs.Root;
6
+
7
+ export const TabsList = React.forwardRef<
8
+ HTMLDivElement,
9
+ React.ComponentPropsWithoutRef<typeof BaseTabs.List>
10
+ >(({ className, ...props }, ref) => (
11
+ <BaseTabs.List
12
+ ref={ref}
13
+ data-slot="tabs-list"
14
+ className={cn(
15
+ // Single underline idiom: one hairline rail the triggers sit on.
16
+ "flex flex-wrap items-center gap-1 sm:gap-2 border-b border-border",
17
+ className
18
+ )}
19
+ {...props}
20
+ />
21
+ ));
22
+ TabsList.displayName = "TabsList";
23
+
24
+ export const TabsTrigger = React.forwardRef<
25
+ HTMLButtonElement,
26
+ React.ComponentPropsWithoutRef<typeof BaseTabs.Tab>
27
+ >(({ className, ...props }, ref) => (
28
+ <BaseTabs.Tab
29
+ ref={ref}
30
+ data-slot="tabs-trigger"
31
+ className={cn(
32
+ // The selected idiom is only the 2px primary underline hanging over the
33
+ // list rail (-mb-px); no pill fill, no shadow. The trigger carries a
34
+ // transparent 2px bottom border at rest so the rail never shifts.
35
+ // impeccable-disable-next-line border-accent-on-rounded: state-conditional selected-tab underline indicator, not a card border
36
+ "relative inline-flex h-9 items-center px-3.5 py-2 text-[13px] text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 border-b-2 border-transparent data-active:text-foreground data-active:border-primary -mb-px",
37
+ className
38
+ )}
39
+ {...props}
40
+ />
41
+ ));
42
+ TabsTrigger.displayName = "TabsTrigger";
43
+
44
+ export const TabsContent = React.forwardRef<
45
+ HTMLDivElement,
46
+ React.ComponentPropsWithoutRef<typeof BaseTabs.Panel>
47
+ >(({ className, ...props }, ref) => (
48
+ <BaseTabs.Panel
49
+ ref={ref}
50
+ data-slot="tabs-content"
51
+ className={cn(
52
+ "mt-4 ring-offset-background focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
53
+ className
54
+ )}
55
+ {...props}
56
+ />
57
+ ));
58
+ TabsContent.displayName = "TabsContent";
@@ -0,0 +1 @@
1
+ export * from "./textarea";
@@ -0,0 +1,103 @@
1
+ import * as React from "react";
2
+ import type { Meta, StoryObj } from "@storybook/react-vite";
3
+ import { Textarea } from "./textarea";
4
+ import { Label } from "../label";
5
+
6
+ const meta: Meta<typeof Textarea> = {
7
+ title: "Primitives/Textarea",
8
+ component: Textarea,
9
+ tags: ["autodocs"],
10
+ argTypes: {
11
+ resize: {
12
+ control: "select",
13
+ options: ["none", "vertical", "horizontal", "both"],
14
+ },
15
+ disabled: { control: "boolean" },
16
+ rows: { control: "number" },
17
+ },
18
+ };
19
+
20
+ export default meta;
21
+ type Story = StoryObj<typeof meta>;
22
+
23
+ export const Default: Story = {
24
+ args: {
25
+ placeholder: "Type your message here...",
26
+ rows: 4,
27
+ },
28
+ };
29
+
30
+ export const WithLabelAndCharacterLimit: Story = {
31
+ render: (args) => {
32
+ const [text, setText] = React.useState("");
33
+ const maxChars = 200;
34
+
35
+ return (
36
+ <div className="w-full max-w-md space-y-2">
37
+ <Label htmlFor="bio" className="text-sm font-semibold">
38
+ Biography
39
+ </Label>
40
+ <Textarea
41
+ id="bio"
42
+ rows={4}
43
+ maxLength={maxChars}
44
+ value={text}
45
+ onChange={(e) => setText(e.target.value)}
46
+ placeholder="Tell us about yourself..."
47
+ {...args}
48
+ />
49
+ <div className="flex justify-between text-xs text-muted-foreground">
50
+ <span>Brief description for your public profile.</span>
51
+ <span>
52
+ {text.length}/{maxChars}
53
+ </span>
54
+ </div>
55
+ </div>
56
+ );
57
+ },
58
+ };
59
+
60
+ export const InvalidState: Story = {
61
+ render: (args) => (
62
+ <div className="w-full max-w-md space-y-2">
63
+ <Label htmlFor="invalid-textarea" className="text-sm font-semibold text-destructive">
64
+ Feedback Notes
65
+ </Label>
66
+ <Textarea
67
+ id="invalid-textarea"
68
+ aria-invalid="true"
69
+ rows={4}
70
+ defaultValue="Short"
71
+ {...args}
72
+ />
73
+ <p className="text-xs text-destructive">
74
+ Feedback must be at least 20 characters long.
75
+ </p>
76
+ </div>
77
+ ),
78
+ };
79
+
80
+ export const DisabledState: Story = {
81
+ render: (args) => (
82
+ <div className="w-full max-w-md space-y-2">
83
+ <Label htmlFor="disabled-textarea" className="text-sm font-semibold text-muted-foreground">
84
+ Archived Note
85
+ </Label>
86
+ <Textarea
87
+ id="disabled-textarea"
88
+ disabled
89
+ rows={4}
90
+ value="This record has been archived and cannot be modified."
91
+ {...args}
92
+ />
93
+ </div>
94
+ ),
95
+ };
96
+
97
+ export const NoResize: Story = {
98
+ args: {
99
+ resize: "none",
100
+ placeholder: "Fixed height textarea (resize disabled)...",
101
+ rows: 4,
102
+ },
103
+ };
@@ -0,0 +1,65 @@
1
+ import React, { createRef } from "react";
2
+ import { render, screen } from "@testing-library/react";
3
+ import userEvent from "@testing-library/user-event";
4
+ import { describe, expect, it, vi } from "vitest";
5
+ import { Textarea } from "./textarea";
6
+ import { Label } from "../label";
7
+
8
+ describe("Textarea Primitive Component", () => {
9
+ it("renders textarea element with rows and placeholder", () => {
10
+ render(<Textarea rows={4} placeholder="Enter your biography" />);
11
+ const textarea = screen.getByPlaceholderText("Enter your biography");
12
+ expect(textarea).toBeInTheDocument();
13
+ expect(textarea).toHaveAttribute("rows", "4");
14
+ });
15
+
16
+ it("handles multiline typing and onChange events", async () => {
17
+ const user = userEvent.setup();
18
+ const onChange = vi.fn();
19
+ render(<Textarea onChange={onChange} aria-label="Bio" />);
20
+ const textarea = screen.getByRole("textbox", { name: /bio/i });
21
+ await user.type(textarea, "Line 1{enter}Line 2");
22
+ expect(onChange).toHaveBeenCalled();
23
+ expect(textarea).toHaveValue("Line 1\nLine 2");
24
+ });
25
+
26
+ it("disables user input when disabled prop is set", async () => {
27
+ const user = userEvent.setup();
28
+ const onChange = vi.fn();
29
+ render(
30
+ <Textarea disabled onChange={onChange} aria-label="Disabled textarea" />
31
+ );
32
+ const textarea = screen.getByRole("textbox");
33
+ expect(textarea).toBeDisabled();
34
+ await user.type(textarea, "test content");
35
+ expect(onChange).not.toHaveBeenCalled();
36
+ });
37
+
38
+ it("sets aria-invalid='true' and applies error border style when aria-invalid is true", () => {
39
+ render(<Textarea aria-invalid="true" placeholder="Invalid feedback" />);
40
+ const textarea = screen.getByPlaceholderText("Invalid feedback");
41
+ expect(textarea).toHaveAttribute("aria-invalid", "true");
42
+ expect(textarea).toHaveClass("aria-invalid:border-destructive");
43
+ });
44
+
45
+ it("applies resize variant classes (none, vertical, horizontal, both)", () => {
46
+ const { unmount: u1 } = render(
47
+ <Textarea resize="none" placeholder="No resize" />
48
+ );
49
+ expect(screen.getByPlaceholderText("No resize")).toHaveClass("resize-none");
50
+ u1();
51
+
52
+ const { unmount: u2 } = render(
53
+ <Textarea resize="both" placeholder="Both resize" />
54
+ );
55
+ expect(screen.getByPlaceholderText("Both resize")).toHaveClass("resize");
56
+ u2();
57
+ });
58
+
59
+ it("forwards ref to native HTMLTextAreaElement", () => {
60
+ const ref = createRef<HTMLTextAreaElement>();
61
+ render(<Textarea ref={ref} placeholder="Ref test" />);
62
+ expect(ref.current).toBeInstanceOf(HTMLTextAreaElement);
63
+ expect(ref.current?.placeholder).toBe("Ref test");
64
+ });
65
+ });
@@ -0,0 +1,38 @@
1
+ import * as React from "react";
2
+ import { cva, type VariantProps } from "class-variance-authority";
3
+ import { cn } from "../../lib/utils";
4
+
5
+ export const textareaVariants = cva(
6
+ "box-border flex min-h-[96px] w-full rounded-md border border-input bg-field text-foreground px-3.5 py-2.5 text-sm transition-[border-color,box-shadow,background-color] duration-150 ease-out placeholder:text-fog focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:border-ring disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive",
7
+ {
8
+ variants: {
9
+ resize: {
10
+ none: "resize-none",
11
+ vertical: "resize-y",
12
+ horizontal: "resize-x",
13
+ both: "resize",
14
+ },
15
+ },
16
+ defaultVariants: {
17
+ resize: "vertical",
18
+ },
19
+ }
20
+ );
21
+
22
+ export interface TextareaProps
23
+ extends React.TextareaHTMLAttributes<HTMLTextAreaElement>,
24
+ VariantProps<typeof textareaVariants> {}
25
+
26
+ export const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
27
+ ({ className, resize, ...props }, ref) => {
28
+ return (
29
+ <textarea
30
+ className={cn(textareaVariants({ resize, className }))}
31
+ ref={ref}
32
+ {...props}
33
+ />
34
+ );
35
+ }
36
+ );
37
+
38
+ Textarea.displayName = "Textarea";
@@ -0,0 +1,12 @@
1
+ export {
2
+ Timeline,
3
+ TimelineItem,
4
+ TimelineConnector,
5
+ TimelineHeader,
6
+ TimelineIcon,
7
+ TimelineContent,
8
+ TimelineTitle,
9
+ TimelineDescription,
10
+ TimelineTime,
11
+ type TimelineProps,
12
+ } from "./timeline";
@@ -0,0 +1,104 @@
1
+ import * as React from "react";
2
+ import type { Meta, StoryObj } from "@storybook/react-vite";
3
+ import {
4
+ Timeline,
5
+ TimelineItem,
6
+ TimelineConnector,
7
+ TimelineHeader,
8
+ TimelineIcon,
9
+ TimelineContent,
10
+ TimelineTitle,
11
+ TimelineDescription,
12
+ TimelineTime,
13
+ } from "./timeline";
14
+
15
+ const meta: Meta<typeof Timeline> = {
16
+ title: "Primitives/Timeline",
17
+ component: Timeline,
18
+ tags: ["autodocs"],
19
+ };
20
+
21
+ export default meta;
22
+ type Story = StoryObj<typeof meta>;
23
+
24
+ export const Default: Story = {
25
+ render: () => (
26
+ <div className="max-w-md p-4">
27
+ <Timeline>
28
+ <TimelineItem>
29
+ <TimelineConnector />
30
+ <TimelineHeader>
31
+ <TimelineIcon>1</TimelineIcon>
32
+ <TimelineTitle>Evaluation Created</TimelineTitle>
33
+ </TimelineHeader>
34
+ <TimelineContent>
35
+ <TimelineDescription>Initiated heuristic evaluation for checkout flow.</TimelineDescription>
36
+ <TimelineTime>09:30 AM</TimelineTime>
37
+ </TimelineContent>
38
+ </TimelineItem>
39
+ <TimelineItem>
40
+ <TimelineConnector />
41
+ <TimelineHeader>
42
+ <TimelineIcon>2</TimelineIcon>
43
+ <TimelineTitle>Element Inspected</TimelineTitle>
44
+ </TimelineHeader>
45
+ <TimelineContent>
46
+ <TimelineDescription>Captured submit button with missing focus indicators.</TimelineDescription>
47
+ <TimelineTime>10:15 AM</TimelineTime>
48
+ </TimelineContent>
49
+ </TimelineItem>
50
+ <TimelineItem>
51
+ <TimelineHeader>
52
+ <TimelineIcon>3</TimelineIcon>
53
+ <TimelineTitle>Report Exported</TimelineTitle>
54
+ </TimelineHeader>
55
+ <TimelineContent>
56
+ <TimelineDescription>Generated PDF report with 5 findings.</TimelineDescription>
57
+ <TimelineTime>11:00 AM</TimelineTime>
58
+ </TimelineContent>
59
+ </TimelineItem>
60
+ </Timeline>
61
+ </div>
62
+ ),
63
+ };
64
+
65
+ export const Horizontal: Story = {
66
+ render: () => (
67
+ <div className="w-full max-w-3xl p-4">
68
+ <Timeline orientation="horizontal">
69
+ <TimelineItem>
70
+ <TimelineConnector />
71
+ <TimelineHeader>
72
+ <TimelineIcon>1</TimelineIcon>
73
+ <TimelineTitle>Evaluation Created</TimelineTitle>
74
+ </TimelineHeader>
75
+ <TimelineContent>
76
+ <TimelineDescription>Initiated heuristic evaluation for checkout flow.</TimelineDescription>
77
+ <TimelineTime>09:30 AM</TimelineTime>
78
+ </TimelineContent>
79
+ </TimelineItem>
80
+ <TimelineItem>
81
+ <TimelineConnector />
82
+ <TimelineHeader>
83
+ <TimelineIcon>2</TimelineIcon>
84
+ <TimelineTitle>Element Inspected</TimelineTitle>
85
+ </TimelineHeader>
86
+ <TimelineContent>
87
+ <TimelineDescription>Captured submit button with missing focus indicators.</TimelineDescription>
88
+ <TimelineTime>10:15 AM</TimelineTime>
89
+ </TimelineContent>
90
+ </TimelineItem>
91
+ <TimelineItem>
92
+ <TimelineHeader>
93
+ <TimelineIcon>3</TimelineIcon>
94
+ <TimelineTitle>Report Exported</TimelineTitle>
95
+ </TimelineHeader>
96
+ <TimelineContent>
97
+ <TimelineDescription>Generated PDF report with 5 findings.</TimelineDescription>
98
+ <TimelineTime>11:00 AM</TimelineTime>
99
+ </TimelineContent>
100
+ </TimelineItem>
101
+ </Timeline>
102
+ </div>
103
+ ),
104
+ };
@@ -0,0 +1,39 @@
1
+ import React from "react";
2
+ import { render, screen } from "@testing-library/react";
3
+ import { describe, expect, it } from "vitest";
4
+ import {
5
+ Timeline,
6
+ TimelineItem,
7
+ TimelineConnector,
8
+ TimelineHeader,
9
+ TimelineIcon,
10
+ TimelineContent,
11
+ TimelineTitle,
12
+ TimelineDescription,
13
+ TimelineTime,
14
+ } from "./timeline";
15
+
16
+ describe("Timeline Primitive Component", () => {
17
+ it("renders chronological items with icon, title and description", () => {
18
+ render(
19
+ <Timeline>
20
+ <TimelineItem>
21
+ <TimelineConnector />
22
+ <TimelineHeader>
23
+ <TimelineIcon>1</TimelineIcon>
24
+ <TimelineTitle>Evaluation Started</TimelineTitle>
25
+ </TimelineHeader>
26
+ <TimelineContent>
27
+ <TimelineDescription>Nielsen evaluation initiated.</TimelineDescription>
28
+ <TimelineTime>10:00 AM</TimelineTime>
29
+ </TimelineContent>
30
+ </TimelineItem>
31
+ </Timeline>
32
+ );
33
+
34
+ expect(screen.getByRole("list", { name: "timeline" })).toBeInTheDocument();
35
+ expect(screen.getByText("Evaluation Started")).toBeInTheDocument();
36
+ expect(screen.getByText("Nielsen evaluation initiated.")).toBeInTheDocument();
37
+ expect(screen.getByText("10:00 AM")).toBeInTheDocument();
38
+ });
39
+ });