@adam-milo/ui 1.0.146 → 1.0.147

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 (344) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/index10.cjs +1 -1
  4. package/dist/index10.js +1 -1
  5. package/dist/index100.cjs +1 -1
  6. package/dist/index100.js +1 -1
  7. package/dist/index101.cjs +1 -1
  8. package/dist/index101.js +2 -1
  9. package/dist/index102.cjs +1 -1
  10. package/dist/index102.js +1 -1
  11. package/dist/index103.cjs +1 -1
  12. package/dist/index103.js +1 -1
  13. package/dist/index104.cjs +1 -1
  14. package/dist/index104.js +1 -1
  15. package/dist/index105.cjs +1 -1
  16. package/dist/index105.js +1 -1
  17. package/dist/index106.cjs +1 -1
  18. package/dist/index106.js +9 -1
  19. package/dist/index107.cjs +1 -1
  20. package/dist/index107.js +13 -1
  21. package/dist/index108.cjs +1 -1
  22. package/dist/index108.js +1 -1
  23. package/dist/index109.cjs +1 -1
  24. package/dist/index109.js +1 -1
  25. package/dist/index11.cjs +1 -1
  26. package/dist/index11.js +1 -1
  27. package/dist/index110.cjs +1 -1
  28. package/dist/index110.js +1 -1
  29. package/dist/index111.cjs +1 -1
  30. package/dist/index111.js +1 -1
  31. package/dist/index112.cjs +1 -1
  32. package/dist/index112.js +1 -1
  33. package/dist/index113.cjs +1 -1
  34. package/dist/index113.js +10 -1
  35. package/dist/index114.cjs +1 -1
  36. package/dist/index114.js +16 -1
  37. package/dist/index115.cjs +1 -1
  38. package/dist/index115.js +3 -1
  39. package/dist/index116.cjs +1 -1
  40. package/dist/index116.js +1 -1
  41. package/dist/index117.cjs +1 -1
  42. package/dist/index117.js +1 -1
  43. package/dist/index118.cjs +1 -1
  44. package/dist/index118.js +1 -1
  45. package/dist/index119.cjs +1 -1
  46. package/dist/index119.js +1 -1
  47. package/dist/index12.cjs +1 -1
  48. package/dist/index12.js +1 -1
  49. package/dist/index120.cjs +1 -1
  50. package/dist/index120.js +1 -1
  51. package/dist/index121.cjs +1 -1
  52. package/dist/index121.js +1 -1
  53. package/dist/index122.cjs +1 -1
  54. package/dist/index122.js +1 -1
  55. package/dist/index123.cjs +1 -1
  56. package/dist/index123.js +1 -1
  57. package/dist/index124.cjs +1 -1
  58. package/dist/index124.js +1 -1
  59. package/dist/index125.cjs +1 -1
  60. package/dist/index125.js +1 -1
  61. package/dist/index126.cjs +1 -1
  62. package/dist/index126.js +1 -1
  63. package/dist/index127.cjs +1 -1
  64. package/dist/index127.js +1 -1
  65. package/dist/index128.cjs +1 -1
  66. package/dist/index128.js +1 -1
  67. package/dist/index129.cjs +1 -1
  68. package/dist/index129.js +1 -1
  69. package/dist/index13.cjs +1 -1
  70. package/dist/index13.js +1 -1
  71. package/dist/index130.cjs +1 -1
  72. package/dist/index130.js +1 -1
  73. package/dist/index131.cjs +1 -0
  74. package/dist/index131.js +1 -0
  75. package/dist/index132.cjs +1 -0
  76. package/dist/index132.js +1 -0
  77. package/dist/index133.cjs +1 -0
  78. package/dist/index133.js +1 -0
  79. package/dist/index134.cjs +1 -0
  80. package/dist/index134.js +1 -0
  81. package/dist/index135.cjs +1 -0
  82. package/dist/index135.js +1 -0
  83. package/dist/index136.cjs +1 -0
  84. package/dist/index136.js +1 -0
  85. package/dist/index137.cjs +1 -0
  86. package/dist/index137.js +1 -0
  87. package/dist/index138.cjs +1 -0
  88. package/dist/index138.js +1 -0
  89. package/dist/index139.cjs +1 -0
  90. package/dist/index139.js +1 -0
  91. package/dist/index14.cjs +1 -1
  92. package/dist/index14.js +1 -1
  93. package/dist/index140.cjs +1 -0
  94. package/dist/index140.js +1 -0
  95. package/dist/index141.cjs +1 -0
  96. package/dist/index141.js +1 -0
  97. package/dist/index142.cjs +1 -0
  98. package/dist/index142.js +1 -0
  99. package/dist/index143.cjs +1 -0
  100. package/dist/index143.js +1 -0
  101. package/dist/index144.cjs +1 -0
  102. package/dist/index144.js +1 -0
  103. package/dist/index145.cjs +1 -0
  104. package/dist/index145.js +1 -0
  105. package/dist/index146.cjs +1 -0
  106. package/dist/index146.js +1 -0
  107. package/dist/index147.cjs +1 -0
  108. package/dist/index147.js +1 -0
  109. package/dist/index15.cjs +1 -1
  110. package/dist/index15.js +1 -1
  111. package/dist/index16.cjs +1 -1
  112. package/dist/index16.js +1 -1
  113. package/dist/index17.cjs +1 -1
  114. package/dist/index17.js +1 -1
  115. package/dist/index18.cjs +1 -1
  116. package/dist/index18.js +1 -1
  117. package/dist/index19.cjs +1 -1
  118. package/dist/index19.js +1 -1
  119. package/dist/index20.cjs +1 -1
  120. package/dist/index20.js +1 -1
  121. package/dist/index22.cjs +1 -1
  122. package/dist/index22.js +1 -1
  123. package/dist/index23.cjs +1 -1
  124. package/dist/index23.js +1 -1
  125. package/dist/index24.cjs +1 -1
  126. package/dist/index24.js +1 -1
  127. package/dist/index25.cjs +1 -1
  128. package/dist/index25.js +1 -1
  129. package/dist/index26.cjs +1 -1
  130. package/dist/index26.js +1 -1
  131. package/dist/index27.cjs +1 -1
  132. package/dist/index27.js +1 -1
  133. package/dist/index28.cjs +1 -1
  134. package/dist/index28.js +1 -1
  135. package/dist/index29.cjs +1 -1
  136. package/dist/index29.js +1 -1
  137. package/dist/index3.cjs +1 -1
  138. package/dist/index3.js +1 -1
  139. package/dist/index30.cjs +1 -1
  140. package/dist/index30.js +1 -1
  141. package/dist/index34.cjs +1 -1
  142. package/dist/index34.js +1 -1
  143. package/dist/index35.cjs +1 -1
  144. package/dist/index35.js +4 -4
  145. package/dist/index36.cjs +1 -1
  146. package/dist/index36.js +1 -1
  147. package/dist/index37.cjs +1 -1
  148. package/dist/index37.js +1 -1
  149. package/dist/index38.cjs +1 -1
  150. package/dist/index38.js +4 -4
  151. package/dist/index39.cjs +1 -1
  152. package/dist/index39.js +1 -1
  153. package/dist/index4.cjs +1 -1
  154. package/dist/index4.js +1 -1
  155. package/dist/index40.cjs +1 -1
  156. package/dist/index40.js +1 -1
  157. package/dist/index41.cjs +1 -1
  158. package/dist/index41.js +1 -1
  159. package/dist/index42.cjs +1 -1
  160. package/dist/index42.js +9 -2
  161. package/dist/index43.cjs +1 -1
  162. package/dist/index43.js +7 -5
  163. package/dist/index44.cjs +1 -1
  164. package/dist/index44.js +3 -2
  165. package/dist/index45.cjs +1 -1
  166. package/dist/index45.js +8 -2
  167. package/dist/index46.cjs +1 -1
  168. package/dist/index46.js +2 -3
  169. package/dist/index47.cjs +1 -1
  170. package/dist/index47.js +5 -3
  171. package/dist/index48.cjs +1 -1
  172. package/dist/index48.js +2 -24
  173. package/dist/index49.cjs +1 -1
  174. package/dist/index49.js +2 -10
  175. package/dist/index5.cjs +1 -1
  176. package/dist/index5.js +1 -1
  177. package/dist/index50.cjs +1 -1
  178. package/dist/index50.js +3 -13
  179. package/dist/index51.cjs +1 -1
  180. package/dist/index51.js +3 -38
  181. package/dist/index52.cjs +1 -1
  182. package/dist/index52.js +24 -10
  183. package/dist/index53.cjs +1 -1
  184. package/dist/index53.js +10 -1
  185. package/dist/index54.cjs +1 -1
  186. package/dist/index54.js +13 -9
  187. package/dist/index55.cjs +1 -1
  188. package/dist/index55.js +38 -2
  189. package/dist/index56.cjs +1 -1
  190. package/dist/index56.js +10 -2
  191. package/dist/index57.cjs +1 -1
  192. package/dist/index57.js +1 -2
  193. package/dist/index58.cjs +1 -1
  194. package/dist/index58.js +9 -4
  195. package/dist/index59.cjs +1 -1
  196. package/dist/index59.js +2 -2
  197. package/dist/index6.cjs +1 -1
  198. package/dist/index6.js +1 -1
  199. package/dist/index60.cjs +1 -1
  200. package/dist/index60.js +2 -3
  201. package/dist/index61.cjs +1 -1
  202. package/dist/index61.js +2 -2
  203. package/dist/index62.cjs +1 -1
  204. package/dist/index62.js +4 -2
  205. package/dist/index63.cjs +1 -1
  206. package/dist/index63.js +2 -2
  207. package/dist/index64.cjs +1 -1
  208. package/dist/index64.js +3 -2
  209. package/dist/index65.cjs +1 -1
  210. package/dist/index65.js +2 -10
  211. package/dist/index66.cjs +1 -1
  212. package/dist/index66.js +2 -11
  213. package/dist/index67.cjs +1 -1
  214. package/dist/index67.js +2 -1
  215. package/dist/index68.cjs +1 -1
  216. package/dist/index68.js +2 -1
  217. package/dist/index69.cjs +1 -1
  218. package/dist/index69.js +10 -1
  219. package/dist/index7.cjs +1 -1
  220. package/dist/index7.js +1 -1
  221. package/dist/index70.cjs +1 -1
  222. package/dist/index70.js +11 -1
  223. package/dist/index71.cjs +1 -1
  224. package/dist/index71.js +1 -1
  225. package/dist/index72.cjs +1 -1
  226. package/dist/index72.js +1 -1
  227. package/dist/index73.cjs +1 -1
  228. package/dist/index73.js +1 -1
  229. package/dist/index74.cjs +1 -1
  230. package/dist/index74.js +1 -1
  231. package/dist/index75.cjs +1 -1
  232. package/dist/index75.js +1 -9
  233. package/dist/index76.cjs +1 -1
  234. package/dist/index76.js +1 -1
  235. package/dist/index77.cjs +1 -1
  236. package/dist/index77.js +1 -1
  237. package/dist/index78.cjs +1 -1
  238. package/dist/index78.js +1 -1
  239. package/dist/index79.cjs +1 -1
  240. package/dist/index79.js +9 -1
  241. package/dist/index8.cjs +1 -1
  242. package/dist/index8.js +1 -1
  243. package/dist/index80.cjs +1 -1
  244. package/dist/index80.js +1 -2
  245. package/dist/index81.cjs +1 -1
  246. package/dist/index81.js +1 -1
  247. package/dist/index82.cjs +1 -1
  248. package/dist/index82.js +1 -1
  249. package/dist/index83.cjs +1 -1
  250. package/dist/index83.js +1 -1
  251. package/dist/index84.cjs +1 -1
  252. package/dist/index84.js +2 -1
  253. package/dist/index85.cjs +1 -1
  254. package/dist/index85.js +1 -1
  255. package/dist/index86.cjs +1 -1
  256. package/dist/index86.js +1 -7
  257. package/dist/index87.cjs +1 -1
  258. package/dist/index87.js +1 -1
  259. package/dist/index88.cjs +1 -1
  260. package/dist/index88.js +1 -1
  261. package/dist/index89.cjs +1 -1
  262. package/dist/index89.js +1 -1
  263. package/dist/index9.cjs +1 -1
  264. package/dist/index9.js +1 -1
  265. package/dist/index90.cjs +1 -1
  266. package/dist/index90.js +7 -1
  267. package/dist/index91.cjs +1 -1
  268. package/dist/index91.js +1 -1
  269. package/dist/index92.cjs +1 -1
  270. package/dist/index92.js +1 -1
  271. package/dist/index93.cjs +1 -1
  272. package/dist/index93.js +1 -1
  273. package/dist/index94.cjs +1 -1
  274. package/dist/index94.js +1 -1
  275. package/dist/index95.cjs +1 -1
  276. package/dist/index95.js +1 -1
  277. package/dist/index96.cjs +1 -1
  278. package/dist/index96.js +1 -1
  279. package/dist/index97.cjs +1 -1
  280. package/dist/index97.js +1 -2
  281. package/dist/index98.cjs +1 -1
  282. package/dist/index98.js +1 -1
  283. package/dist/index99.cjs +1 -1
  284. package/dist/index99.js +1 -1
  285. package/dist/src/components/data-display/_shared/chart.utils.d.ts +12 -0
  286. package/dist/src/components/data-display/_shared/chart.utils.d.ts.map +1 -0
  287. package/dist/src/components/data-display/_shared/chart.utils.spec.d.ts +2 -0
  288. package/dist/src/components/data-display/_shared/chart.utils.spec.d.ts.map +1 -0
  289. package/dist/src/components/data-display/bar-chart/BarChart.component.d.ts +5 -0
  290. package/dist/src/components/data-display/bar-chart/BarChart.component.d.ts.map +1 -0
  291. package/dist/src/components/data-display/bar-chart/BarChart.styles.d.ts +54 -0
  292. package/dist/src/components/data-display/bar-chart/BarChart.styles.d.ts.map +1 -0
  293. package/dist/src/components/data-display/bar-chart/BarChart.types.d.ts +64 -0
  294. package/dist/src/components/data-display/bar-chart/BarChart.types.d.ts.map +1 -0
  295. package/dist/src/components/data-display/bar-chart/BarChartDesktopPlot.component.d.ts +22 -0
  296. package/dist/src/components/data-display/bar-chart/BarChartDesktopPlot.component.d.ts.map +1 -0
  297. package/dist/src/components/data-display/bar-chart/BarChartMobilePlot.component.d.ts +22 -0
  298. package/dist/src/components/data-display/bar-chart/BarChartMobilePlot.component.d.ts.map +1 -0
  299. package/dist/src/components/data-display/bar-chart/barChart.utils.d.ts +8 -0
  300. package/dist/src/components/data-display/bar-chart/barChart.utils.d.ts.map +1 -0
  301. package/dist/src/components/data-display/gauge/Gauge.component.d.ts +5 -0
  302. package/dist/src/components/data-display/gauge/Gauge.component.d.ts.map +1 -0
  303. package/dist/src/components/data-display/gauge/Gauge.styles.d.ts +10 -0
  304. package/dist/src/components/data-display/gauge/Gauge.styles.d.ts.map +1 -0
  305. package/dist/src/components/data-display/gauge/Gauge.types.d.ts +24 -0
  306. package/dist/src/components/data-display/gauge/Gauge.types.d.ts.map +1 -0
  307. package/dist/src/components/data-display/gauge/gauge.utils.d.ts +10 -0
  308. package/dist/src/components/data-display/gauge/gauge.utils.d.ts.map +1 -0
  309. package/dist/src/components/data-display/line-chart/LineChart.component.d.ts +5 -0
  310. package/dist/src/components/data-display/line-chart/LineChart.component.d.ts.map +1 -0
  311. package/dist/src/components/data-display/line-chart/LineChart.styles.d.ts +61 -0
  312. package/dist/src/components/data-display/line-chart/LineChart.styles.d.ts.map +1 -0
  313. package/dist/src/components/data-display/line-chart/LineChart.types.d.ts +75 -0
  314. package/dist/src/components/data-display/line-chart/LineChart.types.d.ts.map +1 -0
  315. package/dist/src/components/data-display/line-chart/LineChartDesktopPlot.component.d.ts +23 -0
  316. package/dist/src/components/data-display/line-chart/LineChartDesktopPlot.component.d.ts.map +1 -0
  317. package/dist/src/components/data-display/line-chart/LineChartLegend.component.d.ts +13 -0
  318. package/dist/src/components/data-display/line-chart/LineChartLegend.component.d.ts.map +1 -0
  319. package/dist/src/components/data-display/line-chart/LineChartMobilePlot.component.d.ts +25 -0
  320. package/dist/src/components/data-display/line-chart/LineChartMobilePlot.component.d.ts.map +1 -0
  321. package/dist/src/components/data-display/line-chart/lineChart.utils.d.ts +73 -0
  322. package/dist/src/components/data-display/line-chart/lineChart.utils.d.ts.map +1 -0
  323. package/dist/src/components/data-display/line-chart/lineChart.utils.spec.d.ts +2 -0
  324. package/dist/src/components/data-display/line-chart/lineChart.utils.spec.d.ts.map +1 -0
  325. package/dist/src/components/data-display/progress-bar/ProgressBar.component.d.ts +5 -0
  326. package/dist/src/components/data-display/progress-bar/ProgressBar.component.d.ts.map +1 -0
  327. package/dist/src/components/data-display/progress-bar/ProgressBar.styles.d.ts +7 -0
  328. package/dist/src/components/data-display/progress-bar/ProgressBar.styles.d.ts.map +1 -0
  329. package/dist/src/components/data-display/progress-bar/ProgressBar.types.d.ts +25 -0
  330. package/dist/src/components/data-display/progress-bar/ProgressBar.types.d.ts.map +1 -0
  331. package/dist/src/components/feedback/alert/Alert.component.d.ts.map +1 -1
  332. package/dist/src/components/feedback/alert/Alert.styles.d.ts +9 -6
  333. package/dist/src/components/feedback/alert/Alert.styles.d.ts.map +1 -1
  334. package/dist/src/components/feedback/alert/Alert.types.d.ts +7 -1
  335. package/dist/src/components/feedback/alert/Alert.types.d.ts.map +1 -1
  336. package/dist/src/components/navigation/tabs/Tabs.component.d.ts.map +1 -1
  337. package/dist/src/components/navigation/tabs/Tabs.styles.d.ts +2 -0
  338. package/dist/src/components/navigation/tabs/Tabs.styles.d.ts.map +1 -1
  339. package/dist/src/components/navigation/tabs/Tabs.types.d.ts +2 -1
  340. package/dist/src/components/navigation/tabs/Tabs.types.d.ts.map +1 -1
  341. package/dist/src/index.d.ts +8 -0
  342. package/dist/src/index.d.ts.map +1 -1
  343. package/dist/styles.css +1 -1
  344. package/package.json +1 -1
