@graphcommerce/docs 8.1.0-canary.40 → 8.1.0-canary.41
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 +8 -0
- package/framework/config.md +7 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.1.0-canary.41
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2242](https://github.com/graphcommerce-org/graphcommerce/pull/2242) [`a4cce76`](https://github.com/graphcommerce-org/graphcommerce/commit/a4cce76ca37af2bec604e953ada4bb11bd91f55d) - Add option to show an extended version of the pagination component. Configurable via the "productListPaginationVariant" key in your graphcommerce.config.js
|
|
8
|
+
COMPACT means: "< Page X of Y >"
|
|
9
|
+
EXTENDED means: "< 1 2 ... [5] ... 10 11 >" ([@FrankHarland](https://github.com/FrankHarland))
|
|
10
|
+
|
|
3
11
|
## 8.1.0-canary.40
|
|
4
12
|
|
|
5
13
|
## 8.1.0-canary.39
|
package/framework/config.md
CHANGED
|
@@ -295,6 +295,13 @@ SIDEBAR: Will be rendered as a sidebar on desktop and horizontal chips on mobile
|
|
|
295
295
|
|
|
296
296
|
Product filters with better UI for mobile and desktop.
|
|
297
297
|
|
|
298
|
+
#### productListPaginationVariant: COMPACT | EXTENDED = `COMPACT`
|
|
299
|
+
|
|
300
|
+
Pagination variant for the product listings.
|
|
301
|
+
|
|
302
|
+
COMPACT means: "< Page X of Y >"
|
|
303
|
+
EXTENDED means: "< 1 2 ... 4 [5] 6 ... 10 11 >"
|
|
304
|
+
|
|
298
305
|
#### productRoute: string
|
|
299
306
|
|
|
300
307
|
By default we route products to /p/[url] but you can change this to /product/[url] if you wish.
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "@graphcommerce/docs",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/docs",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce/docs",
|
|
5
|
-
"version": "8.1.0-canary.
|
|
5
|
+
"version": "8.1.0-canary.41",
|
|
6
6
|
"sideEffects": true,
|
|
7
7
|
"peerDependencies": {
|
|
8
|
-
"@graphcommerce/prettier-config-pwa": "^8.1.0-canary.
|
|
8
|
+
"@graphcommerce/prettier-config-pwa": "^8.1.0-canary.41"
|
|
9
9
|
},
|
|
10
10
|
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
11
11
|
}
|