@ktnpm_devops/react-component 0.8.0 → 0.9.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 (300) hide show
  1. package/dist/constants.d.ts +4 -0
  2. package/dist/constants.d.ts.map +1 -1
  3. package/dist/index.cjs +18 -16
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +2 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +18 -16
  8. package/dist/index.js.map +1 -1
  9. package/dist/index10.cjs +2 -2
  10. package/dist/index10.js +2 -2
  11. package/dist/index11.cjs +2 -2
  12. package/dist/index11.js +2 -2
  13. package/dist/index12.cjs +2 -2
  14. package/dist/index12.js +2 -2
  15. package/dist/index13.cjs +2 -2
  16. package/dist/index13.js +2 -2
  17. package/dist/index14.cjs +2 -2
  18. package/dist/index14.js +2 -2
  19. package/dist/index15.cjs +3 -3
  20. package/dist/index15.js +3 -3
  21. package/dist/index16.cjs +2 -2
  22. package/dist/index16.js +2 -2
  23. package/dist/index17.cjs +2 -2
  24. package/dist/index17.js +2 -2
  25. package/dist/index18.cjs +2 -2
  26. package/dist/index18.js +2 -2
  27. package/dist/index19.cjs +2 -2
  28. package/dist/index19.js +2 -2
  29. package/dist/index20.cjs +3 -3
  30. package/dist/index20.js +3 -3
  31. package/dist/index21.cjs +3 -3
  32. package/dist/index21.js +3 -3
  33. package/dist/index22.cjs +3 -3
  34. package/dist/index22.js +3 -3
  35. package/dist/index23.cjs +2 -2
  36. package/dist/index23.js +2 -2
  37. package/dist/index24.cjs +2 -2
  38. package/dist/index24.js +2 -2
  39. package/dist/index25.cjs +2 -2
  40. package/dist/index25.js +2 -2
  41. package/dist/index26.cjs +3 -3
  42. package/dist/index26.js +3 -3
  43. package/dist/index27.cjs +2 -2
  44. package/dist/index27.js +2 -2
  45. package/dist/index28.cjs +2 -2
  46. package/dist/index28.js +2 -2
  47. package/dist/index29.cjs +3 -3
  48. package/dist/index29.js +3 -3
  49. package/dist/index30.cjs +2 -2
  50. package/dist/index30.js +2 -2
  51. package/dist/index31.cjs +3 -3
  52. package/dist/index31.js +3 -3
  53. package/dist/index32.cjs +2 -2
  54. package/dist/index32.js +2 -2
  55. package/dist/index33.cjs +3 -3
  56. package/dist/index33.js +3 -3
  57. package/dist/index34.cjs +66 -76
  58. package/dist/index34.cjs.map +1 -1
  59. package/dist/index34.js +67 -77
  60. package/dist/index34.js.map +1 -1
  61. package/dist/index35.cjs +76 -57
  62. package/dist/index35.cjs.map +1 -1
  63. package/dist/index35.js +77 -58
  64. package/dist/index35.js.map +1 -1
  65. package/dist/index36.cjs +56 -150
  66. package/dist/index36.cjs.map +1 -1
  67. package/dist/index36.js +58 -152
  68. package/dist/index36.js.map +1 -1
  69. package/dist/index37.cjs +147 -66
  70. package/dist/index37.cjs.map +1 -1
  71. package/dist/index37.js +149 -68
  72. package/dist/index37.js.map +1 -1
  73. package/dist/index38.cjs +71 -7
  74. package/dist/index38.cjs.map +1 -1
  75. package/dist/index38.js +72 -8
  76. package/dist/index38.js.map +1 -1
  77. package/dist/index39.cjs +8 -17
  78. package/dist/index39.cjs.map +1 -1
  79. package/dist/index39.js +9 -18
  80. package/dist/index39.js.map +1 -1
  81. package/dist/index40.cjs +15 -75
  82. package/dist/index40.cjs.map +1 -1
  83. package/dist/index40.js +16 -76
  84. package/dist/index40.js.map +1 -1
  85. package/dist/index41.cjs +68 -134
  86. package/dist/index41.cjs.map +1 -1
  87. package/dist/index41.js +70 -136
  88. package/dist/index41.js.map +1 -1
  89. package/dist/index42.cjs +137 -58
  90. package/dist/index42.cjs.map +1 -1
  91. package/dist/index42.js +138 -59
  92. package/dist/index42.js.map +1 -1
  93. package/dist/index43.cjs +61 -102
  94. package/dist/index43.cjs.map +1 -1
  95. package/dist/index43.js +61 -102
  96. package/dist/index43.js.map +1 -1
  97. package/dist/index44.cjs +102 -44
  98. package/dist/index44.cjs.map +1 -1
  99. package/dist/index44.js +103 -45
  100. package/dist/index44.js.map +1 -1
  101. package/dist/index45.cjs +47 -6
  102. package/dist/index45.cjs.map +1 -1
  103. package/dist/index45.js +48 -7
  104. package/dist/index45.js.map +1 -1
  105. package/dist/index46.cjs +6 -216
  106. package/dist/index46.cjs.map +1 -1
  107. package/dist/index46.js +7 -217
  108. package/dist/index46.js.map +1 -1
  109. package/dist/index47.cjs +215 -7
  110. package/dist/index47.cjs.map +1 -1
  111. package/dist/index47.js +217 -9
  112. package/dist/index47.js.map +1 -1
  113. package/dist/index48.cjs +6 -15
  114. package/dist/index48.cjs.map +1 -1
  115. package/dist/index48.js +6 -15
  116. package/dist/index48.js.map +1 -1
  117. package/dist/index49.cjs +15 -64
  118. package/dist/index49.cjs.map +1 -1
  119. package/dist/index49.js +17 -66
  120. package/dist/index49.js.map +1 -1
  121. package/dist/index50.cjs +67 -15
  122. package/dist/index50.cjs.map +1 -1
  123. package/dist/index50.js +66 -14
  124. package/dist/index50.js.map +1 -1
  125. package/dist/index51.cjs +15 -6
  126. package/dist/index51.cjs.map +1 -1
  127. package/dist/index51.js +15 -6
  128. package/dist/index51.js.map +1 -1
  129. package/dist/index53.cjs +21 -15
  130. package/dist/index53.cjs.map +1 -1
  131. package/dist/index53.js +21 -15
  132. package/dist/index53.js.map +1 -1
  133. package/dist/index54.cjs +27 -76
  134. package/dist/index54.cjs.map +1 -1
  135. package/dist/index54.js +26 -75
  136. package/dist/index54.js.map +1 -1
  137. package/dist/index55.cjs +10 -13
  138. package/dist/index55.cjs.map +1 -1
  139. package/dist/index55.js +10 -13
  140. package/dist/index55.js.map +1 -1
  141. package/dist/index56.cjs +80 -24
  142. package/dist/index56.cjs.map +1 -1
  143. package/dist/index56.js +79 -23
  144. package/dist/index56.js.map +1 -1
  145. package/dist/index57.cjs +28 -22
  146. package/dist/index57.cjs.map +1 -1
  147. package/dist/index57.js +28 -22
  148. package/dist/index57.js.map +1 -1
  149. package/dist/index58.cjs +15 -30
  150. package/dist/index58.cjs.map +1 -1
  151. package/dist/index58.js +15 -30
  152. package/dist/index58.js.map +1 -1
  153. package/dist/index59.cjs +13 -19
  154. package/dist/index59.cjs.map +1 -1
  155. package/dist/index59.js +14 -20
  156. package/dist/index59.js.map +1 -1
  157. package/dist/index60.cjs +10 -49
  158. package/dist/index60.cjs.map +1 -1
  159. package/dist/index60.js +11 -50
  160. package/dist/index60.js.map +1 -1
  161. package/dist/index61.cjs +13 -52
  162. package/dist/index61.cjs.map +1 -1
  163. package/dist/index61.js +13 -52
  164. package/dist/index61.js.map +1 -1
  165. package/dist/index62.cjs +49 -43
  166. package/dist/index62.cjs.map +1 -1
  167. package/dist/index62.js +50 -44
  168. package/dist/index62.js.map +1 -1
  169. package/dist/index63.cjs +2 -17
  170. package/dist/index63.cjs.map +1 -1
  171. package/dist/index63.js +3 -18
  172. package/dist/index63.js.map +1 -1
  173. package/dist/index64.cjs +2 -29
  174. package/dist/index64.cjs.map +1 -1
  175. package/dist/index64.js +3 -30
  176. package/dist/index64.js.map +1 -1
  177. package/dist/index65.cjs +5 -17
  178. package/dist/index65.cjs.map +1 -1
  179. package/dist/index65.js +6 -18
  180. package/dist/index65.js.map +1 -1
  181. package/dist/index66.cjs +45 -15
  182. package/dist/index66.cjs.map +1 -1
  183. package/dist/index66.js +46 -16
  184. package/dist/index66.js.map +1 -1
  185. package/dist/index67.cjs +19 -4
  186. package/dist/index67.cjs.map +1 -1
  187. package/dist/index67.js +19 -4
  188. package/dist/index67.js.map +1 -1
  189. package/dist/index68.cjs +19 -37
  190. package/dist/index68.cjs.map +1 -1
  191. package/dist/index68.js +19 -37
  192. package/dist/index68.js.map +1 -1
  193. package/dist/index69.cjs +1 -1
  194. package/dist/index69.js +1 -1
  195. package/dist/index70.cjs +19 -13
  196. package/dist/index70.cjs.map +1 -1
  197. package/dist/index70.js +19 -13
  198. package/dist/index70.js.map +1 -1
  199. package/dist/index72.cjs +28 -10
  200. package/dist/index72.cjs.map +1 -1
  201. package/dist/index72.js +28 -10
  202. package/dist/index72.js.map +1 -1
  203. package/dist/index73.cjs +65 -5
  204. package/dist/index73.cjs.map +1 -1
  205. package/dist/index73.js +66 -6
  206. package/dist/index73.js.map +1 -1
  207. package/dist/index74.cjs +2 -20
  208. package/dist/index74.cjs.map +1 -1
  209. package/dist/index74.js +3 -21
  210. package/dist/index74.js.map +1 -1
  211. package/dist/index75.cjs +34 -16
  212. package/dist/index75.cjs.map +1 -1
  213. package/dist/index75.js +35 -17
  214. package/dist/index75.js.map +1 -1
  215. package/dist/index76.cjs +13 -64
  216. package/dist/index76.cjs.map +1 -1
  217. package/dist/index76.js +14 -65
  218. package/dist/index76.js.map +1 -1
  219. package/dist/index77.cjs +16 -19
  220. package/dist/index77.cjs.map +1 -1
  221. package/dist/index77.js +16 -19
  222. package/dist/index77.js.map +1 -1
  223. package/dist/index78.cjs +20 -2
  224. package/dist/index78.cjs.map +1 -1
  225. package/dist/index78.js +20 -2
  226. package/dist/index78.js.map +1 -1
  227. package/dist/index79.cjs +79 -13
  228. package/dist/index79.cjs.map +1 -1
  229. package/dist/index79.js +80 -14
  230. package/dist/index79.js.map +1 -1
  231. package/dist/index80.cjs +27 -30
  232. package/dist/index80.cjs.map +1 -1
  233. package/dist/index80.js +27 -30
  234. package/dist/index80.js.map +1 -1
  235. package/dist/index81.cjs +49 -52
  236. package/dist/index81.cjs.map +1 -1
  237. package/dist/index81.js +49 -52
  238. package/dist/index81.js.map +1 -1
  239. package/dist/index82.cjs +22 -134
  240. package/dist/index82.cjs.map +1 -1
  241. package/dist/index82.js +21 -133
  242. package/dist/index82.js.map +1 -1
  243. package/dist/index83.cjs +4 -40
  244. package/dist/index83.cjs.map +1 -1
  245. package/dist/index83.js +5 -41
  246. package/dist/index83.js.map +1 -1
  247. package/dist/index84.cjs +28 -10
  248. package/dist/index84.cjs.map +1 -1
  249. package/dist/index84.js +28 -10
  250. package/dist/index84.js.map +1 -1
  251. package/dist/index85.cjs +134 -19
  252. package/dist/index85.cjs.map +1 -1
  253. package/dist/index85.js +133 -18
  254. package/dist/index85.js.map +1 -1
  255. package/dist/index86.cjs +36 -30
  256. package/dist/index86.cjs.map +1 -1
  257. package/dist/index86.js +36 -30
  258. package/dist/index86.js.map +1 -1
  259. package/dist/index87.cjs +35 -77
  260. package/dist/index87.cjs.map +1 -1
  261. package/dist/index87.js +35 -77
  262. package/dist/index87.js.map +1 -1
  263. package/dist/index88.cjs +53 -2
  264. package/dist/index88.cjs.map +1 -1
  265. package/dist/index88.js +54 -3
  266. package/dist/index88.js.map +1 -1
  267. package/dist/index89.cjs +13 -37
  268. package/dist/index89.cjs.map +1 -1
  269. package/dist/index89.js +14 -38
  270. package/dist/index89.js.map +1 -1
  271. package/dist/index9.cjs +2 -2
  272. package/dist/index9.js +2 -2
  273. package/dist/index90.cjs +16 -10
  274. package/dist/index90.cjs.map +1 -1
  275. package/dist/index90.js +17 -11
  276. package/dist/index90.js.map +1 -1
  277. package/dist/index91.cjs +9 -33
  278. package/dist/index91.cjs.map +1 -1
  279. package/dist/index91.js +10 -34
  280. package/dist/index91.js.map +1 -1
  281. package/dist/index92.cjs +34 -25
  282. package/dist/index92.cjs.map +1 -1
  283. package/dist/index92.js +34 -25
  284. package/dist/index92.js.map +1 -1
  285. package/dist/index93.cjs +24 -0
  286. package/dist/index93.cjs.map +1 -0
  287. package/dist/index93.js +24 -0
  288. package/dist/index93.js.map +1 -0
  289. package/dist/index94.cjs +45 -0
  290. package/dist/index94.cjs.map +1 -0
  291. package/dist/index94.js +45 -0
  292. package/dist/index94.js.map +1 -0
  293. package/dist/primitives/RangeSlider/RangeSlider.d.ts +4 -0
  294. package/dist/primitives/RangeSlider/RangeSlider.d.ts.map +1 -0
  295. package/dist/primitives/RangeSlider/RangeSlider.types.d.ts +12 -0
  296. package/dist/primitives/RangeSlider/RangeSlider.types.d.ts.map +1 -0
  297. package/dist/primitives/RangeSlider/index.d.ts +3 -0
  298. package/dist/primitives/RangeSlider/index.d.ts.map +1 -0
  299. package/dist/style.css +120 -0
  300. package/package.json +1 -1
