@elaraai/east-ui 1.0.4 → 1.0.6

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 (1511) hide show
  1. package/README.md +3 -2
  2. package/dist/src/buttons/button/index.d.ts +20 -20
  3. package/dist/src/buttons/button/index.d.ts.map +1 -1
  4. package/dist/src/buttons/button/index.js +25 -21
  5. package/dist/src/buttons/button/index.js.map +1 -1
  6. package/dist/src/buttons/button-group/index.d.ts.map +1 -1
  7. package/dist/src/buttons/button-group/index.js +3 -1
  8. package/dist/src/buttons/button-group/index.js.map +1 -1
  9. package/dist/src/buttons/button-group/types.d.ts +3 -7
  10. package/dist/src/buttons/button-group/types.d.ts.map +1 -1
  11. package/dist/src/buttons/close-button/index.d.ts +2 -5
  12. package/dist/src/buttons/close-button/index.d.ts.map +1 -1
  13. package/dist/src/buttons/close-button/index.js +10 -9
  14. package/dist/src/buttons/close-button/index.js.map +1 -1
  15. package/dist/src/buttons/close-button/types.d.ts +1 -3
  16. package/dist/src/buttons/close-button/types.d.ts.map +1 -1
  17. package/dist/src/buttons/copy-button/index.d.ts +3 -7
  18. package/dist/src/buttons/copy-button/index.d.ts.map +1 -1
  19. package/dist/src/buttons/copy-button/index.js +11 -11
  20. package/dist/src/buttons/copy-button/index.js.map +1 -1
  21. package/dist/src/buttons/copy-button/types.d.ts +1 -3
  22. package/dist/src/buttons/copy-button/types.d.ts.map +1 -1
  23. package/dist/src/buttons/icon-button/index.d.ts +23 -29
  24. package/dist/src/buttons/icon-button/index.d.ts.map +1 -1
  25. package/dist/src/buttons/icon-button/index.js +31 -33
  26. package/dist/src/buttons/icon-button/index.js.map +1 -1
  27. package/dist/src/buttons/icon-button/types.d.ts +16 -7
  28. package/dist/src/buttons/icon-button/types.d.ts.map +1 -1
  29. package/dist/src/buttons/icon-button/types.js.map +1 -1
  30. package/dist/src/buttons/toggle/index.d.ts +13 -14
  31. package/dist/src/buttons/toggle/index.d.ts.map +1 -1
  32. package/dist/src/buttons/toggle/index.js +22 -20
  33. package/dist/src/buttons/toggle/index.js.map +1 -1
  34. package/dist/src/buttons/toggle/types.d.ts +3 -3
  35. package/dist/src/buttons/toggle/types.d.ts.map +1 -1
  36. package/dist/src/charts/chart/index.d.ts +1615 -0
  37. package/dist/src/charts/chart/index.d.ts.map +1 -0
  38. package/dist/src/charts/chart/index.js +354 -0
  39. package/dist/src/charts/chart/index.js.map +1 -0
  40. package/dist/src/charts/index.d.ts +7 -6724
  41. package/dist/src/charts/index.d.ts.map +1 -1
  42. package/dist/src/charts/index.js +7 -1035
  43. package/dist/src/charts/index.js.map +1 -1
  44. package/dist/src/charts/spec/index.d.ts +2568 -146
  45. package/dist/src/charts/spec/index.d.ts.map +1 -1
  46. package/dist/src/charts/spec/index.js +762 -59
  47. package/dist/src/charts/spec/index.js.map +1 -1
  48. package/dist/src/charts/spec/types.d.ts +494 -17
  49. package/dist/src/charts/spec/types.d.ts.map +1 -1
  50. package/dist/src/charts/spec/types.js +298 -8
  51. package/dist/src/charts/spec/types.js.map +1 -1
  52. package/dist/src/collections/blend/index.d.ts +525 -0
  53. package/dist/src/collections/blend/index.d.ts.map +1 -0
  54. package/dist/src/collections/blend/index.js +283 -0
  55. package/dist/src/collections/blend/index.js.map +1 -0
  56. package/dist/src/collections/blend/types.d.ts +373 -0
  57. package/dist/src/collections/blend/types.d.ts.map +1 -0
  58. package/dist/src/collections/blend/types.js +168 -0
  59. package/dist/src/collections/blend/types.js.map +1 -0
  60. package/dist/src/collections/calendar/index.d.ts +211 -0
  61. package/dist/src/collections/calendar/index.d.ts.map +1 -0
  62. package/dist/src/collections/calendar/index.js +153 -0
  63. package/dist/src/collections/calendar/index.js.map +1 -0
  64. package/dist/src/collections/calendar/types.d.ts +116 -0
  65. package/dist/src/collections/calendar/types.d.ts.map +1 -0
  66. package/dist/src/collections/calendar/types.js +81 -0
  67. package/dist/src/collections/calendar/types.js.map +1 -0
  68. package/dist/src/collections/data-list/index.d.ts +2 -31666
  69. package/dist/src/collections/data-list/index.d.ts.map +1 -1
  70. package/dist/src/collections/gantt/index.d.ts +34 -93
  71. package/dist/src/collections/gantt/index.d.ts.map +1 -1
  72. package/dist/src/collections/gantt/index.js +120 -121
  73. package/dist/src/collections/gantt/index.js.map +1 -1
  74. package/dist/src/collections/gantt/types.d.ts +149 -58
  75. package/dist/src/collections/gantt/types.d.ts.map +1 -1
  76. package/dist/src/collections/gantt/types.js +92 -20
  77. package/dist/src/collections/gantt/types.js.map +1 -1
  78. package/dist/src/collections/index.d.ts +5 -0
  79. package/dist/src/collections/index.d.ts.map +1 -1
  80. package/dist/src/collections/index.js +5 -0
  81. package/dist/src/collections/index.js.map +1 -1
  82. package/dist/src/collections/library/index.d.ts +436 -0
  83. package/dist/src/collections/library/index.d.ts.map +1 -0
  84. package/dist/src/collections/library/index.js +284 -0
  85. package/dist/src/collections/library/index.js.map +1 -0
  86. package/dist/src/collections/library/types.d.ts +329 -0
  87. package/dist/src/collections/library/types.d.ts.map +1 -0
  88. package/dist/src/collections/library/types.js +204 -0
  89. package/dist/src/collections/library/types.js.map +1 -0
  90. package/dist/src/collections/matrix/index.d.ts +244 -31884
  91. package/dist/src/collections/matrix/index.d.ts.map +1 -1
  92. package/dist/src/collections/matrix/index.js +573 -327
  93. package/dist/src/collections/matrix/index.js.map +1 -1
  94. package/dist/src/collections/matrix/types.d.ts +206 -195
  95. package/dist/src/collections/matrix/types.d.ts.map +1 -1
  96. package/dist/src/collections/matrix/types.js +113 -135
  97. package/dist/src/collections/matrix/types.js.map +1 -1
  98. package/dist/src/collections/pagination/index.d.ts +8 -35
  99. package/dist/src/collections/pagination/index.d.ts.map +1 -1
  100. package/dist/src/collections/pagination/index.js +12 -42
  101. package/dist/src/collections/pagination/index.js.map +1 -1
  102. package/dist/src/collections/pagination/types.d.ts +34 -1
  103. package/dist/src/collections/pagination/types.d.ts.map +1 -1
  104. package/dist/src/collections/pagination/types.js +27 -1
  105. package/dist/src/collections/pagination/types.js.map +1 -1
  106. package/dist/src/collections/planner/index.d.ts +428 -257
  107. package/dist/src/collections/planner/index.d.ts.map +1 -1
  108. package/dist/src/collections/planner/index.js +557 -717
  109. package/dist/src/collections/planner/index.js.map +1 -1
  110. package/dist/src/collections/planner/types.d.ts +346 -339
  111. package/dist/src/collections/planner/types.d.ts.map +1 -1
  112. package/dist/src/collections/planner/types.js +238 -185
  113. package/dist/src/collections/planner/types.js.map +1 -1
  114. package/dist/src/collections/roster/index.d.ts +396 -0
  115. package/dist/src/collections/roster/index.d.ts.map +1 -0
  116. package/dist/src/collections/roster/index.js +227 -0
  117. package/dist/src/collections/roster/index.js.map +1 -0
  118. package/dist/src/collections/roster/types.d.ts +240 -0
  119. package/dist/src/collections/roster/types.d.ts.map +1 -0
  120. package/dist/src/collections/roster/types.js +113 -0
  121. package/dist/src/collections/roster/types.js.map +1 -0
  122. package/dist/src/collections/schematic/index.d.ts +681 -0
  123. package/dist/src/collections/schematic/index.d.ts.map +1 -0
  124. package/dist/src/collections/schematic/index.js +365 -0
  125. package/dist/src/collections/schematic/index.js.map +1 -0
  126. package/dist/src/collections/schematic/types.d.ts +590 -0
  127. package/dist/src/collections/schematic/types.d.ts.map +1 -0
  128. package/dist/src/collections/schematic/types.js +247 -0
  129. package/dist/src/collections/schematic/types.js.map +1 -0
  130. package/dist/src/collections/table/index.d.ts +18 -31669
  131. package/dist/src/collections/table/index.d.ts.map +1 -1
  132. package/dist/src/collections/table/index.js +13 -0
  133. package/dist/src/collections/table/index.js.map +1 -1
  134. package/dist/src/component.d.ts +3959 -22701
  135. package/dist/src/component.d.ts.map +1 -1
  136. package/dist/src/component.js +85 -130
  137. package/dist/src/component.js.map +1 -1
  138. package/dist/src/container/card/index.d.ts +48 -35
  139. package/dist/src/container/card/index.d.ts.map +1 -1
  140. package/dist/src/container/card/index.js +49 -61
  141. package/dist/src/container/card/index.js.map +1 -1
  142. package/dist/src/contracts/drag.d.ts +223 -0
  143. package/dist/src/contracts/drag.d.ts.map +1 -0
  144. package/dist/src/contracts/drag.js +138 -0
  145. package/dist/src/contracts/drag.js.map +1 -0
  146. package/dist/src/contracts/index.d.ts +1 -0
  147. package/dist/src/contracts/index.d.ts.map +1 -1
  148. package/dist/src/contracts/index.js +1 -0
  149. package/dist/src/contracts/index.js.map +1 -1
  150. package/dist/src/contracts/slice-affordances.d.ts +9 -4
  151. package/dist/src/contracts/slice-affordances.d.ts.map +1 -1
  152. package/dist/src/contracts/slice-affordances.js +8 -3
  153. package/dist/src/contracts/slice-affordances.js.map +1 -1
  154. package/dist/src/disclosure/accordion/index.d.ts +8 -8
  155. package/dist/src/disclosure/accordion/index.d.ts.map +1 -1
  156. package/dist/src/disclosure/accordion/index.js +16 -14
  157. package/dist/src/disclosure/accordion/index.js.map +1 -1
  158. package/dist/src/disclosure/accordion/types.d.ts +10 -6
  159. package/dist/src/disclosure/accordion/types.d.ts.map +1 -1
  160. package/dist/src/disclosure/carousel/index.d.ts.map +1 -1
  161. package/dist/src/disclosure/carousel/index.js +16 -12
  162. package/dist/src/disclosure/carousel/index.js.map +1 -1
  163. package/dist/src/disclosure/carousel/types.d.ts +1 -3
  164. package/dist/src/disclosure/carousel/types.d.ts.map +1 -1
  165. package/dist/src/disclosure/collapsible/index.d.ts +27 -11
  166. package/dist/src/disclosure/collapsible/index.d.ts.map +1 -1
  167. package/dist/src/disclosure/collapsible/index.js +15 -16
  168. package/dist/src/disclosure/collapsible/index.js.map +1 -1
  169. package/dist/src/disclosure/collapsible/types.d.ts +1 -16
  170. package/dist/src/disclosure/collapsible/types.d.ts.map +1 -1
  171. package/dist/src/disclosure/collapsible/types.js +1 -1
  172. package/dist/src/disclosure/collapsible/types.js.map +1 -1
  173. package/dist/src/disclosure/option-list/index.d.ts +6 -4
  174. package/dist/src/disclosure/option-list/index.d.ts.map +1 -1
  175. package/dist/src/disclosure/option-list/index.js +5 -3
  176. package/dist/src/disclosure/option-list/index.js.map +1 -1
  177. package/dist/src/disclosure/segment-group/index.d.ts +27 -19
  178. package/dist/src/disclosure/segment-group/index.d.ts.map +1 -1
  179. package/dist/src/disclosure/segment-group/index.js +16 -17
  180. package/dist/src/disclosure/segment-group/index.js.map +1 -1
  181. package/dist/src/disclosure/show-more/index.js +3 -3
  182. package/dist/src/disclosure/show-more/index.js.map +1 -1
  183. package/dist/src/disclosure/show-more/types.d.ts +1 -3
  184. package/dist/src/disclosure/show-more/types.d.ts.map +1 -1
  185. package/dist/src/disclosure/tabs/index.d.ts +9 -10
  186. package/dist/src/disclosure/tabs/index.d.ts.map +1 -1
  187. package/dist/src/disclosure/tabs/index.js +15 -14
  188. package/dist/src/disclosure/tabs/index.js.map +1 -1
  189. package/dist/src/disclosure/tabs/types.d.ts +4 -6
  190. package/dist/src/disclosure/tabs/types.d.ts.map +1 -1
  191. package/dist/src/display/avatar/index.d.ts +6 -0
  192. package/dist/src/display/avatar/index.d.ts.map +1 -1
  193. package/dist/src/display/avatar/index.js +8 -1
  194. package/dist/src/display/avatar/index.js.map +1 -1
  195. package/dist/src/display/avatar/types.d.ts +15 -2
  196. package/dist/src/display/avatar/types.d.ts.map +1 -1
  197. package/dist/src/display/avatar/types.js +3 -1
  198. package/dist/src/display/avatar/types.js.map +1 -1
  199. package/dist/src/display/avatar-group/index.d.ts.map +1 -1
  200. package/dist/src/display/avatar-group/index.js +14 -1
  201. package/dist/src/display/avatar-group/index.js.map +1 -1
  202. package/dist/src/display/avatar-group/types.d.ts +21 -2
  203. package/dist/src/display/avatar-group/types.d.ts.map +1 -1
  204. package/dist/src/display/avatar-group/types.js +3 -1
  205. package/dist/src/display/avatar-group/types.js.map +1 -1
  206. package/dist/src/display/badge/index.d.ts +6 -0
  207. package/dist/src/display/badge/index.d.ts.map +1 -1
  208. package/dist/src/display/badge/index.js +8 -1
  209. package/dist/src/display/badge/index.js.map +1 -1
  210. package/dist/src/display/badge/types.d.ts +15 -2
  211. package/dist/src/display/badge/types.d.ts.map +1 -1
  212. package/dist/src/display/badge/types.js +3 -1
  213. package/dist/src/display/badge/types.js.map +1 -1
  214. package/dist/src/display/bar-strip/index.d.ts +3 -1
  215. package/dist/src/display/bar-strip/index.d.ts.map +1 -1
  216. package/dist/src/display/bar-strip/index.js +10 -1
  217. package/dist/src/display/bar-strip/index.js.map +1 -1
  218. package/dist/src/display/bar-strip/types.d.ts +10 -2
  219. package/dist/src/display/bar-strip/types.d.ts.map +1 -1
  220. package/dist/src/display/bar-strip/types.js +1 -1
  221. package/dist/src/display/bar-strip/types.js.map +1 -1
  222. package/dist/src/display/chip-rail/index.d.ts +109 -0
  223. package/dist/src/display/chip-rail/index.d.ts.map +1 -0
  224. package/dist/src/{layout → display}/chip-rail/index.js +19 -17
  225. package/dist/src/display/chip-rail/index.js.map +1 -0
  226. package/dist/src/{layout → display}/chip-rail/types.d.ts +10 -4
  227. package/dist/src/display/chip-rail/types.d.ts.map +1 -0
  228. package/dist/src/{layout → display}/chip-rail/types.js +1 -1
  229. package/dist/src/display/chip-rail/types.js.map +1 -0
  230. package/dist/src/display/editable-chip/index.d.ts +3 -0
  231. package/dist/src/display/editable-chip/index.d.ts.map +1 -1
  232. package/dist/src/display/editable-chip/index.js +10 -1
  233. package/dist/src/display/editable-chip/index.js.map +1 -1
  234. package/dist/src/display/editable-chip/types.d.ts +10 -2
  235. package/dist/src/display/editable-chip/types.d.ts.map +1 -1
  236. package/dist/src/display/editable-chip/types.js +1 -1
  237. package/dist/src/display/editable-chip/types.js.map +1 -1
  238. package/dist/src/display/icon/index.d.ts +5 -8
  239. package/dist/src/display/icon/index.d.ts.map +1 -1
  240. package/dist/src/display/icon/index.js +8 -9
  241. package/dist/src/display/icon/index.js.map +1 -1
  242. package/dist/src/display/icon/types.d.ts +5 -0
  243. package/dist/src/display/icon/types.d.ts.map +1 -1
  244. package/dist/src/display/icon/types.js.map +1 -1
  245. package/dist/src/display/index.d.ts +2 -0
  246. package/dist/src/display/index.d.ts.map +1 -1
  247. package/dist/src/display/index.js +2 -0
  248. package/dist/src/display/index.js.map +1 -1
  249. package/dist/src/display/kbd/index.d.ts.map +1 -1
  250. package/dist/src/display/kbd/index.js +8 -1
  251. package/dist/src/display/kbd/index.js.map +1 -1
  252. package/dist/src/display/kbd/types.d.ts +16 -2
  253. package/dist/src/display/kbd/types.d.ts.map +1 -1
  254. package/dist/src/display/kbd/types.js +3 -1
  255. package/dist/src/display/kbd/types.js.map +1 -1
  256. package/dist/src/display/meter/index.d.ts +3 -0
  257. package/dist/src/display/meter/index.d.ts.map +1 -1
  258. package/dist/src/display/meter/index.js +10 -0
  259. package/dist/src/display/meter/index.js.map +1 -1
  260. package/dist/src/display/meter/types.d.ts +10 -0
  261. package/dist/src/display/meter/types.d.ts.map +1 -1
  262. package/dist/src/display/meter/types.js +1 -0
  263. package/dist/src/display/meter/types.js.map +1 -1
  264. package/dist/src/display/metric-chip/index.d.ts +12 -8
  265. package/dist/src/display/metric-chip/index.d.ts.map +1 -1
  266. package/dist/src/display/metric-chip/index.js +27 -18
  267. package/dist/src/display/metric-chip/index.js.map +1 -1
  268. package/dist/src/display/metric-chip/types.d.ts +16 -5
  269. package/dist/src/display/metric-chip/types.d.ts.map +1 -1
  270. package/dist/src/display/metric-chip/types.js +1 -1
  271. package/dist/src/display/metric-chip/types.js.map +1 -1
  272. package/dist/src/display/segmented-meter/index.d.ts +3 -0
  273. package/dist/src/display/segmented-meter/index.d.ts.map +1 -1
  274. package/dist/src/display/segmented-meter/index.js +10 -0
  275. package/dist/src/display/segmented-meter/index.js.map +1 -1
  276. package/dist/src/display/segmented-meter/types.d.ts +10 -0
  277. package/dist/src/display/segmented-meter/types.d.ts.map +1 -1
  278. package/dist/src/display/segmented-meter/types.js +1 -0
  279. package/dist/src/display/segmented-meter/types.js.map +1 -1
  280. package/dist/src/display/stat/index.d.ts +13 -11
  281. package/dist/src/display/stat/index.d.ts.map +1 -1
  282. package/dist/src/display/stat/index.js +34 -23
  283. package/dist/src/display/stat/index.js.map +1 -1
  284. package/dist/src/display/stat/types.d.ts +23 -5
  285. package/dist/src/display/stat/types.d.ts.map +1 -1
  286. package/dist/src/display/stat/types.js +7 -7
  287. package/dist/src/display/stat/types.js.map +1 -1
  288. package/dist/src/display/tag/index.d.ts +5 -0
  289. package/dist/src/display/tag/index.d.ts.map +1 -1
  290. package/dist/src/display/tag/index.js +7 -1
  291. package/dist/src/display/tag/index.js.map +1 -1
  292. package/dist/src/display/tag/types.d.ts +15 -2
  293. package/dist/src/display/tag/types.d.ts.map +1 -1
  294. package/dist/src/display/tag/types.js +3 -1
  295. package/dist/src/display/tag/types.js.map +1 -1
  296. package/dist/src/display/trace/index.d.ts +104 -0
  297. package/dist/src/display/trace/index.d.ts.map +1 -0
  298. package/dist/src/display/trace/index.js +106 -0
  299. package/dist/src/display/trace/index.js.map +1 -0
  300. package/dist/src/display/trace/types.d.ts +140 -0
  301. package/dist/src/display/trace/types.d.ts.map +1 -0
  302. package/dist/src/display/trace/types.js +75 -0
  303. package/dist/src/display/trace/types.js.map +1 -0
  304. package/dist/src/feedback/banner/index.d.ts +25 -13
  305. package/dist/src/feedback/banner/index.d.ts.map +1 -1
  306. package/dist/src/feedback/banner/index.js +26 -22
  307. package/dist/src/feedback/banner/index.js.map +1 -1
  308. package/dist/src/feedback/empty-state/index.d.ts +20 -12
  309. package/dist/src/feedback/empty-state/index.d.ts.map +1 -1
  310. package/dist/src/feedback/empty-state/index.js +26 -22
  311. package/dist/src/feedback/empty-state/index.js.map +1 -1
  312. package/dist/src/feedback/progress/index.d.ts +13 -10
  313. package/dist/src/feedback/progress/index.d.ts.map +1 -1
  314. package/dist/src/feedback/progress/index.js +15 -15
  315. package/dist/src/feedback/progress/index.js.map +1 -1
  316. package/dist/src/feedback/skeleton/index.d.ts +16 -11
  317. package/dist/src/feedback/skeleton/index.d.ts.map +1 -1
  318. package/dist/src/feedback/skeleton/index.js +12 -10
  319. package/dist/src/feedback/skeleton/index.js.map +1 -1
  320. package/dist/src/feedback/status/index.d.ts +16 -11
  321. package/dist/src/feedback/status/index.d.ts.map +1 -1
  322. package/dist/src/feedback/status/index.js +23 -21
  323. package/dist/src/feedback/status/index.js.map +1 -1
  324. package/dist/src/format/index.d.ts +1 -1
  325. package/dist/src/format/index.d.ts.map +1 -1
  326. package/dist/src/format/index.js +1 -1
  327. package/dist/src/format/index.js.map +1 -1
  328. package/dist/src/format/types.d.ts +736 -0
  329. package/dist/src/format/types.d.ts.map +1 -0
  330. package/dist/src/format/types.js +473 -0
  331. package/dist/src/format/types.js.map +1 -0
  332. package/dist/src/forms/combobox/index.d.ts +9 -13
  333. package/dist/src/forms/combobox/index.d.ts.map +1 -1
  334. package/dist/src/forms/combobox/index.js +9 -12
  335. package/dist/src/forms/combobox/index.js.map +1 -1
  336. package/dist/src/forms/combobox/types.d.ts +13 -0
  337. package/dist/src/forms/combobox/types.d.ts.map +1 -1
  338. package/dist/src/forms/date-range-input/index.d.ts +6 -7
  339. package/dist/src/forms/date-range-input/index.d.ts.map +1 -1
  340. package/dist/src/forms/date-range-input/index.js +34 -34
  341. package/dist/src/forms/date-range-input/index.js.map +1 -1
  342. package/dist/src/forms/date-range-input/types.d.ts +4 -0
  343. package/dist/src/forms/date-range-input/types.d.ts.map +1 -1
  344. package/dist/src/forms/date-range-input/types.js.map +1 -1
  345. package/dist/src/forms/field/index.d.ts +8 -0
  346. package/dist/src/forms/field/index.d.ts.map +1 -1
  347. package/dist/src/forms/field/types.d.ts +16 -0
  348. package/dist/src/forms/field/types.d.ts.map +1 -1
  349. package/dist/src/forms/file-upload/index.d.ts +5 -1
  350. package/dist/src/forms/file-upload/index.d.ts.map +1 -1
  351. package/dist/src/forms/file-upload/index.js +9 -2
  352. package/dist/src/forms/file-upload/index.js.map +1 -1
  353. package/dist/src/forms/file-upload/types.d.ts +34 -0
  354. package/dist/src/forms/file-upload/types.d.ts.map +1 -1
  355. package/dist/src/forms/file-upload/types.js +22 -0
  356. package/dist/src/forms/file-upload/types.js.map +1 -1
  357. package/dist/src/forms/index.d.ts +0 -1
  358. package/dist/src/forms/index.d.ts.map +1 -1
  359. package/dist/src/forms/index.js +0 -1
  360. package/dist/src/forms/index.js.map +1 -1
  361. package/dist/src/forms/input/index.d.ts +5 -0
  362. package/dist/src/forms/input/index.d.ts.map +1 -1
  363. package/dist/src/forms/input/index.js +3 -1
  364. package/dist/src/forms/input/index.js.map +1 -1
  365. package/dist/src/forms/input/types.d.ts +8 -0
  366. package/dist/src/forms/input/types.d.ts.map +1 -1
  367. package/dist/src/forms/input/types.js +2 -0
  368. package/dist/src/forms/input/types.js.map +1 -1
  369. package/dist/src/forms/radio-card-group/index.d.ts +12 -12
  370. package/dist/src/forms/radio-card-group/index.d.ts.map +1 -1
  371. package/dist/src/forms/radio-card-group/index.js +39 -38
  372. package/dist/src/forms/radio-card-group/index.js.map +1 -1
  373. package/dist/src/forms/radio-card-group/types.d.ts +4 -0
  374. package/dist/src/forms/radio-card-group/types.d.ts.map +1 -1
  375. package/dist/src/forms/radio-card-group/types.js.map +1 -1
  376. package/dist/src/forms/radio-group/index.d.ts +12 -12
  377. package/dist/src/forms/radio-group/index.d.ts.map +1 -1
  378. package/dist/src/forms/radio-group/index.js +42 -39
  379. package/dist/src/forms/radio-group/index.js.map +1 -1
  380. package/dist/src/forms/radio-group/types.d.ts +10 -1
  381. package/dist/src/forms/radio-group/types.d.ts.map +1 -1
  382. package/dist/src/forms/radio-group/types.js.map +1 -1
  383. package/dist/src/forms/select/index.d.ts +9 -13
  384. package/dist/src/forms/select/index.d.ts.map +1 -1
  385. package/dist/src/forms/select/index.js +9 -12
  386. package/dist/src/forms/select/index.js.map +1 -1
  387. package/dist/src/forms/select/types.d.ts +13 -0
  388. package/dist/src/forms/select/types.d.ts.map +1 -1
  389. package/dist/src/forms/time-range-input/index.d.ts +6 -7
  390. package/dist/src/forms/time-range-input/index.d.ts.map +1 -1
  391. package/dist/src/forms/time-range-input/index.js +31 -31
  392. package/dist/src/forms/time-range-input/index.js.map +1 -1
  393. package/dist/src/forms/time-range-input/types.d.ts +4 -0
  394. package/dist/src/forms/time-range-input/types.d.ts.map +1 -1
  395. package/dist/src/forms/time-range-input/types.js.map +1 -1
  396. package/dist/src/index.d.ts +41 -25
  397. package/dist/src/index.d.ts.map +1 -1
  398. package/dist/src/index.js +38 -24
  399. package/dist/src/index.js.map +1 -1
  400. package/dist/src/internal.d.ts +40 -22
  401. package/dist/src/internal.d.ts.map +1 -1
  402. package/dist/src/internal.js +44 -34
  403. package/dist/src/internal.js.map +1 -1
  404. package/dist/src/layout/box/index.d.ts +4 -0
  405. package/dist/src/layout/box/index.d.ts.map +1 -1
  406. package/dist/src/layout/box/index.js +9 -1
  407. package/dist/src/layout/box/index.js.map +1 -1
  408. package/dist/src/layout/box/types.d.ts +10 -2
  409. package/dist/src/layout/box/types.d.ts.map +1 -1
  410. package/dist/src/layout/box/types.js +1 -1
  411. package/dist/src/layout/box/types.js.map +1 -1
  412. package/dist/src/layout/flex/index.d.ts +4 -0
  413. package/dist/src/layout/flex/index.d.ts.map +1 -1
  414. package/dist/src/layout/flex/index.js +9 -1
  415. package/dist/src/layout/flex/index.js.map +1 -1
  416. package/dist/src/layout/flex/types.d.ts +10 -2
  417. package/dist/src/layout/flex/types.d.ts.map +1 -1
  418. package/dist/src/layout/flex/types.js +1 -1
  419. package/dist/src/layout/flex/types.js.map +1 -1
  420. package/dist/src/layout/grid/index.d.ts +3 -0
  421. package/dist/src/layout/grid/index.d.ts.map +1 -1
  422. package/dist/src/layout/grid/index.js +8 -1
  423. package/dist/src/layout/grid/index.js.map +1 -1
  424. package/dist/src/layout/grid/types.d.ts +10 -2
  425. package/dist/src/layout/grid/types.d.ts.map +1 -1
  426. package/dist/src/layout/grid/types.js +1 -1
  427. package/dist/src/layout/grid/types.js.map +1 -1
  428. package/dist/src/layout/index.d.ts +0 -1
  429. package/dist/src/layout/index.d.ts.map +1 -1
  430. package/dist/src/layout/index.js +0 -1
  431. package/dist/src/layout/index.js.map +1 -1
  432. package/dist/src/layout/scroll-area/index.d.ts +2 -31666
  433. package/dist/src/layout/scroll-area/index.d.ts.map +1 -1
  434. package/dist/src/layout/scroll-area/index.js +11 -11
  435. package/dist/src/layout/scroll-area/index.js.map +1 -1
  436. package/dist/src/layout/scroll-area/types.d.ts +1 -3
  437. package/dist/src/layout/scroll-area/types.d.ts.map +1 -1
  438. package/dist/src/layout/separator/index.d.ts +2 -31666
  439. package/dist/src/layout/separator/index.d.ts.map +1 -1
  440. package/dist/src/layout/splitter/index.d.ts +32 -18
  441. package/dist/src/layout/splitter/index.d.ts.map +1 -1
  442. package/dist/src/layout/splitter/index.js +33 -47
  443. package/dist/src/layout/splitter/index.js.map +1 -1
  444. package/dist/src/layout/stack/index.d.ts +4 -0
  445. package/dist/src/layout/stack/index.d.ts.map +1 -1
  446. package/dist/src/layout/stack/index.js +9 -1
  447. package/dist/src/layout/stack/index.js.map +1 -1
  448. package/dist/src/layout/stack/types.d.ts +10 -2
  449. package/dist/src/layout/stack/types.d.ts.map +1 -1
  450. package/dist/src/layout/stack/types.js +1 -1
  451. package/dist/src/layout/stack/types.js.map +1 -1
  452. package/dist/src/layout/sticky/index.d.ts +2 -31666
  453. package/dist/src/layout/sticky/index.d.ts.map +1 -1
  454. package/dist/src/layout/sticky/index.js +4 -4
  455. package/dist/src/layout/sticky/index.js.map +1 -1
  456. package/dist/src/layout/sticky/types.d.ts +1 -3
  457. package/dist/src/layout/sticky/types.d.ts.map +1 -1
  458. package/dist/src/overlays/dialog/index.d.ts +18 -16
  459. package/dist/src/overlays/dialog/index.d.ts.map +1 -1
  460. package/dist/src/overlays/dialog/index.js +31 -60
  461. package/dist/src/overlays/dialog/index.js.map +1 -1
  462. package/dist/src/overlays/drawer/index.d.ts +26 -16
  463. package/dist/src/overlays/drawer/index.d.ts.map +1 -1
  464. package/dist/src/overlays/drawer/index.js +28 -52
  465. package/dist/src/overlays/drawer/index.js.map +1 -1
  466. package/dist/src/overlays/drawer/types.d.ts +3 -0
  467. package/dist/src/overlays/drawer/types.d.ts.map +1 -1
  468. package/dist/src/overlays/hover-card/index.d.ts +33 -27
  469. package/dist/src/overlays/hover-card/index.d.ts.map +1 -1
  470. package/dist/src/overlays/hover-card/index.js +33 -61
  471. package/dist/src/overlays/hover-card/index.js.map +1 -1
  472. package/dist/src/overlays/menu/index.d.ts +114 -42
  473. package/dist/src/overlays/menu/index.d.ts.map +1 -1
  474. package/dist/src/overlays/menu/index.js +101 -60
  475. package/dist/src/overlays/menu/index.js.map +1 -1
  476. package/dist/src/overlays/menu/types.d.ts +37 -3
  477. package/dist/src/overlays/menu/types.d.ts.map +1 -1
  478. package/dist/src/overlays/menu/types.js +18 -4
  479. package/dist/src/overlays/menu/types.js.map +1 -1
  480. package/dist/src/overlays/popover/index.d.ts +16 -16
  481. package/dist/src/overlays/popover/index.d.ts.map +1 -1
  482. package/dist/src/overlays/popover/index.js +22 -52
  483. package/dist/src/overlays/popover/index.js.map +1 -1
  484. package/dist/src/overlays/toggle-tip/index.d.ts +14 -14
  485. package/dist/src/overlays/toggle-tip/index.d.ts.map +1 -1
  486. package/dist/src/overlays/toggle-tip/index.js +18 -47
  487. package/dist/src/overlays/toggle-tip/index.js.map +1 -1
  488. package/dist/src/overlays/tooltip/index.d.ts +20 -15
  489. package/dist/src/overlays/tooltip/index.d.ts.map +1 -1
  490. package/dist/src/overlays/tooltip/index.js +19 -28
  491. package/dist/src/overlays/tooltip/index.js.map +1 -1
  492. package/dist/src/platform/hotkey/index.d.ts +3 -30
  493. package/dist/src/platform/hotkey/index.d.ts.map +1 -1
  494. package/dist/src/platform/hotkey/index.js +3 -28
  495. package/dist/src/platform/hotkey/index.js.map +1 -1
  496. package/dist/src/platform/hotkey/types.d.ts +37 -0
  497. package/dist/src/platform/hotkey/types.d.ts.map +1 -0
  498. package/dist/src/platform/hotkey/types.js +36 -0
  499. package/dist/src/platform/hotkey/types.js.map +1 -0
  500. package/dist/src/platform/slice/impl.d.ts +3 -2
  501. package/dist/src/platform/slice/impl.d.ts.map +1 -1
  502. package/dist/src/platform/slice/impl.js +23 -6
  503. package/dist/src/platform/slice/impl.js.map +1 -1
  504. package/dist/src/platform/slice/index.d.ts +1390 -135
  505. package/dist/src/platform/slice/index.d.ts.map +1 -1
  506. package/dist/src/platform/slice/index.js +52 -9
  507. package/dist/src/platform/slice/index.js.map +1 -1
  508. package/dist/src/runtime/buttons/button-group.d.ts +41 -0
  509. package/dist/src/runtime/buttons/button-group.d.ts.map +1 -0
  510. package/dist/src/runtime/buttons/button-group.js +36 -0
  511. package/dist/src/runtime/buttons/button-group.js.map +1 -0
  512. package/dist/src/runtime/buttons/button.d.ts +36 -0
  513. package/dist/src/runtime/buttons/button.d.ts.map +1 -0
  514. package/dist/src/runtime/buttons/button.js +32 -0
  515. package/dist/src/runtime/buttons/button.js.map +1 -0
  516. package/dist/src/runtime/buttons/close-button.d.ts +36 -0
  517. package/dist/src/runtime/buttons/close-button.d.ts.map +1 -0
  518. package/dist/src/runtime/buttons/close-button.js +34 -0
  519. package/dist/src/runtime/buttons/close-button.js.map +1 -0
  520. package/dist/src/runtime/buttons/copy-button.d.ts +37 -0
  521. package/dist/src/runtime/buttons/copy-button.d.ts.map +1 -0
  522. package/dist/src/runtime/buttons/copy-button.js +33 -0
  523. package/dist/src/runtime/buttons/copy-button.js.map +1 -0
  524. package/dist/src/runtime/buttons/icon-button.d.ts +40 -0
  525. package/dist/src/runtime/buttons/icon-button.d.ts.map +1 -0
  526. package/dist/src/runtime/buttons/icon-button.js +38 -0
  527. package/dist/src/runtime/buttons/icon-button.js.map +1 -0
  528. package/dist/src/runtime/buttons/index.d.ts +12 -0
  529. package/dist/src/runtime/buttons/index.d.ts.map +1 -0
  530. package/dist/src/runtime/buttons/index.js +12 -0
  531. package/dist/src/runtime/buttons/index.js.map +1 -0
  532. package/dist/src/runtime/buttons/toggle.d.ts +45 -0
  533. package/dist/src/runtime/buttons/toggle.d.ts.map +1 -0
  534. package/dist/src/runtime/buttons/toggle.js +41 -0
  535. package/dist/src/runtime/buttons/toggle.js.map +1 -0
  536. package/dist/src/runtime/charts/chart.d.ts +69 -0
  537. package/dist/src/runtime/charts/chart.d.ts.map +1 -0
  538. package/dist/src/runtime/charts/chart.js +66 -0
  539. package/dist/src/runtime/charts/chart.js.map +1 -0
  540. package/dist/src/runtime/charts/index.d.ts +8 -0
  541. package/dist/src/runtime/charts/index.d.ts.map +1 -0
  542. package/dist/src/runtime/charts/index.js +8 -0
  543. package/dist/src/runtime/charts/index.js.map +1 -0
  544. package/dist/src/runtime/charts/sparkline.d.ts +42 -0
  545. package/dist/src/runtime/charts/sparkline.d.ts.map +1 -0
  546. package/dist/src/runtime/charts/sparkline.js +40 -0
  547. package/dist/src/runtime/charts/sparkline.js.map +1 -0
  548. package/dist/src/runtime/children.d.ts +46 -0
  549. package/dist/src/runtime/children.d.ts.map +1 -0
  550. package/dist/src/runtime/children.js +73 -0
  551. package/dist/src/runtime/children.js.map +1 -0
  552. package/dist/src/runtime/collections/blend.d.ts +58 -0
  553. package/dist/src/runtime/collections/blend.d.ts.map +1 -0
  554. package/dist/src/runtime/collections/blend.js +58 -0
  555. package/dist/src/runtime/collections/blend.js.map +1 -0
  556. package/dist/src/runtime/collections/calendar.d.ts +49 -0
  557. package/dist/src/runtime/collections/calendar.d.ts.map +1 -0
  558. package/dist/src/runtime/collections/calendar.js +49 -0
  559. package/dist/src/runtime/collections/calendar.js.map +1 -0
  560. package/dist/src/runtime/collections/data-list.d.ts +41 -0
  561. package/dist/src/runtime/collections/data-list.d.ts.map +1 -0
  562. package/dist/src/runtime/collections/data-list.js +39 -0
  563. package/dist/src/runtime/collections/data-list.js.map +1 -0
  564. package/dist/src/runtime/collections/gantt.d.ts +67 -0
  565. package/dist/src/runtime/collections/gantt.d.ts.map +1 -0
  566. package/dist/src/runtime/collections/gantt.js +58 -0
  567. package/dist/src/runtime/collections/gantt.js.map +1 -0
  568. package/dist/src/runtime/collections/index.d.ts +18 -0
  569. package/dist/src/runtime/collections/index.d.ts.map +1 -0
  570. package/dist/src/runtime/collections/index.js +18 -0
  571. package/dist/src/runtime/collections/index.js.map +1 -0
  572. package/dist/src/runtime/collections/library.d.ts +56 -0
  573. package/dist/src/runtime/collections/library.d.ts.map +1 -0
  574. package/dist/src/runtime/collections/library.js +56 -0
  575. package/dist/src/runtime/collections/library.js.map +1 -0
  576. package/dist/src/runtime/collections/matrix.d.ts +71 -0
  577. package/dist/src/runtime/collections/matrix.d.ts.map +1 -0
  578. package/dist/src/runtime/collections/matrix.js +66 -0
  579. package/dist/src/runtime/collections/matrix.js.map +1 -0
  580. package/dist/src/runtime/collections/pagination.d.ts +44 -0
  581. package/dist/src/runtime/collections/pagination.d.ts.map +1 -0
  582. package/dist/src/runtime/collections/pagination.js +42 -0
  583. package/dist/src/runtime/collections/pagination.js.map +1 -0
  584. package/dist/src/runtime/collections/planner.d.ts +80 -0
  585. package/dist/src/runtime/collections/planner.d.ts.map +1 -0
  586. package/dist/src/runtime/collections/planner.js +76 -0
  587. package/dist/src/runtime/collections/planner.js.map +1 -0
  588. package/dist/src/runtime/collections/roster.d.ts +60 -0
  589. package/dist/src/runtime/collections/roster.d.ts.map +1 -0
  590. package/dist/src/runtime/collections/roster.js +59 -0
  591. package/dist/src/runtime/collections/roster.js.map +1 -0
  592. package/dist/src/runtime/collections/schematic.d.ts +62 -0
  593. package/dist/src/runtime/collections/schematic.d.ts.map +1 -0
  594. package/dist/src/runtime/collections/schematic.js +59 -0
  595. package/dist/src/runtime/collections/schematic.js.map +1 -0
  596. package/dist/src/runtime/collections/table.d.ts +70 -0
  597. package/dist/src/runtime/collections/table.d.ts.map +1 -0
  598. package/dist/src/runtime/collections/table.js +63 -0
  599. package/dist/src/runtime/collections/table.js.map +1 -0
  600. package/dist/src/runtime/collections/tree-view.d.ts +49 -0
  601. package/dist/src/runtime/collections/tree-view.d.ts.map +1 -0
  602. package/dist/src/runtime/collections/tree-view.js +46 -0
  603. package/dist/src/runtime/collections/tree-view.js.map +1 -0
  604. package/dist/src/runtime/combinators.d.ts +111 -0
  605. package/dist/src/runtime/combinators.d.ts.map +1 -0
  606. package/dist/src/runtime/combinators.js +106 -0
  607. package/dist/src/runtime/combinators.js.map +1 -0
  608. package/dist/src/runtime/container/card.d.ts +54 -0
  609. package/dist/src/runtime/container/card.d.ts.map +1 -0
  610. package/dist/src/runtime/container/card.js +51 -0
  611. package/dist/src/runtime/container/card.js.map +1 -0
  612. package/dist/src/runtime/container/index.d.ts +7 -0
  613. package/dist/src/runtime/container/index.d.ts.map +1 -0
  614. package/dist/src/runtime/container/index.js +7 -0
  615. package/dist/src/runtime/container/index.js.map +1 -0
  616. package/dist/src/runtime/disclosure/accordion.d.ts +54 -0
  617. package/dist/src/runtime/disclosure/accordion.d.ts.map +1 -0
  618. package/dist/src/runtime/disclosure/accordion.js +51 -0
  619. package/dist/src/runtime/disclosure/accordion.js.map +1 -0
  620. package/dist/src/runtime/disclosure/carousel.d.ts +46 -0
  621. package/dist/src/runtime/disclosure/carousel.d.ts.map +1 -0
  622. package/dist/src/runtime/disclosure/carousel.js +41 -0
  623. package/dist/src/runtime/disclosure/carousel.js.map +1 -0
  624. package/dist/src/runtime/disclosure/collapsible.d.ts +41 -0
  625. package/dist/src/runtime/disclosure/collapsible.d.ts.map +1 -0
  626. package/dist/src/runtime/disclosure/collapsible.js +39 -0
  627. package/dist/src/runtime/disclosure/collapsible.js.map +1 -0
  628. package/dist/src/runtime/disclosure/index.d.ts +13 -0
  629. package/dist/src/runtime/disclosure/index.d.ts.map +1 -0
  630. package/dist/src/runtime/disclosure/index.js +13 -0
  631. package/dist/src/runtime/disclosure/index.js.map +1 -0
  632. package/dist/src/runtime/disclosure/option-list.d.ts +58 -0
  633. package/dist/src/runtime/disclosure/option-list.d.ts.map +1 -0
  634. package/dist/src/runtime/disclosure/option-list.js +55 -0
  635. package/dist/src/runtime/disclosure/option-list.js.map +1 -0
  636. package/dist/src/runtime/disclosure/segment-group.d.ts +52 -0
  637. package/dist/src/runtime/disclosure/segment-group.d.ts.map +1 -0
  638. package/dist/src/runtime/disclosure/segment-group.js +49 -0
  639. package/dist/src/runtime/disclosure/segment-group.js.map +1 -0
  640. package/dist/src/runtime/disclosure/show-more.d.ts +38 -0
  641. package/dist/src/runtime/disclosure/show-more.d.ts.map +1 -0
  642. package/dist/src/runtime/disclosure/show-more.js +36 -0
  643. package/dist/src/runtime/disclosure/show-more.js.map +1 -0
  644. package/dist/src/runtime/disclosure/tabs.d.ts +55 -0
  645. package/dist/src/runtime/disclosure/tabs.d.ts.map +1 -0
  646. package/dist/src/runtime/disclosure/tabs.js +52 -0
  647. package/dist/src/runtime/disclosure/tabs.js.map +1 -0
  648. package/dist/src/runtime/display/avatar-group.d.ts +41 -0
  649. package/dist/src/runtime/display/avatar-group.d.ts.map +1 -0
  650. package/dist/src/runtime/display/avatar-group.js +37 -0
  651. package/dist/src/runtime/display/avatar-group.js.map +1 -0
  652. package/dist/src/runtime/display/avatar.d.ts +37 -0
  653. package/dist/src/runtime/display/avatar.d.ts.map +1 -0
  654. package/dist/src/runtime/display/avatar.js +35 -0
  655. package/dist/src/runtime/display/avatar.js.map +1 -0
  656. package/dist/src/runtime/display/badge.d.ts +40 -0
  657. package/dist/src/runtime/display/badge.d.ts.map +1 -0
  658. package/dist/src/runtime/display/badge.js +38 -0
  659. package/dist/src/runtime/display/badge.js.map +1 -0
  660. package/dist/src/runtime/display/bar-strip.d.ts +46 -0
  661. package/dist/src/runtime/display/bar-strip.d.ts.map +1 -0
  662. package/dist/src/runtime/display/bar-strip.js +42 -0
  663. package/dist/src/runtime/display/bar-strip.js.map +1 -0
  664. package/dist/src/runtime/display/chip-rail.d.ts +48 -0
  665. package/dist/src/runtime/display/chip-rail.d.ts.map +1 -0
  666. package/dist/src/runtime/display/chip-rail.js +43 -0
  667. package/dist/src/runtime/display/chip-rail.js.map +1 -0
  668. package/dist/src/runtime/display/editable-chip.d.ts +36 -0
  669. package/dist/src/runtime/display/editable-chip.d.ts.map +1 -0
  670. package/dist/src/runtime/display/editable-chip.js +34 -0
  671. package/dist/src/runtime/display/editable-chip.js.map +1 -0
  672. package/dist/src/runtime/display/icon.d.ts +36 -0
  673. package/dist/src/runtime/display/icon.d.ts.map +1 -0
  674. package/dist/src/runtime/display/icon.js +34 -0
  675. package/dist/src/runtime/display/icon.js.map +1 -0
  676. package/dist/src/runtime/display/index.d.ts +20 -0
  677. package/dist/src/runtime/display/index.d.ts.map +1 -0
  678. package/dist/src/runtime/display/index.js +20 -0
  679. package/dist/src/runtime/display/index.js.map +1 -0
  680. package/dist/src/runtime/display/kbd.d.ts +34 -0
  681. package/dist/src/runtime/display/kbd.d.ts.map +1 -0
  682. package/dist/src/runtime/display/kbd.js +32 -0
  683. package/dist/src/runtime/display/kbd.js.map +1 -0
  684. package/dist/src/runtime/display/meter.d.ts +36 -0
  685. package/dist/src/runtime/display/meter.d.ts.map +1 -0
  686. package/dist/src/runtime/display/meter.js +34 -0
  687. package/dist/src/runtime/display/meter.js.map +1 -0
  688. package/dist/src/runtime/display/metric-chip.d.ts +36 -0
  689. package/dist/src/runtime/display/metric-chip.d.ts.map +1 -0
  690. package/dist/src/runtime/display/metric-chip.js +34 -0
  691. package/dist/src/runtime/display/metric-chip.js.map +1 -0
  692. package/dist/src/runtime/display/segmented-meter.d.ts +43 -0
  693. package/dist/src/runtime/display/segmented-meter.d.ts.map +1 -0
  694. package/dist/src/runtime/display/segmented-meter.js +39 -0
  695. package/dist/src/runtime/display/segmented-meter.js.map +1 -0
  696. package/dist/src/runtime/display/stat.d.ts +38 -0
  697. package/dist/src/runtime/display/stat.d.ts.map +1 -0
  698. package/dist/src/runtime/display/stat.js +36 -0
  699. package/dist/src/runtime/display/stat.js.map +1 -0
  700. package/dist/src/runtime/display/tag.d.ts +39 -0
  701. package/dist/src/runtime/display/tag.d.ts.map +1 -0
  702. package/dist/src/runtime/display/tag.js +37 -0
  703. package/dist/src/runtime/display/tag.js.map +1 -0
  704. package/dist/src/runtime/display/trace.d.ts +50 -0
  705. package/dist/src/runtime/display/trace.d.ts.map +1 -0
  706. package/dist/src/runtime/display/trace.js +46 -0
  707. package/dist/src/runtime/display/trace.js.map +1 -0
  708. package/dist/src/runtime/feedback/banner.d.ts +44 -0
  709. package/dist/src/runtime/feedback/banner.d.ts.map +1 -0
  710. package/dist/src/runtime/feedback/banner.js +42 -0
  711. package/dist/src/runtime/feedback/banner.js.map +1 -0
  712. package/dist/src/runtime/feedback/empty-state.d.ts +43 -0
  713. package/dist/src/runtime/feedback/empty-state.d.ts.map +1 -0
  714. package/dist/src/runtime/feedback/empty-state.js +41 -0
  715. package/dist/src/runtime/feedback/empty-state.js.map +1 -0
  716. package/dist/src/runtime/feedback/index.d.ts +11 -0
  717. package/dist/src/runtime/feedback/index.d.ts.map +1 -0
  718. package/dist/src/runtime/feedback/index.js +11 -0
  719. package/dist/src/runtime/feedback/index.js.map +1 -0
  720. package/dist/src/runtime/feedback/progress.d.ts +37 -0
  721. package/dist/src/runtime/feedback/progress.d.ts.map +1 -0
  722. package/dist/src/runtime/feedback/progress.js +35 -0
  723. package/dist/src/runtime/feedback/progress.js.map +1 -0
  724. package/dist/src/runtime/feedback/skeleton.d.ts +39 -0
  725. package/dist/src/runtime/feedback/skeleton.d.ts.map +1 -0
  726. package/dist/src/runtime/feedback/skeleton.js +37 -0
  727. package/dist/src/runtime/feedback/skeleton.js.map +1 -0
  728. package/dist/src/runtime/feedback/status.d.ts +41 -0
  729. package/dist/src/runtime/feedback/status.d.ts.map +1 -0
  730. package/dist/src/runtime/feedback/status.js +39 -0
  731. package/dist/src/runtime/feedback/status.js.map +1 -0
  732. package/dist/src/runtime/forms/checkbox.d.ts +34 -0
  733. package/dist/src/runtime/forms/checkbox.d.ts.map +1 -0
  734. package/dist/src/runtime/forms/checkbox.js +32 -0
  735. package/dist/src/runtime/forms/checkbox.js.map +1 -0
  736. package/dist/src/runtime/forms/combobox.d.ts +50 -0
  737. package/dist/src/runtime/forms/combobox.d.ts.map +1 -0
  738. package/dist/src/runtime/forms/combobox.js +47 -0
  739. package/dist/src/runtime/forms/combobox.js.map +1 -0
  740. package/dist/src/runtime/forms/date-range-input.d.ts +38 -0
  741. package/dist/src/runtime/forms/date-range-input.d.ts.map +1 -0
  742. package/dist/src/runtime/forms/date-range-input.js +36 -0
  743. package/dist/src/runtime/forms/date-range-input.js.map +1 -0
  744. package/dist/src/runtime/forms/field.d.ts +77 -0
  745. package/dist/src/runtime/forms/field.d.ts.map +1 -0
  746. package/dist/src/runtime/forms/field.js +62 -0
  747. package/dist/src/runtime/forms/field.js.map +1 -0
  748. package/dist/src/runtime/forms/file-upload.d.ts +35 -0
  749. package/dist/src/runtime/forms/file-upload.d.ts.map +1 -0
  750. package/dist/src/runtime/forms/file-upload.js +33 -0
  751. package/dist/src/runtime/forms/file-upload.js.map +1 -0
  752. package/dist/src/runtime/forms/index.d.ts +20 -0
  753. package/dist/src/runtime/forms/index.d.ts.map +1 -0
  754. package/dist/src/runtime/forms/index.js +20 -0
  755. package/dist/src/runtime/forms/index.js.map +1 -0
  756. package/dist/src/runtime/forms/input.d.ts +57 -0
  757. package/dist/src/runtime/forms/input.d.ts.map +1 -0
  758. package/dist/src/runtime/forms/input.js +57 -0
  759. package/dist/src/runtime/forms/input.js.map +1 -0
  760. package/dist/src/runtime/forms/radio-card-group.d.ts +44 -0
  761. package/dist/src/runtime/forms/radio-card-group.d.ts.map +1 -0
  762. package/dist/src/runtime/forms/radio-card-group.js +42 -0
  763. package/dist/src/runtime/forms/radio-card-group.js.map +1 -0
  764. package/dist/src/runtime/forms/radio-group.d.ts +44 -0
  765. package/dist/src/runtime/forms/radio-group.d.ts.map +1 -0
  766. package/dist/src/runtime/forms/radio-group.js +42 -0
  767. package/dist/src/runtime/forms/radio-group.js.map +1 -0
  768. package/dist/src/runtime/forms/select.d.ts +49 -0
  769. package/dist/src/runtime/forms/select.d.ts.map +1 -0
  770. package/dist/src/runtime/forms/select.js +46 -0
  771. package/dist/src/runtime/forms/select.js.map +1 -0
  772. package/dist/src/runtime/forms/slider.d.ts +36 -0
  773. package/dist/src/runtime/forms/slider.d.ts.map +1 -0
  774. package/dist/src/runtime/forms/slider.js +34 -0
  775. package/dist/src/runtime/forms/slider.js.map +1 -0
  776. package/dist/src/runtime/forms/switch.d.ts +34 -0
  777. package/dist/src/runtime/forms/switch.d.ts.map +1 -0
  778. package/dist/src/runtime/forms/switch.js +32 -0
  779. package/dist/src/runtime/forms/switch.js.map +1 -0
  780. package/dist/src/runtime/forms/tags-input.d.ts +37 -0
  781. package/dist/src/runtime/forms/tags-input.d.ts.map +1 -0
  782. package/dist/src/runtime/forms/tags-input.js +35 -0
  783. package/dist/src/runtime/forms/tags-input.js.map +1 -0
  784. package/dist/src/runtime/forms/textarea.d.ts +36 -0
  785. package/dist/src/runtime/forms/textarea.d.ts.map +1 -0
  786. package/dist/src/runtime/forms/textarea.js +34 -0
  787. package/dist/src/runtime/forms/textarea.js.map +1 -0
  788. package/dist/src/runtime/forms/time-range-input.d.ts +38 -0
  789. package/dist/src/runtime/forms/time-range-input.d.ts.map +1 -0
  790. package/dist/src/runtime/forms/time-range-input.js +36 -0
  791. package/dist/src/runtime/forms/time-range-input.js.map +1 -0
  792. package/dist/src/runtime/index.d.ts +42 -0
  793. package/dist/src/runtime/index.d.ts.map +1 -0
  794. package/dist/src/runtime/index.js +41 -0
  795. package/dist/src/runtime/index.js.map +1 -0
  796. package/dist/src/runtime/layout/box.d.ts +38 -0
  797. package/dist/src/runtime/layout/box.d.ts.map +1 -0
  798. package/dist/src/runtime/layout/box.js +36 -0
  799. package/dist/src/runtime/layout/box.js.map +1 -0
  800. package/dist/src/runtime/layout/flex.d.ts +41 -0
  801. package/dist/src/runtime/layout/flex.d.ts.map +1 -0
  802. package/dist/src/runtime/layout/flex.js +39 -0
  803. package/dist/src/runtime/layout/flex.js.map +1 -0
  804. package/dist/src/runtime/layout/grid.d.ts +52 -0
  805. package/dist/src/runtime/layout/grid.d.ts.map +1 -0
  806. package/dist/src/runtime/layout/grid.js +49 -0
  807. package/dist/src/runtime/layout/grid.js.map +1 -0
  808. package/dist/src/runtime/layout/index.d.ts +14 -0
  809. package/dist/src/runtime/layout/index.d.ts.map +1 -0
  810. package/dist/src/runtime/layout/index.js +14 -0
  811. package/dist/src/runtime/layout/index.js.map +1 -0
  812. package/dist/src/runtime/layout/scroll-area.d.ts +44 -0
  813. package/dist/src/runtime/layout/scroll-area.d.ts.map +1 -0
  814. package/dist/src/runtime/layout/scroll-area.js +42 -0
  815. package/dist/src/runtime/layout/scroll-area.js.map +1 -0
  816. package/dist/src/runtime/layout/separator.d.ts +39 -0
  817. package/dist/src/runtime/layout/separator.d.ts.map +1 -0
  818. package/dist/src/runtime/layout/separator.js +37 -0
  819. package/dist/src/runtime/layout/separator.js.map +1 -0
  820. package/dist/src/runtime/layout/splitter.d.ts +53 -0
  821. package/dist/src/runtime/layout/splitter.d.ts.map +1 -0
  822. package/dist/src/runtime/layout/splitter.js +50 -0
  823. package/dist/src/runtime/layout/splitter.js.map +1 -0
  824. package/dist/src/runtime/layout/stack.d.ts +99 -0
  825. package/dist/src/runtime/layout/stack.d.ts.map +1 -0
  826. package/dist/src/runtime/layout/stack.js +93 -0
  827. package/dist/src/runtime/layout/stack.js.map +1 -0
  828. package/dist/src/runtime/layout/sticky.d.ts +44 -0
  829. package/dist/src/runtime/layout/sticky.d.ts.map +1 -0
  830. package/dist/src/runtime/layout/sticky.js +42 -0
  831. package/dist/src/runtime/layout/sticky.js.map +1 -0
  832. package/dist/src/runtime/navigation/breadcrumb.d.ts +41 -0
  833. package/dist/src/runtime/navigation/breadcrumb.d.ts.map +1 -0
  834. package/dist/src/runtime/navigation/breadcrumb.js +39 -0
  835. package/dist/src/runtime/navigation/breadcrumb.js.map +1 -0
  836. package/dist/src/runtime/navigation/index.d.ts +8 -0
  837. package/dist/src/runtime/navigation/index.d.ts.map +1 -0
  838. package/dist/src/runtime/navigation/index.js +8 -0
  839. package/dist/src/runtime/navigation/index.js.map +1 -0
  840. package/dist/src/runtime/navigation/nav-list.d.ts +54 -0
  841. package/dist/src/runtime/navigation/nav-list.d.ts.map +1 -0
  842. package/dist/src/runtime/navigation/nav-list.js +52 -0
  843. package/dist/src/runtime/navigation/nav-list.js.map +1 -0
  844. package/dist/src/runtime/overlays/action-bar.d.ts +45 -0
  845. package/dist/src/runtime/overlays/action-bar.d.ts.map +1 -0
  846. package/dist/src/runtime/overlays/action-bar.js +43 -0
  847. package/dist/src/runtime/overlays/action-bar.js.map +1 -0
  848. package/dist/src/runtime/overlays/command-palette.d.ts +45 -0
  849. package/dist/src/runtime/overlays/command-palette.d.ts.map +1 -0
  850. package/dist/src/runtime/overlays/command-palette.js +43 -0
  851. package/dist/src/runtime/overlays/command-palette.js.map +1 -0
  852. package/dist/src/runtime/overlays/dialog.d.ts +47 -0
  853. package/dist/src/runtime/overlays/dialog.d.ts.map +1 -0
  854. package/dist/src/runtime/overlays/dialog.js +44 -0
  855. package/dist/src/runtime/overlays/dialog.js.map +1 -0
  856. package/dist/src/runtime/overlays/drawer.d.ts +46 -0
  857. package/dist/src/runtime/overlays/drawer.d.ts.map +1 -0
  858. package/dist/src/runtime/overlays/drawer.js +43 -0
  859. package/dist/src/runtime/overlays/drawer.js.map +1 -0
  860. package/dist/src/runtime/overlays/hover-card.d.ts +43 -0
  861. package/dist/src/runtime/overlays/hover-card.d.ts.map +1 -0
  862. package/dist/src/runtime/overlays/hover-card.js +41 -0
  863. package/dist/src/runtime/overlays/hover-card.js.map +1 -0
  864. package/dist/src/runtime/overlays/index.d.ts +15 -0
  865. package/dist/src/runtime/overlays/index.d.ts.map +1 -0
  866. package/dist/src/runtime/overlays/index.js +15 -0
  867. package/dist/src/runtime/overlays/index.js.map +1 -0
  868. package/dist/src/runtime/overlays/menu.d.ts +49 -0
  869. package/dist/src/runtime/overlays/menu.d.ts.map +1 -0
  870. package/dist/src/runtime/overlays/menu.js +46 -0
  871. package/dist/src/runtime/overlays/menu.js.map +1 -0
  872. package/dist/src/runtime/overlays/popover.d.ts +37 -0
  873. package/dist/src/runtime/overlays/popover.d.ts.map +1 -0
  874. package/dist/src/runtime/overlays/popover.js +35 -0
  875. package/dist/src/runtime/overlays/popover.js.map +1 -0
  876. package/dist/src/runtime/overlays/toggle-tip.d.ts +44 -0
  877. package/dist/src/runtime/overlays/toggle-tip.d.ts.map +1 -0
  878. package/dist/src/runtime/overlays/toggle-tip.js +42 -0
  879. package/dist/src/runtime/overlays/toggle-tip.js.map +1 -0
  880. package/dist/src/runtime/overlays/tooltip.d.ts +37 -0
  881. package/dist/src/runtime/overlays/tooltip.d.ts.map +1 -0
  882. package/dist/src/runtime/overlays/tooltip.js +35 -0
  883. package/dist/src/runtime/overlays/tooltip.js.map +1 -0
  884. package/dist/src/runtime/platform-hotkey.d.ts +41 -0
  885. package/dist/src/runtime/platform-hotkey.d.ts.map +1 -0
  886. package/dist/src/runtime/platform-hotkey.js +39 -0
  887. package/dist/src/runtime/platform-hotkey.js.map +1 -0
  888. package/dist/src/runtime/reactive/index.d.ts +8 -0
  889. package/dist/src/runtime/reactive/index.d.ts.map +1 -0
  890. package/dist/src/runtime/reactive/index.js +7 -0
  891. package/dist/src/runtime/reactive/index.js.map +1 -0
  892. package/dist/src/runtime/reactive/reactive.d.ts +59 -0
  893. package/dist/src/runtime/reactive/reactive.d.ts.map +1 -0
  894. package/dist/src/runtime/reactive/reactive.js +53 -0
  895. package/dist/src/runtime/reactive/reactive.js.map +1 -0
  896. package/dist/src/runtime/runtime.d.ts +92 -0
  897. package/dist/src/runtime/runtime.d.ts.map +1 -0
  898. package/dist/src/runtime/runtime.js +47 -0
  899. package/dist/src/runtime/runtime.js.map +1 -0
  900. package/dist/src/runtime/slice.d.ts +84 -0
  901. package/dist/src/runtime/slice.d.ts.map +1 -0
  902. package/dist/src/runtime/slice.js +379 -0
  903. package/dist/src/runtime/slice.js.map +1 -0
  904. package/dist/src/runtime/typography/code-block.d.ts +38 -0
  905. package/dist/src/runtime/typography/code-block.d.ts.map +1 -0
  906. package/dist/src/runtime/typography/code-block.js +36 -0
  907. package/dist/src/runtime/typography/code-block.js.map +1 -0
  908. package/dist/src/runtime/typography/code.d.ts +36 -0
  909. package/dist/src/runtime/typography/code.d.ts.map +1 -0
  910. package/dist/src/runtime/typography/code.js +34 -0
  911. package/dist/src/runtime/typography/code.js.map +1 -0
  912. package/dist/src/runtime/typography/heading.d.ts +39 -0
  913. package/dist/src/runtime/typography/heading.d.ts.map +1 -0
  914. package/dist/src/runtime/typography/heading.js +37 -0
  915. package/dist/src/runtime/typography/heading.js.map +1 -0
  916. package/dist/src/runtime/typography/highlight.d.ts +37 -0
  917. package/dist/src/runtime/typography/highlight.d.ts.map +1 -0
  918. package/dist/src/runtime/typography/highlight.js +35 -0
  919. package/dist/src/runtime/typography/highlight.js.map +1 -0
  920. package/dist/src/runtime/typography/index.d.ts +16 -0
  921. package/dist/src/runtime/typography/index.d.ts.map +1 -0
  922. package/dist/src/runtime/typography/index.js +16 -0
  923. package/dist/src/runtime/typography/index.js.map +1 -0
  924. package/dist/src/runtime/typography/link.d.ts +37 -0
  925. package/dist/src/runtime/typography/link.d.ts.map +1 -0
  926. package/dist/src/runtime/typography/link.js +35 -0
  927. package/dist/src/runtime/typography/link.js.map +1 -0
  928. package/dist/src/runtime/typography/list.d.ts +42 -0
  929. package/dist/src/runtime/typography/list.d.ts.map +1 -0
  930. package/dist/src/runtime/typography/list.js +40 -0
  931. package/dist/src/runtime/typography/list.js.map +1 -0
  932. package/dist/src/runtime/typography/mark.d.ts +35 -0
  933. package/dist/src/runtime/typography/mark.d.ts.map +1 -0
  934. package/dist/src/runtime/typography/mark.js +33 -0
  935. package/dist/src/runtime/typography/mark.js.map +1 -0
  936. package/dist/src/runtime/typography/note.d.ts +38 -0
  937. package/dist/src/runtime/typography/note.d.ts.map +1 -0
  938. package/dist/src/runtime/typography/note.js +36 -0
  939. package/dist/src/runtime/typography/note.js.map +1 -0
  940. package/dist/src/runtime/typography/numeric.d.ts +43 -0
  941. package/dist/src/runtime/typography/numeric.d.ts.map +1 -0
  942. package/dist/src/runtime/typography/numeric.js +41 -0
  943. package/dist/src/runtime/typography/numeric.js.map +1 -0
  944. package/dist/src/runtime/typography/text.d.ts +94 -0
  945. package/dist/src/runtime/typography/text.d.ts.map +1 -0
  946. package/dist/src/runtime/typography/text.js +208 -0
  947. package/dist/src/runtime/typography/text.js.map +1 -0
  948. package/dist/src/slice/breakdown/index.d.ts +11 -4
  949. package/dist/src/slice/breakdown/index.d.ts.map +1 -1
  950. package/dist/src/slice/breakdown/index.js +4 -4
  951. package/dist/src/slice/breakdown/index.js.map +1 -1
  952. package/dist/src/slice/breakdown/types.d.ts +6 -1
  953. package/dist/src/slice/breakdown/types.d.ts.map +1 -1
  954. package/dist/src/slice/cohort/index.d.ts +12 -5
  955. package/dist/src/slice/cohort/index.d.ts.map +1 -1
  956. package/dist/src/slice/cohort/index.js +9 -9
  957. package/dist/src/slice/cohort/index.js.map +1 -1
  958. package/dist/src/slice/cohort/types.d.ts +6 -1
  959. package/dist/src/slice/cohort/types.d.ts.map +1 -1
  960. package/dist/src/slice/filter/index.d.ts +11 -5
  961. package/dist/src/slice/filter/index.d.ts.map +1 -1
  962. package/dist/src/slice/filter/index.js +6 -7
  963. package/dist/src/slice/filter/index.js.map +1 -1
  964. package/dist/src/slice/filter/types.d.ts +6 -1
  965. package/dist/src/slice/filter/types.d.ts.map +1 -1
  966. package/dist/src/slice/index.d.ts +687 -267
  967. package/dist/src/slice/index.d.ts.map +1 -1
  968. package/dist/src/slice/index.js +3 -6
  969. package/dist/src/slice/index.js.map +1 -1
  970. package/dist/src/slice/legend/index.d.ts +18 -4
  971. package/dist/src/slice/legend/index.d.ts.map +1 -1
  972. package/dist/src/slice/legend/index.js +4 -4
  973. package/dist/src/slice/legend/index.js.map +1 -1
  974. package/dist/src/slice/legend/types.d.ts +6 -1
  975. package/dist/src/slice/legend/types.d.ts.map +1 -1
  976. package/dist/src/slice/rail/index.d.ts +49 -0
  977. package/dist/src/slice/rail/index.d.ts.map +1 -0
  978. package/dist/src/slice/rail/index.js +39 -0
  979. package/dist/src/slice/rail/index.js.map +1 -0
  980. package/dist/src/slice/range/index.d.ts +10 -3
  981. package/dist/src/slice/range/index.d.ts.map +1 -1
  982. package/dist/src/slice/range/index.js +4 -4
  983. package/dist/src/slice/range/index.js.map +1 -1
  984. package/dist/src/slice/range/types.d.ts +6 -1
  985. package/dist/src/slice/range/types.d.ts.map +1 -1
  986. package/dist/src/slice/search/index.d.ts +11 -4
  987. package/dist/src/slice/search/index.d.ts.map +1 -1
  988. package/dist/src/slice/search/index.js +6 -6
  989. package/dist/src/slice/search/index.js.map +1 -1
  990. package/dist/src/slice/search/types.d.ts +6 -1
  991. package/dist/src/slice/search/types.d.ts.map +1 -1
  992. package/dist/src/slice/summary/index.d.ts +18 -4
  993. package/dist/src/slice/summary/index.d.ts.map +1 -1
  994. package/dist/src/slice/summary/index.js +4 -4
  995. package/dist/src/slice/summary/index.js.map +1 -1
  996. package/dist/src/slice/summary/types.d.ts +6 -1
  997. package/dist/src/slice/summary/types.d.ts.map +1 -1
  998. package/dist/src/typography/highlight/index.d.ts +13 -13
  999. package/dist/src/typography/highlight/index.d.ts.map +1 -1
  1000. package/dist/src/typography/highlight/index.js +17 -20
  1001. package/dist/src/typography/highlight/index.js.map +1 -1
  1002. package/dist/src/typography/highlight/types.d.ts +5 -2
  1003. package/dist/src/typography/highlight/types.d.ts.map +1 -1
  1004. package/dist/src/typography/link/index.d.ts +9 -8
  1005. package/dist/src/typography/link/index.d.ts.map +1 -1
  1006. package/dist/src/typography/link/index.js +14 -12
  1007. package/dist/src/typography/link/index.js.map +1 -1
  1008. package/dist/src/typography/link/types.d.ts +4 -2
  1009. package/dist/src/typography/link/types.d.ts.map +1 -1
  1010. package/dist/src/typography/numeric/index.d.ts +1 -1
  1011. package/dist/src/typography/numeric/index.d.ts.map +1 -1
  1012. package/dist/src/typography/numeric/index.js +1 -1
  1013. package/dist/src/typography/numeric/index.js.map +1 -1
  1014. package/dist/src/typography/numeric/types.d.ts +1 -1
  1015. package/dist/src/typography/numeric/types.js +1 -1
  1016. package/dist/test/buttons/button-group.examples.d.ts.map +1 -1
  1017. package/dist/test/buttons/button-group.examples.js +9 -20
  1018. package/dist/test/buttons/button-group.examples.js.map +1 -1
  1019. package/dist/test/buttons/button.examples.d.ts.map +1 -1
  1020. package/dist/test/buttons/button.examples.js +16 -53
  1021. package/dist/test/buttons/button.examples.js.map +1 -1
  1022. package/dist/test/buttons/close-button.examples.d.ts.map +1 -1
  1023. package/dist/test/buttons/close-button.examples.js +10 -24
  1024. package/dist/test/buttons/close-button.examples.js.map +1 -1
  1025. package/dist/test/buttons/copy-button.examples.d.ts.map +1 -1
  1026. package/dist/test/buttons/copy-button.examples.js +7 -18
  1027. package/dist/test/buttons/copy-button.examples.js.map +1 -1
  1028. package/dist/test/buttons/icon-button.examples.d.ts.map +1 -1
  1029. package/dist/test/buttons/icon-button.examples.js +10 -27
  1030. package/dist/test/buttons/icon-button.examples.js.map +1 -1
  1031. package/dist/test/buttons/index.d.ts +12 -0
  1032. package/dist/test/buttons/index.d.ts.map +1 -0
  1033. package/dist/test/buttons/index.js +12 -0
  1034. package/dist/test/buttons/index.js.map +1 -0
  1035. package/dist/test/buttons/toggle.examples.d.ts.map +1 -1
  1036. package/dist/test/buttons/toggle.examples.js +9 -21
  1037. package/dist/test/buttons/toggle.examples.js.map +1 -1
  1038. package/dist/test/charts/chart.examples.d.ts +23 -0
  1039. package/dist/test/charts/chart.examples.d.ts.map +1 -0
  1040. package/dist/test/charts/chart.examples.js +325 -0
  1041. package/dist/test/charts/chart.examples.js.map +1 -0
  1042. package/dist/test/charts/index.d.ts +2 -7
  1043. package/dist/test/charts/index.d.ts.map +1 -1
  1044. package/dist/test/charts/index.js +2 -7
  1045. package/dist/test/charts/index.js.map +1 -1
  1046. package/dist/test/charts/sparkline.examples.d.ts +0 -4
  1047. package/dist/test/charts/sparkline.examples.d.ts.map +1 -1
  1048. package/dist/test/charts/sparkline.examples.js +15 -104
  1049. package/dist/test/charts/sparkline.examples.js.map +1 -1
  1050. package/dist/test/collections/blend.examples.d.ts +5 -0
  1051. package/dist/test/collections/blend.examples.d.ts.map +1 -0
  1052. package/dist/test/collections/blend.examples.js +105 -0
  1053. package/dist/test/collections/blend.examples.js.map +1 -0
  1054. package/dist/test/collections/calendar.examples.d.ts +4 -0
  1055. package/dist/test/collections/calendar.examples.d.ts.map +1 -0
  1056. package/dist/test/collections/calendar.examples.js +84 -0
  1057. package/dist/test/collections/calendar.examples.js.map +1 -0
  1058. package/dist/test/collections/data-list.examples.d.ts.map +1 -1
  1059. package/dist/test/collections/data-list.examples.js +50 -55
  1060. package/dist/test/collections/data-list.examples.js.map +1 -1
  1061. package/dist/test/collections/gantt.examples.d.ts +4 -13
  1062. package/dist/test/collections/gantt.examples.d.ts.map +1 -1
  1063. package/dist/test/collections/gantt.examples.js +203 -465
  1064. package/dist/test/collections/gantt.examples.js.map +1 -1
  1065. package/dist/test/collections/index.d.ts +3 -0
  1066. package/dist/test/collections/index.d.ts.map +1 -1
  1067. package/dist/test/collections/index.js +3 -0
  1068. package/dist/test/collections/index.js.map +1 -1
  1069. package/dist/test/collections/library.examples.d.ts +4 -0
  1070. package/dist/test/collections/library.examples.d.ts.map +1 -0
  1071. package/dist/test/collections/library.examples.js +79 -0
  1072. package/dist/test/collections/library.examples.js.map +1 -0
  1073. package/dist/test/collections/matrix.examples.d.ts +43 -12
  1074. package/dist/test/collections/matrix.examples.d.ts.map +1 -1
  1075. package/dist/test/collections/matrix.examples.js +172 -592
  1076. package/dist/test/collections/matrix.examples.js.map +1 -1
  1077. package/dist/test/collections/pagination.examples.d.ts +0 -4
  1078. package/dist/test/collections/pagination.examples.d.ts.map +1 -1
  1079. package/dist/test/collections/pagination.examples.js +24 -33
  1080. package/dist/test/collections/pagination.examples.js.map +1 -1
  1081. package/dist/test/collections/planner.examples.d.ts +43 -27
  1082. package/dist/test/collections/planner.examples.d.ts.map +1 -1
  1083. package/dist/test/collections/planner.examples.js +149 -596
  1084. package/dist/test/collections/planner.examples.js.map +1 -1
  1085. package/dist/test/collections/roster.examples.d.ts +5 -0
  1086. package/dist/test/collections/roster.examples.d.ts.map +1 -0
  1087. package/dist/test/collections/roster.examples.js +115 -0
  1088. package/dist/test/collections/roster.examples.js.map +1 -0
  1089. package/dist/test/collections/schematic.examples.d.ts +5 -0
  1090. package/dist/test/collections/schematic.examples.d.ts.map +1 -0
  1091. package/dist/test/collections/schematic.examples.js +144 -0
  1092. package/dist/test/collections/schematic.examples.js.map +1 -0
  1093. package/dist/test/collections/table.examples.d.ts +0 -11
  1094. package/dist/test/collections/table.examples.d.ts.map +1 -1
  1095. package/dist/test/collections/table.examples.js +170 -495
  1096. package/dist/test/collections/table.examples.js.map +1 -1
  1097. package/dist/test/collections/tree-view.examples.d.ts.map +1 -1
  1098. package/dist/test/collections/tree-view.examples.js +125 -156
  1099. package/dist/test/collections/tree-view.examples.js.map +1 -1
  1100. package/dist/test/container/card.examples.d.ts.map +1 -1
  1101. package/dist/test/container/card.examples.js +26 -111
  1102. package/dist/test/container/card.examples.js.map +1 -1
  1103. package/dist/test/container/index.d.ts +7 -0
  1104. package/dist/test/container/index.d.ts.map +1 -0
  1105. package/dist/test/container/index.js +7 -0
  1106. package/dist/test/container/index.js.map +1 -0
  1107. package/dist/test/disclosure/accordion.examples.d.ts.map +1 -1
  1108. package/dist/test/disclosure/accordion.examples.js +41 -106
  1109. package/dist/test/disclosure/accordion.examples.js.map +1 -1
  1110. package/dist/test/disclosure/carousel.examples.d.ts.map +1 -1
  1111. package/dist/test/disclosure/carousel.examples.js +14 -104
  1112. package/dist/test/disclosure/carousel.examples.js.map +1 -1
  1113. package/dist/test/disclosure/collapsible.examples.d.ts.map +1 -1
  1114. package/dist/test/disclosure/collapsible.examples.js +10 -22
  1115. package/dist/test/disclosure/collapsible.examples.js.map +1 -1
  1116. package/dist/test/disclosure/index.d.ts +5 -0
  1117. package/dist/test/disclosure/index.d.ts.map +1 -1
  1118. package/dist/test/disclosure/index.js +5 -0
  1119. package/dist/test/disclosure/index.js.map +1 -1
  1120. package/dist/test/disclosure/option-list.examples.d.ts.map +1 -1
  1121. package/dist/test/disclosure/option-list.examples.js +21 -44
  1122. package/dist/test/disclosure/option-list.examples.js.map +1 -1
  1123. package/dist/test/disclosure/segment-group.examples.d.ts.map +1 -1
  1124. package/dist/test/disclosure/segment-group.examples.js +29 -43
  1125. package/dist/test/disclosure/segment-group.examples.js.map +1 -1
  1126. package/dist/test/disclosure/show-more.examples.d.ts.map +1 -1
  1127. package/dist/test/disclosure/show-more.examples.js +8 -8
  1128. package/dist/test/disclosure/show-more.examples.js.map +1 -1
  1129. package/dist/test/disclosure/tabs.examples.d.ts.map +1 -1
  1130. package/dist/test/disclosure/tabs.examples.js +56 -146
  1131. package/dist/test/disclosure/tabs.examples.js.map +1 -1
  1132. package/dist/test/display/avatar-group.examples.d.ts +1 -4
  1133. package/dist/test/display/avatar-group.examples.d.ts.map +1 -1
  1134. package/dist/test/display/avatar-group.examples.js +18 -17
  1135. package/dist/test/display/avatar-group.examples.js.map +1 -1
  1136. package/dist/test/display/avatar.examples.d.ts +1 -0
  1137. package/dist/test/display/avatar.examples.d.ts.map +1 -1
  1138. package/dist/test/display/avatar.examples.js +21 -28
  1139. package/dist/test/display/avatar.examples.js.map +1 -1
  1140. package/dist/test/display/badge.examples.d.ts +1 -0
  1141. package/dist/test/display/badge.examples.d.ts.map +1 -1
  1142. package/dist/test/display/badge.examples.js +26 -64
  1143. package/dist/test/display/badge.examples.js.map +1 -1
  1144. package/dist/test/display/bar-strip.examples.d.ts +1 -4
  1145. package/dist/test/display/bar-strip.examples.d.ts.map +1 -1
  1146. package/dist/test/display/bar-strip.examples.js +41 -18
  1147. package/dist/test/display/bar-strip.examples.js.map +1 -1
  1148. package/dist/test/display/chip-rail.examples.d.ts +7 -0
  1149. package/dist/test/display/chip-rail.examples.d.ts.map +1 -0
  1150. package/dist/test/display/chip-rail.examples.js +59 -0
  1151. package/dist/test/display/chip-rail.examples.js.map +1 -0
  1152. package/dist/test/display/combine.examples.d.ts +2 -0
  1153. package/dist/test/display/combine.examples.d.ts.map +1 -0
  1154. package/dist/test/display/combine.examples.js +174 -0
  1155. package/dist/test/display/combine.examples.js.map +1 -0
  1156. package/dist/test/display/editable-chip.examples.d.ts +1 -4
  1157. package/dist/test/display/editable-chip.examples.d.ts.map +1 -1
  1158. package/dist/test/display/editable-chip.examples.js +22 -18
  1159. package/dist/test/display/editable-chip.examples.js.map +1 -1
  1160. package/dist/test/display/icon.examples.d.ts.map +1 -1
  1161. package/dist/test/display/icon.examples.js +10 -25
  1162. package/dist/test/display/icon.examples.js.map +1 -1
  1163. package/dist/test/display/index.d.ts +11 -0
  1164. package/dist/test/display/index.d.ts.map +1 -1
  1165. package/dist/test/display/index.js +11 -0
  1166. package/dist/test/display/index.js.map +1 -1
  1167. package/dist/test/display/kbd.examples.d.ts +1 -4
  1168. package/dist/test/display/kbd.examples.d.ts.map +1 -1
  1169. package/dist/test/display/kbd.examples.js +18 -8
  1170. package/dist/test/display/kbd.examples.js.map +1 -1
  1171. package/dist/test/display/meter.examples.d.ts +1 -4
  1172. package/dist/test/display/meter.examples.d.ts.map +1 -1
  1173. package/dist/test/display/meter.examples.js +19 -9
  1174. package/dist/test/display/meter.examples.js.map +1 -1
  1175. package/dist/test/display/metric-chip.examples.d.ts +1 -4
  1176. package/dist/test/display/metric-chip.examples.d.ts.map +1 -1
  1177. package/dist/test/display/metric-chip.examples.js +19 -9
  1178. package/dist/test/display/metric-chip.examples.js.map +1 -1
  1179. package/dist/test/display/segmented-meter.examples.d.ts +1 -4
  1180. package/dist/test/display/segmented-meter.examples.d.ts.map +1 -1
  1181. package/dist/test/display/segmented-meter.examples.js +40 -14
  1182. package/dist/test/display/segmented-meter.examples.js.map +1 -1
  1183. package/dist/test/display/stat.examples.d.ts +1 -0
  1184. package/dist/test/display/stat.examples.d.ts.map +1 -1
  1185. package/dist/test/display/stat.examples.js +22 -28
  1186. package/dist/test/display/stat.examples.js.map +1 -1
  1187. package/dist/test/display/tag.examples.d.ts +1 -0
  1188. package/dist/test/display/tag.examples.d.ts.map +1 -1
  1189. package/dist/test/display/tag.examples.js +25 -71
  1190. package/dist/test/display/tag.examples.js.map +1 -1
  1191. package/dist/test/display/trace.examples.d.ts +5 -0
  1192. package/dist/test/display/trace.examples.d.ts.map +1 -0
  1193. package/dist/test/display/trace.examples.js +62 -0
  1194. package/dist/test/display/trace.examples.js.map +1 -0
  1195. package/dist/test/extension.examples.d.ts +1 -27
  1196. package/dist/test/extension.examples.d.ts.map +1 -1
  1197. package/dist/test/extension.examples.js +34 -42
  1198. package/dist/test/extension.examples.js.map +1 -1
  1199. package/dist/test/feedback/banner.examples.d.ts.map +1 -1
  1200. package/dist/test/feedback/banner.examples.js +13 -37
  1201. package/dist/test/feedback/banner.examples.js.map +1 -1
  1202. package/dist/test/feedback/empty-state.examples.d.ts.map +1 -1
  1203. package/dist/test/feedback/empty-state.examples.js +7 -19
  1204. package/dist/test/feedback/empty-state.examples.js.map +1 -1
  1205. package/dist/test/feedback/index.d.ts +5 -0
  1206. package/dist/test/feedback/index.d.ts.map +1 -1
  1207. package/dist/test/feedback/index.js +5 -0
  1208. package/dist/test/feedback/index.js.map +1 -1
  1209. package/dist/test/feedback/progress.examples.d.ts +0 -1
  1210. package/dist/test/feedback/progress.examples.d.ts.map +1 -1
  1211. package/dist/test/feedback/progress.examples.js +13 -55
  1212. package/dist/test/feedback/progress.examples.js.map +1 -1
  1213. package/dist/test/feedback/skeleton.examples.d.ts.map +1 -1
  1214. package/dist/test/feedback/skeleton.examples.js +7 -11
  1215. package/dist/test/feedback/skeleton.examples.js.map +1 -1
  1216. package/dist/test/feedback/status.examples.d.ts.map +1 -1
  1217. package/dist/test/feedback/status.examples.js +8 -17
  1218. package/dist/test/feedback/status.examples.js.map +1 -1
  1219. package/dist/test/forms/checkbox.examples.d.ts.map +1 -1
  1220. package/dist/test/forms/checkbox.examples.js +9 -23
  1221. package/dist/test/forms/checkbox.examples.js.map +1 -1
  1222. package/dist/test/forms/combobox.examples.d.ts.map +1 -1
  1223. package/dist/test/forms/combobox.examples.js +69 -112
  1224. package/dist/test/forms/combobox.examples.js.map +1 -1
  1225. package/dist/test/forms/date-range-input.examples.d.ts.map +1 -1
  1226. package/dist/test/forms/date-range-input.examples.js +16 -34
  1227. package/dist/test/forms/date-range-input.examples.js.map +1 -1
  1228. package/dist/test/forms/field.examples.d.ts.map +1 -1
  1229. package/dist/test/forms/field.examples.js +8 -28
  1230. package/dist/test/forms/field.examples.js.map +1 -1
  1231. package/dist/test/forms/file-upload.examples.d.ts +1 -0
  1232. package/dist/test/forms/file-upload.examples.d.ts.map +1 -1
  1233. package/dist/test/forms/file-upload.examples.js +23 -49
  1234. package/dist/test/forms/file-upload.examples.js.map +1 -1
  1235. package/dist/test/forms/index.d.ts +5 -0
  1236. package/dist/test/forms/index.d.ts.map +1 -1
  1237. package/dist/test/forms/index.js +5 -0
  1238. package/dist/test/forms/index.js.map +1 -1
  1239. package/dist/test/forms/input.examples.d.ts +1 -0
  1240. package/dist/test/forms/input.examples.d.ts.map +1 -1
  1241. package/dist/test/forms/input.examples.js +30 -74
  1242. package/dist/test/forms/input.examples.js.map +1 -1
  1243. package/dist/test/forms/radio-card-group.examples.d.ts.map +1 -1
  1244. package/dist/test/forms/radio-card-group.examples.js +30 -36
  1245. package/dist/test/forms/radio-card-group.examples.js.map +1 -1
  1246. package/dist/test/forms/radio-group.examples.d.ts.map +1 -1
  1247. package/dist/test/forms/radio-group.examples.js +31 -37
  1248. package/dist/test/forms/radio-group.examples.js.map +1 -1
  1249. package/dist/test/forms/select.examples.d.ts.map +1 -1
  1250. package/dist/test/forms/select.examples.js +32 -44
  1251. package/dist/test/forms/select.examples.js.map +1 -1
  1252. package/dist/test/forms/slider.examples.d.ts.map +1 -1
  1253. package/dist/test/forms/slider.examples.js +11 -22
  1254. package/dist/test/forms/slider.examples.js.map +1 -1
  1255. package/dist/test/forms/switch.examples.d.ts.map +1 -1
  1256. package/dist/test/forms/switch.examples.js +9 -23
  1257. package/dist/test/forms/switch.examples.js.map +1 -1
  1258. package/dist/test/forms/tags-input.examples.d.ts.map +1 -1
  1259. package/dist/test/forms/tags-input.examples.js +14 -42
  1260. package/dist/test/forms/tags-input.examples.js.map +1 -1
  1261. package/dist/test/forms/textarea.examples.d.ts.map +1 -1
  1262. package/dist/test/forms/textarea.examples.js +14 -46
  1263. package/dist/test/forms/textarea.examples.js.map +1 -1
  1264. package/dist/test/forms/time-range-input.examples.d.ts.map +1 -1
  1265. package/dist/test/forms/time-range-input.examples.js +20 -38
  1266. package/dist/test/forms/time-range-input.examples.js.map +1 -1
  1267. package/dist/test/layout/box.examples.d.ts.map +1 -1
  1268. package/dist/test/layout/box.examples.js +20 -180
  1269. package/dist/test/layout/box.examples.js.map +1 -1
  1270. package/dist/test/layout/flex.examples.d.ts.map +1 -1
  1271. package/dist/test/layout/flex.examples.js +15 -133
  1272. package/dist/test/layout/flex.examples.js.map +1 -1
  1273. package/dist/test/layout/grid.examples.d.ts.map +1 -1
  1274. package/dist/test/layout/grid.examples.js +66 -105
  1275. package/dist/test/layout/grid.examples.js.map +1 -1
  1276. package/dist/test/layout/index.d.ts +3 -0
  1277. package/dist/test/layout/index.d.ts.map +1 -1
  1278. package/dist/test/layout/index.js +3 -0
  1279. package/dist/test/layout/index.js.map +1 -1
  1280. package/dist/test/layout/scroll-area.examples.d.ts.map +1 -1
  1281. package/dist/test/layout/scroll-area.examples.js +6 -14
  1282. package/dist/test/layout/scroll-area.examples.js.map +1 -1
  1283. package/dist/test/layout/separator.examples.d.ts.map +1 -1
  1284. package/dist/test/layout/separator.examples.js +17 -74
  1285. package/dist/test/layout/separator.examples.js.map +1 -1
  1286. package/dist/test/layout/splitter.examples.d.ts.map +1 -1
  1287. package/dist/test/layout/splitter.examples.js +41 -70
  1288. package/dist/test/layout/splitter.examples.js.map +1 -1
  1289. package/dist/test/layout/stack.examples.d.ts +1 -0
  1290. package/dist/test/layout/stack.examples.d.ts.map +1 -1
  1291. package/dist/test/layout/stack.examples.js +24 -93
  1292. package/dist/test/layout/stack.examples.js.map +1 -1
  1293. package/dist/test/layout/sticky.examples.d.ts.map +1 -1
  1294. package/dist/test/layout/sticky.examples.js +6 -33
  1295. package/dist/test/layout/sticky.examples.js.map +1 -1
  1296. package/dist/test/navigation/breadcrumb.examples.d.ts.map +1 -1
  1297. package/dist/test/navigation/breadcrumb.examples.js +30 -26
  1298. package/dist/test/navigation/breadcrumb.examples.js.map +1 -1
  1299. package/dist/test/navigation/index.d.ts +8 -0
  1300. package/dist/test/navigation/index.d.ts.map +1 -0
  1301. package/dist/test/navigation/index.js +8 -0
  1302. package/dist/test/navigation/index.js.map +1 -0
  1303. package/dist/test/navigation/nav-list.examples.d.ts.map +1 -1
  1304. package/dist/test/navigation/nav-list.examples.js +58 -60
  1305. package/dist/test/navigation/nav-list.examples.js.map +1 -1
  1306. package/dist/test/overlays/command-palette.examples.d.ts.map +1 -1
  1307. package/dist/test/overlays/command-palette.examples.js +45 -47
  1308. package/dist/test/overlays/command-palette.examples.js.map +1 -1
  1309. package/dist/test/overlays/dialog.examples.d.ts.map +1 -1
  1310. package/dist/test/overlays/dialog.examples.js +13 -41
  1311. package/dist/test/overlays/dialog.examples.js.map +1 -1
  1312. package/dist/test/overlays/drawer.examples.d.ts.map +1 -1
  1313. package/dist/test/overlays/drawer.examples.js +15 -39
  1314. package/dist/test/overlays/drawer.examples.js.map +1 -1
  1315. package/dist/test/overlays/hover-card.examples.d.ts.map +1 -1
  1316. package/dist/test/overlays/hover-card.examples.js +13 -32
  1317. package/dist/test/overlays/hover-card.examples.js.map +1 -1
  1318. package/dist/test/overlays/index.d.ts +2 -0
  1319. package/dist/test/overlays/index.d.ts.map +1 -1
  1320. package/dist/test/overlays/index.js +2 -0
  1321. package/dist/test/overlays/index.js.map +1 -1
  1322. package/dist/test/overlays/menu.examples.d.ts.map +1 -1
  1323. package/dist/test/overlays/menu.examples.js +26 -21
  1324. package/dist/test/overlays/menu.examples.js.map +1 -1
  1325. package/dist/test/overlays/popover.examples.d.ts.map +1 -1
  1326. package/dist/test/overlays/popover.examples.js +17 -33
  1327. package/dist/test/overlays/popover.examples.js.map +1 -1
  1328. package/dist/test/overlays/toggle-tip.examples.d.ts.map +1 -1
  1329. package/dist/test/overlays/toggle-tip.examples.js +9 -20
  1330. package/dist/test/overlays/toggle-tip.examples.js.map +1 -1
  1331. package/dist/test/overlays/tooltip.examples.d.ts.map +1 -1
  1332. package/dist/test/overlays/tooltip.examples.js +8 -5
  1333. package/dist/test/overlays/tooltip.examples.js.map +1 -1
  1334. package/dist/test/platform/clipboard.examples.d.ts.map +1 -1
  1335. package/dist/test/platform/clipboard.examples.js +10 -14
  1336. package/dist/test/platform/clipboard.examples.js.map +1 -1
  1337. package/dist/test/platform/download.examples.d.ts.map +1 -1
  1338. package/dist/test/platform/download.examples.js +10 -11
  1339. package/dist/test/platform/download.examples.js.map +1 -1
  1340. package/dist/test/platform/index.d.ts +11 -0
  1341. package/dist/test/platform/index.d.ts.map +1 -0
  1342. package/dist/test/platform/index.js +11 -0
  1343. package/dist/test/platform/index.js.map +1 -0
  1344. package/dist/test/platform/share.examples.d.ts.map +1 -1
  1345. package/dist/test/platform/share.examples.js +7 -6
  1346. package/dist/test/platform/share.examples.js.map +1 -1
  1347. package/dist/test/platform/slice.examples.d.ts.map +1 -1
  1348. package/dist/test/platform/slice.examples.js +211 -214
  1349. package/dist/test/platform/slice.examples.js.map +1 -1
  1350. package/dist/test/platform/state.examples.d.ts.map +1 -1
  1351. package/dist/test/platform/state.examples.js +7 -9
  1352. package/dist/test/platform/state.examples.js.map +1 -1
  1353. package/dist/test/slice/slice.examples.d.ts +10 -17
  1354. package/dist/test/slice/slice.examples.d.ts.map +1 -1
  1355. package/dist/test/slice/slice.examples.js +184 -483
  1356. package/dist/test/slice/slice.examples.js.map +1 -1
  1357. package/dist/test/style.examples.d.ts.map +1 -1
  1358. package/dist/test/style.examples.js +28 -74
  1359. package/dist/test/style.examples.js.map +1 -1
  1360. package/dist/test/typography/code-block.examples.d.ts.map +1 -1
  1361. package/dist/test/typography/code-block.examples.js +16 -43
  1362. package/dist/test/typography/code-block.examples.js.map +1 -1
  1363. package/dist/test/typography/code.examples.d.ts.map +1 -1
  1364. package/dist/test/typography/code.examples.js +14 -30
  1365. package/dist/test/typography/code.examples.js.map +1 -1
  1366. package/dist/test/typography/heading.examples.d.ts.map +1 -1
  1367. package/dist/test/typography/heading.examples.js +15 -52
  1368. package/dist/test/typography/heading.examples.js.map +1 -1
  1369. package/dist/test/typography/highlight.examples.d.ts.map +1 -1
  1370. package/dist/test/typography/highlight.examples.js +14 -16
  1371. package/dist/test/typography/highlight.examples.js.map +1 -1
  1372. package/dist/test/typography/index.d.ts +7 -4
  1373. package/dist/test/typography/index.d.ts.map +1 -1
  1374. package/dist/test/typography/index.js +7 -4
  1375. package/dist/test/typography/index.js.map +1 -1
  1376. package/dist/test/typography/link.examples.d.ts.map +1 -1
  1377. package/dist/test/typography/link.examples.js +14 -30
  1378. package/dist/test/typography/link.examples.js.map +1 -1
  1379. package/dist/test/typography/list.examples.d.ts.map +1 -1
  1380. package/dist/test/typography/list.examples.js +35 -79
  1381. package/dist/test/typography/list.examples.js.map +1 -1
  1382. package/dist/test/typography/mark.examples.d.ts.map +1 -1
  1383. package/dist/test/typography/mark.examples.js +15 -33
  1384. package/dist/test/typography/mark.examples.js.map +1 -1
  1385. package/dist/test/typography/note.examples.d.ts.map +1 -1
  1386. package/dist/test/typography/note.examples.js +8 -10
  1387. package/dist/test/typography/note.examples.js.map +1 -1
  1388. package/dist/test/typography/numeric.examples.d.ts.map +1 -1
  1389. package/dist/test/typography/numeric.examples.js +10 -39
  1390. package/dist/test/typography/numeric.examples.js.map +1 -1
  1391. package/dist/test/typography/text.examples.d.ts.map +1 -1
  1392. package/dist/test/typography/text.examples.js +25 -138
  1393. package/dist/test/typography/text.examples.js.map +1 -1
  1394. package/package.json +23 -15
  1395. package/dist/src/charts/area/index.d.ts +0 -186
  1396. package/dist/src/charts/area/index.d.ts.map +0 -1
  1397. package/dist/src/charts/area/index.js +0 -419
  1398. package/dist/src/charts/area/index.js.map +0 -1
  1399. package/dist/src/charts/area/types.d.ts +0 -1816
  1400. package/dist/src/charts/area/types.d.ts.map +0 -1
  1401. package/dist/src/charts/area/types.js +0 -130
  1402. package/dist/src/charts/area/types.js.map +0 -1
  1403. package/dist/src/charts/bar/index.d.ts +0 -97
  1404. package/dist/src/charts/bar/index.d.ts.map +0 -1
  1405. package/dist/src/charts/bar/index.js +0 -228
  1406. package/dist/src/charts/bar/index.js.map +0 -1
  1407. package/dist/src/charts/bar/types.d.ts +0 -920
  1408. package/dist/src/charts/bar/types.d.ts.map +0 -1
  1409. package/dist/src/charts/bar/types.js +0 -62
  1410. package/dist/src/charts/bar/types.js.map +0 -1
  1411. package/dist/src/charts/composed/index.d.ts +0 -99
  1412. package/dist/src/charts/composed/index.d.ts.map +0 -1
  1413. package/dist/src/charts/composed/index.js +0 -317
  1414. package/dist/src/charts/composed/index.js.map +0 -1
  1415. package/dist/src/charts/composed/types.d.ts +0 -1246
  1416. package/dist/src/charts/composed/types.d.ts.map +0 -1
  1417. package/dist/src/charts/composed/types.js +0 -88
  1418. package/dist/src/charts/composed/types.js.map +0 -1
  1419. package/dist/src/charts/line/index.d.ts +0 -97
  1420. package/dist/src/charts/line/index.d.ts.map +0 -1
  1421. package/dist/src/charts/line/index.js +0 -221
  1422. package/dist/src/charts/line/index.js.map +0 -1
  1423. package/dist/src/charts/line/types.d.ts +0 -964
  1424. package/dist/src/charts/line/types.d.ts.map +0 -1
  1425. package/dist/src/charts/line/types.js +0 -95
  1426. package/dist/src/charts/line/types.js.map +0 -1
  1427. package/dist/src/charts/pie/index.d.ts +0 -36
  1428. package/dist/src/charts/pie/index.d.ts.map +0 -1
  1429. package/dist/src/charts/pie/index.js +0 -58
  1430. package/dist/src/charts/pie/index.js.map +0 -1
  1431. package/dist/src/charts/pie/types.d.ts +0 -129
  1432. package/dist/src/charts/pie/types.d.ts.map +0 -1
  1433. package/dist/src/charts/pie/types.js +0 -58
  1434. package/dist/src/charts/pie/types.js.map +0 -1
  1435. package/dist/src/charts/radar/index.d.ts +0 -44
  1436. package/dist/src/charts/radar/index.d.ts.map +0 -1
  1437. package/dist/src/charts/radar/index.js +0 -85
  1438. package/dist/src/charts/radar/index.js.map +0 -1
  1439. package/dist/src/charts/radar/types.d.ts +0 -144
  1440. package/dist/src/charts/radar/types.d.ts.map +0 -1
  1441. package/dist/src/charts/radar/types.js +0 -36
  1442. package/dist/src/charts/radar/types.js.map +0 -1
  1443. package/dist/src/charts/scatter/index.d.ts +0 -95
  1444. package/dist/src/charts/scatter/index.d.ts.map +0 -1
  1445. package/dist/src/charts/scatter/index.js +0 -167
  1446. package/dist/src/charts/scatter/index.js.map +0 -1
  1447. package/dist/src/charts/scatter/types.d.ts +0 -868
  1448. package/dist/src/charts/scatter/types.d.ts.map +0 -1
  1449. package/dist/src/charts/scatter/types.js +0 -55
  1450. package/dist/src/charts/scatter/types.js.map +0 -1
  1451. package/dist/src/charts/types.d.ts +0 -2476
  1452. package/dist/src/charts/types.d.ts.map +0 -1
  1453. package/dist/src/charts/types.js +0 -1732
  1454. package/dist/src/charts/types.js.map +0 -1
  1455. package/dist/src/forms/time-scale-control/index.d.ts +0 -54
  1456. package/dist/src/forms/time-scale-control/index.d.ts.map +0 -1
  1457. package/dist/src/forms/time-scale-control/index.js +0 -135
  1458. package/dist/src/forms/time-scale-control/index.js.map +0 -1
  1459. package/dist/src/forms/time-scale-control/types.d.ts +0 -206
  1460. package/dist/src/forms/time-scale-control/types.d.ts.map +0 -1
  1461. package/dist/src/forms/time-scale-control/types.js +0 -97
  1462. package/dist/src/forms/time-scale-control/types.js.map +0 -1
  1463. package/dist/src/layout/chip-rail/index.d.ts +0 -31771
  1464. package/dist/src/layout/chip-rail/index.d.ts.map +0 -1
  1465. package/dist/src/layout/chip-rail/index.js.map +0 -1
  1466. package/dist/src/layout/chip-rail/types.d.ts.map +0 -1
  1467. package/dist/src/layout/chip-rail/types.js.map +0 -1
  1468. package/dist/src/slice/chart/index.d.ts +0 -201
  1469. package/dist/src/slice/chart/index.d.ts.map +0 -1
  1470. package/dist/src/slice/chart/index.js +0 -67
  1471. package/dist/src/slice/chart/index.js.map +0 -1
  1472. package/dist/src/slice/frame/index.d.ts +0 -77
  1473. package/dist/src/slice/frame/index.d.ts.map +0 -1
  1474. package/dist/src/slice/frame/index.js +0 -60
  1475. package/dist/src/slice/frame/index.js.map +0 -1
  1476. package/dist/test/charts/area.examples.d.ts +0 -30
  1477. package/dist/test/charts/area.examples.d.ts.map +0 -1
  1478. package/dist/test/charts/area.examples.js +0 -695
  1479. package/dist/test/charts/area.examples.js.map +0 -1
  1480. package/dist/test/charts/bar.examples.d.ts +0 -26
  1481. package/dist/test/charts/bar.examples.d.ts.map +0 -1
  1482. package/dist/test/charts/bar.examples.js +0 -561
  1483. package/dist/test/charts/bar.examples.js.map +0 -1
  1484. package/dist/test/charts/composed.examples.d.ts +0 -25
  1485. package/dist/test/charts/composed.examples.d.ts.map +0 -1
  1486. package/dist/test/charts/composed.examples.js +0 -616
  1487. package/dist/test/charts/composed.examples.js.map +0 -1
  1488. package/dist/test/charts/line.examples.d.ts +0 -29
  1489. package/dist/test/charts/line.examples.d.ts.map +0 -1
  1490. package/dist/test/charts/line.examples.js +0 -657
  1491. package/dist/test/charts/line.examples.js.map +0 -1
  1492. package/dist/test/charts/pie.examples.d.ts +0 -12
  1493. package/dist/test/charts/pie.examples.d.ts.map +0 -1
  1494. package/dist/test/charts/pie.examples.js +0 -137
  1495. package/dist/test/charts/pie.examples.js.map +0 -1
  1496. package/dist/test/charts/radar.examples.d.ts +0 -10
  1497. package/dist/test/charts/radar.examples.d.ts.map +0 -1
  1498. package/dist/test/charts/radar.examples.js +0 -123
  1499. package/dist/test/charts/radar.examples.js.map +0 -1
  1500. package/dist/test/charts/scatter.examples.d.ts +0 -22
  1501. package/dist/test/charts/scatter.examples.d.ts.map +0 -1
  1502. package/dist/test/charts/scatter.examples.js +0 -461
  1503. package/dist/test/charts/scatter.examples.js.map +0 -1
  1504. package/dist/test/forms/time-scale-control.examples.d.ts +0 -6
  1505. package/dist/test/forms/time-scale-control.examples.d.ts.map +0 -1
  1506. package/dist/test/forms/time-scale-control.examples.js +0 -70
  1507. package/dist/test/forms/time-scale-control.examples.js.map +0 -1
  1508. package/dist/test/layout/chip-rail.examples.d.ts +0 -4
  1509. package/dist/test/layout/chip-rail.examples.d.ts.map +0 -1
  1510. package/dist/test/layout/chip-rail.examples.js +0 -48
  1511. package/dist/test/layout/chip-rail.examples.js.map +0 -1
