@weaverse/core 0.7.18 → 0.7.19
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 +2 -9
- package/dist/index.js +25 -6
- package/dist/index.mjs +25 -6
- 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;
|
|
@@ -190,17 +190,10 @@ interface BasicInput {
|
|
|
190
190
|
condition?: string;
|
|
191
191
|
default?: string | number | boolean;
|
|
192
192
|
}
|
|
193
|
-
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";
|
|
194
194
|
declare global {
|
|
195
195
|
interface Window {
|
|
196
196
|
WeaverseStudioBridge: any;
|
|
197
|
-
weaverseShopifyConfigs: any;
|
|
198
|
-
weaverseShopifyProducts: any;
|
|
199
|
-
weaverseShopifyProductsByCollection: any;
|
|
200
|
-
weaverseShopifyCollections: any;
|
|
201
|
-
weaverseShopifyArticles: any;
|
|
202
|
-
weaverseShopifyBlogs: any;
|
|
203
|
-
weaverseCartHelpers: any;
|
|
204
197
|
Blinkloader: any;
|
|
205
198
|
}
|
|
206
199
|
}
|
package/dist/index.js
CHANGED
|
@@ -96,13 +96,32 @@ function createGlobalStyles(stitches2) {
|
|
|
96
96
|
from: { transform: "rotate(0deg)" },
|
|
97
97
|
to: { transform: "rotate(360deg)" }
|
|
98
98
|
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"-webkit-
|
|
102
|
-
|
|
99
|
+
".weaverse-content-root": {
|
|
100
|
+
input: {
|
|
101
|
+
"&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
|
|
102
|
+
"-webkit-appearance": "none",
|
|
103
|
+
margin: 0
|
|
104
|
+
},
|
|
105
|
+
"&[type=number]": {
|
|
106
|
+
"-moz-appearance": "textfield"
|
|
107
|
+
}
|
|
103
108
|
},
|
|
104
|
-
|
|
105
|
-
|
|
109
|
+
select: {
|
|
110
|
+
WebkitAppearance: "none",
|
|
111
|
+
MozAppearance: "none",
|
|
112
|
+
appearance: "none",
|
|
113
|
+
outline: "none",
|
|
114
|
+
boxShadow: "none",
|
|
115
|
+
color: "currentColor",
|
|
116
|
+
verticalAlign: "middle",
|
|
117
|
+
backgroundPosition: "center",
|
|
118
|
+
backgroundRepeat: "no-repeat",
|
|
119
|
+
backgroundImage: "url(https://ucarecdn.com/4bb6a6e7-1ce8-4201-8f2d-da00a50105f3/ardown.svg)",
|
|
120
|
+
backgroundSize: "10px",
|
|
121
|
+
backgroundPositionX: "calc(100% - 12px)",
|
|
122
|
+
paddingLeft: "12px",
|
|
123
|
+
paddingRight: "35px !important",
|
|
124
|
+
cursor: "pointer"
|
|
106
125
|
}
|
|
107
126
|
},
|
|
108
127
|
".wv-spinner-wrapper": {
|
package/dist/index.mjs
CHANGED
|
@@ -57,13 +57,32 @@ function createGlobalStyles(stitches2) {
|
|
|
57
57
|
from: { transform: "rotate(0deg)" },
|
|
58
58
|
to: { transform: "rotate(360deg)" }
|
|
59
59
|
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"-webkit-
|
|
63
|
-
|
|
60
|
+
".weaverse-content-root": {
|
|
61
|
+
input: {
|
|
62
|
+
"&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
|
|
63
|
+
"-webkit-appearance": "none",
|
|
64
|
+
margin: 0
|
|
65
|
+
},
|
|
66
|
+
"&[type=number]": {
|
|
67
|
+
"-moz-appearance": "textfield"
|
|
68
|
+
}
|
|
64
69
|
},
|
|
65
|
-
|
|
66
|
-
|
|
70
|
+
select: {
|
|
71
|
+
WebkitAppearance: "none",
|
|
72
|
+
MozAppearance: "none",
|
|
73
|
+
appearance: "none",
|
|
74
|
+
outline: "none",
|
|
75
|
+
boxShadow: "none",
|
|
76
|
+
color: "currentColor",
|
|
77
|
+
verticalAlign: "middle",
|
|
78
|
+
backgroundPosition: "center",
|
|
79
|
+
backgroundRepeat: "no-repeat",
|
|
80
|
+
backgroundImage: "url(https://ucarecdn.com/4bb6a6e7-1ce8-4201-8f2d-da00a50105f3/ardown.svg)",
|
|
81
|
+
backgroundSize: "10px",
|
|
82
|
+
backgroundPositionX: "calc(100% - 12px)",
|
|
83
|
+
paddingLeft: "12px",
|
|
84
|
+
paddingRight: "35px !important",
|
|
85
|
+
cursor: "pointer"
|
|
67
86
|
}
|
|
68
87
|
},
|
|
69
88
|
".wv-spinner-wrapper": {
|
package/package.json
CHANGED