@fluid-app/widget-runtime 0.1.282 → 0.1.283
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.cjs +2 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{remote-dom-renderer-BGIZ0FRi.d.mts → remote-dom-renderer-BnqVsw6k.d.mts} +4 -8
- package/dist/remote-dom-renderer-BnqVsw6k.d.mts.map +1 -0
- package/dist/remote-dom-renderer-CMpuJrkw.cjs +471 -0
- package/dist/remote-dom-renderer-CMpuJrkw.cjs.map +1 -0
- package/dist/remote-dom-renderer-D2FspToS.mjs +466 -0
- package/dist/remote-dom-renderer-D2FspToS.mjs.map +1 -0
- package/dist/{remote-dom-renderer-BoB9jd3B.d.cts → remote-dom-renderer-D3Jz1sOH.d.cts} +4 -8
- package/dist/remote-dom-renderer-D3Jz1sOH.d.cts.map +1 -0
- package/dist/{remote-dom-renderer-m5bn0hcE.mjs → remote-dom-styles-CmHfrrKz.mjs} +261 -702
- package/dist/remote-dom-styles-CmHfrrKz.mjs.map +1 -0
- package/dist/{remote-dom-renderer-VA5axIKk.cjs → remote-dom-styles-RV40tYyt.cjs} +328 -698
- package/dist/remote-dom-styles-RV40tYyt.cjs.map +1 -0
- package/dist/{remote-dom-ui-contract-B140dMly.d.mts → remote-dom-ui-contract-Dr0q3O4E.d.cts} +75 -77
- package/dist/remote-dom-ui-contract-Dr0q3O4E.d.cts.map +1 -0
- package/dist/{remote-dom-ui-contract-BLOyWbT2.d.cts → remote-dom-ui-contract-Dr0q3O4E.d.mts} +75 -77
- package/dist/remote-dom-ui-contract-Dr0q3O4E.d.mts.map +1 -0
- package/dist/remote-dom-values-BBN5u_Mj.mjs +1358 -0
- package/dist/remote-dom-values-BBN5u_Mj.mjs.map +1 -0
- package/dist/{remote-dom-values-D4AgBNWr.d.cts → remote-dom-values-BR8Qnhg9.d.cts} +1 -3
- package/dist/remote-dom-values-BR8Qnhg9.d.cts.map +1 -0
- package/dist/remote-dom-values-D1Fi2ibn.cjs +1441 -0
- package/dist/remote-dom-values-D1Fi2ibn.cjs.map +1 -0
- package/dist/{remote-dom-values-EwoLXnSn.d.mts → remote-dom-values-D8qikv8I.d.mts} +2 -3
- package/dist/remote-dom-values-D8qikv8I.d.mts.map +1 -0
- package/dist/remote-dom.cjs +2 -2
- package/dist/remote-dom.d.cts +2 -2
- package/dist/remote-dom.d.mts +2 -2
- package/dist/remote-dom.mjs +2 -2
- package/dist/site-host.cjs +372 -0
- package/dist/site-host.cjs.map +1 -0
- package/dist/site-host.d.cts +61 -0
- package/dist/site-host.d.cts.map +1 -0
- package/dist/site-host.d.mts +61 -0
- package/dist/site-host.d.mts.map +1 -0
- package/dist/site-host.mjs +369 -0
- package/dist/site-host.mjs.map +1 -0
- package/dist/{worker-react-bootstrap-C7tCMYGA.mjs → worker-react-bootstrap-CwlNMpMT.mjs} +2 -3
- package/dist/{worker-react-bootstrap-C7tCMYGA.mjs.map → worker-react-bootstrap-CwlNMpMT.mjs.map} +1 -1
- package/dist/{worker-react-bootstrap-N8jcWZ3L.cjs → worker-react-bootstrap-Dbq9hU1k.cjs} +2 -3
- package/dist/{worker-react-bootstrap-N8jcWZ3L.cjs.map → worker-react-bootstrap-Dbq9hU1k.cjs.map} +1 -1
- package/dist/{worker-react-renderer-ByjjgyrY.cjs → worker-react-renderer-CsI-dsP5.cjs} +5 -6
- package/dist/worker-react-renderer-CsI-dsP5.cjs.map +1 -0
- package/dist/{worker-react-renderer-ggcPIDLl.mjs → worker-react-renderer-LC2Dr-gj.mjs} +5 -5
- package/dist/{worker-react-renderer-ggcPIDLl.mjs.map → worker-react-renderer-LC2Dr-gj.mjs.map} +1 -1
- package/dist/worker.cjs +12 -17
- package/dist/worker.cjs.map +1 -1
- package/dist/worker.d.cts +15 -13
- package/dist/worker.d.cts.map +1 -1
- package/dist/worker.d.mts +16 -14
- package/dist/worker.d.mts.map +1 -1
- package/dist/worker.mjs +9 -13
- package/dist/worker.mjs.map +1 -1
- package/package.json +11 -6
- package/dist/Thread-0eUyc0Hw.cjs +0 -591
- package/dist/Thread-0eUyc0Hw.cjs.map +0 -1
- package/dist/Thread-BiW7rXts.mjs +0 -574
- package/dist/Thread-BiW7rXts.mjs.map +0 -1
- package/dist/remote-dom-renderer-BGIZ0FRi.d.mts.map +0 -1
- package/dist/remote-dom-renderer-BoB9jd3B.d.cts.map +0 -1
- package/dist/remote-dom-renderer-VA5axIKk.cjs.map +0 -1
- package/dist/remote-dom-renderer-m5bn0hcE.mjs.map +0 -1
- package/dist/remote-dom-ui-contract-B140dMly.d.mts.map +0 -1
- package/dist/remote-dom-ui-contract-BLOyWbT2.d.cts.map +0 -1
- package/dist/remote-dom-values-B5UZPDRy.cjs +0 -849
- package/dist/remote-dom-values-B5UZPDRy.cjs.map +0 -1
- package/dist/remote-dom-values-D4AgBNWr.d.cts.map +0 -1
- package/dist/remote-dom-values-EwoLXnSn.d.mts.map +0 -1
- package/dist/remote-dom-values-wEbrw5iW.mjs +0 -790
- package/dist/remote-dom-values-wEbrw5iW.mjs.map +0 -1
- package/dist/worker-react-renderer-ByjjgyrY.cjs.map +0 -1
package/dist/{remote-dom-ui-contract-BLOyWbT2.d.cts → remote-dom-ui-contract-Dr0q3O4E.d.mts}
RENAMED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
|
|
3
|
-
//#region src/remote-dom-ui-contract.d.ts
|
|
4
2
|
type RemoteDomUiValueCodec = "boolean" | "finite-number-array" | "finite-number" | "navigation-url" | "option-array" | "string" | "string-array" | "string-or-string-array" | "url";
|
|
5
3
|
interface RemoteDomUiEventDefinition {
|
|
6
4
|
readonly propName: string;
|
|
@@ -25,33 +23,33 @@ type RemoteDomUiLiteralComponentDefinition<Name extends string, Properties exten
|
|
|
25
23
|
* This is runtime security policy; it must never be inferred from React props.
|
|
26
24
|
*/
|
|
27
25
|
declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDefinition<"Accordion", {
|
|
26
|
+
readonly "aria-label": "string";
|
|
27
|
+
readonly disabled: "boolean";
|
|
28
|
+
readonly id: "string";
|
|
28
29
|
readonly collapsible: "boolean";
|
|
29
30
|
readonly defaultValue: "string-or-string-array";
|
|
30
31
|
readonly dir: "string";
|
|
31
32
|
readonly orientation: "string";
|
|
32
33
|
readonly type: "string";
|
|
33
34
|
readonly value: "string-or-string-array";
|
|
34
|
-
readonly "aria-label": "string";
|
|
35
|
-
readonly disabled: "boolean";
|
|
36
|
-
readonly id: "string";
|
|
37
35
|
}, readonly [{
|
|
38
36
|
readonly propName: "onValueChange";
|
|
39
37
|
readonly eventName: "value-change";
|
|
40
38
|
readonly payload: "string-or-string-array";
|
|
41
39
|
}]>, RemoteDomUiLiteralComponentDefinition<"AccordionItem", {
|
|
42
|
-
readonly value: "string";
|
|
43
40
|
readonly "aria-label": "string";
|
|
44
41
|
readonly disabled: "boolean";
|
|
45
42
|
readonly id: "string";
|
|
43
|
+
readonly value: "string";
|
|
46
44
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"AccordionTrigger", {
|
|
47
45
|
readonly "aria-label": "string";
|
|
48
46
|
readonly disabled: "boolean";
|
|
49
47
|
readonly id: "string";
|
|
50
48
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"AccordionContent", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Alert", {
|
|
51
|
-
readonly variant: "string";
|
|
52
49
|
readonly "aria-label": "string";
|
|
53
50
|
readonly disabled: "boolean";
|
|
54
51
|
readonly id: "string";
|
|
52
|
+
readonly variant: "string";
|
|
55
53
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"AlertTitle", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"AlertDescription", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"AlertDialog", {
|
|
56
54
|
readonly defaultOpen: "boolean";
|
|
57
55
|
readonly open: "boolean";
|
|
@@ -83,14 +81,14 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
83
81
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Breadcrumb", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"BreadcrumbList", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"BreadcrumbItem", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"BreadcrumbLink", {
|
|
84
82
|
readonly href: "navigation-url";
|
|
85
83
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"BreadcrumbPage", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"BreadcrumbSeparator", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"BreadcrumbEllipsis", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Button", {
|
|
84
|
+
readonly "aria-label": "string";
|
|
85
|
+
readonly disabled: "boolean";
|
|
86
|
+
readonly id: "string";
|
|
86
87
|
readonly name: "string";
|
|
87
88
|
readonly size: "string";
|
|
88
89
|
readonly type: "string";
|
|
89
90
|
readonly value: "string";
|
|
90
91
|
readonly variant: "string";
|
|
91
|
-
readonly "aria-label": "string";
|
|
92
|
-
readonly disabled: "boolean";
|
|
93
|
-
readonly id: "string";
|
|
94
92
|
}, readonly [{
|
|
95
93
|
readonly propName: "onPress";
|
|
96
94
|
readonly eventName: "press";
|
|
@@ -112,14 +110,14 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
112
110
|
readonly eventName: "selected-change";
|
|
113
111
|
readonly payload: "string";
|
|
114
112
|
}]>, RemoteDomUiLiteralComponentDefinition<"Checkbox", {
|
|
113
|
+
readonly "aria-label": "string";
|
|
114
|
+
readonly disabled: "boolean";
|
|
115
|
+
readonly id: "string";
|
|
115
116
|
readonly checked: "boolean";
|
|
116
117
|
readonly defaultChecked: "boolean";
|
|
117
118
|
readonly name: "string";
|
|
118
119
|
readonly required: "boolean";
|
|
119
120
|
readonly value: "string";
|
|
120
|
-
readonly "aria-label": "string";
|
|
121
|
-
readonly disabled: "boolean";
|
|
122
|
-
readonly id: "string";
|
|
123
121
|
}, readonly [{
|
|
124
122
|
readonly propName: "onCheckedChange";
|
|
125
123
|
readonly eventName: "checked-change";
|
|
@@ -144,11 +142,11 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
144
142
|
readonly eventName: "value-change";
|
|
145
143
|
readonly payload: "string";
|
|
146
144
|
}]>, RemoteDomUiLiteralComponentDefinition<"CommandInput", {
|
|
147
|
-
readonly placeholder: "string";
|
|
148
|
-
readonly value: "string";
|
|
149
145
|
readonly "aria-label": "string";
|
|
150
146
|
readonly disabled: "boolean";
|
|
151
147
|
readonly id: "string";
|
|
148
|
+
readonly placeholder: "string";
|
|
149
|
+
readonly value: "string";
|
|
152
150
|
}, readonly [{
|
|
153
151
|
readonly propName: "onValueChange";
|
|
154
152
|
readonly eventName: "value-change";
|
|
@@ -157,11 +155,11 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
157
155
|
readonly heading: "string";
|
|
158
156
|
readonly value: "string";
|
|
159
157
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"CommandItem", {
|
|
160
|
-
readonly keywords: "string-array";
|
|
161
|
-
readonly value: "string";
|
|
162
158
|
readonly "aria-label": "string";
|
|
163
159
|
readonly disabled: "boolean";
|
|
164
160
|
readonly id: "string";
|
|
161
|
+
readonly keywords: "string-array";
|
|
162
|
+
readonly value: "string";
|
|
165
163
|
}, readonly [{
|
|
166
164
|
readonly propName: "onSelect";
|
|
167
165
|
readonly eventName: "select";
|
|
@@ -169,11 +167,11 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
169
167
|
}]>, RemoteDomUiLiteralComponentDefinition<"CommandShortcut", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"CommandSeparator", {
|
|
170
168
|
readonly alwaysRender: "boolean";
|
|
171
169
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DatePicker", {
|
|
172
|
-
readonly placeholder: "string";
|
|
173
|
-
readonly value: "string";
|
|
174
170
|
readonly "aria-label": "string";
|
|
175
171
|
readonly disabled: "boolean";
|
|
176
172
|
readonly id: "string";
|
|
173
|
+
readonly placeholder: "string";
|
|
174
|
+
readonly value: "string";
|
|
177
175
|
}, readonly [{
|
|
178
176
|
readonly propName: "onChange";
|
|
179
177
|
readonly eventName: "change";
|
|
@@ -190,10 +188,10 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
190
188
|
readonly disabled: "boolean";
|
|
191
189
|
readonly id: "string";
|
|
192
190
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DialogContent", {
|
|
193
|
-
readonly showCloseButton: "boolean";
|
|
194
191
|
readonly "aria-label": "string";
|
|
195
192
|
readonly disabled: "boolean";
|
|
196
193
|
readonly id: "string";
|
|
194
|
+
readonly showCloseButton: "boolean";
|
|
197
195
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DialogHeader", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DialogFooter", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DialogTitle", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DialogDescription", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DialogClose", {
|
|
198
196
|
readonly "aria-label": "string";
|
|
199
197
|
readonly disabled: "boolean";
|
|
@@ -217,19 +215,19 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
217
215
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuGroup", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuLabel", {
|
|
218
216
|
readonly inset: "boolean";
|
|
219
217
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuItem", {
|
|
220
|
-
readonly inset: "boolean";
|
|
221
218
|
readonly "aria-label": "string";
|
|
222
219
|
readonly disabled: "boolean";
|
|
223
220
|
readonly id: "string";
|
|
221
|
+
readonly inset: "boolean";
|
|
224
222
|
}, readonly [{
|
|
225
223
|
readonly propName: "onSelect";
|
|
226
224
|
readonly eventName: "select";
|
|
227
225
|
readonly payload: "void";
|
|
228
226
|
}]>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuCheckboxItem", {
|
|
229
|
-
readonly checked: "boolean";
|
|
230
227
|
readonly "aria-label": "string";
|
|
231
228
|
readonly disabled: "boolean";
|
|
232
229
|
readonly id: "string";
|
|
230
|
+
readonly checked: "boolean";
|
|
233
231
|
}, readonly [{
|
|
234
232
|
readonly propName: "onCheckedChange";
|
|
235
233
|
readonly eventName: "checked-change";
|
|
@@ -242,10 +240,10 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
242
240
|
readonly eventName: "value-change";
|
|
243
241
|
readonly payload: "string";
|
|
244
242
|
}]>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuRadioItem", {
|
|
245
|
-
readonly value: "string";
|
|
246
243
|
readonly "aria-label": "string";
|
|
247
244
|
readonly disabled: "boolean";
|
|
248
245
|
readonly id: "string";
|
|
246
|
+
readonly value: "string";
|
|
249
247
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuSeparator", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuShortcut", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuSub", {
|
|
250
248
|
readonly defaultOpen: "boolean";
|
|
251
249
|
readonly open: "boolean";
|
|
@@ -254,14 +252,17 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
254
252
|
readonly eventName: "open-change";
|
|
255
253
|
readonly payload: "boolean";
|
|
256
254
|
}]>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuSubTrigger", {
|
|
257
|
-
readonly inset: "boolean";
|
|
258
255
|
readonly "aria-label": "string";
|
|
259
256
|
readonly disabled: "boolean";
|
|
260
257
|
readonly id: "string";
|
|
258
|
+
readonly inset: "boolean";
|
|
261
259
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"DropdownMenuSubContent", {
|
|
262
260
|
readonly alignOffset: "finite-number";
|
|
263
261
|
readonly sideOffset: "finite-number";
|
|
264
262
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Input", {
|
|
263
|
+
readonly "aria-label": "string";
|
|
264
|
+
readonly disabled: "boolean";
|
|
265
|
+
readonly id: "string";
|
|
265
266
|
readonly autoComplete: "string";
|
|
266
267
|
readonly checked: "boolean";
|
|
267
268
|
readonly max: "string";
|
|
@@ -276,9 +277,6 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
276
277
|
readonly step: "string";
|
|
277
278
|
readonly type: "string";
|
|
278
279
|
readonly value: "string";
|
|
279
|
-
readonly "aria-label": "string";
|
|
280
|
-
readonly disabled: "boolean";
|
|
281
|
-
readonly id: "string";
|
|
282
280
|
}, readonly [{
|
|
283
281
|
readonly propName: "onBlur";
|
|
284
282
|
readonly eventName: "blur";
|
|
@@ -294,20 +292,20 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
294
292
|
}]>, RemoteDomUiLiteralComponentDefinition<"Label", {
|
|
295
293
|
readonly htmlFor: "string";
|
|
296
294
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Pagination", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"PaginationContent", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"PaginationItem", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"PaginationLink", {
|
|
297
|
-
readonly href: "navigation-url";
|
|
298
|
-
readonly isActive: "boolean";
|
|
299
|
-
readonly size: "string";
|
|
300
295
|
readonly "aria-label": "string";
|
|
301
296
|
readonly disabled: "boolean";
|
|
302
297
|
readonly id: "string";
|
|
298
|
+
readonly href: "navigation-url";
|
|
299
|
+
readonly isActive: "boolean";
|
|
300
|
+
readonly size: "string";
|
|
303
301
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"PaginationPrevious", {
|
|
304
302
|
readonly href: "navigation-url";
|
|
305
303
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"PaginationNext", {
|
|
306
304
|
readonly href: "navigation-url";
|
|
307
305
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"PaginationEllipsis", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Popover", {
|
|
308
|
-
readonly modal: "boolean";
|
|
309
306
|
readonly defaultOpen: "boolean";
|
|
310
307
|
readonly open: "boolean";
|
|
308
|
+
readonly modal: "boolean";
|
|
311
309
|
}, readonly [{
|
|
312
310
|
readonly propName: "onOpenChange";
|
|
313
311
|
readonly eventName: "open-change";
|
|
@@ -325,36 +323,36 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
325
323
|
readonly max: "finite-number";
|
|
326
324
|
readonly value: "finite-number";
|
|
327
325
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"RadioGroup", {
|
|
328
|
-
readonly orientation: "string";
|
|
329
|
-
readonly required: "boolean";
|
|
330
|
-
readonly defaultValue: "string";
|
|
331
|
-
readonly value: "string";
|
|
332
326
|
readonly "aria-label": "string";
|
|
333
327
|
readonly disabled: "boolean";
|
|
334
328
|
readonly id: "string";
|
|
329
|
+
readonly defaultValue: "string";
|
|
330
|
+
readonly value: "string";
|
|
331
|
+
readonly orientation: "string";
|
|
332
|
+
readonly required: "boolean";
|
|
335
333
|
}, readonly [{
|
|
336
334
|
readonly propName: "onValueChange";
|
|
337
335
|
readonly eventName: "value-change";
|
|
338
336
|
readonly payload: "string";
|
|
339
337
|
}]>, RemoteDomUiLiteralComponentDefinition<"RadioGroupItem", {
|
|
340
|
-
readonly value: "string";
|
|
341
338
|
readonly "aria-label": "string";
|
|
342
339
|
readonly disabled: "boolean";
|
|
343
340
|
readonly id: "string";
|
|
341
|
+
readonly value: "string";
|
|
344
342
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"ScrollArea", {
|
|
345
343
|
readonly dir: "string";
|
|
346
344
|
readonly type: "string";
|
|
347
345
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"ScrollBar", {
|
|
348
346
|
readonly orientation: "string";
|
|
349
347
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Select", {
|
|
350
|
-
readonly name: "string";
|
|
351
|
-
readonly open: "boolean";
|
|
352
|
-
readonly required: "boolean";
|
|
353
|
-
readonly defaultValue: "string";
|
|
354
|
-
readonly value: "string";
|
|
355
348
|
readonly "aria-label": "string";
|
|
356
349
|
readonly disabled: "boolean";
|
|
357
350
|
readonly id: "string";
|
|
351
|
+
readonly defaultValue: "string";
|
|
352
|
+
readonly value: "string";
|
|
353
|
+
readonly name: "string";
|
|
354
|
+
readonly open: "boolean";
|
|
355
|
+
readonly required: "boolean";
|
|
358
356
|
}, readonly [{
|
|
359
357
|
readonly propName: "onValueChange";
|
|
360
358
|
readonly eventName: "value-change";
|
|
@@ -366,21 +364,21 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
366
364
|
}]>, RemoteDomUiLiteralComponentDefinition<"SelectGroup", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SelectValue", {
|
|
367
365
|
readonly placeholder: "string";
|
|
368
366
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SelectTrigger", {
|
|
369
|
-
readonly size: "string";
|
|
370
367
|
readonly "aria-label": "string";
|
|
371
368
|
readonly disabled: "boolean";
|
|
372
369
|
readonly id: "string";
|
|
370
|
+
readonly size: "string";
|
|
373
371
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SelectContent", {
|
|
374
372
|
readonly align: "string";
|
|
375
373
|
readonly position: "string";
|
|
376
374
|
readonly side: "string";
|
|
377
375
|
readonly sideOffset: "finite-number";
|
|
378
376
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SelectLabel", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SelectItem", {
|
|
379
|
-
readonly textValue: "string";
|
|
380
|
-
readonly value: "string";
|
|
381
377
|
readonly "aria-label": "string";
|
|
382
378
|
readonly disabled: "boolean";
|
|
383
379
|
readonly id: "string";
|
|
380
|
+
readonly textValue: "string";
|
|
381
|
+
readonly value: "string";
|
|
384
382
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SelectSeparator", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SelectScrollUpButton", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SelectScrollDownButton", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Separator", {
|
|
385
383
|
readonly decorative: "boolean";
|
|
386
384
|
readonly orientation: "string";
|
|
@@ -396,10 +394,10 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
396
394
|
readonly disabled: "boolean";
|
|
397
395
|
readonly id: "string";
|
|
398
396
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SheetContent", {
|
|
399
|
-
readonly side: "string";
|
|
400
397
|
readonly "aria-label": "string";
|
|
401
398
|
readonly disabled: "boolean";
|
|
402
399
|
readonly id: "string";
|
|
400
|
+
readonly side: "string";
|
|
403
401
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SheetHeader", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SheetFooter", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SheetTitle", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SheetDescription", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"SheetClose", {
|
|
404
402
|
readonly "aria-label": "string";
|
|
405
403
|
readonly disabled: "boolean";
|
|
@@ -407,6 +405,9 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
407
405
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Skeleton", {
|
|
408
406
|
readonly "aria-label": "string";
|
|
409
407
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Slider", {
|
|
408
|
+
readonly "aria-label": "string";
|
|
409
|
+
readonly disabled: "boolean";
|
|
410
|
+
readonly id: "string";
|
|
410
411
|
readonly defaultValue: "finite-number-array";
|
|
411
412
|
readonly inverted: "boolean";
|
|
412
413
|
readonly max: "finite-number";
|
|
@@ -415,9 +416,6 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
415
416
|
readonly orientation: "string";
|
|
416
417
|
readonly step: "finite-number";
|
|
417
418
|
readonly value: "finite-number-array";
|
|
418
|
-
readonly "aria-label": "string";
|
|
419
|
-
readonly disabled: "boolean";
|
|
420
|
-
readonly id: "string";
|
|
421
419
|
}, readonly [{
|
|
422
420
|
readonly propName: "onValueChange";
|
|
423
421
|
readonly eventName: "value-change";
|
|
@@ -432,26 +430,26 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
432
430
|
readonly text: "string";
|
|
433
431
|
readonly variant: "string";
|
|
434
432
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Switch", {
|
|
433
|
+
readonly "aria-label": "string";
|
|
434
|
+
readonly disabled: "boolean";
|
|
435
|
+
readonly id: "string";
|
|
435
436
|
readonly checked: "boolean";
|
|
436
437
|
readonly defaultChecked: "boolean";
|
|
437
438
|
readonly name: "string";
|
|
438
439
|
readonly required: "boolean";
|
|
439
440
|
readonly value: "string";
|
|
440
|
-
readonly "aria-label": "string";
|
|
441
|
-
readonly disabled: "boolean";
|
|
442
|
-
readonly id: "string";
|
|
443
441
|
}, readonly [{
|
|
444
442
|
readonly propName: "onCheckedChange";
|
|
445
443
|
readonly eventName: "checked-change";
|
|
446
444
|
readonly payload: "boolean";
|
|
447
445
|
}]>, RemoteDomUiLiteralComponentDefinition<"Table", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"TableHeader", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"TableBody", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"TableFooter", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"TableRow", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"TableHead", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"TableCell", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"TableCaption", {}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Tabs", {
|
|
448
|
-
readonly activationMode: "string";
|
|
449
|
-
readonly orientation: "string";
|
|
450
|
-
readonly defaultValue: "string";
|
|
451
|
-
readonly value: "string";
|
|
452
446
|
readonly "aria-label": "string";
|
|
453
447
|
readonly disabled: "boolean";
|
|
454
448
|
readonly id: "string";
|
|
449
|
+
readonly defaultValue: "string";
|
|
450
|
+
readonly value: "string";
|
|
451
|
+
readonly activationMode: "string";
|
|
452
|
+
readonly orientation: "string";
|
|
455
453
|
}, readonly [{
|
|
456
454
|
readonly propName: "onValueChange";
|
|
457
455
|
readonly eventName: "value-change";
|
|
@@ -459,13 +457,16 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
459
457
|
}]>, RemoteDomUiLiteralComponentDefinition<"TabsList", {
|
|
460
458
|
readonly loop: "boolean";
|
|
461
459
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"TabsTrigger", {
|
|
462
|
-
readonly value: "string";
|
|
463
460
|
readonly "aria-label": "string";
|
|
464
461
|
readonly disabled: "boolean";
|
|
465
462
|
readonly id: "string";
|
|
463
|
+
readonly value: "string";
|
|
466
464
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"TabsContent", {
|
|
467
465
|
readonly value: "string";
|
|
468
466
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Textarea", {
|
|
467
|
+
readonly "aria-label": "string";
|
|
468
|
+
readonly disabled: "boolean";
|
|
469
|
+
readonly id: "string";
|
|
469
470
|
readonly autoComplete: "string";
|
|
470
471
|
readonly maxLength: "finite-number";
|
|
471
472
|
readonly minLength: "finite-number";
|
|
@@ -475,9 +476,6 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
475
476
|
readonly required: "boolean";
|
|
476
477
|
readonly rows: "finite-number";
|
|
477
478
|
readonly value: "string";
|
|
478
|
-
readonly "aria-label": "string";
|
|
479
|
-
readonly disabled: "boolean";
|
|
480
|
-
readonly id: "string";
|
|
481
479
|
}, readonly [{
|
|
482
480
|
readonly propName: "onBlur";
|
|
483
481
|
readonly eventName: "blur";
|
|
@@ -491,36 +489,36 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
491
489
|
readonly eventName: "value-change";
|
|
492
490
|
readonly payload: "string";
|
|
493
491
|
}]>, RemoteDomUiLiteralComponentDefinition<"Toggle", {
|
|
492
|
+
readonly "aria-label": "string";
|
|
493
|
+
readonly disabled: "boolean";
|
|
494
|
+
readonly id: "string";
|
|
494
495
|
readonly defaultPressed: "boolean";
|
|
495
496
|
readonly pressed: "boolean";
|
|
496
497
|
readonly size: "string";
|
|
497
498
|
readonly variant: "string";
|
|
498
|
-
readonly "aria-label": "string";
|
|
499
|
-
readonly disabled: "boolean";
|
|
500
|
-
readonly id: "string";
|
|
501
499
|
}, readonly [{
|
|
502
500
|
readonly propName: "onPressedChange";
|
|
503
501
|
readonly eventName: "pressed-change";
|
|
504
502
|
readonly payload: "boolean";
|
|
505
503
|
}]>, RemoteDomUiLiteralComponentDefinition<"ToggleGroup", {
|
|
504
|
+
readonly "aria-label": "string";
|
|
505
|
+
readonly disabled: "boolean";
|
|
506
|
+
readonly id: "string";
|
|
506
507
|
readonly defaultValue: "string-or-string-array";
|
|
507
508
|
readonly orientation: "string";
|
|
508
509
|
readonly rovingFocus: "boolean";
|
|
509
510
|
readonly spacing: "finite-number";
|
|
510
511
|
readonly type: "string";
|
|
511
512
|
readonly value: "string-or-string-array";
|
|
512
|
-
readonly "aria-label": "string";
|
|
513
|
-
readonly disabled: "boolean";
|
|
514
|
-
readonly id: "string";
|
|
515
513
|
}, readonly [{
|
|
516
514
|
readonly propName: "onValueChange";
|
|
517
515
|
readonly eventName: "value-change";
|
|
518
516
|
readonly payload: "string-or-string-array";
|
|
519
517
|
}]>, RemoteDomUiLiteralComponentDefinition<"ToggleGroupItem", {
|
|
520
|
-
readonly value: "string";
|
|
521
518
|
readonly "aria-label": "string";
|
|
522
519
|
readonly disabled: "boolean";
|
|
523
520
|
readonly id: "string";
|
|
521
|
+
readonly value: "string";
|
|
524
522
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Tooltip", {
|
|
525
523
|
readonly defaultOpen: "boolean";
|
|
526
524
|
readonly delayDuration: "finite-number";
|
|
@@ -538,14 +536,14 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
538
536
|
readonly side: "string";
|
|
539
537
|
readonly sideOffset: "finite-number";
|
|
540
538
|
}, readonly []>, RemoteDomUiLiteralComponentDefinition<"Combobox", {
|
|
539
|
+
readonly "aria-label": "string";
|
|
540
|
+
readonly disabled: "boolean";
|
|
541
|
+
readonly id: "string";
|
|
541
542
|
readonly emptyText: "string";
|
|
542
543
|
readonly options: "option-array";
|
|
543
544
|
readonly placeholder: "string";
|
|
544
545
|
readonly value: "string";
|
|
545
546
|
readonly zIndex: "finite-number";
|
|
546
|
-
readonly "aria-label": "string";
|
|
547
|
-
readonly disabled: "boolean";
|
|
548
|
-
readonly id: "string";
|
|
549
547
|
}, readonly [{
|
|
550
548
|
readonly propName: "onValueChange";
|
|
551
549
|
readonly eventName: "value-change";
|
|
@@ -559,14 +557,14 @@ declare const REMOTE_DOM_UI_COMPONENTS: readonly [RemoteDomUiLiteralComponentDef
|
|
|
559
557
|
readonly eventName: "load-more";
|
|
560
558
|
readonly payload: "void";
|
|
561
559
|
}]>, RemoteDomUiLiteralComponentDefinition<"PhoneInput", {
|
|
560
|
+
readonly "aria-label": "string";
|
|
561
|
+
readonly disabled: "boolean";
|
|
562
|
+
readonly id: "string";
|
|
562
563
|
readonly defaultCountry: "string";
|
|
563
564
|
readonly emptyText: "string";
|
|
564
565
|
readonly error: "boolean";
|
|
565
566
|
readonly searchPlaceholder: "string";
|
|
566
567
|
readonly value: "string";
|
|
567
|
-
readonly "aria-label": "string";
|
|
568
|
-
readonly disabled: "boolean";
|
|
569
|
-
readonly id: "string";
|
|
570
568
|
}, readonly [{
|
|
571
569
|
readonly propName: "onBlur";
|
|
572
570
|
readonly eventName: "blur";
|
|
@@ -615,10 +613,11 @@ type RemoteDomUiComponentName = (typeof REMOTE_DOM_UI_COMPONENTS)[number]["expor
|
|
|
615
613
|
type RemoteDomUiDefinition<Name extends RemoteDomUiComponentName> = Extract<(typeof REMOTE_DOM_UI_COMPONENTS)[number], {
|
|
616
614
|
readonly exportName: Name;
|
|
617
615
|
}>;
|
|
618
|
-
type RemoteDomUiPropertyProps<Name extends RemoteDomUiComponentName> = { readonly [Property in keyof RemoteDomUiDefinition<Name>["properties"]]?: RemoteDomUiDefinition<Name>["properties"][Property] extends RemoteDomUiValueCodec ? RemoteDomUiCodecValue<RemoteDomUiDefinition<Name>["properties"][Property]> : never };
|
|
619
|
-
type RemoteDomUiEventProps<Name extends RemoteDomUiComponentName> = { readonly [Event in RemoteDomUiDefinition<Name>["events"][number] as Event["propName"]]?: Event["payload"] extends "void" ? () => void : (value: RemoteDomUiCodecValue<Event["payload"]>) => void };
|
|
616
|
+
type RemoteDomUiPropertyProps<Name extends RemoteDomUiComponentName> = { readonly [Property in keyof RemoteDomUiDefinition<Name>["properties"]]?: RemoteDomUiDefinition<Name>["properties"][Property] extends RemoteDomUiValueCodec ? RemoteDomUiCodecValue<RemoteDomUiDefinition<Name>["properties"][Property]> : never; };
|
|
617
|
+
type RemoteDomUiEventProps<Name extends RemoteDomUiComponentName> = { readonly [Event in RemoteDomUiDefinition<Name>["events"][number] as Event["propName"]]?: Event["payload"] extends "void" ? () => void : (value: RemoteDomUiCodecValue<Event["payload"]>) => void; };
|
|
620
618
|
type RemoteDomUiBaseComponentProps<Name extends RemoteDomUiComponentName> = RemoteDomUiPropertyProps<Name> & RemoteDomUiEventProps<Name> & {
|
|
621
|
-
/** Content rendered inside the host-owned Fluid component. */
|
|
619
|
+
/** Content rendered inside the host-owned Fluid component. */
|
|
620
|
+
readonly children?: ReactNode;
|
|
622
621
|
};
|
|
623
622
|
type RemoteDomUiSearchSortProps = Omit<RemoteDomUiBaseComponentProps<"SearchSort">, "onSearchChange" | "onSortChange" | "searchValue" | "sortOptions" | "sortValue"> & Required<Pick<RemoteDomUiBaseComponentProps<"SearchSort">, "onSearchChange" | "searchValue">> & ({
|
|
624
623
|
readonly onSortChange?: never;
|
|
@@ -627,6 +626,5 @@ type RemoteDomUiSearchSortProps = Omit<RemoteDomUiBaseComponentProps<"SearchSort
|
|
|
627
626
|
} | Required<Pick<RemoteDomUiBaseComponentProps<"SearchSort">, "onSortChange" | "sortOptions" | "sortValue">>);
|
|
628
627
|
/** JSON-safe props accepted by one reviewed worker Fluid UI component. */
|
|
629
628
|
type RemoteDomUiComponentProps<Name extends RemoteDomUiComponentName> = Name extends "Combobox" ? RemoteDomUiBaseComponentProps<"Combobox"> & Required<Pick<RemoteDomUiBaseComponentProps<"Combobox">, "onValueChange" | "options" | "value">> : Name extends "SearchSort" ? RemoteDomUiSearchSortProps : RemoteDomUiBaseComponentProps<Name>;
|
|
630
|
-
//#endregion
|
|
631
629
|
export { RemoteDomUiValueCodec as i, RemoteDomUiComponentName as n, RemoteDomUiComponentProps as r, REMOTE_DOM_UI_COMPONENTS as t };
|
|
632
|
-
//# sourceMappingURL=remote-dom-ui-contract-
|
|
630
|
+
//# sourceMappingURL=remote-dom-ui-contract-Dr0q3O4E.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-dom-ui-contract-Dr0q3O4E.d.mts","names":[],"sources":["../src/remote-dom-ui-contract.ts"],"mappings":";KAiBY;UAWK;WACN;WACA;WACA,SAAS;;KAWf,sBAAsB,cAAc,kCACvC,oCAEI,0DAEE,yCAEE,wCACW,sBACT,kCAEE,kDAEE,mDAEE,sEAEE;;UAKH;WACN;WACA;;KA8CN,sCACH,qBACA,mBAAmB,SAAS,eAAe,yBAC3C,wBAAwB;WAEf,YAAY;WACZ;WACA,YAAY;WACZ,QAAQ;WACR;;;;;;cA8CE,oCAAwB;WA9FrB;WACJ;WACN;;;;;;;;WA+BQ;WACC;WACF;;WAnCG;WACJ;WACN;;;WAFU;WACJ;WACN;;WAFU;WACJ;WACN;;;WAIS;WACP;;WAKM;WACC;WACF;;;;;;;;;;;;;;;;;;;;;;;;;WAdG;WACJ;WACN;;;;;;;;;;;;;;;;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;;;;;;;;;WAuBQ;WACC;WACF;;WA3BG;WACJ;WACN;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;WAFU;WACJ;WACN;;;;;;;WAiBU;WACP;;;;;;WApBO;WACJ;WACN;;;;;;;;;;WAFU;WACJ;WACN;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;WAIS;WACP;;;;;;;;;;;;;;;;;;;WAPQ;WACJ;WACN;WAiBU;WACP;;;;;;;;WApBO;WACJ;WACN;;;;;;;;WAFU;WACJ;WACN;WAiBU;WACP;;;;;;;;;;;;;;;WApBO;WACJ;WACN;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;WAFU;WACJ;WACN;WAiBU;WACP;;;;;;;;;;WApBO;WACJ;WACN;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;;WAFU;WACJ;WACN;;;;;;;;;;;;;;;;;;;WAujBU;WACH;;aAEP;aACA;aACA;aACA;aACA;aACA;;;aAIY;aACC;aACF;;aAEC;aAA2B;aAAwB;;WAEhD;;WAGL;WACH;;aAEP;aACA;;;WAGe;;;KAKT,mCACF;KAEL,sBAAsB,aAAa,4BAA4B,gBAC1D;WACG,YAAY;;KAGpB,yBAAyB,aAAa,wCAC/B,kBAAkB,sBAAsB,uBAAuB,sBAAsB,oBAAoB,kBAAkB,wBACjI,sBAAsB,sBAAsB,oBAAoB;KAIjE,sBAAsB,aAAa,wCAC5B,SAAS,sBAAsB,2BAA2B,qBAAqB,gDAEpF,OAAO,sBAAsB;KAG/B,8BAA8B,aAAa,4BAC9C,yBAAyB,QACvB,sBAAsB;;WAEX,WAAW;;KAGrB,6BAA6B,KAChC,gIAOA,SACE,KACE;WAMW;WACA;WACA;IAEX,SACE,KACE;;KAOE,0BAA0B,aAAa,4BACjD,0BACI,4CACE,SACE,KACE,qFAIN,4BACE,6BACA,8BAA8B"}
|