@webstudio-is/sdk-components-react 0.105.0 → 0.107.0
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/lib/components.js +1 -1
- package/package.json +6 -7
package/lib/components.js
CHANGED
|
@@ -110,7 +110,7 @@ import { jsx as jsx5 } from "react/jsx-runtime";
|
|
|
110
110
|
var defaultTag2 = "div";
|
|
111
111
|
var Text = forwardRef6(
|
|
112
112
|
({ tag: Tag = defaultTag2, children, ...props }, ref) => {
|
|
113
|
-
return /* @__PURE__ */ jsx5(Tag, { ...props, ref, children });
|
|
113
|
+
return /* @__PURE__ */ jsx5(Tag, { ...props, ref, children: children ?? "The text you can edit" });
|
|
114
114
|
}
|
|
115
115
|
);
|
|
116
116
|
Text.displayName = "Text";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/sdk-components-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.107.0",
|
|
4
4
|
"description": "Webstudio default library for react",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -37,13 +37,12 @@
|
|
|
37
37
|
"react-dom": "^18.2.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@react-aria/utils": "^3.
|
|
40
|
+
"@react-aria/utils": "^3.21.0",
|
|
41
41
|
"colord": "^2.9.3",
|
|
42
42
|
"shallow-equal": "^3.1.0",
|
|
43
|
-
"@webstudio-is/
|
|
44
|
-
"@webstudio-is/
|
|
45
|
-
"@webstudio-is/
|
|
46
|
-
"@webstudio-is/react-sdk": "0.105.0"
|
|
43
|
+
"@webstudio-is/icons": "0.107.0",
|
|
44
|
+
"@webstudio-is/image": "0.107.0",
|
|
45
|
+
"@webstudio-is/react-sdk": "0.107.0"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
48
|
"@storybook/react": "^7.4.0",
|
|
@@ -52,7 +51,7 @@
|
|
|
52
51
|
"react": "^18.2.0",
|
|
53
52
|
"react-dom": "^18.2.0",
|
|
54
53
|
"typescript": "5.2.2",
|
|
55
|
-
"@webstudio-is/generate-arg-types": "0.
|
|
54
|
+
"@webstudio-is/generate-arg-types": "0.107.0",
|
|
56
55
|
"@webstudio-is/storybook-config": "0.0.0",
|
|
57
56
|
"@webstudio-is/tsconfig": "1.0.7"
|
|
58
57
|
},
|