@cgi-learning-hub/ui 1.3.3-dev.1732784402 → 1.3.3-dev.1732808725
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-BSuIaDsk.js → Backdrop-BlKt7y1x.js} +6 -5
- package/dist/{Backdrop-BUEwtcOd.cjs → Backdrop-vSE8W9jq.cjs} +1 -1
- package/dist/{Box-CVx14c-K.js → Box-DErdbtsw.js} +3 -3
- package/dist/{Box-BvARXG6G.cjs → Box-DMYs7NTb.cjs} +1 -1
- package/dist/{Button-xSM9V58f.js → Button-CiqVGfRs.js} +4 -4
- package/dist/{Button-DiJMVIKA.cjs → Button-D3dbHQM1.cjs} +1 -1
- package/dist/{ButtonBase-D_cXboQo.cjs → ButtonBase-BoWeLMzR.cjs} +1 -1
- package/dist/{ButtonBase-BtobLldH.js → ButtonBase-DUPJVOlc.js} +5 -5
- package/dist/{Card-1pHV30dw.cjs → Card-Cnh4u4kb.cjs} +1 -1
- package/dist/{Card-Dn7s44Fi.js → Card-mGRk1RuE.js} +3 -3
- package/dist/{Checkbox-DLgQLhbi.js → Checkbox-aJ1r7ufI.js} +6 -6
- package/dist/{Checkbox-Dy4M-IzA.cjs → Checkbox-s_RdgUlw.cjs} +1 -1
- package/dist/{CircularProgress-Cgy38XxI.js → CircularProgress-CfODO7vI.js} +3 -3
- package/dist/{CircularProgress-CLqjkGj2.cjs → CircularProgress-DHgcUb1c.cjs} +1 -1
- package/dist/{DatePicker-CkDd1Ei6.js → DatePicker-Dyf9Vhld.js} +2149 -2119
- package/dist/DatePicker-juzW4bLC.cjs +14 -0
- package/dist/DefaultPropsProvider-Biv7NHew.cjs +17 -0
- package/dist/{DefaultPropsProvider-CNauTavr.js → DefaultPropsProvider-xJkZOrdv.js} +145 -142
- package/dist/{Delete-Box1LXsD.js → Delete-BOQTx9ze.js} +1 -1
- package/dist/{Delete-CXp2ebVd.cjs → Delete-DyzDL8-Y.cjs} +1 -1
- package/dist/{DialogContent-GWPkHG99.js → DialogContent-D1KFPXhr.js} +7 -7
- package/dist/{DialogContent-DQzo8ZE4.cjs → DialogContent-Dphl2SKX.cjs} +1 -1
- package/dist/{DialogTitle-CbZEE5Nw.js → DialogTitle-AQ-YU9PH.js} +4 -4
- package/dist/{DialogTitle-CDxMcX7q.cjs → DialogTitle-C8AdXsDz.cjs} +1 -1
- package/dist/{Divider-CU03_ydq.cjs → Divider-Bdp8beK-.cjs} +1 -1
- package/dist/{Divider-CcEBfDwn.js → Divider-C0R1SUa4.js} +4 -4
- package/dist/{FormControlLabel-BRe4vfRM.cjs → FormControlLabel-BlO93LTi.cjs} +1 -1
- package/dist/{FormControlLabel-DmAZ_iUK.js → FormControlLabel-w-X91z27.js} +6 -6
- package/dist/{FormGroup-CAhJZ5Ju.js → FormGroup-6NoANcYk.js} +2 -2
- package/dist/{FormGroup-dgo2gVaM.cjs → FormGroup-D0zSGn42.cjs} +1 -1
- package/dist/{FormLabel-C-_3pX_1.cjs → FormLabel-BkiH7wl7.cjs} +1 -1
- package/dist/{FormLabel-CZwX5vcF.js → FormLabel-CoLJ9tA8.js} +3 -3
- package/dist/{Grow-B7Dfgk3l.cjs → Grow-DfACa72Q.cjs} +1 -1
- package/dist/{Grow-CxD8gGA4.js → Grow-SW33sONG.js} +4 -4
- package/dist/{IconButton-COOf9IHm.cjs → IconButton-DRs0xB4z.cjs} +1 -1
- package/dist/{IconButton-CUZhSa6k.js → IconButton-DjeMTpI5.js} +4 -4
- package/dist/{InputAdornment-C78QPG-l.cjs → InputAdornment-B1pggfEX.cjs} +1 -1
- package/dist/{InputAdornment-CEphHNUR.js → InputAdornment-ByiVSgFT.js} +4 -4
- package/dist/{InputBase-BER0AKzf.js → InputBase-CvU0-Zg6.js} +6 -6
- package/dist/{InputBase-Bc6hWg6r.cjs → InputBase-Xfjv-RYp.cjs} +1 -1
- package/dist/{Link-C4OkVQ2e.js → Link-Dmwt9wxb.js} +6 -6
- package/dist/{Link-XZHjZUP4.cjs → Link-Z_UCBvgV.cjs} +1 -1
- package/dist/{Menu-BClPlLYB.js → Menu-4U27Dst1.js} +10 -10
- package/dist/{Menu-BegYMc1h.cjs → Menu-DREdNbqu.cjs} +1 -1
- package/dist/{MenuItem-Bcf18SMR.cjs → MenuItem-CN75Du-9.cjs} +1 -1
- package/dist/{MenuItem-DueTh_Gl.js → MenuItem-CqPsuuC1.js} +7 -7
- package/dist/{Modal-O_OepXtT.cjs → Modal-DWqBsogu.cjs} +1 -1
- package/dist/{Modal-C8nyxFyr.js → Modal-D_mqYIr2.js} +9 -9
- package/dist/{Paper-DLOsvAcz.cjs → Paper-CjMuucS5.cjs} +1 -1
- package/dist/{Paper-B4gtbx7f.js → Paper-D973Ow-i.js} +4 -4
- package/dist/{Popper-FUj2rW1Y.js → Popper-B8oNZqtn.js} +5 -5
- package/dist/{Popper-2cjbavEE.cjs → Popper-hzM0y1hA.cjs} +1 -1
- package/dist/{Portal-C1LuGWxE.js → Portal-BKbBRbWN.js} +3 -3
- package/dist/{Portal-BVFbTe6U.cjs → Portal-Bv2VRYHH.cjs} +1 -1
- package/dist/{Radio-DN9OAJpN.js → Radio-BrzQH9pY.js} +6 -6
- package/dist/{Radio-Czy8v3oe.cjs → Radio-DxbXYNhR.cjs} +1 -1
- package/dist/{Select-8fZnAPUt.cjs → Select-CL4E8NNL.cjs} +1 -1
- package/dist/{Select-BLSgLuO7.js → Select-CgAPAUTr.js} +9 -9
- package/dist/{Stack-CFTtMTJf.js → Stack-CYXQpKS2.js} +4 -4
- package/dist/{Stack-B5DuAfnN.cjs → Stack-WrITLr1B.cjs} +1 -1
- package/dist/{SwitchBase-B7gcs8QS.js → SwitchBase-CGa9A6SL.js} +4 -4
- package/dist/{SwitchBase-cRh_HjHT.cjs → SwitchBase-Cqh9rxOh.cjs} +1 -1
- package/dist/{TableSortLabel-5tAbCuhW.js → TableSortLabel-hvz89Dvu.js} +191 -130
- package/dist/{TableSortLabel-DlgRz10L.cjs → TableSortLabel-mAzX4tAl.cjs} +2 -2
- package/dist/{Tabs-B0FHRpc8.cjs → Tabs-BNqwYd2G.cjs} +1 -1
- package/dist/{Tabs-LTYyrysg.js → Tabs-BPI2IyPx.js} +10 -10
- package/dist/{TextField-BKXHkdMb.js → TextField-C4nIxR_t.js} +7 -7
- package/dist/{TextField-DFTFrPdm.cjs → TextField-Dy0Iblqt.cjs} +1 -1
- package/dist/{Tooltip-CWoB7Jl-.js → Tooltip-Bdrv-e2a.js} +263 -240
- package/dist/Tooltip-vg27N3PU.cjs +4 -0
- package/dist/{Typography-BJO4ssax.cjs → Typography-BF9bdWxl.cjs} +1 -1
- package/dist/{Typography-DvQqNI3q.js → Typography-CUdlQxLM.js} +4 -4
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +5 -5
- 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 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- 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 +7 -7
- 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 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
- 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.es.js +29 -29
- 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 -1
- package/dist/components/stories/Card.stories.es.js +4 -4
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- 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 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +8 -8
- 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 +2 -2
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +2 -2
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +6 -6
- 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 +4 -4
- 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 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-CWqfguje.cjs → createSvgIcon-BMmqQ2z0.cjs} +1 -1
- package/dist/{createSvgIcon-Dva1lw_G.js → createSvgIcon-CVd3Lo1D.js} +3 -3
- package/dist/{dividerClasses-C-5H3Xd9.cjs → dividerClasses-CyDs_RPD.cjs} +1 -1
- package/dist/{dividerClasses-DFZ2yhIr.js → dividerClasses-kN_Ky2Bl.js} +1 -1
- package/dist/{elementTypeAcceptingRef-9SjLD9kJ.cjs → elementTypeAcceptingRef-5w32V5hP.cjs} +1 -1
- package/dist/{elementTypeAcceptingRef-Dz6KaUIO.js → elementTypeAcceptingRef-modXfN2G.js} +1 -1
- package/dist/{extendSxProp-BFujbxHx.cjs → extendSxProp-6YOo46ig.cjs} +1 -1
- package/dist/{extendSxProp-C7tQAXJa.js → extendSxProp-CHv0k-C6.js} +1 -1
- package/dist/fr-ChrHtTbj.cjs +1 -0
- package/dist/fr-rmVQsNbI.js +312 -0
- package/dist/{identifier-DO6cYBM1.js → identifier-Bn0tF6ls.js} +269 -266
- package/dist/{identifier-QNayb8HH.cjs → identifier-Dax8VlUh.cjs} +18 -18
- package/dist/{index-M6zjgG9s.js → index-BNojWn2E.js} +232 -226
- package/dist/{index-CR-iOppW.cjs → index-C5dNuV-2.cjs} +5 -5
- package/dist/{index-BAySMZLZ.js → index-CVpJYeY2.js} +4 -4
- package/dist/{index-Cff4YJyO.cjs → index-D3PBNx_m.cjs} +1 -1
- package/dist/{index-CQxxtd2n.cjs → index-OLlWw08I.cjs} +1 -1
- package/dist/{index-DW6LIkvv.js → index-waINWr3i.js} +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +29 -29
- package/dist/{memoTheme-ot_2_72n.cjs → memoTheme-BPA1FjB4.cjs} +1 -1
- package/dist/{memoTheme-Ccpl4Op-.js → memoTheme-CMJVTZEg.js} +1 -1
- package/dist/{refType-C1wlAHJ4.js → refType-BmrOFNz6.js} +1 -1
- package/dist/{refType-Cxl-1erN.cjs → refType-Dm84STBj.cjs} +1 -1
- package/dist/{resolveComponentProps-BmTsoZZ8.cjs → resolveComponentProps-4nhUsl3a.cjs} +1 -1
- package/dist/{resolveComponentProps-DLoFDK96.js → resolveComponentProps-DHoZOPOi.js} +1 -1
- package/dist/{useSlot-C5tO59RG.cjs → useSlot-CJAXUvYJ.cjs} +1 -1
- package/dist/{useSlot-DYxPRPQz.js → useSlot-t9oGnIgq.js} +1 -1
- package/dist/{useTheme-DHmIQfAD.cjs → useTheme-BIogn5Me.cjs} +1 -1
- package/dist/{useTheme-Dy7MZePg.cjs → useTheme-Bz4LKMiC.cjs} +1 -1
- package/dist/{useTheme-D1z12Bgs.js → useTheme-CBsFvF7I.js} +1 -1
- package/dist/{useTheme-C3--ZJOU.js → useTheme-L3EQmvnN.js} +3 -3
- package/dist/{useThemeProps-Df6sQGNs.js → useThemeProps-5Bku71LW.js} +2 -2
- package/dist/{useThemeProps-DMPhQCsM.cjs → useThemeProps-C692LOYf.cjs} +1 -1
- package/dist/{useThemeProps-CUWhPmEl.cjs → useThemeProps-DNFKz8wS.cjs} +1 -1
- package/dist/{useThemeProps-CncIFepl.js → useThemeProps-I9EHeqzU.js} +3 -3
- package/dist/{useTimeout-CZbj_p0X.js → useTimeout-3Y5y4gWq.js} +1 -1
- package/dist/{useTimeout-k6ayE1FR.cjs → useTimeout-CxOQget6.cjs} +1 -1
- package/dist/{utils-D1NFkGrL.js → utils-CE_a8glN.js} +1 -1
- package/dist/{utils-CNMzEhu9.cjs → utils-CusX8Edy.cjs} +1 -1
- package/package.json +5 -5
- package/dist/DatePicker-B2X6bsu_.cjs +0 -14
- package/dist/DefaultPropsProvider-CYXbUgly.cjs +0 -17
- package/dist/Tooltip-CUOKECcl.cjs +0 -4
- package/dist/fr-B7lHJR1l.cjs +0 -1
- package/dist/fr-ifknr_Gj.js +0 -307
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
|
-
import { H as U, I as D, W as Oe, P as e, G as fe, L as z, Z as fo } from "./identifier-
|
|
2
|
+
import { H as U, I as D, W as Oe, P as e, G as fe, L as z, Z as fo } from "./identifier-Bn0tF6ls.js";
|
|
3
3
|
import { f as Ce } from "./formControlState-vgaj2ksH.js";
|
|
4
4
|
import { u as Ie } from "./useFormControl-CatNKXAi.js";
|
|
5
|
-
import { s as h, r as k, u as H, c as V, f as bo, e as mo } from "./DefaultPropsProvider-
|
|
6
|
-
import { m as E } from "./memoTheme-
|
|
5
|
+
import { s as h, r as k, u as H, c as V, f as bo, e as mo } from "./DefaultPropsProvider-xJkZOrdv.js";
|
|
6
|
+
import { m as E } from "./memoTheme-CMJVTZEg.js";
|
|
7
7
|
import { jsx as v, jsxs as Se } from "react/jsx-runtime";
|
|
8
|
-
import { a as go, b as vo } from "./FormLabel-
|
|
9
|
-
import { M as yo } from "./Menu-
|
|
10
|
-
import { r as G } from "./refType-
|
|
8
|
+
import { a as go, b as vo } from "./FormLabel-CoLJ9tA8.js";
|
|
9
|
+
import { M as yo } from "./Menu-4U27Dst1.js";
|
|
10
|
+
import { r as G } from "./refType-BmrOFNz6.js";
|
|
11
11
|
import { i as ho } from "./utils-DWqc1kRF.js";
|
|
12
12
|
import { u as Ve } from "./useControlled-BYdyS7Pn.js";
|
|
13
13
|
import { u as Xe } from "./useForkRef-C_4o__cU.js";
|
|
14
14
|
import { o as Oo } from "./ownerDocument-CUrv0DIK.js";
|
|
15
15
|
import { u as Co } from "./useId-CK6Kn3Tn.js";
|
|
16
|
-
import { c as Io } from "./createSvgIcon-
|
|
16
|
+
import { c as Io } from "./createSvgIcon-CVd3Lo1D.js";
|
|
17
17
|
import { c as Re } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
18
|
-
import { i as xe, a as we, r as Te, b as Ne, c as Pe, I as $e } from "./InputBase-
|
|
19
|
-
import { g as So } from "./utils-
|
|
18
|
+
import { i as xe, a as we, r as Te, b as Ne, c as Pe, I as $e } from "./InputBase-CvU0-Zg6.js";
|
|
19
|
+
import { g as So } from "./utils-CE_a8glN.js";
|
|
20
20
|
function Ro(o) {
|
|
21
21
|
return U("MuiInput", o);
|
|
22
22
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { P as e, M as V, S as g, U as f, V as C, W as D, X as R, G as N, H as E, Y as b } from "./identifier-
|
|
2
|
-
import { b as F, c as M, s as B, u as G } from "./DefaultPropsProvider-
|
|
1
|
+
import { P as e, M as V, S as g, U as f, V as C, W as D, X as R, G as N, H as E, Y as b } from "./identifier-Bn0tF6ls.js";
|
|
2
|
+
import { b as F, c as M, s as B, u as G } from "./DefaultPropsProvider-xJkZOrdv.js";
|
|
3
3
|
import * as m from "react";
|
|
4
4
|
import { jsx as w } from "react/jsx-runtime";
|
|
5
|
-
import { e as U } from "./extendSxProp-
|
|
6
|
-
import { u as $ } from "./useThemeProps-
|
|
5
|
+
import { e as U } from "./extendSxProp-CHv0k-C6.js";
|
|
6
|
+
import { u as $ } from "./useThemeProps-5Bku71LW.js";
|
|
7
7
|
const A = F(), _ = V(), H = A("div", {
|
|
8
8
|
name: "MuiStack",
|
|
9
9
|
slot: "Root",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./identifier-
|
|
1
|
+
"use strict";const e=require("./identifier-Dax8VlUh.cjs"),u=require("./DefaultPropsProvider-Biv7NHew.cjs"),S=require("react"),V=require("react/jsx-runtime"),D=require("./extendSxProp-6YOo46ig.cjs"),R=require("./useThemeProps-C692LOYf.cjs");function C(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const n=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(r,s,n.get?n:{enumerable:!0,get:()=>o[s]})}}return r.default=o,Object.freeze(r)}const f=C(S),B=u.createStyled(),N=e.createTheme$1(),q=B("div",{name:"MuiStack",slot:"Root",overridesResolver:(o,r)=>r.root});function E(o){return R.useThemeProps({props:o,name:"MuiStack",defaultTheme:N})}function M(o,r){const s=f.Children.toArray(o).filter(Boolean);return s.reduce((n,i,p)=>(n.push(i),p<s.length-1&&n.push(f.cloneElement(r,{key:`separator-${p}`})),n),[])}const w=o=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[o],F=({ownerState:o,theme:r})=>{let s={display:"flex",flexDirection:"column",...e.handleBreakpoints({theme:r},e.resolveBreakpointValues({values:o.direction,breakpoints:r.breakpoints.values}),n=>({flexDirection:n}))};if(o.spacing){const n=e.createUnarySpacing(r),i=Object.keys(r.breakpoints.values).reduce((t,c)=>((typeof o.spacing=="object"&&o.spacing[c]!=null||typeof o.direction=="object"&&o.direction[c]!=null)&&(t[c]=!0),t),{}),p=e.resolveBreakpointValues({values:o.direction,base:i}),a=e.resolveBreakpointValues({values:o.spacing,base:i});typeof p=="object"&&Object.keys(p).forEach((t,c,y)=>{if(!p[t]){const T=c>0?p[y[c-1]]:"column";p[t]=T}});const l=(t,c)=>o.useFlexGap?{gap:e.getValue(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${w(c?p[c]:o.direction)}`]:e.getValue(n,t)}};s=e.deepmerge(s,e.handleBreakpoints({theme:r},a,l))}return s=e.mergeBreakpointsInOrder(r.breakpoints,s),s};function _(o={}){const{createStyledComponent:r=q,useThemeProps:s=E,componentName:n="MuiStack"}=o,i=()=>{const l={root:["root"]};return u.composeClasses(l,t=>e.generateUtilityClass(n,t),{})},p=r(F),a=f.forwardRef(function(t,c){const y=s(t),d=D.extendSxProp(y),{component:T="div",direction:O="column",spacing:g=0,divider:P,children:m,className:b,useFlexGap:j=!1,...k}=d,h={direction:O,spacing:g,useFlexGap:j},x=i();return V.jsx(p,{as:T,ownerState:h,ref:c,className:e.clsx(x.root,b),...k,children:P?M(m,P):m})});return process.env.NODE_ENV!=="production"&&(a.propTypes={children:e.PropTypes.node,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])}),a}const v=_({createStyledComponent:u.styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(o,r)=>r.root}),useThemeProps:o=>u.useDefaultProps({props:o,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(v.propTypes={children:e.PropTypes.node,component:e.PropTypes.elementType,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),useFlexGap:e.PropTypes.bool});exports.Stack=v;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as D from "react";
|
|
2
|
-
import { H as G, I as H, G as V, P as e, L as _ } from "./identifier-
|
|
3
|
-
import { s as C, r as $, c as A } from "./DefaultPropsProvider-
|
|
2
|
+
import { H as G, I as H, G as V, P as e, L as _ } from "./identifier-Bn0tF6ls.js";
|
|
3
|
+
import { s as C, r as $, c as A } from "./DefaultPropsProvider-xJkZOrdv.js";
|
|
4
4
|
import { u as J } from "./useFormControl-CatNKXAi.js";
|
|
5
5
|
import { jsxs as K, jsx as M } from "react/jsx-runtime";
|
|
6
|
-
import { B as Q } from "./ButtonBase-
|
|
6
|
+
import { B as Q } from "./ButtonBase-DUPJVOlc.js";
|
|
7
7
|
import { u as W } from "./useControlled-BYdyS7Pn.js";
|
|
8
|
-
import { r as X } from "./refType-
|
|
8
|
+
import { r as X } from "./refType-BmrOFNz6.js";
|
|
9
9
|
function Y(s) {
|
|
10
10
|
return G("PrivateSwitchBase", s);
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const M=require("react"),e=require("./identifier-
|
|
1
|
+
"use strict";const M=require("react"),e=require("./identifier-Dax8VlUh.cjs"),l=require("./DefaultPropsProvider-Biv7NHew.cjs"),V=require("./useFormControl-haP0iPhl.cjs"),B=require("react/jsx-runtime"),$=require("./ButtonBase-BoWeLMzR.cjs"),A=require("./useControlled-Ysk4KqoX.cjs"),G=require("./refType-Dm84STBj.cjs");function H(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,i.get?i:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const J=H(M);function K(o){return e.generateUtilityClass("PrivateSwitchBase",o)}e.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Q=o=>{const{classes:s,checked:r,disabled:i,edge:a}=o,p={root:["root",r&&"checked",i&&"disabled",a&&`edge${e.capitalize(a)}`],input:["input"]};return l.composeClasses(p,K,s)},W=l.styled($.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:o,ownerState:s})=>o==="start"&&s.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:o,ownerState:s})=>o==="end"&&s.size!=="small",style:{marginRight:-12}}]}),X=l.styled("input",{shouldForwardProp:l.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),C=J.forwardRef(function(s,r){const{autoFocus:i,checked:a,checkedIcon:p,className:w,defaultChecked:f,disabled:F,disableFocusRipple:y=!1,edge:R=!1,icon:S,id:q,inputProps:x,inputRef:O,name:j,onBlur:h,onChange:b,onFocus:P,readOnly:I,required:v=!1,tabIndex:z,type:d,value:g,...N}=s,[m,D]=A.useControlled({controlled:a,default:!!f,name:"SwitchBase",state:"checked"}),n=V.useFormControl(),E=t=>{P&&P(t),n&&n.onFocus&&n.onFocus(t)},U=t=>{h&&h(t),n&&n.onBlur&&n.onBlur(t)},_=t=>{if(t.nativeEvent.defaultPrevented)return;const k=t.target.checked;D(k),b&&b(t,k)};let c=F;n&&typeof c>"u"&&(c=n.disabled);const L=d==="checkbox"||d==="radio",u={...s,checked:m,disabled:c,disableFocusRipple:y,edge:R},T=Q(u);return B.jsxs(W,{component:"span",className:e.clsx(T.root,w),centerRipple:!0,focusRipple:!y,disabled:c,tabIndex:null,role:void 0,onFocus:E,onBlur:U,ownerState:u,ref:r,...N,children:[B.jsx(X,{autoFocus:i,checked:a,defaultChecked:f,className:T.input,disabled:c,id:L?q:void 0,name:j,onChange:_,readOnly:I,ref:O,required:v,ownerState:u,tabIndex:z,type:d,...d==="checkbox"&&g===void 0?{}:{value:g},...x}),m?p:S]})});process.env.NODE_ENV!=="production"&&(C.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:G.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,sx:e.PropTypes.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});exports.SwitchBase=C;
|