@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.es.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);
|
|
@@ -1843,27 +1906,29 @@ function clsx() {
|
|
|
1843
1906
|
for (var e3, t4, f2 = 0, n2 = "", o2 = arguments.length; f2 < o2; f2++) (e3 = arguments[f2]) && (t4 = r(e3)) && (n2 && (n2 += " "), n2 += t4);
|
|
1844
1907
|
return n2;
|
|
1845
1908
|
}
|
|
1846
|
-
const button = "
|
|
1847
|
-
const
|
|
1848
|
-
const
|
|
1849
|
-
const
|
|
1850
|
-
const
|
|
1851
|
-
const
|
|
1852
|
-
const
|
|
1853
|
-
const
|
|
1854
|
-
const
|
|
1855
|
-
const
|
|
1856
|
-
const
|
|
1909
|
+
const button = "_button_105y0_7";
|
|
1910
|
+
const pageBackground$1 = "_pageBackground_105y0_24";
|
|
1911
|
+
const large$6 = "_large_105y0_34";
|
|
1912
|
+
const small$6 = "_small_105y0_39";
|
|
1913
|
+
const disabled$6 = "_disabled_105y0_44";
|
|
1914
|
+
const primary$8 = "_primary_105y0_51";
|
|
1915
|
+
const success$8 = "_success_105y0_64";
|
|
1916
|
+
const warning$8 = "_warning_105y0_77";
|
|
1917
|
+
const danger$8 = "_danger_105y0_90";
|
|
1918
|
+
const info$8 = "_info_105y0_103";
|
|
1919
|
+
const secondary$8 = "_secondary_105y0_116";
|
|
1920
|
+
const styles$b = {
|
|
1857
1921
|
button,
|
|
1922
|
+
pageBackground: pageBackground$1,
|
|
1858
1923
|
large: large$6,
|
|
1859
1924
|
small: small$6,
|
|
1860
1925
|
disabled: disabled$6,
|
|
1861
|
-
primary: primary$
|
|
1862
|
-
success: success$
|
|
1863
|
-
warning: warning$
|
|
1864
|
-
danger: danger$
|
|
1865
|
-
info: info$
|
|
1866
|
-
secondary: secondary$
|
|
1926
|
+
primary: primary$8,
|
|
1927
|
+
success: success$8,
|
|
1928
|
+
warning: warning$8,
|
|
1929
|
+
danger: danger$8,
|
|
1930
|
+
info: info$8,
|
|
1931
|
+
secondary: secondary$8
|
|
1867
1932
|
};
|
|
1868
1933
|
const chamfer$1 = "_chamfer_1o5rm_1";
|
|
1869
1934
|
const disabled$5 = "_disabled_1o5rm_15";
|
|
@@ -1873,9 +1938,9 @@ const chamferStyles = {
|
|
|
1873
1938
|
disabled: disabled$5,
|
|
1874
1939
|
chamferOnHover
|
|
1875
1940
|
};
|
|
1876
|
-
const hatch = "_hatch_owfoz_1";
|
|
1941
|
+
const hatch$1 = "_hatch_owfoz_1";
|
|
1877
1942
|
const hatchStyles = {
|
|
1878
|
-
hatch
|
|
1943
|
+
hatch: hatch$1
|
|
1879
1944
|
};
|
|
1880
1945
|
const DEFAULT_THEME = "light";
|
|
1881
1946
|
const ThemeContext = createContext$1({
|
|
@@ -1885,10 +1950,10 @@ const ThemeContext = createContext$1({
|
|
|
1885
1950
|
});
|
|
1886
1951
|
const useJCUITheme = () => useContext(ThemeContext);
|
|
1887
1952
|
const loader = "_loader_1y0fe_1";
|
|
1888
|
-
const styles$
|
|
1953
|
+
const styles$a = {
|
|
1889
1954
|
loader
|
|
1890
1955
|
};
|
|
1891
|
-
const Loader = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
1956
|
+
const Loader = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$a.loader, ...props });
|
|
1892
1957
|
function Button({
|
|
1893
1958
|
children: children2,
|
|
1894
1959
|
variant,
|
|
@@ -1902,14 +1967,15 @@ function Button({
|
|
|
1902
1967
|
"button",
|
|
1903
1968
|
{
|
|
1904
1969
|
className: clsx(
|
|
1905
|
-
styles$
|
|
1906
|
-
styles$
|
|
1970
|
+
styles$b.button,
|
|
1971
|
+
!variant && styles$b.pageBackground,
|
|
1972
|
+
styles$b[variant],
|
|
1907
1973
|
chamfer2 && chamferStyles.chamfer,
|
|
1908
|
-
size2 === "large" && styles$
|
|
1909
|
-
size2 === "small" && styles$
|
|
1974
|
+
size2 === "large" && styles$b.large,
|
|
1975
|
+
size2 === "small" && styles$b.small,
|
|
1910
1976
|
disabled2 && chamferStyles.disabled,
|
|
1911
1977
|
disabled2 && hatchStyles.hatch,
|
|
1912
|
-
disabled2 && styles$
|
|
1978
|
+
disabled2 && styles$b.disabled
|
|
1913
1979
|
),
|
|
1914
1980
|
disabled: disabled2,
|
|
1915
1981
|
...props,
|
|
@@ -2023,25 +2089,25 @@ const body$1 = "_body_1u4j4_18";
|
|
|
2023
2089
|
const footer$1 = "_footer_1u4j4_23";
|
|
2024
2090
|
const large$5 = "_large_1u4j4_30";
|
|
2025
2091
|
const small$5 = "_small_1u4j4_36";
|
|
2026
|
-
const primary$
|
|
2027
|
-
const success$
|
|
2028
|
-
const warning$
|
|
2029
|
-
const danger$
|
|
2030
|
-
const info$
|
|
2031
|
-
const secondary$
|
|
2032
|
-
const styles$
|
|
2092
|
+
const primary$7 = "_primary_1u4j4_44";
|
|
2093
|
+
const success$7 = "_success_1u4j4_51";
|
|
2094
|
+
const warning$7 = "_warning_1u4j4_58";
|
|
2095
|
+
const danger$7 = "_danger_1u4j4_65";
|
|
2096
|
+
const info$7 = "_info_1u4j4_72";
|
|
2097
|
+
const secondary$7 = "_secondary_1u4j4_79";
|
|
2098
|
+
const styles$9 = {
|
|
2033
2099
|
card,
|
|
2034
2100
|
title: title$1,
|
|
2035
2101
|
body: body$1,
|
|
2036
2102
|
footer: footer$1,
|
|
2037
2103
|
large: large$5,
|
|
2038
2104
|
small: small$5,
|
|
2039
|
-
primary: primary$
|
|
2040
|
-
success: success$
|
|
2041
|
-
warning: warning$
|
|
2042
|
-
danger: danger$
|
|
2043
|
-
info: info$
|
|
2044
|
-
secondary: secondary$
|
|
2105
|
+
primary: primary$7,
|
|
2106
|
+
success: success$7,
|
|
2107
|
+
warning: warning$7,
|
|
2108
|
+
danger: danger$7,
|
|
2109
|
+
info: info$7,
|
|
2110
|
+
secondary: secondary$7
|
|
2045
2111
|
};
|
|
2046
2112
|
function Card({
|
|
2047
2113
|
children: children2,
|
|
@@ -2058,20 +2124,20 @@ function Card({
|
|
|
2058
2124
|
"div",
|
|
2059
2125
|
{
|
|
2060
2126
|
className: classNames(
|
|
2061
|
-
styles$
|
|
2062
|
-
styles$
|
|
2127
|
+
styles$9.card,
|
|
2128
|
+
styles$9[variant],
|
|
2063
2129
|
chamfer2 && chamferStyles.chamfer,
|
|
2064
|
-
size2 === "large" && styles$
|
|
2065
|
-
size2 === "small" && styles$
|
|
2130
|
+
size2 === "large" && styles$9.large,
|
|
2131
|
+
size2 === "small" && styles$9.small
|
|
2066
2132
|
),
|
|
2067
2133
|
...props,
|
|
2068
2134
|
children: [
|
|
2069
|
-
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$
|
|
2070
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
2135
|
+
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$9.title, hatchStyles.hatch), children: title2 }),
|
|
2136
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$9.body, children: children2 }),
|
|
2071
2137
|
footerHeight > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2072
2138
|
"div",
|
|
2073
2139
|
{
|
|
2074
|
-
className: classNames(hatchStyles.hatch, styles$
|
|
2140
|
+
className: classNames(hatchStyles.hatch, styles$9.footer),
|
|
2075
2141
|
style: { flexBasis: footerHeight },
|
|
2076
2142
|
children: footer2
|
|
2077
2143
|
}
|
|
@@ -2809,13 +2875,13 @@ const large$4 = "_large_178xv_94";
|
|
|
2809
2875
|
const small$4 = "_small_178xv_99";
|
|
2810
2876
|
const disabledBox = "_disabledBox_178xv_104";
|
|
2811
2877
|
const label$2 = "_label_178xv_109";
|
|
2812
|
-
const primary$
|
|
2813
|
-
const secondary$
|
|
2814
|
-
const success$
|
|
2815
|
-
const warning$
|
|
2816
|
-
const danger$
|
|
2817
|
-
const info$
|
|
2818
|
-
const styles$
|
|
2878
|
+
const primary$6 = "_primary_178xv_117";
|
|
2879
|
+
const secondary$6 = "_secondary_178xv_126";
|
|
2880
|
+
const success$6 = "_success_178xv_135";
|
|
2881
|
+
const warning$6 = "_warning_178xv_144";
|
|
2882
|
+
const danger$6 = "_danger_178xv_153";
|
|
2883
|
+
const info$6 = "_info_178xv_162";
|
|
2884
|
+
const styles$8 = {
|
|
2819
2885
|
wrapper: wrapper$1,
|
|
2820
2886
|
disabled: disabled$4,
|
|
2821
2887
|
root: root$2,
|
|
@@ -2824,12 +2890,12 @@ const styles$7 = {
|
|
|
2824
2890
|
small: small$4,
|
|
2825
2891
|
disabledBox,
|
|
2826
2892
|
label: label$2,
|
|
2827
|
-
primary: primary$
|
|
2828
|
-
secondary: secondary$
|
|
2829
|
-
success: success$
|
|
2830
|
-
warning: warning$
|
|
2831
|
-
danger: danger$
|
|
2832
|
-
info: info$
|
|
2893
|
+
primary: primary$6,
|
|
2894
|
+
secondary: secondary$6,
|
|
2895
|
+
success: success$6,
|
|
2896
|
+
warning: warning$6,
|
|
2897
|
+
danger: danger$6,
|
|
2898
|
+
info: info$6
|
|
2833
2899
|
};
|
|
2834
2900
|
const CheckIcon = () => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { viewBox: "0 0 24 24", fill: "none", role: "presentation", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2835
2901
|
"polyline",
|
|
@@ -2852,32 +2918,32 @@ function Checkbox({
|
|
|
2852
2918
|
...props
|
|
2853
2919
|
}) {
|
|
2854
2920
|
const labelContent = label2 ?? children2;
|
|
2855
|
-
const variantClass = variant && styles$
|
|
2856
|
-
const sizeClass = size2 === "large" ? styles$
|
|
2921
|
+
const variantClass = variant && styles$8[variant];
|
|
2922
|
+
const sizeClass = size2 === "large" ? styles$8.large : size2 === "small" ? styles$8.small : null;
|
|
2857
2923
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2858
2924
|
"label",
|
|
2859
2925
|
{
|
|
2860
|
-
className: clsx(styles$
|
|
2926
|
+
className: clsx(styles$8.wrapper, variantClass, disabled2 && styles$8.disabled),
|
|
2861
2927
|
children: [
|
|
2862
2928
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2863
2929
|
Checkbox$1,
|
|
2864
2930
|
{
|
|
2865
2931
|
className: clsx(
|
|
2866
|
-
styles$
|
|
2932
|
+
styles$8.root,
|
|
2867
2933
|
variantClass,
|
|
2868
2934
|
sizeClass,
|
|
2869
2935
|
chamfer2 && chamferStyles.chamfer,
|
|
2870
2936
|
disabled2 && chamferStyles.disabled,
|
|
2871
2937
|
disabled2 && hatchStyles.hatch,
|
|
2872
|
-
disabled2 && styles$
|
|
2938
|
+
disabled2 && styles$8.disabledBox,
|
|
2873
2939
|
className
|
|
2874
2940
|
),
|
|
2875
2941
|
disabled: disabled2,
|
|
2876
2942
|
...props,
|
|
2877
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIndicator, { className: styles$
|
|
2943
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIndicator, { className: styles$8.indicator, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIcon, {}) })
|
|
2878
2944
|
}
|
|
2879
2945
|
),
|
|
2880
|
-
labelContent && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
2946
|
+
labelContent && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$8.label, children: labelContent })
|
|
2881
2947
|
]
|
|
2882
2948
|
}
|
|
2883
2949
|
);
|
|
@@ -13727,7 +13793,7 @@ let nextClipId = 0;
|
|
|
13727
13793
|
function getClipId() {
|
|
13728
13794
|
return `plot-clip-${++nextClipId}`;
|
|
13729
13795
|
}
|
|
13730
|
-
function styles$
|
|
13796
|
+
function styles$7(mark, {
|
|
13731
13797
|
title: title2,
|
|
13732
13798
|
href,
|
|
13733
13799
|
ariaLabel: variaLabel,
|
|
@@ -14093,7 +14159,7 @@ class Mark {
|
|
|
14093
14159
|
this.facetAnchor = maybeFacetAnchor(facetAnchor);
|
|
14094
14160
|
channels = maybeNamed(channels);
|
|
14095
14161
|
if (extraChannels !== void 0) channels = { ...maybeChannels(extraChannels), ...channels };
|
|
14096
|
-
if (defaults2 !== void 0) channels = { ...styles$
|
|
14162
|
+
if (defaults2 !== void 0) channels = { ...styles$7(this, options, defaults2), ...channels };
|
|
14097
14163
|
this.channels = Object.fromEntries(
|
|
14098
14164
|
Object.entries(channels).map(([name, channel]) => {
|
|
14099
14165
|
if (isOptions(channel.value)) {
|
|
@@ -19119,29 +19185,31 @@ const RadarChart = ({
|
|
|
19119
19185
|
});
|
|
19120
19186
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ObservablePlot, { options, className, style });
|
|
19121
19187
|
};
|
|
19122
|
-
const input = "
|
|
19123
|
-
const
|
|
19124
|
-
const
|
|
19125
|
-
const
|
|
19126
|
-
const
|
|
19127
|
-
const
|
|
19128
|
-
const
|
|
19129
|
-
const
|
|
19130
|
-
const
|
|
19131
|
-
const
|
|
19132
|
-
const
|
|
19133
|
-
const
|
|
19134
|
-
const
|
|
19188
|
+
const input = "_input_1ymvl_7";
|
|
19189
|
+
const pageBackground = "_pageBackground_1ymvl_24";
|
|
19190
|
+
const large$3 = "_large_1ymvl_38";
|
|
19191
|
+
const small$3 = "_small_1ymvl_43";
|
|
19192
|
+
const disabled$3 = "_disabled_1ymvl_48";
|
|
19193
|
+
const primary$5 = "_primary_1ymvl_55";
|
|
19194
|
+
const success$5 = "_success_1ymvl_64";
|
|
19195
|
+
const warning$5 = "_warning_1ymvl_72";
|
|
19196
|
+
const danger$5 = "_danger_1ymvl_80";
|
|
19197
|
+
const info$5 = "_info_1ymvl_88";
|
|
19198
|
+
const secondary$5 = "_secondary_1ymvl_97";
|
|
19199
|
+
const field = "_field_1ymvl_106";
|
|
19200
|
+
const label$1 = "_label_1ymvl_112";
|
|
19201
|
+
const styles$6 = {
|
|
19135
19202
|
input,
|
|
19203
|
+
pageBackground,
|
|
19136
19204
|
large: large$3,
|
|
19137
19205
|
small: small$3,
|
|
19138
19206
|
disabled: disabled$3,
|
|
19139
|
-
primary: primary$
|
|
19140
|
-
success: success$
|
|
19141
|
-
warning: warning$
|
|
19142
|
-
danger: danger$
|
|
19143
|
-
info: info$
|
|
19144
|
-
secondary: secondary$
|
|
19207
|
+
primary: primary$5,
|
|
19208
|
+
success: success$5,
|
|
19209
|
+
warning: warning$5,
|
|
19210
|
+
danger: danger$5,
|
|
19211
|
+
info: info$5,
|
|
19212
|
+
secondary: secondary$5,
|
|
19145
19213
|
field,
|
|
19146
19214
|
label: label$1
|
|
19147
19215
|
};
|
|
@@ -19154,26 +19222,28 @@ function Input({
|
|
|
19154
19222
|
...props
|
|
19155
19223
|
}) {
|
|
19156
19224
|
const inputId = useId$1();
|
|
19157
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$
|
|
19158
|
-
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$
|
|
19225
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$6.field, children: [
|
|
19226
|
+
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$6.label, htmlFor: inputId, children: label2 }),
|
|
19159
19227
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19160
19228
|
"div",
|
|
19161
19229
|
{
|
|
19162
19230
|
className: classNames(
|
|
19163
19231
|
chamfer2 && chamferStyles.chamfer,
|
|
19164
|
-
styles$
|
|
19232
|
+
!variant && styles$6.pageBackground,
|
|
19233
|
+
styles$6[variant]
|
|
19165
19234
|
),
|
|
19166
19235
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19167
19236
|
"input",
|
|
19168
19237
|
{
|
|
19169
19238
|
id: inputId,
|
|
19170
19239
|
className: classNames(
|
|
19171
|
-
styles$
|
|
19172
|
-
styles$
|
|
19173
|
-
|
|
19174
|
-
size2 === "
|
|
19240
|
+
styles$6.input,
|
|
19241
|
+
!variant && styles$6.pageBackground,
|
|
19242
|
+
styles$6[variant],
|
|
19243
|
+
size2 === "large" && styles$6.large,
|
|
19244
|
+
size2 === "small" && styles$6.small,
|
|
19175
19245
|
disabled2 && chamferStyles.disabled,
|
|
19176
|
-
disabled2 && styles$
|
|
19246
|
+
disabled2 && styles$6.disabled,
|
|
19177
19247
|
disabled2 && hatchStyles.hatch
|
|
19178
19248
|
),
|
|
19179
19249
|
disabled: disabled2,
|
|
@@ -19758,13 +19828,13 @@ const small$2 = "_small_hpxu6_93";
|
|
|
19758
19828
|
const disabledDot = "_disabledDot_hpxu6_98";
|
|
19759
19829
|
const label = "_label_hpxu6_102";
|
|
19760
19830
|
const chamfer = "_chamfer_hpxu6_107";
|
|
19761
|
-
const primary$
|
|
19762
|
-
const secondary$
|
|
19763
|
-
const success$
|
|
19764
|
-
const warning$
|
|
19765
|
-
const danger$
|
|
19766
|
-
const info$
|
|
19767
|
-
const styles$
|
|
19831
|
+
const primary$4 = "_primary_hpxu6_112";
|
|
19832
|
+
const secondary$4 = "_secondary_hpxu6_121";
|
|
19833
|
+
const success$4 = "_success_hpxu6_130";
|
|
19834
|
+
const warning$4 = "_warning_hpxu6_139";
|
|
19835
|
+
const danger$4 = "_danger_hpxu6_148";
|
|
19836
|
+
const info$4 = "_info_hpxu6_157";
|
|
19837
|
+
const styles$5 = {
|
|
19768
19838
|
group,
|
|
19769
19839
|
wrapper,
|
|
19770
19840
|
disabled: disabled$2,
|
|
@@ -19776,17 +19846,17 @@ const styles$4 = {
|
|
|
19776
19846
|
disabledDot,
|
|
19777
19847
|
label,
|
|
19778
19848
|
chamfer,
|
|
19779
|
-
primary: primary$
|
|
19780
|
-
secondary: secondary$
|
|
19781
|
-
success: success$
|
|
19782
|
-
warning: warning$
|
|
19783
|
-
danger: danger$
|
|
19784
|
-
info: info$
|
|
19849
|
+
primary: primary$4,
|
|
19850
|
+
secondary: secondary$4,
|
|
19851
|
+
success: success$4,
|
|
19852
|
+
warning: warning$4,
|
|
19853
|
+
danger: danger$4,
|
|
19854
|
+
info: info$4
|
|
19785
19855
|
};
|
|
19786
19856
|
const RadioGroup$1 = ({ className, children: children2, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19787
19857
|
Root2$3,
|
|
19788
19858
|
{
|
|
19789
|
-
className: clsx(styles$
|
|
19859
|
+
className: clsx(styles$5.group, className),
|
|
19790
19860
|
...props,
|
|
19791
19861
|
children: children2
|
|
19792
19862
|
}
|
|
@@ -19801,33 +19871,33 @@ function Radio({
|
|
|
19801
19871
|
className,
|
|
19802
19872
|
...props
|
|
19803
19873
|
}) {
|
|
19804
|
-
const variantClass = variant && styles$
|
|
19805
|
-
const sizeClass = size2 === "large" ? styles$
|
|
19874
|
+
const variantClass = variant && styles$5[variant];
|
|
19875
|
+
const sizeClass = size2 === "large" ? styles$5.large : size2 === "small" ? styles$5.small : null;
|
|
19806
19876
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
19807
19877
|
"label",
|
|
19808
19878
|
{
|
|
19809
|
-
className: clsx(styles$
|
|
19879
|
+
className: clsx(styles$5.wrapper, variantClass, disabled2 && styles$5.disabled),
|
|
19810
19880
|
children: [
|
|
19811
19881
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19812
19882
|
Item2$2,
|
|
19813
19883
|
{
|
|
19814
19884
|
className: clsx(
|
|
19815
|
-
styles$
|
|
19885
|
+
styles$5.root,
|
|
19816
19886
|
variantClass,
|
|
19817
19887
|
sizeClass,
|
|
19818
19888
|
chamfer2 && chamferStyles.chamfer,
|
|
19819
19889
|
disabled2 && chamferStyles.disabled,
|
|
19820
19890
|
disabled2 && hatchStyles.hatch,
|
|
19821
|
-
disabled2 && styles$
|
|
19891
|
+
disabled2 && styles$5.disabledDot,
|
|
19822
19892
|
className
|
|
19823
19893
|
),
|
|
19824
19894
|
value,
|
|
19825
19895
|
disabled: disabled2,
|
|
19826
19896
|
...props,
|
|
19827
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Indicator, { className: styles$
|
|
19897
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Indicator, { className: styles$5.indicator, children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$5.dot }) })
|
|
19828
19898
|
}
|
|
19829
19899
|
),
|
|
19830
|
-
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
19900
|
+
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$5.label, children: label2 })
|
|
19831
19901
|
]
|
|
19832
19902
|
}
|
|
19833
19903
|
);
|
|
@@ -24381,13 +24451,13 @@ const disabled$1 = "_disabled_1u214_41";
|
|
|
24381
24451
|
const icon$1 = "_icon_1u214_46";
|
|
24382
24452
|
const content$3 = "_content_1u214_52";
|
|
24383
24453
|
const item$1 = "_item_1u214_57";
|
|
24384
|
-
const primary$
|
|
24385
|
-
const success$
|
|
24386
|
-
const warning$
|
|
24387
|
-
const danger$
|
|
24388
|
-
const info$
|
|
24389
|
-
const secondary$
|
|
24390
|
-
const styles$
|
|
24454
|
+
const primary$3 = "_primary_1u214_79";
|
|
24455
|
+
const success$3 = "_success_1u214_89";
|
|
24456
|
+
const warning$3 = "_warning_1u214_99";
|
|
24457
|
+
const danger$3 = "_danger_1u214_109";
|
|
24458
|
+
const info$3 = "_info_1u214_119";
|
|
24459
|
+
const secondary$3 = "_secondary_1u214_129";
|
|
24460
|
+
const styles$4 = {
|
|
24391
24461
|
trigger: trigger$1,
|
|
24392
24462
|
large: large$1,
|
|
24393
24463
|
small: small$1,
|
|
@@ -24395,12 +24465,12 @@ const styles$3 = {
|
|
|
24395
24465
|
icon: icon$1,
|
|
24396
24466
|
content: content$3,
|
|
24397
24467
|
item: item$1,
|
|
24398
|
-
primary: primary$
|
|
24399
|
-
success: success$
|
|
24400
|
-
warning: warning$
|
|
24401
|
-
danger: danger$
|
|
24402
|
-
info: info$
|
|
24403
|
-
secondary: secondary$
|
|
24468
|
+
primary: primary$3,
|
|
24469
|
+
success: success$3,
|
|
24470
|
+
warning: warning$3,
|
|
24471
|
+
danger: danger$3,
|
|
24472
|
+
info: info$3,
|
|
24473
|
+
secondary: secondary$3
|
|
24404
24474
|
};
|
|
24405
24475
|
function SelectInput({
|
|
24406
24476
|
options,
|
|
@@ -24423,18 +24493,18 @@ function SelectInput({
|
|
|
24423
24493
|
Trigger$2,
|
|
24424
24494
|
{
|
|
24425
24495
|
className: clsx(
|
|
24426
|
-
styles$
|
|
24427
|
-
styles$
|
|
24496
|
+
styles$4.trigger,
|
|
24497
|
+
styles$4[variant],
|
|
24428
24498
|
chamfer2 && chamferStyles.chamfer,
|
|
24429
|
-
size2 === "large" && styles$
|
|
24430
|
-
size2 === "small" && styles$
|
|
24431
|
-
disabled2 && styles$
|
|
24499
|
+
size2 === "large" && styles$4.large,
|
|
24500
|
+
size2 === "small" && styles$4.small,
|
|
24501
|
+
disabled2 && styles$4.disabled,
|
|
24432
24502
|
disabled2 && hatchStyles.hatch
|
|
24433
24503
|
// loading && styles.disabled
|
|
24434
24504
|
),
|
|
24435
24505
|
children: [
|
|
24436
24506
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Value, {}),
|
|
24437
|
-
loading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loader, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { className: styles$
|
|
24507
|
+
loading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loader, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { className: styles$4.icon, children: "▾" })
|
|
24438
24508
|
]
|
|
24439
24509
|
}
|
|
24440
24510
|
),
|
|
@@ -24442,7 +24512,7 @@ function SelectInput({
|
|
|
24442
24512
|
Content2$2,
|
|
24443
24513
|
{
|
|
24444
24514
|
className: classNames(
|
|
24445
|
-
styles$
|
|
24515
|
+
styles$4.content,
|
|
24446
24516
|
chamfer2 && chamferStyles.chamfer
|
|
24447
24517
|
),
|
|
24448
24518
|
sideOffset: 6,
|
|
@@ -24451,7 +24521,7 @@ function SelectInput({
|
|
|
24451
24521
|
{
|
|
24452
24522
|
value: opt.value,
|
|
24453
24523
|
disabled: opt.disabled,
|
|
24454
|
-
className: styles$
|
|
24524
|
+
className: styles$4.item,
|
|
24455
24525
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemText, { children: opt.label })
|
|
24456
24526
|
},
|
|
24457
24527
|
opt.value
|
|
@@ -25489,13 +25559,13 @@ const itemLabel = "_itemLabel_12pwu_120";
|
|
|
25489
25559
|
const itemIcon = "_itemIcon_12pwu_124";
|
|
25490
25560
|
const separator = "_separator_12pwu_136";
|
|
25491
25561
|
const arrow = "_arrow_12pwu_141";
|
|
25492
|
-
const primary$
|
|
25493
|
-
const success$
|
|
25494
|
-
const warning$
|
|
25495
|
-
const danger$
|
|
25496
|
-
const info$
|
|
25497
|
-
const secondary$
|
|
25498
|
-
const styles$
|
|
25562
|
+
const primary$2 = "_primary_12pwu_148";
|
|
25563
|
+
const success$2 = "_success_12pwu_159";
|
|
25564
|
+
const warning$2 = "_warning_12pwu_170";
|
|
25565
|
+
const danger$2 = "_danger_12pwu_181";
|
|
25566
|
+
const info$2 = "_info_12pwu_192";
|
|
25567
|
+
const secondary$2 = "_secondary_12pwu_203";
|
|
25568
|
+
const styles$3 = {
|
|
25499
25569
|
trigger,
|
|
25500
25570
|
large,
|
|
25501
25571
|
small,
|
|
@@ -25512,12 +25582,12 @@ const styles$2 = {
|
|
|
25512
25582
|
itemIcon,
|
|
25513
25583
|
separator,
|
|
25514
25584
|
arrow,
|
|
25515
|
-
primary: primary$
|
|
25516
|
-
success: success$
|
|
25517
|
-
warning: warning$
|
|
25518
|
-
danger: danger$
|
|
25519
|
-
info: info$
|
|
25520
|
-
secondary: secondary$
|
|
25585
|
+
primary: primary$2,
|
|
25586
|
+
success: success$2,
|
|
25587
|
+
warning: warning$2,
|
|
25588
|
+
danger: danger$2,
|
|
25589
|
+
info: info$2,
|
|
25590
|
+
secondary: secondary$2
|
|
25521
25591
|
};
|
|
25522
25592
|
function Dropdown({
|
|
25523
25593
|
items = [],
|
|
@@ -25538,18 +25608,18 @@ function Dropdown({
|
|
|
25538
25608
|
...props
|
|
25539
25609
|
}) {
|
|
25540
25610
|
const triggerClassName = clsx(
|
|
25541
|
-
styles$
|
|
25542
|
-
variant && styles$
|
|
25611
|
+
styles$3.trigger,
|
|
25612
|
+
variant && styles$3[variant],
|
|
25543
25613
|
chamfer2 && chamferStyles.chamfer,
|
|
25544
|
-
size2 === "large" && styles$
|
|
25545
|
-
size2 === "small" && styles$
|
|
25546
|
-
disabled2 && styles$
|
|
25614
|
+
size2 === "large" && styles$3.large,
|
|
25615
|
+
size2 === "small" && styles$3.small,
|
|
25616
|
+
disabled2 && styles$3.disabled,
|
|
25547
25617
|
disabled2 && hatchStyles.hatch,
|
|
25548
25618
|
_triggerClassName
|
|
25549
25619
|
);
|
|
25550
25620
|
const contentClassName = clsx(
|
|
25551
|
-
styles$
|
|
25552
|
-
variant && styles$
|
|
25621
|
+
styles$3.content,
|
|
25622
|
+
variant && styles$3[variant],
|
|
25553
25623
|
chamfer2 && chamferStyles.chamfer
|
|
25554
25624
|
);
|
|
25555
25625
|
const handleItemSelect = (item2) => {
|
|
@@ -25578,13 +25648,13 @@ function Dropdown({
|
|
|
25578
25648
|
side,
|
|
25579
25649
|
sideOffset: 0,
|
|
25580
25650
|
...contentProps,
|
|
25581
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$
|
|
25651
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$3.viewport, children: items.map((item2, index2) => {
|
|
25582
25652
|
if (item2.type === "separator") {
|
|
25583
25653
|
const separatorKey = item2.key ?? `separator-${index2}`;
|
|
25584
25654
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
25585
25655
|
Separator2,
|
|
25586
25656
|
{
|
|
25587
|
-
className: styles$
|
|
25657
|
+
className: styles$3.separator
|
|
25588
25658
|
},
|
|
25589
25659
|
separatorKey
|
|
25590
25660
|
);
|
|
@@ -25595,10 +25665,10 @@ function Dropdown({
|
|
|
25595
25665
|
{
|
|
25596
25666
|
onSelect: () => handleItemSelect(item2),
|
|
25597
25667
|
disabled: item2.disabled,
|
|
25598
|
-
className: styles$
|
|
25668
|
+
className: styles$3.item,
|
|
25599
25669
|
children: [
|
|
25600
|
-
item2.icon && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
25601
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$
|
|
25670
|
+
item2.icon && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$3.itemIcon, "aria-hidden": true, children: item2.icon }),
|
|
25671
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$3.itemLabel, children: item2.label })
|
|
25602
25672
|
]
|
|
25603
25673
|
},
|
|
25604
25674
|
itemKey
|
|
@@ -25608,6 +25678,38 @@ function Dropdown({
|
|
|
25608
25678
|
) })
|
|
25609
25679
|
] });
|
|
25610
25680
|
}
|
|
25681
|
+
const hatch = "_hatch_lff0l_1";
|
|
25682
|
+
const primary$1 = "_primary_lff0l_7";
|
|
25683
|
+
const success$1 = "_success_lff0l_14";
|
|
25684
|
+
const warning$1 = "_warning_lff0l_21";
|
|
25685
|
+
const danger$1 = "_danger_lff0l_28";
|
|
25686
|
+
const info$1 = "_info_lff0l_35";
|
|
25687
|
+
const secondary$1 = "_secondary_lff0l_42";
|
|
25688
|
+
const styles$2 = {
|
|
25689
|
+
hatch,
|
|
25690
|
+
primary: primary$1,
|
|
25691
|
+
success: success$1,
|
|
25692
|
+
warning: warning$1,
|
|
25693
|
+
danger: danger$1,
|
|
25694
|
+
info: info$1,
|
|
25695
|
+
secondary: secondary$1
|
|
25696
|
+
};
|
|
25697
|
+
function Hatch({ children: children2, className, variant, ...props }) {
|
|
25698
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
25699
|
+
"div",
|
|
25700
|
+
{
|
|
25701
|
+
className: classNames(
|
|
25702
|
+
styles$2.hatch,
|
|
25703
|
+
styles$2[variant],
|
|
25704
|
+
hatchStyles.hatch,
|
|
25705
|
+
chamferStyles.chamfer,
|
|
25706
|
+
className
|
|
25707
|
+
),
|
|
25708
|
+
...props,
|
|
25709
|
+
children: children2
|
|
25710
|
+
}
|
|
25711
|
+
);
|
|
25712
|
+
}
|
|
25611
25713
|
let e = { data: "" }, t = (t4) => {
|
|
25612
25714
|
if ("object" == typeof window) {
|
|
25613
25715
|
let e3 = (t4 ? t4.querySelector("#_goober") : window._goober) || Object.assign(document.createElement("style"), { innerHTML: " ", id: "_goober" });
|
|
@@ -26772,6 +26874,7 @@ export {
|
|
|
26772
26874
|
Checkbox,
|
|
26773
26875
|
ColorSwitcher,
|
|
26774
26876
|
Dropdown,
|
|
26877
|
+
Hatch,
|
|
26775
26878
|
Input,
|
|
26776
26879
|
JCUIProvider,
|
|
26777
26880
|
Layout,
|