@ktnpm_devops/react-component 0.21.0 → 0.22.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/LICENSE +14 -15
- package/README.md +2 -1
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +1 -1
- package/dist/index100.cjs +6 -10
- package/dist/index100.cjs.map +1 -1
- package/dist/index100.js +5 -9
- package/dist/index100.js.map +1 -1
- package/dist/index101.cjs +13 -64
- package/dist/index101.cjs.map +1 -1
- package/dist/index101.js +13 -64
- package/dist/index101.js.map +1 -1
- package/dist/index102.cjs +30 -15
- package/dist/index102.cjs.map +1 -1
- package/dist/index102.js +30 -15
- package/dist/index102.js.map +1 -1
- package/dist/index103.cjs +28 -22
- package/dist/index103.cjs.map +1 -1
- package/dist/index103.js +28 -22
- package/dist/index103.js.map +1 -1
- package/dist/index104.cjs +134 -19
- package/dist/index104.cjs.map +1 -1
- package/dist/index104.js +133 -18
- package/dist/index104.js.map +1 -1
- package/dist/index105.cjs +40 -13
- package/dist/index105.cjs.map +1 -1
- package/dist/index105.js +40 -13
- package/dist/index105.js.map +1 -1
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +1 -1
- package/dist/index107.cjs +16 -19
- package/dist/index107.cjs.map +1 -1
- package/dist/index107.js +17 -20
- package/dist/index107.js.map +1 -1
- package/dist/index108.cjs +52 -16
- package/dist/index108.cjs.map +1 -1
- package/dist/index108.js +52 -16
- package/dist/index108.js.map +1 -1
- package/dist/index109.cjs +116 -7
- package/dist/index109.cjs.map +1 -1
- package/dist/index109.js +115 -6
- package/dist/index109.js.map +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +1 -1
- package/dist/index110.cjs +37 -19
- package/dist/index110.cjs.map +1 -1
- package/dist/index110.js +37 -19
- package/dist/index110.js.map +1 -1
- package/dist/index111.cjs +18 -17
- package/dist/index111.cjs.map +1 -1
- package/dist/index111.js +17 -16
- package/dist/index111.js.map +1 -1
- package/dist/index112.cjs +50 -2
- package/dist/index112.cjs.map +1 -1
- package/dist/index112.js +51 -3
- package/dist/index112.js.map +1 -1
- package/dist/index113.cjs +35 -15
- package/dist/index113.cjs.map +1 -1
- package/dist/index113.js +34 -14
- package/dist/index113.js.map +1 -1
- package/dist/index114.cjs +43 -6
- package/dist/index114.cjs.map +1 -1
- package/dist/index114.js +42 -5
- package/dist/index114.js.map +1 -1
- package/dist/index115.cjs +24 -39
- package/dist/index115.cjs.map +1 -1
- package/dist/index115.js +23 -38
- package/dist/index115.js.map +1 -1
- package/dist/index116.cjs +39 -21
- package/dist/index116.cjs.map +1 -1
- package/dist/index116.js +38 -20
- package/dist/index116.js.map +1 -1
- package/dist/index117.cjs +9 -22
- package/dist/index117.cjs.map +1 -1
- package/dist/index117.js +8 -21
- package/dist/index117.js.map +1 -1
- package/dist/index118.cjs +10 -21
- package/dist/index118.cjs.map +1 -1
- package/dist/index118.js +9 -20
- package/dist/index118.js.map +1 -1
- package/dist/index119.cjs +20 -19
- package/dist/index119.cjs.map +1 -1
- package/dist/index119.js +19 -18
- package/dist/index119.js.map +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.cjs +14 -40
- package/dist/index120.cjs.map +1 -1
- package/dist/index120.js +13 -39
- package/dist/index120.js.map +1 -1
- package/dist/index121.cjs +10 -54
- package/dist/index121.cjs.map +1 -1
- package/dist/index121.js +9 -53
- package/dist/index121.js.map +1 -1
- package/dist/index122.cjs +70 -48
- package/dist/index122.cjs.map +1 -1
- package/dist/index122.js +69 -47
- package/dist/index122.js.map +1 -1
- package/dist/index123.cjs +70 -18
- package/dist/index123.cjs.map +1 -1
- package/dist/index123.js +69 -17
- package/dist/index123.js.map +1 -1
- package/dist/index124.cjs +16 -31
- package/dist/index124.cjs.map +1 -1
- package/dist/index124.js +17 -32
- package/dist/index124.js.map +1 -1
- package/dist/index125.cjs +22 -33
- package/dist/index125.cjs.map +1 -1
- package/dist/index125.js +21 -32
- package/dist/index125.js.map +1 -1
- package/dist/index126.cjs +69 -6
- package/dist/index126.cjs.map +1 -1
- package/dist/index126.js +68 -5
- package/dist/index126.js.map +1 -1
- package/dist/index127.cjs +7 -51
- package/dist/index127.cjs.map +1 -1
- package/dist/index127.js +6 -50
- package/dist/index127.js.map +1 -1
- package/dist/index128.cjs +34 -10
- package/dist/index128.cjs.map +1 -1
- package/dist/index128.js +35 -11
- package/dist/index128.js.map +1 -1
- package/dist/index129.cjs +19 -49
- package/dist/index129.cjs.map +1 -1
- package/dist/index129.js +18 -48
- package/dist/index129.js.map +1 -1
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +1 -1
- package/dist/index130.cjs +21 -75
- package/dist/index130.cjs.map +1 -1
- package/dist/index130.js +20 -74
- package/dist/index130.js.map +1 -1
- package/dist/index131.cjs +48 -1163
- package/dist/index131.cjs.map +1 -1
- package/dist/index131.js +47 -1163
- package/dist/index131.js.map +1 -1
- package/dist/index132.cjs +72 -1572
- package/dist/index132.cjs.map +1 -1
- package/dist/index132.js +71 -1572
- package/dist/index132.js.map +1 -1
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +1 -1
- package/dist/index16.cjs +2 -2
- package/dist/index16.js +2 -2
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +1 -1
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +1 -1
- package/dist/index22.cjs +2 -2
- package/dist/index22.js +2 -2
- package/dist/index23.cjs +2 -2
- package/dist/index23.js +2 -2
- package/dist/index24.cjs +2 -2
- package/dist/index24.js +2 -2
- package/dist/index25.cjs +2 -2
- package/dist/index25.js +2 -2
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +1 -1
- package/dist/index27.cjs +2 -2
- package/dist/index27.js +2 -2
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +1 -1
- package/dist/index29.cjs +3 -3
- package/dist/index29.js +3 -3
- package/dist/index30.cjs +11 -11
- package/dist/index30.js +11 -11
- package/dist/index31.cjs +4 -4
- package/dist/index31.js +4 -4
- package/dist/index32.cjs +3 -3
- package/dist/index32.js +3 -3
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +1 -1
- package/dist/index34.cjs +2 -2
- package/dist/index34.js +2 -2
- package/dist/index35.cjs +2 -2
- package/dist/index35.js +2 -2
- package/dist/index36.cjs +2 -2
- package/dist/index36.js +2 -2
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +1 -1
- package/dist/index38.cjs +3 -3
- package/dist/index38.js +3 -3
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +1 -1
- package/dist/index40.cjs +2 -2
- package/dist/index40.js +2 -2
- package/dist/index41.cjs +2 -2
- package/dist/index41.js +2 -2
- package/dist/index42.cjs +2 -2
- package/dist/index42.js +2 -2
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +1 -1
- package/dist/index44.cjs +2 -2
- package/dist/index44.js +2 -2
- package/dist/index45.cjs +4 -4
- package/dist/index45.js +4 -4
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +1 -1
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +1 -1
- package/dist/index49.cjs +2 -2
- package/dist/index49.js +2 -2
- package/dist/index50.cjs +3 -3
- package/dist/index50.js +3 -3
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +1 -1
- package/dist/index52.cjs +3 -3
- package/dist/index52.js +3 -3
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +1 -1
- package/dist/index55.cjs +3 -3
- package/dist/index55.js +3 -3
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +1 -1
- package/dist/index58.cjs +2 -2
- package/dist/index58.js +2 -2
- package/dist/index60.cjs +21 -18
- package/dist/index60.cjs.map +1 -1
- package/dist/index60.js +22 -19
- package/dist/index60.js.map +1 -1
- package/dist/index61.cjs +17 -27
- package/dist/index61.cjs.map +1 -1
- package/dist/index61.js +16 -26
- package/dist/index61.js.map +1 -1
- package/dist/index62.cjs +6 -144
- package/dist/index62.cjs.map +1 -1
- package/dist/index62.js +5 -143
- package/dist/index62.js.map +1 -1
- package/dist/index63.cjs +5 -17
- package/dist/index63.cjs.map +1 -1
- package/dist/index63.js +5 -17
- package/dist/index63.js.map +1 -1
- package/dist/index64.cjs +145 -25
- package/dist/index64.cjs.map +1 -1
- package/dist/index64.js +143 -23
- package/dist/index64.js.map +1 -1
- package/dist/index65.cjs +36 -18
- package/dist/index65.cjs.map +1 -1
- package/dist/index65.js +36 -18
- package/dist/index65.js.map +1 -1
- package/dist/index66.cjs +20 -17
- package/dist/index66.cjs.map +1 -1
- package/dist/index66.js +21 -18
- package/dist/index66.js.map +1 -1
- package/dist/index67.cjs +13 -10
- package/dist/index67.cjs.map +1 -1
- package/dist/index67.js +13 -10
- package/dist/index67.js.map +1 -1
- package/dist/index68.cjs +19 -64
- package/dist/index68.cjs.map +1 -1
- package/dist/index68.js +19 -64
- package/dist/index68.js.map +1 -1
- package/dist/index69.cjs +11 -2
- package/dist/index69.cjs.map +1 -1
- package/dist/index69.js +11 -2
- package/dist/index69.js.map +1 -1
- package/dist/index70.cjs +24 -73
- package/dist/index70.cjs.map +1 -1
- package/dist/index70.js +23 -72
- package/dist/index70.js.map +1 -1
- package/dist/index71.cjs +14 -50
- package/dist/index71.cjs.map +1 -1
- package/dist/index71.js +14 -50
- package/dist/index71.js.map +1 -1
- package/dist/index72.cjs +2 -80
- package/dist/index72.cjs.map +1 -1
- package/dist/index72.js +3 -81
- package/dist/index72.js.map +1 -1
- package/dist/index73.cjs +13 -13
- package/dist/index73.js +13 -13
- package/dist/index74.cjs +19 -34
- package/dist/index74.cjs.map +1 -1
- package/dist/index74.js +20 -35
- package/dist/index74.js.map +1 -1
- package/dist/index75.cjs +73 -33
- package/dist/index75.cjs.map +1 -1
- package/dist/index75.js +72 -32
- package/dist/index75.js.map +1 -1
- package/dist/index76.cjs +29 -5
- package/dist/index76.cjs.map +1 -1
- package/dist/index76.js +30 -6
- package/dist/index76.js.map +1 -1
- package/dist/index77.cjs +2 -5
- package/dist/index77.cjs.map +1 -1
- package/dist/index77.js +2 -5
- package/dist/index77.js.map +1 -1
- package/dist/index78.cjs +43 -25
- package/dist/index78.cjs.map +1 -1
- package/dist/index78.js +44 -26
- package/dist/index78.js.map +1 -1
- package/dist/index79.cjs +75 -33
- package/dist/index79.cjs.map +1 -1
- package/dist/index79.js +75 -33
- package/dist/index79.js.map +1 -1
- package/dist/index80.cjs +25 -134
- package/dist/index80.cjs.map +1 -1
- package/dist/index80.js +24 -133
- package/dist/index80.js.map +1 -1
- package/dist/index81.cjs +50 -38
- package/dist/index81.cjs.map +1 -1
- package/dist/index81.js +50 -38
- package/dist/index81.js.map +1 -1
- package/dist/index82.cjs +1164 -58
- package/dist/index82.cjs.map +1 -1
- package/dist/index82.js +1163 -56
- package/dist/index82.js.map +1 -1
- package/dist/index83.cjs +1570 -34
- package/dist/index83.cjs.map +1 -1
- package/dist/index83.js +1570 -33
- package/dist/index83.js.map +1 -1
- package/dist/index84.cjs +15 -92
- package/dist/index84.cjs.map +1 -1
- package/dist/index84.js +14 -91
- package/dist/index84.js.map +1 -1
- package/dist/index85.cjs +48 -40
- package/dist/index85.cjs.map +1 -1
- package/dist/index85.js +47 -39
- package/dist/index85.js.map +1 -1
- package/dist/index86.cjs +14 -112
- package/dist/index86.cjs.map +1 -1
- package/dist/index86.js +14 -112
- package/dist/index86.js.map +1 -1
- package/dist/index87.cjs +31 -37
- package/dist/index87.cjs.map +1 -1
- package/dist/index87.js +31 -37
- package/dist/index87.js.map +1 -1
- package/dist/index88.cjs +15 -22
- package/dist/index88.cjs.map +1 -1
- package/dist/index88.js +14 -21
- package/dist/index88.js.map +1 -1
- package/dist/index89.cjs +21 -69
- package/dist/index89.cjs.map +1 -1
- package/dist/index89.js +20 -68
- package/dist/index89.js.map +1 -1
- package/dist/index90.cjs +9 -7
- package/dist/index90.cjs.map +1 -1
- package/dist/index90.js +8 -6
- package/dist/index90.js.map +1 -1
- package/dist/index91.cjs +2 -35
- package/dist/index91.cjs.map +1 -1
- package/dist/index91.js +3 -36
- package/dist/index91.js.map +1 -1
- package/dist/index92.cjs +39 -35
- package/dist/index92.cjs.map +1 -1
- package/dist/index92.js +38 -34
- package/dist/index92.js.map +1 -1
- package/dist/index93.cjs +21 -43
- package/dist/index93.cjs.map +1 -1
- package/dist/index93.js +20 -42
- package/dist/index93.js.map +1 -1
- package/dist/index94.cjs +38 -23
- package/dist/index94.cjs.map +1 -1
- package/dist/index94.js +38 -23
- package/dist/index94.js.map +1 -1
- package/dist/index95.cjs +91 -38
- package/dist/index95.cjs.map +1 -1
- package/dist/index95.js +91 -38
- package/dist/index95.js.map +1 -1
- package/dist/index96.cjs +40 -9
- package/dist/index96.cjs.map +1 -1
- package/dist/index96.js +39 -8
- package/dist/index96.js.map +1 -1
- package/dist/index97.cjs +39 -10
- package/dist/index97.cjs.map +1 -1
- package/dist/index97.js +38 -9
- package/dist/index97.js.map +1 -1
- package/dist/index98.cjs +25 -20
- package/dist/index98.cjs.map +1 -1
- package/dist/index98.js +24 -19
- package/dist/index98.js.map +1 -1
- package/dist/index99.cjs +43 -14
- package/dist/index99.cjs.map +1 -1
- package/dist/index99.js +42 -13
- package/dist/index99.js.map +1 -1
- package/package.json +2 -2
package/dist/index128.js
CHANGED
|
@@ -1,18 +1,42 @@
|
|
|
1
|
-
const root = "krc-root-
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
1
|
+
const root = "krc-root-ij8wB";
|
|
2
|
+
const header = "krc-header-poY0R";
|
|
3
|
+
const headerText = "krc-headerText-ShzOl";
|
|
4
|
+
const title = "krc-title-H3VpM";
|
|
5
|
+
const subtitle = "krc-subtitle-n6tgG";
|
|
6
|
+
const headerActions = "krc-headerActions-WY-hn";
|
|
7
|
+
const toolbar = "krc-toolbar-lMVmb";
|
|
8
|
+
const chartContainer = "krc-chartContainer-nlbUx";
|
|
9
|
+
const loading = "krc-loading-xub77";
|
|
10
|
+
const empty = "krc-empty-vJ4UM";
|
|
11
|
+
const error = "krc-error-d-7n5";
|
|
12
|
+
const retryButton = "krc-retryButton-LT8qy";
|
|
5
13
|
const styles = {
|
|
6
14
|
root,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
15
|
+
header,
|
|
16
|
+
headerText,
|
|
17
|
+
title,
|
|
18
|
+
subtitle,
|
|
19
|
+
headerActions,
|
|
20
|
+
toolbar,
|
|
21
|
+
chartContainer,
|
|
22
|
+
loading,
|
|
23
|
+
empty,
|
|
24
|
+
error,
|
|
25
|
+
retryButton
|
|
10
26
|
};
|
|
11
27
|
export {
|
|
12
|
-
|
|
28
|
+
chartContainer,
|
|
13
29
|
styles as default,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
30
|
+
empty,
|
|
31
|
+
error,
|
|
32
|
+
header,
|
|
33
|
+
headerActions,
|
|
34
|
+
headerText,
|
|
35
|
+
loading,
|
|
36
|
+
retryButton,
|
|
37
|
+
root,
|
|
38
|
+
subtitle,
|
|
39
|
+
title,
|
|
40
|
+
toolbar
|
|
17
41
|
};
|
|
18
42
|
//# sourceMappingURL=index128.js.map
|
package/dist/index128.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index128.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index128.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index129.cjs
CHANGED
|
@@ -1,51 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
let horizontal = null;
|
|
22
|
-
const clippers = [];
|
|
23
|
-
let trapped = false;
|
|
24
|
-
for (let el = element.parentElement; el; el = el.parentElement) {
|
|
25
|
-
const style = getComputedStyle(el);
|
|
26
|
-
if (!trapped && trapsFixed(style)) trapped = true;
|
|
27
|
-
if (el === document.body || el === root) continue;
|
|
28
|
-
const clipsX = CLIPPING_OVERFLOW.has(style.overflowX);
|
|
29
|
-
const clipsY = clipsVertically(style);
|
|
30
|
-
if (!clipsX && !clipsY) continue;
|
|
31
|
-
const rect = el.getBoundingClientRect();
|
|
32
|
-
if (clipsX && !horizontal) {
|
|
33
|
-
const left = rect.left + el.clientLeft;
|
|
34
|
-
horizontal = { left, right: left + el.clientWidth };
|
|
35
|
-
}
|
|
36
|
-
if (clipsY) {
|
|
37
|
-
const top = rect.top + el.clientTop;
|
|
38
|
-
clippers.push({ top, bottom: top + el.clientHeight });
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
const viewportWidth = root.clientWidth;
|
|
42
|
-
const outermost = clippers[clippers.length - 1];
|
|
43
|
-
return {
|
|
44
|
-
horizontal: horizontal ? { left: Math.max(horizontal.left, 0), right: Math.min(horizontal.right, viewportWidth) } : { left: 0, right: viewportWidth },
|
|
45
|
-
vertical: clippers.reduce(intersect, viewport),
|
|
46
|
-
viewport,
|
|
47
|
-
escape: trapped || clippers.length < 2 ? null : intersect(outermost, viewport)
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.getClippingRect = getClippingRect;
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "krc-root-WL0sD";
|
|
4
|
+
const left = "krc-left-9KFDB";
|
|
5
|
+
const right = "krc-right-YmUbX";
|
|
6
|
+
const divider = "krc-divider-jNOSU";
|
|
7
|
+
const dividerHandle = "krc-dividerHandle-SoNqx";
|
|
8
|
+
const styles = {
|
|
9
|
+
root,
|
|
10
|
+
left,
|
|
11
|
+
right,
|
|
12
|
+
divider,
|
|
13
|
+
dividerHandle
|
|
14
|
+
};
|
|
15
|
+
exports.default = styles;
|
|
16
|
+
exports.divider = divider;
|
|
17
|
+
exports.dividerHandle = dividerHandle;
|
|
18
|
+
exports.left = left;
|
|
19
|
+
exports.right = right;
|
|
20
|
+
exports.root = root;
|
|
51
21
|
//# sourceMappingURL=index129.cjs.map
|
package/dist/index129.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index129.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index129.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index129.js
CHANGED
|
@@ -1,51 +1,21 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
top: Math.max(a.top, b.top),
|
|
14
|
-
bottom: Math.min(a.bottom, b.bottom)
|
|
15
|
-
});
|
|
16
|
-
function getClippingRect(element) {
|
|
17
|
-
const root = document.documentElement;
|
|
18
|
-
const viewport = { top: 0, bottom: root.clientHeight };
|
|
19
|
-
let horizontal = null;
|
|
20
|
-
const clippers = [];
|
|
21
|
-
let trapped = false;
|
|
22
|
-
for (let el = element.parentElement; el; el = el.parentElement) {
|
|
23
|
-
const style = getComputedStyle(el);
|
|
24
|
-
if (!trapped && trapsFixed(style)) trapped = true;
|
|
25
|
-
if (el === document.body || el === root) continue;
|
|
26
|
-
const clipsX = CLIPPING_OVERFLOW.has(style.overflowX);
|
|
27
|
-
const clipsY = clipsVertically(style);
|
|
28
|
-
if (!clipsX && !clipsY) continue;
|
|
29
|
-
const rect = el.getBoundingClientRect();
|
|
30
|
-
if (clipsX && !horizontal) {
|
|
31
|
-
const left = rect.left + el.clientLeft;
|
|
32
|
-
horizontal = { left, right: left + el.clientWidth };
|
|
33
|
-
}
|
|
34
|
-
if (clipsY) {
|
|
35
|
-
const top = rect.top + el.clientTop;
|
|
36
|
-
clippers.push({ top, bottom: top + el.clientHeight });
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
const viewportWidth = root.clientWidth;
|
|
40
|
-
const outermost = clippers[clippers.length - 1];
|
|
41
|
-
return {
|
|
42
|
-
horizontal: horizontal ? { left: Math.max(horizontal.left, 0), right: Math.min(horizontal.right, viewportWidth) } : { left: 0, right: viewportWidth },
|
|
43
|
-
vertical: clippers.reduce(intersect, viewport),
|
|
44
|
-
viewport,
|
|
45
|
-
escape: trapped || clippers.length < 2 ? null : intersect(outermost, viewport)
|
|
46
|
-
};
|
|
47
|
-
}
|
|
1
|
+
const root = "krc-root-WL0sD";
|
|
2
|
+
const left = "krc-left-9KFDB";
|
|
3
|
+
const right = "krc-right-YmUbX";
|
|
4
|
+
const divider = "krc-divider-jNOSU";
|
|
5
|
+
const dividerHandle = "krc-dividerHandle-SoNqx";
|
|
6
|
+
const styles = {
|
|
7
|
+
root,
|
|
8
|
+
left,
|
|
9
|
+
right,
|
|
10
|
+
divider,
|
|
11
|
+
dividerHandle
|
|
12
|
+
};
|
|
48
13
|
export {
|
|
49
|
-
|
|
14
|
+
styles as default,
|
|
15
|
+
divider,
|
|
16
|
+
dividerHandle,
|
|
17
|
+
left,
|
|
18
|
+
right,
|
|
19
|
+
root
|
|
50
20
|
};
|
|
51
21
|
//# sourceMappingURL=index129.js.map
|
package/dist/index129.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index129.js","sources":[
|
|
1
|
+
{"version":3,"file":"index129.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
package/dist/index13.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const jsxRuntime = require("react/jsx-runtime");
|
|
4
4
|
const clsx = require("./index59.cjs");
|
|
5
|
-
const Badge_module = require("./
|
|
5
|
+
const Badge_module = require("./index67.cjs");
|
|
6
6
|
const Badge = ({ className, variant = "info", ...props }) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx.clsx(Badge_module.default.root, Badge_module.default[variant], className), ...props });
|
|
7
7
|
exports.Badge = Badge;
|
|
8
8
|
//# sourceMappingURL=index13.cjs.map
|
package/dist/index13.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { clsx } from "./index59.js";
|
|
3
|
-
import styles from "./
|
|
3
|
+
import styles from "./index67.js";
|
|
4
4
|
const Badge = ({ className, variant = "info", ...props }) => /* @__PURE__ */ jsx("span", { className: clsx(styles.root, styles[variant], className), ...props });
|
|
5
5
|
export {
|
|
6
6
|
Badge
|
package/dist/index130.cjs
CHANGED
|
@@ -1,78 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function resolveVertical(anchor, panel, box, currentSide, margin) {
|
|
17
|
-
const inside = shrink(box.vertical, margin);
|
|
18
|
-
const escape = box.escape && shrink(box.escape, margin);
|
|
19
|
-
const room = (side2, rect) => side2 === "bottom" ? rect.bottom - (anchor.bottom + panel.gap) : anchor.top - panel.gap - rect.top;
|
|
20
|
-
const candidates = [
|
|
21
|
-
{ side: "bottom", outside: false },
|
|
22
|
-
{ side: "top", outside: false }
|
|
23
|
-
];
|
|
24
|
-
if (escape) candidates.push({ side: "bottom", outside: true }, { side: "top", outside: true });
|
|
25
|
-
const fits = (c) => panel.height <= room(c.side, c.outside && escape ? escape : inside);
|
|
26
|
-
const kept = currentSide && candidates.find((c) => c.side === currentSide && fits(c));
|
|
27
|
-
const first = kept || candidates.find(fits);
|
|
28
|
-
if (first) return first;
|
|
29
|
-
const limit = escape ?? inside;
|
|
30
|
-
const side = room("bottom", limit) >= room("top", limit) ? "bottom" : "top";
|
|
31
|
-
return {
|
|
32
|
-
side,
|
|
33
|
-
outside: room(side, inside) < room(side, limit),
|
|
34
|
-
maxHeight: Math.max(room(side, limit), 0)
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function fixedStyle(anchor, panel, viewportBottom, horizontal, vertical) {
|
|
38
|
-
const below = vertical.side === "bottom";
|
|
39
|
-
return {
|
|
40
|
-
position: "fixed",
|
|
41
|
-
top: below ? anchor.bottom + panel.gap : "auto",
|
|
42
|
-
bottom: below ? "auto" : viewportBottom - anchor.top + panel.gap,
|
|
43
|
-
left: horizontal.align === "start" ? anchor.left + (horizontal.shift ?? 0) : anchor.right - panel.width,
|
|
44
|
-
right: "auto",
|
|
45
|
-
width: panel.width,
|
|
46
|
-
boxSizing: "border-box"
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function resolvePanelPlacement({
|
|
50
|
-
anchor,
|
|
51
|
-
panel,
|
|
52
|
-
box,
|
|
53
|
-
currentSide,
|
|
54
|
-
margin = constants.PANEL_EDGE_MARGIN
|
|
55
|
-
}) {
|
|
56
|
-
if (panel.width === 0 || panel.height === 0) return DEFAULT_PLACEMENT;
|
|
57
|
-
const horizontal = resolveHorizontal(anchor, panel.width, box.horizontal, margin);
|
|
58
|
-
const vertical = resolveVertical(anchor, panel, box, currentSide, margin);
|
|
59
|
-
const { align } = horizontal;
|
|
60
|
-
const { side, maxHeight } = vertical;
|
|
61
|
-
const style = vertical.outside ? fixedStyle(anchor, panel, box.viewport.bottom, horizontal, vertical) : {};
|
|
62
|
-
if (!vertical.outside && horizontal.shift !== void 0) {
|
|
63
|
-
style.transform = `translateX(${horizontal.shift}px)`;
|
|
64
|
-
}
|
|
65
|
-
if (maxHeight !== void 0) style.maxHeight = maxHeight;
|
|
66
|
-
return Object.keys(style).length ? { align, side, style } : { align, side };
|
|
67
|
-
}
|
|
68
|
-
const sameStyle = (a = {}, b = {}) => {
|
|
69
|
-
const keys = Object.keys(a);
|
|
70
|
-
return keys.length === Object.keys(b).length && keys.every((key) => a[key] === b[key]);
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "krc-root-p3Y59";
|
|
4
|
+
const plain = "krc-plain-VC-9I";
|
|
5
|
+
const icon = "krc-icon-ix2Mi";
|
|
6
|
+
const title = "krc-title--QtUj";
|
|
7
|
+
const description = "krc-description-Qrtj7";
|
|
8
|
+
const action = "krc-action-NBNpI";
|
|
9
|
+
const styles = {
|
|
10
|
+
root,
|
|
11
|
+
plain,
|
|
12
|
+
icon,
|
|
13
|
+
title,
|
|
14
|
+
description,
|
|
15
|
+
action
|
|
71
16
|
};
|
|
72
|
-
|
|
73
|
-
exports.
|
|
74
|
-
exports.
|
|
75
|
-
exports.
|
|
76
|
-
exports.
|
|
77
|
-
exports.
|
|
17
|
+
exports.action = action;
|
|
18
|
+
exports.default = styles;
|
|
19
|
+
exports.description = description;
|
|
20
|
+
exports.icon = icon;
|
|
21
|
+
exports.plain = plain;
|
|
22
|
+
exports.root = root;
|
|
23
|
+
exports.title = title;
|
|
78
24
|
//# sourceMappingURL=index130.cjs.map
|
package/dist/index130.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index130.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index130.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index130.js
CHANGED
|
@@ -1,78 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
function resolveVertical(anchor, panel, box, currentSide, margin) {
|
|
15
|
-
const inside = shrink(box.vertical, margin);
|
|
16
|
-
const escape = box.escape && shrink(box.escape, margin);
|
|
17
|
-
const room = (side2, rect) => side2 === "bottom" ? rect.bottom - (anchor.bottom + panel.gap) : anchor.top - panel.gap - rect.top;
|
|
18
|
-
const candidates = [
|
|
19
|
-
{ side: "bottom", outside: false },
|
|
20
|
-
{ side: "top", outside: false }
|
|
21
|
-
];
|
|
22
|
-
if (escape) candidates.push({ side: "bottom", outside: true }, { side: "top", outside: true });
|
|
23
|
-
const fits = (c) => panel.height <= room(c.side, c.outside && escape ? escape : inside);
|
|
24
|
-
const kept = currentSide && candidates.find((c) => c.side === currentSide && fits(c));
|
|
25
|
-
const first = kept || candidates.find(fits);
|
|
26
|
-
if (first) return first;
|
|
27
|
-
const limit = escape ?? inside;
|
|
28
|
-
const side = room("bottom", limit) >= room("top", limit) ? "bottom" : "top";
|
|
29
|
-
return {
|
|
30
|
-
side,
|
|
31
|
-
outside: room(side, inside) < room(side, limit),
|
|
32
|
-
maxHeight: Math.max(room(side, limit), 0)
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
function fixedStyle(anchor, panel, viewportBottom, horizontal, vertical) {
|
|
36
|
-
const below = vertical.side === "bottom";
|
|
37
|
-
return {
|
|
38
|
-
position: "fixed",
|
|
39
|
-
top: below ? anchor.bottom + panel.gap : "auto",
|
|
40
|
-
bottom: below ? "auto" : viewportBottom - anchor.top + panel.gap,
|
|
41
|
-
left: horizontal.align === "start" ? anchor.left + (horizontal.shift ?? 0) : anchor.right - panel.width,
|
|
42
|
-
right: "auto",
|
|
43
|
-
width: panel.width,
|
|
44
|
-
boxSizing: "border-box"
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function resolvePanelPlacement({
|
|
48
|
-
anchor,
|
|
49
|
-
panel,
|
|
50
|
-
box,
|
|
51
|
-
currentSide,
|
|
52
|
-
margin = PANEL_EDGE_MARGIN
|
|
53
|
-
}) {
|
|
54
|
-
if (panel.width === 0 || panel.height === 0) return DEFAULT_PLACEMENT;
|
|
55
|
-
const horizontal = resolveHorizontal(anchor, panel.width, box.horizontal, margin);
|
|
56
|
-
const vertical = resolveVertical(anchor, panel, box, currentSide, margin);
|
|
57
|
-
const { align } = horizontal;
|
|
58
|
-
const { side, maxHeight } = vertical;
|
|
59
|
-
const style = vertical.outside ? fixedStyle(anchor, panel, box.viewport.bottom, horizontal, vertical) : {};
|
|
60
|
-
if (!vertical.outside && horizontal.shift !== void 0) {
|
|
61
|
-
style.transform = `translateX(${horizontal.shift}px)`;
|
|
62
|
-
}
|
|
63
|
-
if (maxHeight !== void 0) style.maxHeight = maxHeight;
|
|
64
|
-
return Object.keys(style).length ? { align, side, style } : { align, side };
|
|
65
|
-
}
|
|
66
|
-
const sameStyle = (a = {}, b = {}) => {
|
|
67
|
-
const keys = Object.keys(a);
|
|
68
|
-
return keys.length === Object.keys(b).length && keys.every((key) => a[key] === b[key]);
|
|
1
|
+
const root = "krc-root-p3Y59";
|
|
2
|
+
const plain = "krc-plain-VC-9I";
|
|
3
|
+
const icon = "krc-icon-ix2Mi";
|
|
4
|
+
const title = "krc-title--QtUj";
|
|
5
|
+
const description = "krc-description-Qrtj7";
|
|
6
|
+
const action = "krc-action-NBNpI";
|
|
7
|
+
const styles = {
|
|
8
|
+
root,
|
|
9
|
+
plain,
|
|
10
|
+
icon,
|
|
11
|
+
title,
|
|
12
|
+
description,
|
|
13
|
+
action
|
|
69
14
|
};
|
|
70
|
-
const samePlacement = (a, b) => a.align === b.align && a.side === b.side && sameStyle(a.style, b.style);
|
|
71
15
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
16
|
+
action,
|
|
17
|
+
styles as default,
|
|
18
|
+
description,
|
|
19
|
+
icon,
|
|
20
|
+
plain,
|
|
21
|
+
root,
|
|
22
|
+
title
|
|
77
23
|
};
|
|
78
24
|
//# sourceMappingURL=index130.js.map
|
package/dist/index130.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index130.js","sources":[
|
|
1
|
+
{"version":3,"file":"index130.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|