@cgi-learning-hub/ui 1.2.0-dev.1725455018 → 1.2.0-dev.1725543340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Box-2ZrLOc7U.cjs +1 -0
- package/dist/{Box-CONPkck2.js → Box-BJvmuM0Y.js} +30 -32
- package/dist/Button-HyZp1VKI.js +359 -0
- package/dist/Button-NhaA68Of.cjs +1 -0
- package/dist/ButtonBase-CnINN-P4.cjs +75 -0
- package/dist/ButtonBase-cOL6Mpcp.js +827 -0
- package/dist/CircularProgress-01RZzfpF.cjs +28 -0
- package/dist/CircularProgress-DO4r9-x8.js +217 -0
- package/dist/DatePicker-GTtXZK-p.cjs +19 -0
- package/dist/{DatePicker-wZ1VHlXF.js → DatePicker-vhA6Fe5s.js} +4373 -4518
- package/dist/DefaultButton-BMmuKPgA.cjs +1 -0
- package/dist/DefaultButton-CKY6tuni.js +258 -0
- package/dist/IconButton-3v-0zgZW.cjs +2 -0
- package/dist/IconButton-BBfmzBP6.js +184 -0
- package/dist/InputAdornment-DHmtETz3.cjs +1 -0
- package/dist/{InputAdornment-7ED2C-w1.js → InputAdornment-zaw7AFWU.js} +65 -81
- package/dist/InputBase-BpGQgBej.cjs +3 -0
- package/dist/InputBase-COUxfhh1.js +794 -0
- package/dist/Stack-D9IYPfJ8.cjs +1 -0
- package/dist/{Stack-BzF_6-v5.js → Stack-Dlgk5t_M.js} +60 -62
- package/dist/Tabs-Blo-8Ro5.js +1091 -0
- package/dist/Tabs-D0e7cB4l.cjs +4 -0
- package/dist/TextField-8AuRLRIK.cjs +12 -0
- package/dist/{TextField-G9MOGCdw.js → TextField-DG1754qQ.js} +2408 -3033
- package/dist/{Tooltip-D_4ANHAc.js → Tooltip-C7ZUZylZ.js} +3421 -4697
- package/dist/Tooltip-CFVJXplM.cjs +95 -0
- package/dist/TransitionGroupContext-BkoHK5Kx.js +14 -0
- package/dist/TransitionGroupContext-mYDSzffd.cjs +1 -0
- package/dist/Typography-DjrvRhOr.js +178 -0
- package/dist/Typography-YHooSvuR.cjs +1 -0
- package/dist/client-error-BUtdld5f.cjs +1 -0
- package/dist/client-error-B_-qjgAB.js +395 -0
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +3 -3
- package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.stories.es.js +3 -3
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/DefaultButton/DefaultButton.cjs.js +1 -1
- package/dist/components/DefaultButton/DefaultButton.es.js +2 -2
- package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
- package/dist/components/DefaultButton/DefaultButtonIcon.es.js +67 -108
- package/dist/components/DefaultButton/index.cjs.js +1 -1
- package/dist/components/DefaultButton/index.es.js +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
- package/dist/components/Dropzone/Dropzone.es.js +8 -8
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +13 -0
- package/dist/components/EmptyState/EmptyState.es.js +31 -0
- package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -0
- package/dist/components/EmptyState/EmptyState.stories.d.ts +5 -0
- package/dist/components/EmptyState/EmptyState.stories.es.js +17 -0
- package/dist/components/EmptyState/index.cjs.js +1 -0
- package/dist/components/EmptyState/index.d.ts +2 -0
- package/dist/components/EmptyState/index.es.js +4 -0
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +11 -10
- package/dist/components/IconButton.stories.cjs.js +1 -1
- package/dist/components/IconButton.stories.es.js +14 -13
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.d.ts +1 -3
- package/dist/components/PaperHeader/PaperHeader.es.js +28 -26
- package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
- package/dist/components/PaperHeader/PaperHeader.stories.es.js +7 -7
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
- package/dist/components/PrimaryButton/PrimaryButton.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.es.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
- package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +38 -14
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/SecondaryButton/SecondaryButton.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.es.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
- package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/TabList.stories.cjs.js +1 -1
- package/dist/components/TabList.stories.es.js +87 -100
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/index.es.js +237 -243
- package/dist/createStyled--XbpooZB.js +142 -0
- package/dist/createStyled-CuYz_ckk.cjs +1 -0
- package/dist/createSvgIcon-CUiH3cta.cjs +1 -0
- package/dist/createSvgIcon-D29Io9jD.js +183 -0
- package/dist/createSvgIcon-DTc4Xvfk.cjs +2 -0
- package/dist/createSvgIcon-DvOXtgXV.js +76 -0
- package/dist/error-CRNeivL7.js +5 -0
- package/dist/error-Dk3o6ber.cjs +1 -0
- package/dist/{fr-EMw1nUC-.cjs → fr-C4bcUC-9.cjs} +1 -1
- package/dist/{fr-D92L3a1M.js → fr-CXEmlY0d.js} +13 -13
- package/dist/hooks/lazySvgImport.cjs.js +1 -0
- package/dist/hooks/lazySvgImport.d.ts +7 -0
- package/dist/hooks/lazySvgImport.es.js +34 -0
- package/dist/identifier-CAQ9PWqs.js +3046 -0
- package/dist/identifier-CWIj084w.cjs +50 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +236 -242
- package/dist/isHostComponent-PydJW4A4.cjs +1 -0
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/{ownerWindow-BoRkeomM.js → ownerWindow-C7EH1lr6.js} +2 -2
- package/dist/{refType-YgbJS0xl.cjs → refType-D1DDOFsy.cjs} +1 -1
- package/dist/{refType-BnS1d2D8.js → refType-DiVIFcsY.js} +1 -1
- package/dist/server-error-CeAtUo4S.cjs +1 -0
- package/dist/server-error-DMyaPFs8.js +400 -0
- package/dist/styled-Bt4oYVnF.cjs +17 -0
- package/dist/styled-Co-8YWfm.js +533 -0
- package/dist/useControlled-DKpcyPsg.cjs +3 -0
- package/dist/useControlled-DoRrpN8o.js +48 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/useId-Cw0TtD-8.cjs +1 -0
- package/dist/useIsFocusVisible-Bv_7uvif.cjs +1 -0
- package/dist/useIsFocusVisible-DhASXQ4o.js +69 -0
- package/dist/{useTheme-DzMeSzHc.js → useTheme-1gSw-INq.js} +5 -5
- package/dist/useTheme-Dm6RnXrf.cjs +1 -0
- package/dist/useTheme-HJhneR9g.js +99 -0
- package/dist/useTheme-T2P7WhLG.cjs +1 -0
- package/dist/useThemeProps-BKIVQv3E.js +17 -0
- package/dist/useThemeProps-BfZ3lLQs.js +27 -0
- package/dist/useThemeProps-BpFUkYqe.cjs +1 -0
- package/dist/useThemeProps-Co5ylM0H.cjs +1 -0
- package/dist/useTimeout-BdvDipeg.js +47 -0
- package/dist/useTimeout-XUWYBnl6.cjs +1 -0
- package/package.json +15 -15
- package/dist/Box-BDMtAH2P.cjs +0 -1
- package/dist/Button-By3A0teb.js +0 -454
- package/dist/Button-CBAa7bmK.cjs +0 -1
- package/dist/ButtonBase-D0vqeM8I.js +0 -890
- package/dist/ButtonBase-DePtV_m6.cjs +0 -75
- package/dist/CircularProgress-BRnSv2J2.cjs +0 -28
- package/dist/CircularProgress-BrfcRJbv.js +0 -251
- package/dist/DatePicker-Cw1xQ3Sn.cjs +0 -19
- package/dist/DefaultButton-B2fD87Nn.cjs +0 -1
- package/dist/DefaultButton-B8Qi2O0K.js +0 -353
- package/dist/DefaultPropsProvider-B6IbLm7M.cjs +0 -17
- package/dist/DefaultPropsProvider-QV6PDjPd.js +0 -468
- package/dist/IconButton-BiLAYORS.js +0 -239
- package/dist/IconButton-DE-QtB3Q.cjs +0 -2
- package/dist/InputAdornment-CJbpwt2R.cjs +0 -1
- package/dist/InputBase-LZPaeC-A.cjs +0 -3
- package/dist/InputBase-jbXydPMc.js +0 -802
- package/dist/Stack-D6Kv6y1D.cjs +0 -1
- package/dist/Tabs-CV_eM5RY.js +0 -1222
- package/dist/Tabs-DcqpjpXb.cjs +0 -4
- package/dist/TextField-DAxS82qf.cjs +0 -12
- package/dist/Tooltip-Ma-NowZd.cjs +0 -100
- package/dist/TransitionGroupContext-B5aSBz0G.js +0 -64
- package/dist/TransitionGroupContext-gQFtuZSh.cjs +0 -1
- package/dist/Typography-4kqbsc6q.js +0 -258
- package/dist/Typography-CNQVeQXr.cjs +0 -1
- package/dist/composeClasses-B_ETVugV.cjs +0 -1
- package/dist/composeClasses-zmPRtZOg.js +0 -16
- package/dist/createSvgIcon-B6bEgasO.js +0 -249
- package/dist/createSvgIcon-C92jLZ0q.cjs +0 -2
- package/dist/createSvgIcon-Cdsg9tFu.js +0 -88
- package/dist/createSvgIcon-CrOALbij.cjs +0 -1
- package/dist/extendSxProp-BpSXIdup.js +0 -37
- package/dist/extendSxProp-DVE8Tgj8.cjs +0 -1
- package/dist/identifier-7NboR24y.cjs +0 -59
- package/dist/identifier-Bsv46xiT.js +0 -2930
- package/dist/index-C9spydU3.js +0 -89
- package/dist/index-DHDspyh-.cjs +0 -1
- package/dist/useControlled-Bf7_InaL.cjs +0 -3
- package/dist/useControlled-D59BLg1S.js +0 -48
- package/dist/useEventCallback-BgMlqKLP.js +0 -14
- package/dist/useEventCallback-CrCf96iG.cjs +0 -1
- package/dist/useId-CyGZMA-F.js +0 -19
- package/dist/useId-D5Txt-1B.cjs +0 -1
- package/dist/useTheme-A9inJAFh.cjs +0 -1
- package/dist/useTheme-C0nMwKpp.js +0 -128
- package/dist/useTheme-Zq6D7sUp.cjs +0 -1
- package/dist/useThemeProps-YFPF1eJp.js +0 -40
- package/dist/useThemeProps-r2yCksSx.cjs +0 -1
- package/dist/vite-env.d.cjs.js +0 -1
- package/dist/vite-env.d.es.js +0 -1
package/dist/index-C9spydU3.js
DELETED
|
@@ -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
|
-
};
|
package/dist/index-DHDspyh-.cjs
DELETED
|
@@ -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;
|
package/dist/useId-CyGZMA-F.js
DELETED
|
@@ -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
|
-
};
|
package/dist/useId-D5Txt-1B.cjs
DELETED
|
@@ -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;
|
package/dist/vite-env.d.cjs.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
package/dist/vite-env.d.es.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|