@graphcommerce/framer-scroller 8.0.6-canary.4 → 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 -49
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## 8.0.
|
|
3
|
+
## 8.0.7
|
|
4
4
|
|
|
5
|
-
## 8.0.6
|
|
6
|
-
|
|
7
|
-
## 8.0.6-canary.2
|
|
8
|
-
|
|
9
|
-
## 8.0.6-canary.1
|
|
10
|
-
|
|
11
|
-
## 8.0.6-canary.0
|
|
5
|
+
## 8.0.6
|
|
12
6
|
|
|
13
7
|
## 8.0.5
|
|
14
8
|
|
|
@@ -38,8 +32,7 @@
|
|
|
38
32
|
|
|
39
33
|
### Patch Changes
|
|
40
34
|
|
|
41
|
-
- [#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.
|
|
42
|
-
([@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))
|
|
43
36
|
|
|
44
37
|
## 8.0.4-canary.1
|
|
45
38
|
|
|
@@ -47,15 +40,13 @@
|
|
|
47
40
|
|
|
48
41
|
### Patch Changes
|
|
49
42
|
|
|
50
|
-
- [#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.
|
|
51
|
-
([@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))
|
|
52
44
|
|
|
53
45
|
## 8.0.3
|
|
54
46
|
|
|
55
47
|
### Patch Changes
|
|
56
48
|
|
|
57
|
-
- [#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.
|
|
58
|
-
([@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))
|
|
59
50
|
|
|
60
51
|
## 8.0.3-canary.6
|
|
61
52
|
|
|
@@ -69,8 +60,7 @@
|
|
|
69
60
|
|
|
70
61
|
### Patch Changes
|
|
71
62
|
|
|
72
|
-
- [#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.
|
|
73
|
-
([@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))
|
|
74
64
|
|
|
75
65
|
## 8.0.3-canary.1
|
|
76
66
|
|
|
@@ -102,26 +92,19 @@
|
|
|
102
92
|
|
|
103
93
|
### Patch Changes
|
|
104
94
|
|
|
105
|
-
- [#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.
|
|
106
|
-
([@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))
|
|
107
96
|
|
|
108
|
-
- [`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
|
|
109
|
-
([@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))
|
|
110
98
|
|
|
111
|
-
- [#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.
|
|
112
|
-
([@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))
|
|
113
100
|
|
|
114
|
-
- [#2066](https://github.com/graphcommerce-org/graphcommerce/pull/2066) [`3b1f585`](https://github.com/graphcommerce-org/graphcommerce/commit/3b1f585153672a644a613411134e5ad36aa4c266) - Add `showButtons` prop to `<ScrollerButton/>`
|
|
115
|
-
([@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))
|
|
116
102
|
|
|
117
|
-
- [#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
|
|
118
|
-
([@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))
|
|
119
104
|
|
|
120
|
-
- [#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.
|
|
121
|
-
([@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))
|
|
122
106
|
|
|
123
|
-
- [`dc86f2f`](https://github.com/graphcommerce-org/graphcommerce/commit/dc86f2fbd439a63a2c9f2deaee38abe87a3c3bab) - Log the related element if the ScrollerProvider couldn’t find any children during load.
|
|
124
|
-
([@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))
|
|
125
108
|
|
|
126
109
|
## 8.0.0-canary.100
|
|
127
110
|
|
|
@@ -143,8 +126,7 @@
|
|
|
143
126
|
|
|
144
127
|
### Patch Changes
|
|
145
128
|
|
|
146
|
-
- [`dc86f2f`](https://github.com/graphcommerce-org/graphcommerce/commit/dc86f2fbd439a63a2c9f2deaee38abe87a3c3bab) - Log the related element if the ScrollerProvider couldn’t find any children during load.
|
|
147
|
-
([@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))
|
|
148
130
|
|
|
149
131
|
## 8.0.0-canary.91
|
|
150
132
|
|
|
@@ -160,8 +142,7 @@
|
|
|
160
142
|
|
|
161
143
|
### Patch Changes
|
|
162
144
|
|
|
163
|
-
- [#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
|
|
164
|
-
([@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))
|
|
165
146
|
|
|
166
147
|
## 8.0.0-canary.85
|
|
167
148
|
|
|
@@ -183,8 +164,7 @@
|
|
|
183
164
|
|
|
184
165
|
### Patch Changes
|
|
185
166
|
|
|
186
|
-
- [`e33660f`](https://github.com/graphcommerce-org/graphcommerce/commit/e33660f172466dcfa0ab7262cee612d9a3e47776) - a11y improvements (see https://github.com/graphcommerce-org/graphcommerce/issues/1995 for more info)
|
|
187
|
-
([@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))
|
|
188
168
|
|
|
189
169
|
## 8.0.0-canary.76
|
|
190
170
|
|
|
@@ -1289,31 +1269,31 @@
|
|
|
1289
1269
|
All occurences of `<Trans>` and `t` need to be replaced:
|
|
1290
1270
|
|
|
1291
1271
|
```tsx
|
|
1292
|
-
import { Trans, t } from
|
|
1272
|
+
import { Trans, t } from '@lingui/macro'
|
|
1293
1273
|
|
|
1294
1274
|
function MyComponent() {
|
|
1295
|
-
const foo =
|
|
1275
|
+
const foo = 'bar'
|
|
1296
1276
|
return (
|
|
1297
1277
|
<div aria-label={t`Account ${foo}`}>
|
|
1298
1278
|
<Trans>My Translation {foo}</Trans>
|
|
1299
1279
|
</div>
|
|
1300
|
-
)
|
|
1280
|
+
)
|
|
1301
1281
|
}
|
|
1302
1282
|
```
|
|
1303
1283
|
|
|
1304
1284
|
Needs to be replaced with:
|
|
1305
1285
|
|
|
1306
1286
|
```tsx
|
|
1307
|
-
import { Trans } from
|
|
1308
|
-
import { i18n } from
|
|
1287
|
+
import { Trans } from '@lingui/react'
|
|
1288
|
+
import { i18n } from '@lingui/core'
|
|
1309
1289
|
|
|
1310
1290
|
function MyComponent() {
|
|
1311
|
-
const foo =
|
|
1291
|
+
const foo = 'bar'
|
|
1312
1292
|
return (
|
|
1313
1293
|
<div aria-label={i18n._(/* i18n */ `Account {foo}`, { foo })}>
|
|
1314
|
-
<Trans key=
|
|
1294
|
+
<Trans key='My Translation {foo}' values={{ foo }}></Trans>
|
|
1315
1295
|
</div>
|
|
1316
|
-
)
|
|
1296
|
+
)
|
|
1317
1297
|
}
|
|
1318
1298
|
```
|
|
1319
1299
|
|
|
@@ -1411,12 +1391,12 @@
|
|
|
1411
1391
|
<ScrollerDots
|
|
1412
1392
|
layout
|
|
1413
1393
|
sx={{
|
|
1414
|
-
|
|
1415
|
-
bgcolor:
|
|
1394
|
+
'& .ScrollerDot-circle': {
|
|
1395
|
+
bgcolor: 'green',
|
|
1416
1396
|
},
|
|
1417
|
-
|
|
1418
|
-
bgcolor:
|
|
1419
|
-
opacity:
|
|
1397
|
+
'& .ScrollerDot-circle.active': {
|
|
1398
|
+
bgcolor: 'hotpink',
|
|
1399
|
+
opacity: '1 !important',
|
|
1420
1400
|
},
|
|
1421
1401
|
}}
|
|
1422
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",
|