@truecodeio/sdk-react 0.2.18 → 0.2.19

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,11 +62,32 @@ export declare const useClient: () => {
62
62
  }>;
63
63
  children: readonly (Readonly<{
64
64
  id: string;
65
- type: "spacer";
65
+ type: "button";
66
66
  name: string;
67
67
  isCollapsed: boolean;
68
68
  props: Readonly<{
69
- size: number;
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;
70
91
  }>;
71
92
  }> | Readonly<{
72
93
  id: string;
@@ -76,6 +97,14 @@ export declare const useClient: () => {
76
97
  props: Readonly<{
77
98
  content: string;
78
99
  }>;
100
+ }> | Readonly<{
101
+ id: string;
102
+ type: "spacer";
103
+ name: string;
104
+ isCollapsed: boolean;
105
+ props: Readonly<{
106
+ size: number;
107
+ }>;
79
108
  }> | Readonly<{
80
109
  id: string;
81
110
  type: "image";
@@ -98,35 +127,6 @@ export declare const useClient: () => {
98
127
  name: string;
99
128
  isCollapsed: boolean;
100
129
  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.18",
3
+ "version": "0.2.19",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -25,8 +25,8 @@
25
25
  "dependencies": {
26
26
  "@emotion/react": "^11.14.0",
27
27
  "@truecodeio/client-common": "0.1.6",
28
- "@truecodeio/domain-shared": "0.1.8",
29
- "@truecodeio/common": "0.1.5"
28
+ "@truecodeio/common": "0.1.5",
29
+ "@truecodeio/domain-shared": "0.1.8"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "^19.2.0",