@weaverse/core 0.7.32 → 0.7.34

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
@@ -95,9 +95,10 @@ interface ElementDataInCatalog extends Omit<ElementData, "id"> {
95
95
  }
96
96
  type FlagType = "draggable" | "resizable" | "sortable" | "ignoreShortcutKeys" | "hasContextMenu" | "isSortableContext";
97
97
  type ElementFlags = Partial<Record<FlagType, boolean>>;
98
+ type ChildElementSelector = string | string[];
98
99
  interface ChildElement {
99
100
  label: string;
100
- selector: string;
101
+ selector: ChildElementSelector;
101
102
  }
102
103
  type ParentType = "container" | "layout" | "root" | "product-details" | "product-info" | "collection.box" | "collection-box" | "article-box" | "article-list" | "slider" | "tab" | "accordion" | "accordion.wrapper";
103
104
  type GridSize = {
@@ -205,7 +206,7 @@ type SortableItemAction = "add" | "edit" | "duplicate" | "delete" | "toggle-visi
205
206
  interface SortableInputConfigs {
206
207
  actions: SortableItemAction[];
207
208
  }
208
- 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" | "map-autocomplete";
209
+ 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" | "map-autocomplete" | "layout-background";
209
210
  declare global {
210
211
  interface Window {
211
212
  WeaverseStudioBridge: any;
@@ -336,4 +337,4 @@ declare class Weaverse {
336
337
  initProjectItemData(): void;
337
338
  }
338
339
 
339
- export { AdditionalInputConfigs, AdvancedGroup, AdvancedGroupType, BasicGroup, BasicInput, BreakPoints, CatalogGroup, ChildElement, ChildElementCSS, ElementCSS, ElementCatalog, ElementData, ElementDataInCatalog, ElementFlags, ElementInspector, ElementSchema, FlagType, GridSize, InitializeData, InputType, ParentType, ProjectDataType, RangeInputConfigs, SelectInputConfigs, SortableInputConfigs, SortableItemAction, ToggleGroupConfigs, ToolbarAction, Weaverse, WeaverseCSSProperties, WeaverseElement, WeaverseItemStore, WeaverseType, createGlobalStyles, isBrowser, isIframe, isReactNative, loadScript, stichesUtils };
340
+ 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, createGlobalStyles, isBrowser, isIframe, isReactNative, loadScript, stichesUtils };
package/dist/index.js CHANGED
@@ -101,6 +101,12 @@ function createGlobalStyles(stitches2) {
101
101
  "50%": { opacity: 0.5 }
102
102
  },
103
103
  ".weaverse-content-root": {
104
+ "*": {
105
+ WebkitFontSmoothing: "antialiased",
106
+ MozOsxFontSmoothing: "auto",
107
+ textRendering: "optimizeLegibility",
108
+ boxSizing: "border-box"
109
+ },
104
110
  input: {
105
111
  "&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
106
112
  "-webkit-appearance": "none",
@@ -121,7 +127,7 @@ function createGlobalStyles(stitches2) {
121
127
  backgroundColor: "transparent",
122
128
  backgroundPosition: "center",
123
129
  backgroundRepeat: "no-repeat",
124
- backgroundImage: "url(https://ucarecdn.com/4bb6a6e7-1ce8-4201-8f2d-da00a50105f3/ardown.svg)",
130
+ backgroundImage: "url(https://ucarecdn.com/4bb6a6e7-1ce8-4201-8f2d-da00a50105f3/)",
125
131
  backgroundSize: "10px",
126
132
  backgroundPositionX: "calc(100% - 12px)",
127
133
  paddingLeft: "12px",
package/dist/index.mjs CHANGED
@@ -62,6 +62,12 @@ function createGlobalStyles(stitches2) {
62
62
  "50%": { opacity: 0.5 }
63
63
  },
64
64
  ".weaverse-content-root": {
65
+ "*": {
66
+ WebkitFontSmoothing: "antialiased",
67
+ MozOsxFontSmoothing: "auto",
68
+ textRendering: "optimizeLegibility",
69
+ boxSizing: "border-box"
70
+ },
65
71
  input: {
66
72
  "&::-webkit-outer-spin-button, &::-webkit-inner-spin-button": {
67
73
  "-webkit-appearance": "none",
@@ -82,7 +88,7 @@ function createGlobalStyles(stitches2) {
82
88
  backgroundColor: "transparent",
83
89
  backgroundPosition: "center",
84
90
  backgroundRepeat: "no-repeat",
85
- backgroundImage: "url(https://ucarecdn.com/4bb6a6e7-1ce8-4201-8f2d-da00a50105f3/ardown.svg)",
91
+ backgroundImage: "url(https://ucarecdn.com/4bb6a6e7-1ce8-4201-8f2d-da00a50105f3/)",
86
92
  backgroundSize: "10px",
87
93
  backgroundPositionX: "calc(100% - 12px)",
88
94
  paddingLeft: "12px",
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.7.32",
2
+ "version": "0.7.34",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",