@@ -2,149 +2,119 @@
2
2
  * Copyright (c) 2025 Elara AI Pty Ltd
3
3
  * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
4
  */
5
- import { East, ArrayType, BooleanType, DictType, FloatType, FunctionType, NullType, OptionType, StringType, StructType, variant, some, none, } from "@elaraai/east";
6
- import { SizeType, LabelInputType, FontWeightType, FontStyleType, } from "../../style.js";
5
+ import { East, ArrayType, DictType, FloatType, FunctionType, NullType, OptionType, StringType, StructType, variant, some, none, } from "@elaraai/east";
6
+ import { AlignType, LabelInputType, FontWeightType, FontStyleType, SizeType, } from "../../style.js";
7
+ import { DensityType } from "../../style/interaction.js";
7
8
  import { UIComponentType } from "../../component.js";
8
- import { AlignType, MatrixCellSegmentType, MatrixBrushCoordType, MatrixBrushSelectionType, MatrixLegendPositionType, MatrixCellOrientationType, MatrixSegmentChangeEventType, MatrixSegmentClickEventType, MatrixStyleType, } from "./types.js";
9
- export { AlignType, MatrixCellSegmentType, MatrixBrushCoordType, MatrixBrushSelectionType, MatrixLegendPositionType, MatrixCellOrientationType, MatrixSegmentChangeEventType, MatrixSegmentClickEventType, MatrixStyleType, } from "./types.js";
9
+ import { MatrixFillType, MatrixSegmentType, MatrixMarkerType, MatrixCornerType, MatrixOrientationType, MatrixLegendEntryType, MatrixCellClickEventType, MatrixSegmentClickEventType, MatrixSegmentChangeEventType, StatusValueType, } from "./types.js";
10
+ // Re-export the UIComp-free types so consumers can reach everything via this module.
11
+ export { MatrixFillType, MatrixSegmentType, MatrixMarkerType, MatrixCornerType, MatrixOrientationType, MatrixLegendEntryType, MatrixCellClickEventType, MatrixSegmentClickEventType, MatrixSegmentChangeEventType, } from "./types.js";
10
12
  // ============================================================================
