@mui/system 7.0.2 → 7.1.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/Box/Box.d.ts +12 -31
- package/CHANGELOG.md +169 -0
- package/Grid/createGrid.js +1 -2
- package/InitColorSchemeScript/InitColorSchemeScript.js +1 -1
- package/Stack/createStack.js +1 -2
- package/borders/borders.d.ts +2 -1
- package/breakpoints/breakpoints.d.ts +1 -1
- package/compose/compose.d.ts +14 -1
- package/compose/index.d.ts +1 -1
- package/createStyled/createStyled.js +9 -4
- package/createTheme/shape.d.ts +1 -1
- package/cssGrid/cssGrid.d.ts +2 -1
- package/display/display.d.ts +2 -1
- package/esm/Box/Box.d.ts +12 -31
- package/esm/Grid/createGrid.js +1 -2
- package/esm/InitColorSchemeScript/InitColorSchemeScript.js +1 -1
- package/esm/Stack/createStack.js +1 -2
- package/esm/borders/borders.d.ts +2 -1
- package/esm/breakpoints/breakpoints.d.ts +1 -1
- package/esm/compose/compose.d.ts +14 -1
- package/esm/compose/index.d.ts +1 -1
- package/esm/createStyled/createStyled.js +9 -4
- package/esm/createTheme/shape.d.ts +1 -1
- package/esm/cssGrid/cssGrid.d.ts +2 -1
- package/esm/display/display.d.ts +2 -1
- package/esm/flexbox/flexbox.d.ts +15 -1
- package/esm/index.d.ts +10 -0
- package/esm/index.js +1 -1
- package/esm/palette/palette.d.ts +2 -1
- package/esm/positions/positions.d.ts +2 -1
- package/esm/shadows/shadows.d.ts +2 -1
- package/esm/sizing/sizing.d.ts +2 -1
- package/esm/spacing/spacing.d.ts +2 -1
- package/esm/style/style.d.ts +5 -1
- package/esm/styleFunctionSx/defaultSxConfig.d.ts +1 -2
- package/esm/typography/typography.d.ts +2 -1
- package/esm/useMediaQuery/useMediaQuery.js +3 -0
- package/esm/version/index.js +3 -3
- package/flexbox/flexbox.d.ts +15 -1
- package/index.d.ts +10 -0
- package/index.js +1 -1
- package/package.json +7 -7
- package/palette/palette.d.ts +2 -1
- package/positions/positions.d.ts +2 -1
- package/shadows/shadows.d.ts +2 -1
- package/sizing/sizing.d.ts +2 -1
- package/spacing/spacing.d.ts +2 -1
- package/style/style.d.ts +5 -1
- package/styleFunctionSx/defaultSxConfig.d.ts +1 -2
- package/typography/typography.d.ts +2 -1
- package/useMediaQuery/useMediaQuery.js +3 -0
- package/version/index.js +3 -3
- package/modern/Box/Box.d.ts +0 -72
- package/modern/Box/boxClasses.d.ts +0 -7
- package/modern/Box/index.d.ts +0 -4
- package/modern/CSSProperties.d.ts +0 -7
- package/modern/Container/Container.d.ts +0 -13
- package/modern/Container/ContainerProps.d.ts +0 -40
- package/modern/Container/containerClasses.d.ts +0 -22
- package/modern/Container/createContainer.d.ts +0 -18
- package/modern/Container/index.d.ts +0 -4
- package/modern/DefaultPropsProvider/DefaultPropsProvider.d.ts +0 -18
- package/modern/DefaultPropsProvider/index.d.ts +0 -1
- package/modern/GlobalStyles/GlobalStyles.d.ts +0 -17
- package/modern/GlobalStyles/index.d.ts +0 -2
- package/modern/Grid/Grid.d.ts +0 -13
- package/modern/Grid/GridProps.d.ts +0 -103
- package/modern/Grid/createGrid.d.ts +0 -13
- package/modern/Grid/deleteLegacyGridProps.d.ts +0 -11
- package/modern/Grid/gridClasses.d.ts +0 -20
- package/modern/Grid/gridGenerator.d.ts +0 -42
- package/modern/Grid/index.d.ts +0 -7
- package/modern/Grid/traverseBreakpoints.d.ts +0 -7
- package/modern/InitColorSchemeScript/InitColorSchemeScript.d.ts +0 -51
- package/modern/InitColorSchemeScript/index.d.ts +0 -2
- package/modern/RtlProvider/index.d.ts +0 -8
- package/modern/Stack/Stack.d.ts +0 -14
- package/modern/Stack/StackProps.d.ts +0 -53
- package/modern/Stack/createStack.d.ts +0 -24
- package/modern/Stack/index.d.ts +0 -5
- package/modern/Stack/stackClasses.d.ts +0 -8
- package/modern/ThemeProvider/ThemeProvider.d.ts +0 -24
- package/modern/ThemeProvider/index.d.ts +0 -2
- package/modern/borders/borders.d.ts +0 -14
- package/modern/borders/index.d.ts +0 -2
- package/modern/breakpoints/breakpoints.d.ts +0 -19
- package/modern/breakpoints/index.d.ts +0 -2
- package/modern/colorManipulator/colorManipulator.d.ts +0 -25
- package/modern/colorManipulator/index.d.ts +0 -1
- package/modern/compose/compose.d.ts +0 -2
- package/modern/compose/index.d.ts +0 -1
- package/modern/createBox/createBox.d.ts +0 -9
- package/modern/createBox/index.d.ts +0 -1
- package/modern/createBreakpoints/createBreakpoints.d.ts +0 -78
- package/modern/createBreakpoints/index.d.ts +0 -3
- package/modern/createStyled/createStyled.d.ts +0 -27
- package/modern/createStyled/index.d.ts +0 -2
- package/modern/createTheme/applyStyles.d.ts +0 -67
- package/modern/createTheme/createSpacing.d.ts +0 -10
- package/modern/createTheme/createTheme.d.ts +0 -54
- package/modern/createTheme/index.d.ts +0 -4
- package/modern/createTheme/shape.d.ts +0 -6
- package/modern/cssContainerQueries/cssContainerQueries.d.ts +0 -23
- package/modern/cssContainerQueries/index.d.ts +0 -3
- package/modern/cssGrid/cssGrid.d.ts +0 -15
- package/modern/cssGrid/index.d.ts +0 -2
- package/modern/cssVars/createCssVarsProvider.d.ts +0 -141
- package/modern/cssVars/createCssVarsTheme.d.ts +0 -15
- package/modern/cssVars/createGetCssVar.d.ts +0 -5
- package/modern/cssVars/cssVarsParser.d.ts +0 -64
- package/modern/cssVars/getColorSchemeSelector.d.ts +0 -1
- package/modern/cssVars/index.d.ts +0 -8
- package/modern/cssVars/localStorageManager.d.ts +0 -34
- package/modern/cssVars/prepareCssVars.d.ts +0 -16
- package/modern/cssVars/prepareTypographyVars.d.ts +0 -4
- package/modern/cssVars/useCurrentColorScheme.d.ts +0 -56
- package/modern/display/display.d.ts +0 -3
- package/modern/display/index.d.ts +0 -2
- package/modern/flexbox/flexbox.d.ts +0 -3
- package/modern/flexbox/index.d.ts +0 -2
- package/modern/getThemeValue/getThemeValue.d.ts +0 -1
- package/modern/getThemeValue/index.d.ts +0 -2
- package/modern/index.d.ts +0 -80
- package/modern/memoTheme.d.ts +0 -12
- package/modern/memoize/index.d.ts +0 -1
- package/modern/memoize/memoize.d.ts +0 -1
- package/modern/merge/index.d.ts +0 -1
- package/modern/merge/merge.d.ts +0 -1
- package/modern/palette/index.d.ts +0 -2
- package/modern/palette/palette.d.ts +0 -5
- package/modern/positions/index.d.ts +0 -2
- package/modern/positions/positions.d.ts +0 -3
- package/modern/preprocessStyles.d.ts +0 -5
- package/modern/propsToClassKey/index.d.ts +0 -1
- package/modern/propsToClassKey/propsToClassKey.d.ts +0 -1
- package/modern/responsivePropType/index.d.ts +0 -1
- package/modern/responsivePropType/responsivePropType.d.ts +0 -2
- package/modern/shadows/index.d.ts +0 -1
- package/modern/shadows/shadows.d.ts +0 -3
- package/modern/sizing/index.d.ts +0 -2
- package/modern/sizing/sizing.d.ts +0 -12
- package/modern/spacing/index.d.ts +0 -2
- package/modern/spacing/spacing.d.ts +0 -19
- package/modern/style/index.d.ts +0 -2
- package/modern/style/style.d.ts +0 -19
- package/modern/styleFunctionSx/AliasesCSSProperties.d.ts +0 -269
- package/modern/styleFunctionSx/OverwriteCSSProperties.d.ts +0 -54
- package/modern/styleFunctionSx/StandardCssProperties.d.ts +0 -2
- package/modern/styleFunctionSx/defaultSxConfig.d.ts +0 -15
- package/modern/styleFunctionSx/extendSxProp.d.ts +0 -4
- package/modern/styleFunctionSx/index.d.ts +0 -9
- package/modern/styleFunctionSx/styleFunctionSx.d.ts +0 -62
- package/modern/styled/index.d.ts +0 -1
- package/modern/styled/styled.d.ts +0 -3
- package/modern/typography/index.d.ts +0 -2
- package/modern/typography/typography.d.ts +0 -12
- package/modern/useMediaQuery/index.d.ts +0 -2
- package/modern/useMediaQuery/useMediaQuery.d.ts +0 -32
- package/modern/useTheme/index.d.ts +0 -2
- package/modern/useTheme/useTheme.d.ts +0 -2
- package/modern/useThemeProps/getThemeProps.d.ts +0 -11
- package/modern/useThemeProps/index.d.ts +0 -3
- package/modern/useThemeProps/useThemeProps.d.ts +0 -14
- package/modern/useThemeWithoutDefault/index.d.ts +0 -1
- package/modern/useThemeWithoutDefault/useThemeWithoutDefault.d.ts +0 -1
- package/modern/version/index.d.ts +0 -6
package/Box/Box.d.ts
CHANGED
|
@@ -2,37 +2,18 @@ import * as React from 'react';
|
|
|
2
2
|
import { OverridableComponent, OverrideProps } from '@mui/types';
|
|
3
3
|
import { Theme as SystemTheme } from "../createTheme/index.js";
|
|
4
4
|
import { SxProps, AllSystemCSSProperties, ResponsiveStyleValue, OverwriteCSSProperties, AliasesCSSProperties } from "../styleFunctionSx/index.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export declare const positions: SimpleStyleFunction<'zIndex' | 'position' | 'top' | 'right' | 'bottom' | 'left'>;
|
|
18
|
-
export declare const shadows: SimpleStyleFunction<'boxShadow'>;
|
|
19
|
-
export declare const sizing: SimpleStyleFunction<'width' | 'maxWidth' | 'minWidth' | 'height' | 'maxHeight' | 'minHeight' | 'sizeWidth' | 'sizeHeight' | 'boxSizing'>;
|
|
20
|
-
export declare const spacing: SimpleStyleFunction<'m' | 'mt' | 'mr' | 'mb' | 'ml' | 'mx' | 'my' | 'p' | 'pt' | 'pr' | 'pb' | 'pl' | 'px' | 'py' | 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft' | 'marginX' | 'marginY' | 'marginInline' | 'marginInlineStart' | 'marginInlineEnd' | 'marginBlock' | 'marginBlockStart' | 'marginBlockEnd' | 'padding' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'paddingX' | 'paddingY' | 'paddingInline' | 'paddingInlineStart' | 'paddingInlineEnd' | 'paddingBlock' | 'paddingBlockStart' | 'paddingBlockEnd'>;
|
|
21
|
-
export declare const typography: SimpleStyleFunction<'typography' | 'fontFamily' | 'fontSize' | 'fontStyle' | 'fontWeight' | 'letterSpacing' | 'lineHeight' | 'textAlign' | 'textTransform'>;
|
|
22
|
-
|
|
23
|
-
// compose.js
|
|
24
|
-
/**
|
|
25
|
-
* given a list of StyleFunction return the intersection of the props each individual
|
|
26
|
-
* StyleFunction requires.
|
|
27
|
-
*
|
|
28
|
-
* If `firstFn` requires { color: string } and `secondFn` requires { spacing: number }
|
|
29
|
-
* their composed function requires { color: string, spacing: number }
|
|
30
|
-
*/
|
|
31
|
-
type ComposedArg<T> = T extends Array<(arg: infer P) => any> ? P : never;
|
|
32
|
-
type ComposedOwnerState<T> = ComposedArg<T>;
|
|
33
|
-
export type ComposedStyleFunction<T extends Array<StyleFunction<any>>> = StyleFunction<ComposedOwnerState<T>> & {
|
|
34
|
-
filterProps: string[];
|
|
35
|
-
};
|
|
5
|
+
import { PropsFor } from "../style/index.js";
|
|
6
|
+
import { ComposedStyleFunction } from "../compose/index.js";
|
|
7
|
+
import borders from "../borders/index.js";
|
|
8
|
+
import display from "../display/index.js";
|
|
9
|
+
import flexbox from "../flexbox/index.js";
|
|
10
|
+
import grid from "../cssGrid/index.js";
|
|
11
|
+
import palette from "../palette/index.js";
|
|
12
|
+
import positions from "../positions/index.js";
|
|
13
|
+
import shadows from "../shadows/index.js";
|
|
14
|
+
import sizing from "../sizing/index.js";
|
|
15
|
+
import spacing from "../spacing/index.js";
|
|
16
|
+
import typography from "../typography/index.js";
|
|
36
17
|
export interface CustomSystemProps extends AliasesCSSProperties, OverwriteCSSProperties {}
|
|
37
18
|
export type SimpleSystemKeys = keyof PropsFor<ComposedStyleFunction<[typeof borders, typeof display, typeof flexbox, typeof grid, typeof palette, typeof positions, typeof shadows, typeof sizing, typeof spacing, typeof typography]>>;
|
|
38
19
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,174 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 7.1.1
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v7.1.0..master -->
|
|
6
|
+
|
|
7
|
+
_May 30, 2025_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 15 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@7.1.1`
|
|
12
|
+
|
|
13
|
+
- [Autocomplete] Fix label shrink issue when `renderValue` is used with empty array in multiple mode (#46047) @ZeeshanTamboli
|
|
14
|
+
- [Autocomplete] Prevent `renderValue` from being skipped when value is 0 (#46145) @LakshitAgarwal
|
|
15
|
+
- [Autocomplete] Add note in JSDoc for non-TextField components in `renderInput` (#46141) @khllbnomrn
|
|
16
|
+
- [Chip] Add slots and slotProps (#46098) @sai6855
|
|
17
|
+
- [Menu] Remove depreacted `MenuListProps` from demos (#46144) @sai6855
|
|
18
|
+
- [TablePaginationActions] Export TablePaginationActions as new component (#46149) @sai6855
|
|
19
|
+
- [SnackbarContent] Fix `square` prop not working (#46196) @0210shivam
|
|
20
|
+
- [SnackbarContent] Fix error when theme value is CSS variable (#46198) @0210shivam
|
|
21
|
+
|
|
22
|
+
### `@mui/codemod@7.1.1`
|
|
23
|
+
|
|
24
|
+
- Add package name option (#45977) @siriwatknp
|
|
25
|
+
|
|
26
|
+
### `@mui/system@7.1.1`
|
|
27
|
+
|
|
28
|
+
- Skip styled component from being transformed (#46129) @siriwatknp
|
|
29
|
+
- Update the type for borderRadius (#46154) @codiini
|
|
30
|
+
|
|
31
|
+
### `@mui/styled-engine@7.1.1`
|
|
32
|
+
|
|
33
|
+
- Fix variant props callback type to spread `ownerState` (#46187) @siriwatknp
|
|
34
|
+
|
|
35
|
+
### `@mui/stylis-plugin-rtl@7.1.1`
|
|
36
|
+
|
|
37
|
+
- Fix RTL does not work with CSS layer with a new package (#46230) @siriwatknp
|
|
38
|
+
|
|
39
|
+
### Docs
|
|
40
|
+
|
|
41
|
+
- [Dialog] Remove deprecated TransitionComponent from demo (#46185) @sai6855
|
|
42
|
+
- [Grid] Remove direction `column` and `column-reverse` from the demo (#46127) @0210shivam
|
|
43
|
+
- [Grid] Update grid migration guide (#46057) @sai6855
|
|
44
|
+
- [templates] Fix rendering of logos in dark mode (#46221) @sai6855
|
|
45
|
+
- [ToggleButtonGroup] Add spacing demo (#46058) @sai6855
|
|
46
|
+
- Fix typo in dark mode docs (#46229) @ZeeshanTamboli
|
|
47
|
+
- Clarify Next.js + Tailwind CSS v3 integration requirements (#46176) @chaitanyasharma1011
|
|
48
|
+
- Fix GridLegacy docs order (#46135) @oliviertassinari
|
|
49
|
+
- Update upgrade guide for resolution of `react-is` (#46002) @siriwatknp
|
|
50
|
+
- Remove oudated scaffoldhub ad (#46090) @oliviertassinari
|
|
51
|
+
- Show how to target global state classes with CSS Modules (#45992) @RubemMazzetto
|
|
52
|
+
|
|
53
|
+
### Core
|
|
54
|
+
|
|
55
|
+
- [code-infra] Add plugin to check for index file access (#46178) @Janpot
|
|
56
|
+
- [code-infra] Bump eslint to v9 (#46222) @brijeshb42
|
|
57
|
+
- [code-infra] Move packages to mui/mui-public (#46155) @Janpot
|
|
58
|
+
- [code-infra] Move `chai` to peerDep (#46227) @JCQuintas
|
|
59
|
+
- [code-infra] Avoid loading barrel file during type checking (#46177) @Janpot
|
|
60
|
+
- [code-infra] Remove unnecessary ref from `HighlightedCode` component (#46151) @ZeeshanTamboli
|
|
61
|
+
- [code-infra] Import mocha type instead of global (#46108) @JCQuintas
|
|
62
|
+
- [code-infra] Dependabot also create branches (795a481) @oliviertassinari
|
|
63
|
+
- [code-infra] Avoid running continuous release on forks (#46103) @Janpot
|
|
64
|
+
- [code-infra] Remove checkout job altogether (#46100) @Janpot
|
|
65
|
+
- [code-infra] Remove required checkout workflows in circleci (#46099) @Janpot
|
|
66
|
+
- Run pnpm docs:sync-team (c8f1da5) @oliviertassinari
|
|
67
|
+
- Upgrade MUI X packages to v8 (#45990) @KenanYusuf
|
|
68
|
+
- Minor detail to reduce confusion (4c64b72) @oliviertassinari
|
|
69
|
+
- Update security.md (#45839) @DiegoAndai
|
|
70
|
+
- Apply yml convention, blank line only at top level (f273220) @oliviertassinari
|
|
71
|
+
- Add comment that lab should be in alpha (#45999) @oliviertassinari
|
|
72
|
+
|
|
73
|
+
All contributors of this release in alphabetical order: @0210shivam, @brijeshb42, @chaitanyasharma1011, @codiini, @DiegoAndai, @Janpot, @JCQuintas, @KenanYusuf, @khllbnomrn, @LakshitAgarwal, @oliviertassinari, @RubemMazzetto, @sai6855, @siriwatknp, @ZeeshanTamboli
|
|
74
|
+
|
|
75
|
+
## 7.1.0
|
|
76
|
+
|
|
77
|
+
<!-- generated comparing v7.0.2..master -->
|
|
78
|
+
|
|
79
|
+
_May 6, 2025_
|
|
80
|
+
|
|
81
|
+
A big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
|
|
82
|
+
|
|
83
|
+
- 🎉 Material UI now works with **Tailwind CSS v4**! Check out the [setup guide](https://mui.com/material-ui/integrations/tailwindcss/tailwindcss-v4/).
|
|
84
|
+
|
|
85
|
+
### `@mui/material@7.1.0`
|
|
86
|
+
|
|
87
|
+
- [InputBase] Text cursor jumps several lines up when inserting text fragment with new line at the end (#45246) @yermartee
|
|
88
|
+
- [OutlinedInput] Add missing `notchedOutline` slot (#45917) @siriwatknp
|
|
89
|
+
- [Snackbar] Skip default `onClickAway` behavior when `defaultMuiPrevented` is provided (#45629) @sai6855
|
|
90
|
+
- [Avatar] Fix img slot types and add missing slots (#45483) @siriwatknp
|
|
91
|
+
- [Badge] Replace useSlotProps with useSlot hook (#45871) @sai6855
|
|
92
|
+
- [BottomNavigationAction] Add slots and slotProps (#45776) @sai6855
|
|
93
|
+
- [CardActionArea] Add slots and slotProps (#45866) @sai6855
|
|
94
|
+
- [useMediaQuery] Add warning and docs for using `useMediaQuery('print')` (#44790) @good-jinu
|
|
95
|
+
- Remove unnecessary clsx usages (#46084) @sai6855
|
|
96
|
+
- Corrected generic type definition in `SelectChangeEvent` (#45941) @SuyashShukla0007
|
|
97
|
+
- Fix theme object changes between renders (#45863) @siriwatknp
|
|
98
|
+
|
|
99
|
+
### `@mui/material-nextjs@7.1.0`
|
|
100
|
+
|
|
101
|
+
- Add option to enable CSS layers for pages router (#45596) @siriwatknp
|
|
102
|
+
- Do not wrap `@layer` order rules in App Router (#45864) @Nayeem-XTREME
|
|
103
|
+
|
|
104
|
+
### `@mui/system@7.1.0`
|
|
105
|
+
|
|
106
|
+
- Fix `@mui/system` types organization (#45860) @Janpot
|
|
107
|
+
|
|
108
|
+
### `@mui/styled-engine@7.1.0`
|
|
109
|
+
|
|
110
|
+
- Infer `ownerState` from props in `styled` (#46083) @siriwatknp
|
|
111
|
+
- Fix style overrides variants type (#45478) @siriwatknp
|
|
112
|
+
|
|
113
|
+
### Docs
|
|
114
|
+
|
|
115
|
+
- [Avatar] Add avatar upload demo (#45986) @Demianeen
|
|
116
|
+
- [Dialog] Remove deprecated props usage in demos (#45923) @sai6855
|
|
117
|
+
- [Menu] Update `paper` slot JSDoc default from `Paper` to `PopoverPaper` (#45722) @andreachiera
|
|
118
|
+
- [examples] Remove create-react-app usages (#45426) @CodeLeom
|
|
119
|
+
- Add `AccordionSummary` to the v5 breaking change migration (#45947) @siriwatknp
|
|
120
|
+
- Update CSS variable usage in migration guide for Pigment CSS (#46033) @sai6855
|
|
121
|
+
- Fix docs API dark mode color (#46086) @alexfauquette
|
|
122
|
+
- Add a guide for extending Material UI classes in Tailwind CSS (#46039) @siriwatknp
|
|
123
|
+
- Add `InitColorSchemeScript` docs and API (#45927) @siriwatknp
|
|
124
|
+
- Add Tailwind CSS v4 integration guide (#45906) @siriwatknp
|
|
125
|
+
- Fix 301 links to the system v6 (#45931) @oliviertassinari
|
|
126
|
+
- Add notification for MUI X v8 announcement (#45942) @joserodolfofreitas
|
|
127
|
+
- Fix som 301 redirections (ae84b35) @oliviertassinari
|
|
128
|
+
- Fix some 301 redirections (057384e) @oliviertassinari
|
|
129
|
+
- Fix logo is not centered on small screens (#45920) @crabsim
|
|
130
|
+
- Fix line break typo (a2a62d5) @oliviertassinari
|
|
131
|
+
- Fix markdown typo in templates.md (#45914) @scyzoryck
|
|
132
|
+
- Add Next.js App Router guide for custom classnames (#45852) @siriwatknp
|
|
133
|
+
|
|
134
|
+
### Core
|
|
135
|
+
|
|
136
|
+
- [code-infra] Give a stable name to dev tool app (3889ded) @oliviertassinari
|
|
137
|
+
- [code-infra] Normalize author package in org (8135638) @oliviertassinari
|
|
138
|
+
- [code-infra] Correct some manually curated .d.ts files (#46054) @Janpot
|
|
139
|
+
- [code-infra] Align deps versions (#46048) @Janpot
|
|
140
|
+
- [code-infra] Fix dynamic import in imports resolver (#46046) @Janpot
|
|
141
|
+
- [code-infra] Eliminate `@mui/utils` deep imports (#46004) @Janpot
|
|
142
|
+
- [code-infra] Expand renovate.json for react types (#45935) @Janpot
|
|
143
|
+
- [code-infra] Make Argos upload script reusable (#45883) @Janpot
|
|
144
|
+
- [code-infra] Disallow redundant window prefixes for globals (#45880) @Janpot
|
|
145
|
+
- [code-infra] Remove type generation of modern build (#45912) @Janpot
|
|
146
|
+
- [code-infra] Clean up bundle size checker (#45622) @Janpot
|
|
147
|
+
- [code-infra] Fix `StrictMode` effects not being called twice in React 19 tests (#45812) @bernardobelchior
|
|
148
|
+
- [code-infra] Convert `@mui/utils` to typescript (#45671) @Janpot
|
|
149
|
+
- [docs-infra] Improve export into sandbox package.json (#46044) @oliviertassinari
|
|
150
|
+
- [docs-infra] Update feedback Node.js to v22 (#46064) @oliviertassinari
|
|
151
|
+
- [docs-infra] Normalize netlify.toml in org (b101d5c) @oliviertassinari
|
|
152
|
+
- [docs-infra] Uniformize Vale between repositories (0f79796) @oliviertassinari
|
|
153
|
+
- [docs-infra] Fix Vale no longer working (#46029) @oliviertassinari
|
|
154
|
+
- [docs-infra] Remove demo styling switch (#45926) @Janpot
|
|
155
|
+
- [docs-infra] StackBlitz WebContainer demos (#45924) @Janpot
|
|
156
|
+
- [docs-infra] Fix feedback management (#45872) @alexfauquette
|
|
157
|
+
- [test] Replace `playwright` with `@playwright/test` (#45998) @ZeeshanTamboli
|
|
158
|
+
- Fix internal version duplication (#46051) @oliviertassinari
|
|
159
|
+
- Avoid the need for `@mui/material/themeCssVarsAugmentation` (#46053) @Janpot
|
|
160
|
+
- Add security label to dependabot PRs (0a5c027) @oliviertassinari
|
|
161
|
+
- Remove unecessary versions (#46034) @oliviertassinari
|
|
162
|
+
- Remove redundant overrides resolver (#45970) @romgrk
|
|
163
|
+
- Fix duplicate branch reference (#45915) @oliviertassinari
|
|
164
|
+
- Fix outdated <link rel="shortcut icon" (#45916) @oliviertassinari
|
|
165
|
+
- Fix redirection chains (#45930) @oliviertassinari
|
|
166
|
+
- Run pnpm docs:sync-team (beee09f) @oliviertassinari
|
|
167
|
+
- Add `pkg.pr.new` publishing (#42984) @Aslemammad
|
|
168
|
+
- Remove @mui/base from the master branch (#45857) @mnajdova
|
|
169
|
+
|
|
170
|
+
All contributors of this release in alphabetical order: @alexfauquette, @andreachiera, @Aslemammad, @bernardobelchior, @CodeLeom, @crabsim, @Demianeen, @good-jinu, @Janpot, @joserodolfofreitas, @mnajdova, @Nayeem-XTREME, @oliviertassinari, @renovate[bot], @romgrk, @sai6855, @scyzoryck, @siriwatknp, @SuyashShukla0007, @yermartee, @ZeeshanTamboli
|
|
171
|
+
|
|
3
172
|
## 7.0.2
|
|
4
173
|
|
|
5
174
|
_Apr 9, 2025_
|
package/Grid/createGrid.js
CHANGED
|
@@ -26,8 +26,7 @@ const defaultTheme = (0, _createTheme.default)();
|
|
|
26
26
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
27
27
|
const defaultCreateStyledComponent = (0, _styled.default)('div', {
|
|
28
28
|
name: 'MuiGrid',
|
|
29
|
-
slot: 'Root'
|
|
30
|
-
overridesResolver: (props, styles) => styles.root
|
|
29
|
+
slot: 'Root'
|
|
31
30
|
});
|
|
32
31
|
function useThemePropsDefault(props) {
|
|
33
32
|
return (0, _useThemeProps.default)({
|
|
@@ -39,7 +39,7 @@ function InitColorSchemeScript(options) {
|
|
|
39
39
|
setter += `${colorSchemeNode}.classList.remove('${selector}'.replace('%s', light), '${selector}'.replace('%s', dark));
|
|
40
40
|
${colorSchemeNode}.classList.add('${selector}'.replace('%s', colorScheme));`;
|
|
41
41
|
}
|
|
42
|
-
const matches = attribute.match(/\[([^\]]+)\]/); // case [data-color-scheme
|
|
42
|
+
const matches = attribute.match(/\[([^\]]+)\]/); // case [data-color-scheme='%s'] or [data-color-scheme]
|
|
43
43
|
if (matches) {
|
|
44
44
|
const [attr, value] = matches[1].split('=');
|
|
45
45
|
if (!value) {
|
package/Stack/createStack.js
CHANGED
|
@@ -25,8 +25,7 @@ const defaultTheme = (0, _createTheme.default)();
|
|
|
25
25
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
26
26
|
const defaultCreateStyledComponent = (0, _styled.default)('div', {
|
|
27
27
|
name: 'MuiStack',
|
|
28
|
-
slot: 'Root'
|
|
29
|
-
overridesResolver: (props, styles) => styles.root
|
|
28
|
+
slot: 'Root'
|
|
30
29
|
});
|
|
31
30
|
function useThemePropsDefault(props) {
|
|
32
31
|
return (0, _useThemeProps.default)({
|
package/borders/borders.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsFor,
|
|
1
|
+
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
2
|
export const border: SimpleStyleFunction<'border'>;
|
|
3
3
|
export const borderTop: SimpleStyleFunction<'borderTop'>;
|
|
4
4
|
export const borderRight: SimpleStyleFunction<'borderRight'>;
|
|
@@ -10,5 +10,6 @@ export const borderRightColor: SimpleStyleFunction<'borderRightColor'>;
|
|
|
10
10
|
export const borderBottomColor: SimpleStyleFunction<'borderBottomColor'>;
|
|
11
11
|
export const borderLeftColor: SimpleStyleFunction<'borderLeftColor'>;
|
|
12
12
|
export const borderRadius: SimpleStyleFunction<'borderRadius'>;
|
|
13
|
+
declare const borders: SimpleStyleFunction<'border' | 'borderTop' | 'borderRight' | 'borderBottom' | 'borderLeft' | 'borderColor' | 'borderRadius'>;
|
|
13
14
|
export type BordersProps = PropsFor<typeof borders>;
|
|
14
15
|
export default borders;
|
|
@@ -2,7 +2,7 @@ import { CSSObject } from '@mui/styled-engine';
|
|
|
2
2
|
import { Breakpoints } from "../createBreakpoints/createBreakpoints.js";
|
|
3
3
|
import type { Breakpoint } from "../createTheme/index.js";
|
|
4
4
|
import { ResponsiveStyleValue } from "../styleFunctionSx/index.js";
|
|
5
|
-
import { StyleFunction } from "../
|
|
5
|
+
import { StyleFunction } from "../style/index.js";
|
|
6
6
|
export interface ResolveBreakpointValuesOptions<T> {
|
|
7
7
|
values: ResponsiveStyleValue<T>;
|
|
8
8
|
breakpoints?: Breakpoints['values'];
|
package/compose/compose.d.ts
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StyleFunction } from "../style/index.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* given a list of StyleFunction return the intersection of the props each individual
|
|
5
|
+
* StyleFunction requires.
|
|
6
|
+
*
|
|
7
|
+
* If `firstFn` requires { color: string } and `secondFn` requires { spacing: number }
|
|
8
|
+
* their composed function requires { color: string, spacing: number }
|
|
9
|
+
*/
|
|
10
|
+
type ComposedArg<T> = T extends Array<(arg: infer P) => any> ? P : never;
|
|
11
|
+
type ComposedOwnerState<T> = ComposedArg<T>;
|
|
12
|
+
export type ComposedStyleFunction<T extends Array<StyleFunction<any>>> = StyleFunction<ComposedOwnerState<T>> & {
|
|
13
|
+
filterProps: string[];
|
|
14
|
+
};
|
|
2
15
|
export default function compose<T extends Array<StyleFunction<any>>>(...args: T): ComposedStyleFunction<T>;
|
package/compose/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./compose.js";
|
|
1
|
+
export { default, type ComposedStyleFunction } from "./compose.js";
|
|
@@ -150,10 +150,15 @@ function createStyled(input = {}) {
|
|
|
150
150
|
...options
|
|
151
151
|
});
|
|
152
152
|
const transformStyle = style => {
|
|
153
|
-
// On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
154
|
-
//
|
|
155
|
-
//
|
|
156
|
-
|
|
153
|
+
// - On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
154
|
+
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
155
|
+
// which are basically components used as a selectors.
|
|
156
|
+
// - `style` could be a styled component from a babel plugin for component selectors, This condition
|
|
157
|
+
// makes sure that we do not interpolate them.
|
|
158
|
+
if (style.__emotion_real === style) {
|
|
159
|
+
return style;
|
|
160
|
+
}
|
|
161
|
+
if (typeof style === 'function') {
|
|
157
162
|
return function styleFunctionProcessor(props) {
|
|
158
163
|
return processStyle(props, style);
|
|
159
164
|
};
|
package/createTheme/shape.d.ts
CHANGED
package/cssGrid/cssGrid.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsFor,
|
|
1
|
+
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
2
|
export const gap: SimpleStyleFunction<'gap'>;
|
|
3
3
|
export const columnGap: SimpleStyleFunction<'columnGap'>;
|
|
4
4
|
export const rowGap: SimpleStyleFunction<'rowGap'>;
|
|
@@ -11,5 +11,6 @@ export const gridTemplateColumns: SimpleStyleFunction<'gridTemplateColumns'>;
|
|
|
11
11
|
export const gridTemplateRows: SimpleStyleFunction<'gridTemplateRows'>;
|
|
12
12
|
export const gridTemplateAreas: SimpleStyleFunction<'gridTemplateAreas'>;
|
|
13
13
|
export const gridArea: SimpleStyleFunction<'gridArea'>;
|
|
14
|
+
declare const grid: SimpleStyleFunction<'gap' | 'columnGap' | 'rowGap' | 'gridColumn' | 'gridRow' | 'gridAutoFlow' | 'gridAutoColumns' | 'gridAutoRows' | 'gridTemplateColumns' | 'gridTemplateRows' | 'gridTemplateAreas' | 'gridArea'>;
|
|
14
15
|
export type CssGridProps = PropsFor<typeof grid>;
|
|
15
16
|
export default grid;
|
package/display/display.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { PropsFor,
|
|
1
|
+
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
+
declare const display: SimpleStyleFunction<'display' | 'displayPrint' | 'overflow' | 'textOverflow' | 'visibility' | 'whiteSpace'>;
|
|
2
3
|
export type DisplayProps = PropsFor<typeof display>;
|
|
3
4
|
export default display;
|
package/esm/Box/Box.d.ts
CHANGED
|
@@ -2,37 +2,18 @@ import * as React from 'react';
|
|
|
2
2
|
import { OverridableComponent, OverrideProps } from '@mui/types';
|
|
3
3
|
import { Theme as SystemTheme } from "../createTheme/index.js";
|
|
4
4
|
import { SxProps, AllSystemCSSProperties, ResponsiveStyleValue, OverwriteCSSProperties, AliasesCSSProperties } from "../styleFunctionSx/index.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export declare const positions: SimpleStyleFunction<'zIndex' | 'position' | 'top' | 'right' | 'bottom' | 'left'>;
|
|
18
|
-
export declare const shadows: SimpleStyleFunction<'boxShadow'>;
|
|
19
|
-
export declare const sizing: SimpleStyleFunction<'width' | 'maxWidth' | 'minWidth' | 'height' | 'maxHeight' | 'minHeight' | 'sizeWidth' | 'sizeHeight' | 'boxSizing'>;
|
|
20
|
-
export declare const spacing: SimpleStyleFunction<'m' | 'mt' | 'mr' | 'mb' | 'ml' | 'mx' | 'my' | 'p' | 'pt' | 'pr' | 'pb' | 'pl' | 'px' | 'py' | 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft' | 'marginX' | 'marginY' | 'marginInline' | 'marginInlineStart' | 'marginInlineEnd' | 'marginBlock' | 'marginBlockStart' | 'marginBlockEnd' | 'padding' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'paddingX' | 'paddingY' | 'paddingInline' | 'paddingInlineStart' | 'paddingInlineEnd' | 'paddingBlock' | 'paddingBlockStart' | 'paddingBlockEnd'>;
|
|
21
|
-
export declare const typography: SimpleStyleFunction<'typography' | 'fontFamily' | 'fontSize' | 'fontStyle' | 'fontWeight' | 'letterSpacing' | 'lineHeight' | 'textAlign' | 'textTransform'>;
|
|
22
|
-
|
|
23
|
-
// compose.js
|
|
24
|
-
/**
|
|
25
|
-
* given a list of StyleFunction return the intersection of the props each individual
|
|
26
|
-
* StyleFunction requires.
|
|
27
|
-
*
|
|
28
|
-
* If `firstFn` requires { color: string } and `secondFn` requires { spacing: number }
|
|
29
|
-
* their composed function requires { color: string, spacing: number }
|
|
30
|
-
*/
|
|
31
|
-
type ComposedArg<T> = T extends Array<(arg: infer P) => any> ? P : never;
|
|
32
|
-
type ComposedOwnerState<T> = ComposedArg<T>;
|
|
33
|
-
export type ComposedStyleFunction<T extends Array<StyleFunction<any>>> = StyleFunction<ComposedOwnerState<T>> & {
|
|
34
|
-
filterProps: string[];
|
|
35
|
-
};
|
|
5
|
+
import { PropsFor } from "../style/index.js";
|
|
6
|
+
import { ComposedStyleFunction } from "../compose/index.js";
|
|
7
|
+
import borders from "../borders/index.js";
|
|
8
|
+
import display from "../display/index.js";
|
|
9
|
+
import flexbox from "../flexbox/index.js";
|
|
10
|
+
import grid from "../cssGrid/index.js";
|
|
11
|
+
import palette from "../palette/index.js";
|
|
12
|
+
import positions from "../positions/index.js";
|
|
13
|
+
import shadows from "../shadows/index.js";
|
|
14
|
+
import sizing from "../sizing/index.js";
|
|
15
|
+
import spacing from "../spacing/index.js";
|
|
16
|
+
import typography from "../typography/index.js";
|
|
36
17
|
export interface CustomSystemProps extends AliasesCSSProperties, OverwriteCSSProperties {}
|
|
37
18
|
export type SimpleSystemKeys = keyof PropsFor<ComposedStyleFunction<[typeof borders, typeof display, typeof flexbox, typeof grid, typeof palette, typeof positions, typeof shadows, typeof sizing, typeof spacing, typeof typography]>>;
|
|
38
19
|
|
package/esm/Grid/createGrid.js
CHANGED
|
@@ -19,8 +19,7 @@ const defaultTheme = createTheme();
|
|
|
19
19
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
20
20
|
const defaultCreateStyledComponent = systemStyled('div', {
|
|
21
21
|
name: 'MuiGrid',
|
|
22
|
-
slot: 'Root'
|
|
23
|
-
overridesResolver: (props, styles) => styles.root
|
|
22
|
+
slot: 'Root'
|
|
24
23
|
});
|
|
25
24
|
function useThemePropsDefault(props) {
|
|
26
25
|
return useThemePropsSystem({
|
|
@@ -30,7 +30,7 @@ export default function InitColorSchemeScript(options) {
|
|
|
30
30
|
setter += `${colorSchemeNode}.classList.remove('${selector}'.replace('%s', light), '${selector}'.replace('%s', dark));
|
|
31
31
|
${colorSchemeNode}.classList.add('${selector}'.replace('%s', colorScheme));`;
|
|
32
32
|
}
|
|
33
|
-
const matches = attribute.match(/\[([^\]]+)\]/); // case [data-color-scheme
|
|
33
|
+
const matches = attribute.match(/\[([^\]]+)\]/); // case [data-color-scheme='%s'] or [data-color-scheme]
|
|
34
34
|
if (matches) {
|
|
35
35
|
const [attr, value] = matches[1].split('=');
|
|
36
36
|
if (!value) {
|
package/esm/Stack/createStack.js
CHANGED
|
@@ -17,8 +17,7 @@ const defaultTheme = createTheme();
|
|
|
17
17
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
18
18
|
const defaultCreateStyledComponent = systemStyled('div', {
|
|
19
19
|
name: 'MuiStack',
|
|
20
|
-
slot: 'Root'
|
|
21
|
-
overridesResolver: (props, styles) => styles.root
|
|
20
|
+
slot: 'Root'
|
|
22
21
|
});
|
|
23
22
|
function useThemePropsDefault(props) {
|
|
24
23
|
return useThemePropsSystem({
|
package/esm/borders/borders.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsFor,
|
|
1
|
+
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
2
|
export const border: SimpleStyleFunction<'border'>;
|
|
3
3
|
export const borderTop: SimpleStyleFunction<'borderTop'>;
|
|
4
4
|
export const borderRight: SimpleStyleFunction<'borderRight'>;
|
|
@@ -10,5 +10,6 @@ export const borderRightColor: SimpleStyleFunction<'borderRightColor'>;
|
|
|
10
10
|
export const borderBottomColor: SimpleStyleFunction<'borderBottomColor'>;
|
|
11
11
|
export const borderLeftColor: SimpleStyleFunction<'borderLeftColor'>;
|
|
12
12
|
export const borderRadius: SimpleStyleFunction<'borderRadius'>;
|
|
13
|
+
declare const borders: SimpleStyleFunction<'border' | 'borderTop' | 'borderRight' | 'borderBottom' | 'borderLeft' | 'borderColor' | 'borderRadius'>;
|
|
13
14
|
export type BordersProps = PropsFor<typeof borders>;
|
|
14
15
|
export default borders;
|
|
@@ -2,7 +2,7 @@ import { CSSObject } from '@mui/styled-engine';
|
|
|
2
2
|
import { Breakpoints } from "../createBreakpoints/createBreakpoints.js";
|
|
3
3
|
import type { Breakpoint } from "../createTheme/index.js";
|
|
4
4
|
import { ResponsiveStyleValue } from "../styleFunctionSx/index.js";
|
|
5
|
-
import { StyleFunction } from "../
|
|
5
|
+
import { StyleFunction } from "../style/index.js";
|
|
6
6
|
export interface ResolveBreakpointValuesOptions<T> {
|
|
7
7
|
values: ResponsiveStyleValue<T>;
|
|
8
8
|
breakpoints?: Breakpoints['values'];
|
package/esm/compose/compose.d.ts
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StyleFunction } from "../style/index.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* given a list of StyleFunction return the intersection of the props each individual
|
|
5
|
+
* StyleFunction requires.
|
|
6
|
+
*
|
|
7
|
+
* If `firstFn` requires { color: string } and `secondFn` requires { spacing: number }
|
|
8
|
+
* their composed function requires { color: string, spacing: number }
|
|
9
|
+
*/
|
|
10
|
+
type ComposedArg<T> = T extends Array<(arg: infer P) => any> ? P : never;
|
|
11
|
+
type ComposedOwnerState<T> = ComposedArg<T>;
|
|
12
|
+
export type ComposedStyleFunction<T extends Array<StyleFunction<any>>> = StyleFunction<ComposedOwnerState<T>> & {
|
|
13
|
+
filterProps: string[];
|
|
14
|
+
};
|
|
2
15
|
export default function compose<T extends Array<StyleFunction<any>>>(...args: T): ComposedStyleFunction<T>;
|
package/esm/compose/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from "./compose.js";
|
|
1
|
+
export { default, type ComposedStyleFunction } from "./compose.js";
|
|
@@ -141,10 +141,15 @@ export default function createStyled(input = {}) {
|
|
|
141
141
|
...options
|
|
142
142
|
});
|
|
143
143
|
const transformStyle = style => {
|
|
144
|
-
// On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
145
|
-
//
|
|
146
|
-
//
|
|
147
|
-
|
|
144
|
+
// - On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
145
|
+
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
146
|
+
// which are basically components used as a selectors.
|
|
147
|
+
// - `style` could be a styled component from a babel plugin for component selectors, This condition
|
|
148
|
+
// makes sure that we do not interpolate them.
|
|
149
|
+
if (style.__emotion_real === style) {
|
|
150
|
+
return style;
|
|
151
|
+
}
|
|
152
|
+
if (typeof style === 'function') {
|
|
148
153
|
return function styleFunctionProcessor(props) {
|
|
149
154
|
return processStyle(props, style);
|
|
150
155
|
};
|
package/esm/cssGrid/cssGrid.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsFor,
|
|
1
|
+
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
2
|
export const gap: SimpleStyleFunction<'gap'>;
|
|
3
3
|
export const columnGap: SimpleStyleFunction<'columnGap'>;
|
|
4
4
|
export const rowGap: SimpleStyleFunction<'rowGap'>;
|
|
@@ -11,5 +11,6 @@ export const gridTemplateColumns: SimpleStyleFunction<'gridTemplateColumns'>;
|
|
|
11
11
|
export const gridTemplateRows: SimpleStyleFunction<'gridTemplateRows'>;
|
|
12
12
|
export const gridTemplateAreas: SimpleStyleFunction<'gridTemplateAreas'>;
|
|
13
13
|
export const gridArea: SimpleStyleFunction<'gridArea'>;
|
|
14
|
+
declare const grid: SimpleStyleFunction<'gap' | 'columnGap' | 'rowGap' | 'gridColumn' | 'gridRow' | 'gridAutoFlow' | 'gridAutoColumns' | 'gridAutoRows' | 'gridTemplateColumns' | 'gridTemplateRows' | 'gridTemplateAreas' | 'gridArea'>;
|
|
14
15
|
export type CssGridProps = PropsFor<typeof grid>;
|
|
15
16
|
export default grid;
|
package/esm/display/display.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { PropsFor,
|
|
1
|
+
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
+
declare const display: SimpleStyleFunction<'display' | 'displayPrint' | 'overflow' | 'textOverflow' | 'visibility' | 'whiteSpace'>;
|
|
2
3
|
export type DisplayProps = PropsFor<typeof display>;
|
|
3
4
|
export default display;
|
package/esm/flexbox/flexbox.d.ts
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
import { PropsFor,
|
|
1
|
+
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
+
export const flexBasis: SimpleStyleFunction<'flexBasis'>;
|
|
3
|
+
export const flexDirection: SimpleStyleFunction<'flexDirection'>;
|
|
4
|
+
export const flexWrap: SimpleStyleFunction<'flexWrap'>;
|
|
5
|
+
export const justifyContent: SimpleStyleFunction<'justifyContent'>;
|
|
6
|
+
export const alignItems: SimpleStyleFunction<'alignItems'>;
|
|
7
|
+
export const alignContent: SimpleStyleFunction<'alignContent'>;
|
|
8
|
+
export const order: SimpleStyleFunction<'order'>;
|
|
9
|
+
export const flex: SimpleStyleFunction<'flex'>;
|
|
10
|
+
export const flexGrow: SimpleStyleFunction<'flexGrow'>;
|
|
11
|
+
export const flexShrink: SimpleStyleFunction<'flexShrink'>;
|
|
12
|
+
export const alignSelf: SimpleStyleFunction<'alignSelf'>;
|
|
13
|
+
export const justifyItems: SimpleStyleFunction<'justifyItems'>;
|
|
14
|
+
export const justifySelf: SimpleStyleFunction<'justifySelf'>;
|
|
15
|
+
declare const flexbox: SimpleStyleFunction<'flexBasis' | 'flexDirection' | 'flexWrap' | 'justifyContent' | 'alignItems' | 'alignContent' | 'order' | 'flex' | 'flexGrow' | 'flexShrink' | 'alignSelf' | 'justifyItems' | 'justifySelf'>;
|
|
2
16
|
export type FlexboxProps = PropsFor<typeof flexbox>;
|
|
3
17
|
export default flexbox;
|
package/esm/index.d.ts
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
// disable automatic export
|
|
2
2
|
export {};
|
|
3
3
|
export * from "./borders/index.js";
|
|
4
|
+
export { default as borders } from "./borders/index.js";
|
|
4
5
|
export { default as breakpoints, handleBreakpoints, mergeBreakpointsInOrder } from "./breakpoints/index.js";
|
|
5
6
|
export { default as cssContainerQueries, type CssContainerQueries } from "./cssContainerQueries/index.js";
|
|
6
7
|
export { default as compose } from "./compose/index.js";
|
|
7
8
|
export * from "./display/index.js";
|
|
9
|
+
export { default as display } from "./display/index.js";
|
|
8
10
|
export * from "./flexbox/index.js";
|
|
11
|
+
export { default as flexbox } from "./flexbox/index.js";
|
|
9
12
|
export * from "./cssGrid/index.js";
|
|
13
|
+
export { default as grid } from "./cssGrid/index.js";
|
|
10
14
|
export * from "./palette/index.js";
|
|
15
|
+
export { default as palette } from "./palette/index.js";
|
|
11
16
|
export * from "./positions/index.js";
|
|
17
|
+
export { default as positions } from "./positions/index.js";
|
|
12
18
|
export * from "./shadows/index.js";
|
|
19
|
+
export { default as shadows } from "./shadows/index.js";
|
|
13
20
|
export * from "./sizing/index.js";
|
|
21
|
+
export { default as sizing } from "./sizing/index.js";
|
|
14
22
|
export * from "./typography/index.js";
|
|
23
|
+
export { default as typography } from "./typography/index.js";
|
|
15
24
|
export { default as unstable_getThemeValue } from "./getThemeValue/index.js";
|
|
16
25
|
|
|
17
26
|
/**
|
|
@@ -29,6 +38,7 @@ export type { GlobalStylesProps } from "./GlobalStyles/index.js";
|
|
|
29
38
|
export * from "./style/index.js";
|
|
30
39
|
export { default as style } from "./style/index.js";
|
|
31
40
|
export * from "./spacing/index.js";
|
|
41
|
+
export { default as spacing } from "./spacing/index.js";
|
|
32
42
|
export { default as unstable_styleFunctionSx, unstable_createStyleFunctionSx, extendSxProp as unstable_extendSxProp, unstable_defaultSxConfig } from "./styleFunctionSx/index.js";
|
|
33
43
|
export * from "./styleFunctionSx/index.js";
|
|
34
44
|
|
package/esm/index.js
CHANGED
package/esm/palette/palette.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction
|
|
1
|
+
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
2
|
export const color: SimpleStyleFunction<'color'>;
|
|
3
3
|
export const bgcolor: SimpleStyleFunction<'bgcolor'>;
|
|
4
|
+
declare const palette: SimpleStyleFunction<'bgcolor' | 'color'>;
|
|
4
5
|
export type PaletteProps = PropsFor<typeof palette>;
|
|
5
6
|
export default palette;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { PropsFor,
|
|
1
|
+
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
+
declare const positions: SimpleStyleFunction<'zIndex' | 'position' | 'top' | 'right' | 'bottom' | 'left'>;
|
|
2
3
|
export type PositionsProps = PropsFor<typeof positions>;
|
|
3
4
|
export default positions;
|