@cgi-learning-hub/ui 1.2.0-dev.1725455018 → 1.2.0-dev.1725543340

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 (183) hide show
  1. package/dist/Box-2ZrLOc7U.cjs +1 -0
  2. package/dist/{Box-CONPkck2.js → Box-BJvmuM0Y.js} +30 -32
  3. package/dist/Button-HyZp1VKI.js +359 -0
  4. package/dist/Button-NhaA68Of.cjs +1 -0
  5. package/dist/ButtonBase-CnINN-P4.cjs +75 -0
  6. package/dist/ButtonBase-cOL6Mpcp.js +827 -0
  7. package/dist/CircularProgress-01RZzfpF.cjs +28 -0
  8. package/dist/CircularProgress-DO4r9-x8.js +217 -0
  9. package/dist/DatePicker-GTtXZK-p.cjs +19 -0
  10. package/dist/{DatePicker-wZ1VHlXF.js → DatePicker-vhA6Fe5s.js} +4373 -4518
  11. package/dist/DefaultButton-BMmuKPgA.cjs +1 -0
  12. package/dist/DefaultButton-CKY6tuni.js +258 -0
  13. package/dist/IconButton-3v-0zgZW.cjs +2 -0
  14. package/dist/IconButton-BBfmzBP6.js +184 -0
  15. package/dist/InputAdornment-DHmtETz3.cjs +1 -0
  16. package/dist/{InputAdornment-7ED2C-w1.js → InputAdornment-zaw7AFWU.js} +65 -81
  17. package/dist/InputBase-BpGQgBej.cjs +3 -0
  18. package/dist/InputBase-COUxfhh1.js +794 -0
  19. package/dist/Stack-D9IYPfJ8.cjs +1 -0
  20. package/dist/{Stack-BzF_6-v5.js → Stack-Dlgk5t_M.js} +60 -62
  21. package/dist/Tabs-Blo-8Ro5.js +1091 -0
  22. package/dist/Tabs-D0e7cB4l.cjs +4 -0
  23. package/dist/TextField-8AuRLRIK.cjs +12 -0
  24. package/dist/{TextField-G9MOGCdw.js → TextField-DG1754qQ.js} +2408 -3033
  25. package/dist/{Tooltip-D_4ANHAc.js → Tooltip-C7ZUZylZ.js} +3421 -4697
  26. package/dist/Tooltip-CFVJXplM.cjs +95 -0
  27. package/dist/TransitionGroupContext-BkoHK5Kx.js +14 -0
  28. package/dist/TransitionGroupContext-mYDSzffd.cjs +1 -0
  29. package/dist/Typography-DjrvRhOr.js +178 -0
  30. package/dist/Typography-YHooSvuR.cjs +1 -0
  31. package/dist/client-error-BUtdld5f.cjs +1 -0
  32. package/dist/client-error-B_-qjgAB.js +395 -0
  33. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  34. package/dist/components/DatePicker/DatePicker.es.js +3 -3
  35. package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
  36. package/dist/components/DatePicker/DatePicker.stories.es.js +3 -3
  37. package/dist/components/DatePicker/index.cjs.js +1 -1
  38. package/dist/components/DatePicker/index.es.js +1 -1
  39. package/dist/components/DefaultButton/DefaultButton.cjs.js +1 -1
  40. package/dist/components/DefaultButton/DefaultButton.es.js +2 -2
  41. package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  42. package/dist/components/DefaultButton/DefaultButtonIcon.es.js +67 -108
  43. package/dist/components/DefaultButton/index.cjs.js +1 -1
  44. package/dist/components/DefaultButton/index.es.js +1 -1
  45. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  46. package/dist/components/Dropzone/Dropzone.es.js +8 -8
  47. package/dist/components/EmptyState/EmptyState.cjs.js +1 -0
  48. package/dist/components/EmptyState/EmptyState.d.ts +13 -0
  49. package/dist/components/EmptyState/EmptyState.es.js +31 -0
  50. package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -0
  51. package/dist/components/EmptyState/EmptyState.stories.d.ts +5 -0
  52. package/dist/components/EmptyState/EmptyState.stories.es.js +17 -0
  53. package/dist/components/EmptyState/index.cjs.js +1 -0
  54. package/dist/components/EmptyState/index.d.ts +2 -0
  55. package/dist/components/EmptyState/index.es.js +4 -0
  56. package/dist/components/FileList/FileList.cjs.js +1 -1
  57. package/dist/components/FileList/FileList.es.js +1 -1
  58. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  59. package/dist/components/FileList/FileListItem.es.js +11 -10
  60. package/dist/components/IconButton.stories.cjs.js +1 -1
  61. package/dist/components/IconButton.stories.es.js +14 -13
  62. package/dist/components/Loader/Loader.cjs.js +1 -1
  63. package/dist/components/Loader/Loader.es.js +1 -1
  64. package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
  65. package/dist/components/PaperHeader/PaperHeader.d.ts +1 -3
  66. package/dist/components/PaperHeader/PaperHeader.es.js +28 -26
  67. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
  68. package/dist/components/PaperHeader/PaperHeader.stories.es.js +7 -7
  69. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  70. package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
  71. package/dist/components/PrimaryButton/PrimaryButton.cjs.js +1 -1
  72. package/dist/components/PrimaryButton/PrimaryButton.es.js +1 -1
  73. package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  74. package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  75. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  76. package/dist/components/QueryError/QueryError.es.js +38 -14
  77. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  78. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  79. package/dist/components/SecondaryButton/SecondaryButton.cjs.js +1 -1
  80. package/dist/components/SecondaryButton/SecondaryButton.es.js +1 -1
  81. package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  82. package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  83. package/dist/components/TabList.stories.cjs.js +1 -1
  84. package/dist/components/TabList.stories.es.js +87 -100
  85. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  86. package/dist/components/TextInput/TextInput.es.js +1 -1
  87. package/dist/components/index.cjs.js +1 -1
  88. package/dist/components/index.d.ts +1 -2
  89. package/dist/components/index.es.js +237 -243
  90. package/dist/createStyled--XbpooZB.js +142 -0
  91. package/dist/createStyled-CuYz_ckk.cjs +1 -0
  92. package/dist/createSvgIcon-CUiH3cta.cjs +1 -0
  93. package/dist/createSvgIcon-D29Io9jD.js +183 -0
  94. package/dist/createSvgIcon-DTc4Xvfk.cjs +2 -0
  95. package/dist/createSvgIcon-DvOXtgXV.js +76 -0
  96. package/dist/error-CRNeivL7.js +5 -0
  97. package/dist/error-Dk3o6ber.cjs +1 -0
  98. package/dist/{fr-EMw1nUC-.cjs → fr-C4bcUC-9.cjs} +1 -1
  99. package/dist/{fr-D92L3a1M.js → fr-CXEmlY0d.js} +13 -13
  100. package/dist/hooks/lazySvgImport.cjs.js +1 -0
  101. package/dist/hooks/lazySvgImport.d.ts +7 -0
  102. package/dist/hooks/lazySvgImport.es.js +34 -0
  103. package/dist/identifier-CAQ9PWqs.js +3046 -0
  104. package/dist/identifier-CWIj084w.cjs +50 -0
  105. package/dist/index.cjs.js +1 -1
  106. package/dist/index.es.js +236 -242
  107. package/dist/isHostComponent-PydJW4A4.cjs +1 -0
  108. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  109. package/dist/{ownerWindow-BoRkeomM.js → ownerWindow-C7EH1lr6.js} +2 -2
  110. package/dist/{refType-YgbJS0xl.cjs → refType-D1DDOFsy.cjs} +1 -1
  111. package/dist/{refType-BnS1d2D8.js → refType-DiVIFcsY.js} +1 -1
  112. package/dist/server-error-CeAtUo4S.cjs +1 -0
  113. package/dist/server-error-DMyaPFs8.js +400 -0
  114. package/dist/styled-Bt4oYVnF.cjs +17 -0
  115. package/dist/styled-Co-8YWfm.js +533 -0
  116. package/dist/useControlled-DKpcyPsg.cjs +3 -0
  117. package/dist/useControlled-DoRrpN8o.js +48 -0
  118. package/dist/useId-BW-oWmul.js +19 -0
  119. package/dist/useId-Cw0TtD-8.cjs +1 -0
  120. package/dist/useIsFocusVisible-Bv_7uvif.cjs +1 -0
  121. package/dist/useIsFocusVisible-DhASXQ4o.js +69 -0
  122. package/dist/{useTheme-DzMeSzHc.js → useTheme-1gSw-INq.js} +5 -5
  123. package/dist/useTheme-Dm6RnXrf.cjs +1 -0
  124. package/dist/useTheme-HJhneR9g.js +99 -0
  125. package/dist/useTheme-T2P7WhLG.cjs +1 -0
  126. package/dist/useThemeProps-BKIVQv3E.js +17 -0
  127. package/dist/useThemeProps-BfZ3lLQs.js +27 -0
  128. package/dist/useThemeProps-BpFUkYqe.cjs +1 -0
  129. package/dist/useThemeProps-Co5ylM0H.cjs +1 -0
  130. package/dist/useTimeout-BdvDipeg.js +47 -0
  131. package/dist/useTimeout-XUWYBnl6.cjs +1 -0
  132. package/package.json +15 -15
  133. package/dist/Box-BDMtAH2P.cjs +0 -1
  134. package/dist/Button-By3A0teb.js +0 -454
  135. package/dist/Button-CBAa7bmK.cjs +0 -1
  136. package/dist/ButtonBase-D0vqeM8I.js +0 -890
  137. package/dist/ButtonBase-DePtV_m6.cjs +0 -75
  138. package/dist/CircularProgress-BRnSv2J2.cjs +0 -28
  139. package/dist/CircularProgress-BrfcRJbv.js +0 -251
  140. package/dist/DatePicker-Cw1xQ3Sn.cjs +0 -19
  141. package/dist/DefaultButton-B2fD87Nn.cjs +0 -1
  142. package/dist/DefaultButton-B8Qi2O0K.js +0 -353
  143. package/dist/DefaultPropsProvider-B6IbLm7M.cjs +0 -17
  144. package/dist/DefaultPropsProvider-QV6PDjPd.js +0 -468
  145. package/dist/IconButton-BiLAYORS.js +0 -239
  146. package/dist/IconButton-DE-QtB3Q.cjs +0 -2
  147. package/dist/InputAdornment-CJbpwt2R.cjs +0 -1
  148. package/dist/InputBase-LZPaeC-A.cjs +0 -3
  149. package/dist/InputBase-jbXydPMc.js +0 -802
  150. package/dist/Stack-D6Kv6y1D.cjs +0 -1
  151. package/dist/Tabs-CV_eM5RY.js +0 -1222
  152. package/dist/Tabs-DcqpjpXb.cjs +0 -4
  153. package/dist/TextField-DAxS82qf.cjs +0 -12
  154. package/dist/Tooltip-Ma-NowZd.cjs +0 -100
  155. package/dist/TransitionGroupContext-B5aSBz0G.js +0 -64
  156. package/dist/TransitionGroupContext-gQFtuZSh.cjs +0 -1
  157. package/dist/Typography-4kqbsc6q.js +0 -258
  158. package/dist/Typography-CNQVeQXr.cjs +0 -1
  159. package/dist/composeClasses-B_ETVugV.cjs +0 -1
  160. package/dist/composeClasses-zmPRtZOg.js +0 -16
  161. package/dist/createSvgIcon-B6bEgasO.js +0 -249
  162. package/dist/createSvgIcon-C92jLZ0q.cjs +0 -2
  163. package/dist/createSvgIcon-Cdsg9tFu.js +0 -88
  164. package/dist/createSvgIcon-CrOALbij.cjs +0 -1
  165. package/dist/extendSxProp-BpSXIdup.js +0 -37
  166. package/dist/extendSxProp-DVE8Tgj8.cjs +0 -1
  167. package/dist/identifier-7NboR24y.cjs +0 -59
  168. package/dist/identifier-Bsv46xiT.js +0 -2930
  169. package/dist/index-C9spydU3.js +0 -89
  170. package/dist/index-DHDspyh-.cjs +0 -1
  171. package/dist/useControlled-Bf7_InaL.cjs +0 -3
  172. package/dist/useControlled-D59BLg1S.js +0 -48
  173. package/dist/useEventCallback-BgMlqKLP.js +0 -14
  174. package/dist/useEventCallback-CrCf96iG.cjs +0 -1
  175. package/dist/useId-CyGZMA-F.js +0 -19
  176. package/dist/useId-D5Txt-1B.cjs +0 -1
  177. package/dist/useTheme-A9inJAFh.cjs +0 -1
  178. package/dist/useTheme-C0nMwKpp.js +0 -128
  179. package/dist/useTheme-Zq6D7sUp.cjs +0 -1
  180. package/dist/useThemeProps-YFPF1eJp.js +0 -40
  181. package/dist/useThemeProps-r2yCksSx.cjs +0 -1
  182. package/dist/vite-env.d.cjs.js +0 -1
  183. package/dist/vite-env.d.es.js +0 -1
