@weaverse/core 0.7.22 → 0.7.24

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 CHANGED
@@ -108,7 +108,7 @@ declare type ToolbarAction = "general-settings" | "edit-text" | "duplicate" | "d
108
108
  interface ElementSchema {
109
109
  title: string;
110
110
  type: string;
111
- parentType: ParentType;
111
+ parentTypes: ParentType[];
112
112
  gridSize?: GridSize;
113
113
  inspector?: ElementInspector;
114
114
  toolbar?: (ToolbarAction | ToolbarAction[])[];
@@ -177,6 +177,7 @@ interface BasicInput<ConfigsType = AdditionalInputConfigs> {
177
177
  condition?: string;
178
178
  defaultValue?: string | number | boolean;
179
179
  placeholder?: string;
180
+ helpText?: string;
180
181
  }
181
182
  declare type AdditionalInputConfigs = SelectInputConfigs | ToggleGroupConfigs | RangeInputConfigs | SortableInputConfigs;
182
183
  interface SelectInputConfigs {
package/dist/index.js CHANGED
@@ -114,6 +114,7 @@ function createGlobalStyles(stitches2) {
114
114
  boxShadow: "none",
115
115
  color: "currentColor",
116
116
  verticalAlign: "middle",
117
+ backgroundColor: "transparent",
117
118
  backgroundPosition: "center",
118
119
  backgroundRepeat: "no-repeat",
119
120
  backgroundImage: "url(https://ucarecdn.com/4bb6a6e7-1ce8-4201-8f2d-da00a50105f3/ardown.svg)",
@@ -146,6 +147,16 @@ function createGlobalStyles(stitches2) {
146
147
  height: "20px",
147
148
  animation: "spin .75s linear infinite"
148
149
  }
150
+ },
151
+ "[data-wv-placeholder]": {
152
+ height: "100%",
153
+ display: "flex",
154
+ flexDirection: "column",
155
+ alignItems: "center",
156
+ justifyContent: "center",
157
+ backgroundColor: "rgba(236, 236, 236, 0.5)",
158
+ backgroundClip: "content-box",
159
+ padding: "10px"
149
160
  }
150
161
  });
151
162
  globalStyles();
package/dist/index.mjs CHANGED
@@ -75,6 +75,7 @@ function createGlobalStyles(stitches2) {
75
75
  boxShadow: "none",
76
76
  color: "currentColor",
77
77
  verticalAlign: "middle",
78
+ backgroundColor: "transparent",
78
79
  backgroundPosition: "center",
79
80
  backgroundRepeat: "no-repeat",
80
81
  backgroundImage: "url(https://ucarecdn.com/4bb6a6e7-1ce8-4201-8f2d-da00a50105f3/ardown.svg)",
@@ -107,6 +108,16 @@ function createGlobalStyles(stitches2) {
107
108
  height: "20px",
108
109
  animation: "spin .75s linear infinite"
109
110
  }
111
+ },
112
+ "[data-wv-placeholder]": {
113
+ height: "100%",
114
+ display: "flex",
115
+ flexDirection: "column",
116
+ alignItems: "center",
117
+ justifyContent: "center",
118
+ backgroundColor: "rgba(236, 236, 236, 0.5)",
119
+ backgroundClip: "content-box",
120
+ padding: "10px"
110
121
  }
111
122
  });
112
123
  globalStyles();
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.22",
2
+ "version": "0.7.24",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",