@ktnpm_devops/react-component 0.10.0 → 0.11.0

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 (392) hide show
  1. package/dist/charts/TemporalTrendChartCard/TemporalTrendChartCard.d.ts +1 -1
  2. package/dist/charts/TemporalTrendChartCard/TemporalTrendChartCard.d.ts.map +1 -1
  3. package/dist/charts/TemporalTrendChartCard/TemporalTrendChartCard.types.d.ts +24 -1
  4. package/dist/charts/TemporalTrendChartCard/TemporalTrendChartCard.types.d.ts.map +1 -1
  5. package/dist/charts/TemporalTrendChartCard/buildChartOption.d.ts +138 -0
  6. package/dist/charts/TemporalTrendChartCard/buildChartOption.d.ts.map +1 -0
  7. package/dist/charts/TemporalTrendChartCard/index.d.ts +1 -1
  8. package/dist/charts/TemporalTrendChartCard/index.d.ts.map +1 -1
  9. package/dist/index.cjs +39 -35
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.ts +6 -2
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +39 -35
  14. package/dist/index.js.map +1 -1
  15. package/dist/index10.cjs +2 -2
  16. package/dist/index10.js +2 -2
  17. package/dist/index100.cjs +42 -0
  18. package/dist/index100.cjs.map +1 -0
  19. package/dist/index100.js +42 -0
  20. package/dist/index100.js.map +1 -0
  21. package/dist/index101.cjs +118 -0
  22. package/dist/index101.cjs.map +1 -0
  23. package/dist/index101.js +118 -0
  24. package/dist/index101.js.map +1 -0
  25. package/dist/index102.cjs +45 -0
  26. package/dist/index102.cjs.map +1 -0
  27. package/dist/index102.js +45 -0
  28. package/dist/index102.js.map +1 -0
  29. package/dist/index103.cjs +18 -0
  30. package/dist/index103.cjs.map +1 -0
  31. package/dist/index103.js +18 -0
  32. package/dist/index103.js.map +1 -0
  33. package/dist/index11.cjs +2 -2
  34. package/dist/index11.js +2 -2
  35. package/dist/index12.cjs +2 -2
  36. package/dist/index12.js +2 -2
  37. package/dist/index13.cjs +2 -2
  38. package/dist/index13.js +2 -2
  39. package/dist/index14.cjs +2 -2
  40. package/dist/index14.js +2 -2
  41. package/dist/index15.cjs +3 -3
  42. package/dist/index15.js +3 -3
  43. package/dist/index16.cjs +2 -2
  44. package/dist/index16.js +2 -2
  45. package/dist/index17.cjs +52 -16
  46. package/dist/index17.cjs.map +1 -1
  47. package/dist/index17.js +54 -18
  48. package/dist/index17.js.map +1 -1
  49. package/dist/index18.cjs +16 -24
  50. package/dist/index18.cjs.map +1 -1
  51. package/dist/index18.js +17 -25
  52. package/dist/index18.js.map +1 -1
  53. package/dist/index19.cjs +22 -39
  54. package/dist/index19.cjs.map +1 -1
  55. package/dist/index19.js +23 -40
  56. package/dist/index19.js.map +1 -1
  57. package/dist/index20.cjs +38 -85
  58. package/dist/index20.cjs.map +1 -1
  59. package/dist/index20.js +40 -87
  60. package/dist/index20.js.map +1 -1
  61. package/dist/index21.cjs +85 -153
  62. package/dist/index21.cjs.map +1 -1
  63. package/dist/index21.js +87 -155
  64. package/dist/index21.js.map +1 -1
  65. package/dist/index22.cjs +150 -128
  66. package/dist/index22.cjs.map +1 -1
  67. package/dist/index22.js +150 -128
  68. package/dist/index22.js.map +1 -1
  69. package/dist/index23.cjs +121 -106
  70. package/dist/index23.cjs.map +1 -1
  71. package/dist/index23.js +122 -107
  72. package/dist/index23.js.map +1 -1
  73. package/dist/index24.cjs +121 -17
  74. package/dist/index24.cjs.map +1 -1
  75. package/dist/index24.js +121 -17
  76. package/dist/index24.js.map +1 -1
  77. package/dist/index25.cjs +16 -163
  78. package/dist/index25.cjs.map +1 -1
  79. package/dist/index25.js +16 -163
  80. package/dist/index25.js.map +1 -1
  81. package/dist/index26.cjs +132 -99
  82. package/dist/index26.cjs.map +1 -1
  83. package/dist/index26.js +132 -99
  84. package/dist/index26.js.map +1 -1
  85. package/dist/index27.cjs +14 -69
  86. package/dist/index27.cjs.map +1 -1
  87. package/dist/index27.js +15 -70
  88. package/dist/index27.js.map +1 -1
  89. package/dist/index28.cjs +130 -7
  90. package/dist/index28.cjs.map +1 -1
  91. package/dist/index28.js +132 -9
  92. package/dist/index28.js.map +1 -1
  93. package/dist/index29.cjs +74 -128
  94. package/dist/index29.cjs.map +1 -1
  95. package/dist/index29.js +76 -130
  96. package/dist/index29.js.map +1 -1
  97. package/dist/index30.cjs +8 -38
  98. package/dist/index30.cjs.map +1 -1
  99. package/dist/index30.js +9 -39
  100. package/dist/index30.js.map +1 -1
  101. package/dist/index31.cjs +118 -213
  102. package/dist/index31.cjs.map +1 -1
  103. package/dist/index31.js +119 -214
  104. package/dist/index31.js.map +1 -1
  105. package/dist/index32.cjs +38 -34
  106. package/dist/index32.cjs.map +1 -1
  107. package/dist/index32.js +39 -35
  108. package/dist/index32.js.map +1 -1
  109. package/dist/index33.cjs +222 -106
  110. package/dist/index33.cjs.map +1 -1
  111. package/dist/index33.js +224 -108
  112. package/dist/index33.js.map +1 -1
  113. package/dist/index34.cjs +30 -64
  114. package/dist/index34.cjs.map +1 -1
  115. package/dist/index34.js +31 -65
  116. package/dist/index34.js.map +1 -1
  117. package/dist/index35.cjs +106 -74
  118. package/dist/index35.cjs.map +1 -1
  119. package/dist/index35.js +108 -76
  120. package/dist/index35.js.map +1 -1
  121. package/dist/index36.cjs +63 -54
  122. package/dist/index36.cjs.map +1 -1
  123. package/dist/index36.js +64 -55
  124. package/dist/index36.js.map +1 -1
  125. package/dist/index37.cjs +69 -144
  126. package/dist/index37.cjs.map +1 -1
  127. package/dist/index37.js +70 -145
  128. package/dist/index37.js.map +1 -1
  129. package/dist/index38.cjs +57 -96
  130. package/dist/index38.cjs.map +1 -1
  131. package/dist/index38.js +59 -98
  132. package/dist/index38.js.map +1 -1
  133. package/dist/index39.cjs +147 -66
  134. package/dist/index39.cjs.map +1 -1
  135. package/dist/index39.js +149 -68
  136. package/dist/index39.js.map +1 -1
  137. package/dist/index40.cjs +97 -7
  138. package/dist/index40.cjs.map +1 -1
  139. package/dist/index40.js +99 -9
  140. package/dist/index40.js.map +1 -1
  141. package/dist/index41.cjs +72 -17
  142. package/dist/index41.cjs.map +1 -1
  143. package/dist/index41.js +73 -18
  144. package/dist/index41.js.map +1 -1
  145. package/dist/index42.cjs +7 -76
  146. package/dist/index42.cjs.map +1 -1
  147. package/dist/index42.js +9 -78
  148. package/dist/index42.js.map +1 -1
  149. package/dist/index43.cjs +17 -143
  150. package/dist/index43.cjs.map +1 -1
  151. package/dist/index43.js +17 -143
  152. package/dist/index43.js.map +1 -1
  153. package/dist/index44.cjs +72 -59
  154. package/dist/index44.cjs.map +1 -1
  155. package/dist/index44.js +74 -61
  156. package/dist/index44.js.map +1 -1
  157. package/dist/index45.cjs +136 -98
  158. package/dist/index45.cjs.map +1 -1
  159. package/dist/index45.js +137 -99
  160. package/dist/index45.js.map +1 -1
  161. package/dist/index46.cjs +49 -32
  162. package/dist/index46.cjs.map +1 -1
  163. package/dist/index46.js +49 -32
  164. package/dist/index46.js.map +1 -1
  165. package/dist/index47.cjs +105 -6
  166. package/dist/index47.cjs.map +1 -1
  167. package/dist/index47.js +106 -7
  168. package/dist/index47.js.map +1 -1
  169. package/dist/index48.cjs +43 -212
  170. package/dist/index48.cjs.map +1 -1
  171. package/dist/index48.js +44 -213
  172. package/dist/index48.js.map +1 -1
  173. package/dist/index49.cjs +6 -8
  174. package/dist/index49.cjs.map +1 -1
  175. package/dist/index49.js +6 -8
  176. package/dist/index49.js.map +1 -1
  177. package/dist/index50.cjs +145 -15
  178. package/dist/index50.cjs.map +1 -1
  179. package/dist/index50.js +147 -17
  180. package/dist/index50.js.map +1 -1
  181. package/dist/index51.cjs +7 -65
  182. package/dist/index51.cjs.map +1 -1
  183. package/dist/index51.js +9 -67
  184. package/dist/index51.js.map +1 -1
  185. package/dist/index52.cjs +19 -16
  186. package/dist/index52.cjs.map +1 -1
  187. package/dist/index52.js +18 -15
  188. package/dist/index52.js.map +1 -1
  189. package/dist/index53.cjs +67 -27
  190. package/dist/index53.cjs.map +1 -1
  191. package/dist/index53.js +66 -26
  192. package/dist/index53.js.map +1 -1
  193. package/dist/index54.cjs +15 -6
  194. package/dist/index54.cjs.map +1 -1
  195. package/dist/index54.js +15 -6
  196. package/dist/index54.js.map +1 -1
  197. package/dist/index55.cjs +18 -9
  198. package/dist/index55.cjs.map +1 -1
  199. package/dist/index55.js +18 -9
  200. package/dist/index55.js.map +1 -1
  201. package/dist/index56.cjs +19 -13
  202. package/dist/index56.cjs.map +1 -1
  203. package/dist/index56.js +19 -13
  204. package/dist/index56.js.map +1 -1
  205. package/dist/index57.cjs +23 -2
  206. package/dist/index57.cjs.map +1 -1
  207. package/dist/index57.js +24 -3
  208. package/dist/index57.js.map +1 -1
  209. package/dist/index58.cjs +17 -2
  210. package/dist/index58.cjs.map +1 -1
  211. package/dist/index58.js +18 -3
  212. package/dist/index58.js.map +1 -1
  213. package/dist/index59.cjs +69 -89
  214. package/dist/index59.cjs.map +1 -1
  215. package/dist/index59.js +68 -88
  216. package/dist/index59.js.map +1 -1
  217. package/dist/index60.cjs +2 -20
  218. package/dist/index60.cjs.map +1 -1
  219. package/dist/index60.js +3 -21
  220. package/dist/index60.js.map +1 -1
  221. package/dist/index61.cjs +89 -42
  222. package/dist/index61.cjs.map +1 -1
  223. package/dist/index61.js +88 -41
  224. package/dist/index61.js.map +1 -1
  225. package/dist/index62.cjs +28 -19
  226. package/dist/index62.cjs.map +1 -1
  227. package/dist/index62.js +29 -20
  228. package/dist/index62.js.map +1 -1
  229. package/dist/index63.cjs +20 -2
  230. package/dist/index63.cjs.map +1 -1
  231. package/dist/index63.js +20 -2
  232. package/dist/index63.js.map +1 -1
  233. package/dist/index64.cjs +79 -19
  234. package/dist/index64.cjs.map +1 -1
  235. package/dist/index64.js +80 -20
  236. package/dist/index64.js.map +1 -1
  237. package/dist/index65.cjs +2 -65
  238. package/dist/index65.cjs.map +1 -1
  239. package/dist/index65.js +3 -66
  240. package/dist/index65.js.map +1 -1
  241. package/dist/index66.cjs +34 -19
  242. package/dist/index66.cjs.map +1 -1
  243. package/dist/index66.js +34 -19
  244. package/dist/index66.js.map +1 -1
  245. package/dist/index67.cjs +53 -5
  246. package/dist/index67.cjs.map +1 -1
  247. package/dist/index67.js +54 -6
  248. package/dist/index67.js.map +1 -1
  249. package/dist/index68.cjs +16 -10
  250. package/dist/index68.cjs.map +1 -1
  251. package/dist/index68.js +17 -11
  252. package/dist/index68.js.map +1 -1
  253. package/dist/index69.cjs +14 -2
  254. package/dist/index69.cjs.map +1 -1
  255. package/dist/index69.js +14 -2
  256. package/dist/index69.js.map +1 -1
  257. package/dist/index70.cjs +4 -34
  258. package/dist/index70.cjs.map +1 -1
  259. package/dist/index70.js +5 -35
  260. package/dist/index70.js.map +1 -1
  261. package/dist/index71.cjs +37 -10
  262. package/dist/index71.cjs.map +1 -1
  263. package/dist/index71.js +38 -11
  264. package/dist/index71.js.map +1 -1
  265. package/dist/index72.cjs +14 -14
  266. package/dist/index72.js +15 -15
  267. package/dist/index73.cjs +13 -46
  268. package/dist/index73.cjs.map +1 -1
  269. package/dist/index73.js +14 -47
  270. package/dist/index73.js.map +1 -1
  271. package/dist/index74.cjs +34 -16
  272. package/dist/index74.cjs.map +1 -1
  273. package/dist/index74.js +34 -16
  274. package/dist/index74.js.map +1 -1
  275. package/dist/index75.cjs +57 -39
  276. package/dist/index75.cjs.map +1 -1
  277. package/dist/index75.js +56 -38
  278. package/dist/index75.js.map +1 -1
  279. package/dist/index76.cjs +51 -92
  280. package/dist/index76.cjs.map +1 -1
  281. package/dist/index76.js +50 -91
  282. package/dist/index76.js.map +1 -1
  283. package/dist/index77.cjs +134 -40
  284. package/dist/index77.cjs.map +1 -1
  285. package/dist/index77.js +133 -39
  286. package/dist/index77.js.map +1 -1
  287. package/dist/index78.cjs +28 -40
  288. package/dist/index78.cjs.map +1 -1
  289. package/dist/index78.js +29 -41
  290. package/dist/index78.js.map +1 -1
  291. package/dist/index79.cjs +24 -24
  292. package/dist/index79.js +24 -24
  293. package/dist/index80.cjs +34 -134
  294. package/dist/index80.cjs.map +1 -1
  295. package/dist/index80.js +33 -133
  296. package/dist/index80.js.map +1 -1
  297. package/dist/index81.cjs +17 -38
  298. package/dist/index81.cjs.map +1 -1
  299. package/dist/index81.js +18 -39
  300. package/dist/index81.js.map +1 -1
  301. package/dist/index82.cjs +14 -38
  302. package/dist/index82.cjs.map +1 -1
  303. package/dist/index82.js +14 -38
  304. package/dist/index82.js.map +1 -1
  305. package/dist/index83.cjs +13 -25
  306. package/dist/index83.cjs.map +1 -1
  307. package/dist/index83.js +13 -25
  308. package/dist/index83.js.map +1 -1
  309. package/dist/index84.cjs +13 -34
  310. package/dist/index84.cjs.map +1 -1
  311. package/dist/index84.js +13 -34
  312. package/dist/index84.js.map +1 -1
  313. package/dist/index85.cjs +16 -4
  314. package/dist/index85.cjs.map +1 -1
  315. package/dist/index85.js +17 -5
  316. package/dist/index85.js.map +1 -1
  317. package/dist/index86.cjs +16 -28
  318. package/dist/index86.cjs.map +1 -1
  319. package/dist/index86.js +16 -28
  320. package/dist/index86.js.map +1 -1
  321. package/dist/index87.cjs +2 -14
  322. package/dist/index87.cjs.map +1 -1
  323. package/dist/index87.js +2 -14
  324. package/dist/index87.js.map +1 -1
  325. package/dist/index88.cjs +2 -80
  326. package/dist/index88.cjs.map +1 -1
  327. package/dist/index88.js +3 -81
  328. package/dist/index88.js.map +1 -1
  329. package/dist/index89.cjs +16 -49
  330. package/dist/index89.cjs.map +1 -1
  331. package/dist/index89.js +17 -50
  332. package/dist/index89.js.map +1 -1
  333. package/dist/index9.cjs +2 -2
  334. package/dist/index9.js +2 -2
  335. package/dist/index90.cjs +19 -10
  336. package/dist/index90.cjs.map +1 -1
  337. package/dist/index90.js +19 -10
  338. package/dist/index90.js.map +1 -1
  339. package/dist/index91.cjs +5 -23
  340. package/dist/index91.cjs.map +1 -1
  341. package/dist/index91.js +6 -24
  342. package/dist/index91.js.map +1 -1
  343. package/dist/index92.cjs +10 -13
  344. package/dist/index92.cjs.map +1 -1
  345. package/dist/index92.js +10 -13
  346. package/dist/index92.js.map +1 -1
  347. package/dist/index93.cjs +2 -17
  348. package/dist/index93.cjs.map +1 -1
  349. package/dist/index93.js +2 -17
  350. package/dist/index93.js.map +1 -1
  351. package/dist/index94.cjs +9 -15
  352. package/dist/index94.cjs.map +1 -1
  353. package/dist/index94.js +10 -16
  354. package/dist/index94.js.map +1 -1
  355. package/dist/index95.cjs +49 -28
  356. package/dist/index95.cjs.map +1 -1
  357. package/dist/index95.js +49 -28
  358. package/dist/index95.js.map +1 -1
  359. package/dist/index96.cjs +25 -52
  360. package/dist/index96.cjs.map +1 -1
  361. package/dist/index96.js +25 -52
  362. package/dist/index96.js.map +1 -1
  363. package/dist/index97.cjs +21 -15
  364. package/dist/index97.cjs.map +1 -1
  365. package/dist/index97.js +21 -15
  366. package/dist/index97.js.map +1 -1
  367. package/dist/index98.cjs +39 -24
  368. package/dist/index98.cjs.map +1 -1
  369. package/dist/index98.js +38 -23
  370. package/dist/index98.js.map +1 -1
  371. package/dist/index99.cjs +95 -0
  372. package/dist/index99.cjs.map +1 -0
  373. package/dist/index99.js +95 -0
  374. package/dist/index99.js.map +1 -0
  375. package/dist/primitives/Checkbox/Checkbox.d.ts +4 -0
  376. package/dist/primitives/Checkbox/Checkbox.d.ts.map +1 -0
  377. package/dist/primitives/Checkbox/Checkbox.types.d.ts +14 -0
  378. package/dist/primitives/Checkbox/Checkbox.types.d.ts.map +1 -0
  379. package/dist/primitives/Checkbox/index.d.ts +3 -0
  380. package/dist/primitives/Checkbox/index.d.ts.map +1 -0
  381. package/dist/primitives/EmptyState/EmptyState.d.ts +4 -0
  382. package/dist/primitives/EmptyState/EmptyState.d.ts.map +1 -0
  383. package/dist/primitives/EmptyState/EmptyState.types.d.ts +14 -0
  384. package/dist/primitives/EmptyState/EmptyState.types.d.ts.map +1 -0
  385. package/dist/primitives/EmptyState/index.d.ts +3 -0
  386. package/dist/primitives/EmptyState/index.d.ts.map +1 -0
  387. package/dist/style.css +98 -0
  388. package/dist/types/chart.types.d.ts +11 -0
  389. package/dist/types/chart.types.d.ts.map +1 -1
  390. package/dist/types/index.d.ts +1 -1
  391. package/dist/types/index.d.ts.map +1 -1
  392. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index58.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index58.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index58.js CHANGED
