@graphcommerce/framer-next-pages 3.2.5 → 3.3.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,28 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1662](https://github.com/graphcommerce-org/graphcommerce/pull/1662) [`9e0ca73eb`](https://github.com/graphcommerce-org/graphcommerce/commit/9e0ca73eb50ded578f4a98e40a7eb920bf8ab421) Thanks [@paales](https://github.com/paales)! - Export additional usePrevPageRouter
8
+
9
+ ## 3.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#1602](https://github.com/graphcommerce-org/graphcommerce/pull/1602) [`5f781a217`](https://github.com/graphcommerce-org/graphcommerce/commit/5f781a217ce63ed56bc1a9983487b04400a8a315) Thanks [@ErwinOtten](https://github.com/ErwinOtten)! - Default styles and layout fixes
14
+
15
+ - Scaled icons and fonts down. Size in typography is now more gradual: https://graphcommerce.vercel.app/test/typography
16
+ - Multiple accessibility fixes. Missing button/input labels, and fixed spacing issues resulting in high % appropriately sized tap targets
17
+ - Replaced responsiveVal usage with better performaning breakpointVal where possible
18
+ - All buttons are now Pill by default.
19
+ - Cleaned up checkout styles
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [[`01372b918`](https://github.com/graphcommerce-org/graphcommerce/commit/01372b918a291e01cbf5db40edcb40fb1c2af313)]:
24
+ - @graphcommerce/framer-utils@3.2.0
25
+
3
26
  ## 3.2.5
4
27
 
5
28
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  import { clientSizeCssVar, useClientSizeCssVar } from '@graphcommerce/framer-utils'
2
2
  import { AnimatePresence, m } from 'framer-motion'
3
3
  import { requestIdleCallback, cancelIdleCallback } from 'next/dist/client/request-idle-callback'
4
- import { HistoryState, PrivateRouteInfo } from 'next/dist/shared/lib/router/router'
4
+ import { PrivateRouteInfo } from 'next/dist/shared/lib/router/router'
5
5
  import { AppPropsType } from 'next/dist/shared/lib/utils'
6
6
  import { NextRouter, Router } from 'next/router'
7
7
  import { useEffect, useRef, useState } from 'react'
@@ -1,5 +1,5 @@
1
1
  import { useMotionValue } from 'framer-motion'
2
- import { useEffect, useMemo } from 'react'
2
+ import { useEffect } from 'react'
3
3
  import { scrollPos } from '../components/Page'
4
4
  import { usePageContext } from './usePageContext'
5
5
 
package/index.ts CHANGED
@@ -10,3 +10,4 @@ export * from './hooks/useHistoryLink'
10
10
  export * from './hooks/usePrevUp'
11
11
  export * from './hooks/useScrollOffsetY'
12
12
  export * from './hooks/useUp'
13
+ export * from './hooks/usePrevPageRouter'
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/framer-next-pages",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.2.5",
5
+ "version": "3.3.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,7 +12,7 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@graphcommerce/framer-utils": "3.1.5"
15
+ "@graphcommerce/framer-utils": "3.2.0"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@graphcommerce/eslint-config-pwa": "^4.1.10",