@ktnpm_devops/react-component 0.6.0 → 0.7.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 (238) hide show
  1. package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts +5 -1
  2. package/dist/composites/MultiSelectDropdown/MultiSelectDropdown.d.ts.map +1 -1
  3. package/dist/index10.cjs +1 -1
  4. package/dist/index10.js +1 -1
  5. package/dist/index11.cjs +1 -1
  6. package/dist/index11.js +1 -1
  7. package/dist/index12.cjs +1 -1
  8. package/dist/index12.js +1 -1
  9. package/dist/index13.cjs +1 -1
  10. package/dist/index13.js +1 -1
  11. package/dist/index14.cjs +1 -1
  12. package/dist/index14.js +1 -1
  13. package/dist/index15.cjs +2 -2
  14. package/dist/index15.js +2 -2
  15. package/dist/index16.cjs +1 -1
  16. package/dist/index16.js +1 -1
  17. package/dist/index17.cjs +1 -1
  18. package/dist/index17.js +1 -1
  19. package/dist/index18.cjs +2 -2
  20. package/dist/index18.js +2 -2
  21. package/dist/index19.cjs +2 -2
  22. package/dist/index19.js +2 -2
  23. package/dist/index20.cjs +2 -2
  24. package/dist/index20.js +2 -2
  25. package/dist/index21.cjs +1 -1
  26. package/dist/index21.js +1 -1
  27. package/dist/index22.cjs +1 -1
  28. package/dist/index22.js +1 -1
  29. package/dist/index23.cjs +1 -1
  30. package/dist/index23.js +1 -1
  31. package/dist/index24.cjs +1 -1
  32. package/dist/index24.js +1 -1
  33. package/dist/index25.cjs +1 -1
  34. package/dist/index25.js +1 -1
  35. package/dist/index26.cjs +1 -1
  36. package/dist/index26.js +1 -1
  37. package/dist/index27.cjs +2 -2
  38. package/dist/index27.js +2 -2
  39. package/dist/index28.cjs +1 -1
  40. package/dist/index28.js +1 -1
  41. package/dist/index29.cjs +11 -9
  42. package/dist/index29.cjs.map +1 -1
  43. package/dist/index29.js +11 -9
  44. package/dist/index29.js.map +1 -1
  45. package/dist/index30.cjs +1 -1
  46. package/dist/index30.js +1 -1
  47. package/dist/index31.cjs +2 -2
  48. package/dist/index31.js +2 -2
  49. package/dist/index32.cjs +2 -2
  50. package/dist/index32.js +2 -2
  51. package/dist/index33.cjs +1 -1
  52. package/dist/index33.js +1 -1
  53. package/dist/index34.cjs +2 -2
  54. package/dist/index34.js +2 -2
  55. package/dist/index35.cjs +1 -1
  56. package/dist/index35.js +1 -1
  57. package/dist/index36.cjs +1 -1
  58. package/dist/index36.js +1 -1
  59. package/dist/index37.cjs +1 -1
  60. package/dist/index37.js +1 -1
  61. package/dist/index38.cjs +2 -2
  62. package/dist/index38.js +2 -2
  63. package/dist/index39.cjs +2 -2
  64. package/dist/index39.js +2 -2
  65. package/dist/index40.cjs +1 -1
  66. package/dist/index40.js +1 -1
  67. package/dist/index41.cjs +3 -3
  68. package/dist/index41.js +3 -3
  69. package/dist/index42.cjs +1 -1
  70. package/dist/index42.js +1 -1
  71. package/dist/index43.cjs +1 -1
  72. package/dist/index43.js +1 -1
  73. package/dist/index44.cjs +2 -2
  74. package/dist/index44.js +2 -2
  75. package/dist/index45.cjs +1 -1
  76. package/dist/index45.js +1 -1
  77. package/dist/index46.cjs +1 -1
  78. package/dist/index46.js +1 -1
  79. package/dist/index47.cjs +2 -2
  80. package/dist/index47.js +2 -2
  81. package/dist/index49.cjs +1 -1
  82. package/dist/index49.js +1 -1
  83. package/dist/index50.cjs +24 -15
  84. package/dist/index50.cjs.map +1 -1
  85. package/dist/index50.js +24 -15
  86. package/dist/index50.js.map +1 -1
  87. package/dist/index51.cjs +6 -76
  88. package/dist/index51.cjs.map +1 -1
  89. package/dist/index51.js +5 -75
  90. package/dist/index51.js.map +1 -1
  91. package/dist/index52.cjs +5 -14
  92. package/dist/index52.cjs.map +1 -1
  93. package/dist/index52.js +6 -15
  94. package/dist/index52.js.map +1 -1
  95. package/dist/index53.cjs +19 -22
  96. package/dist/index53.cjs.map +1 -1
  97. package/dist/index53.js +19 -22
  98. package/dist/index53.js.map +1 -1
  99. package/dist/index54.cjs +76 -24
  100. package/dist/index54.cjs.map +1 -1
  101. package/dist/index54.js +75 -23
  102. package/dist/index54.js.map +1 -1
  103. package/dist/index55.cjs +16 -22
  104. package/dist/index55.cjs.map +1 -1
  105. package/dist/index55.js +17 -23
  106. package/dist/index55.js.map +1 -1
  107. package/dist/index56.cjs +20 -2
  108. package/dist/index56.cjs.map +1 -1
  109. package/dist/index56.js +20 -2
  110. package/dist/index56.js.map +1 -1
  111. package/dist/index57.cjs +19 -19
  112. package/dist/index57.js +20 -20
  113. package/dist/index58.cjs +23 -5
  114. package/dist/index58.cjs.map +1 -1
  115. package/dist/index58.js +24 -6
  116. package/dist/index58.js.map +1 -1
  117. package/dist/index59.cjs +31 -10
  118. package/dist/index59.cjs.map +1 -1
  119. package/dist/index59.js +32 -11
  120. package/dist/index59.js.map +1 -1
  121. package/dist/index60.cjs +64 -10
  122. package/dist/index60.cjs.map +1 -1
  123. package/dist/index60.js +65 -11
  124. package/dist/index60.js.map +1 -1
  125. package/dist/index61.cjs +13 -64
  126. package/dist/index61.cjs.map +1 -1
  127. package/dist/index61.js +13 -64
  128. package/dist/index61.js.map +1 -1
  129. package/dist/index62.cjs +2 -11
  130. package/dist/index62.cjs.map +1 -1
  131. package/dist/index62.js +3 -12
  132. package/dist/index62.js.map +1 -1
  133. package/dist/index63.cjs +1 -1
  134. package/dist/index63.js +1 -1
  135. package/dist/index64.cjs +46 -34
  136. package/dist/index64.cjs.map +1 -1
  137. package/dist/index64.js +46 -34
  138. package/dist/index64.js.map +1 -1
  139. package/dist/index65.cjs +10 -19
  140. package/dist/index65.cjs.map +1 -1
  141. package/dist/index65.js +11 -20
  142. package/dist/index65.js.map +1 -1
  143. package/dist/index66.cjs +28 -13
  144. package/dist/index66.cjs.map +1 -1
  145. package/dist/index66.js +29 -14
  146. package/dist/index66.js.map +1 -1
  147. package/dist/index67.cjs +10 -28
  148. package/dist/index67.cjs.map +1 -1
  149. package/dist/index67.js +10 -28
  150. package/dist/index67.js.map +1 -1
  151. package/dist/index68.cjs +26 -32
  152. package/dist/index68.cjs.map +1 -1
  153. package/dist/index68.js +26 -32
  154. package/dist/index68.js.map +1 -1
  155. package/dist/index69.cjs +29 -14
  156. package/dist/index69.cjs.map +1 -1
  157. package/dist/index69.js +29 -14
  158. package/dist/index69.js.map +1 -1
  159. package/dist/index70.cjs +134 -19
  160. package/dist/index70.cjs.map +1 -1
  161. package/dist/index70.js +133 -18
  162. package/dist/index70.js.map +1 -1
  163. package/dist/index71.cjs +39 -15
  164. package/dist/index71.cjs.map +1 -1
  165. package/dist/index71.js +40 -16
  166. package/dist/index71.js.map +1 -1
  167. package/dist/index72.cjs +49 -4
  168. package/dist/index72.cjs.map +1 -1
  169. package/dist/index72.js +50 -5
  170. package/dist/index72.js.map +1 -1
  171. package/dist/index73.cjs +19 -37
  172. package/dist/index73.cjs.map +1 -1
  173. package/dist/index73.js +20 -38
  174. package/dist/index73.js.map +1 -1
  175. package/dist/index74.cjs +52 -16
  176. package/dist/index74.cjs.map +1 -1
  177. package/dist/index74.js +53 -17
  178. package/dist/index74.js.map +1 -1
  179. package/dist/index75.cjs +77 -35
  180. package/dist/index75.cjs.map +1 -1
  181. package/dist/index75.js +77 -35
  182. package/dist/index75.js.map +1 -1
  183. package/dist/index76.cjs +17 -2
  184. package/dist/index76.cjs.map +1 -1
  185. package/dist/index76.js +18 -3
  186. package/dist/index76.js.map +1 -1
  187. package/dist/index77.cjs +10 -52
  188. package/dist/index77.cjs.map +1 -1
  189. package/dist/index77.js +11 -53
  190. package/dist/index77.js.map +1 -1
  191. package/dist/index78.cjs +15 -27
  192. package/dist/index78.cjs.map +1 -1
  193. package/dist/index78.js +15 -27
  194. package/dist/index78.js.map +1 -1
  195. package/dist/index79.cjs +35 -47
  196. package/dist/index79.cjs.map +1 -1
  197. package/dist/index79.js +35 -47
  198. package/dist/index79.js.map +1 -1
  199. package/dist/index80.cjs +4 -46
  200. package/dist/index80.cjs.map +1 -1
  201. package/dist/index80.js +5 -47
  202. package/dist/index80.js.map +1 -1
  203. package/dist/index81.cjs +16 -31
  204. package/dist/index81.cjs.map +1 -1
  205. package/dist/index81.js +16 -31
  206. package/dist/index81.js.map +1 -1
  207. package/dist/index82.cjs +13 -16
  208. package/dist/index82.cjs.map +1 -1
  209. package/dist/index82.js +14 -17
  210. package/dist/index82.js.map +1 -1
  211. package/dist/index83.cjs +32 -50
  212. package/dist/index83.cjs.map +1 -1
  213. package/dist/index83.js +32 -50
  214. package/dist/index83.js.map +1 -1
  215. package/dist/index84.cjs +13 -16
  216. package/dist/index84.cjs.map +1 -1
  217. package/dist/index84.js +14 -17
  218. package/dist/index84.js.map +1 -1
  219. package/dist/index85.cjs +16 -79
  220. package/dist/index85.cjs.map +1 -1
  221. package/dist/index85.js +16 -79
  222. package/dist/index85.js.map +1 -1
  223. package/dist/index86.cjs +31 -134
  224. package/dist/index86.cjs.map +1 -1
  225. package/dist/index86.js +30 -133
  226. package/dist/index86.js.map +1 -1
  227. package/dist/index87.cjs +50 -38
  228. package/dist/index87.cjs.map +1 -1
  229. package/dist/index87.js +50 -38
  230. package/dist/index87.js.map +1 -1
  231. package/dist/index88.cjs +25 -16
  232. package/dist/index88.cjs.map +1 -1
  233. package/dist/index88.js +26 -17
  234. package/dist/index88.js.map +1 -1
  235. package/dist/index9.cjs +1 -1
  236. package/dist/index9.js +1 -1
  237. package/dist/style.css +5 -1
  238. package/package.json +1 -1
