@embeddable.com/sdk-react 3.3.1 → 3.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.
@@ -2,6 +2,7 @@ import { z } from "zod";
2
2
  export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
3
3
  name: z.ZodString;
4
4
  label: z.ZodString;
5
+ category: z.ZodOptional<z.ZodString>;
5
6
  classNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
7
  defaultWidth: z.ZodOptional<z.ZodNumber>;
7
8
  defaultHeight: z.ZodOptional<z.ZodNumber>;
@@ -46,9 +47,9 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
46
47
  name: string;
47
48
  array?: boolean | undefined;
48
49
  config?: Record<string, any> | undefined;
50
+ category?: string | undefined;
49
51
  description?: string | undefined;
50
52
  defaultValue?: any;
51
- category?: string | undefined;
52
53
  }, {
53
54
  type: "string" | "number" | "boolean" | {
54
55
  typeConfig: {
@@ -60,9 +61,9 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
60
61
  name: string;
61
62
  array?: boolean | undefined;
62
63
  config?: Record<string, any> | undefined;
64
+ category?: string | undefined;
63
65
  description?: string | undefined;
64
66
  defaultValue?: any;
65
- category?: string | undefined;
66
67
  }>, "many">, {
67
68
  type: "string" | "number" | "boolean" | {
68
69
  typeConfig: {
@@ -74,9 +75,9 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
74
75
  name: string;
75
76
  array?: boolean | undefined;
76
77
  config?: Record<string, any> | undefined;
78
+ category?: string | undefined;
77
79
  description?: string | undefined;
78
80
  defaultValue?: any;
79
- category?: string | undefined;
80
81
  }[], {
81
82
  type: "string" | "number" | "boolean" | {
82
83
  typeConfig: {
@@ -88,9 +89,9 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
88
89
  name: string;
89
90
  array?: boolean | undefined;
90
91
  config?: Record<string, any> | undefined;
92
+ category?: string | undefined;
91
93
  description?: string | undefined;
92
94
  defaultValue?: any;
93
- category?: string | undefined;
94
95
  }[]>>;
95
96
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
96
97
  name: z.ZodString;
@@ -242,6 +243,7 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
242
243
  }, "strict", z.ZodTypeAny, {
243
244
  label: string;
244
245
  name: string;
246
+ category?: string | undefined;
245
247
  classNames?: string[] | undefined;
246
248
  defaultWidth?: number | undefined;
247
249
  defaultHeight?: number | undefined;
@@ -256,9 +258,9 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
256
258
  name: string;
257
259
  array?: boolean | undefined;
258
260
  config?: Record<string, any> | undefined;
261
+ category?: string | undefined;
259
262
  description?: string | undefined;
260
263
  defaultValue?: any;
261
- category?: string | undefined;
262
264
  }[] | undefined;
263
265
  events?: {
264
266
  label: string;
@@ -294,6 +296,7 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
294
296
  }, {
295
297
  label: string;
296
298
  name: string;
299
+ category?: string | undefined;
297
300
  classNames?: string[] | undefined;
298
301
  defaultWidth?: number | undefined;
299
302
  defaultHeight?: number | undefined;
@@ -308,9 +311,9 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
308
311
  name: string;
309
312
  array?: boolean | undefined;
310
313
  config?: Record<string, any> | undefined;
314
+ category?: string | undefined;
311
315
  description?: string | undefined;
312
316
  defaultValue?: any;
313
- category?: string | undefined;
314
317
  }[] | undefined;
315
318
  events?: {
316
319
  label: string;
@@ -346,6 +349,7 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
346
349
  }>, {
347
350
  label: string;
348
351
  name: string;
352
+ category?: string | undefined;
349
353
  classNames?: string[] | undefined;
350
354
  defaultWidth?: number | undefined;
351
355
  defaultHeight?: number | undefined;
@@ -360,9 +364,9 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
360
364
  name: string;
361
365
  array?: boolean | undefined;
362
366
  config?: Record<string, any> | undefined;
367
+ category?: string | undefined;
363
368
  description?: string | undefined;
364
369
  defaultValue?: any;
365
- category?: string | undefined;
366
370
  }[] | undefined;
367
371
  events?: {
368
372
  label: string;
@@ -398,6 +402,7 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
398
402
  }, {
399
403
  label: string;
400
404
  name: string;
405
+ category?: string | undefined;
401
406
  classNames?: string[] | undefined;
402
407
  defaultWidth?: number | undefined;
403
408
  defaultHeight?: number | undefined;
@@ -412,9 +417,9 @@ export declare const componentMetaSchema: z.ZodEffects<z.ZodObject<{
412
417
  name: string;
413
418
  array?: boolean | undefined;
414
419
  config?: Record<string, any> | undefined;
420
+ category?: string | undefined;
415
421
  description?: string | undefined;
416
422
  defaultValue?: any;
417
- category?: string | undefined;
418
423
  }[] | undefined;
419
424
  events?: {
420
425
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embeddable.com/sdk-react",
3
- "version": "3.3.1",
3
+ "version": "3.5.0",
4
4
  "description": "Embeddable SDK React plugin responsible for React components bundling.",
5
5
  "keywords": [
6
6
  "embeddable",
@@ -28,14 +28,14 @@
28
28
  "dependencies": {
29
29
  "@babel/generator": "^7.23.0",
30
30
  "@babel/parser": "^7.23.0",
31
- "@babel/traverse": "^7.23.2",
31
+ "@babel/traverse": "^7.24.7",
32
32
  "@embeddable.com/sdk-core": "*",
33
33
  "@embeddable.com/sdk-utils": "*",
34
- "@happy-dom/global-registrator": "^14.11.0",
34
+ "@happy-dom/global-registrator": "^14.12.0",
35
35
  "@vitejs/plugin-react": "^4.0.2",
36
36
  "astring": "^1.8.6",
37
37
  "ora": "^8.0.1",
38
- "vite": "^4.5.0",
38
+ "vite": "^5.3.2",
39
39
  "zod": "^3.23.8"
40
40
  },
41
41
  "lint-staged": {