@snack-uikit/locale 0.6.1-preview-5d3667ec.0 → 0.7.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,17 @@
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.7.0 (2024-04-23)
7
+
8
+
9
+ ### Features
10
+
11
+ * **PDS-59:** add SearchPrivate placeholder locale; add GroupSelectItem select button locale; upd table row volume ([c30c879](https://github.com/cloud-ru-tech/snack-uikit/commit/c30c879096e4da6db8ab079673139e7886287edc))
12
+
13
+
14
+
15
+
16
+
6
17
  # 0.6.0 (2024-02-26)
7
18
 
8
19
 
package/README.md CHANGED
@@ -54,7 +54,7 @@ const lang = 'en_GB'; // or 'ru_RU' or 'custom_LANG'
54
54
  | name | type | default value | description |
55
55
  |------|------|---------------|-------------|
56
56
  | lang* | `string` | - | |
57
- | locales | `PartialObjectDeep<Record<string, { Table: { searchPlaceholder: string; noData: { title: string; }; noResults: { title: string; description: string; }; errorData: { title: string; description: string; }; rowsOptionsLabel: string; export: string; }; List: { ...; }; Chips: { ...; }; Fields: { ...; }; }>>` | - | |
57
+ | locales | `PartialObjectDeep<Record<string, { Table: { searchPlaceholder: string; noData: { title: string; }; noResults: { title: string; description: string; }; errorData: { title: string; description: string; }; rowsOptionsLabel: string; export: string; }; List: { ...; }; Chips: { ...; }; Fields: { ...; }; SearchPrivate: { ....` | - | |
58
58
  ## useLocale
59
59
  `helper`
60
60
 
@@ -25,6 +25,10 @@ export declare const en_GB: {
25
25
  errorData: {
26
26
  description: string;
27
27
  };
28
+ groupSelectButton: {
29
+ reset: string;
30
+ select: string;
31
+ };
28
32
  };
29
33
  Chips: {
30
34
  clearAllButton: string;
@@ -36,4 +40,7 @@ export declare const en_GB: {
36
40
  min: string;
37
41
  };
38
42
  };
43
+ SearchPrivate: {
44
+ placeholder: string;
45
+ };
39
46
  };
@@ -25,6 +25,10 @@ export const en_GB = {
25
25
  errorData: {
26
26
  description: 'Error loading data',
27
27
  },
28
+ groupSelectButton: {
29
+ reset: 'Reset all',
30
+ select: 'Select all',
31
+ },
28
32
  },
29
33
  Chips: {
30
34
  clearAllButton: 'Clear all',
@@ -36,4 +40,7 @@ export const en_GB = {
36
40
  min: 'Value should be greater or equal ',
37
41
  },
38
42
  },
43
+ SearchPrivate: {
44
+ placeholder: 'Search',
45
+ },
39
46
  };
@@ -26,6 +26,10 @@ export declare const LOCALES: {
26
26
  errorData: {
27
27
  description: string;
28
28
  };
29
+ groupSelectButton: {
30
+ reset: string;
31
+ select: string;
32
+ };
29
33
  };
30
34
  Chips: {
31
35
  clearAllButton: string;
@@ -37,6 +41,9 @@ export declare const LOCALES: {
37
41
  min: string;
38
42
  };
39
43
  };
44
+ SearchPrivate: {
45
+ placeholder: string;
46
+ };
40
47
  };
41
48
  readonly ru_RU: {
42
49
  Table: {
@@ -65,6 +72,10 @@ export declare const LOCALES: {
65
72
  errorData: {
66
73
  description: string;
67
74
  };
75
+ groupSelectButton: {
76
+ reset: string;
77
+ select: string;
78
+ };
68
79
  };
69
80
  Chips: {
70
81
  clearAllButton: string;
@@ -76,5 +87,8 @@ export declare const LOCALES: {
76
87
  min: string;
77
88
  };
78
89
  };
90
+ SearchPrivate: {
91
+ placeholder: string;
92
+ };
79
93
  };
80
94
  };
@@ -29,6 +29,10 @@ export const ru_RU = {
29
29
  errorData: {
30
30
  description: 'Ошибка загрузки данных',
31
31
  },
32
+ groupSelectButton: {
33
+ reset: 'Сбросить все',
34
+ select: 'Выбрать все',
35
+ },
32
36
  },
33
37
  Fields: {
34
38
  limitTooltip: {
@@ -36,4 +40,7 @@ export const ru_RU = {
36
40
  min: 'Значение должно быть больше либо равно ',
37
41
  },
38
42
  },
43
+ SearchPrivate: {
44
+ placeholder: 'Поиск',
45
+ },
39
46
  };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Locale",
7
- "version": "0.6.1-preview-5d3667ec.0",
7
+ "version": "0.7.0",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -37,5 +37,5 @@
37
37
  "devDependencies": {
38
38
  "@types/lodash.merge": "4.6.9"
39
39
  },
40
- "gitHead": "311bf31807d9b8cc975e80caf14ec35108256337"
40
+ "gitHead": "bf1e1f3cfabccc1ee288c18722e33009bd001798"
41
41
  }
@@ -25,6 +25,10 @@ export const en_GB = {
25
25
  errorData: {
26
26
  description: 'Error loading data',
27
27
  },
28
+ groupSelectButton: {
29
+ reset: 'Reset all',
30
+ select: 'Select all',
31
+ },
28
32
  },
29
33
  Chips: {
30
34
  clearAllButton: 'Clear all',
@@ -36,4 +40,7 @@ export const en_GB = {
36
40
  min: 'Value should be greater or equal ',
37
41
  },
38
42
  },
43
+ SearchPrivate: {
44
+ placeholder: 'Search',
45
+ },
39
46
  };
@@ -31,6 +31,10 @@ export const ru_RU: typeof en_GB = {
31
31
  errorData: {
32
32
  description: 'Ошибка загрузки данных',
33
33
  },
34
+ groupSelectButton: {
35
+ reset: 'Сбросить все',
36
+ select: 'Выбрать все',
37
+ },
34
38
  },
35
39
  Fields: {
36
40
  limitTooltip: {
@@ -38,4 +42,7 @@ export const ru_RU: typeof en_GB = {
38
42
  min: 'Значение должно быть больше либо равно ',
39
43
  },
40
44
  },
45
+ SearchPrivate: {
46
+ placeholder: 'Поиск',
47
+ },
41
48
  };