@cgi-learning-hub/ui 1.3.4 → 1.3.5-dev.1736340751
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-CvufxHMY.cjs +1 -0
- package/dist/{Backdrop-BlKt7y1x.js → Backdrop-DcDd6WZF.js} +13 -13
- package/dist/{Box-DErdbtsw.js → Box-Byz2BwGf.js} +10 -10
- package/dist/Box-mP2Th61z.cjs +1 -0
- package/dist/Button-BH9MUvmz.cjs +1 -0
- package/dist/{Button-CiqVGfRs.js → Button-BnNYfQ3E.js} +153 -119
- package/dist/ButtonBase-BXtyQVDC.cjs +74 -0
- package/dist/{ButtonBase-DUPJVOlc.js → ButtonBase-DAWDecOk.js} +42 -41
- package/dist/{Card-mGRk1RuE.js → Card-AJG0TUOx.js} +3 -3
- package/dist/Card-NqCXQteq.cjs +1 -0
- package/dist/{Checkbox-aJ1r7ufI.js → Checkbox-8Rhxpkjl.js} +23 -22
- package/dist/Checkbox-DYrDbdy1.cjs +1 -0
- package/dist/CircularProgress-BByrCLjv.cjs +28 -0
- package/dist/{CircularProgress-CfODO7vI.js → CircularProgress-Kwlef5fX.js} +14 -13
- package/dist/DatePicker-7-4p3Vtj.cjs +14 -0
- package/dist/{DatePicker-Dyf9Vhld.js → DatePicker-BS1OatwQ.js} +549 -546
- package/dist/DefaultPropsProvider-3KMGupjb.cjs +17 -0
- package/dist/DefaultPropsProvider-CvJPQJmL.js +454 -0
- package/dist/{Delete-BOQTx9ze.js → Delete-BkZN7Xu5.js} +1 -1
- package/dist/{Delete-DyzDL8-Y.cjs → Delete-D1EiKoL5.cjs} +1 -1
- package/dist/Dialog-D_lS4J_M.js +415 -0
- package/dist/Dialog-yOrNcHbG.cjs +1 -0
- package/dist/DialogContent-Dj_OjLZ6.cjs +1 -0
- package/dist/DialogContent-uc65XOEU.js +194 -0
- package/dist/DialogTitle-BboPDaoB.cjs +1 -0
- package/dist/{DialogTitle-AQ-YU9PH.js → DialogTitle-C8JOi-rq.js} +43 -42
- package/dist/Divider-CcrM3lNn.cjs +1 -0
- package/dist/{Divider-C0R1SUa4.js → Divider-KO-E6nU8.js} +8 -8
- package/dist/FormControlLabel-Bb6Ul-qQ.cjs +1 -0
- package/dist/{FormControlLabel-w-X91z27.js → FormControlLabel-BmrKQtQA.js} +17 -16
- package/dist/{FormGroup-6NoANcYk.js → FormGroup-CbczEc6e.js} +12 -12
- package/dist/FormGroup-Y3P2AG0i.cjs +1 -0
- package/dist/{FormLabel-CoLJ9tA8.js → FormLabel-CfR4bb21.js} +6 -5
- package/dist/FormLabel-D1uvEhsH.cjs +2 -0
- package/dist/{Grow-SW33sONG.js → Grow-CQVPAYvp.js} +13 -13
- package/dist/Grow-CUBJs6WD.cjs +1 -0
- package/dist/IconButton-CJfzspZK.cjs +2 -0
- package/dist/{IconButton-DjeMTpI5.js → IconButton-CekuyD4r.js} +13 -12
- package/dist/InputAdornment-Cq0WhPxF.cjs +1 -0
- package/dist/{InputAdornment-ByiVSgFT.js → InputAdornment-iU5YnveW.js} +16 -15
- package/dist/{InputBase-CvU0-Zg6.js → InputBase-BJy3wwFB.js} +28 -26
- package/dist/InputBase-s1fk8TB4.cjs +3 -0
- package/dist/Link-CWczkFp0.cjs +1 -0
- package/dist/{Link-Dmwt9wxb.js → Link-CoQuUM0t.js} +11 -10
- package/dist/Menu-Bsx8PA-q.cjs +7 -0
- package/dist/{Menu-4U27Dst1.js → Menu-C7tKmcAh.js} +63 -61
- package/dist/MenuItem-BZ_EVaBq.cjs +1 -0
- package/dist/{MenuItem-CqPsuuC1.js → MenuItem-j8luVUcX.js} +7 -7
- package/dist/Modal-DImrEpYJ.cjs +2 -0
- package/dist/{Modal-D_mqYIr2.js → Modal-brWBFdK7.js} +76 -74
- package/dist/{Paper-D973Ow-i.js → Paper-BG4Vk_Um.js} +4 -4
- package/dist/Paper-Cr56xkCr.cjs +2 -0
- package/dist/{Popper-B8oNZqtn.js → Popper-DFZ_gRev.js} +240 -239
- package/dist/Popper-YT5WAMV-.cjs +4 -0
- package/dist/Portal-DF0RKOcD.cjs +1 -0
- package/dist/{Portal-BKbBRbWN.js → Portal-JEwcozmp.js} +3 -3
- package/dist/Radio-CVAEGXKi.cjs +1 -0
- package/dist/{Radio-BrzQH9pY.js → Radio-DGhot3Cd.js} +21 -20
- package/dist/Select-CwAWNiiv.cjs +3 -0
- package/dist/{Select-CgAPAUTr.js → Select-DmssuG5M.js} +62 -60
- package/dist/{Stack-CYXQpKS2.js → Stack-BzTJdRGj.js} +105 -60
- package/dist/Stack-Yq6rb7iK.cjs +1 -0
- package/dist/SwitchBase-DjIY_KWB.cjs +1 -0
- package/dist/{SwitchBase-CGa9A6SL.js → SwitchBase-Dlth5_F7.js} +38 -37
- package/dist/{TableSortLabel-hvz89Dvu.js → TableSortLabel-BsgRD4k4.js} +1289 -1268
- package/dist/TableSortLabel-D0N3e3cP.cjs +98 -0
- package/dist/{Tabs-BPI2IyPx.js → Tabs-CYbeTnJk.js} +292 -289
- package/dist/Tabs-KG4VWw-1.cjs +4 -0
- package/dist/TextField-BI9KVqjC.cjs +1 -0
- package/dist/{TextField-C4nIxR_t.js → TextField-Cri5Gxa7.js} +20 -19
- package/dist/{Tooltip-Bdrv-e2a.js → Tooltip-BhAHhzKz.js} +32 -30
- package/dist/Tooltip-DhDtvULK.cjs +4 -0
- package/dist/{Typography-CUdlQxLM.js → Typography-DBwTr_ix.js} +13 -12
- package/dist/Typography-DfRMDngd.cjs +1 -0
- package/dist/capitalize-B3GG7Wn6.cjs +1 -0
- package/dist/capitalize-CkF8kU4n.js +9 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +22 -21
- 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/Dialog/Dialog.cjs.js +1 -0
- package/dist/components/Dialog/Dialog.d.ts +6 -0
- package/dist/components/Dialog/Dialog.es.js +28 -0
- package/dist/components/Dialog/index.cjs.js +1 -0
- package/dist/components/Dialog/index.d.ts +2 -0
- package/dist/components/Dialog/index.es.js +4 -0
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -0
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +9 -0
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +44 -0
- package/dist/components/EllipsisWithTooltip/index.cjs.js +1 -0
- package/dist/components/EllipsisWithTooltip/index.d.ts +2 -0
- package/dist/components/EllipsisWithTooltip/index.es.js +4 -0
- 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.d.ts +1 -0
- package/dist/components/ImagePicker/ImagePicker.es.js +29 -28
- 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 +5 -5
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +14 -14
- 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 +7 -3
- package/dist/components/index.es.js +228 -220
- 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 +8 -8
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +5 -5
- 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.d.ts +1 -1
- package/dist/components/stories/Dialog.stories.es.js +26 -14
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +5 -5
- package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +1 -0
- package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +6 -0
- package/dist/components/stories/EllipsisWithTooltip.stories.es.js +36 -0
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +69 -68
- 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/ImagePicker.stories.cjs.js +1 -1
- package/dist/components/stories/ImagePicker.stories.es.js +13 -6
- 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 +16 -16
- 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 +9 -9
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +3 -3
- 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--rEClVU7.cjs +1 -0
- package/dist/{createSvgIcon-CVd3Lo1D.js → createSvgIcon-C8nGcfF4.js} +6 -5
- package/dist/dividerClasses-CCAY3Pnr.cjs +1 -0
- package/dist/{dividerClasses-kN_Ky2Bl.js → dividerClasses-nh2-hkQB.js} +1 -1
- package/dist/{elementTypeAcceptingRef-modXfN2G.js → elementTypeAcceptingRef-D-5kcohU.js} +1 -1
- package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +1 -0
- package/dist/{extendSxProp-CHv0k-C6.js → extendSxProp-C2ff0oGc.js} +1 -1
- package/dist/extendSxProp-apyK-EBz.cjs +1 -0
- package/dist/{fr-rmVQsNbI.js → fr-Bjufn3RW.js} +84 -84
- package/dist/{fr-ChrHtTbj.cjs → fr-JE-1WKP6.cjs} +1 -1
- package/dist/generateUtilityClasses-B_H9HEmg.cjs +59 -0
- package/dist/{identifier-Bn0tF6ls.js → generateUtilityClasses-Bssl7BA_.js} +898 -872
- package/dist/index-Aa73Kpym.cjs +1 -0
- package/dist/{index-CVpJYeY2.js → index-BCnPLuqJ.js} +23 -22
- package/dist/index-ChM1Ett8.cjs +5 -0
- package/dist/index-Cw0GDedk.cjs +17 -0
- package/dist/{index-BNojWn2E.js → index-CwvpOCso.js} +29 -29
- package/dist/index-DXD5J5Eu.js +186 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +228 -220
- package/dist/{memoTheme-BPA1FjB4.cjs → memoTheme-Bdg0Y_2O.cjs} +1 -1
- package/dist/{memoTheme-CMJVTZEg.js → memoTheme-D7Fyh_3C.js} +1 -1
- package/dist/mergeSlotProps-DuV-LTW7.cjs +1 -0
- package/dist/{resolveComponentProps-DHoZOPOi.js → mergeSlotProps-tUJEcwVu.js} +7 -7
- package/dist/refType-CoaxQOPt.cjs +1 -0
- package/dist/refType-DKYKROQk.js +5 -0
- package/dist/useEnhancedEffect-BQZ6dtCo.cjs +1 -0
- package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
- package/dist/useEventCallback-BAQJJ3ye.js +14 -0
- package/dist/useEventCallback-C0-Qw3Sm.cjs +1 -0
- package/dist/{useSlot-t9oGnIgq.js → useSlot-BTpHG6jf.js} +1 -1
- package/dist/useSlot-CByalpSD.cjs +1 -0
- package/dist/useSlotProps-B31YQlzb.js +45 -0
- package/dist/useSlotProps-BVSAQTNl.cjs +1 -0
- package/dist/useTheme-Cy5kyKJF.cjs +1 -0
- package/dist/useTheme-Dukx-__T.cjs +1 -0
- package/dist/useTheme-DyaNKf4e.js +11 -0
- package/dist/{useTheme-CBsFvF7I.js → useTheme-_xyy-wul.js} +1 -1
- package/dist/{useThemeProps-5Bku71LW.js → useThemeProps-BySkSe-M.js} +2 -2
- package/dist/useThemeProps-CdV_QwDl.cjs +1 -0
- package/dist/{useThemeProps-I9EHeqzU.js → useThemeProps-CwEQ4bv2.js} +3 -3
- package/dist/{useThemeProps-C692LOYf.cjs → useThemeProps-u_ESzK2f.cjs} +1 -1
- package/dist/useTimeout-COCrDKz-.cjs +1 -0
- package/dist/useTimeout-CrCYVizI.js +42 -0
- package/dist/{utils-CE_a8glN.js → utils-C6c4fj7D.js} +41 -41
- package/dist/utils-vmyQ2IaS.cjs +1 -0
- package/package.json +1 -1
- package/dist/Backdrop-vSE8W9jq.cjs +0 -1
- package/dist/Box-DMYs7NTb.cjs +0 -1
- package/dist/Button-D3dbHQM1.cjs +0 -1
- package/dist/ButtonBase-BoWeLMzR.cjs +0 -74
- package/dist/Card-Cnh4u4kb.cjs +0 -1
- package/dist/Checkbox-s_RdgUlw.cjs +0 -1
- package/dist/CircularProgress-DHgcUb1c.cjs +0 -28
- package/dist/DatePicker-juzW4bLC.cjs +0 -14
- package/dist/DefaultPropsProvider-Biv7NHew.cjs +0 -17
- package/dist/DefaultPropsProvider-xJkZOrdv.js +0 -487
- package/dist/DialogContent-D1KFPXhr.js +0 -602
- package/dist/DialogContent-Dphl2SKX.cjs +0 -1
- package/dist/DialogTitle-C8AdXsDz.cjs +0 -1
- package/dist/Divider-Bdp8beK-.cjs +0 -1
- package/dist/FormControlLabel-BlO93LTi.cjs +0 -1
- package/dist/FormGroup-D0zSGn42.cjs +0 -1
- package/dist/FormLabel-BkiH7wl7.cjs +0 -2
- package/dist/Grow-DfACa72Q.cjs +0 -1
- package/dist/IconButton-DRs0xB4z.cjs +0 -2
- package/dist/InputAdornment-B1pggfEX.cjs +0 -1
- package/dist/InputBase-Xfjv-RYp.cjs +0 -3
- package/dist/Link-Z_UCBvgV.cjs +0 -1
- package/dist/Menu-DREdNbqu.cjs +0 -7
- package/dist/MenuItem-CN75Du-9.cjs +0 -1
- package/dist/Modal-DWqBsogu.cjs +0 -2
- package/dist/Paper-CjMuucS5.cjs +0 -2
- package/dist/Popper-hzM0y1hA.cjs +0 -4
- package/dist/Portal-Bv2VRYHH.cjs +0 -1
- package/dist/Radio-DxbXYNhR.cjs +0 -1
- package/dist/Select-CL4E8NNL.cjs +0 -3
- package/dist/Stack-WrITLr1B.cjs +0 -1
- package/dist/SwitchBase-Cqh9rxOh.cjs +0 -1
- package/dist/TableSortLabel-mAzX4tAl.cjs +0 -98
- package/dist/Tabs-BNqwYd2G.cjs +0 -4
- package/dist/TextField-Dy0Iblqt.cjs +0 -1
- package/dist/Tooltip-vg27N3PU.cjs +0 -4
- package/dist/Typography-BF9bdWxl.cjs +0 -1
- package/dist/createSvgIcon-BMmqQ2z0.cjs +0 -1
- package/dist/dividerClasses-CyDs_RPD.cjs +0 -1
- package/dist/elementTypeAcceptingRef-5w32V5hP.cjs +0 -1
- package/dist/extendSxProp-6YOo46ig.cjs +0 -1
- package/dist/identifier-Dax8VlUh.cjs +0 -59
- package/dist/index-C5dNuV-2.cjs +0 -5
- package/dist/index-D3PBNx_m.cjs +0 -1
- package/dist/index-OLlWw08I.cjs +0 -1
- package/dist/index-waINWr3i.js +0 -45
- package/dist/refType-BmrOFNz6.js +0 -7
- package/dist/refType-Dm84STBj.cjs +0 -1
- package/dist/resolveComponentProps-4nhUsl3a.cjs +0 -1
- package/dist/useSlot-CJAXUvYJ.cjs +0 -1
- package/dist/useTheme-BIogn5Me.cjs +0 -1
- package/dist/useTheme-Bz4LKMiC.cjs +0 -1
- package/dist/useTheme-L3EQmvnN.js +0 -11
- package/dist/useThemeProps-DNFKz8wS.cjs +0 -1
- package/dist/useTimeout-3Y5y4gWq.js +0 -53
- package/dist/useTimeout-CxOQget6.cjs +0 -1
- package/dist/utils-CusX8Edy.cjs +0 -1
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
|
-
import { H as U, I as D,
|
|
2
|
+
import { H as U, I as D, _ as Oe, P as e, G as fe, J as fo } from "./generateUtilityClasses-Bssl7BA_.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
|
|
6
|
-
import { m as E } from "./memoTheme-
|
|
5
|
+
import { s as h, r as k, u as H, c as z, e as bo } from "./DefaultPropsProvider-CvJPQJmL.js";
|
|
6
|
+
import { m as E } from "./memoTheme-D7Fyh_3C.js";
|
|
7
7
|
import { jsx as v, jsxs as Se } from "react/jsx-runtime";
|
|
8
|
-
import { a as
|
|
9
|
-
import {
|
|
10
|
-
import { r as
|
|
8
|
+
import { a as mo, b as go } from "./FormLabel-CfR4bb21.js";
|
|
9
|
+
import { c as V } from "./capitalize-CkF8kU4n.js";
|
|
10
|
+
import { r as vo } from "./index-DXD5J5Eu.js";
|
|
11
|
+
import { M as yo } from "./Menu-C7tKmcAh.js";
|
|
12
|
+
import { r as G } from "./refType-DKYKROQk.js";
|
|
11
13
|
import { i as ho } from "./utils-DWqc1kRF.js";
|
|
12
14
|
import { u as Ve } from "./useControlled-BYdyS7Pn.js";
|
|
13
15
|
import { u as Xe } from "./useForkRef-C_4o__cU.js";
|
|
14
16
|
import { o as Oo } from "./ownerDocument-CUrv0DIK.js";
|
|
15
17
|
import { u as Co } from "./useId-CK6Kn3Tn.js";
|
|
16
|
-
import { c as Io } from "./createSvgIcon-
|
|
18
|
+
import { c as Io } from "./createSvgIcon-C8nGcfF4.js";
|
|
17
19
|
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-
|
|
20
|
+
import { i as xe, a as we, r as Te, b as Ne, c as Pe, I as $e } from "./InputBase-BJy3wwFB.js";
|
|
21
|
+
import { g as So } from "./utils-C6c4fj7D.js";
|
|
20
22
|
function Ro(o) {
|
|
21
23
|
return U("MuiInput", o);
|
|
22
24
|
}
|
|
@@ -27,7 +29,7 @@ const K = {
|
|
|
27
29
|
const {
|
|
28
30
|
classes: t,
|
|
29
31
|
disableUnderline: n
|
|
30
|
-
} = o, i =
|
|
32
|
+
} = o, i = z({
|
|
31
33
|
root: ["root", !n && "underline"],
|
|
32
34
|
input: ["input"]
|
|
33
35
|
}, Ro, t);
|
|
@@ -356,7 +358,7 @@ de && (de.muiName = "Input");
|
|
|
356
358
|
function No(o) {
|
|
357
359
|
return U("MuiInputLabel", o);
|
|
358
360
|
}
|
|
359
|
-
const
|
|
361
|
+
const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), Po = (o) => {
|
|
360
362
|
const {
|
|
361
363
|
classes: t,
|
|
362
364
|
formControl: n,
|
|
@@ -366,15 +368,15 @@ const It = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
366
368
|
variant: a,
|
|
367
369
|
required: d
|
|
368
370
|
} = o, m = {
|
|
369
|
-
root: ["root", n && "formControl", !p && "animated", i && "shrink", r && r !== "normal" && `size${
|
|
371
|
+
root: ["root", n && "formControl", !p && "animated", i && "shrink", r && r !== "normal" && `size${V(r)}`, a],
|
|
370
372
|
asterisk: [d && "asterisk"]
|
|
371
|
-
}, g =
|
|
373
|
+
}, g = z(m, No, t);
|
|
372
374
|
return {
|
|
373
375
|
...t,
|
|
374
376
|
// forward the focused, disabled, etc. classes to the FormLabel
|
|
375
377
|
...g
|
|
376
378
|
};
|
|
377
|
-
}, $o = h(
|
|
379
|
+
}, $o = h(mo, {
|
|
378
380
|
shouldForwardProp: (o) => k(o) || o === "classes",
|
|
379
381
|
name: "MuiInputLabel",
|
|
380
382
|
slot: "Root",
|
|
@@ -383,7 +385,7 @@ const It = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
383
385
|
ownerState: n
|
|
384
386
|
} = o;
|
|
385
387
|
return [{
|
|
386
|
-
[`& .${
|
|
388
|
+
[`& .${go.asterisk}`]: t.asterisk
|
|
387
389
|
}, t.root, n.formControl && t.formControl, n.size === "small" && t.sizeSmall, n.shrink && t.shrink, !n.disableAnimation && t.animated, n.focused && t.focused, t[n.variant]];
|
|
388
390
|
}
|
|
389
391
|
})(E(({
|
|
@@ -625,9 +627,9 @@ const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
625
627
|
error: a
|
|
626
628
|
} = o, d = {
|
|
627
629
|
select: ["select", n, r && "disabled", i && "multiple", a && "error"],
|
|
628
|
-
icon: ["icon", `icon${
|
|
630
|
+
icon: ["icon", `icon${V(n)}`, p && "iconOpen", r && "disabled"]
|
|
629
631
|
};
|
|
630
|
-
return
|
|
632
|
+
return z(d, Eo, t);
|
|
631
633
|
}, He = h("select")(({
|
|
632
634
|
theme: o
|
|
633
635
|
}) => ({
|
|
@@ -746,9 +748,9 @@ const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
746
748
|
const {
|
|
747
749
|
ownerState: n
|
|
748
750
|
} = o;
|
|
749
|
-
return [t.icon, n.variant && t[`icon${
|
|
751
|
+
return [t.icon, n.variant && t[`icon${V(n.variant)}`], n.open && t.iconOpen];
|
|
750
752
|
}
|
|
751
|
-
})({}),
|
|
753
|
+
})({}), Je = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
752
754
|
const {
|
|
753
755
|
className: r,
|
|
754
756
|
disabled: i,
|
|
@@ -777,7 +779,7 @@ const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
777
779
|
})]
|
|
778
780
|
});
|
|
779
781
|
});
|
|
780
|
-
process.env.NODE_ENV !== "production" && (
|
|
782
|
+
process.env.NODE_ENV !== "production" && (Je.propTypes = {
|
|
781
783
|
/**
|
|
782
784
|
* The option elements to populate the select with.
|
|
783
785
|
* Can be some `<option>` elements.
|
|
@@ -878,7 +880,7 @@ const Bo = h(He, {
|
|
|
878
880
|
const {
|
|
879
881
|
ownerState: n
|
|
880
882
|
} = o;
|
|
881
|
-
return [t.icon, n.variant && t[`icon${
|
|
883
|
+
return [t.icon, n.variant && t[`icon${V(n.variant)}`], n.open && t.iconOpen];
|
|
882
884
|
}
|
|
883
885
|
})({}), Ao = h("input", {
|
|
884
886
|
shouldForwardProp: (o) => bo(o) && o !== "classes",
|
|
@@ -910,11 +912,11 @@ const Do = (o) => {
|
|
|
910
912
|
error: a
|
|
911
913
|
} = o, d = {
|
|
912
914
|
select: ["select", n, r && "disabled", i && "multiple", a && "error"],
|
|
913
|
-
icon: ["icon", `icon${
|
|
915
|
+
icon: ["icon", `icon${V(n)}`, p && "iconOpen", r && "disabled"],
|
|
914
916
|
nativeInput: ["nativeInput"]
|
|
915
917
|
};
|
|
916
|
-
return
|
|
917
|
-
},
|
|
918
|
+
return z(d, Lo, t);
|
|
919
|
+
}, Ye = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
918
920
|
var De;
|
|
919
921
|
const {
|
|
920
922
|
"aria-describedby": r,
|
|
@@ -936,11 +938,11 @@ const Do = (o) => {
|
|
|
936
938
|
name: I,
|
|
937
939
|
onBlur: N,
|
|
938
940
|
onChange: L,
|
|
939
|
-
onClose:
|
|
941
|
+
onClose: J,
|
|
940
942
|
onFocus: be,
|
|
941
|
-
onOpen:
|
|
942
|
-
open:
|
|
943
|
-
readOnly:
|
|
943
|
+
onOpen: Y,
|
|
944
|
+
open: Q,
|
|
945
|
+
readOnly: Z,
|
|
944
946
|
renderValue: ee,
|
|
945
947
|
SelectDisplayProps: B = {},
|
|
946
948
|
tabIndex: $,
|
|
@@ -954,12 +956,12 @@ const Do = (o) => {
|
|
|
954
956
|
default: f,
|
|
955
957
|
name: "Select"
|
|
956
958
|
}), [Me, eo] = Ve({
|
|
957
|
-
controlled:
|
|
959
|
+
controlled: Q,
|
|
958
960
|
default: g,
|
|
959
961
|
name: "Select"
|
|
960
962
|
}), je = u.useRef(null), F = u.useRef(null), [M, oo] = u.useState(null), {
|
|
961
963
|
current: me
|
|
962
|
-
} = u.useRef(
|
|
964
|
+
} = u.useRef(Q != null), [to, Le] = u.useState(), no = Xe(n, T), ro = u.useCallback((s) => {
|
|
963
965
|
F.current = s, s && oo(s);
|
|
964
966
|
}, []), ne = M == null ? void 0 : M.parentNode;
|
|
965
967
|
u.useImperativeHandle(no, () => ({
|
|
@@ -986,7 +988,7 @@ const Do = (o) => {
|
|
|
986
988
|
}
|
|
987
989
|
}, [y]);
|
|
988
990
|
const re = (s, l) => {
|
|
989
|
-
s ?
|
|
991
|
+
s ? Y && Y(l) : J && J(l), me || (Le(a ? null : ne.clientWidth), eo(s));
|
|
990
992
|
}, so = (s) => {
|
|
991
993
|
s.button === 0 && (s.preventDefault(), F.current.focus(), re(!0, s));
|
|
992
994
|
}, ao = (s) => {
|
|
@@ -1016,7 +1018,7 @@ const Do = (o) => {
|
|
|
1016
1018
|
C || re(!1, l);
|
|
1017
1019
|
}
|
|
1018
1020
|
}, po = (s) => {
|
|
1019
|
-
|
|
1021
|
+
Z || [
|
|
1020
1022
|
" ",
|
|
1021
1023
|
"ArrowUp",
|
|
1022
1024
|
"ArrowDown",
|
|
@@ -1043,7 +1045,7 @@ const Do = (o) => {
|
|
|
1043
1045
|
const co = se.map((s) => {
|
|
1044
1046
|
if (!/* @__PURE__ */ u.isValidElement(s))
|
|
1045
1047
|
return null;
|
|
1046
|
-
process.env.NODE_ENV !== "production" &&
|
|
1048
|
+
process.env.NODE_ENV !== "production" && vo.isFragment(s) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
1047
1049
|
`));
|
|
1048
1050
|
let l;
|
|
1049
1051
|
if (C) {
|
|
@@ -1101,7 +1103,7 @@ const Do = (o) => {
|
|
|
1101
1103
|
"aria-labelledby": [y, Ae].filter(Boolean).join(" ") || void 0,
|
|
1102
1104
|
"aria-describedby": r,
|
|
1103
1105
|
onKeyDown: po,
|
|
1104
|
-
onMouseDown: c ||
|
|
1106
|
+
onMouseDown: c || Z ? null : so,
|
|
1105
1107
|
onBlur: uo,
|
|
1106
1108
|
onFocus: be,
|
|
1107
1109
|
...B,
|
|
@@ -1168,7 +1170,7 @@ const Do = (o) => {
|
|
|
1168
1170
|
})]
|
|
1169
1171
|
});
|
|
1170
1172
|
});
|
|
1171
|
-
process.env.NODE_ENV !== "production" && (
|
|
1173
|
+
process.env.NODE_ENV !== "production" && (Ye.propTypes = {
|
|
1172
1174
|
/**
|
|
1173
1175
|
* @ignore
|
|
1174
1176
|
*/
|
|
@@ -1331,9 +1333,9 @@ const j = {
|
|
|
1331
1333
|
hiddenLabel: a,
|
|
1332
1334
|
multiline: d
|
|
1333
1335
|
} = o, m = {
|
|
1334
|
-
root: ["root", !n && "underline", r && "adornedStart", i && "adornedEnd", p === "small" && `size${
|
|
1336
|
+
root: ["root", !n && "underline", r && "adornedStart", i && "adornedEnd", p === "small" && `size${V(p)}`, a && "hiddenLabel", d && "multiline"],
|
|
1335
1337
|
input: ["input"]
|
|
1336
|
-
}, g =
|
|
1338
|
+
}, g = z(m, Vo, t);
|
|
1337
1339
|
return {
|
|
1338
1340
|
...t,
|
|
1339
1341
|
// forward classes to the InputBase
|
|
@@ -1889,7 +1891,7 @@ const Xo = h("fieldset", {
|
|
|
1889
1891
|
}
|
|
1890
1892
|
}]
|
|
1891
1893
|
})));
|
|
1892
|
-
function
|
|
1894
|
+
function Qe(o) {
|
|
1893
1895
|
const {
|
|
1894
1896
|
children: t,
|
|
1895
1897
|
classes: n,
|
|
@@ -1921,7 +1923,7 @@ function Je(o) {
|
|
|
1921
1923
|
})
|
|
1922
1924
|
});
|
|
1923
1925
|
}
|
|
1924
|
-
process.env.NODE_ENV !== "production" && (
|
|
1926
|
+
process.env.NODE_ENV !== "production" && (Qe.propTypes = {
|
|
1925
1927
|
/**
|
|
1926
1928
|
* The content of the component.
|
|
1927
1929
|
*/
|
|
@@ -1953,10 +1955,10 @@ function Go(o) {
|
|
|
1953
1955
|
const P = {
|
|
1954
1956
|
...xe,
|
|
1955
1957
|
...D("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
1956
|
-
},
|
|
1958
|
+
}, Jo = (o) => {
|
|
1957
1959
|
const {
|
|
1958
1960
|
classes: t
|
|
1959
|
-
} = o, r =
|
|
1961
|
+
} = o, r = z({
|
|
1960
1962
|
root: ["root"],
|
|
1961
1963
|
notchedOutline: ["notchedOutline"],
|
|
1962
1964
|
input: ["input"]
|
|
@@ -1966,7 +1968,7 @@ const P = {
|
|
|
1966
1968
|
// forward classes to the InputBase
|
|
1967
1969
|
...r
|
|
1968
1970
|
};
|
|
1969
|
-
},
|
|
1971
|
+
}, Yo = h(we, {
|
|
1970
1972
|
shouldForwardProp: (o) => k(o) || o === "classes",
|
|
1971
1973
|
name: "MuiOutlinedInput",
|
|
1972
1974
|
slot: "Root",
|
|
@@ -2041,7 +2043,7 @@ const P = {
|
|
|
2041
2043
|
}
|
|
2042
2044
|
}]
|
|
2043
2045
|
};
|
|
2044
|
-
})),
|
|
2046
|
+
})), Qo = h(Qe, {
|
|
2045
2047
|
name: "MuiOutlinedInput",
|
|
2046
2048
|
slot: "NotchedOutline",
|
|
2047
2049
|
overridesResolver: (o, t) => t.notchedOutline
|
|
@@ -2052,7 +2054,7 @@ const P = {
|
|
|
2052
2054
|
return {
|
|
2053
2055
|
borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
|
|
2054
2056
|
};
|
|
2055
|
-
})),
|
|
2057
|
+
})), Zo = h(Ne, {
|
|
2056
2058
|
name: "MuiOutlinedInput",
|
|
2057
2059
|
slot: "Input",
|
|
2058
2060
|
overridesResolver: Pe
|
|
@@ -2124,7 +2126,7 @@ const P = {
|
|
|
2124
2126
|
slots: c = {},
|
|
2125
2127
|
type: O = "text",
|
|
2126
2128
|
...R
|
|
2127
|
-
} = i, w =
|
|
2129
|
+
} = i, w = Jo(i), T = Ie(), y = Ce({
|
|
2128
2130
|
props: i,
|
|
2129
2131
|
muiFormControl: T,
|
|
2130
2132
|
states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
|
|
@@ -2140,13 +2142,13 @@ const P = {
|
|
|
2140
2142
|
multiline: g,
|
|
2141
2143
|
size: y.size,
|
|
2142
2144
|
type: O
|
|
2143
|
-
}, C = c.root ?? p.Root ??
|
|
2145
|
+
}, C = c.root ?? p.Root ?? Yo, I = c.input ?? p.Input ?? Zo;
|
|
2144
2146
|
return /* @__PURE__ */ v($e, {
|
|
2145
2147
|
slots: {
|
|
2146
2148
|
root: C,
|
|
2147
2149
|
input: I
|
|
2148
2150
|
},
|
|
2149
|
-
renderSuffix: (N) => /* @__PURE__ */ v(
|
|
2151
|
+
renderSuffix: (N) => /* @__PURE__ */ v(Qo, {
|
|
2150
2152
|
ownerState: x,
|
|
2151
2153
|
className: w.notchedOutline,
|
|
2152
2154
|
label: m != null && m !== "" && y.required ? r || (r = /* @__PURE__ */ Se(u.Fragment, {
|
|
@@ -2342,7 +2344,7 @@ const et = (o) => {
|
|
|
2342
2344
|
overridesResolver: (o, t) => t.root,
|
|
2343
2345
|
shouldForwardProp: (o) => k(o) && o !== "variant",
|
|
2344
2346
|
slot: "Root"
|
|
2345
|
-
}, ot = h(de, Ee)(""), tt = h(ce, Ee)(""), nt = h(ue, Ee)(""),
|
|
2347
|
+
}, ot = h(de, Ee)(""), tt = h(ce, Ee)(""), nt = h(ue, Ee)(""), Ze = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
2346
2348
|
const r = H({
|
|
2347
2349
|
name: "MuiSelect",
|
|
2348
2350
|
props: t
|
|
@@ -2365,15 +2367,15 @@ const et = (o) => {
|
|
|
2365
2367
|
onClose: I,
|
|
2366
2368
|
onOpen: N,
|
|
2367
2369
|
open: L,
|
|
2368
|
-
renderValue:
|
|
2370
|
+
renderValue: J,
|
|
2369
2371
|
SelectDisplayProps: be,
|
|
2370
|
-
variant:
|
|
2371
|
-
...
|
|
2372
|
-
} = r,
|
|
2372
|
+
variant: Y = "outlined",
|
|
2373
|
+
...Q
|
|
2374
|
+
} = r, Z = C ? Je : Ye, ee = Ie(), B = Ce({
|
|
2373
2375
|
props: r,
|
|
2374
2376
|
muiFormControl: ee,
|
|
2375
2377
|
states: ["variant", "error"]
|
|
2376
|
-
}), $ = B.variant ||
|
|
2378
|
+
}), $ = B.variant || Y, q = {
|
|
2377
2379
|
...r,
|
|
2378
2380
|
variant: $,
|
|
2379
2381
|
classes: a
|
|
@@ -2396,7 +2398,7 @@ const et = (o) => {
|
|
|
2396
2398
|
children: /* @__PURE__ */ u.cloneElement(b, {
|
|
2397
2399
|
// Most of the logic is implemented in `SelectInput`.
|
|
2398
2400
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
2399
|
-
inputComponent:
|
|
2401
|
+
inputComponent: Z,
|
|
2400
2402
|
inputProps: {
|
|
2401
2403
|
children: p,
|
|
2402
2404
|
error: B.error,
|
|
@@ -2416,7 +2418,7 @@ const et = (o) => {
|
|
|
2416
2418
|
onClose: I,
|
|
2417
2419
|
onOpen: N,
|
|
2418
2420
|
open: L,
|
|
2419
|
-
renderValue:
|
|
2421
|
+
renderValue: J,
|
|
2420
2422
|
SelectDisplayProps: {
|
|
2421
2423
|
id: c,
|
|
2422
2424
|
...be
|
|
@@ -2435,11 +2437,11 @@ const et = (o) => {
|
|
|
2435
2437
|
...!O && {
|
|
2436
2438
|
variant: $
|
|
2437
2439
|
},
|
|
2438
|
-
...
|
|
2440
|
+
...Q
|
|
2439
2441
|
})
|
|
2440
2442
|
});
|
|
2441
2443
|
});
|
|
2442
|
-
process.env.NODE_ENV !== "production" && (
|
|
2444
|
+
process.env.NODE_ENV !== "production" && (Ze.propTypes = {
|
|
2443
2445
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
2444
2446
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
2445
2447
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -2586,14 +2588,14 @@ process.env.NODE_ENV !== "production" && (Qe.propTypes = {
|
|
|
2586
2588
|
*/
|
|
2587
2589
|
variant: e.oneOf(["filled", "outlined", "standard"])
|
|
2588
2590
|
});
|
|
2589
|
-
|
|
2591
|
+
Ze.muiName = "Select";
|
|
2590
2592
|
export {
|
|
2591
2593
|
ue as F,
|
|
2592
2594
|
de as I,
|
|
2593
2595
|
ce as O,
|
|
2594
|
-
|
|
2596
|
+
Ze as S,
|
|
2595
2597
|
ko as a,
|
|
2596
|
-
|
|
2598
|
+
Rt as b,
|
|
2597
2599
|
No as c,
|
|
2598
2600
|
Lo as d,
|
|
2599
2601
|
Ro as g,
|
|
@@ -1,65 +1,110 @@
|
|
|
1
|
-
import { P as e, M as
|
|
2
|
-
import { b as
|
|
1
|
+
import { P as e, M as P, S as b, U as f, V as N, W as D, X as G, G as R, Y as O } from "./generateUtilityClasses-Bssl7BA_.js";
|
|
2
|
+
import { b as M, s as $, u as E } from "./DefaultPropsProvider-CvJPQJmL.js";
|
|
3
3
|
import * as m from "react";
|
|
4
|
-
import { jsx as
|
|
5
|
-
import { e as
|
|
6
|
-
import { u as
|
|
7
|
-
const
|
|
4
|
+
import { jsx as F } from "react/jsx-runtime";
|
|
5
|
+
import { e as B } from "./extendSxProp-C2ff0oGc.js";
|
|
6
|
+
import { u as w } from "./useThemeProps-BySkSe-M.js";
|
|
7
|
+
const T = (o) => o, U = () => {
|
|
8
|
+
let o = T;
|
|
9
|
+
return {
|
|
10
|
+
configure(r) {
|
|
11
|
+
o = r;
|
|
12
|
+
},
|
|
13
|
+
generate(r) {
|
|
14
|
+
return o(r);
|
|
15
|
+
},
|
|
16
|
+
reset() {
|
|
17
|
+
o = T;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
}, q = U(), A = {
|
|
21
|
+
active: "active",
|
|
22
|
+
checked: "checked",
|
|
23
|
+
completed: "completed",
|
|
24
|
+
disabled: "disabled",
|
|
25
|
+
error: "error",
|
|
26
|
+
expanded: "expanded",
|
|
27
|
+
focused: "focused",
|
|
28
|
+
focusVisible: "focusVisible",
|
|
29
|
+
open: "open",
|
|
30
|
+
readOnly: "readOnly",
|
|
31
|
+
required: "required",
|
|
32
|
+
selected: "selected"
|
|
33
|
+
};
|
|
34
|
+
function _(o, r, n = "Mui") {
|
|
35
|
+
const t = A[r];
|
|
36
|
+
return t ? `${n}-${t}` : `${q.generate(o)}-${r}`;
|
|
37
|
+
}
|
|
38
|
+
const I = M();
|
|
39
|
+
function L(o, r, n = void 0) {
|
|
40
|
+
const t = {};
|
|
41
|
+
for (const i in o) {
|
|
42
|
+
const a = o[i];
|
|
43
|
+
let l = "", u = !0;
|
|
44
|
+
for (let s = 0; s < a.length; s += 1) {
|
|
45
|
+
const c = a[s];
|
|
46
|
+
c && (l += (u === !0 ? "" : " ") + r(c), u = !1, n && n[c] && (l += " " + n[c]));
|
|
47
|
+
}
|
|
48
|
+
t[i] = l;
|
|
49
|
+
}
|
|
50
|
+
return t;
|
|
51
|
+
}
|
|
52
|
+
const W = P(), X = I("div", {
|
|
8
53
|
name: "MuiStack",
|
|
9
54
|
slot: "Root",
|
|
10
55
|
overridesResolver: (o, r) => r.root
|
|
11
56
|
});
|
|
12
|
-
function
|
|
13
|
-
return
|
|
57
|
+
function Y(o) {
|
|
58
|
+
return w({
|
|
14
59
|
props: o,
|
|
15
60
|
name: "MuiStack",
|
|
16
|
-
defaultTheme:
|
|
61
|
+
defaultTheme: W
|
|
17
62
|
});
|
|
18
63
|
}
|
|
19
|
-
function
|
|
20
|
-
const
|
|
21
|
-
return
|
|
22
|
-
key: `separator-${
|
|
23
|
-
})),
|
|
64
|
+
function z(o, r) {
|
|
65
|
+
const n = m.Children.toArray(o).filter(Boolean);
|
|
66
|
+
return n.reduce((t, i, a) => (t.push(i), a < n.length - 1 && t.push(/* @__PURE__ */ m.cloneElement(r, {
|
|
67
|
+
key: `separator-${a}`
|
|
68
|
+
})), t), []);
|
|
24
69
|
}
|
|
25
|
-
const
|
|
70
|
+
const H = (o) => ({
|
|
26
71
|
row: "Left",
|
|
27
72
|
"row-reverse": "Right",
|
|
28
73
|
column: "Top",
|
|
29
74
|
"column-reverse": "Bottom"
|
|
30
|
-
})[o],
|
|
75
|
+
})[o], J = ({
|
|
31
76
|
ownerState: o,
|
|
32
77
|
theme: r
|
|
33
78
|
}) => {
|
|
34
|
-
let
|
|
79
|
+
let n = {
|
|
35
80
|
display: "flex",
|
|
36
81
|
flexDirection: "column",
|
|
37
|
-
...
|
|
82
|
+
...b({
|
|
38
83
|
theme: r
|
|
39
84
|
}, f({
|
|
40
85
|
values: o.direction,
|
|
41
86
|
breakpoints: r.breakpoints.values
|
|
42
|
-
}), (
|
|
43
|
-
flexDirection:
|
|
87
|
+
}), (t) => ({
|
|
88
|
+
flexDirection: t
|
|
44
89
|
}))
|
|
45
90
|
};
|
|
46
91
|
if (o.spacing) {
|
|
47
|
-
const
|
|
92
|
+
const t = N(r), i = Object.keys(r.breakpoints.values).reduce((s, c) => ((typeof o.spacing == "object" && o.spacing[c] != null || typeof o.direction == "object" && o.direction[c] != null) && (s[c] = !0), s), {}), a = f({
|
|
48
93
|
values: o.direction,
|
|
49
94
|
base: i
|
|
50
95
|
}), l = f({
|
|
51
96
|
values: o.spacing,
|
|
52
97
|
base: i
|
|
53
98
|
});
|
|
54
|
-
typeof
|
|
55
|
-
if (!
|
|
56
|
-
const
|
|
57
|
-
|
|
99
|
+
typeof a == "object" && Object.keys(a).forEach((s, c, p) => {
|
|
100
|
+
if (!a[s]) {
|
|
101
|
+
const d = c > 0 ? a[p[c - 1]] : "column";
|
|
102
|
+
a[s] = d;
|
|
58
103
|
}
|
|
59
|
-
}),
|
|
104
|
+
}), n = D(n, b({
|
|
60
105
|
theme: r
|
|
61
|
-
}, l, (s,
|
|
62
|
-
gap:
|
|
106
|
+
}, l, (s, c) => o.useFlexGap ? {
|
|
107
|
+
gap: O(t, s)
|
|
63
108
|
} : {
|
|
64
109
|
// The useFlexGap={false} implement relies on each child to give up control of the margin.
|
|
65
110
|
// We need to reset the margin to avoid double spacing.
|
|
@@ -67,42 +112,42 @@ const W = (o) => ({
|
|
|
67
112
|
margin: 0
|
|
68
113
|
},
|
|
69
114
|
"& > :not(style) ~ :not(style)": {
|
|
70
|
-
[`margin${
|
|
115
|
+
[`margin${H(c ? a[c] : o.direction)}`]: O(t, s)
|
|
71
116
|
}
|
|
72
117
|
}));
|
|
73
118
|
}
|
|
74
|
-
return
|
|
119
|
+
return n = G(r.breakpoints, n), n;
|
|
75
120
|
};
|
|
76
|
-
function
|
|
121
|
+
function K(o = {}) {
|
|
77
122
|
const {
|
|
78
123
|
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
79
|
-
createStyledComponent: r =
|
|
80
|
-
useThemeProps:
|
|
81
|
-
componentName:
|
|
82
|
-
} = o, i = () =>
|
|
124
|
+
createStyledComponent: r = X,
|
|
125
|
+
useThemeProps: n = Y,
|
|
126
|
+
componentName: t = "MuiStack"
|
|
127
|
+
} = o, i = () => L({
|
|
83
128
|
root: ["root"]
|
|
84
|
-
}, (s) =>
|
|
85
|
-
const p =
|
|
86
|
-
component:
|
|
87
|
-
direction:
|
|
88
|
-
spacing:
|
|
129
|
+
}, (s) => _(t, s), {}), a = r(J), l = /* @__PURE__ */ m.forwardRef(function(s, c) {
|
|
130
|
+
const p = n(s), y = B(p), {
|
|
131
|
+
component: d = "div",
|
|
132
|
+
direction: h = "column",
|
|
133
|
+
spacing: k = 0,
|
|
89
134
|
divider: v,
|
|
90
|
-
children:
|
|
135
|
+
children: g,
|
|
91
136
|
className: j,
|
|
92
|
-
useFlexGap:
|
|
93
|
-
...
|
|
94
|
-
} = y,
|
|
95
|
-
direction:
|
|
96
|
-
spacing:
|
|
97
|
-
useFlexGap:
|
|
98
|
-
},
|
|
99
|
-
return /* @__PURE__ */
|
|
100
|
-
as:
|
|
101
|
-
ownerState:
|
|
102
|
-
ref:
|
|
103
|
-
className:
|
|
104
|
-
...
|
|
105
|
-
children: v ?
|
|
137
|
+
useFlexGap: x = !1,
|
|
138
|
+
...C
|
|
139
|
+
} = y, S = {
|
|
140
|
+
direction: h,
|
|
141
|
+
spacing: k,
|
|
142
|
+
useFlexGap: x
|
|
143
|
+
}, V = i();
|
|
144
|
+
return /* @__PURE__ */ F(a, {
|
|
145
|
+
as: d,
|
|
146
|
+
ownerState: S,
|
|
147
|
+
ref: c,
|
|
148
|
+
className: R(V.root, j),
|
|
149
|
+
...C,
|
|
150
|
+
children: v ? z(g, v) : g
|
|
106
151
|
});
|
|
107
152
|
});
|
|
108
153
|
return process.env.NODE_ENV !== "production" && (l.propTypes = {
|
|
@@ -113,18 +158,18 @@ function Y(o = {}) {
|
|
|
113
158
|
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
|
|
114
159
|
}), l;
|
|
115
160
|
}
|
|
116
|
-
const
|
|
117
|
-
createStyledComponent:
|
|
161
|
+
const Q = K({
|
|
162
|
+
createStyledComponent: $("div", {
|
|
118
163
|
name: "MuiStack",
|
|
119
164
|
slot: "Root",
|
|
120
165
|
overridesResolver: (o, r) => r.root
|
|
121
166
|
}),
|
|
122
|
-
useThemeProps: (o) =>
|
|
167
|
+
useThemeProps: (o) => E({
|
|
123
168
|
props: o,
|
|
124
169
|
name: "MuiStack"
|
|
125
170
|
})
|
|
126
171
|
});
|
|
127
|
-
process.env.NODE_ENV !== "production" && (
|
|
172
|
+
process.env.NODE_ENV !== "production" && (Q.propTypes = {
|
|
128
173
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
129
174
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
130
175
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -169,5 +214,5 @@ process.env.NODE_ENV !== "production" && (q.propTypes = {
|
|
|
169
214
|
useFlexGap: e.bool
|
|
170
215
|
});
|
|
171
216
|
export {
|
|
172
|
-
|
|
217
|
+
Q as S
|
|
173
218
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("./generateUtilityClasses-B_H9HEmg.cjs"),d=require("./DefaultPropsProvider-3KMGupjb.cjs"),C=require("react"),V=require("react/jsx-runtime"),D=require("./extendSxProp-apyK-EBz.cjs"),N=require("./useThemeProps-u_ESzK2f.cjs");function R(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(o,s,t.get?t:{enumerable:!0,get:()=>r[s]})}}return o.default=r,Object.freeze(o)}const f=R(C),g=r=>r,q=()=>{let r=g;return{configure(o){r=o},generate(o){return r(o)},reset(){r=g}}},B=q(),G={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function M(r,o,s="Mui"){const t=G[o];return t?`${s}-${t}`:`${B.generate(r)}-${o}`}const $=d.createStyled();function E(r,o,s=void 0){const t={};for(const i in r){const c=r[i];let a="",l=!0;for(let n=0;n<c.length;n+=1){const p=c[n];p&&(a+=(l===!0?"":" ")+o(p),l=!1,s&&s[p]&&(a+=" "+s[p]))}t[i]=a}return t}const w=e.createTheme$1(),F=$("div",{name:"MuiStack",slot:"Root",overridesResolver:(r,o)=>o.root});function _(r){return N.useThemeProps({props:r,name:"MuiStack",defaultTheme:w})}function U(r,o){const s=f.Children.toArray(r).filter(Boolean);return s.reduce((t,i,c)=>(t.push(i),c<s.length-1&&t.push(f.cloneElement(o,{key:`separator-${c}`})),t),[])}const A=r=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[r],z=({ownerState:r,theme:o})=>{let s={display:"flex",flexDirection:"column",...e.handleBreakpoints({theme:o},e.resolveBreakpointValues({values:r.direction,breakpoints:o.breakpoints.values}),t=>({flexDirection:t}))};if(r.spacing){const t=e.createUnarySpacing(o),i=Object.keys(o.breakpoints.values).reduce((n,p)=>((typeof r.spacing=="object"&&r.spacing[p]!=null||typeof r.direction=="object"&&r.direction[p]!=null)&&(n[p]=!0),n),{}),c=e.resolveBreakpointValues({values:r.direction,base:i}),a=e.resolveBreakpointValues({values:r.spacing,base:i});typeof c=="object"&&Object.keys(c).forEach((n,p,u)=>{if(!c[n]){const y=p>0?c[u[p-1]]:"column";c[n]=y}});const l=(n,p)=>r.useFlexGap?{gap:e.getValue(t,n)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${A(p?c[p]:r.direction)}`]:e.getValue(t,n)}};s=e.deepmerge(s,e.handleBreakpoints({theme:o},a,l))}return s=e.mergeBreakpointsInOrder(o.breakpoints,s),s};function I(r={}){const{createStyledComponent:o=F,useThemeProps:s=_,componentName:t="MuiStack"}=r,i=()=>E({root:["root"]},n=>M(t,n),{}),c=o(z),a=f.forwardRef(function(n,p){const u=s(n),T=D.extendSxProp(u),{component:y="div",direction:b="column",spacing:O=0,divider:P,children:m,className:k,useFlexGap:h=!1,...j}=T,x={direction:b,spacing:O,useFlexGap:h},S=i();return V.jsx(c,{as:y,ownerState:x,ref:p,className:e.clsx(S.root,k),...j,children:P?U(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=I({createStyledComponent:d.styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(r,o)=>o.root}),useThemeProps:r=>d.useDefaultProps({props:r,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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const M=require("react"),e=require("./generateUtilityClasses-B_H9HEmg.cjs"),l=require("./DefaultPropsProvider-3KMGupjb.cjs"),V=require("./useFormControl-haP0iPhl.cjs"),B=require("react/jsx-runtime"),$=require("./ButtonBase-BXtyQVDC.cjs"),A=require("./useControlled-Ysk4KqoX.cjs"),G=require("./refType-CoaxQOPt.cjs"),H=require("./capitalize-B3GG7Wn6.cjs");function J(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,a.get?a:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const K=J(M);function Q(o){return e.generateUtilityClass("PrivateSwitchBase",o)}e.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const W=o=>{const{classes:s,checked:r,disabled:a,edge:i}=o,p={root:["root",r&&"checked",a&&"disabled",i&&`edge${H.capitalize(i)}`],input:["input"]};return l.composeClasses(p,Q,s)},X=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}}]}),Y=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=K.forwardRef(function(s,r){const{autoFocus:a,checked:i,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:g,readOnly:I,required:z=!1,tabIndex:v,type:d,value:P,...N}=s,[m,U]=A.useControlled({controlled:i,default:!!f,name:"SwitchBase",state:"checked"}),n=V.useFormControl(),D=t=>{g&&g(t),n&&n.onFocus&&n.onFocus(t)},E=t=>{h&&h(t),n&&n.onBlur&&n.onBlur(t)},_=t=>{if(t.nativeEvent.defaultPrevented)return;const k=t.target.checked;U(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=W(u);return B.jsxs(X,{component:"span",className:e.clsx(T.root,w),centerRipple:!0,focusRipple:!y,disabled:c,tabIndex:null,role:void 0,onFocus:D,onBlur:E,ownerState:u,ref:r,...N,children:[B.jsx(Y,{autoFocus:a,checked:i,defaultChecked:f,className:T.input,disabled:c,id:L?q:void 0,name:j,onChange:_,readOnly:I,ref:O,required:z,ownerState:u,tabIndex:v,type:d,...d==="checkbox"&&P===void 0?{}:{value:P},...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;
|