@graphcommerce/next-ui 7.0.1-canary.8 → 7.0.1
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
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2047](https://github.com/graphcommerce-org/graphcommerce/pull/2047) [`136580b39`](https://github.com/graphcommerce-org/graphcommerce/commit/136580b39e3cffdd07e3fa087e049bd532c3e8f1) - Updated all dependencies to the latest version where possible. ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
9
|
+
- [#2064](https://github.com/graphcommerce-org/graphcommerce/pull/2064) [`a550fa039`](https://github.com/graphcommerce-org/graphcommerce/commit/a550fa039a104b661ffd3fd3e32d99eaf782bc88) - Allow setting all RowLinks props on its variants, instead of a limited predefined set ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
10
|
+
|
|
11
|
+
## 7.0.1-canary.15
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#2064](https://github.com/graphcommerce-org/graphcommerce/pull/2064) [`a550fa039`](https://github.com/graphcommerce-org/graphcommerce/commit/a550fa039a104b661ffd3fd3e32d99eaf782bc88) - Allow setting all RowLinks props on its variants, instead of a limited predefined set ([@bramvanderholst](https://github.com/bramvanderholst))
|
|
16
|
+
|
|
17
|
+
## 7.0.1-canary.14
|
|
18
|
+
|
|
19
|
+
## 7.0.1-canary.13
|
|
20
|
+
|
|
21
|
+
## 7.0.1-canary.12
|
|
22
|
+
|
|
23
|
+
## 7.0.1-canary.11
|
|
24
|
+
|
|
25
|
+
## 7.0.1-canary.10
|
|
26
|
+
|
|
27
|
+
## 7.0.1-canary.9
|
|
28
|
+
|
|
3
29
|
## 7.0.1-canary.8
|
|
4
30
|
|
|
5
31
|
## 7.0.1-canary.7
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { RowLinks, RowLinksProps } from '../RowLinks'
|
|
2
2
|
|
|
3
3
|
export function VariantImageLabelSwiper(props: RowLinksProps) {
|
|
4
|
-
const {
|
|
4
|
+
const { sx = [], ...rowLinksProps } = props
|
|
5
5
|
|
|
6
6
|
return (
|
|
7
7
|
<RowLinks
|
|
8
|
-
|
|
9
|
-
showButtons={showButtons}
|
|
10
|
-
title={title}
|
|
11
|
-
copy={copy}
|
|
8
|
+
{...rowLinksProps}
|
|
12
9
|
sx={[
|
|
13
10
|
{
|
|
14
11
|
'& .Scroller-root': {
|
|
@@ -21,8 +18,6 @@ export function VariantImageLabelSwiper(props: RowLinksProps) {
|
|
|
21
18
|
},
|
|
22
19
|
...(Array.isArray(sx) ? sx : [sx]),
|
|
23
20
|
]}
|
|
24
|
-
|
|
25
|
-
{children}
|
|
26
|
-
</RowLinks>
|
|
21
|
+
/>
|
|
27
22
|
)
|
|
28
23
|
}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import { RowLinks, RowLinksProps } from '../RowLinks'
|
|
2
2
|
|
|
3
3
|
export function VariantInline(props: RowLinksProps) {
|
|
4
|
-
const {
|
|
4
|
+
const { sx = [], inlineTitle = true, ...rowLinksProps } = props
|
|
5
5
|
|
|
6
6
|
return (
|
|
7
7
|
<RowLinks
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
maxWidth={maxWidth}
|
|
11
|
-
inlineTitle
|
|
8
|
+
inlineTitle={inlineTitle}
|
|
9
|
+
{...rowLinksProps}
|
|
12
10
|
sx={[{}, ...(Array.isArray(sx) ? sx : [sx])]}
|
|
13
|
-
|
|
14
|
-
{children}
|
|
15
|
-
</RowLinks>
|
|
11
|
+
/>
|
|
16
12
|
)
|
|
17
13
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { RowLinks, RowLinksProps } from '../RowLinks'
|
|
2
2
|
|
|
3
3
|
export function VariantLogoSwiper(props: RowLinksProps) {
|
|
4
|
-
const {
|
|
4
|
+
const { sx = [], ...rowLinksProps } = props
|
|
5
5
|
|
|
6
6
|
return (
|
|
7
7
|
<RowLinks
|
|
8
|
-
|
|
9
|
-
maxWidth={maxWidth}
|
|
10
|
-
title={title}
|
|
8
|
+
{...rowLinksProps}
|
|
11
9
|
sx={[
|
|
12
10
|
(theme) => ({
|
|
13
11
|
'& .RowLinks-title': {
|
|
@@ -22,8 +20,6 @@ export function VariantLogoSwiper(props: RowLinksProps) {
|
|
|
22
20
|
}),
|
|
23
21
|
...(Array.isArray(sx) ? sx : [sx]),
|
|
24
22
|
]}
|
|
25
|
-
|
|
26
|
-
{children}
|
|
27
|
-
</RowLinks>
|
|
23
|
+
/>
|
|
28
24
|
)
|
|
29
25
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { RowLinks, RowLinksProps } from '../RowLinks'
|
|
2
2
|
|
|
3
3
|
export function VariantUsps(props: RowLinksProps) {
|
|
4
|
-
const {
|
|
4
|
+
const { sx = [], inlineTitle = true, ...rowLinksProps } = props
|
|
5
5
|
|
|
6
6
|
return (
|
|
7
7
|
<RowLinks
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
maxWidth={maxWidth}
|
|
11
|
-
inlineTitle
|
|
8
|
+
inlineTitle={inlineTitle}
|
|
9
|
+
{...rowLinksProps}
|
|
12
10
|
sx={[
|
|
13
11
|
(theme) => ({
|
|
14
12
|
'& .RowLinks-title': {
|
|
@@ -23,8 +21,6 @@ export function VariantUsps(props: RowLinksProps) {
|
|
|
23
21
|
}),
|
|
24
22
|
...(Array.isArray(sx) ? sx : [sx]),
|
|
25
23
|
]}
|
|
26
|
-
|
|
27
|
-
{children}
|
|
28
|
-
</RowLinks>
|
|
24
|
+
/>
|
|
29
25
|
)
|
|
30
26
|
}
|
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.1
|
|
5
|
+
"version": "7.0.1",
|
|
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.1
|
|
22
|
-
"@graphcommerce/framer-scroller": "7.0.1
|
|
23
|
-
"@graphcommerce/framer-utils": "7.0.1
|
|
24
|
-
"@graphcommerce/image": "7.0.1
|
|
21
|
+
"@graphcommerce/framer-next-pages": "7.0.1",
|
|
22
|
+
"@graphcommerce/framer-scroller": "7.0.1",
|
|
23
|
+
"@graphcommerce/framer-utils": "7.0.1",
|
|
24
|
+
"@graphcommerce/image": "7.0.1",
|
|
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.1
|
|
31
|
-
"@graphcommerce/prettier-config-pwa": "7.0.1
|
|
32
|
-
"@graphcommerce/typescript-config-pwa": "7.0.1
|
|
30
|
+
"@graphcommerce/eslint-config-pwa": "7.0.1",
|
|
31
|
+
"@graphcommerce/prettier-config-pwa": "7.0.1",
|
|
32
|
+
"@graphcommerce/typescript-config-pwa": "7.0.1",
|
|
33
33
|
"@types/cookie": "^0.5.2",
|
|
34
34
|
"@types/react-is": "^18.2.1",
|
|
35
35
|
"typescript": "5.2.2"
|