@orion-ds/react 4.0.0 → 4.0.5

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 (425) hide show
  1. package/dist/index10.cjs +1 -1
  2. package/dist/index10.mjs +1 -1
  3. package/dist/index101.cjs +1 -1
  4. package/dist/index101.mjs +39 -13
  5. package/dist/index101.mjs.map +1 -1
  6. package/dist/index102.cjs +1 -1
  7. package/dist/index102.mjs +33 -30
  8. package/dist/index102.mjs.map +1 -1
  9. package/dist/index103.cjs +1 -1
  10. package/dist/index103.mjs +27 -30
  11. package/dist/index103.mjs.map +1 -1
  12. package/dist/index104.cjs +1 -1
  13. package/dist/index104.mjs +30 -36
  14. package/dist/index104.mjs.map +1 -1
  15. package/dist/index105.cjs +1 -1
  16. package/dist/index105.mjs +16 -30
  17. package/dist/index105.mjs.map +1 -1
  18. package/dist/index107.cjs +1 -1
  19. package/dist/index107.mjs +20 -42
  20. package/dist/index107.mjs.map +1 -1
  21. package/dist/index108.cjs +1 -1
  22. package/dist/index108.mjs +36 -32
  23. package/dist/index108.mjs.map +1 -1
  24. package/dist/index109.cjs +1 -1
  25. package/dist/index109.mjs +42 -50
  26. package/dist/index109.mjs.map +1 -1
  27. package/dist/index11.cjs +1 -1
  28. package/dist/index11.mjs +1 -1
  29. package/dist/index110.cjs +1 -1
  30. package/dist/index110.mjs +18 -12
  31. package/dist/index110.mjs.map +1 -1
  32. package/dist/index111.cjs +1 -1
  33. package/dist/index111.mjs +28 -33
  34. package/dist/index111.mjs.map +1 -1
  35. package/dist/index112.cjs +1 -1
  36. package/dist/index112.mjs +12 -28
  37. package/dist/index112.mjs.map +1 -1
  38. package/dist/index113.cjs +1 -1
  39. package/dist/index113.mjs +36 -20
  40. package/dist/index113.mjs.map +1 -1
  41. package/dist/index114.cjs +1 -1
  42. package/dist/index114.mjs +28 -24
  43. package/dist/index114.mjs.map +1 -1
  44. package/dist/index115.cjs +1 -1
  45. package/dist/index115.mjs +45 -33
  46. package/dist/index115.mjs.map +1 -1
  47. package/dist/index116.cjs +1 -1
  48. package/dist/index116.mjs +18 -18
  49. package/dist/index116.mjs.map +1 -1
  50. package/dist/index117.cjs +1 -1
  51. package/dist/index117.mjs +28 -30
  52. package/dist/index117.mjs.map +1 -1
  53. package/dist/index118.cjs +1 -1
  54. package/dist/index118.mjs +28 -26
  55. package/dist/index118.mjs.map +1 -1
  56. package/dist/index119.cjs +1 -1
  57. package/dist/index119.mjs +22 -234
  58. package/dist/index119.mjs.map +1 -1
  59. package/dist/index12.cjs +1 -1
  60. package/dist/index12.mjs +1 -1
  61. package/dist/index120.cjs +1 -1
  62. package/dist/index120.cjs.map +1 -1
  63. package/dist/index120.mjs +39 -34
  64. package/dist/index120.mjs.map +1 -1
  65. package/dist/index121.cjs +1 -1
  66. package/dist/index121.cjs.map +1 -1
  67. package/dist/index121.mjs +66 -44
  68. package/dist/index121.mjs.map +1 -1
  69. package/dist/index122.cjs +1 -1
  70. package/dist/index122.cjs.map +1 -1
  71. package/dist/index122.mjs +18 -170
  72. package/dist/index122.mjs.map +1 -1
  73. package/dist/index123.cjs +1 -1
  74. package/dist/index123.cjs.map +1 -1
  75. package/dist/index123.mjs +54 -186
  76. package/dist/index123.mjs.map +1 -1
  77. package/dist/index124.cjs +1 -1
  78. package/dist/index124.cjs.map +1 -1
  79. package/dist/index124.mjs +31 -29
  80. package/dist/index124.mjs.map +1 -1
  81. package/dist/index125.cjs +1 -1
  82. package/dist/index125.cjs.map +1 -1
  83. package/dist/index125.mjs +62 -90
  84. package/dist/index125.mjs.map +1 -1
  85. package/dist/index126.cjs +1 -1
  86. package/dist/index126.cjs.map +1 -1
  87. package/dist/index126.mjs +56 -53
  88. package/dist/index126.mjs.map +1 -1
  89. package/dist/index127.cjs +1 -1
  90. package/dist/index127.cjs.map +1 -1
  91. package/dist/index127.mjs +44 -66
  92. package/dist/index127.mjs.map +1 -1
  93. package/dist/index128.cjs +1 -1
  94. package/dist/index128.cjs.map +1 -1
  95. package/dist/index128.mjs +14 -124
  96. package/dist/index128.mjs.map +1 -1
  97. package/dist/index129.cjs +1 -1
  98. package/dist/index129.cjs.map +1 -1
  99. package/dist/index129.mjs +33 -108
  100. package/dist/index129.mjs.map +1 -1
  101. package/dist/index13.cjs +1 -1
  102. package/dist/index13.mjs +1 -1
  103. package/dist/index130.cjs +1 -1
  104. package/dist/index130.cjs.map +1 -1
  105. package/dist/index130.mjs +30 -111
  106. package/dist/index130.mjs.map +1 -1
  107. package/dist/index131.cjs +1 -1
  108. package/dist/index131.cjs.map +1 -1
  109. package/dist/index131.mjs +22 -122
  110. package/dist/index131.mjs.map +1 -1
  111. package/dist/index132.cjs +1 -1
  112. package/dist/index132.cjs.map +1 -1
  113. package/dist/index132.mjs +64 -214
  114. package/dist/index132.mjs.map +1 -1
  115. package/dist/index133.cjs +1 -1
  116. package/dist/index133.mjs +46 -42
  117. package/dist/index133.mjs.map +1 -1
  118. package/dist/index134.cjs +1 -1
  119. package/dist/index134.mjs +57 -44
  120. package/dist/index134.mjs.map +1 -1
  121. package/dist/index135.cjs +1 -1
  122. package/dist/index135.mjs +44 -28
  123. package/dist/index135.mjs.map +1 -1
  124. package/dist/index136.cjs +1 -1
  125. package/dist/index136.mjs +38 -76
  126. package/dist/index136.mjs.map +1 -1
  127. package/dist/index137.cjs +1 -1
  128. package/dist/index137.mjs +28 -38
  129. package/dist/index137.mjs.map +1 -1
  130. package/dist/index138.cjs +1 -1
  131. package/dist/index138.mjs +24 -38
  132. package/dist/index138.mjs.map +1 -1
  133. package/dist/index139.cjs +1 -1
  134. package/dist/index139.mjs +67 -65
  135. package/dist/index139.mjs.map +1 -1
  136. package/dist/index140.cjs +1 -1
  137. package/dist/index140.mjs +76 -28
  138. package/dist/index140.mjs.map +1 -1
  139. package/dist/index141.cjs +1 -1
  140. package/dist/index141.mjs +46 -16
  141. package/dist/index141.mjs.map +1 -1
  142. package/dist/index142.cjs +1 -1
  143. package/dist/index142.mjs +234 -22
  144. package/dist/index142.mjs.map +1 -1
  145. package/dist/index143.cjs +1 -1
  146. package/dist/index143.cjs.map +1 -1
  147. package/dist/index143.mjs +34 -63
  148. package/dist/index143.mjs.map +1 -1
  149. package/dist/index144.cjs +1 -1
  150. package/dist/index144.cjs.map +1 -1
  151. package/dist/index144.mjs +44 -21
  152. package/dist/index144.mjs.map +1 -1
  153. package/dist/index145.cjs +1 -1
  154. package/dist/index145.cjs.map +1 -1
  155. package/dist/index145.mjs +170 -20
  156. package/dist/index145.mjs.map +1 -1
  157. package/dist/index146.cjs +1 -1
  158. package/dist/index146.cjs.map +1 -1
  159. package/dist/index146.mjs +186 -27
  160. package/dist/index146.mjs.map +1 -1
  161. package/dist/index147.cjs +1 -1
  162. package/dist/index147.cjs.map +1 -1
  163. package/dist/index147.mjs +29 -43
  164. package/dist/index147.mjs.map +1 -1
  165. package/dist/index148.cjs +1 -1
  166. package/dist/index148.cjs.map +1 -1
  167. package/dist/index148.mjs +90 -45
  168. package/dist/index148.mjs.map +1 -1
  169. package/dist/index149.cjs +1 -1
  170. package/dist/index149.cjs.map +1 -1
  171. package/dist/index149.mjs +53 -28
  172. package/dist/index149.mjs.map +1 -1
  173. package/dist/index15.cjs +1 -1
  174. package/dist/index15.mjs +1 -1
  175. package/dist/index150.cjs +1 -1
  176. package/dist/index150.cjs.map +1 -1
  177. package/dist/index150.mjs +66 -28
  178. package/dist/index150.mjs.map +1 -1
  179. package/dist/index151.cjs +1 -1
  180. package/dist/index151.cjs.map +1 -1
  181. package/dist/index151.mjs +124 -32
  182. package/dist/index151.mjs.map +1 -1
  183. package/dist/index152.cjs +1 -1
  184. package/dist/index152.cjs.map +1 -1
  185. package/dist/index152.mjs +108 -30
  186. package/dist/index152.mjs.map +1 -1
  187. package/dist/index153.cjs +1 -1
  188. package/dist/index153.cjs.map +1 -1
  189. package/dist/index153.mjs +111 -24
  190. package/dist/index153.mjs.map +1 -1
  191. package/dist/index154.cjs +1 -1
  192. package/dist/index154.cjs.map +1 -1
  193. package/dist/index154.mjs +122 -28
  194. package/dist/index154.mjs.map +1 -1
  195. package/dist/index155.cjs +1 -1
  196. package/dist/index155.cjs.map +1 -1
  197. package/dist/index155.mjs +214 -30
  198. package/dist/index155.mjs.map +1 -1
  199. package/dist/index156.cjs +1 -1
  200. package/dist/index156.mjs +50 -33
  201. package/dist/index156.mjs.map +1 -1
  202. package/dist/index157.cjs +1 -1
  203. package/dist/index157.mjs +24 -46
  204. package/dist/index157.mjs.map +1 -1
  205. package/dist/index158.cjs +1 -1
  206. package/dist/index158.mjs +32 -46
  207. package/dist/index158.mjs.map +1 -1
  208. package/dist/index159.cjs +1 -1
  209. package/dist/index159.mjs +18 -46
  210. package/dist/index159.mjs.map +1 -1
  211. package/dist/index16.cjs +1 -1
  212. package/dist/index16.mjs +1 -1
  213. package/dist/index160.cjs +1 -1
  214. package/dist/index160.mjs +26 -40
  215. package/dist/index160.mjs.map +1 -1
  216. package/dist/index161.cjs +1 -1
  217. package/dist/index161.mjs +46 -22
  218. package/dist/index161.mjs.map +1 -1
  219. package/dist/index162.cjs +1 -1
  220. package/dist/index162.mjs +24 -18
  221. package/dist/index162.mjs.map +1 -1
  222. package/dist/index163.cjs +1 -1
  223. package/dist/index163.mjs +56 -40
  224. package/dist/index163.mjs.map +1 -1
  225. package/dist/index164.cjs +1 -1
  226. package/dist/index164.mjs +42 -18
  227. package/dist/index164.mjs.map +1 -1
  228. package/dist/index165.cjs +1 -1
  229. package/dist/index165.mjs +62 -24
  230. package/dist/index165.mjs.map +1 -1
  231. package/dist/index166.cjs +1 -1
  232. package/dist/index166.mjs +20 -64
  233. package/dist/index166.mjs.map +1 -1
  234. package/dist/index167.cjs +1 -1
  235. package/dist/index167.mjs +106 -53
  236. package/dist/index167.mjs.map +1 -1
  237. package/dist/index168.cjs +1 -1
  238. package/dist/index168.mjs +20 -12
  239. package/dist/index168.mjs.map +1 -1
  240. package/dist/index169.cjs +1 -1
  241. package/dist/index169.mjs +30 -56
  242. package/dist/index169.mjs.map +1 -1
  243. package/dist/index17.cjs +1 -1
  244. package/dist/index17.mjs +1 -1
  245. package/dist/index170.cjs +1 -1
  246. package/dist/index170.mjs +12 -106
  247. package/dist/index170.mjs.map +1 -1
  248. package/dist/index171.cjs +1 -1
  249. package/dist/index171.mjs +32 -18
  250. package/dist/index171.mjs.map +1 -1
  251. package/dist/index172.cjs +1 -1
  252. package/dist/index172.mjs +38 -60
  253. package/dist/index172.mjs.map +1 -1
  254. package/dist/index173.cjs +1 -1
  255. package/dist/index173.cjs.map +1 -1
  256. package/dist/index173.mjs +37 -56
  257. package/dist/index173.mjs.map +1 -1
  258. package/dist/index174.cjs +1 -1
  259. package/dist/index174.mjs +28 -18
  260. package/dist/index174.mjs.map +1 -1
  261. package/dist/index175.cjs +1 -1
  262. package/dist/index175.mjs +33 -52
  263. package/dist/index175.mjs.map +1 -1
  264. package/dist/index176.cjs +1 -1
  265. package/dist/index176.mjs +52 -64
  266. package/dist/index176.mjs.map +1 -1
  267. package/dist/index177.cjs +1 -1
  268. package/dist/index177.cjs.map +1 -1
  269. package/dist/index177.mjs +19 -37
  270. package/dist/index177.mjs.map +1 -1
  271. package/dist/index178.cjs +1 -1
  272. package/dist/index178.mjs +42 -28
  273. package/dist/index178.mjs.map +1 -1
  274. package/dist/index179.cjs +1 -1
  275. package/dist/index179.mjs +28 -67
  276. package/dist/index179.mjs.map +1 -1
  277. package/dist/index18.cjs +1 -1
  278. package/dist/index18.mjs +1 -1
  279. package/dist/index180.cjs +1 -1
  280. package/dist/index180.mjs +28 -57
  281. package/dist/index180.mjs.map +1 -1
  282. package/dist/index181.cjs +1 -1
  283. package/dist/index181.mjs +64 -44
  284. package/dist/index181.mjs.map +1 -1
  285. package/dist/index182.cjs +1 -1
  286. package/dist/index182.mjs +17 -17
  287. package/dist/index182.mjs.map +1 -1
  288. package/dist/index183.cjs +1 -1
  289. package/dist/index183.mjs +17 -17
  290. package/dist/index183.mjs.map +1 -1
  291. package/dist/index185.cjs +1 -1
  292. package/dist/index185.mjs +1 -1
  293. package/dist/index19.cjs +1 -1
  294. package/dist/index19.mjs +2 -2
  295. package/dist/index20.cjs +1 -1
  296. package/dist/index20.mjs +14 -14
  297. package/dist/index21.cjs +1 -1
  298. package/dist/index21.cjs.map +1 -1
  299. package/dist/index21.mjs +1 -1
  300. package/dist/index22.cjs +1 -1
  301. package/dist/index22.mjs +1 -1
  302. package/dist/index23.cjs +1 -1
  303. package/dist/index23.mjs +1 -1
  304. package/dist/index24.cjs +1 -1
  305. package/dist/index24.mjs +1 -1
  306. package/dist/index25.cjs +1 -1
  307. package/dist/index25.mjs +1 -1
  308. package/dist/index26.cjs +1 -1
  309. package/dist/index26.mjs +1 -1
  310. package/dist/index27.cjs +1 -1
  311. package/dist/index27.mjs +1 -1
  312. package/dist/index28.cjs +1 -1
  313. package/dist/index28.mjs +1 -1
  314. package/dist/index29.cjs +1 -1
  315. package/dist/index29.mjs +1 -1
  316. package/dist/index30.cjs +1 -1
  317. package/dist/index30.mjs +1 -1
  318. package/dist/index31.cjs +1 -1
  319. package/dist/index31.mjs +1 -1
  320. package/dist/index32.cjs +1 -1
  321. package/dist/index32.mjs +1 -1
  322. package/dist/index33.cjs +1 -1
  323. package/dist/index33.mjs +1 -1
  324. package/dist/index34.cjs +1 -1
  325. package/dist/index34.mjs +1 -1
  326. package/dist/index35.cjs +1 -1
  327. package/dist/index35.mjs +1 -1
  328. package/dist/index36.cjs +1 -1
  329. package/dist/index36.mjs +1 -1
  330. package/dist/index37.cjs +1 -1
  331. package/dist/index37.mjs +1 -1
  332. package/dist/index38.cjs +1 -1
  333. package/dist/index38.mjs +1 -1
  334. package/dist/index39.cjs +1 -1
  335. package/dist/index39.mjs +1 -1
  336. package/dist/index40.cjs +1 -1
  337. package/dist/index40.mjs +1 -1
  338. package/dist/index42.cjs +1 -1
  339. package/dist/index42.mjs +1 -1
  340. package/dist/index43.cjs +1 -1
  341. package/dist/index43.cjs.map +1 -1
  342. package/dist/index43.mjs +1 -1
  343. package/dist/index44.cjs +1 -1
  344. package/dist/index44.mjs +1 -1
  345. package/dist/index46.cjs +1 -1
  346. package/dist/index46.mjs +1 -1
  347. package/dist/index47.cjs +1 -1
  348. package/dist/index47.mjs +1 -1
  349. package/dist/index49.cjs +1 -1
  350. package/dist/index49.mjs +1 -1
  351. package/dist/index5.cjs +1 -1
  352. package/dist/index5.mjs +1 -1
  353. package/dist/index50.cjs +1 -1
  354. package/dist/index50.mjs +1 -1
  355. package/dist/index51.cjs +1 -1
  356. package/dist/index51.mjs +1 -1
  357. package/dist/index52.cjs +1 -1
  358. package/dist/index52.mjs +1 -1
  359. package/dist/index53.cjs +1 -1
  360. package/dist/index53.mjs +1 -1
  361. package/dist/index54.cjs +1 -1
  362. package/dist/index54.mjs +1 -1
  363. package/dist/index55.cjs +1 -1
  364. package/dist/index55.mjs +1 -1
  365. package/dist/index56.cjs +1 -1
  366. package/dist/index56.mjs +1 -1
  367. package/dist/index57.cjs +1 -1
  368. package/dist/index57.mjs +1 -1
  369. package/dist/index58.cjs +1 -1
  370. package/dist/index58.mjs +1 -1
  371. package/dist/index59.cjs +1 -1
  372. package/dist/index59.mjs +1 -1
  373. package/dist/index6.cjs +1 -1
  374. package/dist/index6.mjs +1 -1
  375. package/dist/index60.cjs +1 -1
  376. package/dist/index60.mjs +1 -1
  377. package/dist/index61.cjs +1 -1
  378. package/dist/index61.mjs +1 -1
  379. package/dist/index62.cjs +1 -1
  380. package/dist/index62.mjs +1 -1
  381. package/dist/index63.cjs +1 -1
  382. package/dist/index63.mjs +1 -1
  383. package/dist/index64.cjs +1 -1
  384. package/dist/index64.mjs +1 -1
  385. package/dist/index65.cjs +1 -1
  386. package/dist/index65.mjs +1 -1
  387. package/dist/index66.cjs +1 -1
  388. package/dist/index66.mjs +1 -1
  389. package/dist/index67.cjs +1 -1
  390. package/dist/index67.mjs +1 -1
  391. package/dist/index68.cjs +1 -1
  392. package/dist/index68.mjs +1 -1
  393. package/dist/index7.cjs +1 -1
  394. package/dist/index7.mjs +1 -1
  395. package/dist/index70.cjs +1 -1
  396. package/dist/index70.mjs +1 -1
  397. package/dist/index71.cjs +1 -1
  398. package/dist/index71.mjs +1 -1
  399. package/dist/index72.cjs +1 -1
  400. package/dist/index72.mjs +1 -1
  401. package/dist/index73.cjs +1 -1
  402. package/dist/index73.mjs +1 -1
  403. package/dist/index76.cjs +1 -1
  404. package/dist/index76.mjs +1 -1
  405. package/dist/index77.cjs +1 -1
  406. package/dist/index77.mjs +1 -1
  407. package/dist/index78.cjs +1 -1
  408. package/dist/index78.mjs +1 -1
  409. package/dist/index79.cjs +1 -1
  410. package/dist/index79.mjs +1 -1
  411. package/dist/index8.cjs +1 -1
  412. package/dist/index8.mjs +1 -1
  413. package/dist/index80.cjs +1 -1
  414. package/dist/index80.mjs +1 -1
  415. package/dist/index81.cjs +1 -1
  416. package/dist/index81.mjs +1 -1
  417. package/dist/index9.cjs +1 -1
  418. package/dist/index9.mjs +1 -1
  419. package/dist/index99.cjs +1 -1
  420. package/dist/index99.mjs +28 -34
  421. package/dist/index99.mjs.map +1 -1
  422. package/dist/react.css +1 -1
  423. package/dist/styles.css +8 -1
  424. package/dist/theme.css +7 -0
  425. package/package.json +5 -4
