@synerise/ds-core 0.31.2 → 0.32.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/CHANGELOG.md CHANGED
@@ -3,6 +3,37 @@
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.32.1](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.32.0...@synerise/ds-core@0.32.1) (2022-03-24)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-core
9
+
10
+
11
+
12
+
13
+
14
+ # [0.32.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.31.3...@synerise/ds-core@0.32.0) (2022-03-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **core:** exports type of default colors order ([12a761c](https://github.com/synerise/synerise-design/commit/12a761cd344353f4ebf212360b7c1d9d0afdc2d3))
20
+ * **table:** improvements for universal-list ([b1a1db1](https://github.com/synerise/synerise-design/commit/b1a1db11b72333f6b9bdd4468b73bc45b627cef0))
21
+
22
+
23
+
24
+
25
+
26
+ ## [0.31.3](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.31.2...@synerise/ds-core@0.31.3) (2022-03-14)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * **card-tabs:** add translations & change prop name ([1834111](https://github.com/synerise/synerise-design/commit/1834111a1809dcd990661f05e6cc09d45d45fb02))
32
+
33
+
34
+
35
+
36
+
6
37
  ## [0.31.2](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.31.1...@synerise/ds-core@0.31.2) (2021-11-22)
7
38
 
8
39
  **Note:** Version bump only for package @synerise/ds-core
package/dist/i18n/en.json CHANGED
@@ -326,6 +326,9 @@
326
326
  "MOVE-TOOLTIP": "Move",
327
327
  "DUPLICATE-TOOLTIP": "Duplicate",
328
328
  "REMOVE-TOOLTIP": "Delete"
329
+ },
330
+ "PLACEHOLDER": {
331
+ "CHOOSE-CONDITION": "Choose type of condition below"
329
332
  }
330
333
  }
331
334
  }
package/dist/i18n/pl.json CHANGED
@@ -330,6 +330,9 @@
330
330
  "FILTER": {
331
331
  "DROP-ME-HERE": "Upuść mnie tutaj",
332
332
  "ADD-FILTER": "Dodaj filtr"
333
+ },
334
+ "PLACEHOLDER": {
335
+ "CHOOSE-CONDITION": "Wybierz rodzaj warunku"
333
336
  }
334
337
  }
335
338
  }
@@ -8,8 +8,11 @@ export declare type ThemePropsVars = {
8
8
  };
9
9
  variable: (name: string) => string | null;
10
10
  space: number[];
11
+ colorsOrder: string[];
11
12
  breakpoints: string[];
12
13
  };
13
14
  export declare type ThemeProps = SCThemeProps<ThemePropsVars>;
15
+ 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
+ export declare type DefaultColor = typeof defaultColorsOrder[number];
14
17
  declare const theme: ThemePropsVars;
15
18
  export default theme;
@@ -9,11 +9,16 @@ var getBreakpoints = function getBreakpoints() {
9
9
  });
10
10
  };
11
11
 
12
+ export var defaultColorsOrder = ['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'];
13
+ var colorsOrder = defaultColorsOrder.map(function (color) {
14
+ return vars.colors[color];
15
+ });
12
16
  var theme = {
13
17
  variables: vars.variables,
14
18
  palette: vars.colors,
15
19
  breakpoints: getBreakpoints(),
16
20
  space: [0, 8, 12, 16, 24, 32, 48, 64],
21
+ colorsOrder: colorsOrder,
17
22
  variable: function variable(name) {
18
23
  return name ? this.variables[name.slice(1)] : null;
19
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-core",
3
- "version": "0.31.2",
3
+ "version": "0.32.1",
4
4
  "description": "Core Components for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -42,5 +42,5 @@
42
42
  "less-vars-loader": "1.1.0",
43
43
  "webpack": "4.42.0"
44
44
  },
45
- "gitHead": "2468359677783819939fb9f1ef5acc36667ecd1a"
45
+ "gitHead": "8d3f48dbf8e3eddd679dee9f6d667d03b5f25ed0"
46
46
  }