11
- // Cell overlay (UIComp-coupled)
13
+ // Cell / Row / Column (UIComp-coupled — cell carries free slot + popover)
12
14
  // ============================================================================
13
15
  /**
14
- * East StructType for a cell overlay.
16
+ * East StructType for a Matrix cell.
15
17
  *
16
18
  * @remarks
17
- * The overlay's content is a full UIComponent its own sizing rules
18
- * govern its footprint. Alignment uses the same axis-based `align` /
19
- * `verticalAlign` pair as segment labels so the two APIs are
20
- * consistent.
19
+ * A cell's body is a weighted **segment bar** (status-coloured), unless `slot`
20
+ * is set then the free-slot UIComponent renders in its place. `markers` are
21
+ * status flags (the Matrix analogue of `Planner.marker`): each tints a corner
22
+ * ring and pins a status icon/badge over the bar. `orientation` overrides the
23
+ * matrix default for this cell. `popover` is the click-triggered rich body
24
+ * (popover-only, like the Planner event — no tooltip).
21
25
  *
22
- * @property content - Overlay content (UIComponent)
23
- * @property align - Horizontal alignment within the cell (default `"center"`)
24
- * @property verticalAlign - Vertical alignment within the cell (default `"center"`)
25
- */
26
- export const MatrixCellOverlayType = StructType({
27
- content: UIComponentType,
28
- align: AlignType,
29
- verticalAlign: AlignType,
30
- });
31
- // ============================================================================
32
- // Cell
33
- // ============================================================================
34
- /**
35
- * East StructType for a matrix cell.
36
- *
37
- * @remarks
38
- * Cells live inside a `DictType(StringType, MatrixCellType)` keyed by
39
- * column key, so the cell itself no longer needs a `columnKey` field.
40
- * Emphasis is expressed by the presence of `emphasisColor` (nullable
41
- * string) — no separate boolean flag.
42
- *
43
- * Two rich-content slots:
44
- * - `tooltip` — hover-triggered, a Chakra Tooltip wraps the cell.
45
- * - `popover` — click-triggered, a Chakra Popover wraps the cell.
46
- *
47
- * Both accept any UIComponent (Stat, Badge, mini chart, form, …).
48
- * `popover` coexists with `onCellClick`: the click both fires the
49
- * callback and opens the popover.
50
- *
51
- * @property segments - Horizontal / vertical segments (weighted, normalized)
52
- * @property overlays - Overlay annotations
53
- * @property emphasisColor - Presence = emphasized; value = ring colour override
54
- * @property tooltip - Optional rich tooltip content (hover-triggered, UIComponent)
55
- * @property popover - Optional rich popover content (click-triggered, UIComponent)
26
+ * @property segments - The weighted segment bar ({@link MatrixSegmentType})
27
+ * @property markers - Status flags layered over the bar ({@link MatrixMarkerType})
28
+ * @property orientation - Optional per-cell orientation override
29
+ * @property slot - Optional free-slot UIComponent (replaces the segment bar)
30
+ * @property popover - Optional click-triggered rich popover (UIComponent)
56
31
  */