package/dist/index54.cjs CHANGED
@@ -1,79 +1,30 @@
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-Kdtyn";
4
+ const primary = "krc-primary-6l6aH";
5
+ const secondary = "krc-secondary-29n8Y";
6
+ const outline = "krc-outline-U1Mlr";
7
+ const ghost = "krc-ghost-5wRsR";
8
+ const danger = "krc-danger-gL4NM";
9
+ const sm = "krc-sm-zP51s";
10
+ const lg = "krc-lg-ZefGA";
11
+ const styles = {
12
+ root,
13
+ primary,
14
+ secondary,
15
+ outline,
16
+ ghost,
17
+ danger,
18
+ sm,
19
+ lg
7
20
  };
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
- exports.CHART_COLORS = CHART_COLORS;
63
- exports.CHART_MODAL = CHART_MODAL;
64
- exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
65
- exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
66
- exports.ICON_SIZE = ICON_SIZE;
67
- exports.KEYBOARD_STEP = KEYBOARD_STEP;
68
- exports.MAX_CATEGORIES = MAX_CATEGORIES;
69
- exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
70
- exports.MAX_SERIES = MAX_SERIES;
71
- exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
72
- exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
73
- exports.PAGINATION = PAGINATION;
74
- exports.SIDEBAR = SIDEBAR;
75
- exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
76
- exports.SVG_VIEWBOX = SVG_VIEWBOX;
77
- exports.TOAST_DURATION_MS = TOAST_DURATION_MS;
78
- exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
21
+ exports.danger = danger;
22
+ exports.default = styles;
23
+ exports.ghost = ghost;
24
+ exports.lg = lg;
25
+ exports.outline = outline;
26
+ exports.primary = primary;
27
+ exports.root = root;
28
+ exports.secondary = secondary;
29
+ exports.sm = sm;
79
30
  //# sourceMappingURL=index54.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index54.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"],"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;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index54.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index54.js CHANGED