package/dist/index172.mjs CHANGED
@@ -1,66 +1,44 @@
1
- const o = "_container_1v6vo_9", n = "_fullWidth_1v6vo_15", t = "_label_1v6vo_20", _ = "_inputWrapper_1v6vo_27", e = "_disabled_1v6vo_39", v = "_input_1v6vo_27", c = "_sm_1v6vo_58", i = "_md_1v6vo_67", s = "_lg_1v6vo_76", p = "_actions_1v6vo_103", r = "_clearButton_1v6vo_111", l = "_chevron_1v6vo_131", d = "_open_1v6vo_139", a = "_error_1v6vo_144", h = "_errorText_1v6vo_160", u = "_helperText_1v6vo_166", b = "_dropdown_1v6vo_183", g = "_visible_1v6vo_200", m = "_option_1v6vo_207", x = "_highlighted_1v6vo_226", I = "_selected_1v6vo_230", T = "_optionIcon_1v6vo_240", W = "_optionContent_1v6vo_248", f = "_optionLabel_1v6vo_256", y = "_optionDescription_1v6vo_264", k = "_checkIcon_1v6vo_272", w = "_loading_1v6vo_278", B = "_spinner_1v6vo_287", C = "_spin_1v6vo_287", D = "_empty_1v6vo_301", L = {
2
- container: o,
3
- fullWidth: n,
4
- label: t,
5
- inputWrapper: _,
6
- disabled: e,
7
- input: v,
1
+ const t = "_list_7tqqq_5", e = "_bordered_7tqqq_12", q = "_divided_7tqqq_18", _ = "_item_7tqqq_18", c = "_sm_7tqqq_37", s = "_md_7tqqq_43", n = "_lg_7tqqq_47", d = "_interactive_7tqqq_54", i = "_disabled_7tqqq_58", o = "_selectable_7tqqq_72", a = "_selected_7tqqq_81", l = "_leading_7tqqq_96", r = "_content_7tqqq_120", m = "_primary_7tqqq_128", y = "_secondary_7tqqq_136", b = "_trailing_7tqqq_153", g = "_checkmark_7tqqq_161", p = "_customItem_7tqqq_174", k = "_empty_7tqqq_179", v = {
2
+ list: t,
3
+ bordered: e,
4
+ divided: q,
5
+ item: _,
8
6
  sm: c,
9
- md: i,
10
- lg: s,
11
- actions: p,
12
- clearButton: r,
13
- chevron: l,
14
- open: d,
15
- error: a,
16
- errorText: h,
17
- helperText: u,
18
- dropdown: b,
19
- visible: g,
20
- option: m,
21
- highlighted: x,
22
- selected: I,
23
- optionIcon: T,
24
- optionContent: W,
25
- optionLabel: f,
26
- optionDescription: y,
27
- checkIcon: k,
28
- loading: w,
29
- spinner: B,
30
- spin: C,
31
- empty: D
7
+ md: s,
8
+ lg: n,
9
+ interactive: d,
10
+ disabled: i,
11
+ selectable: o,
12
+ selected: a,
13
+ leading: l,
14
+ content: r,
15
+ primary: m,
16
+ secondary: y,
17
+ trailing: b,
18
+ checkmark: g,
19
+ customItem: p,
20
+ empty: k
32
21
  };
33
22
  export {
34
- p as actions,
35
- k as checkIcon,
36
- l as chevron,
37
- r as clearButton,
38
- o as container,
39
- L as default,
40
- e as disabled,
41
- b as dropdown,
42
- D as empty,
43
- a as error,
44
- h as errorText,
45
- n as fullWidth,
46
- u as helperText,
47
- x as highlighted,
48
- v as input,
49
- _ as inputWrapper,
50
- t as label,
51
- s as lg,
52
- w as loading,
53
- i as md,
54
- d as open,
55
- m as option,
56
- W as optionContent,
57
- y as optionDescription,
58
- T as optionIcon,
59
- f as optionLabel,
60
- I as selected,
23
+ e as bordered,
24
+ g as checkmark,
25
+ r as content,
26
+ p as customItem,
27
+ v as default,
28
+ i as disabled,
29
+ q as divided,
30
+ k as empty,
31
+ d as interactive,
32
+ _ as item,
33
+ l as leading,
34
+ n as lg,
35
+ t as list,
36
+ s as md,
37
+ m as primary,
38
+ y as secondary,
39
+ o as selectable,
40
+ a as selected,
61
41
  c as sm,
62
- C as spin,
63
- B as spinner,
64
- g as visible
42
+ b as trailing
65
43
  };
66
44
  //# sourceMappingURL=index172.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index172.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index172.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
package/dist/index173.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_pageHeader_1wcp9_8",c="_bordered_1wcp9_15",a="_sticky_1wcp9_19",e="_backLink_1wcp9_29",r="_backLinkAnchor_1wcp9_33",b="_backLinkButton_1wcp9_34",_="_breadcrumbs_1wcp9_59",n="_breadcrumbList_1wcp9_63",i="_breadcrumbItem_1wcp9_72",o="_breadcrumbSeparator_1wcp9_78",s="_breadcrumbLink_1wcp9_83",d="_breadcrumbButton_1wcp9_84",u="_breadcrumbCurrent_1wcp9_101",p="_main_1wcp9_111",m="_titleSection_1wcp9_119",w="_titleRow_1wcp9_124",k="_title_1wcp9_119",l="_badge_1wcp9_141",L="_description_1wcp9_145",g="_actions_1wcp9_158",v="_tabs_1wcp9_170",B="_tab_1wcp9_170",S="_tabActive_1wcp9_205",A="_tabBadge_1wcp9_210",h={pageHeader:t,bordered:c,sticky:a,backLink:e,backLinkAnchor:r,backLinkButton:b,breadcrumbs:_,breadcrumbList:n,breadcrumbItem:i,breadcrumbSeparator:o,breadcrumbLink:s,breadcrumbButton:d,breadcrumbCurrent:u,main:p,titleSection:m,titleRow:w,title:k,badge:l,description:L,actions:g,tabs:v,tab:B,tabActive:S,tabBadge:A,"size-sm":"_size-sm_1wcp9_228","size-lg":"_size-lg_1wcp9_240","variant-compact":"_variant-compact_1wcp9_252","variant-with-tabs":"_variant-with-tabs_1wcp9_277","variant-transparent":"_variant-transparent_1wcp9_285"};exports.actions=g;exports.backLink=e;exports.backLinkAnchor=r;exports.backLinkButton=b;exports.badge=l;exports.bordered=c;exports.breadcrumbButton=d;exports.breadcrumbCurrent=u;exports.breadcrumbItem=i;exports.breadcrumbLink=s;exports.breadcrumbList=n;exports.breadcrumbSeparator=o;exports.breadcrumbs=_;exports.default=h;exports.description=L;exports.main=p;exports.pageHeader=t;exports.sticky=a;exports.tab=B;exports.tabActive=S;exports.tabBadge=A;exports.tabs=v;exports.title=k;exports.titleRow=w;exports.titleSection=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function d(e){return e.match(/^var\(\s*(--[^),]+)\s*(?:,\s*.*)?\)$/)?.[1]??null}function i(e){if(typeof window>"u")return e;const t=d(e);return t&&getComputedStyle(document.documentElement).getPropertyValue(t).trim()||e}function c(e){const t={},r={};for(const[n,o]of Object.entries(e)){const s=i(o.color);t[n]={...o,color:s},r[`--color-${n}`]=s}return{resolvedConfig:t,resolvedColorVars:r}}function l(e){const[t,r]=u.useState(()=>c(e));return u.useEffect(()=>{r(c(e))},[e]),u.useEffect(()=>{if(typeof window>"u")return;const n=document.documentElement,o=new MutationObserver(s=>{for(const a of s)if(a.type==="attributes"&&(a.attributeName==="data-theme"||a.attributeName==="data-brand")){r(c(e));break}});return o.observe(n,{attributes:!0,attributeFilter:["data-theme","data-brand"]}),()=>o.disconnect()},[e]),t}exports.useResolvedChartColors=l;
2
2
  //# sourceMappingURL=index173.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index173.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index173.cjs","sources":["../src/components/Chart/useResolvedChartColors.ts"],"sourcesContent":["/**\n * useResolvedChartColors\n *\n * Resolves CSS variable chains in ChartConfig to concrete color values\n * (hex/rgb) via getComputedStyle. This is necessary because SVG presentation\n * attributes (fill, stroke, stopColor) don't reliably resolve multi-level\n * CSS custom property chains like:\n * var(--chart-1) → var(--color-brand-500) → #1B5BFF\n *\n * The hook also observes `data-theme` and `data-brand` attribute changes\n * on <html> to re-resolve colors when the user switches theme or brand.\n */\n\nimport { useState, useEffect } from \"react\";\nimport type { ChartConfig } from \"./Chart.types\";\n\n/** Strip `var(...)` wrapper and return the custom property name, or null */\nfunction extractCSSVarName(value: string): string | null {\n const match = value.match(/^var\\(\\s*(--[^),]+)\\s*(?:,\\s*.*)?\\)$/);\n return match?.[1] ?? null;\n}\n\n/** Resolve a single color string — if it's a CSS variable, compute it */\nfunction resolveColor(value: string): string {\n if (typeof window === \"undefined\") return value;\n\n const varName = extractCSSVarName(value);\n if (!varName) return value; // already a literal color\n\n const resolved = getComputedStyle(document.documentElement)\n .getPropertyValue(varName)\n .trim();\n\n return resolved || value; // fallback to original if empty\n}\n\n/** Build resolved config + CSS variable map from a ChartConfig */\nfunction resolveConfig(config: ChartConfig) {\n const resolvedConfig: ChartConfig = {};\n const resolvedColorVars: Record<string, string> = {};\n\n for (const [key, item] of Object.entries(config)) {\n const resolved = resolveColor(item.color);\n resolvedConfig[key] = { ...item, color: resolved };\n resolvedColorVars[`--color-${key}`] = resolved;\n }\n\n return { resolvedConfig, resolvedColorVars };\n}\n\nexport function useResolvedChartColors(config: ChartConfig) {\n // Synchronous initial resolution (no flash on first paint)\n const [state, setState] = useState(() => resolveConfig(config));\n\n // Re-resolve when config changes\n useEffect(() => {\n setState(resolveConfig(config));\n }, [config]);\n\n // Re-resolve when theme or brand changes on <html>\n useEffect(() => {\n if (typeof window === \"undefined\") return;\n\n const htmlEl = document.documentElement;\n\n const observer = new MutationObserver((mutations) => {\n for (const mutation of mutations) {\n if (\n mutation.type === \"attributes\" &&\n (mutation.attributeName === \"data-theme\" ||\n mutation.attributeName === \"data-brand\")\n ) {\n setState(resolveConfig(config));\n break;\n }\n }\n });\n\n observer.observe(htmlEl, {\n attributes: true,\n attributeFilter: [\"data-theme\", \"data-brand\"],\n });\n\n return () => observer.disconnect();\n }, [config]);\n\n return state;\n}\n"],"names":["extractCSSVarName","value","resolveColor","varName","resolveConfig","config","resolvedConfig","resolvedColorVars","key","item","resolved","useResolvedChartColors","state","setState","useState","useEffect","htmlEl","observer","mutations","mutation"],"mappings":"yGAiBA,SAASA,EAAkBC,EAA8B,CAEvD,OADcA,EAAM,MAAM,sCAAsC,IACjD,CAAC,GAAK,IACvB,CAGA,SAASC,EAAaD,EAAuB,CAC3C,GAAI,OAAO,OAAW,IAAa,OAAOA,EAE1C,MAAME,EAAUH,EAAkBC,CAAK,EACvC,OAAKE,GAEY,iBAAiB,SAAS,eAAe,EACvD,iBAAiBA,CAAO,EACxB,KAAA,GAEgBF,CACrB,CAGA,SAASG,EAAcC,EAAqB,CAC1C,MAAMC,EAA8B,CAAA,EAC9BC,EAA4C,CAAA,EAElD,SAAW,CAACC,EAAKC,CAAI,IAAK,OAAO,QAAQJ,CAAM,EAAG,CAChD,MAAMK,EAAWR,EAAaO,EAAK,KAAK,EACxCH,EAAeE,CAAG,EAAI,CAAE,GAAGC,EAAM,MAAOC,CAAA,EACxCH,EAAkB,WAAWC,CAAG,EAAE,EAAIE,CACxC,CAEA,MAAO,CAAE,eAAAJ,EAAgB,kBAAAC,CAAA,CAC3B,CAEO,SAASI,EAAuBN,EAAqB,CAE1D,KAAM,CAACO,EAAOC,CAAQ,EAAIC,EAAAA,SAAS,IAAMV,EAAcC,CAAM,CAAC,EAG9DU,OAAAA,EAAAA,UAAU,IAAM,CACdF,EAAST,EAAcC,CAAM,CAAC,CAChC,EAAG,CAACA,CAAM,CAAC,EAGXU,EAAAA,UAAU,IAAM,CACd,GAAI,OAAO,OAAW,IAAa,OAEnC,MAAMC,EAAS,SAAS,gBAElBC,EAAW,IAAI,iBAAkBC,GAAc,CACnD,UAAWC,KAAYD,EACrB,GACEC,EAAS,OAAS,eACjBA,EAAS,gBAAkB,cAC1BA,EAAS,gBAAkB,cAC7B,CACAN,EAAST,EAAcC,CAAM,CAAC,EAC9B,KACF,CAEJ,CAAC,EAED,OAAAY,EAAS,QAAQD,EAAQ,CACvB,WAAY,GACZ,gBAAiB,CAAC,aAAc,YAAY,CAAA,CAC7C,EAEM,IAAMC,EAAS,WAAA,CACxB,EAAG,CAACZ,CAAM,CAAC,EAEJO,CACT"}
package/dist/index173.mjs CHANGED
@@ -1,59 +1,40 @@
1
- const t = "_pageHeader_1wcp9_8", c = "_bordered_1wcp9_15", a = "_sticky_1wcp9_19", _ = "_backLink_1wcp9_29", r = "_backLinkAnchor_1wcp9_33", e = "_backLinkButton_1wcp9_34", b = "_breadcrumbs_1wcp9_59", n = "_breadcrumbList_1wcp9_63", i = "_breadcrumbItem_1wcp9_72", s = "_breadcrumbSeparator_1wcp9_78", o = "_breadcrumbLink_1wcp9_83", p = "_breadcrumbButton_1wcp9_84", d = "_breadcrumbCurrent_1wcp9_101", w = "_main_1wcp9_111", m = "_titleSection_1wcp9_119", u = "_titleRow_1wcp9_124", k = "_title_1wcp9_119", L = "_badge_1wcp9_141", l = "_description_1wcp9_145", g = "_actions_1wcp9_158", v = "_tabs_1wcp9_170", B = "_tab_1wcp9_170", A = "_tabActive_1wcp9_205", S = "_tabBadge_1wcp9_210", h = {
2
- pageHeader: t,
3
- bordered: c,
4
- sticky: a,
5
- backLink: _,
6
- backLinkAnchor: r,
7
- backLinkButton: e,
8
- breadcrumbs: b,
9
- breadcrumbList: n,
10
- breadcrumbItem: i,
11
- breadcrumbSeparator: s,
12
- breadcrumbLink: o,
13
- breadcrumbButton: p,
14
- breadcrumbCurrent: d,
15
- main: w,
16
- titleSection: m,
17
- titleRow: u,
18
- title: k,
19
- badge: L,
20
- description: l,
21
- actions: g,
22
- tabs: v,
23
- tab: B,
24
- tabActive: A,
25
- tabBadge: S,
26
- "size-sm": "_size-sm_1wcp9_228",
27
- "size-lg": "_size-lg_1wcp9_240",
28
- "variant-compact": "_variant-compact_1wcp9_252",
29
- "variant-with-tabs": "_variant-with-tabs_1wcp9_277",
30
- "variant-transparent": "_variant-transparent_1wcp9_285"
31
- };
1
+ import { useState as d, useEffect as c } from "react";
2
+ function i(t) {
3
+ return t.match(/^var\(\s*(--[^),]+)\s*(?:,\s*.*)?\)$/)?.[1] ?? null;
4
+ }
5
+ function m(t) {
6
+ if (typeof window > "u") return t;
7
+ const e = i(t);
8
+ return e && getComputedStyle(document.documentElement).getPropertyValue(e).trim() || t;
9
+ }
10
+ function u(t) {
11
+ const e = {}, r = {};
12
+ for (const [n, o] of Object.entries(t)) {
13
+ const s = m(o.color);
14
+ e[n] = { ...o, color: s }, r[`--color-${n}`] = s;
15
+ }
16
+ return { resolvedConfig: e, resolvedColorVars: r };
17
+ }
18
+ function f(t) {
19
+ const [e, r] = d(() => u(t));
20
+ return c(() => {
21
+ r(u(t));
22
+ }, [t]), c(() => {
23
+ if (typeof window > "u") return;
24
+ const n = document.documentElement, o = new MutationObserver((s) => {
25
+ for (const a of s)
26
+ if (a.type === "attributes" && (a.attributeName === "data-theme" || a.attributeName === "data-brand")) {
27
+ r(u(t));
28
+ break;
29
+ }
30
+ });
31
+ return o.observe(n, {
32
+ attributes: !0,
33
+ attributeFilter: ["data-theme", "data-brand"]
34
+ }), () => o.disconnect();
35
+ }, [t]), e;
36
+ }
32
37
  export {
33
- g as actions,
34
- _ as backLink,
35
- r as backLinkAnchor,
36
- e as backLinkButton,
37
- L as badge,
38
- c as bordered,
39
- p as breadcrumbButton,
40
- d as breadcrumbCurrent,
41
- i as breadcrumbItem,
42
- o as breadcrumbLink,
43
- n as breadcrumbList,
44
- s as breadcrumbSeparator,
45
- b as breadcrumbs,
46
- h as default,
47
- l as description,
48
- w as main,
49
- t as pageHeader,
50
- a as sticky,
51
- B as tab,
52
- A as tabActive,
53
- S as tabBadge,
54
- v as tabs,
55
- k as title,
56
- u as titleRow,
57
- m as titleSection
38
+ f as useResolvedChartColors
58
39
  };
