@solostylist/ui-kit 1.0.78 → 1.0.80

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 (136) hide show
  1. package/dist/{Box-reWd7MO-.js → Box-Bfkq7uIw.js} +23 -21
  2. package/dist/{Close-CVFQMMUW.js → Close-C1lLcTQu.js} +1 -1
  3. package/dist/{Menu-CGTDGEoX.js → Menu-DbldWmqB.js} +94 -93
  4. package/dist/{MenuItem-Bdna3McP.js → MenuItem-BHTJlag0.js} +8 -7
  5. package/dist/{Select-D54ugORZ.js → Select-CT0Hpudx.js} +14 -13
  6. package/dist/{Stack-ISlVeD89.js → Stack-W0weBtf9.js} +29 -28
  7. package/dist/{TransitionGroup-DuMpOHcM.js → TransitionGroup-q306siJs.js} +1 -1
  8. package/dist/{Typography-D38zoHJr.js → Typography-CeAbQ9LX.js} +17 -17
  9. package/dist/{buttonBaseClasses-CF7RfAgE.js → buttonBaseClasses-CR6HkqQ3.js} +2 -2
  10. package/dist/colorManipulator-CPZHCebU.js +178 -0
  11. package/dist/{createSvgIcon-DN-sh_sr.js → createSvgIcon-9XY7lJan.js} +129 -131
  12. package/dist/createTheme-wt8sY36y.js +2837 -0
  13. package/dist/{defaultTheme-BDQAWvCM.js → defaultTheme-YL2LZ-0U.js} +7 -7
  14. package/dist/emotion-serialize.esm-lgBmL_7o.js +195 -0
  15. package/dist/{extendSxProp-KtEeHd8h.js → extendSxProp-B1pEE-ot.js} +1 -1
  16. package/dist/generateUtilityClasses-D-O3RBPF.js +10 -0
  17. package/dist/hooks/use-dialog.d.ts +21 -0
  18. package/dist/hooks/use-dialog.js +10 -2
  19. package/dist/hooks/use-popover.d.ts +24 -0
  20. package/dist/hooks/use-popover.js +7 -1
  21. package/dist/{iconButtonClasses-DMst1jJO.js → iconButtonClasses-WmsPyI4v.js} +2 -2
  22. package/dist/index-B6k9mhKf.js +30 -0
  23. package/dist/{index-x815ub0T.js → index-DAXzX0k9.js} +5 -5
  24. package/dist/main.d.ts +5 -1
  25. package/dist/main.js +109 -104
  26. package/dist/{outlinedInputClasses-E4FwVkZh.js → outlinedInputClasses-Cor6Mcxo.js} +2 -2
  27. package/dist/s-autocomplete/s-autocomplete.d.ts +31 -0
  28. package/dist/s-autocomplete/s-autocomplete.js +23 -20
  29. package/dist/s-button/index.d.ts +2 -0
  30. package/dist/s-button/index.js +4 -0
  31. package/dist/s-button/package.json +5 -0
  32. package/dist/s-button/s-button.d.ts +6 -0
  33. package/dist/s-button/s-button.js +7 -0
  34. package/dist/s-button-link/s-button-link.d.ts +37 -1
  35. package/dist/s-checkbox/s-checkbox.d.ts +21 -0
  36. package/dist/s-checkbox/s-checkbox.js +9 -9
  37. package/dist/s-chip/index.d.ts +2 -0
  38. package/dist/s-chip/index.js +4 -0
  39. package/dist/s-chip/package.json +5 -0
  40. package/dist/s-chip/s-chip.d.ts +6 -0
  41. package/dist/s-chip/s-chip.js +7 -0
  42. package/dist/s-chips/s-chips.d.ts +26 -1
  43. package/dist/s-chips/s-chips.js +28 -23
  44. package/dist/s-copilot-kit-provider/s-copilot-kit-provider.d.ts +28 -0
  45. package/dist/s-copyable-text/s-copyable-text.d.ts +43 -2
  46. package/dist/s-copyable-text/s-copyable-text.js +30 -22
  47. package/dist/s-data-table/s-data-table.d.ts +87 -0
  48. package/dist/s-data-table/s-data-table.js +33 -22
  49. package/dist/s-date-picker/s-date-picker.d.ts +25 -0
  50. package/dist/s-date-picker/s-date-picker.js +109 -92
  51. package/dist/s-datetime-picker/s-datetime-picker.d.ts +26 -0
  52. package/dist/s-datetime-picker/s-datetime-picker.js +209 -192
  53. package/dist/s-dialog/s-dialog.d.ts +27 -0
  54. package/dist/s-dialog/s-dialog.js +1 -1
  55. package/dist/s-dialog-confirm/s-dialog-confirm.d.ts +54 -0
  56. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  57. package/dist/s-dialog-message/s-dialog-message.d.ts +51 -0
  58. package/dist/s-dialog-message/s-dialog-message.js +3 -2
  59. package/dist/s-empty/s-empty.d.ts +25 -1
  60. package/dist/s-error/s-error.d.ts +19 -0
  61. package/dist/s-file-dropzone/s-file-dropzone.d.ts +67 -0
  62. package/dist/s-file-dropzone/s-file-dropzone.js +6 -4
  63. package/dist/s-file-icon/s-file-icon.d.ts +28 -0
  64. package/dist/s-file-icon/s-file-icon.js +5 -2
  65. package/dist/s-form/s-form.d.ts +22 -0
  66. package/dist/s-form/s-form.js +9 -10
  67. package/dist/s-glow-button/index.d.ts +1 -1
  68. package/dist/s-glow-button/s-glow-button.d.ts +39 -3
  69. package/dist/s-glow-button/s-glow-button.js +11 -2
  70. package/dist/s-gradient-icon/s-gradient-icon.d.ts +43 -0
  71. package/dist/s-gradient-icon/s-gradient-icon.js +6 -1
  72. package/dist/s-i18n-provider/s-i18n-provider.d.ts +37 -0
  73. package/dist/s-i18n-provider/s-i18n-provider.js +8 -1
  74. package/dist/s-icon-button/s-icon-button.d.ts +23 -0
  75. package/dist/s-interactive-gallery/s-interactive-gallery.d.ts +96 -0
  76. package/dist/s-interactive-gallery/s-interactive-gallery.js +175 -82
  77. package/dist/s-label/s-label.d.ts +30 -2
  78. package/dist/s-label/s-label.js +8 -18
  79. package/dist/s-lazy-image/s-lazy-image.d.ts +28 -1
  80. package/dist/s-localization-provider/s-localization-provider.d.ts +30 -0
  81. package/dist/s-localization-provider/s-localization-provider.js +5 -2
  82. package/dist/s-moving-border/s-moving-border.d.ts +41 -0
  83. package/dist/s-moving-border/s-moving-border.js +5 -1
  84. package/dist/s-multi-select/s-multi-select.d.ts +23 -0
  85. package/dist/s-multi-select/s-multi-select.js +3 -3
  86. package/dist/s-no-ssr/s-no-ssr.d.ts +38 -0
  87. package/dist/s-pagination/s-pagination.d.ts +29 -0
  88. package/dist/s-select/s-select.d.ts +35 -0
  89. package/dist/s-select/s-select.js +41 -37
  90. package/dist/s-skeleton/s-skeleton.d.ts +31 -1
  91. package/dist/s-smart-text-field/s-smart-text-field.d.ts +28 -0
  92. package/dist/s-smart-text-field/s-smart-text-field.js +1425 -1399
  93. package/dist/s-snackbar-message/s-snackbar-message.d.ts +56 -2
  94. package/dist/s-stripe/s-stripe.d.ts +93 -0
  95. package/dist/s-stripe/s-stripe.js +3 -0
  96. package/dist/s-stripe/stripe-input.d.ts +23 -0
  97. package/dist/s-stripe/stripe-input.js +1 -0
  98. package/dist/s-text-editor/index.d.ts +2 -0
  99. package/dist/s-text-editor/index.js +4 -2
  100. package/dist/s-text-editor/s-text-editor-toolbar.d.ts +33 -0
  101. package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
  102. package/dist/s-text-editor/s-text-editor.js +1 -1
  103. package/dist/s-text-field/s-text-field.d.ts +23 -0
  104. package/dist/s-text-truncation/s-text-truncation.d.ts +30 -0
  105. package/dist/s-theme-provider/s-theme-provider.d.ts +24 -3
  106. package/dist/s-theme-provider/s-theme-provider.js +9 -2
  107. package/dist/s-tip/s-tip.d.ts +27 -0
  108. package/dist/s-tip/s-tip.js +5 -3
  109. package/dist/svgIconClasses-BYFQaEQ7.js +10 -0
  110. package/dist/{tabClasses-LXCeUS4i.js → tabClasses-CXQXD3XZ.js} +2 -2
  111. package/dist/theme/components/avatar.js +1 -1
  112. package/dist/theme/components/button.d.ts +5834 -0
  113. package/dist/theme/components/button.js +186 -0
  114. package/dist/theme/components/chip.d.ts +117 -0
  115. package/dist/theme/components/chip.js +168 -0
  116. package/dist/theme/components/components.d.ts +5944 -0
  117. package/dist/theme/components/components.js +16 -12
  118. package/dist/theme/customizations/data-display.d.ts +0 -5
  119. package/dist/theme/customizations/data-display.js +15 -144
  120. package/dist/theme/customizations/feedback.js +1 -1
  121. package/dist/theme/customizations/inputs.js +29 -226
  122. package/dist/theme/customizations/navigation.js +26 -12
  123. package/dist/theme/customizations/surfaces.js +5 -5
  124. package/dist/theme/theme-primitives.d.ts +24 -0
  125. package/dist/theme/theme-primitives.js +73 -48
  126. package/dist/{typographyClasses-QAKcrTAX.js → typographyClasses-DTwotNbm.js} +2 -2
  127. package/dist/{useMobilePicker-DlmTFHhN.js → useMobilePicker-CYRSYIKP.js} +1852 -1848
  128. package/dist/{useSlot-CiHsL61G.js → useSlot-B_4ipGBP.js} +6 -6
  129. package/dist/{useTheme-Dy5JmnOe.js → useTheme-D1MJ3g_i.js} +1 -1
  130. package/dist/{useThemeProps-BGjjVPlJ.js → useThemeProps-CTcSO3lC.js} +2 -2
  131. package/dist/{warning-DWsjz4u6.js → warning-DyDdgu8-.js} +3 -3
  132. package/package.json +6 -4
  133. package/dist/HelpOutlineOutlined-Dw_XSjYK.js +0 -8
  134. package/dist/chipClasses-WFcUH6gU.js +0 -10
  135. package/dist/createTheme-DuP3DZSF.js +0 -3005
  136. package/dist/generateUtilityClasses-BpNk3DNr.js +0 -230
