@clearstory/drywall-react 4.1.0 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/{AdapterDayjs-DCXcQl7P.js → AdapterDayjs-CiOMIAvk.js} +1 -1
  2. package/dist/{Datepicker-D43mv2t3.js → Datepicker-ohrh8fVt.js} +3 -3
  3. package/dist/{SelectControl-B3SzVaOs.js → SelectControl-Cwf0nfyr.js} +153 -149
  4. package/dist/components/AutocompleteControl/AutocompleteControl.d.ts +1 -0
  5. package/dist/components/AutocompleteControl/AutocompleteControl.js +2 -2
  6. package/dist/components/AutocompleteControl/index.js +1 -1
  7. package/dist/components/Datepicker/Datepicker.js +1 -1
  8. package/dist/components/Datepicker/index.js +2 -2
  9. package/dist/components/DatepickerControl/DatepickerControl.d.ts +2 -1
  10. package/dist/components/DatepickerControl/DatepickerControl.js +2 -2
  11. package/dist/components/DatepickerControl/index.js +1 -1
  12. package/dist/components/DialogClose/DialogClose.js +2 -2
  13. package/dist/components/FormSublabel/FormSublabel.js +2 -2
  14. package/dist/components/FormSublabel/index.js +1 -1
  15. package/dist/components/InputControl/InputControl.d.ts +2 -1
  16. package/dist/components/InputControl/InputControl.js +2 -2
  17. package/dist/components/InputControl/index.js +1 -1
  18. package/dist/components/NumberInput/NumberInput.js +2 -2
  19. package/dist/components/NumberInput/index.js +1 -1
  20. package/dist/components/NumberInputControl/NumberInputControl.d.ts +1 -1
  21. package/dist/components/NumberInputControl/NumberInputControl.js +2 -2
  22. package/dist/components/NumberInputControl/index.js +1 -1
  23. package/dist/components/SelectControl/SelectControl.d.ts +2 -1
  24. package/dist/components/SelectControl/SelectControl.js +2 -2
  25. package/dist/components/SelectControl/index.js +1 -1
  26. package/dist/main.js +3 -3
  27. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { _ as gt } from "./ButtonBase-D2KI3JHl.js";
2
2
  import { g as Q } from "./index-CyAhC1RZ.js";
3
- import { w as Dt } from "./Datepicker-D43mv2t3.js";
3
+ import { w as Dt } from "./Datepicker-ohrh8fVt.js";
4
4
  var tt = { exports: {} }, $t = tt.exports, ht;
