@cgi-learning-hub/ui 1.0.0-dev.1721209039 → 1.0.0-dev.1721225898

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 (29) hide show
  1. package/dist/{Box-RP_U1h2I.cjs → Box-BQxBYVZt.cjs} +1 -1
  2. package/dist/{Box-DIvTvtYV.js → Box-VYRU2gLm.js} +29 -28
  3. package/dist/{PaperHeader-DAzxEUlx.js → Stack-BzRRUmUj.js} +122 -158
  4. package/dist/Stack-DjqxU_kp.cjs +1 -0
  5. package/dist/{TimePicker-C64jDcYa.js → TimePicker-BaGeKkSS.js} +1 -1
  6. package/dist/{TimePicker-DKHA-KBc.cjs → TimePicker-C24cztnp.cjs} +13 -13
  7. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  8. package/dist/components/Dropzone/Dropzone.d.ts +2 -2
  9. package/dist/components/Dropzone/Dropzone.es.js +127 -125
  10. package/dist/components/Loader/Loader.cjs.js +1 -1
  11. package/dist/components/Loader/Loader.es.js +1 -1
  12. package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
  13. package/dist/components/PaperHeader/PaperHeader.es.js +39 -4
  14. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
  15. package/dist/components/PaperHeader/PaperHeader.stories.es.js +1 -1
  16. package/dist/components/PaperHeader/index.cjs.js +1 -1
  17. package/dist/components/PaperHeader/index.es.js +2 -2
  18. package/dist/components/index.cjs.js +1 -1
  19. package/dist/components/index.es.js +46 -45
  20. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
  21. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +2 -3
  22. package/dist/components/lists/FileList/FileList.cjs.js +1 -1
  23. package/dist/components/lists/FileList/FileList.es.js +1 -1
  24. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  25. package/dist/components/lists/FileList/FileListItem.es.js +1 -1
  26. package/dist/index.cjs.js +1 -1
  27. package/dist/index.es.js +45 -44
  28. package/package.json +6 -17
  29. package/dist/PaperHeader-D2LH9bW-.cjs +0 -1
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { d as e, A as t, a as l, C as o, f as i, g as r, b as C, b2 as n, b3 as g, b5 as b, b6 as m, b8 as p, M as y, D as d, h as c, i as u, j as T, k as U, l as f, c as x, F as L, m as I, G as k, e as B, L as P, n as D, o as F, p as S, q as h, r as w, s as H, t as A, S as G, T as v, u as M, v as R, w as z, x as E, y as j, z as q, B as O, E as Q, ba as J, bb as K, H as N, I as V, a1 as W, J as X, a4 as Y, a3 as Z, N as _, P as $, R as aa, Y as sa, b4 as ea, b7 as ta, b9 as la, a2 as oa, W as ia, a7 as ra, a5 as Ca, a9 as na, ab as ga, ad as ba, af as ma, ah as pa, aj as ya, al as da, K as ca, Q as ua, O as Ta, U as Ua, a8 as fa, ac as xa, aa as La, ae as Ia, a6 as ka, ag as Ba, ai as Pa, ak as Da, am as Fa, ao as Sa, aq as ha, as as wa, aw as Ha, ay as Aa, aA as Ga, au as va, aC as Ma, aE as Ra, aG as za, aL as Ea, aN as ja, aP as qa, aR as Oa, aT as Qa, aV as Ja, aX as Ka, aZ as Na, aJ as Va, a$ as Wa, b1 as Xa, an as Ya, X as Za, _ as _a, $ as $a, ap as as, ar as ss, av as es, at as ts, ax as ls, az as os, aB as is, aD as rs, V as Cs, aF as ns, aH as gs, aK as bs, aM as ms, aI as ps, aO as ys, aQ as ds, aS as cs, aU as us, aW as Ts, aY as Us, Z as fs, bc as xs, a_ as Ls, b0 as Is, a0 as ks } from "./TimePicker-C64jDcYa.js";
1
+ import { d as e, A as t, a as l, C as o, f as i, g as r, b as C, b2 as n, b3 as g, b5 as b, b6 as m, b8 as p, M as y, D as d, h as u, i as c, j as T, k as U, l as f, c as x, F as L, m as I, G as k, e as B, L as P, n as D, o as F, p as S, q as h, r as w, s as H, t as A, S as G, T as v, u as M, v as R, w as z, x as E, y as j, z as q, B as O, E as Q, ba as J, bb as K, H as N, I as V, a1 as W, J as X, a4 as Y, a3 as Z, N as _, P as $, R as aa, Y as sa, b4 as ea, b7 as ta, b9 as la, a2 as oa, W as ia, a7 as ra, a5 as Ca, a9 as na, ab as ga, ad as ba, af as ma, ah as pa, aj as ya, al as da, K as ua, Q as ca, O as Ta, U as Ua, a8 as fa, ac as xa, aa as La, ae as Ia, a6 as ka, ag as Ba, ai as Pa, ak as Da, am as Fa, ao as Sa, aq as ha, as as wa, aw as Ha, ay as Aa, aA as Ga, au as va, aC as Ma, aE as Ra, aG as za, aL as Ea, aN as ja, aP as qa, aR as Oa, aT as Qa, aV as Ja, aX as Ka, aZ as Na, aJ as Va, a$ as Wa, b1 as Xa, an as Ya, X as Za, _ as _a, $ as $a, ap as as, ar as ss, av as es, at as ts, ax as ls, az as os, aB as is, aD as rs, V as Cs, aF as ns, aH as gs, aK as bs, aM as ms, aI as ps, aO as ys, aQ as ds, aS as us, aU as cs, aW as Ts, aY as Us, Z as fs, bc as xs, a_ as Ls, b0 as Is, a0 as ks } from "./TimePicker-BaGeKkSS.js";
2
2
  import { B as Ps, D as Ds, L as Fs, b as Ss, a as hs, g as ws, l as Hs } from "./DefaultButton-DVHllq2U.js";
