@cgi-learning-hub/ui 1.3.4-dev.1733150814 → 1.3.4-dev.1734088767
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Backdrop-DqUdx8FP.cjs +1 -0
- package/dist/{Backdrop-BlKt7y1x.js → Backdrop-ZqzrnV2E.js} +5 -5
- package/dist/Box-Be6jhcmK.cjs +1 -0
- package/dist/{Box-DErdbtsw.js → Box-DN_2fcm9.js} +3 -3
- package/dist/Button-C6UXybBV.cjs +1 -0
- package/dist/{Button-CiqVGfRs.js → Button-CL9rFoOY.js} +151 -117
- package/dist/{ButtonBase-DUPJVOlc.js → ButtonBase-CYkLbJ0U.js} +5 -5
- package/dist/{ButtonBase-BoWeLMzR.cjs → ButtonBase-DzK1n18b.cjs} +3 -3
- package/dist/{Card-mGRk1RuE.js → Card-DO4cAmNC.js} +3 -3
- package/dist/Card-DsmqVSx1.cjs +1 -0
- package/dist/Checkbox-Btg05OjV.cjs +1 -0
- package/dist/{Checkbox-aJ1r7ufI.js → Checkbox-CLM5GjuC.js} +23 -22
- package/dist/CircularProgress-BfbGcmHT.cjs +28 -0
- package/dist/{CircularProgress-CfODO7vI.js → CircularProgress-C4xtwh4E.js} +14 -13
- package/dist/DatePicker-BXTOQETi.cjs +14 -0
- package/dist/{DatePicker-Dyf9Vhld.js → DatePicker-D9suyaUZ.js} +537 -536
- package/dist/DefaultPropsProvider-DE-Tx_ov.cjs +17 -0
- package/dist/DefaultPropsProvider-DUWovK-8.js +454 -0
- package/dist/{Delete-DyzDL8-Y.cjs → Delete-CpADFuIX.cjs} +1 -1
- package/dist/{Delete-BOQTx9ze.js → Delete-DWXEW4-c.js} +1 -1
- package/dist/{DialogContent-D1KFPXhr.js → DialogContent-D_JmqJt6.js} +30 -29
- package/dist/DialogContent-gRISmOoj.cjs +1 -0
- package/dist/{DialogTitle-AQ-YU9PH.js → DialogTitle-CID6RFNo.js} +4 -4
- package/dist/DialogTitle-Dhxh1DVb.cjs +1 -0
- package/dist/Divider-BjxxEFnr.cjs +1 -0
- package/dist/{Divider-C0R1SUa4.js → Divider-HhF8ckeh.js} +4 -4
- package/dist/{FormControlLabel-w-X91z27.js → FormControlLabel-0-cflTuo.js} +13 -12
- package/dist/FormControlLabel-C-eZV5Xc.cjs +1 -0
- package/dist/FormGroup-Ck7StJ6i.cjs +1 -0
- package/dist/{FormGroup-6NoANcYk.js → FormGroup-DIP4u-gv.js} +2 -2
- package/dist/FormLabel-Ch103TK-.cjs +2 -0
- package/dist/{FormLabel-CoLJ9tA8.js → FormLabel-X7FN1eBV.js} +6 -5
- package/dist/{Grow-SW33sONG.js → Grow-BgMSa0P2.js} +4 -4
- package/dist/Grow-D7OAahbU.cjs +1 -0
- package/dist/{IconButton-DjeMTpI5.js → IconButton-CMwpC2Co.js} +9 -8
- package/dist/IconButton-DbWtCGLB.cjs +2 -0
- package/dist/{InputAdornment-ByiVSgFT.js → InputAdornment-B4hI0-Jz.js} +9 -8
- package/dist/InputAdornment-Cl2OaKlw.cjs +1 -0
- package/dist/InputBase-BuVAuMNp.cjs +3 -0
- package/dist/{InputBase-CvU0-Zg6.js → InputBase-DrofJ7xL.js} +23 -22
- package/dist/Link-AXhb0uJT.cjs +1 -0
- package/dist/{Link-Dmwt9wxb.js → Link-Bdupo_fW.js} +11 -10
- package/dist/{Menu-4U27Dst1.js → Menu-DR-xtxpt.js} +27 -26
- package/dist/{Menu-DREdNbqu.cjs → Menu-_chQG-Za.cjs} +6 -6
- package/dist/{MenuItem-CqPsuuC1.js → MenuItem-C_d0Sc_L.js} +7 -7
- package/dist/MenuItem-De6eStq9.cjs +1 -0
- package/dist/{Modal-D_mqYIr2.js → Modal-C4Jb6sd1.js} +9 -9
- package/dist/Modal-GXSEk85U.cjs +2 -0
- package/dist/Paper-CH4BABUB.cjs +2 -0
- package/dist/{Paper-D973Ow-i.js → Paper-nlWPEgQh.js} +4 -4
- package/dist/Popper-CjTplNLW.cjs +4 -0
- package/dist/{Popper-B8oNZqtn.js → Popper-CkAj_qw_.js} +5 -5
- package/dist/{Portal-BKbBRbWN.js → Portal-BcFwfiTx.js} +3 -3
- package/dist/Portal-BruYsISj.cjs +1 -0
- package/dist/{Radio-BrzQH9pY.js → Radio-B0v6nDvz.js} +16 -15
- package/dist/Radio-BbZnB74m.cjs +1 -0
- package/dist/Select-BFGwwKap.cjs +3 -0
- package/dist/{Select-CgAPAUTr.js → Select-D9fwtA9U.js} +62 -60
- package/dist/{Stack-CYXQpKS2.js → Stack-C1i6_V9e.js} +105 -60
- package/dist/Stack-DMNZvXss.cjs +1 -0
- package/dist/SwitchBase-BpMNk4XV.cjs +1 -0
- package/dist/{SwitchBase-CGa9A6SL.js → SwitchBase-DfbwljzN.js} +23 -22
- package/dist/{TableSortLabel-hvz89Dvu.js → TableSortLabel-DwnLOHOy.js} +1238 -1225
- package/dist/TableSortLabel-lnTBXy-V.cjs +98 -0
- package/dist/{Tabs-BPI2IyPx.js → Tabs-BoFP2RHv.js} +200 -198
- package/dist/Tabs-DEvwJheI.cjs +4 -0
- package/dist/{TextField-C4nIxR_t.js → TextField-kwhzNVAL.js} +20 -19
- package/dist/TextField-waKWSLD4.cjs +1 -0
- package/dist/Tooltip-CFyOA9CT.cjs +4 -0
- package/dist/{Tooltip-Bdrv-e2a.js → Tooltip-tgkiC77d.js} +31 -30
- package/dist/Typography-B6KFjCtE.cjs +1 -0
- package/dist/{Typography-CUdlQxLM.js → Typography-DWXYj92v.js} +13 -12
- package/dist/capitalize-DASFtB-F.cjs +1 -0
- package/dist/capitalize-NmHVRYy8.js +9 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +22 -21
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- 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.d.ts +3 -1
- package/dist/components/index.es.js +144 -142
- 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 +25 -24
- 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-CVd3Lo1D.js → createSvgIcon-CeuAoIMQ.js} +6 -5
- package/dist/createSvgIcon-eUfAcV0x.cjs +1 -0
- package/dist/dividerClasses-CSD96RzX.cjs +1 -0
- package/dist/{dividerClasses-kN_Ky2Bl.js → dividerClasses-DrJ5oIdP.js} +1 -1
- package/dist/elementTypeAcceptingRef-Cz_FeG92.cjs +1 -0
- package/dist/{elementTypeAcceptingRef-modXfN2G.js → elementTypeAcceptingRef-HBfwF2vD.js} +1 -1
- package/dist/extendSxProp-Fr1MMO0I.cjs +1 -0
- package/dist/{extendSxProp-CHv0k-C6.js → extendSxProp-NjjUyYdB.js} +1 -1
- package/dist/{identifier-Bn0tF6ls.js → generateUtilityClasses--6MLb_cS.js} +867 -837
- package/dist/generateUtilityClasses-DEQ18TAF.cjs +59 -0
- package/dist/{index-CVpJYeY2.js → index-B4GmPutS.js} +6 -5
- package/dist/{index-BNojWn2E.js → index-BGCIdIru.js} +29 -29
- package/dist/index-BoQHt8iN.cjs +1 -0
- package/dist/index-CRdsZkOC.cjs +17 -0
- package/dist/index-CmEzEdk2.cjs +5 -0
- package/dist/index-XYfXmNqA.js +186 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +144 -142
- package/dist/{memoTheme-BPA1FjB4.cjs → memoTheme-D99chbOP.cjs} +1 -1
- package/dist/{memoTheme-CMJVTZEg.js → memoTheme-o8RCKrNG.js} +1 -1
- package/dist/mergeSlotProps-DSv3FKLb.cjs +1 -0
- package/dist/{resolveComponentProps-DHoZOPOi.js → mergeSlotProps-KHPCviGJ.js} +7 -7
- package/dist/useEnhancedEffect-C9MKL5N4.cjs +1 -0
- package/dist/useEnhancedEffect-DlS7O_-p.js +7 -0
- package/dist/useSlot-DsW0udy9.cjs +1 -0
- package/dist/{useSlot-t9oGnIgq.js → useSlot-eWxwpnv1.js} +1 -1
- package/dist/useSlotProps--FPRW1CI.cjs +1 -0
- package/dist/{index-waINWr3i.js → useSlotProps-C7zjg7t9.js} +26 -26
- package/dist/useTheme-B1YEBlI0.cjs +1 -0
- package/dist/useTheme-BXzyKigM.js +11 -0
- package/dist/{useTheme-CBsFvF7I.js → useTheme-D0ITn2Re.js} +1 -1
- package/dist/useTheme-DFJNv-zn.cjs +1 -0
- package/dist/useThemeProps-BwyYDczI.cjs +1 -0
- package/dist/{useThemeProps-5Bku71LW.js → useThemeProps-DrCROxdY.js} +2 -2
- package/dist/{useThemeProps-I9EHeqzU.js → useThemeProps-DsDeaP0E.js} +3 -3
- package/dist/{useThemeProps-C692LOYf.cjs → useThemeProps-j-HQOOfB.cjs} +1 -1
- package/dist/{useTimeout-3Y5y4gWq.js → useTimeout-FkIxJmTC.js} +1 -1
- package/dist/useTimeout-NIA-3R5R.cjs +1 -0
- package/dist/{utils-CE_a8glN.js → utils-70jLtOQP.js} +41 -41
- package/dist/utils-DlWHEABQ.cjs +1 -0
- package/package.json +1 -1
- package/dist/Backdrop-vSE8W9jq.cjs +0 -1
- package/dist/Box-DMYs7NTb.cjs +0 -1
- package/dist/Button-D3dbHQM1.cjs +0 -1
- package/dist/Card-Cnh4u4kb.cjs +0 -1
- package/dist/Checkbox-s_RdgUlw.cjs +0 -1
- package/dist/CircularProgress-DHgcUb1c.cjs +0 -28
- package/dist/DatePicker-juzW4bLC.cjs +0 -14
- package/dist/DefaultPropsProvider-Biv7NHew.cjs +0 -17
- package/dist/DefaultPropsProvider-xJkZOrdv.js +0 -487
- package/dist/DialogContent-Dphl2SKX.cjs +0 -1
- package/dist/DialogTitle-C8AdXsDz.cjs +0 -1
- package/dist/Divider-Bdp8beK-.cjs +0 -1
- package/dist/FormControlLabel-BlO93LTi.cjs +0 -1
- package/dist/FormGroup-D0zSGn42.cjs +0 -1
- package/dist/FormLabel-BkiH7wl7.cjs +0 -2
- package/dist/Grow-DfACa72Q.cjs +0 -1
- package/dist/IconButton-DRs0xB4z.cjs +0 -2
- package/dist/InputAdornment-B1pggfEX.cjs +0 -1
- package/dist/InputBase-Xfjv-RYp.cjs +0 -3
- package/dist/Link-Z_UCBvgV.cjs +0 -1
- package/dist/MenuItem-CN75Du-9.cjs +0 -1
- package/dist/Modal-DWqBsogu.cjs +0 -2
- package/dist/Paper-CjMuucS5.cjs +0 -2
- package/dist/Popper-hzM0y1hA.cjs +0 -4
- package/dist/Portal-Bv2VRYHH.cjs +0 -1
- package/dist/Radio-DxbXYNhR.cjs +0 -1
- package/dist/Select-CL4E8NNL.cjs +0 -3
- package/dist/Stack-WrITLr1B.cjs +0 -1
- package/dist/SwitchBase-Cqh9rxOh.cjs +0 -1
- package/dist/TableSortLabel-mAzX4tAl.cjs +0 -98
- package/dist/Tabs-BNqwYd2G.cjs +0 -4
- package/dist/TextField-Dy0Iblqt.cjs +0 -1
- package/dist/Tooltip-vg27N3PU.cjs +0 -4
- package/dist/Typography-BF9bdWxl.cjs +0 -1
- package/dist/createSvgIcon-BMmqQ2z0.cjs +0 -1
- package/dist/dividerClasses-CyDs_RPD.cjs +0 -1
- package/dist/elementTypeAcceptingRef-5w32V5hP.cjs +0 -1
- package/dist/extendSxProp-6YOo46ig.cjs +0 -1
- package/dist/identifier-Dax8VlUh.cjs +0 -59
- package/dist/index-C5dNuV-2.cjs +0 -5
- package/dist/index-D3PBNx_m.cjs +0 -1
- package/dist/index-OLlWw08I.cjs +0 -1
- package/dist/refType-BmrOFNz6.js +0 -7
- package/dist/refType-Dm84STBj.cjs +0 -1
- package/dist/resolveComponentProps-4nhUsl3a.cjs +0 -1
- package/dist/useSlot-CJAXUvYJ.cjs +0 -1
- package/dist/useTheme-BIogn5Me.cjs +0 -1
- package/dist/useTheme-Bz4LKMiC.cjs +0 -1
- package/dist/useTheme-L3EQmvnN.js +0 -11
- package/dist/useThemeProps-DNFKz8wS.cjs +0 -1
- package/dist/useTimeout-CxOQget6.cjs +0 -1
- package/dist/utils-CusX8Edy.cjs +0 -1
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import * as c from "react";
|
|
2
|
-
import { H as pt, I as ft,
|
|
3
|
-
import { m as bt } from "./memoTheme-
|
|
2
|
+
import { H as pt, I as ft, G as W, P as o } from "./generateUtilityClasses--6MLb_cS.js";
|
|
3
|
+
import { m as bt } from "./memoTheme-o8RCKrNG.js";
|
|
4
4
|
import { jsxs as q, jsx as x } from "react/jsx-runtime";
|
|
5
|
-
import { s as
|
|
6
|
-
import { B as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { u as
|
|
5
|
+
import { s as j, u as ht, c as mt } from "./DefaultPropsProvider-DUWovK-8.js";
|
|
6
|
+
import { B as Wt } from "./ButtonBase-CYkLbJ0U.js";
|
|
7
|
+
import { c as kt } from "./capitalize-NmHVRYy8.js";
|
|
8
|
+
import { a as oo } from "./useThemeProps-DsDeaP0E.js";
|
|
9
|
+
import { r as eo } from "./index-XYfXmNqA.js";
|
|
10
|
+
import { u as zt, a as rt } from "./useSlotProps-C7zjg7t9.js";
|
|
11
|
+
import { u as ro } from "./useTheme-BXzyKigM.js";
|
|
12
|
+
import { u as no, r as lo } from "./useEnhancedEffect-DlS7O_-p.js";
|
|
11
13
|
import { o as Dt } from "./ownerWindow-niciwP7I.js";
|
|
12
14
|
import { d as $t } from "./debounce-46wSf_lW.js";
|
|
13
|
-
import { a as dt } from "./useTimeout-
|
|
14
|
-
import { c as At } from "./createSvgIcon-
|
|
15
|
-
import { o as
|
|
16
|
-
function
|
|
17
|
-
return pt("MuiTab",
|
|
15
|
+
import { a as dt } from "./useTimeout-FkIxJmTC.js";
|
|
16
|
+
import { c as At } from "./createSvgIcon-CeuAoIMQ.js";
|
|
17
|
+
import { o as so } from "./ownerDocument-CUrv0DIK.js";
|
|
18
|
+
function ao(e) {
|
|
19
|
+
return pt("MuiTab", e);
|
|
18
20
|
}
|
|
19
|
-
const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]),
|
|
21
|
+
const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper", "icon"]), io = (e) => {
|
|
20
22
|
const {
|
|
21
23
|
classes: t,
|
|
22
24
|
textColor: l,
|
|
@@ -26,28 +28,28 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
26
28
|
label: b,
|
|
27
29
|
selected: h,
|
|
28
30
|
disabled: f
|
|
29
|
-
} =
|
|
30
|
-
root: ["root", u && b && "labelIcon", `textColor${
|
|
31
|
+
} = e, S = {
|
|
32
|
+
root: ["root", u && b && "labelIcon", `textColor${kt(l)}`, d && "fullWidth", i && "wrapped", h && "selected", f && "disabled"],
|
|
31
33
|
icon: ["iconWrapper", "icon"]
|
|
32
34
|
};
|
|
33
|
-
return mt(S,
|
|
34
|
-
},
|
|
35
|
+
return mt(S, ao, t);
|
|
36
|
+
}, co = j(Wt, {
|
|
35
37
|
name: "MuiTab",
|
|
36
38
|
slot: "Root",
|
|
37
|
-
overridesResolver: (
|
|
39
|
+
overridesResolver: (e, t) => {
|
|
38
40
|
const {
|
|
39
41
|
ownerState: l
|
|
40
|
-
} =
|
|
41
|
-
return [t.root, l.label && l.icon && t.labelIcon, t[`textColor${
|
|
42
|
+
} = e;
|
|
43
|
+
return [t.root, l.label && l.icon && t.labelIcon, t[`textColor${kt(l.textColor)}`], l.fullWidth && t.fullWidth, l.wrapped && t.wrapped, {
|
|
42
44
|
[`& .${T.iconWrapper}`]: t.iconWrapper
|
|
43
45
|
}, {
|
|
44
46
|
[`& .${T.icon}`]: t.icon
|
|
45
47
|
}];
|
|
46
48
|
}
|
|
47
49
|
})(bt(({
|
|
48
|
-
theme:
|
|
50
|
+
theme: e
|
|
49
51
|
}) => ({
|
|
50
|
-
...
|
|
52
|
+
...e.typography.button,
|
|
51
53
|
maxWidth: 360,
|
|
52
54
|
minWidth: 90,
|
|
53
55
|
position: "relative",
|
|
@@ -108,7 +110,7 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
108
110
|
}) => t.icon && t.label && l === "start",
|
|
109
111
|
style: {
|
|
110
112
|
[`& > .${T.icon}`]: {
|
|
111
|
-
marginRight:
|
|
113
|
+
marginRight: e.spacing(1)
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
116
|
}, {
|
|
@@ -118,7 +120,7 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
118
120
|
}) => t.icon && t.label && l === "end",
|
|
119
121
|
style: {
|
|
120
122
|
[`& > .${T.icon}`]: {
|
|
121
|
-
marginLeft:
|
|
123
|
+
marginLeft: e.spacing(1)
|
|
122
124
|
}
|
|
123
125
|
}
|
|
124
126
|
}, {
|
|
@@ -133,7 +135,7 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
133
135
|
opacity: 1
|
|
134
136
|
},
|
|
135
137
|
[`&.${T.disabled}`]: {
|
|
136
|
-
opacity: (
|
|
138
|
+
opacity: (e.vars || e).palette.action.disabledOpacity
|
|
137
139
|
}
|
|
138
140
|
}
|
|
139
141
|
}, {
|
|
@@ -141,12 +143,12 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
141
143
|
textColor: "primary"
|
|
142
144
|
},
|
|
143
145
|
style: {
|
|
144
|
-
color: (
|
|
146
|
+
color: (e.vars || e).palette.text.secondary,
|
|
145
147
|
[`&.${T.selected}`]: {
|
|
146
|
-
color: (
|
|
148
|
+
color: (e.vars || e).palette.primary.main
|
|
147
149
|
},
|
|
148
150
|
[`&.${T.disabled}`]: {
|
|
149
|
-
color: (
|
|
151
|
+
color: (e.vars || e).palette.text.disabled
|
|
150
152
|
}
|
|
151
153
|
}
|
|
152
154
|
}, {
|
|
@@ -154,12 +156,12 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
154
156
|
textColor: "secondary"
|
|
155
157
|
},
|
|
156
158
|
style: {
|
|
157
|
-
color: (
|
|
159
|
+
color: (e.vars || e).palette.text.secondary,
|
|
158
160
|
[`&.${T.selected}`]: {
|
|
159
|
-
color: (
|
|
161
|
+
color: (e.vars || e).palette.secondary.main
|
|
160
162
|
},
|
|
161
163
|
[`&.${T.disabled}`]: {
|
|
162
|
-
color: (
|
|
164
|
+
color: (e.vars || e).palette.text.disabled
|
|
163
165
|
}
|
|
164
166
|
}
|
|
165
167
|
}, {
|
|
@@ -177,10 +179,10 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
177
179
|
ownerState: t
|
|
178
180
|
}) => t.wrapped,
|
|
179
181
|
style: {
|
|
180
|
-
fontSize:
|
|
182
|
+
fontSize: e.typography.pxToRem(12)
|
|
181
183
|
}
|
|
182
184
|
}]
|
|
183
|
-
}))),
|
|
185
|
+
}))), uo = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
184
186
|
const d = ht({
|
|
185
187
|
props: t,
|
|
186
188
|
name: "MuiTab"
|
|
@@ -203,7 +205,7 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
203
205
|
// eslint-disable-next-line react/prop-types
|
|
204
206
|
selectionFollowsFocus: g,
|
|
205
207
|
// eslint-disable-next-line react/prop-types
|
|
206
|
-
textColor:
|
|
208
|
+
textColor: L = "inherit",
|
|
207
209
|
value: M,
|
|
208
210
|
wrapped: nt = !1,
|
|
209
211
|
...H
|
|
@@ -216,16 +218,16 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
216
218
|
iconPosition: S,
|
|
217
219
|
label: !!y,
|
|
218
220
|
fullWidth: h,
|
|
219
|
-
textColor:
|
|
221
|
+
textColor: L,
|
|
220
222
|
wrapped: nt
|
|
221
|
-
}, V =
|
|
223
|
+
}, V = io(U), z = f && y && /* @__PURE__ */ c.isValidElement(f) ? /* @__PURE__ */ c.cloneElement(f, {
|
|
222
224
|
className: W(V.icon, f.props.className)
|
|
223
225
|
}) : f, G = (R) => {
|
|
224
226
|
!I && m && m(R, M), C && C(R);
|
|
225
227
|
}, N = (R) => {
|
|
226
228
|
g && !I && m && m(R, M), k && k(R);
|
|
227
229
|
};
|
|
228
|
-
return /* @__PURE__ */ q(
|
|
230
|
+
return /* @__PURE__ */ q(co, {
|
|
229
231
|
focusRipple: !b,
|
|
230
232
|
className: W(V.root, i),
|
|
231
233
|
ref: l,
|
|
@@ -244,7 +246,7 @@ const T = ft("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrima
|
|
|
244
246
|
}), v]
|
|
245
247
|
});
|
|
246
248
|
});
|
|
247
|
-
process.env.NODE_ENV !== "production" && (
|
|
249
|
+
process.env.NODE_ENV !== "production" && (uo.propTypes = {
|
|
248
250
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
249
251
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
250
252
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -253,25 +255,25 @@ process.env.NODE_ENV !== "production" && (de.propTypes = {
|
|
|
253
255
|
* This prop isn't supported.
|
|
254
256
|
* Use the `component` prop if you need to change the children structure.
|
|
255
257
|
*/
|
|
256
|
-
children:
|
|
258
|
+
children: oo,
|
|
257
259
|
/**
|
|
258
260
|
* Override or extend the styles applied to the component.
|
|
259
261
|
*/
|
|
260
|
-
classes:
|
|
262
|
+
classes: o.object,
|
|
261
263
|
/**
|
|
262
264
|
* @ignore
|
|
263
265
|
*/
|
|
264
|
-
className:
|
|
266
|
+
className: o.string,
|
|
265
267
|
/**
|
|
266
268
|
* If `true`, the component is disabled.
|
|
267
269
|
* @default false
|
|
268
270
|
*/
|
|
269
|
-
disabled:
|
|
271
|
+
disabled: o.bool,
|
|
270
272
|
/**
|
|
271
273
|
* If `true`, the keyboard focus ripple is disabled.
|
|
272
274
|
* @default false
|
|
273
275
|
*/
|
|
274
|
-
disableFocusRipple:
|
|
276
|
+
disableFocusRipple: o.bool,
|
|
275
277
|
/**
|
|
276
278
|
* If `true`, the ripple effect is disabled.
|
|
277
279
|
*
|
|
@@ -279,64 +281,64 @@ process.env.NODE_ENV !== "production" && (de.propTypes = {
|
|
|
279
281
|
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
280
282
|
* @default false
|
|
281
283
|
*/
|
|
282
|
-
disableRipple:
|
|
284
|
+
disableRipple: o.bool,
|
|
283
285
|
/**
|
|
284
286
|
* The icon to display.
|
|
285
287
|
*/
|
|
286
|
-
icon:
|
|
288
|
+
icon: o.oneOfType([o.element, o.string]),
|
|
287
289
|
/**
|
|
288
290
|
* The position of the icon relative to the label.
|
|
289
291
|
* @default 'top'
|
|
290
292
|
*/
|
|
291
|
-
iconPosition:
|
|
293
|
+
iconPosition: o.oneOf(["bottom", "end", "start", "top"]),
|
|
292
294
|
/**
|
|
293
295
|
* The label element.
|
|
294
296
|
*/
|
|
295
|
-
label:
|
|
297
|
+
label: o.node,
|
|
296
298
|
/**
|
|
297
299
|
* @ignore
|
|
298
300
|
*/
|
|
299
|
-
onChange:
|
|
301
|
+
onChange: o.func,
|
|
300
302
|
/**
|
|
301
303
|
* @ignore
|
|
302
304
|
*/
|
|
303
|
-
onClick:
|
|
305
|
+
onClick: o.func,
|
|
304
306
|
/**
|
|
305
307
|
* @ignore
|
|
306
308
|
*/
|
|
307
|
-
onFocus:
|
|
309
|
+
onFocus: o.func,
|
|
308
310
|
/**
|
|
309
311
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
310
312
|
*/
|
|
311
|
-
sx:
|
|
313
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
312
314
|
/**
|
|
313
315
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
314
316
|
*/
|
|
315
|
-
value:
|
|
317
|
+
value: o.any,
|
|
316
318
|
/**
|
|
317
319
|
* Tab labels appear in a single row.
|
|
318
320
|
* They can use a second line if needed.
|
|
319
321
|
* @default false
|
|
320
322
|
*/
|
|
321
|
-
wrapped:
|
|
323
|
+
wrapped: o.bool
|
|
322
324
|
});
|
|
323
|
-
const
|
|
325
|
+
const po = At(/* @__PURE__ */ x("path", {
|
|
324
326
|
d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
|
|
325
|
-
}), "KeyboardArrowLeft"),
|
|
327
|
+
}), "KeyboardArrowLeft"), fo = At(/* @__PURE__ */ x("path", {
|
|
326
328
|
d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
|
|
327
329
|
}), "KeyboardArrowRight");
|
|
328
|
-
function
|
|
329
|
-
return (1 + Math.sin(Math.PI *
|
|
330
|
+
function bo(e) {
|
|
331
|
+
return (1 + Math.sin(Math.PI * e - Math.PI / 2)) / 2;
|
|
330
332
|
}
|
|
331
|
-
function
|
|
333
|
+
function ho(e, t, l, d = {}, i = () => {
|
|
332
334
|
}) {
|
|
333
335
|
const {
|
|
334
|
-
ease: u =
|
|
336
|
+
ease: u = bo,
|
|
335
337
|
duration: b = 300
|
|
336
338
|
// standard
|
|
337
339
|
} = d;
|
|
338
340
|
let h = null;
|
|
339
|
-
const f = t[
|
|
341
|
+
const f = t[e];
|
|
340
342
|
let S = !1;
|
|
341
343
|
const v = () => {
|
|
342
344
|
S = !0;
|
|
@@ -347,7 +349,7 @@ function be(o, t, l, d = {}, i = () => {
|
|
|
347
349
|
}
|
|
348
350
|
h === null && (h = m);
|
|
349
351
|
const C = Math.min(1, (m - h) / b);
|
|
350
|
-
if (t[
|
|
352
|
+
if (t[e] = u(C) * (l - f) + f, C >= 1) {
|
|
351
353
|
requestAnimationFrame(() => {
|
|
352
354
|
i(null);
|
|
353
355
|
});
|
|
@@ -357,21 +359,21 @@ function be(o, t, l, d = {}, i = () => {
|
|
|
357
359
|
};
|
|
358
360
|
return f === l ? (i(new Error("Element already at target position")), v) : (requestAnimationFrame(y), v);
|
|
359
361
|
}
|
|
360
|
-
const
|
|
362
|
+
const mo = {
|
|
361
363
|
width: 99,
|
|
362
364
|
height: 99,
|
|
363
365
|
position: "absolute",
|
|
364
366
|
top: -9999,
|
|
365
367
|
overflow: "scroll"
|
|
366
368
|
};
|
|
367
|
-
function Ft(
|
|
369
|
+
function Ft(e) {
|
|
368
370
|
const {
|
|
369
371
|
onChange: t,
|
|
370
372
|
...l
|
|
371
|
-
} =
|
|
373
|
+
} = e, d = c.useRef(), i = c.useRef(null), u = () => {
|
|
372
374
|
d.current = i.current.offsetHeight - i.current.clientHeight;
|
|
373
375
|
};
|
|
374
|
-
return
|
|
376
|
+
return no(() => {
|
|
375
377
|
const b = $t(() => {
|
|
376
378
|
const f = d.current;
|
|
377
379
|
u(), f !== d.current && t(d.current);
|
|
@@ -382,40 +384,40 @@ function Ft(o) {
|
|
|
382
384
|
}, [t]), c.useEffect(() => {
|
|
383
385
|
u(), t(d.current);
|
|
384
386
|
}, [t]), /* @__PURE__ */ x("div", {
|
|
385
|
-
style:
|
|
387
|
+
style: mo,
|
|
386
388
|
ref: i,
|
|
387
389
|
...l
|
|
388
390
|
});
|
|
389
391
|
}
|
|
390
392
|
process.env.NODE_ENV !== "production" && (Ft.propTypes = {
|
|
391
|
-
onChange:
|
|
393
|
+
onChange: o.func.isRequired
|
|
392
394
|
});
|
|
393
|
-
function
|
|
394
|
-
return pt("MuiTabScrollButton",
|
|
395
|
+
function So(e) {
|
|
396
|
+
return pt("MuiTabScrollButton", e);
|
|
395
397
|
}
|
|
396
|
-
const
|
|
398
|
+
const vo = ft("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), yo = (e) => {
|
|
397
399
|
const {
|
|
398
400
|
classes: t,
|
|
399
401
|
orientation: l,
|
|
400
402
|
disabled: d
|
|
401
|
-
} =
|
|
403
|
+
} = e;
|
|
402
404
|
return mt({
|
|
403
405
|
root: ["root", l, d && "disabled"]
|
|
404
|
-
},
|
|
405
|
-
},
|
|
406
|
+
}, So, t);
|
|
407
|
+
}, go = j(Wt, {
|
|
406
408
|
name: "MuiTabScrollButton",
|
|
407
409
|
slot: "Root",
|
|
408
|
-
overridesResolver: (
|
|
410
|
+
overridesResolver: (e, t) => {
|
|
409
411
|
const {
|
|
410
412
|
ownerState: l
|
|
411
|
-
} =
|
|
413
|
+
} = e;
|
|
412
414
|
return [t.root, l.orientation && t[l.orientation]];
|
|
413
415
|
}
|
|
414
416
|
})({
|
|
415
417
|
width: 40,
|
|
416
418
|
flexShrink: 0,
|
|
417
419
|
opacity: 0.8,
|
|
418
|
-
[`&.${
|
|
420
|
+
[`&.${vo.disabled}`]: {
|
|
419
421
|
opacity: 0
|
|
420
422
|
},
|
|
421
423
|
variants: [{
|
|
@@ -430,7 +432,7 @@ const Se = ft("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
430
432
|
}
|
|
431
433
|
}
|
|
432
434
|
}]
|
|
433
|
-
}),
|
|
435
|
+
}), jt = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
434
436
|
const d = ht({
|
|
435
437
|
props: t,
|
|
436
438
|
name: "MuiTabScrollButton"
|
|
@@ -445,14 +447,14 @@ const Se = ft("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
445
447
|
} = d, y = zt(), m = {
|
|
446
448
|
isRtl: y,
|
|
447
449
|
...d
|
|
448
|
-
}, C =
|
|
450
|
+
}, C = yo(m), k = u.StartScrollButtonIcon ?? po, I = u.EndScrollButtonIcon ?? fo, g = rt({
|
|
449
451
|
elementType: k,
|
|
450
452
|
externalSlotProps: b.startScrollButtonIcon,
|
|
451
453
|
additionalProps: {
|
|
452
454
|
fontSize: "small"
|
|
453
455
|
},
|
|
454
456
|
ownerState: m
|
|
455
|
-
}),
|
|
457
|
+
}), L = rt({
|
|
456
458
|
elementType: I,
|
|
457
459
|
externalSlotProps: b.endScrollButtonIcon,
|
|
458
460
|
additionalProps: {
|
|
@@ -460,7 +462,7 @@ const Se = ft("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
460
462
|
},
|
|
461
463
|
ownerState: m
|
|
462
464
|
});
|
|
463
|
-
return /* @__PURE__ */ x(
|
|
465
|
+
return /* @__PURE__ */ x(go, {
|
|
464
466
|
component: "div",
|
|
465
467
|
className: W(C.root, i),
|
|
466
468
|
ref: l,
|
|
@@ -477,11 +479,11 @@ const Se = ft("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
477
479
|
children: h === "left" ? /* @__PURE__ */ x(k, {
|
|
478
480
|
...g
|
|
479
481
|
}) : /* @__PURE__ */ x(I, {
|
|
480
|
-
...
|
|
482
|
+
...L
|
|
481
483
|
})
|
|
482
484
|
});
|
|
483
485
|
});
|
|
484
|
-
process.env.NODE_ENV !== "production" && (
|
|
486
|
+
process.env.NODE_ENV !== "production" && (jt.propTypes = {
|
|
485
487
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
486
488
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
487
489
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -489,74 +491,74 @@ process.env.NODE_ENV !== "production" && (Lt.propTypes = {
|
|
|
489
491
|
/**
|
|
490
492
|
* The content of the component.
|
|
491
493
|
*/
|
|
492
|
-
children:
|
|
494
|
+
children: o.node,
|
|
493
495
|
/**
|
|
494
496
|
* Override or extend the styles applied to the component.
|
|
495
497
|
*/
|
|
496
|
-
classes:
|
|
498
|
+
classes: o.object,
|
|
497
499
|
/**
|
|
498
500
|
* @ignore
|
|
499
501
|
*/
|
|
500
|
-
className:
|
|
502
|
+
className: o.string,
|
|
501
503
|
/**
|
|
502
504
|
* The direction the button should indicate.
|
|
503
505
|
*/
|
|
504
|
-
direction:
|
|
506
|
+
direction: o.oneOf(["left", "right"]).isRequired,
|
|
505
507
|
/**
|
|
506
508
|
* If `true`, the component is disabled.
|
|
507
509
|
* @default false
|
|
508
510
|
*/
|
|
509
|
-
disabled:
|
|
511
|
+
disabled: o.bool,
|
|
510
512
|
/**
|
|
511
513
|
* The component orientation (layout flow direction).
|
|
512
514
|
*/
|
|
513
|
-
orientation:
|
|
515
|
+
orientation: o.oneOf(["horizontal", "vertical"]).isRequired,
|
|
514
516
|
/**
|
|
515
517
|
* The extra props for the slot components.
|
|
516
518
|
* You can override the existing props or add new ones.
|
|
517
519
|
* @default {}
|
|
518
520
|
*/
|
|
519
|
-
slotProps:
|
|
520
|
-
endScrollButtonIcon:
|
|
521
|
-
startScrollButtonIcon:
|
|
521
|
+
slotProps: o.shape({
|
|
522
|
+
endScrollButtonIcon: o.oneOfType([o.func, o.object]),
|
|
523
|
+
startScrollButtonIcon: o.oneOfType([o.func, o.object])
|
|
522
524
|
}),
|
|
523
525
|
/**
|
|
524
526
|
* The components used for each slot inside.
|
|
525
527
|
* @default {}
|
|
526
528
|
*/
|
|
527
|
-
slots:
|
|
528
|
-
EndScrollButtonIcon:
|
|
529
|
-
StartScrollButtonIcon:
|
|
529
|
+
slots: o.shape({
|
|
530
|
+
EndScrollButtonIcon: o.elementType,
|
|
531
|
+
StartScrollButtonIcon: o.elementType
|
|
530
532
|
}),
|
|
531
533
|
/**
|
|
532
534
|
* @ignore
|
|
533
535
|
*/
|
|
534
|
-
style:
|
|
536
|
+
style: o.object,
|
|
535
537
|
/**
|
|
536
538
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
537
539
|
*/
|
|
538
|
-
sx:
|
|
540
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
539
541
|
});
|
|
540
|
-
function
|
|
541
|
-
return pt("MuiTabs",
|
|
542
|
+
function To(e) {
|
|
543
|
+
return pt("MuiTabs", e);
|
|
542
544
|
}
|
|
543
|
-
const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), Rt = (
|
|
544
|
-
let d = !1, i = l(
|
|
545
|
+
const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), Rt = (e, t) => e === t ? e.firstChild : t && t.nextElementSibling ? t.nextElementSibling : e.firstChild, Ot = (e, t) => e === t ? e.lastChild : t && t.previousElementSibling ? t.previousElementSibling : e.lastChild, et = (e, t, l) => {
|
|
546
|
+
let d = !1, i = l(e, t);
|
|
545
547
|
for (; i; ) {
|
|
546
|
-
if (i ===
|
|
548
|
+
if (i === e.firstChild) {
|
|
547
549
|
if (d)
|
|
548
550
|
return;
|
|
549
551
|
d = !0;
|
|
550
552
|
}
|
|
551
553
|
const u = i.disabled || i.getAttribute("aria-disabled") === "true";
|
|
552
554
|
if (!i.hasAttribute("tabindex") || u)
|
|
553
|
-
i = l(
|
|
555
|
+
i = l(e, i);
|
|
554
556
|
else {
|
|
555
557
|
i.focus();
|
|
556
558
|
return;
|
|
557
559
|
}
|
|
558
560
|
}
|
|
559
|
-
},
|
|
561
|
+
}, wo = (e) => {
|
|
560
562
|
const {
|
|
561
563
|
vertical: t,
|
|
562
564
|
fixed: l,
|
|
@@ -566,7 +568,7 @@ const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
566
568
|
centered: b,
|
|
567
569
|
scrollButtonsHideMobile: h,
|
|
568
570
|
classes: f
|
|
569
|
-
} =
|
|
571
|
+
} = e;
|
|
570
572
|
return mt({
|
|
571
573
|
root: ["root", t && "vertical"],
|
|
572
574
|
scroller: ["scroller", l && "fixed", d && "hideScrollbar", i && "scrollableX", u && "scrollableY"],
|
|
@@ -575,14 +577,14 @@ const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
575
577
|
scrollButtons: ["scrollButtons", h && "scrollButtonsHideMobile"],
|
|
576
578
|
scrollableX: [i && "scrollableX"],
|
|
577
579
|
hideScrollbar: [d && "hideScrollbar"]
|
|
578
|
-
},
|
|
579
|
-
},
|
|
580
|
+
}, To, f);
|
|
581
|
+
}, Bo = j("div", {
|
|
580
582
|
name: "MuiTabs",
|
|
581
583
|
slot: "Root",
|
|
582
|
-
overridesResolver: (
|
|
584
|
+
overridesResolver: (e, t) => {
|
|
583
585
|
const {
|
|
584
586
|
ownerState: l
|
|
585
|
-
} =
|
|
587
|
+
} = e;
|
|
586
588
|
return [{
|
|
587
589
|
[`& .${ut.scrollButtons}`]: t.scrollButtons
|
|
588
590
|
}, {
|
|
@@ -590,7 +592,7 @@ const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
590
592
|
}, t.root, l.vertical && t.vertical];
|
|
591
593
|
}
|
|
592
594
|
})(bt(({
|
|
593
|
-
theme:
|
|
595
|
+
theme: e
|
|
594
596
|
}) => ({
|
|
595
597
|
overflow: "hidden",
|
|
596
598
|
minHeight: 48,
|
|
@@ -610,19 +612,19 @@ const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
610
612
|
}) => t.scrollButtonsHideMobile,
|
|
611
613
|
style: {
|
|
612
614
|
[`& .${ut.scrollButtons}`]: {
|
|
613
|
-
[
|
|
615
|
+
[e.breakpoints.down("sm")]: {
|
|
614
616
|
display: "none"
|
|
615
617
|
}
|
|
616
618
|
}
|
|
617
619
|
}
|
|
618
620
|
}]
|
|
619
|
-
}))),
|
|
621
|
+
}))), xo = j("div", {
|
|
620
622
|
name: "MuiTabs",
|
|
621
623
|
slot: "Scroller",
|
|
622
|
-
overridesResolver: (
|
|
624
|
+
overridesResolver: (e, t) => {
|
|
623
625
|
const {
|
|
624
626
|
ownerState: l
|
|
625
|
-
} =
|
|
627
|
+
} = e;
|
|
626
628
|
return [t.scroller, l.fixed && t.fixed, l.hideScrollbar && t.hideScrollbar, l.scrollableX && t.scrollableX, l.scrollableY && t.scrollableY];
|
|
627
629
|
}
|
|
628
630
|
})({
|
|
@@ -632,16 +634,16 @@ const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
632
634
|
whiteSpace: "nowrap",
|
|
633
635
|
variants: [{
|
|
634
636
|
props: ({
|
|
635
|
-
ownerState:
|
|
636
|
-
}) =>
|
|
637
|
+
ownerState: e
|
|
638
|
+
}) => e.fixed,
|
|
637
639
|
style: {
|
|
638
640
|
overflowX: "hidden",
|
|
639
641
|
width: "100%"
|
|
640
642
|
}
|
|
641
643
|
}, {
|
|
642
644
|
props: ({
|
|
643
|
-
ownerState:
|
|
644
|
-
}) =>
|
|
645
|
+
ownerState: e
|
|
646
|
+
}) => e.hideScrollbar,
|
|
645
647
|
style: {
|
|
646
648
|
// Hide dimensionless scrollbar on macOS
|
|
647
649
|
scrollbarWidth: "none",
|
|
@@ -653,72 +655,72 @@ const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
653
655
|
}
|
|
654
656
|
}, {
|
|
655
657
|
props: ({
|
|
656
|
-
ownerState:
|
|
657
|
-
}) =>
|
|
658
|
+
ownerState: e
|
|
659
|
+
}) => e.scrollableX,
|
|
658
660
|
style: {
|
|
659
661
|
overflowX: "auto",
|
|
660
662
|
overflowY: "hidden"
|
|
661
663
|
}
|
|
662
664
|
}, {
|
|
663
665
|
props: ({
|
|
664
|
-
ownerState:
|
|
665
|
-
}) =>
|
|
666
|
+
ownerState: e
|
|
667
|
+
}) => e.scrollableY,
|
|
666
668
|
style: {
|
|
667
669
|
overflowY: "auto",
|
|
668
670
|
overflowX: "hidden"
|
|
669
671
|
}
|
|
670
672
|
}]
|
|
671
|
-
}),
|
|
673
|
+
}), Co = j("div", {
|
|
672
674
|
name: "MuiTabs",
|
|
673
675
|
slot: "FlexContainer",
|
|
674
|
-
overridesResolver: (
|
|
676
|
+
overridesResolver: (e, t) => {
|
|
675
677
|
const {
|
|
676
678
|
ownerState: l
|
|
677
|
-
} =
|
|
679
|
+
} = e;
|
|
678
680
|
return [t.flexContainer, l.vertical && t.flexContainerVertical, l.centered && t.centered];
|
|
679
681
|
}
|
|
680
682
|
})({
|
|
681
683
|
display: "flex",
|
|
682
684
|
variants: [{
|
|
683
685
|
props: ({
|
|
684
|
-
ownerState:
|
|
685
|
-
}) =>
|
|
686
|
+
ownerState: e
|
|
687
|
+
}) => e.vertical,
|
|
686
688
|
style: {
|
|
687
689
|
flexDirection: "column"
|
|
688
690
|
}
|
|
689
691
|
}, {
|
|
690
692
|
props: ({
|
|
691
|
-
ownerState:
|
|
692
|
-
}) =>
|
|
693
|
+
ownerState: e
|
|
694
|
+
}) => e.centered,
|
|
693
695
|
style: {
|
|
694
696
|
justifyContent: "center"
|
|
695
697
|
}
|
|
696
698
|
}]
|
|
697
|
-
}),
|
|
699
|
+
}), Io = j("span", {
|
|
698
700
|
name: "MuiTabs",
|
|
699
701
|
slot: "Indicator",
|
|
700
|
-
overridesResolver: (
|
|
702
|
+
overridesResolver: (e, t) => t.indicator
|
|
701
703
|
})(bt(({
|
|
702
|
-
theme:
|
|
704
|
+
theme: e
|
|
703
705
|
}) => ({
|
|
704
706
|
position: "absolute",
|
|
705
707
|
height: 2,
|
|
706
708
|
bottom: 0,
|
|
707
709
|
width: "100%",
|
|
708
|
-
transition:
|
|
710
|
+
transition: e.transitions.create(),
|
|
709
711
|
variants: [{
|
|
710
712
|
props: {
|
|
711
713
|
indicatorColor: "primary"
|
|
712
714
|
},
|
|
713
715
|
style: {
|
|
714
|
-
backgroundColor: (
|
|
716
|
+
backgroundColor: (e.vars || e).palette.primary.main
|
|
715
717
|
}
|
|
716
718
|
}, {
|
|
717
719
|
props: {
|
|
718
720
|
indicatorColor: "secondary"
|
|
719
721
|
},
|
|
720
722
|
style: {
|
|
721
|
-
backgroundColor: (
|
|
723
|
+
backgroundColor: (e.vars || e).palette.secondary.main
|
|
722
724
|
}
|
|
723
725
|
}, {
|
|
724
726
|
props: ({
|
|
@@ -730,7 +732,7 @@ const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
730
732
|
right: 0
|
|
731
733
|
}
|
|
732
734
|
}]
|
|
733
|
-
}))),
|
|
735
|
+
}))), Eo = j(Ft)({
|
|
734
736
|
overflowX: "auto",
|
|
735
737
|
overflowY: "hidden",
|
|
736
738
|
// Hide dimensionless scrollbar on macOS
|
|
@@ -742,11 +744,11 @@ const ut = ft("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
|
|
|
742
744
|
}
|
|
743
745
|
}), Nt = {};
|
|
744
746
|
let Pt = !1;
|
|
745
|
-
const
|
|
747
|
+
const Mo = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
746
748
|
const d = ht({
|
|
747
749
|
props: t,
|
|
748
750
|
name: "MuiTabs"
|
|
749
|
-
}), i =
|
|
751
|
+
}), i = ro(), u = zt(), {
|
|
750
752
|
"aria-label": b,
|
|
751
753
|
"aria-labelledby": h,
|
|
752
754
|
action: f,
|
|
@@ -758,7 +760,7 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
758
760
|
indicatorColor: k = "primary",
|
|
759
761
|
onChange: I,
|
|
760
762
|
orientation: g = "horizontal",
|
|
761
|
-
ScrollButtonComponent:
|
|
763
|
+
ScrollButtonComponent: L = jt,
|
|
762
764
|
scrollButtons: M = "auto",
|
|
763
765
|
selectionFollowsFocus: nt,
|
|
764
766
|
slots: H = {},
|
|
@@ -769,7 +771,7 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
769
771
|
value: N,
|
|
770
772
|
variant: R = "standard",
|
|
771
773
|
visibleScrollbar: lt = !1,
|
|
772
|
-
...
|
|
774
|
+
...Lt
|
|
773
775
|
} = d, w = R === "scrollable", B = g === "vertical", X = B ? "scrollTop" : "scrollLeft", J = B ? "top" : "left", Q = B ? "bottom" : "right", st = B ? "clientHeight" : "clientWidth", Y = B ? "height" : "width", D = {
|
|
774
776
|
...d,
|
|
775
777
|
component: m,
|
|
@@ -787,7 +789,7 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
787
789
|
scrollableY: w && B,
|
|
788
790
|
centered: S && !w,
|
|
789
791
|
scrollButtonsHideMobile: !C
|
|
790
|
-
}, P =
|
|
792
|
+
}, P = wo(D), Ht = rt({
|
|
791
793
|
elementType: H.StartScrollButtonIcon,
|
|
792
794
|
externalSlotProps: U.startScrollButtonIcon,
|
|
793
795
|
ownerState: D
|
|
@@ -852,7 +854,7 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
852
854
|
}), at = (r, {
|
|
853
855
|
animation: n = !0
|
|
854
856
|
} = {}) => {
|
|
855
|
-
n ?
|
|
857
|
+
n ? ho(X, O.current, r, {
|
|
856
858
|
duration: i.transitions.duration.standard
|
|
857
859
|
}) : O.current[X] = r;
|
|
858
860
|
}, xt = (r) => {
|
|
@@ -882,12 +884,12 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
882
884
|
});
|
|
883
885
|
}, []), Qt = () => {
|
|
884
886
|
const r = {};
|
|
885
|
-
r.scrollbarSizeListener = w ? /* @__PURE__ */ x(
|
|
887
|
+
r.scrollbarSizeListener = w ? /* @__PURE__ */ x(Eo, {
|
|
886
888
|
onChange: Jt,
|
|
887
889
|
className: W(P.scrollableX, P.hideScrollbar)
|
|
888
890
|
}) : null;
|
|
889
891
|
const s = w && (M === "auto" && (yt || gt) || M === !0);
|
|
890
|
-
return r.scrollButtonStart = s ? /* @__PURE__ */ x(
|
|
892
|
+
return r.scrollButtonStart = s ? /* @__PURE__ */ x(L, {
|
|
891
893
|
slots: {
|
|
892
894
|
StartScrollButtonIcon: H.StartScrollButtonIcon
|
|
893
895
|
},
|
|
@@ -900,7 +902,7 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
900
902
|
disabled: !yt,
|
|
901
903
|
...z,
|
|
902
904
|
className: W(P.scrollButtons, z.className)
|
|
903
|
-
}) : null, r.scrollButtonEnd = s ? /* @__PURE__ */ x(
|
|
905
|
+
}) : null, r.scrollButtonEnd = s ? /* @__PURE__ */ x(L, {
|
|
904
906
|
slots: {
|
|
905
907
|
EndScrollButtonIcon: H.EndScrollButtonIcon
|
|
906
908
|
},
|
|
@@ -985,7 +987,7 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
985
987
|
updateIndicator: K,
|
|
986
988
|
updateScrollButtons: tt
|
|
987
989
|
}), [K, tt]);
|
|
988
|
-
const Et = /* @__PURE__ */ x(
|
|
990
|
+
const Et = /* @__PURE__ */ x(Io, {
|
|
989
991
|
...V,
|
|
990
992
|
className: W(P.indicator, V.className),
|
|
991
993
|
ownerState: D,
|
|
@@ -994,16 +996,16 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
994
996
|
...V.style
|
|
995
997
|
}
|
|
996
998
|
});
|
|
997
|
-
let
|
|
999
|
+
let ot = 0;
|
|
998
1000
|
const Zt = c.Children.map(v, (r) => {
|
|
999
1001
|
if (!/* @__PURE__ */ c.isValidElement(r))
|
|
1000
1002
|
return null;
|
|
1001
|
-
process.env.NODE_ENV !== "production" &&
|
|
1003
|
+
process.env.NODE_ENV !== "production" && eo.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
1002
1004
|
`));
|
|
1003
|
-
const n = r.props.value === void 0 ?
|
|
1004
|
-
Z.set(n,
|
|
1005
|
+
const n = r.props.value === void 0 ? ot : r.props.value;
|
|
1006
|
+
Z.set(n, ot);
|
|
1005
1007
|
const s = n === N;
|
|
1006
|
-
return
|
|
1008
|
+
return ot += 1, /* @__PURE__ */ c.cloneElement(r, {
|
|
1007
1009
|
fullWidth: R === "fullWidth",
|
|
1008
1010
|
indicator: s && !St && Et,
|
|
1009
1011
|
selected: s,
|
|
@@ -1011,37 +1013,37 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
1011
1013
|
onChange: I,
|
|
1012
1014
|
textColor: G,
|
|
1013
1015
|
value: n,
|
|
1014
|
-
...
|
|
1016
|
+
...ot === 1 && N === !1 && !r.props.tabIndex ? {
|
|
1015
1017
|
tabIndex: 0
|
|
1016
1018
|
} : {}
|
|
1017
1019
|
});
|
|
1018
|
-
}),
|
|
1019
|
-
const n = A.current, s =
|
|
1020
|
+
}), to = (r) => {
|
|
1021
|
+
const n = A.current, s = so(n).activeElement;
|
|
1020
1022
|
if (s.getAttribute("role") !== "tab")
|
|
1021
1023
|
return;
|
|
1022
1024
|
let p = g === "horizontal" ? "ArrowLeft" : "ArrowUp", E = g === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
1023
1025
|
switch (g === "horizontal" && u && (p = "ArrowRight", E = "ArrowLeft"), r.key) {
|
|
1024
1026
|
case p:
|
|
1025
|
-
r.preventDefault(),
|
|
1027
|
+
r.preventDefault(), et(n, s, Ot);
|
|
1026
1028
|
break;
|
|
1027
1029
|
case E:
|
|
1028
|
-
r.preventDefault(),
|
|
1030
|
+
r.preventDefault(), et(n, s, Rt);
|
|
1029
1031
|
break;
|
|
1030
1032
|
case "Home":
|
|
1031
|
-
r.preventDefault(),
|
|
1033
|
+
r.preventDefault(), et(n, null, Rt);
|
|
1032
1034
|
break;
|
|
1033
1035
|
case "End":
|
|
1034
|
-
r.preventDefault(),
|
|
1036
|
+
r.preventDefault(), et(n, null, Ot);
|
|
1035
1037
|
break;
|
|
1036
1038
|
}
|
|
1037
1039
|
}, it = Qt();
|
|
1038
|
-
return /* @__PURE__ */ q(
|
|
1040
|
+
return /* @__PURE__ */ q(Bo, {
|
|
1039
1041
|
className: W(P.root, y),
|
|
1040
1042
|
ownerState: D,
|
|
1041
1043
|
ref: l,
|
|
1042
1044
|
as: m,
|
|
1043
|
-
...
|
|
1044
|
-
children: [it.scrollButtonStart, it.scrollbarSizeListener, /* @__PURE__ */ q(
|
|
1045
|
+
...Lt,
|
|
1046
|
+
children: [it.scrollButtonStart, it.scrollbarSizeListener, /* @__PURE__ */ q(xo, {
|
|
1045
1047
|
className: P.scroller,
|
|
1046
1048
|
ownerState: D,
|
|
1047
1049
|
style: {
|
|
@@ -1049,13 +1051,13 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
1049
1051
|
[B ? `margin${u ? "Left" : "Right"}` : "marginBottom"]: lt ? void 0 : -wt.scrollbarWidth
|
|
1050
1052
|
},
|
|
1051
1053
|
ref: O,
|
|
1052
|
-
children: [/* @__PURE__ */ x(
|
|
1054
|
+
children: [/* @__PURE__ */ x(Co, {
|
|
1053
1055
|
"aria-label": b,
|
|
1054
1056
|
"aria-labelledby": h,
|
|
1055
1057
|
"aria-orientation": g === "vertical" ? "vertical" : null,
|
|
1056
1058
|
className: P.flexContainer,
|
|
1057
1059
|
ownerState: D,
|
|
1058
|
-
onKeyDown:
|
|
1060
|
+
onKeyDown: to,
|
|
1059
1061
|
ref: A,
|
|
1060
1062
|
role: "tablist",
|
|
1061
1063
|
children: Zt
|
|
@@ -1063,7 +1065,7 @@ const Ee = /* @__PURE__ */ c.forwardRef(function(t, l) {
|
|
|
1063
1065
|
}), it.scrollButtonEnd]
|
|
1064
1066
|
});
|
|
1065
1067
|
});
|
|
1066
|
-
process.env.NODE_ENV !== "production" && (
|
|
1068
|
+
process.env.NODE_ENV !== "production" && (Mo.propTypes = {
|
|
1067
1069
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
1068
1070
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
1069
1071
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -1076,66 +1078,66 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
|
|
|
1076
1078
|
* @param {object} actions This object contains all possible actions
|
|
1077
1079
|
* that can be triggered programmatically.
|
|
1078
1080
|
*/
|
|
1079
|
-
action:
|
|
1081
|
+
action: lo,
|
|
1080
1082
|
/**
|
|
1081
1083
|
* If `true`, the scroll buttons aren't forced hidden on mobile.
|
|
1082
1084
|
* By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.
|
|
1083
1085
|
* @default false
|
|
1084
1086
|
*/
|
|
1085
|
-
allowScrollButtonsMobile:
|
|
1087
|
+
allowScrollButtonsMobile: o.bool,
|
|
1086
1088
|
/**
|
|
1087
1089
|
* The label for the Tabs as a string.
|
|
1088
1090
|
*/
|
|
1089
|
-
"aria-label":
|
|
1091
|
+
"aria-label": o.string,
|
|
1090
1092
|
/**
|
|
1091
1093
|
* An id or list of ids separated by a space that label the Tabs.
|
|
1092
1094
|
*/
|
|
1093
|
-
"aria-labelledby":
|
|
1095
|
+
"aria-labelledby": o.string,
|
|
1094
1096
|
/**
|
|
1095
1097
|
* If `true`, the tabs are centered.
|
|
1096
1098
|
* This prop is intended for large views.
|
|
1097
1099
|
* @default false
|
|
1098
1100
|
*/
|
|
1099
|
-
centered:
|
|
1101
|
+
centered: o.bool,
|
|
1100
1102
|
/**
|
|
1101
1103
|
* The content of the component.
|
|
1102
1104
|
*/
|
|
1103
|
-
children:
|
|
1105
|
+
children: o.node,
|
|
1104
1106
|
/**
|
|
1105
1107
|
* Override or extend the styles applied to the component.
|
|
1106
1108
|
*/
|
|
1107
|
-
classes:
|
|
1109
|
+
classes: o.object,
|
|
1108
1110
|
/**
|
|
1109
1111
|
* @ignore
|
|
1110
1112
|
*/
|
|
1111
|
-
className:
|
|
1113
|
+
className: o.string,
|
|
1112
1114
|
/**
|
|
1113
1115
|
* The component used for the root node.
|
|
1114
1116
|
* Either a string to use a HTML element or a component.
|
|
1115
1117
|
*/
|
|
1116
|
-
component:
|
|
1118
|
+
component: o.elementType,
|
|
1117
1119
|
/**
|
|
1118
1120
|
* Determines the color of the indicator.
|
|
1119
1121
|
* @default 'primary'
|
|
1120
1122
|
*/
|
|
1121
|
-
indicatorColor:
|
|
1123
|
+
indicatorColor: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
|
|
1122
1124
|
/**
|
|
1123
1125
|
* Callback fired when the value changes.
|
|
1124
1126
|
*
|
|
1125
1127
|
* @param {React.SyntheticEvent} event The event source of the callback. **Warning**: This is a generic event not a change event.
|
|
1126
1128
|
* @param {any} value We default to the index of the child (number)
|
|
1127
1129
|
*/
|
|
1128
|
-
onChange:
|
|
1130
|
+
onChange: o.func,
|
|
1129
1131
|
/**
|
|
1130
1132
|
* The component orientation (layout flow direction).
|
|
1131
1133
|
* @default 'horizontal'
|
|
1132
1134
|
*/
|
|
1133
|
-
orientation:
|
|
1135
|
+
orientation: o.oneOf(["horizontal", "vertical"]),
|
|
1134
1136
|
/**
|
|
1135
1137
|
* The component used to render the scroll buttons.
|
|
1136
1138
|
* @default TabScrollButton
|
|
1137
1139
|
*/
|
|
1138
|
-
ScrollButtonComponent:
|
|
1140
|
+
ScrollButtonComponent: o.elementType,
|
|
1139
1141
|
/**
|
|
1140
1142
|
* Determine behavior of scroll buttons when tabs are set to scroll:
|
|
1141
1143
|
*
|
|
@@ -1147,53 +1149,53 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
|
|
|
1147
1149
|
* This behavior can be disabled with `allowScrollButtonsMobile`.
|
|
1148
1150
|
* @default 'auto'
|
|
1149
1151
|
*/
|
|
1150
|
-
scrollButtons:
|
|
1152
|
+
scrollButtons: o.oneOf(["auto", !1, !0]),
|
|
1151
1153
|
/**
|
|
1152
1154
|
* If `true` the selected tab changes on focus. Otherwise it only
|
|
1153
1155
|
* changes on activation.
|
|
1154
1156
|
*/
|
|
1155
|
-
selectionFollowsFocus:
|
|
1157
|
+
selectionFollowsFocus: o.bool,
|
|
1156
1158
|
/**
|
|
1157
1159
|
* The extra props for the slot components.
|
|
1158
1160
|
* You can override the existing props or add new ones.
|
|
1159
1161
|
* @default {}
|
|
1160
1162
|
*/
|
|
1161
|
-
slotProps:
|
|
1162
|
-
endScrollButtonIcon:
|
|
1163
|
-
startScrollButtonIcon:
|
|
1163
|
+
slotProps: o.shape({
|
|
1164
|
+
endScrollButtonIcon: o.oneOfType([o.func, o.object]),
|
|
1165
|
+
startScrollButtonIcon: o.oneOfType([o.func, o.object])
|
|
1164
1166
|
}),
|
|
1165
1167
|
/**
|
|
1166
1168
|
* The components used for each slot inside.
|
|
1167
1169
|
* @default {}
|
|
1168
1170
|
*/
|
|
1169
|
-
slots:
|
|
1170
|
-
EndScrollButtonIcon:
|
|
1171
|
-
StartScrollButtonIcon:
|
|
1171
|
+
slots: o.shape({
|
|
1172
|
+
EndScrollButtonIcon: o.elementType,
|
|
1173
|
+
StartScrollButtonIcon: o.elementType
|
|
1172
1174
|
}),
|
|
1173
1175
|
/**
|
|
1174
1176
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
1175
1177
|
*/
|
|
1176
|
-
sx:
|
|
1178
|
+
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
|
|
1177
1179
|
/**
|
|
1178
1180
|
* Props applied to the tab indicator element.
|
|
1179
1181
|
* @default {}
|
|
1180
1182
|
*/
|
|
1181
|
-
TabIndicatorProps:
|
|
1183
|
+
TabIndicatorProps: o.object,
|
|
1182
1184
|
/**
|
|
1183
1185
|
* Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
|
|
1184
1186
|
* @default {}
|
|
1185
1187
|
*/
|
|
1186
|
-
TabScrollButtonProps:
|
|
1188
|
+
TabScrollButtonProps: o.object,
|
|
1187
1189
|
/**
|
|
1188
1190
|
* Determines the color of the `Tab`.
|
|
1189
1191
|
* @default 'primary'
|
|
1190
1192
|
*/
|
|
1191
|
-
textColor:
|
|
1193
|
+
textColor: o.oneOf(["inherit", "primary", "secondary"]),
|
|
1192
1194
|
/**
|
|
1193
1195
|
* The value of the currently selected `Tab`.
|
|
1194
1196
|
* If you don't want any selected `Tab`, you can set this prop to `false`.
|
|
1195
1197
|
*/
|
|
1196
|
-
value:
|
|
1198
|
+
value: o.any,
|
|
1197
1199
|
/**
|
|
1198
1200
|
* Determines additional display behavior of the tabs:
|
|
1199
1201
|
*
|
|
@@ -1204,21 +1206,21 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
|
|
|
1204
1206
|
* - `standard` will render the default state.
|
|
1205
1207
|
* @default 'standard'
|
|
1206
1208
|
*/
|
|
1207
|
-
variant:
|
|
1209
|
+
variant: o.oneOf(["fullWidth", "scrollable", "standard"]),
|
|
1208
1210
|
/**
|
|
1209
1211
|
* If `true`, the scrollbar is visible. It can be useful when displaying
|
|
1210
1212
|
* a long vertical list of tabs.
|
|
1211
1213
|
* @default false
|
|
1212
1214
|
*/
|
|
1213
|
-
visibleScrollbar:
|
|
1215
|
+
visibleScrollbar: o.bool
|
|
1214
1216
|
});
|
|
1215
1217
|
export {
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1218
|
+
fo as K,
|
|
1219
|
+
uo as T,
|
|
1220
|
+
Mo as a,
|
|
1219
1221
|
ut as b,
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1222
|
+
To as c,
|
|
1223
|
+
po as d,
|
|
1224
|
+
ao as g,
|
|
1223
1225
|
T as t
|
|
1224
1226
|
};
|