@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 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" | "Markdown" | keyof D>(componentName: C): {
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
  };
@@ -74,8 +74,7 @@ export declare const en_GB: {
74
74
  uploaded: string;
75
75
  };
76
76
  };
77
- Markdown: {
77
+ CodeEditor: {
78
78
  copyButtonToolTip: string;
79
- codeEditorTitle: string;
80
79
  };
81
80
  };
@@ -80,8 +80,7 @@ exports.en_GB = {
80
80
  uploaded: 'Uploaded'
81
81
  }
82
82
  },
83
- Markdown: {
84
- copyButtonToolTip: 'Copy',
85
- codeEditorTitle: 'Code'
83
+ CodeEditor: {
84
+ copyButtonToolTip: 'Copy'
86
85
  }
87
86
  };
@@ -75,9 +75,8 @@ export declare const LOCALES: {
75
75
  uploaded: string;
76
76
  };
77
77
  };
78
- Markdown: {
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
- Markdown: {
158
+ CodeEditor: {
160
159
  copyButtonToolTip: string;
161
- codeEditorTitle: string;
162
160
  };
163
161
  };
164
162
  };
@@ -80,8 +80,7 @@ exports.ru_RU = {
80
80
  uploaded: 'Загружено'
81
81
  }
82
82
  },
83
- Markdown: {
84
- copyButtonToolTip: 'Копировать',
85
- codeEditorTitle: 'Код'
83
+ CodeEditor: {
84
+ copyButtonToolTip: 'Копировать'
86
85
  }
87
86
  };
@@ -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" | "Markdown" | keyof D>(componentName: C): {
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
  };
@@ -74,8 +74,7 @@ export declare const en_GB: {
74
74
  uploaded: string;
75
75
  };
76
76
  };
77
- Markdown: {
77
+ CodeEditor: {
78
78
  copyButtonToolTip: string;
79
- codeEditorTitle: string;
80
79
  };
81
80
  };
@@ -74,8 +74,7 @@ export const en_GB = {
74
74
  uploaded: 'Uploaded',
75
75
  },
76
76
  },
77
- Markdown: {
77
+ CodeEditor: {
78
78
  copyButtonToolTip: 'Copy',
79
- codeEditorTitle: 'Code',
80
79
  },
81
80
  };
@@ -75,9 +75,8 @@ export declare const LOCALES: {
75
75
  uploaded: string;
76
76
  };
77
77
  };
78
- Markdown: {
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
- Markdown: {
158
+ CodeEditor: {
160
159
  copyButtonToolTip: string;
161
- codeEditorTitle: string;
162
160
  };
163
161
  };
164
162
  };
@@ -74,8 +74,7 @@ export const ru_RU = {
74
74
  uploaded: 'Загружено',
75
75
  },
76
76
  },
77
- Markdown: {
77
+ CodeEditor: {
78
78
  copyButtonToolTip: 'Копировать',
79
- codeEditorTitle: 'Код',
80
79
  },
81
80
  };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "title": "Locale",
7
- "version": "0.14.1-preview-580e8472.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": "83474111057d185ee911d5bb4489288c89f1490f"
44
+ "gitHead": "bfec8dd0ba3b8e294440db45599d9770216e602f"
45
45
  }
@@ -76,8 +76,7 @@ export const en_GB = {
76
76
  uploaded: 'Uploaded',
77
77
  },
78
78
  },
79
- Markdown: {
79
+ CodeEditor: {
80
80
  copyButtonToolTip: 'Copy',
81
- codeEditorTitle: 'Code',
82
81
  },
83
82
  } satisfies Dictionary;
@@ -76,8 +76,7 @@ export const ru_RU: typeof en_GB = {
76
76
  uploaded: 'Загружено',
77
77
  },
78
78
  },
79
- Markdown: {
79
+ CodeEditor: {
80
80
  copyButtonToolTip: 'Копировать',
81
- codeEditorTitle: 'Код',
82
81
  },
83
82
  };