@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.
Files changed (398) hide show
  1. package/Box/Box.d.ts +22 -173
  2. package/Box/boxClasses.d.ts +3 -3
  3. package/Box/index.d.ts +4 -5
  4. package/CHANGELOG.md +92 -0
  5. package/CSSProperties.d.ts +1 -3
  6. package/Container/Container.d.ts +2 -2
  7. package/Container/ContainerProps.d.ts +36 -36
  8. package/Container/containerClasses.d.ts +17 -17
  9. package/Container/createContainer.d.ts +10 -10
  10. package/Container/createContainer.js +1 -0
  11. package/Container/index.d.ts +4 -5
  12. package/DefaultPropsProvider/DefaultPropsProvider.d.ts +13 -7
  13. package/DefaultPropsProvider/index.d.ts +1 -1
  14. package/GlobalStyles/GlobalStyles.d.ts +11 -7
  15. package/GlobalStyles/index.d.ts +2 -2
  16. package/Grid/Grid.d.ts +2 -2
  17. package/Grid/GridProps.d.ts +89 -91
  18. package/Grid/createGrid.d.ts +8 -8
  19. package/Grid/createGrid.js +1 -0
  20. package/Grid/gridClasses.d.ts +15 -15
  21. package/Grid/gridGenerator.d.ts +37 -17
  22. package/Grid/index.d.ts +7 -7
  23. package/Grid/traverseBreakpoints.d.ts +3 -3
  24. package/InitColorSchemeScript/InitColorSchemeScript.d.ts +42 -42
  25. package/InitColorSchemeScript/index.d.ts +2 -2
  26. package/README.md +2 -2
  27. package/RtlProvider/index.d.ts +1 -4
  28. package/Stack/Stack.d.ts +2 -2
  29. package/Stack/StackProps.d.ts +44 -44
  30. package/Stack/createStack.d.ts +17 -14
  31. package/Stack/createStack.js +1 -0
  32. package/Stack/index.d.ts +5 -5
  33. package/Stack/stackClasses.d.ts +3 -3
  34. package/ThemeProvider/ThemeProvider.d.ts +1 -4
  35. package/ThemeProvider/index.d.ts +2 -2
  36. package/borders/borders.d.ts +2 -3
  37. package/borders/index.d.ts +2 -2
  38. package/breakpoints/breakpoints.d.ts +7 -19
  39. package/breakpoints/index.d.ts +2 -2
  40. package/colorManipulator/colorManipulator.d.ts +2 -7
  41. package/colorManipulator/index.d.ts +1 -1
  42. package/compose/compose.d.ts +2 -5
  43. package/compose/index.d.ts +1 -1
  44. package/createBox/createBox.d.ts +4 -8
  45. package/createBox/index.d.ts +1 -1
  46. package/createBreakpoints/createBreakpoints.d.ts +3 -10
  47. package/createBreakpoints/index.d.ts +1 -1
  48. package/createStyled/createStyled.d.ts +5 -17
  49. package/createStyled/index.d.ts +2 -2
  50. package/createTheme/applyStyles.d.ts +2 -2
  51. package/createTheme/createSpacing.d.ts +6 -6
  52. package/createTheme/createTheme.d.ts +11 -18
  53. package/createTheme/index.d.ts +4 -4
  54. package/createTheme/shape.d.ts +1 -4
  55. package/cssContainerQueries/cssContainerQueries.d.ts +9 -9
  56. package/cssContainerQueries/index.d.ts +3 -3
  57. package/cssGrid/cssGrid.d.ts +2 -3
  58. package/cssGrid/index.d.ts +2 -2
  59. package/cssVars/createCssVarsProvider.d.ts +89 -107
  60. package/cssVars/createCssVarsTheme.d.ts +12 -9
  61. package/cssVars/createGetCssVar.d.ts +1 -1
  62. package/cssVars/cssVarsParser.d.ts +7 -7
  63. package/cssVars/getColorSchemeSelector.d.ts +1 -1
  64. package/cssVars/index.d.ts +7 -7
  65. package/cssVars/prepareCssVars.d.ts +11 -11
  66. package/cssVars/prepareTypographyVars.d.ts +3 -7
  67. package/cssVars/useCurrentColorScheme.d.ts +43 -43
  68. package/display/display.d.ts +2 -3
  69. package/display/index.d.ts +2 -2
  70. package/esm/Box/Box.d.ts +72 -0
  71. package/esm/Box/boxClasses.d.ts +7 -0
  72. package/esm/Box/index.d.ts +4 -0
  73. package/esm/CSSProperties.d.ts +7 -0
  74. package/esm/Container/Container.d.ts +13 -0
  75. package/esm/Container/ContainerProps.d.ts +40 -0
  76. package/esm/Container/containerClasses.d.ts +22 -0
  77. package/esm/Container/createContainer.d.ts +18 -0
  78. package/esm/Container/createContainer.js +2 -0
  79. package/esm/Container/index.d.ts +4 -0
  80. package/esm/DefaultPropsProvider/DefaultPropsProvider.d.ts +18 -0
  81. package/esm/DefaultPropsProvider/index.d.ts +1 -0
  82. package/esm/GlobalStyles/GlobalStyles.d.ts +17 -0
  83. package/esm/GlobalStyles/index.d.ts +2 -0
  84. package/esm/Grid/Grid.d.ts +13 -0
  85. package/esm/Grid/GridProps.d.ts +103 -0
  86. package/esm/Grid/createGrid.d.ts +13 -0
  87. package/esm/Grid/createGrid.js +2 -0
  88. package/esm/Grid/gridClasses.d.ts +20 -0
  89. package/esm/Grid/gridGenerator.d.ts +42 -0
  90. package/esm/Grid/index.d.ts +7 -0
  91. package/esm/Grid/traverseBreakpoints.d.ts +7 -0
  92. package/esm/InitColorSchemeScript/InitColorSchemeScript.d.ts +51 -0
  93. package/esm/InitColorSchemeScript/index.d.ts +2 -0
  94. package/esm/RtlProvider/index.d.ts +8 -0
  95. package/esm/Stack/Stack.d.ts +14 -0
  96. package/esm/Stack/StackProps.d.ts +53 -0
  97. package/esm/Stack/createStack.d.ts +24 -0
  98. package/esm/Stack/createStack.js +2 -0
  99. package/esm/Stack/index.d.ts +5 -0
  100. package/esm/Stack/stackClasses.d.ts +8 -0
  101. package/esm/ThemeProvider/ThemeProvider.d.ts +24 -0
  102. package/esm/ThemeProvider/index.d.ts +2 -0
  103. package/esm/borders/borders.d.ts +13 -0
  104. package/esm/borders/index.d.ts +2 -0
  105. package/esm/breakpoints/breakpoints.d.ts +19 -0
  106. package/esm/breakpoints/index.d.ts +2 -0
  107. package/esm/colorManipulator/colorManipulator.d.ts +25 -0
  108. package/esm/colorManipulator/index.d.ts +1 -0
  109. package/esm/compose/compose.d.ts +2 -0
  110. package/esm/compose/index.d.ts +1 -0
  111. package/esm/createBox/createBox.d.ts +9 -0
  112. package/esm/createBox/index.d.ts +1 -0
  113. package/esm/createBreakpoints/createBreakpoints.d.ts +78 -0
  114. package/esm/createBreakpoints/index.d.ts +3 -0
  115. package/esm/createStyled/createStyled.d.ts +27 -0
  116. package/esm/createStyled/index.d.ts +2 -0
  117. package/esm/createTheme/applyStyles.d.ts +67 -0
  118. package/esm/createTheme/createSpacing.d.ts +10 -0
  119. package/esm/createTheme/createTheme.d.ts +54 -0
  120. package/esm/createTheme/index.d.ts +4 -0
  121. package/esm/createTheme/shape.d.ts +6 -0
  122. package/esm/cssContainerQueries/cssContainerQueries.d.ts +23 -0
  123. package/esm/cssContainerQueries/index.d.ts +3 -0
  124. package/esm/cssGrid/cssGrid.d.ts +2 -0
  125. package/esm/cssGrid/index.d.ts +2 -0
  126. package/esm/cssVars/createCssVarsProvider.d.ts +129 -0
  127. package/esm/cssVars/createCssVarsTheme.d.ts +15 -0
  128. package/esm/cssVars/createGetCssVar.d.ts +5 -0
  129. package/esm/cssVars/cssVarsParser.d.ts +64 -0
  130. package/esm/cssVars/getColorSchemeSelector.d.ts +1 -0
  131. package/esm/cssVars/index.d.ts +7 -0
  132. package/esm/cssVars/prepareCssVars.d.ts +16 -0
  133. package/esm/cssVars/prepareTypographyVars.d.ts +4 -0
  134. package/esm/cssVars/useCurrentColorScheme.d.ts +54 -0
  135. package/esm/display/display.d.ts +2 -0
  136. package/esm/display/index.d.ts +2 -0
  137. package/esm/flexbox/flexbox.d.ts +2 -0
  138. package/esm/flexbox/index.d.ts +2 -0
  139. package/esm/getThemeValue/getThemeValue.d.ts +1 -0
  140. package/esm/getThemeValue/index.d.ts +2 -0
  141. package/esm/index.d.ts +79 -0
  142. package/esm/index.js +7 -0
  143. package/esm/memoTheme.d.ts +12 -0
  144. package/esm/memoize/index.d.ts +1 -0
  145. package/esm/memoize/memoize.d.ts +1 -0
  146. package/esm/merge/index.d.ts +1 -0
  147. package/esm/merge/merge.d.ts +1 -0
  148. package/esm/package.json +1 -0
  149. package/esm/palette/index.d.ts +2 -0
  150. package/esm/palette/palette.d.ts +4 -0
  151. package/esm/positions/index.d.ts +2 -0
  152. package/esm/positions/positions.d.ts +2 -0
  153. package/esm/preprocessStyles.d.ts +5 -0
  154. package/esm/propsToClassKey/index.d.ts +1 -0
  155. package/esm/propsToClassKey/propsToClassKey.d.ts +1 -0
  156. package/esm/responsivePropType/index.d.ts +1 -0
  157. package/esm/responsivePropType/responsivePropType.d.ts +2 -0
  158. package/esm/shadows/index.d.ts +1 -0
  159. package/esm/shadows/shadows.d.ts +2 -0
  160. package/esm/sizing/index.d.ts +2 -0
  161. package/esm/sizing/sizing.d.ts +11 -0
  162. package/esm/spacing/index.d.ts +2 -0
  163. package/esm/spacing/spacing.d.ts +18 -0
  164. package/esm/style/index.d.ts +2 -0
  165. package/esm/style/style.d.ts +19 -0
  166. package/esm/styleFunctionSx/AliasesCSSProperties.d.ts +269 -0
  167. package/esm/styleFunctionSx/OverwriteCSSProperties.d.ts +54 -0
  168. package/esm/styleFunctionSx/StandardCssProperties.d.ts +2 -0
  169. package/esm/styleFunctionSx/defaultSxConfig.d.ts +15 -0
  170. package/esm/styleFunctionSx/extendSxProp.d.ts +4 -0
  171. package/esm/styleFunctionSx/index.d.ts +9 -0
  172. package/esm/styleFunctionSx/styleFunctionSx.d.ts +62 -0
  173. package/esm/styled/index.d.ts +1 -0
  174. package/esm/styled/styled.d.ts +3 -0
  175. package/esm/typography/index.d.ts +2 -0
  176. package/esm/typography/typography.d.ts +11 -0
  177. package/esm/useMediaQuery/index.d.ts +2 -0
  178. package/esm/useMediaQuery/useMediaQuery.d.ts +32 -0
  179. package/esm/useTheme/index.d.ts +2 -0
  180. package/esm/useTheme/useTheme.d.ts +2 -0
  181. package/esm/useThemeProps/getThemeProps.d.ts +16 -0
  182. package/esm/useThemeProps/index.d.ts +3 -0
  183. package/esm/useThemeProps/useThemeProps.d.ts +14 -0
  184. package/esm/useThemeWithoutDefault/index.d.ts +1 -0
  185. package/esm/useThemeWithoutDefault/useThemeWithoutDefault.d.ts +1 -0
  186. package/esm/version/index.d.ts +6 -0
  187. package/esm/version/index.js +2 -2
  188. package/flexbox/flexbox.d.ts +2 -3
  189. package/flexbox/index.d.ts +2 -2
  190. package/getThemeValue/getThemeValue.d.ts +1 -1
  191. package/getThemeValue/index.d.ts +2 -2
  192. package/index.d.ts +66 -115
  193. package/index.js +1 -1
  194. package/memoTheme.d.ts +3 -3
  195. package/memoize/index.d.ts +1 -1
  196. package/memoize/memoize.d.ts +1 -3
  197. package/merge/index.d.ts +1 -1
  198. package/merge/merge.d.ts +1 -1
  199. package/modern/Box/Box.d.ts +72 -0
  200. package/modern/Box/boxClasses.d.ts +7 -0
  201. package/modern/Box/index.d.ts +4 -0
  202. package/modern/CSSProperties.d.ts +7 -0
  203. package/modern/Container/Container.d.ts +13 -0
  204. package/modern/Container/ContainerProps.d.ts +40 -0
  205. package/modern/Container/containerClasses.d.ts +22 -0
  206. package/modern/Container/createContainer.d.ts +18 -0
  207. package/modern/Container/createContainer.js +2 -0
  208. package/modern/Container/index.d.ts +4 -0
  209. package/modern/DefaultPropsProvider/DefaultPropsProvider.d.ts +18 -0
  210. package/modern/DefaultPropsProvider/index.d.ts +1 -0
  211. package/modern/GlobalStyles/GlobalStyles.d.ts +17 -0
  212. package/modern/GlobalStyles/index.d.ts +2 -0
  213. package/modern/Grid/Grid.d.ts +13 -0
  214. package/modern/Grid/GridProps.d.ts +103 -0
  215. package/modern/Grid/createGrid.d.ts +13 -0
  216. package/modern/Grid/createGrid.js +2 -0
  217. package/modern/Grid/gridClasses.d.ts +20 -0
  218. package/modern/Grid/gridGenerator.d.ts +42 -0
  219. package/modern/Grid/index.d.ts +7 -0
  220. package/modern/Grid/traverseBreakpoints.d.ts +7 -0
  221. package/modern/InitColorSchemeScript/InitColorSchemeScript.d.ts +51 -0
  222. package/modern/InitColorSchemeScript/index.d.ts +2 -0
  223. package/modern/RtlProvider/index.d.ts +8 -0
  224. package/modern/Stack/Stack.d.ts +14 -0
  225. package/modern/Stack/StackProps.d.ts +53 -0
  226. package/modern/Stack/createStack.d.ts +24 -0
  227. package/modern/Stack/createStack.js +2 -0
  228. package/modern/Stack/index.d.ts +5 -0
  229. package/modern/Stack/stackClasses.d.ts +8 -0
  230. package/modern/ThemeProvider/ThemeProvider.d.ts +24 -0
  231. package/modern/ThemeProvider/index.d.ts +2 -0
  232. package/modern/borders/borders.d.ts +13 -0
  233. package/modern/borders/index.d.ts +2 -0
  234. package/modern/breakpoints/breakpoints.d.ts +19 -0
  235. package/modern/breakpoints/index.d.ts +2 -0
  236. package/modern/colorManipulator/colorManipulator.d.ts +25 -0
  237. package/modern/colorManipulator/index.d.ts +1 -0
  238. package/modern/compose/compose.d.ts +2 -0
  239. package/modern/compose/index.d.ts +1 -0
  240. package/modern/createBox/createBox.d.ts +9 -0
  241. package/modern/createBox/index.d.ts +1 -0
  242. package/modern/createBreakpoints/createBreakpoints.d.ts +78 -0
  243. package/modern/createBreakpoints/index.d.ts +3 -0
  244. package/modern/createStyled/createStyled.d.ts +27 -0
  245. package/modern/createStyled/index.d.ts +2 -0
  246. package/modern/createTheme/applyStyles.d.ts +67 -0
  247. package/modern/createTheme/createSpacing.d.ts +10 -0
  248. package/modern/createTheme/createTheme.d.ts +54 -0
  249. package/modern/createTheme/index.d.ts +4 -0
  250. package/modern/createTheme/shape.d.ts +6 -0
  251. package/modern/cssContainerQueries/cssContainerQueries.d.ts +23 -0
  252. package/modern/cssContainerQueries/index.d.ts +3 -0
  253. package/modern/cssGrid/cssGrid.d.ts +2 -0
  254. package/modern/cssGrid/index.d.ts +2 -0
  255. package/modern/cssVars/createCssVarsProvider.d.ts +129 -0
  256. package/modern/cssVars/createCssVarsTheme.d.ts +15 -0
  257. package/modern/cssVars/createGetCssVar.d.ts +5 -0
  258. package/modern/cssVars/cssVarsParser.d.ts +64 -0
  259. package/modern/cssVars/getColorSchemeSelector.d.ts +1 -0
  260. package/modern/cssVars/index.d.ts +7 -0
  261. package/modern/cssVars/prepareCssVars.d.ts +16 -0
  262. package/modern/cssVars/prepareTypographyVars.d.ts +4 -0
  263. package/modern/cssVars/useCurrentColorScheme.d.ts +54 -0
  264. package/modern/display/display.d.ts +2 -0
  265. package/modern/display/index.d.ts +2 -0
  266. package/modern/flexbox/flexbox.d.ts +2 -0
  267. package/modern/flexbox/index.d.ts +2 -0
  268. package/modern/getThemeValue/getThemeValue.d.ts +1 -0
  269. package/modern/getThemeValue/index.d.ts +2 -0
  270. package/modern/index.d.ts +79 -0
  271. package/modern/index.js +1 -1
  272. package/modern/memoTheme.d.ts +12 -0
  273. package/modern/memoize/index.d.ts +1 -0
  274. package/modern/memoize/memoize.d.ts +1 -0
  275. package/modern/merge/index.d.ts +1 -0
  276. package/modern/merge/merge.d.ts +1 -0
  277. package/modern/package.json +1 -0
  278. package/modern/palette/index.d.ts +2 -0
  279. package/modern/palette/palette.d.ts +4 -0
  280. package/modern/positions/index.d.ts +2 -0
  281. package/modern/positions/positions.d.ts +2 -0
  282. package/modern/preprocessStyles.d.ts +5 -0
  283. package/modern/propsToClassKey/index.d.ts +1 -0
  284. package/modern/propsToClassKey/propsToClassKey.d.ts +1 -0
  285. package/modern/responsivePropType/index.d.ts +1 -0
  286. package/modern/responsivePropType/responsivePropType.d.ts +2 -0
  287. package/modern/shadows/index.d.ts +1 -0
  288. package/modern/shadows/shadows.d.ts +2 -0
  289. package/modern/sizing/index.d.ts +2 -0
  290. package/modern/sizing/sizing.d.ts +11 -0
  291. package/modern/spacing/index.d.ts +2 -0
  292. package/modern/spacing/spacing.d.ts +18 -0
  293. package/modern/style/index.d.ts +2 -0
  294. package/modern/style/style.d.ts +19 -0
  295. package/modern/styleFunctionSx/AliasesCSSProperties.d.ts +269 -0
  296. package/modern/styleFunctionSx/OverwriteCSSProperties.d.ts +54 -0
  297. package/modern/styleFunctionSx/StandardCssProperties.d.ts +2 -0
  298. package/modern/styleFunctionSx/defaultSxConfig.d.ts +15 -0
  299. package/modern/styleFunctionSx/extendSxProp.d.ts +4 -0
  300. package/modern/styleFunctionSx/index.d.ts +9 -0
  301. package/modern/styleFunctionSx/styleFunctionSx.d.ts +62 -0
  302. package/modern/styled/index.d.ts +1 -0
  303. package/modern/styled/styled.d.ts +3 -0
  304. package/modern/typography/index.d.ts +2 -0
  305. package/modern/typography/typography.d.ts +11 -0
  306. package/modern/useMediaQuery/index.d.ts +2 -0
  307. package/modern/useMediaQuery/useMediaQuery.d.ts +32 -0
  308. package/modern/useTheme/index.d.ts +2 -0
  309. package/modern/useTheme/useTheme.d.ts +2 -0
  310. package/modern/useThemeProps/getThemeProps.d.ts +16 -0
  311. package/modern/useThemeProps/index.d.ts +3 -0
  312. package/modern/useThemeProps/useThemeProps.d.ts +14 -0
  313. package/modern/useThemeWithoutDefault/index.d.ts +1 -0
  314. package/modern/useThemeWithoutDefault/useThemeWithoutDefault.d.ts +1 -0
  315. package/modern/version/index.d.ts +6 -0
  316. package/modern/version/index.js +2 -2
  317. package/package.json +38 -6
  318. package/palette/index.d.ts +2 -2
  319. package/palette/palette.d.ts +2 -3
  320. package/positions/index.d.ts +2 -2
  321. package/positions/positions.d.ts +2 -3
  322. package/preprocessStyles.d.ts +4 -4
  323. package/propsToClassKey/index.d.ts +1 -1
  324. package/propsToClassKey/propsToClassKey.d.ts +1 -1
  325. package/responsivePropType/index.d.ts +1 -1
  326. package/responsivePropType/responsivePropType.d.ts +1 -2
  327. package/shadows/index.d.ts +1 -1
  328. package/shadows/shadows.d.ts +2 -3
  329. package/sizing/index.d.ts +2 -2
  330. package/sizing/sizing.d.ts +2 -3
  331. package/spacing/index.d.ts +2 -2
  332. package/spacing/spacing.d.ts +15 -78
  333. package/style/index.d.ts +2 -2
  334. package/style/style.d.ts +8 -16
  335. package/styleFunctionSx/AliasesCSSProperties.d.ts +268 -268
  336. package/styleFunctionSx/OverwriteCSSProperties.d.ts +52 -52
  337. package/styleFunctionSx/StandardCssProperties.d.ts +1 -1
  338. package/styleFunctionSx/defaultSxConfig.d.ts +3 -8
  339. package/styleFunctionSx/extendSxProp.d.ts +4 -3
  340. package/styleFunctionSx/index.d.ts +9 -13
  341. package/styleFunctionSx/styleFunctionSx.d.ts +14 -41
  342. package/styled/index.d.ts +1 -1
  343. package/styled/styled.d.ts +2 -4
  344. package/tsconfig.build.tsbuildinfo +1 -0
  345. package/typography/index.d.ts +2 -2
  346. package/typography/typography.d.ts +2 -3
  347. package/useMediaQuery/index.d.ts +2 -2
  348. package/useMediaQuery/useMediaQuery.d.ts +27 -27
  349. package/useTheme/index.d.ts +2 -2
  350. package/useTheme/useTheme.d.ts +2 -3
  351. package/useThemeProps/getThemeProps.d.ts +8 -9
  352. package/useThemeProps/index.d.ts +3 -4
  353. package/useThemeProps/useThemeProps.d.ts +6 -12
  354. package/useThemeWithoutDefault/index.d.ts +1 -1
  355. package/useThemeWithoutDefault/useThemeWithoutDefault.d.ts +1 -1
  356. package/version/index.d.ts +1 -1
  357. package/version/index.js +2 -2
  358. package/Box/package.json +0 -6
  359. package/Container/package.json +0 -6
  360. package/DefaultPropsProvider/package.json +0 -6
  361. package/GlobalStyles/package.json +0 -6
  362. package/Grid/package.json +0 -6
  363. package/InitColorSchemeScript/package.json +0 -6
  364. package/RtlProvider/package.json +0 -6
  365. package/Stack/package.json +0 -6
  366. package/ThemeProvider/package.json +0 -6
  367. package/borders/package.json +0 -6
  368. package/breakpoints/package.json +0 -6
  369. package/colorManipulator/package.json +0 -6
  370. package/compose/package.json +0 -6
  371. package/createBox/package.json +0 -6
  372. package/createBreakpoints/package.json +0 -6
  373. package/createStyled/package.json +0 -6
  374. package/createTheme/package.json +0 -6
  375. package/cssContainerQueries/package.json +0 -6
  376. package/cssGrid/package.json +0 -6
  377. package/cssVars/package.json +0 -6
  378. package/display/package.json +0 -6
  379. package/flexbox/package.json +0 -6
  380. package/getThemeValue/package.json +0 -6
  381. package/memoize/package.json +0 -6
  382. package/merge/package.json +0 -6
  383. package/palette/package.json +0 -6
  384. package/positions/package.json +0 -6
  385. package/propsToClassKey/package.json +0 -6
  386. package/responsivePropType/package.json +0 -6
  387. package/shadows/package.json +0 -6
  388. package/sizing/package.json +0 -6
  389. package/spacing/package.json +0 -6
  390. package/style/package.json +0 -6
  391. package/styleFunctionSx/package.json +0 -6
  392. package/styled/package.json +0 -6
  393. package/typography/package.json +0 -6
  394. package/useMediaQuery/package.json +0 -6
  395. package/useTheme/package.json +0 -6
  396. package/useThemeProps/package.json +0 -6
  397. package/useThemeWithoutDefault/package.json +0 -6
  398. package/version/package.json +0 -6