package/dist/index50.js CHANGED
@@ -1,21 +1,30 @@
1
- const region = "krc-region-4A3qS";
2
- const toast = "krc-toast-VuzaK";
3
- const toastIn = "krc-toast-in-TA6-r";
4
- const success = "krc-success-oDnTy";
5
- const error = "krc-error-dSTQn";
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";
6
9
  const styles = {
7
- region,
8
- toast,
9
- toastIn,
10
- success,
11
- error
10
+ root,
11
+ primary,
12
+ secondary,
13
+ outline,
14
+ ghost,
15
+ danger,
16
+ sm,
17
+ lg
12
18
  };
13
19
  export {
20
+ danger,
14
21
  styles as default,
15
- error,
16
- region,
17
- success,
18
- toast,
19
- toastIn
22
+ ghost,
23
+ lg,
24
+ outline,
25
+ primary,
26
+ root,
27
+ secondary,
28
+ sm
20
29
  };
21
30
  //# sourceMappingURL=index50.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index50.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index50.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
package/dist/index51.cjs CHANGED
@@ -1,79 +1,9 @@
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-jba0x";
4
+ const styles = {
5
+ root
7
6
  };
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;
7
+ exports.default = styles;
8
+ exports.root = root;
79
9
  //# sourceMappingURL=index51.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index51.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":"index51.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/index51.js CHANGED
