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