mui-design-system 0.0.21 → 0.0.22
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/package.json +1 -1
- package/dist/colors/index.d.ts +0 -4
- package/dist/colors/index.js +0 -93
- package/dist/colors/type.d.ts +0 -5
- package/dist/colors/type.js +0 -1
- package/dist/components/checkbox-list/CheckboxList.d.ts +0 -21
- package/dist/components/checkbox-list/CheckboxList.js +0 -31
- package/dist/components/custom-auto-complete/CustomAutoComplete.d.ts +0 -27
- package/dist/components/custom-auto-complete/CustomAutoComplete.js +0 -75
- package/dist/components/custom-auto-complete/components/AutoCompleteInput.d.ts +0 -21
- package/dist/components/custom-auto-complete/components/AutoCompleteInput.js +0 -29
- package/dist/components/custom-auto-complete/components/ListBox.d.ts +0 -5
- package/dist/components/custom-auto-complete/components/ListBox.js +0 -62
- package/dist/components/custom-auto-complete/components/ListRow.d.ts +0 -2
- package/dist/components/custom-auto-complete/components/ListRow.js +0 -21
- package/dist/components/custom-auto-complete-advanced/CustomAutoComplete.d.ts +0 -28
- package/dist/components/custom-auto-complete-advanced/CustomAutoComplete.js +0 -92
- package/dist/components/custom-auto-complete-advanced/components/ListBox.d.ts +0 -6
- package/dist/components/custom-auto-complete-advanced/components/ListBox.js +0 -76
- package/dist/components/custom-auto-complete-advanced/components/ListRow.d.ts +0 -2
- package/dist/components/custom-auto-complete-advanced/components/ListRow.js +0 -17
- package/dist/components/custom-auto-complete-advanced/components/RenderInput.d.ts +0 -23
- package/dist/components/custom-auto-complete-advanced/components/RenderInput.js +0 -51
- package/dist/components/custom-auto-complete-advanced/components/RenderTags.d.ts +0 -9
- package/dist/components/custom-auto-complete-advanced/components/RenderTags.js +0 -22
- package/dist/components/custom-breadcrumbs/CustomBreadcrumbs.d.ts +0 -17
- package/dist/components/custom-breadcrumbs/CustomBreadcrumbs.js +0 -11
- package/dist/components/custom-card/CustomHorizontalCard.d.ts +0 -3
- package/dist/components/custom-card/CustomHorizontalCard.js +0 -9
- package/dist/components/custom-card/CustomVerticalCard.d.ts +0 -3
- package/dist/components/custom-card/CustomVerticalCard.js +0 -9
- package/dist/components/custom-chip/CustomChip.d.ts +0 -12
- package/dist/components/custom-chip/CustomChip.js +0 -10
- package/dist/components/custom-date-picker/CustomComponent.d.ts +0 -17
- package/dist/components/custom-date-picker/CustomComponent.js +0 -36
- package/dist/components/custom-date-picker/CustomDatePicker.d.ts +0 -14
- package/dist/components/custom-date-picker/CustomDatePicker.js +0 -55
- package/dist/components/custom-dialog/CustomDialog.d.ts +0 -41
- package/dist/components/custom-dialog/CustomDialog.js +0 -38
- package/dist/components/custom-input/CustomNumericInput.d.ts +0 -9
- package/dist/components/custom-input/CustomNumericInput.js +0 -32
- package/dist/components/custom-mobile-date-picker/CustomBottomSheet.d.ts +0 -9
- package/dist/components/custom-mobile-date-picker/CustomBottomSheet.js +0 -29
- package/dist/components/custom-mobile-date-picker/CustomMobileDatePicker.d.ts +0 -19
- package/dist/components/custom-mobile-date-picker/CustomMobileDatePicker.js +0 -98
- package/dist/components/custom-mobile-date-picker/DatePickerBottomSheet.d.ts +0 -19
- package/dist/components/custom-mobile-date-picker/DatePickerBottomSheet.js +0 -40
- package/dist/components/custom-mobile-date-picker/ItemPicker.d.ts +0 -10
- package/dist/components/custom-mobile-date-picker/ItemPicker.js +0 -72
- package/dist/components/custom-modal/CustomModal.d.ts +0 -21
- package/dist/components/custom-modal/CustomModal.js +0 -38
- package/dist/components/custom-pagination/custom-pagination-1/CustomPagination1.d.ts +0 -9
- package/dist/components/custom-pagination/custom-pagination-1/CustomPagination1.js +0 -13
- package/dist/components/custom-pagination/custom-pagination-2/CustomPagination2.d.ts +0 -20
- package/dist/components/custom-pagination/custom-pagination-2/CustomPagination2.js +0 -33
- package/dist/components/custom-progress/LinearBufferProgress.d.ts +0 -6
- package/dist/components/custom-progress/LinearBufferProgress.js +0 -14
- package/dist/components/custom-stepper/CustomStepper.d.ts +0 -31
- package/dist/components/custom-stepper/CustomStepper.js +0 -170
- package/dist/components/custom-table/CustomTable.d.ts +0 -55
- package/dist/components/custom-table/CustomTable.js +0 -50
- package/dist/components/custom-table/components/CustomTableBody.d.ts +0 -21
- package/dist/components/custom-table/components/CustomTableBody.js +0 -11
- package/dist/components/custom-table/components/CustomTableCell.d.ts +0 -8
- package/dist/components/custom-table/components/CustomTableCell.js +0 -23
- package/dist/components/custom-table/components/CustomTableHead.d.ts +0 -17
- package/dist/components/custom-table/components/CustomTableHead.js +0 -63
- package/dist/components/custom-table/components/CustomTableRow.d.ts +0 -26
- package/dist/components/custom-table/components/CustomTableRow.js +0 -102
- package/dist/components/custom-table/components/useTable.d.ts +0 -24
- package/dist/components/custom-table/components/useTable.js +0 -77
- package/dist/components/custom-tabs/CustomTabs.d.ts +0 -22
- package/dist/components/custom-tabs/CustomTabs.js +0 -70
- package/dist/components/custom-uploader/CustomUploader.d.ts +0 -23
- package/dist/components/custom-uploader/CustomUploader.js +0 -68
- package/dist/components/error boundary/ErrorComponent.d.ts +0 -7
- package/dist/components/error boundary/ErrorComponent.js +0 -6
- package/dist/components/error boundary/withErrorBoundary.d.ts +0 -7
- package/dist/components/error boundary/withErrorBoundary.js +0 -10
- package/dist/components/index.d.ts +0 -183
- package/dist/components/index.js +0 -70
- package/dist/components/input-list/Form.d.ts +0 -21
- package/dist/components/input-list/Form.js +0 -19
- package/dist/components/input-list/InputListWithUseForm.d.ts +0 -22
- package/dist/components/input-list/InputListWithUseForm.js +0 -22
- package/dist/components/input-list/UseFormInput.d.ts +0 -11
- package/dist/components/input-list/UseFormInput.js +0 -50
- package/dist/components/input-list/checkbox-list/CheckboxList.d.ts +0 -19
- package/dist/components/input-list/checkbox-list/CheckboxList.js +0 -30
- package/dist/components/input-list/components/UFAutoComplete.d.ts +0 -9
- package/dist/components/input-list/components/UFAutoComplete.js +0 -41
- package/dist/components/input-list/components/UFCheckbox.d.ts +0 -19
- package/dist/components/input-list/components/UFCheckbox.js +0 -21
- package/dist/components/input-list/components/UFCurrency.d.ts +0 -9
- package/dist/components/input-list/components/UFCurrency.js +0 -47
- package/dist/components/input-list/components/UFDatePicker.d.ts +0 -9
- package/dist/components/input-list/components/UFDatePicker.js +0 -17
- package/dist/components/input-list/components/UFDatePickerMobile.d.ts +0 -9
- package/dist/components/input-list/components/UFDatePickerMobile.js +0 -6
- package/dist/components/input-list/components/UFMultiCheckbox.d.ts +0 -9
- package/dist/components/input-list/components/UFMultiCheckbox.js +0 -17
- package/dist/components/input-list/components/UFMultiSelect.d.ts +0 -9
- package/dist/components/input-list/components/UFMultiSelect.js +0 -56
- package/dist/components/input-list/components/UFRadio.d.ts +0 -9
- package/dist/components/input-list/components/UFRadio.js +0 -19
- package/dist/components/input-list/components/UFSelect.d.ts +0 -9
- package/dist/components/input-list/components/UFSelect.js +0 -19
- package/dist/components/input-list/components/UFSwitch.d.ts +0 -19
- package/dist/components/input-list/components/UFSwitch.js +0 -99
- package/dist/components/input-list/components/UFTextArea.d.ts +0 -9
- package/dist/components/input-list/components/UFTextArea.js +0 -12
- package/dist/components/input-list/components/UFTextField.d.ts +0 -11
- package/dist/components/input-list/components/UFTextField.js +0 -29
- package/dist/components/input-list/components/UFTime.d.ts +0 -10
- package/dist/components/input-list/components/UFTime.js +0 -93
- package/dist/components/input-list/components/UFUploader.d.ts +0 -9
- package/dist/components/input-list/components/UFUploader.js +0 -41
- package/dist/components/input-list/type.d.ts +0 -165
- package/dist/components/input-list/type.js +0 -1
- package/dist/components/otp-input/OTPInput.d.ts +0 -19
- package/dist/components/otp-input/OTPInput.js +0 -161
- package/dist/components/rich-tooltip/RichTooltip.d.ts +0 -18
- package/dist/components/rich-tooltip/RichTooltip.js +0 -32
- package/dist/context/FormContext.d.ts +0 -16
- package/dist/context/FormContext.js +0 -8
- package/dist/icons/Add.d.ts +0 -7
- package/dist/icons/Add.js +0 -3
- package/dist/icons/ArrowDown.d.ts +0 -7
- package/dist/icons/ArrowDown.js +0 -3
- package/dist/icons/ArrowLeft1.d.ts +0 -7
- package/dist/icons/ArrowLeft1.js +0 -3
- package/dist/icons/ArrowRight1.d.ts +0 -7
- package/dist/icons/ArrowRight1.js +0 -3
- package/dist/icons/Calendar.d.ts +0 -7
- package/dist/icons/Calendar.js +0 -3
- package/dist/icons/CloseCircle.d.ts +0 -7
- package/dist/icons/CloseCircle.js +0 -3
- package/dist/icons/DocumentDownload.d.ts +0 -7
- package/dist/icons/DocumentDownload.js +0 -3
- package/dist/icons/Eye.d.ts +0 -7
- package/dist/icons/Eye.js +0 -3
- package/dist/icons/EyeSlash.d.ts +0 -7
- package/dist/icons/EyeSlash.js +0 -3
- package/dist/icons/FolderAdd.d.ts +0 -7
- package/dist/icons/FolderAdd.js +0 -3
- package/dist/icons/InfoCircle.d.ts +0 -7
- package/dist/icons/InfoCircle.js +0 -3
- package/dist/icons/Tick.d.ts +0 -7
- package/dist/icons/Tick.js +0 -3
- package/dist/icons/Trash.d.ts +0 -7
- package/dist/icons/Trash.js +0 -3
- package/dist/icons/Union.d.ts +0 -7
- package/dist/icons/Union.js +0 -3
- package/dist/icons/Warning2.d.ts +0 -7
- package/dist/icons/Warning2.js +0 -3
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -8
- package/dist/methods/debounce.d.ts +0 -3
- package/dist/methods/debounce.js +0 -20
- package/dist/methods/general.d.ts +0 -2
- package/dist/methods/general.js +0 -32
- package/dist/mui/Alert/Alert.d.ts +0 -2
- package/dist/mui/Alert/Alert.js +0 -13
- package/dist/mui/AutoComplete/MuiAutoComplete.d.ts +0 -2
- package/dist/mui/AutoComplete/MuiAutoComplete.js +0 -27
- package/dist/mui/BreadCrumbs/MuiBreadCrumbs.d.ts +0 -2
- package/dist/mui/BreadCrumbs/MuiBreadCrumbs.js +0 -31
- package/dist/mui/Button/MuiButton.d.ts +0 -7
- package/dist/mui/Button/MuiButton.js +0 -185
- package/dist/mui/Card/MuiCard.d.ts +0 -2
- package/dist/mui/Card/MuiCard.js +0 -7
- package/dist/mui/Checkbox/Checkbox.d.ts +0 -2
- package/dist/mui/Checkbox/Checkbox.js +0 -31
- package/dist/mui/Checkbox/assets/CheckedIcon.d.ts +0 -8
- package/dist/mui/Checkbox/assets/CheckedIcon.js +0 -12
- package/dist/mui/Checkbox/assets/IntermediateIcon.d.ts +0 -8
- package/dist/mui/Checkbox/assets/IntermediateIcon.js +0 -10
- package/dist/mui/Checkbox/assets/UnChekedIcon.d.ts +0 -7
- package/dist/mui/Checkbox/assets/UnChekedIcon.js +0 -9
- package/dist/mui/Chip/MuiChip.d.ts +0 -10
- package/dist/mui/Chip/MuiChip.js +0 -35
- package/dist/mui/Dialog/MuiDialog.d.ts +0 -7
- package/dist/mui/Dialog/MuiDialog.js +0 -22
- package/dist/mui/FormControl/MuiFormControlLabel.d.ts +0 -2
- package/dist/mui/FormControl/MuiFormControlLabel.js +0 -13
- package/dist/mui/IconButton/MuiIconButon.d.ts +0 -2
- package/dist/mui/IconButton/MuiIconButon.js +0 -7
- package/dist/mui/InputAdornment/MuiInputAdornment.d.ts +0 -2
- package/dist/mui/InputAdornment/MuiInputAdornment.js +0 -6
- package/dist/mui/InputLabel/MuiInputLabel.d.ts +0 -2
- package/dist/mui/InputLabel/MuiInputLabel.js +0 -43
- package/dist/mui/Pagination/MuiPagination.d.ts +0 -2
- package/dist/mui/Pagination/MuiPagination.js +0 -15
- package/dist/mui/Pagination/MuiPaginationItem.d.ts +0 -2
- package/dist/mui/Pagination/MuiPaginationItem.js +0 -15
- package/dist/mui/Radio/MuiRadio.d.ts +0 -2
- package/dist/mui/Radio/MuiRadio.js +0 -17
- package/dist/mui/Select/MuiSelect.d.ts +0 -2
- package/dist/mui/Select/MuiSelect.js +0 -47
- package/dist/mui/Switch/MuiSwitch.d.ts +0 -2
- package/dist/mui/Switch/MuiSwitch.js +0 -83
- package/dist/mui/Tabs/MuiTabs.d.ts +0 -2
- package/dist/mui/Tabs/MuiTabs.js +0 -21
- package/dist/mui/Tabs/Tab/MuiTab.d.ts +0 -2
- package/dist/mui/Tabs/Tab/MuiTab.js +0 -26
- package/dist/mui/TextField/MuiFilledInput.d.ts +0 -2
- package/dist/mui/TextField/MuiFilledInput.js +0 -91
- package/dist/mui/TextField/MuiOutlinedInput.d.ts +0 -2
- package/dist/mui/TextField/MuiOutlinedInput.js +0 -66
- package/dist/mui/TextField/TextField.d.ts +0 -2
- package/dist/mui/TextField/TextField.js +0 -78
- package/dist/mui/Tooltip/MuiTooltip.d.ts +0 -2
- package/dist/mui/Tooltip/MuiTooltip.js +0 -26
- package/dist/mui/Typography/MuiTypography.d.ts +0 -2
- package/dist/mui/Typography/MuiTypography.js +0 -9
- package/dist/mui/Typography/index.d.ts +0 -2
- package/dist/mui/Typography/index.js +0 -138
- package/dist/mui/accordion/MuiAccodrion.d.ts +0 -2
- package/dist/mui/accordion/MuiAccodrion.js +0 -13
- package/dist/mui/breakpoints/index.d.ts +0 -9
- package/dist/mui/breakpoints/index.js +0 -9
- package/dist/mui/menu/MuiMenu.d.ts +0 -2
- package/dist/mui/menu/MuiMenu.js +0 -8
- package/dist/mui/menu/MuiMenuItem.d.ts +0 -2
- package/dist/mui/menu/MuiMenuItem.js +0 -14
- package/dist/mui/mui-css-baseline/index.d.ts +0 -3
- package/dist/mui/mui-css-baseline/index.js +0 -37
- package/dist/mui/palette/dark/darkPalette.d.ts +0 -2
- package/dist/mui/palette/dark/darkPalette.js +0 -135
- package/dist/mui/palette/light/lightPalette.d.ts +0 -2
- package/dist/mui/palette/light/lightPalette.js +0 -135
- package/dist/nextjs/NextCacheProvider.d.ts +0 -7
- package/dist/nextjs/NextCacheProvider.js +0 -13
- package/dist/react/ReactCacheProvider.d.ts +0 -7
- package/dist/react/ReactCacheProvider.js +0 -15
- package/dist/theme/theme.d.ts +0 -3
- package/dist/theme/theme.js +0 -75
- package/dist/types/palette.d.ts +0 -60
- package/dist/types/palette.js +0 -1
- package/dist/types/types.d.ts +0 -102
- package/dist/types/types.js +0 -4
- package/dist/types/typography.d.ts +0 -71
- package/dist/types/typography.js +0 -1
package/dist/icons/Warning2.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SVGProps } from "react";
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
primarycolor?: string;
|
|
4
|
-
secondarycolor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const SvgWarning2: ({ primarycolor, secondarycolor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default SvgWarning2;
|
package/dist/icons/Warning2.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const SvgWarning2 = ({ primarycolor, secondarycolor, ...props }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: secondarycolor || "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M12 7.75V13M21.08 8.58v6.84c0 1.12-.6 2.16-1.57 2.73l-5.94 3.43c-.97.56-2.17.56-3.15 0l-5.94-3.43a3.15 3.15 0 0 1-1.57-2.73V8.58c0-1.12.6-2.16 1.57-2.73l5.94-3.43c.97-.56 2.17-.56 3.15 0l5.94 3.43c.97.57 1.57 1.6 1.57 2.73" }), _jsx("path", { stroke: primarycolor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M12 16.2v.1" })] }));
|
|
3
|
-
export default SvgWarning2;
|
package/dist/index.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import "./types/types";
|
|
2
|
-
export { default as CustomTheme } from "./theme/theme";
|
|
3
|
-
export { default as NextCacheProvider } from "./nextjs/NextCacheProvider";
|
|
4
|
-
export { default as ReactCacheProvider } from "./react/ReactCacheProvider";
|
|
5
|
-
export * from "./components/index";
|
|
6
|
-
export { colors } from "./colors/index";
|
|
7
|
-
export * from "./methods/general";
|
|
8
|
-
export * from "./methods/debounce";
|
package/dist/index.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import "./types/types";
|
|
2
|
-
export { default as CustomTheme } from "./theme/theme";
|
|
3
|
-
export { default as NextCacheProvider } from "./nextjs/NextCacheProvider";
|
|
4
|
-
export { default as ReactCacheProvider } from "./react/ReactCacheProvider";
|
|
5
|
-
export * from "./components/index";
|
|
6
|
-
export { colors } from "./colors/index";
|
|
7
|
-
export * from "./methods/general";
|
|
8
|
-
export * from "./methods/debounce";
|
package/dist/methods/debounce.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export function debounce(func, wait, immediate = false) {
|
|
2
|
-
let timeout;
|
|
3
|
-
return function (...args) {
|
|
4
|
-
const later = () => {
|
|
5
|
-
timeout = null;
|
|
6
|
-
if (!immediate) {
|
|
7
|
-
func(...args); // Call without a `this` context
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
const callNow = immediate && !timeout;
|
|
11
|
-
if (timeout) {
|
|
12
|
-
clearTimeout(timeout);
|
|
13
|
-
}
|
|
14
|
-
timeout = setTimeout(later, wait);
|
|
15
|
-
if (callNow) {
|
|
16
|
-
func(...args); // Call without a `this` context
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export default debounce;
|
package/dist/methods/general.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export const result = (object, key, defaultValue) => {
|
|
2
|
-
const value = object[key];
|
|
3
|
-
if (value === undefined && defaultValue !== undefined) {
|
|
4
|
-
return typeof defaultValue === "function"
|
|
5
|
-
? defaultValue()
|
|
6
|
-
: defaultValue;
|
|
7
|
-
}
|
|
8
|
-
return typeof value === "function" ? value.call(object) : value;
|
|
9
|
-
};
|
|
10
|
-
export const deepMerge = (...objects) => {
|
|
11
|
-
const result = {};
|
|
12
|
-
for (const obj of objects) {
|
|
13
|
-
if (!obj)
|
|
14
|
-
continue; // Skip undefined or null objects
|
|
15
|
-
for (const key in obj) {
|
|
16
|
-
if (obj[key] &&
|
|
17
|
-
typeof obj[key] === "object" &&
|
|
18
|
-
!Array.isArray(obj[key]) &&
|
|
19
|
-
result[key] &&
|
|
20
|
-
typeof result[key] === "object" &&
|
|
21
|
-
!Array.isArray(result[key])) {
|
|
22
|
-
// Recursively merge objects
|
|
23
|
-
result[key] = deepMerge(result[key], obj[key]);
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
// Otherwise, add or overwrite the property
|
|
27
|
-
result[key] = obj[key];
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return result;
|
|
32
|
-
};
|
package/dist/mui/Alert/Alert.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import ArrowDown from '../../icons/ArrowDown';
|
|
3
|
-
export const MuiAutoComplete = {
|
|
4
|
-
defaultProps: {
|
|
5
|
-
popupIcon: _jsx(ArrowDown, { primarycolor: 'inherit' }),
|
|
6
|
-
},
|
|
7
|
-
styleOverrides: {
|
|
8
|
-
root: ({ ownerState, theme }) => ({
|
|
9
|
-
position: 'relative',
|
|
10
|
-
borderRadius: theme.shape.borderRadius * 2,
|
|
11
|
-
'& .Mui-focused': {
|
|
12
|
-
height: 'auto !important',
|
|
13
|
-
},
|
|
14
|
-
'& .MuiCircularProgress-root': {
|
|
15
|
-
position: 'absolute',
|
|
16
|
-
right: 37,
|
|
17
|
-
},
|
|
18
|
-
'& .MuiInputBase-root': {
|
|
19
|
-
minHeight: ownerState.size === 'small' ? 40 : 48,
|
|
20
|
-
height: 40,
|
|
21
|
-
overflowY: 'hidden',
|
|
22
|
-
scrollbarWidth: 'none',
|
|
23
|
-
display: 'flex',
|
|
24
|
-
},
|
|
25
|
-
}),
|
|
26
|
-
},
|
|
27
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export const MuiBreadcrumbs = {
|
|
2
|
-
defaultProps: {},
|
|
3
|
-
styleOverrides: {
|
|
4
|
-
root: ({ ownerState, theme }) => ({
|
|
5
|
-
color: theme.palette.text.primary,
|
|
6
|
-
stroke: theme.palette.text.primary,
|
|
7
|
-
'& .MuiBreadcrumbs-separator': {
|
|
8
|
-
transform: theme.direction === 'ltr' ? 'rotate(180deg)' : 'rotate(0deg)',
|
|
9
|
-
alignItems: 'center',
|
|
10
|
-
justifyContent: 'center',
|
|
11
|
-
width: '16px',
|
|
12
|
-
height: '16px',
|
|
13
|
-
color: theme.palette.text.primary,
|
|
14
|
-
stroke: theme.palette.text.primary,
|
|
15
|
-
margin: 0
|
|
16
|
-
},
|
|
17
|
-
'& .MuiBreadcrumbs-li': {
|
|
18
|
-
'& :hover': {
|
|
19
|
-
color: theme.palette.primary["5"],
|
|
20
|
-
stroke: theme.palette.primary["5"]
|
|
21
|
-
},
|
|
22
|
-
"&:last-child": {
|
|
23
|
-
fontWeight: 900
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
'& .MuiLink-root': {
|
|
27
|
-
color: `${theme.palette.text.primary} !important`,
|
|
28
|
-
},
|
|
29
|
-
}),
|
|
30
|
-
},
|
|
31
|
-
};
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
export const MuiButton = {
|
|
2
|
-
defaultProps: {
|
|
3
|
-
disableElevation: true,
|
|
4
|
-
variant: "contained",
|
|
5
|
-
centerRipple: true,
|
|
6
|
-
},
|
|
7
|
-
styleOverrides: {
|
|
8
|
-
root: ({ ownerState, theme }) => ({
|
|
9
|
-
fontWeight: 500,
|
|
10
|
-
outline: "0px solid",
|
|
11
|
-
borderRadius: theme.shape.borderRadius * 2,
|
|
12
|
-
minWidth: ownerState.size === "small" ? "73px" : "117px",
|
|
13
|
-
minHeight: ownerState.size === "small" ? "34px" : "48px",
|
|
14
|
-
fontSize: ownerState.size === "small" ? "clamp(12px,2.7vw,14px)" : "clamp(14px,2.7vw,16px)",
|
|
15
|
-
width: ownerState.fullWidth ? "100%" : "max-content",
|
|
16
|
-
height: "max-content",
|
|
17
|
-
lineHeight: "100% !important",
|
|
18
|
-
padding: "6px 12px",
|
|
19
|
-
textTransform: "none",
|
|
20
|
-
//Icon style in general
|
|
21
|
-
".MuiButton-icon": {
|
|
22
|
-
display: ownerState.isLoading ? "none" : "flex",
|
|
23
|
-
alignItems: "center",
|
|
24
|
-
margin: "0px 4px",
|
|
25
|
-
maxWidth: ownerState.size === "small" ? "16px" : "24px",
|
|
26
|
-
maxHeight: ownerState.size === "small" ? "16px" : "24px",
|
|
27
|
-
overflow: "hidden",
|
|
28
|
-
flexBasis: "20%",
|
|
29
|
-
stroke: ownerState.variant === "contained"
|
|
30
|
-
? theme.palette.mode === "dark"
|
|
31
|
-
? theme.palette.text.primary
|
|
32
|
-
: theme.palette.text.secondary
|
|
33
|
-
: theme.palette[ownerState?.color ?? "primary"]["5"],
|
|
34
|
-
},
|
|
35
|
-
".MuiButton-startIcon": {
|
|
36
|
-
flexGrow: 1,
|
|
37
|
-
},
|
|
38
|
-
".MuiButton-endIcon": {
|
|
39
|
-
flexGrow: 1,
|
|
40
|
-
},
|
|
41
|
-
}),
|
|
42
|
-
text: ({ ownerState, theme }) => ({
|
|
43
|
-
...(ownerState.isLoading && {
|
|
44
|
-
pointerEvents: "none",
|
|
45
|
-
filter: "brightness(120%) saturate(0)",
|
|
46
|
-
position: "relative",
|
|
47
|
-
".MuiButton-startIcon": {
|
|
48
|
-
display: "none",
|
|
49
|
-
},
|
|
50
|
-
".MuiButton-endIcon": {
|
|
51
|
-
display: "none",
|
|
52
|
-
},
|
|
53
|
-
"&::after": {
|
|
54
|
-
content: '" "',
|
|
55
|
-
backgroundImage: imageUrl,
|
|
56
|
-
position: "absolute",
|
|
57
|
-
width: 36,
|
|
58
|
-
height: 36,
|
|
59
|
-
},
|
|
60
|
-
}),
|
|
61
|
-
border: "none",
|
|
62
|
-
color: ownerState.isLoading
|
|
63
|
-
? "transparent !important"
|
|
64
|
-
: theme.palette[ownerState?.color ?? "primary"].main,
|
|
65
|
-
backgroundColor: "unset",
|
|
66
|
-
"&:hover": {
|
|
67
|
-
color: theme.palette[ownerState?.color ?? "primary"]["4"],
|
|
68
|
-
backgroundColor: "unset",
|
|
69
|
-
},
|
|
70
|
-
"&:focus": {
|
|
71
|
-
outline: "none",
|
|
72
|
-
},
|
|
73
|
-
"&:active": {
|
|
74
|
-
color: theme.palette[ownerState?.color ?? "primary"]["5"],
|
|
75
|
-
},
|
|
76
|
-
"&.Mui-disabled": {
|
|
77
|
-
color: theme.palette.text.disabled,
|
|
78
|
-
},
|
|
79
|
-
}),
|
|
80
|
-
contained: ({ theme, ownerState }) => ({
|
|
81
|
-
//Handle Loading State
|
|
82
|
-
...(ownerState.isLoading && {
|
|
83
|
-
pointerEvents: "none",
|
|
84
|
-
filter: "saturate(0)",
|
|
85
|
-
position: "relative",
|
|
86
|
-
".MuiButton-startIcon": {
|
|
87
|
-
display: "none",
|
|
88
|
-
},
|
|
89
|
-
".MuiButton-endIcon": {
|
|
90
|
-
display: "none",
|
|
91
|
-
},
|
|
92
|
-
"&::after": {
|
|
93
|
-
filter: "brightness(200%) saturate(0)",
|
|
94
|
-
content: '" "',
|
|
95
|
-
backgroundImage: imageUrl,
|
|
96
|
-
position: "absolute",
|
|
97
|
-
width: 36,
|
|
98
|
-
height: 36,
|
|
99
|
-
},
|
|
100
|
-
}),
|
|
101
|
-
color: ownerState.isLoading
|
|
102
|
-
? "transparent !important"
|
|
103
|
-
: ownerState.color === "warning"
|
|
104
|
-
? theme.palette.getContrastText(theme.palette.warning.main)
|
|
105
|
-
: theme.palette.text["1"],
|
|
106
|
-
backgroundColor: theme.palette[ownerState?.color ?? "primary"].main,
|
|
107
|
-
"&::before": {
|
|
108
|
-
width: "100%",
|
|
109
|
-
height: "100%",
|
|
110
|
-
backgroundColor: theme.palette.background.default,
|
|
111
|
-
content: "''",
|
|
112
|
-
position: "absolute",
|
|
113
|
-
borderRadius: theme.shape.borderRadius * 2,
|
|
114
|
-
opacity: 0,
|
|
115
|
-
transition: "all 0.3s",
|
|
116
|
-
},
|
|
117
|
-
"&:hover": {
|
|
118
|
-
// backgroundColor: theme.palette[ownerState?.color ?? 'primary']["4"],
|
|
119
|
-
backgroundColor: theme.palette.primary.main,
|
|
120
|
-
"&::before": {
|
|
121
|
-
opacity: 0.1,
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
"&:focus": {
|
|
125
|
-
border: "none",
|
|
126
|
-
outline: "none",
|
|
127
|
-
},
|
|
128
|
-
"&.Mui-disabled": {
|
|
129
|
-
backgroundColor: theme.palette.background[4],
|
|
130
|
-
},
|
|
131
|
-
}),
|
|
132
|
-
outlined: ({ theme, ownerState }) => ({
|
|
133
|
-
backgroundColor: "none",
|
|
134
|
-
color: ownerState.isLoading
|
|
135
|
-
? "transparent !important"
|
|
136
|
-
: theme.palette[ownerState?.color ?? "primary"].main,
|
|
137
|
-
//Handle Loading State
|
|
138
|
-
...(ownerState.isLoading && {
|
|
139
|
-
pointerEvents: "none",
|
|
140
|
-
filter: "saturate(0)",
|
|
141
|
-
position: "relative",
|
|
142
|
-
".MuiButton-startIcon": {
|
|
143
|
-
display: "none",
|
|
144
|
-
},
|
|
145
|
-
".MuiButton-endIcon": {
|
|
146
|
-
display: "none",
|
|
147
|
-
},
|
|
148
|
-
"&::after": {
|
|
149
|
-
content: '" "',
|
|
150
|
-
backgroundImage: imageUrl,
|
|
151
|
-
position: "absolute",
|
|
152
|
-
width: 36,
|
|
153
|
-
height: 36,
|
|
154
|
-
},
|
|
155
|
-
}),
|
|
156
|
-
"&::before": {
|
|
157
|
-
width: "100%",
|
|
158
|
-
height: "100%",
|
|
159
|
-
backgroundColor: theme.palette.background.default,
|
|
160
|
-
content: "''",
|
|
161
|
-
position: "absolute",
|
|
162
|
-
borderRadius: theme.shape.borderRadius * 2,
|
|
163
|
-
opacity: 0,
|
|
164
|
-
transition: "all 0.3s",
|
|
165
|
-
},
|
|
166
|
-
"&:hover": {
|
|
167
|
-
color: theme.palette[ownerState?.color ?? "primary"].main,
|
|
168
|
-
borderColor: theme.palette[ownerState?.color ?? "primary"].main,
|
|
169
|
-
outlineWidth: "1px",
|
|
170
|
-
outlineColor: theme.palette[ownerState?.color ?? "primary"].main,
|
|
171
|
-
"&::before": {
|
|
172
|
-
opacity: 0.1,
|
|
173
|
-
},
|
|
174
|
-
},
|
|
175
|
-
"&:focus": {
|
|
176
|
-
outline: "none",
|
|
177
|
-
},
|
|
178
|
-
"&.Mui-disabled": {
|
|
179
|
-
color: theme.palette.text.disabled,
|
|
180
|
-
borderColor: theme.palette.text[7],
|
|
181
|
-
},
|
|
182
|
-
}),
|
|
183
|
-
},
|
|
184
|
-
};
|
|
185
|
-
const imageUrl = 'url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjM2IiBzdHlsZT0ic2hhcGUtcmVuZGVyaW5nOiBhdXRvOyBkaXNwbGF5OiBibG9jazsgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQ7IiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGc+PGNpcmNsZSBmaWxsPSIjODY4Njg2IiByPSIxMCIgY3k9IjUwIiBjeD0iODQiPgogICAgPGFuaW1hdGUgYmVnaW49IjBzIiBrZXlTcGxpbmVzPSIwIDAuNSAwLjUgMSIgdmFsdWVzPSIxMDswIiBrZXlUaW1lcz0iMDsxIiBjYWxjTW9kZT0ic3BsaW5lIiBkdXI9IjAuNTY4MTgxODE4MTgxODE4MnMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBhdHRyaWJ1dGVOYW1lPSJyIj48L2FuaW1hdGU+CiAgICA8YW5pbWF0ZSBiZWdpbj0iMHMiIHZhbHV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PC9nPjwvZz48IS0tIFtsZGlvXSBnZW5lcmF0ZWQgYnkgaHR0cHM6Ly9sb2FkaW5nLmlvIC0tPjwvc3ZnPgo=")';
|
package/dist/mui/Card/MuiCard.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import UnCheckedIcon from './assets/UnChekedIcon';
|
|
3
|
-
import CheckedIcon from './assets/CheckedIcon';
|
|
4
|
-
import IntermediateIcon from './assets/IntermediateIcon';
|
|
5
|
-
export const MuiCheckbox = {
|
|
6
|
-
defaultProps: {
|
|
7
|
-
icon: _jsx(UnCheckedIcon, {}),
|
|
8
|
-
checkedIcon: _jsx(CheckedIcon, {}),
|
|
9
|
-
indeterminateIcon: _jsx(IntermediateIcon, {}),
|
|
10
|
-
},
|
|
11
|
-
styleOverrides: {
|
|
12
|
-
root: ({ theme, ownerState }) => ({
|
|
13
|
-
transition: 'transform 0.5s ease',
|
|
14
|
-
width: ownerState.size === 'small' ? '34px' : '42px',
|
|
15
|
-
height: ownerState.size === 'small' ? '34px' : '42px',
|
|
16
|
-
':active': {
|
|
17
|
-
transform: 'scale(85%)',
|
|
18
|
-
},
|
|
19
|
-
'&.Mui-checked': {
|
|
20
|
-
fill: theme.palette[ownerState?.color ?? 'primary'].main,
|
|
21
|
-
stroke: theme.palette.text.primary,
|
|
22
|
-
},
|
|
23
|
-
}),
|
|
24
|
-
checked: ({ theme, ownerState }) => ({
|
|
25
|
-
fill: theme.palette[ownerState?.color ?? 'primary'].main,
|
|
26
|
-
}),
|
|
27
|
-
indeterminate: ({ theme, ownerState }) => ({
|
|
28
|
-
fill: theme.palette[ownerState?.color ?? 'primary'].main,
|
|
29
|
-
}),
|
|
30
|
-
},
|
|
31
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type SVGProps } from "react";
|
|
2
|
-
type ColorTypes = "default" | "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
|
3
|
-
interface Props extends SVGProps<any> {
|
|
4
|
-
backgroundColor?: ColorTypes;
|
|
5
|
-
borderColor?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const CheckedIcon: ({ borderColor, backgroundColor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default CheckedIcon;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useTheme } from "@mui/material";
|
|
3
|
-
const CheckedIcon = ({ borderColor, backgroundColor, ...props }) => {
|
|
4
|
-
const theme = useTheme();
|
|
5
|
-
const svgBackgroundColor = backgroundColor
|
|
6
|
-
? theme.palette[backgroundColor ?? "primary"].main
|
|
7
|
-
: "inherit";
|
|
8
|
-
const svgBorderColor = borderColor ?? "inherit";
|
|
9
|
-
const svgInnerElementColor = theme.palette.grey[1];
|
|
10
|
-
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: svgBackgroundColor || "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: svgBorderColor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7" }), _jsx("path", { stroke: svgInnerElementColor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "m7.75 12 2.83 2.83 5.67-5.66" })] }));
|
|
11
|
-
};
|
|
12
|
-
export default CheckedIcon;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type SVGProps } from 'react';
|
|
2
|
-
type ColorTypes = 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
3
|
-
interface Props extends SVGProps<any> {
|
|
4
|
-
backgroundColor?: ColorTypes;
|
|
5
|
-
borderColor?: string;
|
|
6
|
-
}
|
|
7
|
-
declare const IntermediateIcon: ({ borderColor, backgroundColor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export default IntermediateIcon;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useTheme } from "@mui/material";
|
|
3
|
-
const IntermediateIcon = ({ borderColor, backgroundColor, ...props }) => {
|
|
4
|
-
const theme = useTheme();
|
|
5
|
-
const svgInnerElementColor = theme.palette.background.paper;
|
|
6
|
-
const svgBorderColor = borderColor ?? theme.palette.text.primary;
|
|
7
|
-
const svgBackgroundColor = theme.palette[backgroundColor ?? 'primary'].main;
|
|
8
|
-
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: svgBackgroundColor || "none", viewBox: "0 0 24 24", ...props, children: [_jsx("path", { stroke: svgBorderColor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7" }), _jsx("path", { stroke: svgInnerElementColor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M8 12h8M9 0" })] }));
|
|
9
|
-
};
|
|
10
|
-
export default IntermediateIcon;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type SVGProps } from 'react';
|
|
2
|
-
interface Props extends SVGProps<any> {
|
|
3
|
-
backgroundColor?: 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
|
|
4
|
-
borderColor?: string;
|
|
5
|
-
}
|
|
6
|
-
declare const UnCheckedIcon: ({ backgroundColor, borderColor, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default UnCheckedIcon;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useTheme } from "@mui/material";
|
|
3
|
-
const UnCheckedIcon = ({ backgroundColor, borderColor, ...props }) => {
|
|
4
|
-
const theme = useTheme();
|
|
5
|
-
const svgBackgroundColor = backgroundColor ? theme.palette[backgroundColor ?? 'primary'].main : undefined;
|
|
6
|
-
const svgBorderColor = borderColor ?? theme.palette.text.primary;
|
|
7
|
-
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: svgBackgroundColor || "none", viewBox: "0 0 24 24", ...props, children: _jsx("path", { stroke: svgBorderColor || "#1A1A1A", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 1.5, d: "M9.3 21h5.4c4.5 0 6.3-1.8 6.3-6.3V9.3C21 4.8 19.2 3 14.7 3H9.3C4.8 3 3 4.8 3 9.3v5.4C3 19.2 4.8 21 9.3 21" }) }));
|
|
8
|
-
};
|
|
9
|
-
export default UnCheckedIcon;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Components, Theme } from "@mui/material/styles";
|
|
2
|
-
declare module '@mui/material/Chip' {
|
|
3
|
-
interface ChipOwnProps {
|
|
4
|
-
rounded?: boolean;
|
|
5
|
-
}
|
|
6
|
-
interface ChipPropsSizeOverrides {
|
|
7
|
-
large: true;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare const MuiChip: Components<Theme>['MuiChip'];
|
package/dist/mui/Chip/MuiChip.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import SvgCloseCircle from "../../icons/CloseCircle";
|
|
3
|
-
export const MuiChip = {
|
|
4
|
-
defaultProps: {
|
|
5
|
-
size: "medium",
|
|
6
|
-
deleteIcon: _jsx(SvgCloseCircle, { width: 48, primarycolor: 'inherit' })
|
|
7
|
-
},
|
|
8
|
-
styleOverrides: {
|
|
9
|
-
root: ({ ownerState, theme }) => ({
|
|
10
|
-
height: "32px",
|
|
11
|
-
display: 'flex',
|
|
12
|
-
alignItems: 'center',
|
|
13
|
-
borderRadius: theme.spacing(1),
|
|
14
|
-
backgroundColor: theme.palette.primary.main,
|
|
15
|
-
padding: `${theme.spacing(1)} ${theme.spacing(3)}`,
|
|
16
|
-
stroke: theme.palette.text.primary,
|
|
17
|
-
color: theme.palette.text[9],
|
|
18
|
-
"&:hover": {
|
|
19
|
-
backgroundColor: theme.palette.primary[8]
|
|
20
|
-
},
|
|
21
|
-
// small chip styles
|
|
22
|
-
...(ownerState.size === 'small' && {}),
|
|
23
|
-
// medium chip styles
|
|
24
|
-
...(ownerState.size === 'medium' && {}),
|
|
25
|
-
// large chip styles
|
|
26
|
-
...(ownerState.size === 'large' && {
|
|
27
|
-
height: '40px'
|
|
28
|
-
}),
|
|
29
|
-
"& .MuiChip-deleteIcon": {
|
|
30
|
-
margin: '0',
|
|
31
|
-
fontSize: 14,
|
|
32
|
-
}
|
|
33
|
-
}),
|
|
34
|
-
},
|
|
35
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export const MuiDialog = {
|
|
2
|
-
defaultProps: {},
|
|
3
|
-
styleOverrides: {
|
|
4
|
-
root: ({ ownerState, theme }) => ({
|
|
5
|
-
"& .MuiBackdrop-root": {
|
|
6
|
-
backgroundColor: "unset",
|
|
7
|
-
backdropFilter: "blur(2px) brightness(85%)",
|
|
8
|
-
},
|
|
9
|
-
"& .MuiDialog-paper": {
|
|
10
|
-
backgroundColor: theme.palette.background["1"],
|
|
11
|
-
backgroundImage: "none",
|
|
12
|
-
...(ownerState.withoutBoxShadow && {
|
|
13
|
-
boxShadow: "none",
|
|
14
|
-
}),
|
|
15
|
-
borderRadius: theme.shape.borderRadius * 2,
|
|
16
|
-
minHeight: "340px",
|
|
17
|
-
minWidth: "500px",
|
|
18
|
-
padding: "16px 24px",
|
|
19
|
-
},
|
|
20
|
-
}),
|
|
21
|
-
},
|
|
22
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const MuiFormControlLabel = {
|
|
2
|
-
defaultProps: {},
|
|
3
|
-
styleOverrides: {
|
|
4
|
-
root: ({ theme, ownerState }) => ({
|
|
5
|
-
marginLeft: '0px !important',
|
|
6
|
-
'& .MuiFormControlLabel-label': {
|
|
7
|
-
color: theme.palette.text.primary,
|
|
8
|
-
textAlign: 'initial',
|
|
9
|
-
...theme.typography?.["body3.medium"],
|
|
10
|
-
},
|
|
11
|
-
})
|
|
12
|
-
},
|
|
13
|
-
};
|