@cgi-learning-hub/ui 0.0.1-dev.1709023966 → 0.0.1-dev.1709044405

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 (99) hide show
  1. package/dist/Box-BOcHeUdU.cjs +1 -0
  2. package/dist/{Box-CPGTKTgx.js → Box-D7vtSZv3.js} +5 -5
  3. package/dist/{ButtonBase-B0tkJ9zf.js → ButtonBase-CWtGa3RS.js} +7 -6
  4. package/dist/{ButtonBase-DCL6Xlnm.cjs → ButtonBase-DiSWcqQX.cjs} +4 -4
  5. package/dist/{CircularProgress-CguDBnxV.js → CircularProgress-Cz74KUii.js} +37 -36
  6. package/dist/CircularProgress-DvzJ2zk9.cjs +28 -0
  7. package/dist/DefaultButton-3CeAmGTy.js +580 -0
  8. package/dist/DefaultButton-h0ISM4Pr.cjs +1 -0
  9. package/dist/IconButton-BRyHYK0S.cjs +2 -0
  10. package/dist/{IconButton-CJ1Nt-jf.js → IconButton-BvgHzYLs.js} +30 -28
  11. package/dist/{InputBase-C_yPRkam.js → InputBase-DXIea1Cc.js} +3 -3
  12. package/dist/{InputBase-Dvr5GnwD.cjs → InputBase-Dp2-NOH_.cjs} +3 -3
  13. package/dist/SearchInput-BVsQljml.js +176 -0
  14. package/dist/SearchInput-BbZiaK5Z.cjs +1 -0
  15. package/dist/Tabs-D7bi9NGH.js +1089 -0
  16. package/dist/Tabs-DBqF7m2y.cjs +4 -0
  17. package/dist/TextInput-CUnrSiJ9.js +5793 -0
  18. package/dist/TextInput-D7EBtZs8.cjs +12 -0
  19. package/dist/TimePicker-CZ8EXNU_.js +17528 -0
  20. package/dist/TimePicker-DjIOSP8-.cjs +16 -0
  21. package/dist/{Typography-CyFLZjnE.js → Typography-BsS5MVop.js} +39 -38
  22. package/dist/Typography-Dj96Ct2C.cjs +1 -0
  23. package/dist/components/Dropzone/Dropzone.cjs.js +2 -2
  24. package/dist/components/Dropzone/Dropzone.d.ts +3 -3
  25. package/dist/components/Dropzone/Dropzone.es.js +19 -14
  26. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  27. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +7 -577
  28. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  29. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +4 -4
  30. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  31. package/dist/components/buttons/DefaultButton/index.es.js +2 -2
  32. package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
  33. package/dist/components/buttons/IconButton.stories.es.js +2 -2
  34. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  35. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +4 -4
  36. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  37. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  38. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  39. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +2 -2
  40. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  41. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  42. package/dist/components/buttons/index.cjs.js +1 -1
  43. package/dist/components/buttons/index.es.js +2 -2
  44. package/dist/components/index.cjs.js +1 -1
  45. package/dist/components/index.d.ts +30 -2
  46. package/dist/components/index.es.js +85 -18
  47. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  48. package/dist/components/inputs/SearchInput/SearchInput.es.js +6 -173
  49. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
  50. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +4 -4
  51. package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
  52. package/dist/components/inputs/SearchInput/index.es.js +2 -2
  53. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -12
  54. package/dist/components/inputs/TextInput/TextInput.es.js +5 -5774
  55. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  56. package/dist/components/inputs/TextInput/TextInput.stories.es.js +5 -5
  57. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  58. package/dist/components/inputs/TextInput/index.es.js +2 -2
  59. package/dist/components/inputs/index.cjs.js +1 -1
  60. package/dist/components/inputs/index.es.js +4 -4
  61. package/dist/components/lists/FileList/FileList.cjs.js +1 -1
  62. package/dist/components/lists/FileList/FileList.es.js +1 -1
  63. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  64. package/dist/components/lists/FileList/FileListItem.es.js +5 -5
  65. package/dist/components/lists/TabList.stories.cjs.js +1 -4
  66. package/dist/components/lists/TabList.stories.es.js +85 -932
  67. package/dist/createSvgIcon-DWH-VQOB.cjs +2 -0
  68. package/dist/{createSvgIcon-m_wsenOJ.js → createSvgIcon-Dt2OaWlr.js} +11 -11
  69. package/dist/{createSvgIcon-KaSN8JhZ.js → createSvgIcon-FbpDQQ7X.js} +3 -3
  70. package/dist/createSvgIcon-K1XmJ33T.cjs +1 -0
  71. package/dist/index.cjs.js +1 -1
  72. package/dist/index.es.js +85 -18
  73. package/dist/refType-BgO8A5K8.cjs +1 -0
  74. package/dist/{refType-Hh9tfnoF.js → refType-D_zuIflA.js} +1 -1
  75. package/dist/{useThemeProps-Dg9Uoq7q.js → styled-DWGei2G_.js} +621 -611
  76. package/dist/{useThemeProps-jkB5q9ie.cjs → styled-DhUFTujV.cjs} +22 -22
  77. package/dist/useForkRef-DfdM2MN5.cjs +1 -0
  78. package/dist/{useIsFocusVisible-BF0lT08B.cjs → useIsFocusVisible-9FderFRK.cjs} +1 -1
  79. package/dist/{useIsFocusVisible-D8ksiuhS.js → useIsFocusVisible-B88all80.js} +1 -1
  80. package/dist/{useSlotProps-MoAYME1z.js → useSlotProps-80kGxOhD.js} +2 -2
  81. package/dist/useSlotProps-DZRn5pp7.cjs +1 -0
  82. package/dist/{useTheme-DJEDOopE.js → useTheme-Jkpgyx74.js} +1 -1
  83. package/dist/useTheme-dCptpuPr.cjs +1 -0
  84. package/dist/{useTimeout-KN97abZR.js → useTimeout-C7IkLqZ9.js} +1 -1
  85. package/dist/{useTimeout-qjxkiZZn.cjs → useTimeout-DHarDhEH.cjs} +1 -1
  86. package/package.json +2 -1
  87. package/dist/Box-7uR7JZiM.cjs +0 -1
  88. package/dist/CircularProgress-CZX5SfKt.cjs +0 -28
  89. package/dist/IconButton-De7ZdW2q.cjs +0 -2
  90. package/dist/Tab-Bhm9hCrX.cjs +0 -1
  91. package/dist/Tab-C4l6V01S.js +0 -237
  92. package/dist/Typography-DwsN2Ttm.cjs +0 -1
  93. package/dist/createSvgIcon-B6bZPuto.cjs +0 -1
  94. package/dist/createSvgIcon-BX8WQ5r-.cjs +0 -2
  95. package/dist/refType-CHSN6ysS.cjs +0 -1
  96. package/dist/useForkRef-CGd3Nhyb.cjs +0 -1
  97. package/dist/useSlotProps-R4s13HHI.cjs +0 -1
  98. package/dist/useTheme-BDPYLOoP.cjs +0 -1
  99. package/dist/{useForkRef-DwN_Iz9R.js → useForkRef-CQ5u1_mH.js} +1 -1
