@graphcommerce/next-ui 6.2.0-canary.78 → 6.2.0-canary.79
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/Button/LinkOrButton.tsx +5 -4
- package/CHANGELOG.md +6 -0
- package/package.json +9 -9
package/Button/LinkOrButton.tsx
CHANGED
|
@@ -11,13 +11,14 @@ type SharedProperties<A, B> = OmitNever<
|
|
|
11
11
|
>
|
|
12
12
|
|
|
13
13
|
export type LinkOrButtonProps = {
|
|
14
|
-
button?: ButtonProps
|
|
15
|
-
link?: LinkProps
|
|
14
|
+
button?: ButtonProps<'button'>
|
|
15
|
+
link?: LinkProps<'a'>
|
|
16
16
|
breakpoint?: Breakpoint
|
|
17
17
|
disabled?: boolean
|
|
18
18
|
} & SharedProperties<
|
|
19
|
-
Omit<ButtonProps
|
|
20
|
-
Omit<LinkProps
|
|
19
|
+
Omit<ButtonProps<'button'>, 'sx' | 'component'>,
|
|
20
|
+
Omit<LinkProps<'a'>, 'color' | 'sx' | 'component'> &
|
|
21
|
+
Pick<ButtonProps, 'endIcon' | 'startIcon' | 'color' | 'loading'>
|
|
21
22
|
>
|
|
22
23
|
|
|
23
24
|
/** Renders a Link until the breakpoint is reached and will then render a button. */
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 6.2.0-canary.79
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2013](https://github.com/graphcommerce-org/graphcommerce/pull/2013) [`c57bdf8a4`](https://github.com/graphcommerce-org/graphcommerce/commit/c57bdf8a4ce936c3eedc4dfada3a464a113ac68a) - Updated @mui and framer-motion packages to latest versions ([@paales](https://github.com/paales))
|
|
8
|
+
|
|
3
9
|
## 6.2.0-canary.78
|
|
4
10
|
|
|
5
11
|
## 6.2.0-canary.77
|
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.79",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"sideEffects": false,
|
|
@@ -18,20 +18,20 @@
|
|
|
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": "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.
|
|
21
|
+
"@graphcommerce/framer-next-pages": "6.2.0-canary.79",
|
|
22
|
+
"@graphcommerce/framer-scroller": "6.2.0-canary.79",
|
|
23
|
+
"@graphcommerce/framer-utils": "6.2.0-canary.79",
|
|
24
|
+
"@graphcommerce/image": "6.2.0-canary.79",
|
|
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.79",
|
|
31
|
+
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.79",
|
|
32
|
+
"@graphcommerce/typescript-config-pwa": "6.2.0-canary.79",
|
|
33
33
|
"@types/cookie": "^0.5.1",
|
|
34
|
-
"@types/react-is": "^18.2.
|
|
34
|
+
"@types/react-is": "^18.2.1",
|
|
35
35
|
"typescript": "5.1.3"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|