@graphcommerce/image 3.0.2 → 3.1.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/CHANGELOG.md +28 -0
- package/components/Image.tsx +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1284](https://github.com/ho-nl/m2-pwa/pull/1284)
|
|
8
|
+
[`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)
|
|
9
|
+
Thanks [@paales](https://github.com/paales)! - SvgIcon is now more extenable and flexible:
|
|
10
|
+
|
|
11
|
+
- It will automatically calculate the stroke-width of the SVG based on the rendered size, allowing
|
|
12
|
+
for a more flexible use for icons.
|
|
13
|
+
|
|
14
|
+
- Make SvgIcon themable in your own Theme.
|
|
15
|
+
|
|
16
|
+
- Create overrides for components that will be used throughout the app.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
|
|
21
|
+
Thanks [@paales](https://github.com/paales)! - made packages public
|
|
22
|
+
|
|
23
|
+
* [#1278](https://github.com/ho-nl/m2-pwa/pull/1278)
|
|
24
|
+
[`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20)
|
|
25
|
+
Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Upgraded dependencies to the latest version
|
|
26
|
+
|
|
27
|
+
* Updated dependencies
|
|
28
|
+
[[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)]:
|
|
29
|
+
- @graphcommerce/framer-utils@3.0.3
|
|
30
|
+
|
|
3
31
|
## 3.0.2
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
package/components/Image.tsx
CHANGED
|
@@ -59,7 +59,7 @@ interface StaticRequire {
|
|
|
59
59
|
default: StaticImageData
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
type StaticImport = StaticRequire | StaticImageData
|
|
62
|
+
export type StaticImport = StaticRequire | StaticImageData
|
|
63
63
|
|
|
64
64
|
export function isStaticRequire(src: StaticRequire | StaticImageData): src is StaticRequire {
|
|
65
65
|
return (src as StaticRequire).default !== undefined
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/image",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "3.0
|
|
5
|
+
"version": "3.1.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "tsc -W"
|
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@graphcommerce/framer-utils": "^3.0.
|
|
18
|
+
"@graphcommerce/framer-utils": "^3.0.3"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@graphcommerce/eslint-config-pwa": "^4.0.
|
|
22
|
-
"@graphcommerce/prettier-config-pwa": "^4.0.
|
|
23
|
-
"@graphcommerce/typescript-config-pwa": "^4.0.
|
|
21
|
+
"@graphcommerce/eslint-config-pwa": "^4.0.3",
|
|
22
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.2",
|
|
23
|
+
"@graphcommerce/typescript-config-pwa": "^4.0.2",
|
|
24
24
|
"@playwright/test": "^1.19.1"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"next": "^12.1.0",
|
|
28
28
|
"react": "^17.0.2",
|
|
29
29
|
"react-dom": "^17.0.2",
|
|
30
|
-
"type-fest": "^2.
|
|
30
|
+
"type-fest": "^2.12.0"
|
|
31
31
|
}
|
|
32
32
|
}
|