57
32
  export const MatrixCellType = StructType({
58
- segments: ArrayType(MatrixCellSegmentType),
59
- overlays: ArrayType(MatrixCellOverlayType),
60
- emphasisColor: OptionType(StringType),
61
- tooltip: OptionType(UIComponentType),
33
+ segments: ArrayType(MatrixSegmentType),
34
+ markers: ArrayType(MatrixMarkerType),
35
+ orientation: OptionType(MatrixOrientationType),
36
+ slot: OptionType(UIComponentType),
62
37
  popover: OptionType(UIComponentType),
63
38
  });
64
- // ============================================================================
65
- // Row / Column
66
- // ============================================================================
67
39
  /**
68
- * East StructType for a matrix row.
40
+ * East StructType for a Matrix row.
41
+ *
42
+ * @remarks
43
+ * `value` is the row-header main text and `sublabel` its optional secondary
44
+ * line — the Planner row-header model (no avatar). `group` is the group-head
45
+ * band label (from `groupBy`, or a Slice breakdown). `cells` is keyed by
46
+ * column key.
69
47
  *
70
- * @property key - Unique row key
71
- * @property header - Optional rich header (UIComponent)
48
+ * @property key - Stable row key
49
+ * @property value - Row-header main text (defaults to `key`)
50
+ * @property sublabel - Optional row-header secondary text
51
+ * @property group - Optional group-head label (groups consecutive rows)
72
52
  * @property cells - Dict of column key → cell
73
53
  */
