@ktnpm_devops/react-component 0.2.0 → 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.
- package/dist/index.cjs +34 -33
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -33
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +15 -4
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +15 -4
- package/dist/index10.js.map +1 -1
- package/dist/index11.cjs +4 -16
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +4 -16
- package/dist/index11.js.map +1 -1
- package/dist/index12.cjs +16 -10
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +16 -10
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +10 -100
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +11 -101
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +100 -20
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +101 -21
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +20 -90
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +21 -91
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +85 -153
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +87 -155
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +150 -128
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +150 -128
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +121 -106
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +122 -107
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +121 -17
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +121 -17
- package/dist/index19.js.map +1 -1
- package/dist/index20.cjs +17 -8
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +18 -9
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +7 -130
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +9 -132
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +128 -35
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +129 -36
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +36 -222
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +37 -223
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +218 -28
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +220 -30
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +29 -73
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +31 -75
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +69 -144
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +70 -145
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +152 -7
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +154 -9
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +8 -17
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +9 -18
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +15 -75
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +15 -75
- package/dist/index29.js.map +1 -1
- package/dist/index3.cjs +76 -16
- package/dist/index3.cjs.map +1 -1
- package/dist/index3.js +76 -16
- package/dist/index3.js.map +1 -1
- package/dist/index30.cjs +68 -134
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +70 -136
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +136 -98
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +137 -99
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +105 -6
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +106 -7
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +6 -216
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +7 -217
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +215 -7
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +217 -9
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +10 -16
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +9 -15
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +15 -15
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +15 -15
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +5 -20
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +5 -20
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +15 -67
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +14 -66
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +67 -84
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +66 -83
- package/dist/index39.js.map +1 -1
- package/dist/index4.cjs +12 -8
- package/dist/index4.cjs.map +1 -1
- package/dist/index4.js +12 -8
- package/dist/index4.js.map +1 -1
- package/dist/index40.cjs +35 -2
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +36 -3
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +15 -6
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +16 -7
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +52 -13
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +52 -13
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +14 -5
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +14 -5
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +30 -24
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +30 -24
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +14 -2
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +14 -2
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +14 -2
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +15 -3
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +2 -53
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +3 -54
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +2 -29
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +3 -30
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +2 -53
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +3 -54
- package/dist/index49.js.map +1 -1
- package/dist/index5.cjs +9 -16
- package/dist/index5.cjs.map +1 -1
- package/dist/index5.js +10 -17
- package/dist/index5.js.map +1 -1
- package/dist/index50.cjs +32 -35
- package/dist/index50.cjs.map +1 -1
- package/dist/index50.js +32 -35
- package/dist/index50.js.map +1 -1
- package/dist/index51.cjs +48 -36
- package/dist/index51.cjs.map +1 -1
- package/dist/index51.js +48 -36
- package/dist/index51.js.map +1 -1
- package/dist/index52.cjs +16 -34
- package/dist/index52.cjs.map +1 -1
- package/dist/index52.js +16 -34
- package/dist/index52.js.map +1 -1
- package/dist/index53.cjs +31 -22
- package/dist/index53.cjs.map +1 -1
- package/dist/index53.js +32 -23
- package/dist/index53.js.map +1 -1
- package/dist/index54.cjs +52 -13
- package/dist/index54.cjs.map +1 -1
- package/dist/index54.js +53 -14
- package/dist/index54.js.map +1 -1
- package/dist/index55.cjs +134 -55
- package/dist/index55.cjs.map +1 -1
- package/dist/index55.js +133 -54
- package/dist/index55.js.map +1 -1
- package/dist/index56.cjs +46 -134
- package/dist/index56.cjs.map +1 -1
- package/dist/index56.js +45 -133
- package/dist/index56.js.map +1 -1
- package/dist/index57.cjs +16 -28
- package/dist/index57.cjs.map +1 -1
- package/dist/index57.js +17 -29
- package/dist/index57.js.map +1 -1
- package/dist/index58.cjs +22 -16
- package/dist/index58.cjs.map +1 -1
- package/dist/index58.js +22 -16
- package/dist/index58.js.map +1 -1
- package/dist/index59.cjs +10 -19
- package/dist/index59.cjs.map +1 -1
- package/dist/index59.js +10 -19
- package/dist/index59.js.map +1 -1
- package/dist/index6.cjs +19 -65
- package/dist/index6.cjs.map +1 -1
- package/dist/index6.js +19 -65
- package/dist/index6.js.map +1 -1
- package/dist/index60.cjs +17 -32
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +18 -33
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +78 -9
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +79 -10
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +37 -16
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +37 -16
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +16 -13
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +17 -14
- package/dist/index63.js.map +1 -1
- package/dist/index65.cjs +18 -0
- package/dist/index65.cjs.map +1 -0
- package/dist/index65.js +18 -0
- package/dist/index65.js.map +1 -0
- package/dist/index7.cjs +58 -75
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +58 -75
- package/dist/index7.js.map +1 -1
- package/dist/index8.cjs +82 -15
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +82 -15
- package/dist/index8.js.map +1 -1
- package/dist/index9.cjs +14 -15
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +15 -16
- package/dist/index9.js.map +1 -1
- package/dist/style.css +271 -0
- package/dist/tokens/semantic-tokens.css +21 -0
- package/dist/tokens/tokens.d.ts +35 -0
- package/dist/tokens/tokens.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index2.cjs +0 -44
- package/dist/index2.cjs.map +0 -1
- package/dist/index2.js +0 -44
- package/dist/index2.js.map +0 -1
package/dist/index48.cjs
CHANGED
|
@@ -1,36 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const header = "krc-header-zjbPA";
|
|
5
|
-
const title = "krc-title-ScYja";
|
|
6
|
-
const timeRangeGroup = "krc-timeRangeGroup-FP1TP";
|
|
7
|
-
const timeRangeButton = "krc-timeRangeButton-9XCxb";
|
|
8
|
-
const timeRangeButtonActive = "krc-timeRangeButtonActive-Y-KCh";
|
|
9
|
-
const chartContainer = "krc-chartContainer-6rb4Z";
|
|
10
|
-
const loading = "krc-loading-EWhol";
|
|
11
|
-
const error = "krc-error-erDaP";
|
|
12
|
-
const empty = "krc-empty---cYi";
|
|
3
|
+
const root = "krc-root-FVKOX";
|
|
13
4
|
const styles = {
|
|
14
|
-
root
|
|
15
|
-
header,
|
|
16
|
-
title,
|
|
17
|
-
timeRangeGroup,
|
|
18
|
-
timeRangeButton,
|
|
19
|
-
timeRangeButtonActive,
|
|
20
|
-
chartContainer,
|
|
21
|
-
loading,
|
|
22
|
-
error,
|
|
23
|
-
empty
|
|
5
|
+
root
|
|
24
6
|
};
|
|
25
|
-
exports.chartContainer = chartContainer;
|
|
26
7
|
exports.default = styles;
|
|
27
|
-
exports.empty = empty;
|
|
28
|
-
exports.error = error;
|
|
29
|
-
exports.header = header;
|
|
30
|
-
exports.loading = loading;
|
|
31
8
|
exports.root = root;
|
|
32
|
-
exports.timeRangeButton = timeRangeButton;
|
|
33
|
-
exports.timeRangeButtonActive = timeRangeButtonActive;
|
|
34
|
-
exports.timeRangeGroup = timeRangeGroup;
|
|
35
|
-
exports.title = title;
|
|
36
9
|
//# sourceMappingURL=index48.cjs.map
|
package/dist/index48.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index48.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index48.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/index48.js
CHANGED
|
@@ -1,36 +1,9 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const header = "krc-header-zjbPA";
|
|
3
|
-
const title = "krc-title-ScYja";
|
|
4
|
-
const timeRangeGroup = "krc-timeRangeGroup-FP1TP";
|
|
5
|
-
const timeRangeButton = "krc-timeRangeButton-9XCxb";
|
|
6
|
-
const timeRangeButtonActive = "krc-timeRangeButtonActive-Y-KCh";
|
|
7
|
-
const chartContainer = "krc-chartContainer-6rb4Z";
|
|
8
|
-
const loading = "krc-loading-EWhol";
|
|
9
|
-
const error = "krc-error-erDaP";
|
|
10
|
-
const empty = "krc-empty---cYi";
|
|
1
|
+
const root = "krc-root-FVKOX";
|
|
11
2
|
const styles = {
|
|
12
|
-
root
|
|
13
|
-
header,
|
|
14
|
-
title,
|
|
15
|
-
timeRangeGroup,
|
|
16
|
-
timeRangeButton,
|
|
17
|
-
timeRangeButtonActive,
|
|
18
|
-
chartContainer,
|
|
19
|
-
loading,
|
|
20
|
-
error,
|
|
21
|
-
empty
|
|
3
|
+
root
|
|
22
4
|
};
|
|
23
5
|
export {
|
|
24
|
-
chartContainer,
|
|
25
6
|
styles as default,
|
|
26
|
-
|
|
27
|
-
error,
|
|
28
|
-
header,
|
|
29
|
-
loading,
|
|
30
|
-
root,
|
|
31
|
-
timeRangeButton,
|
|
32
|
-
timeRangeButtonActive,
|
|
33
|
-
timeRangeGroup,
|
|
34
|
-
title
|
|
7
|
+
root
|
|
35
8
|
};
|
|
36
9
|
//# sourceMappingURL=index48.js.map
|
package/dist/index48.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index48.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index48.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/index49.cjs
CHANGED
|
@@ -1,60 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const header = "krc-header-7V-0i";
|
|
5
|
-
const title = "krc-title-SiRcV";
|
|
6
|
-
const headerActions = "krc-headerActions-HY6nM";
|
|
7
|
-
const splitContainer = "krc-splitContainer-ovkIf";
|
|
8
|
-
const tablePanel = "krc-tablePanel-gbWQx";
|
|
9
|
-
const chartPanel = "krc-chartPanel-eBJ9W";
|
|
10
|
-
const table = "krc-table-40WZx";
|
|
11
|
-
const tableRow = "krc-tableRow-yQlEa";
|
|
12
|
-
const tableRowSelected = "krc-tableRowSelected-vIEfO";
|
|
13
|
-
const pagination = "krc-pagination-nyCxO";
|
|
14
|
-
const paginationButton = "krc-paginationButton-k-cQB";
|
|
15
|
-
const paginationInfo = "krc-paginationInfo-ouuPw";
|
|
16
|
-
const placeholder = "krc-placeholder-YDeIw";
|
|
17
|
-
const loading = "krc-loading-UoiCd";
|
|
18
|
-
const error = "krc-error-Subfi";
|
|
19
|
-
const retryButton = "krc-retryButton-k8HPu";
|
|
20
|
-
const empty = "krc-empty-OoPZo";
|
|
3
|
+
const root = "krc-root-jba0x";
|
|
21
4
|
const styles = {
|
|
22
|
-
root
|
|
23
|
-
header,
|
|
24
|
-
title,
|
|
25
|
-
headerActions,
|
|
26
|
-
splitContainer,
|
|
27
|
-
tablePanel,
|
|
28
|
-
chartPanel,
|
|
29
|
-
table,
|
|
30
|
-
tableRow,
|
|
31
|
-
tableRowSelected,
|
|
32
|
-
pagination,
|
|
33
|
-
paginationButton,
|
|
34
|
-
paginationInfo,
|
|
35
|
-
placeholder,
|
|
36
|
-
loading,
|
|
37
|
-
error,
|
|
38
|
-
retryButton,
|
|
39
|
-
empty
|
|
5
|
+
root
|
|
40
6
|
};
|
|
41
|
-
exports.chartPanel = chartPanel;
|
|
42
7
|
exports.default = styles;
|
|
43
|
-
exports.empty = empty;
|
|
44
|
-
exports.error = error;
|
|
45
|
-
exports.header = header;
|
|
46
|
-
exports.headerActions = headerActions;
|
|
47
|
-
exports.loading = loading;
|
|
48
|
-
exports.pagination = pagination;
|
|
49
|
-
exports.paginationButton = paginationButton;
|
|
50
|
-
exports.paginationInfo = paginationInfo;
|
|
51
|
-
exports.placeholder = placeholder;
|
|
52
|
-
exports.retryButton = retryButton;
|
|
53
8
|
exports.root = root;
|
|
54
|
-
exports.splitContainer = splitContainer;
|
|
55
|
-
exports.table = table;
|
|
56
|
-
exports.tablePanel = tablePanel;
|
|
57
|
-
exports.tableRow = tableRow;
|
|
58
|
-
exports.tableRowSelected = tableRowSelected;
|
|
59
|
-
exports.title = title;
|
|
60
9
|
//# sourceMappingURL=index49.cjs.map
|
package/dist/index49.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index49.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index49.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/dist/index49.js
CHANGED
|
@@ -1,60 +1,9 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const header = "krc-header-7V-0i";
|
|
3
|
-
const title = "krc-title-SiRcV";
|
|
4
|
-
const headerActions = "krc-headerActions-HY6nM";
|
|
5
|
-
const splitContainer = "krc-splitContainer-ovkIf";
|
|
6
|
-
const tablePanel = "krc-tablePanel-gbWQx";
|
|
7
|
-
const chartPanel = "krc-chartPanel-eBJ9W";
|
|
8
|
-
const table = "krc-table-40WZx";
|
|
9
|
-
const tableRow = "krc-tableRow-yQlEa";
|
|
10
|
-
const tableRowSelected = "krc-tableRowSelected-vIEfO";
|
|
11
|
-
const pagination = "krc-pagination-nyCxO";
|
|
12
|
-
const paginationButton = "krc-paginationButton-k-cQB";
|
|
13
|
-
const paginationInfo = "krc-paginationInfo-ouuPw";
|
|
14
|
-
const placeholder = "krc-placeholder-YDeIw";
|
|
15
|
-
const loading = "krc-loading-UoiCd";
|
|
16
|
-
const error = "krc-error-Subfi";
|
|
17
|
-
const retryButton = "krc-retryButton-k8HPu";
|
|
18
|
-
const empty = "krc-empty-OoPZo";
|
|
1
|
+
const root = "krc-root-jba0x";
|
|
19
2
|
const styles = {
|
|
20
|
-
root
|
|
21
|
-
header,
|
|
22
|
-
title,
|
|
23
|
-
headerActions,
|
|
24
|
-
splitContainer,
|
|
25
|
-
tablePanel,
|
|
26
|
-
chartPanel,
|
|
27
|
-
table,
|
|
28
|
-
tableRow,
|
|
29
|
-
tableRowSelected,
|
|
30
|
-
pagination,
|
|
31
|
-
paginationButton,
|
|
32
|
-
paginationInfo,
|
|
33
|
-
placeholder,
|
|
34
|
-
loading,
|
|
35
|
-
error,
|
|
36
|
-
retryButton,
|
|
37
|
-
empty
|
|
3
|
+
root
|
|
38
4
|
};
|
|
39
5
|
export {
|
|
40
|
-
chartPanel,
|
|
41
6
|
styles as default,
|
|
42
|
-
|
|
43
|
-
error,
|
|
44
|
-
header,
|
|
45
|
-
headerActions,
|
|
46
|
-
loading,
|
|
47
|
-
pagination,
|
|
48
|
-
paginationButton,
|
|
49
|
-
paginationInfo,
|
|
50
|
-
placeholder,
|
|
51
|
-
retryButton,
|
|
52
|
-
root,
|
|
53
|
-
splitContainer,
|
|
54
|
-
table,
|
|
55
|
-
tablePanel,
|
|
56
|
-
tableRow,
|
|
57
|
-
tableRowSelected,
|
|
58
|
-
title
|
|
7
|
+
root
|
|
59
8
|
};
|
|
60
9
|
//# sourceMappingURL=index49.js.map
|
package/dist/index49.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index49.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index49.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/index5.cjs
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const react = require("react");
|
|
4
|
-
function
|
|
5
|
-
const [size, setSize] = react.useState({ width: 0, height: 0 });
|
|
4
|
+
function useEscapeKey(handler, enabled = true) {
|
|
6
5
|
react.useEffect(() => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
observer.observe(element);
|
|
17
|
-
return () => observer.disconnect();
|
|
18
|
-
}, [ref]);
|
|
19
|
-
return size;
|
|
6
|
+
if (!enabled) return;
|
|
7
|
+
const onKeyDown = (e) => {
|
|
8
|
+
if (e.key === "Escape") handler();
|
|
9
|
+
};
|
|
10
|
+
document.addEventListener("keydown", onKeyDown);
|
|
11
|
+
return () => document.removeEventListener("keydown", onKeyDown);
|
|
12
|
+
}, [handler, enabled]);
|
|
20
13
|
}
|
|
21
|
-
exports.
|
|
14
|
+
exports.useEscapeKey = useEscapeKey;
|
|
22
15
|
//# sourceMappingURL=index5.cjs.map
|
package/dist/index5.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index5.cjs","sources":["../src/hooks/
|
|
1
|
+
{"version":3,"file":"index5.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;;"}
|
package/dist/index5.js
CHANGED
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
const [size, setSize] = useState({ width: 0, height: 0 });
|
|
1
|
+
import { useEffect } from "react";
|
|
2
|
+
function useEscapeKey(handler, enabled = true) {
|
|
4
3
|
useEffect(() => {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
observer.observe(element);
|
|
15
|
-
return () => observer.disconnect();
|
|
16
|
-
}, [ref]);
|
|
17
|
-
return size;
|
|
4
|
+
if (!enabled) return;
|
|
5
|
+
const onKeyDown = (e) => {
|
|
6
|
+
if (e.key === "Escape") handler();
|
|
7
|
+
};
|
|
8
|
+
document.addEventListener("keydown", onKeyDown);
|
|
9
|
+
return () => document.removeEventListener("keydown", onKeyDown);
|
|
10
|
+
}, [handler, enabled]);
|
|
18
11
|
}
|
|
19
12
|
export {
|
|
20
|
-
|
|
13
|
+
useEscapeKey
|
|
21
14
|
};
|
|
22
15
|
//# sourceMappingURL=index5.js.map
|
package/dist/index5.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index5.js","sources":["../src/hooks/
|
|
1
|
+
{"version":3,"file":"index5.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;"}
|
package/dist/index50.cjs
CHANGED
|
@@ -1,45 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const warning = "krc-warning-ll4Hc";
|
|
3
|
+
const root = "krc-root-7cxYt";
|
|
4
|
+
const chip = "krc-chip-tgAQw";
|
|
5
|
+
const active = "krc-active-hboGd";
|
|
6
|
+
const summary = "krc-summary-E-FXy";
|
|
7
|
+
const popover = "krc-popover-IJFWK";
|
|
8
|
+
const popoverHeader = "krc-popoverHeader-mdeD8";
|
|
9
|
+
const fields = "krc-fields-h5R5w";
|
|
10
|
+
const field = "krc-field-u9yvp";
|
|
11
|
+
const error = "krc-error-jsFkv";
|
|
12
|
+
const actions = "krc-actions-prbFX";
|
|
13
|
+
const btnGhost = "krc-btnGhost-x8cbA";
|
|
14
|
+
const btnPrimary = "krc-btnPrimary-T0w2q";
|
|
16
15
|
const styles = {
|
|
17
16
|
root,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
loading,
|
|
17
|
+
chip,
|
|
18
|
+
active,
|
|
19
|
+
summary,
|
|
20
|
+
popover,
|
|
21
|
+
popoverHeader,
|
|
22
|
+
fields,
|
|
23
|
+
field,
|
|
26
24
|
error,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
actions,
|
|
26
|
+
btnGhost,
|
|
27
|
+
btnPrimary
|
|
30
28
|
};
|
|
31
|
-
exports.
|
|
29
|
+
exports.actions = actions;
|
|
30
|
+
exports.active = active;
|
|
31
|
+
exports.btnGhost = btnGhost;
|
|
32
|
+
exports.btnPrimary = btnPrimary;
|
|
33
|
+
exports.chip = chip;
|
|
32
34
|
exports.default = styles;
|
|
33
|
-
exports.empty = empty;
|
|
34
35
|
exports.error = error;
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.
|
|
38
|
-
exports.
|
|
36
|
+
exports.field = field;
|
|
37
|
+
exports.fields = fields;
|
|
38
|
+
exports.popover = popover;
|
|
39
|
+
exports.popoverHeader = popoverHeader;
|
|
39
40
|
exports.root = root;
|
|
40
|
-
exports.
|
|
41
|
-
exports.toolbar = toolbar;
|
|
42
|
-
exports.toolbarLabel = toolbarLabel;
|
|
43
|
-
exports.toolbarSelect = toolbarSelect;
|
|
44
|
-
exports.warning = warning;
|
|
41
|
+
exports.summary = summary;
|
|
45
42
|
//# sourceMappingURL=index50.cjs.map
|
package/dist/index50.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index50.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index50.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index50.js
CHANGED
|
@@ -1,45 +1,42 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const warning = "krc-warning-ll4Hc";
|
|
1
|
+
const root = "krc-root-7cxYt";
|
|
2
|
+
const chip = "krc-chip-tgAQw";
|
|
3
|
+
const active = "krc-active-hboGd";
|
|
4
|
+
const summary = "krc-summary-E-FXy";
|
|
5
|
+
const popover = "krc-popover-IJFWK";
|
|
6
|
+
const popoverHeader = "krc-popoverHeader-mdeD8";
|
|
7
|
+
const fields = "krc-fields-h5R5w";
|
|
8
|
+
const field = "krc-field-u9yvp";
|
|
9
|
+
const error = "krc-error-jsFkv";
|
|
10
|
+
const actions = "krc-actions-prbFX";
|
|
11
|
+
const btnGhost = "krc-btnGhost-x8cbA";
|
|
12
|
+
const btnPrimary = "krc-btnPrimary-T0w2q";
|
|
14
13
|
const styles = {
|
|
15
14
|
root,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
loading,
|
|
15
|
+
chip,
|
|
16
|
+
active,
|
|
17
|
+
summary,
|
|
18
|
+
popover,
|
|
19
|
+
popoverHeader,
|
|
20
|
+
fields,
|
|
21
|
+
field,
|
|
24
22
|
error,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
actions,
|
|
24
|
+
btnGhost,
|
|
25
|
+
btnPrimary
|
|
28
26
|
};
|
|
29
27
|
export {
|
|
30
|
-
|
|
28
|
+
actions,
|
|
29
|
+
active,
|
|
30
|
+
btnGhost,
|
|
31
|
+
btnPrimary,
|
|
32
|
+
chip,
|
|
31
33
|
styles as default,
|
|
32
|
-
empty,
|
|
33
34
|
error,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
field,
|
|
36
|
+
fields,
|
|
37
|
+
popover,
|
|
38
|
+
popoverHeader,
|
|
38
39
|
root,
|
|
39
|
-
|
|
40
|
-
toolbar,
|
|
41
|
-
toolbarLabel,
|
|
42
|
-
toolbarSelect,
|
|
43
|
-
warning
|
|
40
|
+
summary
|
|
44
41
|
};
|
|
45
42
|
//# sourceMappingURL=index50.js.map
|
package/dist/index50.js.map
CHANGED
|
@@ -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,45 +1,57 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const root = "krc-root-
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
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";
|
|
16
20
|
const styles = {
|
|
17
21
|
root,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
|
30
38
|
};
|
|
31
|
-
exports.chartContainer = chartContainer;
|
|
32
39
|
exports.default = styles;
|
|
33
40
|
exports.empty = empty;
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.
|
|
37
|
-
exports.legendToggle = legendToggle;
|
|
38
|
-
exports.legendToggleActive = legendToggleActive;
|
|
39
|
-
exports.loading = loading;
|
|
40
|
-
exports.retryButton = retryButton;
|
|
41
|
+
exports.loadMore = loadMore;
|
|
42
|
+
exports.loadMoreButton = loadMoreButton;
|
|
43
|
+
exports.resizeHandle = resizeHandle;
|
|
41
44
|
exports.root = root;
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
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;
|
|
45
57
|
//# sourceMappingURL=index51.cjs.map
|
package/dist/index51.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index51.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index51.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|