@synerise/ds-core 0.40.2 → 0.40.3
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.40.3](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.40.2...@synerise/ds-core@0.40.3) (2023-10-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.40.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.40.1...@synerise/ds-core@0.40.2) (2023-09-26)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-core
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThemeProps as SCThemeProps } from 'styled-components';
|
|
2
|
-
export
|
|
2
|
+
export type ThemePropsVars = {
|
|
3
3
|
variables: {
|
|
4
4
|
[key: string]: string;
|
|
5
5
|
};
|
|
@@ -11,10 +11,10 @@ export declare type ThemePropsVars = {
|
|
|
11
11
|
colorsOrder: string[];
|
|
12
12
|
breakpoints: string[];
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
14
|
+
export type ThemeProps = SCThemeProps<ThemePropsVars>;
|
|
15
|
+
export type WithTheme = SCThemeProps<ThemePropsVars>;
|
|
16
16
|
export declare const useTheme: () => ThemePropsVars;
|
|
17
17
|
export declare const defaultColorsOrder: readonly ["blue-600", "green-600", "mars-600", "purple-600", "cyan-600", "yellow-600", "violet-600", "blue-700", "green-700", "mars-700", "purple-700", "cyan-700", "yellow-700", "violet-700", "blue-500", "green-500", "mars-500", "purple-500", "cyan-500", "yellow-500", "violet-500"];
|
|
18
|
-
export
|
|
18
|
+
export type DefaultColor = typeof defaultColorsOrder[number];
|
|
19
19
|
export declare const theme: ThemePropsVars;
|
|
20
20
|
export default theme;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { useTheme as originalUseTheme } from 'styled-components'; //
|
|
2
|
-
// @ts-ignore
|
|
1
|
+
import { useTheme as originalUseTheme } from 'styled-components'; // @ts-ignore
|
|
3
2
|
|
|
4
3
|
import vars from './variables';
|
|
5
4
|
import breakpoints from './breakpoints';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BaseThemedCssFunction } from 'styled-components';
|
|
2
|
-
export
|
|
2
|
+
export type Media = {
|
|
3
3
|
from: BreakpointsType;
|
|
4
4
|
to: BreakpointsType;
|
|
5
5
|
only: BreakpointsType;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type BreakpointsType = {
|
|
8
8
|
[key: string]: BaseThemedCssFunction<{
|
|
9
9
|
min: number;
|
|
10
10
|
max: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-core",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.3",
|
|
4
4
|
"description": "Core Components for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "synerise/synerise-design",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"types": "dist/js/index.js",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@synerise/ds-data-format": "^0.4.
|
|
33
|
+
"@synerise/ds-data-format": "^0.4.3",
|
|
34
34
|
"deepmerge": "^4.2.2",
|
|
35
35
|
"flat": "^5.0.0",
|
|
36
36
|
"intl-messageformat-parser": "^3.6.4",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@testing-library/react": "10.0.1",
|
|
46
|
-
"@types/flat": "5.0.
|
|
46
|
+
"@types/flat": "5.0.3",
|
|
47
47
|
"enzyme": "3.11.0",
|
|
48
48
|
"less-vars-loader": "1.1.0",
|
|
49
49
|
"webpack": "4.42.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "1c1adf344f447e404a1d6320ad1d3f8486f29f67"
|
|
52
52
|
}
|