@cgi-learning-hub/ui 1.0.0-dev.1721229430 → 1.0.0-dev.1721901545

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 (156) hide show
  1. package/dist/{Box-DQXO6hAm.js → Box-BwHGDK_A.js} +15 -16
  2. package/dist/Box-CsYXR6Le.cjs +1 -0
  3. package/dist/Button-BF7P0rje.js +359 -0
  4. package/dist/Button-BtjHaBJr.cjs +1 -0
  5. package/dist/{ButtonBase-B5HiNV6L.js → ButtonBase-CWCHPphi.js} +46 -47
  6. package/dist/ButtonBase-VIKeNyAr.cjs +75 -0
  7. package/dist/CircularProgress-C0MOR9P7.cjs +28 -0
  8. package/dist/{CircularProgress-BlfBX_I2.js → CircularProgress-C_9OsPYJ.js} +24 -25
  9. package/dist/DatePicker-BE1RETq3.cjs +19 -0
  10. package/dist/DatePicker-DXoI-rbr.js +12663 -0
  11. package/dist/DefaultButton-BYqGgydF.cjs +1 -0
  12. package/dist/DefaultButton-CKAvlaVi.js +253 -0
  13. package/dist/IconButton-4zP9d1M9.cjs +2 -0
  14. package/dist/{IconButton-BjD7an5E.js → IconButton-De3-6K2r.js} +9 -10
  15. package/dist/{SearchInput-BdNp9ibO.js → InputAdornment-CdamqNqi.js} +49 -82
  16. package/dist/InputAdornment-UyNuc0Mc.cjs +1 -0
  17. package/dist/InputBase-DMbFw6s1.cjs +3 -0
  18. package/dist/{InputBase-Bu4aLC8s.js → InputBase-DYf00QVg.js} +35 -37
  19. package/dist/Stack-D1lCED40.cjs +1 -0
  20. package/dist/Stack-DIH86N4F.js +172 -0
  21. package/dist/{Tabs-rGjgGQoc.js → Tabs-D1zibo7D.js} +10 -11
  22. package/dist/Tabs-DZDo7UqF.cjs +4 -0
  23. package/dist/{TextInput-CAot24Xe.js → TextField-BAVYnvQj.js} +415 -419
  24. package/dist/TextField-CH-kzN1l.cjs +12 -0
  25. package/dist/Tooltip-BEg5oYwE.js +7463 -0
  26. package/dist/Tooltip-DppWsdRm.cjs +95 -0
  27. package/dist/Typography-C5AoCX91.cjs +1 -0
  28. package/dist/{Typography-2SgDaT8h.js → Typography-CbZkNGSr.js} +18 -19
  29. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  30. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  31. package/dist/components/Loader/Loader.cjs.js +1 -1
  32. package/dist/components/Loader/Loader.es.js +1 -1
  33. package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
  34. package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
  35. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
  36. package/dist/components/PaperHeader/PaperHeader.stories.es.js +6 -6
  37. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  38. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
  39. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  40. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +14 -15
  41. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  42. package/dist/components/buttons/DefaultButton/index.es.js +1 -1
  43. package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
  44. package/dist/components/buttons/IconButton.stories.es.js +3 -3
  45. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  46. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
  47. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  48. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  49. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  50. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
  51. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  52. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  53. package/dist/components/buttons/index.cjs.js +1 -1
  54. package/dist/components/buttons/index.es.js +1 -1
  55. package/dist/components/feedback/QueryError/QueryError.cjs.js +1 -1
  56. package/dist/components/feedback/QueryError/QueryError.es.js +1 -1
  57. package/dist/components/index.cjs.js +1 -1
  58. package/dist/components/index.d.ts +1 -4
  59. package/dist/components/index.es.js +264 -274
  60. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
  61. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +12 -11
  62. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  63. package/dist/components/inputs/SearchInput/SearchInput.es.js +36 -5
  64. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
  65. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +4 -4
  66. package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
  67. package/dist/components/inputs/SearchInput/index.es.js +2 -2
  68. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
  69. package/dist/components/inputs/TextInput/TextInput.es.js +4 -3
  70. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  71. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  72. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  73. package/dist/components/inputs/TextInput/index.es.js +2 -2
  74. package/dist/components/inputs/index.cjs.js +1 -1
  75. package/dist/components/inputs/index.es.js +6 -6
  76. package/dist/components/lists/FileList/FileList.cjs.js +1 -1
  77. package/dist/components/lists/FileList/FileList.es.js +1 -1
  78. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  79. package/dist/components/lists/FileList/FileListItem.es.js +6 -6
  80. package/dist/components/lists/TabList.stories.cjs.js +1 -1
  81. package/dist/components/lists/TabList.stories.es.js +37 -38
  82. package/dist/components/pickers/DatePicker/DatePicker.cjs.js +1 -0
  83. package/dist/components/pickers/DatePicker/DatePicker.d.ts +8 -0
  84. package/dist/components/pickers/DatePicker/DatePicker.es.js +6 -0
  85. package/dist/components/pickers/DatePicker/DatePicker.stories.cjs.js +1 -0
  86. package/dist/components/pickers/DatePicker/DatePicker.stories.d.ts +5 -0
  87. package/dist/components/pickers/DatePicker/DatePicker.stories.es.js +16 -0
  88. package/dist/components/pickers/DatePicker/index.cjs.js +1 -0
  89. package/dist/components/pickers/DatePicker/index.d.ts +2 -0
  90. package/dist/components/pickers/DatePicker/index.es.js +4 -0
  91. package/dist/components/pickers/index.cjs.js +1 -0
  92. package/dist/components/pickers/index.d.ts +1 -0
  93. package/dist/components/pickers/index.es.js +4 -0
  94. package/dist/createStyled-CXNF_m2b.js +142 -0
  95. package/dist/createStyled-CcHh6cyo.cjs +1 -0
  96. package/dist/{createSvgIcon-BqV9kys6.js → createSvgIcon-B6V0jwwg.js} +9 -10
  97. package/dist/{createSvgIcon-BoU2zJm2.cjs → createSvgIcon-B70pkSwO.cjs} +1 -1
  98. package/dist/{createSvgIcon-DKalT1IU.js → createSvgIcon-CGvnINlY.js} +17 -17
  99. package/dist/createSvgIcon-n-HUhGNK.cjs +1 -0
  100. package/dist/fr-BWMVjh4G.js +307 -0
  101. package/dist/fr-CzL4IYLw.cjs +1 -0
  102. package/dist/identifier-C_DzvlWx.js +3047 -0
  103. package/dist/identifier-J0ZxxQLU.cjs +50 -0
  104. package/dist/index.cjs.js +1 -1
  105. package/dist/index.es.js +265 -275
  106. package/dist/{refType-DzZFRJXI.cjs → refType-DNJbSwsx.cjs} +1 -1
  107. package/dist/{refType-BtebdsEm.js → refType-KXZNSMpq.js} +1 -1
  108. package/dist/styled-C04Dz9vm.cjs +17 -0
  109. package/dist/styled-DCjqF2JO.js +533 -0
  110. package/dist/{useTheme-CwCUkvkZ.js → useTheme-8G-WLfhQ.js} +30 -31
  111. package/dist/{useTheme-DDHh2q-k.cjs → useTheme-B4p2k0PU.cjs} +1 -1
  112. package/dist/useTheme-C65ChbGW.cjs +1 -0
  113. package/dist/{useTheme-C_ghcfxd.js → useTheme-D2TR379g.js} +1 -1
  114. package/dist/useThemeProps-CEfrd8SJ.cjs +1 -0
  115. package/dist/useThemeProps-DhHzyU0Y.cjs +1 -0
  116. package/dist/useThemeProps-DjJkz40D.js +17 -0
  117. package/dist/{useThemeProps-BybmzYVD.js → useThemeProps-fXKB99fl.js} +2 -2
  118. package/package.json +1 -1
  119. package/dist/Box-VE8zzQxN.cjs +0 -1
  120. package/dist/ButtonBase-BINHTm-n.cjs +0 -75
  121. package/dist/CircularProgress-yfmTQCpL.cjs +0 -28
  122. package/dist/DefaultButton-8ns1LvfF.cjs +0 -1
  123. package/dist/DefaultButton-CQL8OQ0m.js +0 -606
  124. package/dist/IconButton-RFeuYm2K.cjs +0 -2
  125. package/dist/InputBase-zXQ1Gs_-.cjs +0 -3
  126. package/dist/LocalizationProvider-Bd8iEFyF.cjs +0 -5
  127. package/dist/LocalizationProvider-Bw5VDmOD.js +0 -592
  128. package/dist/SearchInput-DeBVN_CY.cjs +0 -1
  129. package/dist/Stack-Bm3R862G.js +0 -309
  130. package/dist/Stack-CHo9cbcP.cjs +0 -1
  131. package/dist/Tabs-CgnNgSGQ.cjs +0 -4
  132. package/dist/TextInput-Dy0Qi2N7.cjs +0 -12
  133. package/dist/TimePicker-Dr_nF3ms.js +0 -25403
  134. package/dist/TimePicker-wzgmz3DE.cjs +0 -109
  135. package/dist/Typography-B_CzXKnG.cjs +0 -1
  136. package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +0 -1
  137. package/dist/components/LocalizationProvider/LocalizationProvider.d.ts +0 -7
  138. package/dist/components/LocalizationProvider/LocalizationProvider.es.js +0 -6
  139. package/dist/components/LocalizationProvider/index.cjs.js +0 -1
  140. package/dist/components/LocalizationProvider/index.d.ts +0 -2
  141. package/dist/components/LocalizationProvider/index.es.js +0 -4
  142. package/dist/createSvgIcon-Dm2nQR21.cjs +0 -1
  143. package/dist/defaultTheme-BlqVFqOY.cjs +0 -1
  144. package/dist/defaultTheme-C4edRge6.js +0 -19
  145. package/dist/extendSxProp-BaQsf_eX.js +0 -739
  146. package/dist/extendSxProp-DYKVP-ko.cjs +0 -10
  147. package/dist/fr-DNOCWhp_.js +0 -321
  148. package/dist/fr-DSv4ULwD.cjs +0 -1
  149. package/dist/identifier-CItx51dm.js +0 -2369
  150. package/dist/identifier-DPVk4rwk.cjs +0 -43
  151. package/dist/styled-BCP6gOZj.js +0 -519
  152. package/dist/styled-RtRlBNlZ.cjs +0 -17
  153. package/dist/useTheme-CqMZT0T0.cjs +0 -1
  154. package/dist/useThemeProps-CEiKfXBZ.cjs +0 -1
  155. package/dist/useThemeProps-DmEDeofb.cjs +0 -1
  156. package/dist/useThemeProps-JKgv0pkv.js +0 -17
