@cgi-learning-hub/ui 1.3.3 → 1.3.4-dev.1733911143
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/Backdrop-DqUdx8FP.cjs +1 -0
- package/dist/Backdrop-ZqzrnV2E.js +360 -0
- package/dist/Box-Be6jhcmK.cjs +1 -0
- package/dist/{Box-UE-zctbJ.js → Box-DN_2fcm9.js} +9 -9
- package/dist/Button-C6UXybBV.cjs +1 -0
- package/dist/{Button-Bjy0iPNm.js → Button-CL9rFoOY.js} +152 -118
- package/dist/{ButtonBase-CFD7NVUc.js → ButtonBase-CYkLbJ0U.js} +232 -240
- package/dist/ButtonBase-DzK1n18b.cjs +74 -0
- package/dist/Card-DO4cAmNC.js +74 -0
- package/dist/Card-DsmqVSx1.cjs +1 -0
- package/dist/Checkbox-Btg05OjV.cjs +1 -0
- package/dist/{Checkbox-Ct5E_6h7.js → Checkbox-CLM5GjuC.js} +27 -26
- package/dist/CircularProgress-BfbGcmHT.cjs +28 -0
- package/dist/{CircularProgress-By02Sdoh.js → CircularProgress-C4xtwh4E.js} +28 -27
- package/dist/DatePicker-BXTOQETi.cjs +14 -0
- package/dist/DatePicker-D9suyaUZ.js +10846 -0
- package/dist/DefaultPropsProvider-DE-Tx_ov.cjs +17 -0
- package/dist/DefaultPropsProvider-DUWovK-8.js +454 -0
- package/dist/Delete-CpADFuIX.cjs +1 -0
- package/dist/Delete-DWXEW4-c.js +8 -0
- package/dist/DialogContent-D_JmqJt6.js +603 -0
- package/dist/DialogContent-gRISmOoj.cjs +1 -0
- package/dist/DialogTitle-CID6RFNo.js +134 -0
- package/dist/DialogTitle-Dhxh1DVb.cjs +1 -0
- package/dist/Divider-BjxxEFnr.cjs +1 -0
- package/dist/Divider-HhF8ckeh.js +296 -0
- package/dist/FormControlLabel-0-cflTuo.js +262 -0
- package/dist/FormControlLabel-C-eZV5Xc.cjs +1 -0
- package/dist/FormGroup-Ck7StJ6i.cjs +1 -0
- package/dist/FormGroup-DIP4u-gv.js +95 -0
- package/dist/FormLabel-Ch103TK-.cjs +2 -0
- package/dist/{FormLabel-B4QlkhhB.js → FormLabel-X7FN1eBV.js} +39 -44
- package/dist/Grow-BgMSa0P2.js +193 -0
- package/dist/Grow-D7OAahbU.cjs +1 -0
- package/dist/{IconButton-Av8eJ5IG.js → IconButton-CMwpC2Co.js} +10 -9
- package/dist/IconButton-DbWtCGLB.cjs +2 -0
- package/dist/{InputAdornment-COPtZlSD.js → InputAdornment-B4hI0-Jz.js} +9 -8
- package/dist/InputAdornment-Cl2OaKlw.cjs +1 -0
- package/dist/InputBase-BuVAuMNp.cjs +3 -0
- package/dist/{InputBase-Bbgoz8GV.js → InputBase-DrofJ7xL.js} +60 -59
- package/dist/Link-AXhb0uJT.cjs +1 -0
- package/dist/Link-Bdupo_fW.js +267 -0
- package/dist/Menu-DR-xtxpt.js +966 -0
- package/dist/Menu-_chQG-Za.cjs +7 -0
- package/dist/{MenuItem-D7HWYhF3.js → MenuItem-C_d0Sc_L.js} +69 -74
- package/dist/MenuItem-De6eStq9.cjs +1 -0
- package/dist/Modal-C4Jb6sd1.js +750 -0
- package/dist/Modal-GXSEk85U.cjs +2 -0
- package/dist/Paper-CH4BABUB.cjs +2 -0
- package/dist/Paper-nlWPEgQh.js +185 -0
- package/dist/Popper-CjTplNLW.cjs +4 -0
- package/dist/Popper-CkAj_qw_.js +1407 -0
- package/dist/Portal-BcFwfiTx.js +86 -0
- package/dist/Portal-BruYsISj.cjs +1 -0
- package/dist/Radio-B0v6nDvz.js +313 -0
- package/dist/Radio-BbZnB74m.cjs +1 -0
- package/dist/Select-BFGwwKap.cjs +3 -0
- package/dist/Select-D9fwtA9U.js +2604 -0
- package/dist/{Stack-y1PjTHKX.js → Stack-C1i6_V9e.js} +105 -60
- package/dist/Stack-DMNZvXss.cjs +1 -0
- package/dist/SwitchBase-BpMNk4XV.cjs +1 -0
- package/dist/{SwitchBase-yCuH0Tqk.js → SwitchBase-DfbwljzN.js} +25 -24
- package/dist/{Tooltip-DO9GIhWC.js → TableSortLabel-DwnLOHOy.js} +2645 -3965
- package/dist/TableSortLabel-lnTBXy-V.cjs +98 -0
- package/dist/{Tabs-DK4Bc5xo.js → Tabs-BoFP2RHv.js} +333 -329
- package/dist/Tabs-DEvwJheI.cjs +4 -0
- package/dist/{TextField-C-B529_r.js → TextField-kwhzNVAL.js} +35 -34
- package/dist/TextField-waKWSLD4.cjs +1 -0
- package/dist/Tooltip-CFyOA9CT.cjs +4 -0
- package/dist/Tooltip-tgkiC77d.js +721 -0
- package/dist/Typography-B6KFjCtE.cjs +1 -0
- package/dist/{Typography-C_ESP41L.js → Typography-DWXYj92v.js} +13 -12
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/capitalize-DASFtB-F.cjs +1 -0
- package/dist/capitalize-NmHVRYy8.js +9 -0
- package/dist/chainPropTypes-CEUi6Jb4.cjs +1 -0
- package/dist/chainPropTypes-D9lkm76m.js +8 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +28 -27
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -5
- package/dist/components/Dropzone/Dropzone.es.js +24 -2162
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- 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 +21 -22
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -0
- package/dist/components/ImagePicker/ImagePicker.d.ts +12 -0
- package/dist/components/ImagePicker/ImagePicker.es.js +174 -0
- package/dist/components/ImagePicker/index.cjs.js +1 -0
- package/dist/components/ImagePicker/index.d.ts +2 -0
- package/dist/components/ImagePicker/index.es.js +4 -0
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +2 -2
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +3 -3
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +8 -7
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- 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 +3 -0
- package/dist/components/index.es.js +276 -262
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.cjs.js +1 -0
- package/dist/components/stories/Card.stories.d.ts +7 -0
- package/dist/components/stories/Card.stories.es.js +193 -0
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +41 -12
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -0
- package/dist/components/stories/Dialog.stories.d.ts +7 -0
- package/dist/components/stories/Dialog.stories.es.js +53 -0
- package/dist/components/stories/Divider.stories.cjs.js +1 -0
- package/dist/components/stories/Divider.stories.d.ts +6 -0
- package/dist/components/stories/Divider.stories.es.js +41 -0
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -0
- package/dist/components/stories/FormControlLabel.stories.d.ts +9 -0
- package/dist/components/stories/FormControlLabel.stories.es.js +379 -0
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +47 -11
- package/dist/components/stories/ImagePicker.stories.cjs.js +1 -0
- package/dist/components/stories/ImagePicker.stories.d.ts +6 -0
- package/dist/components/stories/ImagePicker.stories.es.js +50 -0
- package/dist/components/stories/Link.stories.cjs.js +1 -0
- package/dist/components/stories/Link.stories.d.ts +7 -0
- package/dist/components/stories/Link.stories.es.js +43 -0
- package/dist/components/stories/Menu.stories.cjs.js +1 -0
- package/dist/components/stories/Menu.stories.d.ts +7 -0
- package/dist/components/stories/Menu.stories.es.js +51 -0
- package/dist/components/stories/Paper.stories.cjs.js +1 -0
- package/dist/components/stories/Paper.stories.d.ts +7 -0
- package/dist/components/stories/Paper.stories.es.js +28 -0
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +70 -371
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +140 -90
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -0
- package/dist/components/stories/Tooltip.stories.d.ts +7 -0
- package/dist/components/stories/Tooltip.stories.es.js +46 -0
- package/dist/components/stories/Typography.stories.cjs.js +1 -0
- package/dist/components/stories/Typography.stories.d.ts +6 -0
- package/dist/components/stories/Typography.stories.es.js +65 -0
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/createChainedFunction-CJmlQuW8.cjs +1 -0
- package/dist/{createSvgIcon-DxbvMQd7.js → createSvgIcon-CeuAoIMQ.js} +6 -5
- package/dist/createSvgIcon-eUfAcV0x.cjs +1 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/debounce-DpCj7ugL.cjs +1 -0
- package/dist/dividerClasses-CSD96RzX.cjs +1 -0
- package/dist/dividerClasses-DrJ5oIdP.js +9 -0
- package/dist/elementTypeAcceptingRef-Cz_FeG92.cjs +1 -0
- package/dist/elementTypeAcceptingRef-HBfwF2vD.js +23 -0
- package/dist/extendSxProp-Fr1MMO0I.cjs +1 -0
- package/dist/{extendSxProp-XQwkK0m7.js → extendSxProp-NjjUyYdB.js} +1 -1
- package/dist/formControlState-CuX6WjAX.cjs +1 -0
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/fr-ChrHtTbj.cjs +1 -0
- package/dist/fr-rmVQsNbI.js +312 -0
- package/dist/{identifier-BqadgaK7.js → generateUtilityClasses--6MLb_cS.js} +990 -956
- package/dist/generateUtilityClasses-DEQ18TAF.cjs +59 -0
- package/dist/{index-BUxqDIr9.js → index-B4GmPutS.js} +6 -5
- package/dist/index-BGCIdIru.js +2152 -0
- package/dist/index-BoQHt8iN.cjs +1 -0
- package/dist/index-CRdsZkOC.cjs +17 -0
- package/dist/index-CmEzEdk2.cjs +5 -0
- package/dist/index-XYfXmNqA.js +186 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +276 -262
- package/dist/isFocusVisible-CPZqtjv2.js +12 -0
- package/dist/isFocusVisible-DlSijby6.cjs +2 -0
- package/dist/isHostComponent-PydJW4A4.cjs +1 -0
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/{memoTheme-B6o2KVgJ.cjs → memoTheme-D99chbOP.cjs} +1 -1
- package/dist/{memoTheme-DfGVDRrB.js → memoTheme-o8RCKrNG.js} +1 -1
- package/dist/mergeSlotProps-DSv3FKLb.cjs +1 -0
- package/dist/{resolveComponentProps-CxJ2yAJn.js → mergeSlotProps-KHPCviGJ.js} +7 -7
- package/dist/ownerDocument-4MViGo3k.cjs +1 -0
- package/dist/ownerDocument-CUrv0DIK.js +6 -0
- package/dist/ownerWindow-DDHucZi0.cjs +1 -0
- package/dist/ownerWindow-niciwP7I.js +7 -0
- package/dist/useEnhancedEffect-C9MKL5N4.cjs +1 -0
- package/dist/useEnhancedEffect-DlS7O_-p.js +7 -0
- package/dist/useForkRef-CTI33h-3.cjs +1 -0
- package/dist/useForkRef-C_4o__cU.js +15 -0
- package/dist/useSlot-DsW0udy9.cjs +1 -0
- package/dist/{useSlot-Co14PUn6.js → useSlot-eWxwpnv1.js} +2 -2
- package/dist/useSlotProps--FPRW1CI.cjs +1 -0
- package/dist/{index-CRT92bm7.js → useSlotProps-C7zjg7t9.js} +26 -26
- package/dist/useTheme-B1YEBlI0.cjs +1 -0
- package/dist/useTheme-BXzyKigM.js +11 -0
- package/dist/{useTheme-oM_SFWy4.js → useTheme-D0ITn2Re.js} +1 -1
- package/dist/useTheme-DFJNv-zn.cjs +1 -0
- package/dist/useThemeProps-BwyYDczI.cjs +1 -0
- package/dist/{useThemeProps-BlQ3SLfB.js → useThemeProps-DrCROxdY.js} +2 -2
- package/dist/{useThemeProps-FiA8ivG-.js → useThemeProps-DsDeaP0E.js} +3 -3
- package/dist/{useThemeProps-HLq2mDKk.cjs → useThemeProps-j-HQOOfB.cjs} +1 -1
- package/dist/{useTimeout-D16vpBhn.js → useTimeout-FkIxJmTC.js} +4 -4
- package/dist/useTimeout-NIA-3R5R.cjs +1 -0
- package/dist/utils-70jLtOQP.js +391 -0
- package/dist/utils-BWx1W_q1.cjs +1 -0
- package/dist/utils-DWqc1kRF.js +13 -0
- package/dist/utils-DlWHEABQ.cjs +1 -0
- package/package.json +5 -5
- package/dist/Backdrop-KAJqifAq.cjs +0 -1
- package/dist/Backdrop-RBPtVAPX.js +0 -744
- package/dist/Box-H49yQEt_.cjs +0 -1
- package/dist/Button-qc45QbX6.cjs +0 -1
- package/dist/ButtonBase-UEHzzfUL.cjs +0 -75
- package/dist/Checkbox-CuYTY0gd.cjs +0 -1
- package/dist/CircularProgress-BPHINMQw.cjs +0 -28
- package/dist/DatePicker-rhgpaD-r.cjs +0 -17
- package/dist/DatePicker-u4rtXGeo.js +0 -12791
- package/dist/DefaultPropsProvider-BrX6iuA3.cjs +0 -17
- package/dist/DefaultPropsProvider-CaRoy5OV.js +0 -484
- package/dist/FormGroup-BBYEQB4C.cjs +0 -1
- package/dist/FormGroup-BVtE8Mrv.js +0 -348
- package/dist/FormLabel-D8jYibc1.cjs +0 -2
- package/dist/IconButton-CVyLtjcH.cjs +0 -2
- package/dist/InputAdornment-BJfpEQAa.cjs +0 -1
- package/dist/InputBase-Ctmib7Br.cjs +0 -3
- package/dist/MenuItem-Els-vJZW.cjs +0 -1
- package/dist/Select-BlPQngVF.js +0 -4720
- package/dist/Select-ipcMZ4iK.cjs +0 -11
- package/dist/Stack-CEjx3KHM.cjs +0 -1
- package/dist/SwitchBase-URM3X3YZ.cjs +0 -1
- package/dist/Tabs-Nvk94RTW.cjs +0 -4
- package/dist/TextField-BVAkADOb.cjs +0 -1
- package/dist/Tooltip-DvPL2M0E.cjs +0 -100
- package/dist/Typography-5OodZ94T.cjs +0 -1
- package/dist/createSvgIcon-GU7fqNnI.cjs +0 -1
- package/dist/extendSxProp-D11-pC6h.cjs +0 -1
- package/dist/formControlState-DCkDUdfO.cjs +0 -1
- package/dist/formControlState-DdQP43Uo.js +0 -21
- package/dist/fr-B8_MxRl5.js +0 -307
- package/dist/fr-Nvp7C-vS.cjs +0 -1
- package/dist/identifier-BQH88SE0.cjs +0 -59
- package/dist/index-CNv8ppur.cjs +0 -1
- package/dist/index-D7nFYLYq.cjs +0 -1
- package/dist/ownerWindow-BoRkeomM.js +0 -23
- package/dist/ownerWindow-Dk_4aaak.cjs +0 -1
- package/dist/refType-DlHf9HvO.js +0 -27
- package/dist/refType-Do7KaOvv.cjs +0 -1
- package/dist/resolveComponentProps-DTv6xPbb.cjs +0 -1
- package/dist/useForkRef-D-DyzOXj.js +0 -21
- package/dist/useForkRef-D81w5oMb.cjs +0 -1
- package/dist/useSlot-42jgZftI.cjs +0 -1
- package/dist/useTheme-CtT7O-Wk.js +0 -11
- package/dist/useTheme-cVN-YQNB.cjs +0 -1
- package/dist/useTheme-tZYpFplW.cjs +0 -1
- package/dist/useThemeProps-r0DnR8FJ.cjs +0 -1
- package/dist/useTimeout-DWEGwfTA.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function e(n){return n&&n.ownerDocument||document}exports.ownerDocument=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("./ownerDocument-4MViGo3k.cjs");function e(n){return o.ownerDocument(n).defaultView||window}exports.ownerWindow=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("./generateUtilityClasses-DEQ18TAF.cjs"),f=require("react");function s(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const o=s(f),u=c.PropTypes.oneOfType([c.PropTypes.func,c.PropTypes.object]),a=typeof window<"u"?o.useLayoutEffect:o.useEffect;exports.refType=u;exports.useEnhancedEffect=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("react");function o(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 f=o(c);function u(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function i(...e){return f.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{u(n,t)})},e)}exports.setRef=u;exports.useForkRef=i;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as u from "react";
|
|
2
|
+
function o(n, t) {
|
|
3
|
+
typeof n == "function" ? n(t) : n && (n.current = t);
|
|
4
|
+
}
|
|
5
|
+
function r(...n) {
|
|
6
|
+
return u.useMemo(() => n.every((t) => t == null) ? null : (t) => {
|
|
7
|
+
n.forEach((e) => {
|
|
8
|
+
o(e, t);
|
|
9
|
+
});
|
|
10
|
+
}, n);
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
o as s,
|
|
14
|
+
r as u
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("./mergeSlotProps-DSv3FKLb.cjs"),R=require("./useForkRef-CTI33h-3.cjs");function T(e,n){const{className:P,elementType:w,ownerState:s,externalForwardedProps:F,getSlotOwnerState:l,internalForwardedProps:p,...O}=n,{component:c,slots:t={[e]:void 0},slotProps:g={[e]:void 0},...y}=F,d=t[e]||w,o=r.resolveComponentProps(g[e],s),{props:{component:f,...i},internalRef:k}=r.mergeSlotProps({className:P,...O,externalForwardedProps:e==="root"?y:void 0,externalSlotProps:o}),m=R.useForkRef(k,o==null?void 0:o.ref,n.ref),u=l?l(i):{},x={...s,...u},a=e==="root"?f||c:f,S=r.appendOwnerState(d,{...e==="root"&&!c&&!t[e]&&p,...e!=="root"&&!t[e]&&p,...i,...a&&{as:a},ref:m},x);return Object.keys(u).forEach(C=>{delete S[C]}),[d,S]}exports.useSlot=T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as T, m as h, a as k } from "./
|
|
2
|
-
import { u as E } from "./useForkRef-
|
|
1
|
+
import { r as T, m as h, a as k } from "./mergeSlotProps-KHPCviGJ.js";
|
|
2
|
+
import { u as E } from "./useForkRef-C_4o__cU.js";
|
|
3
3
|
function j(o, r) {
|
|
4
4
|
const {
|
|
5
5
|
className: S,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const v=require("react"),c=require("./generateUtilityClasses-DEQ18TAF.cjs"),S=require("react/jsx-runtime"),s=require("./mergeSlotProps-DSv3FKLb.cjs"),g=require("./useForkRef-CTI33h-3.cjs");function m(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=m(v),p=u.createContext();function i({value:e,...t}){return S.jsx(p.Provider,{value:e??!0,...t})}process.env.NODE_ENV!=="production"&&(i.propTypes={children:c.PropTypes.node,value:c.PropTypes.bool});const y=()=>u.useContext(p)??!1;function b(e){var l;const{elementType:t,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1,...f}=e,n=a?{}:s.resolveComponentProps(r,o),{props:P,internalRef:d}=s.mergeSlotProps({...f,externalSlotProps:n}),R=g.useForkRef(d,n==null?void 0:n.ref,(l=e.additionalProps)==null?void 0:l.ref);return s.appendOwnerState(t,{...P,ref:R},o)}exports.RtlProvider=i;exports.useRtl=y;exports.useSlotProps=b;
|
|
@@ -1,9 +1,24 @@
|
|
|
1
|
-
import { r as P, m as d, a as v } from "./resolveComponentProps-CxJ2yAJn.js";
|
|
2
|
-
import { u as R } from "./useForkRef-D-DyzOXj.js";
|
|
3
1
|
import * as p from "react";
|
|
4
|
-
import { P as n } from "./
|
|
5
|
-
import { jsx as
|
|
6
|
-
|
|
2
|
+
import { P as n } from "./generateUtilityClasses--6MLb_cS.js";
|
|
3
|
+
import { jsx as P } from "react/jsx-runtime";
|
|
4
|
+
import { r as d, m as v, a as R } from "./mergeSlotProps-KHPCviGJ.js";
|
|
5
|
+
import { u as x } from "./useForkRef-C_4o__cU.js";
|
|
6
|
+
const a = /* @__PURE__ */ p.createContext();
|
|
7
|
+
function S({
|
|
8
|
+
value: o,
|
|
9
|
+
...r
|
|
10
|
+
}) {
|
|
11
|
+
return /* @__PURE__ */ P(a.Provider, {
|
|
12
|
+
value: o ?? !0,
|
|
13
|
+
...r
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
process.env.NODE_ENV !== "production" && (S.propTypes = {
|
|
17
|
+
children: n.node,
|
|
18
|
+
value: n.bool
|
|
19
|
+
});
|
|
20
|
+
const k = () => p.useContext(a) ?? !1;
|
|
21
|
+
function w(o) {
|
|
7
22
|
var s;
|
|
8
23
|
const {
|
|
9
24
|
elementType: r,
|
|
@@ -11,35 +26,20 @@ function k(o) {
|
|
|
11
26
|
ownerState: t,
|
|
12
27
|
skipResolvingSlotProps: i = !1,
|
|
13
28
|
...u
|
|
14
|
-
} = o, e = i ? {} :
|
|
29
|
+
} = o, e = i ? {} : d(l, t), {
|
|
15
30
|
props: c,
|
|
16
31
|
internalRef: f
|
|
17
|
-
} =
|
|
32
|
+
} = v({
|
|
18
33
|
...u,
|
|
19
34
|
externalSlotProps: e
|
|
20
|
-
}), m =
|
|
21
|
-
return
|
|
35
|
+
}), m = x(f, e == null ? void 0 : e.ref, (s = o.additionalProps) == null ? void 0 : s.ref);
|
|
36
|
+
return R(r, {
|
|
22
37
|
...c,
|
|
23
38
|
ref: m
|
|
24
39
|
}, t);
|
|
25
40
|
}
|
|
26
|
-
const a = /* @__PURE__ */ p.createContext();
|
|
27
|
-
function S({
|
|
28
|
-
value: o,
|
|
29
|
-
...r
|
|
30
|
-
}) {
|
|
31
|
-
return /* @__PURE__ */ x(a.Provider, {
|
|
32
|
-
value: o ?? !0,
|
|
33
|
-
...r
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
process.env.NODE_ENV !== "production" && (S.propTypes = {
|
|
37
|
-
children: n.node,
|
|
38
|
-
value: n.bool
|
|
39
|
-
});
|
|
40
|
-
const w = () => p.useContext(a) ?? !1;
|
|
41
41
|
export {
|
|
42
42
|
S as R,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
w as a,
|
|
44
|
+
k as u
|
|
45
45
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("react"),s=require("./DefaultPropsProvider-DE-Tx_ov.cjs"),c=require("./generateUtilityClasses-DEQ18TAF.cjs"),o=require("./useTheme-DFJNv-zn.cjs");function i(e){const r=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(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const a=i(u);function l(){const e=o.useTheme(s.defaultTheme);return process.env.NODE_ENV!=="production"&&a.useDebugValue(e),e[c.THEME_ID]||e}exports.useTheme=l;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { d as r } from "./DefaultPropsProvider-DUWovK-8.js";
|
|
3
|
+
import { T as m } from "./generateUtilityClasses--6MLb_cS.js";
|
|
4
|
+
import { u as t } from "./useTheme-D0ITn2Re.js";
|
|
5
|
+
function f() {
|
|
6
|
+
const e = t(r);
|
|
7
|
+
return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e[m] || e;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
f as u
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("./generateUtilityClasses-DEQ18TAF.cjs"),s=require("react"),o=require("@emotion/react");function a(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 i=a(s);function l(e){return Object.keys(e).length===0}function c(e=null){const t=i.useContext(o.ThemeContext);return!t||l(t)?e:t}const m=u.createTheme$1();function f(e=m){return c(e)}exports.useTheme=f;exports.useTheme$1=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("./DefaultPropsProvider-DE-Tx_ov.cjs"),n=require("./generateUtilityClasses-DEQ18TAF.cjs"),s=require("./useThemeProps-j-HQOOfB.cjs");function p(r,e,l,c,o){if(process.env.NODE_ENV==="production")return null;const t=o||e;return typeof r[e]<"u"?new Error(`The prop \`${t}\` is not supported. Please remove it.`):null}function i({props:r,name:e}){return s.useThemeProps({props:r,name:e,defaultTheme:u.defaultTheme,themeId:n.THEME_ID})}exports.unsupportedProp=p;exports.useThemeProps=i;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as t } from "./DefaultPropsProvider-
|
|
2
|
-
import { T as u } from "./
|
|
3
|
-
import { u as p } from "./useThemeProps-
|
|
1
|
+
import { d as t } from "./DefaultPropsProvider-DUWovK-8.js";
|
|
2
|
+
import { T as u } from "./generateUtilityClasses--6MLb_cS.js";
|
|
3
|
+
import { u as p } from "./useThemeProps-DrCROxdY.js";
|
|
4
4
|
function l(o, e, s, m, r) {
|
|
5
5
|
if (process.env.NODE_ENV === "production")
|
|
6
6
|
return null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("./DefaultPropsProvider-
|
|
1
|
+
"use strict";const u=require("./DefaultPropsProvider-DE-Tx_ov.cjs"),p=require("./useTheme-DFJNv-zn.cjs");function n(t){const{theme:e,name:o,props:r}=t;return!e||!e.components||!e.components[o]||!e.components[o].defaultProps?r:u.resolveProps(e.components[o].defaultProps,r)}function m({props:t,name:e,defaultTheme:o,themeId:r}){let s=p.useTheme(o);return r&&(s=s[r]||s),n({theme:s,name:e,props:t})}exports.getThemeProps=n;exports.useThemeProps=m;
|
|
@@ -2,7 +2,7 @@ var i = Object.defineProperty;
|
|
|
2
2
|
var a = (e, t, r) => t in e ? i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var u = (e, t, r) => a(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import * as n from "react";
|
|
5
|
-
import { u as f } from "./
|
|
5
|
+
import { u as f } from "./useEnhancedEffect-DlS7O_-p.js";
|
|
6
6
|
function m(e) {
|
|
7
7
|
const t = n.useRef(e);
|
|
8
8
|
return f(() => {
|
|
@@ -47,7 +47,7 @@ function E() {
|
|
|
47
47
|
}
|
|
48
48
|
export {
|
|
49
49
|
c as T,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
m as a,
|
|
51
|
+
o as b,
|
|
52
|
+
E as u
|
|
53
53
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var f=Object.defineProperty;var a=(e,t,r)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var n=(e,t,r)=>a(e,typeof t!="symbol"?t+"":t,r);const l=require("react"),d=require("./useEnhancedEffect-C9MKL5N4.cjs");function E(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=E(l);function m(e){const t=u.useRef(e);return d.useEnhancedEffect(()=>{t.current=e}),u.useRef((...r)=>(0,t.current)(...r)).current}const i={};function o(e,t){const r=u.useRef(i);return r.current===i&&(r.current=e(t)),r}const I=[];function h(e){u.useEffect(e,I)}class c{constructor(){n(this,"currentId",null);n(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});n(this,"disposeEffect",()=>this.clear)}static create(){return new c}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function b(){const e=o(c.create).current;return h(e.disposeEffect),e}exports.Timeout=c;exports.useEventCallback=m;exports.useLazyRef=o;exports.useTimeout=b;
|
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
import { _ as y, a as C, T as R } from "./TransitionGroupContext-DMJLhY9-.js";
|
|
2
|
+
import { P as n } from "./generateUtilityClasses--6MLb_cS.js";
|
|
3
|
+
import * as k from "react";
|
|
4
|
+
import v from "react";
|
|
5
|
+
import g from "react-dom";
|
|
6
|
+
import { c as S } from "./chainPropTypes-D9lkm76m.js";
|
|
7
|
+
const N = {
|
|
8
|
+
disabled: !1
|
|
9
|
+
};
|
|
10
|
+
var w = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
|
|
11
|
+
enter: n.number,
|
|
12
|
+
exit: n.number,
|
|
13
|
+
appear: n.number
|
|
14
|
+
}).isRequired]) : null, A = process.env.NODE_ENV !== "production" ? n.oneOfType([n.string, n.shape({
|
|
15
|
+
enter: n.string,
|
|
16
|
+
exit: n.string,
|
|
17
|
+
active: n.string
|
|
18
|
+
}), n.shape({
|
|
19
|
+
enter: n.string,
|
|
20
|
+
enterDone: n.string,
|
|
21
|
+
enterActive: n.string,
|
|
22
|
+
exit: n.string,
|
|
23
|
+
exitDone: n.string,
|
|
24
|
+
exitActive: n.string
|
|
25
|
+
})]) : null, I = function(s) {
|
|
26
|
+
return s.scrollTop;
|
|
27
|
+
}, x = "unmounted", l = "exited", c = "entering", h = "entered", T = "exiting", f = /* @__PURE__ */ function(u) {
|
|
28
|
+
y(s, u);
|
|
29
|
+
function s(r, e) {
|
|
30
|
+
var t;
|
|
31
|
+
t = u.call(this, r, e) || this;
|
|
32
|
+
var i = e, o = i && !i.isMounting ? r.enter : r.appear, p;
|
|
33
|
+
return t.appearStatus = null, r.in ? o ? (p = l, t.appearStatus = c) : p = h : r.unmountOnExit || r.mountOnEnter ? p = x : p = l, t.state = {
|
|
34
|
+
status: p
|
|
35
|
+
}, t.nextCallback = null, t;
|
|
36
|
+
}
|
|
37
|
+
s.getDerivedStateFromProps = function(e, t) {
|
|
38
|
+
var i = e.in;
|
|
39
|
+
return i && t.status === x ? {
|
|
40
|
+
status: l
|
|
41
|
+
} : null;
|
|
42
|
+
};
|
|
43
|
+
var a = s.prototype;
|
|
44
|
+
return a.componentDidMount = function() {
|
|
45
|
+
this.updateStatus(!0, this.appearStatus);
|
|
46
|
+
}, a.componentDidUpdate = function(e) {
|
|
47
|
+
var t = null;
|
|
48
|
+
if (e !== this.props) {
|
|
49
|
+
var i = this.state.status;
|
|
50
|
+
this.props.in ? i !== c && i !== h && (t = c) : (i === c || i === h) && (t = T);
|
|
51
|
+
}
|
|
52
|
+
this.updateStatus(!1, t);
|
|
53
|
+
}, a.componentWillUnmount = function() {
|
|
54
|
+
this.cancelNextCallback();
|
|
55
|
+
}, a.getTimeouts = function() {
|
|
56
|
+
var e = this.props.timeout, t, i, o;
|
|
57
|
+
return t = i = o = e, e != null && typeof e != "number" && (t = e.exit, i = e.enter, o = e.appear !== void 0 ? e.appear : i), {
|
|
58
|
+
exit: t,
|
|
59
|
+
enter: i,
|
|
60
|
+
appear: o
|
|
61
|
+
};
|
|
62
|
+
}, a.updateStatus = function(e, t) {
|
|
63
|
+
if (e === void 0 && (e = !1), t !== null)
|
|
64
|
+
if (this.cancelNextCallback(), t === c) {
|
|
65
|
+
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
66
|
+
var i = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this);
|
|
67
|
+
i && I(i);
|
|
68
|
+
}
|
|
69
|
+
this.performEnter(e);
|
|
70
|
+
} else
|
|
71
|
+
this.performExit();
|
|
72
|
+
else this.props.unmountOnExit && this.state.status === l && this.setState({
|
|
73
|
+
status: x
|
|
74
|
+
});
|
|
75
|
+
}, a.performEnter = function(e) {
|
|
76
|
+
var t = this, i = this.props.enter, o = this.context ? this.context.isMounting : e, p = this.props.nodeRef ? [o] : [g.findDOMNode(this), o], d = p[0], m = p[1], b = this.getTimeouts(), D = o ? b.appear : b.enter;
|
|
77
|
+
if (!e && !i || N.disabled) {
|
|
78
|
+
this.safeSetState({
|
|
79
|
+
status: h
|
|
80
|
+
}, function() {
|
|
81
|
+
t.props.onEntered(d);
|
|
82
|
+
});
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
this.props.onEnter(d, m), this.safeSetState({
|
|
86
|
+
status: c
|
|
87
|
+
}, function() {
|
|
88
|
+
t.props.onEntering(d, m), t.onTransitionEnd(D, function() {
|
|
89
|
+
t.safeSetState({
|
|
90
|
+
status: h
|
|
91
|
+
}, function() {
|
|
92
|
+
t.props.onEntered(d, m);
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
}, a.performExit = function() {
|
|
97
|
+
var e = this, t = this.props.exit, i = this.getTimeouts(), o = this.props.nodeRef ? void 0 : g.findDOMNode(this);
|
|
98
|
+
if (!t || N.disabled) {
|
|
99
|
+
this.safeSetState({
|
|
100
|
+
status: l
|
|
101
|
+
}, function() {
|
|
102
|
+
e.props.onExited(o);
|
|
103
|
+
});
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
this.props.onExit(o), this.safeSetState({
|
|
107
|
+
status: T
|
|
108
|
+
}, function() {
|
|
109
|
+
e.props.onExiting(o), e.onTransitionEnd(i.exit, function() {
|
|
110
|
+
e.safeSetState({
|
|
111
|
+
status: l
|
|
112
|
+
}, function() {
|
|
113
|
+
e.props.onExited(o);
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
}, a.cancelNextCallback = function() {
|
|
118
|
+
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
119
|
+
}, a.safeSetState = function(e, t) {
|
|
120
|
+
t = this.setNextCallback(t), this.setState(e, t);
|
|
121
|
+
}, a.setNextCallback = function(e) {
|
|
122
|
+
var t = this, i = !0;
|
|
123
|
+
return this.nextCallback = function(o) {
|
|
124
|
+
i && (i = !1, t.nextCallback = null, e(o));
|
|
125
|
+
}, this.nextCallback.cancel = function() {
|
|
126
|
+
i = !1;
|
|
127
|
+
}, this.nextCallback;
|
|
128
|
+
}, a.onTransitionEnd = function(e, t) {
|
|
129
|
+
this.setNextCallback(t);
|
|
130
|
+
var i = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this), o = e == null && !this.props.addEndListener;
|
|
131
|
+
if (!i || o) {
|
|
132
|
+
setTimeout(this.nextCallback, 0);
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
if (this.props.addEndListener) {
|
|
136
|
+
var p = this.props.nodeRef ? [this.nextCallback] : [i, this.nextCallback], d = p[0], m = p[1];
|
|
137
|
+
this.props.addEndListener(d, m);
|
|
138
|
+
}
|
|
139
|
+
e != null && setTimeout(this.nextCallback, e);
|
|
140
|
+
}, a.render = function() {
|
|
141
|
+
var e = this.state.status;
|
|
142
|
+
if (e === x)
|
|
143
|
+
return null;
|
|
144
|
+
var t = this.props, i = t.children;
|
|
145
|
+
t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
|
|
146
|
+
var o = C(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
147
|
+
return (
|
|
148
|
+
// allows for nested Transitions
|
|
149
|
+
/* @__PURE__ */ v.createElement(R.Provider, {
|
|
150
|
+
value: null
|
|
151
|
+
}, typeof i == "function" ? i(e, o) : v.cloneElement(v.Children.only(i), o))
|
|
152
|
+
);
|
|
153
|
+
}, s;
|
|
154
|
+
}(v.Component);
|
|
155
|
+
f.contextType = R;
|
|
156
|
+
f.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
157
|
+
/**
|
|
158
|
+
* A React reference to DOM element that need to transition:
|
|
159
|
+
* https://stackoverflow.com/a/51127130/4671932
|
|
160
|
+
*
|
|
161
|
+
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
|
162
|
+
* (e.g. `onEnter`) because user already has direct access to the node.
|
|
163
|
+
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
|
164
|
+
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
|
165
|
+
* (see
|
|
166
|
+
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
167
|
+
*/
|
|
168
|
+
nodeRef: n.shape({
|
|
169
|
+
current: typeof Element > "u" ? n.any : function(u, s, a, r, e, t) {
|
|
170
|
+
var i = u[s];
|
|
171
|
+
return n.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(u, s, a, r, e, t);
|
|
172
|
+
}
|
|
173
|
+
}),
|
|
174
|
+
/**
|
|
175
|
+
* A `function` child can be used instead of a React element. This function is
|
|
176
|
+
* called with the current transition status (`'entering'`, `'entered'`,
|
|
177
|
+
* `'exiting'`, `'exited'`), which can be used to apply context
|
|
178
|
+
* specific props to a component.
|
|
179
|
+
*
|
|
180
|
+
* ```jsx
|
|
181
|
+
* <Transition in={this.state.in} timeout={150}>
|
|
182
|
+
* {state => (
|
|
183
|
+
* <MyComponent className={`fade fade-${state}`} />
|
|
184
|
+
* )}
|
|
185
|
+
* </Transition>
|
|
186
|
+
* ```
|
|
187
|
+
*/
|
|
188
|
+
children: n.oneOfType([n.func.isRequired, n.element.isRequired]).isRequired,
|
|
189
|
+
/**
|
|
190
|
+
* Show the component; triggers the enter or exit states
|
|
191
|
+
*/
|
|
192
|
+
in: n.bool,
|
|
193
|
+
/**
|
|
194
|
+
* By default the child component is mounted immediately along with
|
|
195
|
+
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
196
|
+
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
197
|
+
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
198
|
+
*/
|
|
199
|
+
mountOnEnter: n.bool,
|
|
200
|
+
/**
|
|
201
|
+
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
202
|
+
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
203
|
+
*/
|
|
204
|
+
unmountOnExit: n.bool,
|
|
205
|
+
/**
|
|
206
|
+
* By default the child component does not perform the enter transition when
|
|
207
|
+
* it first mounts, regardless of the value of `in`. If you want this
|
|
208
|
+
* behavior, set both `appear` and `in` to `true`.
|
|
209
|
+
*
|
|
210
|
+
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
|
211
|
+
* > only adds an additional enter transition. However, in the
|
|
212
|
+
* > `<CSSTransition>` component that first enter transition does result in
|
|
213
|
+
* > additional `.appear-*` classes, that way you can choose to style it
|
|
214
|
+
* > differently.
|
|
215
|
+
*/
|
|
216
|
+
appear: n.bool,
|
|
217
|
+
/**
|
|
218
|
+
* Enable or disable enter transitions.
|
|
219
|
+
*/
|
|
220
|
+
enter: n.bool,
|
|
221
|
+
/**
|
|
222
|
+
* Enable or disable exit transitions.
|
|
223
|
+
*/
|
|
224
|
+
exit: n.bool,
|
|
225
|
+
/**
|
|
226
|
+
* The duration of the transition, in milliseconds.
|
|
227
|
+
* Required unless `addEndListener` is provided.
|
|
228
|
+
*
|
|
229
|
+
* You may specify a single timeout for all transitions:
|
|
230
|
+
*
|
|
231
|
+
* ```jsx
|
|
232
|
+
* timeout={500}
|
|
233
|
+
* ```
|
|
234
|
+
*
|
|
235
|
+
* or individually:
|
|
236
|
+
*
|
|
237
|
+
* ```jsx
|
|
238
|
+
* timeout={{
|
|
239
|
+
* appear: 500,
|
|
240
|
+
* enter: 300,
|
|
241
|
+
* exit: 500,
|
|
242
|
+
* }}
|
|
243
|
+
* ```
|
|
244
|
+
*
|
|
245
|
+
* - `appear` defaults to the value of `enter`
|
|
246
|
+
* - `enter` defaults to `0`
|
|
247
|
+
* - `exit` defaults to `0`
|
|
248
|
+
*
|
|
249
|
+
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
250
|
+
*/
|
|
251
|
+
timeout: function(s) {
|
|
252
|
+
var a = w;
|
|
253
|
+
s.addEndListener || (a = a.isRequired);
|
|
254
|
+
for (var r = arguments.length, e = new Array(r > 1 ? r - 1 : 0), t = 1; t < r; t++)
|
|
255
|
+
e[t - 1] = arguments[t];
|
|
256
|
+
return a.apply(void 0, [s].concat(e));
|
|
257
|
+
},
|
|
258
|
+
/**
|
|
259
|
+
* Add a custom transition end trigger. Called with the transitioning
|
|
260
|
+
* DOM node and a `done` callback. Allows for more fine grained transition end
|
|
261
|
+
* logic. Timeouts are still used as a fallback if provided.
|
|
262
|
+
*
|
|
263
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
264
|
+
*
|
|
265
|
+
* ```jsx
|
|
266
|
+
* addEndListener={(node, done) => {
|
|
267
|
+
* // use the css transitionend event to mark the finish of a transition
|
|
268
|
+
* node.addEventListener('transitionend', done, false);
|
|
269
|
+
* }}
|
|
270
|
+
* ```
|
|
271
|
+
*/
|
|
272
|
+
addEndListener: n.func,
|
|
273
|
+
/**
|
|
274
|
+
* Callback fired before the "entering" status is applied. An extra parameter
|
|
275
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
276
|
+
*
|
|
277
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
278
|
+
*
|
|
279
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
280
|
+
*/
|
|
281
|
+
onEnter: n.func,
|
|
282
|
+
/**
|
|
283
|
+
* Callback fired after the "entering" status is applied. An extra parameter
|
|
284
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
285
|
+
*
|
|
286
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
287
|
+
*
|
|
288
|
+
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
289
|
+
*/
|
|
290
|
+
onEntering: n.func,
|
|
291
|
+
/**
|
|
292
|
+
* Callback fired after the "entered" status is applied. An extra parameter
|
|
293
|
+
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
294
|
+
*
|
|
295
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
296
|
+
*
|
|
297
|
+
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
298
|
+
*/
|
|
299
|
+
onEntered: n.func,
|
|
300
|
+
/**
|
|
301
|
+
* Callback fired before the "exiting" status is applied.
|
|
302
|
+
*
|
|
303
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
304
|
+
*
|
|
305
|
+
* @type Function(node: HtmlElement) -> void
|
|
306
|
+
*/
|
|
307
|
+
onExit: n.func,
|
|
308
|
+
/**
|
|
309
|
+
* Callback fired after the "exiting" status is applied.
|
|
310
|
+
*
|
|
311
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
312
|
+
*
|
|
313
|
+
* @type Function(node: HtmlElement) -> void
|
|
314
|
+
*/
|
|
315
|
+
onExiting: n.func,
|
|
316
|
+
/**
|
|
317
|
+
* Callback fired after the "exited" status is applied.
|
|
318
|
+
*
|
|
319
|
+
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
320
|
+
*
|
|
321
|
+
* @type Function(node: HtmlElement) -> void
|
|
322
|
+
*/
|
|
323
|
+
onExited: n.func
|
|
324
|
+
} : {};
|
|
325
|
+
function E() {
|
|
326
|
+
}
|
|
327
|
+
f.defaultProps = {
|
|
328
|
+
in: !1,
|
|
329
|
+
mountOnEnter: !1,
|
|
330
|
+
unmountOnExit: !1,
|
|
331
|
+
appear: !1,
|
|
332
|
+
enter: !0,
|
|
333
|
+
exit: !0,
|
|
334
|
+
onEnter: E,
|
|
335
|
+
onEntering: E,
|
|
336
|
+
onEntered: E,
|
|
337
|
+
onExit: E,
|
|
338
|
+
onExiting: E,
|
|
339
|
+
onExited: E
|
|
340
|
+
};
|
|
341
|
+
f.UNMOUNTED = x;
|
|
342
|
+
f.EXITED = l;
|
|
343
|
+
f.ENTERING = c;
|
|
344
|
+
f.ENTERED = h;
|
|
345
|
+
f.EXITING = T;
|
|
346
|
+
function M(u) {
|
|
347
|
+
const {
|
|
348
|
+
prototype: s = {}
|
|
349
|
+
} = u;
|
|
350
|
+
return !!s.isReactComponent;
|
|
351
|
+
}
|
|
352
|
+
function O(u, s, a, r, e) {
|
|
353
|
+
const t = u[s], i = e || s;
|
|
354
|
+
if (t == null || // When server-side rendering React doesn't warn either.
|
|
355
|
+
// This is not an accurate check for SSR.
|
|
356
|
+
// This is only in place for Emotion compat.
|
|
357
|
+
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
358
|
+
typeof window > "u")
|
|
359
|
+
return null;
|
|
360
|
+
let o;
|
|
361
|
+
const p = t.type;
|
|
362
|
+
return typeof p == "function" && !M(p) && (o = "Did you accidentally use a plain function component for an element instead?"), o !== void 0 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${o} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
363
|
+
}
|
|
364
|
+
const P = S(n.element, O);
|
|
365
|
+
P.isRequired = S(n.element.isRequired, O);
|
|
366
|
+
function F(u) {
|
|
367
|
+
var s;
|
|
368
|
+
return parseInt(k.version, 10) >= 19 ? ((s = u == null ? void 0 : u.props) == null ? void 0 : s.ref) || null : (u == null ? void 0 : u.ref) || null;
|
|
369
|
+
}
|
|
370
|
+
const X = (u) => u.scrollTop;
|
|
371
|
+
function $(u, s) {
|
|
372
|
+
const {
|
|
373
|
+
timeout: a,
|
|
374
|
+
easing: r,
|
|
375
|
+
style: e = {}
|
|
376
|
+
} = u;
|
|
377
|
+
return {
|
|
378
|
+
duration: e.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
|
|
379
|
+
easing: e.transitionTimingFunction ?? (typeof r == "object" ? r[s.mode] : r),
|
|
380
|
+
delay: e.transitionDelay
|
|
381
|
+
};
|
|
382
|
+
}
|
|
383
|
+
export {
|
|
384
|
+
f as T,
|
|
385
|
+
$ as a,
|
|
386
|
+
A as c,
|
|
387
|
+
P as e,
|
|
388
|
+
I as f,
|
|
389
|
+
F as g,
|
|
390
|
+
X as r
|
|
391
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function r(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function n(t,e=!1){return t&&(r(t.value)&&t.value!==""||e&&r(t.defaultValue)&&t.defaultValue!=="")}function l(t){return t.startAdornment}exports.isAdornedStart=l;exports.isFilled=n;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
function t(r) {
|
|
2
|
+
return r != null && !(Array.isArray(r) && r.length === 0);
|
|
3
|
+
}
|
|
4
|
+
function e(r, a = !1) {
|
|
5
|
+
return r && (t(r.value) && r.value !== "" || a && t(r.defaultValue) && r.defaultValue !== "");
|
|
6
|
+
}
|
|
7
|
+
function n(r) {
|
|
8
|
+
return r.startAdornment;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
n as a,
|
|
12
|
+
e as i
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const v=require("./TransitionGroupContext-DbXD5xqS.cjs"),n=require("./generateUtilityClasses-DEQ18TAF.cjs"),m=require("react"),x=require("react-dom"),N=require("./chainPropTypes-CEUi6Jb4.cjs");function C(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const o in s)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(s,o);Object.defineProperty(a,o,i.get?i:{enumerable:!0,get:()=>s[o]})}}return a.default=s,Object.freeze(a)}const k=C(m),b={disabled:!1};var w=process.env.NODE_ENV!=="production"?n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.shape({enter:n.PropTypes.number,exit:n.PropTypes.number,appear:n.PropTypes.number}).isRequired]):null,q=process.env.NODE_ENV!=="production"?n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.shape({enter:n.PropTypes.string,exit:n.PropTypes.string,active:n.PropTypes.string}),n.PropTypes.shape({enter:n.PropTypes.string,enterDone:n.PropTypes.string,enterActive:n.PropTypes.string,exit:n.PropTypes.string,exitDone:n.PropTypes.string,exitActive:n.PropTypes.string})]):null,R=function(a){return a.scrollTop},y="unmounted",l="exited",f="entering",h="entered",P="exiting",c=function(s){v._inheritsLoose(a,s);function a(i,t){var e;e=s.call(this,i,t)||this;var r=t,p=r&&!r.isMounting?i.enter:i.appear,u;return e.appearStatus=null,i.in?p?(u=l,e.appearStatus=f):u=h:i.unmountOnExit||i.mountOnEnter?u=y:u=l,e.state={status:u},e.nextCallback=null,e}a.getDerivedStateFromProps=function(t,e){var r=t.in;return r&&e.status===y?{status:l}:null};var o=a.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==f&&r!==h&&(e=f):(r===f||r===h)&&(e=P)}this.updateStatus(!1,e)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var t=this.props.timeout,e,r,p;return e=r=p=t,t!=null&&typeof t!="number"&&(e=t.exit,r=t.enter,p=t.appear!==void 0?t.appear:r),{exit:e,enter:r,appear:p}},o.updateStatus=function(t,e){if(t===void 0&&(t=!1),e!==null)if(this.cancelNextCallback(),e===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:x.findDOMNode(this);r&&R(r)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:y})},o.performEnter=function(t){var e=this,r=this.props.enter,p=this.context?this.context.isMounting:t,u=this.props.nodeRef?[p]:[x.findDOMNode(this),p],d=u[0],T=u[1],g=this.getTimeouts(),D=p?g.appear:g.enter;if(!t&&!r||b.disabled){this.safeSetState({status:h},function(){e.props.onEntered(d)});return}this.props.onEnter(d,T),this.safeSetState({status:f},function(){e.props.onEntering(d,T),e.onTransitionEnd(D,function(){e.safeSetState({status:h},function(){e.props.onEntered(d,T)})})})},o.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),p=this.props.nodeRef?void 0:x.findDOMNode(this);if(!e||b.disabled){this.safeSetState({status:l},function(){t.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:P},function(){t.props.onExiting(p),t.onTransitionEnd(r.exit,function(){t.safeSetState({status:l},function(){t.props.onExited(p)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},o.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(p){r&&(r=!1,e.nextCallback=null,t(p))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},o.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:x.findDOMNode(this),p=t==null&&!this.props.addEndListener;if(!r||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],d=u[0],T=u[1];this.props.addEndListener(d,T)}t!=null&&setTimeout(this.nextCallback,t)},o.render=function(){var t=this.state.status;if(t===y)return null;var e=this.props,r=e.children;e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef;var p=v._objectWithoutPropertiesLoose(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(v.TransitionGroupContext.Provider,{value:null},typeof r=="function"?r(t,p):m.cloneElement(m.Children.only(r),p))},a}(m.Component);c.contextType=v.TransitionGroupContext;c.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:n.PropTypes.shape({current:typeof Element>"u"?n.PropTypes.any:function(s,a,o,i,t,e){var r=s[a];return n.PropTypes.instanceOf(r&&"ownerDocument"in r?r.ownerDocument.defaultView.Element:Element)(s,a,o,i,t,e)}}),children:n.PropTypes.oneOfType([n.PropTypes.func.isRequired,n.PropTypes.element.isRequired]).isRequired,in:n.PropTypes.bool,mountOnEnter:n.PropTypes.bool,unmountOnExit:n.PropTypes.bool,appear:n.PropTypes.bool,enter:n.PropTypes.bool,exit:n.PropTypes.bool,timeout:function(a){var o=w;a.addEndListener||(o=o.isRequired);for(var i=arguments.length,t=new Array(i>1?i-1:0),e=1;e<i;e++)t[e-1]=arguments[e];return o.apply(void 0,[a].concat(t))},addEndListener:n.PropTypes.func,onEnter:n.PropTypes.func,onEntering:n.PropTypes.func,onEntered:n.PropTypes.func,onExit:n.PropTypes.func,onExiting:n.PropTypes.func,onExited:n.PropTypes.func}:{};function E(){}c.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E};c.UNMOUNTED=y;c.EXITED=l;c.ENTERING=f;c.ENTERED=h;c.EXITING=P;function M(s){const{prototype:a={}}=s;return!!a.isReactComponent}function O(s,a,o,i,t){const e=s[a],r=t||a;if(e==null||typeof window>"u")return null;let p;const u=e.type;return typeof u=="function"&&!M(u)&&(p="Did you accidentally use a plain function component for an element instead?"),p!==void 0?new Error(`Invalid ${i} \`${r}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const S=N.chainPropTypes(n.PropTypes.element,O);S.isRequired=N.chainPropTypes(n.PropTypes.element.isRequired,O);function I(s){var a;return parseInt(k.version,10)>=19?((a=s==null?void 0:s.props)==null?void 0:a.ref)||null:(s==null?void 0:s.ref)||null}const L=s=>s.scrollTop;function U(s,a){const{timeout:o,easing:i,style:t={}}=s;return{duration:t.transitionDuration??(typeof o=="number"?o:o[a.mode]||0),easing:t.transitionTimingFunction??(typeof i=="object"?i[a.mode]:i),delay:t.transitionDelay}}exports.Transition=c;exports.classNamesShape=q;exports.elementAcceptingRef=S;exports.forceReflow=R;exports.getReactElementRef=I;exports.getTransitionProps=U;exports.reflow=L;
|