74
54
  export const MatrixRowType = StructType({
75
55
  key: StringType,
76
- header: OptionType(UIComponentType),
56
+ value: StringType,
57
+ sublabel: OptionType(StringType),
58
+ group: OptionType(StringType),
77
59
  cells: DictType(StringType, MatrixCellType),
78
60
  });
79
61
  /**
80
- * East StructType for a matrix column definition.
62
+ * East StructType for a Matrix column.
81
63
  *
82
- * @property key - Unique column key
83
- * @property header - Optional rich header (UIComponent)
64
+ * @remarks
65
+ * One x-axis column definition; cells are keyed against `key`, and `label`
66
+ * paints the centred mono column header (defaulting to the key when omitted).
67
+ *
68
+ * @property key - Stable column key (cells are keyed against it)
69
+ * @property label - Optional single header label (defaults to `key`)
84
70
  */
85
71
  export const MatrixColumnType = StructType({
86
72
  key: StringType,
87
- header: OptionType(UIComponentType),
88
- });
89
- // ============================================================================
90
- // Legend entry
91
- // ============================================================================
92
- /**
93
- * East StructType for a legend entry.
94
- *
95
- * @property category - Category name (matches segment.category)
96
- * @property color - Swatch colour
97
- * @property label - Optional human-readable label
98
- */
99
- export const MatrixLegendEntryType = StructType({
100
- category: StringType,
101
- color: StringType,
102
- label: OptionType(StringType),
73
+ label: OptionType(LabelInputType),
103
74
  });