5
5
  function Tt() {
6
6
  return ht || (ht = 1, (function(W, t) {
@@ -10461,7 +10461,7 @@ const dc = H("div", {
10461
10461
  flexGrow: 1,
10462
10462
  fontSize: "0.875rem",
10463
10463
  lineHeight: "20px",
10464
- padding: "6px 10px",
10464
+ padding: "5px 10px",
10465
10465
  whiteSpace: "nowrap",
10466
10466
  color: n ? e.vars?.palette.text.disabled : void 0
10467
10467
  })), fr = ao(
@@ -10533,7 +10533,7 @@ const dc = H("div", {
10533
10533
  disabled: !!m || !!P,
10534
10534
  onClick: y,
10535
10535
  onMouseDown: (V) => V.preventDefault(),
10536
- sx: { marginLeft: 1 },
10536
+ sx: { marginLeft: 1, padding: "5px" },
10537
10537
  tabIndex: -1,
10538
10538
  children: /* @__PURE__ */ w(Wo, {})
10539
10539
  }
@@ -10547,7 +10547,7 @@ const dc = H("div", {
10547
10547
  disabled: !!m || !!P,
10548
10548
  onClick: () => L.setOpen((V) => !V),
10549
10549
  onMouseDown: (V) => V.preventDefault(),
10550
- sx: { marginLeft: 1 },
10550
+ sx: { marginLeft: 1, padding: "5px" },
10551
10551
  tabIndex: -1,
10552
10552
  children: /* @__PURE__ */ w(_o, {})
10553
10553
  }
@@ -8,7 +8,7 @@ import "./icons/MoreCircleOutlineIcon.js";
8
8
  import { I as fe } from "./Info-CULapxL8.js";
9
9
  import "./theme/index.js";
10
10
  import { A as He } from "./Autocomplete-sKm5nu7E.js";
11
- import { D as ze } from "./Datepicker-D43mv2t3.js";
11
+ import { D as ze } from "./Datepicker-ohrh8fVt.js";
12
12
  import "./components/DescriptionDetails/DescriptionDetails.js";
13
13
  import "./components/DescriptionList/DescriptionList.js";
14
14
  import "./components/DescriptionList/DescriptionListContext.js";
@@ -32,13 +32,13 @@ function Xe(e, r) {
32
32
  helperText: a,
33
33
  id: i,
34
34
  label: o,
35
- required: d,
36
- slotProps: m,
35
+ required: c,
36
+ slotProps: s,
37
37
  sublabel: g,
38
- tooltip: s,
39
- ...v
40
- } = e, h = ue("autocomplete"), c = i || h, u = a ? `${c}-helper` : void 0;
41
- return /* @__PURE__ */ Z(ce, { disabled: t, error: n, ...m?.root, children: [
38
+ tooltip: v,
39
+ ...m
40
+ } = e, h = ue("autocomplete"), d = i || h, u = a ? `${d}-helper` : void 0;
41
+ return /* @__PURE__ */ Z(ce, { disabled: t, error: n, ...s?.root, children: [
42
42
  /* @__PURE__ */ Z(
43
43
  de,
44
44
  {
@@ -48,8 +48,8 @@ function Xe(e, r) {
48
48
  gap: "0.25rem"
49
49
  },
50
50
  children: [
51
- /* @__PURE__ */ I(se, { htmlFor: c, required: d, ...m?.label, children: o }),
52
- s && /* @__PURE__ */ I(ve, { title: s, arrow: !0, children: /* @__PURE__ */ I(
51
+ /* @__PURE__ */ I(se, { htmlFor: d, required: c, ...s?.label, children: o }),
52
+ v && /* @__PURE__ */ I(ve, { title: v, arrow: !0, children: /* @__PURE__ */ I(
53
53
  fe,
54
54
  {
55
55
  sx: ({ vars: S }) => ({
@@ -63,19 +63,20 @@ function Xe(e, r) {
63
63
  ]
64
64
  }
65
65
  ),
66
- g && /* @__PURE__ */ I(me, { ...m?.sublabel, children: g }),
66
+ g && /* @__PURE__ */ I(me, { ...s?.sublabel, children: g }),
67
67
  /* @__PURE__ */ I(
68
68
  He,
69
69
  {
70
70
  disabled: t,
71
71
  ref: r,
72
72
  error: n,
73
- id: c,
74
- "aria-describedby": u ? v["aria-describedby"] ? `${v["aria-describedby"]} ${u}` : u : v["aria-describedby"],
75
- ...v
73
+ id: d,
74
+ "aria-describedby": u ? m["aria-describedby"] ? `${m["aria-describedby"]} ${u}` : u : m["aria-describedby"],
75
+ slotProps: s?.autocomplete,
76
+ ...m
76
77
  }
77
78
  ),
78
- a && /* @__PURE__ */ I(ne, { id: u, ...m?.helperText, children: a })
79
+ a && /* @__PURE__ */ I(ne, { id: u, ...s?.helperText, children: a })
79
80
  ] });
80
81
  }
81
82
  const Ye = ae(
@@ -91,13 +92,13 @@ const er = ae(
91
92
  label: a,
92
93
  required: i = !1,
93
94
  slotProps: o = {},
94
- sublabel: d,
95
- tooltip: m,
95
+ sublabel: c,
96
+ tooltip: s,
96
97
  name: g,
97
- value: s,
98
- onChange: v,
98
+ value: v,
99
+ onChange: m,
99
100
  onAccept: h,
100
- onClose: c,
101
+ onClose: d,
101
102
  onOpen: u,
102
103
  format: S,
103
104
  views: V,
@@ -105,11 +106,11 @@ const er = ae(
105
106
  disableFuture: E,
106
107
  disablePast: F,
107
108
  minDate: j,
108
- maxDate: _,
109
+ maxDate: k,
109
110
  closeOnSelect: K,
110
111
  readOnly: U,
111
112
  clearable: w,
112
- reduceAnimations: k,
113
+ reduceAnimations: _,
113
114
  ...G
114
115
  }, M) => {
115
116
  const W = ue("datepicker"), L = g || W, q = n ? `${L}-helper` : void 0;
@@ -131,7 +132,7 @@ const er = ae(
131
132
  },
132
133
  children: [
133
134
  /* @__PURE__ */ I(se, { htmlFor: L, required: i, ...o.label, children: a }),
134
- m && /* @__PURE__ */ I(ve, { title: m, arrow: !0, children: /* @__PURE__ */ I(
135
+ s && /* @__PURE__ */ I(ve, { title: s, arrow: !0, children: /* @__PURE__ */ I(
135
136
  fe,
136
137
  {
137
138
  sx: ({ vars: Q }) => ({
@@ -145,17 +146,17 @@ const er = ae(
145
146
  ]
146
147
  }
147
148
  ),
148
- d && /* @__PURE__ */ I(me, { ...o.sublabel, children: d }),
149
+ c && /* @__PURE__ */ I(me, { ...o.sublabel, children: c }),
149
150
  /* @__PURE__ */ I(
150
151
  ze,
151
152
  {
152
153
  ref: M,
153
154
  disabled: e,
154
155
  name: L,
155
- value: s,
156
- onChange: v,
156
+ value: v,
157
+ onChange: m,
157
158
  onAccept: h,
158
- onClose: c,
159
+ onClose: d,
159
160
  onOpen: u,
160
161
  format: S,
161
162
  views: V,
@@ -163,11 +164,11 @@ const er = ae(
163
164
  disableFuture: E,
164
165
  disablePast: F,
165
166
  minDate: j,
166
- maxDate: _,
167
+ maxDate: k,
167
168
  closeOnSelect: K,
168
169
  readOnly: U,
169
170
  clearable: w,
170
- reduceAnimations: k,
171
+ reduceAnimations: _,
171
172
  error: r,
172
173
  slotProps: {
173
174
  field: {
@@ -177,7 +178,8 @@ const er = ae(
177
178
  },
178
179
  popper: {
179
180
  "aria-label": `Date picker${typeof a == "string" && ` for ${a}`}`
180
- }
181
+ },
182
+ ...o?.datepicker
181
183
  },
182
184
  ...G
183
185
  }
@@ -202,19 +204,19 @@ const me = Qe(ne)(() => ({
202
204
  id: a,
203
205
  label: i,
204
206
  required: o,
205
- slotProps: d,
206
- sublabel: m,
207
+ slotProps: c,
208
+ sublabel: s,
207
209
  tooltip: g,
208
- ...s
209
- }, v) => {
210
- const h = ue("input"), c = a || h, u = n ? `${c}-helper` : void 0;
210
+ ...v
211
+ }, m) => {
212
+ const h = ue("input"), d = a || h, u = n ? `${d}-helper` : void 0;
211
213
  return /* @__PURE__ */ Z(
212
214
  ce,
213
215
  {
214
216
  disabled: e,
215
217
  error: r,
216
218
  fullWidth: t,
217
- ...d?.root,
219
+ ...c?.root,
218
220
  children: [
219
221
  /* @__PURE__ */ Z(
220
222
  de,
@@ -228,9 +230,9 @@ const me = Qe(ne)(() => ({
228
230
  /* @__PURE__ */ I(
229
231
  se,
230
232
  {
231
- htmlFor: c,
233
+ htmlFor: d,
232
234
  required: o,
233
- ...d?.label,
235
+ ...c?.label,
234
236
  children: i
235
237
  }
236
238
  ),
@@ -248,20 +250,21 @@ const me = Qe(ne)(() => ({
248
250
  ]
249
251
  }
250
252
  ),
251
- m && /* @__PURE__ */ I(me, { ...d?.sublabel, children: m }),
253
+ s && /* @__PURE__ */ I(me, { ...c?.sublabel, children: s }),
252
254
  /* @__PURE__ */ I(
253
255
  Ee,
254
256
  {
255
- ref: v,
257
+ ref: m,
256
258
  disabled: e,
257
259
  error: r,
258
260
  fullWidth: t,
259
- id: c,
260
- "aria-describedby": u ? s["aria-describedby"] ? `${s["aria-describedby"]} ${u}` : u : s["aria-describedby"],
261
- ...s
261
+ id: d,
262
+ "aria-describedby": u ? v["aria-describedby"] ? `${v["aria-describedby"]} ${u}` : u : v["aria-describedby"],
263
+ slotProps: c?.input,
264
+ ...v
262
265
  }
263
266
  ),
264
- n && /* @__PURE__ */ I(ne, { id: u, ...d?.helperText, children: n })
267
+ n && /* @__PURE__ */ I(ne, { id: u, ...c?.helperText, children: n })
265
268
  ]
266
269
  }
267
270
  );
@@ -359,25 +362,25 @@ function Re(e, r, t) {
359
362
  function Ve(e, r) {
360
363
  return Array(r + 1).join(e);
361
364
  }
362
- function _e(e) {
365
+ function ke(e) {
363
366
  var r = e + "", t = r[0] === "-" ? "-" : "";
364
367
  t && (r = r.substring(1));
365
368
  var n = r.split(/[eE]/g), a = n[0], i = n[1];
366
369
  if (i = Number(i), !i)
367
370
  return t + a;
368
371
  a = a.replace(".", "");
369
- var o = 1 + i, d = a.length;
370
- return o < 0 ? a = "0." + Ve("0", Math.abs(o)) + a : o >= d ? a = a + Ve("0", o - d) : a = (a.substring(0, o) || "0") + "." + a.substring(o), t + a;
372
+ var o = 1 + i, c = a.length;
373
+ return o < 0 ? a = "0." + Ve("0", Math.abs(o)) + a : o >= c ? a = a + Ve("0", o - c) : a = (a.substring(0, o) || "0") + "." + a.substring(o), t + a;
371
374
  }
372
375
  function De(e, r, t) {
373
376
  if (["", "-"].indexOf(e) !== -1)
374
377
  return e;
375
- var n = (e.indexOf(".") !== -1 || t) && r, a = we(e), i = a.beforeDecimal, o = a.afterDecimal, d = a.hasNegation, m = parseFloat("0." + (o || "0")), g = o.length <= r ? "0." + o : m.toFixed(r), s = g.split("."), v = i;
376
- i && Number(s[0]) && (v = i.split("").reverse().reduce(function(S, V, b) {
378
+ var n = (e.indexOf(".") !== -1 || t) && r, a = we(e), i = a.beforeDecimal, o = a.afterDecimal, c = a.hasNegation, s = parseFloat("0." + (o || "0")), g = o.length <= r ? "0." + o : s.toFixed(r), v = g.split("."), m = i;
379
+ i && Number(v[0]) && (m = i.split("").reverse().reduce(function(S, V, b) {
377
380
  return S.length > b ? (Number(S[0]) + Number(V)).toString() + S.substring(1, S.length) : V + S;
378
- }, s[0]));
379
- var h = Re(s[1] || "", r, t), c = d ? "-" : "", u = n ? "." : "";
380
- return "" + c + v + u + h;
381
+ }, v[0]));
382
+ var h = Re(v[1] || "", r, t), d = c ? "-" : "", u = n ? "." : "";
383
+ return "" + d + m + u + h;
381
384
  }
382
385
  function X(e, r) {
383
386
  if (e.value = e.value, e !== null) {
@@ -388,7 +391,7 @@ function X(e, r) {
388
391
  return e.selectionStart || e.selectionStart === 0 ? (e.focus(), e.setSelectionRange(r, r), !0) : (e.focus(), !1);
389
392
  }
390
393
  }
391
- var ke = tr(function(e, r) {
394
+ var _e = tr(function(e, r) {
392
395
  for (var t = 0, n = 0, a = e.length, i = r.length; e[t] === r[t] && t < a; )
393
396
  t++;
394
397
  for (; e[a - 1 - n] === r[i - 1 - n] && i - n > t && a - n > t; )
@@ -432,29 +435,29 @@ function sr(e) {
432
435
  }
433
436
  function vr(e, r, t, n, a, i, o) {
434
437
  o === void 0 && (o = sr);
435
- var d = a.findIndex(function(j) {
438
+ var c = a.findIndex(function(j) {
436
439
  return j;
437
- }), m = e.slice(0, d);
438
- !r && !t.startsWith(m) && (r = m, t = m + t, n = n + m.length);
439
- for (var g = t.length, s = e.length, v = {}, h = new Array(g), c = 0; c < g; c++) {
440
- h[c] = -1;
441
- for (var u = 0, S = s; u < S; u++) {
440
+ }), s = e.slice(0, c);
441
+ !r && !t.startsWith(s) && (r = s, t = s + t, n = n + s.length);
442
+ for (var g = t.length, v = e.length, m = {}, h = new Array(g), d = 0; d < g; d++) {
443
+ h[d] = -1;
444
+ for (var u = 0, S = v; u < S; u++) {
442
445
  var V = o({
443
446
  currentValue: t,
444
447
  lastValue: r,
445
448
  formattedValue: e,
446
- currentValueIndex: c,
449
+ currentValueIndex: d,
447
450
  formattedValueIndex: u
448
451
  });
449
- if (V && v[u] !== !0) {
450
- h[c] = u, v[u] = !0;
452
+ if (V && m[u] !== !0) {
453
+ h[d] = u, m[u] = !0;
451
454
  break;
452
455
  }
453
456
  }
454
457
  }
455
458
  for (var b = n; b < g && (h[b] === -1 || !i(t[b])); )
456
459
  b++;
457
- var E = b === g || h[b] === -1 ? s : h[b];
460
+ var E = b === g || h[b] === -1 ? v : h[b];
458
461
  for (b = n - 1; b > 0 && h[b] === -1; )
459
462
  b--;
460
463
  var F = b === -1 || h[b] === -1 ? 0 : h[b] + 1;
@@ -484,20 +487,20 @@ function $e(e, r, t, n, a, i) {
484
487
  i === void 0 && (i = J);
485
488
  var o = or(function(u, S) {
486
489
  var V, b;
487
- return Te(u) ? (b = "", V = "") : typeof u == "number" || S ? (b = typeof u == "number" ? _e(u) : u, V = n(b)) : (b = a(u, void 0), V = n(b)), { formattedValue: V, numAsString: b };
488
- }), d = Be(function() {
490
+ return Te(u) ? (b = "", V = "") : typeof u == "number" || S ? (b = typeof u == "number" ? ke(u) : u, V = n(b)) : (b = a(u, void 0), V = n(b)), { formattedValue: V, numAsString: b };
491
+ }), c = Be(function() {
489
492
  return o(te(e) ? r : e, t);
490
- }), m = d[0], g = d[1], s = function(u, S) {
491
- u.formattedValue !== m.formattedValue && g({
493
+ }), s = c[0], g = c[1], v = function(u, S) {
494
+ u.formattedValue !== s.formattedValue && g({
492
495
  formattedValue: u.formattedValue,
493
496
  numAsString: u.value
494
497
  }), i(u, S);
495
- }, v = e, h = t;
496
- te(e) && (v = m.numAsString, h = !0);
497
- var c = o(v, h);
498
+ }, m = e, h = t;
499
+ te(e) && (m = s.numAsString, h = !0);
500
+ var d = o(m, h);
498
501
  return Pe(function() {
499
- g(c);
500
- }, [c.formattedValue]), [m, s];
502
+ g(d);
503
+ }, [d.formattedValue]), [s, v];
501
504
  }
502
505
  function gr(e) {
503
506
  return e.replace(/[^0-9]/g, "");
@@ -512,12 +515,12 @@ function pr(e) {
512
515
  t === void 0 && (t = "input");
513
516
  var n = e.customInput, a = e.renderText, i = e.getInputRef, o = e.format;
514
517
  o === void 0 && (o = hr);
515
- var d = e.removeFormatting;
516
- d === void 0 && (d = gr);
517
- var m = e.defaultValue, g = e.valueIsNumericString, s = e.onValueChange, v = e.isAllowed, h = e.onChange;
518
+ var c = e.removeFormatting;
519
+ c === void 0 && (c = gr);
520
+ var s = e.defaultValue, g = e.valueIsNumericString, v = e.onValueChange, m = e.isAllowed, h = e.onChange;
518
521
  h === void 0 && (h = J);
519
- var c = e.onKeyDown;
520
- c === void 0 && (c = J);
522
+ var d = e.onKeyDown;
523
+ d === void 0 && (d = J);
521
524
  var u = e.onMouseUp;
522
525
  u === void 0 && (u = J);
523
526
  var S = e.onFocus;
@@ -528,7 +531,7 @@ function pr(e) {
528
531
  E === void 0 && (E = mr);
529
532
  var F = e.isValidInputCharacter;
530
533
  F === void 0 && (F = le);
531
- var j = e.isCharacterSame, _ = Fe(e, ["type", "displayType", "customInput", "renderText", "getInputRef", "format", "removeFormatting", "defaultValue", "valueIsNumericString", "onValueChange", "isAllowed", "onChange", "onKeyDown", "onMouseUp", "onFocus", "onBlur", "value", "getCaretBoundary", "isValidInputCharacter", "isCharacterSame"]), K = $e(b, m, !!g, o, d, s), U = K[0], w = U.formattedValue, k = U.numAsString, G = K[1], M = re(), W = re({ formattedValue: w, numAsString: k }), L = function(l, f) {
534
+ var j = e.isCharacterSame, k = Fe(e, ["type", "displayType", "customInput", "renderText", "getInputRef", "format", "removeFormatting", "defaultValue", "valueIsNumericString", "onValueChange", "isAllowed", "onChange", "onKeyDown", "onMouseUp", "onFocus", "onBlur", "value", "getCaretBoundary", "isValidInputCharacter", "isCharacterSame"]), K = $e(b, s, !!g, o, c, v), U = K[0], w = U.formattedValue, _ = U.numAsString, G = K[1], M = re(), W = re({ formattedValue: w, numAsString: _ }), L = function(l, f) {
532
535
  W.current = { formattedValue: l.formattedValue, numAsString: l.value }, G(l, f);
533
536
  }, q = Be(!1), Q = q[0], y = q[1], p = re(null), D = re({
534
537
  setCaretTimeout: null,
@@ -567,11 +570,11 @@ function pr(e) {
567
570
  };
568
571
  Se(function() {
569
572
  var l = W.current, f = l.formattedValue, x = l.numAsString;
570
- (w !== f || k !== x) && L(O(w, k), {
573
+ (w !== f || _ !== x) && L(O(w, _), {
571
574
  event: void 0,
572
575
  source: oe.props
573
576
  });
574
- }, [w, k]);
577
+ }, [w, _]);
575
578
  var ie = p.current ? Ie(p.current) : void 0, ge = typeof window < "u" ? qe : Se;
576
579
  ge(function() {
577
580
  var l = p.current;
@@ -581,8 +584,8 @@ function pr(e) {
581
584
  }
582
585
  }, [w]);
583
586
  var be = function(l, f, x) {
584
- var C = f.target, $ = M.current ? ur(M.current, C.selectionEnd) : ke(w, l), A = Object.assign(Object.assign({}, $), { lastValue: w }), N = d(l, A), P = T(N);
585
- if (N = d(P, void 0), v && !v(O(P, N))) {
587
+ var C = f.target, $ = M.current ? ur(M.current, C.selectionEnd) : _e(w, l), A = Object.assign(Object.assign({}, $), { lastValue: w }), N = c(l, A), P = T(N);
588
+ if (N = c(P, void 0), m && !m(O(P, N))) {
586
589
  var H = f.target, z = Ie(H), ye = Y(l, w, z);
587
590
  return H.value = w, B(H, ye, w), !1;
588
591
  }
@@ -610,7 +613,7 @@ function pr(e) {
610
613
  x === "Delete" && C === $ && (P = 1);
611
614
  var H = x === "ArrowLeft" || x === "ArrowRight";
612
615
  if (N === void 0 || C !== $ && !H) {
613
- c(l), xe(f, P);
616
+ d(l), xe(f, P);
614
617
  return;
615
618
  }
616
619
  var z = N;
@@ -618,7 +621,7 @@ function pr(e) {
618
621
  var ye = x === "ArrowLeft" ? "left" : "right";
619
622
  z = R(A, N, ye), z !== N && l.preventDefault();
620
623
  } else x === "Delete" && !F(A[N]) ? z = R(A, N, "right") : x === "Backspace" && !F(A[N]) && (z = R(A, N, "left"));
621
- z !== N && B(f, z, A), c(l), xe(f, P);
624
+ z !== N && B(f, z, A), d(l), xe(f, P);
622
625
  }, Ke = function(l) {
623
626
  var f = l.target, x = function() {
624
627
  var C = f.selectionStart, $ = f.selectionEnd, A = f.value;
@@ -641,7 +644,7 @@ function pr(e) {
641
644
  }, 0);
642
645
  }, Ge = function(l) {
643
646
  p.current = null, clearTimeout(D.current.focusTimeout), clearTimeout(D.current.setCaretTimeout), V(l);
644
- }, We = Q && cr() ? "numeric" : void 0, Ne = Object.assign({ inputMode: We }, _, {
647
+ }, We = Q && cr() ? "numeric" : void 0, Ne = Object.assign({ inputMode: We }, k, {
645
648
  type: r,
646
649
  value: w,
647
650
  onChange: Le,
@@ -651,7 +654,7 @@ function pr(e) {
651
654
  onBlur: Ge
652
655
  });
653
656
  if (t === "text")
654
- return a ? ee.createElement(ee.Fragment, null, a(w, _) || null) : ee.createElement("span", Object.assign({}, _, { ref: i }), w);
657
+ return a ? ee.createElement(ee.Fragment, null, a(w, k) || null) : ee.createElement("span", Object.assign({}, k, { ref: i }), w);
655
658
  if (n) {
656
659
  var Ze = n;
657
660
  return ee.createElement(Ze, Object.assign({}, Ne, { ref: i }));
@@ -663,11 +666,11 @@ function Ae(e, r) {
663
666
  a === void 0 && (a = "");
664
667
  var i = r.suffix;
665
668
  i === void 0 && (i = "");
666
- var o = r.allowNegative, d = r.thousandsGroupStyle;
667
- if (d === void 0 && (d = "thousand"), e === "" || e === "-")
669
+ var o = r.allowNegative, c = r.thousandsGroupStyle;
670
+ if (c === void 0 && (c = "thousand"), e === "" || e === "-")
668
671
  return e;
669
- var m = he(r), g = m.thousandSeparator, s = m.decimalSeparator, v = t !== 0 && e.indexOf(".") !== -1 || t && n, h = we(e, o), c = h.beforeDecimal, u = h.afterDecimal, S = h.addNegation;
670
- return t !== void 0 && (u = Re(u, t, !!n)), g && (c = ir(c, g, d)), a && (c = a + c), i && (u = u + i), S && (c = "-" + c), e = c + (v && s || "") + u, e;
672
+ var s = he(r), g = s.thousandSeparator, v = s.decimalSeparator, m = t !== 0 && e.indexOf(".") !== -1 || t && n, h = we(e, o), d = h.beforeDecimal, u = h.afterDecimal, S = h.addNegation;
673
+ return t !== void 0 && (u = Re(u, t, !!n)), g && (d = ir(d, g, c)), a && (d = a + d), i && (u = u + i), S && (d = "-" + d), e = d + (m && v || "") + u, e;
671
674
  }
672
675
  function he(e) {
673
676
  var r = e.decimalSeparator;
@@ -697,32 +700,32 @@ function Sr(e, r, t) {
697
700
  i === void 0 && (i = "");
698
701
  var o = t.suffix;
699
702
  o === void 0 && (o = "");
700
- var d = t.decimalScale, m = r.from, g = r.to, s = g.start, v = g.end, h = he(t), c = h.allowedDecimalSeparators, u = h.decimalSeparator, S = e[v] === u;
703
+ var c = t.decimalScale, s = r.from, g = r.to, v = g.start, m = g.end, h = he(t), d = h.allowedDecimalSeparators, u = h.decimalSeparator, S = e[m] === u;
701
704
  if (le(e) && (e === i || e === o) && r.lastValue === "")
702
705
  return e;
703
- if (v - s === 1 && c.indexOf(e[s]) !== -1) {
704
- var V = d === 0 ? "" : u;
705
- e = e.substring(0, s) + V + e.substring(s + 1, e.length);
706
+ if (m - v === 1 && d.indexOf(e[v]) !== -1) {
707
+ var V = c === 0 ? "" : u;
708
+ e = e.substring(0, v) + V + e.substring(v + 1, e.length);
706
709
  }
707
710
  var b = function(p, D, T) {
708
711
  var O = !1, B = !1;
709
712
  i.startsWith("-") ? O = !1 : p.startsWith("--") ? (O = !1, B = !0) : o.startsWith("-") && p.length === o.length ? O = !1 : p[0] === "-" && (O = !0);
710
713
  var R = O ? 1 : 0;
711
714
  return B && (R = 2), R && (p = p.substring(R), D -= R, T -= R), { value: p, start: D, end: T, hasNegation: O };
712
- }, E = b(e, s, v), F = E.hasNegation;
713
- n = E, e = n.value, s = n.start, v = n.end;
714
- var j = b(r.lastValue, m.start, m.end), _ = j.start, K = j.end, U = j.value, w = e.substring(s, v);
715
- e.length && U.length && (_ > U.length - o.length || K < i.length) && !(w && o.startsWith(w)) && (e = U);
716
- var k = 0;
717
- e.startsWith(i) ? k += i.length : s < i.length && (k = s), e = e.substring(k), v -= k;
715
+ }, E = b(e, v, m), F = E.hasNegation;
716
+ n = E, e = n.value, v = n.start, m = n.end;
717
+ var j = b(r.lastValue, s.start, s.end), k = j.start, K = j.end, U = j.value, w = e.substring(v, m);
718
+ e.length && U.length && (k > U.length - o.length || K < i.length) && !(w && o.startsWith(w)) && (e = U);
719
+ var _ = 0;
720
+ e.startsWith(i) ? _ += i.length : v < i.length && (_ = v), e = e.substring(_), m -= _;
718
721
  var G = e.length, M = e.length - o.length;
719
- e.endsWith(o) ? G = M : (v > M || v > e.length - o.length) && (G = v), e = e.substring(0, G), e = br(F ? "-" + e : e, a), e = (e.match(xr(u)) || []).join("");
722
+ e.endsWith(o) ? G = M : (m > M || m > e.length - o.length) && (G = m), e = e.substring(0, G), e = br(F ? "-" + e : e, a), e = (e.match(xr(u)) || []).join("");
720
723
  var W = e.indexOf(u);
721
724
  e = e.replace(new RegExp(Oe(u), "g"), function(p, D) {
722
725
  return D === W ? "." : "";
723
726
  });
724
727
  var L = we(e, a), q = L.beforeDecimal, Q = L.afterDecimal, y = L.addNegation;
725
- return g.end - g.start < m.end - m.start && q === "" && S && !parseFloat(Q) && (e = y ? "-" : ""), e;
728
+ return g.end - g.start < s.end - s.start && q === "" && S && !parseFloat(Q) && (e = y ? "-" : ""), e;
726
729
  }
727
730
  function Ir(e, r) {
728
731
  var t = r.prefix;
@@ -758,17 +761,17 @@ function Nr(e) {
758
761
  a === void 0 && (a = J);
759
762
  var i = e.onBlur;
760
763
  i === void 0 && (i = J);
761
- var o = e.thousandSeparator, d = e.decimalScale, m = e.fixedDecimalScale, g = e.prefix;
764
+ var o = e.thousandSeparator, c = e.decimalScale, s = e.fixedDecimalScale, g = e.prefix;
762
765
  g === void 0 && (g = "");
763
- var s = e.defaultValue, v = e.value, h = e.valueIsNumericString, c = e.onValueChange, u = Fe(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), S = he(e), V = S.decimalSeparator, b = S.allowedDecimalSeparators, E = function(y) {
766
+ var v = e.defaultValue, m = e.value, h = e.valueIsNumericString, d = e.onValueChange, u = Fe(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), S = he(e), V = S.decimalSeparator, b = S.allowedDecimalSeparators, E = function(y) {
764
767
  return Ae(y, e);
765
768
  }, F = function(y, p) {
766
769
  return Sr(y, p, e);
767
- }, j = te(v) ? s : v, _ = h ?? yr(j, g, r);
768
- te(v) ? te(s) || (_ = _ || typeof s == "number") : _ = _ || typeof v == "number";
770
+ }, j = te(m) ? v : m, k = h ?? yr(j, g, r);
771
+ te(m) ? te(v) || (k = k || typeof v == "number") : k = k || typeof m == "number";
769
772
  var K = function(y) {
770
- return Te(y) ? y : (typeof y == "number" && (y = _e(y)), _ && typeof d == "number" ? De(y, d, !!m) : y);
771
- }, U = $e(K(v), K(s), !!_, E, F, c), w = U[0], k = w.numAsString, G = w.formattedValue, M = U[1], W = function(y) {
773
+ return Te(y) ? y : (typeof y == "number" && (y = ke(y)), k && typeof c == "number" ? De(y, c, !!s) : y);
774
+ }, U = $e(K(m), K(v), !!k, E, F, d), w = U[0], _ = w.numAsString, G = w.formattedValue, M = U[1], W = function(y) {
772
775
  var p = y.target, D = y.key, T = p.selectionStart, O = p.selectionEnd, B = p.value;
773
776
  if (B === void 0 && (B = ""), (D === "Backspace" || D === "Delete") && O < g.length) {
774
777
  y.preventDefault();
@@ -778,12 +781,12 @@ function Nr(e) {
778
781
  a(y);
779
782
  return;
780
783
  }
781
- D === "Backspace" && B[0] === "-" && T === g.length + 1 && t && X(p, 1), d && m && (D === "Backspace" && B[T - 1] === V ? (X(p, T - 1), y.preventDefault()) : D === "Delete" && B[T] === V && y.preventDefault()), b?.includes(D) && B[T] === V && X(p, T + 1);
784
+ D === "Backspace" && B[0] === "-" && T === g.length + 1 && t && X(p, 1), c && s && (D === "Backspace" && B[T - 1] === V ? (X(p, T - 1), y.preventDefault()) : D === "Delete" && B[T] === V && y.preventDefault()), b?.includes(D) && B[T] === V && X(p, T + 1);
782
785
  var R = o === !0 ? "," : o;
783
786
  D === "Backspace" && B[T - 1] === R && X(p, T - 1), D === "Delete" && B[T] === R && X(p, T + 1), a(y);
784
787
  }, L = function(y) {
785
- var p = k;
786
- if (p.match(/\d/g) || (p = ""), n || (p = lr(p)), m && d && (p = De(p, d, m)), p !== k) {
788
+ var p = _;
789
+ if (p.match(/\d/g) || (p = ""), n || (p = lr(p)), s && c && (p = De(p, c, s)), p !== _) {
787
790
  var D = Ae(p, e);
788
791
  M({
789
792
  formattedValue: D,
@@ -798,10 +801,10 @@ function Nr(e) {
798
801
  }, q = function(y) {
799
802
  return y === V ? !0 : le(y);
800
803
  }, Q = function(y) {
801
- var p = y.currentValue, D = y.lastValue, T = y.formattedValue, O = y.currentValueIndex, B = y.formattedValueIndex, R = p[O], Y = T[B], pe = ke(D, p), ie = pe.to, ge = function(be) {
804
+ var p = y.currentValue, D = y.lastValue, T = y.formattedValue, O = y.currentValueIndex, B = y.formattedValueIndex, R = p[O], Y = T[B], pe = _e(D, p), ie = pe.to, ge = function(be) {
802
805
  return F(be).indexOf(".") + g.length;
803
806
  };
804
- return v === 0 && m && d && p[ie.start] === V && ge(p) < O && ge(T) > B ? !1 : O >= ie.start && O < ie.end && b && b.includes(R) && Y === V ? !0 : R === Y;
807
+ return m === 0 && s && c && p[ie.start] === V && ge(p) < O && ge(T) > B ? !1 : O >= ie.start && O < ie.end && b && b.includes(R) && Y === V ? !0 : R === Y;
805
808
  };
806
809
  return Object.assign(Object.assign({}, u), {
807
810
  value: G,
@@ -831,13 +834,13 @@ const je = ae(
831
834
  prefix: a,
832
835
  suffix: i,
833
836
  isAllowed: o,
834
- onValueChange: d,
835
- defaultValue: m,
837
+ onValueChange: c,
838
+ defaultValue: s,
836
839
  value: g,
837
- id: s,
838
- name: v,
840
+ id: v,
841
+ name: m,
839
842
  placeholder: h,
840
- disabled: c,
843
+ disabled: d,
841
844
  error: u,
842
845
  fullWidth: S = !0,
843
846
  size: V = "small",
@@ -845,7 +848,7 @@ const je = ae(
845
848
  onFocus: E,
846
849
  onKeyDown: F,
847
850
  valueIsNumericString: j,
848
- ..._
851
+ ...k
849
852
  }, K) => /* @__PURE__ */ I(
850
853
  Vr,
851
854
  {
@@ -858,21 +861,21 @@ const je = ae(
858
861
  prefix: a,
859
862
  suffix: i,
860
863
  isAllowed: o,
861
- onValueChange: d,
862
- defaultValue: m,
864
+ onValueChange: c,
865
+ defaultValue: s,
863
866
  value: g,
864
867
  valueIsNumericString: j,
865
- id: s,
866
- name: v,
868
+ id: v,
869
+ name: m,
867
870
  placeholder: h,
868
- disabled: c,
871
+ disabled: d,
869
872
  error: u,
870
873
  fullWidth: S,
871
874
  size: V,
872
875
  onBlur: b,
873
876
  onFocus: E,
874
877
  onKeyDown: F,
875
- ..._
878
+ ...k
876
879
  }
877
880
  )
878
881
  );
@@ -886,11 +889,11 @@ const Dr = ae(
886
889
  label: a,
887
890
  required: i,
888
891
  slotProps: o,
889
- sublabel: d,
890
- tooltip: m,
892
+ sublabel: c,
893
+ tooltip: s,
891
894
  ...g
892
- }, s) => {
893
- const v = ue("number-input"), h = n || v, c = t ? `${h}-helper` : void 0, u = g.error;
895
+ }, v) => {
896
+ const m = ue("number-input"), h = n || m, d = t ? `${h}-helper` : void 0, u = g.error;
894
897
  return /* @__PURE__ */ Z(
895
898
  ce,
896
899
  {
@@ -917,7 +920,7 @@ const Dr = ae(
917
920
  children: a
918
921
  }
919
922
  ),
920
- m && /* @__PURE__ */ I(ve, { title: m, arrow: !0, children: /* @__PURE__ */ I(
923
+ s && /* @__PURE__ */ I(ve, { title: s, arrow: !0, children: /* @__PURE__ */ I(
921
924
  fe,
922
925
  {
923
926
  sx: ({ vars: S }) => ({
@@ -931,20 +934,20 @@ const Dr = ae(
931
934
  ]
932
935
  }
933
936
  ),
934
- d && /* @__PURE__ */ I(me, { ...o?.sublabel, children: d }),
937
+ c && /* @__PURE__ */ I(me, { ...o?.sublabel, children: c }),
935
938
  /* @__PURE__ */ I(
936
939
  je,
937
940
  {
938
- ref: s,
941
+ ref: v,
939
942
  disabled: e,
940
943
  id: h,
941
944
  error: u,
942
945
  fullWidth: r,
943
- "aria-describedby": c ? g["aria-describedby"] ? `${g["aria-describedby"]} ${c}` : c : g["aria-describedby"],
946
+ "aria-describedby": d ? g["aria-describedby"] ? `${g["aria-describedby"]} ${d}` : d : g["aria-describedby"],
944
947
  ...g
945
948
  }
946
949
  ),
947
- t && /* @__PURE__ */ I(ne, { id: c, ...o?.helperText, children: t })
950
+ t && /* @__PURE__ */ I(ne, { id: d, ...o?.helperText, children: t })
948
951
  ]
949
952
  }
950
953
  );
@@ -960,19 +963,19 @@ const Cr = ae(
960
963
  id: a,
961
964
  label: i,
962
965
  required: o,
963
- slotProps: d,
964
- sublabel: m,
966
+ slotProps: c,
967
+ sublabel: s,
965
968
  tooltip: g,
966
- ...s
967
- }, v) => {
968
- const h = ue("select"), c = a || h, u = n ? `${c}-helper` : void 0;
969
+ ...v
970
+ }, m) => {
971
+ const h = ue("select"), d = a || h, u = n ? `${d}-helper` : void 0;
969
972
  return /* @__PURE__ */ Z(
970
973
  ce,
971
974
  {
972
975
  disabled: e,
973
976
  error: r,
974
977
  fullWidth: t,
975
- ...d?.root,
978
+ ...c?.root,
976
979
  children: [
977
980
  /* @__PURE__ */ Z(
978
981
  de,
@@ -986,10 +989,10 @@ const Cr = ae(
986
989
  /* @__PURE__ */ I(
987
990
  se,
988
991
  {
989
- id: `${c}-label`,
990
- htmlFor: c,
992
+ id: `${d}-label`,
993
+ htmlFor: d,
991
994
  required: o,
992
- ...d?.label,
995
+ ...c?.label,
993
996
  children: i
994
997
  }
995
998
  ),
@@ -1007,21 +1010,22 @@ const Cr = ae(
1007
1010
  ]
1008
1011
  }
1009
1012
  ),
1010
- m && /* @__PURE__ */ I(me, { ...d?.sublabel, children: m }),
1013
+ s && /* @__PURE__ */ I(me, { ...c?.sublabel, children: s }),
1011
1014
  /* @__PURE__ */ I(
1012
1015
  Je,
1013
1016
  {
1014
- ref: v,
1017
+ ref: m,
1015
1018
  disabled: e,
1016
1019
  error: r,
1017
1020
  fullWidth: t,
1018
- labelId: `${c}-label`,
1019
- id: c,
1020
- "aria-describedby": u ? s["aria-describedby"] ? `${s["aria-describedby"]} ${u}` : u : s["aria-describedby"],
1021
- ...s
1021
+ labelId: `${d}-label`,
1022
+ id: d,
1023
+ "aria-describedby": u ? v["aria-describedby"] ? `${v["aria-describedby"]} ${u}` : u : v["aria-describedby"],
1024
+ slotProps: c?.select,
1025
+ ...v
1022
1026
  }
1023
1027
  ),
1024
- n && /* @__PURE__ */ I(ne, { id: u, ...d?.helperText, children: n })
1028
+ n && /* @__PURE__ */ I(ne, { id: u, ...c?.helperText, children: n })
1025
1029
  ]
1026
1030
  }
1027
1031
  );
@@ -10,6 +10,7 @@ export interface AutocompleteControlProps<Value, Multiple extends boolean | unde
10
10
  label?: Partial<Omit<FormLabelProps, "children" | DOMEventHandlers>>;
11
11
  sublabel?: Partial<Omit<FormSublabelProps, "children" | DOMEventHandlers>>;
12
12
  helperText?: Partial<Omit<FormHelperTextProps, "children" | DOMEventHandlers>>;
13
+ autocomplete?: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>["slotProps"];
13
14
  };
14
15
  sublabel?: ReactNode;
15
16
  tooltip?: ReactNode;
@@ -8,8 +8,8 @@ import "../../icons/MoreCircleOutlineIcon.js";
8
8
  import "../../Info-CULapxL8.js";
9
9
  import "../../theme/index.js";
10
10
  import "../../Autocomplete-sKm5nu7E.js";
11
- import { A as B } from "../../SelectControl-B3SzVaOs.js";
12
- import "../../Datepicker-D43mv2t3.js";
11
+ import { A as B } from "../../SelectControl-Cwf0nfyr.js";
12
+ import "../../Datepicker-ohrh8fVt.js";
13
13
  import "../DescriptionDetails/DescriptionDetails.js";
14
14
  import "../DescriptionList/DescriptionList.js";
15
15
  import "../DescriptionList/DescriptionListContext.js";
@@ -1,4 +1,4 @@
1
- import { A as e } from "../../SelectControl-B3SzVaOs.js";
1
+ import { A as e } from "../../SelectControl-Cwf0nfyr.js";
2
2
  export {
3
3
  e as AutocompleteControl
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { D as e, D } from "../../Datepicker-D43mv2t3.js";
3
+ import { D as e, D } from "../../Datepicker-ohrh8fVt.js";
4
4
  import "../../styled-D8CtiDxW.js";
5
5
  import "../../useForkRef-9kN4DArm.js";
6
6
  import "../../IconButton-TpdTqzbL.js";
@@ -1,5 +1,5 @@
1
- import { c as e, a as r, b as i, D as t, L as l, M as o, P as d, e as C, d as c, f as D, D as k, g as n, j as p, i as P, p as y, h as f } from "../../Datepicker-D43mv2t3.js";
2
- import { A as b } from "../../AdapterDayjs-DCXcQl7P.js";
1
+ import { c as e, a as r, b as i, D as t, L as l, M as o, P as d, e as C, d as c, f as D, D as k, g as n, j as p, i as P, p as y, h as f } from "../../Datepicker-ohrh8fVt.js";
2
+ import { A as b } from "../../AdapterDayjs-CiOMIAvk.js";
3
3
  export {
4
4
  b as AdapterDayjs,
5
5
  e as DateCalendar,
@@ -1,5 +1,5 @@
1
1
  import { DOMAttributes, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
2
- import { FormControlProps, FormLabelProps, FormHelperTextProps, FormSublabelProps } from '../../main';
2
+ import { FormControlProps, FormLabelProps, FormHelperTextProps, FormSublabelProps, DatepickerProps } from '../../main';
3
3
  import { Dayjs } from 'dayjs';
4
4
  type DOMEventHandlers = keyof DOMAttributes<HTMLElement>;
5
5
  export interface DatepickerControlProps {
@@ -31,6 +31,7 @@ export interface DatepickerControlProps {
31
31
  label?: Partial<Omit<FormLabelProps, "children" | DOMEventHandlers>>;
32
32
  sublabel?: Partial<Omit<FormSublabelProps, "children" | DOMEventHandlers>>;
33
33
  helperText?: Partial<Omit<FormHelperTextProps, "children" | DOMEventHandlers>>;
34
+ datepicker?: DatepickerProps["slotProps"];
34
35
  };
35
36
  sublabel?: ReactNode;
36
37
  tooltip?: ReactNode;
@@ -8,8 +8,8 @@ import "../../icons/MoreCircleOutlineIcon.js";
8
8
  import "../../Info-CULapxL8.js";
9
9
  import "../../theme/index.js";
10
10
  import "../../Autocomplete-sKm5nu7E.js";
11
- import { D as A } from "../../SelectControl-B3SzVaOs.js";
12
- import "../../Datepicker-D43mv2t3.js";
11
+ import { D as A } from "../../SelectControl-Cwf0nfyr.js";
12
+ import "../../Datepicker-ohrh8fVt.js";
13
13
  import "../DescriptionDetails/DescriptionDetails.js";
14
14
  import "../DescriptionList/DescriptionList.js";
15
15
  import "../DescriptionList/DescriptionListContext.js";
@@ -1,4 +1,4 @@
1
- import { D as e } from "../../SelectControl-B3SzVaOs.js";
1
+ import { D as e } from "../../SelectControl-Cwf0nfyr.js";
2
2
  export {
3
3
  e as DatepickerControl
4
4
  };
@@ -7,8 +7,8 @@ import "../../icons/MoreCircleOutlineIcon.js";
7
7
  import { C as i } from "../../Close-BQl12sEw.js";
8
8
  import "../../theme/index.js";
9
9
  import "../../Autocomplete-sKm5nu7E.js";
10
- import "../../SelectControl-B3SzVaOs.js";
11
- import "../../Datepicker-D43mv2t3.js";
10
+ import "../../SelectControl-Cwf0nfyr.js";
11
+ import "../../Datepicker-ohrh8fVt.js";
12
12
  import "../DescriptionDetails/DescriptionDetails.js";
13
13
  import "../DescriptionList/DescriptionList.js";
14
14
  import "../DescriptionList/DescriptionListContext.js";
@@ -5,8 +5,8 @@ import "../../icons/MoneyBucketIcon.js";
5
5
  import "../../icons/MoreCircleOutlineIcon.js";
6
6
  import "../../theme/index.js";
7
7
  import "../../Autocomplete-sKm5nu7E.js";
8
- import { F as q } from "../../SelectControl-B3SzVaOs.js";
9
- import "../../Datepicker-D43mv2t3.js";
8
+ import { F as q } from "../../SelectControl-Cwf0nfyr.js";
9
+ import "../../Datepicker-ohrh8fVt.js";
10
10
  import "../DescriptionDetails/DescriptionDetails.js";
11
11
  import "../DescriptionList/DescriptionList.js";
12
12
  import "../DescriptionList/DescriptionListContext.js";
@@ -1,4 +1,4 @@
1
- import { F as a } from "../../SelectControl-B3SzVaOs.js";
1
+ import { F as a } from "../../SelectControl-Cwf0nfyr.js";
2
2
  export {
3
3
  a as FormSublabel
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { DOMAttributes, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { InputProps, FormControlProps, FormLabelProps, FormHelperTextProps, FormSublabelProps } from '../../main';
3
3
  type DOMEventHandlers = keyof DOMAttributes<HTMLElement>;
4
- interface InputControlProps extends Omit<InputProps, "ref"> {
4
+ export interface InputControlProps extends Omit<InputProps, "ref" | "slotProps"> {
5
5
  helperText?: ReactNode;
6
6
  label: ReactNode;
7
7
  slotProps?: {
@@ -9,6 +9,7 @@ interface InputControlProps extends Omit<InputProps, "ref"> {
9
9
  label?: Partial<Omit<FormLabelProps, "children" | DOMEventHandlers>>;
10
10
  sublabel?: Partial<Omit<FormSublabelProps, "children" | DOMEventHandlers>>;
11
11
  helperText?: Partial<Omit<FormHelperTextProps, "children" | DOMEventHandlers>>;
12
+ input?: InputProps["slotProps"];
12
13
  };
13
14
  sublabel?: ReactNode;
14
15
  tooltip?: ReactNode;
@@ -8,8 +8,8 @@ import "../../icons/MoreCircleOutlineIcon.js";
8
8
  import "../../Info-CULapxL8.js";
9
9
  import "../../theme/index.js";
10
10
  import "../../Autocomplete-sKm5nu7E.js";
11
- import { I as A } from "../../SelectControl-B3SzVaOs.js";
12
- import "../../Datepicker-D43mv2t3.js";
11
+ import { I as A } from "../../SelectControl-Cwf0nfyr.js";
12
+ import "../../Datepicker-ohrh8fVt.js";
13
13
  import "../DescriptionDetails/DescriptionDetails.js";
14
14
  import "../DescriptionList/DescriptionList.js";
15
15
  import "../DescriptionList/DescriptionListContext.js";
@@ -1,4 +1,4 @@
1
- import { I as t } from "../../SelectControl-B3SzVaOs.js";
1
+ import { I as t } from "../../SelectControl-Cwf0nfyr.js";
2
2
  export {
3
3
  t as InputControl
4
4
  };
@@ -1,13 +1,13 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { N as j, N as k } from "../../SelectControl-B3SzVaOs.js";
3
+ import { N as j, N as k } from "../../SelectControl-Cwf0nfyr.js";
4
4
  import "../../icons/ClearstoryIcon.js";
5
5
  import "../../icons/InternalOnlyIcon.js";
6
6
  import "../../icons/MoneyBucketIcon.js";
7
7
  import "../../icons/MoreCircleOutlineIcon.js";
8
8
  import "../../theme/index.js";
9
9
  import "../../Autocomplete-sKm5nu7E.js";
10
- import "../../Datepicker-D43mv2t3.js";
10
+ import "../../Datepicker-ohrh8fVt.js";
11
11
  import "../DescriptionDetails/DescriptionDetails.js";
12
12
  import "../DescriptionList/DescriptionList.js";
13
13
  import "../DescriptionList/DescriptionListContext.js";
@@ -1,4 +1,4 @@
1
- import { N as m } from "../../SelectControl-B3SzVaOs.js";
1
+ import { N as m } from "../../SelectControl-Cwf0nfyr.js";
2
2
  export {
3
3
  m as NumberInput
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { DOMAttributes, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { NumberInputProps, FormControlProps, FormLabelProps, FormHelperTextProps, FormSublabelProps } from '../../main';
3
3
  type DOMEventHandlers = keyof DOMAttributes<HTMLElement>;
4
- interface NumberInputControlProps extends Omit<NumberInputProps, "ref"> {
4
+ export interface NumberInputControlProps extends Omit<NumberInputProps, "ref"> {
5
5
  helperText?: ReactNode;
6
6
  label: ReactNode;
7
7
  required?: boolean;
@@ -8,8 +8,8 @@ import "../../icons/MoreCircleOutlineIcon.js";
8
8
  import "../../Info-CULapxL8.js";
9
9
  import "../../theme/index.js";
10
10
  import "../../Autocomplete-sKm5nu7E.js";
11
- import { a as z } from "../../SelectControl-B3SzVaOs.js";
12
- import "../../Datepicker-D43mv2t3.js";
11
+ import { a as z } from "../../SelectControl-Cwf0nfyr.js";
12
+ import "../../Datepicker-ohrh8fVt.js";
13
13
  import "../DescriptionDetails/DescriptionDetails.js";
14
14
  import "../DescriptionList/DescriptionList.js";
15
15
  import "../DescriptionList/DescriptionListContext.js";
@@ -1,4 +1,4 @@
1
- import { a as t } from "../../SelectControl-B3SzVaOs.js";
1
+ import { a as t } from "../../SelectControl-Cwf0nfyr.js";
2
2
  export {
3
3
  t as NumberInputControl
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { DOMAttributes, ReactNode, ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { SelectProps, FormControlProps, FormLabelProps, FormHelperTextProps, FormSublabelProps } from '../../main';
3
3
  type DOMEventHandlers = keyof DOMAttributes<HTMLElement>;
4
- interface SelectControlProps extends Omit<SelectProps, "ref"> {
4
+ export interface SelectControlProps extends Omit<SelectProps, "ref"> {
5
5
  helperText?: ReactNode;
6
6
  label: ReactNode;
7
7
  slotProps?: {
@@ -9,6 +9,7 @@ interface SelectControlProps extends Omit<SelectProps, "ref"> {
9
9
  label?: Partial<Omit<FormLabelProps, "children" | DOMEventHandlers>>;
10
10
  sublabel?: Partial<Omit<FormSublabelProps, "children" | DOMEventHandlers>>;
11
11
  helperText?: Partial<Omit<FormHelperTextProps, "children" | DOMEventHandlers>>;
12
+ select?: SelectProps["slotProps"];
12
13
  };
13
14
  sublabel?: ReactNode;
14
15
  tooltip?: ReactNode;
@@ -8,8 +8,8 @@ import "../../icons/MoreCircleOutlineIcon.js";
8
8
  import "../../Info-CULapxL8.js";
9
9
  import "../../theme/index.js";
10
10
  import "../../Autocomplete-sKm5nu7E.js";
11
- import { S as A } from "../../SelectControl-B3SzVaOs.js";
12
- import "../../Datepicker-D43mv2t3.js";
11
+ import { S as A } from "../../SelectControl-Cwf0nfyr.js";
12
+ import "../../Datepicker-ohrh8fVt.js";
13
13
  import "../DescriptionDetails/DescriptionDetails.js";
14
14
  import "../DescriptionList/DescriptionList.js";
15
15
  import "../DescriptionList/DescriptionListContext.js";
@@ -1,4 +1,4 @@
1
- import { S as r } from "../../SelectControl-B3SzVaOs.js";
1
+ import { S as r } from "../../SelectControl-Cwf0nfyr.js";
2
2
  export {
3
3
  r as SelectControl
4
4
  };
package/dist/main.js CHANGED
@@ -10,8 +10,8 @@ import { C as Da } from "./Close-BQl12sEw.js";
10
10
  import { I as ha } from "./Info-CULapxL8.js";
11
11
  import { StyledEngineProvider as Pa } from "./theme/index.js";
12
12
  import { A as Fa, a as va, c as Oa, g as Ma } from "./Autocomplete-sKm5nu7E.js";
13
- import { A as Ga, D as Ha, F as Ea, I as Na, N as Va, a as Ka, S as za } from "./SelectControl-B3SzVaOs.js";
14
- import { c as Za, a as ja, b as Qa, D as qa, L as Ja, M as Xa, P as Ya, e as _a, d as $a, f as st, g as at, j as tt, i as ot, p as et, h as rt } from "./Datepicker-D43mv2t3.js";
13
+ import { A as Ga, D as Ha, F as Ea, I as Na, N as Va, a as Ka, S as za } from "./SelectControl-Cwf0nfyr.js";
14
+ import { c as Za, a as ja, b as Qa, D as qa, L as Ja, M as Xa, P as Ya, e as _a, d as $a, f as st, g as at, j as tt, i as ot, p as et, h as rt } from "./Datepicker-ohrh8fVt.js";
15
15
  import { DescriptionDetails as it } from "./components/DescriptionDetails/DescriptionDetails.js";
16
16
  import { DescriptionList as Ct } from "./components/DescriptionList/DescriptionList.js";
17
17
  import { useDescriptionListContext as pt } from "./components/DescriptionList/DescriptionListContext.js";
@@ -129,7 +129,7 @@ import { Z as DC } from "./Zoom-DWJxiZNB.js";
129
129
  import { a as hC, d as kC, e as PC, g as wC, b as FC, l as vC } from "./createTheme-B1FDFl52.js";
130
130
  import { u as MC } from "./ThemeProviderWithVars-Dkq81Wx8.js";
131
131
  import { C as GC } from "./ClickAwayListener-BhNP8Zmy.js";
132
- import { A as EC } from "./AdapterDayjs-DCXcQl7P.js";
132
+ import { A as EC } from "./AdapterDayjs-CiOMIAvk.js";
133
133
  export {
134
134
  g as AccessTimeIcon,
135
135
  Mt as Accordion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clearstory/drywall-react",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
4
4
  "license": "UNLICENSED",
5
5
  "description": "a Clearstory software design system",
6
6
  "type": "module",