@cgi-learning-hub/ui 1.2.0-dev.1725030880 → 1.2.0-dev.1725451328
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.
- package/dist/Box-BDMtAH2P.cjs +1 -0
- package/dist/{Box-BJvmuM0Y.js → Box-CONPkck2.js} +32 -30
- package/dist/Button-By3A0teb.js +454 -0
- package/dist/Button-CBAa7bmK.cjs +1 -0
- package/dist/ButtonBase-D0vqeM8I.js +890 -0
- package/dist/ButtonBase-DePtV_m6.cjs +75 -0
- package/dist/CircularProgress-BRnSv2J2.cjs +28 -0
- package/dist/CircularProgress-BrfcRJbv.js +251 -0
- package/dist/DatePicker-Cw1xQ3Sn.cjs +19 -0
- package/dist/{DatePicker-xLT3dl8F.js → DatePicker-wZ1VHlXF.js} +4241 -4100
- package/dist/DefaultButton-B1wjXZO7.cjs +1 -0
- package/dist/DefaultButton-dbnwLtyd.js +351 -0
- package/dist/DefaultPropsProvider-B6IbLm7M.cjs +17 -0
- package/dist/DefaultPropsProvider-QV6PDjPd.js +468 -0
- package/dist/IconButton-BiLAYORS.js +239 -0
- package/dist/IconButton-DE-QtB3Q.cjs +2 -0
- package/dist/{InputAdornment-zaw7AFWU.js → InputAdornment-7ED2C-w1.js} +81 -65
- package/dist/InputAdornment-CJbpwt2R.cjs +1 -0
- package/dist/InputBase-LZPaeC-A.cjs +3 -0
- package/dist/InputBase-jbXydPMc.js +802 -0
- package/dist/{Stack-Dlgk5t_M.js → Stack-BzF_6-v5.js} +62 -60
- package/dist/Stack-D6Kv6y1D.cjs +1 -0
- package/dist/Tabs-CV_eM5RY.js +1222 -0
- package/dist/Tabs-DcqpjpXb.cjs +4 -0
- package/dist/TextField-DAxS82qf.cjs +12 -0
- package/dist/{TextField-DG1754qQ.js → TextField-G9MOGCdw.js} +3033 -2408
- package/dist/{Tooltip-BjTwTSrD.js → Tooltip-D_4ANHAc.js} +4682 -3406
- package/dist/Tooltip-Ma-NowZd.cjs +100 -0
- package/dist/TransitionGroupContext-B5aSBz0G.js +64 -0
- package/dist/TransitionGroupContext-gQFtuZSh.cjs +1 -0
- package/dist/Typography-4kqbsc6q.js +258 -0
- package/dist/Typography-CNQVeQXr.cjs +1 -0
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +3 -3
- package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.stories.es.js +3 -3
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/DefaultButton/DefaultButton.es.js +2 -2
- package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/DefaultButton/DefaultButtonIcon.es.js +108 -67
- package/dist/components/DefaultButton/index.cjs.js +1 -1
- package/dist/components/DefaultButton/index.es.js +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
- package/dist/components/Dropzone/Dropzone.es.js +8 -8
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +10 -11
- package/dist/components/IconButton.stories.cjs.js +1 -1
- package/dist/components/IconButton.stories.es.js +13 -14
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
- package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.stories.es.js +7 -7
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
- package/dist/components/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.es.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +1 -1
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.es.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/TabList.stories.cjs.js +1 -1
- package/dist/components/TabList.stories.es.js +100 -87
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +240 -235
- package/dist/composeClasses-B_ETVugV.cjs +1 -0
- package/dist/composeClasses-zmPRtZOg.js +16 -0
- package/dist/createSvgIcon-B6bEgasO.js +249 -0
- package/dist/createSvgIcon-C92jLZ0q.cjs +2 -0
- package/dist/createSvgIcon-Cdsg9tFu.js +88 -0
- package/dist/createSvgIcon-CrOALbij.cjs +1 -0
- package/dist/extendSxProp-BpSXIdup.js +37 -0
- package/dist/extendSxProp-DVE8Tgj8.cjs +1 -0
- package/dist/{fr-CXEmlY0d.js → fr-D92L3a1M.js} +13 -13
- package/dist/{fr-C4bcUC-9.cjs → fr-EMw1nUC-.cjs} +1 -1
- package/dist/identifier-7NboR24y.cjs +59 -0
- package/dist/identifier-Bsv46xiT.js +2930 -0
- package/dist/index-C9spydU3.js +89 -0
- package/dist/index-DHDspyh-.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +238 -233
- package/dist/{ownerWindow-C7EH1lr6.js → ownerWindow-BoRkeomM.js} +2 -2
- package/dist/{refType-DiVIFcsY.js → refType-BnS1d2D8.js} +1 -1
- package/dist/{refType-D1DDOFsy.cjs → refType-YgbJS0xl.cjs} +1 -1
- package/dist/useControlled-Bf7_InaL.cjs +3 -0
- package/dist/useControlled-D59BLg1S.js +48 -0
- package/dist/useEventCallback-BgMlqKLP.js +14 -0
- package/dist/useEventCallback-CrCf96iG.cjs +1 -0
- package/dist/useId-CyGZMA-F.js +19 -0
- package/dist/useId-D5Txt-1B.cjs +1 -0
- package/dist/useTheme-A9inJAFh.cjs +1 -0
- package/dist/useTheme-C0nMwKpp.js +128 -0
- package/dist/{useTheme-1gSw-INq.js → useTheme-DzMeSzHc.js} +5 -5
- package/dist/useTheme-Zq6D7sUp.cjs +1 -0
- package/dist/useThemeProps-YFPF1eJp.js +40 -0
- package/dist/useThemeProps-r2yCksSx.cjs +1 -0
- package/package.json +15 -15
- package/dist/Box-2ZrLOc7U.cjs +0 -1
- package/dist/Button-HyZp1VKI.js +0 -359
- package/dist/Button-NhaA68Of.cjs +0 -1
- package/dist/ButtonBase-CnINN-P4.cjs +0 -75
- package/dist/ButtonBase-cOL6Mpcp.js +0 -827
- package/dist/CircularProgress-01RZzfpF.cjs +0 -28
- package/dist/CircularProgress-DO4r9-x8.js +0 -217
- package/dist/DatePicker-DZBeZYG6.cjs +0 -19
- package/dist/DefaultButton-BMmuKPgA.cjs +0 -1
- package/dist/DefaultButton-CKY6tuni.js +0 -258
- package/dist/IconButton-3v-0zgZW.cjs +0 -2
- package/dist/IconButton-BBfmzBP6.js +0 -184
- package/dist/InputAdornment-DHmtETz3.cjs +0 -1
- package/dist/InputBase-BpGQgBej.cjs +0 -3
- package/dist/InputBase-COUxfhh1.js +0 -794
- package/dist/Stack-D9IYPfJ8.cjs +0 -1
- package/dist/Tabs-Blo-8Ro5.js +0 -1091
- package/dist/Tabs-D0e7cB4l.cjs +0 -4
- package/dist/TextField-8AuRLRIK.cjs +0 -12
- package/dist/Tooltip-Cp3Dh6LR.cjs +0 -95
- package/dist/TransitionGroupContext-BkoHK5Kx.js +0 -14
- package/dist/TransitionGroupContext-mYDSzffd.cjs +0 -1
- package/dist/Typography-DjrvRhOr.js +0 -178
- package/dist/Typography-YHooSvuR.cjs +0 -1
- package/dist/createStyled--XbpooZB.js +0 -142
- package/dist/createStyled-CuYz_ckk.cjs +0 -1
- package/dist/createSvgIcon-CUiH3cta.cjs +0 -1
- package/dist/createSvgIcon-D29Io9jD.js +0 -183
- package/dist/createSvgIcon-DTc4Xvfk.cjs +0 -2
- package/dist/createSvgIcon-DvOXtgXV.js +0 -76
- package/dist/identifier-CAQ9PWqs.js +0 -3046
- package/dist/identifier-CWIj084w.cjs +0 -50
- package/dist/isHostComponent-PydJW4A4.cjs +0 -1
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/styled-Bt4oYVnF.cjs +0 -17
- package/dist/styled-Co-8YWfm.js +0 -533
- package/dist/useControlled-DKpcyPsg.cjs +0 -3
- package/dist/useControlled-DoRrpN8o.js +0 -48
- package/dist/useId-BW-oWmul.js +0 -19
- package/dist/useId-Cw0TtD-8.cjs +0 -1
- package/dist/useIsFocusVisible-Bv_7uvif.cjs +0 -1
- package/dist/useIsFocusVisible-DhASXQ4o.js +0 -69
- package/dist/useTheme-Dm6RnXrf.cjs +0 -1
- package/dist/useTheme-HJhneR9g.js +0 -99
- package/dist/useTheme-T2P7WhLG.cjs +0 -1
- package/dist/useThemeProps-BKIVQv3E.js +0 -17
- package/dist/useThemeProps-BfZ3lLQs.js +0 -27
- package/dist/useThemeProps-BpFUkYqe.cjs +0 -1
- package/dist/useThemeProps-Co5ylM0H.cjs +0 -1
- package/dist/useTimeout-BdvDipeg.js +0 -47
- package/dist/useTimeout-XUWYBnl6.cjs +0 -1
|
@@ -1,64 +1,65 @@
|
|
|
1
|
-
import { P as e,
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { jsx as
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
1
|
+
import { P as e, M as C, R as g, S as f, U as R, V as D, W as N, L as E, I as F, X as T } from "./identifier-Bsv46xiT.js";
|
|
2
|
+
import { a as M, c as B, s as $ } from "./DefaultPropsProvider-QV6PDjPd.js";
|
|
3
|
+
import { a as w, u as G } from "./useThemeProps-YFPF1eJp.js";
|
|
4
|
+
import * as m from "react";
|
|
5
|
+
import { jsx as U } from "react/jsx-runtime";
|
|
6
|
+
import { e as A } from "./extendSxProp-BpSXIdup.js";
|
|
7
|
+
const I = M(), L = C(), _ = I("div", {
|
|
8
8
|
name: "MuiStack",
|
|
9
9
|
slot: "Root",
|
|
10
10
|
overridesResolver: (o, r) => r.root
|
|
11
11
|
});
|
|
12
|
-
function
|
|
13
|
-
return
|
|
12
|
+
function W(o) {
|
|
13
|
+
return w({
|
|
14
14
|
props: o,
|
|
15
15
|
name: "MuiStack",
|
|
16
|
-
defaultTheme:
|
|
16
|
+
defaultTheme: L
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
const c =
|
|
21
|
-
return c.reduce((a, i, n) => (a.push(i), n < c.length - 1 && a.push(/* @__PURE__ */
|
|
19
|
+
function X(o, r) {
|
|
20
|
+
const c = m.Children.toArray(o).filter(Boolean);
|
|
21
|
+
return c.reduce((a, i, n) => (a.push(i), n < c.length - 1 && a.push(/* @__PURE__ */ m.cloneElement(r, {
|
|
22
22
|
key: `separator-${n}`
|
|
23
23
|
})), a), []);
|
|
24
24
|
}
|
|
25
|
-
const
|
|
25
|
+
const q = (o) => ({
|
|
26
26
|
row: "Left",
|
|
27
27
|
"row-reverse": "Right",
|
|
28
28
|
column: "Top",
|
|
29
29
|
"column-reverse": "Bottom"
|
|
30
|
-
})[o],
|
|
30
|
+
})[o], z = ({
|
|
31
31
|
ownerState: o,
|
|
32
32
|
theme: r
|
|
33
33
|
}) => {
|
|
34
|
-
let c =
|
|
34
|
+
let c = {
|
|
35
35
|
display: "flex",
|
|
36
|
-
flexDirection: "column"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
flexDirection: "column",
|
|
37
|
+
...g({
|
|
38
|
+
theme: r
|
|
39
|
+
}, f({
|
|
40
|
+
values: o.direction,
|
|
41
|
+
breakpoints: r.breakpoints.values
|
|
42
|
+
}), (a) => ({
|
|
43
|
+
flexDirection: a
|
|
44
|
+
}))
|
|
45
|
+
};
|
|
45
46
|
if (o.spacing) {
|
|
46
|
-
const a =
|
|
47
|
+
const a = R(r), i = Object.keys(r.breakpoints.values).reduce((s, t) => ((typeof o.spacing == "object" && o.spacing[t] != null || typeof o.direction == "object" && o.direction[t] != null) && (s[t] = !0), s), {}), n = f({
|
|
47
48
|
values: o.direction,
|
|
48
49
|
base: i
|
|
49
|
-
}), l =
|
|
50
|
+
}), l = f({
|
|
50
51
|
values: o.spacing,
|
|
51
52
|
base: i
|
|
52
53
|
});
|
|
53
54
|
typeof n == "object" && Object.keys(n).forEach((s, t, p) => {
|
|
54
55
|
if (!n[s]) {
|
|
55
|
-
const
|
|
56
|
-
n[s] =
|
|
56
|
+
const u = t > 0 ? n[p[t - 1]] : "column";
|
|
57
|
+
n[s] = u;
|
|
57
58
|
}
|
|
58
|
-
}), c =
|
|
59
|
+
}), c = D(c, g({
|
|
59
60
|
theme: r
|
|
60
61
|
}, l, (s, t) => o.useFlexGap ? {
|
|
61
|
-
gap:
|
|
62
|
+
gap: T(a, s)
|
|
62
63
|
} : {
|
|
63
64
|
// The useFlexGap={false} implement relies on each child to give up control of the margin.
|
|
64
65
|
// We need to reset the margin to avoid double spacing.
|
|
@@ -66,42 +67,43 @@ const K = (o) => ({
|
|
|
66
67
|
margin: 0
|
|
67
68
|
},
|
|
68
69
|
"& > :not(style) ~ :not(style)": {
|
|
69
|
-
[`margin${
|
|
70
|
+
[`margin${q(t ? n[t] : o.direction)}`]: T(a, s)
|
|
70
71
|
}
|
|
71
72
|
}));
|
|
72
73
|
}
|
|
73
|
-
return c =
|
|
74
|
+
return c = N(r.breakpoints, c), c;
|
|
74
75
|
};
|
|
75
|
-
function
|
|
76
|
+
function H(o = {}) {
|
|
76
77
|
const {
|
|
77
78
|
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
78
|
-
createStyledComponent: r =
|
|
79
|
-
useThemeProps: c =
|
|
79
|
+
createStyledComponent: r = _,
|
|
80
|
+
useThemeProps: c = W,
|
|
80
81
|
componentName: a = "MuiStack"
|
|
81
|
-
} = o, i = () =>
|
|
82
|
+
} = o, i = () => B({
|
|
82
83
|
root: ["root"]
|
|
83
|
-
}, (s) =>
|
|
84
|
-
const p = c(s),
|
|
85
|
-
component:
|
|
86
|
-
direction:
|
|
84
|
+
}, (s) => F(a, s), {}), n = r(z), l = /* @__PURE__ */ m.forwardRef(function(s, t) {
|
|
85
|
+
const p = c(s), y = A(p), {
|
|
86
|
+
component: u = "div",
|
|
87
|
+
direction: h = "column",
|
|
87
88
|
spacing: k = 0,
|
|
88
89
|
divider: v,
|
|
89
90
|
children: O,
|
|
90
|
-
className:
|
|
91
|
-
useFlexGap:
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
className: j,
|
|
92
|
+
useFlexGap: S = !1,
|
|
93
|
+
...x
|
|
94
|
+
} = y, P = {
|
|
95
|
+
direction: h,
|
|
94
96
|
spacing: k,
|
|
95
|
-
useFlexGap:
|
|
96
|
-
},
|
|
97
|
-
return /* @__PURE__ */
|
|
98
|
-
as:
|
|
99
|
-
ownerState:
|
|
97
|
+
useFlexGap: S
|
|
98
|
+
}, V = i();
|
|
99
|
+
return /* @__PURE__ */ U(n, {
|
|
100
|
+
as: u,
|
|
101
|
+
ownerState: P,
|
|
100
102
|
ref: t,
|
|
101
|
-
className:
|
|
102
|
-
|
|
103
|
-
children: v ?
|
|
104
|
-
})
|
|
103
|
+
className: E(V.root, j),
|
|
104
|
+
...x,
|
|
105
|
+
children: v ? X(O, v) : O
|
|
106
|
+
});
|
|
105
107
|
});
|
|
106
108
|
return process.env.NODE_ENV !== "production" && (l.propTypes = {
|
|
107
109
|
children: e.node,
|
|
@@ -111,18 +113,18 @@ function X(o = {}) {
|
|
|
111
113
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
112
114
|
}), l;
|
|
113
115
|
}
|
|
114
|
-
const
|
|
115
|
-
createStyledComponent:
|
|
116
|
+
const b = H({
|
|
117
|
+
createStyledComponent: $("div", {
|
|
116
118
|
name: "MuiStack",
|
|
117
119
|
slot: "Root",
|
|
118
120
|
overridesResolver: (o, r) => r.root
|
|
119
121
|
}),
|
|
120
|
-
useThemeProps: (o) =>
|
|
122
|
+
useThemeProps: (o) => G({
|
|
121
123
|
props: o,
|
|
122
124
|
name: "MuiStack"
|
|
123
125
|
})
|
|
124
126
|
});
|
|
125
|
-
process.env.NODE_ENV !== "production" && (
|
|
127
|
+
process.env.NODE_ENV !== "production" && (b.propTypes = {
|
|
126
128
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
127
129
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
128
130
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -166,7 +168,7 @@ process.env.NODE_ENV !== "production" && (h.propTypes = {
|
|
|
166
168
|
*/
|
|
167
169
|
useFlexGap: e.bool
|
|
168
170
|
});
|
|
169
|
-
const
|
|
171
|
+
const ee = b;
|
|
170
172
|
export {
|
|
171
|
-
|
|
173
|
+
ee as S
|
|
172
174
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./identifier-7NboR24y.cjs"),d=require("./DefaultPropsProvider-B6IbLm7M.cjs"),v=require("./useThemeProps-r2yCksSx.cjs"),V=require("react"),D=require("react/jsx-runtime"),C=require("./extendSxProp-DVE8Tgj8.cjs");function R(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const n=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(r,s,n.get?n:{enumerable:!0,get:()=>o[s]})}}return r.default=o,Object.freeze(r)}const T=R(V),B=d.createStyled(),N=e.createTheme$1(),q=B("div",{name:"MuiStack",slot:"Root",overridesResolver:(o,r)=>r.root});function $(o){return v.useThemeProps$1({props:o,name:"MuiStack",defaultTheme:N})}function E(o,r){const s=T.Children.toArray(o).filter(Boolean);return s.reduce((n,i,p)=>(n.push(i),p<s.length-1&&n.push(T.cloneElement(r,{key:`separator-${p}`})),n),[])}const M=o=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[o],w=({ownerState:o,theme:r})=>{let s={display:"flex",flexDirection:"column",...e.handleBreakpoints({theme:r},e.resolveBreakpointValues({values:o.direction,breakpoints:r.breakpoints.values}),n=>({flexDirection:n}))};if(o.spacing){const n=e.createUnarySpacing(r),i=Object.keys(r.breakpoints.values).reduce((t,c)=>((typeof o.spacing=="object"&&o.spacing[c]!=null||typeof o.direction=="object"&&o.direction[c]!=null)&&(t[c]=!0),t),{}),p=e.resolveBreakpointValues({values:o.direction,base:i}),a=e.resolveBreakpointValues({values:o.spacing,base:i});typeof p=="object"&&Object.keys(p).forEach((t,c,y)=>{if(!p[t]){const u=c>0?p[y[c-1]]:"column";p[t]=u}});const l=(t,c)=>o.useFlexGap?{gap:e.getValue(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${M(c?p[c]:o.direction)}`]:e.getValue(n,t)}};s=e.deepmerge(s,e.handleBreakpoints({theme:r},a,l))}return s=e.mergeBreakpointsInOrder(r.breakpoints,s),s};function F(o={}){const{createStyledComponent:r=q,useThemeProps:s=$,componentName:n="MuiStack"}=o,i=()=>{const l={root:["root"]};return d.composeClasses(l,t=>e.generateUtilityClass(n,t),{})},p=r(w),a=T.forwardRef(function(t,c){const y=s(t),f=C.extendSxProp(y),{component:u="div",direction:g="column",spacing:b=0,divider:P,children:m,className:k,useFlexGap:h=!1,...j}=f,S={direction:g,spacing:b,useFlexGap:h},x=i();return D.jsx(p,{as:u,ownerState:S,ref:c,className:e.clsx(x.root,k),...j,children:P?E(m,P):m})});return process.env.NODE_ENV!=="production"&&(a.propTypes={children:e.PropTypes.node,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,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])}),a}const O=F({createStyledComponent:d.styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(o,r)=>r.root}),useThemeProps:o=>v.useThemeProps({props:o,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(O.propTypes={children:e.PropTypes.node,component:e.PropTypes.elementType,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,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]),useFlexGap:e.PropTypes.bool});const _=O;exports.Stack=_;
|