3
3
  import { default as Gs } from "./components/buttons/PrimaryButton/PrimaryButton.es.js";
4
4
  import { default as Ms } from "./components/buttons/SecondaryButton/SecondaryButton.es.js";
@@ -6,33 +6,34 @@ import { default as zs } from "./components/Dropzone/Dropzone.es.js";
6
6
  import { default as js } from "./components/feedback/Alert/Alert.es.js";
7
7
  import { default as Os } from "./components/feedback/QueryError/QueryError.es.js";
8
8
  import { S as Js } from "./SearchInput-DGF3NOLB.js";
9
- import { B as Ns, F as Vs, a as Ws, b as Xs, l as Ys, I as Zs, c as _s, L as $s, M as ae, d as se, S as ee, T as te, e as le, f as oe, i as ie, k as re, g as Ce, h as ne, j as ge, m as be, q as me, o as pe, s as ye, u as de, w as ce, y as ue, n as Te, p as Ue, r as fe, t as xe, v as Le, x as Ie } from "./TextInput-CjRiCEow.js";
9
+ import { B as Ns, F as Vs, a as Ws, b as Xs, l as Ys, I as Zs, c as _s, L as $s, M as ae, d as se, S as ee, T as te, e as le, f as oe, i as ie, k as re, g as Ce, h as ne, j as ge, m as be, q as me, o as pe, s as ye, u as de, w as ue, y as ce, n as Te, p as Ue, r as fe, t as xe, v as Le, x as Ie } from "./TextInput-CjRiCEow.js";
10
10
  import { default as Be } from "./components/inputs/PasswordInput/PasswordInput.es.js";
11
11
  import { default as De } from "./components/lists/FileList/FileList.es.js";
12
12
  import { default as Se } from "./components/lists/FileList/FileListItem.es.js";