@@ -1,258 +0,0 @@
1
- import * as j from "react";
2
- import { I as C, J as B, K as g, L as w, P as r } from "./identifier-Bsv46xiT.js";
3
- import { i as S } from "./index-C9spydU3.js";
4
- import { s as P, m as W, u as M, c as R } from "./DefaultPropsProvider-QV6PDjPd.js";
5
- import { jsx as N } from "react/jsx-runtime";
6
- function $(o) {
7
- return C("MuiTypography", o);
8
- }
9
- const D = B("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]), H = D, U = {
10
- primary: !0,
11
- secondary: !0,
12
- error: !0,
13
- info: !0,
14
- success: !0,
15
- warning: !0,
16
- textPrimary: !0,
17
- textSecondary: !0,
18
- textDisabled: !0
19
- }, A = S(), E = (o) => {
20
- const {
21
- align: e,
22
- gutterBottom: t,
23
- noWrap: a,
24
- paragraph: i,
25
- variant: p,
26
- classes: s
27
- } = o, n = {
28
- root: ["root", p, o.align !== "inherit" && `align${g(e)}`, t && "gutterBottom", a && "noWrap", i && "paragraph"]
29
- };
30
- return R(n, $, s);
31
- }, J = P("span", {
32
- name: "MuiTypography",
33
- slot: "Root",
34
- overridesResolver: (o, e) => {
35
- const {
36
- ownerState: t
37
- } = o;
38
- return [e.root, t.variant && e[t.variant], t.align !== "inherit" && e[`align${g(t.align)}`], t.noWrap && e.noWrap, t.gutterBottom && e.gutterBottom, t.paragraph && e.paragraph];
39
- }
40
- })(W(({
41
- theme: o
42
- }) => {
43
- var e;
44
- return {
45
- margin: 0,
46
- variants: [{
47
- props: {
48
- variant: "inherit"
49
- },
50
- style: {
51
- // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
52
- font: "inherit",
53
- lineHeight: "inherit",
54
- letterSpacing: "inherit"
55
- }
56
- }, ...Object.entries(o.typography).filter(([t, a]) => t !== "inherit" && a && typeof a == "object").map(([t, a]) => ({
57
- props: {
58
- variant: t
59
- },
60
- style: a
61
- })), ...Object.entries(o.palette).filter(([, t]) => t && t.main).map(([t]) => ({
62
- props: {
63
- color: t
64
- },
65
- style: {
66
- color: (o.vars || o).palette[t].main
67
- }
68
- })), ...Object.entries(((e = o.palette) == null ? void 0 : e.text) || {}).filter(([, t]) => typeof t == "string").map(([t]) => ({
69
- props: {
70
- color: `text${g(t)}`
71
- },
72
- style: {
73
- color: (o.vars || o).palette.text[t]
74
- }
75
- })), {
76
- props: ({
77
- ownerState: t
78
- }) => t.align !== "inherit",
79
- style: {
80
- textAlign: "var(--Typography-textAlign)"
81
- }
82
- }, {
83
- props: ({
84
- ownerState: t
85
- }) => t.noWrap,
86
- style: {
87
- overflow: "hidden",
88
- textOverflow: "ellipsis",
89
- whiteSpace: "nowrap"
90
- }
91
- }, {
92
- props: ({
93
- ownerState: t
94
- }) => t.gutterBottom,
95
- style: {
96
- marginBottom: "0.35em"
97
- }
98
- }, {
99
- props: ({
100
- ownerState: t
101
- }) => t.paragraph,
102
- style: {
103
- marginBottom: 16
104
- }
105
- }]
106
- };
107
- })), b = {
108
- h1: "h1",
109
- h2: "h2",
110
- h3: "h3",
111
- h4: "h4",
112
- h5: "h5",
113
- h6: "h6",
114
- subtitle1: "h6",
115
- subtitle2: "h6",
116
- body1: "p",
117
- body2: "p",
118
- inherit: "p"
119
- }, d = /* @__PURE__ */ j.forwardRef(function(e, t) {
120
- const {
121
- color: a,
122
- ...i
123
- } = M({
124
- props: e,
125
- name: "MuiTypography"
126
- }), p = !U[a], s = A({
127
- ...i,
128
- ...p && {
129
- color: a
130
- }
131
- }), {
132
- align: n = "inherit",
133
- className: y,
134
- component: c,
135
- gutterBottom: x = !1,
136
- noWrap: T = !1,
137
- paragraph: h = !1,
138
- variant: l = "body1",
139
- variantMapping: u = b,
140
- ...m
141
- } = s, f = {
142
- ...s,
143
- align: n,
144
- color: a,
145
- className: y,
146
- component: c,
147
- gutterBottom: x,
148
- noWrap: T,
149
- paragraph: h,
150
- variant: l,
151
- variantMapping: u
152
- }, v = c || (h ? "p" : u[l] || b[l]) || "span", O = E(f);
153
- return /* @__PURE__ */ N(J, {
154
- as: v,
155
- ref: t,
156
- className: w(O.root, y),
157
- ...m,
158
- ownerState: f,
159
- style: {
160
- ...n !== "inherit" && {
161
- "--Typography-textAlign": n
162
- },
163
- ...m.style
164
- }
165
- });
166
- });
167
- process.env.NODE_ENV !== "production" && (d.propTypes = {
168
- // ┌────────────────────────────── Warning ──────────────────────────────┐
169
- // │ These PropTypes are generated from the TypeScript type definitions. │
170
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
171
- // └─────────────────────────────────────────────────────────────────────┘
172
- /**
173
- * Set the text-align on the component.
174
- * @default 'inherit'
175
- */
176
- align: r.oneOf(["center", "inherit", "justify", "left", "right"]),
177
- /**
178
- * The content of the component.
179
- */
180
- children: r.node,
181
- /**
182
- * Override or extend the styles applied to the component.
183
- */
184
- classes: r.object,
185
- /**
186
- * @ignore
187
- */
188
- className: r.string,
189
- /**
190
- * The color of the component.
191
- * It supports both default and custom theme colors, which can be added as shown in the
192
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
193
- */
194
- color: r.oneOfType([r.oneOf(["primary", "secondary", "success", "error", "info", "warning", "textPrimary", "textSecondary", "textDisabled"]), r.string]),
195
- /**
196
- * The component used for the root node.
197
- * Either a string to use a HTML element or a component.
198
- */
199
- component: r.elementType,
200
- /**
201
- * If `true`, the text will have a bottom margin.
202
- * @default false
203
- */
204
- gutterBottom: r.bool,
205
- /**
206
- * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
207
- *
208
- * Note that text overflow can only happen with block or inline-block level elements
209
- * (the element needs to have a width in order to overflow).
210
- * @default false
211
- */
212
- noWrap: r.bool,
213
- /**
214
- * If `true`, the element will be a paragraph element.
215
- * @default false
216
- * @deprecated Use the `component` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
217
- */
218
- paragraph: r.bool,
219
- /**
220
- * @ignore
221
- */
222
- style: r.object,
223
- /**
224
- * The system prop that allows defining system overrides as well as additional CSS styles.
225
- */
226
- sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
227
- /**
228
- * Applies the theme typography styles.
229
- * @default 'body1'
230
- */
231
- variant: r.oneOfType([r.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), r.string]),
232
- /**
233
- * The component maps the variant prop to a range of different HTML element types.
234
- * For instance, subtitle1 to `<h6>`.
235
- * If you wish to change that mapping, you can provide your own.
236
- * Alternatively, you can use the `component` prop.
237
- * @default {
238
- * h1: 'h1',
239
- * h2: 'h2',
240
- * h3: 'h3',
241
- * h4: 'h4',
242
- * h5: 'h5',
243
- * h6: 'h6',
244
- * subtitle1: 'h6',
245
- * subtitle2: 'h6',
246
- * body1: 'p',
247
- * body2: 'p',
248
- * inherit: 'p',
249
- * }
250
- */
251
- variantMapping: r.object
252
- });
253
- const I = d;
254
- export {
255
- I as T,
256
- $ as g,
257
- H as t
258
- };
@@ -1 +0,0 @@
1
- "use strict";const j=require("react"),e=require("./identifier-7NboR24y.cjs"),C=require("./index-DHDspyh-.cjs"),s=require("./DefaultPropsProvider-B6IbLm7M.cjs"),S=require("react/jsx-runtime");function w(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const p=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(o,t,p.get?p:{enumerable:!0,get:()=>r[t]})}}return o.default=r,Object.freeze(o)}const B=w(j);function m(r){return e.generateUtilityClass("MuiTypography",r)}const M=e.generateUtilityClasses("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),W=M,D={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},R=C.internal_createExtendSxProp(),$=r=>{const{align:o,gutterBottom:t,noWrap:p,paragraph:i,variant:l,classes:n}=r,a={root:["root",l,r.align!=="inherit"&&`align${e.capitalize(o)}`,t&&"gutterBottom",p&&"noWrap",i&&"paragraph"]};return s.composeClasses(a,m,n)},q=s.styled("span",{name:"MuiTypography",slot:"Root",overridesResolver:(r,o)=>{const{ownerState:t}=r;return[o.root,t.variant&&o[t.variant],t.align!=="inherit"&&o[`align${e.capitalize(t.align)}`],t.noWrap&&o.noWrap,t.gutterBottom&&o.gutterBottom,t.paragraph&&o.paragraph]}})(s.memoTheme(({theme:r})=>{var o;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(r.typography).filter(([t,p])=>t!=="inherit"&&p&&typeof p=="object").map(([t,p])=>({props:{variant:t},style:p})),...Object.entries(r.palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(r.vars||r).palette[t].main}})),...Object.entries(((o=r.palette)==null?void 0:o.text)||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${e.capitalize(t)}`},style:{color:(r.vars||r).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},P=B.forwardRef(function(o,t){const{color:p,...i}=s.useDefaultProps({props:o,name:"MuiTypography"}),l=!D[p],n=R({...i,...l&&{color:p}}),{align:a="inherit",className:c,component:g,gutterBottom:d=!1,noWrap:x=!1,paragraph:h=!1,variant:y="body1",variantMapping:u=b,...f}=n,T={...n,align:a,color:p,className:c,component:g,gutterBottom:d,noWrap:x,paragraph:h,variant:y,variantMapping:u},v=g||(h?"p":u[y]||b[y])||"span",O=$(T);return S.jsx(q,{as:v,ref:t,className:e.clsx(O.root,c),...f,ownerState:T,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...f.style}})});process.env.NODE_ENV!=="production"&&(P.propTypes={align:e.PropTypes.oneOf(["center","inherit","justify","left","right"]),children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),e.PropTypes.string]),component:e.PropTypes.elementType,gutterBottom:e.PropTypes.bool,noWrap:e.PropTypes.bool,paragraph:e.PropTypes.bool,style:e.PropTypes.object,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),variant:e.PropTypes.oneOfType([e.PropTypes.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),e.PropTypes.string]),variantMapping:e.PropTypes.object});const N=P;exports.Typography=N;exports.getTypographyUtilityClass=m;exports.typographyClasses=W;
@@ -1 +0,0 @@
1
- "use strict";function r(f,c,o=void 0){const s={};for(const u in f){const i=f[u];let e="";for(let n=0;n<i.length;n+=1){const t=i[n];t&&(e+=c(t)+" ",o&&o[t]&&(e+=o[t]+" "))}s[u]=e}return s}exports.composeClasses=r;
@@ -1,16 +0,0 @@
1
- function l(f, c, o = void 0) {
2
- const u = {};
3
- for (const i in f) {
4
- const r = f[i];
5
- let n = "";
6
- for (let e = 0; e < r.length; e += 1) {
7
- const t = r[e];
8
- t && (n += c(t) + " ", o && o[t] && (n += o[t] + " "));
9
- }
10
- u[i] = n;
11
- }
12
- return u;
13
- }
14
- export {
15
- l as c
16
- };
@@ -1,249 +0,0 @@
1
- import * as z from "react";
2
- import { jsxs as b, jsx as I } from "react/jsx-runtime";
3
- import { I as w, J as C, K as x, L as T, P as e } from "./identifier-Bsv46xiT.js";
4
- import { s as N, m as O, u as R, c as j } from "./DefaultPropsProvider-QV6PDjPd.js";
5
- function E(o) {
6
- return w("MuiSvgIcon", o);
7
- }
8
- C("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
9
- const $ = (o) => {
10
- const {
11
- color: r,
12
- fontSize: t,
13
- classes: s
14
- } = o, n = {
15
- root: ["root", r !== "inherit" && `color${x(r)}`, `fontSize${x(t)}`]
16
- };
17
- return j(n, E, s);
18
- }, A = N("svg", {
19
- name: "MuiSvgIcon",
20
- slot: "Root",
21
- overridesResolver: (o, r) => {
22
- const {
23
- ownerState: t
24
- } = o;
25
- return [r.root, t.color !== "inherit" && r[`color${x(t.color)}`], r[`fontSize${x(t.fontSize)}`]];
26
- }
27
- })(O(({
28
- theme: o
29
- }) => {
30
- var r, t, s, n, c, g, a, y, p, d, l, m, v, f;
31
- return {
32
- userSelect: "none",
33
- width: "1em",
34
- height: "1em",
35
- display: "inline-block",
36
- flexShrink: 0,
37
- transition: (n = (r = o.transitions) == null ? void 0 : r.create) == null ? void 0 : n.call(r, "fill", {
38
- duration: (s = (t = (o.vars ?? o).transitions) == null ? void 0 : t.duration) == null ? void 0 : s.shorter
39
- }),
40
- variants: [
41
- {
42
- props: (i) => !i.hasSvgAsChild,
43
- style: {
44
- // the <svg> will define the property that has `currentColor`
45
- // for example heroicons uses fill="none" and stroke="currentColor"
46
- fill: "currentColor"
47
- }
48
- },
49
- {
50
- props: {
51
- fontSize: "inherit"
52
- },
53
- style: {
54
- fontSize: "inherit"
55
- }
56
- },
57
- {
58
- props: {
59
- fontSize: "small"
60
- },
61
- style: {
62
- fontSize: ((g = (c = o.typography) == null ? void 0 : c.pxToRem) == null ? void 0 : g.call(c, 20)) || "1.25rem"
63
- }
64
- },
65
- {
66
- props: {
67
- fontSize: "medium"
68
- },
69
- style: {
70
- fontSize: ((y = (a = o.typography) == null ? void 0 : a.pxToRem) == null ? void 0 : y.call(a, 24)) || "1.5rem"
71
- }
72
- },
73
- {
74
- props: {
75
- fontSize: "large"
76
- },
77
- style: {
78
- fontSize: ((d = (p = o.typography) == null ? void 0 : p.pxToRem) == null ? void 0 : d.call(p, 35)) || "2.1875rem"
79
- }
80
- },
81
- // TODO v5 deprecate color prop, v6 remove for sx
82
- ...Object.entries((o.vars ?? o).palette).filter(([, i]) => i && i.main).map(([i]) => {
83
- var u, h;
84
- return {
85
- props: {
86
- color: i
87
- },
88
- style: {
89
- color: (h = (u = (o.vars ?? o).palette) == null ? void 0 : u[i]) == null ? void 0 : h.main
90
- }
91
- };
92
- }),
93
- {
94
- props: {
95
- color: "action"
96
- },
97
- style: {
98
- color: (m = (l = (o.vars ?? o).palette) == null ? void 0 : l.action) == null ? void 0 : m.active
99
- }
100
- },
101
- {
102
- props: {
103
- color: "disabled"
104
- },
105
- style: {
106
- color: (f = (v = (o.vars ?? o).palette) == null ? void 0 : v.action) == null ? void 0 : f.disabled
107
- }
108
- },
109
- {
110
- props: {
111
- color: "inherit"
112
- },
113
- style: {
114
- color: void 0
115
- }
116
- }
117
- ]
118
- };
119
- })), S = /* @__PURE__ */ z.forwardRef(function(r, t) {
120
- const s = R({
121
- props: r,
122
- name: "MuiSvgIcon"
123
- }), {
124
- children: n,
125
- className: c,
126
- color: g = "inherit",
127
- component: a = "svg",
128
- fontSize: y = "medium",
129
- htmlColor: p,
130
- inheritViewBox: d = !1,
131
- titleAccess: l,
132
- viewBox: m = "0 0 24 24",
133
- ...v
134
- } = s, f = /* @__PURE__ */ z.isValidElement(n) && n.type === "svg", i = {
135
- ...s,
136
- color: g,
137
- component: a,
138
- fontSize: y,
139
- instanceFontSize: r.fontSize,
140
- inheritViewBox: d,
141
- viewBox: m,
142
- hasSvgAsChild: f
143
- }, u = {};
144
- d || (u.viewBox = m);
145
- const h = $(i);
146
- return /* @__PURE__ */ b(A, {
147
- as: a,
148
- className: T(h.root, c),
149
- focusable: "false",
150
- color: p,
151
- "aria-hidden": l ? void 0 : !0,
152
- role: l ? "img" : void 0,
153
- ref: t,
154
- ...u,
155
- ...v,
156
- ...f && n.props,
157
- ownerState: i,
158
- children: [f ? n.props.children : n, l ? /* @__PURE__ */ I("title", {
159
- children: l
160
- }) : null]
161
- });
162
- });
163
- process.env.NODE_ENV !== "production" && (S.propTypes = {
164
- // ┌────────────────────────────── Warning ──────────────────────────────┐
165
- // │ These PropTypes are generated from the TypeScript type definitions. │
166
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
167
- // └─────────────────────────────────────────────────────────────────────┘
168
- /**
169
- * Node passed into the SVG element.
170
- */
171
- children: e.node,
172
- /**
173
- * Override or extend the styles applied to the component.
174
- */
175
- classes: e.object,
176
- /**
177
- * @ignore
178
- */
179
- className: e.string,
180
- /**
181
- * The color of the component.
182
- * It supports both default and custom theme colors, which can be added as shown in the
183
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
184
- * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
185
- * @default 'inherit'
186
- */
187
- color: e.oneOfType([e.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
188
- /**
189
- * The component used for the root node.
190
- * Either a string to use a HTML element or a component.
191
- */
192
- component: e.elementType,
193
- /**
194
- * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
195
- * @default 'medium'
196
- */
197
- fontSize: e.oneOfType([e.oneOf(["inherit", "large", "medium", "small"]), e.string]),
198
- /**
199
- * Applies a color attribute to the SVG element.
200
- */
201
- htmlColor: e.string,
202
- /**
203
- * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
204
- * prop will be ignored.
205
- * Useful when you want to reference a custom `component` and have `SvgIcon` pass that
206
- * `component`'s viewBox to the root node.
207
- * @default false
208
- */
209
- inheritViewBox: e.bool,
210
- /**
211
- * The shape-rendering attribute. The behavior of the different options is described on the
212
- * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
213
- * If you are having issues with blurry icons you should investigate this prop.
214
- */
215
- shapeRendering: e.string,
216
- /**
217
- * The system prop that allows defining system overrides as well as additional CSS styles.
218
- */
219
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
220
- /**
221
- * Provides a human-readable title for the element that contains it.
222
- * https://www.w3.org/TR/SVG-access/#Equivalent
223
- */
224
- titleAccess: e.string,
225
- /**
226
- * Allows you to redefine what the coordinates without units mean inside an SVG element.
227
- * For example, if the SVG element is 500 (width) by 200 (height),
228
- * and you pass viewBox="0 0 50 20",
229
- * this means that the coordinates inside the SVG will go from the top left corner (0,0)
230
- * to bottom right (50,20) and each unit will be worth 10px.
231
- * @default '0 0 24 24'
232
- */
233
- viewBox: e.string
234
- });
235
- S && (S.muiName = "SvgIcon");
236
- function D(o, r) {
237
- function t(s, n) {
238
- return /* @__PURE__ */ I(S, {
239
- "data-testid": `${r}Icon`,
240
- ref: n,
241
- ...s,
242
- children: o
243
- });
244
- }
245
- return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = S.muiName, /* @__PURE__ */ z.memo(/* @__PURE__ */ z.forwardRef(t));
246
- }
247
- export {
248
- D as c
249
- };
@@ -1,2 +0,0 @@
1
- "use strict";const p=require("./identifier-7NboR24y.cjs"),C=require("./createSvgIcon-CrOALbij.cjs"),y=require("./DefaultPropsProvider-B6IbLm7M.cjs"),c=require("./useControlled-Bf7_InaL.cjs"),l=require("./useForkRef-CGd3Nhyb.cjs"),d=require("./ownerWindow-Dk_4aaak.cjs"),S=require("./useId-D5Txt-1B.cjs"),w=require("./unsupportedProp-Bn6XWqwH.cjs"),I=require("./useEventCallback-CrCf96iG.cjs");function N(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,s,u,n,o)=>{const i=u||"<<anonymous>>",a=o||s;return typeof r[s]<"u"?new Error(`The ${n} \`${a}\` of \`${i}\` is deprecated. ${t}`):null}}function _(e,t){if(process.env.NODE_ENV==="production")return()=>null;const r=t?{...t.propTypes}:null;return u=>(n,o,i,a,m,...b)=>{const h=m||o,v=r==null?void 0:r[h];if(v){const g=v(n,o,i,a,m,...b);if(g)return g}return typeof n[o]<"u"&&!n[u]?new Error(`The prop \`${h}\` of \`${e}\` can only be used together with the \`${u}\` prop.`):null}}const P={configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
2
- `)),p.ClassNameGenerator.configure(e)}},R=Object.freeze(Object.defineProperty({__proto__:null,capitalize:p.capitalize,createChainedFunction:c.createChainedFunction,createSvgIcon:C.createSvgIcon,debounce:d.debounce,deprecatedPropType:N,isMuiElement:c.isMuiElement,ownerDocument:d.ownerDocument,ownerWindow:d.ownerWindow,requirePropFactory:_,setRef:l.setRef,unstable_ClassNameGenerator:P,unstable_memoTheme:y.memoTheme,unstable_useEnhancedEffect:l.useEnhancedEffect,unstable_useId:S.useId,unsupportedProp:w.unsupportedProp,useControlled:c.useControlled,useEventCallback:I.useEventCallback,useForkRef:l.useForkRef},Symbol.toStringTag,{value:"Module"}));var E={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(E);var D=E.exports,f={};const $=p.getAugmentedNamespace(R);var q;function T(){return q||(q=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=$}(f)),f}exports.interopRequireDefaultExports=D;exports.requireCreateSvgIcon=T;exports.requirePropFactory=_;
@@ -1,88 +0,0 @@
1
- import { Q as g, K as v, _ as b } from "./identifier-Bsv46xiT.js";
2
- import { c as E } from "./createSvgIcon-B6bEgasO.js";
3
- import { m as y } from "./DefaultPropsProvider-QV6PDjPd.js";
4
- import { c as N, i as S, u as C } from "./useControlled-D59BLg1S.js";
5
- import { s as $, u as I, a as T } from "./useForkRef-DwN_Iz9R.js";
6
- import { d as q, a as x, o as w } from "./ownerWindow-BoRkeomM.js";
7
- import { u as D } from "./useId-CyGZMA-F.js";
8
- import { u as O } from "./unsupportedProp-BuVD30Gh.js";
9
- import { u as R } from "./useEventCallback-BgMlqKLP.js";
10
- function M(e, r) {
11
- return process.env.NODE_ENV === "production" ? () => null : (t, a, u, o, n) => {
12
- const s = u || "<<anonymous>>", i = n || a;
13
- return typeof t[a] < "u" ? new Error(`The ${o} \`${i}\` of \`${s}\` is deprecated. ${r}`) : null;
14
- };
15
- }
16
- function P(e, r) {
17
- if (process.env.NODE_ENV === "production")
18
- return () => null;
19
- const t = r ? {
20
- ...r.propTypes
21
- } : null;
22
- return (u) => (o, n, s, i, l, ..._) => {
23
- const f = l || n, m = t == null ? void 0 : t[f];
24
- if (m) {
25
- const p = m(o, n, s, i, l, ..._);
26
- if (p)
27
- return p;
28
- }
29
- return typeof o[n] < "u" && !o[u] ? new Error(`The prop \`${f}\` of \`${e}\` can only be used together with the \`${u}\` prop.`) : null;
30
- };
31
- }
32
- const j = {
33
- configure: (e) => {
34
- process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
35
- `)), g.configure(e);
36
- }
37
- }, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
38
- __proto__: null,
39
- capitalize: v,
40
- createChainedFunction: N,
41
- createSvgIcon: E,
42
- debounce: q,
43
- deprecatedPropType: M,
44
- isMuiElement: S,
45
- ownerDocument: x,
46
- ownerWindow: w,
47
- requirePropFactory: P,
48
- setRef: $,
49
- unstable_ClassNameGenerator: j,
50
- unstable_memoTheme: y,
51
- unstable_useEnhancedEffect: I,
52
- unstable_useId: D,
53
- unsupportedProp: O,
54
- useControlled: C,
55
- useEventCallback: R,
56
- useForkRef: T
57
- }, Symbol.toStringTag, { value: "Module" }));
58
- var h = { exports: {} };
59
- (function(e) {
60
- function r(t) {
61
- return t && t.__esModule ? t : {
62
- default: t
63
- };
64
- }
65
- e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
66
- })(h);
67
- var B = h.exports, c = {};
68
- const F = /* @__PURE__ */ b(k);
69
- var d;
70
- function H() {
71
- return d || (d = 1, function(e) {
72
- "use client";
73
- Object.defineProperty(e, "__esModule", {
74
- value: !0
75
- }), Object.defineProperty(e, "default", {
76
- enumerable: !0,
77
- get: function() {
78
- return r.createSvgIcon;
79
- }
80
- });
81
- var r = F;
82
- }(c)), c;
83
- }
84
- export {
85
- P as a,
86
- B as i,
87
- H as r
88
- };
@@ -1 +0,0 @@
1
- "use strict";const b=require("react"),h=require("react/jsx-runtime"),e=require("./identifier-7NboR24y.cjs"),P=require("./DefaultPropsProvider-B6IbLm7M.cjs");function O(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>o[t]})}}return r.default=o,Object.freeze(r)}const z=O(b);function x(o){return e.generateUtilityClass("MuiSvgIcon",o)}e.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const I=o=>{const{color:r,fontSize:t,classes:n}=o,s={root:["root",r!=="inherit"&&`color${e.capitalize(r)}`,`fontSize${e.capitalize(t)}`]};return P.composeClasses(s,x,n)},w=P.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:t}=o;return[r.root,t.color!=="inherit"&&r[`color${e.capitalize(t.color)}`],r[`fontSize${e.capitalize(t.fontSize)}`]]}})(P.memoTheme(({theme:o})=>{var r,t,n,s,l,g,c,m,a,y,p,u,T,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(r=o.transitions)==null?void 0:r.create)==null?void 0:s.call(r,"fill",{duration:(n=(t=(o.vars??o).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:i=>!i.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((g=(l=o.typography)==null?void 0:l.pxToRem)==null?void 0:g.call(l,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((m=(c=o.typography)==null?void 0:c.pxToRem)==null?void 0:m.call(c,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((y=(a=o.typography)==null?void 0:a.pxToRem)==null?void 0:y.call(a,35))||"2.1875rem"}},...Object.entries((o.vars??o).palette).filter(([,i])=>i&&i.main).map(([i])=>{var d,v;return{props:{color:i},style:{color:(v=(d=(o.vars??o).palette)==null?void 0:d[i])==null?void 0:v.main}}}),{props:{color:"action"},style:{color:(u=(p=(o.vars??o).palette)==null?void 0:p.action)==null?void 0:u.active}},{props:{color:"disabled"},style:{color:(f=(T=(o.vars??o).palette)==null?void 0:T.action)==null?void 0:f.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),S=z.forwardRef(function(r,t){const n=P.useDefaultProps({props:r,name:"MuiSvgIcon"}),{children:s,className:l,color:g="inherit",component:c="svg",fontSize:m="medium",htmlColor:a,inheritViewBox:y=!1,titleAccess:p,viewBox:u="0 0 24 24",...T}=n,f=z.isValidElement(s)&&s.type==="svg",i={...n,color:g,component:c,fontSize:m,instanceFontSize:r.fontSize,inheritViewBox:y,viewBox:u,hasSvgAsChild:f},d={};y||(d.viewBox=u);const v=I(i);return h.jsxs(w,{as:c,className:e.clsx(v.root,l),focusable:"false",color:a,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:t,...d,...T,...f&&s.props,ownerState:i,children:[f?s.props.children:s,p?h.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(S.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),component:e.PropTypes.elementType,fontSize:e.PropTypes.oneOfType([e.PropTypes.oneOf(["inherit","large","medium","small"]),e.PropTypes.string]),htmlColor:e.PropTypes.string,inheritViewBox:e.PropTypes.bool,shapeRendering:e.PropTypes.string,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),titleAccess:e.PropTypes.string,viewBox:e.PropTypes.string});S&&(S.muiName="SvgIcon");function j(o,r){function t(n,s){return h.jsx(S,{"data-testid":`${r}Icon`,ref:s,...n,children:o})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=S.muiName,z.memo(z.forwardRef(t))}exports.createSvgIcon=j;
@@ -1,37 +0,0 @@
1
- import { G as c, H as l } from "./identifier-Bsv46xiT.js";
2
- const a = (t) => {
3
- var s;
4
- const e = {
5
- systemProps: {},
6
- otherProps: {}
7
- }, o = ((s = t == null ? void 0 : t.theme) == null ? void 0 : s.unstable_sxConfig) ?? c;
8
- return Object.keys(t).forEach((n) => {
9
- o[n] ? e.systemProps[n] = t[n] : e.otherProps[n] = t[n];
10
- }), e;
11
- };
12
- function x(t) {
13
- const {
14
- sx: e,
15
- ...o
16
- } = t, {
17
- systemProps: s,
18
- otherProps: n
19
- } = a(o);
20
- let r;
21
- return Array.isArray(e) ? r = [s, ...e] : typeof e == "function" ? r = (...f) => {
22
- const i = e(...f);
23
- return l(i) ? {
24
- ...s,
25
- ...i
26
- } : s;
27
- } : r = {
28
- ...s,
29
- ...e
30
- }, {
31
- ...n,
32
- sx: r
33
- };
34
- }
35
- export {
36
- x as e
37
- };
@@ -1 +0,0 @@
1
- "use strict";const c=require("./identifier-7NboR24y.cjs"),u=t=>{var s;const e={systemProps:{},otherProps:{}},i=((s=t==null?void 0:t.theme)==null?void 0:s.unstable_sxConfig)??c.defaultSxConfig;return Object.keys(t).forEach(n=>{i[n]?e.systemProps[n]=t[n]:e.otherProps[n]=t[n]}),e};function l(t){const{sx:e,...i}=t,{systemProps:s,otherProps:n}=u(i);let r;return Array.isArray(e)?r=[s,...e]:typeof e=="function"?r=(...f)=>{const o=e(...f);return c.isPlainObject(o)?{...s,...o}:s}:r={...s,...e},{...n,sx:r}}exports.extendSxProp=l;