@cgi-learning-hub/ui 1.3.3-dev.1732784402 → 1.3.3-dev.1732808725
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Backdrop-BSuIaDsk.js → Backdrop-BlKt7y1x.js} +6 -5
- package/dist/{Backdrop-BUEwtcOd.cjs → Backdrop-vSE8W9jq.cjs} +1 -1
- package/dist/{Box-CVx14c-K.js → Box-DErdbtsw.js} +3 -3
- package/dist/{Box-BvARXG6G.cjs → Box-DMYs7NTb.cjs} +1 -1
- package/dist/{Button-xSM9V58f.js → Button-CiqVGfRs.js} +4 -4
- package/dist/{Button-DiJMVIKA.cjs → Button-D3dbHQM1.cjs} +1 -1
- package/dist/{ButtonBase-D_cXboQo.cjs → ButtonBase-BoWeLMzR.cjs} +1 -1
- package/dist/{ButtonBase-BtobLldH.js → ButtonBase-DUPJVOlc.js} +5 -5
- package/dist/{Card-1pHV30dw.cjs → Card-Cnh4u4kb.cjs} +1 -1
- package/dist/{Card-Dn7s44Fi.js → Card-mGRk1RuE.js} +3 -3
- package/dist/{Checkbox-DLgQLhbi.js → Checkbox-aJ1r7ufI.js} +6 -6
- package/dist/{Checkbox-Dy4M-IzA.cjs → Checkbox-s_RdgUlw.cjs} +1 -1
- package/dist/{CircularProgress-Cgy38XxI.js → CircularProgress-CfODO7vI.js} +3 -3
- package/dist/{CircularProgress-CLqjkGj2.cjs → CircularProgress-DHgcUb1c.cjs} +1 -1
- package/dist/{DatePicker-CkDd1Ei6.js → DatePicker-Dyf9Vhld.js} +2149 -2119
- package/dist/DatePicker-juzW4bLC.cjs +14 -0
- package/dist/DefaultPropsProvider-Biv7NHew.cjs +17 -0
- package/dist/{DefaultPropsProvider-CNauTavr.js → DefaultPropsProvider-xJkZOrdv.js} +145 -142
- package/dist/{Delete-Box1LXsD.js → Delete-BOQTx9ze.js} +1 -1
- package/dist/{Delete-CXp2ebVd.cjs → Delete-DyzDL8-Y.cjs} +1 -1
- package/dist/{DialogContent-GWPkHG99.js → DialogContent-D1KFPXhr.js} +7 -7
- package/dist/{DialogContent-DQzo8ZE4.cjs → DialogContent-Dphl2SKX.cjs} +1 -1
- package/dist/{DialogTitle-CbZEE5Nw.js → DialogTitle-AQ-YU9PH.js} +4 -4
- package/dist/{DialogTitle-CDxMcX7q.cjs → DialogTitle-C8AdXsDz.cjs} +1 -1
- package/dist/{Divider-CU03_ydq.cjs → Divider-Bdp8beK-.cjs} +1 -1
- package/dist/{Divider-CcEBfDwn.js → Divider-C0R1SUa4.js} +4 -4
- package/dist/{FormControlLabel-BRe4vfRM.cjs → FormControlLabel-BlO93LTi.cjs} +1 -1
- package/dist/{FormControlLabel-DmAZ_iUK.js → FormControlLabel-w-X91z27.js} +6 -6
- package/dist/{FormGroup-CAhJZ5Ju.js → FormGroup-6NoANcYk.js} +2 -2
- package/dist/{FormGroup-dgo2gVaM.cjs → FormGroup-D0zSGn42.cjs} +1 -1
- package/dist/{FormLabel-C-_3pX_1.cjs → FormLabel-BkiH7wl7.cjs} +1 -1
- package/dist/{FormLabel-CZwX5vcF.js → FormLabel-CoLJ9tA8.js} +3 -3
- package/dist/{Grow-B7Dfgk3l.cjs → Grow-DfACa72Q.cjs} +1 -1
- package/dist/{Grow-CxD8gGA4.js → Grow-SW33sONG.js} +4 -4
- package/dist/{IconButton-COOf9IHm.cjs → IconButton-DRs0xB4z.cjs} +1 -1
- package/dist/{IconButton-CUZhSa6k.js → IconButton-DjeMTpI5.js} +4 -4
- package/dist/{InputAdornment-C78QPG-l.cjs → InputAdornment-B1pggfEX.cjs} +1 -1
- package/dist/{InputAdornment-CEphHNUR.js → InputAdornment-ByiVSgFT.js} +4 -4
- package/dist/{InputBase-BER0AKzf.js → InputBase-CvU0-Zg6.js} +6 -6
- package/dist/{InputBase-Bc6hWg6r.cjs → InputBase-Xfjv-RYp.cjs} +1 -1
- package/dist/{Link-C4OkVQ2e.js → Link-Dmwt9wxb.js} +6 -6
- package/dist/{Link-XZHjZUP4.cjs → Link-Z_UCBvgV.cjs} +1 -1
- package/dist/{Menu-BClPlLYB.js → Menu-4U27Dst1.js} +10 -10
- package/dist/{Menu-BegYMc1h.cjs → Menu-DREdNbqu.cjs} +1 -1
- package/dist/{MenuItem-Bcf18SMR.cjs → MenuItem-CN75Du-9.cjs} +1 -1
- package/dist/{MenuItem-DueTh_Gl.js → MenuItem-CqPsuuC1.js} +7 -7
- package/dist/{Modal-O_OepXtT.cjs → Modal-DWqBsogu.cjs} +1 -1
- package/dist/{Modal-C8nyxFyr.js → Modal-D_mqYIr2.js} +9 -9
- package/dist/{Paper-DLOsvAcz.cjs → Paper-CjMuucS5.cjs} +1 -1
- package/dist/{Paper-B4gtbx7f.js → Paper-D973Ow-i.js} +4 -4
- package/dist/{Popper-FUj2rW1Y.js → Popper-B8oNZqtn.js} +5 -5
- package/dist/{Popper-2cjbavEE.cjs → Popper-hzM0y1hA.cjs} +1 -1
- package/dist/{Portal-C1LuGWxE.js → Portal-BKbBRbWN.js} +3 -3
- package/dist/{Portal-BVFbTe6U.cjs → Portal-Bv2VRYHH.cjs} +1 -1
- package/dist/{Radio-DN9OAJpN.js → Radio-BrzQH9pY.js} +6 -6
- package/dist/{Radio-Czy8v3oe.cjs → Radio-DxbXYNhR.cjs} +1 -1
- package/dist/{Select-8fZnAPUt.cjs → Select-CL4E8NNL.cjs} +1 -1
- package/dist/{Select-BLSgLuO7.js → Select-CgAPAUTr.js} +9 -9
- package/dist/{Stack-CFTtMTJf.js → Stack-CYXQpKS2.js} +4 -4
- package/dist/{Stack-B5DuAfnN.cjs → Stack-WrITLr1B.cjs} +1 -1
- package/dist/{SwitchBase-B7gcs8QS.js → SwitchBase-CGa9A6SL.js} +4 -4
- package/dist/{SwitchBase-cRh_HjHT.cjs → SwitchBase-Cqh9rxOh.cjs} +1 -1
- package/dist/{TableSortLabel-5tAbCuhW.js → TableSortLabel-hvz89Dvu.js} +191 -130
- package/dist/{TableSortLabel-DlgRz10L.cjs → TableSortLabel-mAzX4tAl.cjs} +2 -2
- package/dist/{Tabs-B0FHRpc8.cjs → Tabs-BNqwYd2G.cjs} +1 -1
- package/dist/{Tabs-LTYyrysg.js → Tabs-BPI2IyPx.js} +10 -10
- package/dist/{TextField-BKXHkdMb.js → TextField-C4nIxR_t.js} +7 -7
- package/dist/{TextField-DFTFrPdm.cjs → TextField-Dy0Iblqt.cjs} +1 -1
- package/dist/{Tooltip-CWoB7Jl-.js → Tooltip-Bdrv-e2a.js} +263 -240
- package/dist/Tooltip-vg27N3PU.cjs +4 -0
- package/dist/{Typography-BJO4ssax.cjs → Typography-BF9bdWxl.cjs} +1 -1
- package/dist/{Typography-DvQqNI3q.js → Typography-CUdlQxLM.js} +4 -4
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +5 -5
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +2 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +2 -2
- package/dist/components/FileList/FileList.cjs.js +1 -1
- package/dist/components/FileList/FileList.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +7 -7
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/TextInput/TextInput.es.js +1 -1
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +29 -29
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +4 -4
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +8 -8
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +2 -2
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +6 -6
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +4 -4
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-CWqfguje.cjs → createSvgIcon-BMmqQ2z0.cjs} +1 -1
- package/dist/{createSvgIcon-Dva1lw_G.js → createSvgIcon-CVd3Lo1D.js} +3 -3
- package/dist/{dividerClasses-C-5H3Xd9.cjs → dividerClasses-CyDs_RPD.cjs} +1 -1
- package/dist/{dividerClasses-DFZ2yhIr.js → dividerClasses-kN_Ky2Bl.js} +1 -1
- package/dist/{elementTypeAcceptingRef-9SjLD9kJ.cjs → elementTypeAcceptingRef-5w32V5hP.cjs} +1 -1
- package/dist/{elementTypeAcceptingRef-Dz6KaUIO.js → elementTypeAcceptingRef-modXfN2G.js} +1 -1
- package/dist/{extendSxProp-BFujbxHx.cjs → extendSxProp-6YOo46ig.cjs} +1 -1
- package/dist/{extendSxProp-C7tQAXJa.js → extendSxProp-CHv0k-C6.js} +1 -1
- package/dist/fr-ChrHtTbj.cjs +1 -0
- package/dist/fr-rmVQsNbI.js +312 -0
- package/dist/{identifier-DO6cYBM1.js → identifier-Bn0tF6ls.js} +269 -266
- package/dist/{identifier-QNayb8HH.cjs → identifier-Dax8VlUh.cjs} +18 -18
- package/dist/{index-M6zjgG9s.js → index-BNojWn2E.js} +232 -226
- package/dist/{index-CR-iOppW.cjs → index-C5dNuV-2.cjs} +5 -5
- package/dist/{index-BAySMZLZ.js → index-CVpJYeY2.js} +4 -4
- package/dist/{index-Cff4YJyO.cjs → index-D3PBNx_m.cjs} +1 -1
- package/dist/{index-CQxxtd2n.cjs → index-OLlWw08I.cjs} +1 -1
- package/dist/{index-DW6LIkvv.js → index-waINWr3i.js} +2 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +29 -29
- package/dist/{memoTheme-ot_2_72n.cjs → memoTheme-BPA1FjB4.cjs} +1 -1
- package/dist/{memoTheme-Ccpl4Op-.js → memoTheme-CMJVTZEg.js} +1 -1
- package/dist/{refType-C1wlAHJ4.js → refType-BmrOFNz6.js} +1 -1
- package/dist/{refType-Cxl-1erN.cjs → refType-Dm84STBj.cjs} +1 -1
- package/dist/{resolveComponentProps-BmTsoZZ8.cjs → resolveComponentProps-4nhUsl3a.cjs} +1 -1
- package/dist/{resolveComponentProps-DLoFDK96.js → resolveComponentProps-DHoZOPOi.js} +1 -1
- package/dist/{useSlot-C5tO59RG.cjs → useSlot-CJAXUvYJ.cjs} +1 -1
- package/dist/{useSlot-DYxPRPQz.js → useSlot-t9oGnIgq.js} +1 -1
- package/dist/{useTheme-DHmIQfAD.cjs → useTheme-BIogn5Me.cjs} +1 -1
- package/dist/{useTheme-Dy7MZePg.cjs → useTheme-Bz4LKMiC.cjs} +1 -1
- package/dist/{useTheme-D1z12Bgs.js → useTheme-CBsFvF7I.js} +1 -1
- package/dist/{useTheme-C3--ZJOU.js → useTheme-L3EQmvnN.js} +3 -3
- package/dist/{useThemeProps-Df6sQGNs.js → useThemeProps-5Bku71LW.js} +2 -2
- package/dist/{useThemeProps-DMPhQCsM.cjs → useThemeProps-C692LOYf.cjs} +1 -1
- package/dist/{useThemeProps-CUWhPmEl.cjs → useThemeProps-DNFKz8wS.cjs} +1 -1
- package/dist/{useThemeProps-CncIFepl.js → useThemeProps-I9EHeqzU.js} +3 -3
- package/dist/{useTimeout-CZbj_p0X.js → useTimeout-3Y5y4gWq.js} +1 -1
- package/dist/{useTimeout-k6ayE1FR.cjs → useTimeout-CxOQget6.cjs} +1 -1
- package/dist/{utils-D1NFkGrL.js → utils-CE_a8glN.js} +1 -1
- package/dist/{utils-CNMzEhu9.cjs → utils-CusX8Edy.cjs} +1 -1
- package/package.json +5 -5
- package/dist/DatePicker-B2X6bsu_.cjs +0 -14
- package/dist/DefaultPropsProvider-CYXbUgly.cjs +0 -17
- package/dist/Tooltip-CUOKECcl.cjs +0 -4
- package/dist/fr-B7lHJR1l.cjs +0 -1
- package/dist/fr-ifknr_Gj.js +0 -307
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
|
-
import { H as Je, I as Qe, L as
|
|
3
|
-
import { u as Ze } from "./index-
|
|
4
|
-
import { u as eo } from "./useTheme-
|
|
5
|
-
import { jsxs as
|
|
6
|
-
import { s as G, u as oo, c as to } from "./DefaultPropsProvider-
|
|
7
|
-
import { m as Y } from "./memoTheme-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
2
|
+
import { H as Je, I as Qe, L as ve, G as ge, P as e, n as Re } from "./identifier-Bn0tF6ls.js";
|
|
3
|
+
import { u as Ze } from "./index-waINWr3i.js";
|
|
4
|
+
import { u as eo } from "./useTheme-L3EQmvnN.js";
|
|
5
|
+
import { jsxs as Te, jsx as N } from "react/jsx-runtime";
|
|
6
|
+
import { s as G, u as oo, c as to } from "./DefaultPropsProvider-xJkZOrdv.js";
|
|
7
|
+
import { m as Y } from "./memoTheme-CMJVTZEg.js";
|
|
8
|
+
import { u as I } from "./useSlot-t9oGnIgq.js";
|
|
9
|
+
import { P as Oe } from "./Popper-B8oNZqtn.js";
|
|
10
|
+
import { u as j, a as be, T as ro } from "./useTimeout-3Y5y4gWq.js";
|
|
10
11
|
import { u as po } from "./useControlled-BYdyS7Pn.js";
|
|
11
12
|
import { u as no } from "./useId-CK6Kn3Tn.js";
|
|
12
13
|
import { u as so } from "./useForkRef-C_4o__cU.js";
|
|
13
|
-
import { g as
|
|
14
|
-
import { G as
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
function lo(r) {
|
|
14
|
+
import { g as io, e as ao } from "./utils-CE_a8glN.js";
|
|
15
|
+
import { G as lo } from "./Grow-SW33sONG.js";
|
|
16
|
+
import { i as ye } from "./isFocusVisible-CPZqtjv2.js";
|
|
17
|
+
function co(r) {
|
|
18
18
|
return Je("MuiTooltip", r);
|
|
19
19
|
}
|
|
20
20
|
const p = Qe("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]);
|
|
21
|
-
function
|
|
21
|
+
function mo(r) {
|
|
22
22
|
return Math.round(r * 1e5) / 1e5;
|
|
23
23
|
}
|
|
24
|
-
const
|
|
24
|
+
const uo = (r) => {
|
|
25
25
|
const {
|
|
26
|
-
classes:
|
|
26
|
+
classes: o,
|
|
27
27
|
disableInteractive: s,
|
|
28
28
|
arrow: d,
|
|
29
|
-
touch:
|
|
29
|
+
touch: O,
|
|
30
30
|
placement: b
|
|
31
31
|
} = r, q = {
|
|
32
32
|
popper: ["popper", !s && "popperInteractive", d && "popperArrow"],
|
|
33
|
-
tooltip: ["tooltip", d && "tooltipArrow",
|
|
33
|
+
tooltip: ["tooltip", d && "tooltipArrow", O && "touch", `tooltipPlacement${ve(b.split("-")[0])}`],
|
|
34
34
|
arrow: ["arrow"]
|
|
35
35
|
};
|
|
36
|
-
return to(q,
|
|
37
|
-
},
|
|
36
|
+
return to(q, co, o);
|
|
37
|
+
}, fo = G(Oe, {
|
|
38
38
|
name: "MuiTooltip",
|
|
39
39
|
slot: "Popper",
|
|
40
|
-
overridesResolver: (r,
|
|
40
|
+
overridesResolver: (r, o) => {
|
|
41
41
|
const {
|
|
42
42
|
ownerState: s
|
|
43
43
|
} = r;
|
|
44
|
-
return [
|
|
44
|
+
return [o.popper, !s.disableInteractive && o.popperInteractive, s.arrow && o.popperArrow, !s.open && o.popperClose];
|
|
45
45
|
}
|
|
46
46
|
})(Y(({
|
|
47
47
|
theme: r
|
|
@@ -50,22 +50,22 @@ const mo = (r) => {
|
|
|
50
50
|
pointerEvents: "none",
|
|
51
51
|
variants: [{
|
|
52
52
|
props: ({
|
|
53
|
-
ownerState:
|
|
54
|
-
}) => !
|
|
53
|
+
ownerState: o
|
|
54
|
+
}) => !o.disableInteractive,
|
|
55
55
|
style: {
|
|
56
56
|
pointerEvents: "auto"
|
|
57
57
|
}
|
|
58
58
|
}, {
|
|
59
59
|
props: ({
|
|
60
|
-
open:
|
|
61
|
-
}) => !
|
|
60
|
+
open: o
|
|
61
|
+
}) => !o,
|
|
62
62
|
style: {
|
|
63
63
|
pointerEvents: "none"
|
|
64
64
|
}
|
|
65
65
|
}, {
|
|
66
66
|
props: ({
|
|
67
|
-
ownerState:
|
|
68
|
-
}) =>
|
|
67
|
+
ownerState: o
|
|
68
|
+
}) => o.arrow,
|
|
69
69
|
style: {
|
|
70
70
|
[`&[data-popper-placement*="bottom"] .${p.arrow}`]: {
|
|
71
71
|
top: 0,
|
|
@@ -98,8 +98,8 @@ const mo = (r) => {
|
|
|
98
98
|
}
|
|
99
99
|
}, {
|
|
100
100
|
props: ({
|
|
101
|
-
ownerState:
|
|
102
|
-
}) =>
|
|
101
|
+
ownerState: o
|
|
102
|
+
}) => o.arrow && !o.isRtl,
|
|
103
103
|
style: {
|
|
104
104
|
[`&[data-popper-placement*="right"] .${p.arrow}`]: {
|
|
105
105
|
left: 0,
|
|
@@ -108,8 +108,8 @@ const mo = (r) => {
|
|
|
108
108
|
}
|
|
109
109
|
}, {
|
|
110
110
|
props: ({
|
|
111
|
-
ownerState:
|
|
112
|
-
}) =>
|
|
111
|
+
ownerState: o
|
|
112
|
+
}) => o.arrow && !!o.isRtl,
|
|
113
113
|
style: {
|
|
114
114
|
[`&[data-popper-placement*="right"] .${p.arrow}`]: {
|
|
115
115
|
right: 0,
|
|
@@ -118,8 +118,8 @@ const mo = (r) => {
|
|
|
118
118
|
}
|
|
119
119
|
}, {
|
|
120
120
|
props: ({
|
|
121
|
-
ownerState:
|
|
122
|
-
}) =>
|
|
121
|
+
ownerState: o
|
|
122
|
+
}) => o.arrow && !o.isRtl,
|
|
123
123
|
style: {
|
|
124
124
|
[`&[data-popper-placement*="left"] .${p.arrow}`]: {
|
|
125
125
|
right: 0,
|
|
@@ -128,8 +128,8 @@ const mo = (r) => {
|
|
|
128
128
|
}
|
|
129
129
|
}, {
|
|
130
130
|
props: ({
|
|
131
|
-
ownerState:
|
|
132
|
-
}) =>
|
|
131
|
+
ownerState: o
|
|
132
|
+
}) => o.arrow && !!o.isRtl,
|
|
133
133
|
style: {
|
|
134
134
|
[`&[data-popper-placement*="left"] .${p.arrow}`]: {
|
|
135
135
|
left: 0,
|
|
@@ -137,19 +137,19 @@ const mo = (r) => {
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}]
|
|
140
|
-
}))),
|
|
140
|
+
}))), ho = G("div", {
|
|
141
141
|
name: "MuiTooltip",
|
|
142
142
|
slot: "Tooltip",
|
|
143
|
-
overridesResolver: (r,
|
|
143
|
+
overridesResolver: (r, o) => {
|
|
144
144
|
const {
|
|
145
145
|
ownerState: s
|
|
146
146
|
} = r;
|
|
147
|
-
return [
|
|
147
|
+
return [o.tooltip, s.touch && o.touch, s.arrow && o.tooltipArrow, o[`tooltipPlacement${ve(s.placement.split("-")[0])}`]];
|
|
148
148
|
}
|
|
149
149
|
})(Y(({
|
|
150
150
|
theme: r
|
|
151
151
|
}) => ({
|
|
152
|
-
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg :
|
|
152
|
+
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.92),
|
|
153
153
|
borderRadius: (r.vars || r).shape.borderRadius,
|
|
154
154
|
color: (r.vars || r).palette.common.white,
|
|
155
155
|
fontFamily: r.typography.fontFamily,
|
|
@@ -175,26 +175,26 @@ const mo = (r) => {
|
|
|
175
175
|
},
|
|
176
176
|
variants: [{
|
|
177
177
|
props: ({
|
|
178
|
-
ownerState:
|
|
179
|
-
}) =>
|
|
178
|
+
ownerState: o
|
|
179
|
+
}) => o.arrow,
|
|
180
180
|
style: {
|
|
181
181
|
position: "relative",
|
|
182
182
|
margin: 0
|
|
183
183
|
}
|
|
184
184
|
}, {
|
|
185
185
|
props: ({
|
|
186
|
-
ownerState:
|
|
187
|
-
}) =>
|
|
186
|
+
ownerState: o
|
|
187
|
+
}) => o.touch,
|
|
188
188
|
style: {
|
|
189
189
|
padding: "8px 16px",
|
|
190
190
|
fontSize: r.typography.pxToRem(14),
|
|
191
|
-
lineHeight: `${
|
|
191
|
+
lineHeight: `${mo(16 / 14)}em`,
|
|
192
192
|
fontWeight: r.typography.fontWeightRegular
|
|
193
193
|
}
|
|
194
194
|
}, {
|
|
195
195
|
props: ({
|
|
196
|
-
ownerState:
|
|
197
|
-
}) => !
|
|
196
|
+
ownerState: o
|
|
197
|
+
}) => !o.isRtl,
|
|
198
198
|
style: {
|
|
199
199
|
[`.${p.popper}[data-popper-placement*="left"] &`]: {
|
|
200
200
|
marginRight: "14px"
|
|
@@ -205,8 +205,8 @@ const mo = (r) => {
|
|
|
205
205
|
}
|
|
206
206
|
}, {
|
|
207
207
|
props: ({
|
|
208
|
-
ownerState:
|
|
209
|
-
}) => !
|
|
208
|
+
ownerState: o
|
|
209
|
+
}) => !o.isRtl && o.touch,
|
|
210
210
|
style: {
|
|
211
211
|
[`.${p.popper}[data-popper-placement*="left"] &`]: {
|
|
212
212
|
marginRight: "24px"
|
|
@@ -217,8 +217,8 @@ const mo = (r) => {
|
|
|
217
217
|
}
|
|
218
218
|
}, {
|
|
219
219
|
props: ({
|
|
220
|
-
ownerState:
|
|
221
|
-
}) => !!
|
|
220
|
+
ownerState: o
|
|
221
|
+
}) => !!o.isRtl,
|
|
222
222
|
style: {
|
|
223
223
|
[`.${p.popper}[data-popper-placement*="left"] &`]: {
|
|
224
224
|
marginLeft: "14px"
|
|
@@ -229,8 +229,8 @@ const mo = (r) => {
|
|
|
229
229
|
}
|
|
230
230
|
}, {
|
|
231
231
|
props: ({
|
|
232
|
-
ownerState:
|
|
233
|
-
}) => !!
|
|
232
|
+
ownerState: o
|
|
233
|
+
}) => !!o.isRtl && o.touch,
|
|
234
234
|
style: {
|
|
235
235
|
[`.${p.popper}[data-popper-placement*="left"] &`]: {
|
|
236
236
|
marginLeft: "24px"
|
|
@@ -241,8 +241,8 @@ const mo = (r) => {
|
|
|
241
241
|
}
|
|
242
242
|
}, {
|
|
243
243
|
props: ({
|
|
244
|
-
ownerState:
|
|
245
|
-
}) =>
|
|
244
|
+
ownerState: o
|
|
245
|
+
}) => o.touch,
|
|
246
246
|
style: {
|
|
247
247
|
[`.${p.popper}[data-popper-placement*="top"] &`]: {
|
|
248
248
|
marginBottom: "24px"
|
|
@@ -250,18 +250,18 @@ const mo = (r) => {
|
|
|
250
250
|
}
|
|
251
251
|
}, {
|
|
252
252
|
props: ({
|
|
253
|
-
ownerState:
|
|
254
|
-
}) =>
|
|
253
|
+
ownerState: o
|
|
254
|
+
}) => o.touch,
|
|
255
255
|
style: {
|
|
256
256
|
[`.${p.popper}[data-popper-placement*="bottom"] &`]: {
|
|
257
257
|
marginTop: "24px"
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
}]
|
|
261
|
-
}))),
|
|
261
|
+
}))), go = G("span", {
|
|
262
262
|
name: "MuiTooltip",
|
|
263
263
|
slot: "Arrow",
|
|
264
|
-
overridesResolver: (r,
|
|
264
|
+
overridesResolver: (r, o) => o.arrow
|
|
265
265
|
})(Y(({
|
|
266
266
|
theme: r
|
|
267
267
|
}) => ({
|
|
@@ -270,7 +270,7 @@ const mo = (r) => {
|
|
|
270
270
|
width: "1em",
|
|
271
271
|
height: "0.71em",
|
|
272
272
|
boxSizing: "border-box",
|
|
273
|
-
color: r.vars ? r.vars.palette.Tooltip.bg :
|
|
273
|
+
color: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.9),
|
|
274
274
|
"&::before": {
|
|
275
275
|
content: '""',
|
|
276
276
|
margin: "auto",
|
|
@@ -281,152 +281,159 @@ const mo = (r) => {
|
|
|
281
281
|
transform: "rotate(45deg)"
|
|
282
282
|
}
|
|
283
283
|
})));
|
|
284
|
-
let
|
|
285
|
-
const
|
|
286
|
-
let
|
|
284
|
+
let A = !1;
|
|
285
|
+
const we = new ro();
|
|
286
|
+
let R = {
|
|
287
287
|
x: 0,
|
|
288
288
|
y: 0
|
|
289
289
|
};
|
|
290
|
-
function D(r,
|
|
290
|
+
function D(r, o) {
|
|
291
291
|
return (s, ...d) => {
|
|
292
|
-
|
|
292
|
+
o && o(s, ...d), r(s, ...d);
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
const
|
|
296
|
-
var ye, we, ve;
|
|
295
|
+
const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
297
296
|
const d = oo({
|
|
298
|
-
props:
|
|
297
|
+
props: o,
|
|
299
298
|
name: "MuiTooltip"
|
|
300
299
|
}), {
|
|
301
|
-
arrow:
|
|
300
|
+
arrow: O = !1,
|
|
302
301
|
children: b,
|
|
303
302
|
classes: q,
|
|
304
|
-
components:
|
|
305
|
-
componentsProps:
|
|
306
|
-
describeChild:
|
|
307
|
-
disableFocusListener:
|
|
303
|
+
components: P = {},
|
|
304
|
+
componentsProps: x = {},
|
|
305
|
+
describeChild: Pe = !1,
|
|
306
|
+
disableFocusListener: xe = !1,
|
|
308
307
|
disableHoverListener: K = !1,
|
|
309
|
-
disableInteractive:
|
|
310
|
-
disableTouchListener:
|
|
308
|
+
disableInteractive: Ce = !1,
|
|
309
|
+
disableTouchListener: Me = !1,
|
|
311
310
|
enterDelay: X = 100,
|
|
312
311
|
enterNextDelay: J = 0,
|
|
313
|
-
enterTouchDelay:
|
|
312
|
+
enterTouchDelay: Ee = 700,
|
|
314
313
|
followCursor: k = !1,
|
|
315
314
|
id: Se,
|
|
316
315
|
leaveDelay: Q = 0,
|
|
317
|
-
leaveTouchDelay:
|
|
316
|
+
leaveTouchDelay: $e = 1500,
|
|
318
317
|
onClose: Z,
|
|
319
318
|
onOpen: ee,
|
|
320
319
|
open: oe,
|
|
321
320
|
placement: te = "bottom",
|
|
322
321
|
PopperComponent: re,
|
|
323
|
-
PopperProps:
|
|
324
|
-
slotProps:
|
|
325
|
-
slots:
|
|
326
|
-
title:
|
|
327
|
-
TransitionComponent:
|
|
328
|
-
TransitionProps:
|
|
322
|
+
PopperProps: f = {},
|
|
323
|
+
slotProps: h = {},
|
|
324
|
+
slots: Le = {},
|
|
325
|
+
title: g,
|
|
326
|
+
TransitionComponent: Ne,
|
|
327
|
+
TransitionProps: Ie,
|
|
329
328
|
...pe
|
|
330
|
-
} = d,
|
|
329
|
+
} = d, m = /* @__PURE__ */ n.isValidElement(b) ? b : /* @__PURE__ */ N("span", {
|
|
331
330
|
children: b
|
|
332
|
-
}), ne = eo(),
|
|
331
|
+
}), ne = eo(), je = Ze(), [i, se] = n.useState(), [F, Ae] = n.useState(null), C = n.useRef(!1), U = Ce || k, ie = j(), W = j(), M = j(), ae = j(), [De, le] = po({
|
|
333
332
|
controlled: oe,
|
|
334
333
|
default: !1,
|
|
335
334
|
name: "Tooltip",
|
|
336
335
|
state: "open"
|
|
337
336
|
});
|
|
338
|
-
let
|
|
337
|
+
let u = De;
|
|
339
338
|
if (process.env.NODE_ENV !== "production") {
|
|
340
339
|
const {
|
|
341
340
|
current: t
|
|
342
341
|
} = n.useRef(oe !== void 0);
|
|
343
342
|
n.useEffect(() => {
|
|
344
|
-
|
|
343
|
+
i && i.disabled && !t && g !== "" && i.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
|
|
345
344
|
`));
|
|
346
|
-
}, [
|
|
345
|
+
}, [g, i, t]);
|
|
347
346
|
}
|
|
348
|
-
const B = no(Se),
|
|
349
|
-
|
|
347
|
+
const B = no(Se), y = n.useRef(), E = be(() => {
|
|
348
|
+
y.current !== void 0 && (document.body.style.WebkitUserSelect = y.current, y.current = void 0), ae.clear();
|
|
350
349
|
});
|
|
351
350
|
n.useEffect(() => E, [E]);
|
|
352
351
|
const ce = (t) => {
|
|
353
|
-
|
|
354
|
-
},
|
|
352
|
+
we.clear(), A = !0, le(!0), ee && !u && ee(t);
|
|
353
|
+
}, S = be(
|
|
355
354
|
/**
|
|
356
355
|
* @param {React.SyntheticEvent | Event} event
|
|
357
356
|
*/
|
|
358
357
|
(t) => {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
}), le(!1), Z &&
|
|
362
|
-
|
|
358
|
+
we.start(800 + Q, () => {
|
|
359
|
+
A = !1;
|
|
360
|
+
}), le(!1), Z && u && Z(t), ie.start(ne.transitions.duration.shortest, () => {
|
|
361
|
+
C.current = !1;
|
|
363
362
|
});
|
|
364
363
|
}
|
|
365
|
-
),
|
|
366
|
-
|
|
364
|
+
), $ = (t) => {
|
|
365
|
+
C.current && t.type !== "touchstart" || (i && i.removeAttribute("title"), W.clear(), M.clear(), X || A && J ? W.start(A ? J : X, () => {
|
|
367
366
|
ce(t);
|
|
368
367
|
}) : ce(t));
|
|
369
368
|
}, V = (t) => {
|
|
370
369
|
W.clear(), M.start(Q, () => {
|
|
371
|
-
|
|
370
|
+
S(t);
|
|
372
371
|
});
|
|
373
|
-
}, [, me] = n.useState(!1),
|
|
374
|
-
|
|
375
|
-
},
|
|
376
|
-
|
|
372
|
+
}, [, me] = n.useState(!1), ue = (t) => {
|
|
373
|
+
ye(t.target) || (me(!1), V(t));
|
|
374
|
+
}, de = (t) => {
|
|
375
|
+
i || se(t.currentTarget), ye(t.target) && (me(!0), $(t));
|
|
377
376
|
}, fe = (t) => {
|
|
378
|
-
|
|
379
|
-
const
|
|
380
|
-
|
|
381
|
-
},
|
|
382
|
-
fe(t), M.clear(),
|
|
383
|
-
document.body.style.WebkitUserSelect =
|
|
377
|
+
C.current = !0;
|
|
378
|
+
const c = m.props;
|
|
379
|
+
c.onTouchStart && c.onTouchStart(t);
|
|
380
|
+
}, ke = (t) => {
|
|
381
|
+
fe(t), M.clear(), ie.clear(), E(), y.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", ae.start(Ee, () => {
|
|
382
|
+
document.body.style.WebkitUserSelect = y.current, $(t);
|
|
384
383
|
});
|
|
385
|
-
},
|
|
386
|
-
|
|
387
|
-
|
|
384
|
+
}, Fe = (t) => {
|
|
385
|
+
m.props.onTouchEnd && m.props.onTouchEnd(t), E(), M.start($e, () => {
|
|
386
|
+
S(t);
|
|
388
387
|
});
|
|
389
388
|
};
|
|
390
389
|
n.useEffect(() => {
|
|
391
|
-
if (!
|
|
390
|
+
if (!u)
|
|
392
391
|
return;
|
|
393
|
-
function t(
|
|
394
|
-
|
|
392
|
+
function t(c) {
|
|
393
|
+
c.key === "Escape" && S(c);
|
|
395
394
|
}
|
|
396
395
|
return document.addEventListener("keydown", t), () => {
|
|
397
396
|
document.removeEventListener("keydown", t);
|
|
398
397
|
};
|
|
399
|
-
}, [
|
|
400
|
-
const
|
|
401
|
-
!
|
|
402
|
-
const z = n.useRef(),
|
|
403
|
-
const
|
|
404
|
-
|
|
398
|
+
}, [S, u]);
|
|
399
|
+
const Ue = so(io(m), se, s);
|
|
400
|
+
!g && g !== 0 && (u = !1);
|
|
401
|
+
const z = n.useRef(), We = (t) => {
|
|
402
|
+
const c = m.props;
|
|
403
|
+
c.onMouseMove && c.onMouseMove(t), R = {
|
|
405
404
|
x: t.clientX,
|
|
406
405
|
y: t.clientY
|
|
407
406
|
}, z.current && z.current.update();
|
|
408
|
-
},
|
|
409
|
-
|
|
410
|
-
const
|
|
411
|
-
...
|
|
407
|
+
}, w = {}, H = typeof g == "string";
|
|
408
|
+
Pe ? (w.title = !u && H && !K ? g : null, w["aria-describedby"] = u ? B : null) : (w["aria-label"] = H ? g : null, w["aria-labelledby"] = u && !H ? B : null);
|
|
409
|
+
const a = {
|
|
410
|
+
...w,
|
|
412
411
|
...pe,
|
|
413
|
-
...
|
|
414
|
-
className:
|
|
412
|
+
...m.props,
|
|
413
|
+
className: ge(pe.className, m.props.className),
|
|
415
414
|
onTouchStart: fe,
|
|
416
|
-
ref:
|
|
415
|
+
ref: Ue,
|
|
417
416
|
...k ? {
|
|
418
|
-
onMouseMove:
|
|
417
|
+
onMouseMove: We
|
|
419
418
|
} : {}
|
|
420
419
|
};
|
|
421
|
-
process.env.NODE_ENV !== "production" && (
|
|
422
|
-
|
|
420
|
+
process.env.NODE_ENV !== "production" && (a["data-mui-internal-clone-element"] = !0, n.useEffect(() => {
|
|
421
|
+
i && !i.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
423
422
|
`));
|
|
424
|
-
}, [
|
|
425
|
-
const
|
|
426
|
-
|
|
423
|
+
}, [i]));
|
|
424
|
+
const v = {};
|
|
425
|
+
Me || (a.onTouchStart = ke, a.onTouchEnd = Fe), K || (a.onMouseOver = D($, a.onMouseOver), a.onMouseLeave = D(V, a.onMouseLeave), U || (v.onMouseOver = $, v.onMouseLeave = V)), xe || (a.onFocus = D(de, a.onFocus), a.onBlur = D(ue, a.onBlur), U || (v.onFocus = de, v.onBlur = ue)), process.env.NODE_ENV !== "production" && m.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${m.props.title}\` or the Tooltip component.`].join(`
|
|
427
426
|
`));
|
|
428
|
-
const
|
|
429
|
-
|
|
427
|
+
const T = {
|
|
428
|
+
...d,
|
|
429
|
+
isRtl: je,
|
|
430
|
+
arrow: O,
|
|
431
|
+
disableInteractive: U,
|
|
432
|
+
placement: te,
|
|
433
|
+
PopperComponentProp: re,
|
|
434
|
+
touch: C.current
|
|
435
|
+
}, l = typeof h.popper == "function" ? h.popper(T) : h.popper, Be = n.useMemo(() => {
|
|
436
|
+
var c, he;
|
|
430
437
|
let t = [{
|
|
431
438
|
name: "arrow",
|
|
432
439
|
enabled: !!F,
|
|
@@ -435,71 +442,91 @@ const go = /* @__PURE__ */ n.forwardRef(function(e, s) {
|
|
|
435
442
|
padding: 4
|
|
436
443
|
}
|
|
437
444
|
}];
|
|
438
|
-
return (
|
|
439
|
-
...
|
|
445
|
+
return (c = f.popperOptions) != null && c.modifiers && (t = t.concat(f.popperOptions.modifiers)), (he = l == null ? void 0 : l.popperOptions) != null && he.modifiers && (t = t.concat(l.popperOptions.modifiers)), {
|
|
446
|
+
...f.popperOptions,
|
|
447
|
+
...l == null ? void 0 : l.popperOptions,
|
|
440
448
|
modifiers: t
|
|
441
449
|
};
|
|
442
|
-
}, [F,
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
},
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
450
|
+
}, [F, f.popperOptions, l == null ? void 0 : l.popperOptions]), _ = uo(T), Ve = typeof h.transition == "function" ? h.transition(T) : h.transition, L = {
|
|
451
|
+
slots: {
|
|
452
|
+
popper: P.Popper,
|
|
453
|
+
transition: P.Transition ?? Ne,
|
|
454
|
+
tooltip: P.Tooltip,
|
|
455
|
+
arrow: P.Arrow,
|
|
456
|
+
...Le
|
|
457
|
+
},
|
|
458
|
+
slotProps: {
|
|
459
|
+
arrow: h.arrow ?? x.arrow,
|
|
460
|
+
popper: {
|
|
461
|
+
...f,
|
|
462
|
+
...l ?? x.popper
|
|
463
|
+
},
|
|
464
|
+
// resolvedPopperProps can be spread because it's already an object
|
|
465
|
+
tooltip: h.tooltip ?? x.tooltip,
|
|
466
|
+
transition: {
|
|
467
|
+
...Ie,
|
|
468
|
+
...Ve ?? x.transition
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}, [ze, He] = I("popper", {
|
|
472
|
+
elementType: fo,
|
|
473
|
+
externalForwardedProps: L,
|
|
474
|
+
ownerState: T,
|
|
475
|
+
className: ge(_.popper, f == null ? void 0 : f.className)
|
|
476
|
+
}), [_e, Ge] = I("transition", {
|
|
477
|
+
elementType: lo,
|
|
478
|
+
externalForwardedProps: L,
|
|
479
|
+
ownerState: T
|
|
480
|
+
}), [Ye, qe] = I("tooltip", {
|
|
481
|
+
elementType: ho,
|
|
482
|
+
className: _.tooltip,
|
|
483
|
+
externalForwardedProps: L,
|
|
484
|
+
ownerState: T
|
|
485
|
+
}), [Ke, Xe] = I("arrow", {
|
|
486
|
+
elementType: go,
|
|
487
|
+
className: _.arrow,
|
|
488
|
+
externalForwardedProps: L,
|
|
489
|
+
ownerState: T,
|
|
490
|
+
ref: Ae
|
|
491
|
+
});
|
|
492
|
+
return /* @__PURE__ */ Te(n.Fragment, {
|
|
493
|
+
children: [/* @__PURE__ */ n.cloneElement(m, a), /* @__PURE__ */ N(ze, {
|
|
494
|
+
as: re ?? Oe,
|
|
467
495
|
placement: te,
|
|
468
496
|
anchorEl: k ? {
|
|
469
497
|
getBoundingClientRect: () => ({
|
|
470
|
-
top:
|
|
471
|
-
left:
|
|
472
|
-
right:
|
|
473
|
-
bottom:
|
|
498
|
+
top: R.y,
|
|
499
|
+
left: R.x,
|
|
500
|
+
right: R.x,
|
|
501
|
+
bottom: R.y,
|
|
474
502
|
width: 0,
|
|
475
503
|
height: 0
|
|
476
504
|
})
|
|
477
|
-
} :
|
|
505
|
+
} : i,
|
|
478
506
|
popperRef: z,
|
|
479
|
-
open:
|
|
507
|
+
open: i ? u : !1,
|
|
480
508
|
id: B,
|
|
481
509
|
transition: !0,
|
|
482
|
-
...
|
|
483
|
-
...
|
|
484
|
-
popperOptions:
|
|
510
|
+
...v,
|
|
511
|
+
...He,
|
|
512
|
+
popperOptions: Be,
|
|
485
513
|
children: ({
|
|
486
514
|
TransitionProps: t
|
|
487
|
-
}) => /* @__PURE__ */
|
|
515
|
+
}) => /* @__PURE__ */ N(_e, {
|
|
488
516
|
timeout: ne.transitions.duration.shorter,
|
|
489
517
|
...t,
|
|
490
|
-
...
|
|
491
|
-
children: /* @__PURE__ */
|
|
492
|
-
...
|
|
493
|
-
children: [
|
|
494
|
-
...Xe
|
|
495
|
-
ref: We
|
|
518
|
+
...Ge,
|
|
519
|
+
children: /* @__PURE__ */ Te(Ye, {
|
|
520
|
+
...qe,
|
|
521
|
+
children: [g, O ? /* @__PURE__ */ N(Ke, {
|
|
522
|
+
...Xe
|
|
496
523
|
}) : null]
|
|
497
524
|
})
|
|
498
525
|
})
|
|
499
526
|
})]
|
|
500
527
|
});
|
|
501
528
|
});
|
|
502
|
-
process.env.NODE_ENV !== "production" && (
|
|
529
|
+
process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
503
530
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
504
531
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
505
532
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -508,190 +535,186 @@ process.env.NODE_ENV !== "production" && (go.propTypes = {
|
|
|
508
535
|
* If `true`, adds an arrow to the tooltip.
|
|
509
536
|
* @default false
|
|
510
537
|
*/
|
|
511
|
-
arrow:
|
|
538
|
+
arrow: e.bool,
|
|
512
539
|
/**
|
|
513
540
|
* Tooltip reference element.
|
|
514
541
|
*/
|
|
515
|
-
children:
|
|
542
|
+
children: ao.isRequired,
|
|
516
543
|
/**
|
|
517
544
|
* Override or extend the styles applied to the component.
|
|
518
545
|
*/
|
|
519
|
-
classes:
|
|
546
|
+
classes: e.object,
|
|
520
547
|
/**
|
|
521
548
|
* @ignore
|
|
522
549
|
*/
|
|
523
|
-
className:
|
|
550
|
+
className: e.string,
|
|
524
551
|
/**
|
|
525
552
|
* The components used for each slot inside.
|
|
526
553
|
*
|
|
527
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in v7. [
|
|
554
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
528
555
|
*
|
|
529
556
|
* @default {}
|
|
530
557
|
*/
|
|
531
|
-
components:
|
|
532
|
-
Arrow:
|
|
533
|
-
Popper:
|
|
534
|
-
Tooltip:
|
|
535
|
-
Transition:
|
|
558
|
+
components: e.shape({
|
|
559
|
+
Arrow: e.elementType,
|
|
560
|
+
Popper: e.elementType,
|
|
561
|
+
Tooltip: e.elementType,
|
|
562
|
+
Transition: e.elementType
|
|
536
563
|
}),
|
|
537
564
|
/**
|
|
538
565
|
* The extra props for the slot components.
|
|
539
566
|
* You can override the existing props or add new ones.
|
|
540
567
|
*
|
|
541
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [
|
|
568
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
542
569
|
*
|
|
543
570
|
* @default {}
|
|
544
571
|
*/
|
|
545
|
-
componentsProps:
|
|
546
|
-
arrow:
|
|
547
|
-
popper:
|
|
548
|
-
tooltip:
|
|
549
|
-
transition:
|
|
572
|
+
componentsProps: e.shape({
|
|
573
|
+
arrow: e.object,
|
|
574
|
+
popper: e.object,
|
|
575
|
+
tooltip: e.object,
|
|
576
|
+
transition: e.object
|
|
550
577
|
}),
|
|
551
578
|
/**
|
|
552
579
|
* Set to `true` if the `title` acts as an accessible description.
|
|
553
580
|
* By default the `title` acts as an accessible label for the child.
|
|
554
581
|
* @default false
|
|
555
582
|
*/
|
|
556
|
-
describeChild:
|
|
583
|
+
describeChild: e.bool,
|
|
557
584
|
/**
|
|
558
585
|
* Do not respond to focus-visible events.
|
|
559
586
|
* @default false
|
|
560
587
|
*/
|
|
561
|
-
disableFocusListener:
|
|
588
|
+
disableFocusListener: e.bool,
|
|
562
589
|
/**
|
|
563
590
|
* Do not respond to hover events.
|
|
564
591
|
* @default false
|
|
565
592
|
*/
|
|
566
|
-
disableHoverListener:
|
|
593
|
+
disableHoverListener: e.bool,
|
|
567
594
|
/**
|
|
568
595
|
* Makes a tooltip not interactive, i.e. it will close when the user
|
|
569
596
|
* hovers over the tooltip before the `leaveDelay` is expired.
|
|
570
597
|
* @default false
|
|
571
598
|
*/
|
|
572
|
-
disableInteractive:
|
|
599
|
+
disableInteractive: e.bool,
|
|
573
600
|
/**
|
|
574
601
|
* Do not respond to long press touch events.
|
|
575
602
|
* @default false
|
|
576
603
|
*/
|
|
577
|
-
disableTouchListener:
|
|
604
|
+
disableTouchListener: e.bool,
|
|
578
605
|
/**
|
|
579
606
|
* The number of milliseconds to wait before showing the tooltip.
|
|
580
607
|
* This prop won't impact the enter touch delay (`enterTouchDelay`).
|
|
581
608
|
* @default 100
|
|
582
609
|
*/
|
|
583
|
-
enterDelay:
|
|
610
|
+
enterDelay: e.number,
|
|
584
611
|
/**
|
|
585
612
|
* The number of milliseconds to wait before showing the tooltip when one was already recently opened.
|
|
586
613
|
* @default 0
|
|
587
614
|
*/
|
|
588
|
-
enterNextDelay:
|
|
615
|
+
enterNextDelay: e.number,
|
|
589
616
|
/**
|
|
590
617
|
* The number of milliseconds a user must touch the element before showing the tooltip.
|
|
591
618
|
* @default 700
|
|
592
619
|
*/
|
|
593
|
-
enterTouchDelay:
|
|
620
|
+
enterTouchDelay: e.number,
|
|
594
621
|
/**
|
|
595
622
|
* If `true`, the tooltip follow the cursor over the wrapped element.
|
|
596
623
|
* @default false
|
|
597
624
|
*/
|
|
598
|
-
followCursor:
|
|
625
|
+
followCursor: e.bool,
|
|
599
626
|
/**
|
|
600
627
|
* This prop is used to help implement the accessibility logic.
|
|
601
628
|
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
602
629
|
*/
|
|
603
|
-
id:
|
|
630
|
+
id: e.string,
|
|
604
631
|
/**
|
|
605
632
|
* The number of milliseconds to wait before hiding the tooltip.
|
|
606
633
|
* This prop won't impact the leave touch delay (`leaveTouchDelay`).
|
|
607
634
|
* @default 0
|
|
608
635
|
*/
|
|
609
|
-
leaveDelay:
|
|
636
|
+
leaveDelay: e.number,
|
|
610
637
|
/**
|
|
611
638
|
* The number of milliseconds after the user stops touching an element before hiding the tooltip.
|
|
612
639
|
* @default 1500
|
|
613
640
|
*/
|
|
614
|
-
leaveTouchDelay:
|
|
641
|
+
leaveTouchDelay: e.number,
|
|
615
642
|
/**
|
|
616
643
|
* Callback fired when the component requests to be closed.
|
|
617
644
|
*
|
|
618
645
|
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
619
646
|
*/
|
|
620
|
-
onClose:
|
|
647
|
+
onClose: e.func,
|
|
621
648
|
/**
|
|
622
649
|
* Callback fired when the component requests to be open.
|
|
623
650
|
*
|
|
624
651
|
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
625
652
|
*/
|
|
626
|
-
onOpen:
|
|
653
|
+
onOpen: e.func,
|
|
627
654
|
/**
|
|
628
655
|
* If `true`, the component is shown.
|
|
629
656
|
*/
|
|
630
|
-
open:
|
|
657
|
+
open: e.bool,
|
|
631
658
|
/**
|
|
632
659
|
* Tooltip placement.
|
|
633
660
|
* @default 'bottom'
|
|
634
661
|
*/
|
|
635
|
-
placement:
|
|
662
|
+
placement: e.oneOf(["bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
636
663
|
/**
|
|
637
664
|
* The component used for the popper.
|
|
638
|
-
* @
|
|
665
|
+
* @deprecated use the `slots.popper` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
639
666
|
*/
|
|
640
|
-
PopperComponent:
|
|
667
|
+
PopperComponent: e.elementType,
|
|
641
668
|
/**
|
|
642
669
|
* Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
|
|
670
|
+
* @deprecated use the `slotProps.popper` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
643
671
|
* @default {}
|
|
644
672
|
*/
|
|
645
|
-
PopperProps:
|
|
673
|
+
PopperProps: e.object,
|
|
646
674
|
/**
|
|
647
|
-
* The
|
|
648
|
-
* You can override the existing props or add new ones.
|
|
649
|
-
*
|
|
650
|
-
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
651
|
-
*
|
|
675
|
+
* The props used for each slot inside.
|
|
652
676
|
* @default {}
|
|
653
677
|
*/
|
|
654
|
-
slotProps:
|
|
655
|
-
arrow:
|
|
656
|
-
popper:
|
|
657
|
-
tooltip:
|
|
658
|
-
transition:
|
|
678
|
+
slotProps: e.shape({
|
|
679
|
+
arrow: e.oneOfType([e.func, e.object]),
|
|
680
|
+
popper: e.oneOfType([e.func, e.object]),
|
|
681
|
+
tooltip: e.oneOfType([e.func, e.object]),
|
|
682
|
+
transition: e.oneOfType([e.func, e.object])
|
|
659
683
|
}),
|
|
660
684
|
/**
|
|
661
685
|
* The components used for each slot inside.
|
|
662
|
-
*
|
|
663
|
-
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
664
|
-
*
|
|
665
686
|
* @default {}
|
|
666
687
|
*/
|
|
667
|
-
slots:
|
|
668
|
-
arrow:
|
|
669
|
-
popper:
|
|
670
|
-
tooltip:
|
|
671
|
-
transition:
|
|
688
|
+
slots: e.shape({
|
|
689
|
+
arrow: e.elementType,
|
|
690
|
+
popper: e.elementType,
|
|
691
|
+
tooltip: e.elementType,
|
|
692
|
+
transition: e.elementType
|
|
672
693
|
}),
|
|
673
694
|
/**
|
|
674
695
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
675
696
|
*/
|
|
676
|
-
sx:
|
|
697
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
677
698
|
/**
|
|
678
699
|
* Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
|
|
679
700
|
*/
|
|
680
|
-
title:
|
|
701
|
+
title: e.node,
|
|
681
702
|
/**
|
|
682
703
|
* The component used for the transition.
|
|
683
704
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
684
|
-
* @
|
|
705
|
+
* @deprecated use the `slots.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
685
706
|
*/
|
|
686
|
-
TransitionComponent:
|
|
707
|
+
TransitionComponent: e.elementType,
|
|
687
708
|
/**
|
|
688
709
|
* Props applied to the transition element.
|
|
689
710
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
711
|
+
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
712
|
+
* @default {}
|
|
690
713
|
*/
|
|
691
|
-
TransitionProps:
|
|
714
|
+
TransitionProps: e.object
|
|
692
715
|
});
|
|
693
716
|
export {
|
|
694
|
-
|
|
695
|
-
|
|
717
|
+
To as T,
|
|
718
|
+
co as g,
|
|
696
719
|
p as t
|
|
697
720
|
};
|