104
75
  // ============================================================================
105
76
  // Root
106
77
  // ============================================================================
107
78
  /**
108
- * Standalone East StructType mirror of the inline `Matrix` variant in
109
- * `component.ts`.
79
+ * Standalone East StructType mirror of the inline `Matrix` arm in `component.ts`.
110
80
  *
111
- * @property rows - Row definitions (each row carries a dict of cells)
112
- * @property columns - Column definitions (establishes the columnKey universe)
113
- * @property legend - Optional legend entries
114
- * @property brushSelection - Optional controlled brush-selection state
115
- * @property onCellClick - Optional cell click callback
116
- * @property onSegmentClick - Optional segment click callback
117
- * @property onSegmentChange - Optional segment-weight change callback (drag-resize)
118
- * @property style - Optional visual style
81
+ * @remarks
82
+ * The shape `Matrix.Root` produces and the renderer consumes: `rows` × `columns`
83
+ * with a status-coloured segment bar per cell, an optional `rowHeader` over the
84
+ * left identity column, a default `orientation`, an optional `legend`, and the
85
+ * `onCell/Segment*` callbacks. Pair it with a `Slice.Rail` for filter / search
86
+ * / breakdown / range.
87
+ *
88
+ * @property rows - Row data
89
+ * @property columns - Column definitions (the x-axis)
90
+ * @property rowHeader - Optional header label for the row-header (left) column
91
+ * @property orientation - Default cell orientation (per-cell overridable)
92
+ * @property legend - Optional explicit legend entries (omitted ⇒ auto-derived)
93
+ * @property minLabelSize - Optional min segment px below which in-bar labels hide
94
+ * @property density - Optional density preset (header/row rhythm)
95
+ * @property onCellClick - Optional cell-click callback
96
+ * @property onSegmentClick - Optional segment-click callback
97
+ * @property onSegmentChange - Optional segment drag-resize callback (presence ⇒ handles)
119
98
  */