@@ -0,0 +1,12 @@
1
+ /** `tickCount` evenly spaced ticks from 0, with a 1/2/5×10ⁿ step that covers `maxValue`. */
2
+ export declare const deriveNiceTicks: (maxValue: number, tickCount: number) => number[];
3
+ export declare const getYMax: (ticks: readonly number[]) => number;
4
+ /** `value` clamped to 0…`max`; non-finite input yields 0. */
5
+ export declare const clampValue: (value: number, max: number) => number;
6
+ /** `value` as a 0–100 share of `max`; non-finite input or a non-positive max yields 0. */
7
+ export declare const toPercent: (value: number, max: number) => number;
8
+ export declare const defaultValueText: (value: number, max: number) => string;
9
+ export declare const clampIndex: (index: number, count: number) => number;
10
+ /** Index targeted by a roving-focus navigation key, or `null` for any other key. */
11
+ export declare const getNavigationTarget: (key: string, index: number, count: number) => number | null;
12
+ //# sourceMappingURL=chart.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/_shared/chart.utils.ts"],"names":[],"mappings":"AAOA,4FAA4F;AAC5F,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,EAAE,WAAW,MAAM,KAAG,MAAM,EAW3E,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,MAGlD,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,KAAG,MACqB,CAAC;AAE9E,0FAA0F;AAC1F,eAAO,MAAM,SAAS,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,KAAG,MACqB,CAAC;AAE7E,eAAO,MAAM,gBAAgB,GAAI,OAAO,MAAM,EAAE,KAAK,MAAM,KAAG,MAA8B,CAAC;AAE7F,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,MACjB,CAAC;AAI1C,oFAAoF;AACpF,eAAO,MAAM,mBAAmB,GAAI,KAAK,MAAM,EAAE,OAAO,MAAM,EAAE,OAAO,MAAM,KAAG,MAAM,GAAG,IASxF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=chart.utils.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chart.utils.spec.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/_shared/chart.utils.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { BarChartProps } from './BarChart.types';
2
+
3
+ export type { BarChartDatum, BarChartLayout, BarChartProps, BarChartSummary, } from './BarChart.types';
4
+ export declare const BarChart: import('react').ForwardRefExoticComponent<BarChartProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ //# sourceMappingURL=BarChart.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarChart.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/bar-chart/BarChart.component.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAoBtD,YAAY,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAQ1B,eAAO,MAAM,QAAQ,0GAoHpB,CAAC"}
@@ -0,0 +1,54 @@
1
+ import { BarChartLayout } from './BarChart.types';
2
+
3
+ type ResolvedLayout = Exclude<BarChartLayout, 'auto'>;
4
+ export declare const rootStyles = "relative flex flex-col w-full min-w-0 bg-[var(--color-card)]";
5
+ export declare const rootLayoutStyles: Record<ResolvedLayout, string>;
6
+ export declare const headerStyles = "flex flex-row min-w-0";
7
+ export declare const headerLayoutStyles: Record<ResolvedLayout, string>;
8
+ export declare const headingGroupStyles = "flex flex-col gap-2 flex-1 min-w-0";
9
+ export declare const titleStyles = "m-0 font-bold text-18 leading-[1.045em] text-[var(--color-text)]";
10
+ export declare const descriptionStyles = "m-0 text-16 leading-[1.012em] text-[var(--color-overlay-dark-75)]";
11
+ export declare const dividerStyles = "shrink-0 self-stretch w-px bg-[var(--color-border)]";
12
+ export declare const summaryStyles = "flex flex-col gap-1 shrink-0";
13
+ export declare const summaryLayoutStyles: Record<ResolvedLayout, string>;
14
+ export declare const summaryLabelStyles = "text-16 leading-[1.012em] text-[var(--color-system-text)]";
15
+ export declare const summaryValueStyles = "font-bold text-18 leading-[1.045em] text-[var(--color-violet)]";
16
+ export declare const tickRowStyles = "absolute inset-x-0 flex items-center translate-y-1/2 pointer-events-none";
17
+ export declare const tickLineStyles = "flex-1 h-px bg-[var(--color-border)]";
18
+ export declare const barIdleStyles = "bg-[var(--color-violet-soft)]";
19
+ export declare const barActiveStyles = "bg-[var(--color-violet-medium)]";
20
+ export declare const emptyOverlayStyles = "absolute inset-0 z-10 flex items-center justify-center";
21
+ export declare const errorOverlayStyles = "absolute inset-0 z-40 rounded-[inherit]";
22
+ export declare const plotStyles = "relative flex flex-col gap-2 w-full pt-1.5";
23
+ export declare const plotAreaStyles = "relative w-full h-[10.4375rem]";
24
+ export declare const tickLabelStyles = "shrink-0 w-[2.1875rem] text-20 leading-none text-[var(--color-icon-secondary)] tabular-nums";
25
+ export declare const barsStyles = "absolute inset-y-0 start-[2.1875rem] end-0 flex items-end justify-center gap-8";
26
+ export declare const barColumnStyles: string;
27
+ export declare const barStyles = "shrink-0 w-full rounded-t-8 transition-colors duration-200 ease-out bar-chart-grow";
28
+ export declare const valueStyles: string;
29
+ export declare const valueIdleStyles = "font-normal text-[var(--color-system-text)]";
30
+ export declare const valueActiveStyles = "font-bold text-[var(--color-text)]";
31
+ export declare const xLabelsStyles = "flex justify-center gap-8 ps-[2.1875rem]";
32
+ export declare const xLabelStyles = "flex justify-center flex-1 min-w-0 max-w-[2.25rem] whitespace-nowrap text-18 leading-none text-[var(--color-system-text)]";
33
+ export declare const mobileBodyStyles = "flex flex-col gap-4 w-full min-w-0";
34
+ export declare const panelStyles = "flex flex-col items-center justify-center gap-3 w-full p-4 rounded-t-8 bg-[var(--color-overlay-border-30)]";
35
+ export declare const panelLabelStyles = "line-chart-fade-in text-trim-cap text-18 leading-[1.012em] text-[var(--color-system-text)]";
36
+ export declare const panelValueStyles = "text-trim-cap font-bold text-20 leading-[1.045em] text-[var(--color-text)] tabular-nums";
37
+ export declare const mobilePlotStyles = "relative w-full min-w-0 pt-[0.3125rem]";
38
+ export declare const mobileGridStyles = "absolute top-[0.3125rem] inset-x-0 h-[9.0625rem]";
39
+ export declare const mobileTickLabelStyles = "shrink-0 w-5 text-16 leading-none text-[var(--color-icon-secondary)] tabular-nums";
40
+ export declare const mobileScrollerWrapperStyles = "relative ms-5 overflow-hidden";
41
+ export declare const mobileScrollerStyles: string;
42
+ export declare const mobileStripStyles = "flex flex-col gap-[1.0625rem] w-max";
43
+ export declare const mobileBarsStyles = "flex items-end gap-1 h-[9.0625rem]";
44
+ export declare const mobileColumnWidthStyles = "shrink-0 w-[4.625rem]";
45
+ export declare const mobileBarHitStyles = "flex items-end justify-center h-full m-0 p-0 border-0 bg-transparent cursor-pointer";
46
+ export declare const mobileBarStyles = "w-12 rounded-t-12 transition-colors duration-200 ease-out bar-chart-grow";
47
+ export declare const mobileBarActiveStyles = "bg-[var(--color-violet)]";
48
+ export declare const monthsStyles = "flex gap-1";
49
+ export declare const monthButtonStyles: string;
50
+ export declare const monthButtonSelectedStyles = "bg-[var(--color-border)] text-[var(--color-system-text)]";
51
+ export declare const monthButtonIdleStyles = "bg-transparent text-[var(--color-icon-secondary)] enabled:hover:text-[var(--color-system-text)]";
52
+ export declare const scrollFadeStyles: string;
53
+ export {};
54
+ //# sourceMappingURL=BarChart.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarChart.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/bar-chart/BarChart.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,KAAK,cAAc,GAAG,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;AAEtD,eAAO,MAAM,UAAU,iEAAiE,CAAC;AAEzF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAG3D,CAAC;AAEF,eAAO,MAAM,YAAY,0BAA0B,CAAC;AAEpD,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAG7D,CAAC;AAEF,eAAO,MAAM,kBAAkB,uCAAuC,CAAC;AAEvE,eAAO,MAAM,WAAW,qEAAqE,CAAC;AAE9F,eAAO,MAAM,iBAAiB,sEACuC,CAAC;AAEtE,eAAO,MAAM,aAAa,wDAAwD,CAAC;AAEnF,eAAO,MAAM,aAAa,iCAAiC,CAAC;AAE5D,eAAO,MAAM,mBAAmB,EAAE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AAgB,uCAAuC,CAAC;AAErE,eAAO,MAAM,uBAAuB,0BAA0B,CAAC;AAE/D,eAAO,MAAM,kBAAkB,wFACwD,CAAC;AAExF,eAAO,MAAM,eAAe,6EACgD,CAAC;AAE7E,eAAO,MAAM,qBAAqB,6BAA6B,CAAC;AAEhE,eAAO,MAAM,YAAY,eAAe,CAAC;AAEzC,eAAO,MAAM,iBAAiB,QAKnB,CAAC;AAEZ,eAAO,MAAM,yBAAyB,6DAA6D,CAAC;AAEpG,eAAO,MAAM,qBAAqB,oGACiE,CAAC;AAEpG,eAAO,MAAM,gBAAgB,QAGlB,CAAC"}
@@ -0,0 +1,64 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+
3
+ export interface BarChartDatum {
4
+ /** Category label shown under the bar (e.g. `"Aug"`). */
5
+ label: string;
6
+ /** Bar value. Negative and non-finite values are treated as 0. */
7
+ value: number;
8
+ /**
9
+ * Longer label (e.g. `"Aug 2026"`), shown in the mobile values panel and used for the
10
+ * accessible name. Defaults to `label`.
11
+ */
12
+ fullLabel?: string;
13
+ }
14
+ export type BarChartLayout = 'auto' | 'desktop' | 'mobile';
15
+ export interface BarChartSummary {
16
+ /** Small muted caption (e.g. `"Current plan:"`). */
17
+ label: ReactNode;
18
+ /** Highlighted value (e.g. `"10 assessments"`). */
19
+ value: ReactNode;
20
+ }
21
+ export interface BarChartProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
22
+ /** Card title. Also used as the accessible name of the chart region. */
23
+ title: ReactNode;
24
+ /** Heading level of the title. Defaults to `h2`. */
25
+ titleAs?: 'h2' | 'h3' | 'h4';
26
+ /** Supporting text under the title. */
27
+ description?: ReactNode;
28
+ /** Key figure shown at the end of the header, separated by a divider. */
29
+ summary?: BarChartSummary;
30
+ /** Bars in display order. */
31
+ data: BarChartDatum[];
32
+ /** Explicit ascending y-axis ticks. Derived from the data when omitted. */
33
+ yTicks?: number[];
34
+ /** Number of ticks to derive when `yTicks` is omitted. Defaults to `3`. */
35
+ yTickCount?: number;
36
+ /** Formats the value printed above each bar. Defaults to `String(value)`. */
37
+ formatValue?: (value: number) => string;
38
+ /**
39
+ * `auto` (default) renders the mobile layout below the `lg` breakpoint and the desktop
40
+ * layout from `lg` up. Force one with `desktop` / `mobile`.
41
+ */
42
+ layout?: BarChartLayout;
43
+ /**
44
+ * Bar highlighted before any interaction. Desktop defaults to none; mobile always has a
45
+ * selected bar and defaults to the first one.
46
+ */
47
+ defaultActiveIndex?: number | null;
48
+ /**
49
+ * Called when the user changes the highlighted (desktop) or selected (mobile) bar. Not called
50
+ * for resets caused by new `data`, `errorState` or `animationKey`.
51
+ */
52
+ onActiveIndexChange?: (index: number | null) => void;
53
+ /** Rendered over the plot when every value is 0 or there is no data. */
54
+ emptyState?: ReactNode;
55
+ /** Rendered over the whole card when provided. Takes precedence over `emptyState`. */
56
+ errorState?: ReactNode;
57
+ /** Changing this value replays the grow-in animation. */
58
+ animationKey?: string | number;
59
+ /** Accessible name of the bar group. Defaults to `"Bars"`. */
60
+ barsLabel?: string;
61
+ 'data-cy'?: string;
62
+ 'data-testid'?: string;
63
+ }
64
+ //# sourceMappingURL=BarChart.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarChart.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/bar-chart/BarChart.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,aAAa;IAC5B,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3D,MAAM,WAAW,eAAe;IAC9B,oDAAoD;IACpD,KAAK,EAAE,SAAS,CAAC;IACjB,mDAAmD;IACnD,KAAK,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAClF,wEAAwE;IACxE,KAAK,EAAE,SAAS,CAAC;IACjB,oDAAoD;IACpD,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7B,uCAAuC;IACvC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,yEAAyE;IACzE,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,6BAA6B;IAC7B,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC;;;OAGG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACrD,wEAAwE;IACxE,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,sFAAsF;IACtF,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,22 @@
1
+ import { ReactNode } from 'react';
2
+ import { BarChartDatum } from './BarChart.types';
3
+
4
+ export interface BarChartDesktopPlotProps {
5
+ data: BarChartDatum[];
6
+ ticks: number[];
7
+ yMax: number;
8
+ isEmpty: boolean;
9
+ formatValue: (value: number) => string;
10
+ defaultActiveIndex: number | null;
11
+ onActiveIndexChange?: (index: number | null) => void;
12
+ emptyState?: ReactNode;
13
+ animationKey?: string | number;
14
+ barsLabel: string;
15
+ 'data-cy': string;
16
+ 'data-testid': string;
17
+ }
18
+ export declare const BarChartDesktopPlot: {
19
+ ({ data, ticks, yMax, isEmpty, formatValue, defaultActiveIndex, onActiveIndexChange, emptyState, animationKey, barsLabel, "data-cy": dataCy, "data-testid": dataTestId, }: BarChartDesktopPlotProps): import("react/jsx-runtime").JSX.Element;
20
+ displayName: string;
21
+ };
22
+ //# sourceMappingURL=BarChartDesktopPlot.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarChartDesktopPlot.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/bar-chart/BarChartDesktopPlot.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE9F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAsBtD,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACvC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACrD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB;+KAa7B,wBAAwB;;CAsJ1B,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { ReactNode } from 'react';
2
+ import { BarChartDatum } from './BarChart.types';
3
+
4
+ export interface BarChartMobilePlotProps {
5
+ data: BarChartDatum[];
6
+ ticks: number[];
7
+ yMax: number;
8
+ isEmpty: boolean;
9
+ formatValue: (value: number) => string;
10
+ defaultActiveIndex: number | null;
11
+ onActiveIndexChange?: (index: number | null) => void;
12
+ emptyState?: ReactNode;
13
+ animationKey?: string | number;
14
+ barsLabel: string;
15
+ 'data-cy': string;
16
+ 'data-testid': string;
17
+ }
18
+ export declare const BarChartMobilePlot: {
19
+ ({ data, ticks, yMax, isEmpty, formatValue, defaultActiveIndex, onActiveIndexChange, emptyState, animationKey, barsLabel, "data-cy": dataCy, "data-testid": dataTestId, }: BarChartMobilePlotProps): import("react/jsx-runtime").JSX.Element;
20
+ displayName: string;
21
+ };
22
+ //# sourceMappingURL=BarChartMobilePlot.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarChartMobilePlot.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/bar-chart/BarChartMobilePlot.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAiCtD,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,aAAa,EAAE,CAAC;IACtB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACvC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACrD,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,kBAAkB;+KAa5B,uBAAuB;;CA0KzB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { BarChartDatum } from './BarChart.types';
2
+
3
+ export declare const readBarValue: (datum: BarChartDatum | undefined) => number;
4
+ export declare const deriveBarTicks: (data: BarChartDatum[], tickCount: number) => number[];
5
+ export declare const isBarChartEmpty: (data: BarChartDatum[]) => boolean;
6
+ export declare const getBarFullLabel: (datum: BarChartDatum) => string;
7
+ export declare const defaultFormatValue: (value: number) => string;
8
+ //# sourceMappingURL=barChart.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"barChart.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/bar-chart/barChart.utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,YAAY,GAAI,OAAO,aAAa,GAAG,SAAS,KAAG,MAG/D,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,MAAM,aAAa,EAAE,EAAE,WAAW,MAAM,KAAG,MAAM,EAI7E,CAAC;AAEJ,eAAO,MAAM,eAAe,GAAI,MAAM,aAAa,EAAE,KAAG,OACN,CAAC;AAEnD,eAAO,MAAM,eAAe,GAAI,OAAO,aAAa,KAAG,MAAwC,CAAC;AAEhG,eAAO,MAAM,kBAAkB,GAAI,OAAO,MAAM,KAAG,MAAuB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { GaugeProps } from './Gauge.types';
2
+
3
+ export type { GaugeProps } from './Gauge.types';
4
+ export declare const Gauge: import('react').ForwardRefExoticComponent<GaugeProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ //# sourceMappingURL=Gauge.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gauge.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/gauge/Gauge.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAoBhD,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIhD,eAAO,MAAM,KAAK,uGAmGjB,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const rootStyles = "inline-flex flex-col items-center gap-4 min-w-0 max-w-full";
2
+ export declare const dialStyles = "relative w-[9.875rem] max-w-full";
3
+ export declare const svgStyles = "block w-full h-auto overflow-visible rtl:-scale-x-100";
4
+ export declare const trackStyles = "stroke-[var(--color-icon-secondary)]";
5
+ export declare const fillStyles = "stroke-[var(--color-clickable)] gauge-fill";
6
+ export declare const readoutStyles: string;
7
+ export declare const valueStyles = "font-bold text-[3.5rem] leading-none text-[var(--color-clickable)] tabular-nums";
8
+ export declare const maxStyles = "text-32 leading-none text-[var(--color-system-text)] tabular-nums";
9
+ export declare const labelStyles = "m-0 text-center text-20 leading-[1.012em] text-[var(--color-system-text)]";
10
+ //# sourceMappingURL=Gauge.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gauge.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/gauge/Gauge.styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,+DAA+D,CAAC;AAEvF,eAAO,MAAM,UAAU,qCAAqC,CAAC;AAE7D,eAAO,MAAM,SAAS,0DAA0D,CAAC;AAEjF,eAAO,MAAM,WAAW,yCAAyC,CAAC;AAElE,eAAO,MAAM,UAAU,+CAA+C,CAAC;AAEvE,eAAO,MAAM,aAAa,QAGf,CAAC;AAEZ,eAAO,MAAM,WAAW,oFAC2D,CAAC;AAEpF,eAAO,MAAM,SAAS,sEAAsE,CAAC;AAE7F,eAAO,MAAM,WAAW,8EACqD,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+
3
+ export interface GaugeProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
4
+ /** Current value (e.g. assessments used). Clamped to `0..max`. */
5
+ value: number;
6
+ /** Value at which the arc is full. Defaults to 100. */
7
+ max?: number;
8
+ /** Caption under the arc (e.g. "Assessments used"); also the accessible name. */
9
+ label?: ReactNode;
10
+ /** Shows the `/max` suffix next to the value. Defaults to `true`. */
11
+ showMax?: boolean;
12
+ /** Formats the displayed value and max. Defaults to `String`. */
13
+ formatValue?: (value: number) => string;
14
+ /**
15
+ * Accessible value text. Defaults to `"{value} of {max}"`.
16
+ * Provide when the value needs units (e.g. "1 of 10 assessments").
17
+ */
18
+ getValueText?: (value: number, max: number) => string;
19
+ /** Accessible name when no visible `label` is given. */
20
+ 'aria-label'?: string;
21
+ 'data-cy'?: string;
22
+ 'data-testid'?: string;
23
+ }
24
+ //# sourceMappingURL=Gauge.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Gauge.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/gauge/Gauge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAClF,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,iFAAiF;IACjF,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,qEAAqE;IACrE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACtD,wDAAwD;IACxD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,10 @@
1
+ /** Arc radius and stroke width in viewBox units (Figma: 71 / 16). */
2
+ export declare const GAUGE_RADIUS = 71;
3
+ export declare const GAUGE_STROKE = 16;
4
+ /** How far each arc end dips below the horizontal diameter, in degrees (Figma: ~19°). */
5
+ export declare const GAUGE_DIP_DEG = 19;
6
+ export declare const GAUGE_VIEWBOX_WIDTH: number;
7
+ export declare const GAUGE_VIEWBOX_HEIGHT: number;
8
+ /** Arc from the bottom-left end, clockwise over the top, to the bottom-right end. */
9
+ export declare const GAUGE_ARC_PATH: string;
10
+ //# sourceMappingURL=gauge.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gauge.utils.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/gauge/gauge.utils.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,yFAAyF;AACzF,eAAO,MAAM,aAAa,KAAK,CAAC;AAmBhC,eAAO,MAAM,mBAAmB,QAAsB,CAAC;AACvD,eAAO,MAAM,oBAAoB,QAAqB,CAAC;AAEvD,qFAAqF;AACrF,eAAO,MAAM,cAAc,QAAkH,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { LineChartProps } from './LineChart.types';
2
+
3
+ export type { LineChartLayout, LineChartPoint, LineChartPointItem, LineChartProps, LineChartSeries, LineChartVariant, } from './LineChart.types';
4
+ export declare const LineChart: import('react').ForwardRefExoticComponent<LineChartProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ //# sourceMappingURL=LineChart.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineChart.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/line-chart/LineChart.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AA4BxD,YAAY,EACV,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,eAAe,EACf,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAS3B,eAAO,MAAM,SAAS,2GAoKrB,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { LineChartVariant } from './LineChart.types';
2
+
3
+ export declare const desktopRootStyles: string;
4
+ export declare const desktopRootGapStyles: Record<LineChartVariant, string>;
5
+ export declare const mobileRootStyles = "relative flex flex-col w-full rounded-12 p-5 pb-7 gap-6 shadow-card bg-[var(--color-card)]";
6
+ export declare const titleStyles = "m-0 font-bold text-18 leading-[1.045em] text-[var(--color-text)] whitespace-nowrap";
7
+ export declare const desktopHeaderStyles = "relative z-30 flex items-start justify-between gap-8 w-full";
8
+ export declare const desktopHeaderEndStyles = "flex items-center justify-end gap-8 min-w-0";
9
+ export declare const mobileHeaderActionsStyles = "flex w-full [&>*]:w-full [&_[role=tablist]]:flex [&_[role=tablist]]:w-full";
10
+ export declare const legendStyles: Record<LineChartVariant, string>;
11
+ export declare const legendItemStyles: Record<LineChartVariant, string>;
12
+ export declare const legendDotStyles: Record<LineChartVariant, string>;
13
+ export declare const legendLabelStyles: Record<LineChartVariant, string>;
14
+ export declare const desktopPlotStyles = "relative flex-1 w-full";
15
+ export declare const svgStyles = "absolute inset-0 block w-full h-full";
16
+ export declare const gridLineStyles = "stroke-[var(--color-border)]";
17
+ export declare const growGroupStyles = "line-chart-grow [transform-box:view-box] origin-[0_var(--line-chart-baseline,100%)]";
18
+ export declare const yTickStyles = "absolute -translate-y-1/2 pointer-events-none text-end text-20 leading-[1.012em] text-[var(--color-icon-secondary)]";
19
+ export declare const xLabelStyles = "absolute bottom-0 -translate-x-1/2 pointer-events-none whitespace-nowrap text-20 leading-[1.012em]";
20
+ export declare const xLabelActiveStyles = "font-bold text-[var(--color-system-text)]";
21
+ export declare const xLabelIdleStyles = "font-normal text-[var(--color-icon-secondary)]";
22
+ export declare const pointButtonStyles: string;
23
+ export declare const hoverBandStyles = "absolute pointer-events-none bg-[var(--color-overlay-border-50)]";
24
+ export declare const hoverLineStyles = "absolute pointer-events-none overflow-visible";
25
+ export declare const hoverLineStrokeStyles = "stroke-[var(--color-icon-secondary)]";
26
+ export declare const dotStyles = "absolute size-[0.625rem] rounded-full pointer-events-none";
27
+ export declare const tooltipStyles: string;
28
+ export declare const tooltipTitleStyles = "text-14 leading-[1.012em] text-[var(--color-white)]";
29
+ export declare const tooltipRowsStyles = "flex flex-col gap-3";
30
+ export declare const tooltipRowStyles = "flex items-center gap-3";
31
+ export declare const tooltipDotStyles = "size-[0.625rem] rounded-full shrink-0";
32
+ export declare const tooltipValueStyles = "min-w-[1.5rem] font-bold text-16 leading-[1.045em] text-[var(--color-white)] tabular-nums";
33
+ export declare const tooltipLabelStyles = "text-16 leading-[1.012em] text-[var(--color-icon-secondary)]";
34
+ export declare const mobileBodyStyles = "flex flex-col w-full gap-4";
35
+ export declare const mobilePlotRootStyles = "relative flex flex-col w-full";
36
+ export declare const panelStyles: Record<LineChartVariant, string>;
37
+ export declare const panelTitleStyles: Record<LineChartVariant, string>;
38
+ export declare const panelItemsStyles: Record<LineChartVariant, string>;
39
+ export declare const panelItemStyles: Record<LineChartVariant, string>;
40
+ export declare const panelDotStyles: Record<LineChartVariant, string>;
41
+ export declare const panelTextStyles: Record<LineChartVariant, string>;
42
+ export declare const panelValueStyles: Record<LineChartVariant, string>;
43
+ export declare const panelLabelStyles: Record<LineChartVariant, string>;
44
+ export declare const scrollerWrapperStyles = "relative w-full overflow-hidden -my-1.5 py-1.5";
45
+ export declare const scrollerStyles: string;
46
+ export declare const scrollFadeStyles: string;
47
+ export declare const stripStyles = "relative flex flex-col gap-4";
48
+ export declare const mobilePlotStyles = "relative h-[11.375rem]";
49
+ export declare const mobileSvgStyles = "absolute inset-0 block overflow-visible pointer-events-none";
50
+ export declare const spotlightStyles = "absolute top-0 h-[11.375rem] pointer-events-none transition-[left] duration-200 ease-out";
51
+ export declare const spotlightBandStyles = "absolute inset-0 rounded-8 bg-[var(--color-overlay-border-32)]";
52
+ export declare const spotlightLineStyles = "absolute top-4 bottom-4 border-s border-dashed border-[var(--color-system-text)]";
53
+ export declare const spotlightDotStyles = "absolute size-[0.625rem] rounded-full transition-[top] duration-200 ease-out";
54
+ export declare const chartHitStyles = "absolute top-0 h-[11.375rem] m-0 p-0 border-0 bg-transparent cursor-pointer";
55
+ export declare const monthsStyles = "relative h-10";
56
+ export declare const monthButtonStyles: string;
57
+ export declare const monthButtonSelectedStyles = "bg-[var(--color-border)] text-[var(--color-system-text)] scale-[1.02]";
58
+ export declare const monthButtonIdleStyles = "bg-transparent text-[var(--color-icon-secondary)] enabled:hover:text-[var(--color-system-text)]";
59
+ export declare const overlayStyles = "absolute inset-0 z-10 rounded-[inherit]";
60
+ export declare const errorOverlayStyles = "absolute inset-0 z-40 rounded-[inherit]";
61
+ //# sourceMappingURL=LineChart.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineChart.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/line-chart/LineChart.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D,eAAO,MAAM,iBAAiB,QAInB,CAAC;AAEZ,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAGjE,CAAC;AAEF,eAAO,MAAM,gBAAgB,+FACiE,CAAC;AAE/F,eAAO,MAAM,WAAW,uFAC8D,CAAC;AAEvF,eAAO,MAAM,mBAAmB,gEAAgE,CAAC;AAEjG,eAAO,MAAM,sBAAsB,gDAAgD,CAAC;AAEpF,eAAO,MAAM,yBAAyB,+EACwC,CAAC;AAE/E,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAGzD,CAAC;AAEF,eAAO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from 'react';
2
+
3
+ /**
4
+ * - `multi`: every series is drawn across every point (series can overlap in time).
5
+ * - `single`: exactly one series is active per point; the line switches series over time.
6
+ */
7
+ export type LineChartVariant = 'multi' | 'single';
8
+ /**
9
+ * - `auto`: mobile layout below the `lg` breakpoint, desktop layout from `lg` up.
10
+ * - `desktop` / `mobile`: force one layout regardless of viewport.
11
+ */
12
+ export type LineChartLayout = 'auto' | 'desktop' | 'mobile';
13
+ export interface LineChartSeries {
14
+ /** Key used to read this series' value from `LineChartPoint.values`. */
15
+ key: string;
16
+ /** Human-readable label shown in the legend, tooltip and accessible descriptions. */
17
+ label: string;
18
+ /** Line, dot and legend color. Use a design token, e.g. `var(--color-violet)`. */
19
+ color: string;
20
+ }
21
+ export interface LineChartPoint {
22
+ /** Short x-axis label, e.g. `Mar`. */
23
+ label: string;
24
+ /** Longer label for the tooltip and accessible names, e.g. `Mar 2026`. Defaults to `label`. */
25
+ tooltipLabel?: string;
26
+ /** Value per series key. Missing keys are treated as 0. */
27
+ values: Record<string, number>;
28
+ /**
29
+ * `single` variant only: the series active at this point. `null` means no series was active.
30
+ * When omitted, the series with the highest non-zero value is used, and a point with all
31
+ * zeros keeps the previous point's series.
32
+ */
33
+ activeSeries?: string | null;
34
+ }
35
+ export interface LineChartPointItem {
36
+ series: LineChartSeries;
37
+ value: number;
38
+ }
39
+ export interface LineChartProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
40
+ /** Series definitions, in display order. */
41
+ series: LineChartSeries[];
42
+ /** Data points, in x-axis order. */
43
+ points: LineChartPoint[];
44
+ /** How series relate over time. Defaults to `multi`. */
45
+ variant?: LineChartVariant;
46
+ /** Card heading. */
47
+ title: ReactNode;
48
+ /** Heading level for `title`. Defaults to `h2`. */
49
+ titleAs?: 'h2' | 'h3' | 'h4';
50
+ /** Content rendered in the header, e.g. period tabs. Full width on mobile. */
51
+ headerActions?: ReactNode;
52
+ /** Y-axis ticks, ascending and starting at 0. Derived from the data when omitted. */
53
+ yTicks?: number[];
54
+ /** Number of y-axis ticks to derive when `yTicks` is omitted. Defaults to 4. */
55
+ yTickCount?: number;
56
+ /** Which layout to render. Defaults to `auto`. */
57
+ layout?: LineChartLayout;
58
+ /** Rendered over the plot when there are no points or every value is 0. */
59
+ emptyState?: ReactNode;
60
+ /** Rendered over the whole card when provided. Takes precedence over `emptyState`. */
61
+ errorState?: ReactNode;
62
+ /** Change this (e.g. to the selected period) to replay the line grow-in animation. */
63
+ animationKey?: string | number;
64
+ /** Screen-reader summary of the chart. Defaults to per-series totals. */
65
+ ariaDescription?: string;
66
+ /** Accessible name for a point. Defaults to `"<label>. <series> <value>, …"`. */
67
+ getPointAriaLabel?: (point: LineChartPoint, items: LineChartPointItem[]) => string;
68
+ /** Accessible name of the mobile point selector. Defaults to `"Data points"`. */
69
+ pointsLabel?: string;
70
+ /** Point selected when the mobile layout first renders. Defaults to 0. */
71
+ defaultActiveIndex?: number;
72
+ 'data-cy'?: string;
73
+ 'data-testid'?: string;
74
+ }
75
+ //# sourceMappingURL=LineChart.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineChart.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/line-chart/LineChart.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,CAAC;AAElD;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE5D,MAAM,WAAW,eAAe;IAC9B,wEAAwE;IACxE,GAAG,EAAE,MAAM,CAAC;IACZ,qFAAqF;IACrF,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,+FAA+F;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rB,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,23 @@
1
+ import { LineChartPoint, LineChartPointItem, LineChartSeries, LineChartVariant } from './LineChart.types';
2
+ import { ActiveSeriesKeys } from './lineChart.utils';
3
+
4
+ export interface LineChartDesktopPlotProps {
5
+ points: LineChartPoint[];
6
+ series: LineChartSeries[];
7
+ variant: LineChartVariant;
8
+ activeKeys: ActiveSeriesKeys;
9
+ yTicks: number[];
10
+ yMax: number;
11
+ isEmpty: boolean;
12
+ animationKey?: string | number;
13
+ titleId: string;
14
+ description: string;
15
+ getPointAriaLabel: (point: LineChartPoint, items: LineChartPointItem[]) => string;
16
+ 'data-cy': string;
17
+ 'data-testid': string;
18
+ }
19
+ export declare const LineChartDesktopPlot: {
20
+ ({ points, series, variant, activeKeys, yTicks, yMax, isEmpty, animationKey, titleId, description, getPointAriaLabel, "data-cy": dataCy, "data-testid": dataTestId, }: LineChartDesktopPlotProps): import("react/jsx-runtime").JSX.Element;
21
+ displayName: string;
22
+ };
23
+ //# sourceMappingURL=LineChartDesktopPlot.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineChartDesktopPlot.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/line-chart/LineChartDesktopPlot.component.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAQL,KAAK,gBAAgB,EAEtB,MAAM,mBAAmB,CAAC;AA+C3B,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,UAAU,EAAE,gBAAgB,CAAC;IAC7B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,MAAM,CAAC;IAClF,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB;AAKD,eAAO,MAAM,oBAAoB;2KAc9B,yBAAyB;;CAsV3B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { LineChartSeries, LineChartVariant } from './LineChart.types';
2
+
3
+ export interface LineChartLegendProps {
4
+ series: LineChartSeries[];
5
+ variant: LineChartVariant;
6
+ 'data-cy': string;
7
+ 'data-testid': string;
8
+ }
9
+ export declare const LineChartLegend: {
10
+ ({ series, variant, "data-cy": dataCy, "data-testid": dataTestId, }: LineChartLegendProps): import("react/jsx-runtime").JSX.Element | null;
11
+ displayName: string;
12
+ };
13
+ //# sourceMappingURL=LineChartLegend.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineChartLegend.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/line-chart/LineChartLegend.component.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAQ3E,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,eAAe;yEAKzB,oBAAoB;;CA0BtB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { LineChartPoint, LineChartPointItem, LineChartSeries, LineChartVariant } from './LineChart.types';
2
+ import { ActiveSeriesKeys } from './lineChart.utils';
3
+
4
+ export interface LineChartMobilePlotProps {
5
+ points: LineChartPoint[];
6
+ series: LineChartSeries[];
7
+ variant: LineChartVariant;
8
+ activeKeys: ActiveSeriesKeys;
9
+ yTicks: number[];
10
+ yMax: number;
11
+ isEmpty: boolean;
12
+ animationKey?: string | number;
13
+ titleId: string;
14
+ description: string;
15
+ getPointAriaLabel: (point: LineChartPoint, items: LineChartPointItem[]) => string;
16
+ pointsLabel: string;
17
+ defaultActiveIndex: number;
18
+ 'data-cy': string;
19
+ 'data-testid': string;
20
+ }
21
+ export declare const LineChartMobilePlot: {
22
+ ({ points, series, variant, activeKeys, yTicks, yMax, isEmpty, animationKey, titleId, description, getPointAriaLabel, pointsLabel, defaultActiveIndex, "data-cy": dataCy, "data-testid": dataTestId, }: LineChartMobilePlotProps): import("react/jsx-runtime").JSX.Element;
23
+ displayName: string;
24
+ };
25
+ //# sourceMappingURL=LineChartMobilePlot.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LineChartMobilePlot.component.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/line-chart/LineChartMobilePlot.component.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAOL,KAAK,gBAAgB,EAEtB,MAAM,mBAAmB,CAAC;AAuC3B,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,cAAc,EAAE,CAAC;IACzB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,UAAU,EAAE,gBAAgB,CAAC;IAC7B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,kBAAkB,EAAE,KAAK,MAAM,CAAC;IAClF,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,mBAAmB;4MAgB7B,wBAAwB;;CA0Q1B,CAAC"}