@weaverse/core 0.7.55 → 0.7.57

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -6
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -110,7 +110,7 @@ type GridSize = {
110
110
  rowSpan: number;
111
111
  colSpan: number;
112
112
  };
113
- type ToolbarAction = "general-settings" | "edit-text" | "duplicate" | "delete" | "copy-styles" | "paste-styles" | "move-up" | "move-down" | "toggle-visibility";
113
+ type ToolbarAction = "general-settings" | "edit-text" | "duplicate" | "delete" | "copy-styles" | "paste-styles" | "move-up" | "move-down" | "toggle-visibility" | "more-actions";
114
114
  interface ElementSchema {
115
115
  title: string;
116
116
  type: string;
@@ -185,7 +185,7 @@ interface BasicInput<ConfigsType = AdditionalInputConfigs> {
185
185
  placeholder?: string;
186
186
  helpText?: string;
187
187
  }
188
- type AdditionalInputConfigs = SelectInputConfigs | ToggleGroupConfigs | RangeInputConfigs | SortableInputConfigs | PositionInputConfigs;
188
+ type AdditionalInputConfigs = SelectInputConfigs | ToggleGroupConfigs | RangeInputConfigs | SortableInputConfigs;
189
189
  interface SelectInputConfigs {
190
190
  options?: {
191
191
  value: string;
@@ -194,9 +194,6 @@ interface SelectInputConfigs {
194
194
  weight?: string;
195
195
  }[];
196
196
  }
197
- interface PositionInputConfigs {
198
- positionValues: string[];
199
- }
200
197
  interface ToggleGroupConfigs {
201
198
  options?: {
202
199
  value: string;
@@ -209,6 +206,7 @@ interface RangeInputConfigs {
209
206
  min?: number;
210
207
  max?: number;
211
208
  step?: number;
209
+ unit?: string;
212
210
  }
213
211
  type SortableItemAction = "add" | "edit" | "duplicate" | "delete" | "toggle-visibility";
214
212
  interface SortableInputConfigs {
@@ -345,4 +343,4 @@ declare class Weaverse {
345
343
  initProjectItemData(): void;
346
344
  }
347
345
 
348
- export { AdditionalInputConfigs, AdvancedGroup, AdvancedGroupType, BasicGroup, BasicInput, BreakPoints, CatalogGroup, ChildElement, ChildElementCSS, ChildElementSelector, ElementCSS, ElementCatalog, ElementData, ElementDataInCatalog, ElementFlags, ElementInspector, ElementSchema, FlagType, GridSize, InitializeData, InputType, ParentType, PositionInputConfigs, ProjectDataType, RangeInputConfigs, SelectInputConfigs, SortableInputConfigs, SortableItemAction, ToggleGroupConfigs, ToolbarAction, Weaverse, WeaverseCSSProperties, WeaverseElement, WeaverseItemStore, WeaverseType, isBrowser, isIframe, isReactNative, merge, stichesUtils };
346
+ export { AdditionalInputConfigs, AdvancedGroup, AdvancedGroupType, BasicGroup, BasicInput, BreakPoints, CatalogGroup, ChildElement, ChildElementCSS, ChildElementSelector, ElementCSS, ElementCatalog, ElementData, ElementDataInCatalog, ElementFlags, ElementInspector, ElementSchema, FlagType, GridSize, InitializeData, InputType, ParentType, ProjectDataType, RangeInputConfigs, SelectInputConfigs, SortableInputConfigs, SortableItemAction, ToggleGroupConfigs, ToolbarAction, Weaverse, WeaverseCSSProperties, WeaverseElement, WeaverseItemStore, WeaverseType, isBrowser, isIframe, isReactNative, merge, stichesUtils };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.55",
2
+ "version": "0.7.57",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",