@snack-uikit/locale 0.7.1 → 0.8.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 +11 -0
- package/README.md +1 -1
- package/dist/locales/en_GB.d.ts +4 -0
- package/dist/locales/en_GB.js +4 -0
- package/dist/locales/index.d.ts +8 -0
- package/dist/locales/ru_RU.js +4 -0
- package/package.json +2 -2
- package/src/locales/en_GB.ts +4 -0
- package/src/locales/ru_RU.ts +4 -0
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.8.0 (2024-09-26)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **PDS-691:** add ColorPicker locale ([093a5d0](https://github.com/cloud-ru-tech/snack-uikit/commit/093a5d0b35c42571ae93e7b690c97cc2d02a7cca))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 0.7.1 (2024-07-31)
|
|
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; };
|
|
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; }; ... 4 more ...; ColorPicker: { ...; }; }>>` | - | |
|
|
58
58
|
## useLocale
|
|
59
59
|
`helper`
|
|
60
60
|
|
package/dist/locales/en_GB.d.ts
CHANGED
package/dist/locales/en_GB.js
CHANGED
package/dist/locales/index.d.ts
CHANGED
|
@@ -44,6 +44,10 @@ export declare const LOCALES: {
|
|
|
44
44
|
SearchPrivate: {
|
|
45
45
|
placeholder: string;
|
|
46
46
|
};
|
|
47
|
+
ColorPicker: {
|
|
48
|
+
apply: string;
|
|
49
|
+
cancel: string;
|
|
50
|
+
};
|
|
47
51
|
};
|
|
48
52
|
readonly ru_RU: {
|
|
49
53
|
Table: {
|
|
@@ -90,5 +94,9 @@ export declare const LOCALES: {
|
|
|
90
94
|
SearchPrivate: {
|
|
91
95
|
placeholder: string;
|
|
92
96
|
};
|
|
97
|
+
ColorPicker: {
|
|
98
|
+
apply: string;
|
|
99
|
+
cancel: string;
|
|
100
|
+
};
|
|
93
101
|
};
|
|
94
102
|
};
|
package/dist/locales/ru_RU.js
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Locale",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.8.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": "
|
|
40
|
+
"gitHead": "6f68e2729e48e5b34674af649dc9dfb3bda3951f"
|
|
41
41
|
}
|
package/src/locales/en_GB.ts
CHANGED