59
40
  //# sourceMappingURL=index173.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index173.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index173.mjs","sources":["../src/components/Chart/useResolvedChartColors.ts"],"sourcesContent":["/**\n * useResolvedChartColors\n *\n * Resolves CSS variable chains in ChartConfig to concrete color values\n * (hex/rgb) via getComputedStyle. This is necessary because SVG presentation\n * attributes (fill, stroke, stopColor) don't reliably resolve multi-level\n * CSS custom property chains like:\n * var(--chart-1) → var(--color-brand-500) → #1B5BFF\n *\n * The hook also observes `data-theme` and `data-brand` attribute changes\n * on <html> to re-resolve colors when the user switches theme or brand.\n */\n\nimport { useState, useEffect } from \"react\";\nimport type { ChartConfig } from \"./Chart.types\";\n\n/** Strip `var(...)` wrapper and return the custom property name, or null */\nfunction extractCSSVarName(value: string): string | null {\n const match = value.match(/^var\\(\\s*(--[^),]+)\\s*(?:,\\s*.*)?\\)$/);\n return match?.[1] ?? null;\n}\n\n/** Resolve a single color string — if it's a CSS variable, compute it */\nfunction resolveColor(value: string): string {\n if (typeof window === \"undefined\") return value;\n\n const varName = extractCSSVarName(value);\n if (!varName) return value; // already a literal color\n\n const resolved = getComputedStyle(document.documentElement)\n .getPropertyValue(varName)\n .trim();\n\n return resolved || value; // fallback to original if empty\n}\n\n/** Build resolved config + CSS variable map from a ChartConfig */\nfunction resolveConfig(config: ChartConfig) {\n const resolvedConfig: ChartConfig = {};\n const resolvedColorVars: Record<string, string> = {};\n\n for (const [key, item] of Object.entries(config)) {\n const resolved = resolveColor(item.color);\n resolvedConfig[key] = { ...item, color: resolved };\n resolvedColorVars[`--color-${key}`] = resolved;\n }\n\n return { resolvedConfig, resolvedColorVars };\n}\n\nexport function useResolvedChartColors(config: ChartConfig) {\n // Synchronous initial resolution (no flash on first paint)\n const [state, setState] = useState(() => resolveConfig(config));\n\n // Re-resolve when config changes\n useEffect(() => {\n setState(resolveConfig(config));\n }, [config]);\n\n // Re-resolve when theme or brand changes on <html>\n useEffect(() => {\n if (typeof window === \"undefined\") return;\n\n const htmlEl = document.documentElement;\n\n const observer = new MutationObserver((mutations) => {\n for (const mutation of mutations) {\n if (\n mutation.type === \"attributes\" &&\n (mutation.attributeName === \"data-theme\" ||\n mutation.attributeName === \"data-brand\")\n ) {\n setState(resolveConfig(config));\n break;\n }\n }\n });\n\n observer.observe(htmlEl, {\n attributes: true,\n attributeFilter: [\"data-theme\", \"data-brand\"],\n });\n\n return () => observer.disconnect();\n }, [config]);\n\n return state;\n}\n"],"names":["extractCSSVarName","value","resolveColor","varName","resolveConfig","config","resolvedConfig","resolvedColorVars","key","item","resolved","useResolvedChartColors","state","setState","useState","useEffect","htmlEl","observer","mutations","mutation"],"mappings":";AAiBA,SAASA,EAAkBC,GAA8B;AAEvD,SADcA,EAAM,MAAM,sCAAsC,IACjD,CAAC,KAAK;AACvB;AAGA,SAASC,EAAaD,GAAuB;AAC3C,MAAI,OAAO,SAAW,IAAa,QAAOA;AAE1C,QAAME,IAAUH,EAAkBC,CAAK;AACvC,SAAKE,KAEY,iBAAiB,SAAS,eAAe,EACvD,iBAAiBA,CAAO,EACxB,KAAA,KAEgBF;AACrB;AAGA,SAASG,EAAcC,GAAqB;AAC1C,QAAMC,IAA8B,CAAA,GAC9BC,IAA4C,CAAA;AAElD,aAAW,CAACC,GAAKC,CAAI,KAAK,OAAO,QAAQJ,CAAM,GAAG;AAChD,UAAMK,IAAWR,EAAaO,EAAK,KAAK;AACxC,IAAAH,EAAeE,CAAG,IAAI,EAAE,GAAGC,GAAM,OAAOC,EAAA,GACxCH,EAAkB,WAAWC,CAAG,EAAE,IAAIE;AAAA,EACxC;AAEA,SAAO,EAAE,gBAAAJ,GAAgB,mBAAAC,EAAA;AAC3B;AAEO,SAASI,EAAuBN,GAAqB;AAE1D,QAAM,CAACO,GAAOC,CAAQ,IAAIC,EAAS,MAAMV,EAAcC,CAAM,CAAC;AAG9D,SAAAU,EAAU,MAAM;AACd,IAAAF,EAAST,EAAcC,CAAM,CAAC;AAAA,EAChC,GAAG,CAACA,CAAM,CAAC,GAGXU,EAAU,MAAM;AACd,QAAI,OAAO,SAAW,IAAa;AAEnC,UAAMC,IAAS,SAAS,iBAElBC,IAAW,IAAI,iBAAiB,CAACC,MAAc;AACnD,iBAAWC,KAAYD;AACrB,YACEC,EAAS,SAAS,iBACjBA,EAAS,kBAAkB,gBAC1BA,EAAS,kBAAkB,eAC7B;AACA,UAAAN,EAAST,EAAcC,CAAM,CAAC;AAC9B;AAAA,QACF;AAAA,IAEJ,CAAC;AAED,WAAAY,EAAS,QAAQD,GAAQ;AAAA,MACvB,YAAY;AAAA,MACZ,iBAAiB,CAAC,cAAc,YAAY;AAAA,IAAA,CAC7C,GAEM,MAAMC,EAAS,WAAA;AAAA,EACxB,GAAG,CAACZ,CAAM,CAAC,GAEJO;AACT;"}
