@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
@@ -1,89 +0,0 @@
1
- import "react";
2
- import { jsx as l } from "react/jsx-runtime";
3
- import { P as e, T as f } from "./identifier-Bsv46xiT.js";
4
- import { d as i } from "./DefaultPropsProvider-QV6PDjPd.js";
5
- import { u as c } from "./useTheme-DzMeSzHc.js";
6
- import { Global as y } from "@emotion/react";
7
- import { e as m } from "./extendSxProp-BpSXIdup.js";
8
- function b(o) {
9
- return o == null || Object.keys(o).length === 0;
10
- }
11
- function p(o) {
12
- const {
13
- styles: t,
14
- defaultTheme: n = {}
15
- } = o;
16
- return /* @__PURE__ */ l(y, {
17
- styles: typeof t == "function" ? (s) => t(b(s) ? n : s) : t
18
- });
19
- }
20
- process.env.NODE_ENV !== "production" && (p.propTypes = {
21
- defaultTheme: e.object,
22
- styles: e.oneOfType([e.array, e.string, e.object, e.func])
23
- });
24
- function u({
25
- styles: o,
26
- themeId: t,
27
- defaultTheme: n = {}
28
- }) {
29
- const r = c(n), s = typeof o == "function" ? o(t && r[t] || r) : o;
30
- return /* @__PURE__ */ l(p, {
31
- styles: s
32
- });
33
- }
34
- process.env.NODE_ENV !== "production" && (u.propTypes = {
35
- // ┌────────────────────────────── Warning ──────────────────────────────┐
36
- // │ These PropTypes are generated from the TypeScript type definitions. │
37
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
38
- // └─────────────────────────────────────────────────────────────────────┘
39
- /**
40
- * @ignore
41
- */
42
- defaultTheme: e.object,
43
- /**
44
- * @ignore
45
- */
46
- styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool]),
47
- /**
48
- * @ignore
49
- */
50
- themeId: e.string
51
- });
52
- function a(o) {
53
- return /* @__PURE__ */ l(u, {
54
- ...o,
55
- defaultTheme: i,
56
- themeId: f
57
- });
58
- }
59
- process.env.NODE_ENV !== "production" && (a.propTypes = {
60
- // ┌────────────────────────────── Warning ──────────────────────────────┐
61
- // │ These PropTypes are generated from the TypeScript type definitions. │
62
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
63
- // └─────────────────────────────────────────────────────────────────────┘
64
- /**
65
- * The styles you want to apply globally.
66
- */
67
- styles: e.oneOfType([e.array, e.func, e.number, e.object, e.string, e.bool])
68
- });
69
- function v(o) {
70
- return function(n) {
71
- return (
72
- // Pigment CSS `globalCss` support callback with theme inside an object but `GlobalStyles` support theme as a callback value.
73
- /* @__PURE__ */ l(a, {
74
- styles: typeof o == "function" ? (r) => o({
75
- theme: r,
76
- ...n
77
- }) : o
78
- })
79
- );
80
- };
81
- }
82
- function x() {
83
- return m;
84
- }
85
- export {
86
- p as G,
87
- v as g,
88
- x as i
89
- };
@@ -1 +0,0 @@
1
- "use strict";require("react");const n=require("react/jsx-runtime"),e=require("./identifier-7NboR24y.cjs"),c=require("./DefaultPropsProvider-B6IbLm7M.cjs"),i=require("./useTheme-Zq6D7sUp.cjs"),T=require("@emotion/react"),a=require("./extendSxProp-DVE8Tgj8.cjs");function P(r){return r==null||Object.keys(r).length===0}function y(r){const{styles:o,defaultTheme:s={}}=r,p=typeof o=="function"?t=>o(P(t)?s:t):o;return n.jsx(T.Global,{styles:p})}process.env.NODE_ENV!=="production"&&(y.propTypes={defaultTheme:e.PropTypes.object,styles:e.PropTypes.oneOfType([e.PropTypes.array,e.PropTypes.string,e.PropTypes.object,e.PropTypes.func])});function u({styles:r,themeId:o,defaultTheme:s={}}){const p=i.useTheme(s),t=typeof r=="function"?r(o&&p[o]||p):r;return n.jsx(y,{styles:t})}process.env.NODE_ENV!=="production"&&(u.propTypes={defaultTheme:e.PropTypes.object,styles:e.PropTypes.oneOfType([e.PropTypes.array,e.PropTypes.func,e.PropTypes.number,e.PropTypes.object,e.PropTypes.string,e.PropTypes.bool]),themeId:e.PropTypes.string});function l(r){return n.jsx(u,{...r,defaultTheme:c.defaultTheme,themeId:e.THEME_ID})}process.env.NODE_ENV!=="production"&&(l.propTypes={styles:e.PropTypes.oneOfType([e.PropTypes.array,e.PropTypes.func,e.PropTypes.number,e.PropTypes.object,e.PropTypes.string,e.PropTypes.bool])});function f(r){return function(s){return n.jsx(l,{styles:typeof r=="function"?p=>r({theme:p,...s}):r})}}function d(){return a.extendSxProp}exports.GlobalStyles=y;exports.globalCss=f;exports.internal_createExtendSxProp=d;
@@ -1,3 +0,0 @@
1
- "use strict";const f=require("react");function d(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=d(f);function p(...e){return e.reduce((n,t)=>t==null?n:function(...o){n.apply(this,o),t.apply(this,o)},()=>{})}function h(e,n){var t,i,o;return r.isValidElement(e)&&n.indexOf(e.type.muiName??((o=(i=(t=e.type)==null?void 0:t._payload)==null?void 0:i.value)==null?void 0:o.muiName))!==-1}function m({controlled:e,default:n,name:t,state:i="value"}){const{current:o}=r.useRef(e!==void 0),[c,s]=r.useState(n),l=o?e:c;if(process.env.NODE_ENV!=="production"){r.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${i} state of ${t} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${t} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
2
- `))},[i,t,e]);const{current:u}=r.useRef(n);r.useEffect(()=>{!o&&!Object.is(u,n)&&console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${t} after being initialized. To suppress this warning opt to use a controlled ${t}.`].join(`
3
- `))},[JSON.stringify(n)])}const a=r.useCallback(u=>{o||s(u)},[]);return[l,a]}exports.createChainedFunction=p;exports.isMuiElement=h;exports.useControlled=m;
@@ -1,48 +0,0 @@
1
- import * as r from "react";
2
- function f(...t) {
3
- return t.reduce((o, n) => n == null ? o : function(...e) {
4
- o.apply(this, e), n.apply(this, e);
5
- }, () => {
6
- });
7
- }
8
- function d(t, o) {
9
- var n, i, e;
10
- return /* @__PURE__ */ r.isValidElement(t) && o.indexOf(
11
- // For server components `muiName` is avaialble in element.type._payload.value.muiName
12
- // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
13
- // eslint-disable-next-line no-underscore-dangle
14
- t.type.muiName ?? ((e = (i = (n = t.type) == null ? void 0 : n._payload) == null ? void 0 : i.value) == null ? void 0 : e.muiName)
15
- ) !== -1;
16
- }
17
- function h({
18
- controlled: t,
19
- default: o,
20
- name: n,
21
- state: i = "value"
22
- }) {
23
- const {
24
- current: e
25
- } = r.useRef(t !== void 0), [u, l] = r.useState(o), c = e ? t : u;
26
- if (process.env.NODE_ENV !== "production") {
27
- r.useEffect(() => {
28
- e !== (t !== void 0) && console.error([`MUI: A component is changing the ${e ? "" : "un"}controlled ${i} state of ${n} to be ${e ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
29
- `));
30
- }, [i, n, t]);
31
- const {
32
- current: s
33
- } = r.useRef(o);
34
- r.useEffect(() => {
35
- !e && !Object.is(s, o) && console.error([`MUI: A component is changing the default ${i} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
36
- `));
37
- }, [JSON.stringify(o)]);
38
- }
39
- const a = r.useCallback((s) => {
40
- e || l(s);
41
- }, []);
42
- return [c, a];
43
- }
44
- export {
45
- f as c,
46
- d as i,
47
- h as u
48
- };
@@ -1,14 +0,0 @@
1
- import * as t from "react";
2
- import { u as c } from "./useForkRef-DwN_Iz9R.js";
3
- function s(e) {
4
- const r = t.useRef(e);
5
- return c(() => {
6
- r.current = e;
7
- }), t.useRef((...u) => (
8
- // @ts-expect-error hide `this`
9
- (0, r.current)(...u)
10
- )).current;
11
- }
12
- export {
13
- s as u
14
- };
@@ -1 +0,0 @@
1
- "use strict";const u=require("react"),a=require("./useForkRef-CGd3Nhyb.cjs");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const c=o(u);function s(e){const t=c.useRef(e);return a.useEnhancedEffect(()=>{t.current=e}),c.useRef((...r)=>(0,t.current)(...r)).current}exports.useEventCallback=s;
@@ -1,19 +0,0 @@
1
- import * as u from "react";
2
- let n = 0;
3
- function c(t) {
4
- const [e, o] = u.useState(t), a = t || e;
5
- return u.useEffect(() => {
6
- e == null && (n += 1, o(`mui-${n}`));
7
- }, [e]), a;
8
- }
9
- const s = u.useId;
10
- function f(t) {
11
- if (s !== void 0) {
12
- const e = s();
13
- return t ?? e;
14
- }
15
- return c(t);
16
- }
17
- export {
18
- f as u
19
- };
@@ -1 +0,0 @@
1
- "use strict";const s=require("react");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const c=a(s);let o=0;function f(e){const[t,n]=c.useState(e),u=e||t;return c.useEffect(()=>{t==null&&(o+=1,n(`mui-${o}`))},[t]),u}const r=c.useId;function l(e){if(r!==void 0){const t=r();return e??t}return f(e)}exports.useId=l;
@@ -1 +0,0 @@
1
- "use strict";const f=require("./identifier-7NboR24y.cjs"),H=require("./useForkRef-CGd3Nhyb.cjs"),q=require("react"),C=require("react/jsx-runtime"),D=require("./DefaultPropsProvider-B6IbLm7M.cjs"),S=require("./useTheme-Zq6D7sUp.cjs");function b(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(s,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return s.default=e,Object.freeze(s)}const g=b(q);function _(e){return typeof e=="string"}function O(e,s,t){return e===void 0||_(e)?s:{...s,ownerState:{...s.ownerState,...t}}}function R(e,s=[]){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!s.includes(n)).forEach(n=>{t[n]=e[n]}),t}function E(e){if(e===void 0)return{};const s={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&typeof e[t]=="function")).forEach(t=>{s[t]=e[t]}),s}function p(e){const{getSlotProps:s,additionalProps:t,externalSlotProps:n,externalForwardedProps:c,className:i}=e;if(!s){const h=f.clsx(t==null?void 0:t.className,i,c==null?void 0:c.className,n==null?void 0:n.className),N={...t==null?void 0:t.style,...c==null?void 0:c.style,...n==null?void 0:n.style},v={...t,...c,...n};return h.length>0&&(v.className=h),Object.keys(N).length>0&&(v.style=N),{props:v,internalRef:void 0}}const r=R({...c,...n}),l=E(n),a=E(c),u=s(r),m=f.clsx(u==null?void 0:u.className,t==null?void 0:t.className,i,c==null?void 0:c.className,n==null?void 0:n.className),o={...u==null?void 0:u.style,...t==null?void 0:t.style,...c==null?void 0:c.style,...n==null?void 0:n.style},y={...u,...t,...a,...l};return m.length>0&&(y.className=m),Object.keys(o).length>0&&(y.style=o),{props:y,internalRef:u.ref}}function d(e,s,t){return typeof e=="function"?e(s,t):e}function j(e){var o;const{elementType:s,externalSlotProps:t,ownerState:n,skipResolvingSlotProps:c=!1,...i}=e,r=c?{}:d(t,n),{props:l,internalRef:a}=p({...i,externalSlotProps:r}),u=H.useForkRef(a,r==null?void 0:r.ref,(o=e.additionalProps)==null?void 0:o.ref);return O(s,{...l,ref:u},n)}const T=g.createContext();function k({value:e,...s}){return C.jsx(T.Provider,{value:e??!0,...s})}process.env.NODE_ENV!=="production"&&(k.propTypes={children:f.PropTypes.node,value:f.PropTypes.bool});const V=()=>g.useContext(T)??!1;function $(){const e=S.useTheme(D.defaultTheme);return process.env.NODE_ENV!=="production"&&g.useDebugValue(e),e[f.THEME_ID]||e}exports.RtlProvider=k;exports.appendOwnerState=O;exports.extractEventHandlers=R;exports.mergeSlotProps=p;exports.resolveComponentProps=d;exports.useRtl=V;exports.useSlotProps=j;exports.useTheme=$;
@@ -1,128 +0,0 @@
1
- import { L as g, P as E, T as O } from "./identifier-Bsv46xiT.js";
2
- import { a as T } from "./useForkRef-DwN_Iz9R.js";
3
- import * as h from "react";
4
- import { jsx as k } from "react/jsx-runtime";
5
- import { d as C } from "./DefaultPropsProvider-QV6PDjPd.js";
6
- import { u as p } from "./useTheme-DzMeSzHc.js";
7
- function D(e) {
8
- return typeof e == "string";
9
- }
10
- function V(e, n, t) {
11
- return e === void 0 || D(e) ? n : {
12
- ...n,
13
- ownerState: {
14
- ...n.ownerState,
15
- ...t
16
- }
17
- };
18
- }
19
- function _(e, n = []) {
20
- if (e === void 0)
21
- return {};
22
- const t = {};
23
- return Object.keys(e).filter((s) => s.match(/^on[A-Z]/) && typeof e[s] == "function" && !n.includes(s)).forEach((s) => {
24
- t[s] = e[s];
25
- }), t;
26
- }
27
- function R(e) {
28
- if (e === void 0)
29
- return {};
30
- const n = {};
31
- return Object.keys(e).filter((t) => !(t.match(/^on[A-Z]/) && typeof e[t] == "function")).forEach((t) => {
32
- n[t] = e[t];
33
- }), n;
34
- }
35
- function d(e) {
36
- const {
37
- getSlotProps: n,
38
- additionalProps: t,
39
- externalSlotProps: s,
40
- externalForwardedProps: c,
41
- className: i
42
- } = e;
43
- if (!n) {
44
- const v = g(t == null ? void 0 : t.className, i, c == null ? void 0 : c.className, s == null ? void 0 : s.className), N = {
45
- ...t == null ? void 0 : t.style,
46
- ...c == null ? void 0 : c.style,
47
- ...s == null ? void 0 : s.style
48
- }, y = {
49
- ...t,
50
- ...c,
51
- ...s
52
- };
53
- return v.length > 0 && (y.className = v), Object.keys(N).length > 0 && (y.style = N), {
54
- props: y,
55
- internalRef: void 0
56
- };
57
- }
58
- const f = _({
59
- ...c,
60
- ...s
61
- }), r = R(s), m = R(c), u = n(f), a = g(u == null ? void 0 : u.className, t == null ? void 0 : t.className, i, c == null ? void 0 : c.className, s == null ? void 0 : s.className), o = {
62
- ...u == null ? void 0 : u.style,
63
- ...t == null ? void 0 : t.style,
64
- ...c == null ? void 0 : c.style,
65
- ...s == null ? void 0 : s.style
66
- }, l = {
67
- ...u,
68
- ...t,
69
- ...m,
70
- ...r
71
- };
72
- return a.length > 0 && (l.className = a), Object.keys(o).length > 0 && (l.style = o), {
73
- props: l,
74
- internalRef: u.ref
75
- };
76
- }
77
- function A(e, n, t) {
78
- return typeof e == "function" ? e(n, t) : e;
79
- }
80
- function L(e) {
81
- var o;
82
- const {
83
- elementType: n,
84
- externalSlotProps: t,
85
- ownerState: s,
86
- skipResolvingSlotProps: c = !1,
87
- ...i
88
- } = e, f = c ? {} : A(t, s), {
89
- props: r,
90
- internalRef: m
91
- } = d({
92
- ...i,
93
- externalSlotProps: f
94
- }), u = T(m, f == null ? void 0 : f.ref, (o = e.additionalProps) == null ? void 0 : o.ref);
95
- return V(n, {
96
- ...r,
97
- ref: u
98
- }, s);
99
- }
100
- const H = /* @__PURE__ */ h.createContext();
101
- function S({
102
- value: e,
103
- ...n
104
- }) {
105
- return /* @__PURE__ */ k(H.Provider, {
106
- value: e ?? !0,
107
- ...n
108
- });
109
- }
110
- process.env.NODE_ENV !== "production" && (S.propTypes = {
111
- children: E.node,
112
- value: E.bool
113
- });
114
- const M = () => h.useContext(H) ?? !1;
115
- function $() {
116
- const e = p(C);
117
- return process.env.NODE_ENV !== "production" && h.useDebugValue(e), e[O] || e;
118
- }
119
- export {
120
- S as R,
121
- M as a,
122
- L as b,
123
- V as c,
124
- _ as e,
125
- d as m,
126
- A as r,
127
- $ as u
128
- };
@@ -1 +0,0 @@
1
- "use strict";const u=require("./identifier-7NboR24y.cjs"),o=require("react"),s=require("@emotion/react");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a=i(o);function f(e){return Object.keys(e).length===0}function c(e=null){const t=a.useContext(s.ThemeContext);return!t||f(t)?e:t}const m=u.createTheme$1();function l(e=m){return c(e)}exports.useTheme=l;exports.useTheme$1=c;
@@ -1,40 +0,0 @@
1
- import { r as n, d as m } from "./DefaultPropsProvider-QV6PDjPd.js";
2
- import { T as p } from "./identifier-Bsv46xiT.js";
3
- import { u } from "./useTheme-DzMeSzHc.js";
4
- function a(o) {
5
- const {
6
- theme: e,
7
- name: r,
8
- props: s
9
- } = o;
10
- return !e || !e.components || !e.components[r] || !e.components[r].defaultProps ? s : n(e.components[r].defaultProps, s);
11
- }
12
- function f({
13
- props: o,
14
- name: e,
15
- defaultTheme: r,
16
- themeId: s
17
- }) {
18
- let t = u(r);
19
- return s && (t = t[s] || t), a({
20
- theme: t,
21
- name: e,
22
- props: o
23
- });
24
- }
25
- function T({
26
- props: o,
27
- name: e
28
- }) {
29
- return f({
30
- props: o,
31
- name: e,
32
- defaultTheme: m,
33
- themeId: p
34
- });
35
- }
36
- export {
37
- f as a,
38
- a as g,
39
- T as u
40
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("./DefaultPropsProvider-B6IbLm7M.cjs"),p=require("./identifier-7NboR24y.cjs"),i=require("./useTheme-Zq6D7sUp.cjs");function u(r){const{theme:e,name:o,props:s}=r;return!e||!e.components||!e.components[o]||!e.components[o].defaultProps?s:n.resolveProps(e.components[o].defaultProps,s)}function m({props:r,name:e,defaultTheme:o,themeId:s}){let t=i.useTheme(o);return s&&(t=t[s]||t),u({theme:t,name:e,props:r})}function c({props:r,name:e}){return m({props:r,name:e,defaultTheme:n.defaultTheme,themeId:p.THEME_ID})}exports.getThemeProps=u;exports.useThemeProps=c;exports.useThemeProps$1=m;
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
-