@ktnpm_devops/react-component 0.2.1 → 0.3.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 (265) hide show
  1. package/dist/index.cjs +34 -33
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +34 -33
  6. package/dist/index.js.map +1 -1
  7. package/dist/index10.cjs +15 -4
  8. package/dist/index10.cjs.map +1 -1
  9. package/dist/index10.js +15 -4
  10. package/dist/index10.js.map +1 -1
  11. package/dist/index11.cjs +4 -16
  12. package/dist/index11.cjs.map +1 -1
  13. package/dist/index11.js +4 -16
  14. package/dist/index11.js.map +1 -1
  15. package/dist/index12.cjs +16 -10
  16. package/dist/index12.cjs.map +1 -1
  17. package/dist/index12.js +16 -10
  18. package/dist/index12.js.map +1 -1
  19. package/dist/index13.cjs +10 -100
  20. package/dist/index13.cjs.map +1 -1
  21. package/dist/index13.js +11 -101
  22. package/dist/index13.js.map +1 -1
  23. package/dist/index14.cjs +100 -20
  24. package/dist/index14.cjs.map +1 -1
  25. package/dist/index14.js +101 -21
  26. package/dist/index14.js.map +1 -1
  27. package/dist/index15.cjs +20 -90
  28. package/dist/index15.cjs.map +1 -1
  29. package/dist/index15.js +21 -91
  30. package/dist/index15.js.map +1 -1
  31. package/dist/index16.cjs +85 -153
  32. package/dist/index16.cjs.map +1 -1
  33. package/dist/index16.js +87 -155
  34. package/dist/index16.js.map +1 -1
  35. package/dist/index17.cjs +150 -128
  36. package/dist/index17.cjs.map +1 -1
  37. package/dist/index17.js +150 -128
  38. package/dist/index17.js.map +1 -1
  39. package/dist/index18.cjs +121 -106
  40. package/dist/index18.cjs.map +1 -1
  41. package/dist/index18.js +122 -107
  42. package/dist/index18.js.map +1 -1
  43. package/dist/index19.cjs +121 -17
  44. package/dist/index19.cjs.map +1 -1
  45. package/dist/index19.js +121 -17
  46. package/dist/index19.js.map +1 -1
  47. package/dist/index20.cjs +17 -8
  48. package/dist/index20.cjs.map +1 -1
  49. package/dist/index20.js +18 -9
  50. package/dist/index20.js.map +1 -1
  51. package/dist/index21.cjs +7 -130
  52. package/dist/index21.cjs.map +1 -1
  53. package/dist/index21.js +9 -132
  54. package/dist/index21.js.map +1 -1
  55. package/dist/index22.cjs +128 -35
  56. package/dist/index22.cjs.map +1 -1
  57. package/dist/index22.js +129 -36
  58. package/dist/index22.js.map +1 -1
  59. package/dist/index23.cjs +36 -222
  60. package/dist/index23.cjs.map +1 -1
  61. package/dist/index23.js +37 -223
  62. package/dist/index23.js.map +1 -1
  63. package/dist/index24.cjs +218 -28
  64. package/dist/index24.cjs.map +1 -1
  65. package/dist/index24.js +220 -30
  66. package/dist/index24.js.map +1 -1
  67. package/dist/index25.cjs +29 -73
  68. package/dist/index25.cjs.map +1 -1
  69. package/dist/index25.js +31 -75
  70. package/dist/index25.js.map +1 -1
  71. package/dist/index26.cjs +69 -144
  72. package/dist/index26.cjs.map +1 -1
  73. package/dist/index26.js +70 -145
  74. package/dist/index26.js.map +1 -1
  75. package/dist/index27.cjs +152 -7
  76. package/dist/index27.cjs.map +1 -1
  77. package/dist/index27.js +154 -9
  78. package/dist/index27.js.map +1 -1
  79. package/dist/index28.cjs +8 -17
  80. package/dist/index28.cjs.map +1 -1
  81. package/dist/index28.js +9 -18
  82. package/dist/index28.js.map +1 -1
  83. package/dist/index29.cjs +15 -75
  84. package/dist/index29.cjs.map +1 -1
  85. package/dist/index29.js +16 -76
  86. package/dist/index29.js.map +1 -1
  87. package/dist/index3.cjs +76 -16
  88. package/dist/index3.cjs.map +1 -1
  89. package/dist/index3.js +76 -16
  90. package/dist/index3.js.map +1 -1
  91. package/dist/index30.cjs +68 -134
  92. package/dist/index30.cjs.map +1 -1
  93. package/dist/index30.js +70 -136
  94. package/dist/index30.js.map +1 -1
  95. package/dist/index31.cjs +136 -98
  96. package/dist/index31.cjs.map +1 -1
  97. package/dist/index31.js +137 -99
  98. package/dist/index31.js.map +1 -1
  99. package/dist/index32.cjs +105 -6
  100. package/dist/index32.cjs.map +1 -1
  101. package/dist/index32.js +106 -7
  102. package/dist/index32.js.map +1 -1
  103. package/dist/index33.cjs +6 -216
  104. package/dist/index33.cjs.map +1 -1
  105. package/dist/index33.js +7 -217
  106. package/dist/index33.js.map +1 -1
  107. package/dist/index34.cjs +215 -7
  108. package/dist/index34.cjs.map +1 -1
  109. package/dist/index34.js +217 -9
  110. package/dist/index34.js.map +1 -1
  111. package/dist/index35.cjs +10 -16
  112. package/dist/index35.cjs.map +1 -1
  113. package/dist/index35.js +9 -15
  114. package/dist/index35.js.map +1 -1
  115. package/dist/index36.cjs +15 -6
  116. package/dist/index36.cjs.map +1 -1
  117. package/dist/index36.js +15 -6
  118. package/dist/index36.js.map +1 -1
  119. package/dist/index37.cjs +4 -1
  120. package/dist/index37.cjs.map +1 -1
  121. package/dist/index37.js +4 -1
  122. package/dist/index37.js.map +1 -1
  123. package/dist/index38.cjs +11 -2
  124. package/dist/index38.cjs.map +1 -1
  125. package/dist/index38.js +11 -2
  126. package/dist/index38.js.map +1 -1
  127. package/dist/index39.cjs +67 -21
  128. package/dist/index39.cjs.map +1 -1
  129. package/dist/index39.js +66 -20
  130. package/dist/index39.js.map +1 -1
  131. package/dist/index4.cjs +12 -8
  132. package/dist/index4.cjs.map +1 -1
  133. package/dist/index4.js +12 -8
  134. package/dist/index4.js.map +1 -1
  135. package/dist/index40.cjs +39 -67
  136. package/dist/index40.cjs.map +1 -1
  137. package/dist/index40.js +38 -66
  138. package/dist/index40.js.map +1 -1
  139. package/dist/index41.cjs +15 -33
  140. package/dist/index41.cjs.map +1 -1
  141. package/dist/index41.js +16 -34
  142. package/dist/index41.js.map +1 -1
  143. package/dist/index42.cjs +52 -16
  144. package/dist/index42.cjs.map +1 -1
  145. package/dist/index42.js +52 -16
  146. package/dist/index42.js.map +1 -1
  147. package/dist/index43.cjs +13 -10
  148. package/dist/index43.cjs.map +1 -1
  149. package/dist/index43.js +13 -10
  150. package/dist/index43.js.map +1 -1
  151. package/dist/index44.cjs +29 -17
  152. package/dist/index44.cjs.map +1 -1
  153. package/dist/index44.js +29 -17
  154. package/dist/index44.js.map +1 -1
  155. package/dist/index45.cjs +19 -134
  156. package/dist/index45.cjs.map +1 -1
  157. package/dist/index45.js +18 -133
  158. package/dist/index45.js.map +1 -1
  159. package/dist/index46.cjs +13 -40
  160. package/dist/index46.cjs.map +1 -1
  161. package/dist/index46.js +13 -40
  162. package/dist/index46.js.map +1 -1
  163. package/dist/index47.cjs +2 -29
  164. package/dist/index47.cjs.map +1 -1
  165. package/dist/index47.js +3 -30
  166. package/dist/index47.js.map +1 -1
  167. package/dist/index48.cjs +2 -53
  168. package/dist/index48.cjs.map +1 -1
  169. package/dist/index48.js +3 -54
  170. package/dist/index48.js.map +1 -1
  171. package/dist/index49.cjs +3 -30
  172. package/dist/index49.cjs.map +1 -1
  173. package/dist/index49.js +3 -30
  174. package/dist/index49.js.map +1 -1
  175. package/dist/index5.cjs +9 -16
  176. package/dist/index5.cjs.map +1 -1
  177. package/dist/index5.js +10 -17
  178. package/dist/index5.js.map +1 -1
  179. package/dist/index50.cjs +34 -34
  180. package/dist/index50.js +34 -34
  181. package/dist/index51.cjs +49 -19
  182. package/dist/index51.cjs.map +1 -1
  183. package/dist/index51.js +50 -20
  184. package/dist/index51.js.map +1 -1
  185. package/dist/index52.cjs +16 -13
  186. package/dist/index52.cjs.map +1 -1
  187. package/dist/index52.js +16 -13
  188. package/dist/index52.js.map +1 -1
  189. package/dist/index53.cjs +35 -32
  190. package/dist/index53.cjs.map +1 -1
  191. package/dist/index53.js +35 -32
  192. package/dist/index53.js.map +1 -1
  193. package/dist/index54.cjs +53 -5
  194. package/dist/index54.cjs.map +1 -1
  195. package/dist/index54.js +54 -6
  196. package/dist/index54.js.map +1 -1
  197. package/dist/index55.cjs +134 -19
  198. package/dist/index55.cjs.map +1 -1
  199. package/dist/index55.js +133 -18
  200. package/dist/index55.js.map +1 -1
  201. package/dist/index56.cjs +40 -10
  202. package/dist/index56.cjs.map +1 -1
  203. package/dist/index56.js +40 -10
  204. package/dist/index56.js.map +1 -1
  205. package/dist/index57.cjs +26 -8
  206. package/dist/index57.cjs.map +1 -1
  207. package/dist/index57.js +27 -9
  208. package/dist/index57.js.map +1 -1
  209. package/dist/index58.cjs +22 -19
  210. package/dist/index58.cjs.map +1 -1
  211. package/dist/index58.js +22 -19
  212. package/dist/index58.js.map +1 -1
  213. package/dist/index59.cjs +10 -79
  214. package/dist/index59.cjs.map +1 -1
  215. package/dist/index59.js +10 -79
  216. package/dist/index59.js.map +1 -1
  217. package/dist/index6.cjs +19 -65
  218. package/dist/index6.cjs.map +1 -1
  219. package/dist/index6.js +19 -65
  220. package/dist/index6.js.map +1 -1
  221. package/dist/index60.cjs +19 -22
  222. package/dist/index60.cjs.map +1 -1
  223. package/dist/index60.js +20 -23
  224. package/dist/index60.js.map +1 -1
  225. package/dist/index61.cjs +54 -27
  226. package/dist/index61.cjs.map +1 -1
  227. package/dist/index61.js +55 -28
  228. package/dist/index61.js.map +1 -1
  229. package/dist/index62.cjs +37 -13
  230. package/dist/index62.cjs.map +1 -1
  231. package/dist/index62.js +38 -14
  232. package/dist/index62.js.map +1 -1
  233. package/dist/index63.cjs +16 -49
  234. package/dist/index63.cjs.map +1 -1
  235. package/dist/index63.js +16 -49
  236. package/dist/index63.js.map +1 -1
  237. package/dist/index64.cjs +16 -37
  238. package/dist/index64.cjs.map +1 -1
  239. package/dist/index64.js +16 -37
  240. package/dist/index64.js.map +1 -1
  241. package/dist/index65.cjs +18 -0
  242. package/dist/index65.cjs.map +1 -0
  243. package/dist/index65.js +18 -0
  244. package/dist/index65.js.map +1 -0
  245. package/dist/index7.cjs +58 -75
  246. package/dist/index7.cjs.map +1 -1
  247. package/dist/index7.js +58 -75
  248. package/dist/index7.js.map +1 -1
  249. package/dist/index8.cjs +82 -15
  250. package/dist/index8.cjs.map +1 -1
  251. package/dist/index8.js +82 -15
  252. package/dist/index8.js.map +1 -1
  253. package/dist/index9.cjs +14 -15
  254. package/dist/index9.cjs.map +1 -1
  255. package/dist/index9.js +15 -16
  256. package/dist/index9.js.map +1 -1
  257. package/dist/style.css +271 -0
  258. package/dist/tokens/semantic-tokens.css +21 -0
  259. package/dist/tokens/tokens.d.ts +35 -0
  260. package/dist/tokens/tokens.d.ts.map +1 -1
  261. package/package.json +1 -1
  262. package/dist/index2.cjs +0 -44
  263. package/dist/index2.cjs.map +0 -1
  264. package/dist/index2.js +0 -44
  265. package/dist/index2.js.map +0 -1