package/esm/index.d.ts ADDED
@@ -0,0 +1,79 @@
1
+ // disable automatic export
2
+ export {};
3
+ export * from "./borders/index.js";
4
+ export { default as breakpoints, handleBreakpoints, mergeBreakpointsInOrder } from "./breakpoints/index.js";
5
+ export { default as cssContainerQueries, type CssContainerQueries } from "./cssContainerQueries/index.js";
6
+ export { default as compose } from "./compose/index.js";
7
+ export * from "./display/index.js";
8
+ export * from "./flexbox/index.js";
9
+ export * from "./cssGrid/index.js";
10
+ export * from "./palette/index.js";
11
+ export * from "./positions/index.js";
12
+ export * from "./shadows/index.js";
13
+ export * from "./sizing/index.js";
14
+ export * from "./typography/index.js";
15
+ export { default as unstable_getThemeValue } from "./getThemeValue/index.js";
16
+
17
+ /**
18
+ * The `css` function accepts arrays as values for mobile-first responsive styles.
19
+ * Note that this extends to non-theme values also. For example `display=['none', 'block']`
20
+ * will also works.
21
+ */
22
+ export type ResponsiveStyleValue<T> = T | Array<T | null> | {
23
+ [key: string]: T | null;
24
+ };
25
+ export { DefaultTheme } from '@mui/private-theming';
26
+ export { css, keyframes, StyledEngineProvider, Interpolation, CSSInterpolation, CSSObject } from '@mui/styled-engine';
27
+ export { default as GlobalStyles } from "./GlobalStyles/index.js";
28
+ export type { GlobalStylesProps } from "./GlobalStyles/index.js";
29
+ export * from "./style/index.js";
30
+ export * from "./spacing/index.js";
31
+ export { default as unstable_styleFunctionSx, unstable_createStyleFunctionSx, extendSxProp as unstable_extendSxProp, unstable_defaultSxConfig } from "./styleFunctionSx/index.js";
32
+ export * from "./styleFunctionSx/index.js";
33
+
34
+ // TODO: Remove this function in v6.
35
+ // eslint-disable-next-line @typescript-eslint/naming-convention
36
+ export function experimental_sx(): any;
37
+ export { default as Box } from "./Box/index.js";
38
+ export * from "./Box/index.js";
39
+ export { default as createBox } from "./createBox/index.js";
40
+ export * from "./createBox/index.js";
41
+ export { default as createStyled } from "./createStyled/index.js";
42
+ export * from "./createStyled/index.js";
43
+ export { default as styled } from "./styled/index.js";
44
+ export * from "./styled/index.js";
45
+ export { default as createTheme } from "./createTheme/index.js";
46
+ export * from "./createTheme/index.js";
47
+ export { default as createBreakpoints } from "./createBreakpoints/createBreakpoints.js";
48
+ export * from "./createBreakpoints/createBreakpoints.js";
49
+ export { default as createSpacing } from "./createTheme/createSpacing.js";
50
+ export { SpacingOptions, Spacing } from "./createTheme/createSpacing.js";
51
+ export { default as shape } from "./createTheme/shape.js";
52
+ export * from "./createTheme/shape.js";
53
+ export { default as useThemeProps, getThemeProps } from "./useThemeProps/index.js";
54
+ export { default as useTheme } from "./useTheme/index.js";
55
+ export * from "./useTheme/index.js";
56
+ export { default as useThemeWithoutDefault } from "./useThemeWithoutDefault/index.js";
57
+ export * from "./useThemeWithoutDefault/index.js";
58
+ export { default as useMediaQuery } from "./useMediaQuery/index.js";
59
+ export * from "./useMediaQuery/index.js";
60
+ export * from "./colorManipulator/index.js";
61
+ export { default as ThemeProvider } from "./ThemeProvider/index.js";
62
+ export * from "./ThemeProvider/index.js";
63
+ export { default as unstable_memoTheme } from "./memoTheme.js";
64
+ export { default as unstable_createCssVarsProvider, CreateCssVarsProviderResult } from "./cssVars/index.js";
65
+ export { default as unstable_createGetCssVar } from "./cssVars/createGetCssVar.js";
66
+ export { default as unstable_cssVarsParser } from "./cssVars/cssVarsParser.js";
67
+ export { default as unstable_prepareCssVars } from "./cssVars/prepareCssVars.js";
68
+ export { default as unstable_createCssVarsTheme } from "./cssVars/createCssVarsTheme.js";
69
+ export * from "./cssVars/index.js";
70
+ export { default as responsivePropType } from "./responsivePropType/index.js";
71
+ export { default as createContainer } from "./Container/createContainer.js";
72
+ export * from "./Container/createContainer.js";
73
+ export { default as Container } from "./Container/index.js";
74
+ export * from "./Container/index.js";
75
+ export { default as Grid } from "./Grid/index.js";
76
+ export * from "./Grid/index.js";
77
+ export { default as Stack } from "./Stack/index.js";
78
+ export * from "./Stack/index.js";
79
+ export * from "./version/index.js";
package/esm/index.js CHANGED
@@ -1,3 +1,10 @@
1
+ /**
2
+ * @mui/system v7.0.0-alpha.2
3
+ *
4
+ * @license MIT
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
1
8
  import _formatMuiErrorMessage from "@mui/utils/formatMuiErrorMessage";
2
9
  export { css, keyframes, StyledEngineProvider } from '@mui/styled-engine';
3
10
  export { default as GlobalStyles } from "./GlobalStyles/index.js";
@@ -0,0 +1,12 @@
1
+ import { CSSInterpolation } from '@mui/styled-engine';
2
+ type ThemeStyleFunction<T> = (props: {
3
+ theme: T;
4
+ }) => CSSInterpolation;
5
+ /**
6
+ * Memoize style function on theme.
7
+ * Intended to be used in styled() calls that only need access to the theme.
8
+ */
9
+ export default function unstable_memoTheme<T>(styleFn: ThemeStyleFunction<T>): (props: {
10
+ theme: T;
11
+ }) => string | number | boolean | import("@mui/styled-engine").CSSObject | import("@mui/styled-engine").ComponentSelector | import("@mui/styled-engine").Keyframes | import("@mui/styled-engine").SerializedStyles | import("@mui/styled-engine").ArrayCSSInterpolation | null;
12
+ export {};
@@ -0,0 +1 @@
1
+ export { default } from "./memoize.js";
@@ -0,0 +1 @@
1
+ export default function memoize<ArgType = any, ReturnType = any>(fn: (arg: ArgType) => ReturnType): (arg: ArgType) => ReturnType;
@@ -0,0 +1 @@
1
+ export { default } from "./merge.js";
@@ -0,0 +1 @@
1
+ export default function merge(acc: object, item: object): object;
@@ -0,0 +1 @@
1
+ {"type":"module","sideEffects":false}
@@ -0,0 +1,2 @@
1
+ export { default } from "./palette.js";
2
+ export * from "./palette.js";
@@ -0,0 +1,4 @@
1
+ import { PropsFor, SimpleStyleFunction, palette } from "../Box/index.js";
2
+ export const color: SimpleStyleFunction<'color'>;
3
+ export const bgcolor: SimpleStyleFunction<'bgcolor'>;
4
+ export type PaletteProps = PropsFor<typeof palette>;
@@ -0,0 +1,2 @@
1
+ export { default } from "./positions.js";
2
+ export * from "./positions.js";
@@ -0,0 +1,2 @@
1
+ import { PropsFor, positions } from "../Box/index.js";
2
+ export type PositionsProps = PropsFor<typeof positions>;
@@ -0,0 +1,5 @@
1
+ export default function preprocessStyles(input: any): {
2
+ variants: any;
3
+ style: any;
4
+ isProcessed: boolean;
5
+ };
@@ -0,0 +1 @@
1
+ export { default } from "./propsToClassKey.js";
@@ -0,0 +1 @@
1
+ export default function propsToClassKey(props: object): string;
@@ -0,0 +1 @@
1
+ export { default } from "./responsivePropType.js";
@@ -0,0 +1,2 @@
1
+ declare const responsivePropType: object;
2
+ export default responsivePropType;
@@ -0,0 +1 @@
1
+ export { default } from "./shadows.js";
@@ -0,0 +1,2 @@
1
+ import { PropsFor, shadows } from "../Box/index.js";
2
+ export type ShadowsProps = PropsFor<typeof shadows>;
@@ -0,0 +1,2 @@
1
+ export { default } from "./sizing.js";
2
+ export * from "./sizing.js";
@@ -0,0 +1,11 @@
1
+ import { PropsFor, SimpleStyleFunction, sizing } from "../Box/index.js";
2
+ export const width: SimpleStyleFunction<'width'>;
3
+ export const maxWidth: SimpleStyleFunction<'maxWidth'>;
4
+ export const minWidth: SimpleStyleFunction<'minWidth'>;
5
+ export const height: SimpleStyleFunction<'height'>;
6
+ export const maxHeight: SimpleStyleFunction<'maxHeight'>;
7
+ export const minHeight: SimpleStyleFunction<'minHeight'>;
8
+ export const sizeWidth: SimpleStyleFunction<'sizeWidth'>;
9
+ export const sizeHeight: SimpleStyleFunction<'sizeHeight'>;
10
+ export const boxSizing: SimpleStyleFunction<'boxSizing'>;
11
+ export type SizingProps = PropsFor<typeof sizing>;
@@ -0,0 +1,2 @@
1
+ export { default } from "./spacing.js";
2
+ export * from "./spacing.js";
@@ -0,0 +1,18 @@
1
+ import { SimpleStyleFunction, spacing, PropsFor } from "../Box/index.js";
2
+ export type SpacingValueType = string | number | null | undefined;
3
+ export type SpacingProps = PropsFor<typeof spacing>;
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'>;
15
+ export type MarginProps = PropsFor<typeof margin>;
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>;
@@ -0,0 +1,2 @@
1
+ export { default } from "./style.js";
2
+ export * from "./style.js";
@@ -0,0 +1,19 @@
1
+ import { CSSObject } from '@mui/styled-engine';
2
+ import { StyleFunction } from "../Box/index.js";
3
+ export type TransformFunction = (cssValue: unknown, userValue: unknown) => number | string | React.CSSProperties | CSSObject;
4
+ export interface StyleOptions<PropKey> {
5
+ cssProperty?: PropKey | keyof React.CSSProperties | false;
6
+ prop: PropKey;
7
+ /**
8
+ * dot access in `Theme`
9
+ */
10
+ themeKey?: string;
11
+ transform?: TransformFunction;
12
+ }
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
+ };
18
+ export function getPath<T>(obj: T, path: string | undefined, checkVars?: boolean): null | unknown;
19
+ export function getStyleValue(themeMapping: object | ((arg: any) => any), transform: TransformFunction | null, propValueFinal: unknown, userValue?: unknown): any;
@@ -0,0 +1,269 @@
1
+ import { StandardCSSProperties } from "./StandardCssProperties.js";
2
+ export interface AliasesCSSProperties {
3
+ /**
4
+ * The **`background-color`** CSS property sets the background color of an element.
5
+ *
6
+ * **Initial value**: `transparent`
7
+ *
8
+ * | Chrome | Firefox | Safari | Edge | IE |
9
+ * | :----: | :-----: | :----: | :----: | :---: |
10
+ * | **1** | **1** | **1** | **12** | **4** |
11
+ *
12
+ * @see https://developer.mozilla.org/docs/Web/CSS/background-color
13
+ */
14
+ bgcolor?: StandardCSSProperties['backgroundColor'];
15
+ /**
16
+ * The **`margin`** CSS property sets the margin on all four sides of an element. It is a shorthand for `margin-top`, `margin-right`, `margin-bottom`, and `margin-left`.
17
+ *
18
+ * | Chrome | Firefox | Safari | Edge | IE |
19
+ * | :----: | :-----: | :----: | :----: | :---: |
20
+ * | **1** | **1** | **1** | **12** | **3** |
21
+ *
22
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin
23
+ */
24
+ m?: StandardCSSProperties['margin'];
25
+ /**
26
+ * The **`margin-top`** CSS property sets the margin on the top of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
27
+ *
28
+ * **Initial value**: `0`
29
+ *
30
+ * | Chrome | Firefox | Safari | Edge | IE |
31
+ * | :----: | :-----: | :----: | :----: | :---: |
32
+ * | **1** | **1** | **1** | **12** | **3** |
33
+ *
34
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-top
35
+ */
36
+ mt?: StandardCSSProperties['marginTop'];
37
+ /**
38
+ * The **`margin-right`** CSS property sets the margin on the right side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
39
+ *
40
+ * **Initial value**: `0`
41
+ *
42
+ * | Chrome | Firefox | Safari | Edge | IE |
43
+ * | :----: | :-----: | :----: | :----: | :---: |
44
+ * | **1** | **1** | **1** | **12** | **3** |
45
+ *
46
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-right
47
+ */
48
+ mr?: StandardCSSProperties['marginRight'];
49
+ /**
50
+ * The **`margin-bottom`** CSS property sets the margin on the bottom of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
51
+ *
52
+ * **Initial value**: `0`
53
+ *
54
+ * | Chrome | Firefox | Safari | Edge | IE |
55
+ * | :----: | :-----: | :----: | :----: | :---: |
56
+ * | **1** | **1** | **1** | **12** | **3** |
57
+ *
58
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-bottom
59
+ */
60
+ mb?: StandardCSSProperties['marginBottom'];
61
+ /**
62
+ * The **`margin-left`** CSS property sets the margin on the left side of an element. A positive value places it farther from its neighbors, while a negative value places it closer.
63
+ *
64
+ * **Initial value**: `0`
65
+ *
66
+ * | Chrome | Firefox | Safari | Edge | IE |
67
+ * | :----: | :-----: | :----: | :----: | :---: |
68
+ * | **1** | **1** | **1** | **12** | **3** |
69
+ *
70
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-left
71
+ */
72
+ ml?: StandardCSSProperties['marginLeft'];
73
+ /**
74
+ * The **`mx`** property is shorthand for using both **`margin-left`** and **`margin-right`** CSS properties. They set the margin on the left and right side of an element. A positive value places it
75
+ * farther from its neighbors, while a negative value places it closer.
76
+ *
77
+ * **Initial value**: `0`
78
+ *
79
+ * | Chrome | Firefox | Safari | Edge | IE |
80
+ * | :----: | :-----: | :----: | :----: | :---: |
81
+ * | **1** | **1** | **1** | **12** | **3** |
82
+ *
83
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-left
84
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-right
85
+ */
86
+ mx?: StandardCSSProperties['marginLeft'];
87
+ /**
88
+ * The **`marginX`** property is shorthand for using both **`margin-left`** and **`margin-right`** CSS properties. They set the margin on the left and right side of an element. A positive value
89
+ * places it farther from its neighbors, while a negative value places it closer.
90
+ *
91
+ * **Initial value**: `0`
92
+ *
93
+ * | Chrome | Firefox | Safari | Edge | IE |
94
+ * | :----: | :-----: | :----: | :----: | :---: |
95
+ * | **1** | **1** | **1** | **12** | **3** |
96
+ *
97
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-left
98
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-right
99
+ */
100
+ marginX?: StandardCSSProperties['marginLeft'];
101
+ /**
102
+ * The **`my`** property is shorthand for using both **`margin-top`** and **`margin-bottom`** CSS properties. They set the margin on the top and bottom of an element. A positive value places it
103
+ * farther from its neighbors, while a negative value places it closer.
104
+ *
105
+ * **Initial value**: `0`
106
+ *
107
+ * | Chrome | Firefox | Safari | Edge | IE |
108
+ * | :----: | :-----: | :----: | :----: | :---: |
109
+ * | **1** | **1** | **1** | **12** | **3** |
110
+ *
111
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-top
112
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-bottom
113
+ */
114
+ my?: StandardCSSProperties['marginTop'];
115
+ /**
116
+ * The **`marginY`** property is shorthand for using both **`margin-top`** and **`margin-bottom`** CSS properties. They set the margin on the top and bottom of an element. A positive value places
117
+ * it farther from its neighbors, while a negative value places it closer.
118
+ *
119
+ * **Initial value**: `0`
120
+ *
121
+ * | Chrome | Firefox | Safari | Edge | IE |
122
+ * | :----: | :-----: | :----: | :----: | :---: |
123
+ * | **1** | **1** | **1** | **12** | **3** |
124
+ *
125
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-top
126
+ * @see https://developer.mozilla.org/docs/Web/CSS/margin-bottom
127
+ */
128
+ marginY?: StandardCSSProperties['marginTop'];
129
+ /**
130
+ * The **`padding`** CSS property sets the padding on all four sides of an element. It is a shorthand for `padding-top`, `padding-right`, `padding-bottom`, and `padding-left`.
131
+ *
132
+ * | Chrome | Firefox | Safari | Edge | IE |
133
+ * | :----: | :-----: | :----: | :----: | :---: |
134
+ * | **1** | **1** | **1** | **12** | **4** |
135
+ *
136
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding
137
+ */
138
+ p?: StandardCSSProperties['padding'];
139
+ /**
140
+ * The **`padding-top`** CSS property sets the height of the padding at the top of an element.
141
+ *
142
+ * **Initial value**: `0`
143
+ *
144
+ * | Chrome | Firefox | Safari | Edge | IE |
145
+ * | :----: | :-----: | :----: | :----: | :---: |
146
+ * | **1** | **1** | **1** | **12** | **4** |
147
+ *
148
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-top
149
+ */
150
+ pt?: StandardCSSProperties['paddingTop'];
151
+ /**
152
+ * The **`padding-right`** CSS property sets the width of the padding at the right side of an element.
153
+ *
154
+ * **Initial value**: `0`
155
+ *
156
+ * | Chrome | Firefox | Safari | Edge | IE |
157
+ * | :----: | :-----: | :----: | :----: | :---: |
158
+ * | **1** | **1** | **1** | **12** | **4** |
159
+ *
160
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-right
161
+ */
162
+ pr?: StandardCSSProperties['paddingRight'];
163
+ /**
164
+ * The **`padding-bottom`** CSS property sets the height of the padding on the bottom of an element.
165
+ *
166
+ * **Initial value**: `0`
167
+ *
168
+ * | Chrome | Firefox | Safari | Edge | IE |
169
+ * | :----: | :-----: | :----: | :----: | :---: |
170
+ * | **1** | **1** | **1** | **12** | **4** |
171
+ *
172
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-bottom
173
+ */
174
+ pb?: StandardCSSProperties['paddingBottom'];
175
+ /**
176
+ * The **`padding-left`** CSS property sets the width of the padding at the left side of an element.
177
+ *
178
+ * **Initial value**: `0`
179
+ *
180
+ * | Chrome | Firefox | Safari | Edge | IE |
181
+ * | :----: | :-----: | :----: | :----: | :---: |
182
+ * | **1** | **1** | **1** | **12** | **4** |
183
+ *
184
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-left
185
+ */
186
+ pl?: StandardCSSProperties['paddingLeft'];
187
+ /**
188
+ * The **`px`** property is shorthand for the CSS properties **`padding-left`** and **`padding-right`**. They set the width of the padding at the left and right side of an element.
189
+ *
190
+ * **Initial value**: `0`
191
+ *
192
+ * | Chrome | Firefox | Safari | Edge | IE |
193
+ * | :----: | :-----: | :----: | :----: | :---: |
194
+ * | **1** | **1** | **1** | **12** | **4** |
195
+ *
196
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-left
197
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-right
198
+ */
199
+ px?: StandardCSSProperties['paddingLeft'];
200
+ /**
201
+ * The **`paddingX`** property is shorthand for the CSS properties **`padding-left`** and **`padding-right`**. They set the width of the padding at the left and right sides of an element.
202
+ *
203
+ * **Initial value**: `0`
204
+ *
205
+ * | Chrome | Firefox | Safari | Edge | IE |
206
+ * | :----: | :-----: | :----: | :----: | :---: |
207
+ * | **1** | **1** | **1** | **12** | **4** |
208
+ *
209
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-left
210
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-right
211
+ */
212
+ paddingX?: StandardCSSProperties['paddingLeft'];
213
+ /**
214
+ * The **`py`** property is shorthand for the CSS properties **`padding-top`** and **`padding-bottom`**. They set the width of the padding at the top and bottom of an element.
215
+ *
216
+ * **Initial value**: `0`
217
+ *
218
+ * | Chrome | Firefox | Safari | Edge | IE |
219
+ * | :----: | :-----: | :----: | :----: | :---: |
220
+ * | **1** | **1** | **1** | **12** | **4** |
221
+ *
222
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-top
223
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-bottom
224
+ */
225
+ py?: StandardCSSProperties['paddingTop'];
226
+ /**
227
+ * The **`paddingY`** property is shorthand for the CSS properties **`padding-top`** and **`padding-bottom`**. They set the width of the padding at the top and bottom of an element.
228
+ *
229
+ * **Initial value**: `0`
230
+ *
231
+ * | Chrome | Firefox | Safari | Edge | IE |
232
+ * | :----: | :-----: | :----: | :----: | :---: |
233
+ * | **1** | **1** | **1** | **12** | **4** |
234
+ *
235
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-top
236
+ * @see https://developer.mozilla.org/docs/Web/CSS/padding-bottom
237
+ */
238
+ paddingY?: StandardCSSProperties['paddingTop'];
239
+ /**
240
+ * The **`typography`** property is shorthand for the CSS properties **`font-family`**, **`font-weight`**, **`font-size`**, **`line-height`**, **`letter-spacing`** and **`text-transform``**.
241
+ * It takes the values defined under `theme.typography` and spreads them on the element.
242
+ *
243
+ * **Initial value**: `0`
244
+ *
245
+ * | Chrome | Firefox | Safari | Edge | IE |
246
+ * | :----: | :-----: | :----: | :----: | :---: |
247
+ * | **2** | **1** | **1** | **12** | **5.5** |
248
+ *
249
+ * @see https://developer.mozilla.org/docs/Web/CSS/font-family
250
+ * @see https://developer.mozilla.org/docs/Web/CSS/font-weight
251
+ * @see https://developer.mozilla.org/docs/Web/CSS/font-size
252
+ * @see https://developer.mozilla.org/docs/Web/CSS/line-height
253
+ * @see https://developer.mozilla.org/docs/Web/CSS/letter-spacing
254
+ * @see https://developer.mozilla.org/docs/Web/CSS/text-transform
255
+ */
256
+ typography?: string;
257
+ /**
258
+ * The **`displayPrint`** property sets the display value for the element when the page is printed.
259
+ *
260
+ * **Initial value**: `inline`
261
+ *
262
+ * | Chrome | Firefox | Safari | Edge | IE |
263
+ * | :----: | :-----: | :----: | :----: | :---: |
264
+ * | **1** | **1** | **1** | **12** | **4** |
265
+ *
266
+ * @see https://developer.mozilla.org/docs/Web/CSS/display
267
+ */
268
+ displayPrint?: StandardCSSProperties['display'];
269
+ }
@@ -0,0 +1,54 @@
1
+ import * as CSS from 'csstype';
2
+ export interface OverwriteCSSProperties {
3
+ /**
4
+ * The **`border`** CSS property is shorthand for the CSS properties **`border-width`**, **`border-style`**, and **`border-color`**. It sets an element's border.
5
+ *
6
+ * **Initial value**: `none`
7
+ *
8
+ * | Chrome | Firefox | Safari | Edge | IE |
9
+ * | :----: | :-----: | :----: | :----: | :---: |
10
+ * | **1** | **1** | **1** | **12** | **4** |
11
+ *
12
+ * @see https://developer.mozilla.org/docs/Web/CSS/border
13
+ */
14
+ border?: CSS.Property.Border | number;
15
+ /**
16
+ * The **`box-shadow`** CSS property adds shadow effects around an element's frame. You can set multiple effects separated by commas. A box shadow is described by X and Y offsets relative to the
17
+ * element for blur and spread radii, and by its color.
18
+ *
19
+ * **Initial value**: `none`
20
+ *
21
+ * | Chrome | Firefox | Safari | Edge | IE |
22
+ * | :-----: | :-----: | :-----: | :----: | :---: |
23
+ * | **10** | **4** | **5.1** | **12** | **9** |
24
+ * | 1 _-x-_ | | 3 _-x-_ | | |
25
+ *
26
+ * @see https://developer.mozilla.org/docs/Web/CSS/box-shadow
27
+ */
28
+ boxShadow?: CSS.Property.BoxShadow | number;
29
+ /**
30
+ * The **`font-weight`** CSS property specifies the weight (or boldness) of the font. The font weights available to you will depend on the `font-family` you are using. Some fonts are only
31
+ * available in `normal` and `bold`.
32
+ *
33
+ * **Initial value**: `normal`
34
+ *
35
+ * | Chrome | Firefox | Safari | Edge | IE |
36
+ * | :----: | :-----: | :----: | :----: | :---: |
37
+ * | **2** | **1** | **1** | **12** | **3** |
38
+ *
39
+ * @see https://developer.mozilla.org/docs/Web/CSS/font-weight
40
+ */
41
+ fontWeight?: CSS.Property.FontWeight | string;
42
+ /**
43
+ * The **`z-index`** CSS property sets the z-order of a positioned element and its descendants or flex items. Overlapping elements with a higher z-index cover those with a lower one.
44
+ *
45
+ * **Initial value**: `auto`
46
+ *
47
+ * | Chrome | Firefox | Safari | Edge | IE |
48
+ * | :----: | :-----: | :----: | :----: | :---: |
49
+ * | **1** | **1** | **1** | **12** | **4** |
50
+ *
51
+ * @see https://developer.mozilla.org/docs/Web/CSS/z-index
52
+ */
53
+ zIndex?: CSS.Property.ZIndex | string;
54
+ }
@@ -0,0 +1,2 @@
1
+ import * as CSS from 'csstype';
2
+ export type StandardCSSProperties = CSS.PropertiesFallback<number | string>;
@@ -0,0 +1,15 @@
1
+ import { StyleFunction } from "../Box/index.js";
2
+ import { TransformFunction } from "../style/index.js";
3
+ type SimpleStyleFunction<PropKey extends keyof any> = StyleFunction<Partial<Record<PropKey, any>>>;
4
+ export interface SxConfigRecord {
5
+ cssProperty?: keyof React.CSSProperties | false;
6
+ /**
7
+ * dot access in `Theme`
8
+ */
9
+ themeKey?: string;
10
+ transform?: TransformFunction;
11
+ style?: SimpleStyleFunction<any>;
12
+ }
13
+ export type SxConfig = Record<string, SxConfigRecord>;
14
+ declare const defaultSxConfig: SxConfig;
15
+ export default defaultSxConfig;
@@ -0,0 +1,4 @@
1
+ import { SxProps } from "./styleFunctionSx.js";
2
+ export default function extendSxProp<Props extends {
3
+ sx?: SxProps<any>;
4
+ } = {}>(props: Props): Props;
@@ -0,0 +1,9 @@
1
+ export { default } from "./styleFunctionSx.js";
2
+ export * from "./styleFunctionSx.js";
3
+ export * from "./AliasesCSSProperties.js";
4
+ export * from "./OverwriteCSSProperties.js";
5
+ export * from "./StandardCssProperties.js";
6
+ export { default as extendSxProp } from "./extendSxProp.js";
7
+ export { default as unstable_defaultSxConfig } from "./defaultSxConfig.js";
8
+ export * from "./defaultSxConfig.js";
9
+ export * from "./extendSxProp.js";