120
99
  export const MatrixRootType = StructType({
121
100
  rows: ArrayType(MatrixRowType),
122
101
  columns: ArrayType(MatrixColumnType),
102
+ rowHeader: OptionType(StringType),
103
+ orientation: MatrixOrientationType,
123
104
  legend: OptionType(ArrayType(MatrixLegendEntryType)),
124
- brushSelection: OptionType(MatrixBrushSelectionType),
125
- onCellClick: OptionType(FunctionType([MatrixBrushCoordType], NullType)),
105
+ minLabelSize: OptionType(FloatType),
106
+ density: OptionType(DensityType),
107
+ onCellClick: OptionType(FunctionType([MatrixCellClickEventType], NullType)),
126
108
  onSegmentClick: OptionType(FunctionType([MatrixSegmentClickEventType], NullType)),
127
109
  onSegmentChange: OptionType(FunctionType([MatrixSegmentChangeEventType], NullType)),
128
- style: OptionType(MatrixStyleType),
129
110
  });
130
- const CellAddressableHelper = {
131
- cellId: (rowKey, columnKey) => `${rowKey}:${columnKey}`,
132
- };
133
111
  // ============================================================================
134
- // Helpers
112
+ // Label helpers (shared shape with Gantt/Planner)
135
113
  // ============================================================================
136
114
  function buildAlign(a) {
137
- if (a === undefined)
138
- return East.value(variant("center", null), AlignType);
139
- if (typeof a === "string") {
140
- return East.value(variant(a, null), AlignType);
141
- }
142
- return a;
115
+ return typeof a === "string" ? East.value(variant(a, null), AlignType) : a;
143
116
  }