package/dist/index174.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r="_trigger_1xlzd_16",t="_triggerFullWidth_1xlzd_21",o="_popover_1xlzd_28",e="_visible_1xlzd_46",_="_content_1xlzd_57",l="_arrow_1xlzd_68",i={trigger:r,triggerFullWidth:t,popover:o,visible:e,content:_,arrow:l,"arrow-top":"_arrow-top_1xlzd_78","arrow-bottom":"_arrow-bottom_1xlzd_86","arrow-left":"_arrow-left_1xlzd_94","arrow-right":"_arrow-right_1xlzd_102"};exports.arrow=l;exports.content=_;exports.default=i;exports.popover=o;exports.trigger=r;exports.triggerFullWidth=t;exports.visible=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_container_faue8_8",o="_tooltip_faue8_17",e="_tooltipLabel_faue8_27",l="_tooltipItems_faue8_35",i="_tooltipItem_faue8_35",_="_tooltipDot_faue8_47",n="_tooltipLine_faue8_54",a="_tooltipDashed_faue8_60",p="_tooltipName_faue8_67",s="_tooltipValue_faue8_71",u="_legend_faue8_82",c="_legendItem_faue8_92",d="_legendDot_faue8_99",m={container:t,tooltip:o,tooltipLabel:e,tooltipItems:l,tooltipItem:i,tooltipDot:_,tooltipLine:n,tooltipDashed:a,tooltipName:p,tooltipValue:s,legend:u,legendItem:c,legendDot:d};exports.container=t;exports.default=m;exports.legend=u;exports.legendDot=d;exports.legendItem=c;exports.tooltip=o;exports.tooltipDashed=a;exports.tooltipDot=_;exports.tooltipItem=i;exports.tooltipItems=l;exports.tooltipLabel=e;exports.tooltipLine=n;exports.tooltipName=p;exports.tooltipValue=s;
2
2
  //# sourceMappingURL=index174.cjs.map
