@webstudio-is/image 0.139.0 → 0.140.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/index.js +1 -1
- package/lib/types/image-optimize.d.ts +1 -1
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -97,7 +97,6 @@ var getImageAttributes = (props) => {
|
|
|
97
97
|
}
|
|
98
98
|
return resAttrs;
|
|
99
99
|
}
|
|
100
|
-
return null;
|
|
101
100
|
};
|
|
102
101
|
|
|
103
102
|
// src/image.tsx
|
|
@@ -123,6 +122,7 @@ var Image = forwardRef(
|
|
|
123
122
|
return /* @__PURE__ */ jsx(
|
|
124
123
|
"img",
|
|
125
124
|
{
|
|
125
|
+
alt: "",
|
|
126
126
|
...imageProps,
|
|
127
127
|
...imageAttributes,
|
|
128
128
|
decoding,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/image",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.140.0",
|
|
4
4
|
"description": "Image optimization",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"react-dom": "^18.2.0",
|
|
18
18
|
"typescript": "5.2.2",
|
|
19
19
|
"@webstudio-is/jest-config": "1.0.7",
|
|
20
|
-
"@webstudio-is/
|
|
21
|
-
"@webstudio-is/
|
|
20
|
+
"@webstudio-is/tsconfig": "1.0.7",
|
|
21
|
+
"@webstudio-is/storybook-config": "0.0.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^18.2.0",
|