@snack-uikit/locale 0.14.1-preview-580e8472.0 → 0.15.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/dist/cjs/components/LocaleProvider/LocaleProvider.d.ts +1 -1
- package/dist/cjs/locales/en_GB.d.ts +1 -2
- package/dist/cjs/locales/en_GB.js +2 -3
- package/dist/cjs/locales/index.d.ts +2 -4
- package/dist/cjs/locales/ru_RU.js +2 -3
- package/dist/esm/components/LocaleProvider/LocaleProvider.d.ts +1 -1
- package/dist/esm/locales/en_GB.d.ts +1 -2
- package/dist/esm/locales/en_GB.js +1 -2
- package/dist/esm/locales/index.d.ts +2 -4
- package/dist/esm/locales/ru_RU.js +1 -2
- package/package.json +2 -2
- package/src/locales/en_GB.ts +1 -2
- package/src/locales/ru_RU.ts +1 -2
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.15.0 (2025-05-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **PDS-2227:** add copy button for code editor ([6891964](https://github.com/cloud-ru-tech/snack-uikit/commit/6891964be3dffecab54a3a226f250f6d303da7e9))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# 0.14.0 (2025-03-20)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -26,7 +26,7 @@ export declare function createLocaleContext<D extends Dictionary>({ extendedDict
|
|
|
26
26
|
t: GetLocaleText<D>;
|
|
27
27
|
lang: LocaleLang;
|
|
28
28
|
};
|
|
29
|
-
<C extends LocaleComponentName<D> = "Table" | "List" | "Chips" | "Fields" | "SearchPrivate" | "ColorPicker" | "Calendar" | "Toolbar" | "ToastUpload" | "
|
|
29
|
+
<C extends LocaleComponentName<D> = "Table" | "List" | "Chips" | "Fields" | "SearchPrivate" | "ColorPicker" | "Calendar" | "Toolbar" | "ToastUpload" | "CodeEditor" | keyof D>(componentName: C): {
|
|
30
30
|
t: GetLocaleText<D, C>;
|
|
31
31
|
lang: LocaleLang;
|
|
32
32
|
};
|
|
@@ -75,9 +75,8 @@ export declare const LOCALES: {
|
|
|
75
75
|
uploaded: string;
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
|
-
|
|
78
|
+
CodeEditor: {
|
|
79
79
|
copyButtonToolTip: string;
|
|
80
|
-
codeEditorTitle: string;
|
|
81
80
|
};
|
|
82
81
|
};
|
|
83
82
|
readonly 'ru-RU': {
|
|
@@ -156,9 +155,8 @@ export declare const LOCALES: {
|
|
|
156
155
|
uploaded: string;
|
|
157
156
|
};
|
|
158
157
|
};
|
|
159
|
-
|
|
158
|
+
CodeEditor: {
|
|
160
159
|
copyButtonToolTip: string;
|
|
161
|
-
codeEditorTitle: string;
|
|
162
160
|
};
|
|
163
161
|
};
|
|
164
162
|
};
|
|
@@ -26,7 +26,7 @@ export declare function createLocaleContext<D extends Dictionary>({ extendedDict
|
|
|
26
26
|
t: GetLocaleText<D>;
|
|
27
27
|
lang: LocaleLang;
|
|
28
28
|
};
|
|
29
|
-
<C extends LocaleComponentName<D> = "Table" | "List" | "Chips" | "Fields" | "SearchPrivate" | "ColorPicker" | "Calendar" | "Toolbar" | "ToastUpload" | "
|
|
29
|
+
<C extends LocaleComponentName<D> = "Table" | "List" | "Chips" | "Fields" | "SearchPrivate" | "ColorPicker" | "Calendar" | "Toolbar" | "ToastUpload" | "CodeEditor" | keyof D>(componentName: C): {
|
|
30
30
|
t: GetLocaleText<D, C>;
|
|
31
31
|
lang: LocaleLang;
|
|
32
32
|
};
|
|
@@ -75,9 +75,8 @@ export declare const LOCALES: {
|
|
|
75
75
|
uploaded: string;
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
|
-
|
|
78
|
+
CodeEditor: {
|
|
79
79
|
copyButtonToolTip: string;
|
|
80
|
-
codeEditorTitle: string;
|
|
81
80
|
};
|
|
82
81
|
};
|
|
83
82
|
readonly 'ru-RU': {
|
|
@@ -156,9 +155,8 @@ export declare const LOCALES: {
|
|
|
156
155
|
uploaded: string;
|
|
157
156
|
};
|
|
158
157
|
};
|
|
159
|
-
|
|
158
|
+
CodeEditor: {
|
|
160
159
|
copyButtonToolTip: string;
|
|
161
|
-
codeEditorTitle: string;
|
|
162
160
|
};
|
|
163
161
|
};
|
|
164
162
|
};
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Locale",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.15.0",
|
|
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": "
|
|
44
|
+
"gitHead": "bfec8dd0ba3b8e294440db45599d9770216e602f"
|
|
45
45
|
}
|
package/src/locales/en_GB.ts
CHANGED