144
117
  function isLabelInputObject(input) {
145
- // LabelInput is a plain JS object with a `value` field. Strings, numbers,
146
- // and East expressions (which are objects keyed by symbols + `type`) don't
147
- // expose a `value` property.
148
118
  return (typeof input === "object"
149
119
  && input !== null
150
120
  && !Array.isArray(input)
@@ -155,29 +125,19 @@ function buildLabel(input) {
155
125
  if (!isLabelInputObject(input)) {
156
126
  return East.value({
157
127
  value: input,
158
- align: none,
159
- verticalAlign: none,
160
- color: none,
161
- fontWeight: none,
162
- fontStyle: none,
163
- fontSize: none,
128
+ align: none, verticalAlign: none, color: none,
129
+ fontWeight: none, fontStyle: none, fontSize: none,
164
130
  }, LabelInputType);
165
131
  }
166
132
  const li = input;
167
133
  const fontWeightValue = li.fontWeight !== undefined
168
- ? (typeof li.fontWeight === "string"
169
- ? East.value(variant(li.fontWeight, null), FontWeightType)
170
- : li.fontWeight)
134
+ ? (typeof li.fontWeight === "string" ? East.value(variant(li.fontWeight, null), FontWeightType) : li.fontWeight)
171
135
  : undefined;
172
136
  const fontStyleValue = li.fontStyle !== undefined
173
- ? (typeof li.fontStyle === "string"
174
- ? East.value(variant(li.fontStyle, null), FontStyleType)
175
- : li.fontStyle)
137
+ ? (typeof li.fontStyle === "string" ? East.value(variant(li.fontStyle, null), FontStyleType) : li.fontStyle)
176
138
  : undefined;
177
139
  const fontSizeValue = li.fontSize !== undefined
178
- ? (typeof li.fontSize === "string"
179
- ? East.value(variant(li.fontSize, null), SizeType)
180
- : li.fontSize)
140
+ ? (typeof li.fontSize === "string" ? East.value(variant(li.fontSize, null), SizeType) : li.fontSize)
181
141
  : undefined;
182
142
  return East.value({
183
143
  value: li.value,
@@ -189,246 +149,532 @@ function buildLabel(input) {
189
149
  fontSize: fontSizeValue ? some(fontSizeValue) : none,
190
150
  }, LabelInputType);
191
151
  }
192
- function buildSegment(s) {
152
+ /**
153
+ * Builds a Matrix segment East value from flat input.
154
+ *
155
+ * @param input - Segment configuration ({@link MatrixSegmentInput})
156
+ * @returns An East expression of {@link MatrixSegmentType}
157
+ *
158
+ * @remarks
159
+ * Internal builder behind `Matrix.segment`; that namespace property carries the
160
+ * documented, test-validated `East.function` example.
161
+ */
162
+ function createSegment(input) {
163
+ const fillValue = (input.fill === undefined || typeof input.fill === "string")
164
+ ? variant((input.fill ?? "brand"), null)
165
+ : input.fill;
193
166
  return East.value({
194
- category: s.category,
195
- weight: s.weight,
196
- color: s.color !== undefined ? some(s.color) : none,
197
- label: s.label !== undefined ? some(buildLabel(s.label)) : none,
198
- min: s.min !== undefined ? some(s.min) : none,
199
- max: s.max !== undefined ? some(s.max) : none,
200
- step: s.step !== undefined ? some(s.step) : none,
201
- }, MatrixCellSegmentType);
167
+ fill: fillValue,
168
+ weight: input.weight,
169
+ label: input.label !== undefined ? some(buildLabel(input.label)) : none,
170
+ color: input.color !== undefined ? some(input.color) : none,
171
+ min: input.min !== undefined ? some(input.min) : none,
172
+ max: input.max !== undefined ? some(input.max) : none,
173
+ step: input.step !== undefined ? some(input.step) : none,
174
+ }, MatrixSegmentType);
202
175
  }
203
- function buildOverlay(o) {
176
+ /**
177
+ * Builds a Matrix marker (cell status flag) East value from flat input — the
178
+ * Matrix analogue of `Planner.marker`.
179
+ *
180
+ * @param input - Marker configuration ({@link MatrixMarkerInput})
181
+ * @returns An East expression of {@link MatrixMarkerType}
182
+ *
183
+ * @remarks
184
+ * Internal builder behind `Matrix.marker`; that namespace property carries the
185
+ * documented, test-validated `East.function` example.
186
+ */
187
+ function createMarker(input) {
188
+ const atValue = (input.at === undefined || typeof input.at === "string")
189
+ ? variant((input.at ?? "tr"), null)
190
+ : input.at;
191
+ const statusValue = (input.status === undefined || typeof input.status === "string")
192
+ ? variant((input.status ?? "danger"), null)
193
+ : input.status;
204
194
  return East.value({
205
- content: o.content,
206
- align: buildAlign(o.align),
207
- verticalAlign: buildAlign(o.verticalAlign),
208
- }, MatrixCellOverlayType);
195
+ at: atValue,
196
+ status: statusValue,
197
+ message: input.message,
198
+ label: input.label !== undefined ? some(input.label) : none,
199
+ }, MatrixMarkerType);
209
200
  }
210
- function buildCell(c) {
201
+ /**
202
+ * Builds a Matrix cell East value from flat input.
203
+ *
204
+ * @param input - Cell configuration ({@link MatrixCellInput})
205
+ * @returns An East expression of {@link MatrixCellType}
206
+ *
207
+ * @remarks
208
+ * Internal builder behind `Matrix.cell`; that namespace property carries the
209
+ * documented, test-validated `East.function` example.
210
+ */
211
+ function createCell(input) {
212
+ const orientationValue = input.orientation !== undefined
213
+ ? (typeof input.orientation === "string" ? East.value(variant(input.orientation, null), MatrixOrientationType) : input.orientation)
214
+ : undefined;
211
215
  return East.value({
212
- segments: (c.segments ?? []).map(buildSegment),
213
- overlays: (c.overlays ?? []).map(buildOverlay),
214
- emphasisColor: c.emphasisColor !== undefined ? some(c.emphasisColor) : none,
215
- tooltip: c.tooltip !== undefined ? some(c.tooltip) : none,
216
- popover: c.popover !== undefined ? some(c.popover) : none,
216
+ segments: East.value(input.segments ?? [], ArrayType(MatrixSegmentType)),
217
+ markers: East.value(input.markers ?? [], ArrayType(MatrixMarkerType)),
218
+ orientation: orientationValue !== undefined ? some(orientationValue) : none,
219
+ slot: input.slot !== undefined ? some(input.slot) : none,
220
+ popover: input.popover !== undefined ? some(input.popover) : none,
217
221
  }, MatrixCellType);
218
222
  }
219
- function buildRowCells(cells) {
220
- const entries = new Map();
221
- for (const [key, cell] of Object.entries(cells)) {
222
- if (cell)
223
- entries.set(key, buildCell(cell));
224
- }
225
- return East.value(entries, DictType(StringType, MatrixCellType));
226
- }
227
- function buildRow(r) {
228
- return East.value({
229
- key: r.key,
230
- header: r.header !== undefined ? some(r.header) : none,
231
- cells: buildRowCells(r.cells),
232
- }, MatrixRowType);
233
- }
234
- function buildColumn(c) {
223
+ /**
224
+ * Builds a Matrix column (one x-axis pivot column) East value from flat input —
225
+ * the constructor for the `columns` array.
226
+ *
227
+ * @param input - Column configuration ({@link MatrixColumnInput})
228
+ * @returns An East expression of {@link MatrixColumnType}
229
+ *
230
+ * @remarks
231
+ * Internal builder behind `Matrix.column`; that namespace property carries the
232
+ * documented example. Because the result is an East value (not a TS object), a
233
+ * `columns` array of these is a genuine `ArrayType<MatrixColumnType>` — so the
234
+ * x-axis can be data-driven (built with `.map` from upstream data) just as
235
+ * readily as written out literally.
236
+ */
237
+ function createColumn(input) {
235
238
  return East.value({
236
- key: c.key,
237
- header: c.header !== undefined ? some(c.header) : none,
239
+ key: input.key,
240
+ label: input.label !== undefined ? some(buildLabel(input.label)) : none,
238
241
  }, MatrixColumnType);
239
242
  }
240
- function autoColourForCategory(category, rows) {
241
- for (const row of rows) {
242
- for (const cell of Object.values(row.cells)) {
243
- if (!cell)
244
- continue;
245
- const c = cell;
246
- for (const seg of c.segments ?? []) {
247
- if (seg.category === category && typeof seg.color === "string") {
248
- return seg.color;
249
- }
250
- }
251
- }
252
- }
253
- return undefined;
254
- }
255
- function buildLegend(entries, rows) {
256
- return East.value(entries.map(e => East.value({
257
- category: e.category,
258
- color: e.color !== undefined
259
- ? e.color
260
- : (autoColourForCategory(e.category, rows) ?? "gray.400"),
261
- label: e.label !== undefined ? some(e.label) : none,
262
- }, MatrixLegendEntryType)), ArrayType(MatrixLegendEntryType));
263
- }
264
- function buildBrushSelection(b) {
265
- return East.value({
266
- enabled: b.enabled,
267
- selected: b.selected !== undefined ? some(b.selected) : none,
268
- onChange: b.onChange !== undefined
269
- ? some(East.value(b.onChange, FunctionType([ArrayType(MatrixBrushCoordType)], NullType)))
270
- : none,
271
- }, MatrixBrushSelectionType);
272
- }
273
- function buildMatrixStyle(style) {
274
- if (style === undefined)
275
- return undefined;
276
- const hasAny = style.size !== undefined
277
- || style.showGridLines !== undefined
278
- || style.gridColor !== undefined
279
- || style.headerBackground !== undefined
280
- || style.headerColor !== undefined
281
- || style.cellBackground !== undefined
282
- || style.cellBorderRadius !== undefined
283
- || style.rowHeaderWidth !== undefined
284
- || style.columnHeaderHeight !== undefined
285
- || style.legendPosition !== undefined
286
- || style.emphasisColor !== undefined
287
- || style.selectedBackground !== undefined
288
- || style.selectedBorderColor !== undefined
289
- || style.hoverHighlightColor !== undefined
290
- || style.cellOrientation !== undefined
291
- || style.segmentLabelColor !== undefined
292
- || style.segmentLabelFontSize !== undefined
293
- || style.segmentLabelFontWeight !== undefined
294
- || style.minLabelSize !== undefined;
295
- if (!hasAny)
296
- return undefined;
297
- const sizeValue = style.size !== undefined
298
- ? (typeof style.size === "string"
299
- ? East.value(variant(style.size, null), SizeType)
300
- : style.size)
301
- : undefined;
302
- const legendPositionValue = style.legendPosition !== undefined
303
- ? (typeof style.legendPosition === "string"
304
- ? East.value(variant(style.legendPosition, null), MatrixLegendPositionType)
305
- : style.legendPosition)
306
- : undefined;
307
- const orientationValue = style.cellOrientation !== undefined
308
- ? (typeof style.cellOrientation === "string"
309
- ? East.value(variant(style.cellOrientation, null), MatrixCellOrientationType)
310
- : style.cellOrientation)
311
- : undefined;
312
- return East.value({
313
- size: sizeValue ? some(sizeValue) : none,
314
- showGridLines: style.showGridLines !== undefined ? some(style.showGridLines) : none,
315
- gridColor: style.gridColor !== undefined ? some(style.gridColor) : none,
316
- headerBackground: style.headerBackground !== undefined ? some(style.headerBackground) : none,
317
- headerColor: style.headerColor !== undefined ? some(style.headerColor) : none,
318
- cellBackground: style.cellBackground !== undefined ? some(style.cellBackground) : none,
319
- cellBorderRadius: style.cellBorderRadius !== undefined ? some(style.cellBorderRadius) : none,
320
- rowHeaderWidth: style.rowHeaderWidth !== undefined ? some(style.rowHeaderWidth) : none,
321
- columnHeaderHeight: style.columnHeaderHeight !== undefined ? some(style.columnHeaderHeight) : none,
322
- legendPosition: legendPositionValue ? some(legendPositionValue) : none,
323
- emphasisColor: style.emphasisColor !== undefined ? some(style.emphasisColor) : none,
324
- selectedBackground: style.selectedBackground !== undefined ? some(style.selectedBackground) : none,
325
- selectedBorderColor: style.selectedBorderColor !== undefined ? some(style.selectedBorderColor) : none,
326
- hoverHighlightColor: style.hoverHighlightColor !== undefined ? some(style.hoverHighlightColor) : none,
327
- cellOrientation: orientationValue ? some(orientationValue) : none,
328
- segmentLabelColor: style.segmentLabelColor !== undefined ? some(style.segmentLabelColor) : none,
329
- segmentLabelFontSize: style.segmentLabelFontSize !== undefined ? some(style.segmentLabelFontSize) : none,
330
- segmentLabelFontWeight: style.segmentLabelFontWeight !== undefined ? some(style.segmentLabelFontWeight) : none,
331
- minLabelSize: style.minLabelSize !== undefined ? some(style.minLabelSize) : none,
332
- }, MatrixStyleType);
333
- }
334
- // ============================================================================
335
- // Factory
336
- // ============================================================================
337
243
  /**
338
- * Creates a Matrix component value.
244
+ * Creates a Matrix a row × column grid of status-coloured segment bars.
339
245
  *
340
- * @typeParam ColumnKeys - String-literal union of this Matrix's column keys
341
- * @param rows - Row definitions. Each row's `cells` is a dict narrowed to `ColumnKeys`.
342
- * @param columns - Column definitions. Establishes the `ColumnKeys` universe.
343
- * @param options - Optional style + legend + brushSelection + callbacks
344
- * @returns An East expression of type `UIComponentType`
246
+ * @typeParam T - The data array type
247
+ * @param data - The row data
248
+ * @param config - The Matrix configuration ({@link MatrixConfig})
249
+ * @returns An East expression of `UIComponentType`
345
250
  *
346
251
  * @remarks
347
- * Per-cell interactivity is implied by callback presence:
348
- * - `onCellClick` defined cells get a pointer cursor + hover state
349
- * - `onSegmentClick` defined → segments get pointer cursor + click firing
350
- * - `onSegmentChange` defined segment edges show drag handles (the
351
- * edge matches the orientation — right in horizontal, bottom in
352
- * vertical); `min` / `max` / `step` on segments act as resize
353
- * constraints
354
- *
355
- * Brush selection is a controlled component: `brushSelection.selected`
356
- * is the source of truth; the renderer syncs its local state to this
357
- * value and fires `onChange` on drag-release.
358
- *
359
- * The DOM publishes `data-cell-id="{rowKey}:{columnKey}"` on every
360
- * cell so consumer patterns (AssignmentBoard, RosterGrid) can
361
- * address cells by coordinate — see `Matrix.CellAddressable.cellId`.
252
+ * Data + accessors (Planner parity): `columns` declares the x-axis, `cell`
253
+ * builds each `(row, column)` cell with `Matrix.cell(...)`, `groupBy` groups
254
+ * rows. Pair the result with a `Slice.Rail` to get filter / search /
255
+ * breakdown / range for free.
362
256
  *
363
257
  * @example
364
258
  * ```ts
365
259
  * import { East } from "@elaraai/east";
366
- * import { Matrix, Text, UIComponentType } from "@elaraai/east-ui";
260
+ * import { Matrix, UIComponentType } from "@elaraai/east-ui";
367
261
  *
368
- * const example = East.function([], UIComponentType, (_$) => {
369
- * return Matrix.Root(
370
- * [{ key: "alice", header: Text.Root("Alice"), cells: {
371
- * mon: { segments: [{ category: "booked", weight: 0.8 }, { category: "free", weight: 0.2 }] },
372
- * tue: { segments: [{ category: "booked", weight: 0.5 }, { category: "free", weight: 0.5 }] },
373
- * }}],
374
- * [{ key: "mon", header: Text.Root("Mon") }, { key: "tue", header: Text.Root("Tue") }],
375
- * { legend: [{ category: "booked", label: "Booked" }, { category: "free", label: "Free" }] },
376
- * );
377
- * });
262
+ * const example = East.function([], UIComponentType, _$ =>
263
+ * Matrix.Root(
264
+ * [{ name: "Alice", booked: 0.7 }, { name: "Bob", booked: 0.4 }],
265
+ * {
266
+ * columns: [{ key: "mon", label: "Mon" }, { key: "tue", label: "Tue" }],
267
+ * rowKey: r => r.name,
268
+ * cell: (r, _col) => Matrix.cell({ segments: [
269
+ * Matrix.segment({ fill: "brand", weight: r.booked }),
270
+ * Matrix.segment({ fill: "free", weight: r.booked.subtract(1.0).multiply(-1.0) }),
271
+ * ]}),
272
+ * legend: [{ fill: "brand", label: "Booked" }, { fill: "free", label: "Free" }],
273
+ * },
274
+ * ));
378
275
  * ```
379
276
  */
380
- function createMatrix(rows, columns, options) {
381
- const styleValue = buildMatrixStyle(options);
382
- const legendValue = options?.legend
383
- ? buildLegend(options.legend, rows)
384
- : undefined;
385
- const brushValue = options?.brushSelection
386
- ? buildBrushSelection(options.brushSelection)
387
- : undefined;
277
+ function createMatrix(data, config) {
278
+ const data_expr = East.value(data);
279
+ const cfg = config;
280
+ const columns_expr = East.value(cfg.columns, ArrayType(MatrixColumnType));
281
+ const rows = data_expr.map(($, row) => {
282
+ const cells = $.let(columns_expr.toDict(($, col) => col.key, ($, col) => East.value(cfg.cell(row, col), MatrixCellType)));
283
+ return East.value({
284
+ key: cfg.rowKey(row),
285
+ value: cfg.rowValue !== undefined ? cfg.rowValue(row) : cfg.rowKey(row),
286
+ sublabel: cfg.rowSublabel !== undefined ? some(cfg.rowSublabel(row)) : none,
287
+ group: cfg.groupBy !== undefined ? some(cfg.groupBy(row)) : none,
288
+ cells,
289
+ }, MatrixRowType);
290
+ });
291
+ const legend = cfg.legend !== undefined
292
+ ? some(East.value(cfg.legend.map(e => East.value({
293
+ fill: typeof e.fill === "string" ? variant(e.fill, null) : e.fill,
294
+ label: e.label,
295
+ }, MatrixLegendEntryType)), ArrayType(MatrixLegendEntryType)))
296
+ : none;
297
+ const density = cfg.density !== undefined
298
+ ? some(typeof cfg.density === "string" ? East.value(variant(cfg.density, null), DensityType) : cfg.density)
299
+ : none;
388
300
  return East.value(variant("Matrix", {
389
- rows: East.value(rows.map(buildRow), ArrayType(MatrixRowType)),
390
- columns: East.value(columns.map(buildColumn), ArrayType(MatrixColumnType)),
391
- legend: legendValue ? some(legendValue) : none,
392
- brushSelection: brushValue ? some(brushValue) : none,
393
- onCellClick: options?.onCellClick !== undefined
394
- ? some(East.value(options.onCellClick, FunctionType([MatrixBrushCoordType], NullType)))
395
- : none,
396
- onSegmentClick: options?.onSegmentClick !== undefined
397
- ? some(East.value(options.onSegmentClick, FunctionType([MatrixSegmentClickEventType], NullType)))
398
- : none,
399
- onSegmentChange: options?.onSegmentChange !== undefined
400
- ? some(East.value(options.onSegmentChange, FunctionType([MatrixSegmentChangeEventType], NullType)))
401
- : none,
402
- style: styleValue ? some(styleValue) : none,
301
+ rows,
302
+ columns: columns_expr,
303
+ rowHeader: cfg.rowHeader !== undefined ? some(cfg.rowHeader) : none,
304
+ orientation: variant(cfg.orientation ?? "horizontal", null),
305
+ legend,
306
+ minLabelSize: cfg.minLabelSize !== undefined ? some(cfg.minLabelSize) : none,
307
+ density,
308
+ onCellClick: cfg.onCellClick !== undefined ? some(cfg.onCellClick) : none,
309
+ onSegmentClick: cfg.onSegmentClick !== undefined ? some(cfg.onSegmentClick) : none,
310
+ onSegmentChange: cfg.onSegmentChange !== undefined ? some(cfg.onSegmentChange) : none,
403
311
  }), UIComponentType);
404
312
  }
313
+ const MatrixTypes = {
314
+ /**
315
+ * East StructType for the entire Matrix value — the root IR.
316
+ *
317
+ * @remarks
318
+ * The standalone mirror of the inline `Matrix` arm in `component.ts`; the
319
+ * shape `Matrix.Root` produces and the renderer consumes.
320
+ *
321
+ * @property rows - Row data
322
+ * @property columns - Column definitions (the x-axis)
323
+ * @property rowHeader - Optional header label for the row-header (left) column
324
+ * @property orientation - Default cell orientation (per-cell overridable)
325
+ * @property legend - Optional explicit legend entries (omitted ⇒ auto-derived)
326
+ * @property minLabelSize - Optional min segment px below which in-bar labels hide
327
+ * @property density - Optional density preset (header/row rhythm)
328
+ * @property onCellClick - Optional cell-click callback
329
+ * @property onSegmentClick - Optional segment-click callback
330
+ * @property onSegmentChange - Optional segment drag-resize callback (presence ⇒ handles)
331
+ */
332
+ Root: MatrixRootType,
333
+ /**
334
+ * East StructType for a Matrix row.
335
+ *
336
+ * @remarks
337
+ * One row of the grid: `value` (main row-header text) + optional `sublabel`
338
+ * (secondary line) — the Planner row-header model — plus a dict of cells
339
+ * keyed by column key. `group` bands consecutive rows under a group head.
340
+ *
341
+ * @property key - Stable row key
342
+ * @property value - Row-header main text (defaults to `key`)
343
+ * @property sublabel - Optional row-header secondary text
344
+ * @property group - Optional group-head label (groups consecutive rows)
345
+ * @property cells - Dict of column key → cell
346
+ */
347
+ Row: MatrixRowType,
348
+ /**
349
+ * East StructType for a Matrix column.
350
+ *
351
+ * @remarks
352
+ * One x-axis column definition; cells are keyed against `key`.
353
+ *
354
+ * @property key - Stable column key (cells are keyed against it)
355
+ * @property label - Optional single header label (defaults to `key`)
356
+ */
357
+ Column: MatrixColumnType,
358
+ /**
359
+ * East StructType for a Matrix cell.
360
+ *
361
+ * @remarks
362
+ * A cell's body is a weighted segment bar (status-coloured) unless `slot` is
363
+ * set; `markers` are status flags that tint a corner ring and pin a status
364
+ * icon/badge, and `popover` is the click-triggered rich body.
365
+ *
366
+ * @property segments - The weighted segment bar ({@link MatrixSegmentType})
367
+ * @property markers - Status flags layered over the bar ({@link MatrixMarkerType})
368
+ * @property orientation - Optional per-cell orientation override
369
+ * @property slot - Optional free-slot UIComponent (replaces the segment bar)
370
+ * @property popover - Optional click-triggered rich popover (UIComponent)
371
+ */
372
+ Cell: MatrixCellType,
373
+ /**
374
+ * East StructType for a single weighted slice of a cell's bar.
375
+ *
376
+ * @remarks
377
+ * Segments are weighted — the renderer normalises so sibling weights sum to
378
+ * the full cell axis. `fill` drives the colour from the theme; `min` / `max`
379
+ * / `step` only apply when the Matrix carries an `onSegmentChange` callback.
380
+ *
381
+ * @property fill - Status-leveraged fill ({@link MatrixFillType})
382
+ * @property weight - Proportional weight (normalised with sibling segments)
383
+ * @property label - Optional rich in-bar label (text + alignment + typography)
384
+ * @property color - Optional explicit colour override (bypasses `fill`)
385
+ * @property min - Optional minimum weight for drag-resize
386
+ * @property max - Optional maximum weight for drag-resize
387
+ * @property step - Optional snap increment for drag-resize
388
+ */
389
+ Segment: MatrixSegmentType,
390
+ /**
391
+ * East VariantType for a segment fill — status-leveraged.
392
+ *
393
+ * @remarks
394
+ * A superset of {@link StatusValueType} (the semantic statuses, shared with
395
+ * Planner markers / Gantt task status) plus the three matrix-native fills
396
+ * (`brand`, `slack`, `free`).
397
+ *
398
+ * @property brand - Primary utilisation fill (brand teal — the "booked" segment)
399
+ * @property success - Positive / committed (green)
400
+ * @property warning - Caution / pending (gold)
401
+ * @property danger - Negative / at-risk (red)
402
+ * @property info - Informational (blue)
403
+ * @property neutral - Muted solid fill
404
+ * @property slack - Diagonal-hatched remainder (auto-fill slack)
405
+ * @property free - Transparent track — empty / available capacity
406
+ */
407
+ Fill: MatrixFillType,
408
+ /**
409
+ * East StructType for a cell status marker — the Matrix analogue of
410
+ * `Planner.marker`.
411
+ *
412
+ * @remarks
413
+ * `status` drives the ring tint + paired corner icon from the shared status
414
+ * palette (reused from Planner markers); `message` is the hover tooltip;
415
+ * `label` (when set) replaces the status icon with custom badge text.
416
+ *
417
+ * @property at - Which corner the marker icon / badge sits in ({@link MatrixCornerType})
418
+ * @property status - The semantic status — drives the ring tint + paired corner icon ({@link StatusValueType})
419
+ * @property message - The marker text surfaced as a hover tooltip
420
+ * @property label - Optional custom badge text that replaces the status icon
421
+ */
422
+ Marker: MatrixMarkerType,
423
+ /**
424
+ * East VariantType for the corner a cell marker icon / badge sits in.
425
+ *
426
+ * @remarks
427
+ * Selects which of the four cell corners a marker anchors to.
428
+ *
429
+ * @property tl - Top-left
430
+ * @property tr - Top-right
431
+ * @property bl - Bottom-left
432
+ * @property br - Bottom-right
433
+ */
434
+ Corner: MatrixCornerType,
435
+ /**
436
+ * East VariantType for how a cell's segment bar is laid out.
437
+ *
438
+ * @remarks
439
+ * The matrix default (`Matrix.Root` `orientation`), overridable per cell.
440
+ *
441
+ * @property horizontal - Segments flow left-to-right, sized by width
442
+ * @property vertical - Segments stack bottom-to-top, sized by height (capacity bar)
443
+ */
444
+ Orientation: MatrixOrientationType,
445
+ /**
446
+ * East StructType for one legend swatch — a fill paired with its label.
447
+ *
448
+ * @remarks
449
+ * Supplied explicitly via the `legend` config, or auto-derived from the
450
+ * fills the cells use.
451
+ *
452
+ * @property fill - The segment fill the swatch shows ({@link MatrixFillType})
453
+ * @property label - The displayed legend label
454
+ */
455
+ LegendEntry: MatrixLegendEntryType,
456
+ /**
457
+ * East VariantType for a status colour — shared with Planner markers.
458
+ *
459
+ * @remarks
460
+ * The semantic status palette reused across the Matrix (marker ring tint +
461
+ * corner icon) and Planner / Status components.
462
+ *
463
+ * @property success - Success / up-to-date classification
464
+ * @property warning - Warning classification
465
+ * @property danger - Danger / error classification
466
+ * @property info - Informational classification
467
+ * @property neutral - Neutral / idle classification
468
+ */
469
+ Status: StatusValueType,
470
+ /**
471
+ * East StructType for the `onCellClick` payload.
472
+ *
473
+ * @remarks
474
+ * Identifies which cell the user clicked by row and column key.
475
+ *
476
+ * @property row - Row key
477
+ * @property column - Column key
478
+ */
479
+ CellClickEvent: MatrixCellClickEventType,
480
+ /**
481
+ * East StructType for the `onSegmentClick` payload.
482
+ *
483
+ * @remarks
484
+ * Identifies the clicked segment by its cell coordinates, index, and fill.
485
+ *
486
+ * @property row - Row key
487
+ * @property column - Column key
488
+ * @property segmentIndex - Index of the clicked segment within the cell (0-based)
489
+ * @property fill - Fill of the clicked segment
490
+ */
491
+ SegmentClickEvent: MatrixSegmentClickEventType,
492
+ /**
493
+ * East StructType for the `onSegmentChange` payload.
494
+ *
495
+ * @remarks
496
+ * Fired when the user drags a segment boundary to a new weight; carries the
497
+ * post-snap, post-clamp weight for the resized segment.
498
+ *
499
+ * @property row - Row key
500
+ * @property column - Column key
501
+ * @property segmentIndex - Index of the resized segment within the cell (0-based)
502
+ * @property weight - New weight (post-snap, post-clamp)
503
+ */
504
+ SegmentChangeEvent: MatrixSegmentChangeEventType,
505
+ };
405
506
  /**
406
- * Matrix — row/column heat-grid primitive.
507
+ * Matrix namespace a row × column grid of status-coloured segment bars.
407
508
  *
408
509
  * @remarks
409
- * Chakra CSS-Grid renderer with sticky first column, dict-keyed
410
- * cells, multi-position overlays, optional controlled brush
411
- * selection, and optional segment drag-resize.
510
+ * Build with `Matrix.Root(data, config)`; assemble cells with `Matrix.cell`,
511
+ * segments with `Matrix.segment`, status flags with `Matrix.marker`. Frame it
512
+ * with a `Slice.Rail` for filter / search / breakdown / range.
412
513
  */
413
- export const Matrix = {
514
+ const MatrixImpl = {
515
+ /**
516
+ * Creates a Matrix — a row × column grid of status-coloured segment bars.
517
+ *
518
+ * @typeParam T - The data array type
519
+ * @param data - The row data
520
+ * @param config - The Matrix configuration ({@link MatrixConfig})
521
+ * @returns An East expression of `UIComponentType`
522
+ *
523
+ * @remarks
524
+ * Data + accessors (Planner parity): `columns` declares the x-axis, `cell`
525
+ * builds each `(row, column)` cell with `Matrix.cell(...)`, `groupBy` groups
526
+ * rows. Pair the result with a `Slice.Rail` to get filter / search /
527
+ * breakdown / range for free.
528
+ *
529
+ * @example
530
+ * ```ts
531
+ * import { East } from "@elaraai/east";
532
+ * import { Matrix, UIComponentType } from "@elaraai/east-ui";
533
+ *
534
+ * const example = East.function([], UIComponentType, _$ =>
535
+ * Matrix.Root(
536
+ * [{ name: "Alice", booked: 0.7 }, { name: "Bob", booked: 0.4 }],
537
+ * {
538
+ * columns: [Matrix.column({ key: "mon", label: "Mon" }), Matrix.column({ key: "tue", label: "Tue" })],
539
+ * rowKey: r => r.name,
540
+ * cell: (r, _col) => Matrix.cell({ segments: [
541
+ * Matrix.segment({ fill: "brand", weight: r.booked }),
542
+ * Matrix.segment({ fill: "free", weight: r.booked.subtract(1.0).multiply(-1.0) }),
543
+ * ]}),
544
+ * legend: [{ fill: "brand", label: "Booked" }, { fill: "free", label: "Free" }],
545
+ * },
546
+ * ));
547
+ * ```
548
+ */
414
549
  Root: createMatrix,
415
- CellAddressable: CellAddressableHelper,
416
- Types: {
417
- Root: MatrixRootType,
418
- Row: MatrixRowType,
419
- Column: MatrixColumnType,
420
- Cell: MatrixCellType,
421
- Segment: MatrixCellSegmentType,
422
- Overlay: MatrixCellOverlayType,
423
- Align: AlignType,
424
- LegendEntry: MatrixLegendEntryType,
425
- LegendPosition: MatrixLegendPositionType,
426
- BrushCoord: MatrixBrushCoordType,
427
- BrushSelection: MatrixBrushSelectionType,
428
- SegmentClickEvent: MatrixSegmentClickEventType,
429
- SegmentChangeEvent: MatrixSegmentChangeEventType,
430
- CellOrientation: MatrixCellOrientationType,
431
- Style: MatrixStyleType,
432
- },
550
+ /**
551
+ * Builds a Matrix column (one x-axis pivot column) East value from flat input.
552
+ *
553
+ * @param input - Column configuration ({@link MatrixColumnInput})
554
+ * @returns An East expression of {@link MatrixColumnType}
555
+ *
556
+ * @remarks
557
+ * The constructor for the `columns` array. Because it returns an East value,
558
+ * the x-axis can be data-driven — `data.map(($, d) => Matrix.column({ key: d.id }))`
559
+ * — as readily as written out literally.
560
+ *
561
+ * @example
562
+ * ```ts
563
+ * import { East } from "@elaraai/east";
564
+ * import { Matrix, UIComponentType } from "@elaraai/east-ui";
565
+ *
566
+ * const example = East.function([], UIComponentType, _$ =>
567
+ * Matrix.Root(
568
+ * [{ name: "Alice", booked: 0.7 }],
569
+ * {
570
+ * columns: [Matrix.column({ key: "mon", label: "Mon" })],
571
+ * rowKey: r => r.name,
572
+ * cell: (r, col) => Matrix.cell({ segments: [
573
+ * Matrix.segment({ fill: "brand", weight: r.booked }),
574
+ * ]}),
575
+ * },
576
+ * ));
577
+ * ```
578
+ */
579
+ column: createColumn,
580
+ /**
581
+ * Builds a Matrix segment East value from flat input.
582
+ *
583
+ * @param input - Segment configuration ({@link MatrixSegmentInput})
584
+ * @returns An East expression of {@link MatrixSegmentType}
585
+ *
586
+ * @remarks
587
+ * Segments are weighted slices of a cell's bar; the renderer normalises so
588
+ * sibling weights sum to the full cell axis. Assemble them into a cell with
589
+ * `Matrix.cell({ segments: [...] })`.
590
+ *
591
+ * @example
592
+ * ```ts
593
+ * import { East } from "@elaraai/east";
594
+ * import { Matrix, UIComponentType } from "@elaraai/east-ui";
595
+ *
596
+ * const example = East.function([], UIComponentType, _$ =>
597
+ * Matrix.Root(
598
+ * [{ name: "Alice", booked: 0.7 }],
599
+ * {
600
+ * columns: [{ key: "mon", label: "Mon" }],
601
+ * rowKey: r => r.name,
602
+ * cell: (r, _col) => Matrix.cell({ segments: [
603
+ * Matrix.segment({ fill: "warning", weight: r.booked, label: "30%" }),
604
+ * ]}),
605
+ * },
606
+ * ));
607
+ * ```
608
+ */
609
+ segment: createSegment,
610
+ /**
611
+ * Builds a Matrix marker (cell status flag) East value from flat input — the
612
+ * Matrix analogue of `Planner.marker`.
613
+ *
614
+ * @param input - Marker configuration ({@link MatrixMarkerInput})
615
+ * @returns An East expression of {@link MatrixMarkerType}
616
+ *
617
+ * @remarks
618
+ * Markers are status flags layered over a cell: each tints a corner ring and
619
+ * pins a status icon/badge, with `message` as the hover tooltip. Attach them
620
+ * to a cell with `Matrix.cell({ markers: [...] })`.
621
+ *
622
+ * @example
623
+ * ```ts
624
+ * import { East } from "@elaraai/east";
625
+ * import { Matrix, UIComponentType } from "@elaraai/east-ui";
626
+ *
627
+ * const example = East.function([], UIComponentType, _$ =>
628
+ * Matrix.Root(
629
+ * [{ name: "Alice", booked: 0.7 }],
630
+ * {
631
+ * columns: [{ key: "mon", label: "Mon" }],
632
+ * rowKey: r => r.name,
633
+ * cell: (r, _col) => Matrix.cell({
634
+ * segments: [Matrix.segment({ fill: "brand", weight: r.booked })],
635
+ * markers: [Matrix.marker({ status: "danger", message: "Over capacity", at: "tr" })],
636
+ * }),
637
+ * },
638
+ * ));
639
+ * ```
640
+ */
641
+ marker: createMarker,
642
+ /**
643
+ * Builds a Matrix cell East value from flat input.
644
+ *
645
+ * @param input - Cell configuration ({@link MatrixCellInput})
646
+ * @returns An East expression of {@link MatrixCellType}
647
+ *
648
+ * @remarks
649
+ * A cell's body is a weighted segment bar built from `Matrix.segment(...)`,
650
+ * unless `slot` is set. Layer status flags with `markers` (each tints a
651
+ * corner ring + pins a status icon), and attach a click-triggered rich body
652
+ * with `popover`. Return cells from the `cell` accessor in `Matrix.Root`.
653
+ *
654
+ * @example
655
+ * ```ts
656
+ * import { East } from "@elaraai/east";
657
+ * import { Matrix, UIComponentType } from "@elaraai/east-ui";
658
+ *
659
+ * const example = East.function([], UIComponentType, _$ =>
660
+ * Matrix.Root(
661
+ * [{ name: "Alice", booked: 0.7 }],
662
+ * {
663
+ * columns: [{ key: "mon", label: "Mon" }],
664
+ * rowKey: r => r.name,
665
+ * cell: (r, _col) => Matrix.cell({
666
+ * segments: [
667
+ * Matrix.segment({ fill: "brand", weight: r.booked }),
668
+ * Matrix.segment({ fill: "free", weight: r.booked.subtract(1.0).multiply(-1.0) }),
669
+ * ],
670
+ * markers: [Matrix.marker({ status: "danger", message: "Over capacity" })],
671
+ * }),
672
+ * },
673
+ * ));
674
+ * ```
675
+ */
676
+ cell: createCell,
677
+ Types: MatrixTypes,
433
678
  };
679
+ export const Matrix = MatrixImpl;
434
680
  //# sourceMappingURL=index.js.map