@snack-uikit/locale 0.1.1 → 0.2.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 +22 -0
- package/dist/locales/en_GB.d.ts +6 -0
- package/dist/locales/en_GB.js +6 -0
- package/dist/locales/index.d.ts +12 -0
- package/dist/locales/ru_RU.d.ts +6 -0
- package/dist/locales/ru_RU.js +6 -0
- package/dist/types.d.ts +1 -1
- package/package.json +2 -2
- package/src/locales/en_GB.ts +6 -0
- package/src/locales/ru_RU.ts +6 -0
- package/src/types.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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.2.1 (2024-02-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **FF-4166:** typings for OverrideLocales ([042d349](https://github.com/cloud-ru-tech/snack-uikit/commit/042d3499d24e291cc6b2bd06d69971c105c73d51))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# 0.2.0 (2024-02-08)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **FF-4211:** add fields locales ([e1311d7](https://github.com/cloud-ru-tech/snack-uikit/commit/e1311d783215016d105f290362ca779f8e5c777f))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## 0.1.1 (2024-02-07)
|
|
7
29
|
|
|
8
30
|
|
package/dist/locales/en_GB.d.ts
CHANGED
package/dist/locales/en_GB.js
CHANGED
package/dist/locales/index.d.ts
CHANGED
|
@@ -15,6 +15,12 @@ export declare const LOCALES: {
|
|
|
15
15
|
Chips: {
|
|
16
16
|
clearAllButton: string;
|
|
17
17
|
};
|
|
18
|
+
Fields: {
|
|
19
|
+
limitTooltip: {
|
|
20
|
+
max: string;
|
|
21
|
+
min: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
18
24
|
};
|
|
19
25
|
readonly ru_RU: {
|
|
20
26
|
Table: {
|
|
@@ -32,5 +38,11 @@ export declare const LOCALES: {
|
|
|
32
38
|
Chips: {
|
|
33
39
|
clearAllButton: string;
|
|
34
40
|
};
|
|
41
|
+
Fields: {
|
|
42
|
+
limitTooltip: {
|
|
43
|
+
max: string;
|
|
44
|
+
min: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
35
47
|
};
|
|
36
48
|
};
|
package/dist/locales/ru_RU.d.ts
CHANGED
package/dist/locales/ru_RU.js
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { PartialDeep } from './typeUtils';
|
|
|
3
3
|
export type KnownLocaleLang = keyof typeof LOCALES;
|
|
4
4
|
export type LocaleLang = KnownLocaleLang | string;
|
|
5
5
|
export type LocaleDictionary = typeof LOCALES.en_GB;
|
|
6
|
-
export type OverrideLocales = PartialDeep<Record<KnownLocaleLang, LocaleDictionary>>
|
|
6
|
+
export type OverrideLocales = PartialDeep<Record<KnownLocaleLang, LocaleDictionary>> & Record<string, LocaleDictionary>;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Locale",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.2.1",
|
|
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": "70242f33831d873cf3b4a99a7285923f6c934906"
|
|
41
41
|
}
|
package/src/locales/en_GB.ts
CHANGED
package/src/locales/ru_RU.ts
CHANGED
package/src/types.ts
CHANGED
|
@@ -7,4 +7,4 @@ export type LocaleLang = KnownLocaleLang | string;
|
|
|
7
7
|
|
|
8
8
|
export type LocaleDictionary = typeof LOCALES.en_GB;
|
|
9
9
|
|
|
10
|
-
export type OverrideLocales = PartialDeep<Record<KnownLocaleLang, LocaleDictionary>>
|
|
10
|
+
export type OverrideLocales = PartialDeep<Record<KnownLocaleLang, LocaleDictionary>> & Record<string, LocaleDictionary>;
|