@synerise/ds-core 0.39.7 → 0.39.9
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,28 @@
|
|
|
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.39.9](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.39.8...@synerise/ds-core@0.39.9) (2023-06-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.39.8](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.39.7...@synerise/ds-core@0.39.8) (2023-04-26)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **core:** exports ds-typed usetheme hook ([1246d86](https://github.com/synerise/synerise-design/commit/1246d86e03c75c8b001ef5dbce3e91c6edf25b47))
|
|
20
|
+
* **core:** reexport theme props for withTheme hook ([79ee3e5](https://github.com/synerise/synerise-design/commit/79ee3e5591883ca9be8a17641ab71bd0a8fab27b))
|
|
21
|
+
* **core:** removes unnecessary wrapper fn ([12c2eaf](https://github.com/synerise/synerise-design/commit/12c2eafa59fe3acd3e557ffe512f04b618fa2965))
|
|
22
|
+
* **date-range-picker:** adds missing translation keys ([2bee40b](https://github.com/synerise/synerise-design/commit/2bee40bd8374386cfa9baecc4bae1cc9cc347ae2))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [0.39.7](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.39.6...@synerise/ds-core@0.39.7) (2023-04-14)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @synerise/ds-core
|
package/dist/i18n/en.json
CHANGED
|
@@ -283,7 +283,18 @@
|
|
|
283
283
|
"IN-WEEK": "week",
|
|
284
284
|
"IN-MONTH": "month",
|
|
285
285
|
"MAXIMUM-RANGES-MESSAGE": "You have reached a maximum amount of ranges for selected entries.",
|
|
286
|
-
"SET_TIME_FOR": "Set time for:"
|
|
286
|
+
"SET_TIME_FOR": "Set time for:",
|
|
287
|
+
"START-DATE-PLACEHOLDER": "Start date",
|
|
288
|
+
"END-DATE-PLACEHOLDER": "End date",
|
|
289
|
+
"ADD-FILTER": "Add filter",
|
|
290
|
+
"FILTER-ENABLED": "Filter enabled",
|
|
291
|
+
"COPY-RANGE": "Copy range",
|
|
292
|
+
"PASTE-RANGE": "Paste range",
|
|
293
|
+
"CLEAR-RANGE": "Clear range",
|
|
294
|
+
"RANGE": "Range",
|
|
295
|
+
"HOUR": "Hour",
|
|
296
|
+
"SAVED-FILTERS": "Saved filters",
|
|
297
|
+
"CHANGE": "Change"
|
|
287
298
|
},
|
|
288
299
|
"CARD-TAB": {
|
|
289
300
|
"REMOVE": "Remove",
|
package/dist/i18n/pl.json
CHANGED
|
@@ -239,7 +239,18 @@
|
|
|
239
239
|
"MULTIPLE-MODE-HINT": "Użyj klawisza Shift by wybrać wiele.",
|
|
240
240
|
"SAVE-FILTER": "Zapisz filtr",
|
|
241
241
|
"FILTER-NAME": "Nazwa filtra",
|
|
242
|
-
"SET_TIME_FOR": "Ustaw czas na:"
|
|
242
|
+
"SET_TIME_FOR": "Ustaw czas na:",
|
|
243
|
+
"START-DATE-PLACEHOLDER": "Od",
|
|
244
|
+
"END-DATE-PLACEHOLDER": "Do",
|
|
245
|
+
"ADD-FILTER": "Dodaj filtr",
|
|
246
|
+
"FILTER-ENABLED": "Filtr zdefiniowany",
|
|
247
|
+
"COPY-RANGE": "Kopiuj zakres",
|
|
248
|
+
"PASTE-RANGE": "Wklej zakres",
|
|
249
|
+
"CLEAR-RANGE": "Usuń zakres",
|
|
250
|
+
"RANGE": "Zakres",
|
|
251
|
+
"HOUR": "Godzina",
|
|
252
|
+
"SAVED-FILTERS": "Zapisane filtry",
|
|
253
|
+
"CHANGE": "Zmień"
|
|
243
254
|
},
|
|
244
255
|
"CARD-TAB": {
|
|
245
256
|
"RENAME": "Zmień nazwę",
|
|
@@ -12,6 +12,8 @@ export declare type ThemePropsVars = {
|
|
|
12
12
|
breakpoints: string[];
|
|
13
13
|
};
|
|
14
14
|
export declare type ThemeProps = SCThemeProps<ThemePropsVars>;
|
|
15
|
+
export declare type WithTheme = SCThemeProps<ThemePropsVars>;
|
|
16
|
+
export declare const useTheme: () => ThemePropsVars;
|
|
15
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"];
|
|
16
18
|
export declare type DefaultColor = typeof defaultColorsOrder[number];
|
|
17
19
|
declare const theme: ThemePropsVars;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
|
1
|
+
import { useTheme as originalUseTheme } from 'styled-components'; // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
|
2
2
|
// @ts-ignore
|
|
3
|
+
|
|
3
4
|
import vars from './variables';
|
|
4
5
|
import breakpoints from './breakpoints';
|
|
6
|
+
export var useTheme = originalUseTheme;
|
|
5
7
|
|
|
6
8
|
var getBreakpoints = function getBreakpoints() {
|
|
7
9
|
return [breakpoints.small.max, breakpoints.medium.max, breakpoints.large.max].map(function (item) {
|
package/dist/js/index.d.ts
CHANGED
package/dist/js/index.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export { default as DSProvider } from './DSProvider';
|
|
2
|
-
export { default as mediaQuery } from './mediaQuery/mediaQuery';
|
|
2
|
+
export { default as mediaQuery } from './mediaQuery/mediaQuery';
|
|
3
|
+
export { default as theme, useTheme, ThemePropsVars, ThemeProps, WithTheme, DefaultColor, defaultColorsOrder } from './DSProvider/ThemeProvider/theme';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-core",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.9",
|
|
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.3.
|
|
33
|
+
"@synerise/ds-data-format": "^0.3.5",
|
|
34
34
|
"deepmerge": "^4.2.2",
|
|
35
35
|
"flat": "^5.0.0"
|
|
36
36
|
},
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"less-vars-loader": "1.1.0",
|
|
44
44
|
"webpack": "4.42.0"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "948b33abd56086fc73880204892f90bd6ddc0a72"
|
|
47
47
|
}
|