@@ -1,79 +1,30 @@
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
1
+ const root = "krc-root-Kdtyn";
2
+ const primary = "krc-primary-6l6aH";
3
+ const secondary = "krc-secondary-29n8Y";
4
+ const outline = "krc-outline-U1Mlr";
5
+ const ghost = "krc-ghost-5wRsR";
6
+ const danger = "krc-danger-gL4NM";
7
+ const sm = "krc-sm-zP51s";
8
+ const lg = "krc-lg-ZefGA";
9
+ const styles = {
10
+ root,
11
+ primary,
12
+ secondary,
13
+ outline,
14
+ ghost,
15
+ danger,
16
+ sm,
17
+ lg
59
18
  };
60
19
  export {
61
- CHART_COLORS,
62
- CHART_MODAL,
63
- CONTEXT_MENU_MARGIN,
64
- COUNTERS_PAGE_SIZE,
65
- ICON_SIZE,
66
- KEYBOARD_STEP,
67
- MAX_CATEGORIES,
68
- MAX_SANKEY_NODES,
69
- MAX_SERIES,
70
- MAX_SUBCATEGORIES,
71
- MIN_COLUMN_WIDTH,
72
- PAGINATION,
73
- SIDEBAR,
74
- SVG_STROKE_WIDTH,
75
- SVG_VIEWBOX,
76
- TOAST_DURATION_MS,
77
- VIEWPORT_MARGIN
20
+ danger,
21
+ styles as default,
22
+ ghost,
23
+ lg,
24
+ outline,
25
+ primary,
26
+ root,
27
+ secondary,
28
+ sm
78
29
  };