@@ -1,79 +1,9 @@
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-jba0x";
2
+ const styles = {
3
+ root
59
4
  };
60
5
  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
6
+ styles as default,
7
+ root
78
8
  };
79
9
  //# sourceMappingURL=index51.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index51.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":"index51.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
package/dist/index52.cjs CHANGED
@@ -1,21 +1,12 @@
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 container = "krc-container-cpDoQ";
4
+ const root = "krc-root-20TMP";
8
5
  const styles = {
9
- root,
10
- success,
11
- warning,
12
- danger,
13
- info
6
+ container,
7
+ root
14
8
  };
15
- exports.danger = danger;
9
+ exports.container = container;
16
10
  exports.default = styles;
17
- exports.info = info;
18
11
  exports.root = root;
19
- exports.success = success;
20
- exports.warning = warning;
21
12
  //# sourceMappingURL=index52.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index52.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index52.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
package/dist/index52.js CHANGED
@@ -1,21 +1,12 @@
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 container = "krc-container-cpDoQ";
2
+ const root = "krc-root-20TMP";
6
3
  const styles = {
7
- root,
8
- success,
9
- warning,
10
- danger,
11
- info
4
+ container,
5
+ root
12
6
  };
13
7
  export {
14
- danger,
8
+ container,
15
9
  styles as default,
16
- info,
17
- root,
18
- success,
19
- warning
10
+ root
20
11
  };
