@recursica/mantine-adapter 0.50.2 → 0.50.5

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/index.d.ts +107 -139
  3. package/dist/mantine-adapter.cjs +1 -1
  4. package/dist/mantine-adapter.cjs.map +1 -1
  5. package/dist/mantine-adapter.css +1 -1
  6. package/dist/mantine-adapter.js +535 -532
  7. package/dist/mantine-adapter.js.map +1 -1
  8. package/package.json +5 -4
  9. package/src/components/Accordion/Accordion.test.tsx +1 -0
  10. package/src/components/AssistiveElement/AssistiveElement.test.tsx +1 -0
  11. package/src/components/AutoComplete/AutoComplete.test.tsx +1 -0
  12. package/src/components/Avatar/Avatar.test.tsx +1 -0
  13. package/src/components/Badge/Badge.test.tsx +1 -0
  14. package/src/components/Breadcrumb/Breadcrumb.test.tsx +1 -0
  15. package/src/components/Button/Button.module.css +1 -0
  16. package/src/components/Button/Button.styleIsolation.dom.test.tsx +98 -0
  17. package/src/components/Button/IMPLEMENTATION_NOTES.md +2 -0
  18. package/src/components/Card/Card.test.tsx +1 -0
  19. package/src/components/Checkbox/Checkbox.test.tsx +1 -0
  20. package/src/components/Chip/CHIP_IMPLEMENTATION_NOTES.md +13 -0
  21. package/src/components/Chip/Chip.stories.tsx +11 -0
  22. package/src/components/Chip/Chip.test.tsx +1 -0
  23. package/src/components/Chip/Chip.tsx +6 -1
  24. package/src/components/Container/Container.test.tsx +1 -0
  25. package/src/components/DatePicker/DatePicker.test.tsx +1 -0
  26. package/src/components/Dropdown/Dropdown.test.tsx +1 -0
  27. package/src/components/FileInput/FileInput.test.tsx +1 -0
  28. package/src/components/FileUpload/FileUpload.test.tsx +1 -0
  29. package/src/components/Flex/Flex.test.tsx +1 -0
  30. package/src/components/Flex/Flex.tsx +5 -5
  31. package/src/components/FormControlLayout/FormControlLayout.test.tsx +1 -0
  32. package/src/components/FormControlWrapper/FormControlWrapper.test.tsx +1 -0
  33. package/src/components/Grid/GRID_IMPLEMENTATION_NOTES.md +2 -2
  34. package/src/components/Grid/Grid.stories.tsx +11 -11
  35. package/src/components/Grid/Grid.test.tsx +1 -0
  36. package/src/components/Grid/Grid.tsx +10 -15
  37. package/src/components/Grid/USAGE.md +3 -3
  38. package/src/components/Group/Group.test.tsx +1 -0
  39. package/src/components/Group/Group.tsx +5 -5
  40. package/src/components/HoverCard/HoverCard.test.tsx +1 -0
  41. package/src/components/Label/Label.test.tsx +1 -0
  42. package/src/components/Link/Link.test.tsx +1 -0
  43. package/src/components/Loader/Loader.test.tsx +1 -0
  44. package/src/components/Menu/Menu.test.tsx +1 -0
  45. package/src/components/Modal/Modal.test.tsx +1 -0
  46. package/src/components/NumberInput/NumberInput.test.tsx +1 -0
  47. package/src/components/Pagination/Pagination.test.tsx +1 -0
  48. package/src/components/Panel/Panel.test.tsx +1 -0
  49. package/src/components/Popover/Popover.test.tsx +1 -0
  50. package/src/components/Radio/Radio.test.tsx +1 -0
  51. package/src/components/ReadOnlyField/ReadOnlyField.test.tsx +1 -0
  52. package/src/components/SegmentedControl/SegmentedControl.test.tsx +1 -0
  53. package/src/components/Slider/Slider.test.tsx +1 -0
  54. package/src/components/Stack/Stack.test.tsx +1 -0
  55. package/src/components/Stack/Stack.tsx +5 -5
  56. package/src/components/Stepper/Stepper.test.tsx +1 -0
  57. package/src/components/Switch/Switch.test.tsx +1 -0
  58. package/src/components/Table/Table.test.tsx +1 -0
  59. package/src/components/Tabs/Tabs.test.tsx +1 -0
  60. package/src/components/Text/Text.stories.tsx +3 -16
  61. package/src/components/Text/Text.test.tsx +1 -0
  62. package/src/components/TextArea/TextArea.test.tsx +1 -0
  63. package/src/components/TextField/TextField.test.tsx +1 -0
  64. package/src/components/TimePicker/TimePicker.test.tsx +1 -0
  65. package/src/components/Timeline/Timeline.test.tsx +1 -0
  66. package/src/components/Title/Title.stories.tsx +3 -16
  67. package/src/components/Title/Title.test.tsx +1 -0
  68. package/src/components/Toast/Toast.test.tsx +1 -0
  69. package/src/components/Tooltip/Tooltip.test.tsx +1 -0
  70. package/src/components/TransferList/TransferList.test.tsx +1 -0
  71. package/src/components/Tree/Tree.test.tsx +1 -0
  72. package/src/utils/filterStylingProps.test.ts +85 -0
  73. package/src/utils/filterStylingProps.ts +1 -0