package/dist/index39.js CHANGED
@@ -1,24 +1,70 @@
1
- const root = "krc-root-rzEDE";
2
- const sidebar = "krc-sidebar-ediN2";
3
- const sidebarCollapsed = "krc-sidebarCollapsed--qs43";
4
- const main = "krc-main-E8utR";
5
- const filterBar = "krc-filterBar-O8ajX";
6
- const content = "krc-content-lY5l-";
7
- const styles = {
8
- root,
9
- sidebar,
10
- sidebarCollapsed,
11
- main,
12
- filterBar,
13
- content
1
+ const ICON_SIZE = {
2
+ SM: 14,
3
+ MD: 16,
4
+ LG: 18
14
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;
15
53
  export {
16
- content,
17
- styles as default,
18
- filterBar,
19
- main,
20
- root,
21
- sidebar,
22
- sidebarCollapsed
54
+ CHART_COLORS,
55
+ CHART_MODAL,
56
+ CONTEXT_MENU_MARGIN,
57
+ COUNTERS_PAGE_SIZE,
58
+ ICON_SIZE,
59
+ KEYBOARD_STEP,
60
+ MAX_CATEGORIES,
61
+ MAX_SANKEY_NODES,
62
+ MAX_SERIES,
63
+ MAX_SUBCATEGORIES,
64
+ MIN_COLUMN_WIDTH,
65
+ SIDEBAR,
66
+ SVG_STROKE_WIDTH,
67
+ SVG_VIEWBOX,
68
+ VIEWPORT_MARGIN
23
69
  };
24
70
  //# sourceMappingURL=index39.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index39.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index39.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"],"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;"}
package/dist/index4.cjs CHANGED
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const react = require("react");
4
- function useEscapeKey(handler, enabled = true) {
4
+ function useClickOutside(ref, handler) {
5
5
  react.useEffect(() => {
6
- if (!enabled) return;
7
- const onKeyDown = (e) => {
8
- if (e.key === "Escape") handler();
6
+ const listener = (event) => {
7
+ if (!ref.current || ref.current.contains(event.target)) return;
8
+ handler(event);
9
9
  };
10
- document.addEventListener("keydown", onKeyDown);
11
- return () => document.removeEventListener("keydown", onKeyDown);
12
- }, [handler, enabled]);
10
+ document.addEventListener("mousedown", listener);
11
+ document.addEventListener("touchstart", listener);
12
+ return () => {
13
+ document.removeEventListener("mousedown", listener);
14
+ document.removeEventListener("touchstart", listener);
15
+ };
16
+ }, [ref, handler]);
13
17
  }
14
- exports.useEscapeKey = useEscapeKey;
18
+ exports.useClickOutside = useClickOutside;
15
19
  //# sourceMappingURL=index4.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index4.cjs","sources":["../src/hooks/useEscapeKey.ts"],"sourcesContent":["import { useEffect } from 'react';\n\n/** Calls `handler` when the Escape key is pressed while `enabled` is true. */\nexport function useEscapeKey(handler: () => void, enabled = true) {\n useEffect(() => {\n if (!enabled) return;\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key === 'Escape') handler();\n };\n document.addEventListener('keydown', onKeyDown);\n return () => document.removeEventListener('keydown', onKeyDown);\n }, [handler, enabled]);\n}\n"],"names":["useEffect"],"mappings":";;;AAGO,SAAS,aAAa,SAAqB,UAAU,MAAM;AAChEA,QAAAA,UAAU,MAAM;AACd,QAAI,CAAC,QAAS;AACd,UAAM,YAAY,CAAC,MAAqB;AACtC,UAAI,EAAE,QAAQ,SAAU,SAAA;AAAA,IAC1B;AACA,aAAS,iBAAiB,WAAW,SAAS;AAC9C,WAAO,MAAM,SAAS,oBAAoB,WAAW,SAAS;AAAA,EAChE,GAAG,CAAC,SAAS,OAAO,CAAC;AACvB;;"}
1
+ {"version":3,"file":"index4.cjs","sources":["../src/hooks/useClickOutside.ts"],"sourcesContent":["import { useEffect, type RefObject } from 'react';\n\n/** Calls `handler` when a click occurs outside the element referenced by `ref`. */\nexport function useClickOutside<T extends HTMLElement>(\n ref: RefObject<T | null>,\n handler: (event: MouseEvent | TouchEvent) => void,\n) {\n useEffect(() => {\n const listener = (event: MouseEvent | TouchEvent) => {\n if (!ref.current || ref.current.contains(event.target as Node)) return;\n handler(event);\n };\n document.addEventListener('mousedown', listener);\n document.addEventListener('touchstart', listener);\n return () => {\n document.removeEventListener('mousedown', listener);\n document.removeEventListener('touchstart', listener);\n };\n }, [ref, handler]);\n}\n"],"names":["useEffect"],"mappings":";;;AAGO,SAAS,gBACd,KACA,SACA;AACAA,QAAAA,UAAU,MAAM;AACd,UAAM,WAAW,CAAC,UAAmC;AACnD,UAAI,CAAC,IAAI,WAAW,IAAI,QAAQ,SAAS,MAAM,MAAc,EAAG;AAChE,cAAQ,KAAK;AAAA,IACf;AACA,aAAS,iBAAiB,aAAa,QAAQ;AAC/C,aAAS,iBAAiB,cAAc,QAAQ;AAChD,WAAO,MAAM;AACX,eAAS,oBAAoB,aAAa,QAAQ;AAClD,eAAS,oBAAoB,cAAc,QAAQ;AAAA,IACrD;AAAA,EACF,GAAG,CAAC,KAAK,OAAO,CAAC;AACnB;;"}
package/dist/index4.js CHANGED
@@ -1,15 +1,19 @@
1
1
  import { useEffect } from "react";
2
- function useEscapeKey(handler, enabled = true) {
2
+ function useClickOutside(ref, handler) {
3
3
  useEffect(() => {
4
- if (!enabled) return;
5
- const onKeyDown = (e) => {
6
- if (e.key === "Escape") handler();
4
+ const listener = (event) => {
5
+ if (!ref.current || ref.current.contains(event.target)) return;
6
+ handler(event);
7
7
  };
8
- document.addEventListener("keydown", onKeyDown);
9
- return () => document.removeEventListener("keydown", onKeyDown);
10
- }, [handler, enabled]);
8
+ document.addEventListener("mousedown", listener);
9
+ document.addEventListener("touchstart", listener);
10
+ return () => {
11
+ document.removeEventListener("mousedown", listener);
12
+ document.removeEventListener("touchstart", listener);
13
+ };
14
+ }, [ref, handler]);
11
15
  }
12
16
  export {
13
- useEscapeKey
17
+ useClickOutside
14
18
  };
15
19
  //# sourceMappingURL=index4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index4.js","sources":["../src/hooks/useEscapeKey.ts"],"sourcesContent":["import { useEffect } from 'react';\n\n/** Calls `handler` when the Escape key is pressed while `enabled` is true. */\nexport function useEscapeKey(handler: () => void, enabled = true) {\n useEffect(() => {\n if (!enabled) return;\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key === 'Escape') handler();\n };\n document.addEventListener('keydown', onKeyDown);\n return () => document.removeEventListener('keydown', onKeyDown);\n }, [handler, enabled]);\n}\n"],"names":[],"mappings":";AAGO,SAAS,aAAa,SAAqB,UAAU,MAAM;AAChE,YAAU,MAAM;AACd,QAAI,CAAC,QAAS;AACd,UAAM,YAAY,CAAC,MAAqB;AACtC,UAAI,EAAE,QAAQ,SAAU,SAAA;AAAA,IAC1B;AACA,aAAS,iBAAiB,WAAW,SAAS;AAC9C,WAAO,MAAM,SAAS,oBAAoB,WAAW,SAAS;AAAA,EAChE,GAAG,CAAC,SAAS,OAAO,CAAC;AACvB;"}
1
+ {"version":3,"file":"index4.js","sources":["../src/hooks/useClickOutside.ts"],"sourcesContent":["import { useEffect, type RefObject } from 'react';\n\n/** Calls `handler` when a click occurs outside the element referenced by `ref`. */\nexport function useClickOutside<T extends HTMLElement>(\n ref: RefObject<T | null>,\n handler: (event: MouseEvent | TouchEvent) => void,\n) {\n useEffect(() => {\n const listener = (event: MouseEvent | TouchEvent) => {\n if (!ref.current || ref.current.contains(event.target as Node)) return;\n handler(event);\n };\n document.addEventListener('mousedown', listener);\n document.addEventListener('touchstart', listener);\n return () => {\n document.removeEventListener('mousedown', listener);\n document.removeEventListener('touchstart', listener);\n };\n }, [ref, handler]);\n}\n"],"names":[],"mappings":";AAGO,SAAS,gBACd,KACA,SACA;AACA,YAAU,MAAM;AACd,UAAM,WAAW,CAAC,UAAmC;AACnD,UAAI,CAAC,IAAI,WAAW,IAAI,QAAQ,SAAS,MAAM,MAAc,EAAG;AAChE,cAAQ,KAAK;AAAA,IACf;AACA,aAAS,iBAAiB,aAAa,QAAQ;AAC/C,aAAS,iBAAiB,cAAc,QAAQ;AAChD,WAAO,MAAM;AACX,eAAS,oBAAoB,aAAa,QAAQ;AAClD,eAAS,oBAAoB,cAAc,QAAQ;AAAA,IACrD;AAAA,EACF,GAAG,CAAC,KAAK,OAAO,CAAC;AACnB;"}
package/dist/index40.cjs CHANGED
@@ -1,70 +1,42 @@
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-uKAJr";
4
+ const header = "krc-header-BWJPo";
5
+ const body = "krc-body-LCUxY";
6
+ const footer = "krc-footer-z4n8R";
7
+ const toggle = "krc-toggle-9T9IZ";
8
+ const section = "krc-section-us0Me";
9
+ const sectionTitle = "krc-sectionTitle-On1X-";
10
+ const sectionToggle = "krc-sectionToggle-eriVJ";
11
+ const sectionChevron = "krc-sectionChevron-cgn7M";
12
+ const sectionChevronOpen = "krc-sectionChevronOpen-Ja5Y3";
13
+ const sectionItems = "krc-sectionItems-iwvxo";
14
+ const collapsed = "krc-collapsed-JRXBy";
15
+ const styles = {
16
+ root,
17
+ header,
18
+ body,
19
+ footer,
20
+ toggle,
21
+ section,
22
+ sectionTitle,
23
+ sectionToggle,
24
+ sectionChevron,
25
+ sectionChevronOpen,
26
+ sectionItems,
27
+ collapsed
7
28
  };
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
- exports.CHART_COLORS = CHART_COLORS;
56
- exports.CHART_MODAL = CHART_MODAL;
57
- exports.CONTEXT_MENU_MARGIN = CONTEXT_MENU_MARGIN;
58
- exports.COUNTERS_PAGE_SIZE = COUNTERS_PAGE_SIZE;
59
- exports.ICON_SIZE = ICON_SIZE;
60
- exports.KEYBOARD_STEP = KEYBOARD_STEP;
61
- exports.MAX_CATEGORIES = MAX_CATEGORIES;
62
- exports.MAX_SANKEY_NODES = MAX_SANKEY_NODES;
63
- exports.MAX_SERIES = MAX_SERIES;
64
- exports.MAX_SUBCATEGORIES = MAX_SUBCATEGORIES;
65
- exports.MIN_COLUMN_WIDTH = MIN_COLUMN_WIDTH;
66
- exports.SIDEBAR = SIDEBAR;
67
- exports.SVG_STROKE_WIDTH = SVG_STROKE_WIDTH;
68
- exports.SVG_VIEWBOX = SVG_VIEWBOX;
69
- exports.VIEWPORT_MARGIN = VIEWPORT_MARGIN;
29
+ exports.body = body;
30
+ exports.collapsed = collapsed;
31
+ exports.default = styles;
32
+ exports.footer = footer;
33
+ exports.header = header;
34
+ exports.root = root;
35
+ exports.section = section;
36
+ exports.sectionChevron = sectionChevron;
37
+ exports.sectionChevronOpen = sectionChevronOpen;
38
+ exports.sectionItems = sectionItems;
39
+ exports.sectionTitle = sectionTitle;
40
+ exports.sectionToggle = sectionToggle;
41
+ exports.toggle = toggle;
70
42
  //# sourceMappingURL=index40.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index40.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"],"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;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index40.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index40.js CHANGED
@@ -1,70 +1,42 @@
1
- const ICON_SIZE = {
2
- SM: 14,
3
- MD: 16,
4
- LG: 18
1
+ const root = "krc-root-uKAJr";
2
+ const header = "krc-header-BWJPo";
3
+ const body = "krc-body-LCUxY";
4
+ const footer = "krc-footer-z4n8R";
5
+ const toggle = "krc-toggle-9T9IZ";
6
+ const section = "krc-section-us0Me";
7
+ const sectionTitle = "krc-sectionTitle-On1X-";
8
+ const sectionToggle = "krc-sectionToggle-eriVJ";
9
+ const sectionChevron = "krc-sectionChevron-cgn7M";
10
+ const sectionChevronOpen = "krc-sectionChevronOpen-Ja5Y3";
11
+ const sectionItems = "krc-sectionItems-iwvxo";
12
+ const collapsed = "krc-collapsed-JRXBy";
13
+ const styles = {
14
+ root,
15
+ header,
16
+ body,
17
+ footer,
18
+ toggle,
19
+ section,
20
+ sectionTitle,
21
+ sectionToggle,
22
+ sectionChevron,
23
+ sectionChevronOpen,
24
+ sectionItems,
25
+ collapsed
5
26
  };
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
27
  export {
54
- CHART_COLORS,
55
- CHART_MODAL,
56
- CONTEXT_MENU_MARGIN,
57
- COUNTERS_PAGE_SIZE,
58
- ICON_SIZE,
59
- KEYBOARD_STEP,
60
- MAX_CATEGORIES,
61
- MAX_SANKEY_NODES,
62
- MAX_SERIES,
63
- MAX_SUBCATEGORIES,
64
- MIN_COLUMN_WIDTH,
65
- SIDEBAR,
66
- SVG_STROKE_WIDTH,
67
- SVG_VIEWBOX,
68
- VIEWPORT_MARGIN
28
+ body,
29
+ collapsed,
30
+ styles as default,
31
+ footer,
32
+ header,
33
+ root,
34
+ section,
35
+ sectionChevron,
36
+ sectionChevronOpen,
37
+ sectionItems,
38
+ sectionTitle,
39
+ sectionToggle,
40
+ toggle
69
41
  };
70
42
  //# sourceMappingURL=index40.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index40.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"],"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;"}
1
+ {"version":3,"file":"index40.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index41.cjs CHANGED
@@ -1,45 +1,27 @@
1
1
  "use strict";
2
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";
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";
16
10
  const styles = {
11
+ overlay,
17
12
  root,
18
13
  header,
19
14
  title,
20
- headerActions,
21
- toolbar,
22
- toolbarLabel,
23
- toolbarSelect,
24
- chartContainer,
25
- loading,
26
- error,
27
- retryButton,
28
- empty,
29
- warning
15
+ closeBtn,
16
+ body,
17
+ footer
30
18
  };
31
- exports.chartContainer = chartContainer;
19
+ exports.body = body;
20
+ exports.closeBtn = closeBtn;
32
21
  exports.default = styles;
33
- exports.empty = empty;
34
- exports.error = error;
22
+ exports.footer = footer;
35
23
  exports.header = header;
36
- exports.headerActions = headerActions;
37
- exports.loading = loading;
38
- exports.retryButton = retryButton;
24
+ exports.overlay = overlay;
39
25
  exports.root = root;
40
26
  exports.title = title;
41
- exports.toolbar = toolbar;
42
- exports.toolbarLabel = toolbarLabel;
43
- exports.toolbarSelect = toolbarSelect;
44
- exports.warning = warning;
45
27
  //# sourceMappingURL=index41.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index41.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index41.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index41.js CHANGED
@@ -1,45 +1,27 @@
1
- const root = "krc-root-0iK-T";
2
- const header = "krc-header-vLmNI";
3
- const title = "krc-title-J9FSG";
4
- const headerActions = "krc-headerActions-8Sd6i";
5
- const toolbar = "krc-toolbar-65kLR";
6
- const toolbarLabel = "krc-toolbarLabel-kmRLQ";
7
- const toolbarSelect = "krc-toolbarSelect-t7OKN";
8
- const chartContainer = "krc-chartContainer-1-iIe";
9
- const loading = "krc-loading-MRlom";
10
- const error = "krc-error-esslq";
11
- const retryButton = "krc-retryButton-js385";
12
- const empty = "krc-empty-qYFPa";
13
- const warning = "krc-warning-ll4Hc";
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";
14
8
  const styles = {
9
+ overlay,
15
10
  root,
16
11
  header,
17
12
  title,
18
- headerActions,
19
- toolbar,
20
- toolbarLabel,
21
- toolbarSelect,
22
- chartContainer,
23
- loading,
24
- error,
25
- retryButton,
26
- empty,
27
- warning
13
+ closeBtn,
14
+ body,
15
+ footer
28
16
  };
29
17
  export {
30
- chartContainer,
18
+ body,
19
+ closeBtn,
31
20
  styles as default,
32
- empty,
33
- error,
21
+ footer,
34
22
  header,
35
- headerActions,
36
- loading,
37
- retryButton,
23
+ overlay,
38
24
  root,
39
- title,
40
- toolbar,
41
- toolbarLabel,
42
- toolbarSelect,
43
- warning
25
+ title
44
26
  };
45
27
  //# sourceMappingURL=index41.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index41.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index41.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
package/dist/index42.cjs CHANGED
@@ -1,24 +1,60 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-pS02L";
4
- const sidebar = "krc-sidebar-n1HeR";
5
- const conversationList = "krc-conversationList-E8ODD";
6
- const mainArea = "krc-mainArea-E0cNf";
7
- const messages = "krc-messages-S9aU-";
8
- const input = "krc-input-HAMJ3";
3
+ const root = "krc-root--s1oD";
4
+ const trigger = "krc-trigger-WMlNa";
5
+ const active = "krc-active-O65lj";
6
+ const triggerContent = "krc-triggerContent-JipmE";
7
+ const chevron = "krc-chevron-J2Zsy";
8
+ const label = "krc-label-lZlV-";
9
+ const value = "krc-value-HsQrC";
10
+ const clear = "krc-clear-bsi5j";
11
+ const panel = "krc-panel--0odx";
12
+ const searchContainer = "krc-searchContainer-WRS-U";
13
+ const search = "krc-search-Dh3pY";
14
+ const list = "krc-list-1RUtr";
15
+ const noResults = "krc-noResults-Hin1U";
16
+ const option = "krc-option-0mFGi";
17
+ const focused = "krc-focused-0-7tE";
18
+ const selected = "krc-selected-1zIqI";
19
+ const optionLabel = "krc-optionLabel-pj-hL";
20
+ const optionCount = "krc-optionCount-rVlCP";
9
21
  const styles = {
10
22
  root,
11
- sidebar,
12
- conversationList,
13
- mainArea,
14
- messages,
15
- input
23
+ trigger,
24
+ active,
25
+ triggerContent,
26
+ chevron,
27
+ label,
28
+ value,
29
+ clear,
30
+ panel,
31
+ searchContainer,
32
+ search,
33
+ list,
34
+ noResults,
35
+ option,
36
+ focused,
37
+ selected,
38
+ optionLabel,
39
+ optionCount
16
40
  };
17
- exports.conversationList = conversationList;
41
+ exports.active = active;
42
+ exports.chevron = chevron;
43
+ exports.clear = clear;
18
44
  exports.default = styles;
19
- exports.input = input;
20
- exports.mainArea = mainArea;
21
- exports.messages = messages;
45
+ exports.focused = focused;
46
+ exports.label = label;
47
+ exports.list = list;
48
+ exports.noResults = noResults;
49
+ exports.option = option;
50
+ exports.optionCount = optionCount;
51
+ exports.optionLabel = optionLabel;
52
+ exports.panel = panel;
22
53
  exports.root = root;
23
- exports.sidebar = sidebar;
54
+ exports.search = search;
55
+ exports.searchContainer = searchContainer;
56
+ exports.selected = selected;
57
+ exports.trigger = trigger;
58
+ exports.triggerContent = triggerContent;
59
+ exports.value = value;
24
60
  //# sourceMappingURL=index42.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index42.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index42.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}