@cgi-learning-hub/ui 1.4.0-dev.1740498210 → 1.4.0-dev.1741004759
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-DdA12b-5.js → Backdrop-BctCVgLy.js} +5 -5
- package/dist/Backdrop-DWp3AktL.cjs +1 -0
- package/dist/Box-DYA49L7w.cjs +1 -0
- package/dist/{Box-DbRInJ2-.js → Box-DgqaLb7j.js} +3 -3
- package/dist/{Button-rxIER0bL.js → Button-B7kOjNW1.js} +147 -113
- package/dist/Button-UmeKHfcL.cjs +1 -0
- package/dist/{ButtonBase-C2rhY3j-.cjs → ButtonBase-D6tfI-8D.cjs} +1 -1
- package/dist/{ButtonBase-DzpmdR6N.js → ButtonBase-IZ_QjbpE.js} +4 -4
- package/dist/CardContent-5bW4A4d2.cjs +1 -0
- package/dist/{CardContent-u1MKaFvP.js → CardContent-F4-KcZH8.js} +3 -3
- package/dist/Checkbox-DQgPXaym.cjs +1 -0
- package/dist/{Checkbox-BI77q7eR.js → Checkbox-qUSjau0g.js} +23 -22
- package/dist/Chip-BTnuWGEU.cjs +1 -0
- package/dist/{Chip-6-zATjcr.js → Chip-OpRIs-sL.js} +50 -49
- package/dist/{CircularProgress-CDa_qU1a.js → CircularProgress-CQxzJquv.js} +14 -13
- package/dist/CircularProgress-cPXhiRlM.cjs +28 -0
- package/dist/{CloseRounded-DTpqUeWr.js → CloseRounded-BMEGLs8y.js} +1 -1
- package/dist/{CloseRounded-DQWTEbNz.cjs → CloseRounded-BRXBizmR.cjs} +1 -1
- package/dist/{DatePicker-BTTLIBm9.js → DatePicker-C6MCYjpp.js} +529 -526
- package/dist/DatePicker-CTIqTlNQ.cjs +14 -0
- package/dist/{DefaultPropsProvider-BcmyIf2H.js → DefaultPropsProvider-Cqcb4sws.js} +27 -27
- package/dist/DefaultPropsProvider-wpBXjN8r.cjs +1 -0
- package/dist/Dialog-B1wnk5BT.cjs +1 -0
- package/dist/{Dialog-CgBiKk8B.js → Dialog-CKS7yjT5.js} +17 -16
- package/dist/{DialogContent-SYCCu1VD.js → DialogContent-BzPaz5G8.js} +3 -3
- package/dist/DialogContent-DcZz4rBc.cjs +1 -0
- package/dist/{DialogTitle-_yayDwkI.js → DialogTitle-D3E_lDHD.js} +5 -5
- package/dist/DialogTitle-mr9xn4JZ.cjs +1 -0
- package/dist/{Divider-Doy31VS6.js → Divider-D-pZeQTm.js} +4 -4
- package/dist/Divider-D3hPb7s4.cjs +1 -0
- package/dist/{FormLabel-DjkS3S9h.js → FormLabel-3-CC-ZGw.js} +12 -11
- package/dist/FormLabel-BV7-a0i5.cjs +2 -0
- package/dist/{Grow-DPD-iBAX.js → Grow-DKgYCxiY.js} +3 -3
- package/dist/Grow-Z3KzFaK5.cjs +1 -0
- package/dist/{IconButton-B4bt0Hp2.js → IconButton-CCNUMz2l.js} +27 -26
- package/dist/IconButton-CVOPR4EM.cjs +2 -0
- package/dist/InputAdornment-CwFEJSXv.cjs +1 -0
- package/dist/{InputAdornment-GzDm1zf_.js → InputAdornment-DL8XIM8r.js} +9 -8
- package/dist/{InputBase-CF5oNEfh.js → InputBase-By7jMrFP.js} +41 -40
- package/dist/InputBase-Cejvjv1E.cjs +3 -0
- package/dist/Link-2ncpUcIp.cjs +1 -0
- package/dist/{Link-CnahHTmK.js → Link-C_GPIs0q.js} +11 -10
- package/dist/{Menu-DzBX10ev.js → Menu-BunOW0ot.js} +28 -28
- package/dist/{Menu-C-R0FVOB.cjs → Menu-Cngt8Va9.cjs} +6 -6
- package/dist/MenuItem-Bha8aBMr.cjs +1 -0
- package/dist/{MenuItem-DQQ-p2ie.js → MenuItem-Cu3FTLl8.js} +6 -6
- package/dist/{Modal-B8JRJWm0.js → Modal-DTJd7JJ6.js} +8 -8
- package/dist/{Modal-D8lS9C1l.cjs → Modal-u82Ss4h_.cjs} +2 -2
- package/dist/{Paper-CbgkVQVx.js → Paper-BiZq6EF2.js} +4 -4
- package/dist/Paper-EvOTlB_Q.cjs +2 -0
- package/dist/Popper-BVYscbsI.cjs +4 -0
- package/dist/{Popper-1-DDNRPD.js → Popper-DjwR55WH.js} +5 -5
- package/dist/{Portal-T-1Qk77D.js → Portal-BByeByPq.js} +2 -2
- package/dist/Portal-DUHpWdY1.cjs +1 -0
- package/dist/Radio-CSl8GQNk.cjs +1 -0
- package/dist/{Radio-BxMxeQa-.js → Radio-DSRS-tjj.js} +9 -8
- package/dist/RadioGroup-DL4hhZzK.cjs +1 -0
- package/dist/{RadioGroup-BLrD8_Lp.js → RadioGroup-cPdOWdYD.js} +3 -3
- package/dist/{Select-B6mYfJPA.js → Select-CZnKFG3o.js} +40 -39
- package/dist/Select-DZAzJA0y.cjs +3 -0
- package/dist/Stack-B82ckLGm.cjs +1 -0
- package/dist/{Stack-aCUdCw1A.js → Stack-hbAJHQhq.js} +105 -60
- package/dist/{Switch-BOpqo-TS.js → Switch-B9uT9-d0.js} +11 -10
- package/dist/Switch-DWKHe4z_.cjs +1 -0
- package/dist/{SwitchBase-BAjfatYA.js → SwitchBase-CDkmnGAP.js} +21 -20
- package/dist/SwitchBase-CnA6TA2P.cjs +1 -0
- package/dist/Tabs-AyJ_tKtV.cjs +4 -0
- package/dist/{Tabs-CrWcC5nJ.js → Tabs-BYfDlOR9.js} +226 -225
- package/dist/{TextField-CAmc1Qpg.js → TextField-BKfXjPdH.js} +18 -17
- package/dist/TextField-CwcPgdgD.cjs +1 -0
- package/dist/ToggleButtonGroup-DIp0fcXW.cjs +140 -0
- package/dist/{ToggleButtonGroup-ekxVeQCc.js → ToggleButtonGroup-sc2omtRp.js} +996 -984
- package/dist/{Tooltip-BvVFPsVR.js → Tooltip-B1NGvrJP.js} +30 -29
- package/dist/Tooltip-oNmnF7Bc.cjs +4 -0
- package/dist/Typography-DPij13XT.cjs +1 -0
- package/dist/{Typography-CE8fQQ8B.js → Typography-SIQ6eleU.js} +13 -12
- package/dist/capitalize-3KLkrEtk.js +9 -0
- package/dist/capitalize-CEByPz9F.cjs +1 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +2 -2
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- 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 -1
- package/dist/components/Dialog/Dialog.es.js +2 -2
- 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/FileIcon.cjs.js +1 -1
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +14 -13
- 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 +4 -4
- 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 +3 -3
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
- 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 +34 -34
- 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 +2 -2
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/Chip.stories.cjs.js +1 -1
- package/dist/components/stories/Chip.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 +3 -3
- 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 +3 -3
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- 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-DJMYlO0S.cjs +1 -0
- package/dist/{createSvgIcon-CCejzj0C.js → createSvgIcon-K2ZAdASa.js} +18 -17
- package/dist/dividerClasses-Dq1bCO_s.cjs +1 -0
- package/dist/{dividerClasses-DN9F43tq.js → dividerClasses-afsB3Yy1.js} +1 -1
- package/dist/{elementTypeAcceptingRef-CrAqn_fc.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
- package/dist/elementTypeAcceptingRef-BjgxF5Bq.cjs +1 -0
- package/dist/extendSxProp-D-oLUmkR.cjs +1 -0
- package/dist/{extendSxProp-DFv-GFt5.js → extendSxProp-dlShX1xL.js} +1 -1
- package/dist/generateUtilityClasses-De8NU9_E.cjs +75 -0
- package/dist/{identifier-D58rA1gM.js → generateUtilityClasses-DotvgSDH.js} +870 -840
- package/dist/{index-BGS2uu2L.js → index-B1u7G33_.js} +1 -1
- package/dist/index-CVFzneYe.cjs +5 -0
- package/dist/{index-ClXCinr6.js → index-DTTmpNYg.js} +4 -4
- package/dist/index-T-RSwkXB.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +34 -34
- package/dist/{memoTheme-DyiN-Awd.js → memoTheme-CqmIydD-.js} +1 -1
- package/dist/{memoTheme-C8EfvlY1.cjs → memoTheme-DrjvJtTP.cjs} +1 -1
- package/dist/refType-BkobP3bK.cjs +1 -0
- package/dist/{refType-B86yTZra.js → refType-C210ipRY.js} +1 -1
- package/dist/{resolveComponentProps-0QnU-fDT.js → resolveComponentProps-CPmhKPdH.js} +1 -1
- package/dist/resolveComponentProps-PuUs-PsA.cjs +1 -0
- package/dist/{useSlot-CyXLaLc2.cjs → useSlot-CC2AaOjN.cjs} +1 -1
- package/dist/{useSlot-CZNcsPv1.js → useSlot-GZu0V5wJ.js} +1 -1
- package/dist/{index-DwHI-aa0.js → useSlotProps-C9tsxDNg.js} +26 -26
- package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
- package/dist/useTheme-7RGQRN-h.cjs +1 -0
- package/dist/useTheme-BA7tMglY.js +11 -0
- package/dist/useTheme-CIf2b2wK.cjs +1 -0
- package/dist/{useTheme-DxxkErdZ.js → useTheme-tdgDVH1p.js} +1 -1
- package/dist/{useThemeProps-CpNQz1Ap.cjs → useThemeProps-AnS1uVAy.cjs} +1 -1
- package/dist/{useThemeProps-BGZrRNnL.js → useThemeProps-BQlPXzo3.js} +2 -2
- package/dist/useThemeProps-BTfGtNci.js +17 -0
- package/dist/useThemeProps-DxBEHys5.cjs +1 -0
- package/dist/utils-CFI_-FMV.cjs +1 -0
- package/dist/{utils-SrEVp7Pm.js → utils-CXhh35wP.js} +1 -1
- package/package.json +1 -1
- package/dist/Backdrop-COarwgJj.cjs +0 -1
- package/dist/Box-C0mEbUoK.cjs +0 -1
- package/dist/Button-1tZRtOeG.cjs +0 -1
- package/dist/CardContent-BXjX98Jd.cjs +0 -1
- package/dist/Checkbox-C6CIGK27.cjs +0 -1
- package/dist/Chip-CAPnyZyW.cjs +0 -1
- package/dist/CircularProgress-DTVP6gln.cjs +0 -28
- package/dist/DatePicker-CJ5-Udgh.cjs +0 -14
- package/dist/DefaultPropsProvider-QmkL7lbM.cjs +0 -1
- package/dist/Dialog-Cmv58WoN.cjs +0 -1
- package/dist/DialogContent-CGEdCDYk.cjs +0 -1
- package/dist/DialogTitle-Dxm2NHs7.cjs +0 -1
- package/dist/Divider-D_LVNUqS.cjs +0 -1
- package/dist/FormLabel-D0gSgwnj.cjs +0 -2
- package/dist/Grow-D7scX77o.cjs +0 -1
- package/dist/IconButton-Edo5JMfQ.cjs +0 -2
- package/dist/InputAdornment-C9NrmB_z.cjs +0 -1
- package/dist/InputBase-CgOQ0M4_.cjs +0 -3
- package/dist/Link-CAbb9OCV.cjs +0 -1
- package/dist/MenuItem-Cp1_Q0FD.cjs +0 -1
- package/dist/Paper-C-oPGpbI.cjs +0 -2
- package/dist/Popper-uw9PkkLY.cjs +0 -4
- package/dist/Portal-bIKnnWR4.cjs +0 -1
- package/dist/Radio-CvCkmq8g.cjs +0 -1
- package/dist/RadioGroup-Ya-I8Lz1.cjs +0 -1
- package/dist/Select-KMdcuol6.cjs +0 -3
- package/dist/Stack-C6v70ALA.cjs +0 -1
- package/dist/Switch-DF4bSjED.cjs +0 -1
- package/dist/SwitchBase-7zONZyYP.cjs +0 -1
- package/dist/Tabs-Dploq_37.cjs +0 -4
- package/dist/TextField-BC7GvvHh.cjs +0 -1
- package/dist/ToggleButtonGroup-BCVgsika.cjs +0 -140
- package/dist/Tooltip-CWA-GKdK.cjs +0 -4
- package/dist/Typography-DEAE8-8u.cjs +0 -1
- package/dist/createSvgIcon-Dn4BBPej.cjs +0 -1
- package/dist/dividerClasses-Zk1QmrZw.cjs +0 -1
- package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +0 -1
- package/dist/extendSxProp-BB6jYY1x.cjs +0 -1
- package/dist/identifier-5n4d7br9.cjs +0 -75
- package/dist/index-5BAFzrXD.cjs +0 -1
- package/dist/index-CFm-oAsb.cjs +0 -1
- package/dist/index-CJW5gB6d.cjs +0 -5
- package/dist/refType-CjW6JOBA.cjs +0 -1
- package/dist/resolveComponentProps-D0sgyopa.cjs +0 -1
- package/dist/useTheme-Bi8B4Op1.cjs +0 -1
- package/dist/useTheme-C_2IF7CS.cjs +0 -1
- package/dist/useTheme-Clhsq4HW.js +0 -11
- package/dist/useThemeProps-C6qniHmV.js +0 -17
- package/dist/useThemeProps-Dq3GRYN1.cjs +0 -1
- package/dist/utils-D4if93Yl.cjs +0 -1
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import * as m from "react";
|
|
2
|
-
import { H as S, I as P, G as R,
|
|
3
|
-
import { S as $ } from "./SwitchBase-
|
|
4
|
-
import { c as u } from "./createSvgIcon-
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { u as B, s as w, c as M, r as T } from "./DefaultPropsProvider-
|
|
7
|
-
import { m as j } from "./memoTheme-
|
|
2
|
+
import { H as S, I as P, G as R, n as x, P as e } from "./generateUtilityClasses-DotvgSDH.js";
|
|
3
|
+
import { S as $ } from "./SwitchBase-CDkmnGAP.js";
|
|
4
|
+
import { c as u } from "./createSvgIcon-K2ZAdASa.js";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
import { u as B, s as w, c as M, r as T } from "./DefaultPropsProvider-Cqcb4sws.js";
|
|
7
|
+
import { m as j } from "./memoTheme-CqmIydD-.js";
|
|
8
8
|
import { c as z } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
9
|
-
import {
|
|
10
|
-
|
|
9
|
+
import { c } from "./capitalize-3KLkrEtk.js";
|
|
10
|
+
import { r as H } from "./refType-C210ipRY.js";
|
|
11
|
+
const V = u(/* @__PURE__ */ r("path", {
|
|
11
12
|
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
12
|
-
}), "CheckBoxOutlineBlank"), N = u(/* @__PURE__ */
|
|
13
|
+
}), "CheckBoxOutlineBlank"), N = u(/* @__PURE__ */ r("path", {
|
|
13
14
|
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
14
|
-
}), "CheckBox"), E = u(/* @__PURE__ */
|
|
15
|
+
}), "CheckBox"), E = u(/* @__PURE__ */ r("path", {
|
|
15
16
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
16
17
|
}), "IndeterminateCheckBox");
|
|
17
18
|
function U(o) {
|
|
@@ -21,17 +22,17 @@ const f = S("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
21
22
|
const {
|
|
22
23
|
classes: t,
|
|
23
24
|
indeterminate: a,
|
|
24
|
-
color:
|
|
25
|
+
color: s,
|
|
25
26
|
size: i
|
|
26
27
|
} = o, l = {
|
|
27
|
-
root: ["root", a && "indeterminate", `color${c(
|
|
28
|
+
root: ["root", a && "indeterminate", `color${c(s)}`, `size${c(i)}`]
|
|
28
29
|
}, p = M(l, U, t);
|
|
29
30
|
return {
|
|
30
31
|
...t,
|
|
31
32
|
// forward the disabled and checked classes to the SwitchBase
|
|
32
33
|
...p
|
|
33
34
|
};
|
|
34
|
-
},
|
|
35
|
+
}, D = w($, {
|
|
35
36
|
shouldForwardProp: (o) => T(o) || o === "classes",
|
|
36
37
|
name: "MuiCheckbox",
|
|
37
38
|
slot: "Root",
|
|
@@ -91,32 +92,32 @@ const f = S("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
|
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
}]
|
|
94
|
-
}))),
|
|
95
|
-
const
|
|
95
|
+
}))), L = /* @__PURE__ */ r(N, {}), q = /* @__PURE__ */ r(V, {}), G = /* @__PURE__ */ r(E, {}), _ = /* @__PURE__ */ m.forwardRef(function(t, a) {
|
|
96
|
+
const s = B({
|
|
96
97
|
props: t,
|
|
97
98
|
name: "MuiCheckbox"
|
|
98
99
|
}), {
|
|
99
|
-
checkedIcon: i =
|
|
100
|
+
checkedIcon: i = L,
|
|
100
101
|
color: l = "primary",
|
|
101
102
|
icon: p = q,
|
|
102
|
-
indeterminate:
|
|
103
|
+
indeterminate: n = !1,
|
|
103
104
|
indeterminateIcon: b = G,
|
|
104
105
|
inputProps: I,
|
|
105
106
|
size: d = "medium",
|
|
106
107
|
disableRipple: h = !1,
|
|
107
108
|
className: g,
|
|
108
109
|
...O
|
|
109
|
-
} =
|
|
110
|
-
...
|
|
110
|
+
} = s, v = n ? b : p, C = n ? b : i, k = {
|
|
111
|
+
...s,
|
|
111
112
|
disableRipple: h,
|
|
112
113
|
color: l,
|
|
113
|
-
indeterminate:
|
|
114
|
+
indeterminate: n,
|
|
114
115
|
size: d
|
|
115
116
|
}, y = F(k);
|
|
116
|
-
return /* @__PURE__ */
|
|
117
|
+
return /* @__PURE__ */ r(D, {
|
|
117
118
|
type: "checkbox",
|
|
118
119
|
inputProps: {
|
|
119
|
-
"data-indeterminate":
|
|
120
|
+
"data-indeterminate": n,
|
|
120
121
|
...I
|
|
121
122
|
},
|
|
122
123
|
icon: /* @__PURE__ */ m.cloneElement(v, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const H=require("react"),a=require("./generateUtilityClasses-De8NU9_E.cjs"),G=require("./createSvgIcon-DJMYlO0S.cjs"),$=require("react/jsx-runtime"),J=require("./memoTheme-DrjvJtTP.cjs"),C=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),P=require("./DefaultPropsProvider-wpBXjN8r.cjs"),Q=require("./useForkRef-CTI33h-3.cjs"),V=require("./ButtonBase-D6tfI-8D.cjs"),r=require("./capitalize-CEByPz9F.cjs"),X=require("./unsupportedProp-Bn6XWqwH.cjs");function Y(e){const l=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(l,o,i.get?i:{enumerable:!0,get:()=>e[o]})}}return l.default=e,Object.freeze(l)}const d=Y(H),Z=G.createSvgIcon($.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function N(e){return a.generateUtilityClass("MuiChip",e)}const t=a.generateUtilityClasses("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ee=e=>{const{classes:l,disabled:o,size:i,color:n,iconColor:f,onDelete:u,clickable:s,variant:p}=e,v={root:["root",p,o&&"disabled",`size${r.capitalize(i)}`,`color${r.capitalize(n)}`,s&&"clickable",s&&`clickableColor${r.capitalize(n)}`,u&&"deletable",u&&`deletableColor${r.capitalize(n)}`,`${p}${r.capitalize(n)}`],label:["label",`label${r.capitalize(i)}`],avatar:["avatar",`avatar${r.capitalize(i)}`,`avatarColor${r.capitalize(n)}`],icon:["icon",`icon${r.capitalize(i)}`,`iconColor${r.capitalize(f)}`],deleteIcon:["deleteIcon",`deleteIcon${r.capitalize(i)}`,`deleteIconColor${r.capitalize(n)}`,`deleteIcon${r.capitalize(p)}Color${r.capitalize(n)}`]};return P.composeClasses(v,N,l)},ae=P.styled("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,l)=>{const{ownerState:o}=e,{color:i,iconColor:n,clickable:f,onDelete:u,size:s,variant:p}=o;return[{[`& .${t.avatar}`]:l.avatar},{[`& .${t.avatar}`]:l[`avatar${r.capitalize(s)}`]},{[`& .${t.avatar}`]:l[`avatarColor${r.capitalize(i)}`]},{[`& .${t.icon}`]:l.icon},{[`& .${t.icon}`]:l[`icon${r.capitalize(s)}`]},{[`& .${t.icon}`]:l[`iconColor${r.capitalize(n)}`]},{[`& .${t.deleteIcon}`]:l.deleteIcon},{[`& .${t.deleteIcon}`]:l[`deleteIcon${r.capitalize(s)}`]},{[`& .${t.deleteIcon}`]:l[`deleteIconColor${r.capitalize(i)}`]},{[`& .${t.deleteIcon}`]:l[`deleteIcon${r.capitalize(p)}Color${r.capitalize(i)}`]},l.root,l[`size${r.capitalize(s)}`],l[`color${r.capitalize(i)}`],f&&l.clickable,f&&i!=="default"&&l[`clickableColor${r.capitalize(i)})`],u&&l.deletable,u&&i!=="default"&&l[`deletableColor${r.capitalize(i)}`],l[p],l[`${p}${r.capitalize(i)}`]]}})(J.memoTheme(({theme:e})=>{const l=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${t.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${t.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:l,fontSize:e.typography.pxToRem(12)},[`& .${t.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${t.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${t.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${t.icon}`]:{marginLeft:5,marginRight:-6},[`& .${t.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:a.alpha(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:a.alpha(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${t.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${t.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(C.createSimplePaletteValueFilter(["contrastText"])).map(([o])=>({props:{color:o},style:{backgroundColor:(e.vars||e).palette[o].main,color:(e.vars||e).palette[o].contrastText,[`& .${t.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[o].contrastTextChannel} / 0.7)`:a.alpha(e.palette[o].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[o].contrastText}}}})),{props:o=>o.iconColor===o.color,style:{[`& .${t.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:l}}},{props:o=>o.iconColor===o.color&&o.color!=="default",style:{[`& .${t.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${t.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:a.alpha(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(C.createSimplePaletteValueFilter(["dark"])).map(([o])=>({props:{color:o,onDelete:!0},style:{[`&.${t.focusVisible}`]:{background:(e.vars||e).palette[o].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:a.alpha(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${t.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:a.alpha(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(C.createSimplePaletteValueFilter(["dark"])).map(([o])=>({props:{color:o,clickable:!0},style:{[`&:hover, &.${t.focusVisible}`]:{backgroundColor:(e.vars||e).palette[o].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${t.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${t.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${t.avatar}`]:{marginLeft:4},[`& .${t.avatarSmall}`]:{marginLeft:2},[`& .${t.icon}`]:{marginLeft:4},[`& .${t.iconSmall}`]:{marginLeft:2},[`& .${t.deleteIcon}`]:{marginRight:5},[`& .${t.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(C.createSimplePaletteValueFilter()).map(([o])=>({props:{variant:"outlined",color:o},style:{color:(e.vars||e).palette[o].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[o].mainChannel} / 0.7)`:a.alpha(e.palette[o].main,.7)}`,[`&.${t.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:a.alpha(e.palette[o].main,e.palette.action.hoverOpacity)},[`&.${t.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.focusOpacity})`:a.alpha(e.palette[o].main,e.palette.action.focusOpacity)},[`& .${t.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[o].mainChannel} / 0.7)`:a.alpha(e.palette[o].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[o].main}}}}))]}})),oe=P.styled("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,l)=>{const{ownerState:o}=e,{size:i}=o;return[l.label,l[`label${r.capitalize(i)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function j(e){return e.key==="Backspace"||e.key==="Delete"}const L=d.forwardRef(function(l,o){const i=P.useDefaultProps({props:l,name:"MuiChip"}),{avatar:n,className:f,clickable:u,color:s="default",component:p,deleteIcon:v,disabled:T=!1,icon:g,label:E,onClick:O,onDelete:y,onKeyDown:m,onKeyUp:R,size:F="medium",variant:M="filled",tabIndex:q,skipFocusWhenDisabled:U=!1,...K}=i,h=d.useRef(null),B=Q.useForkRef(h,o),D=c=>{c.stopPropagation(),y&&y(c)},W=c=>{c.currentTarget===c.target&&j(c)&&c.preventDefault(),m&&m(c)},_=c=>{c.currentTarget===c.target&&y&&j(c)&&y(c),R&&R(c)},k=u!==!1&&O?!0:u,z=k||y?V.ButtonBase:p||"div",S={...i,component:z,disabled:T,size:F,color:s,iconColor:d.isValidElement(g)&&g.props.color||s,onDelete:!!y,clickable:k,variant:M},b=ee(S),A=z===V.ButtonBase?{component:p||"div",focusVisibleClassName:b.focusVisible,...y&&{disableRipple:!0}}:{};let w=null;y&&(w=v&&d.isValidElement(v)?d.cloneElement(v,{className:a.clsx(v.props.className,b.deleteIcon),onClick:D}):$.jsx(Z,{className:a.clsx(b.deleteIcon),onClick:D}));let I=null;n&&d.isValidElement(n)&&(I=d.cloneElement(n,{className:a.clsx(b.avatar,n.props.className)}));let x=null;return g&&d.isValidElement(g)&&(x=d.cloneElement(g,{className:a.clsx(b.icon,g.props.className)})),process.env.NODE_ENV!=="production"&&I&&x&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."),$.jsxs(ae,{as:z,className:a.clsx(b.root,f),disabled:k&&T?!0:void 0,onClick:O,onKeyDown:W,onKeyUp:_,ref:B,tabIndex:U&&T?-1:q,ownerState:S,...A,...K,children:[I||x,$.jsx(oe,{className:a.clsx(b.label),ownerState:S,children:E}),w]})});process.env.NODE_ENV!=="production"&&(L.propTypes={avatar:a.PropTypes.element,children:X.unsupportedProp,classes:a.PropTypes.object,className:a.PropTypes.string,clickable:a.PropTypes.bool,color:a.PropTypes.oneOfType([a.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),a.PropTypes.string]),component:a.PropTypes.elementType,deleteIcon:a.PropTypes.element,disabled:a.PropTypes.bool,icon:a.PropTypes.element,label:a.PropTypes.node,onClick:a.PropTypes.func,onDelete:a.PropTypes.func,onKeyDown:a.PropTypes.func,onKeyUp:a.PropTypes.func,size:a.PropTypes.oneOfType([a.PropTypes.oneOf(["medium","small"]),a.PropTypes.string]),skipFocusWhenDisabled:a.PropTypes.bool,sx:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.oneOfType([a.PropTypes.func,a.PropTypes.object,a.PropTypes.bool])),a.PropTypes.func,a.PropTypes.object]),tabIndex:a.PropTypes.number,variant:a.PropTypes.oneOfType([a.PropTypes.oneOf(["filled","outlined"]),a.PropTypes.string])});exports.Chip=L;exports.chipClasses=t;exports.getChipUtilityClass=N;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
|
-
import { H as q, I as J, G as y,
|
|
3
|
-
import { c as Q } from "./createSvgIcon-
|
|
2
|
+
import { H as q, I as J, G as y, n as d, P as r } from "./generateUtilityClasses-DotvgSDH.js";
|
|
3
|
+
import { c as Q } from "./createSvgIcon-K2ZAdASa.js";
|
|
4
4
|
import { jsx as P, jsxs as X } from "react/jsx-runtime";
|
|
5
|
-
import { m as Y } from "./memoTheme-
|
|
5
|
+
import { m as Y } from "./memoTheme-CqmIydD-.js";
|
|
6
6
|
import { c as k } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
7
|
-
import { u as Z, s as E, c as h } from "./DefaultPropsProvider-
|
|
7
|
+
import { u as Z, s as E, c as h } from "./DefaultPropsProvider-Cqcb4sws.js";
|
|
8
8
|
import { u as aa } from "./useForkRef-C_4o__cU.js";
|
|
9
|
-
import { B as N } from "./ButtonBase-
|
|
9
|
+
import { B as N } from "./ButtonBase-IZ_QjbpE.js";
|
|
10
|
+
import { c as t } from "./capitalize-3KLkrEtk.js";
|
|
10
11
|
import { u as ea } from "./unsupportedProp-BuVD30Gh.js";
|
|
11
12
|
const oa = Q(/* @__PURE__ */ P("path", {
|
|
12
13
|
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
|
|
13
14
|
}), "Cancel");
|
|
14
|
-
function
|
|
15
|
+
function ra(a) {
|
|
15
16
|
return J("MuiChip", a);
|
|
16
17
|
}
|
|
17
|
-
const o = q("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]),
|
|
18
|
+
const o = q("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), la = (a) => {
|
|
18
19
|
const {
|
|
19
|
-
classes:
|
|
20
|
+
classes: l,
|
|
20
21
|
disabled: e,
|
|
21
22
|
size: n,
|
|
22
23
|
color: i,
|
|
@@ -31,11 +32,11 @@ const o = q("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
31
32
|
icon: ["icon", `icon${t(n)}`, `iconColor${t(g)}`],
|
|
32
33
|
deleteIcon: ["deleteIcon", `deleteIcon${t(n)}`, `deleteIconColor${t(i)}`, `deleteIcon${t(p)}Color${t(i)}`]
|
|
33
34
|
};
|
|
34
|
-
return h(C,
|
|
35
|
+
return h(C, ra, l);
|
|
35
36
|
}, ta = E("div", {
|
|
36
37
|
name: "MuiChip",
|
|
37
38
|
slot: "Root",
|
|
38
|
-
overridesResolver: (a,
|
|
39
|
+
overridesResolver: (a, l) => {
|
|
39
40
|
const {
|
|
40
41
|
ownerState: e
|
|
41
42
|
} = a, {
|
|
@@ -47,31 +48,31 @@ const o = q("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
47
48
|
variant: p
|
|
48
49
|
} = e;
|
|
49
50
|
return [{
|
|
50
|
-
[`& .${o.avatar}`]:
|
|
51
|
+
[`& .${o.avatar}`]: l.avatar
|
|
51
52
|
}, {
|
|
52
|
-
[`& .${o.avatar}`]:
|
|
53
|
+
[`& .${o.avatar}`]: l[`avatar${t(s)}`]
|
|
53
54
|
}, {
|
|
54
|
-
[`& .${o.avatar}`]:
|
|
55
|
+
[`& .${o.avatar}`]: l[`avatarColor${t(n)}`]
|
|
55
56
|
}, {
|
|
56
|
-
[`& .${o.icon}`]:
|
|
57
|
+
[`& .${o.icon}`]: l.icon
|
|
57
58
|
}, {
|
|
58
|
-
[`& .${o.icon}`]:
|
|
59
|
+
[`& .${o.icon}`]: l[`icon${t(s)}`]
|
|
59
60
|
}, {
|
|
60
|
-
[`& .${o.icon}`]:
|
|
61
|
+
[`& .${o.icon}`]: l[`iconColor${t(i)}`]
|
|
61
62
|
}, {
|
|
62
|
-
[`& .${o.deleteIcon}`]:
|
|
63
|
+
[`& .${o.deleteIcon}`]: l.deleteIcon
|
|
63
64
|
}, {
|
|
64
|
-
[`& .${o.deleteIcon}`]:
|
|
65
|
+
[`& .${o.deleteIcon}`]: l[`deleteIcon${t(s)}`]
|
|
65
66
|
}, {
|
|
66
|
-
[`& .${o.deleteIcon}`]:
|
|
67
|
+
[`& .${o.deleteIcon}`]: l[`deleteIconColor${t(n)}`]
|
|
67
68
|
}, {
|
|
68
|
-
[`& .${o.deleteIcon}`]:
|
|
69
|
-
},
|
|
69
|
+
[`& .${o.deleteIcon}`]: l[`deleteIcon${t(p)}Color${t(n)}`]
|
|
70
|
+
}, l.root, l[`size${t(s)}`], l[`color${t(n)}`], g && l.clickable, g && n !== "default" && l[`clickableColor${t(n)})`], f && l.deletable, f && n !== "default" && l[`deletableColor${t(n)}`], l[p], l[`${p}${t(n)}`]];
|
|
70
71
|
}
|
|
71
72
|
})(Y(({
|
|
72
73
|
theme: a
|
|
73
74
|
}) => {
|
|
74
|
-
const
|
|
75
|
+
const l = a.palette.mode === "light" ? a.palette.grey[700] : a.palette.grey[300];
|
|
75
76
|
return {
|
|
76
77
|
maxWidth: "100%",
|
|
77
78
|
fontFamily: a.typography.fontFamily,
|
|
@@ -105,7 +106,7 @@ const o = q("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
105
106
|
marginRight: -6,
|
|
106
107
|
width: 24,
|
|
107
108
|
height: 24,
|
|
108
|
-
color: a.vars ? a.vars.palette.Chip.defaultAvatarColor :
|
|
109
|
+
color: a.vars ? a.vars.palette.Chip.defaultAvatarColor : l,
|
|
109
110
|
fontSize: a.typography.pxToRem(12)
|
|
110
111
|
},
|
|
111
112
|
[`& .${o.avatarColorPrimary}`]: {
|
|
@@ -172,7 +173,7 @@ const o = q("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
172
173
|
props: (e) => e.iconColor === e.color,
|
|
173
174
|
style: {
|
|
174
175
|
[`& .${o.icon}`]: {
|
|
175
|
-
color: a.vars ? a.vars.palette.Chip.defaultIconColor :
|
|
176
|
+
color: a.vars ? a.vars.palette.Chip.defaultIconColor : l
|
|
176
177
|
}
|
|
177
178
|
}
|
|
178
179
|
}, {
|
|
@@ -287,13 +288,13 @@ const o = q("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
287
288
|
})), na = E("span", {
|
|
288
289
|
name: "MuiChip",
|
|
289
290
|
slot: "Label",
|
|
290
|
-
overridesResolver: (a,
|
|
291
|
+
overridesResolver: (a, l) => {
|
|
291
292
|
const {
|
|
292
293
|
ownerState: e
|
|
293
294
|
} = a, {
|
|
294
295
|
size: n
|
|
295
296
|
} = e;
|
|
296
|
-
return [
|
|
297
|
+
return [l.label, l[`label${t(n)}`]];
|
|
297
298
|
}
|
|
298
299
|
})({
|
|
299
300
|
overflow: "hidden",
|
|
@@ -331,9 +332,9 @@ const o = q("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colo
|
|
|
331
332
|
function V(a) {
|
|
332
333
|
return a.key === "Backspace" || a.key === "Delete";
|
|
333
334
|
}
|
|
334
|
-
const ia = /* @__PURE__ */ u.forwardRef(function(
|
|
335
|
+
const ia = /* @__PURE__ */ u.forwardRef(function(l, e) {
|
|
335
336
|
const n = Z({
|
|
336
|
-
props:
|
|
337
|
+
props: l,
|
|
337
338
|
name: "MuiChip"
|
|
338
339
|
}), {
|
|
339
340
|
avatar: i,
|
|
@@ -371,7 +372,7 @@ const ia = /* @__PURE__ */ u.forwardRef(function(r, e) {
|
|
|
371
372
|
onDelete: !!v,
|
|
372
373
|
clickable: I,
|
|
373
374
|
variant: K
|
|
374
|
-
}, b =
|
|
375
|
+
}, b = la(x), G = S === N ? {
|
|
375
376
|
component: p || "div",
|
|
376
377
|
focusVisibleClassName: b.focusVisible,
|
|
377
378
|
...v && {
|
|
@@ -420,7 +421,7 @@ process.env.NODE_ENV !== "production" && (ia.propTypes = {
|
|
|
420
421
|
/**
|
|
421
422
|
* The Avatar element to display.
|
|
422
423
|
*/
|
|
423
|
-
avatar:
|
|
424
|
+
avatar: r.element,
|
|
424
425
|
/**
|
|
425
426
|
* This prop isn't supported.
|
|
426
427
|
* Use the `component` prop if you need to change the children structure.
|
|
@@ -429,11 +430,11 @@ process.env.NODE_ENV !== "production" && (ia.propTypes = {
|
|
|
429
430
|
/**
|
|
430
431
|
* Override or extend the styles applied to the component.
|
|
431
432
|
*/
|
|
432
|
-
classes:
|
|
433
|
+
classes: r.object,
|
|
433
434
|
/**
|
|
434
435
|
* @ignore
|
|
435
436
|
*/
|
|
436
|
-
className:
|
|
437
|
+
className: r.string,
|
|
437
438
|
/**
|
|
438
439
|
* If `true`, the chip will appear clickable, and will raise when pressed,
|
|
439
440
|
* even if the onClick prop is not defined.
|
|
@@ -442,80 +443,80 @@ process.env.NODE_ENV !== "production" && (ia.propTypes = {
|
|
|
442
443
|
* along with the component prop to indicate an anchor Chip is clickable.
|
|
443
444
|
* Note: this controls the UI and does not affect the onClick event.
|
|
444
445
|
*/
|
|
445
|
-
clickable:
|
|
446
|
+
clickable: r.bool,
|
|
446
447
|
/**
|
|
447
448
|
* The color of the component.
|
|
448
449
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
449
450
|
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
450
451
|
* @default 'default'
|
|
451
452
|
*/
|
|
452
|
-
color:
|
|
453
|
+
color: r.oneOfType([r.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), r.string]),
|
|
453
454
|
/**
|
|
454
455
|
* The component used for the root node.
|
|
455
456
|
* Either a string to use a HTML element or a component.
|
|
456
457
|
*/
|
|
457
|
-
component:
|
|
458
|
+
component: r.elementType,
|
|
458
459
|
/**
|
|
459
460
|
* Override the default delete icon element. Shown only if `onDelete` is set.
|
|
460
461
|
*/
|
|
461
|
-
deleteIcon:
|
|
462
|
+
deleteIcon: r.element,
|
|
462
463
|
/**
|
|
463
464
|
* If `true`, the component is disabled.
|
|
464
465
|
* @default false
|
|
465
466
|
*/
|
|
466
|
-
disabled:
|
|
467
|
+
disabled: r.bool,
|
|
467
468
|
/**
|
|
468
469
|
* Icon element.
|
|
469
470
|
*/
|
|
470
|
-
icon:
|
|
471
|
+
icon: r.element,
|
|
471
472
|
/**
|
|
472
473
|
* The content of the component.
|
|
473
474
|
*/
|
|
474
|
-
label:
|
|
475
|
+
label: r.node,
|
|
475
476
|
/**
|
|
476
477
|
* @ignore
|
|
477
478
|
*/
|
|
478
|
-
onClick:
|
|
479
|
+
onClick: r.func,
|
|
479
480
|
/**
|
|
480
481
|
* Callback fired when the delete icon is clicked.
|
|
481
482
|
* If set, the delete icon will be shown.
|
|
482
483
|
*/
|
|
483
|
-
onDelete:
|
|
484
|
+
onDelete: r.func,
|
|
484
485
|
/**
|
|
485
486
|
* @ignore
|
|
486
487
|
*/
|
|
487
|
-
onKeyDown:
|
|
488
|
+
onKeyDown: r.func,
|
|
488
489
|
/**
|
|
489
490
|
* @ignore
|
|
490
491
|
*/
|
|
491
|
-
onKeyUp:
|
|
492
|
+
onKeyUp: r.func,
|
|
492
493
|
/**
|
|
493
494
|
* The size of the component.
|
|
494
495
|
* @default 'medium'
|
|
495
496
|
*/
|
|
496
|
-
size:
|
|
497
|
+
size: r.oneOfType([r.oneOf(["medium", "small"]), r.string]),
|
|
497
498
|
/**
|
|
498
499
|
* If `true`, allows the disabled chip to escape focus.
|
|
499
500
|
* If `false`, allows the disabled chip to receive focus.
|
|
500
501
|
* @default false
|
|
501
502
|
*/
|
|
502
|
-
skipFocusWhenDisabled:
|
|
503
|
+
skipFocusWhenDisabled: r.bool,
|
|
503
504
|
/**
|
|
504
505
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
505
506
|
*/
|
|
506
|
-
sx:
|
|
507
|
+
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
|
|
507
508
|
/**
|
|
508
509
|
* @ignore
|
|
509
510
|
*/
|
|
510
|
-
tabIndex:
|
|
511
|
+
tabIndex: r.number,
|
|
511
512
|
/**
|
|
512
513
|
* The variant to use.
|
|
513
514
|
* @default 'filled'
|
|
514
515
|
*/
|
|
515
|
-
variant:
|
|
516
|
+
variant: r.oneOfType([r.oneOf(["filled", "outlined"]), r.string])
|
|
516
517
|
});
|
|
517
518
|
export {
|
|
518
519
|
ia as C,
|
|
519
520
|
o as c,
|
|
520
|
-
|
|
521
|
+
ra as g
|
|
521
522
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import * as O from "react";
|
|
2
|
-
import { I as T, H as R, G as N,
|
|
3
|
-
import { m as P } from "./memoTheme-
|
|
2
|
+
import { I as T, H as R, G as N, P as r } from "./generateUtilityClasses-DotvgSDH.js";
|
|
3
|
+
import { m as P } from "./memoTheme-CqmIydD-.js";
|
|
4
4
|
import { c as j } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
5
5
|
import { jsx as h } from "react/jsx-runtime";
|
|
6
|
-
import { u as I, s as g, c as U } from "./DefaultPropsProvider-
|
|
6
|
+
import { u as I, s as g, c as U } from "./DefaultPropsProvider-Cqcb4sws.js";
|
|
7
|
+
import { c } from "./capitalize-3KLkrEtk.js";
|
|
7
8
|
import { c as E } from "./chainPropTypes-D9lkm76m.js";
|
|
8
9
|
import { css as x, keyframes as w } from "@emotion/react";
|
|
9
10
|
function z(e) {
|
|
10
11
|
return T("MuiCircularProgress", e);
|
|
11
12
|
}
|
|
12
|
-
const
|
|
13
|
+
const X = R("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]), a = 44, y = w`
|
|
13
14
|
0% {
|
|
14
15
|
transform: rotate(0deg);
|
|
15
16
|
}
|
|
@@ -42,12 +43,12 @@ const Q = R("MuiCircularProgress", ["root", "determinate", "indeterminate", "col
|
|
|
42
43
|
variant: t,
|
|
43
44
|
color: o,
|
|
44
45
|
disableShrink: l
|
|
45
|
-
} = e,
|
|
46
|
+
} = e, m = {
|
|
46
47
|
root: ["root", t, `color${c(o)}`],
|
|
47
48
|
svg: ["svg"],
|
|
48
49
|
circle: ["circle", `circle${c(t)}`, l && "circleDisableShrink"]
|
|
49
50
|
};
|
|
50
|
-
return U(
|
|
51
|
+
return U(m, z, s);
|
|
51
52
|
}, G = g("span", {
|
|
52
53
|
name: "MuiCircularProgress",
|
|
53
54
|
slot: "Root",
|
|
@@ -135,9 +136,9 @@ const Q = R("MuiCircularProgress", ["root", "determinate", "indeterminate", "col
|
|
|
135
136
|
name: "MuiCircularProgress"
|
|
136
137
|
}), {
|
|
137
138
|
className: l,
|
|
138
|
-
color:
|
|
139
|
+
color: m = "primary",
|
|
139
140
|
disableShrink: $ = !1,
|
|
140
|
-
size:
|
|
141
|
+
size: p = 40,
|
|
141
142
|
style: D,
|
|
142
143
|
thickness: i = 3.6,
|
|
143
144
|
value: f = 0,
|
|
@@ -145,9 +146,9 @@ const Q = R("MuiCircularProgress", ["root", "determinate", "indeterminate", "col
|
|
|
145
146
|
...M
|
|
146
147
|
} = o, n = {
|
|
147
148
|
...o,
|
|
148
|
-
color:
|
|
149
|
+
color: m,
|
|
149
150
|
disableShrink: $,
|
|
150
|
-
size:
|
|
151
|
+
size: p,
|
|
151
152
|
thickness: i,
|
|
152
153
|
value: f,
|
|
153
154
|
variant: k
|
|
@@ -159,8 +160,8 @@ const Q = R("MuiCircularProgress", ["root", "determinate", "indeterminate", "col
|
|
|
159
160
|
return /* @__PURE__ */ h(G, {
|
|
160
161
|
className: N(u.root, l),
|
|
161
162
|
style: {
|
|
162
|
-
width:
|
|
163
|
-
height:
|
|
163
|
+
width: p,
|
|
164
|
+
height: p,
|
|
164
165
|
...b,
|
|
165
166
|
...D
|
|
166
167
|
},
|
|
@@ -247,6 +248,6 @@ process.env.NODE_ENV !== "production" && (H.propTypes = {
|
|
|
247
248
|
});
|
|
248
249
|
export {
|
|
249
250
|
H as C,
|
|
250
|
-
|
|
251
|
+
X as c,
|
|
251
252
|
z as g
|
|
252
253
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";const $=require("react"),r=require("./generateUtilityClasses-De8NU9_E.cjs"),S=require("./memoTheme-DrjvJtTP.cjs"),M=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),g=require("react/jsx-runtime"),a=require("./DefaultPropsProvider-wpBXjN8r.cjs"),l=require("./capitalize-CEByPz9F.cjs"),R=require("./chainPropTypes-CEUi6Jb4.cjs"),p=require("@emotion/react");function q(e){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(s,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return s.default=e,Object.freeze(s)}const z=q($);function x(e){return r.generateUtilityClass("MuiCircularProgress",e)}const N=r.generateUtilityClasses("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]),o=44,h=p.keyframes`
|
|
2
|
+
0% {
|
|
3
|
+
transform: rotate(0deg);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
100% {
|
|
7
|
+
transform: rotate(360deg);
|
|
8
|
+
}
|
|
9
|
+
`,v=p.keyframes`
|
|
10
|
+
0% {
|
|
11
|
+
stroke-dasharray: 1px, 200px;
|
|
12
|
+
stroke-dashoffset: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
50% {
|
|
16
|
+
stroke-dasharray: 100px, 200px;
|
|
17
|
+
stroke-dashoffset: -15px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
100% {
|
|
21
|
+
stroke-dasharray: 1px, 200px;
|
|
22
|
+
stroke-dashoffset: -126px;
|
|
23
|
+
}
|
|
24
|
+
`,U=typeof h!="string"?p.css`
|
|
25
|
+
animation: ${h} 1.4s linear infinite;
|
|
26
|
+
`:null,E=typeof v!="string"?p.css`
|
|
27
|
+
animation: ${v} 1.4s ease-in-out infinite;
|
|
28
|
+
`:null,F=e=>{const{classes:s,variant:t,color:i,disableShrink:u}=e,y={root:["root",t,`color${l.capitalize(i)}`],svg:["svg"],circle:["circle",`circle${l.capitalize(t)}`,u&&"circleDisableShrink"]};return a.composeClasses(y,x,s)},I=a.styled("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,s)=>{const{ownerState:t}=e;return[s.root,s[t.variant],s[`color${l.capitalize(t.color)}`]]}})(S.memoTheme(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:U||{animation:`${h} 1.4s linear infinite`}},...Object.entries(e.palette).filter(M.createSimplePaletteValueFilter()).map(([s])=>({props:{color:s},style:{color:(e.vars||e).palette[s].main}}))]}))),V=a.styled("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,s)=>s.svg})({display:"block"}),_=a.styled("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,s)=>{const{ownerState:t}=e;return[s.circle,s[`circle${l.capitalize(t.variant)}`],t.disableShrink&&s.circleDisableShrink]}})(S.memoTheme(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:s})=>s.variant==="indeterminate"&&!s.disableShrink,style:E||{animation:`${v} 1.4s ease-in-out infinite`}}]}))),w=z.forwardRef(function(s,t){const i=a.useDefaultProps({props:s,name:"MuiCircularProgress"}),{className:u,color:y="primary",disableShrink:D=!1,size:m=40,style:O,thickness:n=3.6,value:d=0,variant:T="indeterminate",...j}=i,c={...i,color:y,disableShrink:D,size:m,thickness:n,value:d,variant:T},f=F(c),P={},k={},b={};if(T==="determinate"){const C=2*Math.PI*((o-n)/2);P.strokeDasharray=C.toFixed(3),b["aria-valuenow"]=Math.round(d),P.strokeDashoffset=`${((100-d)/100*C).toFixed(3)}px`,k.transform="rotate(-90deg)"}return g.jsx(I,{className:r.clsx(f.root,u),style:{width:m,height:m,...k,...O},ownerState:c,ref:t,role:"progressbar",...b,...j,children:g.jsx(V,{className:f.svg,ownerState:c,viewBox:`${o/2} ${o/2} ${o} ${o}`,children:g.jsx(_,{className:f.circle,style:P,ownerState:c,cx:o,cy:o,r:(o-n)/2,fill:"none",strokeWidth:n})})})});process.env.NODE_ENV!=="production"&&(w.propTypes={classes:r.PropTypes.object,className:r.PropTypes.string,color:r.PropTypes.oneOfType([r.PropTypes.oneOf(["inherit","primary","secondary","error","info","success","warning"]),r.PropTypes.string]),disableShrink:R.chainPropTypes(r.PropTypes.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:r.PropTypes.oneOfType([r.PropTypes.number,r.PropTypes.string]),style:r.PropTypes.object,sx:r.PropTypes.oneOfType([r.PropTypes.arrayOf(r.PropTypes.oneOfType([r.PropTypes.func,r.PropTypes.object,r.PropTypes.bool])),r.PropTypes.func,r.PropTypes.object]),thickness:r.PropTypes.number,value:r.PropTypes.number,variant:r.PropTypes.oneOf(["determinate","indeterminate"])});exports.CircularProgress=w;exports.circularProgressClasses=N;exports.getCircularProgressUtilityClass=x;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "./createSvgIcon-
|
|
2
|
+
import { c } from "./createSvgIcon-K2ZAdASa.js";
|
|
3
3
|
const a = c(/* @__PURE__ */ o("path", {
|
|
4
4
|
d: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"
|
|
5
5
|
}), "CloseRounded");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),c=require("./createSvgIcon-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),c=require("./createSvgIcon-DJMYlO0S.cjs"),s=c.createSvgIcon(e.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded");exports.CloseRounded=s;
|