@weaverse/core 0.7.56 → 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.
- package/dist/index.d.ts +3 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -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
|
|
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,
|
|
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