@graphcommerce/next-ui 7.0.2-canary.7 → 7.1.0-canary.10
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 +10 -0
- package/Footer/Footer.tsx +4 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.1.0-canary.10
|
|
4
|
+
|
|
5
|
+
## 7.1.0-canary.9
|
|
6
|
+
|
|
7
|
+
## 7.1.0-canary.8
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- [#2073](https://github.com/graphcommerce-org/graphcommerce/pull/2073) [`05ce5665b`](https://github.com/graphcommerce-org/graphcommerce/commit/05ce5665b3c63b0620266c8ac35e8b555e2029e8) - It is now allowed to use children inside the footer component ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
12
|
+
|
|
3
13
|
## 7.0.2-canary.7
|
|
4
14
|
|
|
5
15
|
## 7.0.2-canary.6
|
package/Footer/Footer.tsx
CHANGED
|
@@ -7,7 +7,8 @@ export type FooterProps = {
|
|
|
7
7
|
socialLinks?: React.ReactNode
|
|
8
8
|
customerService?: React.ReactNode
|
|
9
9
|
copyright?: React.ReactElement
|
|
10
|
-
|
|
10
|
+
children?: React.ReactNode
|
|
11
|
+
} & ContainerProps
|
|
11
12
|
|
|
12
13
|
const { classes, selectors } = extendableComponent('Footer', [
|
|
13
14
|
'root',
|
|
@@ -24,6 +25,7 @@ export function Footer(props: FooterProps) {
|
|
|
24
25
|
customerService,
|
|
25
26
|
copyright,
|
|
26
27
|
sx = [],
|
|
28
|
+
children,
|
|
27
29
|
...containerProps
|
|
28
30
|
} = props
|
|
29
31
|
|
|
@@ -130,6 +132,7 @@ export function Footer(props: FooterProps) {
|
|
|
130
132
|
{copyright}
|
|
131
133
|
</Box>
|
|
132
134
|
)}
|
|
135
|
+
{children}
|
|
133
136
|
</Container>
|
|
134
137
|
)
|
|
135
138
|
}
|
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": "7.0
|
|
5
|
+
"version": "7.1.0-canary.10",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"sideEffects": false,
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"@emotion/react": "^11.11.1",
|
|
19
19
|
"@emotion/server": "^11.11.0",
|
|
20
20
|
"@emotion/styled": "^11.11.0",
|
|
21
|
-
"@graphcommerce/framer-next-pages": "7.0
|
|
22
|
-
"@graphcommerce/framer-scroller": "7.0
|
|
23
|
-
"@graphcommerce/framer-utils": "7.0
|
|
24
|
-
"@graphcommerce/image": "7.0
|
|
21
|
+
"@graphcommerce/framer-next-pages": "7.1.0-canary.10",
|
|
22
|
+
"@graphcommerce/framer-scroller": "7.1.0-canary.10",
|
|
23
|
+
"@graphcommerce/framer-utils": "7.1.0-canary.10",
|
|
24
|
+
"@graphcommerce/image": "7.1.0-canary.10",
|
|
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": "7.0
|
|
31
|
-
"@graphcommerce/prettier-config-pwa": "7.0
|
|
32
|
-
"@graphcommerce/typescript-config-pwa": "7.0
|
|
30
|
+
"@graphcommerce/eslint-config-pwa": "7.1.0-canary.10",
|
|
31
|
+
"@graphcommerce/prettier-config-pwa": "7.1.0-canary.10",
|
|
32
|
+
"@graphcommerce/typescript-config-pwa": "7.1.0-canary.10",
|
|
33
33
|
"@types/cookie": "^0.5.2",
|
|
34
34
|
"@types/react-is": "^18.2.1",
|
|
35
35
|
"typescript": "5.2.2"
|