@jackcrane/ui 0.1.14 → 0.1.15

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/jcui.es.js CHANGED
@@ -1097,6 +1097,185 @@ div.jcui_chamfer:not(.jcui_disabled):focus-within {
1097
1097
  ._secondary_1u214_129:hover {
1098
1098
  --select-bg: var(--secondary-color-200);
1099
1099
  }
1100
+ @property --segment-bg {
1101
+ syntax: "<color>";
1102
+ inherits: true;
1103
+ initial-value: transparent;
1104
+ }
1105
+ @property --segment-item-hover-bg {
1106
+ syntax: "<color>";
1107
+ inherits: true;
1108
+ initial-value: transparent;
1109
+ }
1110
+ @property --segment-item-active-bg {
1111
+ syntax: "<color>";
1112
+ inherits: true;
1113
+ initial-value: transparent;
1114
+ }
1115
+ @property --segment-item-color {
1116
+ syntax: "<color>";
1117
+ inherits: true;
1118
+ initial-value: inherit;
1119
+ }
1120
+ @property --segment-item-active-color {
1121
+ syntax: "<color>";
1122
+ inherits: true;
1123
+ initial-value: inherit;
1124
+ }
1125
+ ._root_1dix2_31 {
1126
+ --segment-bg: var(--body-bg);
1127
+ --segment-item-hover-bg: var(--secondary-color-100);
1128
+ --segment-item-active-bg: var(--secondary-color-300);
1129
+ --segment-item-color: var(--body-color);
1130
+ --segment-item-active-color: var(--body-color);
1131
+ --button-bg: var(--segment-bg);
1132
+ display: inline-flex;
1133
+ align-items: stretch;
1134
+ justify-content: flex-start;
1135
+ background-color: var(--segment-bg);
1136
+ color: var(--segment-item-color);
1137
+ }
1138
+ ._item_1dix2_46 {
1139
+ all: unset;
1140
+ box-sizing: border-box;
1141
+ position: relative;
1142
+ display: inline-flex;
1143
+ align-items: center;
1144
+ justify-content: center;
1145
+ font-size: 1rem;
1146
+ line-height: 1;
1147
+ padding: 0.5rem 1rem;
1148
+ color: var(--segment-item-color);
1149
+ cursor: pointer;
1150
+ user-select: none;
1151
+ background-color: transparent;
1152
+ border-top: var(--border-thickness) solid var(--border-color);
1153
+ border-bottom: var(--border-thickness) solid var(--border-color);
1154
+ border-left: var(--border-thickness) solid var(--border-color);
1155
+ margin-right: calc(-1 * var(--border-thickness));
1156
+ }
1157
+ ._item_1dix2_46:last-child {
1158
+ border-right: var(--border-thickness) solid var(--border-color);
1159
+ margin-right: 0;
1160
+ }
1161
+ ._item_1dix2_46:hover {
1162
+ background-color: var(--segment-item-hover-bg);
1163
+ }
1164
+ ._item_1dix2_46:focus-visible {
1165
+ outline: none;
1166
+ box-shadow: inset 0 0 0 1px var(--border-accent-color);
1167
+ }
1168
+ ._item_1dix2_46[data-state="on"] {
1169
+ background-color: var(--segment-item-active-bg);
1170
+ color: var(--segment-item-active-color);
1171
+ z-index: 1;
1172
+ }
1173
+ ._chamferEnabled_1dix2_86 ._item_1dix2_46[data-state="on"]::after {
1174
+ content: "";
1175
+ position: absolute;
1176
+ top: calc(-1 * var(--border-thickness));
1177
+ right: 0;
1178
+ bottom: calc(-1 * var(--border-thickness));
1179
+ left: calc(-1 * var(--border-thickness));
1180
+ pointer-events: none;
1181
+ --bt: var(--border-thickness);
1182
+ --cd: var(--chamfer-distance);
1183
+ --chamfer-color: var(--border-accent-color);
1184
+ background:
1185
+ linear-gradient(var(--chamfer-color), var(--chamfer-color)) left top /
1186
+ var(--cd) var(--bt) no-repeat,
1187
+ linear-gradient(var(--chamfer-color), var(--chamfer-color)) left top /
1188
+ var(--bt) var(--cd) no-repeat,
1189
+ linear-gradient(var(--chamfer-color), var(--chamfer-color)) right top /
1190
+ var(--cd) var(--bt) no-repeat,
1191
+ linear-gradient(var(--chamfer-color), var(--chamfer-color)) right top /
1192
+ var(--bt) var(--cd) no-repeat,
1193
+ linear-gradient(var(--chamfer-color), var(--chamfer-color)) right bottom /
1194
+ var(--cd) var(--bt) no-repeat,
1195
+ linear-gradient(var(--chamfer-color), var(--chamfer-color)) right bottom /
1196
+ var(--bt) var(--cd) no-repeat,
1197
+ linear-gradient(var(--chamfer-color), var(--chamfer-color)) left bottom /
1198
+ var(--cd) var(--bt) no-repeat,
1199
+ linear-gradient(var(--chamfer-color), var(--chamfer-color)) left bottom /
1200
+ var(--bt) var(--cd) no-repeat;
1201
+ }
1202
+ ._chamferEnabled_1dix2_86 ._item_1dix2_46[data-state="on"]:last-child::after {
1203
+ right: calc(-1 * var(--border-thickness));
1204
+ }
1205
+ ._item_1dix2_46[data-disabled] {
1206
+ opacity: 0.5;
1207
+ pointer-events: none;
1208
+ }
1209
+ ._large_1dix2_126 ._item_1dix2_46 {
1210
+ font-size: 1.25rem;
1211
+ padding: 0.75rem 1.25rem;
1212
+ }
1213
+ ._small_1dix2_131 ._item_1dix2_46 {
1214
+ font-size: 0.75rem;
1215
+ padding: 0.25rem 0.5rem;
1216
+ }
1217
+ ._disabled_1dix2_136 {
1218
+ opacity: 0.6;
1219
+ cursor: not-allowed;
1220
+ }
1221
+ ._itemDisabled_1dix2_141 {
1222
+ cursor: not-allowed;
1223
+ }
1224
+ /* Variants */
1225
+ ._primary_1dix2_147 {
1226
+ --segment-bg: var(--primary-color-100);
1227
+ --border-color: var(--primary-color-300);
1228
+ --border-accent-color: var(--primary-color-600);
1229
+ --segment-item-hover-bg: var(--primary-color-200);
1230
+ --segment-item-active-bg: var(--primary-color-300);
1231
+ --segment-item-color: var(--primary-color-800);
1232
+ --segment-item-active-color: var(--primary-color-900);
1233
+ }
1234
+ ._secondary_1dix2_157 {
1235
+ --segment-bg: var(--secondary-color-100);
1236
+ --border-color: var(--secondary-color-300);
1237
+ --border-accent-color: var(--secondary-color-600);
1238
+ --segment-item-hover-bg: var(--secondary-color-200);
1239
+ --segment-item-active-bg: var(--secondary-color-300);
1240
+ --segment-item-color: var(--secondary-color-800);
1241
+ --segment-item-active-color: var(--secondary-color-900);
1242
+ }
1243
+ ._success_1dix2_167 {
1244
+ --segment-bg: var(--success-color-100);
1245
+ --border-color: var(--success-color-300);
1246
+ --border-accent-color: var(--success-color-600);
1247
+ --segment-item-hover-bg: var(--success-color-200);
1248
+ --segment-item-active-bg: var(--success-color-300);
1249
+ --segment-item-color: var(--success-color-800);
1250
+ --segment-item-active-color: var(--success-color-900);
1251
+ }
1252
+ ._warning_1dix2_177 {
1253
+ --segment-bg: var(--warning-color-100);
1254
+ --border-color: var(--warning-color-300);
1255
+ --border-accent-color: var(--warning-color-600);
1256
+ --segment-item-hover-bg: var(--warning-color-200);
1257
+ --segment-item-active-bg: var(--warning-color-300);
1258
+ --segment-item-color: var(--warning-color-800);
1259
+ --segment-item-active-color: var(--warning-color-900);
1260
+ }
1261
+ ._danger_1dix2_187 {
1262
+ --segment-bg: var(--danger-color-100);
1263
+ --border-color: var(--danger-color-300);
1264
+ --border-accent-color: var(--danger-color-600);
1265
+ --segment-item-hover-bg: var(--danger-color-200);
1266
+ --segment-item-active-bg: var(--danger-color-300);
1267
+ --segment-item-color: var(--danger-color-800);
1268
+ --segment-item-active-color: var(--danger-color-900);
1269
+ }
1270
+ ._info_1dix2_197 {
1271
+ --segment-bg: var(--info-color-100);
1272
+ --border-color: var(--info-color-300);
1273
+ --border-accent-color: var(--info-color-600);
1274
+ --segment-item-hover-bg: var(--info-color-200);
1275
+ --segment-item-active-bg: var(--info-color-300);
1276
+ --segment-item-color: var(--info-color-800);
1277
+ --segment-item-active-color: var(--info-color-900);
1278
+ }
1100
1279
  @property --dropdown-bg {
1101
1280
  syntax: "<color>";
1102
1281
  inherits: true;
@@ -2232,34 +2411,34 @@ function clsx() {
2232
2411
  }
2233
2412
  const button = "_button_105y0_7";
2234
2413
  const pageBackground$4 = "_pageBackground_105y0_24";
2235
- const large$7 = "_large_105y0_34";
2236
- const small$7 = "_small_105y0_39";
2237
- const disabled$7 = "_disabled_105y0_44";
2238
- const primary$9 = "_primary_105y0_51";
2239
- const success$9 = "_success_105y0_64";
2240
- const warning$9 = "_warning_105y0_77";
2241
- const danger$9 = "_danger_105y0_90";
2242
- const info$9 = "_info_105y0_103";
2243
- const secondary$9 = "_secondary_105y0_116";
2244
- const styles$c = {
2414
+ const large$8 = "_large_105y0_34";
2415
+ const small$8 = "_small_105y0_39";
2416
+ const disabled$8 = "_disabled_105y0_44";
2417
+ const primary$a = "_primary_105y0_51";
2418
+ const success$a = "_success_105y0_64";
2419
+ const warning$a = "_warning_105y0_77";
2420
+ const danger$a = "_danger_105y0_90";
2421
+ const info$a = "_info_105y0_103";
2422
+ const secondary$a = "_secondary_105y0_116";
2423
+ const styles$d = {
2245
2424
  button,
2246
2425
  pageBackground: pageBackground$4,
2247
- large: large$7,
2248
- small: small$7,
2249
- disabled: disabled$7,
2250
- primary: primary$9,
2251
- success: success$9,
2252
- warning: warning$9,
2253
- danger: danger$9,
2254
- info: info$9,
2255
- secondary: secondary$9
2426
+ large: large$8,
2427
+ small: small$8,
2428
+ disabled: disabled$8,
2429
+ primary: primary$a,
2430
+ success: success$a,
2431
+ warning: warning$a,
2432
+ danger: danger$a,
2433
+ info: info$a,
2434
+ secondary: secondary$a
2256
2435
  };
2257
2436
  const chamfer$1 = "_chamfer_1unae_1";
2258
- const disabled$6 = "_disabled_1unae_16";
2437
+ const disabled$7 = "_disabled_1unae_16";
2259
2438
  const chamferOnHover = "_chamferOnHover_1unae_67";
2260
2439
  const chamferStyles = {
2261
2440
  chamfer: chamfer$1,
2262
- disabled: disabled$6,
2441
+ disabled: disabled$7,
2263
2442
  chamferOnHover
2264
2443
  };
2265
2444
  const hatch$1 = "_hatch_rrcdt_1";
@@ -2274,10 +2453,10 @@ const ThemeContext = createContext$1({
2274
2453
  });
2275
2454
  const useJCUITheme = () => useContext(ThemeContext);
2276
2455
  const loader = "_loader_1y0fe_1";
2277
- const styles$b = {
2456
+ const styles$c = {
2278
2457
  loader
2279
2458
  };
2280
- const Loader = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$b.loader, ...props });
2459
+ const Loader = (props) => /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$c.loader, ...props });
2281
2460
  function Button({
2282
2461
  children: children2,
2283
2462
  variant,
@@ -2291,15 +2470,15 @@ function Button({
2291
2470
  "button",
2292
2471
  {
2293
2472
  className: clsx(
2294
- styles$c.button,
2295
- !variant && styles$c.pageBackground,
2296
- styles$c[variant],
2473
+ styles$d.button,
2474
+ !variant && styles$d.pageBackground,
2475
+ styles$d[variant],
2297
2476
  chamfer2 && chamferStyles.chamfer,
2298
- size2 === "large" && styles$c.large,
2299
- size2 === "small" && styles$c.small,
2477
+ size2 === "large" && styles$d.large,
2478
+ size2 === "small" && styles$d.small,
2300
2479
  disabled2 && chamferStyles.disabled,
2301
2480
  disabled2 && hatchStyles.hatch,
2302
- disabled2 && styles$c.disabled
2481
+ disabled2 && styles$d.disabled
2303
2482
  ),
2304
2483
  disabled: disabled2,
2305
2484
  ...props,
@@ -2412,28 +2591,28 @@ const pageBackground$3 = "_pageBackground_et6fi_11";
2412
2591
  const title$1 = "_title_et6fi_18";
2413
2592
  const body$1 = "_body_et6fi_25";
2414
2593
  const footer$1 = "_footer_et6fi_30";
2415
- const large$6 = "_large_et6fi_37";
2416
- const small$6 = "_small_et6fi_43";
2417
- const primary$8 = "_primary_et6fi_51";
2418
- const success$8 = "_success_et6fi_58";
2419
- const warning$8 = "_warning_et6fi_65";
2420
- const danger$8 = "_danger_et6fi_72";
2421
- const info$8 = "_info_et6fi_79";
2422
- const secondary$8 = "_secondary_et6fi_86";
2423
- const styles$a = {
2594
+ const large$7 = "_large_et6fi_37";
2595
+ const small$7 = "_small_et6fi_43";
2596
+ const primary$9 = "_primary_et6fi_51";
2597
+ const success$9 = "_success_et6fi_58";
2598
+ const warning$9 = "_warning_et6fi_65";
2599
+ const danger$9 = "_danger_et6fi_72";
2600
+ const info$9 = "_info_et6fi_79";
2601
+ const secondary$9 = "_secondary_et6fi_86";
2602
+ const styles$b = {
2424
2603
  card,
2425
2604
  pageBackground: pageBackground$3,
2426
2605
  title: title$1,
2427
2606
  body: body$1,
2428
2607
  footer: footer$1,
2429
- large: large$6,
2430
- small: small$6,
2431
- primary: primary$8,
2432
- success: success$8,
2433
- warning: warning$8,
2434
- danger: danger$8,
2435
- info: info$8,
2436
- secondary: secondary$8
2608
+ large: large$7,
2609
+ small: small$7,
2610
+ primary: primary$9,
2611
+ success: success$9,
2612
+ warning: warning$9,
2613
+ danger: danger$9,
2614
+ info: info$9,
2615
+ secondary: secondary$9
2437
2616
  };
2438
2617
  function Card({
2439
2618
  children: children2,
@@ -2450,21 +2629,21 @@ function Card({
2450
2629
  "div",
2451
2630
  {
2452
2631
  className: classNames(
2453
- styles$a.card,
2454
- !variant && styles$a.pageBackground,
2455
- styles$a[variant],
2632
+ styles$b.card,
2633
+ !variant && styles$b.pageBackground,
2634
+ styles$b[variant],
2456
2635
  chamfer2 && chamferStyles.chamfer,
2457
- size2 === "large" && styles$a.large,
2458
- size2 === "small" && styles$a.small
2636
+ size2 === "large" && styles$b.large,
2637
+ size2 === "small" && styles$b.small
2459
2638
  ),
2460
2639
  ...props,
2461
2640
  children: [
2462
- title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$a.title, hatchStyles.hatch), children: title2 }),
2463
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$a.body, children: children2 }),
2641
+ title2 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: classNames(styles$b.title, hatchStyles.hatch), children: title2 }),
2642
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$b.body, children: children2 }),
2464
2643
  footerHeight > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
2465
2644
  "div",
2466
2645
  {
2467
- className: classNames(hatchStyles.hatch, styles$a.footer),
2646
+ className: classNames(hatchStyles.hatch, styles$b.footer),
2468
2647
  style: { flexBasis: footerHeight },
2469
2648
  children: footer2
2470
2649
  }
@@ -3195,34 +3374,34 @@ function getState$2(checked) {
3195
3374
  return isIndeterminate$1(checked) ? "indeterminate" : checked ? "checked" : "unchecked";
3196
3375
  }
3197
3376
  const wrapper$1 = "_wrapper_178xv_25";
3198
- const disabled$5 = "_disabled_178xv_34";
3199
- const root$3 = "_root_178xv_39";
3377
+ const disabled$6 = "_disabled_178xv_34";
3378
+ const root$4 = "_root_178xv_39";
3200
3379
  const indicator$1 = "_indicator_178xv_76";
3201
- const large$5 = "_large_178xv_94";
3202
- const small$5 = "_small_178xv_99";
3380
+ const large$6 = "_large_178xv_94";
3381
+ const small$6 = "_small_178xv_99";
3203
3382
  const disabledBox = "_disabledBox_178xv_104";
3204
3383
  const label$3 = "_label_178xv_109";
3205
- const primary$7 = "_primary_178xv_117";
3206
- const secondary$7 = "_secondary_178xv_126";
3207
- const success$7 = "_success_178xv_135";
3208
- const warning$7 = "_warning_178xv_144";
3209
- const danger$7 = "_danger_178xv_153";
3210
- const info$7 = "_info_178xv_162";
3211
- const styles$9 = {
3384
+ const primary$8 = "_primary_178xv_117";
3385
+ const secondary$8 = "_secondary_178xv_126";
3386
+ const success$8 = "_success_178xv_135";
3387
+ const warning$8 = "_warning_178xv_144";
3388
+ const danger$8 = "_danger_178xv_153";
3389
+ const info$8 = "_info_178xv_162";
3390
+ const styles$a = {
3212
3391
  wrapper: wrapper$1,
3213
- disabled: disabled$5,
3214
- root: root$3,
3392
+ disabled: disabled$6,
3393
+ root: root$4,
3215
3394
  indicator: indicator$1,
3216
- large: large$5,
3217
- small: small$5,
3395
+ large: large$6,
3396
+ small: small$6,
3218
3397
  disabledBox,
3219
3398
  label: label$3,
3220
- primary: primary$7,
3221
- secondary: secondary$7,
3222
- success: success$7,
3223
- warning: warning$7,
3224
- danger: danger$7,
3225
- info: info$7
3399
+ primary: primary$8,
3400
+ secondary: secondary$8,
3401
+ success: success$8,
3402
+ warning: warning$8,
3403
+ danger: danger$8,
3404
+ info: info$8
3226
3405
  };
3227
3406
  const CheckIcon = () => /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { viewBox: "0 0 24 24", fill: "none", role: "presentation", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
3228
3407
  "polyline",
@@ -3245,32 +3424,32 @@ function Checkbox({
3245
3424
  ...props
3246
3425
  }) {
3247
3426
  const labelContent = label2 ?? children2;
3248
- const variantClass = variant && styles$9[variant];
3249
- const sizeClass = size2 === "large" ? styles$9.large : size2 === "small" ? styles$9.small : null;
3427
+ const variantClass = variant && styles$a[variant];
3428
+ const sizeClass = size2 === "large" ? styles$a.large : size2 === "small" ? styles$a.small : null;
3250
3429
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
3251
3430
  "label",
3252
3431
  {
3253
- className: clsx(styles$9.wrapper, variantClass, disabled2 && styles$9.disabled),
3432
+ className: clsx(styles$a.wrapper, variantClass, disabled2 && styles$a.disabled),
3254
3433
  children: [
3255
3434
  /* @__PURE__ */ jsxRuntimeExports.jsx(
3256
3435
  Checkbox$1,
3257
3436
  {
3258
3437
  className: clsx(
3259
- styles$9.root,
3438
+ styles$a.root,
3260
3439
  variantClass,
3261
3440
  sizeClass,
3262
3441
  chamfer2 && chamferStyles.chamfer,
3263
3442
  disabled2 && chamferStyles.disabled,
3264
3443
  disabled2 && hatchStyles.hatch,
3265
- disabled2 && styles$9.disabledBox,
3444
+ disabled2 && styles$a.disabledBox,
3266
3445
  className
3267
3446
  ),
3268
3447
  disabled: disabled2,
3269
3448
  ...props,
3270
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIndicator, { className: styles$9.indicator, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIcon, {}) })
3449
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckboxIndicator, { className: styles$a.indicator, children: /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIcon, {}) })
3271
3450
  }
3272
3451
  ),
3273
- labelContent && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$9.label, children: labelContent })
3452
+ labelContent && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$a.label, children: labelContent })
3274
3453
  ]
