@snack-uikit/code-editor 0.4.7-preview-2af706c7.0 → 0.5.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,27 @@
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.5.0 (2025-02-07)
7
+
8
+
9
+ ### Features
10
+
11
+ * **PDS-1445:** support json schema for yaml, json languages ([a709fe5](https://git.sbercloud.tech/sbercloud-ui/tokens-design-system/snack-uikit/commits/a709fe5e061917c5017de1bd1b6f01c15f4b3002))
12
+
13
+
14
+
15
+
16
+
17
+ ## 0.4.7 (2025-01-23)
18
+
19
+ ### Only dependencies have been changed
20
+ * [@snack-uikit/loaders@0.9.1](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/loaders/CHANGELOG.md)
21
+ * [@snack-uikit/utils@3.7.0](https://github.com/cloud-ru-tech/snack-uikit/blob/master/packages/utils/CHANGELOG.md)
22
+
23
+
24
+
25
+
26
+
6
27
  ## 0.4.6 (2024-12-17)
7
28
 
8
29
  ### Only dependencies have been changed
@@ -4,7 +4,7 @@ export type EditorBaseProps = MonacoEditorProps;
4
4
  export type SupportedSchemaLanguage = 'json' | 'yaml';
5
5
  export type JsonSchema = {
6
6
  uri?: string;
7
- schema?: JSONSchema;
7
+ schema: JSONSchema;
8
8
  fileMatch: string;
9
9
  };
10
10
  export type WithJsonSchema = {
@@ -4,7 +4,7 @@ export type EditorBaseProps = MonacoEditorProps;
4
4
  export type SupportedSchemaLanguage = 'json' | 'yaml';
5
5
  export type JsonSchema = {
6
6
  uri?: string;
7
- schema?: JSONSchema;
7
+ schema: JSONSchema;
8
8
  fileMatch: string;
9
9
  };
10
10
  export type WithJsonSchema = {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.4.7-preview-2af706c7.0",
7
+ "version": "0.5.0",
8
8
  "sideEffects": [
9
9
  "*.css",
10
10
  "*.woff",
@@ -37,8 +37,8 @@
37
37
  "scripts": {},
38
38
  "dependencies": {
39
39
  "@monaco-editor/react": "4.6.0",
40
- "@snack-uikit/loaders": "0.9.0",
41
- "@snack-uikit/utils": "3.6.0",
40
+ "@snack-uikit/loaders": "0.9.1",
41
+ "@snack-uikit/utils": "3.7.0",
42
42
  "chroma-js": "3.1.2",
43
43
  "classnames": "2.5.1",
44
44
  "monaco-yaml": "5.2.3"
@@ -46,5 +46,5 @@
46
46
  "devDependencies": {
47
47
  "@types/chroma-js": "2.4.4"
48
48
  },
49
- "gitHead": "eee00bc3192c976778bbc1995fed33e98d0f16dc"
49
+ "gitHead": "7bf9ee3ad1d793050e82a48a95d317bc97510da0"
50
50
  }
@@ -7,7 +7,7 @@ export type SupportedSchemaLanguage = 'json' | 'yaml';
7
7
 
8
8
  export type JsonSchema = {
9
9
  uri?: string;
10
- schema?: JSONSchema;
10
+ schema: JSONSchema;
11
11
  fileMatch: string;
12
12
  };
13
13