@graphcommerce/framer-scroller 2.0.2 → 2.0.5

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,47 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1294](https://github.com/ho-nl/m2-pwa/pull/1294)
8
+ [`4e28c8afd`](https://github.com/ho-nl/m2-pwa/commit/4e28c8afd9cead3577dd0eff97b5c44ba4c1c862)
9
+ Thanks [@paales](https://github.com/paales)! - set the duration of useScrollTo to 500 for the x
10
+ direction
11
+
12
+ - Updated dependencies
13
+ [[`19f33e0aa`](https://github.com/ho-nl/m2-pwa/commit/19f33e0aaf4e3121edd444926d08b6459d3ef400),
14
+ [`aea787542`](https://github.com/ho-nl/m2-pwa/commit/aea787542484a0480a48031fcc4a9a5566c6bfc7)]:
15
+ - @graphcommerce/next-ui@4.2.1
16
+
17
+ ## 2.0.4
18
+
19
+ ### Patch Changes
20
+
21
+ - [#1285](https://github.com/ho-nl/m2-pwa/pull/1285)
22
+ [`16d77b280`](https://github.com/ho-nl/m2-pwa/commit/16d77b2806e49e376d06bc0d578d38eb724b0c17)
23
+ Thanks [@paales](https://github.com/paales)! - allow scroller button to be overwritten
24
+
25
+ - Updated dependencies
26
+ [[`c85294ba6`](https://github.com/ho-nl/m2-pwa/commit/c85294ba6d742ce78c074559a1e95409b25a5017)]:
27
+ - @graphcommerce/next-ui@4.1.3
28
+
29
+ ## 2.0.3
30
+
31
+ ### Patch Changes
32
+
33
+ - [`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96)
34
+ Thanks [@paales](https://github.com/paales)! - made packages public
35
+
36
+ - Updated dependencies
37
+ [[`973ff8645`](https://github.com/ho-nl/m2-pwa/commit/973ff86452a70ade9f4db13fdda6e963d7220e96),
38
+ [`81ea406d5`](https://github.com/ho-nl/m2-pwa/commit/81ea406d54d6b5c662c030a7fea444abc4117a20),
39
+ [`3a719c88c`](https://github.com/ho-nl/m2-pwa/commit/3a719c88cad1eab58602de28c41adc0fc4827e1d),
40
+ [`5ffcb56bf`](https://github.com/ho-nl/m2-pwa/commit/5ffcb56bfcbe49ebeaf24f9341e819a145ab9a14)]:
41
+ - @graphcommerce/framer-utils@3.0.3
42
+ - @graphcommerce/image@3.1.0
43
+ - @graphcommerce/next-ui@4.1.2
44
+
3
45
  ## 2.0.2
4
46
 
5
47
  ### Patch Changes
@@ -34,10 +34,10 @@ const ScrollerFab = m(
34
34
  <m.div ref={ref} style={{ scale, opacity: scale, willChange: 'scale, opacity', zIndex: 1 }}>
35
35
  <Fab
36
36
  type='button'
37
+ size='small'
37
38
  {...buttonProps}
38
39
  onClick={handleClick}
39
40
  aria-label={direction}
40
- size='small'
41
41
  sx={[{ display: { xs: 'none', md: 'flex' } }, ...(Array.isArray(sx) ? sx : [sx])]}
42
42
  />
43
43
  </m.div>
@@ -33,6 +33,7 @@ export function useScrollTo() {
33
33
  },
34
34
  onComplete,
35
35
  onStop: onComplete,
36
+ duration: 500,
36
37
  }),
37
38
  )
38
39
  } else onComplete()
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/framer-scroller",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "2.0.2",
5
+ "version": "2.0.5",
6
6
  "sideEffects": false,
7
7
  "scripts": {
8
8
  "dev": "tsc -W"
@@ -15,14 +15,14 @@
15
15
  }
16
16
  },
17
17
  "dependencies": {
18
- "@graphcommerce/framer-utils": "^3.0.2",
19
- "@graphcommerce/image": "^3.0.2",
20
- "@graphcommerce/next-ui": "^4.1.1"
18
+ "@graphcommerce/framer-utils": "^3.0.3",
19
+ "@graphcommerce/image": "^3.1.0",
20
+ "@graphcommerce/next-ui": "^4.2.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@graphcommerce/eslint-config-pwa": "^4.0.2",
24
- "@graphcommerce/prettier-config-pwa": "^4.0.1",
25
- "@graphcommerce/typescript-config-pwa": "^4.0.1",
23
+ "@graphcommerce/eslint-config-pwa": "^4.0.4",
24
+ "@graphcommerce/prettier-config-pwa": "^4.0.2",
25
+ "@graphcommerce/typescript-config-pwa": "^4.0.2",
26
26
  "@playwright/test": "^1.19.1"
27
27
  },
28
28
  "peerDependencies": {