@jackcrane/ui 0.1.1 → 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.
@@ -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
- ._input_1w96t_7 {
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
- ._input_1w96t_7:hover {
435
+ ._input_rojre_7:hover {
436
436
  --input-bg: var(--secondary-color-100);
437
437
  }
438
- ._input_1w96t_7:focus {
438
+ ._input_rojre_7:focus {
439
439
  outline: none;
440
440
  }
441
- ._large_1w96t_24 {
441
+ ._large_rojre_24 {
442
442
  font-size: 1.25rem;
443
443
  padding: 0.75rem 1.25rem;
444
444
  }
445
- ._small_1w96t_29 {
445
+ ._small_rojre_29 {
446
446
  font-size: 0.75rem;
447
447
  padding: 0.25rem 0.5rem;
448
448
  }
449
- ._disabled_1w96t_34 {
449
+ ._disabled_rojre_34 {
450
450
  opacity: 0.5;
451
451
  cursor: not-allowed;
452
452
  }
453
453
  /* Variants */
454
- ._primary_1w96t_41 {
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
- ._primary_1w96t_41:hover {
459
+ ._primary_rojre_41:hover {
460
460
  --input-bg: var(--primary-color-200);
461
461
  }
462
- ._success_1w96t_50 {
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
- ._success_1w96t_50:hover {
467
+ ._success_rojre_50:hover {
468
468
  --input-bg: var(--success-color-200);
469
469
  }
470
- ._warning_1w96t_58 {
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
- ._warning_1w96t_58:hover {
475
+ ._warning_rojre_58:hover {
476
476
  --input-bg: var(--warning-color-200);
477
477
  }
478
- ._danger_1w96t_66 {
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
- ._danger_1w96t_66:hover {
483
+ ._danger_rojre_66:hover {
484
484
  --input-bg: var(--danger-color-200);
485
485
  }
486
- ._info_1w96t_74 {
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
- ._info_1w96t_74:hover {
491
+ ._info_rojre_74:hover {
492
492
  --input-bg: var(--info-color-200);
493
493
  }
494
- ._secondary_1w96t_83 {
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
- ._secondary_1w96t_83:hover {
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;
@@ -2814,7 +2821,7 @@ const indicator$1 = "_indicator_178xv_76";
2814
2821
  const large$4 = "_large_178xv_94";
2815
2822
  const small$4 = "_small_178xv_99";
2816
2823
  const disabledBox = "_disabledBox_178xv_104";
2817
- const label$1 = "_label_178xv_109";
2824
+ const label$2 = "_label_178xv_109";
2818
2825
  const primary$5 = "_primary_178xv_117";
2819
2826
  const secondary$5 = "_secondary_178xv_126";
2820
2827
  const success$5 = "_success_178xv_135";
@@ -2829,7 +2836,7 @@ const styles$7 = {
2829
2836
  large: large$4,
2830
2837
  small: small$4,
2831
2838
  disabledBox,
2832
- label: label$1,
2839
+ label: label$2,
2833
2840
  primary: primary$5,
2834
2841
  secondary: secondary$5,
2835
2842
  success: success$5,
@@ -11319,7 +11326,7 @@ function isBigIntType(type) {
11319
11326
  const reindex = /* @__PURE__ */ Symbol("reindex");
11320
11327
  function valueof(data, value, type) {
11321
11328
  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]);
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]);
11323
11330
  }
11324
11331
  function maybeTake(values2, index2) {
11325
11332
  return values2 != null && index2 ? take(values2, index2) : values2;
@@ -11337,7 +11344,7 @@ function vectorToArray(vector) {
11337
11344
  return vector.nullCount ? vector.toJSON() : vector.toArray();
11338
11345
  }
11339
11346
  const singleton = [null];
11340
- const field = (name) => (d2) => {
11347
+ const field$1 = (name) => (d2) => {
11341
11348
  const v2 = d2[name];
11342
11349
  return v2 === void 0 && d2.type === "Feature" ? d2.properties?.[name] : v2;
11343
11350
  };
@@ -16306,7 +16313,7 @@ function maybeOrder(order, offset2, ky2) {
16306
16313
  case "inside-out":
16307
16314
  return orderInsideOut(compare);
16308
16315
  }
16309
- return orderAccessor(field(order));
16316
+ return orderAccessor(field$1(order));
16310
16317
  }
16311
16318
  if (typeof order === "function") return (order.length === 1 ? orderAccessor : orderComparator)(order);
16312
16319
  if (isArray(order)) return orderGiven(order);
@@ -19125,16 +19132,18 @@ const RadarChart = ({
19125
19132
  });
19126
19133
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ObservablePlot, { options, className, style });
19127
19134
  };
19128
- const input = "_input_1w96t_7";
19129
- const large$3 = "_large_1w96t_24";
19130
- const small$3 = "_small_1w96t_29";
19131
- const disabled$3 = "_disabled_1w96t_34";
19132
- const primary$4 = "_primary_1w96t_41";
19133
- const success$4 = "_success_1w96t_50";
19134
- const warning$4 = "_warning_1w96t_58";
19135
- const danger$4 = "_danger_1w96t_66";
19136
- const info$4 = "_info_1w96t_74";
19137
- const secondary$4 = "_secondary_1w96t_83";
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";
19138
19147
  const styles$5 = {
19139
19148
  input,
19140
19149
  large: large$3,
@@ -19145,41 +19154,52 @@ const styles$5 = {
19145
19154
  warning: warning$4,
19146
19155
  danger: danger$4,
19147
19156
  info: info$4,
19148
- secondary: secondary$4
19157
+ secondary: secondary$4,
19158
+ field,
19159
+ label: label$1
19149
19160
  };
19150
19161
  function Input({
19151
19162
  variant,
19152
19163
  chamfer: chamfer2 = true,
19153
19164
  size: size2,
19154
19165
  disabled: disabled2,
19166
+ label: label2,
19155
19167
  ...props
19156
19168
  }) {
19157
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
19158
- "div",
19159
- {
19160
- className: classNames(chamfer2 && chamferStyles.chamfer, styles$5[variant]),
19161
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
19162
- "input",
19163
- {
19164
- className: classNames(
19165
- styles$5.input,
19166
- styles$5[variant],
19167
- size2 === "large" && styles$5.large,
19168
- size2 === "small" && styles$5.small,
19169
- disabled2 && chamferStyles.disabled,
19170
- disabled2 && styles$5.disabled,
19171
- disabled2 && hatchStyles.hatch
19172
- ),
19173
- disabled: disabled2,
19174
- style: {
19175
- margin: -1,
19176
- ...props.style
19177
- },
19178
- ...props
19179
- }
19180
- )
19181
- }
19182
- );
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
+ ] });
19183
19203
  }
19184
19204
  function createCollection(name) {
19185
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
- ._input_1w96t_7 {
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
- ._input_1w96t_7:hover {
435
+ ._input_rojre_7:hover {
436
436
  --input-bg: var(--secondary-color-100);
437
437
  }
438
- ._input_1w96t_7:focus {
438
+ ._input_rojre_7:focus {
439
439
  outline: none;
440
440
  }
441
- ._large_1w96t_24 {
441
+ ._large_rojre_24 {
442
442
  font-size: 1.25rem;
443
443
  padding: 0.75rem 1.25rem;
444
444
  }
445
- ._small_1w96t_29 {
445
+ ._small_rojre_29 {
446
446
  font-size: 0.75rem;
447
447
  padding: 0.25rem 0.5rem;
448
448
  }
449
- ._disabled_1w96t_34 {
449
+ ._disabled_rojre_34 {
450
450
  opacity: 0.5;
451
451
  cursor: not-allowed;
452
452
  }
453
453
  /* Variants */
454
- ._primary_1w96t_41 {
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
- ._primary_1w96t_41:hover {
459
+ ._primary_rojre_41:hover {
460
460
  --input-bg: var(--primary-color-200);
461
461
  }
462
- ._success_1w96t_50 {
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
- ._success_1w96t_50:hover {
467
+ ._success_rojre_50:hover {
468
468
  --input-bg: var(--success-color-200);
469
469
  }
470
- ._warning_1w96t_58 {
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
- ._warning_1w96t_58:hover {
475
+ ._warning_rojre_58:hover {
476
476
  --input-bg: var(--warning-color-200);
477
477
  }
478
- ._danger_1w96t_66 {
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
- ._danger_1w96t_66:hover {
483
+ ._danger_rojre_66:hover {
484
484
  --input-bg: var(--danger-color-200);
485
485
  }
486
- ._info_1w96t_74 {
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
- ._info_1w96t_74:hover {
491
+ ._info_rojre_74:hover {
492
492
  --input-bg: var(--info-color-200);
493
493
  }
494
- ._secondary_1w96t_83 {
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
- ._secondary_1w96t_83:hover {
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) {
@@ -2796,7 +2803,7 @@ const indicator$1 = "_indicator_178xv_76";
2796
2803
  const large$4 = "_large_178xv_94";
2797
2804
  const small$4 = "_small_178xv_99";
2798
2805
  const disabledBox = "_disabledBox_178xv_104";
2799
- const label$1 = "_label_178xv_109";
2806
+ const label$2 = "_label_178xv_109";
2800
2807
  const primary$5 = "_primary_178xv_117";
2801
2808
  const secondary$5 = "_secondary_178xv_126";
2802
2809
  const success$5 = "_success_178xv_135";
@@ -2811,7 +2818,7 @@ const styles$7 = {
2811
2818
  large: large$4,
2812
2819
  small: small$4,
2813
2820
  disabledBox,
2814
- label: label$1,
2821
+ label: label$2,
2815
2822
  primary: primary$5,
2816
2823
  secondary: secondary$5,
2817
2824
  success: success$5,
@@ -11301,7 +11308,7 @@ function isBigIntType(type) {
11301
11308
  const reindex = /* @__PURE__ */ Symbol("reindex");
11302
11309
  function valueof(data, value, type) {
11303
11310
  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]);
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]);
11305
11312
  }
11306
11313
  function maybeTake(values2, index2) {
11307
11314
  return values2 != null && index2 ? take(values2, index2) : values2;
@@ -11319,7 +11326,7 @@ function vectorToArray(vector) {
11319
11326
  return vector.nullCount ? vector.toJSON() : vector.toArray();
11320
11327
  }
11321
11328
  const singleton = [null];
11322
- const field = (name) => (d2) => {
11329
+ const field$1 = (name) => (d2) => {
11323
11330
  const v2 = d2[name];
11324
11331
  return v2 === void 0 && d2.type === "Feature" ? d2.properties?.[name] : v2;
11325
11332
  };
@@ -16288,7 +16295,7 @@ function maybeOrder(order, offset2, ky2) {
16288
16295
  case "inside-out":
16289
16296
  return orderInsideOut(compare);
16290
16297
  }
16291
- return orderAccessor(field(order));
16298
+ return orderAccessor(field$1(order));
16292
16299
  }
16293
16300
  if (typeof order === "function") return (order.length === 1 ? orderAccessor : orderComparator)(order);
16294
16301
  if (isArray(order)) return orderGiven(order);
@@ -19107,16 +19114,18 @@ const RadarChart = ({
19107
19114
  });
19108
19115
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ObservablePlot, { options, className, style });
19109
19116
  };
19110
- const input = "_input_1w96t_7";
19111
- const large$3 = "_large_1w96t_24";
19112
- const small$3 = "_small_1w96t_29";
19113
- const disabled$3 = "_disabled_1w96t_34";
19114
- const primary$4 = "_primary_1w96t_41";
19115
- const success$4 = "_success_1w96t_50";
19116
- const warning$4 = "_warning_1w96t_58";
19117
- const danger$4 = "_danger_1w96t_66";
19118
- const info$4 = "_info_1w96t_74";
19119
- const secondary$4 = "_secondary_1w96t_83";
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";
19120
19129
  const styles$5 = {
19121
19130
  input,
19122
19131
  large: large$3,
@@ -19127,41 +19136,52 @@ const styles$5 = {
19127
19136
  warning: warning$4,
19128
19137
  danger: danger$4,
19129
19138
  info: info$4,
19130
- secondary: secondary$4
19139
+ secondary: secondary$4,
19140
+ field,
19141
+ label: label$1
19131
19142
  };
19132
19143
  function Input({
19133
19144
  variant,
19134
19145
  chamfer: chamfer2 = true,
19135
19146
  size: size2,
19136
19147
  disabled: disabled2,
19148
+ label: label2,
19137
19149
  ...props
19138
19150
  }) {
19139
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
19140
- "div",
19141
- {
19142
- className: classNames(chamfer2 && chamferStyles.chamfer, styles$5[variant]),
19143
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
19144
- "input",
19145
- {
19146
- className: classNames(
19147
- styles$5.input,
19148
- styles$5[variant],
19149
- size2 === "large" && styles$5.large,
19150
- size2 === "small" && styles$5.small,
19151
- disabled2 && chamferStyles.disabled,
19152
- disabled2 && styles$5.disabled,
19153
- disabled2 && hatchStyles.hatch
19154
- ),
19155
- disabled: disabled2,
19156
- style: {
19157
- margin: -1,
19158
- ...props.style
19159
- },
19160
- ...props
19161
- }
19162
- )
19163
- }
19164
- );
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
+ ] });
19165
19185
  }
19166
19186
  function createCollection(name) {
19167
19187
  const PROVIDER_NAME = name + "CollectionProvider";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackcrane/ui",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "main": "dist/jcui.cjs.js",