@jackcrane/ui 0.1.4 → 0.1.7
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/components/Button/button.d.ts +2 -0
- package/dist/components/Hatch/hatch.d.ts +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/jcui.cjs.js +309 -206
- package/dist/jcui.es.js +309 -206
- package/package.json +1 -1
package/dist/jcui.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
inherits: true;
|
|
4
4
|
initial-value: transparent;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._button_105y0_7 {
|
|
7
7
|
border-width: var(--border-thickness);
|
|
8
8
|
border-style: solid;
|
|
9
9
|
font-size: 1rem;
|
|
@@ -13,95 +13,104 @@
|
|
|
13
13
|
border-color: var(--border-color);
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
._button_105y0_7:hover {
|
|
17
17
|
--button-bg: var(--secondary-color-100);
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._button_105y0_7:active {
|
|
20
20
|
--button-bg: var(--secondary-color-200);
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
._pageBackground_105y0_24 {
|
|
23
|
+
--button-bg: var(--body-bg);
|
|
24
|
+
}
|
|
25
|
+
._pageBackground_105y0_24:hover {
|
|
26
|
+
--button-bg: var(--body-bg);
|
|
27
|
+
}
|
|
28
|
+
._pageBackground_105y0_24:active {
|
|
29
|
+
--button-bg: var(--body-bg);
|
|
30
|
+
}
|
|
31
|
+
._large_105y0_34 {
|
|
23
32
|
font-size: 1.25rem;
|
|
24
33
|
padding: 0.75rem 1.25rem;
|
|
25
34
|
}
|
|
26
|
-
.
|
|
35
|
+
._small_105y0_39 {
|
|
27
36
|
font-size: 0.75rem;
|
|
28
37
|
padding: 0.25rem 0.5rem;
|
|
29
38
|
}
|
|
30
|
-
.
|
|
39
|
+
._disabled_105y0_44 {
|
|
31
40
|
opacity: 0.5 !important;
|
|
32
41
|
cursor: not-allowed;
|
|
33
42
|
}
|
|
34
43
|
/* Variants */
|
|
35
|
-
.
|
|
44
|
+
._primary_105y0_51 {
|
|
36
45
|
--button-bg: var(--primary-color-100);
|
|
37
46
|
--border-color: var(--primary-color-300);
|
|
38
47
|
--border-accent-color: var(--primary-color-600);
|
|
39
48
|
--button-color: var(--primary-color-800);
|
|
40
49
|
}
|
|
41
|
-
.
|
|
50
|
+
._primary_105y0_51:hover {
|
|
42
51
|
--button-bg: var(--primary-color-200);
|
|
43
52
|
}
|
|
44
|
-
.
|
|
53
|
+
._primary_105y0_51:active {
|
|
45
54
|
--button-bg: var(--primary-color-300);
|
|
46
55
|
}
|
|
47
|
-
.
|
|
56
|
+
._success_105y0_64 {
|
|
48
57
|
--button-bg: var(--success-color-100);
|
|
49
58
|
--border-color: var(--success-color-300);
|
|
50
59
|
--border-accent-color: var(--success-color-600);
|
|
51
60
|
--button-color: var(--success-color-800);
|
|
52
61
|
}
|
|
53
|
-
.
|
|
62
|
+
._success_105y0_64:hover {
|
|
54
63
|
--button-bg: var(--success-color-200);
|
|
55
64
|
}
|
|
56
|
-
.
|
|
65
|
+
._success_105y0_64:active {
|
|
57
66
|
--button-bg: var(--success-color-300);
|
|
58
67
|
}
|
|
59
|
-
.
|
|
68
|
+
._warning_105y0_77 {
|
|
60
69
|
--button-bg: var(--warning-color-100);
|
|
61
70
|
--border-color: var(--warning-color-300);
|
|
62
71
|
--border-accent-color: var(--warning-color-600);
|
|
63
72
|
--button-color: var(--warning-color-800);
|
|
64
73
|
}
|
|
65
|
-
.
|
|
74
|
+
._warning_105y0_77:hover {
|
|
66
75
|
--button-bg: var(--warning-color-200);
|
|
67
76
|
}
|
|
68
|
-
.
|
|
77
|
+
._warning_105y0_77:active {
|
|
69
78
|
--button-bg: var(--warning-color-300);
|
|
70
79
|
}
|
|
71
|
-
.
|
|
80
|
+
._danger_105y0_90 {
|
|
72
81
|
--button-bg: var(--danger-color-100);
|
|
73
82
|
--border-color: var(--danger-color-300);
|
|
74
83
|
--border-accent-color: var(--danger-color-600);
|
|
75
84
|
--button-color: var(--danger-color-800);
|
|
76
85
|
}
|
|
77
|
-
.
|
|
86
|
+
._danger_105y0_90:hover {
|
|
78
87
|
--button-bg: var(--danger-color-200);
|
|
79
88
|
}
|
|
80
|
-
.
|
|
89
|
+
._danger_105y0_90:active {
|
|
81
90
|
--button-bg: var(--danger-color-300);
|
|
82
91
|
}
|
|
83
|
-
.
|
|
92
|
+
._info_105y0_103 {
|
|
84
93
|
--button-bg: var(--info-color-100);
|
|
85
94
|
--border-color: var(--info-color-300);
|
|
86
95
|
--border-accent-color: var(--info-color-600);
|
|
87
96
|
--button-color: var(--info-color-800);
|
|
88
97
|
}
|
|
89
|
-
.
|
|
98
|
+
._info_105y0_103:hover {
|
|
90
99
|
--button-bg: var(--info-color-200);
|
|
91
100
|
}
|
|
92
|
-
.
|
|
101
|
+
._info_105y0_103:active {
|
|
93
102
|
--button-bg: var(--info-color-300);
|
|
94
103
|
}
|
|
95
|
-
.
|
|
104
|
+
._secondary_105y0_116 {
|
|
96
105
|
--button-bg: var(--secondary-color-100);
|
|
97
106
|
--border-color: var(--secondary-color-300);
|
|
98
107
|
--border-accent-color: var(--secondary-color-600);
|
|
99
108
|
--button-color: var(--secondary-color-800);
|
|
100
109
|
}
|
|
101
|
-
.
|
|
110
|
+
._secondary_105y0_116:hover {
|
|
102
111
|
--button-bg: var(--secondary-color-200);
|
|
103
112
|
}
|
|
104
|
-
.
|
|
113
|
+
._secondary_105y0_116:active {
|
|
105
114
|
--button-bg: var(--secondary-color-300);
|
|
106
115
|
}
|
|
107
116
|
._chamfer_1o5rm_1 {
|
|
@@ -423,7 +432,7 @@ div._chamfer_1o5rm_1:not(._disabled_1o5rm_15):focus-within {
|
|
|
423
432
|
inherits: true;
|
|
424
433
|
initial-value: transparent;
|
|
425
434
|
}
|
|
426
|
-
.
|
|
435
|
+
._input_1ymvl_7 {
|
|
427
436
|
border-width: var(--border-thickness);
|
|
428
437
|
border-style: solid;
|
|
429
438
|
font-size: 1rem;
|
|
@@ -433,79 +442,92 @@ div._chamfer_1o5rm_1:not(._disabled_1o5rm_15):focus-within {
|
|
|
433
442
|
border-color: var(--border-color);
|
|
434
443
|
width: calc(100% + var(--border-thickness));
|
|
435
444
|
}
|
|
436
|
-
.
|
|
445
|
+
._input_1ymvl_7:hover {
|
|
437
446
|
--input-bg: var(--secondary-color-100);
|
|
438
447
|
}
|
|
439
|
-
.
|
|
448
|
+
._input_1ymvl_7:focus {
|
|
440
449
|
outline: none;
|
|
441
450
|
}
|
|
442
|
-
.
|
|
451
|
+
._pageBackground_1ymvl_24 {
|
|
452
|
+
--input-bg: var(--body-bg);
|
|
453
|
+
--button-bg: var(--body-bg);
|
|
454
|
+
}
|
|
455
|
+
._pageBackground_1ymvl_24:hover {
|
|
456
|
+
--input-bg: var(--body-bg);
|
|
457
|
+
--button-bg: var(--body-bg);
|
|
458
|
+
}
|
|
459
|
+
._pageBackground_1ymvl_24:focus,
|
|
460
|
+
._pageBackground_1ymvl_24:focus-within {
|
|
461
|
+
--input-bg: var(--body-bg);
|
|
462
|
+
--button-bg: var(--body-bg);
|
|
463
|
+
}
|
|
464
|
+
._large_1ymvl_38 {
|
|
443
465
|
font-size: 1.25rem;
|
|
444
466
|
padding: 0.75rem 1.25rem;
|
|
445
467
|
}
|
|
446
|
-
.
|
|
468
|
+
._small_1ymvl_43 {
|
|
447
469
|
font-size: 0.75rem;
|
|
448
470
|
padding: 0.25rem 0.5rem;
|
|
449
471
|
}
|
|
450
|
-
.
|
|
472
|
+
._disabled_1ymvl_48 {
|
|
451
473
|
opacity: 0.5;
|
|
452
474
|
cursor: not-allowed;
|
|
453
475
|
}
|
|
454
476
|
/* Variants */
|
|
455
|
-
.
|
|
477
|
+
._primary_1ymvl_55 {
|
|
456
478
|
--input-bg: var(--primary-color-100);
|
|
457
479
|
--border-color: var(--primary-color-300);
|
|
458
480
|
--border-accent-color: var(--primary-color-600);
|
|
459
481
|
}
|
|
460
|
-
.
|
|
482
|
+
._primary_1ymvl_55:hover {
|
|
461
483
|
--input-bg: var(--primary-color-200);
|
|
462
484
|
}
|
|
463
|
-
.
|
|
485
|
+
._success_1ymvl_64 {
|
|
464
486
|
--input-bg: var(--success-color-100);
|
|
465
487
|
--border-color: var(--success-color-300);
|
|
466
488
|
--border-accent-color: var(--success-color-600);
|
|
467
489
|
}
|
|
468
|
-
.
|
|
490
|
+
._success_1ymvl_64:hover {
|
|
469
491
|
--input-bg: var(--success-color-200);
|
|
470
492
|
}
|
|
471
|
-
.
|
|
493
|
+
._warning_1ymvl_72 {
|
|
472
494
|
--input-bg: var(--warning-color-100);
|
|
473
495
|
--border-color: var(--warning-color-300);
|
|
474
496
|
--border-accent-color: var(--warning-color-600);
|
|
475
497
|
}
|
|
476
|
-
.
|
|
498
|
+
._warning_1ymvl_72:hover {
|
|
477
499
|
--input-bg: var(--warning-color-200);
|
|
478
500
|
}
|
|
479
|
-
.
|
|
501
|
+
._danger_1ymvl_80 {
|
|
480
502
|
--input-bg: var(--danger-color-100);
|
|
481
503
|
--border-color: var(--danger-color-300);
|
|
482
504
|
--border-accent-color: var(--danger-color-600);
|
|
483
505
|
}
|
|
484
|
-
.
|
|
506
|
+
._danger_1ymvl_80:hover {
|
|
485
507
|
--input-bg: var(--danger-color-200);
|
|
486
508
|
}
|
|
487
|
-
.
|
|
509
|
+
._info_1ymvl_88 {
|
|
488
510
|
--input-bg: var(--info-color-100);
|
|
489
511
|
--border-color: var(--info-color-300);
|
|
490
512
|
--border-accent-color: var(--info-color-600);
|
|
491
513
|
}
|
|
492
|
-
.
|
|
514
|
+
._info_1ymvl_88:hover {
|
|
493
515
|
--input-bg: var(--info-color-200);
|
|
494
516
|
}
|
|
495
|
-
.
|
|
517
|
+
._secondary_1ymvl_97 {
|
|
496
518
|
--input-bg: var(--secondary-color-100);
|
|
497
519
|
--border-color: var(--secondary-color-300);
|
|
498
520
|
--border-accent-color: var(--secondary-color-600);
|
|
499
521
|
}
|
|
500
|
-
.
|
|
522
|
+
._secondary_1ymvl_97:hover {
|
|
501
523
|
--input-bg: var(--secondary-color-200);
|
|
502
524
|
}
|
|
503
|
-
.
|
|
525
|
+
._field_1ymvl_106 {
|
|
504
526
|
display: flex;
|
|
505
527
|
flex-direction: column;
|
|
506
528
|
gap: 0.5rem;
|
|
507
529
|
}
|
|
508
|
-
.
|
|
530
|
+
._label_1ymvl_112 {
|
|
509
531
|
}
|
|
510
532
|
@property --radio-hover-bg {
|
|
511
533
|
syntax: "<color>";
|
|
@@ -980,6 +1002,47 @@ div._chamfer_1o5rm_1:not(._disabled_1o5rm_15):focus-within {
|
|
|
980
1002
|
transform: translateX(0);
|
|
981
1003
|
}
|
|
982
1004
|
}
|
|
1005
|
+
._hatch_lff0l_1 {
|
|
1006
|
+
padding: 0.5rem 1rem;
|
|
1007
|
+
color: var(--hatch-color, inherit);
|
|
1008
|
+
--button-bg: var(--bg, transparent);
|
|
1009
|
+
}
|
|
1010
|
+
._primary_lff0l_7 {
|
|
1011
|
+
--bg: var(--primary-color-100);
|
|
1012
|
+
--border-color: var(--primary-color-300);
|
|
1013
|
+
--border-accent-color: var(--primary-color-600);
|
|
1014
|
+
--hatch-color: var(--primary-color-800);
|
|
1015
|
+
}
|
|
1016
|
+
._success_lff0l_14 {
|
|
1017
|
+
--bg: var(--success-color-100);
|
|
1018
|
+
--border-color: var(--success-color-300);
|
|
1019
|
+
--border-accent-color: var(--success-color-600);
|
|
1020
|
+
--hatch-color: var(--success-color-800);
|
|
1021
|
+
}
|
|
1022
|
+
._warning_lff0l_21 {
|
|
1023
|
+
--bg: var(--warning-color-100);
|
|
1024
|
+
--border-color: var(--warning-color-300);
|
|
1025
|
+
--border-accent-color: var(--warning-color-600);
|
|
1026
|
+
--hatch-color: var(--warning-color-800);
|
|
1027
|
+
}
|
|
1028
|
+
._danger_lff0l_28 {
|
|
1029
|
+
--bg: var(--danger-color-100);
|
|
1030
|
+
--border-color: var(--danger-color-300);
|
|
1031
|
+
--border-accent-color: var(--danger-color-600);
|
|
1032
|
+
--hatch-color: var(--danger-color-800);
|
|
1033
|
+
}
|
|
1034
|
+
._info_lff0l_35 {
|
|
1035
|
+
--bg: var(--info-color-100);
|
|
1036
|
+
--border-color: var(--info-color-300);
|
|
1037
|
+
--border-accent-color: var(--info-color-600);
|
|
1038
|
+
--hatch-color: var(--info-color-800);
|
|
1039
|
+
}
|
|
1040
|
+
._secondary_lff0l_42 {
|
|
1041
|
+
--bg: var(--secondary-color-100);
|
|
1042
|
+
--border-color: var(--secondary-color-300);
|
|
1043
|
+
--border-accent-color: var(--secondary-color-600);
|
|
1044
|
+
--hatch-color: var(--secondary-color-800);
|
|
1045
|
+
}
|
|
983
1046
|
._toastRoot_1iau9_1 {
|
|
984
1047
|
background-color: var(--button-bg) !important;
|
|
985
1048
|
border: var(--border-thickness) solid var(--border-color);
|
|
@@ -1861,27 +1924,29 @@ function clsx() {
|
|
|
1861
1924
|
for (var e3, t4, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++) (e3 = arguments[f2]) && (t4 = r(e3)) && (n2 && (n2 += " "), n2 += t4);
|
|
1862
1925
|
return n2;
|
|
1863
1926
|
}
|
|
1864
|
-
const button = "
|
|
1865
|
-
const
|
|
1866
|
-
const
|
|
1867
|
-
const
|
|
1868
|
-
const
|
|
1869
|
-
const
|
|
1870
|
-
const
|
|
1871
|
-
const
|
|
1872
|
-
const
|
|
1873
|
-
const
|
|
1874
|
-
const
|
|
1927
|
+
const button = "_button_105y0_7";
|
|
1928
|
+
const pageBackground$1 = "_pageBackground_105y0_24";
|
|
1929
|
+
const large$6 = "_large_105y0_34";
|
|
1930
|
+
const small$6 = "_small_105y0_39";
|
|
1931
|
+
const disabled$6 = "_disabled_105y0_44";
|
|
1932
|
+
const primary$8 = "_primary_105y0_51";
|
|
1933
|
+
const success$8 = "_success_105y0_64";
|
|
1934
|
+
const warning$8 = "_warning_105y0_77";
|
|
1935
|
+
const danger$8 = "_danger_105y0_90";
|
|
1936
|
+
const info$8 = "_info_105y0_103";
|
|
1937
|
+
const secondary$8 = "_secondary_105y0_116";
|
|
1938
|
+
const styles$b = {
|
|
1875
1939
|
button,
|
|
1940
|
+
pageBackground: pageBackground$1,
|
|
1876
1941
|
large: large$6,
|
|
1877
1942
|
small: small$6,
|
|
1878
1943
|
disabled: disabled$6,
|
|
1879
|
-
primary: primary$
|
|
1880
|
-
success: success$
|
|
1881
|
-
warning: warning$
|
|
1882
|
-
danger: danger$
|
|
1883
|
-
info: info$
|
|
1884
|
-
secondary: secondary$
|
|
1944
|
+
primary: primary$8,
|
|
1945
|
+
success: success$8,
|
|
1946
|
+
warning: warning$8,
|
|
1947
|
+
danger: danger$8,
|
|
1948
|
+
info: info$8,
|
|
1949
|
+
secondary: secondary$8
|
|
1885
1950
|
};
|
|
1886
1951
|
const chamfer$1 = "_chamfer_1o5rm_1";
|
|
1887
1952
|
const disabled$5 = "_disabled_1o5rm_15";
|
|
@@ -1891,9 +1956,9 @@ const chamferStyles = {
|
|
|
1891
1956
|
disabled: disabled$5,
|
|
1892
1957
|
chamferOnHover
|
|
1893
1958
|
};
|
|
1894
|
-
const hatch = "_hatch_owfoz_1";
|
|
1959
|
+
const hatch$1 = "_hatch_owfoz_1";
|
|
1895
1960
|
const hatchStyles = {
|
|
1896
|
-
hatch
|
|
1961
|
+
hatch: hatch$1
|
|
1897
1962
|
};
|
|
1898
1963
|
const DEFAULT_THEME = "light";
|
|
1899
1964
|
const ThemeContext = React.createContext({
|
|
@@ -1903,10 +1968,10 @@ const ThemeContext = React.createContext({
|
|
|
1903
1968
|
});
|
|
1904
1969
|
const useJCUITheme = () => React.useContext(ThemeContext);
|
|
1905
1970
|
const loader = "_loader_1y0fe_1";
|
|
1906
|
-
const styles$
|
|
1971
|
+
const styles$a = {
|
|
1907
1972
|
loader
|
|
1908
1973
|
};
|
|
1909
|
-
const Loader = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
1974
|
+
const Loader = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$a.loader, ...props });
|
|
1910
1975
|
function Button({
|
|
1911
1976
|
children: children2,
|
|
1912
1977
|
variant,
|
|
@@ -1920,14 +1985,15 @@ function Button({
|
|
|
1920
1985
|
"button",
|
|
1921
1986
|
{
|
|
1922
1987
|
className: clsx(
|
|
1923
|
-
styles$
|
|
1924
|
-
styles$
|
|
1988
|
+
styles$b.button,
|
|
1989
|
+
!variant && styles$b.pageBackground,
|
|
1990
|
+
styles$b[variant],
|
|
1925
1991
|
chamfer2 && chamferStyles.chamfer,
|
|
1926
|
-
size2 === "large" && styles$
|
|
1927
|
-
size2 === "small" && styles$
|
|
1992
|
+
size2 === "large" && styles$b.large,
|
|
1993
|
+
size2 === "small" && styles$b.small,
|
|
1928
1994
|
disabled2 && chamferStyles.disabled,
|
|
1929
1995
|
disabled2 && hatchStyles.hatch,
|
|
1930
|
-
disabled2 && styles$
|
|
1996
|
+
disabled2 && styles$b.disabled
|
|
1931
1997
|
),
|
|
1932
1998
|
disabled: disabled2,
|
|
1933
1999
|
...props,
|
|
@@ -2041,25 +2107,25 @@ const body$1 = "_body_1u4j4_18";
|
|
|
2041
2107
|
const footer$1 = "_footer_1u4j4_23";
|
|
2042
2108
|
const large$5 = "_large_1u4j4_30";
|
|
2043
2109
|
const small$5 = "_small_1u4j4_36";
|
|
2044
|
-
const primary$
|
|
2045
|
-
const success$
|
|
2046
|
-
const warning$
|
|
2047
|
-
const danger$
|
|
2048
|
-
const info$
|
|
2049
|
-
const secondary$
|
|
2050
|
-
const styles$
|
|
2110
|
+
const primary$7 = "_primary_1u4j4_44";
|
|
2111
|
+
const success$7 = "_success_1u4j4_51";
|
|
2112
|
+
const warning$7 = "_warning_1u4j4_58";
|
|
2113
|
+
const danger$7 = "_danger_1u4j4_65";
|
|
2114
|
+
const info$7 = "_info_1u4j4_72";
|
|
2115
|
+
const secondary$7 = "_secondary_1u4j4_79";
|
|
2116
|
+
const styles$9 = {
|
|
2051
2117
|
card,
|
|
2052
2118
|
title: title$1,
|
|
2053
2119
|
body: body$1,
|
|
2054
2120
|
footer: footer$1,
|
|
2055
2121
|
large: large$5,
|
|
2056
2122
|
small: small$5,
|
|
2057
|
-
primary: primary$
|
|
2058
|
-
success: success$
|
|
2059
|
-
warning: warning$
|
|
2060
|
-
danger: danger$
|
|
2061
|
-
info: info$
|
|
2062
|
-
secondary: secondary$
|
|
2123
|
+
primary: primary$7,
|
|
2124
|
+
success: success$7,
|
|
2125
|
+
warning: warning$7,
|
|
2126
|
+
danger: danger$7,
|
|
2127
|
+
info: info$7,
|
|
2128
|
+
secondary: secondary$7
|
|
2063
2129
|
};
|
|
2064
2130
|
function Card({
|
|
2065
2131
|
children: children2,
|
|
@@ -2076,20 +2142,20 @@ function Card({
|
|
|
2076
2142
|
"div",
|
|
2077
2143
|
{
|
|
2078
2144
|
className: classNames(
|
|
2079
|
-
styles$
|
|
2080
|
-
styles$
|
|
2145
|
+
styles$9.card,
|
|
2146
|
+
styles$9[variant],
|
|
2081
2147
|
chamfer2 && chamferStyles.chamfer,
|
|
2082
|
-
size2 === "large" && styles$
|
|
2083
|
-
size2 === "small" && styles$
|
|
2148
|
+
size2 === "large" && styles$9.large,
|
|
2149
|
+
size2 === "small" && styles$9.small
|
|
2084
2150
|
),
|
|
2085
2151
|
...props,
|
|
2086
2152
|
children: [
|
|
2087
|
-
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$
|
|
2088
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2153
|
+
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$9.title, hatchStyles.hatch), children: title2 }),
|
|
2154
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$9.body, children: children2 }),
|
|
2089
2155
|
footerHeight > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2090
2156
|
"div",
|
|
2091
2157
|
{
|
|
2092
|
-
className: classNames(hatchStyles.hatch, styles$
|
|
2158
|
+
className: classNames(hatchStyles.hatch, styles$9.footer),
|
|
2093
2159
|
style: { flexBasis: footerHeight },
|
|
2094
2160
|
children: footer2
|
|
2095
2161
|
}
|
|
@@ -2827,13 +2893,13 @@ const large$4 = "_large_178xv_94";
|
|
|
2827
2893
|
const small$4 = "_small_178xv_99";
|
|
2828
2894
|
const disabledBox = "_disabledBox_178xv_104";
|
|
2829
2895
|
const label$2 = "_label_178xv_109";
|
|
2830
|
-
const primary$
|
|
2831
|
-
const secondary$
|
|
2832
|
-
const success$
|
|
2833
|
-
const warning$
|
|
2834
|
-
const danger$
|
|
2835
|
-
const info$
|
|
2836
|
-
const styles$
|
|
2896
|
+
const primary$6 = "_primary_178xv_117";
|
|
2897
|
+
const secondary$6 = "_secondary_178xv_126";
|
|
2898
|
+
const success$6 = "_success_178xv_135";
|
|
2899
|
+
const warning$6 = "_warning_178xv_144";
|
|
2900
|
+
const danger$6 = "_danger_178xv_153";
|
|
2901
|
+
const info$6 = "_info_178xv_162";
|
|
2902
|
+
const styles$8 = {
|
|
2837
2903
|
wrapper: wrapper$1,
|
|
2838
2904
|
disabled: disabled$4,
|
|
2839
2905
|
root: root$2,
|
|
@@ -2842,12 +2908,12 @@ const styles$7 = {
|
|
|
2842
2908
|
small: small$4,
|
|
2843
2909
|
disabledBox,
|
|
2844
2910
|
label: label$2,
|
|
2845
|
-
primary: primary$
|
|
2846
|
-
secondary: secondary$
|
|
2847
|
-
success: success$
|
|
2848
|
-
warning: warning$
|
|
2849
|
-
danger: danger$
|
|
2850
|
-
info: info$
|
|
2911
|
+
primary: primary$6,
|
|
2912
|
+
secondary: secondary$6,
|
|
2913
|
+
success: success$6,
|
|
2914
|
+
warning: warning$6,
|
|
2915
|
+
danger: danger$6,
|
|
2916
|
+
info: info$6
|
|
2851
2917
|
};
|
|
2852
2918
|
const CheckIcon = () => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { viewBox: "0 0 24 24", fill: "none", role: "presentation", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2853
2919
|
"polyline",
|
|
@@ -2870,32 +2936,32 @@ function Checkbox({
|
|
|
2870
2936
|
...props
|
|
2871
2937
|
}) {
|
|
2872
2938
|
const labelContent = label2 ?? children2;
|
|
2873
|
-
const variantClass = variant && styles$
|
|
2874
|
-
const sizeClass = size2 === "large" ? styles$
|
|
2939
|
+
const variantClass = variant && styles$8[variant];
|
|
2940
|
+
const sizeClass = size2 === "large" ? styles$8.large : size2 === "small" ? styles$8.small : null;
|
|
2875
2941
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2876
2942
|
"label",
|
|
2877
2943
|
{
|
|
2878
|
-
className: clsx(styles$
|
|
2944
|
+
className: clsx(styles$8.wrapper, variantClass, disabled2 && styles$8.disabled),
|
|
2879
2945
|
children: [
|
|
2880
2946
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2881
2947
|
Checkbox$1,
|
|
2882
2948
|
{
|
|
2883
2949
|
className: clsx(
|
|
2884
|
-
styles$
|
|
2950
|
+
styles$8.root,
|
|
2885
2951
|
variantClass,
|
|
2886
2952
|
sizeClass,
|
|
2887
2953
|
chamfer2 && chamferStyles.chamfer,
|
|
2888
2954
|
disabled2 && chamferStyles.disabled,
|
|
2889
2955
|
disabled2 && hatchStyles.hatch,
|
|
2890
|
-
disabled2 && styles$
|
|
2956
|
+
disabled2 && styles$8.disabledBox,
|
|
2891
2957
|
className
|
|
2892
2958
|
),
|
|
2893
2959
|
disabled: disabled2,
|
|
2894
2960
|
...props,
|
|
2895
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIndicator, { className: styles$
|
|
2961
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIndicator, { className: styles$8.indicator, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIcon, {}) })
|
|
2896
2962
|
}
|
|
2897
2963
|
),
|
|
2898
|
-
labelContent && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
2964
|
+
labelContent && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$8.label, children: labelContent })
|
|
2899
2965
|
]
|
|
2900
2966
|
}
|
|
2901
2967
|
);
|
|
@@ -13745,7 +13811,7 @@ let nextClipId = 0;
|
|
|
13745
13811
|
function getClipId() {
|
|
13746
13812
|
return `plot-clip-${++nextClipId}`;
|
|
13747
13813
|
}
|
|
13748
|
-
function styles$
|
|
13814
|
+
function styles$7(mark, {
|
|
13749
13815
|
title: title2,
|
|
13750
13816
|
href,
|
|
13751
13817
|
ariaLabel: variaLabel,
|
|
@@ -14111,7 +14177,7 @@ class Mark {
|
|
|
14111
14177
|
this.facetAnchor = maybeFacetAnchor(facetAnchor);
|
|
14112
14178
|
channels = maybeNamed(channels);
|
|
14113
14179
|
if (extraChannels !== void 0) channels = { ...maybeChannels(extraChannels), ...channels };
|
|
14114
|
-
if (defaults2 !== void 0) channels = { ...styles$
|
|
14180
|
+
if (defaults2 !== void 0) channels = { ...styles$7(this, options, defaults2), ...channels };
|
|
14115
14181
|
this.channels = Object.fromEntries(
|
|
14116
14182
|
Object.entries(channels).map(([name, channel]) => {
|
|
14117
14183
|
if (isOptions(channel.value)) {
|
|
@@ -19137,29 +19203,31 @@ const RadarChart = ({
|
|
|
19137
19203
|
});
|
|
19138
19204
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ObservablePlot, { options, className, style });
|
|
19139
19205
|
};
|
|
19140
|
-
const input = "
|
|
19141
|
-
const
|
|
19142
|
-
const
|
|
19143
|
-
const
|
|
19144
|
-
const
|
|
19145
|
-
const
|
|
19146
|
-
const
|
|
19147
|
-
const
|
|
19148
|
-
const
|
|
19149
|
-
const
|
|
19150
|
-
const
|
|
19151
|
-
const
|
|
19152
|
-
const
|
|
19206
|
+
const input = "_input_1ymvl_7";
|
|
19207
|
+
const pageBackground = "_pageBackground_1ymvl_24";
|
|
19208
|
+
const large$3 = "_large_1ymvl_38";
|
|
19209
|
+
const small$3 = "_small_1ymvl_43";
|
|
19210
|
+
const disabled$3 = "_disabled_1ymvl_48";
|
|
19211
|
+
const primary$5 = "_primary_1ymvl_55";
|
|
19212
|
+
const success$5 = "_success_1ymvl_64";
|
|
19213
|
+
const warning$5 = "_warning_1ymvl_72";
|
|
19214
|
+
const danger$5 = "_danger_1ymvl_80";
|
|
19215
|
+
const info$5 = "_info_1ymvl_88";
|
|
19216
|
+
const secondary$5 = "_secondary_1ymvl_97";
|
|
19217
|
+
const field = "_field_1ymvl_106";
|
|
19218
|
+
const label$1 = "_label_1ymvl_112";
|
|
19219
|
+
const styles$6 = {
|
|
19153
19220
|
input,
|
|
19221
|
+
pageBackground,
|
|
19154
19222
|
large: large$3,
|
|
19155
19223
|
small: small$3,
|
|
19156
19224
|
disabled: disabled$3,
|
|
19157
|
-
primary: primary$
|
|
19158
|
-
success: success$
|
|
19159
|
-
warning: warning$
|
|
19160
|
-
danger: danger$
|
|
19161
|
-
info: info$
|
|
19162
|
-
secondary: secondary$
|
|
19225
|
+
primary: primary$5,
|
|
19226
|
+
success: success$5,
|
|
19227
|
+
warning: warning$5,
|
|
19228
|
+
danger: danger$5,
|
|
19229
|
+
info: info$5,
|
|
19230
|
+
secondary: secondary$5,
|
|
19163
19231
|
field,
|
|
19164
19232
|
label: label$1
|
|
19165
19233
|
};
|
|
@@ -19172,26 +19240,28 @@ function Input({
|
|
|
19172
19240
|
...props
|
|
19173
19241
|
}) {
|
|
19174
19242
|
const inputId = React.useId();
|
|
19175
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
19176
|
-
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$
|
|
19243
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$6.field, children: [
|
|
19244
|
+
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$6.label, htmlFor: inputId, children: label2 }),
|
|
19177
19245
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19178
19246
|
"div",
|
|
19179
19247
|
{
|
|
19180
19248
|
className: classNames(
|
|
19181
19249
|
chamfer2 && chamferStyles.chamfer,
|
|
19182
|
-
styles$
|
|
19250
|
+
!variant && styles$6.pageBackground,
|
|
19251
|
+
styles$6[variant]
|
|
19183
19252
|
),
|
|
19184
19253
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19185
19254
|
"input",
|
|
19186
19255
|
{
|
|
19187
19256
|
id: inputId,
|
|
19188
19257
|
className: classNames(
|
|
19189
|
-
styles$
|
|
19190
|
-
styles$
|
|
19191
|
-
|
|
19192
|
-
size2 === "
|
|
19258
|
+
styles$6.input,
|
|
19259
|
+
!variant && styles$6.pageBackground,
|
|
19260
|
+
styles$6[variant],
|
|
19261
|
+
size2 === "large" && styles$6.large,
|
|
19262
|
+
size2 === "small" && styles$6.small,
|
|
19193
19263
|
disabled2 && chamferStyles.disabled,
|
|
19194
|
-
disabled2 && styles$
|
|
19264
|
+
disabled2 && styles$6.disabled,
|
|
19195
19265
|
disabled2 && hatchStyles.hatch
|
|
19196
19266
|
),
|
|
19197
19267
|
disabled: disabled2,
|
|
@@ -19776,13 +19846,13 @@ const small$2 = "_small_hpxu6_93";
|
|
|
19776
19846
|
const disabledDot = "_disabledDot_hpxu6_98";
|
|
19777
19847
|
const label = "_label_hpxu6_102";
|
|
19778
19848
|
const chamfer = "_chamfer_hpxu6_107";
|
|
19779
|
-
const primary$
|
|
19780
|
-
const secondary$
|
|
19781
|
-
const success$
|
|
19782
|
-
const warning$
|
|
19783
|
-
const danger$
|
|
19784
|
-
const info$
|
|
19785
|
-
const styles$
|
|
19849
|
+
const primary$4 = "_primary_hpxu6_112";
|
|
19850
|
+
const secondary$4 = "_secondary_hpxu6_121";
|
|
19851
|
+
const success$4 = "_success_hpxu6_130";
|
|
19852
|
+
const warning$4 = "_warning_hpxu6_139";
|
|
19853
|
+
const danger$4 = "_danger_hpxu6_148";
|
|
19854
|
+
const info$4 = "_info_hpxu6_157";
|
|
19855
|
+
const styles$5 = {
|
|
19786
19856
|
group,
|
|
19787
19857
|
wrapper,
|
|
19788
19858
|
disabled: disabled$2,
|
|
@@ -19794,17 +19864,17 @@ const styles$4 = {
|
|
|
19794
19864
|
disabledDot,
|
|
19795
19865
|
label,
|
|
19796
19866
|
chamfer,
|
|
19797
|
-
primary: primary$
|
|
19798
|
-
secondary: secondary$
|
|
19799
|
-
success: success$
|
|
19800
|
-
warning: warning$
|
|
19801
|
-
danger: danger$
|
|
19802
|
-
info: info$
|
|
19867
|
+
primary: primary$4,
|
|
19868
|
+
secondary: secondary$4,
|
|
19869
|
+
success: success$4,
|
|
19870
|
+
warning: warning$4,
|
|
19871
|
+
danger: danger$4,
|
|
19872
|
+
info: info$4
|
|
19803
19873
|
};
|
|
19804
19874
|
const RadioGroup$1 = ({ className, children: children2, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19805
19875
|
Root2$3,
|
|
19806
19876
|
{
|
|
19807
|
-
className: clsx(styles$
|
|
19877
|
+
className: clsx(styles$5.group, className),
|
|
19808
19878
|
...props,
|
|
19809
19879
|
children: children2
|
|
19810
19880
|
}
|
|
@@ -19819,33 +19889,33 @@ function Radio({
|
|
|
19819
19889
|
className,
|
|
19820
19890
|
...props
|
|
19821
19891
|
}) {
|
|
19822
|
-
const variantClass = variant && styles$
|
|
19823
|
-
const sizeClass = size2 === "large" ? styles$
|
|
19892
|
+
const variantClass = variant && styles$5[variant];
|
|
19893
|
+
const sizeClass = size2 === "large" ? styles$5.large : size2 === "small" ? styles$5.small : null;
|
|
19824
19894
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
19825
19895
|
"label",
|
|
19826
19896
|
{
|
|
19827
|
-
className: clsx(styles$
|
|
19897
|
+
className: clsx(styles$5.wrapper, variantClass, disabled2 && styles$5.disabled),
|
|
19828
19898
|
children: [
|
|
19829
19899
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19830
19900
|
Item2$2,
|
|
19831
19901
|
{
|
|
19832
19902
|
className: clsx(
|
|
19833
|
-
styles$
|
|
19903
|
+
styles$5.root,
|
|
19834
19904
|
variantClass,
|
|
19835
19905
|
sizeClass,
|
|
19836
19906
|
chamfer2 && chamferStyles.chamfer,
|
|
19837
19907
|
disabled2 && chamferStyles.disabled,
|
|
19838
19908
|
disabled2 && hatchStyles.hatch,
|
|
19839
|
-
disabled2 && styles$
|
|
19909
|
+
disabled2 && styles$5.disabledDot,
|
|
19840
19910
|
className
|
|
19841
19911
|
),
|
|
19842
19912
|
value,
|
|
19843
19913
|
disabled: disabled2,
|
|
19844
19914
|
...props,
|
|
19845
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Indicator, { className: styles$
|
|
19915
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Indicator, { className: styles$5.indicator, children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$5.dot }) })
|
|
19846
19916
|
}
|
|
19847
19917
|
),
|
|
19848
|
-
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
19918
|
+
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$5.label, children: label2 })
|
|
19849
19919
|
]
|
|
19850
19920
|
}
|
|
19851
19921
|
);
|
|
@@ -24399,13 +24469,13 @@ const disabled$1 = "_disabled_1u214_41";
|
|
|
24399
24469
|
const icon$1 = "_icon_1u214_46";
|
|
24400
24470
|
const content$3 = "_content_1u214_52";
|
|
24401
24471
|
const item$1 = "_item_1u214_57";
|
|
24402
|
-
const primary$
|
|
24403
|
-
const success$
|
|
24404
|
-
const warning$
|
|
24405
|
-
const danger$
|
|
24406
|
-
const info$
|
|
24407
|
-
const secondary$
|
|
24408
|
-
const styles$
|
|
24472
|
+
const primary$3 = "_primary_1u214_79";
|
|
24473
|
+
const success$3 = "_success_1u214_89";
|
|
24474
|
+
const warning$3 = "_warning_1u214_99";
|
|
24475
|
+
const danger$3 = "_danger_1u214_109";
|
|
24476
|
+
const info$3 = "_info_1u214_119";
|
|
24477
|
+
const secondary$3 = "_secondary_1u214_129";
|
|
24478
|
+
const styles$4 = {
|
|
24409
24479
|
trigger: trigger$1,
|
|
24410
24480
|
large: large$1,
|
|
24411
24481
|
small: small$1,
|
|
@@ -24413,12 +24483,12 @@ const styles$3 = {
|
|
|
24413
24483
|
icon: icon$1,
|
|
24414
24484
|
content: content$3,
|
|
24415
24485
|
item: item$1,
|
|
24416
|
-
primary: primary$
|
|
24417
|
-
success: success$
|
|
24418
|
-
warning: warning$
|
|
24419
|
-
danger: danger$
|
|
24420
|
-
info: info$
|
|
24421
|
-
secondary: secondary$
|
|
24486
|
+
primary: primary$3,
|
|
24487
|
+
success: success$3,
|
|
24488
|
+
warning: warning$3,
|
|
24489
|
+
danger: danger$3,
|
|
24490
|
+
info: info$3,
|
|
24491
|
+
secondary: secondary$3
|
|
24422
24492
|
};
|
|
24423
24493
|
function SelectInput({
|
|
24424
24494
|
options,
|
|
@@ -24441,18 +24511,18 @@ function SelectInput({
|
|
|
24441
24511
|
Trigger$2,
|
|
24442
24512
|
{
|
|
24443
24513
|
className: clsx(
|
|
24444
|
-
styles$
|
|
24445
|
-
styles$
|
|
24514
|
+
styles$4.trigger,
|
|
24515
|
+
styles$4[variant],
|
|
24446
24516
|
chamfer2 && chamferStyles.chamfer,
|
|
24447
|
-
size2 === "large" && styles$
|
|
24448
|
-
size2 === "small" && styles$
|
|
24449
|
-
disabled2 && styles$
|
|
24517
|
+
size2 === "large" && styles$4.large,
|
|
24518
|
+
size2 === "small" && styles$4.small,
|
|
24519
|
+
disabled2 && styles$4.disabled,
|
|
24450
24520
|
disabled2 && hatchStyles.hatch
|
|
24451
24521
|
// loading && styles.disabled
|
|
24452
24522
|
),
|
|
24453
24523
|
children: [
|
|
24454
24524
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Value, {}),
|
|
24455
|
-
loading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loader, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { className: styles$
|
|
24525
|
+
loading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loader, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { className: styles$4.icon, children: "▾" })
|
|
24456
24526
|
]
|
|
24457
24527
|
}
|
|
24458
24528
|
),
|
|
@@ -24460,7 +24530,7 @@ function SelectInput({
|
|
|
24460
24530
|
Content2$2,
|
|
24461
24531
|
{
|
|
24462
24532
|
className: classNames(
|
|
24463
|
-
styles$
|
|
24533
|
+
styles$4.content,
|
|
24464
24534
|
chamfer2 && chamferStyles.chamfer
|
|
24465
24535
|
),
|
|
24466
24536
|
sideOffset: 6,
|
|
@@ -24469,7 +24539,7 @@ function SelectInput({
|
|
|
24469
24539
|
{
|
|
24470
24540
|
value: opt.value,
|
|
24471
24541
|
disabled: opt.disabled,
|
|
24472
|
-
className: styles$
|
|
24542
|
+
className: styles$4.item,
|
|
24473
24543
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemText, { children: opt.label })
|
|
24474
24544
|
},
|
|
24475
24545
|
opt.value
|
|
@@ -25507,13 +25577,13 @@ const itemLabel = "_itemLabel_12pwu_120";
|
|
|
25507
25577
|
const itemIcon = "_itemIcon_12pwu_124";
|
|
25508
25578
|
const separator = "_separator_12pwu_136";
|
|
25509
25579
|
const arrow = "_arrow_12pwu_141";
|
|
25510
|
-
const primary$
|
|
25511
|
-
const success$
|
|
25512
|
-
const warning$
|
|
25513
|
-
const danger$
|
|
25514
|
-
const info$
|
|
25515
|
-
const secondary$
|
|
25516
|
-
const styles$
|
|
25580
|
+
const primary$2 = "_primary_12pwu_148";
|
|
25581
|
+
const success$2 = "_success_12pwu_159";
|
|
25582
|
+
const warning$2 = "_warning_12pwu_170";
|
|
25583
|
+
const danger$2 = "_danger_12pwu_181";
|
|
25584
|
+
const info$2 = "_info_12pwu_192";
|
|
25585
|
+
const secondary$2 = "_secondary_12pwu_203";
|
|
25586
|
+
const styles$3 = {
|
|
25517
25587
|
trigger,
|
|
25518
25588
|
large,
|
|
25519
25589
|
small,
|
|
@@ -25530,12 +25600,12 @@ const styles$2 = {
|
|
|
25530
25600
|
itemIcon,
|
|
25531
25601
|
separator,
|
|
25532
25602
|
arrow,
|
|
25533
|
-
primary: primary$
|
|
25534
|
-
success: success$
|
|
25535
|
-
warning: warning$
|
|
25536
|
-
danger: danger$
|
|
25537
|
-
info: info$
|
|
25538
|
-
secondary: secondary$
|
|
25603
|
+
primary: primary$2,
|
|
25604
|
+
success: success$2,
|
|
25605
|
+
warning: warning$2,
|
|
25606
|
+
danger: danger$2,
|
|
25607
|
+
info: info$2,
|
|
25608
|
+
secondary: secondary$2
|
|
25539
25609
|
};
|
|
25540
25610
|
function Dropdown({
|
|
25541
25611
|
items = [],
|
|
@@ -25556,18 +25626,18 @@ function Dropdown({
|
|
|
25556
25626
|
...props
|
|
25557
25627
|
}) {
|
|
25558
25628
|
const triggerClassName = clsx(
|
|
25559
|
-
styles$
|
|
25560
|
-
variant && styles$
|
|
25629
|
+
styles$3.trigger,
|
|
25630
|
+
variant && styles$3[variant],
|
|
25561
25631
|
chamfer2 && chamferStyles.chamfer,
|
|
25562
|
-
size2 === "large" && styles$
|
|
25563
|
-
size2 === "small" && styles$
|
|
25564
|
-
disabled2 && styles$
|
|
25632
|
+
size2 === "large" && styles$3.large,
|
|
25633
|
+
size2 === "small" && styles$3.small,
|
|
25634
|
+
disabled2 && styles$3.disabled,
|
|
25565
25635
|
disabled2 && hatchStyles.hatch,
|
|
25566
25636
|
_triggerClassName
|
|
25567
25637
|
);
|
|
25568
25638
|
const contentClassName = clsx(
|
|
25569
|
-
styles$
|
|
25570
|
-
variant && styles$
|
|
25639
|
+
styles$3.content,
|
|
25640
|
+
variant && styles$3[variant],
|
|
25571
25641
|
chamfer2 && chamferStyles.chamfer
|
|
25572
25642
|
);
|
|
25573
25643
|
const handleItemSelect = (item2) => {
|
|
@@ -25596,13 +25666,13 @@ function Dropdown({
|
|
|
25596
25666
|
side,
|
|
25597
25667
|
sideOffset: 0,
|
|
25598
25668
|
...contentProps,
|
|
25599
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
25669
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$3.viewport, children: items.map((item2, index2) => {
|
|
25600
25670
|
if (item2.type === "separator") {
|
|
25601
25671
|
const separatorKey = item2.key ?? `separator-${index2}`;
|
|
25602
25672
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
25603
25673
|
Separator2,
|
|
25604
25674
|
{
|
|
25605
|
-
className: styles$
|
|
25675
|
+
className: styles$3.separator
|
|
25606
25676
|
},
|
|
25607
25677
|
separatorKey
|
|
25608
25678
|
);
|
|
@@ -25613,10 +25683,10 @@ function Dropdown({
|
|
|
25613
25683
|
{
|
|
25614
25684
|
onSelect: () => handleItemSelect(item2),
|
|
25615
25685
|
disabled: item2.disabled,
|
|
25616
|
-
className: styles$
|
|
25686
|
+
className: styles$3.item,
|
|
25617
25687
|
children: [
|
|
25618
|
-
item2.icon && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
25619
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
25688
|
+
item2.icon && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$3.itemIcon, "aria-hidden": true, children: item2.icon }),
|
|
25689
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$3.itemLabel, children: item2.label })
|
|
25620
25690
|
]
|
|
25621
25691
|
},
|
|
25622
25692
|
itemKey
|
|
@@ -25626,6 +25696,38 @@ function Dropdown({
|
|
|
25626
25696
|
) })
|
|
25627
25697
|
] });
|
|
25628
25698
|
}
|
|
25699
|
+
const hatch = "_hatch_lff0l_1";
|
|
25700
|
+
const primary$1 = "_primary_lff0l_7";
|
|
25701
|
+
const success$1 = "_success_lff0l_14";
|
|
25702
|
+
const warning$1 = "_warning_lff0l_21";
|
|
25703
|
+
const danger$1 = "_danger_lff0l_28";
|
|
25704
|
+
const info$1 = "_info_lff0l_35";
|
|
25705
|
+
const secondary$1 = "_secondary_lff0l_42";
|
|
25706
|
+
const styles$2 = {
|
|
25707
|
+
hatch,
|
|
25708
|
+
primary: primary$1,
|
|
25709
|
+
success: success$1,
|
|
25710
|
+
warning: warning$1,
|
|
25711
|
+
danger: danger$1,
|
|
25712
|
+
info: info$1,
|
|
25713
|
+
secondary: secondary$1
|
|
25714
|
+
};
|
|
25715
|
+
function Hatch({ children: children2, className, variant, ...props }) {
|
|
25716
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
25717
|
+
"div",
|
|
25718
|
+
{
|
|
25719
|
+
className: classNames(
|
|
25720
|
+
styles$2.hatch,
|
|
25721
|
+
styles$2[variant],
|
|
25722
|
+
hatchStyles.hatch,
|
|
25723
|
+
chamferStyles.chamfer,
|
|
25724
|
+
className
|
|
25725
|
+
),
|
|
25726
|
+
...props,
|
|
25727
|
+
children: children2
|
|
25728
|
+
}
|
|
25729
|
+
);
|
|
25730
|
+
}
|
|
25629
25731
|
let e = { data: "" }, t = (t4) => {
|
|
25630
25732
|
if ("object" == typeof window) {
|
|
25631
25733
|
let e3 = (t4 ? t4.querySelector("#_goober") : window._goober) || Object.assign(document.createElement("style"), { innerHTML: " ", id: "_goober" });
|
|
@@ -26789,6 +26891,7 @@ exports.Card = Card;
|
|
|
26789
26891
|
exports.Checkbox = Checkbox;
|
|
26790
26892
|
exports.ColorSwitcher = ColorSwitcher;
|
|
26791
26893
|
exports.Dropdown = Dropdown;
|
|
26894
|
+
exports.Hatch = Hatch;
|
|
26792
26895
|
exports.Input = Input;
|
|
26793
26896
|
exports.JCUIProvider = JCUIProvider;
|
|
26794
26897
|
exports.Layout = Layout;
|