@stackable-labs/sdk-extension-contracts 3.6.0 → 3.8.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.
- package/dist/index.d.ts +11 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ declare const UI_TAG_DEFINITIONS: {
|
|
|
103
103
|
readonly description: "Single-line text input field";
|
|
104
104
|
readonly icon: "text-cursor-input";
|
|
105
105
|
readonly category: "input";
|
|
106
|
-
readonly attributes: readonly ["type", "placeholder", "value", "onChange", "disabled", "className", "id"];
|
|
106
|
+
readonly attributes: readonly ["type", "placeholder", "value", "defaultValue", "onChange", "disabled", "className", "id"];
|
|
107
107
|
readonly selfClosing: true;
|
|
108
108
|
};
|
|
109
109
|
readonly 'ui-textarea': {
|
|
@@ -1284,7 +1284,17 @@ type HostToSandboxMessage = {
|
|
|
1284
1284
|
} | {
|
|
1285
1285
|
type: 'context-update';
|
|
1286
1286
|
surfaceId: string;
|
|
1287
|
+
slotKey?: string;
|
|
1287
1288
|
context: Record<string, unknown>;
|
|
1289
|
+
} | {
|
|
1290
|
+
type: 'surface-render';
|
|
1291
|
+
surfaceId: string;
|
|
1292
|
+
slotKey?: string;
|
|
1293
|
+
context?: Record<string, unknown>;
|
|
1294
|
+
} | {
|
|
1295
|
+
type: 'surface-unmount';
|
|
1296
|
+
surfaceId: string;
|
|
1297
|
+
slotKey: string;
|
|
1288
1298
|
} | {
|
|
1289
1299
|
type: 'surface-lifecycle';
|
|
1290
1300
|
data: SurfaceLifecycleMessage;
|
package/dist/index.js
CHANGED
|
@@ -84,7 +84,7 @@ var UI_TAG_DEFINITIONS = {
|
|
|
84
84
|
description: "Single-line text input field",
|
|
85
85
|
icon: "text-cursor-input",
|
|
86
86
|
category: "input",
|
|
87
|
-
attributes: ["type", "placeholder", "value", "onChange", "disabled", "className", "id"],
|
|
87
|
+
attributes: ["type", "placeholder", "value", "defaultValue", "onChange", "disabled", "className", "id"],
|
|
88
88
|
selfClosing: true
|
|
89
89
|
},
|
|
90
90
|
"ui-textarea": {
|