@weaverse/core 0.7.17 → 0.7.18
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 +4 -2
- package/dist/index.js +13 -0
- package/dist/index.mjs +13 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ interface ChildElement {
|
|
|
99
99
|
label: string;
|
|
100
100
|
selector: string;
|
|
101
101
|
}
|
|
102
|
-
declare type ParentType =
|
|
102
|
+
declare type ParentType = 'container' | 'layout' | 'root' | 'product-details' | 'product-info' | 'collection.box' | 'collection-box' | 'article-box' | 'article-list' | 'slider' | 'tab' | 'accordion' | 'accordion.wrapper';
|
|
103
103
|
declare type GridSize = {
|
|
104
104
|
rowSpan: number;
|
|
105
105
|
colSpan: number;
|
|
@@ -137,6 +137,7 @@ interface ElementInspector {
|
|
|
137
137
|
}
|
|
138
138
|
interface AdvancedGroup {
|
|
139
139
|
groupType: AdvancedGroupType;
|
|
140
|
+
useData?: boolean;
|
|
140
141
|
}
|
|
141
142
|
interface BasicGroup {
|
|
142
143
|
groupType: "basic";
|
|
@@ -187,8 +188,9 @@ interface BasicInput {
|
|
|
187
188
|
* `imagesPerRow.gt.1`
|
|
188
189
|
*/
|
|
189
190
|
condition?: string;
|
|
191
|
+
default?: string | number | boolean;
|
|
190
192
|
}
|
|
191
|
-
declare type InputType =
|
|
193
|
+
declare type InputType = 'color' | 'datepicker' | 'image' | 'range' | 'select' | 'sortable' | 'switch' | 'text' | 'textarea' | 'toggle-group' | 'form' | 'product' | 'product-swatches' | 'custom.html' | 'instagram' | 'collection-list' | 'collection' | 'article-list';
|
|
192
194
|
declare global {
|
|
193
195
|
interface Window {
|
|
194
196
|
WeaverseStudioBridge: any;
|
package/dist/index.js
CHANGED
|
@@ -104,6 +104,19 @@ function createGlobalStyles(stitches2) {
|
|
|
104
104
|
"&[type=number]": {
|
|
105
105
|
"-moz-appearance": "textfield"
|
|
106
106
|
}
|
|
107
|
+
},
|
|
108
|
+
".wv-spinner-wrapper": {
|
|
109
|
+
position: "absolute",
|
|
110
|
+
inset: "0px",
|
|
111
|
+
display: "flex",
|
|
112
|
+
alignItems: "center",
|
|
113
|
+
justifyContent: "center",
|
|
114
|
+
backgroundColor: "inherit",
|
|
115
|
+
".wv-spinner": {
|
|
116
|
+
width: "20px",
|
|
117
|
+
height: "20px",
|
|
118
|
+
animation: "spin .75s linear infinite"
|
|
119
|
+
}
|
|
107
120
|
}
|
|
108
121
|
});
|
|
109
122
|
globalStyles();
|
package/dist/index.mjs
CHANGED
|
@@ -65,6 +65,19 @@ function createGlobalStyles(stitches2) {
|
|
|
65
65
|
"&[type=number]": {
|
|
66
66
|
"-moz-appearance": "textfield"
|
|
67
67
|
}
|
|
68
|
+
},
|
|
69
|
+
".wv-spinner-wrapper": {
|
|
70
|
+
position: "absolute",
|
|
71
|
+
inset: "0px",
|
|
72
|
+
display: "flex",
|
|
73
|
+
alignItems: "center",
|
|
74
|
+
justifyContent: "center",
|
|
75
|
+
backgroundColor: "inherit",
|
|
76
|
+
".wv-spinner": {
|
|
77
|
+
width: "20px",
|
|
78
|
+
height: "20px",
|
|
79
|
+
animation: "spin .75s linear infinite"
|
|
80
|
+
}
|
|
68
81
|
}
|
|
69
82
|
});
|
|
70
83
|
globalStyles();
|
package/package.json
CHANGED