21
12
  //# sourceMappingURL=index52.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index52.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
1
+ {"version":3,"file":"index52.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
package/dist/index53.cjs CHANGED
@@ -1,30 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-ZwPiG";
4
- const label = "krc-label-WG17f";
5
- const value = "krc-value-S9SSu";
6
- const red = "krc-red-stqO-";
7
- const amber = "krc-amber-lZgsd";
8
- const sub = "krc-sub-0xfrv";
9
- const isClick = "krc-isClick-CnKvM";
10
- const isActive = "krc-isActive-YLCNL";
3
+ const overlay = "krc-overlay-4gFc3";
4
+ const root = "krc-root-eKDda";
5
+ const header = "krc-header-YrzLd";
6
+ const title = "krc-title-9rzEH";
7
+ const closeBtn = "krc-closeBtn-vGJ7P";
8
+ const body = "krc-body-g43Cd";
9
+ const footer = "krc-footer-JRwi5";
11
10
  const styles = {
11
+ overlay,
12
12
  root,
13
- label,
14
- value,
15
- red,
16
- amber,
17
- sub,
18
- isClick,
19
- isActive
13
+ header,
14
+ title,
15
+ closeBtn,
16
+ body,
17
+ footer
20
18
  };
21
- exports.amber = amber;
19
+ exports.body = body;
20
+ exports.closeBtn = closeBtn;
22
21
  exports.default = styles;
23
- exports.isActive = isActive;
24
- exports.isClick = isClick;
25
- exports.label = label;
26
- exports.red = red;
22
+ exports.footer = footer;
23
+ exports.header = header;
24
+ exports.overlay = overlay;
27
25
  exports.root = root;
28
- exports.sub = sub;
29
- exports.value = value;
26
+ exports.title = title;
30
27
  //# sourceMappingURL=index53.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index53.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index53.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index53.js CHANGED
@@ -1,30 +1,27 @@
1
- const root = "krc-root-ZwPiG";
2
- const label = "krc-label-WG17f";
3
- const value = "krc-value-S9SSu";
4
- const red = "krc-red-stqO-";
5
- const amber = "krc-amber-lZgsd";
6
- const sub = "krc-sub-0xfrv";
7
- const isClick = "krc-isClick-CnKvM";
8
- const isActive = "krc-isActive-YLCNL";
1
+ const overlay = "krc-overlay-4gFc3";
2
+ const root = "krc-root-eKDda";
3
+ const header = "krc-header-YrzLd";
4
+ const title = "krc-title-9rzEH";
5
+ const closeBtn = "krc-closeBtn-vGJ7P";
6
+ const body = "krc-body-g43Cd";
7
+ const footer = "krc-footer-JRwi5";
9
8
  const styles = {
9
+ overlay,
10
10
  root,
11
- label,
12
- value,
13
- red,
14
- amber,
15
- sub,
16
- isClick,
17
- isActive
11
+ header,
12
+ title,
13
+ closeBtn,
14
+ body,
15
+ footer
18
16
  };
19
17
  export {
20
- amber,
18
+ body,
19
+ closeBtn,
21
20
  styles as default,
22
- isActive,
23
- isClick,
24
- label,
25
- red,
21
+ footer,
22
+ header,
23
+ overlay,
26
24
  root,
27
- sub,
28
- value
25
+ title
29
26
  };
30
27
  //# sourceMappingURL=index53.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index53.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index53.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
package/dist/index54.cjs CHANGED
@@ -1,27 +1,79 @@
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
+ 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;
27
79
  //# sourceMappingURL=index54.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index54.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
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;;;;;;;;;;;;;;;;;;"}
package/dist/index54.js CHANGED
@@ -1,27 +1,79 @@
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
16
59
  };
17
60
  export {
18
- styles as default,
19
- isOn,
20
- md,
21
- pill,
22
- root,
23
- segment,
24
- sm,
25
- square
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
26
78
  };
27
79
  //# sourceMappingURL=index54.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index54.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
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;"}