@@ -1,9 +1,24 @@
1
- const root = "krc-root-bWynN";
1
+ const root = "krc-root-jkFwM";
2
+ const sidebar = "krc-sidebar-g7vxQ";
3
+ const sidebarCollapsed = "krc-sidebarCollapsed-Xiswa";
4
+ const main = "krc-main-B4HyG";
5
+ const content = "krc-content-72sFf";
6
+ const title = "krc-title-pe-1P";
2
7
  const styles = {
3
- root
8
+ root,
9
+ sidebar,
10
+ sidebarCollapsed,
11
+ main,
12
+ content,
13
+ title
4
14
  };
5
15
  export {
16
+ content,
6
17
  styles as default,
7
- root
18
+ main,
19
+ root,
20
+ sidebar,
21
+ sidebarCollapsed,
22
+ title
8
23
  };
9
24
  //# sourceMappingURL=index58.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index58.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index58.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
package/dist/index59.cjs CHANGED
@@ -1,92 +1,72 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const ICON_SIZE = {
4
- SM: 14,
5
- MD: 16,
6
- LG: 18
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const root = "krc-root-HS837";
4
+ const gapNone = "krc-gapNone-MmCvp";
5
+ const gapXs = "krc-gapXs-Jketq";
6
+ const gapSm = "krc-gapSm-BFLhK";
7
+ const gapMd = "krc-gapMd--7IRg";
8
+ const gapLg = "krc-gapLg-ehuIZ";
9
+ const gapXl = "krc-gapXl-kNEyc";
10
+ const alignStart = "krc-alignStart-q6fMC";
11
+ const alignCenter = "krc-alignCenter-Py2Kt";
12
+ const alignEnd = "krc-alignEnd-ialGn";
13
+ const alignStretch = "krc-alignStretch-J-rq4";
14
+ const alignBaseline = "krc-alignBaseline-Hg-4L";
15
+ const justifyStart = "krc-justifyStart-tBqbD";
16
+ const justifyCenter = "krc-justifyCenter-6QDaO";
17
+ const justifyEnd = "krc-justifyEnd-2tbcB";
18
+ const justifyBetween = "krc-justifyBetween-5W1AJ";
19
+ const justifyAround = "krc-justifyAround-AMU1m";
20
+ const justifyEvenly = "krc-justifyEvenly-Vj3C-";
21
+ const wrap = "krc-wrap-Q4txZ";
22
+ const nowrap = "krc-nowrap-BUcfT";
23
+ const dirRow = "krc-dirRow-NBoPO";
24
+ const dirColumn = "krc-dirColumn-gJ7qS";
25
+ const styles = {
26
+ root,
27
+ gapNone,
28
+ gapXs,
29
+ gapSm,
30
+ gapMd,
31
+ gapLg,
32
+ gapXl,
33
+ alignStart,
34
+ alignCenter,
35
+ alignEnd,
36
+ alignStretch,
37
+ alignBaseline,
38
+ justifyStart,
39
+ justifyCenter,
40
+ justifyEnd,
41
+ justifyBetween,
42
+ justifyAround,
43
+ justifyEvenly,
44
+ wrap,
45
+ nowrap,
46
+ dirRow,
47
+ dirColumn
7
48
  };
8
- const SVG_VIEWBOX = "0 0 24 24";
9
- const SVG_STROKE_WIDTH = 2;
10
- const KEYBOARD_STEP = 2;
11
- const VIEWPORT_MARGIN = 32;
12
- const CONTEXT_MENU_MARGIN = 10;
13
- const CHART_MODAL = {
14
- MIN_WIDTH: 960,
15
- MIN_HEIGHT: 480,
16
- MAX_WIDTH: 2400,
17
- MAX_HEIGHT: 1300,
18
- DEFAULT_WIDTH: 1500,
19
- DEFAULT_HEIGHT: 820,
20
- FALLBACK_WIDTH: 1400,
21
- FALLBACK_HEIGHT: 800
22
- };
23
- const MAX_SANKEY_NODES = 150;
24
- const MAX_SERIES = 20;
25
- const MAX_CATEGORIES = 20;
26
- const MAX_SUBCATEGORIES = 10;
27
- const CHART_COLORS = [
28
- "#FF6B5A",
29
- "#5B8DEF",
30
- "#4ECDC4",
31
- "#F7B731",
32
- "#A55EEA",
33
- "#26DE81",
34
- "#FC5C65",
35
- "#45AAF2",
36
- "#FD9644",
37
- "#2BCBBA",
38
- "#D1D8E0",
39
- "#778CA3",
40
- "#EB3B5A",
41
- "#3867D6",
42
- "#20BF6B",
43
- "#F7B731",
44
- "#8854D0",
45
- "#0FB9B1",
46
- "#FA8231",
47
- "#4B6584"
48
- ];
49
- const MIN_COLUMN_WIDTH = 40;
50
- const SIDEBAR = {
51
- WIDTH: 240,
52
- COLLAPSED_WIDTH: 80
53
- };
54
- const COUNTERS_PAGE_SIZE = 100;
55
- const TOAST_DURATION_MS = 3200;
56
- const PAGINATION = {
57
- /** Page numbers shown on each side of the current page. */
58
- SIBLING_COUNT: 1,
59
- /** Page numbers pinned at the first/last boundaries. */
60
- BOUNDARY_COUNT: 1
61
- };
62
- const SCATTER = {
63
- /** Marks drawn before deterministic sampling kicks in. */
64
- MAX_POINTS: 2e3,
65
- MIN_SYMBOL_SIZE: 6,
66
- MAX_SYMBOL_SIZE: 28,
67
- /** Symbol size used when no point carries a weight. */
68
- BASE_SYMBOL_SIZE: 10
69
- };
70
- const RANGE_SLIDER = {
71
- DEFAULT_STEP: 1
72
- };
73
- exports.CHART_COLORS = CHART_COLORS;
74
- exports.CHART_MODAL = CHART_MODAL;
75
- exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
76
- exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
77
- exports.ICON_SIZE = ICON_SIZE;
78
- exports.KEYBOARD_STEP = KEYBOARD_STEP;
79
- exports.MAX_CATEGORIES = MAX_CATEGORIES;
80
- exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
81
- exports.MAX_SERIES = MAX_SERIES;
82
- exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
83
- exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
84
- exports.PAGINATION = PAGINATION;
85
- exports.RANGE_SLIDER = RANGE_SLIDER;
86
- exports.SCATTER = SCATTER;
87
- exports.SIDEBAR = SIDEBAR;
88
- exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
89
- exports.SVG_VIEWBOX = SVG_VIEWBOX;
90
- exports.TOAST_DURATION_MS = TOAST_DURATION_MS;
91
- exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
49
+ exports.alignBaseline = alignBaseline;
50
+ exports.alignCenter = alignCenter;
51
+ exports.alignEnd = alignEnd;
52
+ exports.alignStart = alignStart;
53
+ exports.alignStretch = alignStretch;
54
+ exports.default = styles;
55
+ exports.dirColumn = dirColumn;
56
+ exports.dirRow = dirRow;
57
+ exports.gapLg = gapLg;
58
+ exports.gapMd = gapMd;
59
+ exports.gapNone = gapNone;
60
+ exports.gapSm = gapSm;
61
+ exports.gapXl = gapXl;
62
+ exports.gapXs = gapXs;
63
+ exports.justifyAround = justifyAround;
64
+ exports.justifyBetween = justifyBetween;
65
+ exports.justifyCenter = justifyCenter;
66
+ exports.justifyEnd = justifyEnd;
67
+ exports.justifyEvenly = justifyEvenly;
68
+ exports.justifyStart = justifyStart;
69
+ exports.nowrap = nowrap;
70
+ exports.root = root;
71
+ exports.wrap = wrap;
92
72
  //# sourceMappingURL=index59.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index59.cjs","sources":["../src/constants.ts"],"sourcesContent":["/**\n * Shared constants for the component library.\n * Centralises magic numbers used across components.\n */\n\n/** SVG icon rendered sizes (px — used as HTML/SVG attributes, not CSS). */\nexport const ICON_SIZE = {\n SM: 14,\n MD: 16,\n LG: 18,\n} as const;\n\n/** Standard SVG viewBox for 24×24 icon grid. */\nexport const SVG_VIEWBOX = '0 0 24 24';\n\n/** Standard SVG stroke width. */\nexport const SVG_STROKE_WIDTH = 2;\n\n/** Keyboard accessibility step (percentage points per arrow press). */\nexport const KEYBOARD_STEP = 2;\n\n/** Viewport safety margin (px — used in JS calculations with DOM APIs). */\nexport const VIEWPORT_MARGIN = 32;\n\n/** ContextMenu viewport margin (px). */\nexport const CONTEXT_MENU_MARGIN = 10;\n\n/** ChartExpandModal dimension constraints (px — used with window.innerWidth). */\nexport const CHART_MODAL = {\n MIN_WIDTH: 960,\n MIN_HEIGHT: 480,\n MAX_WIDTH: 2400,\n MAX_HEIGHT: 1300,\n DEFAULT_WIDTH: 1500,\n DEFAULT_HEIGHT: 820,\n FALLBACK_WIDTH: 1400,\n FALLBACK_HEIGHT: 800,\n} as const;\n\n/** Maximum Sankey nodes before truncation warning. */\nexport const MAX_SANKEY_NODES = 150;\n\n/** Maximum stacked series before \"Other\" aggregation. */\nexport const MAX_SERIES = 20;\n\n/** Maximum categories in stacked bar chart. */\nexport const MAX_CATEGORIES = 20;\n\n/** Maximum subcategories per category. */\nexport const MAX_SUBCATEGORIES = 10;\n\n/** Time range preset durations in milliseconds. */\nexport const TIME_PRESET_MS = {\n '1h': 3_600_000,\n '6h': 21_600_000,\n '24h': 86_400_000,\n '7d': 604_800_000,\n '30d': 2_592_000_000,\n} as const;\n\n/** Default chart color palette. */\nexport const CHART_COLORS = [\n '#FF6B5A', '#5B8DEF', '#4ECDC4', '#F7B731', '#A55EEA',\n '#26DE81', '#FC5C65', '#45AAF2', '#FD9644', '#2BCBBA',\n '#D1D8E0', '#778CA3', '#EB3B5A', '#3867D6', '#20BF6B',\n '#F7B731', '#8854D0', '#0FB9B1', '#FA8231', '#4B6584',\n] as const;\n\n/** Minimum column width for resizable tables (px — used in JS calculations). */\nexport const MIN_COLUMN_WIDTH = 40;\n\n/** Sidebar dimension constants (px — used as inline styles). */\nexport const SIDEBAR = {\n WIDTH: 240,\n COLLAPSED_WIDTH: 80,\n} as const;\n\n/** Counters analysis pagination. */\nexport const COUNTERS_PAGE_SIZE = 100;\n\n/** Default time a toast stays visible before auto-dismiss (ms). */\nexport const TOAST_DURATION_MS = 3200;\n\n/** Pagination page-range defaults. */\nexport const PAGINATION = {\n /** Page numbers shown on each side of the current page. */\n SIBLING_COUNT: 1,\n /** Page numbers pinned at the first/last boundaries. */\n BOUNDARY_COUNT: 1,\n} as const;\n\n/** ScatterChartCard mark cap and symbol radii (px — echarts canvas attributes, not CSS). */\nexport const SCATTER = {\n /** Marks drawn before deterministic sampling kicks in. */\n MAX_POINTS: 2000,\n MIN_SYMBOL_SIZE: 6,\n MAX_SYMBOL_SIZE: 28,\n /** Symbol size used when no point carries a weight. */\n BASE_SYMBOL_SIZE: 10,\n} as const;\n\n/** RangeSlider defaults. */\nexport const RANGE_SLIDER = {\n DEFAULT_STEP: 1,\n} as const;\n"],"names":[],"mappings":";;AAMO,MAAM,YAAY;AAAA,EACvB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAGO,MAAM,cAAc;AAGpB,MAAM,mBAAmB;AAGzB,MAAM,gBAAgB;AAGtB,MAAM,kBAAkB;AAGxB,MAAM,sBAAsB;AAG5B,MAAM,cAAc;AAAA,EACzB,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,iBAAiB;AACnB;AAGO,MAAM,mBAAmB;AAGzB,MAAM,aAAa;AAGnB,MAAM,iBAAiB;AAGvB,MAAM,oBAAoB;AAY1B,MAAM,eAAe;AAAA,EAC1B;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAC9C;AAGO,MAAM,mBAAmB;AAGzB,MAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,iBAAiB;AACnB;AAGO,MAAM,qBAAqB;AAG3B,MAAM,oBAAoB;AAG1B,MAAM,aAAa;AAAA;AAAA,EAExB,eAAe;AAAA;AAAA,EAEf,gBAAgB;AAClB;AAGO,MAAM,UAAU;AAAA;AAAA,EAErB,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,iBAAiB;AAAA;AAAA,EAEjB,kBAAkB;AACpB;AAGO,MAAM,eAAe;AAAA,EAC1B,cAAc;AAChB;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index59.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index59.js CHANGED
@@ -1,92 +1,72 @@
1
- const ICON_SIZE = {
2
- SM: 14,
3
- MD: 16,
4
- LG: 18
5
- };
6
- const SVG_VIEWBOX = "0 0 24 24";
7
- const SVG_STROKE_WIDTH = 2;
8
- const KEYBOARD_STEP = 2;
9
- const VIEWPORT_MARGIN = 32;
10
- const CONTEXT_MENU_MARGIN = 10;
11
- const CHART_MODAL = {
12
- MIN_WIDTH: 960,
13
- MIN_HEIGHT: 480,
14
- MAX_WIDTH: 2400,
15
- MAX_HEIGHT: 1300,
16
- DEFAULT_WIDTH: 1500,
17
- DEFAULT_HEIGHT: 820,
18
- FALLBACK_WIDTH: 1400,
19
- FALLBACK_HEIGHT: 800
20
- };
21
- const MAX_SANKEY_NODES = 150;
22
- const MAX_SERIES = 20;
23
- const MAX_CATEGORIES = 20;
24
- const MAX_SUBCATEGORIES = 10;
25
- const CHART_COLORS = [
26
- "#FF6B5A",
27
- "#5B8DEF",
28
- "#4ECDC4",
29
- "#F7B731",
30
- "#A55EEA",
31
- "#26DE81",
32
- "#FC5C65",
33
- "#45AAF2",
34
- "#FD9644",
35
- "#2BCBBA",
36
- "#D1D8E0",
37
- "#778CA3",
38
- "#EB3B5A",
39
- "#3867D6",
40
- "#20BF6B",
41
- "#F7B731",
42
- "#8854D0",
43
- "#0FB9B1",
44
- "#FA8231",
45
- "#4B6584"
46
- ];
47
- const MIN_COLUMN_WIDTH = 40;
48
- const SIDEBAR = {
49
- WIDTH: 240,
50
- COLLAPSED_WIDTH: 80
51
- };
52
- const COUNTERS_PAGE_SIZE = 100;
53
- const TOAST_DURATION_MS = 3200;
54
- const PAGINATION = {
55
- /** Page numbers shown on each side of the current page. */
56
- SIBLING_COUNT: 1,
57
- /** Page numbers pinned at the first/last boundaries. */
58
- BOUNDARY_COUNT: 1
59
- };
60
- const SCATTER = {
61
- /** Marks drawn before deterministic sampling kicks in. */
62
- MAX_POINTS: 2e3,
63
- MIN_SYMBOL_SIZE: 6,
64
- MAX_SYMBOL_SIZE: 28,
65
- /** Symbol size used when no point carries a weight. */
66
- BASE_SYMBOL_SIZE: 10
67
- };
68
- const RANGE_SLIDER = {
69
- DEFAULT_STEP: 1
1
+ const root = "krc-root-HS837";
2
+ const gapNone = "krc-gapNone-MmCvp";
3
+ const gapXs = "krc-gapXs-Jketq";
4
+ const gapSm = "krc-gapSm-BFLhK";
5
+ const gapMd = "krc-gapMd--7IRg";
6
+ const gapLg = "krc-gapLg-ehuIZ";
7
+ const gapXl = "krc-gapXl-kNEyc";
8
+ const alignStart = "krc-alignStart-q6fMC";
9
+ const alignCenter = "krc-alignCenter-Py2Kt";
10
+ const alignEnd = "krc-alignEnd-ialGn";
11
+ const alignStretch = "krc-alignStretch-J-rq4";
12
+ const alignBaseline = "krc-alignBaseline-Hg-4L";
13
+ const justifyStart = "krc-justifyStart-tBqbD";
14
+ const justifyCenter = "krc-justifyCenter-6QDaO";
15
+ const justifyEnd = "krc-justifyEnd-2tbcB";
16
+ const justifyBetween = "krc-justifyBetween-5W1AJ";
17
+ const justifyAround = "krc-justifyAround-AMU1m";
18
+ const justifyEvenly = "krc-justifyEvenly-Vj3C-";
19
+ const wrap = "krc-wrap-Q4txZ";
20
+ const nowrap = "krc-nowrap-BUcfT";
21
+ const dirRow = "krc-dirRow-NBoPO";
22
+ const dirColumn = "krc-dirColumn-gJ7qS";
23
+ const styles = {
24
+ root,
25
+ gapNone,
26
+ gapXs,
27
+ gapSm,
28
+ gapMd,
29
+ gapLg,
30
+ gapXl,
31
+ alignStart,
32
+ alignCenter,
33
+ alignEnd,
34
+ alignStretch,
35
+ alignBaseline,
36
+ justifyStart,
37
+ justifyCenter,
38
+ justifyEnd,
39
+ justifyBetween,
40
+ justifyAround,
41
+ justifyEvenly,
42
+ wrap,
43
+ nowrap,
44
+ dirRow,
45
+ dirColumn
70
46
  };
71
47
  export {
72
- CHART_COLORS,
73
- CHART_MODAL,
74
- CONTEXT_MENU_MARGIN,
75
- COUNTERS_PAGE_SIZE,
76
- ICON_SIZE,
77
- KEYBOARD_STEP,
78
- MAX_CATEGORIES,
79
- MAX_SANKEY_NODES,
80
- MAX_SERIES,
81
- MAX_SUBCATEGORIES,
82
- MIN_COLUMN_WIDTH,
83
- PAGINATION,
84
- RANGE_SLIDER,
85
- SCATTER,
86
- SIDEBAR,
87
- SVG_STROKE_WIDTH,
88
- SVG_VIEWBOX,
89
- TOAST_DURATION_MS,
90
- VIEWPORT_MARGIN
48
+ alignBaseline,
49
+ alignCenter,
50
+ alignEnd,
51
+ alignStart,
52
+ alignStretch,
53
+ styles as default,
54
+ dirColumn,
55
+ dirRow,
56
+ gapLg,
57
+ gapMd,
58
+ gapNone,
59
+ gapSm,
60
+ gapXl,
61
+ gapXs,
62
+ justifyAround,
63
+ justifyBetween,
64
+ justifyCenter,
65
+ justifyEnd,
66
+ justifyEvenly,
67
+ justifyStart,
68
+ nowrap,
69
+ root,
70
+ wrap
91
71
  };
92
72
  //# sourceMappingURL=index59.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index59.js","sources":["../src/constants.ts"],"sourcesContent":["/**\n * Shared constants for the component library.\n * Centralises magic numbers used across components.\n */\n\n/** SVG icon rendered sizes (px — used as HTML/SVG attributes, not CSS). */\nexport const ICON_SIZE = {\n SM: 14,\n MD: 16,\n LG: 18,\n} as const;\n\n/** Standard SVG viewBox for 24×24 icon grid. */\nexport const SVG_VIEWBOX = '0 0 24 24';\n\n/** Standard SVG stroke width. */\nexport const SVG_STROKE_WIDTH = 2;\n\n/** Keyboard accessibility step (percentage points per arrow press). */\nexport const KEYBOARD_STEP = 2;\n\n/** Viewport safety margin (px — used in JS calculations with DOM APIs). */\nexport const VIEWPORT_MARGIN = 32;\n\n/** ContextMenu viewport margin (px). */\nexport const CONTEXT_MENU_MARGIN = 10;\n\n/** ChartExpandModal dimension constraints (px — used with window.innerWidth). */\nexport const CHART_MODAL = {\n MIN_WIDTH: 960,\n MIN_HEIGHT: 480,\n MAX_WIDTH: 2400,\n MAX_HEIGHT: 1300,\n DEFAULT_WIDTH: 1500,\n DEFAULT_HEIGHT: 820,\n FALLBACK_WIDTH: 1400,\n FALLBACK_HEIGHT: 800,\n} as const;\n\n/** Maximum Sankey nodes before truncation warning. */\nexport const MAX_SANKEY_NODES = 150;\n\n/** Maximum stacked series before \"Other\" aggregation. */\nexport const MAX_SERIES = 20;\n\n/** Maximum categories in stacked bar chart. */\nexport const MAX_CATEGORIES = 20;\n\n/** Maximum subcategories per category. */\nexport const MAX_SUBCATEGORIES = 10;\n\n/** Time range preset durations in milliseconds. */\nexport const TIME_PRESET_MS = {\n '1h': 3_600_000,\n '6h': 21_600_000,\n '24h': 86_400_000,\n '7d': 604_800_000,\n '30d': 2_592_000_000,\n} as const;\n\n/** Default chart color palette. */\nexport const CHART_COLORS = [\n '#FF6B5A', '#5B8DEF', '#4ECDC4', '#F7B731', '#A55EEA',\n '#26DE81', '#FC5C65', '#45AAF2', '#FD9644', '#2BCBBA',\n '#D1D8E0', '#778CA3', '#EB3B5A', '#3867D6', '#20BF6B',\n '#F7B731', '#8854D0', '#0FB9B1', '#FA8231', '#4B6584',\n] as const;\n\n/** Minimum column width for resizable tables (px — used in JS calculations). */\nexport const MIN_COLUMN_WIDTH = 40;\n\n/** Sidebar dimension constants (px — used as inline styles). */\nexport const SIDEBAR = {\n WIDTH: 240,\n COLLAPSED_WIDTH: 80,\n} as const;\n\n/** Counters analysis pagination. */\nexport const COUNTERS_PAGE_SIZE = 100;\n\n/** Default time a toast stays visible before auto-dismiss (ms). */\nexport const TOAST_DURATION_MS = 3200;\n\n/** Pagination page-range defaults. */\nexport const PAGINATION = {\n /** Page numbers shown on each side of the current page. */\n SIBLING_COUNT: 1,\n /** Page numbers pinned at the first/last boundaries. */\n BOUNDARY_COUNT: 1,\n} as const;\n\n/** ScatterChartCard mark cap and symbol radii (px — echarts canvas attributes, not CSS). */\nexport const SCATTER = {\n /** Marks drawn before deterministic sampling kicks in. */\n MAX_POINTS: 2000,\n MIN_SYMBOL_SIZE: 6,\n MAX_SYMBOL_SIZE: 28,\n /** Symbol size used when no point carries a weight. */\n BASE_SYMBOL_SIZE: 10,\n} as const;\n\n/** RangeSlider defaults. */\nexport const RANGE_SLIDER = {\n DEFAULT_STEP: 1,\n} as const;\n"],"names":[],"mappings":"AAMO,MAAM,YAAY;AAAA,EACvB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAGO,MAAM,cAAc;AAGpB,MAAM,mBAAmB;AAGzB,MAAM,gBAAgB;AAGtB,MAAM,kBAAkB;AAGxB,MAAM,sBAAsB;AAG5B,MAAM,cAAc;AAAA,EACzB,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,iBAAiB;AACnB;AAGO,MAAM,mBAAmB;AAGzB,MAAM,aAAa;AAGnB,MAAM,iBAAiB;AAGvB,MAAM,oBAAoB;AAY1B,MAAM,eAAe;AAAA,EAC1B;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAC9C;AAGO,MAAM,mBAAmB;AAGzB,MAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,iBAAiB;AACnB;AAGO,MAAM,qBAAqB;AAG3B,MAAM,oBAAoB;AAG1B,MAAM,aAAa;AAAA;AAAA,EAExB,eAAe;AAAA;AAAA,EAEf,gBAAgB;AAClB;AAGO,MAAM,UAAU;AAAA;AAAA,EAErB,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,iBAAiB;AAAA;AAAA,EAEjB,kBAAkB;AACpB;AAGO,MAAM,eAAe;AAAA,EAC1B,cAAc;AAChB;"}
1
+ {"version":3,"file":"index59.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index60.cjs CHANGED
@@ -1,27 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-1fbld";
4
- const rail = "krc-rail-S-V5h";
5
- const fill = "krc-fill-NAEy9";
6
- const tick = "krc-tick-j75qi";
7
- const disabled = "krc-disabled-DgBiL";
8
- const thumb = "krc-thumb-QVYVM";
9
- const valueTooltip = "krc-valueTooltip-Vuimh";
3
+ const root = "krc-root-pJYpn";
10
4
  const styles = {
11
- root,
12
- rail,
13
- fill,
14
- tick,
15
- disabled,
16
- thumb,
17
- valueTooltip
5
+ root
18
6
  };
19
7
  exports.default = styles;
20
- exports.disabled = disabled;
21
- exports.fill = fill;
22
- exports.rail = rail;
23
8
  exports.root = root;
24
- exports.thumb = thumb;
25
- exports.tick = tick;
26
- exports.valueTooltip = valueTooltip;
27
9
  //# sourceMappingURL=index60.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index60.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index60.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/index60.js CHANGED
@@ -1,27 +1,9 @@
1
- const root = "krc-root-1fbld";
2
- const rail = "krc-rail-S-V5h";
3
- const fill = "krc-fill-NAEy9";
4
- const tick = "krc-tick-j75qi";
5
- const disabled = "krc-disabled-DgBiL";
6
- const thumb = "krc-thumb-QVYVM";
7
- const valueTooltip = "krc-valueTooltip-Vuimh";
1
+ const root = "krc-root-pJYpn";
8
2
  const styles = {
9
- root,
10
- rail,
11
- fill,
12
- tick,
13
- disabled,
14
- thumb,
15
- valueTooltip
3
+ root
16
4
  };
17
5
  export {
18
6
  styles as default,
19
- disabled,
20
- fill,
21
- rail,
22
- root,
23
- thumb,
24
- tick,
25
- valueTooltip
7
+ root
26
8
  };
27
9
  //# sourceMappingURL=index60.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index60.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index60.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index61.cjs CHANGED
@@ -1,45 +1,92 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-0iK-T";
4
- const header = "krc-header-vLmNI";
5
- const title = "krc-title-J9FSG";
6
- const headerActions = "krc-headerActions-8Sd6i";
7
- const toolbar = "krc-toolbar-65kLR";
8
- const toolbarLabel = "krc-toolbarLabel-kmRLQ";
9
- const toolbarSelect = "krc-toolbarSelect-t7OKN";
10
- const chartContainer = "krc-chartContainer-1-iIe";
11
- const loading = "krc-loading-MRlom";
12
- const error = "krc-error-esslq";
13
- const retryButton = "krc-retryButton-js385";
14
- const empty = "krc-empty-qYFPa";
15
- const warning = "krc-warning-ll4Hc";
16
- const styles = {
17
- root,
18
- header,
19
- title,
20
- headerActions,
21
- toolbar,
22
- toolbarLabel,
23
- toolbarSelect,
24
- chartContainer,
25
- loading,
26
- error,
27
- retryButton,
28
- empty,
29
- warning
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const ICON_SIZE = {
4
+ SM: 14,
5
+ MD: 16,
6
+ LG: 18
30
7
  };
31
- exports.chartContainer = chartContainer;
32
- exports.default = styles;
33
- exports.empty = empty;
34
- exports.error = error;
35
- exports.header = header;
36
- exports.headerActions = headerActions;
37
- exports.loading = loading;
38
- exports.retryButton = retryButton;
39
- exports.root = root;
40
- exports.title = title;
41
- exports.toolbar = toolbar;
42
- exports.toolbarLabel = toolbarLabel;
43
- exports.toolbarSelect = toolbarSelect;
44
- exports.warning = warning;
8
+ const SVG_VIEWBOX = "0 0 24 24";
9
+ const SVG_STROKE_WIDTH = 2;
10
+ const KEYBOARD_STEP = 2;
11
+ const VIEWPORT_MARGIN = 32;
12
+ const CONTEXT_MENU_MARGIN = 10;
13
+ const CHART_MODAL = {
14
+ MIN_WIDTH: 960,
15
+ MIN_HEIGHT: 480,
16
+ MAX_WIDTH: 2400,
17
+ MAX_HEIGHT: 1300,
18
+ DEFAULT_WIDTH: 1500,
19
+ DEFAULT_HEIGHT: 820,
20
+ FALLBACK_WIDTH: 1400,
21
+ FALLBACK_HEIGHT: 800
22
+ };
23
+ const MAX_SANKEY_NODES = 150;
24
+ const MAX_SERIES = 20;
25
+ const MAX_CATEGORIES = 20;
26
+ const MAX_SUBCATEGORIES = 10;
27
+ const CHART_COLORS = [
28
+ "#FF6B5A",
29
+ "#5B8DEF",
30
+ "#4ECDC4",
31
+ "#F7B731",
32
+ "#A55EEA",
33
+ "#26DE81",
34
+ "#FC5C65",
35
+ "#45AAF2",
36
+ "#FD9644",
37
+ "#2BCBBA",
38
+ "#D1D8E0",
39
+ "#778CA3",
40
+ "#EB3B5A",
41
+ "#3867D6",
42
+ "#20BF6B",
43
+ "#F7B731",
44
+ "#8854D0",
45
+ "#0FB9B1",
46
+ "#FA8231",
47
+ "#4B6584"
48
+ ];
49
+ const MIN_COLUMN_WIDTH = 40;
50
+ const SIDEBAR = {
51
+ WIDTH: 240,
52
+ COLLAPSED_WIDTH: 80
53
+ };
54
+ const COUNTERS_PAGE_SIZE = 100;
55
+ const TOAST_DURATION_MS = 3200;
56
+ const PAGINATION = {
57
+ /** Page numbers shown on each side of the current page. */
58
+ SIBLING_COUNT: 1,
59
+ /** Page numbers pinned at the first/last boundaries. */
60
+ BOUNDARY_COUNT: 1
61
+ };
62
+ const SCATTER = {
63
+ /** Marks drawn before deterministic sampling kicks in. */
64
+ MAX_POINTS: 2e3,
65
+ MIN_SYMBOL_SIZE: 6,
66
+ MAX_SYMBOL_SIZE: 28,
67
+ /** Symbol size used when no point carries a weight. */
68
+ BASE_SYMBOL_SIZE: 10
69
+ };
70
+ const RANGE_SLIDER = {
71
+ DEFAULT_STEP: 1
72
+ };
73
+ exports.CHART_COLORS = CHART_COLORS;
74
+ exports.CHART_MODAL = CHART_MODAL;
75
+ exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
76
+ exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
77
+ exports.ICON_SIZE = ICON_SIZE;
78
+ exports.KEYBOARD_STEP = KEYBOARD_STEP;
79
+ exports.MAX_CATEGORIES = MAX_CATEGORIES;
80
+ exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
81
+ exports.MAX_SERIES = MAX_SERIES;
82
+ exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
83
+ exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
84
+ exports.PAGINATION = PAGINATION;
85
+ exports.RANGE_SLIDER = RANGE_SLIDER;
86
+ exports.SCATTER = SCATTER;
87
+ exports.SIDEBAR = SIDEBAR;
88
+ exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
89
+ exports.SVG_VIEWBOX = SVG_VIEWBOX;
90
+ exports.TOAST_DURATION_MS = TOAST_DURATION_MS;
91
+ exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
45
92
  //# sourceMappingURL=index61.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index61.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index61.cjs","sources":["../src/constants.ts"],"sourcesContent":["/**\n * Shared constants for the component library.\n * Centralises magic numbers used across components.\n */\n\n/** SVG icon rendered sizes (px — used as HTML/SVG attributes, not CSS). */\nexport const ICON_SIZE = {\n SM: 14,\n MD: 16,\n LG: 18,\n} as const;\n\n/** Standard SVG viewBox for 24×24 icon grid. */\nexport const SVG_VIEWBOX = '0 0 24 24';\n\n/** Standard SVG stroke width. */\nexport const SVG_STROKE_WIDTH = 2;\n\n/** Keyboard accessibility step (percentage points per arrow press). */\nexport const KEYBOARD_STEP = 2;\n\n/** Viewport safety margin (px — used in JS calculations with DOM APIs). */\nexport const VIEWPORT_MARGIN = 32;\n\n/** ContextMenu viewport margin (px). */\nexport const CONTEXT_MENU_MARGIN = 10;\n\n/** ChartExpandModal dimension constraints (px — used with window.innerWidth). */\nexport const CHART_MODAL = {\n MIN_WIDTH: 960,\n MIN_HEIGHT: 480,\n MAX_WIDTH: 2400,\n MAX_HEIGHT: 1300,\n DEFAULT_WIDTH: 1500,\n DEFAULT_HEIGHT: 820,\n FALLBACK_WIDTH: 1400,\n FALLBACK_HEIGHT: 800,\n} as const;\n\n/** Maximum Sankey nodes before truncation warning. */\nexport const MAX_SANKEY_NODES = 150;\n\n/** Maximum stacked series before \"Other\" aggregation. */\nexport const MAX_SERIES = 20;\n\n/** Maximum categories in stacked bar chart. */\nexport const MAX_CATEGORIES = 20;\n\n/** Maximum subcategories per category. */\nexport const MAX_SUBCATEGORIES = 10;\n\n/** Time range preset durations in milliseconds. */\nexport const TIME_PRESET_MS = {\n '1h': 3_600_000,\n '6h': 21_600_000,\n '24h': 86_400_000,\n '7d': 604_800_000,\n '30d': 2_592_000_000,\n} as const;\n\n/** Default chart color palette. */\nexport const CHART_COLORS = [\n '#FF6B5A', '#5B8DEF', '#4ECDC4', '#F7B731', '#A55EEA',\n '#26DE81', '#FC5C65', '#45AAF2', '#FD9644', '#2BCBBA',\n '#D1D8E0', '#778CA3', '#EB3B5A', '#3867D6', '#20BF6B',\n '#F7B731', '#8854D0', '#0FB9B1', '#FA8231', '#4B6584',\n] as const;\n\n/** Minimum column width for resizable tables (px — used in JS calculations). */\nexport const MIN_COLUMN_WIDTH = 40;\n\n/** Sidebar dimension constants (px — used as inline styles). */\nexport const SIDEBAR = {\n WIDTH: 240,\n COLLAPSED_WIDTH: 80,\n} as const;\n\n/** Counters analysis pagination. */\nexport const COUNTERS_PAGE_SIZE = 100;\n\n/** Default time a toast stays visible before auto-dismiss (ms). */\nexport const TOAST_DURATION_MS = 3200;\n\n/** Pagination page-range defaults. */\nexport const PAGINATION = {\n /** Page numbers shown on each side of the current page. */\n SIBLING_COUNT: 1,\n /** Page numbers pinned at the first/last boundaries. */\n BOUNDARY_COUNT: 1,\n} as const;\n\n/** ScatterChartCard mark cap and symbol radii (px — echarts canvas attributes, not CSS). */\nexport const SCATTER = {\n /** Marks drawn before deterministic sampling kicks in. */\n MAX_POINTS: 2000,\n MIN_SYMBOL_SIZE: 6,\n MAX_SYMBOL_SIZE: 28,\n /** Symbol size used when no point carries a weight. */\n BASE_SYMBOL_SIZE: 10,\n} as const;\n\n/** RangeSlider defaults. */\nexport const RANGE_SLIDER = {\n DEFAULT_STEP: 1,\n} as const;\n"],"names":[],"mappings":";;AAMO,MAAM,YAAY;AAAA,EACvB,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAGO,MAAM,cAAc;AAGpB,MAAM,mBAAmB;AAGzB,MAAM,gBAAgB;AAGtB,MAAM,kBAAkB;AAGxB,MAAM,sBAAsB;AAG5B,MAAM,cAAc;AAAA,EACzB,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,iBAAiB;AACnB;AAGO,MAAM,mBAAmB;AAGzB,MAAM,aAAa;AAGnB,MAAM,iBAAiB;AAGvB,MAAM,oBAAoB;AAY1B,MAAM,eAAe;AAAA,EAC1B;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAC5C;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAAA,EAAW;AAC9C;AAGO,MAAM,mBAAmB;AAGzB,MAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,iBAAiB;AACnB;AAGO,MAAM,qBAAqB;AAG3B,MAAM,oBAAoB;AAG1B,MAAM,aAAa;AAAA;AAAA,EAExB,eAAe;AAAA;AAAA,EAEf,gBAAgB;AAClB;AAGO,MAAM,UAAU;AAAA;AAAA,EAErB,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,iBAAiB;AAAA;AAAA,EAEjB,kBAAkB;AACpB;AAGO,MAAM,eAAe;AAAA,EAC1B,cAAc;AAChB;;;;;;;;;;;;;;;;;;;;"}