@ktnpm_devops/react-component 0.4.0 → 0.4.1

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 (163) hide show
  1. package/dist/index11.cjs +1 -1
  2. package/dist/index11.js +1 -1
  3. package/dist/index12.cjs +1 -1
  4. package/dist/index12.js +1 -1
  5. package/dist/index13.cjs +1 -1
  6. package/dist/index13.js +1 -1
  7. package/dist/index14.cjs +1 -1
  8. package/dist/index14.js +1 -1
  9. package/dist/index15.cjs +1 -1
  10. package/dist/index15.js +1 -1
  11. package/dist/index16.cjs +1 -1
  12. package/dist/index16.js +1 -1
  13. package/dist/index17.cjs +2 -2
  14. package/dist/index17.js +2 -2
  15. package/dist/index18.cjs +2 -2
  16. package/dist/index18.js +2 -2
  17. package/dist/index19.cjs +2 -2
  18. package/dist/index19.js +2 -2
  19. package/dist/index20.cjs +1 -1
  20. package/dist/index20.js +1 -1
  21. package/dist/index22.cjs +1 -1
  22. package/dist/index22.js +1 -1
  23. package/dist/index23.cjs +2 -2
  24. package/dist/index23.js +2 -2
  25. package/dist/index24.cjs +1 -1
  26. package/dist/index24.js +1 -1
  27. package/dist/index25.cjs +2 -2
  28. package/dist/index25.js +2 -2
  29. package/dist/index26.cjs +1 -1
  30. package/dist/index26.js +1 -1
  31. package/dist/index27.cjs +2 -2
  32. package/dist/index27.js +2 -2
  33. package/dist/index28.cjs +1 -1
  34. package/dist/index28.js +1 -1
  35. package/dist/index29.cjs +2 -2
  36. package/dist/index29.js +2 -2
  37. package/dist/index30.cjs +1 -1
  38. package/dist/index30.js +1 -1
  39. package/dist/index31.cjs +1 -1
  40. package/dist/index31.js +1 -1
  41. package/dist/index32.cjs +2 -2
  42. package/dist/index32.js +2 -2
  43. package/dist/index33.cjs +2 -2
  44. package/dist/index33.js +2 -2
  45. package/dist/index34.cjs +3 -3
  46. package/dist/index34.js +3 -3
  47. package/dist/index35.cjs +1 -1
  48. package/dist/index35.js +1 -1
  49. package/dist/index36.cjs +2 -2
  50. package/dist/index36.js +2 -2
  51. package/dist/index37.cjs +1 -1
  52. package/dist/index37.js +1 -1
  53. package/dist/index39.cjs +22 -10
  54. package/dist/index39.cjs.map +1 -1
  55. package/dist/index39.js +23 -11
  56. package/dist/index39.js.map +1 -1
  57. package/dist/index40.cjs +64 -19
  58. package/dist/index40.cjs.map +1 -1
  59. package/dist/index40.js +64 -19
  60. package/dist/index40.js.map +1 -1
  61. package/dist/index42.cjs +20 -2
  62. package/dist/index42.cjs.map +1 -1
  63. package/dist/index42.js +20 -2
  64. package/dist/index42.js.map +1 -1
  65. package/dist/index43.cjs +1 -1
  66. package/dist/index43.js +1 -1
  67. package/dist/index44.cjs +2 -23
  68. package/dist/index44.cjs.map +1 -1
  69. package/dist/index44.js +3 -24
  70. package/dist/index44.js.map +1 -1
  71. package/dist/index45.cjs +67 -15
  72. package/dist/index45.cjs.map +1 -1
  73. package/dist/index45.js +66 -14
  74. package/dist/index45.js.map +1 -1
  75. package/dist/index46.cjs +13 -16
  76. package/dist/index46.cjs.map +1 -1
  77. package/dist/index46.js +14 -17
  78. package/dist/index46.js.map +1 -1
  79. package/dist/index47.cjs +52 -16
  80. package/dist/index47.cjs.map +1 -1
  81. package/dist/index47.js +52 -16
  82. package/dist/index47.js.map +1 -1
  83. package/dist/index48.cjs +39 -67
  84. package/dist/index48.cjs.map +1 -1
  85. package/dist/index48.js +38 -66
  86. package/dist/index48.js.map +1 -1
  87. package/dist/index49.cjs +49 -79
  88. package/dist/index49.cjs.map +1 -1
  89. package/dist/index49.js +49 -79
  90. package/dist/index49.js.map +1 -1
  91. package/dist/index50.cjs +16 -34
  92. package/dist/index50.cjs.map +1 -1
  93. package/dist/index50.js +16 -34
  94. package/dist/index50.js.map +1 -1
  95. package/dist/index52.cjs +13 -13
  96. package/dist/index52.js +13 -13
  97. package/dist/index53.cjs +10 -34
  98. package/dist/index53.cjs.map +1 -1
  99. package/dist/index53.js +11 -35
  100. package/dist/index53.js.map +1 -1
  101. package/dist/index54.cjs +1 -1
  102. package/dist/index54.js +1 -1
  103. package/dist/index55.cjs +1 -4
  104. package/dist/index55.cjs.map +1 -1
  105. package/dist/index55.js +1 -4
  106. package/dist/index55.js.map +1 -1
  107. package/dist/index56.cjs +15 -33
  108. package/dist/index56.cjs.map +1 -1
  109. package/dist/index56.js +16 -34
  110. package/dist/index56.js.map +1 -1
  111. package/dist/index57.cjs +4 -1
  112. package/dist/index57.cjs.map +1 -1
  113. package/dist/index57.js +4 -1
  114. package/dist/index57.js.map +1 -1
  115. package/dist/index58.cjs +79 -13
  116. package/dist/index58.cjs.map +1 -1
  117. package/dist/index58.js +79 -13
  118. package/dist/index58.js.map +1 -1
  119. package/dist/index59.cjs +10 -52
  120. package/dist/index59.cjs.map +1 -1
  121. package/dist/index59.js +11 -53
  122. package/dist/index59.js.map +1 -1
  123. package/dist/index60.cjs +28 -64
  124. package/dist/index60.cjs.map +1 -1
  125. package/dist/index60.js +28 -64
  126. package/dist/index60.js.map +1 -1
  127. package/dist/index61.cjs +32 -17
  128. package/dist/index61.cjs.map +1 -1
  129. package/dist/index61.js +33 -18
  130. package/dist/index61.js.map +1 -1
  131. package/dist/index63.cjs +25 -16
  132. package/dist/index63.cjs.map +1 -1
  133. package/dist/index63.js +26 -17
  134. package/dist/index63.js.map +1 -1
  135. package/dist/index64.cjs +52 -13
  136. package/dist/index64.cjs.map +1 -1
  137. package/dist/index64.js +53 -14
  138. package/dist/index64.js.map +1 -1
  139. package/dist/index65.cjs +13 -37
  140. package/dist/index65.cjs.map +1 -1
  141. package/dist/index65.js +13 -37
  142. package/dist/index65.js.map +1 -1
  143. package/dist/index66.cjs +22 -134
  144. package/dist/index66.cjs.map +1 -1
  145. package/dist/index66.js +21 -133
  146. package/dist/index66.js.map +1 -1
  147. package/dist/index67.cjs +22 -25
  148. package/dist/index67.cjs.map +1 -1
  149. package/dist/index67.js +23 -26
  150. package/dist/index67.js.map +1 -1
  151. package/dist/index68.cjs +134 -58
  152. package/dist/index68.cjs.map +1 -1
  153. package/dist/index68.js +133 -57
  154. package/dist/index68.js.map +1 -1
  155. package/dist/index69.cjs +39 -48
  156. package/dist/index69.cjs.map +1 -1
  157. package/dist/index69.js +39 -48
  158. package/dist/index69.js.map +1 -1
  159. package/dist/index9.cjs +1 -1
  160. package/dist/index9.js +1 -1
  161. package/dist/styles.cjs +1 -0
  162. package/dist/styles.mjs +1 -0
  163. package/package.json +8 -3
