@snack-uikit/locale 0.12.0 → 0.12.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,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.12.1 (2025-03-06)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **PDS-1483:** updated translations for table ([1d3e431](https://github.com/cloud-ru-tech/snack-uikit/commit/1d3e4317b01ed70fb44dda3ae16f38792cf9f936))
12
+
13
+
14
+
15
+
16
+
6
17
  # 0.12.0 (2025-02-05)
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; }; ... 6 more ...; Toolbar: { ...; }; }>>` | - | |
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; groupSelectButton: { ...; }; }; ... 6 more ...; Toolbar: { ...; }; }>>` | - | |
58
58
  ## useLocale
59
59
  `helper`
60
60
 
@@ -14,6 +14,10 @@ export declare const en_GB: {
14
14
  };
15
15
  rowsOptionsLabel: string;
16
16
  export: string;
17
+ groupSelectButton: {
18
+ hide: string;
19
+ show: string;
20
+ };
17
21
  };
18
22
  List: {
19
23
  noData: {
@@ -19,7 +19,11 @@ exports.en_GB = {
19
19
  description: 'Try refreshing the page'
20
20
  },
21
21
  rowsOptionsLabel: 'Rows volume',
22
- export: 'Export to '
22
+ export: 'Export to ',
23
+ groupSelectButton: {
24
+ hide: 'Hide all',
25
+ show: 'Show all'
26
+ }
23
27
  },
24
28
  List: {
25
29
  noData: {
@@ -15,6 +15,10 @@ export declare const LOCALES: {
15
15
  };
16
16
  rowsOptionsLabel: string;
17
17
  export: string;
18
+ groupSelectButton: {
19
+ hide: string;
20
+ show: string;
21
+ };
18
22
  };
19
23
  List: {
20
24
  noData: {
@@ -78,6 +82,10 @@ export declare const LOCALES: {
78
82
  };
79
83
  rowsOptionsLabel: string;
80
84
  export: string;
85
+ groupSelectButton: {
86
+ hide: string;
87
+ show: string;
88
+ };
81
89
  };
82
90
  List: {
83
91
  noData: {
@@ -19,7 +19,11 @@ exports.ru_RU = {
19
19
  description: 'Попробуйте обновить страницу'
20
20
  },
21
21
  rowsOptionsLabel: 'Кол-во строк',
22
- export: 'Экспортировать в '
22
+ export: 'Экспортировать в ',
23
+ groupSelectButton: {
24
+ hide: 'Скрыть все',
25
+ show: 'Показать все'
26
+ }
23
27
  },
24
28
  Chips: {
25
29
  allLabel: 'Все',
@@ -14,6 +14,10 @@ export declare const en_GB: {
14
14
  };
15
15
  rowsOptionsLabel: string;
16
16
  export: string;
17
+ groupSelectButton: {
18
+ hide: string;
19
+ show: string;
20
+ };
17
21
  };
18
22
  List: {
19
23
  noData: {
@@ -14,6 +14,10 @@ export const en_GB = {
14
14
  },
15
15
  rowsOptionsLabel: 'Rows volume',
16
16
  export: 'Export to ',
17
+ groupSelectButton: {
18
+ hide: 'Hide all',
19
+ show: 'Show all',
20
+ },
17
21
  },
18
22
  List: {
19
23
  noData: {
@@ -15,6 +15,10 @@ export declare const LOCALES: {
15
15
  };
16
16
  rowsOptionsLabel: string;
17
17
  export: string;
18
+ groupSelectButton: {
19
+ hide: string;
20
+ show: string;
21
+ };
18
22
  };
19
23
  List: {
20
24
  noData: {
@@ -78,6 +82,10 @@ export declare const LOCALES: {
78
82
  };
79
83
  rowsOptionsLabel: string;
80
84
  export: string;
85
+ groupSelectButton: {
86
+ hide: string;
87
+ show: string;
88
+ };
81
89
  };
82
90
  List: {
83
91
  noData: {
@@ -14,6 +14,10 @@ export const ru_RU = {
14
14
  },
15
15
  rowsOptionsLabel: 'Кол-во строк',
16
16
  export: 'Экспортировать в ',
17
+ groupSelectButton: {
18
+ hide: 'Скрыть все',
19
+ show: 'Показать все',
20
+ },
17
21
  },
18
22
  Chips: {
19
23
  allLabel: 'Все',
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Locale",
7
- "version": "0.12.0",
7
+ "version": "0.12.1",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -41,5 +41,5 @@
41
41
  "devDependencies": {
42
42
  "@types/lodash.merge": "4.6.9"
43
43
  },
44
- "gitHead": "70bed6c518009afe4292cb9d12baf08a16700781"
44
+ "gitHead": "cafb29b74a6ac4d38594e9d46599617925165935"
45
45
  }
@@ -14,6 +14,10 @@ export const en_GB = {
14
14
  },
15
15
  rowsOptionsLabel: 'Rows volume',
16
16
  export: 'Export to ',
17
+ groupSelectButton: {
18
+ hide: 'Hide all',
19
+ show: 'Show all',
20
+ },
17
21
  },
18
22
  List: {
19
23
  noData: {
@@ -16,6 +16,10 @@ export const ru_RU: typeof en_GB = {
16
16
  },
17
17
  rowsOptionsLabel: 'Кол-во строк',
18
18
  export: 'Экспортировать в ',
19
+ groupSelectButton: {
20
+ hide: 'Скрыть все',
21
+ show: 'Показать все',
22
+ },
19
23
  },
20
24
  Chips: {
21
25
  allLabel: 'Все',