@@ -0,0 +1,75 @@
1
+ "use strict";const e=require("./identifier-J0ZxxQLU.cjs"),y=require("react"),U=require("./styled-C04Dz9vm.cjs"),_=require("react/jsx-runtime"),Y=require("./useTimeout-XUWYBnl6.cjs"),te=require("./TransitionGroupContext-mYDSzffd.cjs"),oe=require("@emotion/react"),ue=require("./useForkRef-CGd3Nhyb.cjs"),Oe=require("./useIsFocusVisible-Bv_7uvif.cjs"),ce=require("./refType-DNJbSwsx.cjs");function Ie(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(r,s,a.get?a:{enumerable:!0,get:()=>t[s]})}}return r.default=t,Object.freeze(r)}const p=Ie(y);function Ue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function re(t,r){var s=function(n){return r&&y.isValidElement(n)?r(n):n},a=Object.create(null);return t&&y.Children.map(t,function(o){return o}).forEach(function(o){a[o.key]=s(o)}),a}function $e(t,r){t=t||{},r=r||{};function s(h){return h in r?r[h]:t[h]}var a=Object.create(null),o=[];for(var n in t)n in r?o.length&&(a[n]=o,o=[]):o.push(n);var i,c={};for(var u in r){if(a[u])for(i=0;i<a[u].length;i++){var d=a[u][i];c[a[u][i]]=s(d)}c[u]=s(u)}for(i=0;i<o.length;i++)c[o[i]]=s(o[i]);return c}function w(t,r,s){return s[r]!=null?s[r]:t.props[r]}function qe(t,r){return re(t.children,function(s){return y.cloneElement(s,{onExited:r.bind(null,s),in:!0,appear:w(s,"appear",t),enter:w(s,"enter",t),exit:w(s,"exit",t)})})}function ze(t,r,s){var a=re(t.children),o=$e(r,a);return Object.keys(o).forEach(function(n){var i=o[n];if(y.isValidElement(i)){var c=n in r,u=n in a,d=r[n],h=y.isValidElement(d)&&!d.props.in;u&&(!c||h)?o[n]=y.cloneElement(i,{onExited:s.bind(null,i),in:!0,exit:w(i,"exit",t),enter:w(i,"enter",t)}):!u&&c&&!h?o[n]=y.cloneElement(i,{in:!1}):u&&c&&y.isValidElement(d)&&(o[n]=y.cloneElement(i,{onExited:s.bind(null,i),in:d.props.in,exit:w(i,"exit",t),enter:w(i,"enter",t)}))}}),o}var Ke=Object.values||function(t){return Object.keys(t).map(function(r){return t[r]})},Xe={component:"div",childFactory:function(r){return r}},G=function(t){te._inheritsLoose(r,t);function r(a,o){var n;n=t.call(this,a,o)||this;var i=n.handleExited.bind(Ue(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}var s=r.prototype;return s.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},s.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(o,n){var i=n.children,c=n.handleExited,u=n.firstRender;return{children:u?qe(o,c):ze(o,i,c),firstRender:!1}},s.handleExited=function(o,n){var i=re(this.props.children);o.key in i||(o.props.onExited&&o.props.onExited(n),this.mounted&&this.setState(function(c){var u=e._extends({},c.children);return delete u[o.key],{children:u}}))},s.render=function(){var o=this.props,n=o.component,i=o.childFactory,c=e._objectWithoutPropertiesLoose(o,["component","childFactory"]),u=this.state.contextValue,d=Ke(this.state.children).map(i);return delete c.appear,delete c.enter,delete c.exit,n===null?y.createElement(te.TransitionGroupContext.Provider,{value:u},d):y.createElement(te.TransitionGroupContext.Provider,{value:u},y.createElement(n,c,d))},r}(y.Component);G.propTypes=process.env.NODE_ENV!=="production"?{component:e.PropTypes.any,children:e.PropTypes.node,appear:e.PropTypes.bool,enter:e.PropTypes.bool,exit:e.PropTypes.bool,childFactory:e.PropTypes.func}:{};G.defaultProps=Xe;function me(t){const{className:r,classes:s,pulsate:a=!1,rippleX:o,rippleY:n,rippleSize:i,in:c,onExited:u,timeout:d}=t,[h,g]=p.useState(!1),b=e.clsx(r,s.ripple,s.rippleVisible,a&&s.ripplePulsate),C={width:i,height:i,top:-(i/2)+n,left:-(i/2)+o},m=e.clsx(s.child,h&&s.childLeaving,a&&s.childPulsate);return!c&&!h&&g(!0),p.useEffect(()=>{if(!c&&u!=null){const R=setTimeout(u,d);return()=>{clearTimeout(R)}}},[u,c,d]),_.jsx("span",{className:b,style:C,children:_.jsx("span",{className:m})})}process.env.NODE_ENV!=="production"&&(me.propTypes={classes:e.PropTypes.object.isRequired,className:e.PropTypes.string,in:e.PropTypes.bool,onExited:e.PropTypes.func,pulsate:e.PropTypes.bool,rippleSize:e.PropTypes.number,rippleX:e.PropTypes.number,rippleY:e.PropTypes.number,timeout:e.PropTypes.number.isRequired});const T=e.generateUtilityClasses("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ye=["center","classes","className"];let H=t=>t,pe,de,fe,he;const ne=550,Ae=80,We=oe.keyframes(pe||(pe=H`
2
+ 0% {
3
+ transform: scale(0);
4
+ opacity: 0.1;
5
+ }
6
+
7
+ 100% {
8
+ transform: scale(1);
9
+ opacity: 0.3;
10
+ }
11
+ `)),Ge=oe.keyframes(de||(de=H`
12
+ 0% {
13
+ opacity: 1;
14
+ }
15
+
16
+ 100% {
17
+ opacity: 0;
18
+ }
19
+ `)),He=oe.keyframes(fe||(fe=H`
20
+ 0% {
21
+ transform: scale(1);
22
+ }
23
+
24
+ 50% {
25
+ transform: scale(0.92);
26
+ }
27
+
28
+ 100% {
29
+ transform: scale(1);
30
+ }
31
+ `)),Je=U.styled("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Qe=U.styled(me,{name:"MuiTouchRipple",slot:"Ripple"})(he||(he=H`
32
+ opacity: 0;
33
+ position: absolute;
34
+
35
+ &.${0} {
36
+ opacity: 0.3;
37
+ transform: scale(1);
38
+ animation-name: ${0};
39
+ animation-duration: ${0}ms;
40
+ animation-timing-function: ${0};
41
+ }
42
+
43
+ &.${0} {
44
+ animation-duration: ${0}ms;
45
+ }
46
+
47
+ & .${0} {
48
+ opacity: 1;
49
+ display: block;
50
+ width: 100%;
51
+ height: 100%;
52
+ border-radius: 50%;
53
+ background-color: currentColor;
54
+ }
55
+
56
+ & .${0} {
57
+ opacity: 0;
58
+ animation-name: ${0};
59
+ animation-duration: ${0}ms;
60
+ animation-timing-function: ${0};
61
+ }
62
+
63
+ & .${0} {
64
+ position: absolute;
65
+ /* @noflip */
66
+ left: 0px;
67
+ top: 0;
68
+ animation-name: ${0};
69
+ animation-duration: 2500ms;
70
+ animation-timing-function: ${0};
71
+ animation-iteration-count: infinite;
72
+ animation-delay: 200ms;
73
+ }
74
+ `),T.rippleVisible,We,ne,({theme:t})=>t.transitions.easing.easeInOut,T.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,T.child,T.childLeaving,Ge,ne,({theme:t})=>t.transitions.easing.easeInOut,T.childPulsate,He,({theme:t})=>t.transitions.easing.easeInOut),ye=p.forwardRef(function(r,s){const a=U.useDefaultProps({props:r,name:"MuiTouchRipple"}),{center:o=!1,classes:n={},className:i}=a,c=e._objectWithoutPropertiesLoose(a,Ye),[u,d]=p.useState([]),h=p.useRef(0),g=p.useRef(null);p.useEffect(()=>{g.current&&(g.current(),g.current=null)},[u]);const b=p.useRef(!1),C=Y.useTimeout(),m=p.useRef(null),R=p.useRef(null),$=p.useCallback(f=>{const{pulsate:x,rippleX:M,rippleY:S,rippleSize:I,cb:z}=f;d(E=>[...E,_.jsx(Qe,{classes:{ripple:e.clsx(n.ripple,T.ripple),rippleVisible:e.clsx(n.rippleVisible,T.rippleVisible),ripplePulsate:e.clsx(n.ripplePulsate,T.ripplePulsate),child:e.clsx(n.child,T.child),childLeaving:e.clsx(n.childLeaving,T.childLeaving),childPulsate:e.clsx(n.childPulsate,T.childPulsate)},timeout:ne,pulsate:x,rippleX:M,rippleY:S,rippleSize:I},h.current)]),h.current+=1,g.current=z},[n]),F=p.useCallback((f={},x={},M=()=>{})=>{const{pulsate:S=!1,center:I=o||x.pulsate,fakeElement:z=!1}=x;if((f==null?void 0:f.type)==="mousedown"&&b.current){b.current=!1;return}(f==null?void 0:f.type)==="touchstart"&&(b.current=!0);const E=z?null:R.current,N=E?E.getBoundingClientRect():{width:0,height:0,left:0,top:0};let v,k,B;if(I||f===void 0||f.clientX===0&&f.clientY===0||!f.clientX&&!f.touches)v=Math.round(N.width/2),k=Math.round(N.height/2);else{const{clientX:j,clientY:V}=f.touches&&f.touches.length>0?f.touches[0]:f;v=Math.round(j-N.left),k=Math.round(V-N.top)}if(I)B=Math.sqrt((2*N.width**2+N.height**2)/3),B%2===0&&(B+=1);else{const j=Math.max(Math.abs((E?E.clientWidth:0)-v),v)*2+2,V=Math.max(Math.abs((E?E.clientHeight:0)-k),k)*2+2;B=Math.sqrt(j**2+V**2)}f!=null&&f.touches?m.current===null&&(m.current=()=>{$({pulsate:S,rippleX:v,rippleY:k,rippleSize:B,cb:M})},C.start(Ae,()=>{m.current&&(m.current(),m.current=null)})):$({pulsate:S,rippleX:v,rippleY:k,rippleSize:B,cb:M})},[o,$,C]),q=p.useCallback(()=>{F({},{pulsate:!0})},[F]),O=p.useCallback((f,x)=>{if(C.clear(),(f==null?void 0:f.type)==="touchend"&&m.current){m.current(),m.current=null,C.start(0,()=>{O(f,x)});return}m.current=null,d(M=>M.length>0?M.slice(1):M),g.current=x},[C]);return p.useImperativeHandle(s,()=>({pulsate:q,start:F,stop:O}),[q,F,O]),_.jsx(Je,e._extends({className:e.clsx(T.root,n.root,i),ref:R},c,{children:_.jsx(G,{component:null,exit:!0,children:u})}))});process.env.NODE_ENV!=="production"&&(ye.propTypes={center:e.PropTypes.bool,classes:e.PropTypes.object,className:e.PropTypes.string});function Ze(t){return e.generateUtilityClass("MuiButtonBase",t)}const et=e.generateUtilityClasses("MuiButtonBase",["root","disabled","focusVisible"]),tt=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],nt=t=>{const{disabled:r,focusVisible:s,focusVisibleClassName:a,classes:o}=t,n={root:["root",r&&"disabled",s&&"focusVisible"]},i=U.composeClasses(n,Ze,o);return s&&a&&(i.root+=` ${a}`),i},ot=U.styled("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,r)=>r.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${et.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Te=p.forwardRef(function(r,s){const a=U.useDefaultProps({props:r,name:"MuiButtonBase"}),{action:o,centerRipple:n=!1,children:i,className:c,component:u="button",disabled:d=!1,disableRipple:h=!1,disableTouchRipple:g=!1,focusRipple:b=!1,LinkComponent:C="a",onBlur:m,onClick:R,onContextMenu:$,onDragLeave:F,onFocus:q,onFocusVisible:O,onKeyDown:f,onKeyUp:x,onMouseDown:M,onMouseLeave:S,onMouseUp:I,onTouchEnd:z,onTouchMove:E,onTouchStart:N,tabIndex:v=0,TouchRippleProps:k,touchRippleRef:B,type:j}=a,V=e._objectWithoutPropertiesLoose(a,tt),K=p.useRef(null),P=p.useRef(null),be=ue.useForkRef(P,B),{isFocusVisibleRef:se,onFocus:Pe,onBlur:ge,ref:Re}=Oe.useIsFocusVisible(),[L,A]=p.useState(!1);d&&L&&A(!1),p.useImperativeHandle(o,()=>({focusVisible:()=>{A(!0),K.current.focus()}}),[]);const[J,xe]=p.useState(!1);p.useEffect(()=>{xe(!0)},[]);const Q=J&&!h&&!d;p.useEffect(()=>{L&&b&&!h&&J&&P.current.pulsate()},[h,b,L,J]);function D(l,le,Fe=g){return Y.useEventCallback(ae=>(le&&le(ae),!Fe&&P.current&&P.current[l](ae),!0))}const Me=D("start",M),Ee=D("stop",$),Ce=D("stop",F),ve=D("stop",I),Ve=D("stop",l=>{L&&l.preventDefault(),S&&S(l)}),De=D("start",N),Ne=D("stop",z),ke=D("stop",E),Be=D("stop",l=>{ge(l),se.current===!1&&A(!1),m&&m(l)},!1),Se=Y.useEventCallback(l=>{K.current||(K.current=l.currentTarget),Pe(l),se.current===!0&&(A(!0),O&&O(l)),q&&q(l)}),Z=()=>{const l=K.current;return u&&u!=="button"&&!(l.tagName==="A"&&l.href)},ee=p.useRef(!1),je=Y.useEventCallback(l=>{b&&!ee.current&&L&&P.current&&l.key===" "&&(ee.current=!0,P.current.stop(l,()=>{P.current.start(l)})),l.target===l.currentTarget&&Z()&&l.key===" "&&l.preventDefault(),f&&f(l),l.target===l.currentTarget&&Z()&&l.key==="Enter"&&!d&&(l.preventDefault(),R&&R(l))}),Le=Y.useEventCallback(l=>{b&&l.key===" "&&P.current&&L&&!l.defaultPrevented&&(ee.current=!1,P.current.stop(l,()=>{P.current.pulsate(l)})),x&&x(l),R&&l.target===l.currentTarget&&Z()&&l.key===" "&&!l.defaultPrevented&&R(l)});let W=u;W==="button"&&(V.href||V.to)&&(W=C);const X={};W==="button"?(X.type=j===void 0?"button":j,X.disabled=d):(!V.href&&!V.to&&(X.role="button"),d&&(X["aria-disabled"]=d));const we=ue.useForkRef(s,Re,K);process.env.NODE_ENV!=="production"&&p.useEffect(()=>{Q&&!P.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
75
+ `))},[Q]);const ie=e._extends({},a,{centerRipple:n,component:u,disabled:d,disableRipple:h,disableTouchRipple:g,focusRipple:b,tabIndex:v,focusVisible:L}),_e=nt(ie);return _.jsxs(ot,e._extends({as:W,className:e.clsx(_e.root,c),ownerState:ie,onBlur:Be,onClick:R,onContextMenu:Ee,onFocus:Se,onKeyDown:je,onKeyUp:Le,onMouseDown:Me,onMouseLeave:Ve,onMouseUp:ve,onDragLeave:Ce,onTouchEnd:Ne,onTouchMove:ke,onTouchStart:De,ref:we,tabIndex:d?-1:v,type:j},X,V,{children:[i,Q?_.jsx(ye,e._extends({ref:be,center:n},k)):null]}))});process.env.NODE_ENV!=="production"&&(Te.propTypes={action:ce.refType,centerRipple:e.PropTypes.bool,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:ce.elementTypeAcceptingRef,disabled:e.PropTypes.bool,disableRipple:e.PropTypes.bool,disableTouchRipple:e.PropTypes.bool,focusRipple:e.PropTypes.bool,focusVisibleClassName:e.PropTypes.string,href:e.PropTypes.any,LinkComponent:e.PropTypes.elementType,onBlur:e.PropTypes.func,onClick:e.PropTypes.func,onContextMenu:e.PropTypes.func,onDragLeave:e.PropTypes.func,onFocus:e.PropTypes.func,onFocusVisible:e.PropTypes.func,onKeyDown:e.PropTypes.func,onKeyUp:e.PropTypes.func,onMouseDown:e.PropTypes.func,onMouseLeave:e.PropTypes.func,onMouseUp:e.PropTypes.func,onTouchEnd:e.PropTypes.func,onTouchMove:e.PropTypes.func,onTouchStart:e.PropTypes.func,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]),tabIndex:e.PropTypes.number,TouchRippleProps:e.PropTypes.object,touchRippleRef:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.shape({current:e.PropTypes.shape({pulsate:e.PropTypes.func.isRequired,start:e.PropTypes.func.isRequired,stop:e.PropTypes.func.isRequired})})]),type:e.PropTypes.oneOfType([e.PropTypes.oneOf(["button","reset","submit"]),e.PropTypes.string])});exports.ButtonBase=Te;exports.TransitionGroup=G;
@@ -0,0 +1,28 @@
1
+ "use strict";const e=require("./identifier-J0ZxxQLU.cjs"),w=require("react"),a=require("./styled-C04Dz9vm.cjs"),h=require("react/jsx-runtime"),M=require("./refType-DNJbSwsx.cjs"),l=require("@emotion/react");function N(r){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(s,t,o.get?o:{enumerable:!0,get:()=>r[t]})}}return s.default=r,Object.freeze(s)}const R=N(w);function _(r){return e.generateUtilityClass("MuiCircularProgress",r)}const z=e.generateUtilityClasses("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]),q=z,U=["className","color","disableShrink","size","style","thickness","value","variant"];let p=r=>r,T,C,x,S;const i=44,E=l.keyframes(T||(T=p`
2
+ 0% {
3
+ transform: rotate(0deg);
4
+ }
5
+
6
+ 100% {
7
+ transform: rotate(360deg);
8
+ }
9
+ `)),I=l.keyframes(C||(C=p`
10
+ 0% {
11
+ stroke-dasharray: 1px, 200px;
12
+ stroke-dashoffset: 0;
13
+ }
14
+
15
+ 50% {
16
+ stroke-dasharray: 100px, 200px;
17
+ stroke-dashoffset: -15px;
18
+ }
19
+
20
+ 100% {
21
+ stroke-dasharray: 100px, 200px;
22
+ stroke-dashoffset: -125px;
23
+ }
24
+ `)),F=r=>{const{classes:s,variant:t,color:o,disableShrink:u}=r,d={root:["root",t,`color${e.capitalize(o)}`],svg:["svg"],circle:["circle",`circle${e.capitalize(t)}`,u&&"circleDisableShrink"]};return a.composeClasses(d,_,s)},K=a.styled("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(r,s)=>{const{ownerState:t}=r;return[s.root,s[t.variant],s[`color${e.capitalize(t.color)}`]]}})(({ownerState:r,theme:s})=>e._extends({display:"inline-block"},r.variant==="determinate"&&{transition:s.transitions.create("transform")},r.color!=="inherit"&&{color:(s.vars||s).palette[r.color].main}),({ownerState:r})=>r.variant==="indeterminate"&&l.css(x||(x=p`
25
+ animation: ${0} 1.4s linear infinite;
26
+ `),E)),V=a.styled("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(r,s)=>s.svg})({display:"block"}),W=a.styled("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(r,s)=>{const{ownerState:t}=r;return[s.circle,s[`circle${e.capitalize(t.variant)}`],t.disableShrink&&s.circleDisableShrink]}})(({ownerState:r,theme:s})=>e._extends({stroke:"currentColor"},r.variant==="determinate"&&{transition:s.transitions.create("stroke-dashoffset")},r.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:r})=>r.variant==="indeterminate"&&!r.disableShrink&&l.css(S||(S=p`
27
+ animation: ${0} 1.4s ease-in-out infinite;
28
+ `),I)),$=R.forwardRef(function(s,t){const o=a.useDefaultProps({props:s,name:"MuiCircularProgress"}),{className:u,color:d="primary",disableShrink:D=!1,size:y=40,style:O,thickness:n=3.6,value:f=0,variant:g="indeterminate"}=o,j=e._objectWithoutPropertiesLoose(o,U),c=e._extends({},o,{color:d,disableShrink:D,size:y,thickness:n,value:f,variant:g}),P=F(c),m={},v={},k={};if(g==="determinate"){const b=2*Math.PI*((i-n)/2);m.strokeDasharray=b.toFixed(3),k["aria-valuenow"]=Math.round(f),m.strokeDashoffset=`${((100-f)/100*b).toFixed(3)}px`,v.transform="rotate(-90deg)"}return h.jsx(K,e._extends({className:e.clsx(P.root,u),style:e._extends({width:y,height:y},v,O),ownerState:c,ref:t,role:"progressbar"},k,j,{children:h.jsx(V,{className:P.svg,ownerState:c,viewBox:`${i/2} ${i/2} ${i} ${i}`,children:h.jsx(W,{className:P.circle,style:m,ownerState:c,cx:i,cy:i,r:(i-n)/2,fill:"none",strokeWidth:n})})}))});process.env.NODE_ENV!=="production"&&($.propTypes={classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["inherit","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),disableShrink:M.chainPropTypes(e.PropTypes.bool,r=>r.disableShrink&&r.variant&&r.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),style:e.PropTypes.object,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]),thickness:e.PropTypes.number,value:e.PropTypes.number,variant:e.PropTypes.oneOf(["determinate","indeterminate"])});const B=$;exports.CircularProgress=B;exports.circularProgressClasses=q;exports.getCircularProgressUtilityClass=_;
@@ -1,16 +1,15 @@
1
- import { k as T, m as l, _ as i, q as j, P as e } from "./identifier-CItx51dm.js";
2
- import * as U from "react";
3
- import { g as z, c as E } from "./extendSxProp-BaQsf_eX.js";
4
- import { s as y, u as I, c as F } from "./styled-BCP6gOZj.js";
1
+ import { w as T, v as j, q as l, m as i, _ as U, x as z, P as e } from "./identifier-C_DzvlWx.js";
2
+ import * as E from "react";
3
+ import { s as y, u as I, c as F } from "./styled-DCjqF2JO.js";
5
4
  import { jsx as g } from "react/jsx-runtime";
6
- import { c as K } from "./refType-BtebdsEm.js";
7
- import { keyframes as w, css as _ } from "@emotion/react";
5
+ import { c as K } from "./refType-KXZNSMpq.js";
6
+ import { keyframes as D, css as _ } from "@emotion/react";
8
7
  function V(r) {
9
8
  return T("MuiCircularProgress", r);
10
9
  }
11
- const W = z("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]), sr = W, q = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
12
- let m = (r) => r, x, S, $, D;
13
- const o = 44, B = w(x || (x = m`
10
+ const W = j("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]), er = W, q = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
11
+ let d = (r) => r, x, S, $, w;
12
+ const o = 44, B = D(x || (x = d`
14
13
  0% {
15
14
  transform: rotate(0deg);
16
15
  }
@@ -18,7 +17,7 @@ const o = 44, B = w(x || (x = m`
18
17
  100% {
19
18
  transform: rotate(360deg);
20
19
  }
21
- `)), G = w(S || (S = m`
20
+ `)), G = D(S || (S = d`
22
21
  0% {
23
22
  stroke-dasharray: 1px, 200px;
24
23
  stroke-dashoffset: 0;
@@ -38,13 +37,13 @@ const o = 44, B = w(x || (x = m`
38
37
  classes: s,
39
38
  variant: t,
40
39
  color: a,
41
- disableShrink: d
42
- } = r, u = {
40
+ disableShrink: u
41
+ } = r, m = {
43
42
  root: ["root", t, `color${l(a)}`],
44
43
  svg: ["svg"],
45
- circle: ["circle", `circle${l(t)}`, d && "circleDisableShrink"]
44
+ circle: ["circle", `circle${l(t)}`, u && "circleDisableShrink"]
46
45
  };
47
- return F(u, V, s);
46
+ return F(m, V, s);
48
47
  }, Y = y("span", {
49
48
  name: "MuiCircularProgress",
50
49
  slot: "Root",
@@ -65,7 +64,7 @@ const o = 44, B = w(x || (x = m`
65
64
  color: (s.vars || s).palette[r.color].main
66
65
  }), ({
67
66
  ownerState: r
68
- }) => r.variant === "indeterminate" && _($ || ($ = m`
67
+ }) => r.variant === "indeterminate" && _($ || ($ = d`
69
68
  animation: ${0} 1.4s linear infinite;
70
69
  `), B)), Z = y("svg", {
71
70
  name: "MuiCircularProgress",
@@ -97,23 +96,23 @@ const o = 44, B = w(x || (x = m`
97
96
  // Add the unit to fix a Edge 16 and below bug.
98
97
  }), ({
99
98
  ownerState: r
100
- }) => r.variant === "indeterminate" && !r.disableShrink && _(D || (D = m`
99
+ }) => r.variant === "indeterminate" && !r.disableShrink && _(w || (w = d`
101
100
  animation: ${0} 1.4s ease-in-out infinite;
102
- `), G)), M = /* @__PURE__ */ U.forwardRef(function(s, t) {
101
+ `), G)), M = /* @__PURE__ */ E.forwardRef(function(s, t) {
103
102
  const a = I({
104
103
  props: s,
105
104
  name: "MuiCircularProgress"
106
105
  }), {
107
- className: d,
108
- color: u = "primary",
106
+ className: u,
107
+ color: m = "primary",
109
108
  disableShrink: N = !1,
110
109
  size: f = 40,
111
110
  style: O,
112
111
  thickness: n = 3.6,
113
112
  value: p = 0,
114
113
  variant: k = "indeterminate"
115
- } = a, R = j(a, q), c = i({}, a, {
116
- color: u,
114
+ } = a, R = U(a, q), c = i({}, a, {
115
+ color: m,
117
116
  disableShrink: N,
118
117
  size: f,
119
118
  thickness: n,
@@ -125,7 +124,7 @@ const o = 44, B = w(x || (x = m`
125
124
  v.strokeDasharray = P.toFixed(3), C["aria-valuenow"] = Math.round(p), v.strokeDashoffset = `${((100 - p) / 100 * P).toFixed(3)}px`, b.transform = "rotate(-90deg)";
126
125
  }
127
126
  return /* @__PURE__ */ g(Y, i({
128
- className: E(h.root, d),
127
+ className: z(h.root, u),
129
128
  style: i({
130
129
  width: f,
131
130
  height: f
@@ -210,9 +209,9 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
210
209
  */
211
210
  variant: e.oneOf(["determinate", "indeterminate"])
212
211
  });
213
- const tr = M;
212
+ const sr = M;
214
213
  export {
215
- tr as C,
216
- sr as c,
214
+ sr as C,
215
+ er as c,
217
216
  V as g
218
217
  };