package/dist/index46.js CHANGED
@@ -1,24 +1,21 @@
1
- const root = "krc-root-jkFwM";
2
- const sidebar = "krc-sidebar-g7vxQ";
3
- const sidebarCollapsed = "krc-sidebarCollapsed-Xiswa";
4
- const main = "krc-main-B4HyG";
5
- const content = "krc-content-72sFf";
6
- const title = "krc-title-pe-1P";
1
+ const root = "krc-root-LQf3S";
2
+ const item = "krc-item-Y5RvK";
3
+ const disabled = "krc-disabled-wnQRZ";
4
+ const focused = "krc-focused-hDoa3";
5
+ const icon = "krc-icon-q-Jmu";
7
6
  const styles = {
8
7
  root,
9
- sidebar,
10
- sidebarCollapsed,
11
- main,
12
- content,
13
- title
8
+ item,
9
+ disabled,
10
+ focused,
11
+ icon
14
12
  };
15
13
  export {
16
- content,
17
14
  styles as default,
18
- main,
19
- root,
20
- sidebar,
21
- sidebarCollapsed,
22
- title
15
+ disabled,
16
+ focused,
17
+ icon,
18
+ item,
19
+ root
23
20
  };
24
21
  //# sourceMappingURL=index46.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index46.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index46.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