@@ -303,6 +303,7 @@ const Rr = [
303
303
  "gap",
304
304
  "rowGap",
305
305
  "columnGap",
306
+ "gutter",
306
307
  "top",
307
308
  "left",
308
309
  "bottom",
@@ -481,13 +482,13 @@ const Gr = "AssistiveElement-module__root___WhQ43", Hr = "AssistiveElement-modul
481
482
  overStyled: l = !1,
482
483
  ...i
483
484
  }, c) {
484
- const m = u(i, l), p = tt.root, P = t ? `${p} ${t}` : p, y = e === "error" ? Kr : qr;
485
+ const m = u(i, l), p = tt.root, C = t ? `${p} ${t}` : p, y = e === "error" ? Kr : qr;
485
486
  return /* @__PURE__ */ M(
486
487
  "div",
487
488
  {
488
489
  ref: c,
489
490
  ...m,
490
- className: P,
491
+ className: C,
491
492
  "data-variant": e,
492
493
  role: s ?? (e === "error" ? "alert" : void 0),
493
494
  style: m.style,
@@ -518,31 +519,31 @@ const Yr = "Label-module__root___e6HXZ", Zr = "Label-module__labelText___rieFR",
518
519
  overStyled: d = !1,
519
520
  ...m
520
521
  }, p) {
521
- const P = n || "left";
522
+ const C = n || "left";
522
523
  let y;
523
524
  o || (t === !0 ? y = "optional" : t && (y = t));
524
- const v = [
525
+ const N = [
525
526
  "size"
526
527
  // Recursica controls label sizing via `labelSize` + design tokens, not Mantine's native `size`.
527
- ], h = G(
528
+ ], v = G(
528
529
  u(m, d),
529
- v
530
- ), x = h, N = E(
530
+ N
531
+ ), S = v, b = E(
531
532
  {
532
533
  label: to.root,
533
534
  required: to.required
534
535
  },
535
- x.classNames
536
- ), w = x.className, $ = w ? `${to.root} ${w}` : to.root;
536
+ S.classNames
537
+ ), T = S.className, $ = T ? `${to.root} ${T}` : to.root;
537
538
  return /* @__PURE__ */ M(
538
539
  Ft.Label,
539
540
  {
540
541
  ref: p,
541
- ...h,
542
+ ...v,
542
543
  className: $,
543
- classNames: N,
544
+ classNames: b,
544
545
  "data-size": e,
545
- "data-alignment": P,
546
+ "data-alignment": C,
546
547
  required: o && !s,
547
548
  children: [
548
549
  /* @__PURE__ */ a("span", { className: to.labelText, children: c }),
@@ -632,26 +633,26 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
632
633
  description: d,
633
634
  assistiveText: m,
634
635
  assistiveWithIcon: p = !0,
635
- controlMaxWidth: P,
636
+ controlMaxWidth: C,
636
637
  controlMinWidth: y,
637
- error: v,
638
- required: h,
639
- withAsterisk: x,
640
- id: N,
641
- children: w,
638
+ error: N,
639
+ required: v,
640
+ withAsterisk: S,
641
+ id: b,
642
+ children: T,
642
643
  className: $,
643
- overStyled: T = !1,
644
- labelElement: C,
644
+ overStyled: g = !1,
645
+ labelElement: P,
645
646
  // Extracted safely preventing bleeding into HTML domains
646
647
  ...f
647
- }, b) {
648
- const g = Bt(), I = N || `recursica-fc-${g}`, L = m || d, B = L ? `${I}-assistive` : void 0, W = v ? `${I}-error` : void 0, Y = u(f, T), j = $ || Y.className, q = Lt.root, J = j ? `${q} ${j}` : q, H = K.isValidElement(w) ? K.cloneElement(
649
- w,
648
+ }, w) {
649
+ const h = Bt(), I = b || `recursica-fc-${h}`, L = m || d, B = L ? `${I}-assistive` : void 0, W = N ? `${I}-error` : void 0, Y = u(f, g), j = $ || Y.className, q = Lt.root, J = j ? `${q} ${j}` : q, H = K.isValidElement(T) ? K.cloneElement(
650
+ T,
650
651
  {
651
- ...L && !w.props["aria-describedby"] ? { "aria-describedby": B } : {},
652
- ...v && !w.props["aria-errormessage"] ? { "aria-errormessage": W } : {}
652
+ ...L && !T.props["aria-describedby"] ? { "aria-describedby": B } : {},
653
+ ...N && !T.props["aria-errormessage"] ? { "aria-errormessage": W } : {}
653
654
  }
654
- ) : w, Z = c ? /* @__PURE__ */ a(
655
+ ) : T, Z = c ? /* @__PURE__ */ a(
655
656
  ut,
656
657
  {
657
658
  id: I,
@@ -660,34 +661,34 @@ const as = "FormControlWrapper-module__root___c-UHo", rs = "FormControlWrapper-m
660
661
  labelWithEditIcon: s,
661
662
  labelActionArea: l,
662
663
  onLabelEditClick: i,
663
- required: x ?? h,
664
- ...C === "div" ? { as: "div" } : {},
664
+ required: S ?? v,
665
+ ...P === "div" ? { as: "div" } : {},
665
666
  children: c
666
667
  }
667
668
  ) : void 0;
668
669
  return /* @__PURE__ */ a(
669
670
  Ge,
670
671
  {
671
- ref: b,
672
+ ref: w,
672
673
  className: J,
673
674
  formLayout: e,
674
675
  labelSize: n,
675
- controlMaxWidth: P,
676
+ controlMaxWidth: C,
676
677
  controlMinWidth: y,
677
678
  leftSection: Z,
678
679
  ...Y,
679
680
  children: /* @__PURE__ */ M("div", { className: Lt.inputSection, children: [
680
681
  H,
681
- v && /* @__PURE__ */ a(
682
+ N && /* @__PURE__ */ a(
682
683
  Ho,
683
684
  {
684
685
  id: W,
685
686
  assistiveVariant: "error",
686
687
  assistiveWithIcon: p,
687
- children: v
688
+ children: N
688
689
  }
689
690
  ),
690
- !v && L && /* @__PURE__ */ a(
691
+ !N && L && /* @__PURE__ */ a(
691
692
  Ho,
692
693
  {
693
694
  id: B,
@@ -763,14 +764,14 @@ const pt = _(
763
764
  );
764
765
  break;
765
766
  }
766
- const v = s ? `${jo.layoutOverride} ${s}` : jo.layoutOverride;
767
+ const N = s ? `${jo.layoutOverride} ${s}` : jo.layoutOverride;
767
768
  return /* @__PURE__ */ a(
768
769
  go,
769
770
  {
770
771
  ref: c,
771
772
  ...m,
772
773
  overStyled: t,
773
- className: v,
774
+ className: N,
774
775
  style: l,
775
776
  children: d
776
777
  }
@@ -867,19 +868,19 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
867
868
  onLabelEditClick: d,
868
869
  label: m,
869
870
  assistiveText: p,
870
- assistiveWithIcon: P,
871
+ assistiveWithIcon: C,
871
872
  error: y,
872
- required: v,
873
- withAsterisk: h,
874
- id: x,
875
- className: N,
876
- style: w,
873
+ required: N,
874
+ withAsterisk: v,
875
+ id: S,
876
+ className: b,
877
+ style: T,
877
878
  disabled: $,
878
- readOnly: T,
879
- readOnlyComponent: C,
879
+ readOnly: g,
880
+ readOnlyComponent: P,
880
881
  emptyValueComponent: f,
881
- value: b,
882
- defaultValue: g,
882
+ value: w,
883
+ defaultValue: h,
883
884
  data: I,
884
885
  renderOption: L,
885
886
  wrapItemText: B = !1,
@@ -903,12 +904,12 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
903
904
  optionText: Ce.optionText,
904
905
  optionTextWrap: Ce.optionTextWrap,
905
906
  optionSupportingText: Ce.optionSupportingText
906
- }, H = N ? `${Ce.layoutOverride} ${N}` : Ce.layoutOverride;
907
+ }, H = b ? `${Ce.layoutOverride} ${b}` : Ce.layoutOverride;
907
908
  return /* @__PURE__ */ a(
908
909
  ve,
909
910
  {
910
911
  className: H,
911
- style: w,
912
+ style: T,
912
913
  controlMaxWidth: "var(--autocomplete-control-max-width)",
913
914
  controlMinWidth: "var(--autocomplete-control-min-width)",
914
915
  overStyled: o,
@@ -920,16 +921,16 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
920
921
  onLabelEditClick: d,
921
922
  label: m,
922
923
  assistiveText: p,
923
- assistiveWithIcon: P,
924
+ assistiveWithIcon: C,
924
925
  error: y,
925
- required: v,
926
- withAsterisk: h,
927
- id: x,
928
- readOnly: T,
929
- readOnlyComponent: C,
926
+ required: N,
927
+ withAsterisk: v,
928
+ id: S,
929
+ readOnly: g,
930
+ readOnlyComponent: P,
930
931
  emptyValueComponent: f,
931
932
  readOnlyType: "text",
932
- readOnlyValue: b !== void 0 ? b : g,
933
+ readOnlyValue: w !== void 0 ? w : h,
933
934
  readOnlyNativeProps: e,
934
935
  activeComponent: (
935
936
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
@@ -940,8 +941,8 @@ const is = "AutoComplete-module__layoutOverride___-K9WL", cs = "AutoComplete-mod
940
941
  ...A,
941
942
  classNames: q,
942
943
  disabled: $,
943
- value: b,
944
- defaultValue: g,
944
+ value: w,
945
+ defaultValue: h,
945
946
  error: !!y,
946
947
  data: j,
947
948
  renderOption: L ?? ((Z) => en(Z, J, B))
@@ -981,33 +982,33 @@ const bs = "Avatar-module__root___fXu-J", Cs = "Avatar-module__iconWrapper___ojl
981
982
  // Colors are token-driven via `data-variant`; Mantine's native palette isn't exposed.
982
983
  "radius"
983
984
  // Avatar corner radius is controlled by design tokens, not a raw radius prop.
984
- ], P = G(
985
+ ], C = G(
985
986
  u(i, l),
986
987
  p
987
- ), y = P;
988
- let v = "text";
989
- s ? v = "image" : o && (v = "icon");
990
- const h = E(
988
+ ), y = C;
989
+ let N = "text";
990
+ s ? N = "image" : o && (N = "icon");
991
+ const v = E(
991
992
  {
992
993
  root: To.root,
993
994
  image: To.image,
994
995
  placeholder: To.placeholder
995
996
  },
996
997
  y.classNames
997
- ), x = y.className;
998
+ ), S = y.className;
998
999
  return /* @__PURE__ */ a(
999
1000
  Qa,
1000
1001
  {
1001
1002
  ref: c,
1002
- ...P,
1003
- className: x,
1004
- classNames: h,
1003
+ ...C,
1004
+ className: S,
1005
+ classNames: v,
1005
1006
  variant: d[n],
1006
1007
  size: m[e],
1007
1008
  src: s,
1008
1009
  "data-variant": n,
1009
1010
  "data-size": e,
1010
- "data-style": v,
1011
+ "data-style": N,
1011
1012
  children: o != null ? /* @__PURE__ */ a("span", { className: To.iconWrapper, "aria-hidden": !0, children: o }) : t != null ? /* @__PURE__ */ a("span", { className: To.textWrapper, children: t }) : void 0
1012
1013
  }
1013
1014
  );
@@ -1084,7 +1085,7 @@ const Os = "Loader-module__root___6iYOP", nt = {
1084
1085
  }[n] || "default", c = u(t, o), d = c, m = E(
1085
1086
  { root: nt.root },
1086
1087
  d.classNames
1087
- ), p = d.className, P = p ? `${nt.root} ${p}` : nt.root;
1088
+ ), p = d.className, C = p ? `${nt.root} ${p}` : nt.root;
1088
1089
  return /* @__PURE__ */ a(
1089
1090
  er,
1090
1091
  {
@@ -1093,7 +1094,7 @@ const Os = "Loader-module__root___6iYOP", nt = {
1093
1094
  type: e,
1094
1095
  "data-variant": e,
1095
1096
  "data-size": i,
1096
- className: P,
1097
+ className: C,
1097
1098
  classNames: m
1098
1099
  }
1099
1100
  );
@@ -1125,51 +1126,51 @@ const sn = _(function({
1125
1126
  solid: "filled",
1126
1127
  outline: "outline",
1127
1128
  text: "subtle"
1128
- }, P = {
1129
+ }, C = {
1129
1130
  default: "md",
1130
1131
  small: "sm"
1131
1132
  }, y = [
1132
1133
  "fullWidth"
1133
1134
  // Recursica Button width comes from layout/token constraints, not Mantine's boolean fullWidth toggle.
1134
- ], v = G(
1135
+ ], N = G(
1135
1136
  u(d, s),
1136
1137
  y
1137
- ), h = v, x = !!o || !!h.leftSection, N = !!h.rightSection, w = Ws(t), $ = (x || N) && !w;
1138
- let T = "label";
1139
- $ ? T = "icon-only" : (x || N) && (T = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !h["aria-label"] && console.warn(
1138
+ ), v = N, S = !!o || !!v.leftSection, b = !!v.rightSection, T = Ws(t), $ = (S || b) && !T;
1139
+ let g = "label";
1140
+ $ ? g = "icon-only" : (S || b) && (g = "icon-label"), typeof process < "u" && process.env.NODE_ENV !== "production" && $ && !v["aria-label"] && console.warn(
1140
1141
  '[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
1141
1142
  );
1142
- const C = E(
1143
+ const P = E(
1143
1144
  {
1144
1145
  root: no.root,
1145
1146
  section: no.section,
1146
1147
  label: no.label,
1147
1148
  loader: no.loader
1148
1149
  },
1149
- h.classNames
1150
- ), f = h.className, b = f ? `${no.root} ${f}` : no.root, g = h.loaderProps, I = me(
1150
+ v.classNames
1151
+ ), f = v.className, w = f ? `${no.root} ${f}` : no.root, h = v.loaderProps, I = me(
1151
1152
  n === "small" ? "small" : "default",
1152
1153
  i
1153
1154
  );
1154
- let L = g;
1155
+ let L = h;
1155
1156
  return c && (L = {
1156
1157
  children: /* @__PURE__ */ a(mt, { variant: l, size: I }),
1157
- ...g
1158
+ ...h
1158
1159
  }), /* @__PURE__ */ a(
1159
1160
  or,
1160
1161
  {
1161
1162
  ref: m,
1162
- ...v,
1163
- className: b,
1164
- classNames: C,
1163
+ ...N,
1164
+ className: w,
1165
+ classNames: P,
1165
1166
  variant: p[e],
1166
- size: P[n],
1167
+ size: C[n],
1167
1168
  loaderProps: L,
1168
1169
  leftSection: o != null ? /* @__PURE__ */ a("span", { className: no.iconWrapper, "aria-hidden": !0, children: o }) : void 0,
1169
1170
  "data-variant": e,
1170
1171
  "data-size": n,
1171
- "data-content": T,
1172
- disabled: !!h.disabled || !!h.loading,
1172
+ "data-content": g,
1173
+ disabled: !!v.disabled || !!v.loading,
1173
1174
  children: /* @__PURE__ */ a("span", { className: no.labelText, children: t })
1174
1175
  }
1175
1176
  );
@@ -1318,19 +1319,19 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
1318
1319
  // Base Mantine Extracted Attributes
1319
1320
  label: m,
1320
1321
  description: p,
1321
- assistiveText: P,
1322
+ assistiveText: C,
1322
1323
  assistiveWithIcon: y,
1323
- error: v,
1324
- required: h,
1325
- withAsterisk: x,
1326
- id: N,
1327
- className: w,
1324
+ error: N,
1325
+ required: v,
1326
+ withAsterisk: S,
1327
+ id: b,
1328
+ className: T,
1328
1329
  style: $,
1329
- children: T,
1330
- readOnly: C,
1330
+ children: g,
1331
+ readOnly: P,
1331
1332
  readOnlyComponent: f,
1332
- emptyValueComponent: b,
1333
- value: g,
1333
+ emptyValueComponent: w,
1334
+ value: h,
1334
1335
  defaultValue: I,
1335
1336
  ...L
1336
1337
  } = e, B = [
@@ -1343,7 +1344,7 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
1343
1344
  return /* @__PURE__ */ a(
1344
1345
  ve,
1345
1346
  {
1346
- className: w,
1347
+ className: T,
1347
1348
  style: $,
1348
1349
  controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
1349
1350
  controlMinWidth: void 0,
@@ -1357,27 +1358,27 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
1357
1358
  onLabelEditClick: d,
1358
1359
  label: m,
1359
1360
  description: p,
1360
- assistiveText: P,
1361
+ assistiveText: C,
1361
1362
  assistiveWithIcon: y,
1362
- error: v,
1363
- required: h,
1364
- withAsterisk: x,
1365
- id: N,
1366
- readOnly: C && !!f,
1363
+ error: N,
1364
+ required: v,
1365
+ withAsterisk: S,
1366
+ id: b,
1367
+ readOnly: P && !!f,
1367
1368
  readOnlyComponent: f,
1368
- emptyValueComponent: b,
1369
+ emptyValueComponent: w,
1369
1370
  readOnlyType: "text",
1370
- readOnlyValue: g !== void 0 ? g : I,
1371
+ readOnlyValue: h !== void 0 ? h : I,
1371
1372
  readOnlyNativeProps: e,
1372
- activeComponent: g !== void 0 || I !== void 0 ? /* @__PURE__ */ a(
1373
+ activeComponent: h !== void 0 || I !== void 0 ? /* @__PURE__ */ a(
1373
1374
  Ut.Group,
1374
1375
  {
1375
1376
  ref: n,
1376
1377
  ...W,
1377
- disabled: C || A.disabled,
1378
- value: g,
1378
+ disabled: P || A.disabled,
1379
+ value: h,
1379
1380
  defaultValue: I,
1380
- children: /* @__PURE__ */ a("div", { className: ke.groupRoot, "data-layout": t, children: T })
1381
+ children: /* @__PURE__ */ a("div", { className: ke.groupRoot, "data-layout": t, children: g })
1381
1382
  }
1382
1383
  ) : /* @__PURE__ */ a(
1383
1384
  "div",
@@ -1387,7 +1388,7 @@ const Vs = _n, Gs = "Checkbox-module__groupRoot___cBS0o", Hs = "Checkbox-module_
1387
1388
  role: "group",
1388
1389
  className: ke.groupRoot,
1389
1390
  "data-layout": t,
1390
- children: T
1391
+ children: g
1391
1392
  }
1392
1393
  )
1393
1394
  }
@@ -1407,7 +1408,7 @@ const Lo = _(
1407
1408
  controlMaxWidth: d,
1408
1409
  controlMinWidth: m,
1409
1410
  ...p
1410
- } = e, P = [
1411
+ } = e, C = [
1411
1412
  "size",
1412
1413
  // Recursica controls sizing via Checkbox.module.css variables, not Mantine's native size scale.
1413
1414
  "color",
@@ -1420,8 +1421,8 @@ const Lo = _(
1420
1421
  // Icon color is token-driven via Checkbox.module.css, not a native Mantine override.
1421
1422
  ], y = G(
1422
1423
  u(p, o),
1423
- P
1424
- ), v = y, h = E(
1424
+ C
1425
+ ), N = y, v = E(
1425
1426
  {
1426
1427
  root: ke.root,
1427
1428
  body: ke.body,
@@ -1431,15 +1432,15 @@ const Lo = _(
1431
1432
  labelWrapper: ke.labelWrapper,
1432
1433
  label: ke.label
1433
1434
  },
1434
- v.classNames
1435
- ), x = v.className, N = x ? `${ke.root} ${x}` : ke.root;
1435
+ N.classNames
1436
+ ), S = N.className, b = S ? `${ke.root} ${S}` : ke.root;
1436
1437
  if (t && s) {
1437
- const $ = !!(v.checked ?? v.defaultChecked), C = /* @__PURE__ */ a(
1438
+ const $ = !!(N.checked ?? N.defaultChecked), P = /* @__PURE__ */ a(
1438
1439
  s,
1439
1440
  {
1440
1441
  ...e,
1441
1442
  checked: $,
1442
- label: v.label
1443
+ label: N.label
1443
1444
  }
1444
1445
  );
1445
1446
  return i ? /* @__PURE__ */ a(
@@ -1449,17 +1450,17 @@ const Lo = _(
1449
1450
  labelSize: c,
1450
1451
  controlMaxWidth: d,
1451
1452
  controlMinWidth: m,
1452
- children: C
1453
+ children: P
1453
1454
  }
1454
- ) : /* @__PURE__ */ a(No, { children: C });
1455
+ ) : /* @__PURE__ */ a(No, { children: P });
1455
1456
  }
1456
- const w = /* @__PURE__ */ a(
1457
+ const T = /* @__PURE__ */ a(
1457
1458
  Ut,
1458
1459
  {
1459
1460
  ref: n,
1460
1461
  ...y,
1461
- className: N,
1462
- classNames: h,
1462
+ className: b,
1463
+ classNames: v,
1463
1464
  disabled: t || l
1464
1465
  }
1465
1466
  );
@@ -1470,9 +1471,9 @@ const Lo = _(
1470
1471
  labelSize: c,
1471
1472
  controlMaxWidth: d,
1472
1473
  controlMinWidth: m,
1473
- children: w
1474
+ children: T
1474
1475
  }
1475
- ) : w;
1476
+ ) : T;
1476
1477
  }
1477
1478
  );
1478
1479
  Lo.displayName = "Checkbox";
@@ -1515,13 +1516,14 @@ const Ao = _(function({
1515
1516
  deleteTabIndex: s,
1516
1517
  deleteIconRef: l,
1517
1518
  children: i,
1518
- overStyled: c = !1,
1519
- wrapperProps: d,
1520
- tabIndex: m,
1521
- "aria-hidden": p,
1522
- ...P
1523
- }, y) {
1524
- const v = u(P, c), h = v, x = E(
1519
+ checked: c,
1520
+ overStyled: d = !1,
1521
+ wrapperProps: m,
1522
+ tabIndex: p,
1523
+ "aria-hidden": C,
1524
+ ...y
1525
+ }, N) {
1526
+ const v = u(y, d), S = v, b = E(
1525
1527
  {
1526
1528
  root: Oe.root,
1527
1529
  label: Oe.label,
@@ -1529,30 +1531,31 @@ const Ao = _(function({
1529
1531
  iconWrapper: Oe.mantineIconWrapper,
1530
1532
  checkIcon: Oe.checkIcon
1531
1533
  },
1532
- h.classNames
1533
- ), N = h.className, w = N ? `${Oe.root} ${N}` : Oe.root, $ = e ? "" : void 0, T = !i && (!!n || !!o), C = o !== void 0 || h.onClick !== void 0 || h.onChange !== void 0, f = {
1534
- ...$ !== void 0 ? { "data-error": "" } : {},
1535
- ...C ? { "data-interactive": "" } : {}
1534
+ S.classNames
1535
+ ), T = S.className, $ = T ? `${Oe.root} ${T}` : Oe.root, g = e ? "" : void 0, P = !i && (!!n || !!o), f = o !== void 0 || S.onClick !== void 0 || S.onChange !== void 0, w = {
1536
+ ...g !== void 0 ? { "data-error": "" } : {},
1537
+ ...f ? { "data-interactive": "" } : {}
1536
1538
  };
1537
1539
  return /* @__PURE__ */ a(
1538
1540
  tr,
1539
1541
  {
1540
- ref: y,
1542
+ ref: N,
1541
1543
  ...v,
1542
- className: w,
1543
- classNames: x,
1544
- wrapperProps: me(f, d),
1545
- "data-icon-only": T ? "" : void 0,
1544
+ checked: c,
1545
+ className: $,
1546
+ classNames: b,
1547
+ wrapperProps: me(w, m),
1548
+ "data-icon-only": P ? "" : void 0,
1546
1549
  tabIndex: me(
1547
- C ? void 0 : -1,
1548
- m
1550
+ f ? void 0 : -1,
1551
+ p
1549
1552
  ),
1550
1553
  "aria-hidden": me(
1551
- C ? void 0 : !0,
1552
- p
1554
+ f ? void 0 : !0,
1555
+ C
1553
1556
  ),
1554
1557
  children: /* @__PURE__ */ M("span", { className: Oe.innerWrapper, children: [
1555
- n && /* @__PURE__ */ a("span", { className: Oe.leadingIcon, "aria-hidden": !0, children: n }),
1558
+ n && !c && /* @__PURE__ */ a("span", { className: Oe.leadingIcon, "aria-hidden": !0, children: n }),
1556
1559
  /* @__PURE__ */ a("span", { className: Oe.children, children: i }),
1557
1560
  o && /* @__PURE__ */ a(
1558
1561
  "span",
@@ -1560,13 +1563,13 @@ const Ao = _(function({
1560
1563
  ref: l,
1561
1564
  role: "button",
1562
1565
  className: Oe.deleteIcon,
1563
- onClick: (b) => {
1564
- b.preventDefault(), b.stopPropagation(), o(b);
1566
+ onClick: (h) => {
1567
+ h.preventDefault(), h.stopPropagation(), o(h);
1565
1568
  },
1566
1569
  "aria-label": t,
1567
- onKeyDown: (b) => {
1568
- (b.key === "Enter" || b.key === " ") && (b.preventDefault(), b.stopPropagation(), o(
1569
- b
1570
+ onKeyDown: (h) => {
1571
+ (h.key === "Enter" || h.key === " ") && (h.preventDefault(), h.stopPropagation(), o(
1572
+ h
1570
1573
  ));
1571
1574
  },
1572
1575
  tabIndex: s ?? 0,
@@ -1666,19 +1669,19 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
1666
1669
  onLabelEditClick: d,
1667
1670
  label: m,
1668
1671
  assistiveText: p,
1669
- assistiveWithIcon: P,
1672
+ assistiveWithIcon: C,
1670
1673
  error: y,
1671
- required: v,
1672
- withAsterisk: h,
1673
- id: x,
1674
- className: N,
1675
- style: w,
1674
+ required: N,
1675
+ withAsterisk: v,
1676
+ id: S,
1677
+ className: b,
1678
+ style: T,
1676
1679
  disabled: $,
1677
- readOnly: T,
1678
- readOnlyComponent: C,
1680
+ readOnly: g,
1681
+ readOnlyComponent: P,
1679
1682
  emptyValueComponent: f,
1680
- value: b,
1681
- defaultValue: g,
1683
+ value: w,
1684
+ defaultValue: h,
1682
1685
  highlightToday: I = !0,
1683
1686
  // Default on so today is visually marked; consumers can still override.
1684
1687
  valueFormat: L = "MM/DD/YY",
@@ -1713,12 +1716,12 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
1713
1716
  { dropdown: Pe.dropdown },
1714
1717
  Z
1715
1718
  )
1716
- }, ue = N ? `${Pe.layoutOverride} ${N}` : Pe.layoutOverride;
1719
+ }, ue = b ? `${Pe.layoutOverride} ${b}` : Pe.layoutOverride;
1717
1720
  return /* @__PURE__ */ a(
1718
1721
  ve,
1719
1722
  {
1720
1723
  className: ue,
1721
- style: w,
1724
+ style: T,
1722
1725
  controlMaxWidth: void 0,
1723
1726
  controlMinWidth: void 0,
1724
1727
  overStyled: o,
@@ -1730,16 +1733,16 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
1730
1733
  onLabelEditClick: d,
1731
1734
  label: m,
1732
1735
  assistiveText: p,
1733
- assistiveWithIcon: P,
1736
+ assistiveWithIcon: C,
1734
1737
  error: y,
1735
- required: v,
1736
- withAsterisk: h,
1737
- id: x,
1738
- readOnly: T,
1739
- readOnlyComponent: C,
1738
+ required: N,
1739
+ withAsterisk: v,
1740
+ id: S,
1741
+ readOnly: g,
1742
+ readOnlyComponent: P,
1740
1743
  emptyValueComponent: f,
1741
1744
  readOnlyType: "text",
1742
- readOnlyValue: b !== void 0 ? String(b) : g ? String(g) : void 0,
1745
+ readOnlyValue: w !== void 0 ? String(w) : h ? String(h) : void 0,
1743
1746
  readOnlyNativeProps: e,
1744
1747
  activeComponent: (
1745
1748
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
@@ -1750,8 +1753,8 @@ const il = "DatePicker-module__layoutOverride___X9yaM", cl = "DatePicker-module_
1750
1753
  ...Y,
1751
1754
  classNames: q,
1752
1755
  disabled: $,
1753
- value: b,
1754
- defaultValue: g,
1756
+ value: w,
1757
+ defaultValue: h,
1755
1758
  label: void 0,
1756
1759
  description: void 0,
1757
1760
  error: void 0,
@@ -1809,19 +1812,19 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
1809
1812
  labelWithEditIcon: d,
1810
1813
  onLabelEditClick: m,
1811
1814
  label: p,
1812
- assistiveText: P,
1815
+ assistiveText: C,
1813
1816
  assistiveWithIcon: y,
1814
- error: v,
1815
- required: h,
1816
- withAsterisk: x,
1817
- id: N,
1818
- className: w,
1817
+ error: N,
1818
+ required: v,
1819
+ withAsterisk: S,
1820
+ id: b,
1821
+ className: T,
1819
1822
  style: $,
1820
- disabled: T,
1821
- readOnly: C,
1823
+ disabled: g,
1824
+ readOnly: P,
1822
1825
  readOnlyComponent: f,
1823
- emptyValueComponent: b,
1824
- value: g,
1826
+ emptyValueComponent: w,
1827
+ value: h,
1825
1828
  defaultValue: I,
1826
1829
  data: L,
1827
1830
  clearButtonProps: B,
@@ -1853,7 +1856,7 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
1853
1856
  }, D = {
1854
1857
  ...$ || {},
1855
1858
  width: s || "100%"
1856
- }, re = w ? `${oe.layoutOverride} ${w}` : oe.layoutOverride;
1859
+ }, re = T ? `${oe.layoutOverride} ${T}` : oe.layoutOverride;
1857
1860
  return /* @__PURE__ */ a(
1858
1861
  ve,
1859
1862
  {
@@ -1869,17 +1872,17 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
1869
1872
  labelWithEditIcon: d,
1870
1873
  onLabelEditClick: m,
1871
1874
  label: p,
1872
- assistiveText: P,
1875
+ assistiveText: C,
1873
1876
  assistiveWithIcon: y,
1874
- error: v,
1875
- required: h,
1876
- withAsterisk: x,
1877
- id: N,
1878
- readOnly: C,
1877
+ error: N,
1878
+ required: v,
1879
+ withAsterisk: S,
1880
+ id: b,
1881
+ readOnly: P,
1879
1882
  readOnlyComponent: f,
1880
- emptyValueComponent: b,
1883
+ emptyValueComponent: w,
1881
1884
  readOnlyType: "text",
1882
- readOnlyValue: g !== void 0 ? String(g) : I ? String(I) : void 0,
1885
+ readOnlyValue: h !== void 0 ? String(h) : I ? String(I) : void 0,
1883
1886
  readOnlyNativeProps: e,
1884
1887
  activeComponent: (
1885
1888
  /* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
@@ -1889,8 +1892,8 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
1889
1892
  ref: n,
1890
1893
  ...j,
1891
1894
  classNames: te,
1892
- disabled: T,
1893
- value: g,
1895
+ disabled: g,
1896
+ value: h,
1894
1897
  defaultValue: I,
1895
1898
  data: J || [],
1896
1899
  renderOption: W ?? ((pe) => en(pe, ue, A)),
@@ -1902,8 +1905,8 @@ const bl = "Dropdown-module__layoutOverride___FNcvP", Cl = "Dropdown-module__roo
1902
1905
  withAsterisk: void 0,
1903
1906
  attributes: {
1904
1907
  wrapper: {
1905
- "data-disabled": T ? "true" : void 0,
1906
- "data-error": v ? "true" : void 0
1908
+ "data-disabled": g ? "true" : void 0,
1909
+ "data-error": N ? "true" : void 0
1907
1910
  }
1908
1911
  }
1909
1912
  }
@@ -1976,19 +1979,19 @@ const vn = _(
1976
1979
  labelActionArea: d,
1977
1980
  onLabelEditClick: m,
1978
1981
  label: p,
1979
- assistiveText: P,
1982
+ assistiveText: C,
1980
1983
  assistiveWithIcon: y,
1981
- error: v,
1982
- required: h,
1983
- withAsterisk: x,
1984
- id: N,
1985
- className: w,
1984
+ error: N,
1985
+ required: v,
1986
+ withAsterisk: S,
1987
+ id: b,
1988
+ className: T,
1986
1989
  style: $,
1987
- disabled: T,
1988
- readOnly: C,
1990
+ disabled: g,
1991
+ readOnly: P,
1989
1992
  files: f,
1990
- onFilesAdded: b,
1991
- onFileRemove: g,
1993
+ onFilesAdded: w,
1994
+ onFileRemove: h,
1992
1995
  accept: I,
1993
1996
  multiple: L = !1,
1994
1997
  maxSize: B,
@@ -2003,9 +2006,9 @@ const vn = _(
2003
2006
  removeFileLabel: te = "Remove",
2004
2007
  clearLabel: ue = "Clear",
2005
2008
  ...D
2006
- } = e, pe = u(D, o), O = !T && !C, le = !!f && f.length > 0, Ne = Ve(null), [se, ie] = ce(!1), [be, $e] = ce(!1), Qe = (S) => {
2009
+ } = e, pe = u(D, o), O = !g && !P, le = !!f && f.length > 0, Ne = Ve(null), [se, ie] = ce(!1), [be, $e] = ce(!1), Qe = (x) => {
2007
2010
  if (!O) return;
2008
- const ne = Array.from(S);
2011
+ const ne = Array.from(x);
2009
2012
  if (ne.length === 0) return;
2010
2013
  const ae = L ? W : 1, X = L ? (f == null ? void 0 : f.length) ?? 0 : 0, fe = [], zo = [];
2011
2014
  let wt = !1, St = !1;
@@ -2015,41 +2018,41 @@ const vn = _(
2015
2018
  const Ka = B !== void 0 && ot.size > B, Ot = ae !== void 0 && X + fe.length >= ae;
2016
2019
  Ot && (St = !0), (xt || Ka || Ot ? zo : fe).push(ot);
2017
2020
  }
2018
- ie(wt), $e(St), fe.length > 0 && (b == null || b(fe)), zo.length > 0 && (A == null || A(zo));
2019
- }, we = Ve(0), [Xe, Ee] = ce(!1), Be = (S) => {
2020
- S.preventDefault(), we.current += 1, Ee(!0);
2021
- }, po = (S) => {
2022
- S.preventDefault(), we.current -= 1, we.current <= 0 && (we.current = 0, Ee(!1));
2023
- }, Se = (S) => {
2024
- S.preventDefault();
2025
- }, Je = (S) => {
2026
- S.preventDefault(), we.current = 0, Ee(!1), Qe(S.dataTransfer.files);
2021
+ ie(wt), $e(St), fe.length > 0 && (w == null || w(fe)), zo.length > 0 && (A == null || A(zo));
2022
+ }, we = Ve(0), [Xe, Ee] = ce(!1), Be = (x) => {
2023
+ x.preventDefault(), we.current += 1, Ee(!0);
2024
+ }, po = (x) => {
2025
+ x.preventDefault(), we.current -= 1, we.current <= 0 && (we.current = 0, Ee(!1));
2026
+ }, Se = (x) => {
2027
+ x.preventDefault();
2028
+ }, Je = (x) => {
2029
+ x.preventDefault(), we.current = 0, Ee(!1), Qe(x.dataTransfer.files);
2027
2030
  }, xe = () => {
2028
- var S;
2029
- O && ((S = Ne.current) == null || S.click());
2030
- }, eo = (S) => {
2031
- S.key !== "Enter" && S.key !== " " || (S.preventDefault(), xe());
2032
- }, V = (S) => {
2033
- S.target.files && Qe(S.target.files), S.target.value = "";
2031
+ var x;
2032
+ O && ((x = Ne.current) == null || x.click());
2033
+ }, eo = (x) => {
2034
+ x.key !== "Enter" && x.key !== " " || (x.preventDefault(), xe());
2035
+ }, V = (x) => {
2036
+ x.target.files && Qe(x.target.files), x.target.value = "";
2034
2037
  }, F = () => {
2035
- !O || !f || f.length === 0 || f.forEach((S) => g == null ? void 0 : g(S.id ?? S.file.name));
2038
+ !O || !f || f.length === 0 || f.forEach((x) => h == null ? void 0 : h(x.id ?? x.file.name));
2036
2039
  }, [z, k] = ce(0), U = Ve([]), Q = Ve((f == null ? void 0 : f.length) ?? 0);
2037
2040
  Ie(() => {
2038
2041
  var ne;
2039
- const S = (f == null ? void 0 : f.length) ?? 0;
2040
- if (S > 0 && S < Q.current) {
2041
- const ae = Math.min(z, S - 1);
2042
+ const x = (f == null ? void 0 : f.length) ?? 0;
2043
+ if (x > 0 && x < Q.current) {
2044
+ const ae = Math.min(z, x - 1);
2042
2045
  k(ae), (ne = U.current[ae]) == null || ne.focus();
2043
2046
  }
2044
- Q.current = S;
2047
+ Q.current = x;
2045
2048
  }, [f]);
2046
- const _e = (S) => {
2049
+ const _e = (x) => {
2047
2050
  var X;
2048
2051
  const ne = (f == null ? void 0 : f.length) ?? 0;
2049
2052
  if (ne === 0) return;
2050
2053
  let ae;
2051
- S.key === "ArrowRight" || S.key === "ArrowDown" ? ae = (z + 1) % ne : (S.key === "ArrowLeft" || S.key === "ArrowUp") && (ae = (z - 1 + ne) % ne), ae !== void 0 && (S.preventDefault(), S.stopPropagation(), k(ae), (X = U.current[ae]) == null || X.focus());
2052
- }, oo = v ?? (se ? Y : be ? j : void 0), mo = w ? `${Fe.layoutOverride} ${w}` : Fe.layoutOverride;
2054
+ x.key === "ArrowRight" || x.key === "ArrowDown" ? ae = (z + 1) % ne : (x.key === "ArrowLeft" || x.key === "ArrowUp") && (ae = (z - 1 + ne) % ne), ae !== void 0 && (x.preventDefault(), x.stopPropagation(), k(ae), (X = U.current[ae]) == null || X.focus());
2055
+ }, oo = N ?? (se ? Y : be ? j : void 0), mo = T ? `${Fe.layoutOverride} ${T}` : Fe.layoutOverride;
2053
2056
  return /* @__PURE__ */ a(
2054
2057
  go,
2055
2058
  {
@@ -2064,12 +2067,12 @@ const vn = _(
2064
2067
  labelActionArea: d,
2065
2068
  onLabelEditClick: m,
2066
2069
  label: p,
2067
- assistiveText: P,
2070
+ assistiveText: C,
2068
2071
  assistiveWithIcon: y,
2069
2072
  error: oo,
2070
- required: h,
2071
- withAsterisk: x,
2072
- id: N,
2073
+ required: v,
2074
+ withAsterisk: S,
2075
+ id: b,
2073
2076
  controlMaxWidth: "var(--file-input-control-max-width)",
2074
2077
  controlMinWidth: "var(--file-input-control-min-width)",
2075
2078
  children: /* @__PURE__ */ M(
@@ -2080,10 +2083,10 @@ const vn = _(
2080
2083
  className: Fe.root,
2081
2084
  role: "button",
2082
2085
  "aria-label": Z,
2083
- "aria-disabled": T ? "true" : void 0,
2086
+ "aria-disabled": g ? "true" : void 0,
2084
2087
  tabIndex: O ? 0 : -1,
2085
- "data-disabled": T ? "true" : void 0,
2086
- "data-readonly": C ? "true" : void 0,
2088
+ "data-disabled": g ? "true" : void 0,
2089
+ "data-readonly": P ? "true" : void 0,
2087
2090
  "data-error": oo ? "true" : void 0,
2088
2091
  "data-dragging": Xe ? "true" : void 0,
2089
2092
  onClick: O ? xe : void 0,
@@ -2100,9 +2103,9 @@ const vn = _(
2100
2103
  "div",
2101
2104
  {
2102
2105
  className: Fe.chipRow,
2103
- onKeyDown: C ? void 0 : _e,
2104
- children: f.map((S, ne) => {
2105
- const ae = S.id ?? S.file.name;
2106
+ onKeyDown: P ? void 0 : _e,
2107
+ children: f.map((x, ne) => {
2108
+ const ae = x.id ?? x.file.name;
2106
2109
  return /* @__PURE__ */ a(
2107
2110
  "span",
2108
2111
  {
@@ -2113,13 +2116,13 @@ const vn = _(
2113
2116
  {
2114
2117
  checked: !1,
2115
2118
  tabIndex: -1,
2116
- deleteLabel: C ? void 0 : te,
2117
- deleteTabIndex: !C && ne === z ? 0 : -1,
2119
+ deleteLabel: P ? void 0 : te,
2120
+ deleteTabIndex: !P && ne === z ? 0 : -1,
2118
2121
  deleteIconRef: (X) => {
2119
2122
  U.current[ne] = X;
2120
2123
  },
2121
- onDelete: C || T ? void 0 : () => g == null ? void 0 : g(ae),
2122
- children: S.file.name
2124
+ onDelete: P || g ? void 0 : () => h == null ? void 0 : h(ae),
2125
+ children: x.file.name
2123
2126
  }
2124
2127
  )
2125
2128
  },
@@ -2129,7 +2132,7 @@ const vn = _(
2129
2132
  }
2130
2133
  )
2131
2134
  ] }),
2132
- le && !C && /* @__PURE__ */ a(
2135
+ le && !P && /* @__PURE__ */ a(
2133
2136
  co,
2134
2137
  {
2135
2138
  overStyled: !0,
@@ -2138,12 +2141,12 @@ const vn = _(
2138
2141
  icon: J ?? /* @__PURE__ */ a(Ul, {}),
2139
2142
  "aria-label": ue,
2140
2143
  className: Fe.trailingIcon,
2141
- disabled: T,
2142
- onClick: (S) => {
2143
- S.preventDefault(), S.stopPropagation(), F();
2144
+ disabled: g,
2145
+ onClick: (x) => {
2146
+ x.preventDefault(), x.stopPropagation(), F();
2144
2147
  },
2145
- onKeyDown: (S) => {
2146
- S.key !== "Enter" && S.key !== " " || (S.preventDefault(), S.stopPropagation(), F());
2148
+ onKeyDown: (x) => {
2149
+ x.key !== "Enter" && x.key !== " " || (x.preventDefault(), x.stopPropagation(), F());
2147
2150
  }
2148
2151
  }
2149
2152
  ),
@@ -2208,19 +2211,19 @@ const Nn = _(
2208
2211
  labelActionArea: d,
2209
2212
  onLabelEditClick: m,
2210
2213
  label: p,
2211
- assistiveText: P,
2214
+ assistiveText: C,
2212
2215
  assistiveWithIcon: y,
2213
- error: v,
2214
- required: h,
2215
- withAsterisk: x,
2216
- id: N,
2217
- className: w,
2216
+ error: N,
2217
+ required: v,
2218
+ withAsterisk: S,
2219
+ id: b,
2220
+ className: T,
2218
2221
  style: $,
2219
- disabled: T,
2220
- readOnly: C,
2222
+ disabled: g,
2223
+ readOnly: P,
2221
2224
  files: f,
2222
- onFilesAdded: b,
2223
- onFileRemove: g,
2225
+ onFilesAdded: w,
2226
+ onFileRemove: h,
2224
2227
  accept: I,
2225
2228
  multiple: L = !0,
2226
2229
  maxSize: B,
@@ -2234,18 +2237,18 @@ const Nn = _(
2234
2237
  removeFileLabel: Z = "Remove",
2235
2238
  ...te
2236
2239
  } = e, D = u(te, o), re = Ve(null), [pe, O] = ce(!1), [le, Ne] = ce(!1), se = (k) => {
2237
- if (T) return;
2240
+ if (g) return;
2238
2241
  const U = Array.from(k);
2239
2242
  if (U.length === 0) return;
2240
2243
  const Q = (f == null ? void 0 : f.length) ?? 0, _e = [], oo = [];
2241
- let mo = !1, S = !1;
2244
+ let mo = !1, x = !1;
2242
2245
  for (const ne of U) {
2243
2246
  const ae = !Zt(ne, I);
2244
2247
  ae && (mo = !0);
2245
2248
  const X = B !== void 0 && ne.size > B, fe = W !== void 0 && Q + _e.length >= W;
2246
- fe && (S = !0), (ae || X || fe ? oo : _e).push(ne);
2249
+ fe && (x = !0), (ae || X || fe ? oo : _e).push(ne);
2247
2250
  }
2248
- O(mo), Ne(S), _e.length > 0 && (b == null || b(_e)), oo.length > 0 && (A == null || A(oo));
2251
+ O(mo), Ne(x), _e.length > 0 && (w == null || w(_e)), oo.length > 0 && (A == null || A(oo));
2249
2252
  }, ie = Ve(0), [be, $e] = ce(!1), Qe = (k) => {
2250
2253
  k.preventDefault(), ie.current += 1, $e(!0);
2251
2254
  }, we = (k) => {
@@ -2256,7 +2259,7 @@ const Nn = _(
2256
2259
  k.preventDefault(), ie.current = 0, $e(!1), se(k.dataTransfer.files);
2257
2260
  }, Be = () => {
2258
2261
  var k;
2259
- T || (k = re.current) == null || k.click();
2262
+ g || (k = re.current) == null || k.click();
2260
2263
  }, po = (k) => {
2261
2264
  k.target.files && se(k.target.files), k.target.value = "";
2262
2265
  }, [Se, Je] = ce(0), xe = Ve([]), eo = Ve((f == null ? void 0 : f.length) ?? 0);
@@ -2275,7 +2278,7 @@ const Nn = _(
2275
2278
  if (U === 0) return;
2276
2279
  let Q;
2277
2280
  k.key === "ArrowRight" || k.key === "ArrowDown" ? Q = (Se + 1) % U : (k.key === "ArrowLeft" || k.key === "ArrowUp") && (Q = (Se - 1 + U) % U), Q !== void 0 && (k.preventDefault(), Je(Q), (_e = xe.current[Q]) == null || _e.focus());
2278
- }, F = v ?? (pe ? Y : le ? j : void 0), z = w ? `${ao.layoutOverride} ${w}` : ao.layoutOverride;
2281
+ }, F = N ?? (pe ? Y : le ? j : void 0), z = T ? `${ao.layoutOverride} ${T}` : ao.layoutOverride;
2279
2282
  return /* @__PURE__ */ a(
2280
2283
  go,
2281
2284
  {
@@ -2290,30 +2293,30 @@ const Nn = _(
2290
2293
  labelActionArea: d,
2291
2294
  onLabelEditClick: m,
2292
2295
  label: p,
2293
- assistiveText: P,
2296
+ assistiveText: C,
2294
2297
  assistiveWithIcon: y,
2295
2298
  error: F,
2296
- required: h,
2297
- withAsterisk: x,
2298
- id: N,
2299
+ required: v,
2300
+ withAsterisk: S,
2301
+ id: b,
2299
2302
  children: /* @__PURE__ */ M(
2300
2303
  "div",
2301
2304
  {
2302
2305
  ref: n,
2303
2306
  ...D,
2304
2307
  className: ao.root,
2305
- "data-disabled": T ? "true" : void 0,
2308
+ "data-disabled": g ? "true" : void 0,
2306
2309
  "data-error": F ? "true" : void 0,
2307
2310
  children: [
2308
- !C && /* @__PURE__ */ M(
2311
+ !P && /* @__PURE__ */ M(
2309
2312
  "div",
2310
2313
  {
2311
2314
  className: ao.dropzone,
2312
2315
  "data-dragging": be ? "true" : void 0,
2313
- onDragEnter: T ? void 0 : Qe,
2314
- onDragLeave: T ? void 0 : we,
2315
- onDragOver: T ? void 0 : Xe,
2316
- onDrop: T ? void 0 : Ee,
2316
+ onDragEnter: g ? void 0 : Qe,
2317
+ onDragLeave: g ? void 0 : we,
2318
+ onDragOver: g ? void 0 : Xe,
2319
+ onDrop: g ? void 0 : Ee,
2317
2320
  children: [
2318
2321
  /* @__PURE__ */ a("span", { className: ao.uploadIcon, children: q ?? /* @__PURE__ */ a(Yl, {}) }),
2319
2322
  /* @__PURE__ */ a("span", { className: ao.dropzoneText, children: J }),
@@ -2321,7 +2324,7 @@ const Nn = _(
2321
2324
  co,
2322
2325
  {
2323
2326
  variant: "outline",
2324
- disabled: T,
2327
+ disabled: g,
2325
2328
  onClick: Be,
2326
2329
  children: H
2327
2330
  }
@@ -2334,14 +2337,14 @@ const Nn = _(
2334
2337
  hidden: !0,
2335
2338
  accept: I,
2336
2339
  multiple: L,
2337
- disabled: T,
2340
+ disabled: g,
2338
2341
  onChange: po
2339
2342
  }
2340
2343
  )
2341
2344
  ]
2342
2345
  }
2343
2346
  ),
2344
- f && f.length > 0 && (C ? /* @__PURE__ */ a("div", { className: ao.fileList, children: f.map((k) => {
2347
+ f && f.length > 0 && (P ? /* @__PURE__ */ a("div", { className: ao.fileList, children: f.map((k) => {
2345
2348
  const U = k.id ?? k.file.name;
2346
2349
  return /* @__PURE__ */ a(Ao, { checked: !1, tabIndex: -1, children: k.file.name }, U);
2347
2350
  }) }) : /* @__PURE__ */ a(
@@ -2361,7 +2364,7 @@ const Nn = _(
2361
2364
  deleteIconRef: (_e) => {
2362
2365
  xe.current[U] = _e;
2363
2366
  },
2364
- onDelete: T ? void 0 : () => g == null ? void 0 : g(Q),
2367
+ onDelete: g ? void 0 : () => h == null ? void 0 : h(Q),
2365
2368
  children: k.file.name
2366
2369
  },
2367
2370
  Q
@@ -2403,7 +2406,7 @@ bn.displayName = "Flex";
2403
2406
  const Ql = Te(bn), Xl = "Grid-module__root___s-qPY", Jl = "Grid-module__col___tbuNg", Ae = {
2404
2407
  root: Xl,
2405
2408
  col: Jl
2406
- }, Cn = _(function({ children: e, gap: n = "rec-default", ...o }, t) {
2409
+ }, Cn = _(function({ children: e, gutter: n = "rec-default", ...o }, t) {
2407
2410
  const s = {
2408
2411
  root: Ae.root
2409
2412
  }, l = o.classNames;
@@ -2411,8 +2414,8 @@ const Ql = Te(bn), Xl = "Grid-module__root___s-qPY", Jl = "Grid-module__col___tb
2411
2414
  const p = l;
2412
2415
  s.root = p.root ? `${Ae.root} ${p.root}` : Ae.root;
2413
2416
  }
2414
- const i = o.className, c = i ? `${Ae.root} ${i}` : Ae.root, { gap: d, ...m } = Mo({
2415
- gap: n,
2417
+ const i = o.className, c = i ? `${Ae.root} ${i}` : Ae.root, { gutter: d, ...m } = Mo({
2418
+ gutter: n,
2416
2419
  ...o
2417
2420
  });
2418
2421
  return /* @__PURE__ */ a(
@@ -2753,7 +2756,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
2753
2756
  ], p = G(
2754
2757
  u(c, e),
2755
2758
  m
2756
- ), P = E(
2759
+ ), C = E(
2757
2760
  {
2758
2761
  root: Ue.root,
2759
2762
  inner: Ue.inner,
@@ -2769,7 +2772,7 @@ const hi = "Modal-module__root___ytPLl", vi = "Modal-module__inner___SSUJE", Ni
2769
2772
  {
2770
2773
  ref: d,
2771
2774
  ...p,
2772
- classNames: P,
2775
+ classNames: C,
2773
2776
  children: [
2774
2777
  l && /* @__PURE__ */ a(he.Overlay, { ...s }),
2775
2778
  /* @__PURE__ */ M(he.Content, { children: [
@@ -2800,27 +2803,27 @@ const ft = K.forwardRef(
2800
2803
  ft.displayName = "Modal.Footer";
2801
2804
  const yt = K.forwardRef(
2802
2805
  function({ overStyled: e = !1, className: n, onScroll: o, children: t, ...s }, l) {
2803
- const i = u(s, e), c = K.useRef(null), [d, m] = K.useState(!1), [p, P] = K.useState(!1), y = K.useCallback(() => {
2806
+ const i = u(s, e), c = K.useRef(null), [d, m] = K.useState(!1), [p, C] = K.useState(!1), y = K.useCallback(() => {
2804
2807
  if (c.current) {
2805
- const { scrollTop: N, scrollHeight: w, clientHeight: $ } = c.current;
2806
- m(N > 0), P(Math.ceil(N + $) < w);
2808
+ const { scrollTop: b, scrollHeight: T, clientHeight: $ } = c.current;
2809
+ m(b > 0), C(Math.ceil(b + $) < T);
2807
2810
  }
2808
2811
  }, []);
2809
2812
  K.useEffect(() => (y(), window.addEventListener("resize", y), () => window.removeEventListener("resize", y)), [y, t]);
2810
- const v = (N) => {
2811
- y(), o == null || o(N);
2813
+ const N = (b) => {
2814
+ y(), o == null || o(b);
2812
2815
  };
2813
- let h = null;
2814
- const x = [];
2815
- return K.Children.forEach(t, (N) => {
2816
- var w;
2817
- K.isValidElement(N) && (N.type === ft || ((w = N.type) == null ? void 0 : w.displayName) === "Modal.Footer") ? h = N : x.push(N);
2816
+ let v = null;
2817
+ const S = [];
2818
+ return K.Children.forEach(t, (b) => {
2819
+ var T;
2820
+ K.isValidElement(b) && (b.type === ft || ((T = b.type) == null ? void 0 : T.displayName) === "Modal.Footer") ? v = b : S.push(b);
2818
2821
  }), /* @__PURE__ */ M(
2819
2822
  he.Body,
2820
2823
  {
2821
2824
  ...i,
2822
- ref: (N) => {
2823
- typeof l == "function" ? l(N) : l && (l.current = N);
2825
+ ref: (b) => {
2826
+ typeof l == "function" ? l(b) : l && (l.current = b);
2824
2827
  },
2825
2828
  className: `${Ue.bodyWrapper} ${n || ""}`,
2826
2829
  children: [
@@ -2828,14 +2831,14 @@ const yt = K.forwardRef(
2828
2831
  "div",
2829
2832
  {
2830
2833
  ref: c,
2831
- onScroll: v,
2834
+ onScroll: N,
2832
2835
  "data-scrolled-top": d || void 0,
2833
2836
  "data-scrolled-bottom": p || void 0,
2834
2837
  className: Ue.scrollArea,
2835
- children: x
2838
+ children: S
2836
2839
  }
2837
2840
  ),
2838
- h
2841
+ v
2839
2842
  ]
2840
2843
  }
2841
2844
  );
@@ -2973,19 +2976,19 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
2973
2976
  onLabelEditClick: d,
2974
2977
  label: m,
2975
2978
  assistiveText: p,
2976
- assistiveWithIcon: P,
2979
+ assistiveWithIcon: C,
2977
2980
  error: y,
2978
- required: v,
2979
- withAsterisk: h,
2980
- id: x,
2981
- className: N,
2982
- style: w,
2981
+ required: N,
2982
+ withAsterisk: v,
2983
+ id: S,
2984
+ className: b,
2985
+ style: T,
2983
2986
  disabled: $,
2984
- readOnly: T,
2985
- readOnlyComponent: C,
2987
+ readOnly: g,
2988
+ readOnlyComponent: P,
2986
2989
  emptyValueComponent: f,
2987
- value: b,
2988
- defaultValue: g,
2990
+ value: w,
2991
+ defaultValue: h,
2989
2992
  hideControls: I = !1,
2990
2993
  ...L
2991
2994
  } = e, B = G(
@@ -2998,12 +3001,12 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
2998
3001
  section: yo.section,
2999
3002
  controls: yo.controls,
3000
3003
  control: yo.control
3001
- }, Y = N ? `${yo.layoutOverride} ${N}` : yo.layoutOverride;
3004
+ }, Y = b ? `${yo.layoutOverride} ${b}` : yo.layoutOverride;
3002
3005
  return /* @__PURE__ */ a(
3003
3006
  ve,
3004
3007
  {
3005
3008
  className: Y,
3006
- style: w,
3009
+ style: T,
3007
3010
  controlMaxWidth: "var(--number-input-control-max-width)",
3008
3011
  controlMinWidth: "var(--number-input-control-min-width)",
3009
3012
  overStyled: o,
@@ -3015,16 +3018,16 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
3015
3018
  onLabelEditClick: d,
3016
3019
  label: m,
3017
3020
  assistiveText: p,
3018
- assistiveWithIcon: P,
3021
+ assistiveWithIcon: C,
3019
3022
  error: y,
3020
- required: v,
3021
- withAsterisk: h,
3022
- id: x,
3023
- readOnly: T,
3024
- readOnlyComponent: C,
3023
+ required: N,
3024
+ withAsterisk: v,
3025
+ id: S,
3026
+ readOnly: g,
3027
+ readOnlyComponent: P,
3025
3028
  emptyValueComponent: f,
3026
3029
  readOnlyType: "text",
3027
- readOnlyValue: b !== void 0 ? b == null ? void 0 : b.toString() : g == null ? void 0 : g.toString(),
3030
+ readOnlyValue: w !== void 0 ? w == null ? void 0 : w.toString() : h == null ? void 0 : h.toString(),
3028
3031
  readOnlyNativeProps: e,
3029
3032
  activeComponent: (
3030
3033
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
@@ -3035,8 +3038,8 @@ const Oi = "NumberInput-module__layoutOverride___5-9T4", ki = "NumberInput-modul
3035
3038
  ...B,
3036
3039
  classNames: A,
3037
3040
  disabled: $,
3038
- value: b,
3039
- defaultValue: g,
3041
+ value: w,
3042
+ defaultValue: h,
3040
3043
  hideControls: I,
3041
3044
  label: void 0,
3042
3045
  description: void 0,
@@ -3457,19 +3460,19 @@ const oc = "Radio-module__groupRoot___bfUii", tc = "Radio-module__root___kAjTD",
3457
3460
  // Base Mantine Extracted Attributes
3458
3461
  label: m,
3459
3462
  description: p,
3460
- assistiveText: P,
3463
+ assistiveText: C,
3461
3464
  assistiveWithIcon: y,
3462
- error: v,
3463
- required: h,
3464
- withAsterisk: x,
3465
- id: N,
3466
- className: w,
3465
+ error: N,
3466
+ required: v,
3467
+ withAsterisk: S,
3468
+ id: b,
3469
+ className: T,
3467
3470
  style: $,
3468
- children: T,
3469
- readOnly: C,
3471
+ children: g,
3472
+ readOnly: P,
3470
3473
  readOnlyComponent: f,
3471
- emptyValueComponent: b,
3472
- value: g,
3474
+ emptyValueComponent: w,
3475
+ value: h,
3473
3476
  defaultValue: I,
3474
3477
  ...L
3475
3478
  } = e, B = [
@@ -3482,7 +3485,7 @@ const oc = "Radio-module__groupRoot___bfUii", tc = "Radio-module__root___kAjTD",
3482
3485
  return /* @__PURE__ */ a(
3483
3486
  ve,
3484
3487
  {
3485
- className: w,
3488
+ className: T,
3486
3489
  style: $,
3487
3490
  controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
3488
3491
  controlMinWidth: void 0,
@@ -3496,27 +3499,27 @@ const oc = "Radio-module__groupRoot___bfUii", tc = "Radio-module__root___kAjTD",
3496
3499
  onLabelEditClick: d,
3497
3500
  label: m,
3498
3501
  description: p,
3499
- assistiveText: P,
3502
+ assistiveText: C,
3500
3503
  assistiveWithIcon: y,
3501
- error: v,
3502
- required: h,
3503
- withAsterisk: x,
3504
- id: N,
3505
- readOnly: C && !!f,
3504
+ error: N,
3505
+ required: v,
3506
+ withAsterisk: S,
3507
+ id: b,
3508
+ readOnly: P && !!f,
3506
3509
  readOnlyComponent: f,
3507
- emptyValueComponent: b,
3510
+ emptyValueComponent: w,
3508
3511
  readOnlyType: "text",
3509
- readOnlyValue: g !== void 0 ? g : I,
3512
+ readOnlyValue: h !== void 0 ? h : I,
3510
3513
  readOnlyNativeProps: e,
3511
3514
  activeComponent: /* @__PURE__ */ a(
3512
3515
  Ht.Group,
3513
3516
  {
3514
3517
  ref: n,
3515
3518
  ...W,
3516
- disabled: C || A.disabled,
3517
- value: g,
3519
+ disabled: P || A.disabled,
3520
+ value: h,
3518
3521
  defaultValue: I,
3519
- children: /* @__PURE__ */ a("div", { className: Re.groupRoot, "data-layout": t, children: T })
3522
+ children: /* @__PURE__ */ a("div", { className: Re.groupRoot, "data-layout": t, children: g })
3520
3523
  }
3521
3524
  )
3522
3525
  }
@@ -3546,7 +3549,7 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
3546
3549
  labelSize: d,
3547
3550
  controlMaxWidth: m,
3548
3551
  controlMinWidth: p,
3549
- ...P
3552
+ ...C
3550
3553
  } = e, y = [
3551
3554
  "size",
3552
3555
  // Recursica controls sizing via Radio.module.css variables, not Mantine's native size scale.
@@ -3558,10 +3561,10 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
3558
3561
  // Radio has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
3559
3562
  "iconColor"
3560
3563
  // Icon color is token-driven via Radio.module.css, not a native Mantine override.
3561
- ], v = G(
3562
- u(P, o),
3564
+ ], N = G(
3565
+ u(C, o),
3563
3566
  y
3564
- ), h = v, x = E(
3567
+ ), v = N, S = E(
3565
3568
  {
3566
3569
  root: Re.root,
3567
3570
  body: Re.body,
@@ -3571,15 +3574,15 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
3571
3574
  labelWrapper: Re.labelWrapper,
3572
3575
  label: Re.label
3573
3576
  },
3574
- h.classNames
3575
- ), N = h.className, w = N ? `${Re.root} ${N}` : Re.root;
3577
+ v.classNames
3578
+ ), b = v.className, T = b ? `${Re.root} ${b}` : Re.root;
3576
3579
  if (t && s) {
3577
- const T = !!(h.checked ?? h.defaultChecked), f = /* @__PURE__ */ a(
3580
+ const g = !!(v.checked ?? v.defaultChecked), f = /* @__PURE__ */ a(
3578
3581
  s,
3579
3582
  {
3580
3583
  ...e,
3581
- checked: T,
3582
- label: h.label
3584
+ checked: g,
3585
+ label: v.label
3583
3586
  }
3584
3587
  );
3585
3588
  return c ? /* @__PURE__ */ a(
@@ -3597,10 +3600,10 @@ const cc = ({ className: r, style: e }) => /* @__PURE__ */ a(
3597
3600
  Ht,
3598
3601
  {
3599
3602
  ref: n,
3600
- ...v,
3603
+ ...N,
3601
3604
  icon: me(cc, i),
3602
- className: w,
3603
- classNames: x,
3605
+ className: T,
3606
+ classNames: S,
3604
3607
  disabled: t || l
3605
3608
  }
3606
3609
  );
@@ -3704,19 +3707,19 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
3704
3707
  labelActionArea: d,
3705
3708
  onLabelEditClick: m,
3706
3709
  label: p,
3707
- tooltipLabel: P,
3710
+ tooltipLabel: C,
3708
3711
  assistiveText: y,
3709
- assistiveWithIcon: v,
3710
- error: h,
3711
- required: x,
3712
- withAsterisk: N,
3713
- id: w,
3712
+ assistiveWithIcon: N,
3713
+ error: v,
3714
+ required: S,
3715
+ withAsterisk: b,
3716
+ id: T,
3714
3717
  className: $,
3715
- style: T,
3716
- disabled: C,
3718
+ style: g,
3719
+ disabled: P,
3717
3720
  readOnly: f,
3718
- readOnlyComponent: b,
3719
- emptyValueComponent: g,
3721
+ readOnlyComponent: w,
3722
+ emptyValueComponent: h,
3720
3723
  value: I,
3721
3724
  defaultValue: L,
3722
3725
  icon: B,
@@ -3795,13 +3798,13 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
3795
3798
  markLabel: ee.sliderMarkLabel
3796
3799
  },
3797
3800
  po.classNames
3798
- ), Je = $ ? `${ee.layoutOverride} ${$}` : ee.layoutOverride, xe = B ? /* @__PURE__ */ a("span", { className: ee.iconWrapper, "aria-hidden": !0, children: B }) : null, eo = W ? /* @__PURE__ */ a("span", { className: ee.iconWrapper, "aria-hidden": !0, children: W }) : null, V = Array.isArray(O) ? typeof P == "function" ? `${P(O[0])} – ${P(O[1])}` : `${O[0]} – ${O[1]}` : typeof P == "function" ? P(O) : O;
3801
+ ), Je = $ ? `${ee.layoutOverride} ${$}` : ee.layoutOverride, xe = B ? /* @__PURE__ */ a("span", { className: ee.iconWrapper, "aria-hidden": !0, children: B }) : null, eo = W ? /* @__PURE__ */ a("span", { className: ee.iconWrapper, "aria-hidden": !0, children: W }) : null, V = Array.isArray(O) ? typeof C == "function" ? `${C(O[0])} – ${C(O[1])}` : `${O[0]} – ${O[1]}` : typeof C == "function" ? C(O) : O;
3799
3802
  return /* @__PURE__ */ a(
3800
3803
  ve,
3801
3804
  {
3802
3805
  ref: n,
3803
3806
  className: Je,
3804
- style: T,
3807
+ style: g,
3805
3808
  controlMaxWidth: void 0,
3806
3809
  controlMinWidth: void 0,
3807
3810
  overStyled: o,
@@ -3814,14 +3817,14 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
3814
3817
  onLabelEditClick: m,
3815
3818
  label: p,
3816
3819
  assistiveText: y,
3817
- assistiveWithIcon: v,
3818
- error: h,
3819
- required: x,
3820
- withAsterisk: N,
3821
- id: w,
3820
+ assistiveWithIcon: N,
3821
+ error: v,
3822
+ required: S,
3823
+ withAsterisk: b,
3824
+ id: T,
3822
3825
  readOnly: f,
3823
- readOnlyComponent: b || Rc,
3824
- emptyValueComponent: g,
3826
+ readOnlyComponent: w || Rc,
3827
+ emptyValueComponent: h,
3825
3828
  readOnlyType: "text",
3826
3829
  readOnlyValue: O,
3827
3830
  readOnlyNativeProps: { value: O },
@@ -3830,8 +3833,8 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
3830
3833
  {
3831
3834
  className: ee.sliderContainer,
3832
3835
  "data-form-layout": t,
3833
- "data-disabled": C ? "true" : void 0,
3834
- "data-error": h ? "true" : void 0,
3836
+ "data-disabled": P ? "true" : void 0,
3837
+ "data-error": v ? "true" : void 0,
3835
3838
  children: [
3836
3839
  le && A && /* @__PURE__ */ a(
3837
3840
  "input",
@@ -3844,8 +3847,8 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
3844
3847
  min: j,
3845
3848
  max: O[1],
3846
3849
  step: Z,
3847
- disabled: C,
3848
- "data-error": h ? "true" : void 0,
3850
+ disabled: P,
3851
+ "data-error": v ? "true" : void 0,
3849
3852
  "aria-label": "Minimum value"
3850
3853
  }
3851
3854
  ),
@@ -3856,28 +3859,28 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
3856
3859
  {
3857
3860
  ...Be,
3858
3861
  classNames: Se,
3859
- disabled: C,
3862
+ disabled: P,
3860
3863
  value: O,
3861
3864
  onChange: ie,
3862
3865
  onChangeEnd: ue,
3863
3866
  min: j,
3864
3867
  max: q,
3865
3868
  step: Z,
3866
- label: P
3869
+ label: C
3867
3870
  }
3868
3871
  ) : /* @__PURE__ */ a(
3869
3872
  dr,
3870
3873
  {
3871
3874
  ...Be,
3872
3875
  classNames: Se,
3873
- disabled: C,
3876
+ disabled: P,
3874
3877
  value: O,
3875
3878
  onChange: ie,
3876
3879
  onChangeEnd: ue,
3877
3880
  min: j,
3878
3881
  max: q,
3879
3882
  step: Z,
3880
- label: P
3883
+ label: C
3881
3884
  }
3882
3885
  ) }),
3883
3886
  /* @__PURE__ */ M("div", { className: ee.rightGuideContainer, children: [
@@ -3896,8 +3899,8 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
3896
3899
  min: O[0],
3897
3900
  max: q,
3898
3901
  step: Z,
3899
- disabled: C,
3900
- "data-error": h ? "true" : void 0,
3902
+ disabled: P,
3903
+ "data-error": v ? "true" : void 0,
3901
3904
  "aria-label": "Maximum value"
3902
3905
  }
3903
3906
  ) : /* @__PURE__ */ a(
@@ -3911,8 +3914,8 @@ const fc = va, yc = "Slider-module__layoutOverride___zYPun", hc = "Slider-module
3911
3914
  min: j,
3912
3915
  max: q,
3913
3916
  step: Z,
3914
- disabled: C,
3915
- "data-error": h ? "true" : void 0
3917
+ disabled: P,
3918
+ "data-error": v ? "true" : void 0
3916
3919
  }
3917
3920
  ))
3918
3921
  ]
@@ -4045,19 +4048,19 @@ const Qc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", J
4045
4048
  // Base Mantine Extracted Attributes
4046
4049
  label: m,
4047
4050
  description: p,
4048
- assistiveText: P,
4051
+ assistiveText: C,
4049
4052
  assistiveWithIcon: y,
4050
- error: v,
4051
- required: h,
4052
- withAsterisk: x,
4053
- id: N,
4054
- className: w,
4053
+ error: N,
4054
+ required: v,
4055
+ withAsterisk: S,
4056
+ id: b,
4057
+ className: T,
4055
4058
  style: $,
4056
- children: T,
4057
- readOnly: C,
4059
+ children: g,
4060
+ readOnly: P,
4058
4061
  readOnlyComponent: f,
4059
- emptyValueComponent: b,
4060
- value: g,
4062
+ emptyValueComponent: w,
4063
+ value: h,
4061
4064
  defaultValue: I,
4062
4065
  ...L
4063
4066
  } = e, B = [
@@ -4070,7 +4073,7 @@ const Qc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", J
4070
4073
  return /* @__PURE__ */ a(
4071
4074
  ve,
4072
4075
  {
4073
- className: w,
4076
+ className: T,
4074
4077
  style: $,
4075
4078
  controlMaxWidth: void 0,
4076
4079
  controlMinWidth: void 0,
@@ -4084,27 +4087,27 @@ const Qc = "Switch-module__root___Y5Ydi", Xc = "Switch-module__track___7ObdZ", J
4084
4087
  onLabelEditClick: d,
4085
4088
  label: m,
4086
4089
  description: p,
4087
- assistiveText: P,
4090
+ assistiveText: C,
4088
4091
  assistiveWithIcon: y,
4089
- error: v,
4090
- required: h,
4091
- withAsterisk: x,
4092
- id: N,
4093
- readOnly: C && !!f,
4092
+ error: N,
4093
+ required: v,
4094
+ withAsterisk: S,
4095
+ id: b,
4096
+ readOnly: P && !!f,
4094
4097
  readOnlyComponent: f,
4095
- emptyValueComponent: b,
4098
+ emptyValueComponent: w,
4096
4099
  readOnlyType: "text",
4097
- readOnlyValue: g !== void 0 ? g : I,
4100
+ readOnlyValue: h !== void 0 ? h : I,
4098
4101
  readOnlyNativeProps: e,
4099
4102
  activeComponent: /* @__PURE__ */ a(
4100
4103
  jt.Group,
4101
4104
  {
4102
4105
  ref: n,
4103
4106
  ...W,
4104
- disabled: C || A.disabled,
4105
- value: g,
4107
+ disabled: P || A.disabled,
4108
+ value: h,
4106
4109
  defaultValue: I,
4107
- children: /* @__PURE__ */ a("div", { className: ye.groupRoot, "data-layout": t, children: T })
4110
+ children: /* @__PURE__ */ a("div", { className: ye.groupRoot, "data-layout": t, children: g })
4108
4111
  }
4109
4112
  )
4110
4113
  }
@@ -4124,7 +4127,7 @@ const Pt = _(
4124
4127
  labelSize: d,
4125
4128
  controlMaxWidth: m,
4126
4129
  controlMinWidth: p,
4127
- ...P
4130
+ ...C
4128
4131
  } = e, y = [
4129
4132
  "size",
4130
4133
  // Recursica controls sizing via Switch.module.css variables, not Mantine's native size scale.
@@ -4134,10 +4137,10 @@ const Pt = _(
4134
4137
  // Corner radius is fixed by Recursica tokens in Switch.module.css, not caller-configurable.
4135
4138
  "variant"
4136
4139
  // Switch has a single Recursica-defined visual treatment; Mantine's variant isn't exposed.
4137
- ], v = G(
4138
- u(P, o),
4140
+ ], N = G(
4141
+ u(C, o),
4139
4142
  y
4140
- ), h = v, x = E(
4143
+ ), v = N, S = E(
4141
4144
  {
4142
4145
  root: ye.root,
4143
4146
  body: ye.body,
@@ -4147,18 +4150,18 @@ const Pt = _(
4147
4150
  labelWrapper: ye.labelWrapper,
4148
4151
  label: ye.label
4149
4152
  },
4150
- h.classNames
4151
- ), N = Ir(
4153
+ v.classNames
4154
+ ), b = Ir(
4152
4155
  {},
4153
- h.styles
4154
- ), w = h.className, $ = w ? `${ye.root} ${w}` : ye.root;
4156
+ v.styles
4157
+ ), T = v.className, $ = T ? `${ye.root} ${T}` : ye.root;
4155
4158
  if (t && s) {
4156
- const f = !!(h.checked ?? h.defaultChecked), g = /* @__PURE__ */ a(
4159
+ const f = !!(v.checked ?? v.defaultChecked), h = /* @__PURE__ */ a(
4157
4160
  s,
4158
4161
  {
4159
4162
  ...e,
4160
4163
  checked: f,
4161
- label: h.label
4164
+ label: v.label
4162
4165
  }
4163
4166
  );
4164
4167
  return c ? /* @__PURE__ */ a(
@@ -4168,25 +4171,25 @@ const Pt = _(
4168
4171
  labelSize: d,
4169
4172
  controlMaxWidth: m,
4170
4173
  controlMinWidth: p,
4171
- children: g
4174
+ children: h
4172
4175
  }
4173
- ) : /* @__PURE__ */ a(No, { children: g });
4176
+ ) : /* @__PURE__ */ a(No, { children: h });
4174
4177
  }
4175
- const T = /* @__PURE__ */ M("div", { className: ye.thumbIconWrapper, children: [
4178
+ const g = /* @__PURE__ */ M("div", { className: ye.thumbIconWrapper, children: [
4176
4179
  /* @__PURE__ */ a(pr, { className: ye.checkIcon }),
4177
4180
  /* @__PURE__ */ a(mr, { className: ye.closeIcon })
4178
- ] }), C = /* @__PURE__ */ a(
4181
+ ] }), P = /* @__PURE__ */ a(
4179
4182
  jt,
4180
4183
  {
4181
4184
  ref: n,
4182
- ...v,
4185
+ ...N,
4183
4186
  className: $,
4184
- classNames: x,
4185
- styles: N,
4187
+ classNames: S,
4188
+ styles: b,
4186
4189
  disabled: t || l,
4187
4190
  "data-disabled": t || l || void 0,
4188
4191
  thumbIcon: me(
4189
- T,
4192
+ g,
4190
4193
  i
4191
4194
  )
4192
4195
  }
@@ -4198,9 +4201,9 @@ const Pt = _(
4198
4201
  labelSize: d,
4199
4202
  controlMaxWidth: m,
4200
4203
  controlMinWidth: p,
4201
- children: C
4204
+ children: P
4202
4205
  }
4203
- ) : C;
4206
+ ) : P;
4204
4207
  }
4205
4208
  );
4206
4209
  Pt.displayName = "Switch";
@@ -4488,19 +4491,19 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
4488
4491
  onLabelEditClick: d,
4489
4492
  label: m,
4490
4493
  assistiveText: p,
4491
- assistiveWithIcon: P,
4494
+ assistiveWithIcon: C,
4492
4495
  error: y,
4493
- required: v,
4494
- withAsterisk: h,
4495
- id: x,
4496
- className: N,
4497
- style: w,
4496
+ required: N,
4497
+ withAsterisk: v,
4498
+ id: S,
4499
+ className: b,
4500
+ style: T,
4498
4501
  disabled: $,
4499
- readOnly: T,
4500
- readOnlyComponent: C,
4502
+ readOnly: g,
4503
+ readOnlyComponent: P,
4501
4504
  emptyValueComponent: f,
4502
- value: b,
4503
- defaultValue: g,
4505
+ value: w,
4506
+ defaultValue: h,
4504
4507
  ...I
4505
4508
  } = e, L = G(
4506
4509
  u(I, o),
@@ -4512,12 +4515,12 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
4512
4515
  input: Fo.input
4513
4516
  },
4514
4517
  B.classNames
4515
- ), A = N ? `${Fo.layoutOverride} ${N}` : Fo.layoutOverride;
4518
+ ), A = b ? `${Fo.layoutOverride} ${b}` : Fo.layoutOverride;
4516
4519
  return /* @__PURE__ */ a(
4517
4520
  ve,
4518
4521
  {
4519
4522
  className: A,
4520
- style: w,
4523
+ style: T,
4521
4524
  controlMaxWidth: "var(--textarea-control-max-width)",
4522
4525
  controlMinWidth: "var(--textarea-control-min-width)",
4523
4526
  overStyled: o,
@@ -4529,16 +4532,16 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
4529
4532
  onLabelEditClick: d,
4530
4533
  label: m,
4531
4534
  assistiveText: p,
4532
- assistiveWithIcon: P,
4535
+ assistiveWithIcon: C,
4533
4536
  error: y,
4534
- required: v,
4535
- withAsterisk: h,
4536
- id: x,
4537
- readOnly: T,
4538
- readOnlyComponent: C,
4537
+ required: N,
4538
+ withAsterisk: v,
4539
+ id: S,
4540
+ readOnly: g,
4541
+ readOnlyComponent: P,
4539
4542
  emptyValueComponent: f,
4540
4543
  readOnlyType: "text",
4541
- readOnlyValue: b !== void 0 ? b : g,
4544
+ readOnlyValue: w !== void 0 ? w : h,
4542
4545
  readOnlyNativeProps: e,
4543
4546
  activeComponent: (
4544
4547
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
@@ -4549,8 +4552,8 @@ const yd = Te(Wa), hd = "TextArea-module__layoutOverride___4MCdm", vd = "TextAre
4549
4552
  ...L,
4550
4553
  classNames: W,
4551
4554
  disabled: $,
4552
- value: b,
4553
- defaultValue: g,
4555
+ value: w,
4556
+ defaultValue: h,
4554
4557
  label: void 0,
4555
4558
  description: void 0,
4556
4559
  error: !!y,
@@ -4589,19 +4592,19 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
4589
4592
  onLabelEditClick: d,
4590
4593
  label: m,
4591
4594
  assistiveText: p,
4592
- assistiveWithIcon: P,
4595
+ assistiveWithIcon: C,
4593
4596
  error: y,
4594
- required: v,
4595
- withAsterisk: h,
4596
- id: x,
4597
- className: N,
4598
- style: w,
4597
+ required: N,
4598
+ withAsterisk: v,
4599
+ id: S,
4600
+ className: b,
4601
+ style: T,
4599
4602
  disabled: $,
4600
- readOnly: T,
4601
- readOnlyComponent: C,
4603
+ readOnly: g,
4604
+ readOnlyComponent: P,
4602
4605
  emptyValueComponent: f,
4603
- value: b,
4604
- defaultValue: g,
4606
+ value: w,
4607
+ defaultValue: h,
4605
4608
  ...I
4606
4609
  } = e, L = G(
4607
4610
  u(I, o),
@@ -4614,12 +4617,12 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
4614
4617
  section: Io.section
4615
4618
  },
4616
4619
  B.classNames
4617
- ), A = N ? `${Io.layoutOverride} ${N}` : Io.layoutOverride;
4620
+ ), A = b ? `${Io.layoutOverride} ${b}` : Io.layoutOverride;
4618
4621
  return /* @__PURE__ */ a(
4619
4622
  ve,
4620
4623
  {
4621
4624
  className: A,
4622
- style: w,
4625
+ style: T,
4623
4626
  controlMaxWidth: "var(--text-field-control-max-width)",
4624
4627
  controlMinWidth: "var(--text-field-control-min-width)",
4625
4628
  overStyled: o,
@@ -4631,16 +4634,16 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
4631
4634
  onLabelEditClick: d,
4632
4635
  label: m,
4633
4636
  assistiveText: p,
4634
- assistiveWithIcon: P,
4637
+ assistiveWithIcon: C,
4635
4638
  error: y,
4636
- required: v,
4637
- withAsterisk: h,
4638
- id: x,
4639
- readOnly: T,
4640
- readOnlyComponent: C,
4639
+ required: N,
4640
+ withAsterisk: v,
4641
+ id: S,
4642
+ readOnly: g,
4643
+ readOnlyComponent: P,
4641
4644
  emptyValueComponent: f,
4642
4645
  readOnlyType: "text",
4643
- readOnlyValue: b !== void 0 ? b : g,
4646
+ readOnlyValue: w !== void 0 ? w : h,
4644
4647
  readOnlyNativeProps: e,
4645
4648
  activeComponent: (
4646
4649
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
@@ -4651,8 +4654,8 @@ const Cd = "TextField-module__layoutOverride___SNZqc", Pd = "TextField-module__r
4651
4654
  ...L,
4652
4655
  classNames: W,
4653
4656
  disabled: $,
4654
- value: b,
4655
- defaultValue: g,
4657
+ value: w,
4658
+ defaultValue: h,
4656
4659
  wrapperProps: {
4657
4660
  "data-disabled": $ ? "true" : void 0,
4658
4661
  "data-error": y ? "true" : void 0
@@ -4761,19 +4764,19 @@ const Dd = [
4761
4764
  onLabelEditClick: d,
4762
4765
  label: m,
4763
4766
  assistiveText: p,
4764
- assistiveWithIcon: P,
4767
+ assistiveWithIcon: C,
4765
4768
  error: y,
4766
- required: v,
4767
- withAsterisk: h,
4768
- id: x,
4769
- className: N,
4770
- style: w,
4769
+ required: N,
4770
+ withAsterisk: v,
4771
+ id: S,
4772
+ className: b,
4773
+ style: T,
4771
4774
  disabled: $,
4772
- readOnly: T,
4773
- readOnlyComponent: C,
4775
+ readOnly: g,
4776
+ readOnlyComponent: P,
4774
4777
  emptyValueComponent: f,
4775
- value: b,
4776
- defaultValue: g,
4778
+ value: w,
4779
+ defaultValue: h,
4777
4780
  onChange: I,
4778
4781
  withSeconds: L,
4779
4782
  minTime: B,
@@ -4783,14 +4786,14 @@ const Dd = [
4783
4786
  u(A, o),
4784
4787
  Dd
4785
4788
  ), j = Y, [q, J] = ce(
4786
- () => b ?? g
4789
+ () => w ?? h
4787
4790
  );
4788
4791
  Ie(() => {
4789
- b !== void 0 && J(b);
4790
- }, [b]);
4792
+ w !== void 0 && J(w);
4793
+ }, [w]);
4791
4794
  const H = Ve(null);
4792
4795
  Ie(() => {
4793
- Wt(b ?? g) === void 0 && H.current && zd(H.current, "AM");
4796
+ Wt(w ?? h) === void 0 && H.current && zd(H.current, "AM");
4794
4797
  }, []);
4795
4798
  const Z = (O) => {
4796
4799
  J(O), I == null || I(O);
@@ -4802,12 +4805,12 @@ const Dd = [
4802
4805
  if (le === ue) return;
4803
4806
  const Ne = le ? te + 12 : te - 12;
4804
4807
  Z(Md(q, Ne));
4805
- }, pe = N ? `${ro.layoutOverride} ${N}` : ro.layoutOverride;
4808
+ }, pe = b ? `${ro.layoutOverride} ${b}` : ro.layoutOverride;
4806
4809
  return /* @__PURE__ */ a(
4807
4810
  ve,
4808
4811
  {
4809
4812
  className: pe,
4810
- style: w,
4813
+ style: T,
4811
4814
  controlMaxWidth: void 0,
4812
4815
  controlMinWidth: void 0,
4813
4816
  overStyled: o,
@@ -4819,17 +4822,17 @@ const Dd = [
4819
4822
  onLabelEditClick: d,
4820
4823
  label: m,
4821
4824
  assistiveText: p,
4822
- assistiveWithIcon: P,
4825
+ assistiveWithIcon: C,
4823
4826
  error: y,
4824
- required: v,
4825
- withAsterisk: h,
4826
- id: x,
4827
- readOnly: T,
4828
- readOnlyComponent: C,
4827
+ required: N,
4828
+ withAsterisk: v,
4829
+ id: S,
4830
+ readOnly: g,
4831
+ readOnlyComponent: P,
4829
4832
  emptyValueComponent: f,
4830
4833
  readOnlyType: "text",
4831
4834
  readOnlyValue: Wd(
4832
- b !== void 0 ? b : g
4835
+ w !== void 0 ? w : h
4833
4836
  ),
4834
4837
  readOnlyNativeProps: e,
4835
4838
  activeComponent: (
@@ -5146,19 +5149,19 @@ const ja = _(
5146
5149
  labelActionArea: d,
5147
5150
  onLabelEditClick: m,
5148
5151
  label: p,
5149
- assistiveText: P,
5152
+ assistiveText: C,
5150
5153
  description: y,
5151
- helperText: v,
5152
- assistiveWithIcon: h,
5153
- error: x,
5154
- required: N,
5155
- id: w,
5154
+ helperText: N,
5155
+ assistiveWithIcon: v,
5156
+ error: S,
5157
+ required: b,
5158
+ id: T,
5156
5159
  readOnly: $,
5157
- readOnlyComponent: T,
5158
- emptyValueComponent: C,
5160
+ readOnlyComponent: g,
5161
+ emptyValueComponent: P,
5159
5162
  data: f,
5160
- defaultData: b,
5161
- onChange: g,
5163
+ defaultData: w,
5164
+ onChange: h,
5162
5165
  sourceLabel: I = "Available",
5163
5166
  targetLabel: L = "Selected",
5164
5167
  searchable: B = !0,
@@ -5167,13 +5170,13 @@ const ja = _(
5167
5170
  className: Y,
5168
5171
  style: j,
5169
5172
  ...q
5170
- } = e, J = u(q, o), H = Bt(), Z = w || `recursica-transfer-list-${H}`, [te, ue] = ce(
5171
- () => b ?? f ?? [[], []]
5173
+ } = e, J = u(q, o), H = Bt(), Z = T || `recursica-transfer-list-${H}`, [te, ue] = ce(
5174
+ () => w ?? f ?? [[], []]
5172
5175
  ), D = f !== void 0 ? f : te, re = _o(
5173
5176
  (V) => {
5174
- f === void 0 && ue(V), g == null || g(V);
5177
+ f === void 0 && ue(V), h == null || h(V);
5175
5178
  },
5176
- [f, g]
5179
+ [f, h]
5177
5180
  ), [pe, O] = ce(""), [le, Ne] = ce(""), [se, ie] = ce(
5178
5181
  () => /* @__PURE__ */ new Set()
5179
5182
  ), [be, $e] = ce(
@@ -5221,7 +5224,7 @@ const ja = _(
5221
5224
  return z.has(V) ? z.delete(V) : z.add(V), z;
5222
5225
  });
5223
5226
  }, []), xe = (V, F, z, k, U, Q, _e, oo) => {
5224
- const { groups: mo, ungrouped: S } = pu(z), ne = Object.keys(mo).sort(), ae = U.size > 0 ? `${U.size} / ${k.length}` : `${k.length}`;
5227
+ const { groups: mo, ungrouped: x } = pu(z), ne = Object.keys(mo).sort(), ae = U.size > 0 ? `${U.size} / ${k.length}` : `${k.length}`;
5225
5228
  return /* @__PURE__ */ M("div", { className: ge.pane, "data-pane": V, children: [
5226
5229
  /* @__PURE__ */ M("div", { className: ge.paneHeader, children: [
5227
5230
  /* @__PURE__ */ a("span", { children: F }),
@@ -5239,7 +5242,7 @@ const ja = _(
5239
5242
  ) }),
5240
5243
  /* @__PURE__ */ M("div", { className: ge.paneList, children: [
5241
5244
  z.length === 0 && /* @__PURE__ */ a("div", { className: ge.emptyState, children: "No items" }),
5242
- S.length > 0 && /* @__PURE__ */ a(Ro, { children: S.map((X) => /* @__PURE__ */ a(
5245
+ x.length > 0 && /* @__PURE__ */ a(Ro, { children: x.map((X) => /* @__PURE__ */ a(
5243
5246
  Lo,
5244
5247
  {
5245
5248
  id: `${Z}-${V}-${X.value}`,
@@ -5284,19 +5287,19 @@ const ja = _(
5284
5287
  labelActionArea: d,
5285
5288
  onLabelEditClick: m,
5286
5289
  label: p,
5287
- assistiveText: P,
5290
+ assistiveText: C,
5288
5291
  description: y,
5289
- helperText: v,
5290
- assistiveWithIcon: h,
5291
- error: x,
5292
- required: N,
5292
+ helperText: N,
5293
+ assistiveWithIcon: v,
5294
+ error: S,
5295
+ required: b,
5293
5296
  id: Z,
5294
5297
  className: eo,
5295
5298
  style: j,
5296
5299
  overStyled: o,
5297
5300
  readOnly: $,
5298
- readOnlyComponent: T,
5299
- emptyValueComponent: C,
5301
+ readOnlyComponent: g,
5302
+ emptyValueComponent: P,
5300
5303
  readOnlyType: "text",
5301
5304
  readOnlyValue: D[1].map((V) => V.label),
5302
5305
  readOnlyNativeProps: e,
@@ -5306,7 +5309,7 @@ const ja = _(
5306
5309
  ...J,
5307
5310
  className: ge.root,
5308
5311
  "data-disabled": A ? "true" : void 0,
5309
- "data-error": x ? "true" : void 0,
5312
+ "data-error": S ? "true" : void 0,
5310
5313
  children: /* @__PURE__ */ M("div", { className: ge.panes, children: [
5311
5314
  xe(
5312
5315
  "source",
@@ -5461,7 +5464,7 @@ const qa = _(function({
5461
5464
  onSelectedChange: d,
5462
5465
  ...m
5463
5466
  }, p) {
5464
- const P = u(m, e), y = br({
5467
+ const C = u(m, e), y = br({
5465
5468
  initialExpandedState: o ? Cr(n, o) : void 0,
5466
5469
  initialSelectedState: t,
5467
5470
  multiple: s,
@@ -5471,32 +5474,32 @@ const qa = _(function({
5471
5474
  Ie(() => {
5472
5475
  d == null || d(y.selectedState);
5473
5476
  }, [y.selectedState, d]);
5474
- const v = K.useRef(null);
5477
+ const N = K.useRef(null);
5475
5478
  Ie(() => {
5476
- const $ = v.current;
5479
+ const $ = N.current;
5477
5480
  if (!$) return;
5478
- const T = (C) => {
5479
- if (l || C.key !== "Enter" && C.key !== " ") return;
5480
- const f = C.target.closest(
5481
+ const g = (P) => {
5482
+ if (l || P.key !== "Enter" && P.key !== " ") return;
5483
+ const f = P.target.closest(
5481
5484
  '[role="treeitem"]'
5482
- ), b = f == null ? void 0 : f.dataset.value;
5483
- b && (C.preventDefault(), y.select(b));
5485
+ ), w = f == null ? void 0 : f.dataset.value;
5486
+ w && (P.preventDefault(), y.select(w));
5484
5487
  };
5485
- return $.addEventListener("keydown", T), () => $.removeEventListener("keydown", T);
5488
+ return $.addEventListener("keydown", g), () => $.removeEventListener("keydown", g);
5486
5489
  }, [y.select, l]), Ie(() => {
5487
- const $ = v.current;
5490
+ const $ = N.current;
5488
5491
  if (!$ || !l) return;
5489
- const T = (C) => {
5490
- C.preventDefault(), C.stopPropagation();
5492
+ const g = (P) => {
5493
+ P.preventDefault(), P.stopPropagation();
5491
5494
  };
5492
- return $.addEventListener("keydown", T, { capture: !0 }), () => $.removeEventListener("keydown", T, { capture: !0 });
5495
+ return $.addEventListener("keydown", g, { capture: !0 }), () => $.removeEventListener("keydown", g, { capture: !0 });
5493
5496
  }, [l]);
5494
- const h = $r(p, v), x = P, N = x.className, w = N ? `${uo.root} ${N}` : uo.root;
5497
+ const v = $r(p, N), S = C, b = S.className, T = b ? `${uo.root} ${b}` : uo.root;
5495
5498
  return /* @__PURE__ */ a(
5496
5499
  Pr,
5497
5500
  {
5498
- ref: h,
5499
- ...P,
5501
+ ref: v,
5502
+ ...C,
5500
5503
  data: n,
5501
5504
  tree: y,
5502
5505
  expandOnClick: !1,
@@ -5505,8 +5508,8 @@ const qa = _(function({
5505
5508
  renderNode: Cu(l),
5506
5509
  "data-disabled": l || void 0,
5507
5510
  classNames: E(
5508
- { root: w, node: uo.node, subtree: uo.subtree },
5509
- x.classNames
5511
+ { root: T, node: uo.node, subtree: uo.subtree },
5512
+ S.classNames
5510
5513
  )
5511
5514
  }
5512
5515
  );