@jackcrane/ui 0.1.1 → 0.1.3
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/Card/card.d.ts +3 -1
- package/dist/components/Input/Input.d.ts +2 -1
- package/dist/jcui.cjs.js +86 -62
- package/dist/jcui.es.js +87 -63
- package/package.json +1 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
export default function Card({ children, variant, chamfer, size, footerHeight, ...props }: {
|
|
1
|
+
export default function Card({ children, variant, chamfer, size, footerHeight, footer, title, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
children: any;
|
|
4
4
|
variant: any;
|
|
5
5
|
chamfer?: boolean;
|
|
6
6
|
size: any;
|
|
7
7
|
footerHeight?: number;
|
|
8
|
+
footer: any;
|
|
9
|
+
title: any;
|
|
8
10
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export default function Input({ variant, chamfer, size, disabled, ...props }: {
|
|
1
|
+
export default function Input({ variant, chamfer, size, disabled, label, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
variant: any;
|
|
4
4
|
chamfer?: boolean;
|
|
5
5
|
size: any;
|
|
6
6
|
disabled: any;
|
|
7
|
+
label: any;
|
|
7
8
|
}): import("react/jsx-runtime").JSX.Element;
|
package/dist/jcui.cjs.js
CHANGED
|
@@ -422,7 +422,7 @@ div._chamfer_1o5rm_1:not(._disabled_1o5rm_15):focus-within {
|
|
|
422
422
|
inherits: true;
|
|
423
423
|
initial-value: transparent;
|
|
424
424
|
}
|
|
425
|
-
.
|
|
425
|
+
._input_rojre_7 {
|
|
426
426
|
border-width: var(--border-thickness);
|
|
427
427
|
border-style: solid;
|
|
428
428
|
font-size: 1rem;
|
|
@@ -432,73 +432,80 @@ div._chamfer_1o5rm_1:not(._disabled_1o5rm_15):focus-within {
|
|
|
432
432
|
border-color: var(--border-color);
|
|
433
433
|
width: calc(100% + var(--border-thickness));
|
|
434
434
|
}
|
|
435
|
-
.
|
|
435
|
+
._input_rojre_7:hover {
|
|
436
436
|
--input-bg: var(--secondary-color-100);
|
|
437
437
|
}
|
|
438
|
-
.
|
|
438
|
+
._input_rojre_7:focus {
|
|
439
439
|
outline: none;
|
|
440
440
|
}
|
|
441
|
-
.
|
|
441
|
+
._large_rojre_24 {
|
|
442
442
|
font-size: 1.25rem;
|
|
443
443
|
padding: 0.75rem 1.25rem;
|
|
444
444
|
}
|
|
445
|
-
.
|
|
445
|
+
._small_rojre_29 {
|
|
446
446
|
font-size: 0.75rem;
|
|
447
447
|
padding: 0.25rem 0.5rem;
|
|
448
448
|
}
|
|
449
|
-
.
|
|
449
|
+
._disabled_rojre_34 {
|
|
450
450
|
opacity: 0.5;
|
|
451
451
|
cursor: not-allowed;
|
|
452
452
|
}
|
|
453
453
|
/* Variants */
|
|
454
|
-
.
|
|
454
|
+
._primary_rojre_41 {
|
|
455
455
|
--input-bg: var(--primary-color-100);
|
|
456
456
|
--border-color: var(--primary-color-300);
|
|
457
457
|
--border-accent-color: var(--primary-color-600);
|
|
458
458
|
}
|
|
459
|
-
.
|
|
459
|
+
._primary_rojre_41:hover {
|
|
460
460
|
--input-bg: var(--primary-color-200);
|
|
461
461
|
}
|
|
462
|
-
.
|
|
462
|
+
._success_rojre_50 {
|
|
463
463
|
--input-bg: var(--success-color-100);
|
|
464
464
|
--border-color: var(--success-color-300);
|
|
465
465
|
--border-accent-color: var(--success-color-600);
|
|
466
466
|
}
|
|
467
|
-
.
|
|
467
|
+
._success_rojre_50:hover {
|
|
468
468
|
--input-bg: var(--success-color-200);
|
|
469
469
|
}
|
|
470
|
-
.
|
|
470
|
+
._warning_rojre_58 {
|
|
471
471
|
--input-bg: var(--warning-color-100);
|
|
472
472
|
--border-color: var(--warning-color-300);
|
|
473
473
|
--border-accent-color: var(--warning-color-600);
|
|
474
474
|
}
|
|
475
|
-
.
|
|
475
|
+
._warning_rojre_58:hover {
|
|
476
476
|
--input-bg: var(--warning-color-200);
|
|
477
477
|
}
|
|
478
|
-
.
|
|
478
|
+
._danger_rojre_66 {
|
|
479
479
|
--input-bg: var(--danger-color-100);
|
|
480
480
|
--border-color: var(--danger-color-300);
|
|
481
481
|
--border-accent-color: var(--danger-color-600);
|
|
482
482
|
}
|
|
483
|
-
.
|
|
483
|
+
._danger_rojre_66:hover {
|
|
484
484
|
--input-bg: var(--danger-color-200);
|
|
485
485
|
}
|
|
486
|
-
.
|
|
486
|
+
._info_rojre_74 {
|
|
487
487
|
--input-bg: var(--info-color-100);
|
|
488
488
|
--border-color: var(--info-color-300);
|
|
489
489
|
--border-accent-color: var(--info-color-600);
|
|
490
490
|
}
|
|
491
|
-
.
|
|
491
|
+
._info_rojre_74:hover {
|
|
492
492
|
--input-bg: var(--info-color-200);
|
|
493
493
|
}
|
|
494
|
-
.
|
|
494
|
+
._secondary_rojre_83 {
|
|
495
495
|
--input-bg: var(--secondary-color-100);
|
|
496
496
|
--border-color: var(--secondary-color-300);
|
|
497
497
|
--border-accent-color: var(--secondary-color-600);
|
|
498
498
|
}
|
|
499
|
-
.
|
|
499
|
+
._secondary_rojre_83:hover {
|
|
500
500
|
--input-bg: var(--secondary-color-200);
|
|
501
501
|
}
|
|
502
|
+
._field_rojre_92 {
|
|
503
|
+
display: flex;
|
|
504
|
+
flex-direction: column;
|
|
505
|
+
gap: 0.5rem;
|
|
506
|
+
}
|
|
507
|
+
._label_rojre_98 {
|
|
508
|
+
}
|
|
502
509
|
@property --radio-hover-bg {
|
|
503
510
|
syntax: "<color>";
|
|
504
511
|
inherits: true;
|
|
@@ -2059,6 +2066,9 @@ function Card({
|
|
|
2059
2066
|
chamfer: chamfer2 = true,
|
|
2060
2067
|
size: size2,
|
|
2061
2068
|
footerHeight = 0,
|
|
2069
|
+
footer: footer2,
|
|
2070
|
+
// I hardly know her
|
|
2071
|
+
title: title2,
|
|
2062
2072
|
...props
|
|
2063
2073
|
}) {
|
|
2064
2074
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -2073,13 +2083,14 @@ function Card({
|
|
|
2073
2083
|
),
|
|
2074
2084
|
...props,
|
|
2075
2085
|
children: [
|
|
2076
|
-
|
|
2086
|
+
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$8.title, hatchStyles.hatch), children: title2 }),
|
|
2077
2087
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$8.body, children: children2 }),
|
|
2078
2088
|
footerHeight > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2079
2089
|
"div",
|
|
2080
2090
|
{
|
|
2081
2091
|
className: classNames(hatchStyles.hatch, styles$8.footer),
|
|
2082
|
-
style: { flexBasis: footerHeight }
|
|
2092
|
+
style: { flexBasis: footerHeight },
|
|
2093
|
+
children: footer2
|
|
2083
2094
|
}
|
|
2084
2095
|
)
|
|
2085
2096
|
]
|
|
@@ -2814,7 +2825,7 @@ const indicator$1 = "_indicator_178xv_76";
|
|
|
2814
2825
|
const large$4 = "_large_178xv_94";
|
|
2815
2826
|
const small$4 = "_small_178xv_99";
|
|
2816
2827
|
const disabledBox = "_disabledBox_178xv_104";
|
|
2817
|
-
const label$
|
|
2828
|
+
const label$2 = "_label_178xv_109";
|
|
2818
2829
|
const primary$5 = "_primary_178xv_117";
|
|
2819
2830
|
const secondary$5 = "_secondary_178xv_126";
|
|
2820
2831
|
const success$5 = "_success_178xv_135";
|
|
@@ -2829,7 +2840,7 @@ const styles$7 = {
|
|
|
2829
2840
|
large: large$4,
|
|
2830
2841
|
small: small$4,
|
|
2831
2842
|
disabledBox,
|
|
2832
|
-
label: label$
|
|
2843
|
+
label: label$2,
|
|
2833
2844
|
primary: primary$5,
|
|
2834
2845
|
secondary: secondary$5,
|
|
2835
2846
|
success: success$5,
|
|
@@ -11319,7 +11330,7 @@ function isBigIntType(type) {
|
|
|
11319
11330
|
const reindex = /* @__PURE__ */ Symbol("reindex");
|
|
11320
11331
|
function valueof(data, value, type) {
|
|
11321
11332
|
const valueType = typeof value;
|
|
11322
|
-
return valueType === "string" ? isArrowTable(data) ? maybeTypedArrowify(data.getChild(value), type) : maybeTypedMap(data, field(value), type) : valueType === "function" ? maybeTypedMap(data, value, type) : valueType === "number" || value instanceof Date || valueType === "boolean" ? map(data, constant(value), type) : typeof value?.transform === "function" ? maybeTypedArrayify(value.transform(data), type) : maybeTake(maybeTypedArrayify(value, type), data?.[reindex]);
|
|
11333
|
+
return valueType === "string" ? isArrowTable(data) ? maybeTypedArrowify(data.getChild(value), type) : maybeTypedMap(data, field$1(value), type) : valueType === "function" ? maybeTypedMap(data, value, type) : valueType === "number" || value instanceof Date || valueType === "boolean" ? map(data, constant(value), type) : typeof value?.transform === "function" ? maybeTypedArrayify(value.transform(data), type) : maybeTake(maybeTypedArrayify(value, type), data?.[reindex]);
|
|
11323
11334
|
}
|
|
11324
11335
|
function maybeTake(values2, index2) {
|
|
11325
11336
|
return values2 != null && index2 ? take(values2, index2) : values2;
|
|
@@ -11337,7 +11348,7 @@ function vectorToArray(vector) {
|
|
|
11337
11348
|
return vector.nullCount ? vector.toJSON() : vector.toArray();
|
|
11338
11349
|
}
|
|
11339
11350
|
const singleton = [null];
|
|
11340
|
-
const field = (name) => (d2) => {
|
|
11351
|
+
const field$1 = (name) => (d2) => {
|
|
11341
11352
|
const v2 = d2[name];
|
|
11342
11353
|
return v2 === void 0 && d2.type === "Feature" ? d2.properties?.[name] : v2;
|
|
11343
11354
|
};
|
|
@@ -16306,7 +16317,7 @@ function maybeOrder(order, offset2, ky2) {
|
|
|
16306
16317
|
case "inside-out":
|
|
16307
16318
|
return orderInsideOut(compare);
|
|
16308
16319
|
}
|
|
16309
|
-
return orderAccessor(field(order));
|
|
16320
|
+
return orderAccessor(field$1(order));
|
|
16310
16321
|
}
|
|
16311
16322
|
if (typeof order === "function") return (order.length === 1 ? orderAccessor : orderComparator)(order);
|
|
16312
16323
|
if (isArray(order)) return orderGiven(order);
|
|
@@ -19125,16 +19136,18 @@ const RadarChart = ({
|
|
|
19125
19136
|
});
|
|
19126
19137
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ObservablePlot, { options, className, style });
|
|
19127
19138
|
};
|
|
19128
|
-
const input = "
|
|
19129
|
-
const large$3 = "
|
|
19130
|
-
const small$3 = "
|
|
19131
|
-
const disabled$3 = "
|
|
19132
|
-
const primary$4 = "
|
|
19133
|
-
const success$4 = "
|
|
19134
|
-
const warning$4 = "
|
|
19135
|
-
const danger$4 = "
|
|
19136
|
-
const info$4 = "
|
|
19137
|
-
const secondary$4 = "
|
|
19139
|
+
const input = "_input_rojre_7";
|
|
19140
|
+
const large$3 = "_large_rojre_24";
|
|
19141
|
+
const small$3 = "_small_rojre_29";
|
|
19142
|
+
const disabled$3 = "_disabled_rojre_34";
|
|
19143
|
+
const primary$4 = "_primary_rojre_41";
|
|
19144
|
+
const success$4 = "_success_rojre_50";
|
|
19145
|
+
const warning$4 = "_warning_rojre_58";
|
|
19146
|
+
const danger$4 = "_danger_rojre_66";
|
|
19147
|
+
const info$4 = "_info_rojre_74";
|
|
19148
|
+
const secondary$4 = "_secondary_rojre_83";
|
|
19149
|
+
const field = "_field_rojre_92";
|
|
19150
|
+
const label$1 = "_label_rojre_98";
|
|
19138
19151
|
const styles$5 = {
|
|
19139
19152
|
input,
|
|
19140
19153
|
large: large$3,
|
|
@@ -19145,41 +19158,52 @@ const styles$5 = {
|
|
|
19145
19158
|
warning: warning$4,
|
|
19146
19159
|
danger: danger$4,
|
|
19147
19160
|
info: info$4,
|
|
19148
|
-
secondary: secondary$4
|
|
19161
|
+
secondary: secondary$4,
|
|
19162
|
+
field,
|
|
19163
|
+
label: label$1
|
|
19149
19164
|
};
|
|
19150
19165
|
function Input({
|
|
19151
19166
|
variant,
|
|
19152
19167
|
chamfer: chamfer2 = true,
|
|
19153
19168
|
size: size2,
|
|
19154
19169
|
disabled: disabled2,
|
|
19170
|
+
label: label2,
|
|
19155
19171
|
...props
|
|
19156
19172
|
}) {
|
|
19157
|
-
|
|
19158
|
-
|
|
19159
|
-
{
|
|
19160
|
-
|
|
19161
|
-
|
|
19162
|
-
|
|
19163
|
-
|
|
19164
|
-
|
|
19165
|
-
|
|
19166
|
-
|
|
19167
|
-
|
|
19168
|
-
|
|
19169
|
-
|
|
19170
|
-
|
|
19171
|
-
|
|
19172
|
-
|
|
19173
|
-
|
|
19174
|
-
|
|
19175
|
-
|
|
19176
|
-
|
|
19177
|
-
|
|
19178
|
-
|
|
19179
|
-
|
|
19180
|
-
|
|
19181
|
-
|
|
19182
|
-
|
|
19173
|
+
const inputId = React.useId();
|
|
19174
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.field, children: [
|
|
19175
|
+
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$5.label, htmlFor: inputId, children: label2 }),
|
|
19176
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19177
|
+
"div",
|
|
19178
|
+
{
|
|
19179
|
+
className: classNames(
|
|
19180
|
+
chamfer2 && chamferStyles.chamfer,
|
|
19181
|
+
styles$5[variant]
|
|
19182
|
+
),
|
|
19183
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19184
|
+
"input",
|
|
19185
|
+
{
|
|
19186
|
+
id: inputId,
|
|
19187
|
+
className: classNames(
|
|
19188
|
+
styles$5.input,
|
|
19189
|
+
styles$5[variant],
|
|
19190
|
+
size2 === "large" && styles$5.large,
|
|
19191
|
+
size2 === "small" && styles$5.small,
|
|
19192
|
+
disabled2 && chamferStyles.disabled,
|
|
19193
|
+
disabled2 && styles$5.disabled,
|
|
19194
|
+
disabled2 && hatchStyles.hatch
|
|
19195
|
+
),
|
|
19196
|
+
disabled: disabled2,
|
|
19197
|
+
style: {
|
|
19198
|
+
margin: -1,
|
|
19199
|
+
...props.style
|
|
19200
|
+
},
|
|
19201
|
+
...props
|
|
19202
|
+
}
|
|
19203
|
+
)
|
|
19204
|
+
}
|
|
19205
|
+
)
|
|
19206
|
+
] });
|
|
19183
19207
|
}
|
|
19184
19208
|
function createCollection(name) {
|
|
19185
19209
|
const PROVIDER_NAME = name + "CollectionProvider";
|
package/dist/jcui.es.js
CHANGED
|
@@ -422,7 +422,7 @@ div._chamfer_1o5rm_1:not(._disabled_1o5rm_15):focus-within {
|
|
|
422
422
|
inherits: true;
|
|
423
423
|
initial-value: transparent;
|
|
424
424
|
}
|
|
425
|
-
.
|
|
425
|
+
._input_rojre_7 {
|
|
426
426
|
border-width: var(--border-thickness);
|
|
427
427
|
border-style: solid;
|
|
428
428
|
font-size: 1rem;
|
|
@@ -432,73 +432,80 @@ div._chamfer_1o5rm_1:not(._disabled_1o5rm_15):focus-within {
|
|
|
432
432
|
border-color: var(--border-color);
|
|
433
433
|
width: calc(100% + var(--border-thickness));
|
|
434
434
|
}
|
|
435
|
-
.
|
|
435
|
+
._input_rojre_7:hover {
|
|
436
436
|
--input-bg: var(--secondary-color-100);
|
|
437
437
|
}
|
|
438
|
-
.
|
|
438
|
+
._input_rojre_7:focus {
|
|
439
439
|
outline: none;
|
|
440
440
|
}
|
|
441
|
-
.
|
|
441
|
+
._large_rojre_24 {
|
|
442
442
|
font-size: 1.25rem;
|
|
443
443
|
padding: 0.75rem 1.25rem;
|
|
444
444
|
}
|
|
445
|
-
.
|
|
445
|
+
._small_rojre_29 {
|
|
446
446
|
font-size: 0.75rem;
|
|
447
447
|
padding: 0.25rem 0.5rem;
|
|
448
448
|
}
|
|
449
|
-
.
|
|
449
|
+
._disabled_rojre_34 {
|
|
450
450
|
opacity: 0.5;
|
|
451
451
|
cursor: not-allowed;
|
|
452
452
|
}
|
|
453
453
|
/* Variants */
|
|
454
|
-
.
|
|
454
|
+
._primary_rojre_41 {
|
|
455
455
|
--input-bg: var(--primary-color-100);
|
|
456
456
|
--border-color: var(--primary-color-300);
|
|
457
457
|
--border-accent-color: var(--primary-color-600);
|
|
458
458
|
}
|
|
459
|
-
.
|
|
459
|
+
._primary_rojre_41:hover {
|
|
460
460
|
--input-bg: var(--primary-color-200);
|
|
461
461
|
}
|
|
462
|
-
.
|
|
462
|
+
._success_rojre_50 {
|
|
463
463
|
--input-bg: var(--success-color-100);
|
|
464
464
|
--border-color: var(--success-color-300);
|
|
465
465
|
--border-accent-color: var(--success-color-600);
|
|
466
466
|
}
|
|
467
|
-
.
|
|
467
|
+
._success_rojre_50:hover {
|
|
468
468
|
--input-bg: var(--success-color-200);
|
|
469
469
|
}
|
|
470
|
-
.
|
|
470
|
+
._warning_rojre_58 {
|
|
471
471
|
--input-bg: var(--warning-color-100);
|
|
472
472
|
--border-color: var(--warning-color-300);
|
|
473
473
|
--border-accent-color: var(--warning-color-600);
|
|
474
474
|
}
|
|
475
|
-
.
|
|
475
|
+
._warning_rojre_58:hover {
|
|
476
476
|
--input-bg: var(--warning-color-200);
|
|
477
477
|
}
|
|
478
|
-
.
|
|
478
|
+
._danger_rojre_66 {
|
|
479
479
|
--input-bg: var(--danger-color-100);
|
|
480
480
|
--border-color: var(--danger-color-300);
|
|
481
481
|
--border-accent-color: var(--danger-color-600);
|
|
482
482
|
}
|
|
483
|
-
.
|
|
483
|
+
._danger_rojre_66:hover {
|
|
484
484
|
--input-bg: var(--danger-color-200);
|
|
485
485
|
}
|
|
486
|
-
.
|
|
486
|
+
._info_rojre_74 {
|
|
487
487
|
--input-bg: var(--info-color-100);
|
|
488
488
|
--border-color: var(--info-color-300);
|
|
489
489
|
--border-accent-color: var(--info-color-600);
|
|
490
490
|
}
|
|
491
|
-
.
|
|
491
|
+
._info_rojre_74:hover {
|
|
492
492
|
--input-bg: var(--info-color-200);
|
|
493
493
|
}
|
|
494
|
-
.
|
|
494
|
+
._secondary_rojre_83 {
|
|
495
495
|
--input-bg: var(--secondary-color-100);
|
|
496
496
|
--border-color: var(--secondary-color-300);
|
|
497
497
|
--border-accent-color: var(--secondary-color-600);
|
|
498
498
|
}
|
|
499
|
-
.
|
|
499
|
+
._secondary_rojre_83:hover {
|
|
500
500
|
--input-bg: var(--secondary-color-200);
|
|
501
501
|
}
|
|
502
|
+
._field_rojre_92 {
|
|
503
|
+
display: flex;
|
|
504
|
+
flex-direction: column;
|
|
505
|
+
gap: 0.5rem;
|
|
506
|
+
}
|
|
507
|
+
._label_rojre_98 {
|
|
508
|
+
}
|
|
502
509
|
@property --radio-hover-bg {
|
|
503
510
|
syntax: "<color>";
|
|
504
511
|
inherits: true;
|
|
@@ -1517,7 +1524,7 @@ hr {
|
|
|
1517
1524
|
width: 100%;
|
|
1518
1525
|
}`)),document.head.appendChild(r)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();
|
|
1519
1526
|
import * as React from "react";
|
|
1520
|
-
import React__default, { useContext, createContext as createContext$1, useLayoutEffect, useState, useRef, useCallback, useEffect, useMemo, forwardRef, createElement } from "react";
|
|
1527
|
+
import React__default, { useContext, createContext as createContext$1, useId as useId$1, useLayoutEffect, useState, useRef, useCallback, useEffect, useMemo, forwardRef, createElement } from "react";
|
|
1521
1528
|
import * as ReactDOM from "react-dom";
|
|
1522
1529
|
import ReactDOM__default from "react-dom";
|
|
1523
1530
|
function getDefaultExportFromCjs(x2) {
|
|
@@ -2041,6 +2048,9 @@ function Card({
|
|
|
2041
2048
|
chamfer: chamfer2 = true,
|
|
2042
2049
|
size: size2,
|
|
2043
2050
|
footerHeight = 0,
|
|
2051
|
+
footer: footer2,
|
|
2052
|
+
// I hardly know her
|
|
2053
|
+
title: title2,
|
|
2044
2054
|
...props
|
|
2045
2055
|
}) {
|
|
2046
2056
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -2055,13 +2065,14 @@ function Card({
|
|
|
2055
2065
|
),
|
|
2056
2066
|
...props,
|
|
2057
2067
|
children: [
|
|
2058
|
-
|
|
2068
|
+
title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$8.title, hatchStyles.hatch), children: title2 }),
|
|
2059
2069
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$8.body, children: children2 }),
|
|
2060
2070
|
footerHeight > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
2061
2071
|
"div",
|
|
2062
2072
|
{
|
|
2063
2073
|
className: classNames(hatchStyles.hatch, styles$8.footer),
|
|
2064
|
-
style: { flexBasis: footerHeight }
|
|
2074
|
+
style: { flexBasis: footerHeight },
|
|
2075
|
+
children: footer2
|
|
2065
2076
|
}
|
|
2066
2077
|
)
|
|
2067
2078
|
]
|
|
@@ -2796,7 +2807,7 @@ const indicator$1 = "_indicator_178xv_76";
|
|
|
2796
2807
|
const large$4 = "_large_178xv_94";
|
|
2797
2808
|
const small$4 = "_small_178xv_99";
|
|
2798
2809
|
const disabledBox = "_disabledBox_178xv_104";
|
|
2799
|
-
const label$
|
|
2810
|
+
const label$2 = "_label_178xv_109";
|
|
2800
2811
|
const primary$5 = "_primary_178xv_117";
|
|
2801
2812
|
const secondary$5 = "_secondary_178xv_126";
|
|
2802
2813
|
const success$5 = "_success_178xv_135";
|
|
@@ -2811,7 +2822,7 @@ const styles$7 = {
|
|
|
2811
2822
|
large: large$4,
|
|
2812
2823
|
small: small$4,
|
|
2813
2824
|
disabledBox,
|
|
2814
|
-
label: label$
|
|
2825
|
+
label: label$2,
|
|
2815
2826
|
primary: primary$5,
|
|
2816
2827
|
secondary: secondary$5,
|
|
2817
2828
|
success: success$5,
|
|
@@ -11301,7 +11312,7 @@ function isBigIntType(type) {
|
|
|
11301
11312
|
const reindex = /* @__PURE__ */ Symbol("reindex");
|
|
11302
11313
|
function valueof(data, value, type) {
|
|
11303
11314
|
const valueType = typeof value;
|
|
11304
|
-
return valueType === "string" ? isArrowTable(data) ? maybeTypedArrowify(data.getChild(value), type) : maybeTypedMap(data, field(value), type) : valueType === "function" ? maybeTypedMap(data, value, type) : valueType === "number" || value instanceof Date || valueType === "boolean" ? map(data, constant(value), type) : typeof value?.transform === "function" ? maybeTypedArrayify(value.transform(data), type) : maybeTake(maybeTypedArrayify(value, type), data?.[reindex]);
|
|
11315
|
+
return valueType === "string" ? isArrowTable(data) ? maybeTypedArrowify(data.getChild(value), type) : maybeTypedMap(data, field$1(value), type) : valueType === "function" ? maybeTypedMap(data, value, type) : valueType === "number" || value instanceof Date || valueType === "boolean" ? map(data, constant(value), type) : typeof value?.transform === "function" ? maybeTypedArrayify(value.transform(data), type) : maybeTake(maybeTypedArrayify(value, type), data?.[reindex]);
|
|
11305
11316
|
}
|
|
11306
11317
|
function maybeTake(values2, index2) {
|
|
11307
11318
|
return values2 != null && index2 ? take(values2, index2) : values2;
|
|
@@ -11319,7 +11330,7 @@ function vectorToArray(vector) {
|
|
|
11319
11330
|
return vector.nullCount ? vector.toJSON() : vector.toArray();
|
|
11320
11331
|
}
|
|
11321
11332
|
const singleton = [null];
|
|
11322
|
-
const field = (name) => (d2) => {
|
|
11333
|
+
const field$1 = (name) => (d2) => {
|
|
11323
11334
|
const v2 = d2[name];
|
|
11324
11335
|
return v2 === void 0 && d2.type === "Feature" ? d2.properties?.[name] : v2;
|
|
11325
11336
|
};
|
|
@@ -16288,7 +16299,7 @@ function maybeOrder(order, offset2, ky2) {
|
|
|
16288
16299
|
case "inside-out":
|
|
16289
16300
|
return orderInsideOut(compare);
|
|
16290
16301
|
}
|
|
16291
|
-
return orderAccessor(field(order));
|
|
16302
|
+
return orderAccessor(field$1(order));
|
|
16292
16303
|
}
|
|
16293
16304
|
if (typeof order === "function") return (order.length === 1 ? orderAccessor : orderComparator)(order);
|
|
16294
16305
|
if (isArray(order)) return orderGiven(order);
|
|
@@ -19107,16 +19118,18 @@ const RadarChart = ({
|
|
|
19107
19118
|
});
|
|
19108
19119
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ObservablePlot, { options, className, style });
|
|
19109
19120
|
};
|
|
19110
|
-
const input = "
|
|
19111
|
-
const large$3 = "
|
|
19112
|
-
const small$3 = "
|
|
19113
|
-
const disabled$3 = "
|
|
19114
|
-
const primary$4 = "
|
|
19115
|
-
const success$4 = "
|
|
19116
|
-
const warning$4 = "
|
|
19117
|
-
const danger$4 = "
|
|
19118
|
-
const info$4 = "
|
|
19119
|
-
const secondary$4 = "
|
|
19121
|
+
const input = "_input_rojre_7";
|
|
19122
|
+
const large$3 = "_large_rojre_24";
|
|
19123
|
+
const small$3 = "_small_rojre_29";
|
|
19124
|
+
const disabled$3 = "_disabled_rojre_34";
|
|
19125
|
+
const primary$4 = "_primary_rojre_41";
|
|
19126
|
+
const success$4 = "_success_rojre_50";
|
|
19127
|
+
const warning$4 = "_warning_rojre_58";
|
|
19128
|
+
const danger$4 = "_danger_rojre_66";
|
|
19129
|
+
const info$4 = "_info_rojre_74";
|
|
19130
|
+
const secondary$4 = "_secondary_rojre_83";
|
|
19131
|
+
const field = "_field_rojre_92";
|
|
19132
|
+
const label$1 = "_label_rojre_98";
|
|
19120
19133
|
const styles$5 = {
|
|
19121
19134
|
input,
|
|
19122
19135
|
large: large$3,
|
|
@@ -19127,41 +19140,52 @@ const styles$5 = {
|
|
|
19127
19140
|
warning: warning$4,
|
|
19128
19141
|
danger: danger$4,
|
|
19129
19142
|
info: info$4,
|
|
19130
|
-
secondary: secondary$4
|
|
19143
|
+
secondary: secondary$4,
|
|
19144
|
+
field,
|
|
19145
|
+
label: label$1
|
|
19131
19146
|
};
|
|
19132
19147
|
function Input({
|
|
19133
19148
|
variant,
|
|
19134
19149
|
chamfer: chamfer2 = true,
|
|
19135
19150
|
size: size2,
|
|
19136
19151
|
disabled: disabled2,
|
|
19152
|
+
label: label2,
|
|
19137
19153
|
...props
|
|
19138
19154
|
}) {
|
|
19139
|
-
|
|
19140
|
-
|
|
19141
|
-
{
|
|
19142
|
-
|
|
19143
|
-
|
|
19144
|
-
|
|
19145
|
-
|
|
19146
|
-
|
|
19147
|
-
|
|
19148
|
-
|
|
19149
|
-
|
|
19150
|
-
|
|
19151
|
-
|
|
19152
|
-
|
|
19153
|
-
|
|
19154
|
-
|
|
19155
|
-
|
|
19156
|
-
|
|
19157
|
-
|
|
19158
|
-
|
|
19159
|
-
|
|
19160
|
-
|
|
19161
|
-
|
|
19162
|
-
|
|
19163
|
-
|
|
19164
|
-
|
|
19155
|
+
const inputId = useId$1();
|
|
19156
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.field, children: [
|
|
19157
|
+
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$5.label, htmlFor: inputId, children: label2 }),
|
|
19158
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19159
|
+
"div",
|
|
19160
|
+
{
|
|
19161
|
+
className: classNames(
|
|
19162
|
+
chamfer2 && chamferStyles.chamfer,
|
|
19163
|
+
styles$5[variant]
|
|
19164
|
+
),
|
|
19165
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19166
|
+
"input",
|
|
19167
|
+
{
|
|
19168
|
+
id: inputId,
|
|
19169
|
+
className: classNames(
|
|
19170
|
+
styles$5.input,
|
|
19171
|
+
styles$5[variant],
|
|
19172
|
+
size2 === "large" && styles$5.large,
|
|
19173
|
+
size2 === "small" && styles$5.small,
|
|
19174
|
+
disabled2 && chamferStyles.disabled,
|
|
19175
|
+
disabled2 && styles$5.disabled,
|
|
19176
|
+
disabled2 && hatchStyles.hatch
|
|
19177
|
+
),
|
|
19178
|
+
disabled: disabled2,
|
|
19179
|
+
style: {
|
|
19180
|
+
margin: -1,
|
|
19181
|
+
...props.style
|
|
19182
|
+
},
|
|
19183
|
+
...props
|
|
19184
|
+
}
|
|
19185
|
+
)
|
|
19186
|
+
}
|
|
19187
|
+
)
|
|
19188
|
+
] });
|
|
19165
19189
|
}
|
|
19166
19190
|
function createCollection(name) {
|
|
19167
19191
|
const PROVIDER_NAME = name + "CollectionProvider";
|