@truecodeio/sdk-react 0.2.19 → 0.2.21

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.
@@ -62,32 +62,11 @@ export declare const useClient: () => {
62
62
  }>;
63
63
  children: readonly (Readonly<{
64
64
  id: string;
65
- type: "button";
65
+ type: "spacer";
66
66
  name: string;
67
67
  isCollapsed: boolean;
68
68
  props: Readonly<{
69
- title: string;
70
- background: Readonly<{
71
- color: Readonly<{
72
- default: string;
73
- hover: string;
74
- }>;
75
- }>;
76
- text: Readonly<{
77
- color: Readonly<{
78
- default: string;
79
- hover: string;
80
- }>;
81
- }>;
82
- padding: Readonly<{
83
- top: number;
84
- right: number;
85
- bottom: number;
86
- left: number;
87
- }>;
88
- borderRadius: number;
89
- fontSize: number;
90
- fontWeight: number;
69
+ size: number;
91
70
  }>;
92
71
  }> | Readonly<{
93
72
  id: string;
@@ -97,14 +76,6 @@ export declare const useClient: () => {
97
76
  props: Readonly<{
98
77
  content: string;
99
78
  }>;
100
- }> | Readonly<{
101
- id: string;
102
- type: "spacer";
103
- name: string;
104
- isCollapsed: boolean;
105
- props: Readonly<{
106
- size: number;
107
- }>;
108
79
  }> | Readonly<{
109
80
  id: string;
110
81
  type: "image";
@@ -127,6 +98,35 @@ export declare const useClient: () => {
127
98
  name: string;
128
99
  isCollapsed: boolean;
129
100
  componentId: string;
101
+ }> | Readonly<{
102
+ id: string;
103
+ type: "button";
104
+ name: string;
105
+ isCollapsed: boolean;
106
+ props: Readonly<{
107
+ title: string;
108
+ background: Readonly<{
109
+ color: Readonly<{
110
+ default: string;
111
+ hover: string;
112
+ }>;
113
+ }>;
114
+ text: Readonly<{
115
+ color: Readonly<{
116
+ default: string;
117
+ hover: string;
118
+ }>;
119
+ }>;
120
+ padding: Readonly<{
121
+ top: number;
122
+ right: number;
123
+ bottom: number;
124
+ left: number;
125
+ }>;
126
+ borderRadius: number;
127
+ fontSize: number;
128
+ fontWeight: number;
129
+ }>;
130
130
  }>)[];
131
131
  }>[];
132
132
  }>[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truecodeio/sdk-react",
3
- "version": "0.2.19",
3
+ "version": "0.2.21",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -19,18 +19,18 @@
19
19
  "react": "^19.2.0",
20
20
  "vite": "^7.2.2",
21
21
  "vite-plugin-dts": "^4.5.4",
22
- "@truecodeio/sdk-core": "0.2.14",
23
- "@boko/tsconfig": "^1.0.0"
22
+ "@boko/tsconfig": "^1.0.0",
23
+ "@truecodeio/sdk-core": "0.2.16"
24
24
  },
25
25
  "dependencies": {
26
26
  "@emotion/react": "^11.14.0",
27
- "@truecodeio/client-common": "0.1.6",
28
27
  "@truecodeio/common": "0.1.5",
29
- "@truecodeio/domain-shared": "0.1.8"
28
+ "@truecodeio/client-common": "0.1.6",
29
+ "@truecodeio/domain-shared": "0.1.10"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^19.2.0",
33
- "@truecodeio/sdk-core": "0.2.14"
33
+ "@truecodeio/sdk-core": "0.2.16"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "vite build",