3275
3454
  }
3276
3455
  );
@@ -4720,13 +4899,13 @@ function* selection_iterator() {
4720
4899
  }
4721
4900
  }
4722
4901
  }
4723
- var root$2 = [null];
4902
+ var root$3 = [null];
4724
4903
  function Selection$1(groups, parents) {
4725
4904
  this._groups = groups;
4726
4905
  this._parents = parents;
4727
4906
  }
4728
4907
  function selection() {
4729
- return new Selection$1([[document.documentElement]], root$2);
4908
+ return new Selection$1([[document.documentElement]], root$3);
4730
4909
  }
4731
4910
  function selection_selection() {
4732
4911
  return this;
@@ -4770,7 +4949,7 @@ Selection$1.prototype = selection.prototype = {
4770
4949
  [Symbol.iterator]: selection_iterator
4771
4950
  };
4772
4951
  function select(selector2) {
4773
- return typeof selector2 === "string" ? new Selection$1([[document.querySelector(selector2)]], [document.documentElement]) : new Selection$1([[selector2]], root$2);
4952
+ return typeof selector2 === "string" ? new Selection$1([[document.querySelector(selector2)]], [document.documentElement]) : new Selection$1([[selector2]], root$3);
4774
4953
  }
4775
4954
  function sourceEvent(event) {
4776
4955
  let sourceEvent2;
@@ -14120,7 +14299,7 @@ let nextClipId = 0;
14120
14299
  function getClipId() {
14121
14300
  return `plot-clip-${++nextClipId}`;
14122
14301
  }
14123
- function styles$8(mark, {
14302
+ function styles$9(mark, {
14124
14303
  title: title2,
14125
14304
  href,
14126
14305
  ariaLabel: variaLabel,
@@ -14486,7 +14665,7 @@ class Mark {
14486
14665
  this.facetAnchor = maybeFacetAnchor(facetAnchor);
14487
14666
  channels = maybeNamed(channels);
14488
14667
  if (extraChannels !== void 0) channels = { ...maybeChannels(extraChannels), ...channels };
14489
- if (defaults2 !== void 0) channels = { ...styles$8(this, options, defaults2), ...channels };
14668
+ if (defaults2 !== void 0) channels = { ...styles$9(this, options, defaults2), ...channels };
14490
14669
  this.channels = Object.fromEntries(
14491
14670
  Object.entries(channels).map(([name, channel]) => {
14492
14671
  if (isOptions(channel.value)) {
@@ -19514,29 +19693,29 @@ const RadarChart = ({
19514
19693
  };
19515
19694
  const input$1 = "_input_1ymvl_7";
19516
19695
  const pageBackground$2 = "_pageBackground_1ymvl_24";
19517
- const large$4 = "_large_1ymvl_38";
19518
- const small$4 = "_small_1ymvl_43";
19519
- const disabled$4 = "_disabled_1ymvl_48";
19520
- const primary$6 = "_primary_1ymvl_55";
19521
- const success$6 = "_success_1ymvl_64";
19522
- const warning$6 = "_warning_1ymvl_72";
19523
- const danger$6 = "_danger_1ymvl_80";
19524
- const info$6 = "_info_1ymvl_88";
19525
- const secondary$6 = "_secondary_1ymvl_97";
19696
+ const large$5 = "_large_1ymvl_38";
19697
+ const small$5 = "_small_1ymvl_43";
19698
+ const disabled$5 = "_disabled_1ymvl_48";
19699
+ const primary$7 = "_primary_1ymvl_55";
19700
+ const success$7 = "_success_1ymvl_64";
19701
+ const warning$7 = "_warning_1ymvl_72";
19702
+ const danger$7 = "_danger_1ymvl_80";
19703
+ const info$7 = "_info_1ymvl_88";
19704
+ const secondary$7 = "_secondary_1ymvl_97";
19526
19705
  const field = "_field_1ymvl_106";
19527
19706
  const label$2 = "_label_1ymvl_112";
19528
- const styles$7 = {
19707
+ const styles$8 = {
19529
19708
  input: input$1,
19530
19709
  pageBackground: pageBackground$2,
19531
- large: large$4,
19532
- small: small$4,
19533
- disabled: disabled$4,
19534
- primary: primary$6,
19535
- success: success$6,
19536
- warning: warning$6,
19537
- danger: danger$6,
19538
- info: info$6,
19539
- secondary: secondary$6,
19710
+ large: large$5,
19711
+ small: small$5,
19712
+ disabled: disabled$5,
19713
+ primary: primary$7,
19714
+ success: success$7,
19715
+ warning: warning$7,
19716
+ danger: danger$7,
19717
+ info: info$7,
19718
+ secondary: secondary$7,
19540
19719
  field,
19541
19720
  label: label$2
19542
19721
  };
@@ -19549,28 +19728,28 @@ function Input({
19549
19728
  ...props
19550
19729
  }) {
19551
19730
  const inputId = useId$1();
19552
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$7.field, children: [
19553
- label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$7.label, htmlFor: inputId, children: label2 }),
19731
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$8.field, children: [
19732
+ label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$8.label, htmlFor: inputId, children: label2 }),
19554
19733
  /* @__PURE__ */ jsxRuntimeExports.jsx(
19555
19734
  "div",
19556
19735
  {
19557
19736
  className: classNames(
19558
19737
  chamfer2 && chamferStyles.chamfer,
19559
- !variant && styles$7.pageBackground,
19560
- styles$7[variant]
19738
+ !variant && styles$8.pageBackground,
19739
+ styles$8[variant]
19561
19740
  ),
19562
19741
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
19563
19742
  "input",
19564
19743
  {
19565
19744
  id: inputId,
19566
19745
  className: classNames(
19567
- styles$7.input,
19568
- !variant && styles$7.pageBackground,
19569
- styles$7[variant],
19570
- size2 === "large" && styles$7.large,
19571
- size2 === "small" && styles$7.small,
19746
+ styles$8.input,
19747
+ !variant && styles$8.pageBackground,
19748
+ styles$8[variant],
19749
+ size2 === "large" && styles$8.large,
19750
+ size2 === "small" && styles$8.small,
19572
19751
  disabled2 && chamferStyles.disabled,
19573
- disabled2 && styles$7.disabled,
19752
+ disabled2 && styles$8.disabled,
19574
19753
  disabled2 && hatchStyles.hatch
19575
19754
  ),
19576
19755
  disabled: disabled2,
@@ -19585,7 +19764,7 @@ function Input({
19585
19764
  )
19586
19765
  ] });
19587
19766
  }
19588
- const root$1 = "_root_i158m_7";
19767
+ const root$2 = "_root_i158m_7";
19589
19768
  const label$1 = "_label_i158m_14";
19590
19769
  const dropzone = "_dropzone_i158m_18";
19591
19770
  const pageBackground$1 = "_pageBackground_i158m_42";
@@ -19609,19 +19788,19 @@ const customFile = "_customFile_i158m_182";
19609
19788
  const removeButton = "_removeButton_i158m_195";
19610
19789
  const trashIcon = "_trashIcon_i158m_222";
19611
19790
  const trashLid = "_trashLid_i158m_227";
19612
- const large$3 = "_large_i158m_249";
19613
- const small$3 = "_small_i158m_258";
19791
+ const large$4 = "_large_i158m_249";
19792
+ const small$4 = "_small_i158m_258";
19614
19793
  const hasFiles = "_hasFiles_i158m_271";
19615
19794
  const dragging = "_dragging_i158m_275";
19616
- const disabled$3 = "_disabled_i158m_280";
19617
- const primary$5 = "_primary_i158m_285";
19618
- const success$5 = "_success_i158m_297";
19619
- const warning$5 = "_warning_i158m_309";
19620
- const danger$5 = "_danger_i158m_321";
19621
- const info$5 = "_info_i158m_333";
19622
- const secondary$5 = "_secondary_i158m_345";
19623
- const styles$6 = {
19624
- root: root$1,
19795
+ const disabled$4 = "_disabled_i158m_280";
19796
+ const primary$6 = "_primary_i158m_285";
19797
+ const success$6 = "_success_i158m_297";
19798
+ const warning$6 = "_warning_i158m_309";
19799
+ const danger$6 = "_danger_i158m_321";
19800
+ const info$6 = "_info_i158m_333";
19801
+ const secondary$6 = "_secondary_i158m_345";
19802
+ const styles$7 = {
19803
+ root: root$2,
19625
19804
  label: label$1,
19626
19805
  dropzone,
19627
19806
  pageBackground: pageBackground$1,
@@ -19645,17 +19824,17 @@ const styles$6 = {
19645
19824
  removeButton,
19646
19825
  trashIcon,
19647
19826
  trashLid,
19648
- large: large$3,
19649
- small: small$3,
19827
+ large: large$4,
19828
+ small: small$4,
19650
19829
  hasFiles,
19651
19830
  dragging,
19652
- disabled: disabled$3,
19653
- primary: primary$5,
19654
- success: success$5,
19655
- warning: warning$5,
19656
- danger: danger$5,
19657
- info: info$5,
19658
- secondary: secondary$5
19831
+ disabled: disabled$4,
19832
+ primary: primary$6,
19833
+ success: success$6,
19834
+ warning: warning$6,
19835
+ danger: danger$6,
19836
+ info: info$6,
19837
+ secondary: secondary$6
19659
19838
  };
19660
19839
  const normalizeFiles = (value, multiple = false) => {
19661
19840
  if (!value) {
@@ -19758,9 +19937,9 @@ const TrashIcon = () => /* @__PURE__ */ jsxRuntimeExports.jsxs(
19758
19937
  fill: "none",
19759
19938
  role: "presentation",
19760
19939
  "aria-hidden": true,
19761
- className: styles$6.trashIcon,
19940
+ className: styles$7.trashIcon,
19762
19941
  children: [
19763
- /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { className: styles$6.trashLid, children: [
19942
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("g", { className: styles$7.trashLid, children: [
19764
19943
  /* @__PURE__ */ jsxRuntimeExports.jsx(
19765
19944
  "path",
19766
19945
  {
@@ -19999,23 +20178,23 @@ const FileUpload = forwardRef(function FileUpload2({
19999
20178
  const selectedSummary = selectedFiles.length > 0 ? `${selectedFiles.length} file${selectedFiles.length === 1 ? "" : "s"} selected` : placeholder;
20000
20179
  const dropzoneIcon2 = icon2 ?? /* @__PURE__ */ jsxRuntimeExports.jsx(UploadIcon, {});
20001
20180
  const fileFallbackIcon = icon2 ?? /* @__PURE__ */ jsxRuntimeExports.jsx(FileIcon, {});
20002
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$6.root, className), children: [
20003
- label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$6.label, htmlFor: inputId, children: label2 }),
20181
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: clsx(styles$7.root, className), children: [
20182
+ label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: styles$7.label, htmlFor: inputId, children: label2 }),
20004
20183
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
20005
20184
  "div",
20006
20185
  {
20007
20186
  className: clsx(
20008
- styles$6.dropzone,
20009
- !variant && styles$6.pageBackground,
20010
- variant && styles$6[variant],
20187
+ styles$7.dropzone,
20188
+ !variant && styles$7.pageBackground,
20189
+ variant && styles$7[variant],
20011
20190
  chamfer2 && chamferStyles.chamfer,
20012
- size2 === "large" && styles$6.large,
20013
- size2 === "small" && styles$6.small,
20014
- disabled2 && styles$6.disabled,
20191
+ size2 === "large" && styles$7.large,
20192
+ size2 === "small" && styles$7.small,
20193
+ disabled2 && styles$7.disabled,
20015
20194
  disabled2 && chamferStyles.disabled,
20016
20195
  disabled2 && hatchStyles.hatch,
20017
- isDragging && styles$6.dragging,
20018
- selectedFiles.length > 0 && styles$6.hasFiles,
20196
+ isDragging && styles$7.dragging,
20197
+ selectedFiles.length > 0 && styles$7.hasFiles,
20019
20198
  dropzoneClassName
20020
20199
  ),
20021
20200
  onClick: handleDropzoneClick,
@@ -20033,34 +20212,34 @@ const FileUpload = forwardRef(function FileUpload2({
20033
20212
  {
20034
20213
  ref: setInputNode,
20035
20214
  id: inputId,
20036
- className: styles$6.input,
20215
+ className: styles$7.input,
20037
20216
  type: "file",
20038
20217
  disabled: disabled2,
20039
20218
  ...inputProps,
20040
20219
  onChange: handleInputChange
20041
20220
  }
20042
20221
  ),
20043
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$6.dropzoneContent, children: [
20044
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$6.dropzoneIcon, "aria-hidden": true, children: dropzoneIcon2 }),
20045
- /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$6.dropzoneText, children: [
20046
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$6.dropzoneTitle, children: selectedSummary }),
20047
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$6.dropzoneHint, children: hintText })
20222
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$7.dropzoneContent, children: [
20223
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$7.dropzoneIcon, "aria-hidden": true, children: dropzoneIcon2 }),
20224
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$7.dropzoneText, children: [
20225
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$7.dropzoneTitle, children: selectedSummary }),
20226
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$7.dropzoneHint, children: hintText })
20048
20227
  ] })
20049
20228
  ] }),
20050
20229
  children2
20051
20230
  ]
20052
20231
  }
20053
20232
  ),
20054
- helperText2 && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: styles$6.helperText, children: helperText2 }),
20055
- showFileList && selectedFiles.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$6.fileList, children: previewItems.map((item2, index2) => {
20233
+ helperText2 && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: styles$7.helperText, children: helperText2 }),
20234
+ showFileList && selectedFiles.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$7.fileList, children: previewItems.map((item2, index2) => {
20056
20235
  if (renderFile) {
20057
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$6.customFileRow, children: [
20058
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$6.customFile, children: renderFile(item2.file, index2) }),
20236
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$7.customFileRow, children: [
20237
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$7.customFile, children: renderFile(item2.file, index2) }),
20059
20238
  removable && /* @__PURE__ */ jsxRuntimeExports.jsx(
20060
20239
  "button",
20061
20240
  {
20062
20241
  type: "button",
20063
- className: styles$6.removeButton,
20242
+ className: styles$7.removeButton,
20064
20243
  onClick: (event) => handleRemoveFile(index2, event),
20065
20244
  "aria-label": `Remove ${item2.name}`,
20066
20245
  disabled: disabled2,
@@ -20069,26 +20248,26 @@ const FileUpload = forwardRef(function FileUpload2({
20069
20248
  )
20070
20249
  ] }, `${item2.name}-${index2}`);
20071
20250
  }
20072
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$6.fileItem, children: [
20073
- /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$6.fileInfo, children: [
20074
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$6.filePreview, "aria-hidden": true, children: item2.previewUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(
20251
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles$7.fileItem, children: [
20252
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$7.fileInfo, children: [
20253
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$7.filePreview, "aria-hidden": true, children: item2.previewUrl ? /* @__PURE__ */ jsxRuntimeExports.jsx(
20075
20254
  "img",
20076
20255
  {
20077
- className: styles$6.filePreviewImage,
20256
+ className: styles$7.filePreviewImage,
20078
20257
  src: item2.previewUrl,
20079
20258
  alt: ""
20080
20259
  }
20081
20260
  ) : fileFallbackIcon }),
20082
- /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$6.fileMeta, children: [
20083
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$6.fileName, children: item2.name }),
20084
- item2.sizeText && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$6.fileSize, children: item2.sizeText })
20261
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: styles$7.fileMeta, children: [
20262
+ /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$7.fileName, children: item2.name }),
20263
+ item2.sizeText && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$7.fileSize, children: item2.sizeText })
20085
20264
  ] })
20086
20265
  ] }),
20087
20266
  removable && /* @__PURE__ */ jsxRuntimeExports.jsx(
20088
20267
  "button",
20089
20268
  {
20090
20269
  type: "button",
20091
- className: styles$6.removeButton,
20270
+ className: styles$7.removeButton,
20092
20271
  onClick: (event) => handleRemoveFile(index2, event),
20093
20272
  "aria-label": `Remove ${item2.name}`,
20094
20273
  disabled: disabled2,
@@ -20287,7 +20466,7 @@ var RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {
20287
20466
  }
20288
20467
  );
20289
20468
  });
