@usalyt/ui 0.0.1 → 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 (383) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/LICENSE +21 -674
  3. package/NOTICE +7 -8
  4. package/README.md +6 -7
  5. package/THIRD_PARTY_NOTICES.md +1 -1
  6. package/dist/{app-shell-layout-S_85mtFG.cjs → app-shell-layout-BwhU0DNY.cjs} +8 -8
  7. package/dist/{app-shell-layout-C63PPxCb.mjs → app-shell-layout-Dpl6jPni.mjs} +9 -9
  8. package/dist/app-shell-layout-Dpl6jPni.mjs.map +1 -0
  9. package/dist/blocks/app-shell-layout/index.cjs +1 -1
  10. package/dist/blocks/app-shell-layout/index.mjs +1 -1
  11. package/dist/blocks/auth-form/index.cjs +4 -4
  12. package/dist/blocks/auth-form/index.mjs +4 -4
  13. package/dist/blocks/auth-form/index.mjs.map +1 -1
  14. package/dist/blocks/collaboration-chat-panel/index.cjs +1 -1
  15. package/dist/blocks/collaboration-chat-panel/index.mjs +1 -1
  16. package/dist/blocks/color-palette-sheet/index.cjs +191 -0
  17. package/dist/blocks/color-palette-sheet/index.d.cts +42 -0
  18. package/dist/blocks/color-palette-sheet/index.d.cts.map +1 -0
  19. package/dist/blocks/color-palette-sheet/index.d.mts +42 -0
  20. package/dist/blocks/color-palette-sheet/index.d.mts.map +1 -0
  21. package/dist/blocks/color-palette-sheet/index.mjs +190 -0
  22. package/dist/blocks/color-palette-sheet/index.mjs.map +1 -0
  23. package/dist/blocks/dashboard-header/index.cjs +1 -1
  24. package/dist/blocks/dashboard-header/index.mjs +1 -1
  25. package/dist/blocks/dashboard-header/index.mjs.map +1 -1
  26. package/dist/blocks/data-table-with-filters/index.cjs +4 -3
  27. package/dist/blocks/data-table-with-filters/index.d.cts.map +1 -1
  28. package/dist/blocks/data-table-with-filters/index.d.mts.map +1 -1
  29. package/dist/blocks/data-table-with-filters/index.mjs +4 -3
  30. package/dist/blocks/data-table-with-filters/index.mjs.map +1 -1
  31. package/dist/blocks/empty-state-block/index.cjs +1 -1
  32. package/dist/blocks/empty-state-block/index.mjs +1 -1
  33. package/dist/blocks/evaluation-summary-report/index.cjs +1 -1
  34. package/dist/blocks/evaluation-summary-report/index.mjs +1 -1
  35. package/dist/blocks/form-with-validation/index.cjs +57 -54
  36. package/dist/blocks/form-with-validation/index.d.cts +2 -2
  37. package/dist/blocks/form-with-validation/index.d.mts +2 -2
  38. package/dist/blocks/form-with-validation/index.mjs +57 -54
  39. package/dist/blocks/form-with-validation/index.mjs.map +1 -1
  40. package/dist/blocks/heuristic-finding-card/index.cjs +1 -1
  41. package/dist/blocks/heuristic-finding-card/index.mjs +1 -1
  42. package/dist/blocks/inspector-split-view/index.cjs +1 -1
  43. package/dist/blocks/inspector-split-view/index.mjs +1 -1
  44. package/dist/blocks/instrument-metrics-grid/index.cjs +225 -0
  45. package/dist/blocks/instrument-metrics-grid/index.d.cts +32 -0
  46. package/dist/blocks/instrument-metrics-grid/index.d.cts.map +1 -0
  47. package/dist/blocks/instrument-metrics-grid/index.d.mts +32 -0
  48. package/dist/blocks/instrument-metrics-grid/index.d.mts.map +1 -0
  49. package/dist/blocks/instrument-metrics-grid/index.mjs +224 -0
  50. package/dist/blocks/instrument-metrics-grid/index.mjs.map +1 -0
  51. package/dist/blocks/project-kanban-board/index.cjs +1 -1
  52. package/dist/blocks/project-kanban-board/index.mjs +1 -1
  53. package/dist/blocks/schedule-timeline-board/index.cjs +327 -0
  54. package/dist/blocks/schedule-timeline-board/index.d.cts +51 -0
  55. package/dist/blocks/schedule-timeline-board/index.d.cts.map +1 -0
  56. package/dist/blocks/schedule-timeline-board/index.d.mts +51 -0
  57. package/dist/blocks/schedule-timeline-board/index.d.mts.map +1 -0
  58. package/dist/blocks/schedule-timeline-board/index.mjs +326 -0
  59. package/dist/blocks/schedule-timeline-board/index.mjs.map +1 -0
  60. package/dist/blocks/stats-card-grid/index.cjs +11 -10
  61. package/dist/blocks/stats-card-grid/index.d.cts +2 -0
  62. package/dist/blocks/stats-card-grid/index.d.cts.map +1 -1
  63. package/dist/blocks/stats-card-grid/index.d.mts +2 -0
  64. package/dist/blocks/stats-card-grid/index.d.mts.map +1 -1
  65. package/dist/blocks/stats-card-grid/index.mjs +11 -10
  66. package/dist/blocks/stats-card-grid/index.mjs.map +1 -1
  67. package/dist/blocks/team-members-table/index.cjs +1 -1
  68. package/dist/blocks/team-members-table/index.mjs +1 -1
  69. package/dist/{collaboration-chat-panel-DuIoQQ6W.mjs → collaboration-chat-panel-BO-k0fqo.mjs} +10 -10
  70. package/dist/collaboration-chat-panel-BO-k0fqo.mjs.map +1 -0
  71. package/dist/{collaboration-chat-panel-D-o2i4-Y.cjs → collaboration-chat-panel-CR14FNw6.cjs} +9 -9
  72. package/dist/components/accordion/index.cjs +2 -2
  73. package/dist/components/accordion/index.mjs +2 -2
  74. package/dist/components/accordion/index.mjs.map +1 -1
  75. package/dist/components/alert/index.cjs +8 -4
  76. package/dist/components/alert/index.d.cts +4 -4
  77. package/dist/components/alert/index.d.cts.map +1 -1
  78. package/dist/components/alert/index.d.mts +4 -4
  79. package/dist/components/alert/index.d.mts.map +1 -1
  80. package/dist/components/alert/index.mjs +8 -4
  81. package/dist/components/alert/index.mjs.map +1 -1
  82. package/dist/components/alert-dialog/index.cjs +2 -2
  83. package/dist/components/alert-dialog/index.mjs +2 -2
  84. package/dist/components/alert-dialog/index.mjs.map +1 -1
  85. package/dist/components/avatar/index.cjs +1 -1
  86. package/dist/components/avatar/index.mjs +1 -1
  87. package/dist/components/avatar/index.mjs.map +1 -1
  88. package/dist/components/badge/index.cjs +3 -1
  89. package/dist/components/badge/index.d.cts +1 -1
  90. package/dist/components/badge/index.d.cts.map +1 -1
  91. package/dist/components/badge/index.d.mts +1 -1
  92. package/dist/components/badge/index.d.mts.map +1 -1
  93. package/dist/components/badge/index.mjs +3 -1
  94. package/dist/components/badge/index.mjs.map +1 -1
  95. package/dist/components/button/index.cjs +50 -15
  96. package/dist/components/button/index.d.cts +1 -1
  97. package/dist/components/button/index.d.mts +1 -1
  98. package/dist/components/button/index.mjs +50 -15
  99. package/dist/components/button/index.mjs.map +1 -1
  100. package/dist/components/calendar/index.cjs +5 -5
  101. package/dist/components/calendar/index.mjs +5 -5
  102. package/dist/components/calendar/index.mjs.map +1 -1
  103. package/dist/components/card/index.cjs +9 -7
  104. package/dist/components/card/index.d.cts +1 -1
  105. package/dist/components/card/index.d.cts.map +1 -1
  106. package/dist/components/card/index.d.mts +1 -1
  107. package/dist/components/card/index.d.mts.map +1 -1
  108. package/dist/components/card/index.mjs +9 -7
  109. package/dist/components/card/index.mjs.map +1 -1
  110. package/dist/components/carousel/index.d.cts +1 -1
  111. package/dist/components/carousel/index.d.mts +1 -1
  112. package/dist/components/chart/index.cjs +1 -1
  113. package/dist/components/chart/index.mjs +1 -1
  114. package/dist/components/chart/index.mjs.map +1 -1
  115. package/dist/components/combobox/index.cjs +1 -1
  116. package/dist/components/combobox/index.mjs +1 -1
  117. package/dist/components/combobox/index.mjs.map +1 -1
  118. package/dist/components/command/index.d.cts +11 -11
  119. package/dist/components/command/index.d.cts.map +1 -1
  120. package/dist/components/command/index.d.mts +11 -11
  121. package/dist/components/command/index.d.mts.map +1 -1
  122. package/dist/components/context-menu/index.cjs +2 -2
  123. package/dist/components/context-menu/index.mjs +2 -2
  124. package/dist/components/context-menu/index.mjs.map +1 -1
  125. package/dist/components/copy-button/index.d.cts +1 -1
  126. package/dist/components/copy-button/index.d.mts +1 -1
  127. package/dist/components/data-table/index.cjs +1 -1
  128. package/dist/components/data-table/index.mjs +1 -1
  129. package/dist/components/data-table/index.mjs.map +1 -1
  130. package/dist/components/dialog/index.cjs +8 -7
  131. package/dist/components/dialog/index.d.cts +3 -1
  132. package/dist/components/dialog/index.d.cts.map +1 -1
  133. package/dist/components/dialog/index.d.mts +3 -1
  134. package/dist/components/dialog/index.d.mts.map +1 -1
  135. package/dist/components/dialog/index.mjs +8 -7
  136. package/dist/components/dialog/index.mjs.map +1 -1
  137. package/dist/components/drawer/index.cjs +5 -3
  138. package/dist/components/drawer/index.d.cts.map +1 -1
  139. package/dist/components/drawer/index.d.mts.map +1 -1
  140. package/dist/components/drawer/index.mjs +5 -3
  141. package/dist/components/drawer/index.mjs.map +1 -1
  142. package/dist/components/dropdown-menu/index.cjs +3 -3
  143. package/dist/components/dropdown-menu/index.mjs +3 -3
  144. package/dist/components/dropdown-menu/index.mjs.map +1 -1
  145. package/dist/components/file-input/index.cjs +1 -1
  146. package/dist/components/file-input/index.mjs +1 -1
  147. package/dist/components/file-input/index.mjs.map +1 -1
  148. package/dist/components/hover-card/index.cjs +1 -1
  149. package/dist/components/hover-card/index.d.cts +1 -1
  150. package/dist/components/hover-card/index.d.mts +1 -1
  151. package/dist/components/hover-card/index.mjs +1 -1
  152. package/dist/components/hover-card/index.mjs.map +1 -1
  153. package/dist/components/input/index.cjs +5 -4
  154. package/dist/components/input/index.mjs +5 -4
  155. package/dist/components/input/index.mjs.map +1 -1
  156. package/dist/components/input-otp/index.cjs +1 -1
  157. package/dist/components/input-otp/index.d.cts +1 -1
  158. package/dist/components/input-otp/index.d.mts +1 -1
  159. package/dist/components/input-otp/index.mjs +1 -1
  160. package/dist/components/navigation-menu/index.cjs +2 -2
  161. package/dist/components/navigation-menu/index.d.cts +1 -1
  162. package/dist/components/navigation-menu/index.d.mts +1 -1
  163. package/dist/components/navigation-menu/index.mjs +2 -2
  164. package/dist/components/navigation-menu/index.mjs.map +1 -1
  165. package/dist/components/number-field/index.cjs +1 -1
  166. package/dist/components/number-field/index.mjs +1 -1
  167. package/dist/components/number-field/index.mjs.map +1 -1
  168. package/dist/components/pagination/index.d.cts +1 -1
  169. package/dist/components/pagination/index.d.mts +1 -1
  170. package/dist/components/popover/index.cjs +1 -1
  171. package/dist/components/popover/index.mjs +1 -1
  172. package/dist/components/popover/index.mjs.map +1 -1
  173. package/dist/components/progress/index.cjs +63 -15
  174. package/dist/components/progress/index.d.cts +3 -1
  175. package/dist/components/progress/index.d.cts.map +1 -1
  176. package/dist/components/progress/index.d.mts +3 -1
  177. package/dist/components/progress/index.d.mts.map +1 -1
  178. package/dist/components/progress/index.mjs +63 -15
  179. package/dist/components/progress/index.mjs.map +1 -1
  180. package/dist/components/resizable/index.d.cts +1 -1
  181. package/dist/components/resizable/index.d.mts +1 -1
  182. package/dist/components/select/index.cjs +5 -4
  183. package/dist/components/select/index.d.cts.map +1 -1
  184. package/dist/components/select/index.d.mts.map +1 -1
  185. package/dist/components/select/index.mjs +5 -4
  186. package/dist/components/select/index.mjs.map +1 -1
  187. package/dist/components/separator/index.cjs +1 -1
  188. package/dist/components/separator/index.mjs +1 -1
  189. package/dist/components/separator/index.mjs.map +1 -1
  190. package/dist/components/sheet/index.cjs +8 -6
  191. package/dist/components/sheet/index.d.cts +3 -1
  192. package/dist/components/sheet/index.d.cts.map +1 -1
  193. package/dist/components/sheet/index.d.mts +3 -1
  194. package/dist/components/sheet/index.d.mts.map +1 -1
  195. package/dist/components/sheet/index.mjs +8 -6
  196. package/dist/components/sheet/index.mjs.map +1 -1
  197. package/dist/components/sidebar/index.d.cts +1 -1
  198. package/dist/components/sidebar/index.d.mts +1 -1
  199. package/dist/components/spinner/index.d.cts +1 -1
  200. package/dist/components/spinner/index.d.mts +1 -1
  201. package/dist/components/stepper/index.d.cts +1 -1
  202. package/dist/components/stepper/index.d.mts +1 -1
  203. package/dist/components/switch/index.cjs +1 -1
  204. package/dist/components/switch/index.mjs +1 -1
  205. package/dist/components/switch/index.mjs.map +1 -1
  206. package/dist/components/table/index.cjs +2 -2
  207. package/dist/components/table/index.mjs +2 -2
  208. package/dist/components/table/index.mjs.map +1 -1
  209. package/dist/components/tabs/index.cjs +6 -3
  210. package/dist/components/tabs/index.d.cts.map +1 -1
  211. package/dist/components/tabs/index.d.mts.map +1 -1
  212. package/dist/components/tabs/index.mjs +6 -3
  213. package/dist/components/tabs/index.mjs.map +1 -1
  214. package/dist/components/textarea/index.cjs +1 -1
  215. package/dist/components/textarea/index.mjs +1 -1
  216. package/dist/components/textarea/index.mjs.map +1 -1
  217. package/dist/components/toast/index.cjs +8 -7
  218. package/dist/components/toast/index.d.cts +3 -1
  219. package/dist/components/toast/index.d.cts.map +1 -1
  220. package/dist/components/toast/index.d.mts +3 -1
  221. package/dist/components/toast/index.d.mts.map +1 -1
  222. package/dist/components/toast/index.mjs +8 -7
  223. package/dist/components/toast/index.mjs.map +1 -1
  224. package/dist/components/toggle/index.cjs +1 -1
  225. package/dist/components/toggle/index.mjs +1 -1
  226. package/dist/components/toggle-group/index.cjs +1 -1
  227. package/dist/components/toggle-group/index.mjs +1 -1
  228. package/dist/{empty-state-block-DePTPvzM.mjs → empty-state-block-DlccTgvo.mjs} +8 -7
  229. package/dist/empty-state-block-DlccTgvo.mjs.map +1 -0
  230. package/dist/{empty-state-block-CW1vdx89.cjs → empty-state-block-rrYF_ai9.cjs} +7 -6
  231. package/dist/evaluation-summary-report-CIa4moWm.cjs +245 -0
  232. package/dist/evaluation-summary-report-COZZFLS6.mjs +240 -0
  233. package/dist/evaluation-summary-report-COZZFLS6.mjs.map +1 -0
  234. package/dist/{heuristic-finding-card-B5zpJp27.cjs → heuristic-finding-card-CeJzuzuN.cjs} +63 -40
  235. package/dist/{heuristic-finding-card-BFwXci2U.mjs → heuristic-finding-card-hlDwM_of.mjs} +64 -41
  236. package/dist/heuristic-finding-card-hlDwM_of.mjs.map +1 -0
  237. package/dist/{index-ClitDRHg.d.mts → index-2Vh9mMtN.d.mts} +2 -2
  238. package/dist/{index-ClitDRHg.d.mts.map → index-2Vh9mMtN.d.mts.map} +1 -1
  239. package/dist/index-B6epY4xT.d.cts +18 -0
  240. package/dist/index-B6epY4xT.d.cts.map +1 -0
  241. package/dist/index-B8Z5coVq.d.cts.map +1 -1
  242. package/dist/index-B8Z5coVq.d.mts.map +1 -1
  243. package/dist/{index-DCrV07Ko.d.cts → index-B_JrTcxF.d.cts} +2 -2
  244. package/dist/{index-DCrV07Ko.d.cts.map → index-B_JrTcxF.d.cts.map} +1 -1
  245. package/dist/index-C3V4MOJH.d.mts +18 -0
  246. package/dist/index-C3V4MOJH.d.mts.map +1 -0
  247. package/dist/{index-N-mHPudY.d.mts → index-C3ol_8Kk.d.cts} +2 -2
  248. package/dist/{index-DISRvpYF.d.cts.map → index-C3ol_8Kk.d.cts.map} +1 -1
  249. package/dist/{index-BfHoUosL.d.cts → index-C5ugjRen.d.cts} +2 -2
  250. package/dist/{index-BfHoUosL.d.cts.map → index-C5ugjRen.d.cts.map} +1 -1
  251. package/dist/{index-BfHoUosL.d.mts → index-C5ugjRen.d.mts} +2 -2
  252. package/dist/{index-BfHoUosL.d.mts.map → index-C5ugjRen.d.mts.map} +1 -1
  253. package/dist/{index-bO8Bd2qN.d.cts → index-CI5EwPm7.d.cts} +3 -3
  254. package/dist/{index-bO8Bd2qN.d.cts.map → index-CI5EwPm7.d.cts.map} +1 -1
  255. package/dist/{index-bO8Bd2qN.d.mts → index-CI5EwPm7.d.mts} +3 -3
  256. package/dist/{index-bO8Bd2qN.d.mts.map → index-CI5EwPm7.d.mts.map} +1 -1
  257. package/dist/{index-CxCGf9_1.d.mts → index-CU-siW-K.d.mts} +2 -2
  258. package/dist/{index-CTCm9Rd3.d.cts.map → index-CU-siW-K.d.mts.map} +1 -1
  259. package/dist/index-CsF26Fe8.d.cts.map +1 -1
  260. package/dist/index-CsF26Fe8.d.mts.map +1 -1
  261. package/dist/{index-D0R6bxY7.d.cts → index-D5_0x-hC.d.cts} +2 -2
  262. package/dist/{index-D0R6bxY7.d.cts.map → index-D5_0x-hC.d.cts.map} +1 -1
  263. package/dist/{index-Wut4L1Y4.d.mts → index-DeDN45Ha.d.mts} +2 -2
  264. package/dist/{index-Wut4L1Y4.d.mts.map → index-DeDN45Ha.d.mts.map} +1 -1
  265. package/dist/{index-CY6x-q24.d.cts → index-DtPmPGcN.d.cts} +2 -2
  266. package/dist/index-DtPmPGcN.d.cts.map +1 -0
  267. package/dist/{index-CY6x-q24.d.mts → index-DtPmPGcN.d.mts} +2 -2
  268. package/dist/index-DtPmPGcN.d.mts.map +1 -0
  269. package/dist/{index-DISRvpYF.d.cts → index-o7W0pKFo.d.mts} +2 -2
  270. package/dist/{index-N-mHPudY.d.mts.map → index-o7W0pKFo.d.mts.map} +1 -1
  271. package/dist/{index-CTCm9Rd3.d.cts → index-y8s6jpSR.d.cts} +2 -2
  272. package/dist/{index-CxCGf9_1.d.mts.map → index-y8s6jpSR.d.cts.map} +1 -1
  273. package/dist/index.cjs +16 -10
  274. package/dist/index.d.cts +12 -9
  275. package/dist/index.d.cts.map +1 -1
  276. package/dist/index.d.mts +12 -9
  277. package/dist/index.d.mts.map +1 -1
  278. package/dist/index.mjs +14 -11
  279. package/dist/{input-otp-DyBlKPGM.cjs → input-otp-C7O7AtXb.cjs} +1 -1
  280. package/dist/{input-otp-CXy8gtKM.mjs → input-otp-CFNLnAuu.mjs} +2 -2
  281. package/dist/input-otp-CFNLnAuu.mjs.map +1 -0
  282. package/dist/{inspector-split-view-CSPoFJJC.cjs → inspector-split-view-Cwsvl3-m.cjs} +33 -27
  283. package/dist/{inspector-split-view-CQeClX4k.mjs → inspector-split-view-D5tX9P5r.mjs} +34 -28
  284. package/dist/inspector-split-view-D5tX9P5r.mjs.map +1 -0
  285. package/dist/{project-kanban-board-TUeAebbI.mjs → project-kanban-board-BHLRHooH.mjs} +13 -13
  286. package/dist/project-kanban-board-BHLRHooH.mjs.map +1 -0
  287. package/dist/{project-kanban-board-BGypLhTA.cjs → project-kanban-board-DUaDiHZC.cjs} +12 -12
  288. package/dist/styles.css +1 -1
  289. package/dist/{team-members-table-Cu5gCqMg.cjs → team-members-table-5OWUc6Ib.cjs} +5 -5
  290. package/dist/{team-members-table-ChWMZMYw.mjs → team-members-table-DW52BAKr.mjs} +6 -6
  291. package/dist/team-members-table-DW52BAKr.mjs.map +1 -0
  292. package/dist/{toggle-BjthGxVv.cjs → toggle-CZG8xQeG.cjs} +1 -1
  293. package/dist/{toggle-C2RktAMd.mjs → toggle-CpsU8EEk.mjs} +2 -2
  294. package/dist/toggle-CpsU8EEk.mjs.map +1 -0
  295. package/package.json +34 -4
  296. package/scripts/verify-artifacts.mjs +2 -2
  297. package/src/blocks/app-shell-layout/app-shell-layout.tsx +8 -8
  298. package/src/blocks/auth-form/auth-form.tsx +4 -4
  299. package/src/blocks/collaboration-chat-panel/collaboration-chat-panel.tsx +9 -9
  300. package/src/blocks/color-palette-sheet/color-palette-sheet.stories.tsx +161 -0
  301. package/src/blocks/color-palette-sheet/color-palette-sheet.test.tsx +45 -0
  302. package/src/blocks/color-palette-sheet/color-palette-sheet.tsx +287 -0
  303. package/src/blocks/color-palette-sheet/index.ts +1 -0
  304. package/src/blocks/dashboard-header/dashboard-header.tsx +1 -1
  305. package/src/blocks/data-table-with-filters/data-table-with-filters.tsx +4 -3
  306. package/src/blocks/empty-state-block/empty-state-block.tsx +9 -8
  307. package/src/blocks/evaluation-summary-report/evaluation-summary-report.test.tsx +16 -8
  308. package/src/blocks/evaluation-summary-report/evaluation-summary-report.tsx +161 -78
  309. package/src/blocks/form-with-validation/form-with-validation.tsx +5 -5
  310. package/src/blocks/heuristic-finding-card/heuristic-finding-card.stories.tsx +1 -1
  311. package/src/blocks/heuristic-finding-card/heuristic-finding-card.tsx +110 -64
  312. package/src/blocks/inspector-split-view/inspector-split-view.tsx +15 -15
  313. package/src/blocks/instrument-metrics-grid/index.ts +1 -0
  314. package/src/blocks/instrument-metrics-grid/instrument-metrics-grid.stories.tsx +41 -0
  315. package/src/blocks/instrument-metrics-grid/instrument-metrics-grid.test.tsx +17 -0
  316. package/src/blocks/instrument-metrics-grid/instrument-metrics-grid.tsx +277 -0
  317. package/src/blocks/project-kanban-board/project-kanban-board.tsx +12 -12
  318. package/src/blocks/schedule-timeline-board/index.ts +1 -0
  319. package/src/blocks/schedule-timeline-board/schedule-timeline-board.stories.tsx +202 -0
  320. package/src/blocks/schedule-timeline-board/schedule-timeline-board.test.tsx +67 -0
  321. package/src/blocks/schedule-timeline-board/schedule-timeline-board.tsx +495 -0
  322. package/src/blocks/stats-card-grid/stats-card-grid.tsx +36 -10
  323. package/src/blocks/team-members-table/team-members-table.tsx +5 -5
  324. package/src/components/accordion/accordion.tsx +2 -2
  325. package/src/components/alert/alert.test.tsx +15 -1
  326. package/src/components/alert/alert.tsx +13 -9
  327. package/src/components/alert-dialog/alert-dialog.tsx +2 -2
  328. package/src/components/avatar/avatar.tsx +1 -1
  329. package/src/components/badge/badge.tsx +4 -1
  330. package/src/components/button/button.test.tsx +15 -6
  331. package/src/components/button/button.tsx +63 -13
  332. package/src/components/calendar/calendar.tsx +5 -5
  333. package/src/components/card/card.stories.tsx +1 -1
  334. package/src/components/card/card.tsx +11 -7
  335. package/src/components/chart/chart.tsx +1 -1
  336. package/src/components/combobox/combobox.tsx +1 -1
  337. package/src/components/context-menu/context-menu.tsx +2 -2
  338. package/src/components/data-table/data-table.tsx +1 -1
  339. package/src/components/dialog/dialog.tsx +10 -7
  340. package/src/components/drawer/drawer.tsx +5 -3
  341. package/src/components/dropdown-menu/dropdown-menu.tsx +3 -3
  342. package/src/components/file-input/file-input.tsx +1 -1
  343. package/src/components/hover-card/hover-card.tsx +1 -1
  344. package/src/components/input/input.tsx +5 -4
  345. package/src/components/input-otp/input-otp.tsx +1 -1
  346. package/src/components/navigation-menu/navigation-menu.tsx +2 -2
  347. package/src/components/number-field/number-field.tsx +1 -1
  348. package/src/components/popover/popover.tsx +1 -1
  349. package/src/components/progress/progress.stories.tsx +39 -0
  350. package/src/components/progress/progress.tsx +110 -18
  351. package/src/components/select/select.tsx +5 -4
  352. package/src/components/separator/separator.tsx +1 -1
  353. package/src/components/sheet/sheet.tsx +10 -7
  354. package/src/components/switch/switch.tsx +1 -1
  355. package/src/components/table/table.tsx +2 -2
  356. package/src/components/tabs/tabs.tsx +6 -3
  357. package/src/components/textarea/textarea.tsx +1 -1
  358. package/src/components/toast/toast.tsx +11 -8
  359. package/src/components/toggle/toggle.tsx +1 -1
  360. package/src/index.ts +3 -0
  361. package/src/test/palette-contract.test.ts +24 -21
  362. package/src/test/sidebar-contract.test.ts +8 -6
  363. package/styles/theme.css +279 -191
  364. package/dist/app-shell-layout-C63PPxCb.mjs.map +0 -1
  365. package/dist/collaboration-chat-panel-DuIoQQ6W.mjs.map +0 -1
  366. package/dist/empty-state-block-DePTPvzM.mjs.map +0 -1
  367. package/dist/evaluation-summary-report-Bx2iT1Pd.cjs +0 -212
  368. package/dist/evaluation-summary-report-CbaikB0Q.mjs +0 -207
  369. package/dist/evaluation-summary-report-CbaikB0Q.mjs.map +0 -1
  370. package/dist/heuristic-finding-card-BFwXci2U.mjs.map +0 -1
  371. package/dist/index-CY6x-q24.d.cts.map +0 -1
  372. package/dist/index-CY6x-q24.d.mts.map +0 -1
  373. package/dist/index-jYLDWfZc.d.cts +0 -15
  374. package/dist/index-jYLDWfZc.d.cts.map +0 -1
  375. package/dist/index-jYLDWfZc.d.mts +0 -15
  376. package/dist/index-jYLDWfZc.d.mts.map +0 -1
  377. package/dist/input-otp-CXy8gtKM.mjs.map +0 -1
  378. package/dist/inspector-split-view-CQeClX4k.mjs.map +0 -1
  379. package/dist/project-kanban-board-TUeAebbI.mjs.map +0 -1
  380. package/dist/team-members-table-ChWMZMYw.mjs.map +0 -1
  381. package/dist/toggle-C2RktAMd.mjs.map +0 -1
  382. package/src/__tests__/storybook-preview.test.tsx +0 -164
  383. package/src/test/docs-component-usability.test.tsx +0 -98