package/dist/index47.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=index47.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index47.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index47.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index47.js CHANGED
@@ -1,24 +1,60 @@
1
- const root = "krc-root-pS02L";
2
- const sidebar = "krc-sidebar-n1HeR";
3
- const conversationList = "krc-conversationList-E8ODD";
4
- const mainArea = "krc-mainArea-E0cNf";
5
- const messages = "krc-messages-S9aU-";
6
- const input = "krc-input-HAMJ3";
1
+ const root = "krc-root--s1oD";
2
+ const trigger = "krc-trigger-WMlNa";
3
+ const active = "krc-active-O65lj";
4
+ const triggerContent = "krc-triggerContent-JipmE";
5
+ const chevron = "krc-chevron-J2Zsy";
6
+ const label = "krc-label-lZlV-";
7
+ const value = "krc-value-HsQrC";
8
+ const clear = "krc-clear-bsi5j";
9
+ const panel = "krc-panel--0odx";
10
+ const searchContainer = "krc-searchContainer-WRS-U";
11
+ const search = "krc-search-Dh3pY";
12
+ const list = "krc-list-1RUtr";
13
+ const noResults = "krc-noResults-Hin1U";
14
+ const option = "krc-option-0mFGi";
15
+ const focused = "krc-focused-0-7tE";
16
+ const selected = "krc-selected-1zIqI";
17
+ const optionLabel = "krc-optionLabel-pj-hL";
18
+ const optionCount = "krc-optionCount-rVlCP";
7
19
  const styles = {
8
20
  root,
9
- sidebar,
10
- conversationList,
11
- mainArea,
12
- messages,
13
- input
21
+ trigger,
22
+ active,
23
+ triggerContent,
24
+ chevron,
25
+ label,
26
+ value,
27
+ clear,
28
+ panel,
29
+ searchContainer,
30
+ search,
31
+ list,
32
+ noResults,
33
+ option,
34
+ focused,
35
+ selected,
36
+ optionLabel,
37
+ optionCount
14
38
  };
15
39
  export {
16
- conversationList,
40
+ active,
41
+ chevron,
42
+ clear,
17
43
  styles as default,
18
- input,
19
- mainArea,
20
- messages,
44
+ focused,
45
+ label,
46
+ list,
47
+ noResults,
48
+ option,
49
+ optionCount,
50
+ optionLabel,
51
+ panel,
21
52
  root,
22
- sidebar
53
+ search,
54
+ searchContainer,
55
+ selected,
56
+ trigger,
57
+ triggerContent,
58
+ value
23
59
  };
24
60
  //# sourceMappingURL=index47.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index47.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index47.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index48.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=index48.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index48.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":"index48.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index48.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=index48.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index48.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":"index48.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index49.cjs CHANGED
