@graphcommerce/framer-scroller 8.0.6 → 8.0.8
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 +31 -41
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.8
|
|
4
|
+
|
|
5
|
+
## 8.0.7
|
|
6
|
+
|
|
3
7
|
## 8.0.6
|
|
4
8
|
|
|
5
9
|
## 8.0.5
|
|
@@ -30,8 +34,7 @@
|
|
|
30
34
|
|
|
31
35
|
### Patch Changes
|
|
32
36
|
|
|
33
|
-
- [#2225](https://github.com/graphcommerce-org/graphcommerce/pull/2225) [`29407d2`](https://github.com/graphcommerce-org/graphcommerce/commit/29407d28c4f7c2629f8c5ead658bfb203f5d81cf) - Fixed a bug on Firefox in which all overlays would retrigger the scrollTo function on opening or closing.
|
|
34
|
-
([@mikekeehnen](https://github.com/mikekeehnen))
|
|
37
|
+
- [#2225](https://github.com/graphcommerce-org/graphcommerce/pull/2225) [`29407d2`](https://github.com/graphcommerce-org/graphcommerce/commit/29407d28c4f7c2629f8c5ead658bfb203f5d81cf) - Fixed a bug on Firefox in which all overlays would retrigger the scrollTo function on opening or closing. ([@mikekeehnen](https://github.com/mikekeehnen))
|
|
35
38
|
|
|
36
39
|
## 8.0.4-canary.1
|
|
37
40
|
|
|
@@ -39,15 +42,13 @@
|
|
|
39
42
|
|
|
40
43
|
### Patch Changes
|
|
41
44
|
|
|
42
|
-
- [#2225](https://github.com/graphcommerce-org/graphcommerce/pull/2225) [`29407d2`](https://github.com/graphcommerce-org/graphcommerce/commit/29407d28c4f7c2629f8c5ead658bfb203f5d81cf) - Fixed a bug on Firefox in which all overlays would retrigger the scrollTo function on opening or closing.
|
|
43
|
-
([@mikekeehnen](https://github.com/mikekeehnen))
|
|
45
|
+
- [#2225](https://github.com/graphcommerce-org/graphcommerce/pull/2225) [`29407d2`](https://github.com/graphcommerce-org/graphcommerce/commit/29407d28c4f7c2629f8c5ead658bfb203f5d81cf) - Fixed a bug on Firefox in which all overlays would retrigger the scrollTo function on opening or closing. ([@mikekeehnen](https://github.com/mikekeehnen))
|
|
44
46
|
|
|
45
47
|
## 8.0.3
|
|
46
48
|
|
|
47
49
|
### Patch Changes
|
|
48
50
|
|
|
49
|
-
- [#2211](https://github.com/graphcommerce-org/graphcommerce/pull/2211) [`2fc62cd`](https://github.com/graphcommerce-org/graphcommerce/commit/2fc62cd550c8831071c51c1088a94da584a0790b) - Do not show the a product thumbnails when there is only a single image.
|
|
50
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
51
|
+
- [#2211](https://github.com/graphcommerce-org/graphcommerce/pull/2211) [`2fc62cd`](https://github.com/graphcommerce-org/graphcommerce/commit/2fc62cd550c8831071c51c1088a94da584a0790b) - Do not show the a product thumbnails when there is only a single image. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
51
52
|
|
|
52
53
|
## 8.0.3-canary.6
|
|
53
54
|
|
|
@@ -61,8 +62,7 @@
|
|
|
61
62
|
|
|
62
63
|
### Patch Changes
|
|
63
64
|
|
|
64
|
-
- [#2211](https://github.com/graphcommerce-org/graphcommerce/pull/2211) [`2fc62cd`](https://github.com/graphcommerce-org/graphcommerce/commit/2fc62cd550c8831071c51c1088a94da584a0790b) - Do not show the a product thumbnails when there is only a single image.
|
|
65
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
65
|
+
- [#2211](https://github.com/graphcommerce-org/graphcommerce/pull/2211) [`2fc62cd`](https://github.com/graphcommerce-org/graphcommerce/commit/2fc62cd550c8831071c51c1088a94da584a0790b) - Do not show the a product thumbnails when there is only a single image. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
66
66
|
|
|
67
67
|
## 8.0.3-canary.1
|
|
68
68
|
|
|
@@ -94,26 +94,19 @@
|
|
|
94
94
|
|
|
95
95
|
### Patch Changes
|
|
96
96
|
|
|
97
|
-
- [#2085](https://github.com/graphcommerce-org/graphcommerce/pull/2085) [`3c92993`](https://github.com/graphcommerce-org/graphcommerce/commit/3c92993d9ca74f24ea784b20448958ca1bb8e224) - Fixes issue where the `<SidebarGallery />` would start jumping around if a user clicks the next button multiple times in short succession.
|
|
98
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
97
|
+
- [#2085](https://github.com/graphcommerce-org/graphcommerce/pull/2085) [`3c92993`](https://github.com/graphcommerce-org/graphcommerce/commit/3c92993d9ca74f24ea784b20448958ca1bb8e224) - Fixes issue where the `<SidebarGallery />` would start jumping around if a user clicks the next button multiple times in short succession. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
99
98
|
|
|
100
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - Accessibility improvements for the frontend: Added skip content link. Removed empty buttons from tab flow. Gave focus to elements (such as the menu) that appear when after clicking a button. Improved aria labels where needed
|
|
101
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
99
|
+
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - Accessibility improvements for the frontend: Added skip content link. Removed empty buttons from tab flow. Gave focus to elements (such as the menu) that appear when after clicking a button. Improved aria labels where needed ([@FrankHarland](https://github.com/FrankHarland))
|
|
102
100
|
|
|
103
|
-
- [#2157](https://github.com/graphcommerce-org/graphcommerce/pull/2157) [`b1afcd0`](https://github.com/graphcommerce-org/graphcommerce/commit/b1afcd00b6680cd5167691e47a691461382226d3) - Solved an issue where the Previous and Next buttons would become unclickable for Scrollers.
|
|
104
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
101
|
+
- [#2157](https://github.com/graphcommerce-org/graphcommerce/pull/2157) [`b1afcd0`](https://github.com/graphcommerce-org/graphcommerce/commit/b1afcd00b6680cd5167691e47a691461382226d3) - Solved an issue where the Previous and Next buttons would become unclickable for Scrollers. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
105
102
|
|
|
106
|
-
- [#2066](https://github.com/graphcommerce-org/graphcommerce/pull/2066) [`3b1f585`](https://github.com/graphcommerce-org/graphcommerce/commit/3b1f585153672a644a613411134e5ad36aa4c266) - Add `showButtons` prop to `<ScrollerButton/>`
|
|
107
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
103
|
+
- [#2066](https://github.com/graphcommerce-org/graphcommerce/pull/2066) [`3b1f585`](https://github.com/graphcommerce-org/graphcommerce/commit/3b1f585153672a644a613411134e5ad36aa4c266) - Add `showButtons` prop to `<ScrollerButton/>` ([@StefanAngenent](https://github.com/StefanAngenent))
|
|
108
104
|
|
|
109
|
-
- [#2045](https://github.com/graphcommerce-org/graphcommerce/pull/2045) [`1ac1e09`](https://github.com/graphcommerce-org/graphcommerce/commit/1ac1e09897daadd646200cb3ddc2aa75a51e182e) - Make sure the product image gallery traps focus and scrollbar doesn't disappear suddenly
|
|
110
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
105
|
+
- [#2045](https://github.com/graphcommerce-org/graphcommerce/pull/2045) [`1ac1e09`](https://github.com/graphcommerce-org/graphcommerce/commit/1ac1e09897daadd646200cb3ddc2aa75a51e182e) - Make sure the product image gallery traps focus and scrollbar doesn't disappear suddenly ([@JoshuaS98](https://github.com/JoshuaS98))
|
|
111
106
|
|
|
112
|
-
- [#2011](https://github.com/graphcommerce-org/graphcommerce/pull/2011) [`da821af`](https://github.com/graphcommerce-org/graphcommerce/commit/da821af185bf6419fa2aeca31e5985bf99b7bbb9) - Added a new Gallery Thumbnails feature that shows product thumbnails below the product gallery on the product page.
|
|
113
|
-
([@mikekeehnen](https://github.com/mikekeehnen))
|
|
107
|
+
- [#2011](https://github.com/graphcommerce-org/graphcommerce/pull/2011) [`da821af`](https://github.com/graphcommerce-org/graphcommerce/commit/da821af185bf6419fa2aeca31e5985bf99b7bbb9) - Added a new Gallery Thumbnails feature that shows product thumbnails below the product gallery on the product page. ([@mikekeehnen](https://github.com/mikekeehnen))
|
|
114
108
|
|
|
115
|
-
- [`dc86f2f`](https://github.com/graphcommerce-org/graphcommerce/commit/dc86f2fbd439a63a2c9f2deaee38abe87a3c3bab) - Log the related element if the ScrollerProvider couldn’t find any children during load.
|
|
116
|
-
([@paales](https://github.com/paales))
|
|
109
|
+
- [`dc86f2f`](https://github.com/graphcommerce-org/graphcommerce/commit/dc86f2fbd439a63a2c9f2deaee38abe87a3c3bab) - Log the related element if the ScrollerProvider couldn’t find any children during load. ([@paales](https://github.com/paales))
|
|
117
110
|
|
|
118
111
|
## 8.0.0-canary.100
|
|
119
112
|
|
|
@@ -135,8 +128,7 @@
|
|
|
135
128
|
|
|
136
129
|
### Patch Changes
|
|
137
130
|
|
|
138
|
-
- [`dc86f2f`](https://github.com/graphcommerce-org/graphcommerce/commit/dc86f2fbd439a63a2c9f2deaee38abe87a3c3bab) - Log the related element if the ScrollerProvider couldn’t find any children during load.
|
|
139
|
-
([@paales](https://github.com/paales))
|
|
131
|
+
- [`dc86f2f`](https://github.com/graphcommerce-org/graphcommerce/commit/dc86f2fbd439a63a2c9f2deaee38abe87a3c3bab) - Log the related element if the ScrollerProvider couldn’t find any children during load. ([@paales](https://github.com/paales))
|
|
140
132
|
|
|
141
133
|
## 8.0.0-canary.91
|
|
142
134
|
|
|
@@ -152,8 +144,7 @@
|
|
|
152
144
|
|
|
153
145
|
### Patch Changes
|
|
154
146
|
|
|
155
|
-
- [#2157](https://github.com/graphcommerce-org/graphcommerce/pull/2157) [`b1afcd0`](https://github.com/graphcommerce-org/graphcommerce/commit/b1afcd00b6680cd5167691e47a691461382226d3) - Fixed bug which caused the scrollerButton to become unclickable
|
|
156
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
147
|
+
- [#2157](https://github.com/graphcommerce-org/graphcommerce/pull/2157) [`b1afcd0`](https://github.com/graphcommerce-org/graphcommerce/commit/b1afcd00b6680cd5167691e47a691461382226d3) - Fixed bug which caused the scrollerButton to become unclickable ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
157
148
|
|
|
158
149
|
## 8.0.0-canary.85
|
|
159
150
|
|
|
@@ -175,8 +166,7 @@
|
|
|
175
166
|
|
|
176
167
|
### Patch Changes
|
|
177
168
|
|
|
178
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
|
|
179
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
169
|
+
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info) ([@FrankHarland](https://github.com/FrankHarland))
|
|
180
170
|
|
|
181
171
|
## 8.0.0-canary.76
|
|
182
172
|
|
|
@@ -1281,31 +1271,31 @@
|
|
|
1281
1271
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1282
1272
|
|
|
1283
1273
|
```tsx
|
|
1284
|
-
import { Trans, t } from
|
|
1274
|
+
import { Trans, t } from '@lingui/macro'
|
|
1285
1275
|
|
|
1286
1276
|
function MyComponent() {
|
|
1287
|
-
const foo =
|
|
1277
|
+
const foo = 'bar'
|
|
1288
1278
|
return (
|
|
1289
1279
|
<div aria-label={t`Account ${foo}`}>
|
|
1290
1280
|
<Trans>My Translation {foo}</Trans>
|
|
1291
1281
|
</div>
|
|
1292
|
-
)
|
|
1282
|
+
)
|
|
1293
1283
|
}
|
|
1294
1284
|
```
|
|
1295
1285
|
|
|
1296
1286
|
Needs to be replaced with:
|
|
1297
1287
|
|
|
1298
1288
|
```tsx
|
|
1299
|
-
import { Trans } from
|
|
1300
|
-
import { i18n } from
|
|
1289
|
+
import { Trans } from '@lingui/react'
|
|
1290
|
+
import { i18n } from '@lingui/core'
|
|
1301
1291
|
|
|
1302
1292
|
function MyComponent() {
|
|
1303
|
-
const foo =
|
|
1293
|
+
const foo = 'bar'
|
|
1304
1294
|
return (
|
|
1305
1295
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1306
|
-
<Trans key=
|
|
1296
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1307
1297
|
</div>
|
|
1308
|
-
)
|
|
1298
|
+
)
|
|
1309
1299
|
}
|
|
1310
1300
|
```
|
|
1311
1301
|
|
|
@@ -1403,12 +1393,12 @@
|
|
|
1403
1393
|
<ScrollerDots
|
|
1404
1394
|
layout
|
|
1405
1395
|
sx={{
|
|
1406
|
-
|
|
1407
|
-
bgcolor:
|
|
1396
|
+
'& .ScrollerDot-circle': {
|
|
1397
|
+
bgcolor: 'green',
|
|
1408
1398
|
},
|
|
1409
|
-
|
|
1410
|
-
bgcolor:
|
|
1411
|
-
opacity:
|
|
1399
|
+
'& .ScrollerDot-circle.active': {
|
|
1400
|
+
bgcolor: 'hotpink',
|
|
1401
|
+
opacity: '1 !important',
|
|
1412
1402
|
},
|
|
1413
1403
|
}}
|
|
1414
1404
|
/>
|
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": "8.0.
|
|
5
|
+
"version": "8.0.8",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "tsc -W"
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"popmotion": "11.0.5"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@graphcommerce/eslint-config-pwa": "^8.0.
|
|
22
|
-
"@graphcommerce/framer-utils": "^8.0.
|
|
23
|
-
"@graphcommerce/image": "^8.0.
|
|
24
|
-
"@graphcommerce/prettier-config-pwa": "^8.0.
|
|
25
|
-
"@graphcommerce/typescript-config-pwa": "^8.0.
|
|
21
|
+
"@graphcommerce/eslint-config-pwa": "^8.0.8",
|
|
22
|
+
"@graphcommerce/framer-utils": "^8.0.8",
|
|
23
|
+
"@graphcommerce/image": "^8.0.8",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.8",
|
|
25
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.8",
|
|
26
26
|
"@lingui/core": "^4.2.1",
|
|
27
27
|
"@lingui/react": "^4.2.1",
|
|
28
28
|
"@mui/material": "^5.10.16",
|