@weaverse/react 1.0.1 → 1.0.3
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 +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2244,7 +2244,7 @@ var ItemComponent = ({ instance }) => {
|
|
|
2244
2244
|
if (Component.$$typeof === Symbol.for("react.forward_ref")) {
|
|
2245
2245
|
rest.ref = instance.ref;
|
|
2246
2246
|
}
|
|
2247
|
-
return /* @__PURE__ */ import_react38.default.createElement(
|
|
2247
|
+
return /* @__PURE__ */ import_react38.default.createElement(
|
|
2248
2248
|
Component,
|
|
2249
2249
|
{
|
|
2250
2250
|
key: id,
|
|
@@ -2254,7 +2254,7 @@ var ItemComponent = ({ instance }) => {
|
|
|
2254
2254
|
...rest
|
|
2255
2255
|
},
|
|
2256
2256
|
childIds.map((id2) => /* @__PURE__ */ import_react38.default.createElement(ItemInstance, { key: id2, id: id2 }))
|
|
2257
|
-
)
|
|
2257
|
+
);
|
|
2258
2258
|
} else {
|
|
2259
2259
|
console.log(`Unknown element: ${type}`);
|
|
2260
2260
|
return null;
|
|
@@ -2265,6 +2265,7 @@ var StitchesSSR = ({ stitchesInstance }) => {
|
|
|
2265
2265
|
return /* @__PURE__ */ import_react38.default.createElement(
|
|
2266
2266
|
"style",
|
|
2267
2267
|
{
|
|
2268
|
+
id: "stitches",
|
|
2268
2269
|
"data-style": "weaverse-stitches",
|
|
2269
2270
|
dangerouslySetInnerHTML: { __html: stitchesCss2 },
|
|
2270
2271
|
suppressHydrationWarning: true
|
package/dist/index.mjs
CHANGED
|
@@ -2208,7 +2208,7 @@ var ItemComponent = ({ instance }) => {
|
|
|
2208
2208
|
if (Component.$$typeof === Symbol.for("react.forward_ref")) {
|
|
2209
2209
|
rest.ref = instance.ref;
|
|
2210
2210
|
}
|
|
2211
|
-
return /* @__PURE__ */ React29.createElement(
|
|
2211
|
+
return /* @__PURE__ */ React29.createElement(
|
|
2212
2212
|
Component,
|
|
2213
2213
|
{
|
|
2214
2214
|
key: id,
|
|
@@ -2218,7 +2218,7 @@ var ItemComponent = ({ instance }) => {
|
|
|
2218
2218
|
...rest
|
|
2219
2219
|
},
|
|
2220
2220
|
childIds.map((id2) => /* @__PURE__ */ React29.createElement(ItemInstance, { key: id2, id: id2 }))
|
|
2221
|
-
)
|
|
2221
|
+
);
|
|
2222
2222
|
} else {
|
|
2223
2223
|
console.log(`Unknown element: ${type}`);
|
|
2224
2224
|
return null;
|
|
@@ -2229,6 +2229,7 @@ var StitchesSSR = ({ stitchesInstance }) => {
|
|
|
2229
2229
|
return /* @__PURE__ */ React29.createElement(
|
|
2230
2230
|
"style",
|
|
2231
2231
|
{
|
|
2232
|
+
id: "stitches",
|
|
2232
2233
|
"data-style": "weaverse-stitches",
|
|
2233
2234
|
dangerouslySetInnerHTML: { __html: stitchesCss2 },
|
|
2234
2235
|
suppressHydrationWarning: true
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.3",
|
|
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.
|
|
37
|
+
"@weaverse/core": "1.0.3",
|
|
38
38
|
"clsx": "^1.2.1",
|
|
39
39
|
"keen-slider": "^6.8.5"
|
|
40
40
|
}
|