13
13
  import { default as we } from "./components/Loader/Loader.es.js";
14
14
  import { default as Ae } from "./components/LoaderBackdrop/LoaderBackdrop.es.js";
15
15
  import { L as ve } from "./LocalizationProvider-BGJCD07W.js";
16
- import { P as Re, S as ze } from "./PaperHeader-DAzxEUlx.js";
17
- import { I as je, g as qe, i as Oe } from "./IconButton-ysdlpOVe.js";
18
- import { u as Je } from "./InputBase-CR3zhf1t.js";
19
- import { B as Ne, b as Ve } from "./Box-DIvTvtYV.js";
20
- import { C as Xe, c as Ye, g as Ze } from "./CircularProgress-CgjNSTmB.js";
21
- import { T as $e, a as at, g as st, c as et, t as tt, b as lt } from "./Tabs-CObzeuUj.js";
22
- import { T as it, g as rt, t as Ct } from "./Typography-DDYzN_3X.js";
23
- import { b as gt, c as bt, g as mt, a as pt, l as yt, o as dt, p as ct, r as ut } from "./identifier-wD7TMRod.js";
16
+ import { default as Re } from "./components/PaperHeader/PaperHeader.es.js";
17
+ import { I as Ee, g as je, i as qe } from "./IconButton-ysdlpOVe.js";
18
+ import { u as Qe } from "./InputBase-CR3zhf1t.js";
19
+ import { B as Ke, b as Ne } from "./Box-VYRU2gLm.js";
20
+ import { C as We, c as Xe, g as Ye } from "./CircularProgress-CgjNSTmB.js";
21
+ import { S as _e } from "./Stack-BzRRUmUj.js";
22
+ import { T as at, a as st, g as et, c as tt, t as lt, b as ot } from "./Tabs-CObzeuUj.js";
23
+ import { T as rt, g as Ct, t as nt } from "./Typography-DDYzN_3X.js";
24
+ import { b as bt, c as mt, g as pt, a as yt, l as dt, o as ut, p as ct, r as Tt } from "./identifier-wD7TMRod.js";
24
25
  import './assets/index.css';export {
25
26
  e as AddCircleIcon,
26
27
  js as Alert,
27
28
  t as AppBar,
28
29
  Ns as Backdrop,
29
- Ne as Box,
30
+ Ke as Box,
30
31
  Ps as Button,
31
32
  l as CancelIcon,
32
33
  o as Card,
33
34
  i as CardHeader,
34
35
  r as Checkbox,
35
- Xe as CircularProgress,
36
+ We as CircularProgress,
36
37
  C as CloseIcon,
37
38
  n as DatePicker,
38
39
  g as DatePickerToolbar,
@@ -42,8 +43,8 @@ import './assets/index.css';export {
42
43
  Ds as DefaultButton,
43
44
  y as Dialog,
44
45
  d as DialogActions,
45
- c as DialogContent,
46
- u as DialogContentText,
46
+ u as DialogContent,
47
+ c as DialogContentText,
47
48
  T as DialogTitle,
48
49
  U as Divider,
49
50
  f as Drawer,
@@ -58,7 +59,7 @@ import './assets/index.css';export {
58
59
  Xs as FormLabel,
59
60
  Ys as FormLabelRoot,
60
61
  k as Grid,
61
- je as IconButton,
62
+ Ee as IconButton,
62
63
  B as InfoIcon,
63
64
  Zs as Input,
64
65
  _s as InputLabel,
@@ -85,8 +86,8 @@ import './assets/index.css';export {
85
86
  Ms as SecondaryButton,
86
87
  ee as Select,
87
88
  G as Snackbar,
88
- ze as Stack,
89
- $e as Tab,
89
+ _e as Stack,
90
+ at as Tab,
90
91
  v as Table,
91
92
  M as TableBody,
92
93
  R as TableCell,
@@ -96,26 +97,26 @@ import './assets/index.css';export {
96
97
  q as TablePagination,
97
98
  O as TableRow,
98
99
  Q as TableSortLabel,
99
- at as Tabs,
100
+ st as Tabs,
100
101
  te as TextInput,
101
102
  J as TimePicker,
102
103
  K as TimePickerToolbar,
103
104
  N as Toolbar,
104
105
  V as Tooltip,
105
- it as Typography,
106
+ rt as Typography,
106
107
  W as amber,
107
108
  X as appBarClasses,
108
109
  le as backdropClasses,
109
- gt as blue,
110
+ bt as blue,
110
111
  Y as blueGrey,
111
- Ve as boxClasses,
112
+ Ne as boxClasses,
112
113
  Z as brown,
113
114
  Ss as buttonClasses,
114
115
  _ as cardClasses,
115
116
  $ as cardHeaderClasses,
116
117
  aa as checkboxClasses,
117
- Ye as circularProgressClasses,
118
- bt as common,
118
+ Xe as circularProgressClasses,
119
+ mt as common,
119
120
  sa as cyan,
120
121
  ea as datePickerToolbarClasses,
121
122
  ta as dateTimePickerTabsClasses,
@@ -134,13 +135,13 @@ import './assets/index.css';export {
134
135
  da as formGroupClasses,
135
136
  ie as formHelperTextClasses,
136
137
  re as formLabelClasses,
137
- ca as getAppBarUtilityClass,
138
+ ua as getAppBarUtilityClass,
138
139
  Ce as getBackdropUtilityClass,
139
140
  hs as getButtonUtilityClass,
140
- ua as getCardHeaderUtilityClass,
141
+ ca as getCardHeaderUtilityClass,
141
142
  Ta as getCardUtilityClass,
142
143
  Ua as getCheckboxUtilityClass,
143
- Ze as getCircularProgressUtilityClass,
144
+ Ye as getCircularProgressUtilityClass,
144
145
  fa as getDialogActionsUtilityClass,
145
146
  xa as getDialogContentTextUtilityClass,
146
147
  La as getDialogContentUtilityClass,
@@ -154,7 +155,7 @@ import './assets/index.css';export {
154
155
  ge as getFormHelperTextUtilityClasses,
155
156
  be as getFormLabelUtilityClasses,
156
157
  Sa as getGridUtilityClass,
157
- qe as getIconButtonUtilityClass,
158
+ je as getIconButtonUtilityClass,
158
159
  me as getInputLabelUtilityClasses,
159
160
  pe as getInputUtilityClass,
160
161
  ha as getLinearProgressUtilityClass,
@@ -168,10 +169,10 @@ import './assets/index.css';export {
168
169
  ws as getLoadingButtonUtilityClass,
169
170
  Ra as getMenuItemUtilityClass,
170
171
  de as getMenuUtilityClass,
171
- ce as getPaperUtilityClass,
172
- ue as getSelectUtilityClasses,
172
+ ue as getPaperUtilityClass,
173
+ ce as getSelectUtilityClasses,
173
174
  za as getSnackbarUtilityClass,
174
- st as getTabUtilityClass,
175
+ et as getTabUtilityClass,
175
176
  Ea as getTableBodyUtilityClass,
176
177
  ja as getTableCellUtilityClass,
177
178
  qa as getTableContainerUtilityClass,
@@ -181,18 +182,18 @@ import './assets/index.css';export {
181
182
  Ka as getTableRowUtilityClass,
182
183
  Na as getTableSortLabelUtilityClass,
183
184
  Va as getTableUtilityClass,
184
- et as getTabsUtilityClass,
185
+ tt as getTabsUtilityClass,
185
186
  Wa as getToolbarUtilityClass,
186
187
  Xa as getTooltipUtilityClass,
187
- rt as getTypographyUtilityClass,
188
- mt as green,
189
- pt as grey,
188
+ Ct as getTypographyUtilityClass,
189
+ pt as green,
190
+ yt as grey,
190
191
  Ya as gridClasses,
191
- Oe as iconButtonClasses,
192
+ qe as iconButtonClasses,
192
193
  Za as indigo,
193
194
  Te as inputClasses,
194
195
  Ue as inputLabelClasses,
195
- yt as lightBlue,
196
+ dt as lightBlue,
196
197
  _a as lightGreen,
197
198
  $a as lime,
198
199
  as as linearProgressClasses,
@@ -206,30 +207,30 @@ import './assets/index.css';export {
206
207
  Hs as loadingButtonClasses,
207
208
  xe as menuClasses,
208
209
  rs as menuItemClasses,
209
- dt as orange,
210
+ ut as orange,
210
211
  Le as paperClasses,
211
212
  Cs as pink,
212
213
  ct as purple,
213
- ut as red,
214
+ Tt as red,
214
215
  Ie as selectClasses,
215
216
  ns as snackbarClasses,
216
217
  gs as stackClasses,
217
- tt as tabClasses,
218
+ lt as tabClasses,
218
219
  bs as tableBodyClasses,
219
220
  ms as tableCellClasses,
220
221
  ps as tableClasses,
221
222
  ys as tableContainerClasses,
222
223
  ds as tableFooterClasses,
223
- cs as tableHeadClasses,
224
- us as tablePaginationClasses,
224
+ us as tableHeadClasses,
225
+ cs as tablePaginationClasses,
225
226
  Ts as tableRowClasses,
226
227
  Us as tableSortLabelClasses,
227
- lt as tabsClasses,
228
+ ot as tabsClasses,
228
229
  fs as teal,
229
230
  xs as timePickerToolbarClasses,
230
231
  Ls as toolbarClasses,
231
232
  Is as tooltipClasses,
232
- Ct as typographyClasses,
233
- Je as useFormControl,
233
+ nt as typographyClasses,
234
+ Qe as useFormControl,
234
235
  ks as yellow
235
236
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.0.0-dev.1721209039",
3
+ "version": "1.0.0-dev.1721225898",
4
4
  "private": false,
5
5
  "author": "CGI Learning-hub Team",
6
6
  "description": "@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features",
@@ -33,7 +33,10 @@
33
33
  "@emotion/react": "11.11.4",
34
34
  "@emotion/styled": "11.11.5",
35
35
  "@mui/icons-material": "5.16.4",
36
- "dayjs": "1.11.11"
36
+ "@mui/lab": "5.0.0-alpha.172",
37
+ "@mui/x-date-pickers": "7.10.0",
38
+ "dayjs": "1.11.11",
39
+ "react-dropzone": "14.2.3"
37
40
  },
38
41
  "devDependencies": {
39
42
  "@reduxjs/toolkit": "2.2.6",
@@ -44,23 +47,9 @@
44
47
  "tailwindcss": "3.4.6"
45
48
  },
46
49
  "peerDependencies": {
47
- "@mui/lab": "^5.0.0-alpha.165",
48
50
  "@mui/material": "^5.0.0",
49
- "@mui/x-date-pickers": "^7.0.0",
50
51
  "react": "^18.0.0",
51
- "react-dom": "^18.0.0",
52
- "react-dropzone": "^14.2.3"
53
- },
54
- "peerDependenciesMeta": {
55
- "@mui/lab": {
56
- "optional": true
57
- },
58
- "@mui/x-date-pickers": {
59
- "optional": true
60
- },
61
- "react-dropzone": {
62
- "optional": true
63
- }
52
+ "react-dom": "^18.0.0"
64
53
  },
65
54
  "scripts": {
66
55
  "dev": "vite",
@@ -1 +0,0 @@
1
- "use strict";const w=require("react/jsx-runtime"),e=require("./identifier-DN9zMdjb.cjs"),V=require("./styled-vrKxhnRS.cjs"),z=require("react"),D=require("./extendSxProp-DguFtn4z.cjs"),U=require("./useThemeProps-BbYOXO_x.cjs"),H=require("./Typography-CX8IJDUK.cjs");function I(r){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const o in r)if(o!=="default"){const p=Object.getOwnPropertyDescriptor(r,o);Object.defineProperty(t,o,p.get?p:{enumerable:!0,get:()=>r[o]})}}return t.default=r,Object.freeze(t)}const q=I(z),J=["ownerState"],K=["variants"],Q=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function X(r){return Object.keys(r).length===0}function Y(r){return typeof r=="string"&&r.charCodeAt(0)>96}function R(r){return r!=="ownerState"&&r!=="theme"&&r!=="sx"&&r!=="as"}const Z=e.createTheme$1(),M=r=>r&&r.charAt(0).toLowerCase()+r.slice(1);function k({defaultTheme:r,theme:t,themeId:o}){return X(t)?r:t[o]||t}function ee(r){return r?(t,o)=>o[r]:null}function N(r,t){let{ownerState:o}=t,p=e._objectWithoutPropertiesLoose(t,J);const c=typeof r=="function"?r(e._extends({ownerState:o},p)):r;if(Array.isArray(c))return c.flatMap(i=>N(i,e._extends({ownerState:o},p)));if(c&&typeof c=="object"&&Array.isArray(c.variants)){const{variants:i=[]}=c;let a=e._objectWithoutPropertiesLoose(c,K);return i.forEach(s=>{let n=!0;typeof s.props=="function"?n=s.props(e._extends({ownerState:o},p,o)):Object.keys(s.props).forEach(y=>{(o==null?void 0:o[y])!==s.props[y]&&p[y]!==s.props[y]&&(n=!1)}),n&&(Array.isArray(a)||(a=[a]),a.push(typeof s.style=="function"?s.style(e._extends({ownerState:o},p,o)):s.style))}),a}return c}function re(r={}){const{themeId:t,defaultTheme:o=Z,rootShouldForwardProp:p=R,slotShouldForwardProp:c=R}=r,i=l=>e.styleFunctionSx(e._extends({},l,{theme:k(e._extends({},l,{defaultTheme:o,themeId:t}))}));return i.__mui_systemSx=!0,(l,a={})=>{D.internal_processStyles(l,u=>u.filter(m=>!(m!=null&&m.__mui_systemSx)));const{name:s,slot:n,skipVariantsResolver:y,skipSx:h,overridesResolver:T=ee(M(n))}=a,F=e._objectWithoutPropertiesLoose(a,Q),$=y!==void 0?y:n&&n!=="Root"&&n!=="root"||!1,_=h||!1;let v;process.env.NODE_ENV!=="production"&&s&&(v=`${s}-${M(n||"Root")}`);let P=R;n==="Root"||n==="root"?P=p:n?P=c:Y(l)&&(P=void 0);const x=D.styled(l,e._extends({shouldForwardProp:P,label:v},F)),b=u=>typeof u=="function"&&u.__emotion_real!==u||e.isPlainObject(u)?m=>N(u,e._extends({},m,{theme:k({theme:m.theme,defaultTheme:o,themeId:t})})):u,g=(u,...m)=>{let E=b(u);const O=m?m.map(b):[];s&&T&&O.push(d=>{const f=k(e._extends({},d,{defaultTheme:o,themeId:t}));if(!f.components||!f.components[s]||!f.components[s].styleOverrides)return null;const S=f.components[s].styleOverrides,j={};return Object.entries(S).forEach(([G,W])=>{j[G]=N(W,e._extends({},d,{theme:f}))}),T(d,j)}),s&&!$&&O.push(d=>{var f;const S=k(e._extends({},d,{defaultTheme:o,themeId:t})),j=S==null||(f=S.components)==null||(f=f[s])==null?void 0:f.variants;return N({variants:j},e._extends({},d,{theme:S}))}),_||O.push(i);const B=O.length-m.length;if(Array.isArray(u)&&B>0){const d=new Array(B).fill("");E=[...u,...d],E.raw=[...u.raw,...d]}const A=x(E,...O);if(process.env.NODE_ENV!=="production"){let d;s&&(d=`${s}${e.capitalize(n||"")}`),d===void 0&&(d=`Styled(${V.getDisplayName(l)})`),A.displayName=d}return l.muiName&&(A.muiName=l.muiName),A};return x.withConfig&&(g.withConfig=x.withConfig),g}}const oe=re(),te=["component","direction","spacing","divider","children","className","useFlexGap"],se=e.createTheme$1(),ne=oe("div",{name:"MuiStack",slot:"Root",overridesResolver:(r,t)=>t.root});function pe(r){return U.useThemeProps({props:r,name:"MuiStack",defaultTheme:se})}function ie(r,t){const o=q.Children.toArray(r).filter(Boolean);return o.reduce((p,c,i)=>(p.push(c),i<o.length-1&&p.push(q.cloneElement(t,{key:`separator-${i}`})),p),[])}const ce=r=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[r],le=({ownerState:r,theme:t})=>{let o=e._extends({display:"flex",flexDirection:"column"},e.handleBreakpoints({theme:t},e.resolveBreakpointValues({values:r.direction,breakpoints:t.breakpoints.values}),p=>({flexDirection:p})));if(r.spacing){const p=e.createUnarySpacing(t),c=Object.keys(t.breakpoints.values).reduce((s,n)=>((typeof r.spacing=="object"&&r.spacing[n]!=null||typeof r.direction=="object"&&r.direction[n]!=null)&&(s[n]=!0),s),{}),i=e.resolveBreakpointValues({values:r.direction,base:c}),l=e.resolveBreakpointValues({values:r.spacing,base:c});typeof i=="object"&&Object.keys(i).forEach((s,n,y)=>{if(!i[s]){const T=n>0?i[y[n-1]]:"column";i[s]=T}});const a=(s,n)=>r.useFlexGap?{gap:e.getValue(p,s)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${ce(n?i[n]:r.direction)}`]:e.getValue(p,s)}};o=e.deepmerge(o,e.handleBreakpoints({theme:t},l,a))}return o=e.mergeBreakpointsInOrder(t.breakpoints,o),o};function ae(r={}){const{createStyledComponent:t=ne,useThemeProps:o=pe,componentName:p="MuiStack"}=r,c=()=>{const a={root:["root"]};return V.composeClasses(a,s=>e.generateUtilityClass(p,s),{})},i=t(le),l=q.forwardRef(function(s,n){const y=o(s),h=D.extendSxProp(y),{component:T="div",direction:F="column",spacing:$=0,divider:_,children:v,className:P,useFlexGap:x=!1}=h,b=e._objectWithoutPropertiesLoose(h,te),g={direction:F,spacing:$,useFlexGap:x},u=c();return w.jsx(i,e._extends({as:T,ownerState:g,ref:n,className:D.clsx(u.root,P)},b,{children:_?ie(v,_):v}))});return process.env.NODE_ENV!=="production"&&(l.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])}),l}const C=ae({createStyledComponent:V.styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(r,t)=>t.root}),useThemeProps:r=>V.useDefaultProps({props:r,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(C.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 L=C,ue=({title:r,IconComponent:t,iconColor:o,iconProps:p,iconSize:c=28,component:i="h3",variant:l="h2",fontWeight:a="bold",...s})=>w.jsxs(L,{direction:"row",alignItems:"center",gap:1,children:[t?w.jsx(t,{sx:{fontSize:c,padding:"2px",borderRadius:1,color:o==null?void 0:o[500],backgroundColor:o==null?void 0:o[50]},...p}):null,w.jsx(H.Typography,{component:i,variant:l,fontWeight:a,...s,children:r})]});exports.PaperHeader=ue;exports.Stack=L;exports.shouldForwardProp=R;