@synerise/ds-core 0.31.3 → 0.33.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/CHANGELOG.md CHANGED
@@ -3,6 +3,38 @@
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.33.0](https://github.com/synerise/synerise-design/compare/@synerise/ds-core@0.32.1...@synerise/ds-core@0.33.0) (2022-04-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **core:** updates defaults translations ([0ded217](https://github.com/synerise/synerise-design/commit/0ded217c927aa1eb7d03b0be92b2994a87c197da))
12
+ * **filter:** fixes bugs ([b862ddd](https://github.com/synerise/synerise-design/commit/b862dddbce1293c2a5381663fc903bb574edd135))
13
+
14
+
15
+
16
+
17
+
18
+ ## [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)
19
+
20
+ **Note:** Version bump only for package @synerise/ds-core
21
+
22
+
23
+
24
+
25
+
26
+ # [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)
27
+
28
+
29
+ ### Features
30
+
31
+ * **core:** exports type of default colors order ([12a761c](https://github.com/synerise/synerise-design/commit/12a761cd344353f4ebf212360b7c1d9d0afdc2d3))
32
+ * **table:** improvements for universal-list ([b1a1db1](https://github.com/synerise/synerise-design/commit/b1a1db11b72333f6b9bdd4468b73bc45b627cef0))
33
+
34
+
35
+
36
+
37
+
6
38
  ## [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)
7
39
 
8
40
 
package/dist/i18n/en.json CHANGED
@@ -300,10 +300,19 @@
300
300
  },
301
301
  "MATCHING": {
302
302
  "MATCHING": "matching",
303
- "NOT-MATCHING": "not matching"
303
+ "NOT-MATCHING": "not matching",
304
+ "PERFORMED": "Performed",
305
+ "NOT-PERFORMED": "Not performed",
306
+ "HAVE": "Have",
307
+ "NOT-HAVE": "Not have",
308
+ "EXPRESSION-TYPE": {
309
+ "ATTRIBUTE": "attribute",
310
+ "EVENT": "event"
311
+ }
304
312
  },
305
313
  "STEP-CARD": {
306
314
  "NAME-PLACEHOLDER": "Name",
315
+ "CONDITION-TYPE": "event",
307
316
  "MOVE": "Move",
308
317
  "DELETE": "Delete",
309
318
  "DUPLICATE": "Duplicate"
@@ -321,7 +330,7 @@
321
330
  "REMOVE-CONDITION-ROW-TOOLTIP": "Delete",
322
331
  "ADD-FIRST-CONDITION-ROW-BUTTON": "Add condition",
323
332
  "ADD-CONDITION-ROW-BUTTON": "Add condition",
324
- "ADD-STEP": "Add step",
333
+ "ADD-STEP": "and then...",
325
334
  "DROP-LABEL": "Drop me here",
326
335
  "MOVE-TOOLTIP": "Move",
327
336
  "DUPLICATE-TOOLTIP": "Duplicate",
@@ -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.3",
3
+ "version": "0.33.0",
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": "739b52320bb20c1646371224de5bb0c3454fac8c"
45
+ "gitHead": "5793ce09feb88b36cc8ca1923ddfcb272b889cb0"
46
46
  }