package/dist/index174.mjs CHANGED
@@ -1,22 +1,32 @@
1
- const r = "_trigger_1xlzd_16", t = "_triggerFullWidth_1xlzd_21", o = "_popover_1xlzd_28", _ = "_visible_1xlzd_46", l = "_content_1xlzd_57", e = "_arrow_1xlzd_68", i = {
2
- trigger: r,
3
- triggerFullWidth: t,
4
- popover: o,
5
- visible: _,
6
- content: l,
7
- arrow: e,
8
- "arrow-top": "_arrow-top_1xlzd_78",
9
- "arrow-bottom": "_arrow-bottom_1xlzd_86",
10
- "arrow-left": "_arrow-left_1xlzd_94",
11
- "arrow-right": "_arrow-right_1xlzd_102"
1
+ const t = "_container_faue8_8", o = "_tooltip_faue8_17", e = "_tooltipLabel_faue8_27", l = "_tooltipItems_faue8_35", _ = "_tooltipItem_faue8_35", i = "_tooltipDot_faue8_47", n = "_tooltipLine_faue8_54", a = "_tooltipDashed_faue8_60", p = "_tooltipName_faue8_67", s = "_tooltipValue_faue8_71", c = "_legend_faue8_82", u = "_legendItem_faue8_92", f = "_legendDot_faue8_99", d = {
2
+ container: t,
3
+ tooltip: o,
4
+ tooltipLabel: e,
5
+ tooltipItems: l,
6
+ tooltipItem: _,
7
+ tooltipDot: i,
8
+ tooltipLine: n,
9
+ tooltipDashed: a,
10
+ tooltipName: p,
11
+ tooltipValue: s,
12
+ legend: c,
13
+ legendItem: u,
14
+ legendDot: f
12
15
  };
13
16
  export {
14
- e as arrow,
15
- l as content,
16
- i as default,
17
- o as popover,
18
- r as trigger,
19
- t as triggerFullWidth,
20
- _ as visible
17
+ t as container,
18
+ d as default,
19
+ c as legend,
20
+ f as legendDot,
21
+ u as legendItem,
22
+ o as tooltip,
23
+ a as tooltipDashed,
24
+ i as tooltipDot,
25
+ _ as tooltipItem,
26
+ l as tooltipItems,
27
+ e as tooltipLabel,
28
+ n as tooltipLine,
29
+ p as tooltipName,
30
+ s as tooltipValue
21
31
  };
22
32
  //# sourceMappingURL=index174.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index174.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index174.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
package/dist/index175.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_filterBar_1568x_8",o="_compact_1568x_19",r="_searchWrapper_1568x_28",c="_searchIcon_1568x_34",t="_searchInput_1568x_41",n="_filters_1568x_69",p="_filterWrapper_1568x_75",_="_filterTrigger_1568x_79",l="_filterActive_1568x_100",d="_chevron_1568x_106",i="_chevronOpen_1568x_110",s="_dropdown_1568x_118",a="_dropdownItem_1568x_133",h="_dropdownItemSelected_1568x_154",x="_checkbox_1568x_159",w="_optionCount_1568x_177",f="_dropdownFooter_1568x_183",v="_dropdownCancel_1568x_192",u="_dropdownApply_1568x_193",m="_activeFilters_1568x_227",I="_chip_1568x_237",A="_chipLabel_1568x_250",b="_chipRemove_1568x_257",g="_clearAll_1568x_276",C="_count_1568x_296",F={filterBar:e,compact:o,searchWrapper:r,searchIcon:c,searchInput:t,filters:n,filterWrapper:p,filterTrigger:_,filterActive:l,chevron:d,chevronOpen:i,dropdown:s,dropdownItem:a,dropdownItemSelected:h,checkbox:x,optionCount:w,dropdownFooter:f,dropdownCancel:v,dropdownApply:u,activeFilters:m,chip:I,chipLabel:A,chipRemove:b,clearAll:g,count:C};exports.activeFilters=m;exports.checkbox=x;exports.chevron=d;exports.chevronOpen=i;exports.chip=I;exports.chipLabel=A;exports.chipRemove=b;exports.clearAll=g;exports.compact=o;exports.count=C;exports.default=F;exports.dropdown=s;exports.dropdownApply=u;exports.dropdownCancel=v;exports.dropdownFooter=f;exports.dropdownItem=a;exports.dropdownItemSelected=h;exports.filterActive=l;exports.filterBar=e;exports.filterTrigger=_;exports.filterWrapper=p;exports.filters=n;exports.optionCount=w;exports.searchIcon=c;exports.searchInput=t;exports.searchWrapper=r;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_chip_zilwr_9",l="_sm_zilwr_26",_="_md_zilwr_32",r="_lg_zilwr_38",i="_primary_zilwr_54",c="_success_zilwr_61",s="_warning_zilwr_67",o="_error_zilwr_73",t="_info_zilwr_79",n="_clickable_zilwr_89",a="_disabled_zilwr_92",d="_selected_zilwr_106",w="_icon_zilwr_130",m="_label_zilwr_149",u="_removeButton_zilwr_153",z={chip:e,sm:l,md:_,lg:r,default:"_default_zilwr_48",primary:i,success:c,warning:s,error:o,info:t,clickable:n,disabled:a,selected:d,icon:w,label:m,removeButton:u};exports.chip=e;exports.clickable=n;exports.default=z;exports.disabled=a;exports.error=o;exports.icon=w;exports.info=t;exports.label=m;exports.lg=r;exports.md=_;exports.primary=i;exports.removeButton=u;exports.selected=d;exports.sm=l;exports.success=c;exports.warning=s;
2
2
  //# sourceMappingURL=index175.cjs.map
package/dist/index175.mjs CHANGED
@@ -1,56 +1,37 @@
1
- const o = "_filterBar_1568x_8", e = "_compact_1568x_19", c = "_searchWrapper_1568x_28", t = "_searchIcon_1568x_34", r = "_searchInput_1568x_41", _ = "_filters_1568x_69", n = "_filterWrapper_1568x_75", p = "_filterTrigger_1568x_79", s = "_filterActive_1568x_100", l = "_chevron_1568x_106", d = "_chevronOpen_1568x_110", i = "_dropdown_1568x_118", a = "_dropdownItem_1568x_133", x = "_dropdownItemSelected_1568x_154", h = "_checkbox_1568x_159", w = "_optionCount_1568x_177", f = "_dropdownFooter_1568x_183", v = "_dropdownCancel_1568x_192", m = "_dropdownApply_1568x_193", I = "_activeFilters_1568x_227", u = "_chip_1568x_237", A = "_chipLabel_1568x_250", b = "_chipRemove_1568x_257", g = "_clearAll_1568x_276", C = "_count_1568x_296", F = {
2
- filterBar: o,
3
- compact: e,
4
- searchWrapper: c,
5
- searchIcon: t,
6
- searchInput: r,
7
- filters: _,
8
- filterWrapper: n,
9
- filterTrigger: p,
10
- filterActive: s,
11
- chevron: l,
12
- chevronOpen: d,
13
- dropdown: i,
14
- dropdownItem: a,
15
- dropdownItemSelected: x,
16
- checkbox: h,
17
- optionCount: w,
18
- dropdownFooter: f,
19
- dropdownCancel: v,
20
- dropdownApply: m,
21
- activeFilters: I,
22
- chip: u,
23
- chipLabel: A,
24
- chipRemove: b,
25
- clearAll: g,
26
- count: C
1
+ const _ = "_chip_zilwr_9", l = "_sm_zilwr_26", r = "_md_zilwr_32", c = "_lg_zilwr_38", i = "_primary_zilwr_54", s = "_success_zilwr_61", e = "_warning_zilwr_67", o = "_error_zilwr_73", n = "_info_zilwr_79", t = "_clickable_zilwr_89", a = "_disabled_zilwr_92", w = "_selected_zilwr_106", z = "_icon_zilwr_130", d = "_label_zilwr_149", m = "_removeButton_zilwr_153", b = {
2
+ chip: _,
3
+ sm: l,
4
+ md: r,
5
+ lg: c,
6
+ default: "_default_zilwr_48",
7
+ primary: i,
8
+ success: s,
9
+ warning: e,
10
+ error: o,
11
+ info: n,
12
+ clickable: t,
13
+ disabled: a,
14
+ selected: w,
15
+ icon: z,
16
+ label: d,
17
+ removeButton: m
27
18
  };
28
19
  export {
29
- I as activeFilters,
30
- h as checkbox,
31
- l as chevron,
32
- d as chevronOpen,
33
- u as chip,
34
- A as chipLabel,
35
- b as chipRemove,
36
- g as clearAll,
37
- e as compact,
38
- C as count,
39
- F as default,
40
- i as dropdown,
41
- m as dropdownApply,
42
- v as dropdownCancel,
43
- f as dropdownFooter,
44
- a as dropdownItem,
45
- x as dropdownItemSelected,
46
- s as filterActive,
47
- o as filterBar,
48
- p as filterTrigger,
49
- n as filterWrapper,
50
- _ as filters,
51
- w as optionCount,
52
- t as searchIcon,
53
- r as searchInput,
54
- c as searchWrapper
20
+ _ as chip,
21
+ t as clickable,
22
+ b as default,
23
+ a as disabled,
24
+ o as error,
25
+ z as icon,
26
+ n as info,
27
+ d as label,
28
+ c as lg,
29
+ r as md,
30
+ i as primary,
31
+ m as removeButton,
32
+ w as selected,
33
+ l as sm,
34
+ s as success,
35
+ e as warning
55
36
  };
56
37
  //# sourceMappingURL=index175.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index175.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index175.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
package/dist/index176.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_fileUploader_elcmy_8",o="_dropzone_elcmy_18",l="_dropzoneDragging_elcmy_40",r="_dropzoneDisabled_elcmy_45",n="_dropzoneError_elcmy_55",t="_input_elcmy_59",i="_dropzoneContent_elcmy_63",c="_dropzoneIcon_elcmy_71",_="_dropzonePlaceholder_elcmy_82",s="_dropzoneHints_elcmy_90",p="_dropzoneHint_elcmy_90",f="_helperText_elcmy_107",a="_helperTextError_elcmy_113",d="_fileList_elcmy_121",m="_fileItem_elcmy_130",z="_fileIcon_elcmy_139",y="_filePreview_elcmy_152",u="_fileInfo_elcmy_158",S="_fileName_elcmy_166",g="_fileSize_elcmy_176",I="_fileStatus_elcmy_182",h="_progressBar_elcmy_188",E="_progressFill_elcmy_196",v="_fileStatusIcon_elcmy_202",P="_spin_elcmy_1",T="_fileStatusSuccess_elcmy_207",x="_fileStatusError_elcmy_211",D="_fileRemove_elcmy_221",H="_minimal_elcmy_246",b="_card_elcmy_258",w="_compact_elcmy_273",B={fileUploader:e,dropzone:o,dropzoneDragging:l,dropzoneDisabled:r,dropzoneError:n,input:t,dropzoneContent:i,dropzoneIcon:c,dropzonePlaceholder:_,dropzoneHints:s,dropzoneHint:p,helperText:f,helperTextError:a,fileList:d,fileItem:m,fileIcon:z,filePreview:y,fileInfo:u,fileName:S,fileSize:g,fileStatus:I,progressBar:h,progressFill:E,fileStatusIcon:v,spin:P,fileStatusSuccess:T,fileStatusError:x,fileRemove:D,minimal:H,card:b,compact:w};exports.card=b;exports.compact=w;exports.default=B;exports.dropzone=o;exports.dropzoneContent=i;exports.dropzoneDisabled=r;exports.dropzoneDragging=l;exports.dropzoneError=n;exports.dropzoneHint=p;exports.dropzoneHints=s;exports.dropzoneIcon=c;exports.dropzonePlaceholder=_;exports.fileIcon=z;exports.fileInfo=u;exports.fileItem=m;exports.fileList=d;exports.fileName=S;exports.filePreview=y;exports.fileRemove=D;exports.fileSize=g;exports.fileStatus=I;exports.fileStatusError=x;exports.fileStatusIcon=v;exports.fileStatusSuccess=T;exports.fileUploader=e;exports.helperText=f;exports.helperTextError=a;exports.input=t;exports.minimal=H;exports.progressBar=h;exports.progressFill=E;exports.spin=P;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r="_filterBar_ldmr2_8",e="_compact_ldmr2_19",o="_searchWrapper_ldmr2_28",c="_searchIcon_ldmr2_34",t="_searchInput_ldmr2_41",n="_filters_ldmr2_69",l="_filterWrapper_ldmr2_75",d="_filterTrigger_ldmr2_79",p="_filterActive_ldmr2_100",_="_chevron_ldmr2_106",i="_chevronOpen_ldmr2_110",s="_dropdown_ldmr2_118",a="_dropdownItem_ldmr2_133",m="_dropdownItemSelected_ldmr2_154",h="_checkbox_ldmr2_159",w="_optionCount_ldmr2_177",f="_dropdownFooter_ldmr2_183",v="_dropdownCancel_ldmr2_192",u="_dropdownApply_ldmr2_193",I="_activeFilters_ldmr2_227",A="_chip_ldmr2_237",b="_chipLabel_ldmr2_250",g="_chipRemove_ldmr2_257",C="_clearAll_ldmr2_276",F="_count_ldmr2_296",W={filterBar:r,compact:e,searchWrapper:o,searchIcon:c,searchInput:t,filters:n,filterWrapper:l,filterTrigger:d,filterActive:p,chevron:_,chevronOpen:i,dropdown:s,dropdownItem:a,dropdownItemSelected:m,checkbox:h,optionCount:w,dropdownFooter:f,dropdownCancel:v,dropdownApply:u,activeFilters:I,chip:A,chipLabel:b,chipRemove:g,clearAll:C,count:F};exports.activeFilters=I;exports.checkbox=h;exports.chevron=_;exports.chevronOpen=i;exports.chip=A;exports.chipLabel=b;exports.chipRemove=g;exports.clearAll=C;exports.compact=e;exports.count=F;exports.default=W;exports.dropdown=s;exports.dropdownApply=u;exports.dropdownCancel=v;exports.dropdownFooter=f;exports.dropdownItem=a;exports.dropdownItemSelected=m;exports.filterActive=p;exports.filterBar=r;exports.filterTrigger=d;exports.filterWrapper=l;exports.filters=n;exports.optionCount=w;exports.searchIcon=c;exports.searchInput=t;exports.searchWrapper=o;
2
2
  //# sourceMappingURL=index176.cjs.map
package/dist/index176.mjs CHANGED
@@ -1,68 +1,56 @@
1
- const e = "_fileUploader_elcmy_8", o = "_dropzone_elcmy_18", l = "_dropzoneDragging_elcmy_40", n = "_dropzoneDisabled_elcmy_45", _ = "_dropzoneError_elcmy_55", r = "_input_elcmy_59", c = "_dropzoneContent_elcmy_63", t = "_dropzoneIcon_elcmy_71", s = "_dropzonePlaceholder_elcmy_82", i = "_dropzoneHints_elcmy_90", p = "_dropzoneHint_elcmy_90", m = "_helperText_elcmy_107", f = "_helperTextError_elcmy_113", a = "_fileList_elcmy_121", d = "_fileItem_elcmy_130", y = "_fileIcon_elcmy_139", z = "_filePreview_elcmy_152", u = "_fileInfo_elcmy_158", S = "_fileName_elcmy_166", g = "_fileSize_elcmy_176", I = "_fileStatus_elcmy_182", h = "_progressBar_elcmy_188", E = "_progressFill_elcmy_196", x = "_fileStatusIcon_elcmy_202", v = "_spin_elcmy_1", D = "_fileStatusSuccess_elcmy_207", H = "_fileStatusError_elcmy_211", P = "_fileRemove_elcmy_221", T = "_minimal_elcmy_246", b = "_card_elcmy_258", w = "_compact_elcmy_273", B = {
2
- fileUploader: e,
3
- dropzone: o,
4
- dropzoneDragging: l,
5
- dropzoneDisabled: n,
6
- dropzoneError: _,
7
- input: r,
8
- dropzoneContent: c,
9
- dropzoneIcon: t,
10
- dropzonePlaceholder: s,
11
- dropzoneHints: i,
12
- dropzoneHint: p,
13
- helperText: m,
14
- helperTextError: f,
15
- fileList: a,
16
- fileItem: d,
17
- fileIcon: y,
18
- filePreview: z,
19
- fileInfo: u,
20
- fileName: S,
21
- fileSize: g,
22
- fileStatus: I,
23
- progressBar: h,
24
- progressFill: E,
25
- fileStatusIcon: x,
26
- spin: v,
27
- fileStatusSuccess: D,
28
- fileStatusError: H,
29
- fileRemove: P,
30
- minimal: T,
31
- card: b,
32
- compact: w
1
+ const r = "_filterBar_ldmr2_8", o = "_compact_ldmr2_19", e = "_searchWrapper_ldmr2_28", c = "_searchIcon_ldmr2_34", t = "_searchInput_ldmr2_41", _ = "_filters_ldmr2_69", n = "_filterWrapper_ldmr2_75", l = "_filterTrigger_ldmr2_79", d = "_filterActive_ldmr2_100", p = "_chevron_ldmr2_106", s = "_chevronOpen_ldmr2_110", i = "_dropdown_ldmr2_118", m = "_dropdownItem_ldmr2_133", a = "_dropdownItemSelected_ldmr2_154", h = "_checkbox_ldmr2_159", w = "_optionCount_ldmr2_177", f = "_dropdownFooter_ldmr2_183", v = "_dropdownCancel_ldmr2_192", I = "_dropdownApply_ldmr2_193", u = "_activeFilters_ldmr2_227", A = "_chip_ldmr2_237", b = "_chipLabel_ldmr2_250", g = "_chipRemove_ldmr2_257", C = "_clearAll_ldmr2_276", F = "_count_ldmr2_296", W = {
2
+ filterBar: r,
3
+ compact: o,
4
+ searchWrapper: e,
5
+ searchIcon: c,
6
+ searchInput: t,
7
+ filters: _,
8
+ filterWrapper: n,
9
+ filterTrigger: l,
10
+ filterActive: d,
11
+ chevron: p,
12
+ chevronOpen: s,
13
+ dropdown: i,
14
+ dropdownItem: m,
15
+ dropdownItemSelected: a,
16
+ checkbox: h,
17
+ optionCount: w,
18
+ dropdownFooter: f,
19
+ dropdownCancel: v,
20
+ dropdownApply: I,
21
+ activeFilters: u,
22
+ chip: A,
23
+ chipLabel: b,
24
+ chipRemove: g,
25
+ clearAll: C,
26
+ count: F
33
27
  };
34
28
  export {
35
- b as card,
36
- w as compact,
37
- B as default,
38
- o as dropzone,
39
- c as dropzoneContent,
40
- n as dropzoneDisabled,
41
- l as dropzoneDragging,
42
- _ as dropzoneError,
43
- p as dropzoneHint,
44
- i as dropzoneHints,
45
- t as dropzoneIcon,
46
- s as dropzonePlaceholder,
47
- y as fileIcon,
48
- u as fileInfo,
49
- d as fileItem,
50
- a as fileList,
51
- S as fileName,
52
- z as filePreview,
53
- P as fileRemove,
54
- g as fileSize,
55
- I as fileStatus,
56
- H as fileStatusError,
57
- x as fileStatusIcon,
58
- D as fileStatusSuccess,
59
- e as fileUploader,
60
- m as helperText,
61
- f as helperTextError,
62
- r as input,
63
- T as minimal,
64
- h as progressBar,
65
- E as progressFill,
66
- v as spin
29
+ u as activeFilters,
30
+ h as checkbox,
31
+ p as chevron,
32
+ s as chevronOpen,
33
+ A as chip,
34
+ b as chipLabel,
35
+ g as chipRemove,
36
+ C as clearAll,
37
+ o as compact,
38
+ F as count,
39
+ W as default,
40
+ i as dropdown,
41
+ I as dropdownApply,
42
+ v as dropdownCancel,
43
+ f as dropdownFooter,
44
+ m as dropdownItem,
45
+ a as dropdownItemSelected,
46
+ d as filterActive,
47
+ r as filterBar,
48
+ l as filterTrigger,
49
+ n as filterWrapper,
50
+ _ as filters,
51
+ w as optionCount,
52
+ c as searchIcon,
53
+ t as searchInput,
54
+ e as searchWrapper
67
55
  };
68
56
  //# sourceMappingURL=index176.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index176.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index176.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index177.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function d(e){return e.match(/^var\(\s*(--[^),]+)\s*(?:,\s*.*)?\)$/)?.[1]??null}function i(e){if(typeof window>"u")return e;const t=d(e);return t&&getComputedStyle(document.documentElement).getPropertyValue(t).trim()||e}function c(e){const t={},r={};for(const[n,o]of Object.entries(e)){const s=i(o.color);t[n]={...o,color:s},r[`--color-${n}`]=s}return{resolvedConfig:t,resolvedColorVars:r}}function l(e){const[t,r]=u.useState(()=>c(e));return u.useEffect(()=>{r(c(e))},[e]),u.useEffect(()=>{if(typeof window>"u")return;const n=document.documentElement,o=new MutationObserver(s=>{for(const a of s)if(a.type==="attributes"&&(a.attributeName==="data-theme"||a.attributeName==="data-brand")){r(c(e));break}});return o.observe(n,{attributes:!0,attributeFilter:["data-theme","data-brand"]}),()=>o.disconnect()},[e]),t}exports.useResolvedChartColors=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_container_1tqko_8",o="_tooltip_1tqko_21",e="_tooltipFadeIn_1tqko_1",_="_arrow_1tqko_49",n="_top_1tqko_62",r="_bottom_1tqko_78",i="_left_1tqko_94",l="_right_1tqko_110",a={container:t,tooltip:o,tooltipFadeIn:e,arrow:_,top:n,bottom:r,left:i,right:l};exports.arrow=_;exports.bottom=r;exports.container=t;exports.default=a;exports.left=i;exports.right=l;exports.tooltip=o;exports.tooltipFadeIn=e;exports.top=n;
2
2
  //# sourceMappingURL=index177.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index177.cjs","sources":["../src/components/Chart/useResolvedChartColors.ts"],"sourcesContent":["/**\n * useResolvedChartColors\n *\n * Resolves CSS variable chains in ChartConfig to concrete color values\n * (hex/rgb) via getComputedStyle. This is necessary because SVG presentation\n * attributes (fill, stroke, stopColor) don't reliably resolve multi-level\n * CSS custom property chains like:\n * var(--chart-1) → var(--color-brand-500) → #1B5BFF\n *\n * The hook also observes `data-theme` and `data-brand` attribute changes\n * on <html> to re-resolve colors when the user switches theme or brand.\n */\n\nimport { useState, useEffect } from \"react\";\nimport type { ChartConfig } from \"./Chart.types\";\n\n/** Strip `var(...)` wrapper and return the custom property name, or null */\nfunction extractCSSVarName(value: string): string | null {\n const match = value.match(/^var\\(\\s*(--[^),]+)\\s*(?:,\\s*.*)?\\)$/);\n return match?.[1] ?? null;\n}\n\n/** Resolve a single color string — if it's a CSS variable, compute it */\nfunction resolveColor(value: string): string {\n if (typeof window === \"undefined\") return value;\n\n const varName = extractCSSVarName(value);\n if (!varName) return value; // already a literal color\n\n const resolved = getComputedStyle(document.documentElement)\n .getPropertyValue(varName)\n .trim();\n\n return resolved || value; // fallback to original if empty\n}\n\n/** Build resolved config + CSS variable map from a ChartConfig */\nfunction resolveConfig(config: ChartConfig) {\n const resolvedConfig: ChartConfig = {};\n const resolvedColorVars: Record<string, string> = {};\n\n for (const [key, item] of Object.entries(config)) {\n const resolved = resolveColor(item.color);\n resolvedConfig[key] = { ...item, color: resolved };\n resolvedColorVars[`--color-${key}`] = resolved;\n }\n\n return { resolvedConfig, resolvedColorVars };\n}\n\nexport function useResolvedChartColors(config: ChartConfig) {\n // Synchronous initial resolution (no flash on first paint)\n const [state, setState] = useState(() => resolveConfig(config));\n\n // Re-resolve when config changes\n useEffect(() => {\n setState(resolveConfig(config));\n }, [config]);\n\n // Re-resolve when theme or brand changes on <html>\n useEffect(() => {\n if (typeof window === \"undefined\") return;\n\n const htmlEl = document.documentElement;\n\n const observer = new MutationObserver((mutations) => {\n for (const mutation of mutations) {\n if (\n mutation.type === \"attributes\" &&\n (mutation.attributeName === \"data-theme\" ||\n mutation.attributeName === \"data-brand\")\n ) {\n setState(resolveConfig(config));\n break;\n }\n }\n });\n\n observer.observe(htmlEl, {\n attributes: true,\n attributeFilter: [\"data-theme\", \"data-brand\"],\n });\n\n return () => observer.disconnect();\n }, [config]);\n\n return state;\n}\n"],"names":["extractCSSVarName","value","resolveColor","varName","resolveConfig","config","resolvedConfig","resolvedColorVars","key","item","resolved","useResolvedChartColors","state","setState","useState","useEffect","htmlEl","observer","mutations","mutation"],"mappings":"yGAiBA,SAASA,EAAkBC,EAA8B,CAEvD,OADcA,EAAM,MAAM,sCAAsC,IACjD,CAAC,GAAK,IACvB,CAGA,SAASC,EAAaD,EAAuB,CAC3C,GAAI,OAAO,OAAW,IAAa,OAAOA,EAE1C,MAAME,EAAUH,EAAkBC,CAAK,EACvC,OAAKE,GAEY,iBAAiB,SAAS,eAAe,EACvD,iBAAiBA,CAAO,EACxB,KAAA,GAEgBF,CACrB,CAGA,SAASG,EAAcC,EAAqB,CAC1C,MAAMC,EAA8B,CAAA,EAC9BC,EAA4C,CAAA,EAElD,SAAW,CAACC,EAAKC,CAAI,IAAK,OAAO,QAAQJ,CAAM,EAAG,CAChD,MAAMK,EAAWR,EAAaO,EAAK,KAAK,EACxCH,EAAeE,CAAG,EAAI,CAAE,GAAGC,EAAM,MAAOC,CAAA,EACxCH,EAAkB,WAAWC,CAAG,EAAE,EAAIE,CACxC,CAEA,MAAO,CAAE,eAAAJ,EAAgB,kBAAAC,CAAA,CAC3B,CAEO,SAASI,EAAuBN,EAAqB,CAE1D,KAAM,CAACO,EAAOC,CAAQ,EAAIC,EAAAA,SAAS,IAAMV,EAAcC,CAAM,CAAC,EAG9DU,OAAAA,EAAAA,UAAU,IAAM,CACdF,EAAST,EAAcC,CAAM,CAAC,CAChC,EAAG,CAACA,CAAM,CAAC,EAGXU,EAAAA,UAAU,IAAM,CACd,GAAI,OAAO,OAAW,IAAa,OAEnC,MAAMC,EAAS,SAAS,gBAElBC,EAAW,IAAI,iBAAkBC,GAAc,CACnD,UAAWC,KAAYD,EACrB,GACEC,EAAS,OAAS,eACjBA,EAAS,gBAAkB,cAC1BA,EAAS,gBAAkB,cAC7B,CACAN,EAAST,EAAcC,CAAM,CAAC,EAC9B,KACF,CAEJ,CAAC,EAED,OAAAY,EAAS,QAAQD,EAAQ,CACvB,WAAY,GACZ,gBAAiB,CAAC,aAAc,YAAY,CAAA,CAC7C,EAEM,IAAMC,EAAS,WAAA,CACxB,EAAG,CAACZ,CAAM,CAAC,EAEJO,CACT"}
1
+ {"version":3,"file":"index177.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}