@graphcommerce/next-ui 7.1.0-canary.60 → 7.1.0-canary.62
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,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 7.1.0-canary.62
|
|
4
|
+
|
|
5
|
+
## 7.1.0-canary.61
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [#2125](https://github.com/graphcommerce-org/graphcommerce/pull/2125) [`5224ee500`](https://github.com/graphcommerce-org/graphcommerce/commit/5224ee5001c94a19f226fa36106e76739319297c) - If there is an open menu in an overlay, pressing the escape button now closes the menu instead of the overlay. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
10
|
+
|
|
3
11
|
## 7.1.0-canary.60
|
|
4
12
|
|
|
5
13
|
## 7.1.0-canary.59
|
|
@@ -311,7 +311,7 @@ export function OverlayBase(incomingProps: LayoutOverlayBaseProps) {
|
|
|
311
311
|
const handleEscape = (e: KeyboardEvent | Event) => {
|
|
312
312
|
if (active && (e as KeyboardEvent)?.key === 'Escape') closeOverlay()
|
|
313
313
|
}
|
|
314
|
-
useDomEvent(windowRef, '
|
|
314
|
+
useDomEvent(windowRef, 'keydown', handleEscape, { passive: true })
|
|
315
315
|
|
|
316
316
|
const dragging = useMotionValue(false)
|
|
317
317
|
const scrollerElementRef = scrollerRef as React.RefObject<HTMLElement>
|
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.1.0-canary.
|
|
5
|
+
"version": "7.1.0-canary.62",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"typescript": "5.2.2"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.
|
|
30
|
-
"@graphcommerce/framer-next-pages": "^7.1.0-canary.
|
|
31
|
-
"@graphcommerce/framer-scroller": "^7.1.0-canary.
|
|
32
|
-
"@graphcommerce/framer-utils": "^7.1.0-canary.
|
|
33
|
-
"@graphcommerce/image": "^7.1.0-canary.
|
|
34
|
-
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.
|
|
35
|
-
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.
|
|
29
|
+
"@graphcommerce/eslint-config-pwa": "^7.1.0-canary.62",
|
|
30
|
+
"@graphcommerce/framer-next-pages": "^7.1.0-canary.62",
|
|
31
|
+
"@graphcommerce/framer-scroller": "^7.1.0-canary.62",
|
|
32
|
+
"@graphcommerce/framer-utils": "^7.1.0-canary.62",
|
|
33
|
+
"@graphcommerce/image": "^7.1.0-canary.62",
|
|
34
|
+
"@graphcommerce/prettier-config-pwa": "^7.1.0-canary.62",
|
|
35
|
+
"@graphcommerce/typescript-config-pwa": "^7.1.0-canary.62",
|
|
36
36
|
"@lingui/core": "^4.2.1",
|
|
37
37
|
"@lingui/macro": "^4.2.1",
|
|
38
38
|
"@lingui/react": "^4.2.1",
|