@graphcommerce/framer-scroller 9.0.0-canary.56 → 9.0.0-canary.58
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 +34 -47
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.0-canary.58
|
|
4
|
+
|
|
5
|
+
## 9.0.0-canary.57
|
|
6
|
+
|
|
3
7
|
## 9.0.0-canary.56
|
|
4
8
|
|
|
5
9
|
## 9.0.0-canary.55
|
|
@@ -54,8 +58,7 @@
|
|
|
54
58
|
|
|
55
59
|
### Patch Changes
|
|
56
60
|
|
|
57
|
-
- [#2297](https://github.com/graphcommerce-org/graphcommerce/pull/2297) [`e41cb6f`](https://github.com/graphcommerce-org/graphcommerce/commit/e41cb6fcdde95629d29c03b1a700c6097f00c901) - Prevent gallery thunbnails from scrolling when opening or closing a layout overlay
|
|
58
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
61
|
+
- [#2297](https://github.com/graphcommerce-org/graphcommerce/pull/2297) [`e41cb6f`](https://github.com/graphcommerce-org/graphcommerce/commit/e41cb6fcdde95629d29c03b1a700c6097f00c901) - Prevent gallery thunbnails from scrolling when opening or closing a layout overlay ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
59
62
|
|
|
60
63
|
## 8.1.0-canary.30
|
|
61
64
|
|
|
@@ -81,8 +84,7 @@
|
|
|
81
84
|
|
|
82
85
|
### Patch Changes
|
|
83
86
|
|
|
84
|
-
- [#2246](https://github.com/graphcommerce-org/graphcommerce/pull/2246) [`13524f9`](https://github.com/graphcommerce-org/graphcommerce/commit/13524f991a810c1679db49b3b8b4f04f90d0d6c1) - SidebarGallery now supports two more props disableSticky and variantMd default|oneColumn
|
|
85
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
87
|
+
- [#2246](https://github.com/graphcommerce-org/graphcommerce/pull/2246) [`13524f9`](https://github.com/graphcommerce-org/graphcommerce/commit/13524f991a810c1679db49b3b8b4f04f90d0d6c1) - SidebarGallery now supports two more props disableSticky and variantMd default|oneColumn ([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
86
88
|
|
|
87
89
|
## 8.1.0-canary.19
|
|
88
90
|
|
|
@@ -94,8 +96,7 @@
|
|
|
94
96
|
|
|
95
97
|
### Patch Changes
|
|
96
98
|
|
|
97
|
-
- [#2275](https://github.com/graphcommerce-org/graphcommerce/pull/2275) [`29e496c`](https://github.com/graphcommerce-org/graphcommerce/commit/29e496ca815d102ac7952dc81c6c4ab9e164d031) - Prevent ScrollerThumbnail from scrolling the page horizontally
|
|
98
|
-
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
99
|
+
- [#2275](https://github.com/graphcommerce-org/graphcommerce/pull/2275) [`29e496c`](https://github.com/graphcommerce-org/graphcommerce/commit/29e496ca815d102ac7952dc81c6c4ab9e164d031) - Prevent ScrollerThumbnail from scrolling the page horizontally ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
99
100
|
|
|
100
101
|
## 8.1.0-canary.15
|
|
101
102
|
|
|
@@ -157,8 +158,7 @@
|
|
|
157
158
|
|
|
158
159
|
### Patch Changes
|
|
159
160
|
|
|
160
|
-
- [#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.
|
|
161
|
-
([@mikekeehnen](https://github.com/mikekeehnen))
|
|
161
|
+
- [#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))
|
|
162
162
|
|
|
163
163
|
## 8.0.4-canary.1
|
|
164
164
|
|
|
@@ -166,15 +166,13 @@
|
|
|
166
166
|
|
|
167
167
|
### Patch Changes
|
|
168
168
|
|
|
169
|
-
- [#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.
|
|
170
|
-
([@mikekeehnen](https://github.com/mikekeehnen))
|
|
169
|
+
- [#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))
|
|
171
170
|
|
|
172
171
|
## 8.0.3
|
|
173
172
|
|
|
174
173
|
### Patch Changes
|
|
175
174
|
|
|
176
|
-
- [#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.
|
|
177
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
175
|
+
- [#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))
|
|
178
176
|
|
|
179
177
|
## 8.0.3-canary.6
|
|
180
178
|
|
|
@@ -188,8 +186,7 @@
|
|
|
188
186
|
|
|
189
187
|
### Patch Changes
|
|
190
188
|
|
|
191
|
-
- [#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.
|
|
192
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
189
|
+
- [#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))
|
|
193
190
|
|
|
194
191
|
## 8.0.3-canary.1
|
|
195
192
|
|
|
@@ -221,26 +218,19 @@
|
|
|
221
218
|
|
|
222
219
|
### Patch Changes
|
|
223
220
|
|
|
224
|
-
- [#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.
|
|
225
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
221
|
+
- [#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))
|
|
226
222
|
|
|
227
|
-
- [`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
|
|
228
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
223
|
+
- [`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))
|
|
229
224
|
|
|
230
|
-
- [#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.
|
|
231
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
225
|
+
- [#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))
|
|
232
226
|
|
|
233
|
-
- [#2066](https://github.com/graphcommerce-org/graphcommerce/pull/2066) [`3b1f585`](https://github.com/graphcommerce-org/graphcommerce/commit/3b1f585153672a644a613411134e5ad36aa4c266) - Add `showButtons` prop to `<ScrollerButton/>`
|
|
234
|
-
([@StefanAngenent](https://github.com/StefanAngenent))
|
|
227
|
+
- [#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))
|
|
235
228
|
|
|
236
|
-
- [#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
|
|
237
|
-
([@JoshuaS98](https://github.com/JoshuaS98))
|
|
229
|
+
- [#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))
|
|
238
230
|
|
|
239
|
-
- [#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.
|
|
240
|
-
([@mikekeehnen](https://github.com/mikekeehnen))
|
|
231
|
+
- [#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))
|
|
241
232
|
|
|
242
|
-
- [`dc86f2f`](https://github.com/graphcommerce-org/graphcommerce/commit/dc86f2fbd439a63a2c9f2deaee38abe87a3c3bab) - Log the related element if the ScrollerProvider couldn’t find any children during load.
|
|
243
|
-
([@paales](https://github.com/paales))
|
|
233
|
+
- [`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))
|
|
244
234
|
|
|
245
235
|
## 8.0.0-canary.100
|
|
246
236
|
|
|
@@ -262,8 +252,7 @@
|
|
|
262
252
|
|
|
263
253
|
### Patch Changes
|
|
264
254
|
|
|
265
|
-
- [`dc86f2f`](https://github.com/graphcommerce-org/graphcommerce/commit/dc86f2fbd439a63a2c9f2deaee38abe87a3c3bab) - Log the related element if the ScrollerProvider couldn’t find any children during load.
|
|
266
|
-
([@paales](https://github.com/paales))
|
|
255
|
+
- [`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))
|
|
267
256
|
|
|
268
257
|
## 8.0.0-canary.91
|
|
269
258
|
|
|
@@ -279,8 +268,7 @@
|
|
|
279
268
|
|
|
280
269
|
### Patch Changes
|
|
281
270
|
|
|
282
|
-
- [#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
|
|
283
|
-
([@Jessevdpoel](https://github.com/Jessevdpoel))
|
|
271
|
+
- [#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))
|
|
284
272
|
|
|
285
273
|
## 8.0.0-canary.85
|
|
286
274
|
|
|
@@ -302,8 +290,7 @@
|
|
|
302
290
|
|
|
303
291
|
### Patch Changes
|
|
304
292
|
|
|
305
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
|
|
306
|
-
([@FrankHarland](https://github.com/FrankHarland))
|
|
293
|
+
- [`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))
|
|
307
294
|
|
|
308
295
|
## 8.0.0-canary.76
|
|
309
296
|
|
|
@@ -1408,31 +1395,31 @@
|
|
|
1408
1395
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1409
1396
|
|
|
1410
1397
|
```tsx
|
|
1411
|
-
import { Trans, t } from
|
|
1398
|
+
import { Trans, t } from '@lingui/macro'
|
|
1412
1399
|
|
|
1413
1400
|
function MyComponent() {
|
|
1414
|
-
const foo =
|
|
1401
|
+
const foo = 'bar'
|
|
1415
1402
|
return (
|
|
1416
1403
|
<div aria-label={t`Account ${foo}`}>
|
|
1417
1404
|
<Trans>My Translation {foo}</Trans>
|
|
1418
1405
|
</div>
|
|
1419
|
-
)
|
|
1406
|
+
)
|
|
1420
1407
|
}
|
|
1421
1408
|
```
|
|
1422
1409
|
|
|
1423
1410
|
Needs to be replaced with:
|
|
1424
1411
|
|
|
1425
1412
|
```tsx
|
|
1426
|
-
import { Trans } from
|
|
1427
|
-
import { i18n } from
|
|
1413
|
+
import { Trans } from '@lingui/react'
|
|
1414
|
+
import { i18n } from '@lingui/core'
|
|
1428
1415
|
|
|
1429
1416
|
function MyComponent() {
|
|
1430
|
-
const foo =
|
|
1417
|
+
const foo = 'bar'
|
|
1431
1418
|
return (
|
|
1432
1419
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1433
|
-
<Trans key=
|
|
1420
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1434
1421
|
</div>
|
|
1435
|
-
)
|
|
1422
|
+
)
|
|
1436
1423
|
}
|
|
1437
1424
|
```
|
|
1438
1425
|
|
|
@@ -1530,12 +1517,12 @@
|
|
|
1530
1517
|
<ScrollerDots
|
|
1531
1518
|
layout
|
|
1532
1519
|
sx={{
|
|
1533
|
-
|
|
1534
|
-
bgcolor:
|
|
1520
|
+
'& .ScrollerDot-circle': {
|
|
1521
|
+
bgcolor: 'green',
|
|
1535
1522
|
},
|
|
1536
|
-
|
|
1537
|
-
bgcolor:
|
|
1538
|
-
opacity:
|
|
1523
|
+
'& .ScrollerDot-circle.active': {
|
|
1524
|
+
bgcolor: 'hotpink',
|
|
1525
|
+
opacity: '1 !important',
|
|
1539
1526
|
},
|
|
1540
1527
|
}}
|
|
1541
1528
|
/>
|
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": "9.0.0-canary.
|
|
5
|
+
"version": "9.0.0-canary.58",
|
|
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": "^9.0.0-canary.
|
|
22
|
-
"@graphcommerce/framer-utils": "^9.0.0-canary.
|
|
23
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
|
24
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
25
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
21
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.58",
|
|
22
|
+
"@graphcommerce/framer-utils": "^9.0.0-canary.58",
|
|
23
|
+
"@graphcommerce/image": "^9.0.0-canary.58",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.58",
|
|
25
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.58",
|
|
26
26
|
"@lingui/core": "^4.2.1",
|
|
27
27
|
"@lingui/react": "^4.2.1",
|
|
28
28
|
"@mui/material": "^5.10.16",
|