@weaverse/core 0.7.7 → 0.7.8
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 +3 -3
- package/dist/index.js +0 -0
- package/dist/index.mjs +0 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ interface ElementCatalog {
|
|
|
95
95
|
group?: CatalogGroup;
|
|
96
96
|
data?: ElementData[];
|
|
97
97
|
}
|
|
98
|
-
declare type FlagType = "draggable" | "resizable" | "sortable" | "droppable";
|
|
98
|
+
declare type FlagType = "draggable" | "resizable" | "sortable" | "droppable" | "deletable" | "duplicable";
|
|
99
99
|
declare type ElementFlags = Partial<Record<FlagType, boolean>>;
|
|
100
100
|
declare type ToolbarAction = "duplicate" | "delete" | "edit-button" | "insert-link" | "select-template" | "copy-styles" | "paste-styles";
|
|
101
101
|
interface ChildElement {
|
|
@@ -145,7 +145,7 @@ declare type BasicGroup = {
|
|
|
145
145
|
label: string;
|
|
146
146
|
inputs: BasicInput[];
|
|
147
147
|
};
|
|
148
|
-
declare type AdvancedInput = "
|
|
148
|
+
declare type AdvancedInput = "border" | "alignment" | "background" | "dimensions" | "spacing" | "visibility";
|
|
149
149
|
interface BasicInput {
|
|
150
150
|
type: InputType;
|
|
151
151
|
label: string;
|
|
@@ -164,7 +164,7 @@ interface BasicInput {
|
|
|
164
164
|
step?: number;
|
|
165
165
|
conditions?: TODO[];
|
|
166
166
|
}
|
|
167
|
-
declare type InputType = "color" | "
|
|
167
|
+
declare type InputType = "color" | "datepicker" | "image" | "range" | "select" | "sortable" | "switch" | "text" | "textarea" | "toggle-group" | "form" | "product" | "custom.html" | "instagram";
|
|
168
168
|
declare global {
|
|
169
169
|
interface Window {
|
|
170
170
|
WeaverseStudioBridge: TODO;
|
package/dist/index.js
CHANGED
|
File without changes
|
package/dist/index.mjs
CHANGED
|
File without changes
|
package/package.json
CHANGED