@jackcrane/ui 0.1.0 → 0.1.2
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/Input/Input.d.ts +2 -1
- package/dist/jcui.cjs.js +81 -60
- package/dist/jcui.es.js +82 -61
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -430,74 +430,82 @@ div._chamfer_1o5rm_1:not(._disabled_1o5rm_15):focus-within {
|
|
|
430
430
|
background-color: var(--input-bg, transparent);
|
|
431
431
|
color: var(--input-color, inherit);
|
|
432
432
|
border-color: var(--border-color);
|
|
433
|
+
width: calc(100% + var(--border-thickness));
|
|
433
434
|
}
|
|
434
|
-
.
|
|
435
|
+
._input_rojre_7:hover {
|
|
435
436
|
--input-bg: var(--secondary-color-100);
|
|
436
437
|
}
|
|
437
|
-
.
|
|
438
|
+
._input_rojre_7:focus {
|
|
438
439
|
outline: none;
|
|
439
440
|
}
|
|
440
|
-
.
|
|
441
|
+
._large_rojre_24 {
|
|
441
442
|
font-size: 1.25rem;
|
|
442
443
|
padding: 0.75rem 1.25rem;
|
|
443
444
|
}
|
|
444
|
-
.
|
|
445
|
+
._small_rojre_29 {
|
|
445
446
|
font-size: 0.75rem;
|
|
446
447
|
padding: 0.25rem 0.5rem;
|
|
447
448
|
}
|
|
448
|
-
.
|
|
449
|
+
._disabled_rojre_34 {
|
|
449
450
|
opacity: 0.5;
|
|
450
451
|
cursor: not-allowed;
|
|
451
452
|
}
|
|
452
453
|
/* Variants */
|
|
453
|
-
.
|
|
454
|
+
._primary_rojre_41 {
|
|
454
455
|
--input-bg: var(--primary-color-100);
|
|
455
456
|
--border-color: var(--primary-color-300);
|
|
456
457
|
--border-accent-color: var(--primary-color-600);
|
|
457
458
|
}
|
|
458
|
-
.
|
|
459
|
+
._primary_rojre_41:hover {
|
|
459
460
|
--input-bg: var(--primary-color-200);
|
|
460
461
|
}
|
|
461
|
-
.
|
|
462
|
+
._success_rojre_50 {
|
|
462
463
|
--input-bg: var(--success-color-100);
|
|
463
464
|
--border-color: var(--success-color-300);
|
|
464
465
|
--border-accent-color: var(--success-color-600);
|
|
465
466
|
}
|
|
466
|
-
.
|
|
467
|
+
._success_rojre_50:hover {
|
|
467
468
|
--input-bg: var(--success-color-200);
|
|
468
469
|
}
|
|
469
|
-
.
|
|
470
|
+
._warning_rojre_58 {
|
|
470
471
|
--input-bg: var(--warning-color-100);
|
|
471
472
|
--border-color: var(--warning-color-300);
|
|
472
473
|
--border-accent-color: var(--warning-color-600);
|
|
473
474
|
}
|
|
474
|
-
.
|
|
475
|
+
._warning_rojre_58:hover {
|
|
475
476
|
--input-bg: var(--warning-color-200);
|
|
476
477
|
}
|
|
477
|
-
.
|
|
478
|
+
._danger_rojre_66 {
|
|
478
479
|
--input-bg: var(--danger-color-100);
|
|
479
480
|
--border-color: var(--danger-color-300);
|
|
480
481
|
--border-accent-color: var(--danger-color-600);
|
|
481
482
|
}
|
|
482
|
-
.
|
|
483
|
+
._danger_rojre_66:hover {
|
|
483
484
|
--input-bg: var(--danger-color-200);
|
|
484
485
|
}
|
|
485
|
-
.
|
|
486
|
+
._info_rojre_74 {
|
|
486
487
|
--input-bg: var(--info-color-100);
|
|
487
488
|
--border-color: var(--info-color-300);
|
|
488
489
|
--border-accent-color: var(--info-color-600);
|
|
489
490
|
}
|
|
490
|
-
.
|
|
491
|
+
._info_rojre_74:hover {
|
|
491
492
|
--input-bg: var(--info-color-200);
|
|
492
493
|
}
|
|
493
|
-
.
|
|
494
|
+
._secondary_rojre_83 {
|
|
494
495
|
--input-bg: var(--secondary-color-100);
|
|
495
496
|
--border-color: var(--secondary-color-300);
|
|
496
497
|
--border-accent-color: var(--secondary-color-600);
|
|
497
498
|
}
|
|
498
|
-
.
|
|
499
|
+
._secondary_rojre_83:hover {
|
|
499
500
|
--input-bg: var(--secondary-color-200);
|
|
500
501
|
}
|
|
502
|
+
._field_rojre_92 {
|
|
503
|
+
display: flex;
|
|
504
|
+
flex-direction: column;
|
|
505
|
+
gap: 0.5rem;
|
|
506
|
+
}
|
|
507
|
+
._label_rojre_98 {
|
|
508
|
+
}
|
|
501
509
|
@property --radio-hover-bg {
|
|
502
510
|
syntax: "<color>";
|
|
503
511
|
inherits: true;
|
|
@@ -2813,7 +2821,7 @@ const indicator$1 = "_indicator_178xv_76";
|
|
|
2813
2821
|
const large$4 = "_large_178xv_94";
|
|
2814
2822
|
const small$4 = "_small_178xv_99";
|
|
2815
2823
|
const disabledBox = "_disabledBox_178xv_104";
|
|
2816
|
-
const label$
|
|
2824
|
+
const label$2 = "_label_178xv_109";
|
|
2817
2825
|
const primary$5 = "_primary_178xv_117";
|
|
2818
2826
|
const secondary$5 = "_secondary_178xv_126";
|
|
2819
2827
|
const success$5 = "_success_178xv_135";
|
|
@@ -2828,7 +2836,7 @@ const styles$7 = {
|
|
|
2828
2836
|
large: large$4,
|
|
2829
2837
|
small: small$4,
|
|
2830
2838
|
disabledBox,
|
|
2831
|
-
label: label$
|
|
2839
|
+
label: label$2,
|
|
2832
2840
|
primary: primary$5,
|
|
2833
2841
|
secondary: secondary$5,
|
|
2834
2842
|
success: success$5,
|
|
@@ -11318,7 +11326,7 @@ function isBigIntType(type) {
|
|
|
11318
11326
|
const reindex = /* @__PURE__ */ Symbol("reindex");
|
|
11319
11327
|
function valueof(data, value, type) {
|
|
11320
11328
|
const valueType = typeof value;
|
|
11321
|
-
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]);
|
|
11329
|
+
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]);
|
|
11322
11330
|
}
|
|
11323
11331
|
function maybeTake(values2, index2) {
|
|
11324
11332
|
return values2 != null && index2 ? take(values2, index2) : values2;
|
|
@@ -11336,7 +11344,7 @@ function vectorToArray(vector) {
|
|
|
11336
11344
|
return vector.nullCount ? vector.toJSON() : vector.toArray();
|
|
11337
11345
|
}
|
|
11338
11346
|
const singleton = [null];
|
|
11339
|
-
const field = (name) => (d2) => {
|
|
11347
|
+
const field$1 = (name) => (d2) => {
|
|
11340
11348
|
const v2 = d2[name];
|
|
11341
11349
|
return v2 === void 0 && d2.type === "Feature" ? d2.properties?.[name] : v2;
|
|
11342
11350
|
};
|
|
@@ -16305,7 +16313,7 @@ function maybeOrder(order, offset2, ky2) {
|
|
|
16305
16313
|
case "inside-out":
|
|
16306
16314
|
return orderInsideOut(compare);
|
|
16307
16315
|
}
|
|
16308
|
-
return orderAccessor(field(order));
|
|
16316
|
+
return orderAccessor(field$1(order));
|
|
16309
16317
|
}
|
|
16310
16318
|
if (typeof order === "function") return (order.length === 1 ? orderAccessor : orderComparator)(order);
|
|
16311
16319
|
if (isArray(order)) return orderGiven(order);
|
|
@@ -19124,16 +19132,18 @@ const RadarChart = ({
|
|
|
19124
19132
|
});
|
|
19125
19133
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ObservablePlot, { options, className, style });
|
|
19126
19134
|
};
|
|
19127
|
-
const input = "
|
|
19128
|
-
const large$3 = "
|
|
19129
|
-
const small$3 = "
|
|
19130
|
-
const disabled$3 = "
|
|
19131
|
-
const primary$4 = "
|
|
19132
|
-
const success$4 = "
|
|
19133
|
-
const warning$4 = "
|
|
19134
|
-
const danger$4 = "
|
|
19135
|
-
const info$4 = "
|
|
19136
|
-
const secondary$4 = "
|
|
19135
|
+
const input = "_input_rojre_7";
|
|
19136
|
+
const large$3 = "_large_rojre_24";
|
|
19137
|
+
const small$3 = "_small_rojre_29";
|
|
19138
|
+
const disabled$3 = "_disabled_rojre_34";
|
|
19139
|
+
const primary$4 = "_primary_rojre_41";
|
|
19140
|
+
const success$4 = "_success_rojre_50";
|
|
19141
|
+
const warning$4 = "_warning_rojre_58";
|
|
19142
|
+
const danger$4 = "_danger_rojre_66";
|
|
19143
|
+
const info$4 = "_info_rojre_74";
|
|
19144
|
+
const secondary$4 = "_secondary_rojre_83";
|
|
19145
|
+
const field = "_field_rojre_92";
|
|
19146
|
+
const label$1 = "_label_rojre_98";
|
|
19137
19147
|
const styles$5 = {
|
|
19138
19148
|
input,
|
|
19139
19149
|
large: large$3,
|
|
@@ -19144,41 +19154,52 @@ const styles$5 = {
|
|
|
19144
19154
|
warning: warning$4,
|
|
19145
19155
|
danger: danger$4,
|
|
19146
19156
|
info: info$4,
|
|
19147
|
-
secondary: secondary$4
|
|
19157
|
+
secondary: secondary$4,
|
|
19158
|
+
field,
|
|
19159
|
+
label: label$1
|
|
19148
19160
|
};
|
|
19149
19161
|
function Input({
|
|
19150
19162
|
variant,
|
|
19151
19163
|
chamfer: chamfer2 = true,
|
|
19152
19164
|
size: size2,
|
|
19153
19165
|
disabled: disabled2,
|
|
19166
|
+
label: label2,
|
|
19154
19167
|
...props
|
|
19155
19168
|
}) {
|
|
19156
|
-
|
|
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
|
-
|
|
19169
|
+
const inputId = React.useId();
|
|
19170
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.field, children: [
|
|
19171
|
+
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$5.label, htmlFor: inputId, children: label2 }),
|
|
19172
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19173
|
+
"div",
|
|
19174
|
+
{
|
|
19175
|
+
className: classNames(
|
|
19176
|
+
chamfer2 && chamferStyles.chamfer,
|
|
19177
|
+
styles$5[variant]
|
|
19178
|
+
),
|
|
19179
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19180
|
+
"input",
|
|
19181
|
+
{
|
|
19182
|
+
id: inputId,
|
|
19183
|
+
className: classNames(
|
|
19184
|
+
styles$5.input,
|
|
19185
|
+
styles$5[variant],
|
|
19186
|
+
size2 === "large" && styles$5.large,
|
|
19187
|
+
size2 === "small" && styles$5.small,
|
|
19188
|
+
disabled2 && chamferStyles.disabled,
|
|
19189
|
+
disabled2 && styles$5.disabled,
|
|
19190
|
+
disabled2 && hatchStyles.hatch
|
|
19191
|
+
),
|
|
19192
|
+
disabled: disabled2,
|
|
19193
|
+
style: {
|
|
19194
|
+
margin: -1,
|
|
19195
|
+
...props.style
|
|
19196
|
+
},
|
|
19197
|
+
...props
|
|
19198
|
+
}
|
|
19199
|
+
)
|
|
19200
|
+
}
|
|
19201
|
+
)
|
|
19202
|
+
] });
|
|
19182
19203
|
}
|
|
19183
19204
|
function createCollection(name) {
|
|
19184
19205
|
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;
|
|
@@ -430,74 +430,82 @@ div._chamfer_1o5rm_1:not(._disabled_1o5rm_15):focus-within {
|
|
|
430
430
|
background-color: var(--input-bg, transparent);
|
|
431
431
|
color: var(--input-color, inherit);
|
|
432
432
|
border-color: var(--border-color);
|
|
433
|
+
width: calc(100% + var(--border-thickness));
|
|
433
434
|
}
|
|
434
|
-
.
|
|
435
|
+
._input_rojre_7:hover {
|
|
435
436
|
--input-bg: var(--secondary-color-100);
|
|
436
437
|
}
|
|
437
|
-
.
|
|
438
|
+
._input_rojre_7:focus {
|
|
438
439
|
outline: none;
|
|
439
440
|
}
|
|
440
|
-
.
|
|
441
|
+
._large_rojre_24 {
|
|
441
442
|
font-size: 1.25rem;
|
|
442
443
|
padding: 0.75rem 1.25rem;
|
|
443
444
|
}
|
|
444
|
-
.
|
|
445
|
+
._small_rojre_29 {
|
|
445
446
|
font-size: 0.75rem;
|
|
446
447
|
padding: 0.25rem 0.5rem;
|
|
447
448
|
}
|
|
448
|
-
.
|
|
449
|
+
._disabled_rojre_34 {
|
|
449
450
|
opacity: 0.5;
|
|
450
451
|
cursor: not-allowed;
|
|
451
452
|
}
|
|
452
453
|
/* Variants */
|
|
453
|
-
.
|
|
454
|
+
._primary_rojre_41 {
|
|
454
455
|
--input-bg: var(--primary-color-100);
|
|
455
456
|
--border-color: var(--primary-color-300);
|
|
456
457
|
--border-accent-color: var(--primary-color-600);
|
|
457
458
|
}
|
|
458
|
-
.
|
|
459
|
+
._primary_rojre_41:hover {
|
|
459
460
|
--input-bg: var(--primary-color-200);
|
|
460
461
|
}
|
|
461
|
-
.
|
|
462
|
+
._success_rojre_50 {
|
|
462
463
|
--input-bg: var(--success-color-100);
|
|
463
464
|
--border-color: var(--success-color-300);
|
|
464
465
|
--border-accent-color: var(--success-color-600);
|
|
465
466
|
}
|
|
466
|
-
.
|
|
467
|
+
._success_rojre_50:hover {
|
|
467
468
|
--input-bg: var(--success-color-200);
|
|
468
469
|
}
|
|
469
|
-
.
|
|
470
|
+
._warning_rojre_58 {
|
|
470
471
|
--input-bg: var(--warning-color-100);
|
|
471
472
|
--border-color: var(--warning-color-300);
|
|
472
473
|
--border-accent-color: var(--warning-color-600);
|
|
473
474
|
}
|
|
474
|
-
.
|
|
475
|
+
._warning_rojre_58:hover {
|
|
475
476
|
--input-bg: var(--warning-color-200);
|
|
476
477
|
}
|
|
477
|
-
.
|
|
478
|
+
._danger_rojre_66 {
|
|
478
479
|
--input-bg: var(--danger-color-100);
|
|
479
480
|
--border-color: var(--danger-color-300);
|
|
480
481
|
--border-accent-color: var(--danger-color-600);
|
|
481
482
|
}
|
|
482
|
-
.
|
|
483
|
+
._danger_rojre_66:hover {
|
|
483
484
|
--input-bg: var(--danger-color-200);
|
|
484
485
|
}
|
|
485
|
-
.
|
|
486
|
+
._info_rojre_74 {
|
|
486
487
|
--input-bg: var(--info-color-100);
|
|
487
488
|
--border-color: var(--info-color-300);
|
|
488
489
|
--border-accent-color: var(--info-color-600);
|
|
489
490
|
}
|
|
490
|
-
.
|
|
491
|
+
._info_rojre_74:hover {
|
|
491
492
|
--input-bg: var(--info-color-200);
|
|
492
493
|
}
|
|
493
|
-
.
|
|
494
|
+
._secondary_rojre_83 {
|
|
494
495
|
--input-bg: var(--secondary-color-100);
|
|
495
496
|
--border-color: var(--secondary-color-300);
|
|
496
497
|
--border-accent-color: var(--secondary-color-600);
|
|
497
498
|
}
|
|
498
|
-
.
|
|
499
|
+
._secondary_rojre_83:hover {
|
|
499
500
|
--input-bg: var(--secondary-color-200);
|
|
500
501
|
}
|
|
502
|
+
._field_rojre_92 {
|
|
503
|
+
display: flex;
|
|
504
|
+
flex-direction: column;
|
|
505
|
+
gap: 0.5rem;
|
|
506
|
+
}
|
|
507
|
+
._label_rojre_98 {
|
|
508
|
+
}
|
|
501
509
|
@property --radio-hover-bg {
|
|
502
510
|
syntax: "<color>";
|
|
503
511
|
inherits: true;
|
|
@@ -1516,7 +1524,7 @@ hr {
|
|
|
1516
1524
|
width: 100%;
|
|
1517
1525
|
}`)),document.head.appendChild(r)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();
|
|
1518
1526
|
import * as React from "react";
|
|
1519
|
-
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";
|
|
1520
1528
|
import * as ReactDOM from "react-dom";
|
|
1521
1529
|
import ReactDOM__default from "react-dom";
|
|
1522
1530
|
function getDefaultExportFromCjs(x2) {
|
|
@@ -2795,7 +2803,7 @@ const indicator$1 = "_indicator_178xv_76";
|
|
|
2795
2803
|
const large$4 = "_large_178xv_94";
|
|
2796
2804
|
const small$4 = "_small_178xv_99";
|
|
2797
2805
|
const disabledBox = "_disabledBox_178xv_104";
|
|
2798
|
-
const label$
|
|
2806
|
+
const label$2 = "_label_178xv_109";
|
|
2799
2807
|
const primary$5 = "_primary_178xv_117";
|
|
2800
2808
|
const secondary$5 = "_secondary_178xv_126";
|
|
2801
2809
|
const success$5 = "_success_178xv_135";
|
|
@@ -2810,7 +2818,7 @@ const styles$7 = {
|
|
|
2810
2818
|
large: large$4,
|
|
2811
2819
|
small: small$4,
|
|
2812
2820
|
disabledBox,
|
|
2813
|
-
label: label$
|
|
2821
|
+
label: label$2,
|
|
2814
2822
|
primary: primary$5,
|
|
2815
2823
|
secondary: secondary$5,
|
|
2816
2824
|
success: success$5,
|
|
@@ -11300,7 +11308,7 @@ function isBigIntType(type) {
|
|
|
11300
11308
|
const reindex = /* @__PURE__ */ Symbol("reindex");
|
|
11301
11309
|
function valueof(data, value, type) {
|
|
11302
11310
|
const valueType = typeof value;
|
|
11303
|
-
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]);
|
|
11311
|
+
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]);
|
|
11304
11312
|
}
|
|
11305
11313
|
function maybeTake(values2, index2) {
|
|
11306
11314
|
return values2 != null && index2 ? take(values2, index2) : values2;
|
|
@@ -11318,7 +11326,7 @@ function vectorToArray(vector) {
|
|
|
11318
11326
|
return vector.nullCount ? vector.toJSON() : vector.toArray();
|
|
11319
11327
|
}
|
|
11320
11328
|
const singleton = [null];
|
|
11321
|
-
const field = (name) => (d2) => {
|
|
11329
|
+
const field$1 = (name) => (d2) => {
|
|
11322
11330
|
const v2 = d2[name];
|
|
11323
11331
|
return v2 === void 0 && d2.type === "Feature" ? d2.properties?.[name] : v2;
|
|
11324
11332
|
};
|
|
@@ -16287,7 +16295,7 @@ function maybeOrder(order, offset2, ky2) {
|
|
|
16287
16295
|
case "inside-out":
|
|
16288
16296
|
return orderInsideOut(compare);
|
|
16289
16297
|
}
|
|
16290
|
-
return orderAccessor(field(order));
|
|
16298
|
+
return orderAccessor(field$1(order));
|
|
16291
16299
|
}
|
|
16292
16300
|
if (typeof order === "function") return (order.length === 1 ? orderAccessor : orderComparator)(order);
|
|
16293
16301
|
if (isArray(order)) return orderGiven(order);
|
|
@@ -19106,16 +19114,18 @@ const RadarChart = ({
|
|
|
19106
19114
|
});
|
|
19107
19115
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ObservablePlot, { options, className, style });
|
|
19108
19116
|
};
|
|
19109
|
-
const input = "
|
|
19110
|
-
const large$3 = "
|
|
19111
|
-
const small$3 = "
|
|
19112
|
-
const disabled$3 = "
|
|
19113
|
-
const primary$4 = "
|
|
19114
|
-
const success$4 = "
|
|
19115
|
-
const warning$4 = "
|
|
19116
|
-
const danger$4 = "
|
|
19117
|
-
const info$4 = "
|
|
19118
|
-
const secondary$4 = "
|
|
19117
|
+
const input = "_input_rojre_7";
|
|
19118
|
+
const large$3 = "_large_rojre_24";
|
|
19119
|
+
const small$3 = "_small_rojre_29";
|
|
19120
|
+
const disabled$3 = "_disabled_rojre_34";
|
|
19121
|
+
const primary$4 = "_primary_rojre_41";
|
|
19122
|
+
const success$4 = "_success_rojre_50";
|
|
19123
|
+
const warning$4 = "_warning_rojre_58";
|
|
19124
|
+
const danger$4 = "_danger_rojre_66";
|
|
19125
|
+
const info$4 = "_info_rojre_74";
|
|
19126
|
+
const secondary$4 = "_secondary_rojre_83";
|
|
19127
|
+
const field = "_field_rojre_92";
|
|
19128
|
+
const label$1 = "_label_rojre_98";
|
|
19119
19129
|
const styles$5 = {
|
|
19120
19130
|
input,
|
|
19121
19131
|
large: large$3,
|
|
@@ -19126,41 +19136,52 @@ const styles$5 = {
|
|
|
19126
19136
|
warning: warning$4,
|
|
19127
19137
|
danger: danger$4,
|
|
19128
19138
|
info: info$4,
|
|
19129
|
-
secondary: secondary$4
|
|
19139
|
+
secondary: secondary$4,
|
|
19140
|
+
field,
|
|
19141
|
+
label: label$1
|
|
19130
19142
|
};
|
|
19131
19143
|
function Input({
|
|
19132
19144
|
variant,
|
|
19133
19145
|
chamfer: chamfer2 = true,
|
|
19134
19146
|
size: size2,
|
|
19135
19147
|
disabled: disabled2,
|
|
19148
|
+
label: label2,
|
|
19136
19149
|
...props
|
|
19137
19150
|
}) {
|
|
19138
|
-
|
|
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
|
-
|
|
19151
|
+
const inputId = useId$1();
|
|
19152
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$5.field, children: [
|
|
19153
|
+
label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$5.label, htmlFor: inputId, children: label2 }),
|
|
19154
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19155
|
+
"div",
|
|
19156
|
+
{
|
|
19157
|
+
className: classNames(
|
|
19158
|
+
chamfer2 && chamferStyles.chamfer,
|
|
19159
|
+
styles$5[variant]
|
|
19160
|
+
),
|
|
19161
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
19162
|
+
"input",
|
|
19163
|
+
{
|
|
19164
|
+
id: inputId,
|
|
19165
|
+
className: classNames(
|
|
19166
|
+
styles$5.input,
|
|
19167
|
+
styles$5[variant],
|
|
19168
|
+
size2 === "large" && styles$5.large,
|
|
19169
|
+
size2 === "small" && styles$5.small,
|
|
19170
|
+
disabled2 && chamferStyles.disabled,
|
|
19171
|
+
disabled2 && styles$5.disabled,
|
|
19172
|
+
disabled2 && hatchStyles.hatch
|
|
19173
|
+
),
|
|
19174
|
+
disabled: disabled2,
|
|
19175
|
+
style: {
|
|
19176
|
+
margin: -1,
|
|
19177
|
+
...props.style
|
|
19178
|
+
},
|
|
19179
|
+
...props
|
|
19180
|
+
}
|
|
19181
|
+
)
|
|
19182
|
+
}
|
|
19183
|
+
)
|
|
19184
|
+
] });
|
|
19164
19185
|
}
|
|
19165
19186
|
function createCollection(name) {
|
|
19166
19187
|
const PROVIDER_NAME = name + "CollectionProvider";
|