@weaverse/react 1.0.7 → 1.0.9

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.js CHANGED
@@ -1915,7 +1915,23 @@ var import_react29 = __toESM(require("react"));
1915
1915
  var Placeholder = (0, import_react29.forwardRef)(
1916
1916
  (props, ref) => {
1917
1917
  let { element, className, children, ...rest } = props;
1918
- return /* @__PURE__ */ import_react29.default.createElement("div", { "data-wv-placeholder": true, ref, className, ...rest }, /* @__PURE__ */ import_react29.default.createElement("div", { style: { fontWeight: 600, marginBottom: "10px" } }, element), /* @__PURE__ */ import_react29.default.createElement("div", null, children));
1918
+ return /* @__PURE__ */ import_react29.default.createElement("div", { "data-wv-placeholder": true, ref, className, ...rest }, /* @__PURE__ */ import_react29.default.createElement(
1919
+ "div",
1920
+ {
1921
+ style: { fontWeight: 600, margin: "10px 0 5px", padding: "0 10px" }
1922
+ },
1923
+ element
1924
+ ), /* @__PURE__ */ import_react29.default.createElement(
1925
+ "div",
1926
+ {
1927
+ style: {
1928
+ margin: "5px 0 10px",
1929
+ textAlign: "center",
1930
+ padding: "0 10px"
1931
+ }
1932
+ },
1933
+ children
1934
+ ));
1919
1935
  }
1920
1936
  );
1921
1937
  var placeholder_default = Placeholder;
package/dist/index.mjs CHANGED
@@ -1879,7 +1879,23 @@ import React24, { forwardRef as forwardRef9 } from "react";
1879
1879
  var Placeholder = forwardRef9(
1880
1880
  (props, ref) => {
1881
1881
  let { element, className, children, ...rest } = props;
1882
- return /* @__PURE__ */ React24.createElement("div", { "data-wv-placeholder": true, ref, className, ...rest }, /* @__PURE__ */ React24.createElement("div", { style: { fontWeight: 600, marginBottom: "10px" } }, element), /* @__PURE__ */ React24.createElement("div", null, children));
1882
+ return /* @__PURE__ */ React24.createElement("div", { "data-wv-placeholder": true, ref, className, ...rest }, /* @__PURE__ */ React24.createElement(
1883
+ "div",
1884
+ {
1885
+ style: { fontWeight: 600, margin: "10px 0 5px", padding: "0 10px" }
1886
+ },
1887
+ element
1888
+ ), /* @__PURE__ */ React24.createElement(
1889
+ "div",
1890
+ {
1891
+ style: {
1892
+ margin: "5px 0 10px",
1893
+ textAlign: "center",
1894
+ padding: "0 10px"
1895
+ }
1896
+ },
1897
+ children
1898
+ ));
1883
1899
  }
1884
1900
  );
1885
1901
  var placeholder_default = Placeholder;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.7",
2
+ "version": "1.0.9",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@radix-ui/react-dialog": "^1.0.2",
36
36
  "@stitches/react": "^1.2.8",
37
- "@weaverse/core": "1.0.7",
37
+ "@weaverse/core": "1.0.9",
38
38
  "clsx": "^1.2.1",
39
39
  "keen-slider": "^6.8.5"
40
40
  }