@telicent-oss/ds 0.27.7 → 0.28.0
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/ds.js +134 -26
- package/dist/ds.umd.cjs +134 -26
- package/dist/logout-syncer/sw.js +1 -1
- package/dist/src/v1/components/inputs/Checkbox/Checkbox.d.ts +9 -0
- package/dist/src/v1/components/inputs/Checkbox/Checkbox.stories.d.ts +12 -0
- package/dist/src/v1/components/inputs/Select/Select.d.ts +13 -0
- package/dist/src/v1/components/inputs/Select/Select.stories.d.ts +17 -0
- package/dist/src/v1/components/inputs/index.d.ts +4 -0
- package/dist/src/v1/theme/colors/blank.d.ts +9 -0
- package/dist/src/v1/theme/style-overrides/components.d.ts +45 -12
- package/package.json +1 -1
package/dist/ds.js
CHANGED
|
@@ -19479,12 +19479,12 @@ var beforeRead = "beforeRead";
|
|
|
19479
19479
|
var read = "read";
|
|
19480
19480
|
var afterRead = "afterRead";
|
|
19481
19481
|
var beforeMain = "beforeMain";
|
|
19482
|
-
var main$
|
|
19482
|
+
var main$4 = "main";
|
|
19483
19483
|
var afterMain = "afterMain";
|
|
19484
19484
|
var beforeWrite = "beforeWrite";
|
|
19485
19485
|
var write = "write";
|
|
19486
19486
|
var afterWrite = "afterWrite";
|
|
19487
|
-
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$
|
|
19487
|
+
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$4, afterMain, beforeWrite, write, afterWrite];
|
|
19488
19488
|
function getNodeName(element) {
|
|
19489
19489
|
return element ? (element.nodeName || "").toLowerCase() : null;
|
|
19490
19490
|
}
|
|
@@ -25786,7 +25786,7 @@ const CheckboxRoot = styled(SwitchBase, {
|
|
|
25786
25786
|
const defaultCheckedIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(CheckBoxIcon, {});
|
|
25787
25787
|
const defaultIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(CheckBoxOutlineBlankIcon, {});
|
|
25788
25788
|
const defaultIndeterminateIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(IndeterminateCheckBoxIcon, {});
|
|
25789
|
-
const Checkbox = /* @__PURE__ */ React$2.forwardRef(function
|
|
25789
|
+
const Checkbox$1 = /* @__PURE__ */ React$2.forwardRef(function Checkbox(inProps, ref) {
|
|
25790
25790
|
var _icon$props$fontSize, _indeterminateIcon$pr;
|
|
25791
25791
|
const props = useDefaultProps({
|
|
25792
25792
|
props: inProps,
|
|
@@ -25828,7 +25828,7 @@ const Checkbox = /* @__PURE__ */ React$2.forwardRef(function Checkbox2(inProps,
|
|
|
25828
25828
|
classes
|
|
25829
25829
|
}));
|
|
25830
25830
|
});
|
|
25831
|
-
process.env.NODE_ENV !== "production" ? Checkbox.propTypes = {
|
|
25831
|
+
process.env.NODE_ENV !== "production" ? Checkbox$1.propTypes = {
|
|
25832
25832
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
25833
25833
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
25834
25834
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -34866,7 +34866,7 @@ const styledRootConfig = {
|
|
|
34866
34866
|
const StyledInput = styled(Input, styledRootConfig)("");
|
|
34867
34867
|
const StyledOutlinedInput = styled(OutlinedInput, styledRootConfig)("");
|
|
34868
34868
|
const StyledFilledInput = styled(FilledInput, styledRootConfig)("");
|
|
34869
|
-
const Select = /* @__PURE__ */ React$2.forwardRef(function
|
|
34869
|
+
const Select$1 = /* @__PURE__ */ React$2.forwardRef(function Select(inProps, ref) {
|
|
34870
34870
|
const props = useDefaultProps({
|
|
34871
34871
|
name: "MuiSelect",
|
|
34872
34872
|
props: inProps
|
|
@@ -34962,7 +34962,7 @@ const Select = /* @__PURE__ */ React$2.forwardRef(function Select2(inProps, ref)
|
|
|
34962
34962
|
}, other))
|
|
34963
34963
|
});
|
|
34964
34964
|
});
|
|
34965
|
-
process.env.NODE_ENV !== "production" ? Select.propTypes = {
|
|
34965
|
+
process.env.NODE_ENV !== "production" ? Select$1.propTypes = {
|
|
34966
34966
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
34967
34967
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
34968
34968
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -35109,7 +35109,7 @@ process.env.NODE_ENV !== "production" ? Select.propTypes = {
|
|
|
35109
35109
|
*/
|
|
35110
35110
|
variant: PropTypes.oneOf(["filled", "outlined", "standard"])
|
|
35111
35111
|
} : void 0;
|
|
35112
|
-
Select.muiName = "Select";
|
|
35112
|
+
Select$1.muiName = "Select";
|
|
35113
35113
|
function getSkeletonUtilityClass(slot) {
|
|
35114
35114
|
return generateUtilityClass("MuiSkeleton", slot);
|
|
35115
35115
|
}
|
|
@@ -38400,7 +38400,7 @@ const TextField$1 = /* @__PURE__ */ React$2.forwardRef(function TextField(inProp
|
|
|
38400
38400
|
id: inputLabelId
|
|
38401
38401
|
}, InputLabelProps, {
|
|
38402
38402
|
children: label
|
|
38403
|
-
})), select2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Select, _extends$3({
|
|
38403
|
+
})), select2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Select$1, _extends$3({
|
|
38404
38404
|
"aria-describedby": helperTextId,
|
|
38405
38405
|
id: id2,
|
|
38406
38406
|
labelId: inputLabelId,
|
|
@@ -46384,8 +46384,8 @@ const TeliCheckbox = ({
|
|
|
46384
46384
|
label,
|
|
46385
46385
|
...checkboxProps
|
|
46386
46386
|
}) => {
|
|
46387
|
-
if (!label) return /* @__PURE__ */ jsx$1(Checkbox, { ...checkboxProps });
|
|
46388
|
-
return /* @__PURE__ */ jsx$1(FormControlLabel, { control: /* @__PURE__ */ jsx$1(Checkbox, { ...checkboxProps }), label, className: "m-0" });
|
|
46387
|
+
if (!label) return /* @__PURE__ */ jsx$1(Checkbox$1, { ...checkboxProps });
|
|
46388
|
+
return /* @__PURE__ */ jsx$1(FormControlLabel, { control: /* @__PURE__ */ jsx$1(Checkbox$1, { ...checkboxProps }), label, className: "m-0" });
|
|
46389
46389
|
};
|
|
46390
46390
|
const TeliSelect = ({
|
|
46391
46391
|
id: id2,
|
|
@@ -46439,7 +46439,7 @@ const TeliSelect = ({
|
|
|
46439
46439
|
width: width2
|
|
46440
46440
|
}, size: "small", disabled: disabled2, error, required, fullWidth, focused, hiddenLabel, children: [
|
|
46441
46441
|
!hiddenLabel && /* @__PURE__ */ jsx$1(InputLabel, { id: id2, children: label }),
|
|
46442
|
-
/* @__PURE__ */ jsx$1(Select, { ...getLabelProps(), ...getMultiSelectProps(), id: selectId, value: value2, onChange: onChange2, size: "small", defaultOpen, defaultValue, open, onOpen, onClose, inputProps: {
|
|
46442
|
+
/* @__PURE__ */ jsx$1(Select$1, { ...getLabelProps(), ...getMultiSelectProps(), id: selectId, value: value2, onChange: onChange2, size: "small", defaultOpen, defaultValue, open, onOpen, onClose, inputProps: {
|
|
46443
46443
|
"aria-label": hiddenLabel ? label : void 0,
|
|
46444
46444
|
readOnly
|
|
46445
46445
|
}, MenuProps: {
|
|
@@ -57924,6 +57924,70 @@ const Button2 = forwardRef((props, ref) => {
|
|
|
57924
57924
|
return /* @__PURE__ */ jsx$1(Button$1, { variant: "text", color: color2, ...buttonProps, ref, children: buttonProps.children });
|
|
57925
57925
|
});
|
|
57926
57926
|
const TextField2 = (props) => /* @__PURE__ */ jsx$1(TextField$1, { ...props });
|
|
57927
|
+
const Select2 = ({
|
|
57928
|
+
label,
|
|
57929
|
+
value: value2,
|
|
57930
|
+
id: id2,
|
|
57931
|
+
options,
|
|
57932
|
+
width: width2,
|
|
57933
|
+
onChange: onChange2,
|
|
57934
|
+
disabled: disabled2 = false,
|
|
57935
|
+
sx,
|
|
57936
|
+
...rest
|
|
57937
|
+
}) => {
|
|
57938
|
+
const theme = useExtendedTheme();
|
|
57939
|
+
return /* @__PURE__ */ jsxs(FormControl, { sx: {
|
|
57940
|
+
minWidth: 88,
|
|
57941
|
+
width: width2
|
|
57942
|
+
}, size: "small", children: [
|
|
57943
|
+
label && /* @__PURE__ */ jsx$1(InputLabel, { id: id2, sx: {
|
|
57944
|
+
color: "#fff",
|
|
57945
|
+
"&.Mui-focused": {
|
|
57946
|
+
color: theme.palette.primary.main
|
|
57947
|
+
}
|
|
57948
|
+
}, children: label }),
|
|
57949
|
+
/* @__PURE__ */ jsx$1(Select$1, { ...rest, labelId: id2, label, id: id2, value: value2, disabled: disabled2, onChange: onChange2, size: "small", MenuProps: {
|
|
57950
|
+
PaperProps: {
|
|
57951
|
+
sx: {
|
|
57952
|
+
backgroundColor: "#2A2A2A",
|
|
57953
|
+
color: "white"
|
|
57954
|
+
}
|
|
57955
|
+
}
|
|
57956
|
+
}, sx: {
|
|
57957
|
+
color: "#ffffff",
|
|
57958
|
+
backgroundColor: theme.palette.mode === "dark" ? "#2A2A2A" : "#ffffff",
|
|
57959
|
+
".MuiSelect-icon": {
|
|
57960
|
+
color: "#6D6D6D"
|
|
57961
|
+
},
|
|
57962
|
+
".MuiOutlinedInput-notchedOutline": {
|
|
57963
|
+
borderColor: "#6D6D6D"
|
|
57964
|
+
},
|
|
57965
|
+
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
57966
|
+
borderColor: theme.palette.primary.main
|
|
57967
|
+
},
|
|
57968
|
+
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
57969
|
+
borderColor: theme.palette.primary.main,
|
|
57970
|
+
borderWidth: "2px !important"
|
|
57971
|
+
},
|
|
57972
|
+
"&.Mui-selected": {
|
|
57973
|
+
backgroundColor: "#2A2A2A",
|
|
57974
|
+
color: "#fff"
|
|
57975
|
+
},
|
|
57976
|
+
...sx
|
|
57977
|
+
}, children: options.map((option) => /* @__PURE__ */ jsx$1(MenuItem, { value: option.value, disableRipple: true, children: option.label }, option == null ? void 0 : option.value)) })
|
|
57978
|
+
] });
|
|
57979
|
+
};
|
|
57980
|
+
const Checkbox2 = ({
|
|
57981
|
+
checked,
|
|
57982
|
+
id: id2,
|
|
57983
|
+
name,
|
|
57984
|
+
label,
|
|
57985
|
+
required = false,
|
|
57986
|
+
...rest
|
|
57987
|
+
}) => {
|
|
57988
|
+
useExtendedTheme();
|
|
57989
|
+
return label ? /* @__PURE__ */ jsx$1(FormControlLabel, { required, control: /* @__PURE__ */ jsx$1(Checkbox$1, { checked, id: id2, name, ...rest, color: "primary" }), label }) : /* @__PURE__ */ jsx$1(Checkbox$1, { checked, id: id2, name, ...rest, color: "primary" });
|
|
57990
|
+
};
|
|
57927
57991
|
const StyledPopper = styled$1("div")({
|
|
57928
57992
|
position: "relative",
|
|
57929
57993
|
width: 360
|
|
@@ -60816,8 +60880,17 @@ const DATA_NAVY = {
|
|
|
60816
60880
|
500: "#2F44CA",
|
|
60817
60881
|
600: "#2636A2"
|
|
60818
60882
|
};
|
|
60819
|
-
const main$
|
|
60883
|
+
const main$3 = "#F56AAA";
|
|
60820
60884
|
const DOCUMENT_PINK = {
|
|
60885
|
+
50: alpha$1(main$3, 0.1),
|
|
60886
|
+
100: alpha$1(main$3, 0.2),
|
|
60887
|
+
200: alpha$1(main$3, 0.3),
|
|
60888
|
+
400: alpha$1(main$3, 0.5),
|
|
60889
|
+
500: main$3,
|
|
60890
|
+
600: alpha$1(main$3, 0.7)
|
|
60891
|
+
};
|
|
60892
|
+
const main$2 = "#F2A64B";
|
|
60893
|
+
const GRAPH_ORANGE = {
|
|
60821
60894
|
50: alpha$1(main$2, 0.1),
|
|
60822
60895
|
100: alpha$1(main$2, 0.2),
|
|
60823
60896
|
200: alpha$1(main$2, 0.3),
|
|
@@ -60825,8 +60898,8 @@ const DOCUMENT_PINK = {
|
|
|
60825
60898
|
500: main$2,
|
|
60826
60899
|
600: alpha$1(main$2, 0.7)
|
|
60827
60900
|
};
|
|
60828
|
-
const main$1 = "#
|
|
60829
|
-
const
|
|
60901
|
+
const main$1 = "#20BCFA";
|
|
60902
|
+
const ADMIN_BLUE = {
|
|
60830
60903
|
50: alpha$1(main$1, 0.1),
|
|
60831
60904
|
100: alpha$1(main$1, 0.2),
|
|
60832
60905
|
200: alpha$1(main$1, 0.3),
|
|
@@ -60834,8 +60907,8 @@ const GRAPH_ORANGE = {
|
|
|
60834
60907
|
500: main$1,
|
|
60835
60908
|
600: alpha$1(main$1, 0.7)
|
|
60836
60909
|
};
|
|
60837
|
-
const main = "#
|
|
60838
|
-
const
|
|
60910
|
+
const main = "#000000";
|
|
60911
|
+
const BLANK = {
|
|
60839
60912
|
50: alpha$1(main, 0.1),
|
|
60840
60913
|
100: alpha$1(main, 0.2),
|
|
60841
60914
|
200: alpha$1(main, 0.3),
|
|
@@ -60874,10 +60947,11 @@ const THEME_COLORS = {
|
|
|
60874
60947
|
contrastText: common.black
|
|
60875
60948
|
},
|
|
60876
60949
|
Blank: {
|
|
60877
|
-
|
|
60878
|
-
|
|
60879
|
-
|
|
60880
|
-
|
|
60950
|
+
...BLANK,
|
|
60951
|
+
main: BLANK[500],
|
|
60952
|
+
light: BLANK[400],
|
|
60953
|
+
dark: BLANK[600],
|
|
60954
|
+
contrastText: common.white
|
|
60881
60955
|
}
|
|
60882
60956
|
};
|
|
60883
60957
|
const AVATAR_OVERRIDES = {
|
|
@@ -60919,7 +60993,7 @@ const generateButtonOverrides = (uiTheme) => ({
|
|
|
60919
60993
|
border: `1px solid ${theme.palette.primary.main}`,
|
|
60920
60994
|
backgroundColor: theme.palette.secondary.main,
|
|
60921
60995
|
":hover": {
|
|
60922
|
-
backgroundColor:
|
|
60996
|
+
backgroundColor: `${THEME_COLORS[uiTheme][100]}`
|
|
60923
60997
|
}
|
|
60924
60998
|
}),
|
|
60925
60999
|
startIcon: {
|
|
@@ -60951,7 +61025,7 @@ const generateCardOverrides = (uiTheme) => ({
|
|
|
60951
61025
|
style: {
|
|
60952
61026
|
borderWidth: 1,
|
|
60953
61027
|
borderStyle: "solid",
|
|
60954
|
-
borderColor:
|
|
61028
|
+
borderColor: alpha$1(THEME_COLORS[uiTheme][200], 0.4)
|
|
60955
61029
|
}
|
|
60956
61030
|
}],
|
|
60957
61031
|
styleOverrides: {
|
|
@@ -61081,6 +61155,41 @@ const generateComponentOverrides = (uiTheme) => ({
|
|
|
61081
61155
|
}
|
|
61082
61156
|
}
|
|
61083
61157
|
},
|
|
61158
|
+
MuiMenuItem: {
|
|
61159
|
+
styleOverrides: {
|
|
61160
|
+
root: ({
|
|
61161
|
+
theme
|
|
61162
|
+
}) => ({
|
|
61163
|
+
display: "flex",
|
|
61164
|
+
alignItems: "center",
|
|
61165
|
+
margin: theme.spacing(0, 1),
|
|
61166
|
+
borderRadius: theme.shape.borderRadius,
|
|
61167
|
+
border: "1px solid transparent",
|
|
61168
|
+
"&.Mui-selected": {
|
|
61169
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)",
|
|
61170
|
+
color: theme.palette.primary.main
|
|
61171
|
+
},
|
|
61172
|
+
"&.Mui-selected.Mui-selected": {
|
|
61173
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)"
|
|
61174
|
+
},
|
|
61175
|
+
"&.Mui-selected.Mui-selected:hover": {
|
|
61176
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)"
|
|
61177
|
+
},
|
|
61178
|
+
"&.Mui-selected:hover": {
|
|
61179
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)",
|
|
61180
|
+
color: theme.palette.primary.main,
|
|
61181
|
+
backgroundImage: "none"
|
|
61182
|
+
},
|
|
61183
|
+
"& .MuiPaper-root": {
|
|
61184
|
+
backgroundColor: theme.palette.mode === "dark" ? "#2A2A2A" : "#ffffff"
|
|
61185
|
+
},
|
|
61186
|
+
"&:hover": {
|
|
61187
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)",
|
|
61188
|
+
border: `1px solid ${theme.palette.primary.main}`
|
|
61189
|
+
}
|
|
61190
|
+
})
|
|
61191
|
+
}
|
|
61192
|
+
},
|
|
61084
61193
|
MuiAppBar: {
|
|
61085
61194
|
styleOverrides: {
|
|
61086
61195
|
root: {
|
|
@@ -80534,10 +80643,7 @@ const AuthModal = ({
|
|
|
80534
80643
|
p: 2,
|
|
80535
80644
|
overflowY: "auto"
|
|
80536
80645
|
}, children: [
|
|
80537
|
-
/* @__PURE__ */
|
|
80538
|
-
/* @__PURE__ */ jsx$1("i", { className: "fa-regular fa-circle-exclamation" }),
|
|
80539
|
-
" Your session is no longer active"
|
|
80540
|
-
] }),
|
|
80646
|
+
/* @__PURE__ */ jsx$1(H3, { children: "Your session is no longer active" }),
|
|
80541
80647
|
/* @__PURE__ */ jsx$1(Text, { sx: {
|
|
80542
80648
|
pt: 4
|
|
80543
80649
|
}, children: "Your session may have expired, you may have signed out, or your account isn't active." }),
|
|
@@ -84338,6 +84444,7 @@ export {
|
|
|
84338
84444
|
CardActions2 as CardActions,
|
|
84339
84445
|
CardContent2 as CardContent,
|
|
84340
84446
|
CardHeader2 as CardHeader,
|
|
84447
|
+
Checkbox2 as Checkbox,
|
|
84341
84448
|
Chip2 as Chip,
|
|
84342
84449
|
ClockIcon,
|
|
84343
84450
|
ClockRotateLeft,
|
|
@@ -84397,6 +84504,7 @@ export {
|
|
|
84397
84504
|
SearchBox,
|
|
84398
84505
|
SearchIcon,
|
|
84399
84506
|
SearchResults,
|
|
84507
|
+
Select2 as Select,
|
|
84400
84508
|
Skeleton2 as Skeleton,
|
|
84401
84509
|
TeliAddIcon,
|
|
84402
84510
|
TeliAppSwitch,
|
package/dist/ds.umd.cjs
CHANGED
|
@@ -19497,12 +19497,12 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
19497
19497
|
var read = "read";
|
|
19498
19498
|
var afterRead = "afterRead";
|
|
19499
19499
|
var beforeMain = "beforeMain";
|
|
19500
|
-
var main$
|
|
19500
|
+
var main$4 = "main";
|
|
19501
19501
|
var afterMain = "afterMain";
|
|
19502
19502
|
var beforeWrite = "beforeWrite";
|
|
19503
19503
|
var write = "write";
|
|
19504
19504
|
var afterWrite = "afterWrite";
|
|
19505
|
-
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$
|
|
19505
|
+
var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$4, afterMain, beforeWrite, write, afterWrite];
|
|
19506
19506
|
function getNodeName(element) {
|
|
19507
19507
|
return element ? (element.nodeName || "").toLowerCase() : null;
|
|
19508
19508
|
}
|
|
@@ -25804,7 +25804,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
25804
25804
|
const defaultCheckedIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(CheckBoxIcon, {});
|
|
25805
25805
|
const defaultIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(CheckBoxOutlineBlankIcon, {});
|
|
25806
25806
|
const defaultIndeterminateIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(IndeterminateCheckBoxIcon, {});
|
|
25807
|
-
const Checkbox = /* @__PURE__ */ React__namespace.forwardRef(function Checkbox2(inProps, ref) {
|
|
25807
|
+
const Checkbox$1 = /* @__PURE__ */ React__namespace.forwardRef(function Checkbox2(inProps, ref) {
|
|
25808
25808
|
var _icon$props$fontSize, _indeterminateIcon$pr;
|
|
25809
25809
|
const props = useDefaultProps({
|
|
25810
25810
|
props: inProps,
|
|
@@ -25846,7 +25846,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
25846
25846
|
classes
|
|
25847
25847
|
}));
|
|
25848
25848
|
});
|
|
25849
|
-
process.env.NODE_ENV !== "production" ? Checkbox.propTypes = {
|
|
25849
|
+
process.env.NODE_ENV !== "production" ? Checkbox$1.propTypes = {
|
|
25850
25850
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
25851
25851
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
25852
25852
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -34884,7 +34884,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
34884
34884
|
const StyledInput = styled(Input, styledRootConfig)("");
|
|
34885
34885
|
const StyledOutlinedInput = styled(OutlinedInput, styledRootConfig)("");
|
|
34886
34886
|
const StyledFilledInput = styled(FilledInput, styledRootConfig)("");
|
|
34887
|
-
const Select = /* @__PURE__ */ React__namespace.forwardRef(function Select2(inProps, ref) {
|
|
34887
|
+
const Select$1 = /* @__PURE__ */ React__namespace.forwardRef(function Select2(inProps, ref) {
|
|
34888
34888
|
const props = useDefaultProps({
|
|
34889
34889
|
name: "MuiSelect",
|
|
34890
34890
|
props: inProps
|
|
@@ -34980,7 +34980,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
34980
34980
|
}, other))
|
|
34981
34981
|
});
|
|
34982
34982
|
});
|
|
34983
|
-
process.env.NODE_ENV !== "production" ? Select.propTypes = {
|
|
34983
|
+
process.env.NODE_ENV !== "production" ? Select$1.propTypes = {
|
|
34984
34984
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
34985
34985
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
34986
34986
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -35127,7 +35127,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
35127
35127
|
*/
|
|
35128
35128
|
variant: PropTypes.oneOf(["filled", "outlined", "standard"])
|
|
35129
35129
|
} : void 0;
|
|
35130
|
-
Select.muiName = "Select";
|
|
35130
|
+
Select$1.muiName = "Select";
|
|
35131
35131
|
function getSkeletonUtilityClass(slot) {
|
|
35132
35132
|
return generateUtilityClass("MuiSkeleton", slot);
|
|
35133
35133
|
}
|
|
@@ -38418,7 +38418,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
38418
38418
|
id: inputLabelId
|
|
38419
38419
|
}, InputLabelProps, {
|
|
38420
38420
|
children: label
|
|
38421
|
-
})), select2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Select, _extends$3({
|
|
38421
|
+
})), select2 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Select$1, _extends$3({
|
|
38422
38422
|
"aria-describedby": helperTextId,
|
|
38423
38423
|
id: id2,
|
|
38424
38424
|
labelId: inputLabelId,
|
|
@@ -46402,8 +46402,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
46402
46402
|
label,
|
|
46403
46403
|
...checkboxProps
|
|
46404
46404
|
}) => {
|
|
46405
|
-
if (!label) return /* @__PURE__ */ jsx$1(Checkbox, { ...checkboxProps });
|
|
46406
|
-
return /* @__PURE__ */ jsx$1(FormControlLabel, { control: /* @__PURE__ */ jsx$1(Checkbox, { ...checkboxProps }), label, className: "m-0" });
|
|
46405
|
+
if (!label) return /* @__PURE__ */ jsx$1(Checkbox$1, { ...checkboxProps });
|
|
46406
|
+
return /* @__PURE__ */ jsx$1(FormControlLabel, { control: /* @__PURE__ */ jsx$1(Checkbox$1, { ...checkboxProps }), label, className: "m-0" });
|
|
46407
46407
|
};
|
|
46408
46408
|
const TeliSelect = ({
|
|
46409
46409
|
id: id2,
|
|
@@ -46457,7 +46457,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
46457
46457
|
width: width2
|
|
46458
46458
|
}, size: "small", disabled: disabled2, error, required, fullWidth, focused, hiddenLabel, children: [
|
|
46459
46459
|
!hiddenLabel && /* @__PURE__ */ jsx$1(InputLabel, { id: id2, children: label }),
|
|
46460
|
-
/* @__PURE__ */ jsx$1(Select, { ...getLabelProps(), ...getMultiSelectProps(), id: selectId, value: value2, onChange: onChange2, size: "small", defaultOpen, defaultValue, open, onOpen, onClose, inputProps: {
|
|
46460
|
+
/* @__PURE__ */ jsx$1(Select$1, { ...getLabelProps(), ...getMultiSelectProps(), id: selectId, value: value2, onChange: onChange2, size: "small", defaultOpen, defaultValue, open, onOpen, onClose, inputProps: {
|
|
46461
46461
|
"aria-label": hiddenLabel ? label : void 0,
|
|
46462
46462
|
readOnly
|
|
46463
46463
|
}, MenuProps: {
|
|
@@ -57942,6 +57942,70 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
57942
57942
|
return /* @__PURE__ */ jsx$1(Button$1, { variant: "text", color: color2, ...buttonProps, ref, children: buttonProps.children });
|
|
57943
57943
|
});
|
|
57944
57944
|
const TextField = (props) => /* @__PURE__ */ jsx$1(TextField$1, { ...props });
|
|
57945
|
+
const Select = ({
|
|
57946
|
+
label,
|
|
57947
|
+
value: value2,
|
|
57948
|
+
id: id2,
|
|
57949
|
+
options,
|
|
57950
|
+
width: width2,
|
|
57951
|
+
onChange: onChange2,
|
|
57952
|
+
disabled: disabled2 = false,
|
|
57953
|
+
sx,
|
|
57954
|
+
...rest
|
|
57955
|
+
}) => {
|
|
57956
|
+
const theme = useExtendedTheme();
|
|
57957
|
+
return /* @__PURE__ */ jsxs(FormControl, { sx: {
|
|
57958
|
+
minWidth: 88,
|
|
57959
|
+
width: width2
|
|
57960
|
+
}, size: "small", children: [
|
|
57961
|
+
label && /* @__PURE__ */ jsx$1(InputLabel, { id: id2, sx: {
|
|
57962
|
+
color: "#fff",
|
|
57963
|
+
"&.Mui-focused": {
|
|
57964
|
+
color: theme.palette.primary.main
|
|
57965
|
+
}
|
|
57966
|
+
}, children: label }),
|
|
57967
|
+
/* @__PURE__ */ jsx$1(Select$1, { ...rest, labelId: id2, label, id: id2, value: value2, disabled: disabled2, onChange: onChange2, size: "small", MenuProps: {
|
|
57968
|
+
PaperProps: {
|
|
57969
|
+
sx: {
|
|
57970
|
+
backgroundColor: "#2A2A2A",
|
|
57971
|
+
color: "white"
|
|
57972
|
+
}
|
|
57973
|
+
}
|
|
57974
|
+
}, sx: {
|
|
57975
|
+
color: "#ffffff",
|
|
57976
|
+
backgroundColor: theme.palette.mode === "dark" ? "#2A2A2A" : "#ffffff",
|
|
57977
|
+
".MuiSelect-icon": {
|
|
57978
|
+
color: "#6D6D6D"
|
|
57979
|
+
},
|
|
57980
|
+
".MuiOutlinedInput-notchedOutline": {
|
|
57981
|
+
borderColor: "#6D6D6D"
|
|
57982
|
+
},
|
|
57983
|
+
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
57984
|
+
borderColor: theme.palette.primary.main
|
|
57985
|
+
},
|
|
57986
|
+
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
57987
|
+
borderColor: theme.palette.primary.main,
|
|
57988
|
+
borderWidth: "2px !important"
|
|
57989
|
+
},
|
|
57990
|
+
"&.Mui-selected": {
|
|
57991
|
+
backgroundColor: "#2A2A2A",
|
|
57992
|
+
color: "#fff"
|
|
57993
|
+
},
|
|
57994
|
+
...sx
|
|
57995
|
+
}, children: options.map((option) => /* @__PURE__ */ jsx$1(MenuItem, { value: option.value, disableRipple: true, children: option.label }, option == null ? void 0 : option.value)) })
|
|
57996
|
+
] });
|
|
57997
|
+
};
|
|
57998
|
+
const Checkbox = ({
|
|
57999
|
+
checked,
|
|
58000
|
+
id: id2,
|
|
58001
|
+
name,
|
|
58002
|
+
label,
|
|
58003
|
+
required = false,
|
|
58004
|
+
...rest
|
|
58005
|
+
}) => {
|
|
58006
|
+
useExtendedTheme();
|
|
58007
|
+
return label ? /* @__PURE__ */ jsx$1(FormControlLabel, { required, control: /* @__PURE__ */ jsx$1(Checkbox$1, { checked, id: id2, name, ...rest, color: "primary" }), label }) : /* @__PURE__ */ jsx$1(Checkbox$1, { checked, id: id2, name, ...rest, color: "primary" });
|
|
58008
|
+
};
|
|
57945
58009
|
const StyledPopper = styled$1("div")({
|
|
57946
58010
|
position: "relative",
|
|
57947
58011
|
width: 360
|
|
@@ -60834,8 +60898,17 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
60834
60898
|
500: "#2F44CA",
|
|
60835
60899
|
600: "#2636A2"
|
|
60836
60900
|
};
|
|
60837
|
-
const main$
|
|
60901
|
+
const main$3 = "#F56AAA";
|
|
60838
60902
|
const DOCUMENT_PINK = {
|
|
60903
|
+
50: alpha$1(main$3, 0.1),
|
|
60904
|
+
100: alpha$1(main$3, 0.2),
|
|
60905
|
+
200: alpha$1(main$3, 0.3),
|
|
60906
|
+
400: alpha$1(main$3, 0.5),
|
|
60907
|
+
500: main$3,
|
|
60908
|
+
600: alpha$1(main$3, 0.7)
|
|
60909
|
+
};
|
|
60910
|
+
const main$2 = "#F2A64B";
|
|
60911
|
+
const GRAPH_ORANGE = {
|
|
60839
60912
|
50: alpha$1(main$2, 0.1),
|
|
60840
60913
|
100: alpha$1(main$2, 0.2),
|
|
60841
60914
|
200: alpha$1(main$2, 0.3),
|
|
@@ -60843,8 +60916,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
60843
60916
|
500: main$2,
|
|
60844
60917
|
600: alpha$1(main$2, 0.7)
|
|
60845
60918
|
};
|
|
60846
|
-
const main$1 = "#
|
|
60847
|
-
const
|
|
60919
|
+
const main$1 = "#20BCFA";
|
|
60920
|
+
const ADMIN_BLUE = {
|
|
60848
60921
|
50: alpha$1(main$1, 0.1),
|
|
60849
60922
|
100: alpha$1(main$1, 0.2),
|
|
60850
60923
|
200: alpha$1(main$1, 0.3),
|
|
@@ -60852,8 +60925,8 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
60852
60925
|
500: main$1,
|
|
60853
60926
|
600: alpha$1(main$1, 0.7)
|
|
60854
60927
|
};
|
|
60855
|
-
const main = "#
|
|
60856
|
-
const
|
|
60928
|
+
const main = "#000000";
|
|
60929
|
+
const BLANK = {
|
|
60857
60930
|
50: alpha$1(main, 0.1),
|
|
60858
60931
|
100: alpha$1(main, 0.2),
|
|
60859
60932
|
200: alpha$1(main, 0.3),
|
|
@@ -60892,10 +60965,11 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
60892
60965
|
contrastText: common.black
|
|
60893
60966
|
},
|
|
60894
60967
|
Blank: {
|
|
60895
|
-
|
|
60896
|
-
|
|
60897
|
-
|
|
60898
|
-
|
|
60968
|
+
...BLANK,
|
|
60969
|
+
main: BLANK[500],
|
|
60970
|
+
light: BLANK[400],
|
|
60971
|
+
dark: BLANK[600],
|
|
60972
|
+
contrastText: common.white
|
|
60899
60973
|
}
|
|
60900
60974
|
};
|
|
60901
60975
|
const AVATAR_OVERRIDES = {
|
|
@@ -60937,7 +61011,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
60937
61011
|
border: `1px solid ${theme.palette.primary.main}`,
|
|
60938
61012
|
backgroundColor: theme.palette.secondary.main,
|
|
60939
61013
|
":hover": {
|
|
60940
|
-
backgroundColor:
|
|
61014
|
+
backgroundColor: `${THEME_COLORS[uiTheme][100]}`
|
|
60941
61015
|
}
|
|
60942
61016
|
}),
|
|
60943
61017
|
startIcon: {
|
|
@@ -60969,7 +61043,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
60969
61043
|
style: {
|
|
60970
61044
|
borderWidth: 1,
|
|
60971
61045
|
borderStyle: "solid",
|
|
60972
|
-
borderColor:
|
|
61046
|
+
borderColor: alpha$1(THEME_COLORS[uiTheme][200], 0.4)
|
|
60973
61047
|
}
|
|
60974
61048
|
}],
|
|
60975
61049
|
styleOverrides: {
|
|
@@ -61099,6 +61173,41 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
61099
61173
|
}
|
|
61100
61174
|
}
|
|
61101
61175
|
},
|
|
61176
|
+
MuiMenuItem: {
|
|
61177
|
+
styleOverrides: {
|
|
61178
|
+
root: ({
|
|
61179
|
+
theme
|
|
61180
|
+
}) => ({
|
|
61181
|
+
display: "flex",
|
|
61182
|
+
alignItems: "center",
|
|
61183
|
+
margin: theme.spacing(0, 1),
|
|
61184
|
+
borderRadius: theme.shape.borderRadius,
|
|
61185
|
+
border: "1px solid transparent",
|
|
61186
|
+
"&.Mui-selected": {
|
|
61187
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)",
|
|
61188
|
+
color: theme.palette.primary.main
|
|
61189
|
+
},
|
|
61190
|
+
"&.Mui-selected.Mui-selected": {
|
|
61191
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)"
|
|
61192
|
+
},
|
|
61193
|
+
"&.Mui-selected.Mui-selected:hover": {
|
|
61194
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)"
|
|
61195
|
+
},
|
|
61196
|
+
"&.Mui-selected:hover": {
|
|
61197
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)",
|
|
61198
|
+
color: theme.palette.primary.main,
|
|
61199
|
+
backgroundImage: "none"
|
|
61200
|
+
},
|
|
61201
|
+
"& .MuiPaper-root": {
|
|
61202
|
+
backgroundColor: theme.palette.mode === "dark" ? "#2A2A2A" : "#ffffff"
|
|
61203
|
+
},
|
|
61204
|
+
"&:hover": {
|
|
61205
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "rgba(0, 0, 0, 0.04)",
|
|
61206
|
+
border: `1px solid ${theme.palette.primary.main}`
|
|
61207
|
+
}
|
|
61208
|
+
})
|
|
61209
|
+
}
|
|
61210
|
+
},
|
|
61102
61211
|
MuiAppBar: {
|
|
61103
61212
|
styleOverrides: {
|
|
61104
61213
|
root: {
|
|
@@ -80552,10 +80661,7 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
80552
80661
|
p: 2,
|
|
80553
80662
|
overflowY: "auto"
|
|
80554
80663
|
}, children: [
|
|
80555
|
-
/* @__PURE__ */
|
|
80556
|
-
/* @__PURE__ */ jsx$1("i", { className: "fa-regular fa-circle-exclamation" }),
|
|
80557
|
-
" Your session is no longer active"
|
|
80558
|
-
] }),
|
|
80664
|
+
/* @__PURE__ */ jsx$1(H3, { children: "Your session is no longer active" }),
|
|
80559
80665
|
/* @__PURE__ */ jsx$1(Text, { sx: {
|
|
80560
80666
|
pt: 4
|
|
80561
80667
|
}, children: "Your session may have expired, you may have signed out, or your account isn't active." }),
|
|
@@ -84360,6 +84466,7 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
84360
84466
|
exports2.CardActions = CardActions;
|
|
84361
84467
|
exports2.CardContent = CardContent;
|
|
84362
84468
|
exports2.CardHeader = CardHeader;
|
|
84469
|
+
exports2.Checkbox = Checkbox;
|
|
84363
84470
|
exports2.Chip = Chip;
|
|
84364
84471
|
exports2.ClockIcon = ClockIcon;
|
|
84365
84472
|
exports2.ClockRotateLeft = ClockRotateLeft;
|
|
@@ -84419,6 +84526,7 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
84419
84526
|
exports2.SearchBox = SearchBox;
|
|
84420
84527
|
exports2.SearchIcon = SearchIcon;
|
|
84421
84528
|
exports2.SearchResults = SearchResults;
|
|
84529
|
+
exports2.Select = Select;
|
|
84422
84530
|
exports2.Skeleton = Skeleton;
|
|
84423
84531
|
exports2.TeliAddIcon = TeliAddIcon;
|
|
84424
84532
|
exports2.TeliAppSwitch = TeliAppSwitch;
|
package/dist/logout-syncer/sw.js
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CheckboxProps } from '@mui/material';
|
|
3
|
+
|
|
4
|
+
interface CustomCheckboxProps extends CheckboxProps {
|
|
5
|
+
label?: string;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const Checkbox: React.FC<CustomCheckboxProps>;
|
|
9
|
+
export default Checkbox;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as Checkbox } from './Checkbox';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof Checkbox>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof Checkbox>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
9
|
+
export declare const WithCustomLabel: Story;
|
|
10
|
+
export declare const WithRequired: Story;
|
|
11
|
+
export declare const WithNoLabel: Story;
|
|
12
|
+
export declare const ExampleWithOnChange: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SelectProps as MuiSelectProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
|
|
4
|
+
export interface Options {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
export type SelectProps = MuiSelectProps & {
|
|
9
|
+
options: Options[];
|
|
10
|
+
width?: number;
|
|
11
|
+
};
|
|
12
|
+
declare const Select: React.FC<SelectProps>;
|
|
13
|
+
export default Select;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as Select } from './Select';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof Select>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof Select>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Disabled: Story;
|
|
9
|
+
export declare const WithCustomWidth: Story;
|
|
10
|
+
export declare const WithNoLabel: Story;
|
|
11
|
+
/**
|
|
12
|
+
* This exemple is set up using useState to simulate how it would
|
|
13
|
+
* work on the app, how the selected item is styled
|
|
14
|
+
*
|
|
15
|
+
* Refer back to the top of the document on how to implement
|
|
16
|
+
*/
|
|
17
|
+
export declare const ExampleWithOnChange: Story;
|
|
@@ -2,4 +2,8 @@ export { default as Button } from './Button/Button';
|
|
|
2
2
|
export type { ButtonProps } from './Button/Button';
|
|
3
3
|
export { default as IconButton } from './Button/IconButton';
|
|
4
4
|
export { default as TextField } from './TextField';
|
|
5
|
+
export { default as Select } from './Select/Select';
|
|
6
|
+
export type { SelectProps } from './Select/Select';
|
|
7
|
+
export type { Options } from './Select/Select';
|
|
8
|
+
export { default as Checkbox } from './Checkbox/Checkbox';
|
|
5
9
|
export * from './SearchBox';
|
|
@@ -8,6 +8,51 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
+
MuiMenuItem: {
|
|
12
|
+
styleOverrides: {
|
|
13
|
+
root: ({ theme }: import('@mui/material').MenuItemOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
14
|
+
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
15
|
+
}, "children" | "autoFocus" | "className" | "style" | "tabIndex" | "classes" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider" | "selected"> & {
|
|
16
|
+
component?: import('react').ElementType;
|
|
17
|
+
} & Record<string, unknown> & {
|
|
18
|
+
ownerState: import('@mui/material').MenuItemOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<Omit<import('react').DetailedHTMLProps<import('react').LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
19
|
+
ref?: ((instance: HTMLLIElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLLIElement> | null | undefined;
|
|
20
|
+
}, "children" | "autoFocus" | "className" | "style" | "tabIndex" | "classes" | "sx" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "dense" | "disableGutters" | "divider" | "selected"> & {
|
|
21
|
+
component?: import('react').ElementType;
|
|
22
|
+
} & Record<string, unknown>;
|
|
23
|
+
} & {
|
|
24
|
+
theme: Omit<import('@mui/material').Theme, "components">;
|
|
25
|
+
}) => {
|
|
26
|
+
display: "flex";
|
|
27
|
+
alignItems: "center";
|
|
28
|
+
margin: string;
|
|
29
|
+
borderRadius: number;
|
|
30
|
+
border: string;
|
|
31
|
+
"&.Mui-selected": {
|
|
32
|
+
backgroundColor: string;
|
|
33
|
+
color: string;
|
|
34
|
+
};
|
|
35
|
+
"&.Mui-selected.Mui-selected": {
|
|
36
|
+
backgroundColor: string;
|
|
37
|
+
};
|
|
38
|
+
"&.Mui-selected.Mui-selected:hover": {
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
};
|
|
41
|
+
"&.Mui-selected:hover": {
|
|
42
|
+
backgroundColor: string;
|
|
43
|
+
color: string;
|
|
44
|
+
backgroundImage: string;
|
|
45
|
+
};
|
|
46
|
+
"& .MuiPaper-root": {
|
|
47
|
+
backgroundColor: string;
|
|
48
|
+
};
|
|
49
|
+
"&:hover": {
|
|
50
|
+
backgroundColor: string;
|
|
51
|
+
border: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
11
56
|
MuiAppBar: {
|
|
12
57
|
styleOverrides: {
|
|
13
58
|
root: {
|
|
@@ -857,18 +902,6 @@ declare const generateComponentOverrides: (uiTheme: UITheme) => {
|
|
|
857
902
|
}>;
|
|
858
903
|
}[] | undefined;
|
|
859
904
|
} | undefined;
|
|
860
|
-
MuiMenuItem?: {
|
|
861
|
-
defaultProps?: import('@mui/material').ComponentsProps["MuiMenuItem"];
|
|
862
|
-
styleOverrides?: Partial<import('@mui/material/styles/overrides').OverridesStyleRules<keyof import('@mui/material').MenuItemClasses, "MuiMenuItem", Omit<import('@mui/material').Theme, "components">>> | undefined;
|
|
863
|
-
variants?: {
|
|
864
|
-
props: Partial<import('@mui/material').MenuItemProps> | ((props: Partial<import('@mui/material').MenuItemProps> & {
|
|
865
|
-
ownerState: Partial<import('@mui/material').MenuItemProps>;
|
|
866
|
-
}) => boolean);
|
|
867
|
-
style: import('@mui/styled-engine').Interpolation<{
|
|
868
|
-
theme: Omit<import('@mui/material').Theme, "components">;
|
|
869
|
-
}>;
|
|
870
|
-
}[] | undefined;
|
|
871
|
-
} | undefined;
|
|
872
905
|
MuiMenuList?: {
|
|
873
906
|
defaultProps?: import('@mui/material').ComponentsProps["MuiMenuList"];
|
|
874
907
|
styleOverrides?: Partial<import('@mui/material/styles/overrides').OverridesStyleRules<keyof import('@mui/material').ListClasses, "MuiMenuList", Omit<import('@mui/material').Theme, "components">>> | undefined;
|