20290
- var ITEM_NAME$4 = "RovingFocusGroupItem";
20469
+ var ITEM_NAME$5 = "RovingFocusGroupItem";
20291
20470
  var RovingFocusGroupItem = React.forwardRef(
20292
20471
  (props, forwardedRef) => {
20293
20472
  const {
@@ -20300,7 +20479,7 @@ var RovingFocusGroupItem = React.forwardRef(
20300
20479
  } = props;
20301
20480
  const autoId = useId();
20302
20481
  const id2 = tabStopId || autoId;
20303
- const context = useRovingFocusContext(ITEM_NAME$4, __scopeRovingFocusGroup);
20482
+ const context = useRovingFocusContext(ITEM_NAME$5, __scopeRovingFocusGroup);
20304
20483
  const isCurrentTabStop = context.currentTabStopId === id2;
20305
20484
  const getItems = useCollection$2(__scopeRovingFocusGroup);
20306
20485
  const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;
@@ -20357,7 +20536,7 @@ var RovingFocusGroupItem = React.forwardRef(
20357
20536
  );
20358
20537
  }
20359
20538
  );
20360
- RovingFocusGroupItem.displayName = ITEM_NAME$4;
20539
+ RovingFocusGroupItem.displayName = ITEM_NAME$5;
20361
20540
  var MAP_KEY_TO_FOCUS_INTENT = {
20362
20541
  ArrowLeft: "prev",
20363
20542
  ArrowUp: "prev",
@@ -20527,7 +20706,7 @@ var [createRadioGroupContext] = createContextScope(RADIO_GROUP_NAME$2, [
20527
20706
  createRovingFocusGroupScope,
20528
20707
  createRadioScope
20529
20708
  ]);
20530
- var useRovingFocusGroupScope$1 = createRovingFocusGroupScope();
20709
+ var useRovingFocusGroupScope$2 = createRovingFocusGroupScope();
20531
20710
  var useRadioScope = createRadioScope();
20532
20711
  var [RadioGroupProvider$1, useRadioGroupContext$1] = createRadioGroupContext(RADIO_GROUP_NAME$2);
20533
20712
  var RadioGroup$2 = React.forwardRef(
@@ -20545,7 +20724,7 @@ var RadioGroup$2 = React.forwardRef(
20545
20724
  onValueChange,
20546
20725
  ...groupProps
20547
20726
  } = props;
20548
- const rovingFocusGroupScope = useRovingFocusGroupScope$1(__scopeRadioGroup);
20727
+ const rovingFocusGroupScope = useRovingFocusGroupScope$2(__scopeRadioGroup);
20549
20728
  const direction = useDirection(dir);
20550
20729
  const [value, setValue] = useControllableState({
20551
20730
  prop: valueProp,
@@ -20589,13 +20768,13 @@ var RadioGroup$2 = React.forwardRef(
20589
20768
  }
20590
20769
  );
20591
20770
  RadioGroup$2.displayName = RADIO_GROUP_NAME$2;
20592
- var ITEM_NAME$3 = "RadioGroupItem";
20771
+ var ITEM_NAME$4 = "RadioGroupItem";
20593
20772
  var RadioGroupItem = React.forwardRef(
20594
20773
  (props, forwardedRef) => {
20595
20774
  const { __scopeRadioGroup, disabled: disabled2, ...itemProps } = props;
20596
- const context = useRadioGroupContext$1(ITEM_NAME$3, __scopeRadioGroup);
20775
+ const context = useRadioGroupContext$1(ITEM_NAME$4, __scopeRadioGroup);
20597
20776
  const isDisabled = context.disabled || disabled2;
20598
- const rovingFocusGroupScope = useRovingFocusGroupScope$1(__scopeRadioGroup);
20777
+ const rovingFocusGroupScope = useRovingFocusGroupScope$2(__scopeRadioGroup);
20599
20778
  const radioScope = useRadioScope(__scopeRadioGroup);
20600
20779
  const ref = React.useRef(null);
20601
20780
  const composedRefs = useComposedRefs(forwardedRef, ref);
@@ -20645,7 +20824,7 @@ var RadioGroupItem = React.forwardRef(
20645
20824
  );
20646
20825
  }
20647
20826
  );
20648
- RadioGroupItem.displayName = ITEM_NAME$3;
20827
+ RadioGroupItem.displayName = ITEM_NAME$4;
20649
20828
  var INDICATOR_NAME2 = "RadioGroupIndicator";
20650
20829
  var RadioGroupIndicator = React.forwardRef(
20651
20830
  (props, forwardedRef) => {
@@ -20655,49 +20834,49 @@ var RadioGroupIndicator = React.forwardRef(
20655
20834
  }
20656
20835
  );
20657
20836
  RadioGroupIndicator.displayName = INDICATOR_NAME2;
20658
- var Root2$3 = RadioGroup$2;
20659
- var Item2$2 = RadioGroupItem;
20837
+ var Root2$4 = RadioGroup$2;
20838
+ var Item2$3 = RadioGroupItem;
20660
20839
  var Indicator = RadioGroupIndicator;
20661
20840
  const group = "_group_hpxu6_19";
20662
20841
  const wrapper = "_wrapper_hpxu6_25";
20663
- const disabled$2 = "_disabled_hpxu6_34";
20664
- const root = "_root_hpxu6_39";
20842
+ const disabled$3 = "_disabled_hpxu6_34";
20843
+ const root$1 = "_root_hpxu6_39";
20665
20844
  const indicator = "_indicator_hpxu6_72";
20666
20845
  const dot = "_dot_hpxu6_81";
20667
- const large$2 = "_large_hpxu6_88";
20668
- const small$2 = "_small_hpxu6_93";
20846
+ const large$3 = "_large_hpxu6_88";
20847
+ const small$3 = "_small_hpxu6_93";
20669
20848
  const disabledDot = "_disabledDot_hpxu6_98";
20670
20849
  const label = "_label_hpxu6_102";
20671
20850
  const chamfer = "_chamfer_hpxu6_107";
20672
- const primary$4 = "_primary_hpxu6_112";
20673
- const secondary$4 = "_secondary_hpxu6_121";
20674
- const success$4 = "_success_hpxu6_130";
20675
- const warning$4 = "_warning_hpxu6_139";
20676
- const danger$4 = "_danger_hpxu6_148";
20677
- const info$4 = "_info_hpxu6_157";
20678
- const styles$5 = {
20851
+ const primary$5 = "_primary_hpxu6_112";
20852
+ const secondary$5 = "_secondary_hpxu6_121";
20853
+ const success$5 = "_success_hpxu6_130";
20854
+ const warning$5 = "_warning_hpxu6_139";
20855
+ const danger$5 = "_danger_hpxu6_148";
20856
+ const info$5 = "_info_hpxu6_157";
20857
+ const styles$6 = {
20679
20858
  group,
20680
20859
  wrapper,
20681
- disabled: disabled$2,
20682
- root,
20860
+ disabled: disabled$3,
20861
+ root: root$1,
20683
20862
  indicator,
20684
20863
  dot,
20685
- large: large$2,
20686
- small: small$2,
20864
+ large: large$3,
20865
+ small: small$3,
20687
20866
  disabledDot,
20688
20867
  label,
20689
20868
  chamfer,
20690
- primary: primary$4,
20691
- secondary: secondary$4,
20692
- success: success$4,
20693
- warning: warning$4,
20694
- danger: danger$4,
20695
- info: info$4
20869
+ primary: primary$5,
20870
+ secondary: secondary$5,
20871
+ success: success$5,
20872
+ warning: warning$5,
20873
+ danger: danger$5,
20874
+ info: info$5
20696
20875
  };
20697
20876
  const RadioGroup$1 = ({ className, children: children2, ...props }) => /* @__PURE__ */ jsxRuntimeExports.jsx(
20698
- Root2$3,
20877
+ Root2$4,
20699
20878
  {
20700
- className: clsx(styles$5.group, className),
20879
+ className: clsx(styles$6.group, className),
20701
20880
  ...props,
20702
20881
  children: children2
20703
20882
  }
@@ -20712,33 +20891,33 @@ function Radio({
20712
20891
  className,
20713
20892
  ...props
20714
20893
  }) {
20715
- const variantClass = variant && styles$5[variant];
20716
- const sizeClass = size2 === "large" ? styles$5.large : size2 === "small" ? styles$5.small : null;
20894
+ const variantClass = variant && styles$6[variant];
20895
+ const sizeClass = size2 === "large" ? styles$6.large : size2 === "small" ? styles$6.small : null;
20717
20896
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
20718
20897
  "label",
20719
20898
  {
20720
- className: clsx(styles$5.wrapper, variantClass, disabled2 && styles$5.disabled),
20899
+ className: clsx(styles$6.wrapper, variantClass, disabled2 && styles$6.disabled),
20721
20900
  children: [
20722
20901
  /* @__PURE__ */ jsxRuntimeExports.jsx(
20723
- Item2$2,
20902
+ Item2$3,
20724
20903
  {
20725
20904
  className: clsx(
20726
- styles$5.root,
20905
+ styles$6.root,
20727
20906
  variantClass,
20728
20907
  sizeClass,
20729
20908
  chamfer2 && chamferStyles.chamfer,
20730
20909
  disabled2 && chamferStyles.disabled,
20731
20910
  disabled2 && hatchStyles.hatch,
20732
- disabled2 && styles$5.disabledDot,
20911
+ disabled2 && styles$6.disabledDot,
20733
20912
  className
20734
20913
  ),
20735
20914
  value,
20736
20915
  disabled: disabled2,
20737
20916
  ...props,
20738
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Indicator, { className: styles$5.indicator, children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$5.dot }) })
20917
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Indicator, { className: styles$6.indicator, children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$6.dot }) })
20739
20918
  }
20740
20919
  ),
20741
- label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$5.label, children: label2 })
20920
+ label2 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$6.label, children: label2 })
20742
20921
  ]
