@graphcommerce/next-ui 6.2.0-canary.39 → 6.2.0-canary.41
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 +8 -0
- package/IconSvg/IconSvg.tsx +28 -30
- package/RenderType/RenderType.tsx +1 -1
- package/package.json +17 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 6.2.0-canary.41
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1960](https://github.com/graphcommerce-org/graphcommerce/pull/1960) [`f78caf5a8`](https://github.com/graphcommerce-org/graphcommerce/commit/f78caf5a83683f1ae4b901fb94bd22d50943fa2f) - Updated packages @apollo/client, react-hook-form, @emotion/\*, @lingui/\*, @mui/\* and various others. ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
9
|
+
## 6.2.0-canary.40
|
|
10
|
+
|
|
3
11
|
## 6.2.0-canary.39
|
|
4
12
|
|
|
5
13
|
## 6.2.0-canary.38
|
package/IconSvg/IconSvg.tsx
CHANGED
|
@@ -53,37 +53,35 @@ export function useIconSvgSize(size: keyof typeof sizes) {
|
|
|
53
53
|
return sizes[size]
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
const Svg = styled('svg', { name, target: name })(() =>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
'
|
|
82
|
-
|
|
83
|
-
stroke: 'none',
|
|
84
|
-
},
|
|
56
|
+
const Svg = styled('svg', { name, target: name })(() => ({
|
|
57
|
+
userSelect: 'none',
|
|
58
|
+
width: '1em',
|
|
59
|
+
height: '1em',
|
|
60
|
+
display: 'inline-block',
|
|
61
|
+
|
|
62
|
+
strokeLinecap: 'square',
|
|
63
|
+
strokeLinejoin: 'miter',
|
|
64
|
+
strokeMiterlimit: 4,
|
|
65
|
+
|
|
66
|
+
fill: 'none',
|
|
67
|
+
stroke: 'currentColor',
|
|
68
|
+
|
|
69
|
+
fontSize: '1.3em',
|
|
70
|
+
|
|
71
|
+
strokeWidth: svgIconStrokeWidth(28, 148, 1.4, 0.8),
|
|
72
|
+
|
|
73
|
+
'&.sizeXs': { fontSize: sizes.xs },
|
|
74
|
+
'&.sizeSmall': { fontSize: sizes.small },
|
|
75
|
+
'&.sizeMedium': { fontSize: sizes.medium },
|
|
76
|
+
'&.sizeLarge': { fontSize: sizes.large },
|
|
77
|
+
'&.sizeXl': { fontSize: sizes.xl },
|
|
78
|
+
'&.sizeXxl': { fontSize: sizes.xxl },
|
|
79
|
+
|
|
80
|
+
'&.fillIcon': {
|
|
81
|
+
fill: 'currentColor',
|
|
82
|
+
stroke: 'none',
|
|
85
83
|
},
|
|
86
|
-
|
|
84
|
+
}))
|
|
87
85
|
|
|
88
86
|
/**
|
|
89
87
|
* IconSvg component is supposed to be used in combination with `icons`
|
|
@@ -8,7 +8,7 @@ type FilterTypeByTypename<A extends TypeObject, Typename extends string> = A ext
|
|
|
8
8
|
: never
|
|
9
9
|
: never
|
|
10
10
|
|
|
11
|
-
type TypeRenderMethod<P> = (props: P) => React.
|
|
11
|
+
type TypeRenderMethod<P> = (props: P) => React.ReactNode
|
|
12
12
|
|
|
13
13
|
type TypeRenderMap<
|
|
14
14
|
T extends TypeObject,
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/next-ui",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "6.2.0-canary.
|
|
5
|
+
"version": "6.2.0-canary.41",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"sideEffects": false,
|
|
@@ -14,29 +14,30 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@emotion/cache": "^11.
|
|
18
|
-
"@emotion/react": "^11.
|
|
19
|
-
"@emotion/server": "^11.
|
|
20
|
-
"@emotion/styled": "^11.
|
|
21
|
-
"@graphcommerce/framer-next-pages": "6.2.0-canary.
|
|
22
|
-
"@graphcommerce/framer-scroller": "6.2.0-canary.
|
|
23
|
-
"@graphcommerce/framer-utils": "6.2.0-canary.
|
|
24
|
-
"@graphcommerce/image": "6.2.0-canary.
|
|
17
|
+
"@emotion/cache": "^11.11.0",
|
|
18
|
+
"@emotion/react": "^11.11.1",
|
|
19
|
+
"@emotion/server": "^11.11.0",
|
|
20
|
+
"@emotion/styled": "^11.11.0",
|
|
21
|
+
"@graphcommerce/framer-next-pages": "6.2.0-canary.41",
|
|
22
|
+
"@graphcommerce/framer-scroller": "6.2.0-canary.41",
|
|
23
|
+
"@graphcommerce/framer-utils": "6.2.0-canary.41",
|
|
24
|
+
"@graphcommerce/image": "6.2.0-canary.41",
|
|
25
25
|
"cookie": "^0.5.0",
|
|
26
26
|
"react-is": "^18.2.0",
|
|
27
27
|
"schema-dts": "^1.1.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@graphcommerce/eslint-config-pwa": "6.2.0-canary.
|
|
31
|
-
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.
|
|
32
|
-
"@graphcommerce/typescript-config-pwa": "6.2.0-canary.
|
|
30
|
+
"@graphcommerce/eslint-config-pwa": "6.2.0-canary.41",
|
|
31
|
+
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.41",
|
|
32
|
+
"@graphcommerce/typescript-config-pwa": "6.2.0-canary.41",
|
|
33
33
|
"@types/cookie": "^0.5.1",
|
|
34
|
-
"@types/react-is": "^
|
|
35
|
-
"typescript": "
|
|
34
|
+
"@types/react-is": "^18.2.0",
|
|
35
|
+
"typescript": "5.1.3"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@lingui/core": "^
|
|
39
|
-
"@lingui/react": "^
|
|
38
|
+
"@lingui/core": "^4.2.1",
|
|
39
|
+
"@lingui/react": "^4.2.1",
|
|
40
|
+
"@lingui/macro": "^4.2.1",
|
|
40
41
|
"@mui/lab": "^5.0.0-alpha.68",
|
|
41
42
|
"@mui/material": "^5.10.16",
|
|
42
43
|
"framer-motion": "^10.0.0",
|