79
30
  //# sourceMappingURL=index54.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index54.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"],"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;"}
1
+ {"version":3,"file":"index54.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
package/dist/index55.cjs CHANGED
@@ -1,21 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-oc0XP";
4
- const success = "krc-success-JzpGX";
5
- const warning = "krc-warning-lTskX";
6
- const danger = "krc-danger-zFPHk";
7
- const info = "krc-info-k9uTn";
3
+ const root = "krc-root-GPZXT";
4
+ const sm = "krc-sm-QGnvH";
5
+ const md = "krc-md-rQKlJ";
6
+ const lg = "krc-lg-eC2yT";
8
7
  const styles = {
9
8
  root,
10
- success,
11
- warning,
12
- danger,
13
- info
9
+ sm,
10
+ md,
11
+ lg
14
12
  };
15
- exports.danger = danger;
16
13
  exports.default = styles;
17
- exports.info = info;
14
+ exports.lg = lg;
15
+ exports.md = md;
18
16
  exports.root = root;
19
- exports.success = success;
20
- exports.warning = warning;
17
+ exports.sm = sm;
21
18
  //# sourceMappingURL=index55.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index55.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index55.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
package/dist/index55.js CHANGED
@@ -1,21 +1,18 @@
1
- const root = "krc-root-oc0XP";
2
- const success = "krc-success-JzpGX";
3
- const warning = "krc-warning-lTskX";
4
- const danger = "krc-danger-zFPHk";
5
- const info = "krc-info-k9uTn";
1
+ const root = "krc-root-GPZXT";
2
+ const sm = "krc-sm-QGnvH";
3
+ const md = "krc-md-rQKlJ";
4
+ const lg = "krc-lg-eC2yT";
6
5
  const styles = {
7
6
  root,
8
- success,
9
- warning,
10
- danger,
11
- info
7
+ sm,
8
+ md,
9
+ lg
12
10
  };
13
11
  export {
14
- danger,
15
12
  styles as default,
16
- info,
13
+ lg,
14
+ md,
17
15
  root,
18
- success,
19
- warning
16
+ sm
20
17
  };
21
18
  //# sourceMappingURL=index55.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index55.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index55.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
package/dist/index56.cjs CHANGED
@@ -1,27 +1,83 @@
1
1
  "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-vqaJ6";
4
- const pill = "krc-pill-8z557";
5
- const square = "krc-square-g0EM3";
6
- const segment = "krc-segment-5-V31";
7
- const isOn = "krc-isOn-7tAhJ";
8
- const md = "krc-md-pA-Ck";
9
- const sm = "krc-sm-VMB3s";
10
- const styles = {
11
- root,
12
- pill,
13
- square,
14
- segment,
15
- isOn,
16
- md,
17
- sm
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const ICON_SIZE = {
4
+ SM: 14,
5
+ MD: 16,
6
+ LG: 18
18
7
  };
19
- exports.default = styles;
20
- exports.isOn = isOn;
21
- exports.md = md;
22
- exports.pill = pill;
23
- exports.root = root;
24
- exports.segment = segment;
25
- exports.sm = sm;
26
- exports.square = square;
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 RANGE_SLIDER = {
63
+ DEFAULT_STEP: 1
64
+ };
65
+ exports.CHART_COLORS = CHART_COLORS;
66
+ exports.CHART_MODAL = CHART_MODAL;
67
+ exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
68
+ exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
69
+ exports.ICON_SIZE = ICON_SIZE;
70
+ exports.KEYBOARD_STEP = KEYBOARD_STEP;
71
+ exports.MAX_CATEGORIES = MAX_CATEGORIES;
72
+ exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
73
+ exports.MAX_SERIES = MAX_SERIES;
74
+ exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
75
+ exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
76
+ exports.PAGINATION = PAGINATION;
77
+ exports.RANGE_SLIDER = RANGE_SLIDER;
78
+ exports.SIDEBAR = SIDEBAR;
79
+ exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
80
+ exports.SVG_VIEWBOX = SVG_VIEWBOX;
81
+ exports.TOAST_DURATION_MS = TOAST_DURATION_MS;
82
+ exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
27
83
  //# sourceMappingURL=index56.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index56.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index56.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/** 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,eAAe;AAAA,EAC1B,cAAc;AAChB;;;;;;;;;;;;;;;;;;;"}
package/dist/index56.js CHANGED
@@ -1,27 +1,83 @@
1
- const root = "krc-root-vqaJ6";
2
- const pill = "krc-pill-8z557";
3
- const square = "krc-square-g0EM3";
4
- const segment = "krc-segment-5-V31";
5
- const isOn = "krc-isOn-7tAhJ";
6
- const md = "krc-md-pA-Ck";
7
- const sm = "krc-sm-VMB3s";
8
- const styles = {
9
- root,
10
- pill,
11
- square,
12
- segment,
13
- isOn,
14
- md,
15
- sm
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 RANGE_SLIDER = {
61
+ DEFAULT_STEP: 1
16
62
  };
17
63
  export {
18
- styles as default,
19
- isOn,
20
- md,
21
- pill,
22
- root,
23
- segment,
24
- sm,
25
- square
64
+ CHART_COLORS,
65
+ CHART_MODAL,
66
+ CONTEXT_MENU_MARGIN,
67
+ COUNTERS_PAGE_SIZE,
68
+ ICON_SIZE,
69
+ KEYBOARD_STEP,
70
+ MAX_CATEGORIES,
71
+ MAX_SANKEY_NODES,
72
+ MAX_SERIES,
73
+ MAX_SUBCATEGORIES,
74
+ MIN_COLUMN_WIDTH,
75
+ PAGINATION,
76
+ RANGE_SLIDER,
77
+ SIDEBAR,
78
+ SVG_STROKE_WIDTH,
79
+ SVG_VIEWBOX,
80
+ TOAST_DURATION_MS,
81
+ VIEWPORT_MARGIN
26
82
  };
27
83
  //# sourceMappingURL=index56.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index56.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index56.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/** 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,eAAe;AAAA,EAC1B,cAAc;AAChB;"}
package/dist/index57.cjs CHANGED
@@ -1,30 +1,36 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-Kdtyn";
4
- const primary = "krc-primary-6l6aH";
5
- const secondary = "krc-secondary-29n8Y";
6
- const outline = "krc-outline-U1Mlr";
7
- const ghost = "krc-ghost-5wRsR";
8
- const danger = "krc-danger-gL4NM";
9
- const sm = "krc-sm-zP51s";
10
- const lg = "krc-lg-ZefGA";
3
+ const root = "krc-root-oXC0g";
4
+ const trigger = "krc-trigger-2YW6R";
5
+ const triggerContent = "krc-triggerContent-Nfhff";
6
+ const chevron = "krc-chevron-otnpb";
7
+ const chevronOpen = "krc-chevronOpen-UoLND";
8
+ const badge = "krc-badge-dN-p-";
9
+ const pop = "krc-pop-IfyfL";
10
+ const chips = "krc-chips-J7YEf";
11
+ const clear = "krc-clear--yvPZ";
12
+ const input = "krc-input--QI2U";
11
13
  const styles = {
12
14
  root,
13
- primary,
14
- secondary,
15
- outline,
16
- ghost,
17
- danger,
18
- sm,
19
- lg
15
+ trigger,
16
+ triggerContent,
17
+ chevron,
18
+ chevronOpen,
19
+ badge,
20
+ pop,
21
+ chips,
22
+ clear,
23
+ input
20
24
  };
21
- exports.danger = danger;
25
+ exports.badge = badge;
26
+ exports.chevron = chevron;
27
+ exports.chevronOpen = chevronOpen;
28
+ exports.chips = chips;
29
+ exports.clear = clear;
22
30
  exports.default = styles;
23
- exports.ghost = ghost;
24
- exports.lg = lg;
25
- exports.outline = outline;
26
- exports.primary = primary;
31
+ exports.input = input;
32
+ exports.pop = pop;
27
33
  exports.root = root;
28
- exports.secondary = secondary;
29
- exports.sm = sm;
34
+ exports.trigger = trigger;
35
+ exports.triggerContent = triggerContent;
30
36
  //# sourceMappingURL=index57.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index57.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index57.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}