20743
20922
  }
20744
20923
  );
@@ -23060,7 +23239,7 @@ const arrow$2 = (options, deps) => ({
23060
23239
  ...arrow$1(options),
23061
23240
  options: [options, deps]
23062
23241
  });
23063
- var NAME$1 = "Arrow";
23242
+ var NAME$2 = "Arrow";
23064
23243
  var Arrow$1 = React.forwardRef((props, forwardedRef) => {
23065
23244
  const { children: children2, width = 10, height = 5, ...arrowProps } = props;
23066
23245
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -23076,7 +23255,7 @@ var Arrow$1 = React.forwardRef((props, forwardedRef) => {
23076
23255
  }
23077
23256
  );
23078
23257
  });
23079
- Arrow$1.displayName = NAME$1;
23258
+ Arrow$1.displayName = NAME$2;
23080
23259
  var Root$1 = Arrow$1;
23081
23260
  var POPPER_NAME = "Popper";
23082
23261
  var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
@@ -23343,7 +23522,7 @@ function getSideAndAlignFromPlacement(placement) {
23343
23522
  const [side, align = "center"] = placement.split("-");
23344
23523
  return [side, align];
23345
23524
  }
23346
- var Root2$2 = Popper;
23525
+ var Root2$3 = Popper;
23347
23526
  var Anchor = PopperAnchor;
