@mantine/emotion 7.8.1-alpha.0 → 7.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/types.d.ts +3 -1
- package/package.json +5 -6
package/lib/types.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as CSSType from 'csstype';
|
|
2
2
|
import type { MantineTheme } from '@mantine/core';
|
|
3
|
-
|
|
3
|
+
import type { EmotionHelpers } from './create-styles';
|
|
4
|
+
export type EmotionSx = CSSObject | ((theme: MantineTheme, u: EmotionHelpers) => CSSObject);
|
|
5
|
+
export type EmotionStyles = Record<string, CSSObject> | ((theme: MantineTheme, props: Record<string, any>, u: EmotionHelpers) => Record<string, CSSObject>);
|
|
4
6
|
export interface CSS {
|
|
5
7
|
(template: TemplateStringsArray, ...args: CSSInterpolation[]): string;
|
|
6
8
|
(...args: CSSInterpolation[]): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/emotion",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.9.0",
|
|
4
4
|
"description": "Emotion bindings for Mantine",
|
|
5
5
|
"homepage": "https://mantine.dev/",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,10 +34,9 @@
|
|
|
34
34
|
"@emotion/cache": "^11.11.0",
|
|
35
35
|
"@emotion/react": "^11.11.4",
|
|
36
36
|
"@emotion/serialize": "^1.1.4",
|
|
37
|
-
"@emotion/server": "^11.11.0",
|
|
38
37
|
"@emotion/utils": "^1.2.1",
|
|
39
|
-
"@mantine/core": "
|
|
40
|
-
"@mantine/hooks": "
|
|
38
|
+
"@mantine/core": "7.9.0",
|
|
39
|
+
"@mantine/hooks": "7.9.0",
|
|
41
40
|
"react": "^18.2.0",
|
|
42
41
|
"react-dom": "^18.2.0"
|
|
43
42
|
},
|
|
@@ -46,7 +45,7 @@
|
|
|
46
45
|
},
|
|
47
46
|
"devDependencies": {
|
|
48
47
|
"@mantine-tests/core": "1.1.0",
|
|
49
|
-
"@mantine/core": "7.
|
|
50
|
-
"@mantine/hooks": "7.
|
|
48
|
+
"@mantine/core": "7.9.0",
|
|
49
|
+
"@mantine/hooks": "7.9.0"
|
|
51
50
|
}
|
|
52
51
|
}
|