@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
@@ -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, 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", {
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 W(o) {
13
- return w({
12
+ function q(o) {
13
+ return L({
14
14
  props: o,
15
15
  name: "MuiStack",
16
- defaultTheme: L
16
+ defaultTheme: I
17
17
  });
18
18
  }
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, {
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 q = (o) => ({
25
+ const K = (o) => ({
26
26
  row: "Left",
27
27
  "row-reverse": "Right",
28
28
  column: "Top",
29
29
  "column-reverse": "Bottom"
30
- })[o], z = ({
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
- ...g({
38
- theme: r
39
- }, f({
40
- values: o.direction,
41
- breakpoints: r.breakpoints.values
42
- }), (a) => ({
43
- flexDirection: a
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 = 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({
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 = f({
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 u = t > 0 ? n[p[t - 1]] : "column";
57
- n[s] = u;
55
+ const d = t > 0 ? n[p[t - 1]] : "column";
56
+ n[s] = d;
58
57
  }
59
- }), c = D(c, g({
58
+ }), c = N(c, g({
60
59
  theme: r
61
60
  }, l, (s, t) => o.useFlexGap ? {
62
- gap: T(a, s)
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${q(t ? n[t] : o.direction)}`]: T(a, s)
69
+ [`margin${K(t ? n[t] : o.direction)}`]: b(a, s)
71
70
  }
72
71
  }));
73
72
  }
74
- return c = N(r.breakpoints, c), c;
73
+ return c = R(r.breakpoints, c), c;
75
74
  };
76
- function H(o = {}) {
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 = W,
78
+ createStyledComponent: r = W,
79
+ useThemeProps: c = q,
81
80
  componentName: a = "MuiStack"
82
- } = o, i = () => B({
81
+ } = o, i = () => M({
83
82
  root: ["root"]
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",
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: j,
92
- useFlexGap: S = !1,
93
- ...x
94
- } = y, P = {
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: S
98
- }, V = i();
99
- return /* @__PURE__ */ U(n, {
100
- as: u,
101
- ownerState: P,
95
+ useFlexGap: P
96
+ }, C = i();
97
+ return /* @__PURE__ */ A(n, T({
98
+ as: d,
99
+ ownerState: V,
102
100
  ref: t,
103
- className: E(V.root, j),
104
- ...x,
105
- children: v ? X(O, v) : O
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 b = H({
117
- createStyledComponent: $("div", {
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) => G({
120
+ useThemeProps: (o) => $({
123
121
  props: o,
124
122
  name: "MuiStack"
125
123
  })
126
124
  });
127
- process.env.NODE_ENV !== "production" && (b.propTypes = {
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 ee = b;
169
+ const se = h;
172
170
  export {
173
- ee as S
171
+ se as S
174
172
  };