@mui/system 7.0.0-alpha.0 → 7.0.0-alpha.2
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/Box/Box.d.ts +22 -173
- package/Box/boxClasses.d.ts +3 -3
- package/Box/index.d.ts +4 -5
- package/CHANGELOG.md +92 -0
- package/CSSProperties.d.ts +1 -3
- package/Container/Container.d.ts +2 -2
- package/Container/ContainerProps.d.ts +36 -36
- package/Container/containerClasses.d.ts +17 -17
- package/Container/createContainer.d.ts +10 -10
- package/Container/createContainer.js +1 -0
- package/Container/index.d.ts +4 -5
- package/DefaultPropsProvider/DefaultPropsProvider.d.ts +13 -7
- package/DefaultPropsProvider/index.d.ts +1 -1
- package/GlobalStyles/GlobalStyles.d.ts +11 -7
- package/GlobalStyles/index.d.ts +2 -2
- package/Grid/Grid.d.ts +2 -2
- package/Grid/GridProps.d.ts +89 -91
- package/Grid/createGrid.d.ts +8 -8
- package/Grid/createGrid.js +1 -0
- package/Grid/gridClasses.d.ts +15 -15
- package/Grid/gridGenerator.d.ts +37 -17
- package/Grid/index.d.ts +7 -7
- package/Grid/traverseBreakpoints.d.ts +3 -3
- package/InitColorSchemeScript/InitColorSchemeScript.d.ts +42 -42
- package/InitColorSchemeScript/index.d.ts +2 -2
- package/README.md +2 -2
- package/RtlProvider/index.d.ts +1 -4
- package/Stack/Stack.d.ts +2 -2
- package/Stack/StackProps.d.ts +44 -44
- package/Stack/createStack.d.ts +17 -14
- package/Stack/createStack.js +1 -0
- package/Stack/index.d.ts +5 -5
- package/Stack/stackClasses.d.ts +3 -3
- package/ThemeProvider/ThemeProvider.d.ts +1 -4
- package/ThemeProvider/index.d.ts +2 -2
- package/borders/borders.d.ts +2 -3
- package/borders/index.d.ts +2 -2
- package/breakpoints/breakpoints.d.ts +7 -19
- package/breakpoints/index.d.ts +2 -2
- package/colorManipulator/colorManipulator.d.ts +2 -7
- package/colorManipulator/index.d.ts +1 -1
- package/compose/compose.d.ts +2 -5
- package/compose/index.d.ts +1 -1
- package/createBox/createBox.d.ts +4 -8
- package/createBox/index.d.ts +1 -1
- package/createBreakpoints/createBreakpoints.d.ts +3 -10
- package/createBreakpoints/index.d.ts +1 -1
- package/createStyled/createStyled.d.ts +5 -17
- package/createStyled/index.d.ts +2 -2
- package/createTheme/applyStyles.d.ts +2 -2
- package/createTheme/createSpacing.d.ts +6 -6
- package/createTheme/createTheme.d.ts +11 -18
- package/createTheme/index.d.ts +4 -4
- package/createTheme/shape.d.ts +1 -4
- package/cssContainerQueries/cssContainerQueries.d.ts +9 -9
- package/cssContainerQueries/index.d.ts +3 -3
- package/cssGrid/cssGrid.d.ts +2 -3
- package/cssGrid/index.d.ts +2 -2
- package/cssVars/createCssVarsProvider.d.ts +89 -107
- package/cssVars/createCssVarsTheme.d.ts +12 -9
- package/cssVars/createGetCssVar.d.ts +1 -1
- package/cssVars/cssVarsParser.d.ts +7 -7
- package/cssVars/getColorSchemeSelector.d.ts +1 -1
- package/cssVars/index.d.ts +7 -7
- package/cssVars/prepareCssVars.d.ts +11 -11
- package/cssVars/prepareTypographyVars.d.ts +3 -7
- package/cssVars/useCurrentColorScheme.d.ts +43 -43
- package/display/display.d.ts +2 -3
- package/display/index.d.ts +2 -2
- package/esm/Box/Box.d.ts +72 -0
- package/esm/Box/boxClasses.d.ts +7 -0
- package/esm/Box/index.d.ts +4 -0
- package/esm/CSSProperties.d.ts +7 -0
- package/esm/Container/Container.d.ts +13 -0
- package/esm/Container/ContainerProps.d.ts +40 -0
- package/esm/Container/containerClasses.d.ts +22 -0
- package/esm/Container/createContainer.d.ts +18 -0
- package/esm/Container/createContainer.js +2 -0
- package/esm/Container/index.d.ts +4 -0
- package/esm/DefaultPropsProvider/DefaultPropsProvider.d.ts +18 -0
- package/esm/DefaultPropsProvider/index.d.ts +1 -0
- package/esm/GlobalStyles/GlobalStyles.d.ts +17 -0
- package/esm/GlobalStyles/index.d.ts +2 -0
- package/esm/Grid/Grid.d.ts +13 -0
- package/esm/Grid/GridProps.d.ts +103 -0
- package/esm/Grid/createGrid.d.ts +13 -0
- package/esm/Grid/createGrid.js +2 -0
- package/esm/Grid/gridClasses.d.ts +20 -0
- package/esm/Grid/gridGenerator.d.ts +42 -0
- package/esm/Grid/index.d.ts +7 -0
- package/esm/Grid/traverseBreakpoints.d.ts +7 -0
- package/esm/InitColorSchemeScript/InitColorSchemeScript.d.ts +51 -0
- package/esm/InitColorSchemeScript/index.d.ts +2 -0
- package/esm/RtlProvider/index.d.ts +8 -0
- package/esm/Stack/Stack.d.ts +14 -0
- package/esm/Stack/StackProps.d.ts +53 -0
- package/esm/Stack/createStack.d.ts +24 -0
- package/esm/Stack/createStack.js +2 -0
- package/esm/Stack/index.d.ts +5 -0
- package/esm/Stack/stackClasses.d.ts +8 -0
- package/esm/ThemeProvider/ThemeProvider.d.ts +24 -0
- package/esm/ThemeProvider/index.d.ts +2 -0
- package/esm/borders/borders.d.ts +13 -0
- package/esm/borders/index.d.ts +2 -0
- package/esm/breakpoints/breakpoints.d.ts +19 -0
- package/esm/breakpoints/index.d.ts +2 -0
- package/esm/colorManipulator/colorManipulator.d.ts +25 -0
- package/esm/colorManipulator/index.d.ts +1 -0
- package/esm/compose/compose.d.ts +2 -0
- package/esm/compose/index.d.ts +1 -0
- package/esm/createBox/createBox.d.ts +9 -0
- package/esm/createBox/index.d.ts +1 -0
- package/esm/createBreakpoints/createBreakpoints.d.ts +78 -0
- package/esm/createBreakpoints/index.d.ts +3 -0
- package/esm/createStyled/createStyled.d.ts +27 -0
- package/esm/createStyled/index.d.ts +2 -0
- package/esm/createTheme/applyStyles.d.ts +67 -0
- package/esm/createTheme/createSpacing.d.ts +10 -0
- package/esm/createTheme/createTheme.d.ts +54 -0
- package/esm/createTheme/index.d.ts +4 -0
- package/esm/createTheme/shape.d.ts +6 -0
- package/esm/cssContainerQueries/cssContainerQueries.d.ts +23 -0
- package/esm/cssContainerQueries/index.d.ts +3 -0
- package/esm/cssGrid/cssGrid.d.ts +2 -0
- package/esm/cssGrid/index.d.ts +2 -0
- package/esm/cssVars/createCssVarsProvider.d.ts +129 -0
- package/esm/cssVars/createCssVarsTheme.d.ts +15 -0
- package/esm/cssVars/createGetCssVar.d.ts +5 -0
- package/esm/cssVars/cssVarsParser.d.ts +64 -0
- package/esm/cssVars/getColorSchemeSelector.d.ts +1 -0
- package/esm/cssVars/index.d.ts +7 -0
- package/esm/cssVars/prepareCssVars.d.ts +16 -0
- package/esm/cssVars/prepareTypographyVars.d.ts +4 -0
- package/esm/cssVars/useCurrentColorScheme.d.ts +54 -0
- package/esm/display/display.d.ts +2 -0
- package/esm/display/index.d.ts +2 -0
- package/esm/flexbox/flexbox.d.ts +2 -0
- package/esm/flexbox/index.d.ts +2 -0
- package/esm/getThemeValue/getThemeValue.d.ts +1 -0
- package/esm/getThemeValue/index.d.ts +2 -0
- package/esm/index.d.ts +79 -0
- package/esm/index.js +7 -0
- package/esm/memoTheme.d.ts +12 -0
- package/esm/memoize/index.d.ts +1 -0
- package/esm/memoize/memoize.d.ts +1 -0
- package/esm/merge/index.d.ts +1 -0
- package/esm/merge/merge.d.ts +1 -0
- package/esm/package.json +1 -0
- package/esm/palette/index.d.ts +2 -0
- package/esm/palette/palette.d.ts +4 -0
- package/esm/positions/index.d.ts +2 -0
- package/esm/positions/positions.d.ts +2 -0
- package/esm/preprocessStyles.d.ts +5 -0
- package/esm/propsToClassKey/index.d.ts +1 -0
- package/esm/propsToClassKey/propsToClassKey.d.ts +1 -0
- package/esm/responsivePropType/index.d.ts +1 -0
- package/esm/responsivePropType/responsivePropType.d.ts +2 -0
- package/esm/shadows/index.d.ts +1 -0
- package/esm/shadows/shadows.d.ts +2 -0
- package/esm/sizing/index.d.ts +2 -0
- package/esm/sizing/sizing.d.ts +11 -0
- package/esm/spacing/index.d.ts +2 -0
- package/esm/spacing/spacing.d.ts +18 -0
- package/esm/style/index.d.ts +2 -0
- package/esm/style/style.d.ts +19 -0
- package/esm/styleFunctionSx/AliasesCSSProperties.d.ts +269 -0
- package/esm/styleFunctionSx/OverwriteCSSProperties.d.ts +54 -0
- package/esm/styleFunctionSx/StandardCssProperties.d.ts +2 -0
- package/esm/styleFunctionSx/defaultSxConfig.d.ts +15 -0
- package/esm/styleFunctionSx/extendSxProp.d.ts +4 -0
- package/esm/styleFunctionSx/index.d.ts +9 -0
- package/esm/styleFunctionSx/styleFunctionSx.d.ts +62 -0
- package/esm/styled/index.d.ts +1 -0
- package/esm/styled/styled.d.ts +3 -0
- package/esm/typography/index.d.ts +2 -0
- package/esm/typography/typography.d.ts +11 -0
- package/esm/useMediaQuery/index.d.ts +2 -0
- package/esm/useMediaQuery/useMediaQuery.d.ts +32 -0
- package/esm/useTheme/index.d.ts +2 -0
- package/esm/useTheme/useTheme.d.ts +2 -0
- package/esm/useThemeProps/getThemeProps.d.ts +16 -0
- package/esm/useThemeProps/index.d.ts +3 -0
- package/esm/useThemeProps/useThemeProps.d.ts +14 -0
- package/esm/useThemeWithoutDefault/index.d.ts +1 -0
- package/esm/useThemeWithoutDefault/useThemeWithoutDefault.d.ts +1 -0
- package/esm/version/index.d.ts +6 -0
- package/esm/version/index.js +2 -2
- package/flexbox/flexbox.d.ts +2 -3
- package/flexbox/index.d.ts +2 -2
- package/getThemeValue/getThemeValue.d.ts +1 -1
- package/getThemeValue/index.d.ts +2 -2
- package/index.d.ts +66 -115
- package/index.js +1 -1
- package/memoTheme.d.ts +3 -3
- package/memoize/index.d.ts +1 -1
- package/memoize/memoize.d.ts +1 -3
- package/merge/index.d.ts +1 -1
- package/merge/merge.d.ts +1 -1
- package/modern/Box/Box.d.ts +72 -0
- package/modern/Box/boxClasses.d.ts +7 -0
- package/modern/Box/index.d.ts +4 -0
- package/modern/CSSProperties.d.ts +7 -0
- package/modern/Container/Container.d.ts +13 -0
- package/modern/Container/ContainerProps.d.ts +40 -0
- package/modern/Container/containerClasses.d.ts +22 -0
- package/modern/Container/createContainer.d.ts +18 -0
- package/modern/Container/createContainer.js +2 -0
- package/modern/Container/index.d.ts +4 -0
- package/modern/DefaultPropsProvider/DefaultPropsProvider.d.ts +18 -0
- package/modern/DefaultPropsProvider/index.d.ts +1 -0
- package/modern/GlobalStyles/GlobalStyles.d.ts +17 -0
- package/modern/GlobalStyles/index.d.ts +2 -0
- package/modern/Grid/Grid.d.ts +13 -0
- package/modern/Grid/GridProps.d.ts +103 -0
- package/modern/Grid/createGrid.d.ts +13 -0
- package/modern/Grid/createGrid.js +2 -0
- package/modern/Grid/gridClasses.d.ts +20 -0
- package/modern/Grid/gridGenerator.d.ts +42 -0
- package/modern/Grid/index.d.ts +7 -0
- package/modern/Grid/traverseBreakpoints.d.ts +7 -0
- package/modern/InitColorSchemeScript/InitColorSchemeScript.d.ts +51 -0
- package/modern/InitColorSchemeScript/index.d.ts +2 -0
- package/modern/RtlProvider/index.d.ts +8 -0
- package/modern/Stack/Stack.d.ts +14 -0
- package/modern/Stack/StackProps.d.ts +53 -0
- package/modern/Stack/createStack.d.ts +24 -0
- package/modern/Stack/createStack.js +2 -0
- package/modern/Stack/index.d.ts +5 -0
- package/modern/Stack/stackClasses.d.ts +8 -0
- package/modern/ThemeProvider/ThemeProvider.d.ts +24 -0
- package/modern/ThemeProvider/index.d.ts +2 -0
- package/modern/borders/borders.d.ts +13 -0
- package/modern/borders/index.d.ts +2 -0
- package/modern/breakpoints/breakpoints.d.ts +19 -0
- package/modern/breakpoints/index.d.ts +2 -0
- package/modern/colorManipulator/colorManipulator.d.ts +25 -0
- package/modern/colorManipulator/index.d.ts +1 -0
- package/modern/compose/compose.d.ts +2 -0
- package/modern/compose/index.d.ts +1 -0
- package/modern/createBox/createBox.d.ts +9 -0
- package/modern/createBox/index.d.ts +1 -0
- package/modern/createBreakpoints/createBreakpoints.d.ts +78 -0
- package/modern/createBreakpoints/index.d.ts +3 -0
- package/modern/createStyled/createStyled.d.ts +27 -0
- package/modern/createStyled/index.d.ts +2 -0
- package/modern/createTheme/applyStyles.d.ts +67 -0
- package/modern/createTheme/createSpacing.d.ts +10 -0
- package/modern/createTheme/createTheme.d.ts +54 -0
- package/modern/createTheme/index.d.ts +4 -0
- package/modern/createTheme/shape.d.ts +6 -0
- package/modern/cssContainerQueries/cssContainerQueries.d.ts +23 -0
- package/modern/cssContainerQueries/index.d.ts +3 -0
- package/modern/cssGrid/cssGrid.d.ts +2 -0
- package/modern/cssGrid/index.d.ts +2 -0
- package/modern/cssVars/createCssVarsProvider.d.ts +129 -0
- package/modern/cssVars/createCssVarsTheme.d.ts +15 -0
- package/modern/cssVars/createGetCssVar.d.ts +5 -0
- package/modern/cssVars/cssVarsParser.d.ts +64 -0
- package/modern/cssVars/getColorSchemeSelector.d.ts +1 -0
- package/modern/cssVars/index.d.ts +7 -0
- package/modern/cssVars/prepareCssVars.d.ts +16 -0
- package/modern/cssVars/prepareTypographyVars.d.ts +4 -0
- package/modern/cssVars/useCurrentColorScheme.d.ts +54 -0
- package/modern/display/display.d.ts +2 -0
- package/modern/display/index.d.ts +2 -0
- package/modern/flexbox/flexbox.d.ts +2 -0
- package/modern/flexbox/index.d.ts +2 -0
- package/modern/getThemeValue/getThemeValue.d.ts +1 -0
- package/modern/getThemeValue/index.d.ts +2 -0
- package/modern/index.d.ts +79 -0
- package/modern/index.js +1 -1
- package/modern/memoTheme.d.ts +12 -0
- package/modern/memoize/index.d.ts +1 -0
- package/modern/memoize/memoize.d.ts +1 -0
- package/modern/merge/index.d.ts +1 -0
- package/modern/merge/merge.d.ts +1 -0
- package/modern/package.json +1 -0
- package/modern/palette/index.d.ts +2 -0
- package/modern/palette/palette.d.ts +4 -0
- package/modern/positions/index.d.ts +2 -0
- package/modern/positions/positions.d.ts +2 -0
- package/modern/preprocessStyles.d.ts +5 -0
- package/modern/propsToClassKey/index.d.ts +1 -0
- package/modern/propsToClassKey/propsToClassKey.d.ts +1 -0
- package/modern/responsivePropType/index.d.ts +1 -0
- package/modern/responsivePropType/responsivePropType.d.ts +2 -0
- package/modern/shadows/index.d.ts +1 -0
- package/modern/shadows/shadows.d.ts +2 -0
- package/modern/sizing/index.d.ts +2 -0
- package/modern/sizing/sizing.d.ts +11 -0
- package/modern/spacing/index.d.ts +2 -0
- package/modern/spacing/spacing.d.ts +18 -0
- package/modern/style/index.d.ts +2 -0
- package/modern/style/style.d.ts +19 -0
- package/modern/styleFunctionSx/AliasesCSSProperties.d.ts +269 -0
- package/modern/styleFunctionSx/OverwriteCSSProperties.d.ts +54 -0
- package/modern/styleFunctionSx/StandardCssProperties.d.ts +2 -0
- package/modern/styleFunctionSx/defaultSxConfig.d.ts +15 -0
- package/modern/styleFunctionSx/extendSxProp.d.ts +4 -0
- package/modern/styleFunctionSx/index.d.ts +9 -0
- package/modern/styleFunctionSx/styleFunctionSx.d.ts +62 -0
- package/modern/styled/index.d.ts +1 -0
- package/modern/styled/styled.d.ts +3 -0
- package/modern/typography/index.d.ts +2 -0
- package/modern/typography/typography.d.ts +11 -0
- package/modern/useMediaQuery/index.d.ts +2 -0
- package/modern/useMediaQuery/useMediaQuery.d.ts +32 -0
- package/modern/useTheme/index.d.ts +2 -0
- package/modern/useTheme/useTheme.d.ts +2 -0
- package/modern/useThemeProps/getThemeProps.d.ts +16 -0
- package/modern/useThemeProps/index.d.ts +3 -0
- package/modern/useThemeProps/useThemeProps.d.ts +14 -0
- package/modern/useThemeWithoutDefault/index.d.ts +1 -0
- package/modern/useThemeWithoutDefault/useThemeWithoutDefault.d.ts +1 -0
- package/modern/version/index.d.ts +6 -0
- package/modern/version/index.js +2 -2
- package/package.json +38 -6
- package/palette/index.d.ts +2 -2
- package/palette/palette.d.ts +2 -3
- package/positions/index.d.ts +2 -2
- package/positions/positions.d.ts +2 -3
- package/preprocessStyles.d.ts +4 -4
- package/propsToClassKey/index.d.ts +1 -1
- package/propsToClassKey/propsToClassKey.d.ts +1 -1
- package/responsivePropType/index.d.ts +1 -1
- package/responsivePropType/responsivePropType.d.ts +1 -2
- package/shadows/index.d.ts +1 -1
- package/shadows/shadows.d.ts +2 -3
- package/sizing/index.d.ts +2 -2
- package/sizing/sizing.d.ts +2 -3
- package/spacing/index.d.ts +2 -2
- package/spacing/spacing.d.ts +15 -78
- package/style/index.d.ts +2 -2
- package/style/style.d.ts +8 -16
- package/styleFunctionSx/AliasesCSSProperties.d.ts +268 -268
- package/styleFunctionSx/OverwriteCSSProperties.d.ts +52 -52
- package/styleFunctionSx/StandardCssProperties.d.ts +1 -1
- package/styleFunctionSx/defaultSxConfig.d.ts +3 -8
- package/styleFunctionSx/extendSxProp.d.ts +4 -3
- package/styleFunctionSx/index.d.ts +9 -13
- package/styleFunctionSx/styleFunctionSx.d.ts +14 -41
- package/styled/index.d.ts +1 -1
- package/styled/styled.d.ts +2 -4
- package/tsconfig.build.tsbuildinfo +1 -0
- package/typography/index.d.ts +2 -2
- package/typography/typography.d.ts +2 -3
- package/useMediaQuery/index.d.ts +2 -2
- package/useMediaQuery/useMediaQuery.d.ts +27 -27
- package/useTheme/index.d.ts +2 -2
- package/useTheme/useTheme.d.ts +2 -3
- package/useThemeProps/getThemeProps.d.ts +8 -9
- package/useThemeProps/index.d.ts +3 -4
- package/useThemeProps/useThemeProps.d.ts +6 -12
- package/useThemeWithoutDefault/index.d.ts +1 -1
- package/useThemeWithoutDefault/useThemeWithoutDefault.d.ts +1 -1
- package/version/index.d.ts +1 -1
- package/version/index.js +2 -2
- package/Box/package.json +0 -6
- package/Container/package.json +0 -6
- package/DefaultPropsProvider/package.json +0 -6
- package/GlobalStyles/package.json +0 -6
- package/Grid/package.json +0 -6
- package/InitColorSchemeScript/package.json +0 -6
- package/RtlProvider/package.json +0 -6
- package/Stack/package.json +0 -6
- package/ThemeProvider/package.json +0 -6
- package/borders/package.json +0 -6
- package/breakpoints/package.json +0 -6
- package/colorManipulator/package.json +0 -6
- package/compose/package.json +0 -6
- package/createBox/package.json +0 -6
- package/createBreakpoints/package.json +0 -6
- package/createStyled/package.json +0 -6
- package/createTheme/package.json +0 -6
- package/cssContainerQueries/package.json +0 -6
- package/cssGrid/package.json +0 -6
- package/cssVars/package.json +0 -6
- package/display/package.json +0 -6
- package/flexbox/package.json +0 -6
- package/getThemeValue/package.json +0 -6
- package/memoize/package.json +0 -6
- package/merge/package.json +0 -6
- package/palette/package.json +0 -6
- package/positions/package.json +0 -6
- package/propsToClassKey/package.json +0 -6
- package/responsivePropType/package.json +0 -6
- package/shadows/package.json +0 -6
- package/sizing/package.json +0 -6
- package/spacing/package.json +0 -6
- package/style/package.json +0 -6
- package/styleFunctionSx/package.json +0 -6
- package/styled/package.json +0 -6
- package/typography/package.json +0 -6
- package/useMediaQuery/package.json +0 -6
- package/useTheme/package.json +0 -6
- package/useThemeProps/package.json +0 -6
- package/useThemeWithoutDefault/package.json +0 -6
- package/version/package.json +0 -6
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as CSS from 'csstype';
|
|
2
|
+
import { CSSObject } from '@mui/styled-engine';
|
|
3
|
+
import { StandardCSSProperties } from "./StandardCssProperties.js";
|
|
4
|
+
import { AliasesCSSProperties } from "./AliasesCSSProperties.js";
|
|
5
|
+
import { OverwriteCSSProperties } from "./OverwriteCSSProperties.js";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The `css` function accepts arrays as values for mobile-first responsive styles.
|
|
9
|
+
* Note that this extends to non-theme values also. For example `display=['none', 'block']`
|
|
10
|
+
* will also works.
|
|
11
|
+
*/
|
|
12
|
+
export type ResponsiveStyleValue<T> = T | ReadonlyArray<T | null> | {
|
|
13
|
+
[key: string]: T | null;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Map of all CSS pseudo selectors (`:hover`, `:focus`, ...).
|
|
18
|
+
*/
|
|
19
|
+
export type CSSPseudoSelectorProps<Theme extends object = {}> = { [K in CSS.Pseudos]?: ((theme: Theme) => SystemStyleObject<Theme>) | SystemStyleObject<Theme> };
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Map all nested selectors.
|
|
23
|
+
*/
|
|
24
|
+
export interface CSSSelectorObject<Theme extends object = {}> {
|
|
25
|
+
[cssSelector: string]: ((theme: Theme) => SystemStyleObject<Theme>) | SystemStyleObject<Theme>;
|
|
26
|
+
}
|
|
27
|
+
type CssVariableType = string | number;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Map all nested selectors and CSS variables.
|
|
31
|
+
*/
|
|
32
|
+
export interface CSSSelectorObjectOrCssVariables<Theme extends object = {}> {
|
|
33
|
+
[cssSelectorOrVariable: string]: ((theme: Theme) => SystemStyleObject<Theme> | string | number) | SystemStyleObject<Theme> | CssVariableType;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Map of all available CSS properties (including aliases) and their raw value.
|
|
38
|
+
* Only used internally to map CSS properties to input types (responsive value,
|
|
39
|
+
* theme function or nested) in `SystemCssProperties`.
|
|
40
|
+
*/
|
|
41
|
+
export interface AllSystemCSSProperties extends Omit<StandardCSSProperties, keyof OverwriteCSSProperties>, OverwriteCSSProperties, AliasesCSSProperties {}
|
|
42
|
+
export type SystemCssProperties<Theme extends object = {}> = { [K in keyof AllSystemCSSProperties]: ResponsiveStyleValue<AllSystemCSSProperties[K]> | ((theme: Theme) => ResponsiveStyleValue<AllSystemCSSProperties[K]>) | null };
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The `SystemStyleObject` defines custom properties that will be transformed to
|
|
46
|
+
* their corresponding values from the `Theme`. Other valid CSS properties are also allowed.
|
|
47
|
+
*/
|
|
48
|
+
export type SystemStyleObject<Theme extends object = {}> = SystemCssProperties<Theme> | CSSPseudoSelectorProps<Theme> | CSSSelectorObjectOrCssVariables<Theme> | null;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The `SxProps` can be either object or function
|
|
52
|
+
*/
|
|
53
|
+
export type SxProps<Theme extends object = {}> = SystemStyleObject<Theme> | ((theme: Theme) => SystemStyleObject<Theme>) | ReadonlyArray<boolean | SystemStyleObject<Theme> | ((theme: Theme) => SystemStyleObject<Theme>)>;
|
|
54
|
+
export interface StyleFunctionSx {
|
|
55
|
+
(props: object): CSSObject;
|
|
56
|
+
filterProps?: string[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
60
|
+
export function unstable_createStyleFunctionSx(styleFunctionMapping: Record<string, StyleFunctionSx>): StyleFunctionSx;
|
|
61
|
+
declare const styleFunctionSx: StyleFunctionSx;
|
|
62
|
+
export default styleFunctionSx;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./styled.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PropsFor, SimpleStyleFunction, typography } from "../Box/index.js";
|
|
2
|
+
export const typographyVariant: SimpleStyleFunction<'typography'>;
|
|
3
|
+
export const fontFamily: SimpleStyleFunction<'fontFamily'>;
|
|
4
|
+
export const fontSize: SimpleStyleFunction<'fontSize'>;
|
|
5
|
+
export const fontStyle: SimpleStyleFunction<'fontStyle'>;
|
|
6
|
+
export const fontWeight: SimpleStyleFunction<'fontWeight'>;
|
|
7
|
+
export const letterSpacing: SimpleStyleFunction<'letterSpacing'>;
|
|
8
|
+
export const lineHeight: SimpleStyleFunction<'lineHeight'>;
|
|
9
|
+
export const textAlign: SimpleStyleFunction<'textAlign'>;
|
|
10
|
+
export const textTransform: SimpleStyleFunction<'textTransform'>;
|
|
11
|
+
export type TypographyProps = PropsFor<typeof typography>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface UseMediaQueryOptions {
|
|
2
|
+
/**
|
|
3
|
+
* As `window.matchMedia()` is unavailable on the server,
|
|
4
|
+
* it returns a default matches during the first mount.
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
7
|
+
defaultMatches?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* You can provide your own implementation of matchMedia.
|
|
10
|
+
* This can be used for handling an iframe content window.
|
|
11
|
+
*/
|
|
12
|
+
matchMedia?: typeof window.matchMedia;
|
|
13
|
+
/**
|
|
14
|
+
* To perform the server-side hydration, the hook needs to render twice.
|
|
15
|
+
* A first time with `defaultMatches`, the value of the server, and a second time with the resolved value.
|
|
16
|
+
* This double pass rendering cycle comes with a drawback: it's slower.
|
|
17
|
+
* You can set this option to `true` if you use the returned value **only** client-side.
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
noSsr?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* You can provide your own implementation of `matchMedia`, it's used when rendering server-side.
|
|
23
|
+
*/
|
|
24
|
+
ssrMatchMedia?: (query: string) => {
|
|
25
|
+
matches: boolean;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export declare function unstable_createUseMediaQuery(params?: {
|
|
29
|
+
themeId?: string;
|
|
30
|
+
}): <Theme = unknown>(queryInput: string | ((theme: Theme) => string), options?: UseMediaQueryOptions) => boolean;
|
|
31
|
+
declare const useMediaQuery: <Theme = unknown>(queryInput: string | ((theme: Theme) => string), options?: UseMediaQueryOptions) => boolean;
|
|
32
|
+
export default useMediaQuery;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
interface ThemeWithProps<Components> {
|
|
3
|
+
components?: { [K in keyof Components]: {
|
|
4
|
+
defaultProps?: Partial<Components[K]>;
|
|
5
|
+
} };
|
|
6
|
+
}
|
|
7
|
+
type ThemedProps<Theme, Name extends keyof any> = Theme extends {
|
|
8
|
+
components: Record<Name, {
|
|
9
|
+
defaultProps: infer Props;
|
|
10
|
+
}>;
|
|
11
|
+
} ? Props : {};
|
|
12
|
+
export default function getThemeProps<Theme, Props, Name extends keyof any>(params: {
|
|
13
|
+
props: Props;
|
|
14
|
+
name: Name;
|
|
15
|
+
theme?: Theme;
|
|
16
|
+
}): Props & ThemedProps<Theme, Name>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface ThemeWithProps {
|
|
2
|
+
components?: any;
|
|
3
|
+
}
|
|
4
|
+
export type ThemedProps<Theme, Name extends keyof any> = Theme extends {
|
|
5
|
+
components: Record<Name, {
|
|
6
|
+
defaultProps: infer Props;
|
|
7
|
+
}>;
|
|
8
|
+
} ? Props : {};
|
|
9
|
+
export default function useThemeProps<Theme extends ThemeWithProps, Props, Name extends keyof any>(params: {
|
|
10
|
+
props: Props;
|
|
11
|
+
name: Name;
|
|
12
|
+
defaultTheme?: Theme;
|
|
13
|
+
themeId?: string;
|
|
14
|
+
}): Props & ThemedProps<Theme, Name>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./useThemeWithoutDefault.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useThemeWithoutDefault<T = null>(defaultTheme?: T): T;
|
package/modern/version/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const version = "7.0.0-alpha.
|
|
1
|
+
export const version = "7.0.0-alpha.2";
|
|
2
2
|
export const major = Number("7");
|
|
3
3
|
export const minor = Number("0");
|
|
4
4
|
export const patch = Number("0");
|
|
5
|
-
export const prerelease = "alpha.
|
|
5
|
+
export const prerelease = "alpha.2";
|
|
6
6
|
export default version;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/system",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "MUI System is a set of CSS utilities to help you build custom designs more efficiently. It makes it possible to rapidly lay out custom designs.",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"url": "https://opencollective.com/mui-org"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@babel/runtime": "^7.26.
|
|
29
|
+
"@babel/runtime": "^7.26.9",
|
|
30
30
|
"clsx": "^2.1.1",
|
|
31
31
|
"csstype": "^3.1.3",
|
|
32
32
|
"prop-types": "^15.8.1",
|
|
33
|
-
"@mui/styled-engine": "7.0.0-alpha.
|
|
34
|
-
"@mui/
|
|
35
|
-
"@mui/utils": "7.0.0-alpha.
|
|
36
|
-
"@mui/
|
|
33
|
+
"@mui/styled-engine": "7.0.0-alpha.2",
|
|
34
|
+
"@mui/private-theming": "7.0.0-alpha.2",
|
|
35
|
+
"@mui/utils": "7.0.0-alpha.2",
|
|
36
|
+
"@mui/types": "^7.2.22"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@emotion/react": "^11.5.0",
|
|
@@ -61,5 +61,37 @@
|
|
|
61
61
|
"node": ">=14.0.0"
|
|
62
62
|
},
|
|
63
63
|
"module": "./esm/index.js",
|
|
64
|
+
"exports": {
|
|
65
|
+
".": {
|
|
66
|
+
"require": {
|
|
67
|
+
"types": "./index.d.ts",
|
|
68
|
+
"default": "./index.js"
|
|
69
|
+
},
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./esm/index.d.ts",
|
|
72
|
+
"default": "./esm/index.js"
|
|
73
|
+
},
|
|
74
|
+
"mui-modern": {
|
|
75
|
+
"types": "./modern/index.d.ts",
|
|
76
|
+
"default": "./modern/index.js"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"./*": {
|
|
80
|
+
"require": {
|
|
81
|
+
"types": "./*/index.d.ts",
|
|
82
|
+
"default": "./*/index.js"
|
|
83
|
+
},
|
|
84
|
+
"import": {
|
|
85
|
+
"types": "./esm/*/index.d.ts",
|
|
86
|
+
"default": "./esm/*/index.js"
|
|
87
|
+
},
|
|
88
|
+
"mui-modern": {
|
|
89
|
+
"types": "./modern/*/index.d.ts",
|
|
90
|
+
"default": "./modern/*/index.js"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"./esm": null,
|
|
94
|
+
"./modern": null
|
|
95
|
+
},
|
|
64
96
|
"types": "./index.d.ts"
|
|
65
97
|
}
|
package/palette/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./palette.js";
|
|
2
|
+
export * from "./palette.js";
|
package/palette/palette.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction, palette } from
|
|
2
|
-
|
|
1
|
+
import { PropsFor, SimpleStyleFunction, palette } from "../Box/index.js";
|
|
3
2
|
export const color: SimpleStyleFunction<'color'>;
|
|
4
3
|
export const bgcolor: SimpleStyleFunction<'bgcolor'>;
|
|
5
|
-
export type PaletteProps = PropsFor<typeof palette>;
|
|
4
|
+
export type PaletteProps = PropsFor<typeof palette>;
|
package/positions/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./positions.js";
|
|
2
|
+
export * from "./positions.js";
|
package/positions/positions.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { PropsFor, positions } from
|
|
2
|
-
|
|
3
|
-
export type PositionsProps = PropsFor<typeof positions>;
|
|
1
|
+
import { PropsFor, positions } from "../Box/index.js";
|
|
2
|
+
export type PositionsProps = PropsFor<typeof positions>;
|
package/preprocessStyles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default function preprocessStyles(input: any): {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
2
|
+
variants: any;
|
|
3
|
+
style: any;
|
|
4
|
+
isProcessed: boolean;
|
|
5
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./propsToClassKey.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function propsToClassKey(props: object): string;
|
|
1
|
+
export default function propsToClassKey(props: object): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./responsivePropType.js";
|
package/shadows/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./shadows.js";
|
package/shadows/shadows.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { PropsFor, shadows } from
|
|
2
|
-
|
|
3
|
-
export type ShadowsProps = PropsFor<typeof shadows>;
|
|
1
|
+
import { PropsFor, shadows } from "../Box/index.js";
|
|
2
|
+
export type ShadowsProps = PropsFor<typeof shadows>;
|
package/sizing/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./sizing.js";
|
|
2
|
+
export * from "./sizing.js";
|
package/sizing/sizing.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction, sizing } from
|
|
2
|
-
|
|
1
|
+
import { PropsFor, SimpleStyleFunction, sizing } from "../Box/index.js";
|
|
3
2
|
export const width: SimpleStyleFunction<'width'>;
|
|
4
3
|
export const maxWidth: SimpleStyleFunction<'maxWidth'>;
|
|
5
4
|
export const minWidth: SimpleStyleFunction<'minWidth'>;
|
|
@@ -9,4 +8,4 @@ export const minHeight: SimpleStyleFunction<'minHeight'>;
|
|
|
9
8
|
export const sizeWidth: SimpleStyleFunction<'sizeWidth'>;
|
|
10
9
|
export const sizeHeight: SimpleStyleFunction<'sizeHeight'>;
|
|
11
10
|
export const boxSizing: SimpleStyleFunction<'boxSizing'>;
|
|
12
|
-
export type SizingProps = PropsFor<typeof sizing>;
|
|
11
|
+
export type SizingProps = PropsFor<typeof sizing>;
|
package/spacing/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./spacing.js";
|
|
2
|
+
export * from "./spacing.js";
|
package/spacing/spacing.d.ts
CHANGED
|
@@ -1,81 +1,18 @@
|
|
|
1
|
-
import { SimpleStyleFunction, spacing, PropsFor } from
|
|
2
|
-
|
|
1
|
+
import { SimpleStyleFunction, spacing, PropsFor } from "../Box/index.js";
|
|
3
2
|
export type SpacingValueType = string | number | null | undefined;
|
|
4
3
|
export type SpacingProps = PropsFor<typeof spacing>;
|
|
5
|
-
export function createUnarySpacing<Spacing>(theme: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
themeKey: string,
|
|
17
|
-
defaultValue: Spacing,
|
|
18
|
-
propName: string,
|
|
19
|
-
): Spacing extends number
|
|
20
|
-
? (abs: SpacingValueType) => number | number
|
|
21
|
-
: Spacing extends any[]
|
|
22
|
-
? <Index extends number>(abs: Index | string) => Spacing[Index] | string
|
|
23
|
-
: Spacing extends (...args: unknown[]) => unknown
|
|
24
|
-
? Spacing
|
|
25
|
-
: // warns in Dev
|
|
26
|
-
() => undefined;
|
|
27
|
-
|
|
28
|
-
export const margin: SimpleStyleFunction<
|
|
29
|
-
| 'm'
|
|
30
|
-
| 'mt'
|
|
31
|
-
| 'mr'
|
|
32
|
-
| 'mb'
|
|
33
|
-
| 'ml'
|
|
34
|
-
| 'mx'
|
|
35
|
-
| 'my'
|
|
36
|
-
| 'margin'
|
|
37
|
-
| 'marginTop'
|
|
38
|
-
| 'marginRight'
|
|
39
|
-
| 'marginBottom'
|
|
40
|
-
| 'marginLeft'
|
|
41
|
-
| 'marginX'
|
|
42
|
-
| 'marginY'
|
|
43
|
-
| 'marginInline'
|
|
44
|
-
| 'marginInlineStart'
|
|
45
|
-
| 'marginInlineEnd'
|
|
46
|
-
| 'marginBlock'
|
|
47
|
-
| 'marginBlockStart'
|
|
48
|
-
| 'marginBlockEnd'
|
|
49
|
-
>;
|
|
50
|
-
|
|
4
|
+
export function createUnarySpacing<Spacing>(theme: {
|
|
5
|
+
spacing: Spacing;
|
|
6
|
+
}): Spacing extends number ? (abs: number | string) => number | number : Spacing extends any[] ? <Index extends number>(abs: Index | string) => Spacing[Index] | string : Spacing extends ((...args: unknown[]) => unknown) ? Spacing :
|
|
7
|
+
// warns in Dev
|
|
8
|
+
() => undefined;
|
|
9
|
+
export function createUnaryUnit<Spacing>(theme: {
|
|
10
|
+
spacing: Spacing;
|
|
11
|
+
}, themeKey: string, defaultValue: Spacing, propName: string): Spacing extends number ? (abs: SpacingValueType) => number | number : Spacing extends any[] ? <Index extends number>(abs: Index | string) => Spacing[Index] | string : Spacing extends ((...args: unknown[]) => unknown) ? Spacing :
|
|
12
|
+
// warns in Dev
|
|
13
|
+
() => undefined;
|
|
14
|
+
export const margin: SimpleStyleFunction<'m' | 'mt' | 'mr' | 'mb' | 'ml' | 'mx' | 'my' | 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft' | 'marginX' | 'marginY' | 'marginInline' | 'marginInlineStart' | 'marginInlineEnd' | 'marginBlock' | 'marginBlockStart' | 'marginBlockEnd'>;
|
|
51
15
|
export type MarginProps = PropsFor<typeof margin>;
|
|
52
|
-
|
|
53
|
-
export
|
|
54
|
-
|
|
55
|
-
| 'pt'
|
|
56
|
-
| 'pr'
|
|
57
|
-
| 'pb'
|
|
58
|
-
| 'pl'
|
|
59
|
-
| 'px'
|
|
60
|
-
| 'py'
|
|
61
|
-
| 'padding'
|
|
62
|
-
| 'paddingTop'
|
|
63
|
-
| 'paddingRight'
|
|
64
|
-
| 'paddingBottom'
|
|
65
|
-
| 'paddingLeft'
|
|
66
|
-
| 'paddingX'
|
|
67
|
-
| 'paddingY'
|
|
68
|
-
| 'paddingInline'
|
|
69
|
-
| 'paddingInlineStart'
|
|
70
|
-
| 'paddingInlineEnd'
|
|
71
|
-
| 'paddingBlock'
|
|
72
|
-
| 'paddingBlockStart'
|
|
73
|
-
| 'paddingBlockEnd'
|
|
74
|
-
>;
|
|
75
|
-
|
|
76
|
-
export function getValue(
|
|
77
|
-
transformer: (prop: SpacingValueType) => SpacingValueType,
|
|
78
|
-
propValue: SpacingValueType,
|
|
79
|
-
): SpacingValueType;
|
|
80
|
-
|
|
81
|
-
export type PaddingProps = PropsFor<typeof padding>;
|
|
16
|
+
export const padding: SimpleStyleFunction<'p' | 'pt' | 'pr' | 'pb' | 'pl' | 'px' | 'py' | 'padding' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'paddingX' | 'paddingY' | 'paddingInline' | 'paddingInlineStart' | 'paddingInlineEnd' | 'paddingBlock' | 'paddingBlockStart' | 'paddingBlockEnd'>;
|
|
17
|
+
export function getValue(transformer: (prop: SpacingValueType) => SpacingValueType, propValue: SpacingValueType): SpacingValueType;
|
|
18
|
+
export type PaddingProps = PropsFor<typeof padding>;
|
package/style/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./style.js";
|
|
2
|
+
export * from "./style.js";
|
package/style/style.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { CSSObject } from '@mui/styled-engine';
|
|
2
|
-
import { StyleFunction } from
|
|
3
|
-
|
|
4
|
-
export type TransformFunction = (
|
|
5
|
-
cssValue: unknown,
|
|
6
|
-
userValue: unknown,
|
|
7
|
-
) => number | string | React.CSSProperties | CSSObject;
|
|
8
|
-
|
|
2
|
+
import { StyleFunction } from "../Box/index.js";
|
|
3
|
+
export type TransformFunction = (cssValue: unknown, userValue: unknown) => number | string | React.CSSProperties | CSSObject;
|
|
9
4
|
export interface StyleOptions<PropKey> {
|
|
10
5
|
cssProperty?: PropKey | keyof React.CSSProperties | false;
|
|
11
6
|
prop: PropKey;
|
|
@@ -15,13 +10,10 @@ export interface StyleOptions<PropKey> {
|
|
|
15
10
|
themeKey?: string;
|
|
16
11
|
transform?: TransformFunction;
|
|
17
12
|
}
|
|
18
|
-
export function style<PropKey extends string, Theme extends object>(
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
export function style<PropKey extends string, Theme extends object>(options: StyleOptions<PropKey>): StyleFunction<{ [K in PropKey]?: unknown } & {
|
|
14
|
+
theme?: Theme;
|
|
15
|
+
}> & {
|
|
16
|
+
filterProps: string[];
|
|
17
|
+
};
|
|
21
18
|
export function getPath<T>(obj: T, path: string | undefined, checkVars?: boolean): null | unknown;
|
|
22
|
-
export function getStyleValue(
|
|
23
|
-
themeMapping: object | ((arg: any) => any),
|
|
24
|
-
transform: TransformFunction | null,
|
|
25
|
-
propValueFinal: unknown,
|
|
26
|
-
userValue?: unknown,
|
|
27
|
-
): any;
|
|
19
|
+
export function getStyleValue(themeMapping: object | ((arg: any) => any), transform: TransformFunction | null, propValueFinal: unknown, userValue?: unknown): any;
|