identity-admin-ui 1.12.0 → 1.12.1
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/lib/cjs/index.css +18 -38
- package/lib/cjs/index.js +13 -13
- package/lib/cjs/types/components/Image.d.ts +12 -0
- package/lib/cjs/types/components/Logo.d.ts +6 -0
- package/lib/cjs/types/components/MotionLazyContainer.d.ts +6 -0
- package/lib/cjs/types/components/SearchNotFound.d.ts +6 -0
- package/lib/cjs/types/components/hook-form/RHFDatePicker.d.ts +2 -1
- package/lib/cjs/types/components/hook-form/RHFTagsField.d.ts +21 -0
- package/lib/cjs/types/components/hook-form/RHFUpload.d.ts +15 -2
- package/lib/cjs/types/components/hook-form/index.d.ts +2 -0
- package/lib/cjs/types/components/index.d.ts +2 -0
- package/lib/cjs/types/components/nav-section/horizontal/NavItem.d.ts +4 -0
- package/lib/cjs/types/components/nav-section/horizontal/NavList.d.ts +6 -0
- package/lib/cjs/types/components/nav-section/horizontal/index.d.ts +5 -1
- package/lib/cjs/types/components/nav-section/horizontal/style.d.ts +47 -0
- package/lib/cjs/types/components/nav-section/index.d.ts +4 -0
- package/lib/cjs/types/components/nav-section/type.d.ts +35 -0
- package/lib/cjs/types/components/nav-section/vertical/NavItem.d.ts +13 -0
- package/lib/cjs/types/components/nav-section/vertical/NavList.d.ts +7 -0
- package/lib/cjs/types/components/nav-section/vertical/index.d.ts +16 -1
- package/lib/cjs/types/components/nav-section/vertical/style.d.ts +36 -0
- package/lib/cjs/types/components/settings/SettingsContext.d.ts +8 -0
- package/lib/cjs/types/components/settings/ThemeColorPresets.d.ts +6 -0
- package/lib/cjs/types/components/settings/ThemeContrast.d.ts +6 -0
- package/lib/cjs/types/components/settings/ThemeLocalization.d.ts +6 -0
- package/lib/cjs/types/components/settings/ThemeRtlLayout.d.ts +6 -0
- package/lib/cjs/types/components/settings/config-setting.d.ts +2 -0
- package/lib/cjs/types/components/settings/drawer/BoxMask.d.ts +5 -0
- package/lib/cjs/types/components/settings/drawer/SettingColorPresets.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingContrast.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingDirection.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingFullscreen.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingLayout.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingMode.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/SettingStretch.d.ts +1 -0
- package/lib/cjs/types/components/settings/drawer/ToggleButton.d.ts +7 -0
- package/lib/cjs/types/components/settings/drawer/index.d.ts +1 -0
- package/lib/cjs/types/components/settings/index.d.ts +6 -0
- package/lib/cjs/types/components/settings/presets.d.ts +1941 -0
- package/lib/cjs/types/components/settings/type.d.ts +56 -0
- package/lib/cjs/types/components/upload/UploadImage.d.ts +2 -0
- package/lib/cjs/types/components/upload/UploadSingleFile.d.ts +1 -1
- package/lib/cjs/types/components/upload/index.d.ts +1 -0
- package/lib/cjs/types/components/upload/type.d.ts +2 -0
- package/lib/cjs/types/context/AppConfigurationsContext.d.ts +8 -2
- package/lib/cjs/types/context/CollapseDrawerContext.d.ts +15 -0
- package/lib/cjs/types/context/SettingsContext.d.ts +8 -0
- package/lib/cjs/types/context/auth/AuthContext.d.ts +14 -0
- package/lib/cjs/types/context/auth/AuthReducer.d.ts +18 -0
- package/lib/cjs/types/context/auth/index.d.ts +2 -0
- package/lib/cjs/types/context/auth/types.d.ts +9 -0
- package/lib/cjs/types/context/index.d.ts +3 -0
- package/lib/cjs/types/hooks/RequetState.d.ts +8 -1
- package/lib/cjs/types/hooks/index.d.ts +2 -0
- package/lib/cjs/types/hooks/useApi.d.ts +2 -1
- package/lib/cjs/types/hooks/useAppConfigurations.d.ts +5 -0
- package/lib/cjs/types/hooks/useAuth.d.ts +6 -0
- package/lib/cjs/types/hooks/useCollapseDrawer.d.ts +2 -0
- package/lib/cjs/types/hooks/useLocalStorage.d.ts +1 -0
- package/lib/cjs/types/hooks/useLocales.d.ts +16 -0
- package/lib/cjs/types/hooks/useSettings.d.ts +2 -0
- package/lib/cjs/types/index.d.ts +5 -1
- package/lib/cjs/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/cjs/types/layouts/LogoOnlyLayout.d.ts +1 -0
- package/lib/cjs/types/layouts/config.d.ts +34 -0
- package/lib/cjs/types/layouts/dashboard/header/AccountPopover.d.ts +1 -0
- package/lib/cjs/types/layouts/dashboard/header/LanguagePopover.d.ts +1 -0
- package/lib/cjs/types/layouts/dashboard/header/NotificationsPopover.d.ts +13 -0
- package/lib/cjs/types/layouts/dashboard/header/Searchbar.d.ts +4 -0
- package/lib/cjs/types/layouts/dashboard/header/index.d.ts +7 -0
- package/lib/cjs/types/layouts/dashboard/index.d.ts +1 -0
- package/lib/cjs/types/layouts/dashboard/navbar/CollapseButton.d.ts +6 -0
- package/lib/cjs/types/layouts/dashboard/navbar/NavbarAccount.d.ts +5 -0
- package/lib/cjs/types/layouts/dashboard/navbar/NavbarVertical.d.ts +8 -0
- package/lib/cjs/types/layouts/dashboard/navbar/UserNavBar.d.ts +4 -0
- package/lib/cjs/types/pages/Page404.d.ts +1 -0
- package/lib/cjs/types/pages/auth/Login.d.ts +6 -0
- package/lib/cjs/types/pages/auth/LoginForm.d.ts +1 -0
- package/lib/cjs/types/pages/index.d.ts +2 -0
- package/lib/cjs/types/permissions/checker.d.ts +2 -0
- package/lib/cjs/types/permissions/index.d.ts +2 -0
- package/lib/cjs/types/permissions/keys.d.ts +6 -0
- package/lib/cjs/types/routes/AdminRouter.d.ts +10 -10
- package/lib/cjs/types/routes/DashBoardRouter.d.ts +11 -8
- package/lib/cjs/types/routes/paths.d.ts +5 -5
- package/lib/cjs/types/sections/dashboard/CreateNewDialog.d.ts +0 -1
- package/lib/cjs/types/theme/breakpoints.d.ts +10 -0
- package/lib/cjs/types/theme/index.d.ts +6 -14
- package/lib/cjs/types/theme/overrides/Accordion.d.ts +34 -0
- package/lib/cjs/types/theme/overrides/Alert.d.ts +97 -0
- package/lib/cjs/types/theme/overrides/Autocomplete.d.ts +18 -0
- package/lib/cjs/types/theme/overrides/Avatar.d.ts +24 -0
- package/lib/cjs/types/theme/overrides/Backdrop.d.ts +13 -0
- package/lib/cjs/types/theme/overrides/Badge.d.ts +12 -0
- package/lib/cjs/types/theme/overrides/Breadcrumbs.d.ts +11 -0
- package/lib/cjs/types/theme/overrides/Button.d.ts +51 -0
- package/lib/cjs/types/theme/overrides/ButtonGroup.d.ts +39 -0
- package/lib/cjs/types/theme/overrides/Card.d.ts +36 -0
- package/lib/cjs/types/theme/overrides/Checkbox.d.ts +32 -0
- package/lib/cjs/types/theme/overrides/Chip.d.ts +40 -0
- package/lib/cjs/types/theme/overrides/ControlLabel.d.ts +833 -0
- package/lib/cjs/types/theme/overrides/CssBaseline.d.ts +42 -0
- package/lib/cjs/types/theme/overrides/CustomIcons.d.ts +14 -0
- package/lib/cjs/types/theme/overrides/DataGrid.d.ts +1710 -0
- package/lib/cjs/types/theme/overrides/Dialog.d.ts +55 -0
- package/lib/cjs/types/theme/overrides/Drawer.d.ts +17 -0
- package/lib/cjs/types/theme/overrides/Fab.d.ts +34 -0
- package/lib/cjs/types/theme/overrides/Input.d.ts +64 -0
- package/lib/cjs/types/theme/overrides/Link.d.ts +8 -0
- package/lib/cjs/types/theme/overrides/List.d.ts +32 -0
- package/lib/cjs/types/theme/overrides/LoadingButton.d.ts +17 -0
- package/lib/cjs/types/theme/overrides/Menu.d.ts +15 -0
- package/lib/cjs/types/theme/overrides/Pagination.d.ts +30 -0
- package/lib/cjs/types/theme/overrides/Paper.d.ts +21 -0
- package/lib/cjs/types/theme/overrides/Popover.d.ts +11 -0
- package/lib/cjs/types/theme/overrides/Progress.d.ts +20 -0
- package/lib/cjs/types/theme/overrides/Radio.d.ts +16 -0
- package/lib/cjs/types/theme/overrides/Rating.d.ts +31 -0
- package/lib/cjs/types/theme/overrides/Select.d.ts +9 -0
- package/lib/cjs/types/theme/overrides/Skeleton.d.ts +13 -0
- package/lib/cjs/types/theme/overrides/Slider.d.ts +23 -0
- package/lib/cjs/types/theme/overrides/Stepper.d.ts +10 -0
- package/lib/cjs/types/theme/overrides/SvgIcon.d.ts +17 -0
- package/lib/cjs/types/theme/overrides/Switch.d.ts +28 -0
- package/lib/cjs/types/theme/overrides/Table.d.ts +70 -0
- package/lib/cjs/types/theme/overrides/Tabs.d.ts +53 -0
- package/lib/cjs/types/theme/overrides/Timeline.d.ts +17 -0
- package/lib/cjs/types/theme/overrides/ToggleButton.d.ts +43 -0
- package/lib/cjs/types/theme/overrides/Tooltip.d.ts +13 -0
- package/lib/cjs/types/theme/overrides/TreeView.d.ts +829 -0
- package/lib/cjs/types/theme/overrides/Typography.d.ts +13 -0
- package/lib/cjs/types/theme/overrides/index.d.ts +1 -1
- package/lib/cjs/types/theme/palette.d.ts +255 -79
- package/lib/cjs/types/theme/shadows.d.ts +67 -2
- package/lib/cjs/types/theme/typography.d.ts +8 -30
- package/lib/cjs/types/utils/AwsConfig.d.ts +1 -1
- package/lib/cjs/types/utils/StorageManager.d.ts +4 -0
- package/lib/cjs/types/utils/UUIDGenerator.d.ts +2 -0
- package/lib/cjs/types/utils/cssStyles.d.ts +78 -0
- package/lib/cjs/types/utils/getColorPresets.d.ts +73 -0
- package/lib/cjs/types/utils/getFontValue.d.ts +24 -0
- package/lib/cjs/types/utils/index.d.ts +1 -0
- package/lib/esm/index.css +18 -38
- package/lib/esm/index.js +13 -13
- package/lib/esm/types/components/Image.d.ts +12 -0
- package/lib/esm/types/components/Logo.d.ts +6 -0
- package/lib/esm/types/components/MotionLazyContainer.d.ts +6 -0
- package/lib/esm/types/components/SearchNotFound.d.ts +6 -0
- package/lib/esm/types/components/hook-form/RHFDatePicker.d.ts +2 -1
- package/lib/esm/types/components/hook-form/RHFTagsField.d.ts +21 -0
- package/lib/esm/types/components/hook-form/RHFUpload.d.ts +15 -2
- package/lib/esm/types/components/hook-form/index.d.ts +2 -0
- package/lib/esm/types/components/index.d.ts +2 -0
- package/lib/esm/types/components/nav-section/horizontal/NavItem.d.ts +4 -0
- package/lib/esm/types/components/nav-section/horizontal/NavList.d.ts +6 -0
- package/lib/esm/types/components/nav-section/horizontal/index.d.ts +5 -1
- package/lib/esm/types/components/nav-section/horizontal/style.d.ts +47 -0
- package/lib/esm/types/components/nav-section/index.d.ts +4 -0
- package/lib/esm/types/components/nav-section/type.d.ts +35 -0
- package/lib/esm/types/components/nav-section/vertical/NavItem.d.ts +13 -0
- package/lib/esm/types/components/nav-section/vertical/NavList.d.ts +7 -0
- package/lib/esm/types/components/nav-section/vertical/index.d.ts +16 -1
- package/lib/esm/types/components/nav-section/vertical/style.d.ts +36 -0
- package/lib/esm/types/components/settings/SettingsContext.d.ts +8 -0
- package/lib/esm/types/components/settings/ThemeColorPresets.d.ts +6 -0
- package/lib/esm/types/components/settings/ThemeContrast.d.ts +6 -0
- package/lib/esm/types/components/settings/ThemeLocalization.d.ts +6 -0
- package/lib/esm/types/components/settings/ThemeRtlLayout.d.ts +6 -0
- package/lib/esm/types/components/settings/config-setting.d.ts +2 -0
- package/lib/esm/types/components/settings/drawer/BoxMask.d.ts +5 -0
- package/lib/esm/types/components/settings/drawer/SettingColorPresets.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingContrast.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingDirection.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingFullscreen.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingLayout.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingMode.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/SettingStretch.d.ts +1 -0
- package/lib/esm/types/components/settings/drawer/ToggleButton.d.ts +7 -0
- package/lib/esm/types/components/settings/drawer/index.d.ts +1 -0
- package/lib/esm/types/components/settings/index.d.ts +6 -0
- package/lib/esm/types/components/settings/presets.d.ts +1941 -0
- package/lib/esm/types/components/settings/type.d.ts +56 -0
- package/lib/esm/types/components/upload/UploadImage.d.ts +2 -0
- package/lib/esm/types/components/upload/UploadSingleFile.d.ts +1 -1
- package/lib/esm/types/components/upload/index.d.ts +1 -0
- package/lib/esm/types/components/upload/type.d.ts +2 -0
- package/lib/esm/types/context/AppConfigurationsContext.d.ts +8 -2
- package/lib/esm/types/context/CollapseDrawerContext.d.ts +15 -0
- package/lib/esm/types/context/SettingsContext.d.ts +8 -0
- package/lib/esm/types/context/auth/AuthContext.d.ts +14 -0
- package/lib/esm/types/context/auth/AuthReducer.d.ts +18 -0
- package/lib/esm/types/context/auth/index.d.ts +2 -0
- package/lib/esm/types/context/auth/types.d.ts +9 -0
- package/lib/esm/types/context/index.d.ts +3 -0
- package/lib/esm/types/hooks/RequetState.d.ts +8 -1
- package/lib/esm/types/hooks/index.d.ts +2 -0
- package/lib/esm/types/hooks/useApi.d.ts +2 -1
- package/lib/esm/types/hooks/useAppConfigurations.d.ts +5 -0
- package/lib/esm/types/hooks/useAuth.d.ts +6 -0
- package/lib/esm/types/hooks/useCollapseDrawer.d.ts +2 -0
- package/lib/esm/types/hooks/useLocalStorage.d.ts +1 -0
- package/lib/esm/types/hooks/useLocales.d.ts +16 -0
- package/lib/esm/types/hooks/useSettings.d.ts +2 -0
- package/lib/esm/types/index.d.ts +5 -1
- package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
- package/lib/esm/types/layouts/LogoOnlyLayout.d.ts +1 -0
- package/lib/esm/types/layouts/config.d.ts +34 -0
- package/lib/esm/types/layouts/dashboard/header/AccountPopover.d.ts +1 -0
- package/lib/esm/types/layouts/dashboard/header/LanguagePopover.d.ts +1 -0
- package/lib/esm/types/layouts/dashboard/header/NotificationsPopover.d.ts +13 -0
- package/lib/esm/types/layouts/dashboard/header/Searchbar.d.ts +4 -0
- package/lib/esm/types/layouts/dashboard/header/index.d.ts +7 -0
- package/lib/esm/types/layouts/dashboard/index.d.ts +1 -0
- package/lib/esm/types/layouts/dashboard/navbar/CollapseButton.d.ts +6 -0
- package/lib/esm/types/layouts/dashboard/navbar/NavbarAccount.d.ts +5 -0
- package/lib/esm/types/layouts/dashboard/navbar/NavbarVertical.d.ts +8 -0
- package/lib/esm/types/layouts/dashboard/navbar/UserNavBar.d.ts +4 -0
- package/lib/esm/types/pages/Page404.d.ts +1 -0
- package/lib/esm/types/pages/auth/Login.d.ts +6 -0
- package/lib/esm/types/pages/auth/LoginForm.d.ts +1 -0
- package/lib/esm/types/pages/index.d.ts +2 -0
- package/lib/esm/types/permissions/checker.d.ts +2 -0
- package/lib/esm/types/permissions/index.d.ts +2 -0
- package/lib/esm/types/permissions/keys.d.ts +6 -0
- package/lib/esm/types/routes/AdminRouter.d.ts +10 -10
- package/lib/esm/types/routes/DashBoardRouter.d.ts +11 -8
- package/lib/esm/types/routes/paths.d.ts +5 -5
- package/lib/esm/types/sections/dashboard/CreateNewDialog.d.ts +0 -1
- package/lib/esm/types/theme/breakpoints.d.ts +10 -0
- package/lib/esm/types/theme/index.d.ts +6 -14
- package/lib/esm/types/theme/overrides/Accordion.d.ts +34 -0
- package/lib/esm/types/theme/overrides/Alert.d.ts +97 -0
- package/lib/esm/types/theme/overrides/Autocomplete.d.ts +18 -0
- package/lib/esm/types/theme/overrides/Avatar.d.ts +24 -0
- package/lib/esm/types/theme/overrides/Backdrop.d.ts +13 -0
- package/lib/esm/types/theme/overrides/Badge.d.ts +12 -0
- package/lib/esm/types/theme/overrides/Breadcrumbs.d.ts +11 -0
- package/lib/esm/types/theme/overrides/Button.d.ts +51 -0
- package/lib/esm/types/theme/overrides/ButtonGroup.d.ts +39 -0
- package/lib/esm/types/theme/overrides/Card.d.ts +36 -0
- package/lib/esm/types/theme/overrides/Checkbox.d.ts +32 -0
- package/lib/esm/types/theme/overrides/Chip.d.ts +40 -0
- package/lib/esm/types/theme/overrides/ControlLabel.d.ts +833 -0
- package/lib/esm/types/theme/overrides/CssBaseline.d.ts +42 -0
- package/lib/esm/types/theme/overrides/CustomIcons.d.ts +14 -0
- package/lib/esm/types/theme/overrides/DataGrid.d.ts +1710 -0
- package/lib/esm/types/theme/overrides/Dialog.d.ts +55 -0
- package/lib/esm/types/theme/overrides/Drawer.d.ts +17 -0
- package/lib/esm/types/theme/overrides/Fab.d.ts +34 -0
- package/lib/esm/types/theme/overrides/Input.d.ts +64 -0
- package/lib/esm/types/theme/overrides/Link.d.ts +8 -0
- package/lib/esm/types/theme/overrides/List.d.ts +32 -0
- package/lib/esm/types/theme/overrides/LoadingButton.d.ts +17 -0
- package/lib/esm/types/theme/overrides/Menu.d.ts +15 -0
- package/lib/esm/types/theme/overrides/Pagination.d.ts +30 -0
- package/lib/esm/types/theme/overrides/Paper.d.ts +21 -0
- package/lib/esm/types/theme/overrides/Popover.d.ts +11 -0
- package/lib/esm/types/theme/overrides/Progress.d.ts +20 -0
- package/lib/esm/types/theme/overrides/Radio.d.ts +16 -0
- package/lib/esm/types/theme/overrides/Rating.d.ts +31 -0
- package/lib/esm/types/theme/overrides/Select.d.ts +9 -0
- package/lib/esm/types/theme/overrides/Skeleton.d.ts +13 -0
- package/lib/esm/types/theme/overrides/Slider.d.ts +23 -0
- package/lib/esm/types/theme/overrides/Stepper.d.ts +10 -0
- package/lib/esm/types/theme/overrides/SvgIcon.d.ts +17 -0
- package/lib/esm/types/theme/overrides/Switch.d.ts +28 -0
- package/lib/esm/types/theme/overrides/Table.d.ts +70 -0
- package/lib/esm/types/theme/overrides/Tabs.d.ts +53 -0
- package/lib/esm/types/theme/overrides/Timeline.d.ts +17 -0
- package/lib/esm/types/theme/overrides/ToggleButton.d.ts +43 -0
- package/lib/esm/types/theme/overrides/Tooltip.d.ts +13 -0
- package/lib/esm/types/theme/overrides/TreeView.d.ts +829 -0
- package/lib/esm/types/theme/overrides/Typography.d.ts +13 -0
- package/lib/esm/types/theme/overrides/index.d.ts +1 -1
- package/lib/esm/types/theme/palette.d.ts +255 -79
- package/lib/esm/types/theme/shadows.d.ts +67 -2
- package/lib/esm/types/theme/typography.d.ts +8 -30
- package/lib/esm/types/utils/AwsConfig.d.ts +1 -1
- package/lib/esm/types/utils/StorageManager.d.ts +4 -0
- package/lib/esm/types/utils/UUIDGenerator.d.ts +2 -0
- package/lib/esm/types/utils/cssStyles.d.ts +78 -0
- package/lib/esm/types/utils/getColorPresets.d.ts +73 -0
- package/lib/esm/types/utils/getFontValue.d.ts +24 -0
- package/lib/esm/types/utils/index.d.ts +1 -0
- package/lib/index.d.ts +594 -42
- package/package.json +91 -89
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Theme } from '@mui/material/styles';
|
|
2
|
-
export
|
|
2
|
+
export default function ComponentsOverrides(theme: Theme): any;
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
import { PresetsColor } from './options/presets';
|
|
2
1
|
export type ColorSchema = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
|
|
2
|
+
interface GradientsPaletteOptions {
|
|
3
|
+
primary: string;
|
|
4
|
+
info: string;
|
|
5
|
+
success: string;
|
|
6
|
+
warning: string;
|
|
7
|
+
error: string;
|
|
8
|
+
}
|
|
9
|
+
interface ChartPaletteOptions {
|
|
10
|
+
violet: string[];
|
|
11
|
+
blue: string[];
|
|
12
|
+
green: string[];
|
|
13
|
+
yellow: string[];
|
|
14
|
+
red: string[];
|
|
15
|
+
}
|
|
3
16
|
declare module '@mui/material/styles/createPalette' {
|
|
4
17
|
interface TypeBackground {
|
|
5
18
|
neutral: string;
|
|
@@ -12,85 +25,248 @@ declare module '@mui/material/styles/createPalette' {
|
|
|
12
25
|
lighter: string;
|
|
13
26
|
darker: string;
|
|
14
27
|
}
|
|
28
|
+
interface Palette {
|
|
29
|
+
gradients: GradientsPaletteOptions;
|
|
30
|
+
chart: ChartPaletteOptions;
|
|
31
|
+
}
|
|
32
|
+
interface PaletteOptions {
|
|
33
|
+
gradients: GradientsPaletteOptions;
|
|
34
|
+
chart: ChartPaletteOptions;
|
|
35
|
+
}
|
|
15
36
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
text: {
|
|
19
|
-
primary: string;
|
|
20
|
-
secondary: string;
|
|
21
|
-
disabled: string;
|
|
22
|
-
};
|
|
23
|
-
background: {
|
|
24
|
-
paper: string;
|
|
25
|
-
default: string;
|
|
26
|
-
neutral: string;
|
|
27
|
-
};
|
|
28
|
-
action: {
|
|
29
|
-
active: string;
|
|
30
|
-
hover: string;
|
|
31
|
-
selected: string;
|
|
32
|
-
disabled: string;
|
|
33
|
-
disabledBackground: string;
|
|
34
|
-
focus: string;
|
|
35
|
-
hoverOpacity: number;
|
|
36
|
-
disabledOpacity: number;
|
|
37
|
-
};
|
|
38
|
-
common: {
|
|
39
|
-
black: string;
|
|
40
|
-
white: string;
|
|
41
|
-
};
|
|
42
|
-
primary: PresetsColor;
|
|
43
|
-
secondary: {
|
|
44
|
-
lighter: string;
|
|
45
|
-
light: string;
|
|
46
|
-
main: string;
|
|
47
|
-
dark: string;
|
|
48
|
-
darker: string;
|
|
49
|
-
contrastText: string;
|
|
50
|
-
};
|
|
51
|
-
info: {
|
|
52
|
-
lighter: string;
|
|
53
|
-
light: string;
|
|
54
|
-
main: string;
|
|
55
|
-
dark: string;
|
|
56
|
-
darker: string;
|
|
57
|
-
contrastText: string;
|
|
58
|
-
};
|
|
59
|
-
success: {
|
|
60
|
-
lighter: string;
|
|
61
|
-
light: string;
|
|
62
|
-
main: string;
|
|
63
|
-
dark: string;
|
|
64
|
-
darker: string;
|
|
65
|
-
contrastText: string;
|
|
66
|
-
};
|
|
67
|
-
warning: {
|
|
68
|
-
lighter: string;
|
|
69
|
-
light: string;
|
|
70
|
-
main: string;
|
|
71
|
-
dark: string;
|
|
72
|
-
darker: string;
|
|
73
|
-
contrastText: string;
|
|
74
|
-
};
|
|
75
|
-
error: {
|
|
76
|
-
lighter: string;
|
|
77
|
-
light: string;
|
|
78
|
-
main: string;
|
|
79
|
-
dark: string;
|
|
80
|
-
darker: string;
|
|
81
|
-
contrastText: string;
|
|
82
|
-
};
|
|
83
|
-
grey: {
|
|
37
|
+
declare module '@mui/material' {
|
|
38
|
+
interface Color {
|
|
84
39
|
0: string;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
40
|
+
5008: string;
|
|
41
|
+
50012: string;
|
|
42
|
+
50016: string;
|
|
43
|
+
50024: string;
|
|
44
|
+
50032: string;
|
|
45
|
+
50048: string;
|
|
46
|
+
50056: string;
|
|
47
|
+
50080: string;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
declare const palette: {
|
|
51
|
+
readonly light: {
|
|
52
|
+
readonly mode: "light";
|
|
53
|
+
readonly text: {
|
|
54
|
+
readonly primary: string;
|
|
55
|
+
readonly secondary: string;
|
|
56
|
+
readonly disabled: string;
|
|
57
|
+
};
|
|
58
|
+
readonly background: {
|
|
59
|
+
readonly paper: "#fff";
|
|
60
|
+
readonly default: "#fff";
|
|
61
|
+
readonly neutral: string;
|
|
62
|
+
};
|
|
63
|
+
readonly action: {
|
|
64
|
+
readonly hover: string;
|
|
65
|
+
readonly selected: string;
|
|
66
|
+
readonly disabled: string;
|
|
67
|
+
readonly disabledBackground: string;
|
|
68
|
+
readonly focus: string;
|
|
69
|
+
readonly hoverOpacity: number;
|
|
70
|
+
readonly disabledOpacity: number;
|
|
71
|
+
readonly active: string;
|
|
72
|
+
};
|
|
73
|
+
readonly common: {
|
|
74
|
+
black: string;
|
|
75
|
+
white: string;
|
|
76
|
+
};
|
|
77
|
+
readonly primary: {
|
|
78
|
+
contrastText: string;
|
|
79
|
+
lighter: string;
|
|
80
|
+
light: string;
|
|
81
|
+
main: string;
|
|
82
|
+
dark: string;
|
|
83
|
+
darker: string;
|
|
84
|
+
};
|
|
85
|
+
readonly secondary: {
|
|
86
|
+
contrastText: string;
|
|
87
|
+
lighter: string;
|
|
88
|
+
light: string;
|
|
89
|
+
main: string;
|
|
90
|
+
dark: string;
|
|
91
|
+
darker: string;
|
|
92
|
+
};
|
|
93
|
+
readonly info: {
|
|
94
|
+
contrastText: string;
|
|
95
|
+
lighter: string;
|
|
96
|
+
light: string;
|
|
97
|
+
main: string;
|
|
98
|
+
dark: string;
|
|
99
|
+
darker: string;
|
|
100
|
+
};
|
|
101
|
+
readonly success: {
|
|
102
|
+
contrastText: string;
|
|
103
|
+
lighter: string;
|
|
104
|
+
light: string;
|
|
105
|
+
main: string;
|
|
106
|
+
dark: string;
|
|
107
|
+
darker: string;
|
|
108
|
+
};
|
|
109
|
+
readonly warning: {
|
|
110
|
+
contrastText: string;
|
|
111
|
+
lighter: string;
|
|
112
|
+
light: string;
|
|
113
|
+
main: string;
|
|
114
|
+
dark: string;
|
|
115
|
+
darker: string;
|
|
116
|
+
};
|
|
117
|
+
readonly error: {
|
|
118
|
+
contrastText: string;
|
|
119
|
+
lighter: string;
|
|
120
|
+
light: string;
|
|
121
|
+
main: string;
|
|
122
|
+
dark: string;
|
|
123
|
+
darker: string;
|
|
124
|
+
};
|
|
125
|
+
readonly grey: {
|
|
126
|
+
0: string;
|
|
127
|
+
100: string;
|
|
128
|
+
200: string;
|
|
129
|
+
300: string;
|
|
130
|
+
400: string;
|
|
131
|
+
500: string;
|
|
132
|
+
600: string;
|
|
133
|
+
700: string;
|
|
134
|
+
800: string;
|
|
135
|
+
900: string;
|
|
136
|
+
5008: string;
|
|
137
|
+
50012: string;
|
|
138
|
+
50016: string;
|
|
139
|
+
50024: string;
|
|
140
|
+
50032: string;
|
|
141
|
+
50048: string;
|
|
142
|
+
50056: string;
|
|
143
|
+
50080: string;
|
|
144
|
+
};
|
|
145
|
+
readonly gradients: {
|
|
146
|
+
primary: string;
|
|
147
|
+
info: string;
|
|
148
|
+
success: string;
|
|
149
|
+
warning: string;
|
|
150
|
+
error: string;
|
|
151
|
+
};
|
|
152
|
+
readonly chart: {
|
|
153
|
+
violet: string[];
|
|
154
|
+
blue: string[];
|
|
155
|
+
green: string[];
|
|
156
|
+
yellow: string[];
|
|
157
|
+
red: string[];
|
|
158
|
+
};
|
|
159
|
+
readonly divider: string;
|
|
160
|
+
};
|
|
161
|
+
readonly dark: {
|
|
162
|
+
readonly mode: "dark";
|
|
163
|
+
readonly text: {
|
|
164
|
+
readonly primary: "#fff";
|
|
165
|
+
readonly secondary: string;
|
|
166
|
+
readonly disabled: string;
|
|
167
|
+
};
|
|
168
|
+
readonly background: {
|
|
169
|
+
readonly paper: string;
|
|
170
|
+
readonly default: string;
|
|
171
|
+
readonly neutral: string;
|
|
172
|
+
};
|
|
173
|
+
readonly action: {
|
|
174
|
+
readonly hover: string;
|
|
175
|
+
readonly selected: string;
|
|
176
|
+
readonly disabled: string;
|
|
177
|
+
readonly disabledBackground: string;
|
|
178
|
+
readonly focus: string;
|
|
179
|
+
readonly hoverOpacity: number;
|
|
180
|
+
readonly disabledOpacity: number;
|
|
181
|
+
readonly active: string;
|
|
182
|
+
};
|
|
183
|
+
readonly common: {
|
|
184
|
+
black: string;
|
|
185
|
+
white: string;
|
|
186
|
+
};
|
|
187
|
+
readonly primary: {
|
|
188
|
+
contrastText: string;
|
|
189
|
+
lighter: string;
|
|
190
|
+
light: string;
|
|
191
|
+
main: string;
|
|
192
|
+
dark: string;
|
|
193
|
+
darker: string;
|
|
194
|
+
};
|
|
195
|
+
readonly secondary: {
|
|
196
|
+
contrastText: string;
|
|
197
|
+
lighter: string;
|
|
198
|
+
light: string;
|
|
199
|
+
main: string;
|
|
200
|
+
dark: string;
|
|
201
|
+
darker: string;
|
|
202
|
+
};
|
|
203
|
+
readonly info: {
|
|
204
|
+
contrastText: string;
|
|
205
|
+
lighter: string;
|
|
206
|
+
light: string;
|
|
207
|
+
main: string;
|
|
208
|
+
dark: string;
|
|
209
|
+
darker: string;
|
|
210
|
+
};
|
|
211
|
+
readonly success: {
|
|
212
|
+
contrastText: string;
|
|
213
|
+
lighter: string;
|
|
214
|
+
light: string;
|
|
215
|
+
main: string;
|
|
216
|
+
dark: string;
|
|
217
|
+
darker: string;
|
|
218
|
+
};
|
|
219
|
+
readonly warning: {
|
|
220
|
+
contrastText: string;
|
|
221
|
+
lighter: string;
|
|
222
|
+
light: string;
|
|
223
|
+
main: string;
|
|
224
|
+
dark: string;
|
|
225
|
+
darker: string;
|
|
226
|
+
};
|
|
227
|
+
readonly error: {
|
|
228
|
+
contrastText: string;
|
|
229
|
+
lighter: string;
|
|
230
|
+
light: string;
|
|
231
|
+
main: string;
|
|
232
|
+
dark: string;
|
|
233
|
+
darker: string;
|
|
234
|
+
};
|
|
235
|
+
readonly grey: {
|
|
236
|
+
0: string;
|
|
237
|
+
100: string;
|
|
238
|
+
200: string;
|
|
239
|
+
300: string;
|
|
240
|
+
400: string;
|
|
241
|
+
500: string;
|
|
242
|
+
600: string;
|
|
243
|
+
700: string;
|
|
244
|
+
800: string;
|
|
245
|
+
900: string;
|
|
246
|
+
5008: string;
|
|
247
|
+
50012: string;
|
|
248
|
+
50016: string;
|
|
249
|
+
50024: string;
|
|
250
|
+
50032: string;
|
|
251
|
+
50048: string;
|
|
252
|
+
50056: string;
|
|
253
|
+
50080: string;
|
|
254
|
+
};
|
|
255
|
+
readonly gradients: {
|
|
256
|
+
primary: string;
|
|
257
|
+
info: string;
|
|
258
|
+
success: string;
|
|
259
|
+
warning: string;
|
|
260
|
+
error: string;
|
|
261
|
+
};
|
|
262
|
+
readonly chart: {
|
|
263
|
+
violet: string[];
|
|
264
|
+
blue: string[];
|
|
265
|
+
green: string[];
|
|
266
|
+
yellow: string[];
|
|
267
|
+
red: string[];
|
|
268
|
+
};
|
|
269
|
+
readonly divider: string;
|
|
94
270
|
};
|
|
95
|
-
divider: string;
|
|
96
271
|
};
|
|
272
|
+
export default palette;
|
|
@@ -1,2 +1,67 @@
|
|
|
1
|
-
import { Shadows } from '@mui/material/styles';
|
|
2
|
-
|
|
1
|
+
import { Shadows } from '@mui/material/styles/shadows';
|
|
2
|
+
interface CustomShadowOptions {
|
|
3
|
+
z1: string;
|
|
4
|
+
z8: string;
|
|
5
|
+
z12: string;
|
|
6
|
+
z16: string;
|
|
7
|
+
z20: string;
|
|
8
|
+
z24: string;
|
|
9
|
+
primary: string;
|
|
10
|
+
secondary: string;
|
|
11
|
+
info: string;
|
|
12
|
+
success: string;
|
|
13
|
+
warning: string;
|
|
14
|
+
error: string;
|
|
15
|
+
card: string;
|
|
16
|
+
dialog: string;
|
|
17
|
+
dropdown: string;
|
|
18
|
+
}
|
|
19
|
+
declare module '@mui/material/styles' {
|
|
20
|
+
interface Theme {
|
|
21
|
+
customShadows: CustomShadowOptions;
|
|
22
|
+
}
|
|
23
|
+
interface ThemeOptions {
|
|
24
|
+
customShadows?: CustomShadowOptions;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export declare const customShadows: {
|
|
28
|
+
light: {
|
|
29
|
+
z1: string;
|
|
30
|
+
z8: string;
|
|
31
|
+
z12: string;
|
|
32
|
+
z16: string;
|
|
33
|
+
z20: string;
|
|
34
|
+
z24: string;
|
|
35
|
+
primary: string;
|
|
36
|
+
info: string;
|
|
37
|
+
secondary: string;
|
|
38
|
+
success: string;
|
|
39
|
+
warning: string;
|
|
40
|
+
error: string;
|
|
41
|
+
card: string;
|
|
42
|
+
dialog: string;
|
|
43
|
+
dropdown: string;
|
|
44
|
+
};
|
|
45
|
+
dark: {
|
|
46
|
+
z1: string;
|
|
47
|
+
z8: string;
|
|
48
|
+
z12: string;
|
|
49
|
+
z16: string;
|
|
50
|
+
z20: string;
|
|
51
|
+
z24: string;
|
|
52
|
+
primary: string;
|
|
53
|
+
info: string;
|
|
54
|
+
secondary: string;
|
|
55
|
+
success: string;
|
|
56
|
+
warning: string;
|
|
57
|
+
error: string;
|
|
58
|
+
card: string;
|
|
59
|
+
dialog: string;
|
|
60
|
+
dropdown: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
declare const shadows: {
|
|
64
|
+
light: Shadows;
|
|
65
|
+
dark: Shadows;
|
|
66
|
+
};
|
|
67
|
+
export default shadows;
|
|
@@ -1,31 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare function pxToRem(value: number): string;
|
|
4
|
-
export declare function responsiveFontSizes({ sm, md, lg }: {
|
|
5
|
-
sm: number;
|
|
6
|
-
md: number;
|
|
7
|
-
lg: number;
|
|
8
|
-
}): {
|
|
9
|
-
'@media (min-width:600px)': {
|
|
10
|
-
fontSize: string;
|
|
11
|
-
};
|
|
12
|
-
'@media (min-width:900px)': {
|
|
13
|
-
fontSize: string;
|
|
14
|
-
};
|
|
15
|
-
'@media (min-width:1200px)': {
|
|
16
|
-
fontSize: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
declare module '@mui/material/styles' {
|
|
20
|
-
interface TypographyVariants {
|
|
21
|
-
fontWeightSemiBold: React.CSSProperties['fontWeight'];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
export declare const typography: {
|
|
25
|
-
readonly fontFamily: "Public Sans, sans-serif";
|
|
1
|
+
declare const typography: {
|
|
2
|
+
readonly fontFamily: "Almarai";
|
|
26
3
|
readonly fontWeightRegular: 400;
|
|
27
|
-
readonly fontWeightMedium:
|
|
28
|
-
readonly fontWeightSemiBold: 600;
|
|
4
|
+
readonly fontWeightMedium: 600;
|
|
29
5
|
readonly fontWeightBold: 700;
|
|
30
6
|
readonly h1: {
|
|
31
7
|
readonly '@media (min-width:600px)': {
|
|
@@ -37,9 +13,10 @@ export declare const typography: {
|
|
|
37
13
|
readonly '@media (min-width:1200px)': {
|
|
38
14
|
fontSize: string;
|
|
39
15
|
};
|
|
40
|
-
readonly fontWeight:
|
|
16
|
+
readonly fontWeight: 700;
|
|
41
17
|
readonly lineHeight: number;
|
|
42
18
|
readonly fontSize: string;
|
|
19
|
+
readonly letterSpacing: 2;
|
|
43
20
|
};
|
|
44
21
|
readonly h2: {
|
|
45
22
|
readonly '@media (min-width:600px)': {
|
|
@@ -51,7 +28,7 @@ export declare const typography: {
|
|
|
51
28
|
readonly '@media (min-width:1200px)': {
|
|
52
29
|
fontSize: string;
|
|
53
30
|
};
|
|
54
|
-
readonly fontWeight:
|
|
31
|
+
readonly fontWeight: 700;
|
|
55
32
|
readonly lineHeight: number;
|
|
56
33
|
readonly fontSize: string;
|
|
57
34
|
};
|
|
@@ -143,6 +120,7 @@ export declare const typography: {
|
|
|
143
120
|
readonly fontWeight: 700;
|
|
144
121
|
readonly lineHeight: number;
|
|
145
122
|
readonly fontSize: string;
|
|
146
|
-
readonly textTransform: "
|
|
123
|
+
readonly textTransform: "capitalize";
|
|
147
124
|
};
|
|
148
125
|
};
|
|
126
|
+
export default typography;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { FileTypes, ImageOptimizingCategories } from '../helpers/Types';
|
|
2
|
-
export declare const uploadFile: (file: any, isImage: boolean, imageOptimizingCategory: ImageOptimizingCategories, callBack
|
|
2
|
+
export declare const uploadFile: (file: any, isImage: boolean, imageOptimizingCategory: ImageOptimizingCategories, callBack?: ((link: string) => void) | undefined) => Promise<unknown>;
|
|
3
3
|
export declare const uploadFiles: (files: File[], fileType: FileTypes) => Promise<string[]>;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
type BackgroundBlurProps = {
|
|
3
|
+
blur?: number;
|
|
4
|
+
opacity?: number;
|
|
5
|
+
color?: string;
|
|
6
|
+
};
|
|
7
|
+
type BackgroundGradientProps = {
|
|
8
|
+
direction?: string;
|
|
9
|
+
startColor?: string;
|
|
10
|
+
endColor?: string;
|
|
11
|
+
};
|
|
12
|
+
interface BackgroundImageProps extends BackgroundGradientProps {
|
|
13
|
+
url?: string;
|
|
14
|
+
}
|
|
15
|
+
type BgBlurProps = {
|
|
16
|
+
blur?: number;
|
|
17
|
+
opacity?: number;
|
|
18
|
+
color?: string;
|
|
19
|
+
imgUrl?: string;
|
|
20
|
+
};
|
|
21
|
+
export declare function bgBlur(props?: BgBlurProps): {
|
|
22
|
+
readonly position: "relative";
|
|
23
|
+
readonly backgroundImage: `url(${string})`;
|
|
24
|
+
readonly '&:before': {
|
|
25
|
+
readonly position: "absolute";
|
|
26
|
+
readonly top: 0;
|
|
27
|
+
readonly left: 0;
|
|
28
|
+
readonly zIndex: 9;
|
|
29
|
+
readonly content: "\"\"";
|
|
30
|
+
readonly width: "100%";
|
|
31
|
+
readonly height: "100%";
|
|
32
|
+
readonly backdropFilter: `blur(${number}px)`;
|
|
33
|
+
readonly WebkitBackdropFilter: `blur(${number}px)`;
|
|
34
|
+
readonly backgroundColor: string;
|
|
35
|
+
};
|
|
36
|
+
backdropFilter?: undefined;
|
|
37
|
+
WebkitBackdropFilter?: undefined;
|
|
38
|
+
backgroundColor?: undefined;
|
|
39
|
+
} | {
|
|
40
|
+
backdropFilter: string;
|
|
41
|
+
WebkitBackdropFilter: string;
|
|
42
|
+
backgroundColor: string;
|
|
43
|
+
readonly position?: undefined;
|
|
44
|
+
readonly backgroundImage?: undefined;
|
|
45
|
+
readonly '&:before'?: undefined;
|
|
46
|
+
};
|
|
47
|
+
type BgGradientProps = {
|
|
48
|
+
direction?: string;
|
|
49
|
+
color?: string;
|
|
50
|
+
startColor?: string;
|
|
51
|
+
endColor?: string;
|
|
52
|
+
imgUrl?: string;
|
|
53
|
+
};
|
|
54
|
+
export declare function bgGradient(props?: BgGradientProps): {
|
|
55
|
+
background: string;
|
|
56
|
+
backgroundSize: string;
|
|
57
|
+
backgroundRepeat: string;
|
|
58
|
+
backgroundPosition: string;
|
|
59
|
+
} | {
|
|
60
|
+
background: string;
|
|
61
|
+
backgroundSize?: undefined;
|
|
62
|
+
backgroundRepeat?: undefined;
|
|
63
|
+
backgroundPosition?: undefined;
|
|
64
|
+
};
|
|
65
|
+
export default function cssStyles(theme?: Theme): {
|
|
66
|
+
bgBlur: (props?: BackgroundBlurProps) => {
|
|
67
|
+
backdropFilter: string;
|
|
68
|
+
WebkitBackdropFilter: string;
|
|
69
|
+
backgroundColor: string;
|
|
70
|
+
};
|
|
71
|
+
bgImage: (props?: BackgroundImageProps) => {
|
|
72
|
+
background: string;
|
|
73
|
+
backgroundSize: string;
|
|
74
|
+
backgroundRepeat: string;
|
|
75
|
+
backgroundPosition: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { ThemeColorPresets } from "../components/settings/type";
|
|
2
|
+
export declare const colorPresets: {
|
|
3
|
+
contrastText: string;
|
|
4
|
+
lighter: string;
|
|
5
|
+
light: string;
|
|
6
|
+
main: string;
|
|
7
|
+
dark: string;
|
|
8
|
+
darker: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}[];
|
|
11
|
+
export declare const defaultPreset: {
|
|
12
|
+
contrastText: string;
|
|
13
|
+
lighter: string;
|
|
14
|
+
light: string;
|
|
15
|
+
main: string;
|
|
16
|
+
dark: string;
|
|
17
|
+
darker: string;
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const purplePreset: {
|
|
21
|
+
contrastText: string;
|
|
22
|
+
lighter: string;
|
|
23
|
+
light: string;
|
|
24
|
+
main: string;
|
|
25
|
+
dark: string;
|
|
26
|
+
darker: string;
|
|
27
|
+
name: string;
|
|
28
|
+
};
|
|
29
|
+
export declare const cyanPreset: {
|
|
30
|
+
contrastText: string;
|
|
31
|
+
lighter: string;
|
|
32
|
+
light: string;
|
|
33
|
+
main: string;
|
|
34
|
+
dark: string;
|
|
35
|
+
darker: string;
|
|
36
|
+
name: string;
|
|
37
|
+
};
|
|
38
|
+
export declare const bluePreset: {
|
|
39
|
+
contrastText: string;
|
|
40
|
+
lighter: string;
|
|
41
|
+
light: string;
|
|
42
|
+
main: string;
|
|
43
|
+
dark: string;
|
|
44
|
+
darker: string;
|
|
45
|
+
name: string;
|
|
46
|
+
};
|
|
47
|
+
export declare const orangePreset: {
|
|
48
|
+
contrastText: string;
|
|
49
|
+
lighter: string;
|
|
50
|
+
light: string;
|
|
51
|
+
main: string;
|
|
52
|
+
dark: string;
|
|
53
|
+
darker: string;
|
|
54
|
+
name: string;
|
|
55
|
+
};
|
|
56
|
+
export declare const redPreset: {
|
|
57
|
+
contrastText: string;
|
|
58
|
+
lighter: string;
|
|
59
|
+
light: string;
|
|
60
|
+
main: string;
|
|
61
|
+
dark: string;
|
|
62
|
+
darker: string;
|
|
63
|
+
name: string;
|
|
64
|
+
};
|
|
65
|
+
export default function getColorPresets(presetsKey: ThemeColorPresets): {
|
|
66
|
+
contrastText: string;
|
|
67
|
+
lighter: string;
|
|
68
|
+
light: string;
|
|
69
|
+
main: string;
|
|
70
|
+
dark: string;
|
|
71
|
+
darker: string;
|
|
72
|
+
name: string;
|
|
73
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Variant } from '@mui/material/styles/createTypography';
|
|
2
|
+
export default function GetFontValue(variant: Variant): {
|
|
3
|
+
fontSize: number;
|
|
4
|
+
lineHeight: number;
|
|
5
|
+
fontWeight: import("csstype").Property.FontWeight | undefined;
|
|
6
|
+
letterSpacing: import("csstype").Property.LetterSpacing<string | number> | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare function remToPx(value: string): number;
|
|
9
|
+
export declare function pxToRem(value: number): string;
|
|
10
|
+
export declare function responsiveFontSizes({ sm, md, lg }: {
|
|
11
|
+
sm: number;
|
|
12
|
+
md: number;
|
|
13
|
+
lg: number;
|
|
14
|
+
}): {
|
|
15
|
+
'@media (min-width:600px)': {
|
|
16
|
+
fontSize: string;
|
|
17
|
+
};
|
|
18
|
+
'@media (min-width:900px)': {
|
|
19
|
+
fontSize: string;
|
|
20
|
+
};
|
|
21
|
+
'@media (min-width:1200px)': {
|
|
22
|
+
fontSize: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './format-number';
|