23348
23527
  var Content$1 = PopperContent;
23349
23528
  var Arrow = PopperArrow;
@@ -23369,7 +23548,7 @@ var VISUALLY_HIDDEN_STYLES = Object.freeze({
23369
23548
  whiteSpace: "nowrap",
23370
23549
  wordWrap: "normal"
23371
23550
  });
23372
- var NAME = "VisuallyHidden";
23551
+ var NAME$1 = "VisuallyHidden";
23373
23552
  var VisuallyHidden = React.forwardRef(
23374
23553
  (props, forwardedRef) => {
23375
23554
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -23382,7 +23561,7 @@ var VisuallyHidden = React.forwardRef(
23382
23561
  );
23383
23562
  }
23384
23563
  );
23385
- VisuallyHidden.displayName = NAME;
23564
+ VisuallyHidden.displayName = NAME$1;
23386
23565
  var getDefaultParent = function(originalTarget) {
23387
23566
  if (typeof document === "undefined") {
23388
23567
  return null;
@@ -24211,7 +24390,7 @@ var Select = (props) => {
24211
24390
  const isFormControl = trigger2 ? form || !!trigger2.closest("form") : true;
24212
24391
  const [nativeOptionsSet, setNativeOptionsSet] = React.useState(/* @__PURE__ */ new Set());
24213
24392
  const nativeSelectKey = Array.from(nativeOptionsSet).map((option) => option.props.value).join(";");
24214
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Root2$2, { ...popperScope, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
24393
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Root2$3, { ...popperScope, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
24215
24394
  SelectProvider,
24216
24395
  {
24217
24396
  required,
@@ -24928,8 +25107,8 @@ var SelectLabel = React.forwardRef(
24928
25107
  }
24929
25108
  );
24930
25109
  SelectLabel.displayName = LABEL_NAME$2;
24931
- var ITEM_NAME$2 = "SelectItem";
24932
- var [SelectItemContextProvider, useSelectItemContext] = createSelectContext(ITEM_NAME$2);
25110
+ var ITEM_NAME$3 = "SelectItem";
25111
+ var [SelectItemContextProvider, useSelectItemContext] = createSelectContext(ITEM_NAME$3);
24933
25112
  var SelectItem = React.forwardRef(
24934
25113
  (props, forwardedRef) => {
24935
25114
  const {
@@ -24939,8 +25118,8 @@ var SelectItem = React.forwardRef(
24939
25118
  textValue: textValueProp,
24940
25119
  ...itemProps
24941
25120
  } = props;
24942
- const context = useSelectContext(ITEM_NAME$2, __scopeSelect);
24943
- const contentContext = useSelectContentContext(ITEM_NAME$2, __scopeSelect);
25121
+ const context = useSelectContext(ITEM_NAME$3, __scopeSelect);
25122
+ const contentContext = useSelectContentContext(ITEM_NAME$3, __scopeSelect);
24944
25123
  const isSelected = context.value === value;
24945
25124
  const [textValue, setTextValue] = React.useState(textValueProp ?? "");
24946
25125
  const [isFocused, setIsFocused] = React.useState(false);
@@ -25030,7 +25209,7 @@ var SelectItem = React.forwardRef(
25030
25209
  );
25031
25210
  }
25032
25211
  );
25033
- SelectItem.displayName = ITEM_NAME$2;
25212
+ SelectItem.displayName = ITEM_NAME$3;
25034
25213
  var ITEM_TEXT_NAME = "SelectItemText";
25035
25214
  var SelectItemText = React.forwardRef(
25036
25215
  (props, forwardedRef) => {
@@ -25276,7 +25455,7 @@ function findNextItem(items, search, currentItem) {
25276
25455
  function wrapArray$1(array2, startIndex) {
25277
25456
  return array2.map((_2, index2) => array2[(startIndex + index2) % array2.length]);
25278
25457
  }
25279
- var Root2$1 = Select;
25458
+ var Root2$2 = Select;
25280
25459
  var Trigger$2 = SelectTrigger;
25281
25460
  var Value = SelectValue;
25282
25461
  var Icon = SelectIcon;
@@ -25286,32 +25465,32 @@ var Viewport = SelectViewport;
25286
25465
  var Item = SelectItem;
25287
25466
  var ItemText = SelectItemText;
25288
25467
  const trigger$1 = "_trigger_1u214_7";
25289
- const large$1 = "_large_1u214_31";
25290
- const small$1 = "_small_1u214_36";
25291
- const disabled$1 = "_disabled_1u214_41";
25468
+ const large$2 = "_large_1u214_31";
25469
+ const small$2 = "_small_1u214_36";
25470
+ const disabled$2 = "_disabled_1u214_41";
25292
25471
  const icon$1 = "_icon_1u214_46";
25293
25472
  const content$3 = "_content_1u214_52";
25294
- const item$1 = "_item_1u214_57";
25295
- const primary$3 = "_primary_1u214_79";
25296
- const success$3 = "_success_1u214_89";
25297
- const warning$3 = "_warning_1u214_99";
25298
- const danger$3 = "_danger_1u214_109";
25299
- const info$3 = "_info_1u214_119";
25300
- const secondary$3 = "_secondary_1u214_129";
25301
- const styles$4 = {
25473
+ const item$2 = "_item_1u214_57";
25474
+ const primary$4 = "_primary_1u214_79";
25475
+ const success$4 = "_success_1u214_89";
25476
+ const warning$4 = "_warning_1u214_99";
25477
+ const danger$4 = "_danger_1u214_109";
25478
+ const info$4 = "_info_1u214_119";
25479
+ const secondary$4 = "_secondary_1u214_129";
25480
+ const styles$5 = {
25302
25481
  trigger: trigger$1,
25303
- large: large$1,
25304
- small: small$1,
25305
- disabled: disabled$1,
25482
+ large: large$2,
25483
+ small: small$2,
25484
+ disabled: disabled$2,
25306
25485
  icon: icon$1,
25307
25486
  content: content$3,
25308
- item: item$1,
25309
- primary: primary$3,
25310
- success: success$3,
25311
- warning: warning$3,
25312
- danger: danger$3,
25313
- info: info$3,
25314
- secondary: secondary$3
25487
+ item: item$2,
25488
+ primary: primary$4,
25489
+ success: success$4,
25490
+ warning: warning$4,
25491
+ danger: danger$4,
25492
+ info: info$4,
25493
+ secondary: secondary$4
25315
25494
  };
25316
25495
  function SelectInput({
25317
25496
  options,
@@ -25324,7 +25503,7 @@ function SelectInput({
25324
25503
  loading = false
25325
25504
  }) {
25326
25505
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
25327
- Root2$1,
25506
+ Root2$2,
25328
25507
  {
25329
25508
  value,
25330
25509
  onValueChange,
@@ -25334,18 +25513,18 @@ function SelectInput({
25334
25513
  Trigger$2,
25335
25514
  {
25336
25515
  className: clsx(
25337
- styles$4.trigger,
25338
- styles$4[variant],
25516
+ styles$5.trigger,
25517
+ styles$5[variant],
25339
25518
  chamfer2 && chamferStyles.chamfer,
25340
- size2 === "large" && styles$4.large,
25341
- size2 === "small" && styles$4.small,
25342
- disabled2 && styles$4.disabled,
25519
+ size2 === "large" && styles$5.large,
25520
+ size2 === "small" && styles$5.small,
25521
+ disabled2 && styles$5.disabled,
25343
25522
  disabled2 && hatchStyles.hatch
25344
25523
  // loading && styles.disabled
25345
25524
  ),
25346
25525
  children: [
25347
25526
  /* @__PURE__ */ jsxRuntimeExports.jsx(Value, {}),
25348
- loading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loader, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { className: styles$4.icon, children: "▾" })
25527
+ loading ? /* @__PURE__ */ jsxRuntimeExports.jsx(Loader, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { className: styles$5.icon, children: "▾" })
25349
25528
  ]
25350
25529
  }
25351
25530
  ),
@@ -25353,7 +25532,7 @@ function SelectInput({
25353
25532
  Content2$2,
25354
25533
  {
25355
25534
  className: classNames(
25356
- styles$4.content,
25535
+ styles$5.content,
25357
25536
  chamfer2 && chamferStyles.chamfer
25358
25537
  ),
25359
25538
  sideOffset: 6,
@@ -25362,7 +25541,7 @@ function SelectInput({
25362
25541
  {
25363
25542
  value: opt.value,
25364
25543
  disabled: opt.disabled,
25365
- className: styles$4.item,
25544
+ className: styles$5.item,
25366
25545
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemText, { children: opt.label })
25367
25546
  },
25368
25547
  opt.value
@@ -25373,6 +25552,278 @@ function SelectInput({
25373
25552
  }
25374
25553
  );
25375
25554
  }
25555
+ var NAME = "Toggle";
25556
+ var Toggle = React.forwardRef((props, forwardedRef) => {
25557
+ const { pressed: pressedProp, defaultPressed, onPressedChange, ...buttonProps } = props;
25558
+ const [pressed, setPressed] = useControllableState({
25559
+ prop: pressedProp,
25560
+ onChange: onPressedChange,
25561
+ defaultProp: defaultPressed ?? false,
25562
+ caller: NAME
25563
+ });
25564
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
25565
+ Primitive.button,
25566
+ {
25567
+ type: "button",
25568
+ "aria-pressed": pressed,
25569
+ "data-state": pressed ? "on" : "off",
25570
+ "data-disabled": props.disabled ? "" : void 0,
25571
+ ...buttonProps,
25572
+ ref: forwardedRef,
25573
+ onClick: composeEventHandlers(props.onClick, () => {
25574
+ if (!props.disabled) {
25575
+ setPressed(!pressed);
25576
+ }
25577
+ })
25578
+ }
25579
+ );
25580
+ });
25581
+ Toggle.displayName = NAME;
25582
+ var TOGGLE_GROUP_NAME = "ToggleGroup";
25583
+ var [createToggleGroupContext] = createContextScope(TOGGLE_GROUP_NAME, [
25584
+ createRovingFocusGroupScope
25585
+ ]);
25586
+ var useRovingFocusGroupScope$1 = createRovingFocusGroupScope();
25587
+ var ToggleGroup = React__default.forwardRef((props, forwardedRef) => {
25588
+ const { type, ...toggleGroupProps } = props;
25589
+ if (type === "single") {
25590
+ const singleProps = toggleGroupProps;
25591
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleGroupImplSingle, { ...singleProps, ref: forwardedRef });
25592
+ }
25593
+ if (type === "multiple") {
25594
+ const multipleProps = toggleGroupProps;
25595
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleGroupImplMultiple, { ...multipleProps, ref: forwardedRef });
25596
+ }
25597
+ throw new Error(`Missing prop \`type\` expected on \`${TOGGLE_GROUP_NAME}\``);
25598
+ });
25599
+ ToggleGroup.displayName = TOGGLE_GROUP_NAME;
25600
+ var [ToggleGroupValueProvider, useToggleGroupValueContext] = createToggleGroupContext(TOGGLE_GROUP_NAME);
25601
+ var ToggleGroupImplSingle = React__default.forwardRef((props, forwardedRef) => {
25602
+ const {
25603
+ value: valueProp,
25604
+ defaultValue,
25605
+ onValueChange = () => {
25606
+ },
25607
+ ...toggleGroupSingleProps
25608
+ } = props;
25609
+ const [value, setValue] = useControllableState({
25610
+ prop: valueProp,
25611
+ defaultProp: defaultValue ?? "",
25612
+ onChange: onValueChange,
25613
+ caller: TOGGLE_GROUP_NAME
25614
+ });
25615
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
25616
+ ToggleGroupValueProvider,
25617
+ {
25618
+ scope: props.__scopeToggleGroup,
25619
+ type: "single",
25620
+ value: React__default.useMemo(() => value ? [value] : [], [value]),
25621
+ onItemActivate: setValue,
25622
+ onItemDeactivate: React__default.useCallback(() => setValue(""), [setValue]),
25623
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleGroupImpl, { ...toggleGroupSingleProps, ref: forwardedRef })
25624
+ }
25625
+ );
25626
+ });
25627
+ var ToggleGroupImplMultiple = React__default.forwardRef((props, forwardedRef) => {
25628
+ const {
25629
+ value: valueProp,
25630
+ defaultValue,
25631
+ onValueChange = () => {
25632
+ },
25633
+ ...toggleGroupMultipleProps
25634
+ } = props;
25635
+ const [value, setValue] = useControllableState({
25636
+ prop: valueProp,
25637
+ defaultProp: defaultValue ?? [],
25638
+ onChange: onValueChange,
25639
+ caller: TOGGLE_GROUP_NAME
25640
+ });
25641
+ const handleButtonActivate = React__default.useCallback(
25642
+ (itemValue) => setValue((prevValue = []) => [...prevValue, itemValue]),
25643
+ [setValue]
25644
+ );
25645
+ const handleButtonDeactivate = React__default.useCallback(
25646
+ (itemValue) => setValue((prevValue = []) => prevValue.filter((value2) => value2 !== itemValue)),
25647
+ [setValue]
25648
+ );
25649
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
25650
+ ToggleGroupValueProvider,
25651
+ {
25652
+ scope: props.__scopeToggleGroup,
25653
+ type: "multiple",
25654
+ value,
25655
+ onItemActivate: handleButtonActivate,
25656
+ onItemDeactivate: handleButtonDeactivate,
25657
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleGroupImpl, { ...toggleGroupMultipleProps, ref: forwardedRef })
25658
+ }
25659
+ );
25660
+ });
25661
+ ToggleGroup.displayName = TOGGLE_GROUP_NAME;
25662
+ var [ToggleGroupContext, useToggleGroupContext] = createToggleGroupContext(TOGGLE_GROUP_NAME);
25663
+ var ToggleGroupImpl = React__default.forwardRef(
25664
+ (props, forwardedRef) => {
25665
+ const {
25666
+ __scopeToggleGroup,
25667
+ disabled: disabled2 = false,
25668
+ rovingFocus = true,
25669
+ orientation,
25670
+ dir,
25671
+ loop = true,
25672
+ ...toggleGroupProps
25673
+ } = props;
25674
+ const rovingFocusGroupScope = useRovingFocusGroupScope$1(__scopeToggleGroup);
25675
+ const direction = useDirection(dir);
25676
+ const commonProps = { role: "group", dir: direction, ...toggleGroupProps };
25677
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleGroupContext, { scope: __scopeToggleGroup, rovingFocus, disabled: disabled2, children: rovingFocus ? /* @__PURE__ */ jsxRuntimeExports.jsx(
25678
+ Root$2,
25679
+ {
25680
+ asChild: true,
25681
+ ...rovingFocusGroupScope,
25682
+ orientation,
25683
+ dir: direction,
25684
+ loop,
25685
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Primitive.div, { ...commonProps, ref: forwardedRef })
25686
+ }
25687
+ ) : /* @__PURE__ */ jsxRuntimeExports.jsx(Primitive.div, { ...commonProps, ref: forwardedRef }) });
25688
+ }
25689
+ );
25690
+ var ITEM_NAME$2 = "ToggleGroupItem";
25691
+ var ToggleGroupItem = React__default.forwardRef(
25692
+ (props, forwardedRef) => {
25693
+ const valueContext = useToggleGroupValueContext(ITEM_NAME$2, props.__scopeToggleGroup);
25694
+ const context = useToggleGroupContext(ITEM_NAME$2, props.__scopeToggleGroup);
25695
+ const rovingFocusGroupScope = useRovingFocusGroupScope$1(props.__scopeToggleGroup);
25696
+ const pressed = valueContext.value.includes(props.value);
25697
+ const disabled2 = context.disabled || props.disabled;
25698
+ const commonProps = { ...props, pressed, disabled: disabled2 };
25699
+ const ref = React__default.useRef(null);
25700
+ return context.rovingFocus ? /* @__PURE__ */ jsxRuntimeExports.jsx(
25701
+ Item$1,
25702
+ {
25703
+ asChild: true,
25704
+ ...rovingFocusGroupScope,
25705
+ focusable: !disabled2,
25706
+ active: pressed,
25707
+ ref,
25708
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleGroupItemImpl, { ...commonProps, ref: forwardedRef })
25709
+ }
25710
+ ) : /* @__PURE__ */ jsxRuntimeExports.jsx(ToggleGroupItemImpl, { ...commonProps, ref: forwardedRef });
25711
+ }
25712
+ );
25713
+ ToggleGroupItem.displayName = ITEM_NAME$2;
25714
+ var ToggleGroupItemImpl = React__default.forwardRef(
25715
+ (props, forwardedRef) => {
25716
+ const { __scopeToggleGroup, value, ...itemProps } = props;
25717
+ const valueContext = useToggleGroupValueContext(ITEM_NAME$2, __scopeToggleGroup);
25718
+ const singleProps = { role: "radio", "aria-checked": props.pressed, "aria-pressed": void 0 };
25719
+ const typeProps = valueContext.type === "single" ? singleProps : void 0;
25720
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
25721
+ Toggle,
25722
+ {
25723
+ ...typeProps,
25724
+ ...itemProps,
25725
+ ref: forwardedRef,
25726
+ onPressedChange: (pressed) => {
25727
+ if (pressed) {
25728
+ valueContext.onItemActivate(value);
25729
+ } else {
25730
+ valueContext.onItemDeactivate(value);
25731
+ }
25732
+ }
25733
+ }
25734
+ );
25735
+ }
25736
+ );
25737
+ var Root2$1 = ToggleGroup;
25738
+ var Item2$2 = ToggleGroupItem;
25739
+ const root = "_root_1dix2_31";
25740
+ const item$1 = "_item_1dix2_46";
25741
+ const chamferEnabled = "_chamferEnabled_1dix2_86";
25742
+ const large$1 = "_large_1dix2_126";
25743
+ const small$1 = "_small_1dix2_131";
25744
+ const disabled$1 = "_disabled_1dix2_136";
25745
+ const itemDisabled = "_itemDisabled_1dix2_141";
25746
+ const primary$3 = "_primary_1dix2_147";
25747
+ const secondary$3 = "_secondary_1dix2_157";
25748
+ const success$3 = "_success_1dix2_167";
25749
+ const warning$3 = "_warning_1dix2_177";
25750
+ const danger$3 = "_danger_1dix2_187";
25751
+ const info$3 = "_info_1dix2_197";
25752
+ const styles$4 = {
25753
+ root,
25754
+ item: item$1,
25755
+ chamferEnabled,
25756
+ large: large$1,
25757
+ small: small$1,
25758
+ disabled: disabled$1,
25759
+ itemDisabled,
25760
+ primary: primary$3,
25761
+ secondary: secondary$3,
25762
+ success: success$3,
25763
+ warning: warning$3,
25764
+ danger: danger$3,
25765
+ info: info$3
25766
+ };
25767
+ function SegmentedControl({
25768
+ options = [],
25769
+ value,
25770
+ defaultValue,
25771
+ onValueChange,
25772
+ allowEmpty = false,
25773
+ variant,
25774
+ size: size2,
25775
+ disabled: disabled2,
25776
+ chamfer: chamfer2 = true,
25777
+ className,
25778
+ itemClassName,
25779
+ ...props
25780
+ }) {
25781
+ const isControlled = value !== void 0;
25782
+ const [internalValue, setInternalValue] = useState(defaultValue ?? "");
25783
+ const selectedValue = isControlled ? value : internalValue;
25784
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
25785
+ Root2$1,
25786
+ {
25787
+ type: "single",
25788
+ value: selectedValue,
25789
+ onValueChange: (nextValue) => {
25790
+ if (!allowEmpty && !nextValue) {
25791
+ return;
25792
+ }
25793
+ if (!isControlled) {
25794
+ setInternalValue(nextValue);
25795
+ }
25796
+ onValueChange?.(nextValue);
25797
+ },
25798
+ disabled: disabled2,
25799
+ className: clsx(
25800
+ styles$4.root,
25801
+ styles$4[variant],
25802
+ chamfer2 && styles$4.chamferEnabled,
25803
+ size2 === "large" && styles$4.large,
25804
+ size2 === "small" && styles$4.small,
25805
+ disabled2 && hatchStyles.hatch,
25806
+ disabled2 && styles$4.disabled,
25807
+ className
25808
+ ),
25809
+ ...props,
25810
+ children: options.map((option) => /* @__PURE__ */ jsxRuntimeExports.jsx(
25811
+ Item2$2,
25812
+ {
25813
+ value: option.value,
25814
+ disabled: disabled2 || option.disabled,
25815
+ className: clsx(
25816
+ styles$4.item,
25817
+ (disabled2 || option.disabled) && styles$4.itemDisabled,
25818
+ itemClassName
25819
+ ),
25820
+ children: option.label
25821
+ },
25822
+ option.value
25823
+ ))
25824
+ }
25825
+ );
25826
+ }
25376
25827
  var SELECTION_KEYS = ["Enter", " "];
25377
25828
  var FIRST_KEYS = ["ArrowDown", "PageUp", "Home"];
25378
25829
  var LAST_KEYS = ["ArrowUp", "PageDown", "End"];
@@ -25417,7 +25868,7 @@ var Menu = (props) => {
25417
25868
  document.removeEventListener("pointermove", handlePointer, { capture: true });
25418
25869
  };
25419
25870
  }, []);
25420
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Root2$2, { ...popperScope, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
25871
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Root2$3, { ...popperScope, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
25421
25872
  MenuProvider,
25422
25873
  {
25423
25874
  scope: __scopeMenu,
@@ -27774,6 +28225,7 @@ export {
27774
28225
  RadarChart,
27775
28226
  Radio,
27776
28227
  RadioGroup$1 as RadioGroup,
28228
+ SegmentedControl,
27777
28229
  SelectInput as Select,
27778
28230
  toast,
27779
28231
  useJCUITheme,