@@ -1,87 +1,57 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const root = "krc-root-WYIsp";
4
- const trigger = "krc-trigger-UedSS";
5
- const active = "krc-active-cH8Tl";
6
- const triggerContent = "krc-triggerContent-Kkhoi";
7
- const chevron = "krc-chevron-NoNsI";
8
- const label = "krc-label-RPlXR";
9
- const valueGroup = "krc-valueGroup-xfNcx";
10
- const value = "krc-value-aKdIW";
11
- const badge = "krc-badge-yVq9o";
12
- const clear = "krc-clear-11V9Q";
13
- const panel = "krc-panel-xf2f8";
14
- const header = "krc-header--VMR-";
15
- const search = "krc-search-4gQgB";
16
- const headerActions = "krc-headerActions-orxXD";
17
- const chip = "krc-chip--n-9m";
18
- const chipGhost = "krc-chipGhost-oayjh";
19
- const list = "krc-list-NRoxf";
20
- const status = "krc-status-j7xbM";
21
- const statusError = "krc-statusError-u6rfB";
22
- const option = "krc-option-ZAXum";
23
- const optionLabel = "krc-optionLabel-MdDyI";
24
- const optionCount = "krc-optionCount-JSQl9";
25
- const create = "krc-create-hO8Cq";
26
- const footer = "krc-footer-2yk6S";
27
- const selection = "krc-selection-aYDH-";
28
- const selectionDelta = "krc-selectionDelta-S1dV7";
29
- const footerActions = "krc-footerActions-77iCX";
3
+ const root = "krc-root-W2sel";
4
+ const tableContainer = "krc-tableContainer-Ed3uk";
5
+ const table = "krc-table-7p0H-";
6
+ const th = "krc-th-fNmfv";
7
+ const sortable = "krc-sortable-Ve0MQ";
8
+ const thContent = "krc-thContent-BRDIL";
9
+ const sortIndicator = "krc-sortIndicator-PtGYj";
10
+ const resizeHandle = "krc-resizeHandle--St-g";
11
+ const td = "krc-td-ZVsrU";
12
+ const row = "krc-row-JivMH";
13
+ const rowClickable = "krc-rowClickable-lTgQW";
14
+ const rowSelected = "krc-rowSelected-Sv0qs";
15
+ const skeletonRow = "krc-skeletonRow-uD1y7";
16
+ const skeleton = "krc-skeleton-eeYso";
17
+ const empty = "krc-empty-xKpKS";
18
+ const loadMore = "krc-loadMore-njxDN";
19
+ const loadMoreButton = "krc-loadMoreButton-C3Q-f";
30
20
  const styles = {
31
21
  root,
32
- trigger,
33
- active,
34
- triggerContent,
35
- chevron,
36
- label,
37
- valueGroup,
38
- value,
39
- badge,
40
- clear,
41
- panel,
42
- header,
43
- search,
44
- headerActions,
45
- chip,
46
- chipGhost,
47
- list,
48
- status,
49
- statusError,
50
- option,
51
- optionLabel,
52
- optionCount,
53
- create,
54
- footer,
55
- selection,
56
- selectionDelta,
57
- footerActions
22
+ tableContainer,
23
+ table,
24
+ th,
25
+ sortable,
26
+ thContent,
27
+ sortIndicator,
28
+ resizeHandle,
29
+ td,
30
+ row,
31
+ rowClickable,
32
+ rowSelected,
33
+ skeletonRow,
34
+ skeleton,
35
+ empty,
36
+ loadMore,
37
+ loadMoreButton
58
38
  };
59
- exports.active = active;
60
- exports.badge = badge;
61
- exports.chevron = chevron;
62
- exports.chip = chip;
63
- exports.chipGhost = chipGhost;
64
- exports.clear = clear;
65
- exports.create = create;
66
39
  exports.default = styles;
67
- exports.footer = footer;
68
- exports.footerActions = footerActions;
69
- exports.header = header;
70
- exports.headerActions = headerActions;
71
- exports.label = label;
72
- exports.list = list;
73
- exports.option = option;
74
- exports.optionCount = optionCount;
75
- exports.optionLabel = optionLabel;
76
- exports.panel = panel;
40
+ exports.empty = empty;
41
+ exports.loadMore = loadMore;
42
+ exports.loadMoreButton = loadMoreButton;
43
+ exports.resizeHandle = resizeHandle;
77
44
  exports.root = root;
78
- exports.search = search;
79
- exports.selection = selection;
80
- exports.selectionDelta = selectionDelta;
81
- exports.status = status;
82
- exports.statusError = statusError;
83
- exports.trigger = trigger;
84
- exports.triggerContent = triggerContent;
85
- exports.value = value;
86
- exports.valueGroup = valueGroup;
45
+ exports.row = row;
46
+ exports.rowClickable = rowClickable;
47
+ exports.rowSelected = rowSelected;
48
+ exports.skeleton = skeleton;
49
+ exports.skeletonRow = skeletonRow;
50
+ exports.sortIndicator = sortIndicator;
51
+ exports.sortable = sortable;
52
+ exports.table = table;
53
+ exports.tableContainer = tableContainer;
54
+ exports.td = td;
55
+ exports.th = th;
56
+ exports.thContent = thContent;
87
57
  //# sourceMappingURL=index49.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index49.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index49.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}