@@ -0,0 +1,287 @@
1
+ "use client";
2
+
3
+ import * as React from "react";
4
+ import { Check } from "lucide-react";
5
+ import { cn } from "../../lib/utils";
6
+
7
+ export interface PaletteSurfaceStep {
8
+ name: string;
9
+ hex: string;
10
+ }
11
+
12
+ export interface PaletteInteractionState {
13
+ label: string;
14
+ background: string;
15
+ foreground: string;
16
+ }
17
+
18
+ export interface PaletteMetric {
19
+ label: string;
20
+ value: string;
21
+ }
22
+
23
+ export interface PaletteDensityOption {
24
+ id: string;
25
+ label: string;
26
+ fillPercent: number;
27
+ }
28
+
29
+ export interface PaletteSwatchItem {
30
+ label: string;
31
+ hex: string;
32
+ }
33
+
34
+ export interface ColorPaletteSheetProps {
35
+ surfaceSteps: PaletteSurfaceStep[];
36
+ interactionStates: PaletteInteractionState[];
37
+ metrics: PaletteMetric[];
38
+ densityOptions: PaletteDensityOption[];
39
+ activeDensityId: string;
40
+ onDensityChange?: (id: string) => void;
41
+ profileTags: string[];
42
+ swatches: PaletteSwatchItem[];
43
+ accentColor?: string;
44
+ sampleRadius?: string;
45
+ copyHint?: string;
46
+ className?: string;
47
+ }
48
+
49
+ export function ColorPaletteSheet({
50
+ surfaceSteps,
51
+ interactionStates,
52
+ metrics,
53
+ densityOptions,
54
+ activeDensityId,
55
+ onDensityChange,
56
+ profileTags,
57
+ swatches,
58
+ accentColor = "var(--color-primary)",
59
+ sampleRadius = "var(--radius-md)",
60
+ copyHint = "Click any swatch to copy hex",
61
+ className,
62
+ }: ColorPaletteSheetProps) {
63
+ const [copiedHex, setCopiedHex] = React.useState<string | null>(null);
64
+
65
+ const handleCopyHex = async (hex: string) => {
66
+ try {
67
+ await navigator.clipboard.writeText(hex);
68
+ setCopiedHex(hex);
69
+ window.setTimeout(
70
+ () => setCopiedHex((curr) => (curr === hex ? null : curr)),
71
+ 1500
72
+ );
73
+ } catch {
74
+ // Clipboard API unavailable in non-secure contexts.
75
+ }
76
+ };
77
+
78
+ return (
79
+ <section
80
+ aria-label="Theme specification and color palette"
81
+ className={cn(
82
+ "@container w-full border-y border-border py-10 sm:py-12",
83
+ className
84
+ )}
85
+ >
86
+ {/* Top 3-Column Specification Breakdown (container-responsive) */}
87
+ <div className="grid grid-cols-1 gap-10 pb-10 @[52rem]:grid-cols-3 @[52rem]:gap-0 @[52rem]:divide-x @[52rem]:divide-border">
88
+ {/* Column 1: Surface Ladder */}
89
+ <div className="flex flex-col gap-5 @[52rem]:pr-10">
90
+ <div className="text-xs font-medium text-muted-foreground">
91
+ Surface ladder
92
+ </div>
93
+ <div className="grid grid-cols-4 gap-3">
94
+ {surfaceSteps.map((step) => (
95
+ <div key={step.name} className="flex flex-col gap-2.5 text-center">
96
+ <div
97
+ className="h-12 w-full rounded-md border border-border"
98
+ style={{ backgroundColor: step.hex }}
99
+ />
100
+ <div className="text-xs font-medium text-foreground">
101
+ {step.name}
102
+ </div>
103
+ </div>
104
+ ))}
105
+ </div>
106
+ </div>
107
+
108
+ {/* Column 2: Interaction States */}
109
+ <div className="flex flex-col gap-5 @[52rem]:px-10">
110
+ <div className="text-xs font-medium text-muted-foreground">
111
+ Interaction states
112
+ </div>
113
+ <div className="flex items-center justify-between gap-2.5 pt-1">
114
+ {interactionStates.map((state, idx) => (
115
+ <React.Fragment key={state.label}>
116
+ <div className="flex flex-1 flex-col items-center gap-2.5">
117
+ <span
118
+ className="inline-flex h-10 w-full items-center justify-center border border-border/30 px-3 text-xs font-medium"
119
+ style={{
120
+ backgroundColor: state.background,
121
+ color: state.foreground,
122
+ borderRadius: sampleRadius,
123
+ }}
124
+ >
125
+ {state.label}
126
+ </span>
127
+ <span className="font-mono text-[11px] uppercase text-muted-foreground">
128
+ {state.background.replace("#", "")}
129
+ </span>
130
+ </div>
131
+ {idx < interactionStates.length - 1 && (
132
+ <span
133
+ aria-hidden="true"
134
+ className="pb-6 text-xs text-muted-foreground"
135
+ >
136
+ →
137
+ </span>
138
+ )}
139
+ </React.Fragment>
140
+ ))}
141
+ </div>
142
+ </div>
143
+
144
+ {/* Column 3: Token Metrics */}
145
+ <div className="flex flex-col gap-5 @[52rem]:pl-10">
146
+ <div className="text-xs font-medium text-muted-foreground">
147
+ Token metrics
148
+ </div>
149
+ <div className="grid grid-cols-3 gap-4 pt-1 text-center">
150
+ {metrics.map((metric) => (
151
+ <div key={metric.label} className="flex flex-col gap-1.5">
152
+ <div className="font-mono text-lg font-semibold text-foreground tabular-nums">
153
+ {metric.value}
154
+ </div>
155
+ <div className="text-xs text-muted-foreground">
156
+ {metric.label}
157
+ </div>
158
+ </div>
159
+ ))}
160
+ </div>
161
+ </div>
162
+ </div>
163
+
164
+ {/* Bottom 2-Column Row: Density Gauge + Active Profile & Circular Color Palette */}
165
+ <div className="grid grid-cols-1 gap-10 border-t border-border pt-10 @[52rem]:grid-cols-12 @[52rem]:gap-0 @[52rem]:divide-x @[52rem]:divide-border">
166
+ {/* Left: Spacing Density Gauge */}
167
+ <div className="flex flex-col gap-5 @[52rem]:col-span-5 @[52rem]:pr-10">
168
+ <div className="text-xs font-medium text-muted-foreground">
169
+ Spacing density gauge
170
+ </div>
171
+ <div className="flex items-center justify-between gap-3 pt-2">
172
+ {densityOptions.map((step, idx) => {
173
+ const active = activeDensityId === step.id;
174
+ return (
175
+ <React.Fragment key={step.id}>
176
+ <button
177
+ type="button"
178
+ disabled={!onDensityChange}
179
+ aria-pressed={active}
180
+ onClick={() => onDensityChange?.(step.id)}
181
+ className={cn(
182
+ "flex flex-1 flex-col items-center gap-3 rounded-lg p-2 transition-colors duration-150",
183
+ onDensityChange
184
+ ? "cursor-pointer hover:bg-accent/50"
185
+ : "cursor-default"
186
+ )}
187
+ >
188
+ <div className="h-3.5 w-full overflow-hidden rounded-full border border-border bg-secondary">
189
+ <div
190
+ className="h-full rounded-full transition-[width,background-color] duration-200"
191
+ style={{
192
+ width: `${step.fillPercent}%`,
193
+ backgroundColor: active
194
+ ? accentColor
195
+ : "var(--color-muted-foreground)",
196
+ }}
197
+ />
198
+ </div>
199
+ <span
200
+ className={cn(
201
+ "font-mono text-xs tabular-nums",
202
+ active
203
+ ? "font-semibold text-foreground"
204
+ : "text-muted-foreground"
205
+ )}
206
+ >
207
+ {step.label}
208
+ </span>
209
+ </button>
210
+ {idx < densityOptions.length - 1 && (
211
+ <span
212
+ aria-hidden="true"
213
+ className="pb-6 text-xs text-muted-foreground"
214
+ >
215
+ →
216
+ </span>
217
+ )}
218
+ </React.Fragment>
219
+ );
220
+ })}
221
+ </div>
222
+ </div>
223
+
224
+ {/* Right: Active Profile + Circular Color Palette with Hex Codes */}
225
+ <div className="flex flex-col gap-8 @[52rem]:col-span-7 @[52rem]:pl-10">
226
+ <div className="flex flex-col gap-3">
227
+ <div className="text-xs font-medium text-muted-foreground">
228
+ Active profile
229
+ </div>
230
+ <div className="flex flex-wrap items-center gap-2.5">
231
+ {profileTags.map((tag) => (
232
+ <span
233
+ key={tag}
234
+ className="inline-flex items-center rounded-full border border-border bg-card px-3.5 py-1.5 text-xs font-medium text-foreground"
235
+ >
236
+ {tag}
237
+ </span>
238
+ ))}
239
+ </div>
240
+ </div>
241
+
242
+ <div className="flex flex-col gap-4">
243
+ <div className="flex flex-wrap items-center justify-between gap-2">
244
+ <span className="text-xs font-medium text-muted-foreground">
245
+ Color palette
246
+ </span>
247
+ <span className="text-xs text-muted-foreground">{copyHint}</span>
248
+ </div>
249
+
250
+ <div className="grid grid-cols-3 gap-5 @[34rem]:grid-cols-6">
251
+ {swatches.map((swatch) => {
252
+ const hexCode = swatch.hex.replace("#", "").toUpperCase();
253
+ const isCopied = copiedHex === swatch.hex;
254
+ return (
255
+ <button
256
+ key={swatch.label}
257
+ type="button"
258
+ onClick={() => handleCopyHex(swatch.hex)}
259
+ title={`Copy ${swatch.label}: ${swatch.hex}`}
260
+ className="group flex flex-col items-center gap-2.5 text-center cursor-pointer"
261
+ >
262
+ <span
263
+ className="relative flex h-14 w-14 items-center justify-center rounded-full border border-border shadow-xs transition-transform duration-150 group-hover:scale-105"
264
+ style={{ backgroundColor: swatch.hex }}
265
+ >
266
+ {isCopied && (
267
+ <span className="inline-flex h-6 w-6 items-center justify-center rounded-full bg-background/90 text-foreground">
268
+ <Check className="h-3.5 w-3.5" />
269
+ </span>
270
+ )}
271
+ </span>
272
+ <span className="font-mono text-xs font-medium uppercase tracking-wide text-foreground tabular-nums">
273
+ {isCopied ? "COPIED" : hexCode}
274
+ </span>
275
+ <span className="text-[11px] text-muted-foreground">
276
+ {swatch.label}
277
+ </span>
278
+ </button>
279
+ );
280
+ })}
281
+ </div>
282
+ </div>
283
+ </div>
284
+ </div>
285
+ </section>
286
+ );
287
+ }
@@ -0,0 +1 @@
1
+ export * from "./color-palette-sheet";
@@ -37,7 +37,7 @@ export function DashboardHeader({
37
37
  className
38
38
  }: DashboardHeaderProps) {
39
39
  return (
40
- <header className={cn("flex min-h-16 w-full flex-wrap items-center justify-between gap-2 border-b border-border bg-card px-4 py-2 text-foreground sm:h-16 sm:flex-nowrap sm:gap-4 sm:px-6 sm:py-0", className)}>
40
+ <header className={cn("flex min-h-16 w-full flex-wrap items-center justify-between gap-3 border-b border-border bg-card px-5 py-3 text-foreground sm:h-16 sm:flex-nowrap sm:gap-5 sm:px-7 sm:py-0", className)}>
41
41
  <Breadcrumb className="min-w-0 shrink">
42
42
  <BreadcrumbList>
43
43
  <BreadcrumbItem>
@@ -4,6 +4,7 @@ import * as React from "react";
4
4
  import { ColumnDef } from "@tanstack/react-table";
5
5
  import { Combobox } from "../../components/combobox";
6
6
  import { DataTable, DataTableColumnHeader } from "../../components/data-table";
7
+ import { cn } from "../../lib/utils";
7
8
 
8
9
  export interface SystemUser {
9
10
  id: string;
@@ -60,9 +61,9 @@ export function DataTableWithFilters({
60
61
  }, [data, selectedRole]);
61
62
 
62
63
  return (
63
- <div className="w-full min-w-0 space-y-4">
64
- <div className="flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between">
65
- <div className="space-y-1">
64
+ <div className={cn("w-full min-w-0 space-y-5", className)}>
65
+ <div className="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between">
66
+ <div className="space-y-1.5">
66
67
  <h3 className="text-sm font-semibold text-foreground">{title}</h3>
67
68
  <p className="text-xs text-muted-foreground">{description}</p>
68
69
  </div>
@@ -18,9 +18,9 @@ export interface EmptyStateBlockProps
18
18
 
19
19
  export function EmptyStateBlock({
20
20
  icon,
21
- title = "No evaluations recorded",
22
- description = "Get started by selecting an element on the host page or importing an existing audit.",
23
- actionLabel = "New Evaluation",
21
+ title = "No items yet",
22
+ description = "Get started by creating a new item or importing existing data.",
23
+ actionLabel = "Create item",
24
24
  secondaryActionLabel,
25
25
  onAction,
26
26
  onSecondaryAction,
@@ -32,30 +32,31 @@ export function EmptyStateBlock({
32
32
 
33
33
  return (
34
34
  <div
35
+ data-slot="empty-state-block"
35
36
  aria-labelledby={titleId}
36
37
  aria-describedby={descriptionId}
37
38
  className={cn(
38
- "flex flex-col items-center justify-center rounded-xl border border-dashed border-border bg-muted/10 p-8 text-center max-w-lg mx-auto",
39
+ "flex flex-col items-center justify-center rounded-lg border border-dashed border-border bg-secondary/40 px-8 py-12 text-center max-w-lg mx-auto",
39
40
  className
40
41
  )}
41
42
  {...props}
42
43
  >
43
44
  <div
44
45
  aria-hidden="true"
45
- className="flex h-12 w-12 items-center justify-center rounded-full bg-muted border border-border/80 text-muted-foreground mb-4"
46
+ className="flex h-12 w-12 items-center justify-center rounded-full bg-secondary border border-border text-muted-foreground mb-5"
46
47
  >
47
48
  {icon ?? <HelpCircle className="h-6 w-6" />}
48
49
  </div>
49
50
 
50
- <h3 id={titleId} className="text-base font-semibold text-foreground mb-1">{title}</h3>
51
+ <h3 id={titleId} className="m-0 text-base font-semibold text-foreground mb-2">{title}</h3>
51
52
  <p
52
53
  id={descriptionId}
53
- className="text-xs text-muted-foreground max-w-sm mb-6 leading-relaxed"
54
+ className="m-0 text-sm text-muted-foreground max-w-sm mb-7 leading-relaxed"
54
55
  >
55
56
  {description}
56
57
  </p>
57
58
 
58
- <div className="flex w-full max-w-full flex-wrap items-center justify-center gap-3">
59
+ <div className="flex w-full max-w-full flex-wrap items-center justify-center gap-3.5">
59
60
  {secondaryActionLabel && onSecondaryAction && (
60
61
  <Button
61
62
  variant="outline"
@@ -13,8 +13,9 @@ const sampleHeuristics: HeuristicScoreItem[] = [
13
13
  id: "H2",
14
14
  name: "Match between system and real world",
15
15
  score: 95,
16
- findingCount: 0,
16
+ findingCount: 1,
17
17
  },
18
+ { id: "H3", name: "User control and freedom", score: 65, findingCount: 4 },
18
19
  ];
19
20
 
20
21
  describe("EvaluationSummaryReport Block", () => {
@@ -25,7 +26,7 @@ describe("EvaluationSummaryReport Block", () => {
25
26
  expect(screen.getByText("Generated with Usalyt Check")).toBeInTheDocument();
26
27
  });
27
28
 
28
- it("renders report title, metrics and heuristic progress items", () => {
29
+ it("renders report title, metrics, pluralized findings, and heuristic scores", () => {
29
30
  render(
30
31
  <EvaluationSummaryReport
31
32
  title="Sprint 4 Audit"
@@ -45,10 +46,12 @@ describe("EvaluationSummaryReport Block", () => {
45
46
  expect(screen.getByText("4")).toBeInTheDocument();
46
47
  expect(screen.getByText("10")).toBeInTheDocument();
47
48
  expect(screen.getByText("Visibility of system status")).toBeInTheDocument();
49
+ expect(screen.getByText("1 finding")).toBeInTheDocument();
50
+ expect(screen.getByText("2 findings")).toBeInTheDocument();
48
51
  expect(screen.getByText("80%")).toBeInTheDocument();
49
52
  });
50
53
 
51
- it("uses neutral score meters while preserving values", () => {
54
+ it("renders segmented semantic score meters with accessible progress values", () => {
52
55
  render(
53
56
  <EvaluationSummaryReport
54
57
  overallScore={78}
@@ -57,11 +60,16 @@ describe("EvaluationSummaryReport Block", () => {
57
60
  );
58
61
 
59
62
  const bars = screen.getAllByRole("progressbar");
60
- expect(bars).toHaveLength(3);
61
- for (const bar of bars) {
62
- expect(bar.querySelector(".bg-muted-foreground")).toBeInTheDocument();
63
- expect(bar.querySelector(".bg-primary")).not.toBeInTheDocument();
64
- }
63
+ expect(bars).toHaveLength(4);
64
+ expect(bars[0]).toHaveAttribute("aria-valuenow", "78");
65
+ expect(bars[1]).toHaveAttribute("aria-valuenow", "80");
66
+ expect(bars[2]).toHaveAttribute("aria-valuenow", "95");
67
+ expect(bars[3]).toHaveAttribute("aria-valuenow", "65");
68
+
69
+ // 78 -> primary lavender-blue, 80+ -> pulse-green-foreground, <70 -> amber-signal-foreground
70
+ expect(bars[0].querySelector(".bg-primary")).toBeInTheDocument();
71
+ expect(bars[1].querySelector(".bg-pulse-green-foreground")).toBeInTheDocument();
72
+ expect(bars[3].querySelector(".bg-amber-signal-foreground")).toBeInTheDocument();
65
73
  expect(screen.getByText("78")).toBeInTheDocument();
66
74
  });
67
75