@@ -1,237 +0,0 @@
1
- import { g as _, a as E, s as M, c as R, _ as x, b as U, e as H, f as F, P as i, h as z } from "./useThemeProps-Dg9Uoq7q.js";
2
- import * as p from "react";
3
- import { jsxs as C } from "react/jsx-runtime";
4
- import { B as D } from "./ButtonBase-B0tkJ9zf.js";
5
- import { u as L } from "./unsupportedProp-BuVD30Gh.js";
6
- function V(o) {
7
- return E("MuiTab", o);
8
- }
9
- const A = _("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper"]), a = A, G = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"], q = (o) => {
10
- const {
11
- classes: e,
12
- textColor: s,
13
- fullWidth: t,
14
- wrapped: m,
15
- icon: d,
16
- label: b,
17
- selected: g,
18
- disabled: l
19
- } = o, n = {
20
- root: ["root", d && b && "labelIcon", `textColor${R(s)}`, t && "fullWidth", m && "wrapped", g && "selected", l && "disabled"],
21
- iconWrapper: ["iconWrapper"]
22
- };
23
- return z(n, V, e);
24
- }, J = M(D, {
25
- name: "MuiTab",
26
- slot: "Root",
27
- overridesResolver: (o, e) => {
28
- const {
29
- ownerState: s
30
- } = o;
31
- return [e.root, s.label && s.icon && e.labelIcon, e[`textColor${R(s.textColor)}`], s.fullWidth && e.fullWidth, s.wrapped && e.wrapped];
32
- }
33
- })(({
34
- theme: o,
35
- ownerState: e
36
- }) => x({}, o.typography.button, {
37
- maxWidth: 360,
38
- minWidth: 90,
39
- position: "relative",
40
- minHeight: 48,
41
- flexShrink: 0,
42
- padding: "12px 16px",
43
- overflow: "hidden",
44
- whiteSpace: "normal",
45
- textAlign: "center"
46
- }, e.label && {
47
- flexDirection: e.iconPosition === "top" || e.iconPosition === "bottom" ? "column" : "row"
48
- }, {
49
- lineHeight: 1.25
50
- }, e.icon && e.label && {
51
- minHeight: 72,
52
- paddingTop: 9,
53
- paddingBottom: 9,
54
- [`& > .${a.iconWrapper}`]: x({}, e.iconPosition === "top" && {
55
- marginBottom: 6
56
- }, e.iconPosition === "bottom" && {
57
- marginTop: 6
58
- }, e.iconPosition === "start" && {
59
- marginRight: o.spacing(1)
60
- }, e.iconPosition === "end" && {
61
- marginLeft: o.spacing(1)
62
- })
63
- }, e.textColor === "inherit" && {
64
- color: "inherit",
65
- opacity: 0.6,
66
- // same opacity as theme.palette.text.secondary
67
- [`&.${a.selected}`]: {
68
- opacity: 1
69
- },
70
- [`&.${a.disabled}`]: {
71
- opacity: (o.vars || o).palette.action.disabledOpacity
72
- }
73
- }, e.textColor === "primary" && {
74
- color: (o.vars || o).palette.text.secondary,
75
- [`&.${a.selected}`]: {
76
- color: (o.vars || o).palette.primary.main
77
- },
78
- [`&.${a.disabled}`]: {
79
- color: (o.vars || o).palette.text.disabled
80
- }
81
- }, e.textColor === "secondary" && {
82
- color: (o.vars || o).palette.text.secondary,
83
- [`&.${a.selected}`]: {
84
- color: (o.vars || o).palette.secondary.main
85
- },
86
- [`&.${a.disabled}`]: {
87
- color: (o.vars || o).palette.text.disabled
88
- }
89
- }, e.fullWidth && {
90
- flexShrink: 1,
91
- flexGrow: 1,
92
- flexBasis: 0,
93
- maxWidth: "none"
94
- }, e.wrapped && {
95
- fontSize: o.typography.pxToRem(12)
96
- })), $ = /* @__PURE__ */ p.forwardRef(function(e, s) {
97
- const t = U({
98
- props: e,
99
- name: "MuiTab"
100
- }), {
101
- className: m,
102
- disabled: d = !1,
103
- disableFocusRipple: b = !1,
104
- // eslint-disable-next-line react/prop-types
105
- fullWidth: g,
106
- icon: l,
107
- iconPosition: n = "top",
108
- // eslint-disable-next-line react/prop-types
109
- indicator: N,
110
- label: u,
111
- onChange: f,
112
- onClick: y,
113
- onFocus: h,
114
- // eslint-disable-next-line react/prop-types
115
- selected: c,
116
- // eslint-disable-next-line react/prop-types
117
- selectionFollowsFocus: k,
118
- // eslint-disable-next-line react/prop-types
119
- textColor: O = "inherit",
120
- value: T,
121
- wrapped: w = !1
122
- } = t, B = H(t, G), W = x({}, t, {
123
- disabled: d,
124
- disableFocusRipple: b,
125
- selected: c,
126
- icon: !!l,
127
- iconPosition: n,
128
- label: !!u,
129
- fullWidth: g,
130
- textColor: O,
131
- wrapped: w
132
- }), P = q(W), v = l && u && /* @__PURE__ */ p.isValidElement(l) ? /* @__PURE__ */ p.cloneElement(l, {
133
- className: F(P.iconWrapper, l.props.className)
134
- }) : l, j = (r) => {
135
- !c && f && f(r, T), y && y(r);
136
- }, I = (r) => {
137
- k && !c && f && f(r, T), h && h(r);
138
- };
139
- return /* @__PURE__ */ C(J, x({
140
- focusRipple: !b,
141
- className: F(P.root, m),
142
- ref: s,
143
- role: "tab",
144
- "aria-selected": c,
145
- disabled: d,
146
- onClick: j,
147
- onFocus: I,
148
- ownerState: W,
149
- tabIndex: c ? 0 : -1
150
- }, B, {
151
- children: [n === "top" || n === "start" ? /* @__PURE__ */ C(p.Fragment, {
152
- children: [v, u]
153
- }) : /* @__PURE__ */ C(p.Fragment, {
154
- children: [u, v]
155
- }), N]
156
- }));
157
- });
158
- process.env.NODE_ENV !== "production" && ($.propTypes = {
159
- // ┌────────────────────────────── Warning ──────────────────────────────┐
160
- // │ These PropTypes are generated from the TypeScript type definitions. │
161
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
162
- // └─────────────────────────────────────────────────────────────────────┘
163
- /**
164
- * This prop isn't supported.
165
- * Use the `component` prop if you need to change the children structure.
166
- */
167
- children: L,
168
- /**
169
- * Override or extend the styles applied to the component.
170
- */
171
- classes: i.object,
172
- /**
173
- * @ignore
174
- */
175
- className: i.string,
176
- /**
177
- * If `true`, the component is disabled.
178
- * @default false
179
- */
180
- disabled: i.bool,
181
- /**
182
- * If `true`, the keyboard focus ripple is disabled.
183
- * @default false
184
- */
185
- disableFocusRipple: i.bool,
186
- /**
187
- * If `true`, the ripple effect is disabled.
188
- *
189
- * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
190
- * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
191
- * @default false
192
- */
193
- disableRipple: i.bool,
194
- /**
195
- * The icon to display.
196
- */
197
- icon: i.oneOfType([i.element, i.string]),
198
- /**
199
- * The position of the icon relative to the label.
200
- * @default 'top'
201
- */
202
- iconPosition: i.oneOf(["bottom", "end", "start", "top"]),
203
- /**
204
- * The label element.
205
- */
206
- label: i.node,
207
- /**
208
- * @ignore
209
- */
210
- onChange: i.func,
211
- /**
212
- * @ignore
213
- */
214
- onClick: i.func,
215
- /**
216
- * @ignore
217
- */
218
- onFocus: i.func,
219
- /**
220
- * The system prop that allows defining system overrides as well as additional CSS styles.
221
- */
222
- sx: i.oneOfType([i.arrayOf(i.oneOfType([i.func, i.object, i.bool])), i.func, i.object]),
223
- /**
224
- * You can provide your own value. Otherwise, we fallback to the child position index.
225
- */
226
- value: i.any,
227
- /**
228
- * Tab labels appear in a single row.
229
- * They can use a second line if needed.
230
- * @default false
231
- */
232
- wrapped: i.bool
233
- });
234
- const Z = $;
235
- export {
236
- Z as T
237
- };
@@ -1 +0,0 @@
1
- "use strict";const e=require("./useThemeProps-jkB5q9ie.cjs"),v=require("react"),_=require("react/jsx-runtime");function O(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const j=O(v),B=["sx"],W=o=>{var t,r;const n={systemProps:{},otherProps:{}},s=(t=o==null||(r=o.theme)==null?void 0:r.unstable_sxConfig)!=null?t:e.defaultSxConfig;return Object.keys(o).forEach(a=>{s[a]?n.systemProps[a]=o[a]:n.otherProps[a]=o[a]}),n};function m(o){const{sx:t}=o,r=e._objectWithoutPropertiesLoose(o,B),{systemProps:n,otherProps:s}=W(r);let a;return Array.isArray(t)?a=[n,...t]:typeof t=="function"?a=(...p)=>{const i=t(...p);return e.isPlainObject(i)?e._extends({},n,i):n}:a=e._extends({},n,t),e._extends({},s,{sx:a})}function C(o){return e.generateUtilityClass("MuiTypography",o)}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"]);const M=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],$=o=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:s,variant:a,classes:p}=o,i={root:["root",a,o.align!=="inherit"&&`align${e.capitalize(t)}`,r&&"gutterBottom",n&&"noWrap",s&&"paragraph"]};return e.composeClasses(i,C,p)},N=e.styled("span",{name:"MuiTypography",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.variant&&t[r.variant],r.align!=="inherit"&&t[`align${e.capitalize(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:o,ownerState:t})=>e._extends({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&o.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),g={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},R={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},q=o=>R[o]||o,f=j.forwardRef(function(t,r){const n=e.useThemeProps({props:t,name:"MuiTypography"}),s=q(n.color),a=m(e._extends({},n,{color:s})),{align:p="inherit",className:i,component:l,gutterBottom:d=!1,noWrap:T=!1,paragraph:h=!1,variant:c="body1",variantMapping:y=g}=a,P=e._objectWithoutPropertiesLoose(a,M),u=e._extends({},a,{align:p,color:s,className:i,component:l,gutterBottom:d,noWrap:T,paragraph:h,variant:c,variantMapping:y}),b=l||(h?"p":y[c]||g[c])||"span",x=$(u);return _.jsx(N,e._extends({as:b,ref:r,ownerState:u,className:e.clsx(x.root,i)},P))});process.env.NODE_ENV!=="production"&&(f.propTypes={align:e.PropTypes.oneOf(["center","inherit","justify","left","right"]),children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,gutterBottom:e.PropTypes.bool,noWrap:e.PropTypes.bool,paragraph:e.PropTypes.bool,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 D=f;exports.Typography=D;exports.extendSxProp=m;
@@ -1 +0,0 @@
1
- "use strict";const e=require("./useThemeProps-jkB5q9ie.cjs"),x=require("react"),v=require("react/jsx-runtime");function _(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>o[r]})}}return t.default=o,Object.freeze(t)}const g=_(x);function $(o){return e.generateUtilityClass("MuiSvgIcon",o)}e.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const z=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],b=o=>{const{color:t,fontSize:r,classes:i}=o,n={root:["root",t!=="inherit"&&`color${e.capitalize(t)}`,`fontSize${e.capitalize(r)}`]};return e.composeClasses(n,$,i)},I=e.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(o,t)=>{const{ownerState:r}=o;return[t.root,r.color!=="inherit"&&t[`color${e.capitalize(r.color)}`],t[`fontSize${e.capitalize(r.fontSize)}`]]}})(({theme:o,ownerState:t})=>{var r,i,n,u,f,a,m,d,y,l,c,p,s;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=o.transitions)==null||(i=r.create)==null?void 0:i.call(r,"fill",{duration:(n=o.transitions)==null||(n=n.duration)==null?void 0:n.shorter}),fontSize:{inherit:"inherit",small:((u=o.typography)==null||(f=u.pxToRem)==null?void 0:f.call(u,20))||"1.25rem",medium:((a=o.typography)==null||(m=a.pxToRem)==null?void 0:m.call(a,24))||"1.5rem",large:((d=o.typography)==null||(y=d.pxToRem)==null?void 0:y.call(d,35))||"2.1875rem"}[t.fontSize],color:(l=(c=(o.vars||o).palette)==null||(c=c[t.color])==null?void 0:c.main)!=null?l:{action:(p=(o.vars||o).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(s=(o.vars||o).palette)==null||(s=s.action)==null?void 0:s.disabled,inherit:void 0}[t.color]}}),h=g.forwardRef(function(t,r){const i=e.useThemeProps({props:t,name:"MuiSvgIcon"}),{children:n,className:u,color:f="inherit",component:a="svg",fontSize:m="medium",htmlColor:d,inheritViewBox:y=!1,titleAccess:l,viewBox:c="0 0 24 24"}=i,p=e._objectWithoutPropertiesLoose(i,z),s=g.isValidElement(n)&&n.type==="svg",T=e._extends({},i,{color:f,component:a,fontSize:m,instanceFontSize:t.fontSize,inheritViewBox:y,viewBox:c,hasSvgAsChild:s}),S={};y||(S.viewBox=c);const P=b(T);return v.jsxs(I,e._extends({as:a,className:e.clsx(P.root,u),focusable:"false",color:d,"aria-hidden":l?void 0:!0,role:l?"img":void 0,ref:r},S,p,s&&n.props,{ownerState:T,children:[s?n.props.children:n,l?v.jsx("title",{children:l}):null]}))});process.env.NODE_ENV!=="production"&&(h.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});h.muiName="SvgIcon";function O(o,t){function r(i,n){return v.jsx(h,e._extends({"data-testid":`${t}Icon`,ref:n},i,{children:o}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=h.muiName,g.memo(g.forwardRef(r))}exports.createSvgIcon=O;
@@ -1,2 +0,0 @@
1
- "use strict";const s=require("./useThemeProps-jkB5q9ie.cjs"),b=require("./createSvgIcon-B6bZPuto.cjs"),l=require("./useControlled-jN3fqFfv.cjs"),d=require("./ownerWindow-Dk_4aaak.cjs"),p=require("./useForkRef-CGd3Nhyb.cjs"),C=require("./useId-Cw0TtD-8.cjs"),I=require("./unsupportedProp-Bn6XWqwH.cjs"),y=require("./useTimeout-qjxkiZZn.cjs"),S=require("./useIsFocusVisible-BF0lT08B.cjs");function w(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,i,o,n,u)=>{const c=o||"<<anonymous>>",a=u||i;return typeof r[i]<"u"?new Error(`The ${n} \`${a}\` of \`${c}\` is deprecated. ${t}`):null}}function N(e,t){if(process.env.NODE_ENV==="production")return()=>null;const r=t?s._extends({},t.propTypes):null;return o=>(n,u,c,a,m,...E)=>{const v=m||u,h=r==null?void 0:r[v];if(h){const g=h(n,u,c,a,m,...E);if(g)return g}return typeof n[u]<"u"&&!n[o]?new Error(`The prop \`${v}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}var q={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})(q);var P=q.exports,f={};const R={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
- `)),s.ClassNameGenerator.configure(e)}},T=Object.freeze(Object.defineProperty({__proto__:null,capitalize:s.capitalize,createChainedFunction:l.createChainedFunction,createSvgIcon:b.createSvgIcon,debounce:d.debounce,deprecatedPropType:w,isMuiElement:l.isMuiElement,ownerDocument:d.ownerDocument,ownerWindow:d.ownerWindow,requirePropFactory:N,setRef:p.setRef,unstable_ClassNameGenerator:R,unstable_useEnhancedEffect:p.useEnhancedEffect,unstable_useId:C.useId,unsupportedProp:I.unsupportedProp,useControlled:l.useControlled,useEventCallback:y.useEventCallback,useForkRef:p.useForkRef,useIsFocusVisible:S.useIsFocusVisible},Symbol.toStringTag,{value:"Module"})),F=s.getAugmentedNamespace(T);var _;function $(){return _||(_=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)),f}exports.interopRequireDefaultExports=P;exports.requireCreateSvgIcon=$;
@@ -1 +0,0 @@
1
- "use strict";const o=require("./useThemeProps-jkB5q9ie.cjs");function c(n,e){return process.env.NODE_ENV==="production"?()=>null:function(...t){return n(...t)||e(...t)}}function f(n){const{prototype:e={}}=n;return!!e.isReactComponent}function l(n,e,i,t,u){const p=n[e],s=u||e;if(p==null||typeof window>"u")return null;let r;return typeof p=="function"&&!f(p)&&(r="Did you accidentally provide a plain function component instead?"),r!==void 0?new Error(`Invalid ${t} \`${s}\` supplied to \`${i}\`. Expected an element type that can hold a ref. ${r} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const a=c(o.PropTypes.elementType,l),y=o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object]),d=y;exports.chainPropTypes=c;exports.elementTypeAcceptingRef=a;exports.refType=d;
@@ -1 +0,0 @@
1
- "use strict";const o=require("react");function r(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const c=r(o);function f(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const s=typeof window<"u"?c.useLayoutEffect:c.useEffect;function i(...e){return c.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{f(n,t)})},e)}exports.setRef=f;exports.useEnhancedEffect=s;exports.useForkRef=i;
@@ -1 +0,0 @@
1
- "use strict";const l=require("./useThemeProps-jkB5q9ie.cjs"),P=require("./isHostComponent-PydJW4A4.cjs"),_=require("./useForkRef-CGd3Nhyb.cjs");function g(n,s,e){return n===void 0||P.isHostComponent(n)?s:l._extends({},s,{ownerState:l._extends({},s.ownerState,e)})}function S(n,s=[]){if(n===void 0)return{};const e={};return Object.keys(n).filter(t=>t.match(/^on[A-Z]/)&&typeof n[t]=="function"&&!s.includes(t)).forEach(t=>{e[t]=n[t]}),e}function h(n,s,e){return typeof n=="function"?n(s,e):n}function y(n){if(n===void 0)return{};const s={};return Object.keys(n).filter(e=>!(e.match(/^on[A-Z]/)&&typeof n[e]=="function")).forEach(e=>{s[e]=n[e]}),s}function N(n){const{getSlotProps:s,additionalProps:e,externalSlotProps:t,externalForwardedProps:o,className:d}=n;if(!s){const m=l.clsx(e==null?void 0:e.className,d,o==null?void 0:o.className,t==null?void 0:t.className),x=l._extends({},e==null?void 0:e.style,o==null?void 0:o.style,t==null?void 0:t.style),v=l._extends({},e,o,t);return m.length>0&&(v.className=m),Object.keys(x).length>0&&(v.style=x),{props:v,internalRef:void 0}}const u=S(l._extends({},o,t)),i=y(t),c=y(o),r=s(u),a=l.clsx(r==null?void 0:r.className,e==null?void 0:e.className,d,o==null?void 0:o.className,t==null?void 0:t.className),f=l._extends({},r==null?void 0:r.style,e==null?void 0:e.style,o==null?void 0:o.style,t==null?void 0:t.style),p=l._extends({},r,e,c,i);return a.length>0&&(p.className=a),Object.keys(f).length>0&&(p.style=f),{props:p,internalRef:r.ref}}const k=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function H(n){var s;const{elementType:e,externalSlotProps:t,ownerState:o,skipResolvingSlotProps:d=!1}=n,u=l._objectWithoutPropertiesLoose(n,k),i=d?{}:h(t,o),{props:c,internalRef:r}=N(l._extends({},u,{externalSlotProps:i})),a=_.useForkRef(r,i==null?void 0:i.ref,(s=n.additionalProps)==null?void 0:s.ref);return g(e,l._extends({},c,{ref:a}),o)}exports.extractEventHandlers=S;exports.useSlotProps=H;
@@ -1 +0,0 @@
1
- "use strict";const c=require("react"),n=require("./useThemeProps-jkB5q9ie.cjs");function o(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const u=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,u.get?u:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=o(c);function a(){const e=n.useTheme(n.defaultTheme);return process.env.NODE_ENV!=="production"&&s.useDebugValue(e),e[n.THEME_ID]||e}exports.useTheme=a;
@@ -1,8 +1,8 @@
1
1
  import * as t from "react";
2
+ const o = typeof window < "u" ? t.useLayoutEffect : t.useEffect;
2
3
  function f(e, n) {
3
4
  typeof e == "function" ? e(n) : e && (e.current = n);
4
5
  }
5
- const o = typeof window < "u" ? t.useLayoutEffect : t.useEffect;
6
6
  function c(...e) {
7
7
  return t.useMemo(() => e.every((n) => n == null) ? null : (n) => {
8
8
  e.forEach((u) => {