@uniformdev/canvas-react 19.80.1-alpha.170 → 19.80.1-alpha.200

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/dist/index.d.mts CHANGED
@@ -104,12 +104,15 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
104
104
  type: string;
105
105
  parameters?: {
106
106
  [key: string]: {
107
- value: unknown;
107
+ value?: unknown;
108
108
  type: string;
109
109
  connectedData?: {
110
110
  pointer: string;
111
111
  syntax: "jptr";
112
112
  } | undefined;
113
+ locales?: {
114
+ [key: string]: unknown;
115
+ } | undefined;
113
116
  };
114
117
  } | undefined;
115
118
  variant?: string | undefined;
@@ -123,12 +126,15 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
123
126
  type: string;
124
127
  parameters?: {
125
128
  [key: string]: {
126
- value: unknown;
129
+ value?: unknown;
127
130
  type: string;
128
131
  connectedData?: {
129
132
  pointer: string;
130
133
  syntax: "jptr";
131
134
  } | undefined;
135
+ locales?: {
136
+ [key: string]: unknown;
137
+ } | undefined;
132
138
  };
133
139
  } | undefined;
134
140
  variant?: string | undefined;
@@ -162,12 +168,15 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
162
168
  [key: string]: {
163
169
  parameters?: {
164
170
  [key: string]: {
165
- value: unknown;
171
+ value?: unknown;
166
172
  type: string;
167
173
  connectedData?: {
168
174
  pointer: string;
169
175
  syntax: "jptr";
170
176
  } | undefined;
177
+ locales?: {
178
+ [key: string]: unknown;
179
+ } | undefined;
171
180
  };
172
181
  } | undefined;
173
182
  variant?: string | undefined;
@@ -184,6 +193,17 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
184
193
  _id: string;
185
194
  _slug?: string | null | undefined;
186
195
  _name: string;
196
+ _pattern?: string | undefined;
197
+ _patternDataResources?: {
198
+ [key: string]: {
199
+ type: string;
200
+ isPatternParameter?: boolean | undefined;
201
+ ignorePatternParameterDefault?: boolean | undefined;
202
+ variables?: {
203
+ [key: string]: string;
204
+ } | undefined;
205
+ };
206
+ } | undefined;
187
207
  _dataResources?: {
188
208
  [key: string]: {
189
209
  type: string;
@@ -198,12 +218,15 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
198
218
  [key: string]: {
199
219
  parameters?: {
200
220
  [key: string]: {
201
- value: unknown;
221
+ value?: unknown;
202
222
  type: string;
203
223
  connectedData?: {
204
224
  pointer: string;
205
225
  syntax: "jptr";
206
226
  } | undefined;
227
+ locales?: {
228
+ [key: string]: unknown;
229
+ } | undefined;
207
230
  };
208
231
  } | undefined;
209
232
  variant?: string | undefined;
@@ -215,6 +238,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
215
238
  } | undefined;
216
239
  variants?: boolean | undefined;
217
240
  } | undefined;
241
+ _locales?: string[] | undefined;
218
242
  } | undefined;
219
243
  isContextualEditing: boolean;
220
244
  };
package/dist/index.d.ts CHANGED
@@ -104,12 +104,15 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
104
104
  type: string;
105
105
  parameters?: {
106
106
  [key: string]: {
107
- value: unknown;
107
+ value?: unknown;
108
108
  type: string;
109
109
  connectedData?: {
110
110
  pointer: string;
111
111
  syntax: "jptr";
112
112
  } | undefined;
113
+ locales?: {
114
+ [key: string]: unknown;
115
+ } | undefined;
113
116
  };
114
117
  } | undefined;
115
118
  variant?: string | undefined;
@@ -123,12 +126,15 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
123
126
  type: string;
124
127
  parameters?: {
125
128
  [key: string]: {
126
- value: unknown;
129
+ value?: unknown;
127
130
  type: string;
128
131
  connectedData?: {
129
132
  pointer: string;
130
133
  syntax: "jptr";
131
134
  } | undefined;
135
+ locales?: {
136
+ [key: string]: unknown;
137
+ } | undefined;
132
138
  };
133
139
  } | undefined;
134
140
  variant?: string | undefined;
@@ -162,12 +168,15 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
162
168
  [key: string]: {
163
169
  parameters?: {
164
170
  [key: string]: {
165
- value: unknown;
171
+ value?: unknown;
166
172
  type: string;
167
173
  connectedData?: {
168
174
  pointer: string;
169
175
  syntax: "jptr";
170
176
  } | undefined;
177
+ locales?: {
178
+ [key: string]: unknown;
179
+ } | undefined;
171
180
  };
172
181
  } | undefined;
173
182
  variant?: string | undefined;
@@ -184,6 +193,17 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
184
193
  _id: string;
185
194
  _slug?: string | null | undefined;
186
195
  _name: string;
196
+ _pattern?: string | undefined;
197
+ _patternDataResources?: {
198
+ [key: string]: {
199
+ type: string;
200
+ isPatternParameter?: boolean | undefined;
201
+ ignorePatternParameterDefault?: boolean | undefined;
202
+ variables?: {
203
+ [key: string]: string;
204
+ } | undefined;
205
+ };
206
+ } | undefined;
187
207
  _dataResources?: {
188
208
  [key: string]: {
189
209
  type: string;
@@ -198,12 +218,15 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
198
218
  [key: string]: {
199
219
  parameters?: {
200
220
  [key: string]: {
201
- value: unknown;
221
+ value?: unknown;
202
222
  type: string;
203
223
  connectedData?: {
204
224
  pointer: string;
205
225
  syntax: "jptr";
206
226
  } | undefined;
227
+ locales?: {
228
+ [key: string]: unknown;
229
+ } | undefined;
207
230
  };
208
231
  } | undefined;
209
232
  variant?: string | undefined;
@@ -215,6 +238,7 @@ declare const useUniformContextualEditing: ({ initialCompositionValue, enhance,
215
238
  } | undefined;
216
239
  variants?: boolean | undefined;
217
240
  } | undefined;
241
+ _locales?: string[] | undefined;
218
242
  } | undefined;
219
243
  isContextualEditing: boolean;
220
244
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-react",
3
- "version": "19.80.1-alpha.170+07c5014817",
3
+ "version": "19.80.1-alpha.200+85da778e5f",
4
4
  "description": "React SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -45,10 +45,10 @@
45
45
  "document": "api-extractor run --local"
46
46
  },
47
47
  "dependencies": {
48
- "@uniformdev/canvas": "19.80.1-alpha.170+07c5014817",
49
- "@uniformdev/context": "19.80.1-alpha.170+07c5014817",
50
- "@uniformdev/context-react": "19.80.1-alpha.170+07c5014817",
51
- "@uniformdev/richtext": "19.80.1-alpha.170+07c5014817"
48
+ "@uniformdev/canvas": "19.80.1-alpha.200+85da778e5f",
49
+ "@uniformdev/context": "19.80.1-alpha.200+85da778e5f",
50
+ "@uniformdev/context-react": "19.80.1-alpha.200+85da778e5f",
51
+ "@uniformdev/richtext": "19.80.1-alpha.200+85da778e5f"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": ">= 16 || 17 || 18",
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "07c5014817c7acefceb653dc48d26a3b53341c1e"
68
+ "gitHead": "85da778e5fc4f47c47c585b9e4ccbe19a6a21563"
69
69
  }