@@ -1,26 +1,27 @@
1
1
  import { j as b } from "../jsx-runtime-DywqP_6a.js";
2
- import { TextField as z } from "@mui/material";
3
- import I from "../s-form/s-form.js";
4
- import { _ as h, a as s } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
2
+ import { useTheme as I, TextField as z } from "@mui/material";
3
+ import L from "../s-form/s-form.js";
4
+ import { _ as O, a } from "../objectWithoutPropertiesLoose-DiWPeE4c.js";
5
5
  import * as p from "react";
6
- import { g as L, P as e } from "../createTheme-DuP3DZSF.js";
7
- import { u as P, a as Y, b as U, c as Q, r as T, d as q, P as B, e as H, f as $, g as K, h as Z, i as G, j as J, C as X, k as m, l as M, m as ee, v as F, s as N, n as oe, D as te, o as ae } from "../useMobilePicker-DlmTFHhN.js";
8
- import { u as y } from "../warning-DWsjz4u6.js";
9
- import { g as se } from "../generateUtilityClasses-BpNk3DNr.js";
10
- import { a as R, d as ne } from "../createSvgIcon-DN-sh_sr.js";
11
- import { T as re } from "../Typography-D38zoHJr.js";
12
- import { r as D, a as C } from "../useSlot-CiHsL61G.js";
13
- function le(l) {
14
- return L("MuiDatePickerToolbar", l);
6
+ import { P as e } from "../createTheme-wt8sY36y.js";
7
+ import { u as P, a as Y, b as U, c as Q, r as T, d as q, P as B, e as H, f as $, g as K, h as Z, i as G, j as J, C as X, k as m, l as M, m as ee, v as F, s as R, n as oe, D as te, o as se } from "../useMobilePicker-CYRSYIKP.js";
8
+ import { u as y } from "../warning-DyDdgu8-.js";
9
+ import { g as ae } from "../colorManipulator-CPZHCebU.js";
10
+ import { g as ne } from "../generateUtilityClasses-D-O3RBPF.js";
11
+ import { s as N, b as re } from "../createSvgIcon-9XY7lJan.js";
12
+ import { T as le } from "../Typography-CeAbQ9LX.js";
13
+ import { r as h, a as C } from "../useSlot-B_4ipGBP.js";
14
+ function ie(l) {
15
+ return ae("MuiDatePickerToolbar", l);
15
16
  }
16
- se("MuiDatePickerToolbar", ["root", "title"]);
17
- const ie = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ce = (l) => ne({
17
+ ne("MuiDatePickerToolbar", ["root", "title"]);
18
+ const ce = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ue = (l) => re({
18
19
  root: ["root"],
19
20
  title: ["title"]
20
- }, le, l), ue = R(B, {
21
+ }, ie, l), de = N(B, {
21
22
  name: "MuiDatePickerToolbar",
22
23
  slot: "Root"
23
- })({}), de = R(re, {
24
+ })({}), fe = N(le, {
24
25
  name: "MuiDatePickerToolbar",
25
26
  slot: "Title"
26
27
  })({
@@ -38,32 +39,32 @@ const ie = ["toolbarFormat", "toolbarPlaceholder", "className", "classes"], ce =
38
39
  name: "MuiDatePickerToolbar"
39
40
  }), {
40
41
  toolbarFormat: o,
41
- toolbarPlaceholder: a = "––",
42
- className: u,
42
+ toolbarPlaceholder: s = "––",
43
+ className: i,
43
44
  classes: f
44
- } = r, i = h(r, ie), d = P(), {
45
- value: c,
46
- views: x,
45
+ } = r, c = O(r, ce), d = P(), {
46
+ value: u,
47
+ views: v,
47
48
  orientation: E
48
- } = Y(), V = U(), _ = Q(), v = ce(f), A = p.useMemo(() => {
49
- if (!d.isValid(c))
50
- return a;
49
+ } = Y(), V = U(), _ = Q(), w = ue(f), A = p.useMemo(() => {
50
+ if (!d.isValid(u))
51
+ return s;
51
52
  const W = T(d, {
52
53
  format: o,
53
- views: x
54
+ views: v
54
55
  }, !0);
55
- return d.formatByString(c, W);
56
- }, [c, o, a, d, x]);
57
- return /* @__PURE__ */ b.jsx(ue, s({
56
+ return d.formatByString(u, W);
57
+ }, [u, o, s, d, v]);
58
+ return /* @__PURE__ */ b.jsx(de, a({
58
59
  ref: t,
59
60
  toolbarTitle: V.datePickerToolbarTitle,
60
- className: q(v.root, u)
61
- }, i, {
62
- children: /* @__PURE__ */ b.jsx(de, {
61
+ className: q(w.root, i)
62
+ }, c, {
63
+ children: /* @__PURE__ */ b.jsx(fe, {
63
64
  variant: "h4",
64
65
  align: E === "landscape" ? "left" : "center",
65
66
  ownerState: _,
66
- className: v.title,
67
+ className: w.title,
67
68
  children: A
68
69
  })
69
70
  }));
@@ -104,12 +105,12 @@ function S(l, n) {
104
105
  props: l,
105
106
  name: n
106
107
  }), r = H(t), o = p.useMemo(() => {
107
- var a;
108
- return ((a = t.localeText) == null ? void 0 : a.toolbarTitle) == null ? t.localeText : s({}, t.localeText, {
108
+ var s;
109
+ return ((s = t.localeText) == null ? void 0 : s.toolbarTitle) == null ? t.localeText : a({}, t.localeText, {
109
110
  datePickerToolbarTitle: t.localeText.toolbarTitle
110
111
  });
111
112
  }, [t.localeText]);
112
- return s({}, t, r, {
113
+ return a({}, t, r, {
113
114
  localeText: o
114
115
  }, $({
115
116
  views: t.views,
@@ -117,38 +118,38 @@ function S(l, n) {
117
118
  defaultViews: ["year", "day"],
118
119
  defaultOpenTo: "day"
119
120
  }), {
120
- slots: s({
121
+ slots: a({
121
122
  toolbar: g
122
123
  }, t.slots)
123
124
  });
124
125
  }
125
- const fe = (l) => {
126
+ const be = (l) => {
126
127
  const n = K(l);
127
128
  return Z({
128
129
  manager: n,
129
130
  props: l
130
131
  });
131
- }, be = ["slots", "slotProps"], O = /* @__PURE__ */ p.forwardRef(function(n, t) {
132
+ }, pe = ["slots", "slotProps"], D = /* @__PURE__ */ p.forwardRef(function(n, t) {
132
133
  const r = y({
133
134
  props: n,
134
135
  name: "MuiDateField"
135
136
  }), {
136
137
  slots: o,
137
- slotProps: a
138
- } = r, u = h(r, be), f = G({
139
- slotProps: a,
138
+ slotProps: s
139
+ } = r, i = O(r, pe), f = G({
140
+ slotProps: s,
140
141
  ref: t,
141
- externalForwardedProps: u
142
- }), i = fe(f);
142
+ externalForwardedProps: i
143
+ }), c = be(f);
143
144
  return /* @__PURE__ */ b.jsx(J, {
144
145
  slots: o,
145
- slotProps: a,
146
- fieldResponse: i,
146
+ slotProps: s,
147
+ fieldResponse: c,
147
148
  defaultOpenPickerIcon: X
148
149
  });
149
150
  });
150
- process.env.NODE_ENV !== "production" && (O.displayName = "DateField");
151
- process.env.NODE_ENV !== "production" && (O.propTypes = {
151
+ process.env.NODE_ENV !== "production" && (D.displayName = "DateField");
152
+ process.env.NODE_ENV !== "production" && (D.propTypes = {
152
153
  // ----------------------------- Warning --------------------------------
153
154
  // | These PropTypes are generated from the TypeScript type definitions |
154
155
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -264,7 +265,7 @@ process.env.NODE_ENV !== "production" && (O.propTypes = {
264
265
  /**
265
266
  * Pass a ref to the `input` element.
266
267
  */
267
- inputRef: D,
268
+ inputRef: h,
268
269
  /**
269
270
  * The label content.
270
271
  */
@@ -430,34 +431,34 @@ process.env.NODE_ENV !== "production" && (O.propTypes = {
430
431
  variant: e.oneOf(["filled", "outlined", "standard"])
431
432
  });
432
433
  const k = /* @__PURE__ */ p.forwardRef(function(n, t) {
433
- var i;
434
- const r = P(), o = S(n, "MuiDesktopDatePicker"), a = s({
434
+ var c;
435
+ const r = P(), o = S(n, "MuiDesktopDatePicker"), s = a({
435
436
  day: m,
436
437
  month: m,
437
438
  year: m
438
- }, o.viewRenderers), u = s({}, o, {
439
+ }, o.viewRenderers), i = a({}, o, {
439
440
  closeOnSelect: o.closeOnSelect ?? !0,
440
- viewRenderers: a,
441
+ viewRenderers: s,
441
442
  format: T(r, o, !1),
442
443
  yearsPerRow: o.yearsPerRow ?? 4,
443
- slots: s({
444
- field: O
444
+ slots: a({
445
+ field: D
445
446
  }, o.slots),
446
- slotProps: s({}, o.slotProps, {
447
+ slotProps: a({}, o.slotProps, {
447
448
  field: (d) => {
448
- var c;
449
- return s({}, C((c = o.slotProps) == null ? void 0 : c.field, d), M(o));
449
+ var u;
450
+ return a({}, C((u = o.slotProps) == null ? void 0 : u.field, d), M(o));
450
451
  },
451
- toolbar: s({
452
+ toolbar: a({
452
453
  hidden: !0
453
- }, (i = o.slotProps) == null ? void 0 : i.toolbar)
454
+ }, (c = o.slotProps) == null ? void 0 : c.toolbar)
454
455
  })
455
456
  }), {
456
457
  renderPicker: f
457
458
  } = ee({
458
459
  ref: t,
459
- props: u,
460
- valueManager: N,
460
+ props: i,
461
+ valueManager: R,
461
462
  valueType: "date",
462
463
  validator: F,
463
464
  steps: null
@@ -549,7 +550,7 @@ k.propTypes = {
549
550
  /**
550
551
  * Pass a ref to the `input` element.
551
552
  */
552
- inputRef: D,
553
+ inputRef: h,
553
554
  /**
554
555
  * The label content.
555
556
  */
@@ -780,32 +781,32 @@ k.propTypes = {
780
781
  yearsPerRow: e.oneOf([3, 4])
781
782
  };
782
783
  const j = /* @__PURE__ */ p.forwardRef(function(n, t) {
783
- var i;
784
- const r = P(), o = S(n, "MuiMobileDatePicker"), a = s({
784
+ var c;
785
+ const r = P(), o = S(n, "MuiMobileDatePicker"), s = a({
785
786
  day: m,
786
787
  month: m,
787
788
  year: m
788
- }, o.viewRenderers), u = s({}, o, {
789
- viewRenderers: a,
789
+ }, o.viewRenderers), i = a({}, o, {
790
+ viewRenderers: s,
790
791
  format: T(r, o, !1),
791
- slots: s({
792
- field: O
792
+ slots: a({
793
+ field: D
793
794
  }, o.slots),
794
- slotProps: s({}, o.slotProps, {
795
+ slotProps: a({}, o.slotProps, {
795
796
  field: (d) => {
796
- var c;
797
- return s({}, C((c = o.slotProps) == null ? void 0 : c.field, d), M(o));
797
+ var u;
798
+ return a({}, C((u = o.slotProps) == null ? void 0 : u.field, d), M(o));
798
799
  },
799
- toolbar: s({
800
+ toolbar: a({
800
801
  hidden: !1
801
- }, (i = o.slotProps) == null ? void 0 : i.toolbar)
802
+ }, (c = o.slotProps) == null ? void 0 : c.toolbar)
802
803
  })
803
804
  }), {
804
805
  renderPicker: f
805
806
  } = oe({
806
807
  ref: t,
807
- props: u,
808
- valueManager: N,
808
+ props: i,
809
+ valueManager: R,
809
810
  valueType: "date",
810
811
  validator: F,
811
812
  steps: null
@@ -897,7 +898,7 @@ j.propTypes = {
897
898
  /**
898
899
  * Pass a ref to the `input` element.
899
900
  */
900
- inputRef: D,
901
+ inputRef: h,
901
902
  /**
902
903
  * The label content.
903
904
  */
@@ -1127,23 +1128,23 @@ j.propTypes = {
1127
1128
  */
1128
1129
  yearsPerRow: e.oneOf([3, 4])
1129
1130
  };
1130
- const pe = ["desktopModeMediaQuery"], w = /* @__PURE__ */ p.forwardRef(function(n, t) {
1131
+ const me = ["desktopModeMediaQuery"], x = /* @__PURE__ */ p.forwardRef(function(n, t) {
1131
1132
  const r = y({
1132
1133
  props: n,
1133
1134
  name: "MuiDatePicker"
1134
1135
  }), {
1135
1136
  desktopModeMediaQuery: o = te
1136
- } = r, a = h(r, pe);
1137
- return ae(o, {
1137
+ } = r, s = O(r, me);
1138
+ return se(o, {
1138
1139
  defaultMatches: !0
1139
- }) ? /* @__PURE__ */ b.jsx(k, s({
1140
+ }) ? /* @__PURE__ */ b.jsx(k, a({
1140
1141
  ref: t
1141
- }, a)) : /* @__PURE__ */ b.jsx(j, s({
1142
+ }, s)) : /* @__PURE__ */ b.jsx(j, a({
1142
1143
  ref: t
1143
- }, a));
1144
+ }, s));
1144
1145
  });
1145
- process.env.NODE_ENV !== "production" && (w.displayName = "DatePicker");
1146
- process.env.NODE_ENV !== "production" && (w.propTypes = {
1146
+ process.env.NODE_ENV !== "production" && (x.displayName = "DatePicker");
1147
+ process.env.NODE_ENV !== "production" && (x.propTypes = {
1147
1148
  // ----------------------------- Warning --------------------------------
1148
1149
  // | These PropTypes are generated from the TypeScript type definitions |
1149
1150
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -1233,7 +1234,7 @@ process.env.NODE_ENV !== "production" && (w.propTypes = {
1233
1234
  /**
1234
1235
  * Pass a ref to the `input` element.
1235
1236
  */
1236
- inputRef: D,
1237
+ inputRef: h,
1237
1238
  /**
1238
1239
  * The label content.
1239
1240
  */
@@ -1463,20 +1464,36 @@ process.env.NODE_ENV !== "production" && (w.propTypes = {
1463
1464
  */
1464
1465
  yearsPerRow: e.oneOf([3, 4])
1465
1466
  });
1466
- function xe({ label: l, required: n = !1, error: t, htmlFor: r, hint: o, ...a }) {
1467
- return /* @__PURE__ */ b.jsx(I, { label: l, required: n, error: t, htmlFor: r, hint: o, children: /* @__PURE__ */ b.jsx(
1468
- w,
1467
+ function Me({ label: l, required: n = !1, error: t, htmlFor: r, hint: o, ...s }) {
1468
+ const i = I();
1469
+ return /* @__PURE__ */ b.jsx(L, { label: l, required: n, error: t, htmlFor: r, hint: o, children: /* @__PURE__ */ b.jsx(
1470
+ x,
1469
1471
  {
1470
1472
  enableAccessibleFieldDOMStructure: !1,
1471
1473
  slots: {
1472
1474
  textField: z,
1473
- ...a.slots || {}
1474
- // allow user to override if needed
1475
+ // Use Material-UI TextField as input
1476
+ ...s.slots || {}
1477
+ // Allow user to override slots if needed
1475
1478
  },
1476
- ...a
1479
+ slotProps: {
1480
+ popper: {
1481
+ sx: {
1482
+ "& .MuiPaper-root": {
1483
+ border: "1px solid var(--s-palette-divider)",
1484
+ borderRadius: (i.vars || i).shape.borderRadius,
1485
+ boxShadow: "none",
1486
+ backgroundImage: "none"
1487
+ }
1488
+ }
1489
+ },
1490
+ ...s.slotProps || {}
1491
+ // Allow user to override slotProps if needed
1492
+ },
1493
+ ...s
1477
1494
  }
1478
1495
  ) });
1479
1496
  }
1480
1497
  export {
1481
- xe as default
1498
+ Me as default
1482
1499
  };
@@ -1,11 +1,37 @@
1
1
  import { DateTimePickerProps } from '@mui/x-date-pickers/DateTimePicker';
2
2
  import * as React from 'react';
3
+ /**
4
+ * Props interface for SDateTimePicker component - extends Material-UI X DateTimePickerProps
5
+ * with form integration capabilities
6
+ */
3
7
  export interface SDateTimePickerProps extends DateTimePickerProps {
8
+ /** Field label displayed above the datetime picker */
4
9
  label?: string | React.ReactNode;
10
+ /** Whether the field is required (shows asterisk in label) */
5
11
  required?: boolean;
12
+ /** Error message to display below the field */
6
13
  error?: string;
14
+ /** HTML id attribute for the input element */
7
15
  htmlFor?: string;
16
+ /** Help text shown in tooltip next to the label */
8
17
  hint?: string;
9
18
  }
19
+ /**
20
+ * SDateTimePicker - A standardized date and time picker component that wraps Material-UI X DateTimePicker
21
+ * with consistent form labeling, validation, and help text patterns.
22
+ *
23
+ * Key features:
24
+ * - Integrates with SForm for consistent label and error handling
25
+ * - Uses Material-UI TextField as the default input component
26
+ * - Maintains full Material-UI X DateTimePicker API compatibility
27
+ * - Provides accessible form labeling with htmlFor/id association
28
+ * - Includes help text tooltip functionality
29
+ * - Disables accessible field DOM structure for better styling control
30
+ * - Allows slot overrides for advanced customization
31
+ * - Combines both date and time selection in a single input
32
+ *
33
+ * @param props - SDateTimePickerProps with form integration and Material-UI X DateTimePicker props
34
+ * @returns JSX.Element - Wrapped DateTimePicker with form labeling and validation
35
+ */
10
36
  declare function SDateTimePicker({ label, required, error, htmlFor, hint, ...props }: SDateTimePickerProps): React.JSX.Element;
11
37
  export default SDateTimePicker;