@graphcommerce/framer-scroller 8.0.6 → 8.0.7
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 +29 -41
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.0.7
|
|
4
|
+
|
|
3
5
|
## 8.0.6
|
|
4
6
|
|
|
5
7
|
## 8.0.5
|
|
@@ -30,8 +32,7 @@
|
|
|
30
32
|
|
|
31
33
|
### Patch Changes
|
|
32
34
|
|
|
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))
|
|
35
|
+
- [#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
36
|
|
|
36
37
|
## 8.0.4-canary.1
|
|
37
38
|
|
|
@@ -39,15 +40,13 @@
|
|
|
39
40
|
|
|
40
41
|
### Patch Changes
|
|
41
42
|
|
|
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))
|
|
43
|
+
- [#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
44
|
|
|
45
45
|
## 8.0.3
|
|
46
46
|
|
|
47
47
|
### Patch Changes
|
|
48
48
|
|
|
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))
|
|
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. ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
51
50
|
|
|
52
51
|
## 8.0.3-canary.6
|
|
53
52
|
|
|
@@ -61,8 +60,7 @@
|
|
|
61
60
|
|
|
62
61
|
### Patch Changes
|
|
63
62
|
|
|
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))
|
|
63
|
+
- [#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
64
|
|
|
67
65
|
## 8.0.3-canary.1
|
|
68
66
|
|
|
@@ -94,26 +92,19 @@
|
|
|
94
92
|
|
|
95
93
|
### Patch Changes
|
|
96
94
|
|
|
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))
|
|
95
|
+
- [#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
96
|
|
|
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))
|
|
97
|
+
- [`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
98
|
|
|
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))
|
|
99
|
+
- [#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
100
|
|
|
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))
|
|
101
|
+
- [#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
102
|
|
|
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))
|
|
103
|
+
- [#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
104
|
|
|
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))
|
|
105
|
+
- [#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
106
|
|
|
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))
|
|
107
|
+
- [`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
108
|
|
|
118
109
|
## 8.0.0-canary.100
|
|
119
110
|
|
|
@@ -135,8 +126,7 @@
|
|
|
135
126
|
|
|
136
127
|
### Patch Changes
|
|
137
128
|
|
|
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))
|
|
129
|
+
- [`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
130
|
|
|
141
131
|
## 8.0.0-canary.91
|
|
142
132
|
|
|
@@ -152,8 +142,7 @@
|
|
|
152
142
|
|
|
153
143
|
### Patch Changes
|
|
154
144
|
|
|
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))
|
|
145
|
+
- [#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
146
|
|
|
158
147
|
## 8.0.0-canary.85
|
|
159
148
|
|
|
@@ -175,8 +164,7 @@
|
|
|
175
164
|
|
|
176
165
|
### Patch Changes
|
|
177
166
|
|
|
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))
|
|
167
|
+
- [`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
168
|
|
|
181
169
|
## 8.0.0-canary.76
|
|
182
170
|
|
|
@@ -1281,31 +1269,31 @@
|
|
|
1281
1269
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1282
1270
|
|
|
1283
1271
|
```tsx
|
|
1284
|
-
import { Trans, t } from
|
|
1272
|
+
import { Trans, t } from '@lingui/macro'
|
|
1285
1273
|
|
|
1286
1274
|
function MyComponent() {
|
|
1287
|
-
const foo =
|
|
1275
|
+
const foo = 'bar'
|
|
1288
1276
|
return (
|
|
1289
1277
|
<div aria-label={t`Account ${foo}`}>
|
|
1290
1278
|
<Trans>My Translation {foo}</Trans>
|
|
1291
1279
|
</div>
|
|
1292
|
-
)
|
|
1280
|
+
)
|
|
1293
1281
|
}
|
|
1294
1282
|
```
|
|
1295
1283
|
|
|
1296
1284
|
Needs to be replaced with:
|
|
1297
1285
|
|
|
1298
1286
|
```tsx
|
|
1299
|
-
import { Trans } from
|
|
1300
|
-
import { i18n } from
|
|
1287
|
+
import { Trans } from '@lingui/react'
|
|
1288
|
+
import { i18n } from '@lingui/core'
|
|
1301
1289
|
|
|
1302
1290
|
function MyComponent() {
|
|
1303
|
-
const foo =
|
|
1291
|
+
const foo = 'bar'
|
|
1304
1292
|
return (
|
|
1305
1293
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1306
|
-
<Trans key=
|
|
1294
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1307
1295
|
</div>
|
|
1308
|
-
)
|
|
1296
|
+
)
|
|
1309
1297
|
}
|
|
1310
1298
|
```
|
|
1311
1299
|
|
|
@@ -1403,12 +1391,12 @@
|
|
|
1403
1391
|
<ScrollerDots
|
|
1404
1392
|
layout
|
|
1405
1393
|
sx={{
|
|
1406
|
-
|
|
1407
|
-
bgcolor:
|
|
1394
|
+
'& .ScrollerDot-circle': {
|
|
1395
|
+
bgcolor: 'green',
|
|
1408
1396
|
},
|
|
1409
|
-
|
|
1410
|
-
bgcolor:
|
|
1411
|
-
opacity:
|
|
1397
|
+
'& .ScrollerDot-circle.active': {
|
|
1398
|
+
bgcolor: 'hotpink',
|
|
1399
|
+
opacity: '1 !important',
|
|
1412
1400
|
},
|
|
1413
1401
|
}}
|
|
1414
1402
|
/>
|
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.7",
|
|
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.7",
|
|
22
|
+
"@graphcommerce/framer-utils": "^8.0.7",
|
|
23
|
+
"@graphcommerce/image": "^8.0.7",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^8.0.7",
|
|
25
|
+
"@graphcommerce/typescript-config-pwa": "^8.0.7",
|
|
26
26
|
"@lingui/core": "^4.2.1",
|
|
27
27
|
"@lingui/react": "^4.2.1",
|
|
28
28
|
"@mui/material": "^5.10.16",
|