diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 166ccd38d2..2ca3ec51db 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -1,11 +1,11 @@
---
name: Bug report
-about: 'Thanks for reporting a bug. In case this report is not related to the FastStore,
+about:
+ 'Thanks for reporting a bug. In case this report is not related to the FastStore,
we recommend posting it on the VTEX community: https://community.vtex.com/'
title: ''
labels: bug
assignees: ''
-
---
**Describe the bug**
@@ -19,6 +19,7 @@ A clear and concise description of what is happening to cause the bug.
**Steps to reproduce**
A step-by-step on how to reproduce the bug behavior.
+
1. ‘...’
2. ‘...’
3. ‘...’
diff --git a/.github/ISSUE_TEMPLATE/documentation-request.md b/.github/ISSUE_TEMPLATE/documentation-request.md
index adf0587f12..d56945b786 100644
--- a/.github/ISSUE_TEMPLATE/documentation-request.md
+++ b/.github/ISSUE_TEMPLATE/documentation-request.md
@@ -1,15 +1,15 @@
---
name: Documentation request
-about: 'Thanks for contributing. In case this request is not related to the FastStore,
+about:
+ 'Thanks for contributing. In case this request is not related to the FastStore,
we recommend posting it on the VTEX community: https://community.vtex.com/'
title: ''
labels: documentation
assignees: ''
-
---
**Documentation description**
-A clear and concise description of what you'd like to see documented.
+A clear and concise description of what you'd like to see documented.
**Additional context**
Add any other context or comment about the request.
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index c5dbe1ffa5..04232bf600 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -1,11 +1,11 @@
---
name: Feature request
-about: 'Thanks for contributing. In case this request is not related to the FastStore,
+about:
+ 'Thanks for contributing. In case this request is not related to the FastStore,
we recommend posting it on the VTEX community: https://community.vtex.com/'
title: ''
labels: enhancement
assignees: ''
-
---
**Describe the feature you'd like**
@@ -18,4 +18,4 @@ A clear and concise description of any alternative solutions or features you've
Add any other context or screenshots about the feature request here.
**References**
-Add a link or a list of references to the feature requested.
+Add a link or a list of references to the feature requested.
diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md
index c393c69269..7a758141ac 100644
--- a/.github/ISSUE_TEMPLATE/question.md
+++ b/.github/ISSUE_TEMPLATE/question.md
@@ -1,11 +1,11 @@
---
name: Question
-about: 'Thanks for your question. In case this question is not related to the FastStore,
+about:
+ 'Thanks for your question. In case this question is not related to the FastStore,
we recommend posting it on the VTEX community: https://community.vtex.com/'
title: ''
labels: good first issue, question
assignees: ''
-
---
**What are you trying to accomplish? Please describe.**
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 99b1ec5454..d0af64e777 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,18 +1,23 @@
## What's the purpose of this pull request?
+
-## How it works?
+## How it works?
+
## How to test it?
+
### Starters Deploy Preview
+
## References
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 517801c8d4..43f1dfd68e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,3395 +5,1774 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
## [1.9.7](https://github.com/vtex/faststore/compare/v1.9.6...v1.9.7) (2022-06-13)
-
### Features
-* Canonical PDP slugs ([#1338](https://github.com/vtex/faststore/issues/1338)) ([ec807bb](https://github.com/vtex/faststore/commit/ec807bb94dafaa72cdec82d53933ca0809bf01df))
-
-
-
-
+- Canonical PDP slugs ([#1338](https://github.com/vtex/faststore/issues/1338)) ([ec807bb](https://github.com/vtex/faststore/commit/ec807bb94dafaa72cdec82d53933ca0809bf01df))
## [1.9.6](https://github.com/vtex/faststore/compare/v1.9.5...v1.9.6) (2022-06-13)
-
### Features
-* Export API Errors ([#1361](https://github.com/vtex/faststore/issues/1361)) ([853035a](https://github.com/vtex/faststore/commit/853035aec1ad94cefaf9eae340b625fb6c920ec2))
-
-
-
-
+- Export API Errors ([#1361](https://github.com/vtex/faststore/issues/1361)) ([853035a](https://github.com/vtex/faststore/commit/853035aec1ad94cefaf9eae340b625fb6c920ec2))
## [1.9.5](https://github.com/vtex/faststore/compare/v1.9.4...v1.9.5) (2022-06-10)
**Note:** Version bump only for package faststore
-
-
-
-
## 1.9.4 (2022-06-10)
-
### Bug Fixes
-* codesandbox ci ([#1357](https://github.com/vtex/faststore/issues/1357)) ([db07e1f](https://github.com/vtex/faststore/commit/db07e1fb02f28b0f082c361cb2c28250a687b760))
-
-
-
-
+- codesandbox ci ([#1357](https://github.com/vtex/faststore/issues/1357)) ([db07e1f](https://github.com/vtex/faststore/commit/db07e1fb02f28b0f082c361cb2c28250a687b760))
## [1.9.3](https://github.com/vtex/faststore/compare/v1.9.2...v1.9.3) (2022-06-09)
-
### Bug Fixes
-* Spot pricing sort for lowPrice/highPrice ([#1350](https://github.com/vtex/faststore/issues/1350)) ([6836c6f](https://github.com/vtex/faststore/commit/6836c6f36a14e22eed3564e48a3eae63997b85b8))
-
-
-
-
+- Spot pricing sort for lowPrice/highPrice ([#1350](https://github.com/vtex/faststore/issues/1350)) ([6836c6f](https://github.com/vtex/faststore/commit/6836c6f36a14e22eed3564e48a3eae63997b85b8))
## [1.9.2](https://github.com/vtex/faststore/compare/v1.9.1...v1.9.2) (2022-06-09)
-
### Bug Fixes
-* some ts errors ([#1352](https://github.com/vtex/faststore/issues/1352)) ([5268188](https://github.com/vtex/faststore/commit/5268188fa984df4ce775c996934a0462a76244ce))
-
-
-
-
+- some ts errors ([#1352](https://github.com/vtex/faststore/issues/1352)) ([5268188](https://github.com/vtex/faststore/commit/5268188fa984df4ce775c996934a0462a76244ce))
## 1.9.1 (2022-06-09)
-
### Reverts
-* Revert "fix: tailwind config on docs (#1345)" (#1351) ([8ffab61](https://github.com/vtex/faststore/commit/8ffab6177d9713dfbd18bf205d16bb0c45db647a)), closes [#1345](https://github.com/vtex/faststore/issues/1345) [#1351](https://github.com/vtex/faststore/issues/1351)
-
-
-
-
+- Revert "fix: tailwind config on docs (#1345)" (#1351) ([8ffab61](https://github.com/vtex/faststore/commit/8ffab6177d9713dfbd18bf205d16bb0c45db647a)), closes [#1345](https://github.com/vtex/faststore/issues/1345) [#1351](https://github.com/vtex/faststore/issues/1351)
## [1.8.52](https://github.com/vtex/faststore/compare/v1.8.51...v1.8.52) (2022-06-03)
-
### Features
-* **ui:** Fix OutOfStock nested components ([#1341](https://github.com/vtex/faststore/issues/1341)) ([0bd85a6](https://github.com/vtex/faststore/commit/0bd85a6bd334c014559eced5a617a1476bfd8171))
-
-
-
-
+- **ui:** Fix OutOfStock nested components ([#1341](https://github.com/vtex/faststore/issues/1341)) ([0bd85a6](https://github.com/vtex/faststore/commit/0bd85a6bd334c014559eced5a617a1476bfd8171))
## 1.8.51 (2022-06-03)
-
### Features
-* **UI:** Add Hero component ([#1336](https://github.com/vtex/faststore/issues/1336)) ([767c0cd](https://github.com/vtex/faststore/commit/767c0cdc5eaf6bd56020d64fd7718b1379c09390))
-
-
-
-
+- **UI:** Add Hero component ([#1336](https://github.com/vtex/faststore/issues/1336)) ([767c0cd](https://github.com/vtex/faststore/commit/767c0cdc5eaf6bd56020d64fd7718b1379c09390))
## [1.8.50](https://github.com/vtex/faststore/compare/v1.8.49...v1.8.50) (2022-06-02)
**Note:** Version bump only for package faststore
-
-
-
-
## 1.8.49 (2022-05-31)
-
### Bug Fixes
-* remove docs from build on codesandbox ([#1334](https://github.com/vtex/faststore/issues/1334)) ([c9eabde](https://github.com/vtex/faststore/commit/c9eabdea8d951d42a9b3898572719e1f45294b33))
-
-
-
-
+- remove docs from build on codesandbox ([#1334](https://github.com/vtex/faststore/issues/1334)) ([c9eabde](https://github.com/vtex/faststore/commit/c9eabdea8d951d42a9b3898572719e1f45294b33))
## [1.8.48](https://github.com/vtex/faststore/compare/v1.8.47...v1.8.48) (2022-05-30)
**Note:** Version bump only for package faststore
-
-
-
-
## [1.8.47](https://github.com/vtex/faststore/compare/v1.8.46...v1.8.47) (2022-05-30)
-
### Bug Fixes
-* Circular dependency ([#1333](https://github.com/vtex/faststore/issues/1333)) ([d38941a](https://github.com/vtex/faststore/commit/d38941a2896f8922dafb7b5d2ea4eb85fae4b84d))
-
-
-
-
+- Circular dependency ([#1333](https://github.com/vtex/faststore/issues/1333)) ([d38941a](https://github.com/vtex/faststore/commit/d38941a2896f8922dafb7b5d2ea4eb85fae4b84d))
## 1.8.46 (2022-05-30)
-
### Features
-* using cache ([#1330](https://github.com/vtex/faststore/issues/1330)) ([6f8a7a4](https://github.com/vtex/faststore/commit/6f8a7a4a593f7e82586d7e3d48f5254e011b8df6))
-
-
-
-
+- using cache ([#1330](https://github.com/vtex/faststore/issues/1330)) ([6f8a7a4](https://github.com/vtex/faststore/commit/6f8a7a4a593f7e82586d7e3d48f5254e011b8df6))
## 1.8.45 (2022-05-30)
**Note:** Version bump only for package faststore
-
-
-
-
## [1.8.44](https://github.com/vtex/faststore/compare/v1.8.43...v1.8.44) (2022-05-30)
**Note:** Version bump only for package faststore
-
-
-
-
## [1.8.43](https://github.com/vtex/faststore/compare/v1.8.42...v1.8.43) (2022-05-30)
**Note:** Version bump only for package faststore
-
-
-
-
## 1.8.42 (2022-05-30)
-
### Bug Fixes
-* github release ([194413b](https://github.com/vtex/faststore/commit/194413ba0087c8283942108ab5fdd25964b8901b))
+- github release ([194413b](https://github.com/vtex/faststore/commit/194413ba0087c8283942108ab5fdd25964b8901b))
+## 1.8.41 (2022-05-30)
+### Bug Fixes
+- github release ([194413b](https://github.com/vtex/faststore/commit/194413ba0087c8283942108ab5fdd25964b8901b))
+## 1.8.40 (2022-05-30)
-## 1.8.41 (2022-05-30)
+### Bug Fixes
+- Cart item with additionalProperty ([#1325](https://github.com/vtex/faststore/issues/1325)) ([8fa6aa1](https://github.com/vtex/faststore/commit/8fa6aa1a88d3e3702a017e581cbcff4281c47f4f))
-### Bug Fixes
+## 1.8.39 (2022-05-27)
-* github release ([194413b](https://github.com/vtex/faststore/commit/194413ba0087c8283942108ab5fdd25964b8901b))
+**Note:** Version bump only for package faststore
+## 1.8.38 (2022-05-27)
+**Note:** Version bump only for package faststore
+## 1.8.37 (2022-05-27)
+### Bug Fixes
-## 1.8.40 (2022-05-30)
+- Increase NodeJS version ([#1323](https://github.com/vtex/faststore/issues/1323)) ([3a6fbe7](https://github.com/vtex/faststore/commit/3a6fbe7c230b7056582c783464bfb45cc5717bed))
+## 1.8.36 (2022-05-26)
### Bug Fixes
-* Cart item with additionalProperty ([#1325](https://github.com/vtex/faststore/issues/1325)) ([8fa6aa1](https://github.com/vtex/faststore/commit/8fa6aa1a88d3e3702a017e581cbcff4281c47f4f))
-
+- Top searches ([#1321](https://github.com/vtex/faststore/issues/1321)) ([e2ab99d](https://github.com/vtex/faststore/commit/e2ab99d4f443e013f3fd024fc83bb612fcb27f41))
+## 1.8.35 (2022-05-26)
+### Features
+- Add OutOfStock component ([#1314](https://github.com/vtex/faststore/issues/1314)) ([37eac86](https://github.com/vtex/faststore/commit/37eac86ede448ef68aef426f65f2d224694b2cfc))
-## 1.8.39 (2022-05-27)
+## 1.8.34 (2022-05-25)
**Note:** Version bump only for package faststore
+## 1.8.33 (2022-05-24)
+### Features
+- useStorage update onFocus ([#1316](https://github.com/vtex/faststore/issues/1316)) ([c9874d4](https://github.com/vtex/faststore/commit/c9874d46a16a09159e6e1bd4da4e61ec25bd62d2))
-
-## 1.8.38 (2022-05-27)
+## 1.8.32 (2022-05-23)
**Note:** Version bump only for package faststore
+## 1.8.31 (2022-05-20)
+**Note:** Version bump only for package faststore
+## 1.8.30 (2022-05-20)
+**Note:** Version bump only for package faststore
-## 1.8.37 (2022-05-27)
-
-
-### Bug Fixes
-
-* Increase NodeJS version ([#1323](https://github.com/vtex/faststore/issues/1323)) ([3a6fbe7](https://github.com/vtex/faststore/commit/3a6fbe7c230b7056582c783464bfb45cc5717bed))
-
+## 1.8.29 (2022-05-19)
+**Note:** Version bump only for package faststore
+## 1.8.28 (2022-05-19)
+**Note:** Version bump only for package faststore
-## 1.8.36 (2022-05-26)
+## 1.8.27 (2022-05-19)
+**Note:** Version bump only for package faststore
-### Bug Fixes
+## 1.8.26 (2022-05-18)
-* Top searches ([#1321](https://github.com/vtex/faststore/issues/1321)) ([e2ab99d](https://github.com/vtex/faststore/commit/e2ab99d4f443e013f3fd024fc83bb612fcb27f41))
+**Note:** Version bump only for package faststore
+## 1.8.25 (2022-05-18)
+**Note:** Version bump only for package faststore
+## 1.8.24 (2022-05-18)
+### Bug Fixes
-## 1.8.35 (2022-05-26)
+- Breadcrumb broken links ([#1306](https://github.com/vtex/faststore/issues/1306)) ([e1d74d4](https://github.com/vtex/faststore/commit/e1d74d49dc3f7cf90caa80e480a01346934c0d43))
+## 1.8.23 (2022-05-17)
### Features
-* Add OutOfStock component ([#1314](https://github.com/vtex/faststore/issues/1314)) ([37eac86](https://github.com/vtex/faststore/commit/37eac86ede448ef68aef426f65f2d224694b2cfc))
+- Sync Cart with Checkout ([#1299](https://github.com/vtex/faststore/issues/1299)) ([62e8f56](https://github.com/vtex/faststore/commit/62e8f56b31c6bb6cf7260749a90ebef8aba9982b))
+## 1.8.22 (2022-05-17)
+**Note:** Version bump only for package faststore
+## 1.8.21 (2022-05-16)
+**Note:** Version bump only for package faststore
-## 1.8.34 (2022-05-25)
+## 1.8.20 (2022-05-16)
**Note:** Version bump only for package faststore
+## 1.8.19 (2022-05-14)
+**Note:** Version bump only for package faststore
+## 1.8.18 (2022-05-14)
+**Note:** Version bump only for package faststore
-## 1.8.33 (2022-05-24)
-
+## 1.8.17 (2022-05-13)
### Features
-* useStorage update onFocus ([#1316](https://github.com/vtex/faststore/issues/1316)) ([c9874d4](https://github.com/vtex/faststore/commit/c9874d46a16a09159e6e1bd4da4e61ec25bd62d2))
+- **UI:** Add `ProductCard` component ([#1272](https://github.com/vtex/faststore/issues/1272)) ([ea62210](https://github.com/vtex/faststore/commit/ea6221080da8b3538551f7a77df61a14d8de297d))
+## 1.8.16 (2022-05-13)
+**Note:** Version bump only for package faststore
+## 1.8.15 (2022-05-13)
+**Note:** Version bump only for package faststore
-## 1.8.32 (2022-05-23)
+## 1.8.14 (2022-05-13)
**Note:** Version bump only for package faststore
+## 1.8.13 (2022-05-13)
+**Note:** Version bump only for package faststore
+## 1.8.12 (2022-05-12)
+**Note:** Version bump only for package faststore
-## 1.8.31 (2022-05-20)
+## 1.8.11 (2022-05-12)
**Note:** Version bump only for package faststore
+## 1.8.10 (2022-05-12)
+**Note:** Version bump only for package faststore
+## 1.8.9 (2022-05-12)
+**Note:** Version bump only for package faststore
-## 1.8.30 (2022-05-20)
+## 1.8.8 (2022-05-11)
**Note:** Version bump only for package faststore
+## 1.8.7 (2022-05-11)
+**Note:** Version bump only for package faststore
+## 1.8.6 (2022-05-10)
+**Note:** Version bump only for package faststore
-## 1.8.29 (2022-05-19)
+## 1.8.5 (2022-05-10)
**Note:** Version bump only for package faststore
+## 1.8.4 (2022-05-10)
+
+**Note:** Version bump only for package faststore
+## [1.8.3](https://github.com/vtex/faststore/compare/v1.8.2...v1.8.3) (2022-05-10)
+### Bug Fixes
+- Offer availability ([#1282](https://github.com/vtex/faststore/issues/1282)) ([e91aa26](https://github.com/vtex/faststore/commit/e91aa26241c52c926d505b733f2127a809dd3f24))
-## 1.8.28 (2022-05-19)
+## 1.8.2 (2022-05-09)
**Note:** Version bump only for package faststore
+## 1.8.1 (2022-05-09)
+**Note:** Version bump only for package faststore
+## 1.7.55 (2022-05-06)
+**Note:** Version bump only for package faststore
-## 1.8.27 (2022-05-19)
+## 1.7.54 (2022-05-06)
**Note:** Version bump only for package faststore
+## 1.7.53 (2022-05-06)
+### Bug Fixes
+- suggestions api url ([#1273](https://github.com/vtex/faststore/issues/1273)) ([6f8a961](https://github.com/vtex/faststore/commit/6f8a9613e4627f91815e669a007ec4ff4c54ffe5))
+## 1.7.52 (2022-05-06)
-## 1.8.26 (2022-05-18)
+### Bug Fixes
-**Note:** Version bump only for package faststore
+- Release workflow ([#1271](https://github.com/vtex/faststore/issues/1271)) ([3b995a8](https://github.com/vtex/faststore/commit/3b995a82c956c13c4d6f9453ac4f44195c5ef543))
+## 1.7.51 (2022-05-03)
+**Note:** Version bump only for package faststore
+## 1.7.50 (2022-05-03)
+**Note:** Version bump only for package faststore
-## 1.8.25 (2022-05-18)
+## 1.7.49 (2022-05-02)
**Note:** Version bump only for package faststore
+## 1.7.48 (2022-04-29)
+**Note:** Version bump only for package faststore
+## 1.7.47 (2022-04-29)
+**Note:** Version bump only for package faststore
-## 1.8.24 (2022-05-18)
+## 1.7.46 (2022-04-29)
+**Note:** Version bump only for package faststore
-### Bug Fixes
+## 1.7.45 (2022-04-29)
-* Breadcrumb broken links ([#1306](https://github.com/vtex/faststore/issues/1306)) ([e1d74d4](https://github.com/vtex/faststore/commit/e1d74d49dc3f7cf90caa80e480a01346934c0d43))
+**Note:** Version bump only for package faststore
+## 1.7.44 (2022-04-28)
+**Note:** Version bump only for package faststore
+## 1.7.43 (2022-04-28)
+### Bug Fixes
-## 1.8.23 (2022-05-17)
+- api schema ([#1254](https://github.com/vtex/faststore/issues/1254)) ([c901b3d](https://github.com/vtex/faststore/commit/c901b3db8e002558e14101339c817ca87db8f949))
+## 1.7.42 (2022-04-28)
### Features
-* Sync Cart with Checkout ([#1299](https://github.com/vtex/faststore/issues/1299)) ([62e8f56](https://github.com/vtex/faststore/commit/62e8f56b31c6bb6cf7260749a90ebef8aba9982b))
-
-
+- search suggestions ([#1198](https://github.com/vtex/faststore/issues/1198)) ([2b19413](https://github.com/vtex/faststore/commit/2b19413dd11249e4d967ac1c4c1aabdc3a8ec1bf))
+## 1.7.41 (2022-04-27)
+**Note:** Version bump only for package faststore
-## 1.8.22 (2022-05-17)
+## 1.7.40 (2022-04-27)
**Note:** Version bump only for package faststore
+## 1.7.39 (2022-04-27)
+**Note:** Version bump only for package faststore
+## 1.7.38 (2022-04-27)
+**Note:** Version bump only for package faststore
-## 1.8.21 (2022-05-16)
+## 1.7.37 (2022-04-27)
**Note:** Version bump only for package faststore
+## 1.7.36 (2022-04-27)
+### Bug Fixes
+- **api:** Remove circular dependencies ([#1243](https://github.com/vtex/faststore/issues/1243)) ([e988621](https://github.com/vtex/faststore/commit/e988621c77b946e397ecc33b82be65b04fa119ec))
+## 1.7.35 (2022-04-26)
-## 1.8.20 (2022-05-16)
+**Note:** Version bump only for package faststore
+
+## 1.7.34 (2022-04-25)
**Note:** Version bump only for package faststore
+## 1.7.33 (2022-04-25)
+### Bug Fixes
+- **api:** SearchResult send events ([#1242](https://github.com/vtex/faststore/issues/1242)) ([9cc7cc4](https://github.com/vtex/faststore/commit/9cc7cc4d55802ef0dc75e22d58c46da899674555))
+## 1.7.32 (2022-04-23)
-## 1.8.19 (2022-05-14)
+**Note:** Version bump only for package faststore
+
+## 1.7.31 (2022-04-22)
**Note:** Version bump only for package faststore
+## 1.7.30 (2022-04-22)
+**Note:** Version bump only for package faststore
+## 1.7.29 (2022-04-22)
+**Note:** Version bump only for package faststore
-## 1.8.18 (2022-05-14)
+## 1.7.28 (2022-04-20)
**Note:** Version bump only for package faststore
+## 1.7.27 (2022-04-20)
+**Note:** Version bump only for package faststore
+## 1.7.26 (2022-04-19)
+### Reverts
-## 1.8.17 (2022-05-13)
+- Revert "feat: Add url to events (#1174)" (#1228) ([67ec438](https://github.com/vtex/faststore/commit/67ec4386b876a4de08bfd96df5147efa958d5496)), closes [#1174](https://github.com/vtex/faststore/issues/1174) [#1228](https://github.com/vtex/faststore/issues/1228)
+## 1.7.25 (2022-04-19)
-### Features
+**Note:** Version bump only for package faststore
-* **UI:** Add `ProductCard` component ([#1272](https://github.com/vtex/faststore/issues/1272)) ([ea62210](https://github.com/vtex/faststore/commit/ea6221080da8b3538551f7a77df61a14d8de297d))
+## 1.7.24 (2022-04-18)
+**Note:** Version bump only for package faststore
+## 1.7.23 (2022-04-18)
+### Features
+- Add url to events ([#1174](https://github.com/vtex/faststore/issues/1174)) ([0e2befe](https://github.com/vtex/faststore/commit/0e2befe3cb5dc99521a470c4096e31237b93a9c0))
-## 1.8.16 (2022-05-13)
+## 1.7.22 (2022-04-13)
**Note:** Version bump only for package faststore
+## 1.7.21 (2022-04-12)
+### Features
+- AggregateRating (Stars) molecule ([#1037](https://github.com/vtex/faststore/issues/1037)) ([23f2fad](https://github.com/vtex/faststore/commit/23f2fad6fd4d58ea369a54a0b6600207016be17e))
-
-## 1.8.15 (2022-05-13)
+## 1.7.20 (2022-04-11)
**Note:** Version bump only for package faststore
+## 1.7.19 (2022-04-09)
+**Note:** Version bump only for package faststore
-
-
-## 1.8.14 (2022-05-13)
+## 1.7.18 (2022-04-08)
**Note:** Version bump only for package faststore
+## 1.7.17 (2022-04-08)
+**Note:** Version bump only for package faststore
+## 1.7.16 (2022-04-07)
+**Note:** Version bump only for package faststore
-## 1.8.13 (2022-05-13)
+## 1.7.15 (2022-04-07)
**Note:** Version bump only for package faststore
+## 1.7.14 (2022-04-07)
+### Bug Fixes
+- Uses catalog slugify ([#1214](https://github.com/vtex/faststore/issues/1214)) ([0b38efc](https://github.com/vtex/faststore/commit/0b38efc96ecab8920cf15f01c29e7f9d5becba3d))
-
-## 1.8.12 (2022-05-12)
+## 1.7.13 (2022-04-07)
**Note:** Version bump only for package faststore
+## 1.7.12 (2022-04-06)
+**Note:** Version bump only for package faststore
-
-
-## 1.8.11 (2022-05-12)
+## 1.7.11 (2022-04-06)
**Note:** Version bump only for package faststore
+## 1.7.10 (2022-04-05)
+**Note:** Version bump only for package faststore
+## 1.7.9 (2022-04-05)
+**Note:** Version bump only for package faststore
-## 1.8.10 (2022-05-12)
+## 1.7.8 (2022-04-05)
**Note:** Version bump only for package faststore
+## 1.7.7 (2022-04-05)
+**Note:** Version bump only for package faststore
+## 1.7.6 (2022-04-05)
+**Note:** Version bump only for package faststore
-## 1.8.9 (2022-05-12)
+## 1.7.5 (2022-04-04)
**Note:** Version bump only for package faststore
+## 1.7.4 (2022-04-01)
+### Bug Fixes
+- release notes images ([#1207](https://github.com/vtex/faststore/issues/1207)) ([279e019](https://github.com/vtex/faststore/commit/279e019bad25581712f73c8fe7a433200d711780))
-
-## 1.8.8 (2022-05-11)
+## 1.7.3 (2022-04-01)
**Note:** Version bump only for package faststore
+## 1.7.2 (2022-04-01)
+**Note:** Version bump only for package faststore
+## 1.7.1 (2022-04-01)
+**Note:** Version bump only for package faststore
-## 1.8.7 (2022-05-11)
+## 1.6.29 (2022-03-31)
-**Note:** Version bump only for package faststore
+### Bug Fixes
+- fix dropdown render in SSR ([#1202](https://github.com/vtex/faststore/issues/1202)) ([60f65b0](https://github.com/vtex/faststore/commit/60f65b0864c2fb59dff61e914c69a326b5229984))
+## 1.6.28 (2022-03-31)
+### Bug Fixes
+- fix dropdown menu position with scroll ([#1199](https://github.com/vtex/faststore/issues/1199)) ([98a228e](https://github.com/vtex/faststore/commit/98a228e364ed26e480936406c1988026f9ebaffc))
-## 1.8.6 (2022-05-10)
+## 1.6.27 (2022-03-31)
**Note:** Version bump only for package faststore
+## 1.6.26 (2022-03-31)
+### Features
+- **api:** Handle channel as facet for search and product queries ([#1197](https://github.com/vtex/faststore/issues/1197)) ([00556b1](https://github.com/vtex/faststore/commit/00556b199a48617ff89b1a6b951a0c958f5aa018))
-
-## 1.8.5 (2022-05-10)
+## 1.6.25 (2022-03-29)
**Note:** Version bump only for package faststore
+## 1.6.24 (2022-03-29)
+### Bug Fixes
+- fix dropdown click bug ([#1196](https://github.com/vtex/faststore/issues/1196)) ([55202ea](https://github.com/vtex/faststore/commit/55202ead64933b71688ac7399211cc2f086596f2))
+## 1.6.23 (2022-03-28)
-## 1.8.4 (2022-05-10)
+### Bug Fixes
-**Note:** Version bump only for package faststore
+- fix breadcrumb component bug ([#1193](https://github.com/vtex/faststore/issues/1193)) ([f36ba81](https://github.com/vtex/faststore/commit/f36ba814ed679523d8c1f030c31a086a9e5bb190))
+## 1.6.22 (2022-03-25)
+### Features
+- **sdk:** Improve useStorage and Optimistic revalidate effect ([#1186](https://github.com/vtex/faststore/issues/1186)) ([08c616b](https://github.com/vtex/faststore/commit/08c616be4c6bc5a215da7ab0c37ff2731aa09f9a))
+## 1.6.21 (2022-03-25)
-## [1.8.3](https://github.com/vtex/faststore/compare/v1.8.2...v1.8.3) (2022-05-10)
+**Note:** Version bump only for package faststore
+## 1.6.20 (2022-03-24)
### Bug Fixes
-* Offer availability ([#1282](https://github.com/vtex/faststore/issues/1282)) ([e91aa26](https://github.com/vtex/faststore/commit/e91aa26241c52c926d505b733f2127a809dd3f24))
-
+- fix dropdown component bug ([#1192](https://github.com/vtex/faststore/issues/1192)) ([f188ac0](https://github.com/vtex/faststore/commit/f188ac0c59db5a0ef7a95eb2412d0bbcd024ae36))
+## 1.6.19 (2022-03-24)
+### Features
+- Add exports to dropdown ([#1188](https://github.com/vtex/faststore/issues/1188)) ([f24359a](https://github.com/vtex/faststore/commit/f24359a34439e0ec8d3069483c31a6f62fa6535d))
-## 1.8.2 (2022-05-09)
+## 1.6.18 (2022-03-24)
-**Note:** Version bump only for package faststore
+### Features
+- **api:** Add session mutation ([#1176](https://github.com/vtex/faststore/issues/1176)) ([0306167](https://github.com/vtex/faststore/commit/030616739cc62d9b5aa55cdf532ee6dea0bd793c))
+## 1.6.17 (2022-03-23)
+### Features
+- **UI:** Add dropdown component ([#1178](https://github.com/vtex/faststore/issues/1178)) ([e5153a6](https://github.com/vtex/faststore/commit/e5153a674c37bd2a8b4c65ae6f56eb5cabaf3fc8))
-## 1.8.1 (2022-05-09)
+## 1.6.16 (2022-03-23)
**Note:** Version bump only for package faststore
+## 1.6.15 (2022-03-22)
+### Bug Fixes
+- Fix some typos ([#1183](https://github.com/vtex/faststore/issues/1183)) ([97fffb0](https://github.com/vtex/faststore/commit/97fffb02d9cc72f07926bc1a9bc684a99d623765))
-
-## 1.7.55 (2022-05-06)
+## 1.6.14 (2022-03-21)
**Note:** Version bump only for package faststore
+## 1.6.13 (2022-03-18)
+**Note:** Version bump only for package faststore
+## 1.6.12 (2022-03-18)
+**Note:** Version bump only for package faststore
-## 1.7.54 (2022-05-06)
+## 1.6.11 (2022-03-17)
**Note:** Version bump only for package faststore
+## 1.6.10 (2022-03-16)
+**Note:** Version bump only for package faststore
+## 1.6.9 (2022-03-16)
+**Note:** Version bump only for package faststore
-## 1.7.53 (2022-05-06)
-
+## 1.6.8 (2022-03-15)
-### Bug Fixes
+### Features
-* suggestions api url ([#1273](https://github.com/vtex/faststore/issues/1273)) ([6f8a961](https://github.com/vtex/faststore/commit/6f8a9613e4627f91815e669a007ec4ff4c54ffe5))
+- Add Person Query ([#1139](https://github.com/vtex/faststore/issues/1139)) ([9ec28c2](https://github.com/vtex/faststore/commit/9ec28c21cc6412c5366d1a1c71ef043603cd50c7))
+## 1.6.7 (2022-03-14)
+**Note:** Version bump only for package faststore
+## 1.6.6 (2022-03-14)
+**Note:** Version bump only for package faststore
-## 1.7.52 (2022-05-06)
+## 1.6.5 (2022-03-10)
+**Note:** Version bump only for package faststore
-### Bug Fixes
+## 1.6.4 (2022-03-10)
-* Release workflow ([#1271](https://github.com/vtex/faststore/issues/1271)) ([3b995a8](https://github.com/vtex/faststore/commit/3b995a82c956c13c4d6f9453ac4f44195c5ef543))
+**Note:** Version bump only for package faststore
+## 1.6.3 (2022-03-04)
+**Note:** Version bump only for package faststore
+## 1.6.2 (2022-03-04)
+**Note:** Version bump only for package faststore
-## 1.7.51 (2022-05-03)
+## 1.6.1 (2022-03-04)
**Note:** Version bump only for package faststore
+## 1.5.20 (2022-02-25)
+### Bug Fixes
+- Cart item availability ([#1160](https://github.com/vtex/faststore/issues/1160)) ([fd1be18](https://github.com/vtex/faststore/commit/fd1be18b09e8e5141a2a899e786e7caf08b3ff62))
-
-## 1.7.50 (2022-05-03)
+## 1.5.19 (2022-02-24)
**Note:** Version bump only for package faststore
+## 1.5.18 (2022-02-23)
+### Bug Fixes
+- **ui:** Use valid HTML for the Breadcrumb's divider ([#1143](https://github.com/vtex/faststore/issues/1143)) ([b40c3b1](https://github.com/vtex/faststore/commit/b40c3b1405e6aa9a0f2006de9f37a903e40a2103))
+## 1.5.17 (2022-02-22)
-## 1.7.49 (2022-05-02)
-
-**Note:** Version bump only for package faststore
-
+### Features
+- Moves some Filter logic to api ([#1154](https://github.com/vtex/faststore/issues/1154)) ([5a591f7](https://github.com/vtex/faststore/commit/5a591f7b42e947577597cc82d8df6a15d2994780))
+## 1.5.16 (2022-02-22)
+**Note:** Version bump only for package faststore
-## 1.7.48 (2022-04-29)
+## 1.5.15 (2022-02-22)
**Note:** Version bump only for package faststore
+## 1.5.14 (2022-02-22)
+### Features
+- Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))
+## 1.5.13 (2022-02-22)
-## 1.7.47 (2022-04-29)
-
-**Note:** Version bump only for package faststore
+### Features
+- Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))
+## 1.5.12 (2022-02-21)
+### Bug Fixes
+- allCollections query pagination and pagetype timeout errors ([#1140](https://github.com/vtex/faststore/issues/1140)) ([0150222](https://github.com/vtex/faststore/commit/01502220fb903c62f0b33b9a703fb45daafae141))
-## 1.7.46 (2022-04-29)
+## 1.5.11 (2022-02-18)
-**Note:** Version bump only for package faststore
+### Bug Fixes
+- **gatsby-plugin-nginx:** remove trailing slash from incoming requests ([#1145](https://github.com/vtex/faststore/issues/1145)) ([db6f1e1](https://github.com/vtex/faststore/commit/db6f1e173ec43747bf9cfa244b81d86db8a25ce3))
+## 1.5.10 (2022-02-17)
+### Features
+- **api:** Add additional property ([#1107](https://github.com/vtex/faststore/issues/1107)) ([bbcfc4a](https://github.com/vtex/faststore/commit/bbcfc4af68148adb54d66a3f1d28a9817ad2956c))
-## 1.7.45 (2022-04-29)
+## 1.5.9 (2022-02-16)
**Note:** Version bump only for package faststore
+## 1.5.8 (2022-02-15)
+### Bug Fixes
+- **api:** PDP and PLP breadcrumb list item's URL paths ([#1148](https://github.com/vtex/faststore/issues/1148)) ([ea1790a](https://github.com/vtex/faststore/commit/ea1790a0069b5e19f656d7df0051f391c3c3c611))
-
-## 1.7.44 (2022-04-28)
+## 1.5.7 (2022-02-15)
**Note:** Version bump only for package faststore
+## 1.5.6 (2022-02-15)
+### Features
+- Add budgets lighthouse config ([#1150](https://github.com/vtex/faststore/issues/1150)) ([60de848](https://github.com/vtex/faststore/commit/60de84897cb25fe775a3197adf8035610882ced8))
+## 1.5.5 (2022-02-09)
-## 1.7.43 (2022-04-28)
-
+**Note:** Version bump only for package faststore
-### Bug Fixes
+## 1.5.4 (2022-02-09)
-* api schema ([#1254](https://github.com/vtex/faststore/issues/1254)) ([c901b3d](https://github.com/vtex/faststore/commit/c901b3db8e002558e14101339c817ca87db8f949))
+**Note:** Version bump only for package faststore
+## 1.5.3 (2022-02-07)
+**Note:** Version bump only for package faststore
+## 1.5.2 (2022-02-04)
+**Note:** Version bump only for package faststore
-## 1.7.42 (2022-04-28)
+## 1.5.1 (2022-02-04)
+**Note:** Version bump only for package faststore
-### Features
+## 1.4.27 (2022-02-03)
-* search suggestions ([#1198](https://github.com/vtex/faststore/issues/1198)) ([2b19413](https://github.com/vtex/faststore/commit/2b19413dd11249e4d967ac1c4c1aabdc3a8ec1bf))
+**Note:** Version bump only for package faststore
+## 1.4.26 (2022-02-02)
+**Note:** Version bump only for package faststore
+## 1.4.25 (2022-02-02)
+**Note:** Version bump only for package faststore
-## 1.7.41 (2022-04-27)
+## 1.4.24 (2022-02-02)
**Note:** Version bump only for package faststore
+## 1.4.23 (2022-02-01)
+### Bug Fixes
+- unfiltered allCollections query ([#1131](https://github.com/vtex/faststore/issues/1131)) ([4a1744a](https://github.com/vtex/faststore/commit/4a1744ad267517bfb6d3b7d7747725da0533d13f))
-
-## 1.7.40 (2022-04-27)
+## 1.4.22 (2022-01-26)
**Note:** Version bump only for package faststore
+## 1.4.21 (2022-01-26)
+**Note:** Version bump only for package faststore
+## 1.4.20 (2022-01-26)
+**Note:** Version bump only for package faststore
-## 1.7.39 (2022-04-27)
+## 1.4.19 (2022-01-24)
**Note:** Version bump only for package faststore
+## 1.4.18 (2022-01-17)
+
+**Note:** Version bump only for package faststore
+## 1.4.17 (2022-01-13)
+### Bug Fixes
+- replaceAll crashing build with env vars ([#1109](https://github.com/vtex/faststore/issues/1109)) ([801b62e](https://github.com/vtex/faststore/commit/801b62e118238b6828d8cdaa2aff96d6c40278a8))
-## 1.7.38 (2022-04-27)
+## 1.4.16 (2022-01-11)
**Note:** Version bump only for package faststore
+## 1.4.15 (2022-01-11)
+
+### Bug Fixes
+- **api:** Breadcrumb data on collection pages ([#1104](https://github.com/vtex/faststore/issues/1104)) ([25d3c2b](https://github.com/vtex/faststore/commit/25d3c2bd07158ffca75bfe377a5b932c8fb36ae5))
+## 1.4.14 (2022-01-07)
+### Features
-## 1.7.37 (2022-04-27)
+- add item generics to analytics types for easy customization ([#1101](https://github.com/vtex/faststore/issues/1101)) ([51e9d96](https://github.com/vtex/faststore/commit/51e9d96b82062113a96a95159963ff85a22086fc))
-**Note:** Version bump only for package faststore
+## 1.4.13 (2022-01-07)
+**Note:** Version bump only for package faststore
+## 1.4.12 (2022-01-07)
+**Note:** Version bump only for package faststore
+## 1.4.11 (2022-01-06)
-## 1.7.36 (2022-04-27)
+**Note:** Version bump only for package faststore
+## 1.4.10 (2022-01-06)
### Bug Fixes
-* **api:** Remove circular dependencies ([#1243](https://github.com/vtex/faststore/issues/1243)) ([e988621](https://github.com/vtex/faststore/commit/e988621c77b946e397ecc33b82be65b04fa119ec))
-
+- **api:** Sku loader ([#1100](https://github.com/vtex/faststore/issues/1100)) ([82d029f](https://github.com/vtex/faststore/commit/82d029fbb4fd7613c80d099587b00812c410e448))
+## 1.4.9 (2022-01-06)
+### Features
+- add headers to nginx via env vars ([#1049](https://github.com/vtex/faststore/issues/1049)) ([3553372](https://github.com/vtex/faststore/commit/355337273ce03660db9fd14482818cc24c99f4e2))
-## 1.7.35 (2022-04-26)
+## 1.4.8 (2022-01-05)
**Note:** Version bump only for package faststore
+## 1.4.7 (2022-01-05)
+
+### Bug Fixes
+- fix accessibility on storybook ([#1096](https://github.com/vtex/faststore/issues/1096)) ([55805b1](https://github.com/vtex/faststore/commit/55805b1b2cffd111ef64857321c20e0a001a93b2))
+## 1.4.6 (2022-01-05)
+**Note:** Version bump only for package faststore
-## 1.7.34 (2022-04-25)
+## 1.4.5 (2022-01-04)
**Note:** Version bump only for package faststore
+## 1.4.4 (2022-01-04)
+### Bug Fixes
+- adjust data attributes pattern on multiple components ([#1093](https://github.com/vtex/faststore/issues/1093)) ([ca9172f](https://github.com/vtex/faststore/commit/ca9172fb353cfce7011f9144c1e94ed7e6b73f5f))
+## 1.4.3 (2022-01-03)
-## 1.7.33 (2022-04-25)
+**Note:** Version bump only for package faststore
+## 1.4.2 (2022-01-03)
### Bug Fixes
-* **api:** SearchResult send events ([#1242](https://github.com/vtex/faststore/issues/1242)) ([9cc7cc4](https://github.com/vtex/faststore/commit/9cc7cc4d55802ef0dc75e22d58c46da899674555))
+- **ui:** removing aria-labelledby from payment methods component ([#1092](https://github.com/vtex/faststore/issues/1092)) ([bf4c7a9](https://github.com/vtex/faststore/commit/bf4c7a981c379ffb1777a2fd8cae787f735f7d2d))
+## 1.4.1 (2022-01-03)
+**Note:** Version bump only for package faststore
+## 1.3.46 (2021-12-23)
+**Note:** Version bump only for package faststore
-## 1.7.32 (2022-04-23)
+## 1.3.45 (2021-12-21)
**Note:** Version bump only for package faststore
+## 1.3.44 (2021-12-21)
+
+**Note:** Version bump only for package faststore
+## 1.3.43 (2021-12-20)
+### Features
+- QuantitySelector component ([#1083](https://github.com/vtex/faststore/issues/1083)) ([6ade6c0](https://github.com/vtex/faststore/commit/6ade6c02b06fdb74ba2cd2978d8ac4bda35672d2))
-## 1.7.31 (2022-04-22)
+## 1.3.42 (2021-12-20)
**Note:** Version bump only for package faststore
+## 1.3.41 (2021-12-20)
+### Features
+- **ui:** Incentive atom ([#1064](https://github.com/vtex/faststore/issues/1064)) ([1b136c7](https://github.com/vtex/faststore/commit/1b136c7d7fc8f2b99259ef1908286713697e03da))
+## 1.3.40 (2021-12-18)
-## 1.7.30 (2022-04-22)
+### Features
-**Note:** Version bump only for package faststore
+- **ui:** Link atom ([#1067](https://github.com/vtex/faststore/issues/1067)) ([c49b2dd](https://github.com/vtex/faststore/commit/c49b2ddc31ba4184bed19a8934fbf4d5f0b47a5f))
+## 1.3.39 (2021-12-17)
+**Note:** Version bump only for package faststore
-
-
-## 1.7.29 (2022-04-22)
+## 1.3.38 (2021-12-16)
**Note:** Version bump only for package faststore
+## 1.3.37 (2021-12-15)
+### Features
+- **ui:** Card component ([#1079](https://github.com/vtex/faststore/issues/1079)) ([7f10a5d](https://github.com/vtex/faststore/commit/7f10a5dcec21f7c9d59ba645755fe298e96269df))
+## 1.3.36 (2021-12-15)
-## 1.7.28 (2022-04-20)
-
-**Note:** Version bump only for package faststore
-
-
-
+### Bug Fixes
+- expose JS files only ([#1081](https://github.com/vtex/faststore/issues/1081)) ([e363c12](https://github.com/vtex/faststore/commit/e363c120f22b10da81ceb3e2d8fcc58c1b4665af))
-## 1.7.27 (2022-04-20)
+## 1.3.35 (2021-12-14)
**Note:** Version bump only for package faststore
+## 1.3.34 (2021-12-11)
+### Bug Fixes
+- **docs:** Fix algolia search ([#1078](https://github.com/vtex/faststore/issues/1078)) ([986074f](https://github.com/vtex/faststore/commit/986074f061365d812650a82748ca5a9fc1dac6d5))
+## 1.3.33 (2021-12-10)
-## 1.7.26 (2022-04-19)
-
-
-### Reverts
-
-* Revert "feat: Add url to events (#1174)" (#1228) ([67ec438](https://github.com/vtex/faststore/commit/67ec4386b876a4de08bfd96df5147efa958d5496)), closes [#1174](https://github.com/vtex/faststore/issues/1174) [#1228](https://github.com/vtex/faststore/issues/1228)
-
-
-
-
+**Note:** Version bump only for package faststore
-## 1.7.25 (2022-04-19)
+## 1.3.32 (2021-12-10)
**Note:** Version bump only for package faststore
+## 1.3.31 (2021-12-10)
+**Note:** Version bump only for package faststore
+## 1.3.30 (2021-12-10)
+**Note:** Version bump only for package faststore
-## 1.7.24 (2022-04-18)
+## 1.3.29 (2021-12-10)
**Note:** Version bump only for package faststore
+## 1.3.28 (2021-12-10)
+**Note:** Version bump only for package faststore
+## 1.3.27 (2021-12-10)
+### Bug Fixes
-## 1.7.23 (2022-04-18)
+- Add Banner Components exportation ([#1072](https://github.com/vtex/faststore/issues/1072)) ([4024104](https://github.com/vtex/faststore/commit/4024104f9804c8762037f03d986a4334af819b3c))
+## 1.3.26 (2021-12-09)
-### Features
+**Note:** Version bump only for package faststore
-* Add url to events ([#1174](https://github.com/vtex/faststore/issues/1174)) ([0e2befe](https://github.com/vtex/faststore/commit/0e2befe3cb5dc99521a470c4096e31237b93a9c0))
+## 1.3.25 (2021-12-09)
+**Note:** Version bump only for package faststore
+## 1.3.24 (2021-12-09)
+### Bug Fixes
+- fix UI storybook imports ([#1069](https://github.com/vtex/faststore/issues/1069)) ([e4a2402](https://github.com/vtex/faststore/commit/e4a2402235c60488fde7021bf3200d967af3cb83))
-## 1.7.22 (2022-04-13)
+## 1.3.23 (2021-12-09)
**Note:** Version bump only for package faststore
+## 1.3.22 (2021-12-07)
+**Note:** Version bump only for package faststore
-
-
-## 1.7.21 (2022-04-12)
-
+## 1.3.21 (2021-12-07)
### Features
-* AggregateRating (Stars) molecule ([#1037](https://github.com/vtex/faststore/issues/1037)) ([23f2fad](https://github.com/vtex/faststore/commit/23f2fad6fd4d58ea369a54a0b6600207016be17e))
-
+- add docs ([#1058](https://github.com/vtex/faststore/issues/1058)) ([35f3e62](https://github.com/vtex/faststore/commit/35f3e62ae09c350632479742c9ce2c22e8862b23))
+## 1.3.20 (2021-12-07)
+### Features
+- **store-ui:** Banner component ([#1048](https://github.com/vtex/faststore/issues/1048)) ([b65d8e5](https://github.com/vtex/faststore/commit/b65d8e574598f8bf8494aac478e4bec4d774ec86))
-## 1.7.20 (2022-04-11)
+## 1.3.19 (2021-12-07)
-**Note:** Version bump only for package faststore
+### Features
+- **ui:** PaymentMethods Component ([#1024](https://github.com/vtex/faststore/issues/1024)) ([f093025](https://github.com/vtex/faststore/commit/f093025c5b010b01f16349e2460611792cfff67f))
+## 1.3.18 (2021-12-06)
+### Features
+- **store-ui:** Alert molecule ([#1020](https://github.com/vtex/faststore/issues/1020)) ([7764e0d](https://github.com/vtex/faststore/commit/7764e0d08270a3bb836038c4a9cd27e5cbef9667))
-## 1.7.19 (2022-04-09)
+## 1.3.17 (2021-12-06)
**Note:** Version bump only for package faststore
+## 1.3.16 (2021-12-06)
+### Bug Fixes
+- add fallback to prevent null facets attribute StoreSearchResult query ([#1056](https://github.com/vtex/faststore/issues/1056)) ([ae1483f](https://github.com/vtex/faststore/commit/ae1483fdb901328a7a7348746fd241b9ce7ea1da))
-
-## 1.7.18 (2022-04-08)
+## 1.3.15 (2021-12-03)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.7.17 (2022-04-08)
+## 1.3.14 (2021-12-03)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.7.16 (2022-04-07)
+## 1.3.13 (2021-12-03)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.7.15 (2022-04-07)
+## 1.3.12 (2021-12-02)
**Note:** Version bump only for package faststore
+## 1.3.11 (2021-12-02)
+**Note:** Version bump only for package faststore
+## 1.3.10 (2021-12-01)
+**Note:** Version bump only for package faststore
-## 1.7.14 (2022-04-07)
-
+## 1.3.9 (2021-12-01)
### Bug Fixes
-* Uses catalog slugify ([#1214](https://github.com/vtex/faststore/issues/1214)) ([0b38efc](https://github.com/vtex/faststore/commit/0b38efc96ecab8920cf15f01c29e7f9d5becba3d))
-
-
+- **api:** Throws NotFoundError when collection is not found ([#1047](https://github.com/vtex/faststore/issues/1047)) ([9535ec3](https://github.com/vtex/faststore/commit/9535ec3d67a64f98b4d4e914e7bae81e06935e2a))
-
-
-## 1.7.13 (2022-04-07)
+## 1.3.8 (2021-12-01)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.7.12 (2022-04-06)
+## 1.3.7 (2021-12-01)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.7.11 (2022-04-06)
+## 1.3.6 (2021-11-26)
**Note:** Version bump only for package faststore
+## 1.3.5 (2021-11-25)
+### Features
+- **ui:** RadioGroup Component ([#1033](https://github.com/vtex/faststore/issues/1033)) ([60f306d](https://github.com/vtex/faststore/commit/60f306d97257a8cc65ec67bf1f1cc16376ad1654))
-
-## 1.7.10 (2022-04-05)
+## 1.3.4 (2021-11-23)
**Note:** Version bump only for package faststore
+## 1.3.3 (2021-11-23)
+### Features
+- **gatsby-plugin-nginx:** support to augment the generateRewrites ([#1017](https://github.com/vtex/faststore/issues/1017)) ([46587b0](https://github.com/vtex/faststore/commit/46587b0280d7f8dd733a0dca29909f041c944897))
-
-## 1.7.9 (2022-04-05)
+## 1.3.2 (2021-11-22)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.7.8 (2022-04-05)
+## 1.3.1 (2021-11-18)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.7.7 (2022-04-05)
+## 1.2.37 (2021-11-17)
**Note:** Version bump only for package faststore
+## 1.2.36 (2021-11-16)
+**Note:** Version bump only for package faststore
-
-
-## 1.7.6 (2022-04-05)
+## 1.2.35 (2021-11-16)
**Note:** Version bump only for package faststore
+## 1.2.34 (2021-11-16)
+### Bug Fixes
+- Filter collection slugs in api ([#1022](https://github.com/vtex/faststore/issues/1022)) ([cdcfcff](https://github.com/vtex/faststore/commit/cdcfcff642561dd73b1f85557e101271d10ca930))
-
-## 1.7.5 (2022-04-04)
+## 1.2.33 (2021-11-12)
**Note:** Version bump only for package faststore
+## 1.2.32 (2021-11-11)
+**Note:** Version bump only for package faststore
+## 1.2.31 (2021-11-04)
+### Features
-## 1.7.4 (2022-04-01)
+- **store-ui:** Breadcrumb improvements ([#1010](https://github.com/vtex/faststore/issues/1010)) ([8b4bf37](https://github.com/vtex/faststore/commit/8b4bf37316d6057683680de36493b63709bb1012))
+## 1.2.30 (2021-11-03)
### Bug Fixes
-* release notes images ([#1207](https://github.com/vtex/faststore/issues/1207)) ([279e019](https://github.com/vtex/faststore/commit/279e019bad25581712f73c8fe7a433200d711780))
-
+- Channel simulation ([#1014](https://github.com/vtex/faststore/issues/1014)) ([b45406b](https://github.com/vtex/faststore/commit/b45406b2b7ee8deb2b6e256629ba6df89d1b5940))
-
-
-
-## 1.7.3 (2022-04-01)
+## 1.2.29 (2021-11-03)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.7.2 (2022-04-01)
+## 1.2.28 (2021-10-29)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.7.1 (2022-04-01)
+## 1.2.27 (2021-10-29)
**Note:** Version bump only for package faststore
-
-
-
-
-## 1.6.29 (2022-03-31)
-
-
-### Bug Fixes
-
-* fix dropdown render in SSR ([#1202](https://github.com/vtex/faststore/issues/1202)) ([60f65b0](https://github.com/vtex/faststore/commit/60f65b0864c2fb59dff61e914c69a326b5229984))
-
-
-
-
-
-## 1.6.28 (2022-03-31)
-
+## 1.2.26 (2021-10-29)
### Bug Fixes
-* fix dropdown menu position with scroll ([#1199](https://github.com/vtex/faststore/issues/1199)) ([98a228e](https://github.com/vtex/faststore/commit/98a228e364ed26e480936406c1988026f9ebaffc))
-
-
+- **store-ui:** Remove circular dependency ([#1011](https://github.com/vtex/faststore/issues/1011)) ([b9f08c9](https://github.com/vtex/faststore/commit/b9f08c95ae33bdbb09ffc044d6ad831fd6608144))
+## 1.2.25 (2021-10-28)
+**Note:** Version bump only for package faststore
-## 1.6.27 (2022-03-31)
+## 1.2.24 (2021-10-28)
**Note:** Version bump only for package faststore
+## 1.2.23 (2021-10-27)
+### Features
+- **store-ui:** Add carousel tablist keyboard behavior ([#996](https://github.com/vtex/faststore/issues/996)) ([9081584](https://github.com/vtex/faststore/commit/908158460028009aaaa4ebbcd22eefab59e9bff8))
+## 1.2.22 (2021-10-26)
-## 1.6.26 (2022-03-31)
+**Note:** Version bump only for package openstore
+## 1.2.21 (2021-10-26)
### Features
-* **api:** Handle channel as facet for search and product queries ([#1197](https://github.com/vtex/faststore/issues/1197)) ([00556b1](https://github.com/vtex/faststore/commit/00556b199a48617ff89b1a6b951a0c958f5aa018))
-
-
+- **store-ui:** Form molecule ([#1004](https://github.com/vtex/faststore/issues/1004)) ([c584ef6](https://github.com/vtex/faststore/commit/c584ef693d111ede70d27730ecb3cce613b9aba3))
+## 1.2.20 (2021-10-26)
+**Note:** Version bump only for package openstore
-## 1.6.25 (2022-03-29)
-
-**Note:** Version bump only for package faststore
-
+## 1.2.19 (2021-10-25)
+**Note:** Version bump only for package openstore
+## 1.2.18 (2021-10-25)
+### Features
-## 1.6.24 (2022-03-29)
+- **store-ui:** Breadcrumb molecule ([#986](https://github.com/vtex/faststore/issues/986)) ([325c738](https://github.com/vtex/faststore/commit/325c7387089d2f2c7152191b54fc3cb4918f1c68))
+## 1.2.17 (2021-10-21)
-### Bug Fixes
+### Features
-* fix dropdown click bug ([#1196](https://github.com/vtex/faststore/issues/1196)) ([55202ea](https://github.com/vtex/faststore/commit/55202ead64933b71688ac7399211cc2f086596f2))
+- **store-ui:** Loading Button molecule ([#962](https://github.com/vtex/faststore/issues/962)) ([6083ea0](https://github.com/vtex/faststore/commit/6083ea0273646a09e66ceedfab4b17c3960ac9fc)), closes [#918](https://github.com/vtex/faststore/issues/918) [#911](https://github.com/vtex/faststore/issues/911)
+### BREAKING CHANGES
+- **store-ui:** Remove deprecated folders (#927)
+## 1.2.16 (2021-10-21)
+### Features
-## 1.6.23 (2022-03-28)
+- **store-ui:** Label atom ([#1001](https://github.com/vtex/faststore/issues/1001)) ([3306ea6](https://github.com/vtex/faststore/commit/3306ea6b9b48996574eac4b8c1b737dff94a438e))
+## 1.2.15 (2021-10-21)
### Bug Fixes
-* fix breadcrumb component bug ([#1193](https://github.com/vtex/faststore/issues/1193)) ([f36ba81](https://github.com/vtex/faststore/commit/f36ba814ed679523d8c1f030c31a086a9e5bb190))
-
-
-
-
-
-## 1.6.22 (2022-03-25)
+- **store-ui:** Fix search-input a11y ([#1000](https://github.com/vtex/faststore/issues/1000)) ([f052f46](https://github.com/vtex/faststore/commit/f052f465e21aa4e2ca047327eeb0610b9b979f10))
+## 1.2.14 (2021-10-20)
### Features
-* **sdk:** Improve useStorage and Optimistic revalidate effect ([#1186](https://github.com/vtex/faststore/issues/1186)) ([08c616b](https://github.com/vtex/faststore/commit/08c616be4c6bc5a215da7ab0c37ff2731aa09f9a))
-
-
+- graphql-utils ([#998](https://github.com/vtex/faststore/issues/998)) ([bddf043](https://github.com/vtex/faststore/commit/bddf04308826369f86322851b554cc58ab5b2161))
+## 1.2.13 (2021-10-20)
+**Note:** Version bump only for package openstore
-## 1.6.21 (2022-03-25)
-
-**Note:** Version bump only for package faststore
-
-
+## 1.2.12 (2021-10-18)
+**Note:** Version bump only for package openstore
+## 1.2.11 (2021-10-18)
-## 1.6.20 (2022-03-24)
+**Note:** Version bump only for package openstore
+## 1.2.10 (2021-10-18)
### Bug Fixes
-* fix dropdown component bug ([#1192](https://github.com/vtex/faststore/issues/1192)) ([f188ac0](https://github.com/vtex/faststore/commit/f188ac0c59db5a0ef7a95eb2412d0bbcd024ae36))
-
-
-
+- **store-ui:** Component Architecture doc's code snippets ([#997](https://github.com/vtex/faststore/issues/997)) ([7f0d5f3](https://github.com/vtex/faststore/commit/7f0d5f307014f794063dd8d94d873478803888c0))
+## 1.2.9 (2021-10-18)
-## 1.6.19 (2022-03-24)
-
-
-### Features
-
-* Add exports to dropdown ([#1188](https://github.com/vtex/faststore/issues/1188)) ([f24359a](https://github.com/vtex/faststore/commit/f24359a34439e0ec8d3069483c31a6f62fa6535d))
+**Note:** Version bump only for package openstore
-
-
-
-
-## 1.6.18 (2022-03-24)
-
-
-### Features
-
-* **api:** Add session mutation ([#1176](https://github.com/vtex/faststore/issues/1176)) ([0306167](https://github.com/vtex/faststore/commit/030616739cc62d9b5aa55cdf532ee6dea0bd793c))
-
-
-
-
-
-## 1.6.17 (2022-03-23)
-
-
-### Features
-
-* **UI:** Add dropdown component ([#1178](https://github.com/vtex/faststore/issues/1178)) ([e5153a6](https://github.com/vtex/faststore/commit/e5153a674c37bd2a8b4c65ae6f56eb5cabaf3fc8))
-
-
-
-
-
-## 1.6.16 (2022-03-23)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.15 (2022-03-22)
-
-
-### Bug Fixes
-
-* Fix some typos ([#1183](https://github.com/vtex/faststore/issues/1183)) ([97fffb0](https://github.com/vtex/faststore/commit/97fffb02d9cc72f07926bc1a9bc684a99d623765))
-
-
-
-
-
-## 1.6.14 (2022-03-21)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.13 (2022-03-18)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.12 (2022-03-18)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.11 (2022-03-17)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.10 (2022-03-16)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.9 (2022-03-16)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.8 (2022-03-15)
-
-
-### Features
-
-* Add Person Query ([#1139](https://github.com/vtex/faststore/issues/1139)) ([9ec28c2](https://github.com/vtex/faststore/commit/9ec28c21cc6412c5366d1a1c71ef043603cd50c7))
-
-
-
-
-
-## 1.6.7 (2022-03-14)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.6 (2022-03-14)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.5 (2022-03-10)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.4 (2022-03-10)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.3 (2022-03-04)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.2 (2022-03-04)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.6.1 (2022-03-04)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.20 (2022-02-25)
-
-
-### Bug Fixes
-
-* Cart item availability ([#1160](https://github.com/vtex/faststore/issues/1160)) ([fd1be18](https://github.com/vtex/faststore/commit/fd1be18b09e8e5141a2a899e786e7caf08b3ff62))
-
-
-
-
-
-## 1.5.19 (2022-02-24)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.18 (2022-02-23)
-
-
-### Bug Fixes
-
-* **ui:** Use valid HTML for the Breadcrumb's divider ([#1143](https://github.com/vtex/faststore/issues/1143)) ([b40c3b1](https://github.com/vtex/faststore/commit/b40c3b1405e6aa9a0f2006de9f37a903e40a2103))
-
-
-
-
-
-## 1.5.17 (2022-02-22)
-
-
-### Features
-
-* Moves some Filter logic to api ([#1154](https://github.com/vtex/faststore/issues/1154)) ([5a591f7](https://github.com/vtex/faststore/commit/5a591f7b42e947577597cc82d8df6a15d2994780))
-
-
-
-
-
-## 1.5.16 (2022-02-22)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.15 (2022-02-22)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.14 (2022-02-22)
-
-
-### Features
-
-* Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))
-
-
-
-
-
-## 1.5.13 (2022-02-22)
-
-
-### Features
-
-* Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))
-
-
-
-
-
-## 1.5.12 (2022-02-21)
-
-
-### Bug Fixes
-
-* allCollections query pagination and pagetype timeout errors ([#1140](https://github.com/vtex/faststore/issues/1140)) ([0150222](https://github.com/vtex/faststore/commit/01502220fb903c62f0b33b9a703fb45daafae141))
-
-
-
-
-
-## 1.5.11 (2022-02-18)
-
-
-### Bug Fixes
-
-* **gatsby-plugin-nginx:** remove trailing slash from incoming requests ([#1145](https://github.com/vtex/faststore/issues/1145)) ([db6f1e1](https://github.com/vtex/faststore/commit/db6f1e173ec43747bf9cfa244b81d86db8a25ce3))
-
-
-
-
-
-## 1.5.10 (2022-02-17)
-
-
-### Features
-
-* **api:** Add additional property ([#1107](https://github.com/vtex/faststore/issues/1107)) ([bbcfc4a](https://github.com/vtex/faststore/commit/bbcfc4af68148adb54d66a3f1d28a9817ad2956c))
-
-
-
-
-
-## 1.5.9 (2022-02-16)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.8 (2022-02-15)
-
-
-### Bug Fixes
-
-* **api:** PDP and PLP breadcrumb list item's URL paths ([#1148](https://github.com/vtex/faststore/issues/1148)) ([ea1790a](https://github.com/vtex/faststore/commit/ea1790a0069b5e19f656d7df0051f391c3c3c611))
-
-
-
-
-
-## 1.5.7 (2022-02-15)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.6 (2022-02-15)
-
-
-### Features
-
-* Add budgets lighthouse config ([#1150](https://github.com/vtex/faststore/issues/1150)) ([60de848](https://github.com/vtex/faststore/commit/60de84897cb25fe775a3197adf8035610882ced8))
-
-
-
-
-
-## 1.5.5 (2022-02-09)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.4 (2022-02-09)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.3 (2022-02-07)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.2 (2022-02-04)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.5.1 (2022-02-04)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.27 (2022-02-03)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.26 (2022-02-02)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.25 (2022-02-02)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.24 (2022-02-02)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.23 (2022-02-01)
-
-
-### Bug Fixes
-
-* unfiltered allCollections query ([#1131](https://github.com/vtex/faststore/issues/1131)) ([4a1744a](https://github.com/vtex/faststore/commit/4a1744ad267517bfb6d3b7d7747725da0533d13f))
-
-
-
-
-
-## 1.4.22 (2022-01-26)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.21 (2022-01-26)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.20 (2022-01-26)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.19 (2022-01-24)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.18 (2022-01-17)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.17 (2022-01-13)
-
-
-### Bug Fixes
-
-* replaceAll crashing build with env vars ([#1109](https://github.com/vtex/faststore/issues/1109)) ([801b62e](https://github.com/vtex/faststore/commit/801b62e118238b6828d8cdaa2aff96d6c40278a8))
-
-
-
-
-
-## 1.4.16 (2022-01-11)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.15 (2022-01-11)
-
-
-### Bug Fixes
-
-* **api:** Breadcrumb data on collection pages ([#1104](https://github.com/vtex/faststore/issues/1104)) ([25d3c2b](https://github.com/vtex/faststore/commit/25d3c2bd07158ffca75bfe377a5b932c8fb36ae5))
-
-
-
-
-
-## 1.4.14 (2022-01-07)
-
-
-### Features
-
-* add item generics to analytics types for easy customization ([#1101](https://github.com/vtex/faststore/issues/1101)) ([51e9d96](https://github.com/vtex/faststore/commit/51e9d96b82062113a96a95159963ff85a22086fc))
-
-
-
-
-
-## 1.4.13 (2022-01-07)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.12 (2022-01-07)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.11 (2022-01-06)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.10 (2022-01-06)
-
-
-### Bug Fixes
-
-* **api:** Sku loader ([#1100](https://github.com/vtex/faststore/issues/1100)) ([82d029f](https://github.com/vtex/faststore/commit/82d029fbb4fd7613c80d099587b00812c410e448))
-
-
-
-
-
-## 1.4.9 (2022-01-06)
-
-
-### Features
-
-* add headers to nginx via env vars ([#1049](https://github.com/vtex/faststore/issues/1049)) ([3553372](https://github.com/vtex/faststore/commit/355337273ce03660db9fd14482818cc24c99f4e2))
-
-
-
-
-
-## 1.4.8 (2022-01-05)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.7 (2022-01-05)
-
-
-### Bug Fixes
-
-* fix accessibility on storybook ([#1096](https://github.com/vtex/faststore/issues/1096)) ([55805b1](https://github.com/vtex/faststore/commit/55805b1b2cffd111ef64857321c20e0a001a93b2))
-
-
-
-
-
-## 1.4.6 (2022-01-05)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.5 (2022-01-04)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.4 (2022-01-04)
-
-
-### Bug Fixes
-
-* adjust data attributes pattern on multiple components ([#1093](https://github.com/vtex/faststore/issues/1093)) ([ca9172f](https://github.com/vtex/faststore/commit/ca9172fb353cfce7011f9144c1e94ed7e6b73f5f))
-
-
-
-
-
-## 1.4.3 (2022-01-03)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.4.2 (2022-01-03)
-
-
-### Bug Fixes
-
-* **ui:** removing aria-labelledby from payment methods component ([#1092](https://github.com/vtex/faststore/issues/1092)) ([bf4c7a9](https://github.com/vtex/faststore/commit/bf4c7a981c379ffb1777a2fd8cae787f735f7d2d))
-
-
-
-
-
-## 1.4.1 (2022-01-03)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.46 (2021-12-23)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.45 (2021-12-21)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.44 (2021-12-21)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.43 (2021-12-20)
-
-
-### Features
-
-* QuantitySelector component ([#1083](https://github.com/vtex/faststore/issues/1083)) ([6ade6c0](https://github.com/vtex/faststore/commit/6ade6c02b06fdb74ba2cd2978d8ac4bda35672d2))
-
-
-
-
-
-## 1.3.42 (2021-12-20)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.41 (2021-12-20)
-
-
-### Features
-
-* **ui:** Incentive atom ([#1064](https://github.com/vtex/faststore/issues/1064)) ([1b136c7](https://github.com/vtex/faststore/commit/1b136c7d7fc8f2b99259ef1908286713697e03da))
-
-
-
-
-
-## 1.3.40 (2021-12-18)
-
-
-### Features
-
-* **ui:** Link atom ([#1067](https://github.com/vtex/faststore/issues/1067)) ([c49b2dd](https://github.com/vtex/faststore/commit/c49b2ddc31ba4184bed19a8934fbf4d5f0b47a5f))
-
-
-
-
-
-## 1.3.39 (2021-12-17)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.38 (2021-12-16)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.37 (2021-12-15)
-
-
-### Features
-
-* **ui:** Card component ([#1079](https://github.com/vtex/faststore/issues/1079)) ([7f10a5d](https://github.com/vtex/faststore/commit/7f10a5dcec21f7c9d59ba645755fe298e96269df))
-
-
-
-
-
-## 1.3.36 (2021-12-15)
-
-
-### Bug Fixes
-
-* expose JS files only ([#1081](https://github.com/vtex/faststore/issues/1081)) ([e363c12](https://github.com/vtex/faststore/commit/e363c120f22b10da81ceb3e2d8fcc58c1b4665af))
-
-
-
-
-
-## 1.3.35 (2021-12-14)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.34 (2021-12-11)
-
-
-### Bug Fixes
-
-* **docs:** Fix algolia search ([#1078](https://github.com/vtex/faststore/issues/1078)) ([986074f](https://github.com/vtex/faststore/commit/986074f061365d812650a82748ca5a9fc1dac6d5))
-
-
-
-
-
-## 1.3.33 (2021-12-10)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.32 (2021-12-10)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.31 (2021-12-10)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.30 (2021-12-10)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.29 (2021-12-10)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.28 (2021-12-10)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.27 (2021-12-10)
-
-
-### Bug Fixes
-
-* Add Banner Components exportation ([#1072](https://github.com/vtex/faststore/issues/1072)) ([4024104](https://github.com/vtex/faststore/commit/4024104f9804c8762037f03d986a4334af819b3c))
-
-
-
-
-
-## 1.3.26 (2021-12-09)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.25 (2021-12-09)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.24 (2021-12-09)
-
-
-### Bug Fixes
-
-* fix UI storybook imports ([#1069](https://github.com/vtex/faststore/issues/1069)) ([e4a2402](https://github.com/vtex/faststore/commit/e4a2402235c60488fde7021bf3200d967af3cb83))
-
-
-
-
-
-## 1.3.23 (2021-12-09)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.22 (2021-12-07)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.21 (2021-12-07)
-
-
-### Features
-
-* add docs ([#1058](https://github.com/vtex/faststore/issues/1058)) ([35f3e62](https://github.com/vtex/faststore/commit/35f3e62ae09c350632479742c9ce2c22e8862b23))
-
-
-
-
-
-## 1.3.20 (2021-12-07)
-
-
-### Features
-
-* **store-ui:** Banner component ([#1048](https://github.com/vtex/faststore/issues/1048)) ([b65d8e5](https://github.com/vtex/faststore/commit/b65d8e574598f8bf8494aac478e4bec4d774ec86))
-
-
-
-
-
-## 1.3.19 (2021-12-07)
-
-
-### Features
-
-* **ui:** PaymentMethods Component ([#1024](https://github.com/vtex/faststore/issues/1024)) ([f093025](https://github.com/vtex/faststore/commit/f093025c5b010b01f16349e2460611792cfff67f))
-
-
-
-
-
-## 1.3.18 (2021-12-06)
-
-
-### Features
-
-* **store-ui:** Alert molecule ([#1020](https://github.com/vtex/faststore/issues/1020)) ([7764e0d](https://github.com/vtex/faststore/commit/7764e0d08270a3bb836038c4a9cd27e5cbef9667))
-
-
-
-
-
-## 1.3.17 (2021-12-06)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.16 (2021-12-06)
-
-
-### Bug Fixes
-
-* add fallback to prevent null facets attribute StoreSearchResult query ([#1056](https://github.com/vtex/faststore/issues/1056)) ([ae1483f](https://github.com/vtex/faststore/commit/ae1483fdb901328a7a7348746fd241b9ce7ea1da))
-
-
-
-
-
-## 1.3.15 (2021-12-03)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.14 (2021-12-03)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.13 (2021-12-03)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.12 (2021-12-02)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.11 (2021-12-02)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.10 (2021-12-01)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.9 (2021-12-01)
-
-
-### Bug Fixes
-
-* **api:** Throws NotFoundError when collection is not found ([#1047](https://github.com/vtex/faststore/issues/1047)) ([9535ec3](https://github.com/vtex/faststore/commit/9535ec3d67a64f98b4d4e914e7bae81e06935e2a))
-
-
-
-
-
-## 1.3.8 (2021-12-01)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.7 (2021-12-01)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.6 (2021-11-26)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.5 (2021-11-25)
-
-
-### Features
-
-* **ui:** RadioGroup Component ([#1033](https://github.com/vtex/faststore/issues/1033)) ([60f306d](https://github.com/vtex/faststore/commit/60f306d97257a8cc65ec67bf1f1cc16376ad1654))
-
-
-
-
-
-## 1.3.4 (2021-11-23)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.3 (2021-11-23)
-
-
-### Features
-
-* **gatsby-plugin-nginx:** support to augment the generateRewrites ([#1017](https://github.com/vtex/faststore/issues/1017)) ([46587b0](https://github.com/vtex/faststore/commit/46587b0280d7f8dd733a0dca29909f041c944897))
-
-
-
-
-
-## 1.3.2 (2021-11-22)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.3.1 (2021-11-18)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.37 (2021-11-17)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.36 (2021-11-16)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.35 (2021-11-16)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.34 (2021-11-16)
-
-
-### Bug Fixes
-
-* Filter collection slugs in api ([#1022](https://github.com/vtex/faststore/issues/1022)) ([cdcfcff](https://github.com/vtex/faststore/commit/cdcfcff642561dd73b1f85557e101271d10ca930))
-
-
-
-
-
-## 1.2.33 (2021-11-12)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.32 (2021-11-11)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.31 (2021-11-04)
-
-
-### Features
-
-* **store-ui:** Breadcrumb improvements ([#1010](https://github.com/vtex/faststore/issues/1010)) ([8b4bf37](https://github.com/vtex/faststore/commit/8b4bf37316d6057683680de36493b63709bb1012))
-
-
-
-
-
-## 1.2.30 (2021-11-03)
-
-
-### Bug Fixes
-
-* Channel simulation ([#1014](https://github.com/vtex/faststore/issues/1014)) ([b45406b](https://github.com/vtex/faststore/commit/b45406b2b7ee8deb2b6e256629ba6df89d1b5940))
-
-
-
-
-
-## 1.2.29 (2021-11-03)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.28 (2021-10-29)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.27 (2021-10-29)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.26 (2021-10-29)
-
-
-### Bug Fixes
-
-* **store-ui:** Remove circular dependency ([#1011](https://github.com/vtex/faststore/issues/1011)) ([b9f08c9](https://github.com/vtex/faststore/commit/b9f08c95ae33bdbb09ffc044d6ad831fd6608144))
-
-
-
-
-
-## 1.2.25 (2021-10-28)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.24 (2021-10-28)
-
-**Note:** Version bump only for package faststore
-
-
-
-
-
-## 1.2.23 (2021-10-27)
-
-
-### Features
-
-* **store-ui:** Add carousel tablist keyboard behavior ([#996](https://github.com/vtex/faststore/issues/996)) ([9081584](https://github.com/vtex/faststore/commit/908158460028009aaaa4ebbcd22eefab59e9bff8))
-
-
-
-
-
-## 1.2.22 (2021-10-26)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.21 (2021-10-26)
-
-
-### Features
-
-* **store-ui:** Form molecule ([#1004](https://github.com/vtex/faststore/issues/1004)) ([c584ef6](https://github.com/vtex/faststore/commit/c584ef693d111ede70d27730ecb3cce613b9aba3))
-
-
-
-
-
-## 1.2.20 (2021-10-26)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.19 (2021-10-25)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.18 (2021-10-25)
-
-
-### Features
-
-* **store-ui:** Breadcrumb molecule ([#986](https://github.com/vtex/faststore/issues/986)) ([325c738](https://github.com/vtex/faststore/commit/325c7387089d2f2c7152191b54fc3cb4918f1c68))
-
-
-
-
-
-## 1.2.17 (2021-10-21)
-
-
-### Features
-
-* **store-ui:** Loading Button molecule ([#962](https://github.com/vtex/faststore/issues/962)) ([6083ea0](https://github.com/vtex/faststore/commit/6083ea0273646a09e66ceedfab4b17c3960ac9fc)), closes [#918](https://github.com/vtex/faststore/issues/918) [#911](https://github.com/vtex/faststore/issues/911)
-
-
-### BREAKING CHANGES
-
-* **store-ui:** Remove deprecated folders (#927)
-
-
-
-
-
-## 1.2.16 (2021-10-21)
-
-
-### Features
-
-* **store-ui:** Label atom ([#1001](https://github.com/vtex/faststore/issues/1001)) ([3306ea6](https://github.com/vtex/faststore/commit/3306ea6b9b48996574eac4b8c1b737dff94a438e))
-
-
-
-
-
-## 1.2.15 (2021-10-21)
-
-
-### Bug Fixes
-
-* **store-ui:** Fix search-input a11y ([#1000](https://github.com/vtex/faststore/issues/1000)) ([f052f46](https://github.com/vtex/faststore/commit/f052f465e21aa4e2ca047327eeb0610b9b979f10))
-
-
-
-
-
-## 1.2.14 (2021-10-20)
-
-
-### Features
-
-* graphql-utils ([#998](https://github.com/vtex/faststore/issues/998)) ([bddf043](https://github.com/vtex/faststore/commit/bddf04308826369f86322851b554cc58ab5b2161))
-
-
-
-
-
-## 1.2.13 (2021-10-20)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.12 (2021-10-18)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.11 (2021-10-18)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.10 (2021-10-18)
-
-
-### Bug Fixes
-
-* **store-ui:** Component Architecture doc's code snippets ([#997](https://github.com/vtex/faststore/issues/997)) ([7f0d5f3](https://github.com/vtex/faststore/commit/7f0d5f307014f794063dd8d94d873478803888c0))
-
-
-
-
-
-## 1.2.9 (2021-10-18)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.8 (2021-10-15)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.7 (2021-10-15)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.6 (2021-10-15)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.5 (2021-10-15)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.4 (2021-10-14)
-
-
-### Features
-
-* **store-ui:** Accordion molecule ([#985](https://github.com/vtex/faststore/issues/985)) ([a35fb51](https://github.com/vtex/faststore/commit/a35fb51b675e41af6070da8b521a3a4da25a0d65))
-
-
-
-
-
-## 1.2.3 (2021-10-14)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.2 (2021-10-13)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.2.1 (2021-10-08)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.1.18 (2021-10-05)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.1.17 (2021-10-05)
-
-
-### Features
-
-* **store-api:** Add channel support for products ([#968](https://github.com/vtex/faststore/issues/968)) ([923d343](https://github.com/vtex/faststore/commit/923d343bcde8fbebfff9d32ba52ac26cd0504484))
-
-
-
-
-
-## 1.1.16 (2021-10-04)
-
-
-### Features
-
-* **store-api:** Add cart to store-api ([#963](https://github.com/vtex/faststore/issues/963)) ([0607d82](https://github.com/vtex/faststore/commit/0607d82f9f17de0b4045a7efbe99004d43e87056))
-
-
-
-
-
-## 1.1.15 (2021-10-01)
-
-
-### Features
-
-* Configure storybook theme ([#979](https://github.com/vtex/faststore/issues/979)) ([736811f](https://github.com/vtex/faststore/commit/736811f6381b4fd5f3f6d976198262216fe3ebcb))
-
-
-
-
-
-## 1.1.14 (2021-09-28)
-
-
-### Features
-
-* **store-ui:** Add Modal molecule ([#957](https://github.com/vtex/faststore/issues/957)) ([530b308](https://github.com/vtex/faststore/commit/530b3085a5707be459b37757844ce2e52b2f2981))
-
-
-
-
-
-## 1.1.13 (2021-09-23)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.1.12 (2021-09-22)
-
-
-### Bug Fixes
-
-* users were unable to develop a store in an account without CMS pages ([#969](https://github.com/vtex/faststore/issues/969)) ([7b28a4e](https://github.com/vtex/faststore/commit/7b28a4e0da1edec7e843a614339909c6565b220a))
-
-
-
-
-
-## 1.1.11 (2021-09-17)
-
-
-### Features
-
-* **store-ui:** Spinner atom ([#961](https://github.com/vtex/faststore/issues/961)) ([59034b7](https://github.com/vtex/faststore/commit/59034b726ac83c79f591cd24739a8c15316c92b3)), closes [#918](https://github.com/vtex/faststore/issues/918) [#911](https://github.com/vtex/faststore/issues/911)
-
-
-### BREAKING CHANGES
-
-* **store-ui:** Remove deprecated folders (#927)
-
-
-
-
-
-## 1.1.10 (2021-09-16)
-
-
-### Features
-
-* **store-api:** Add codegen ([#960](https://github.com/vtex/faststore/issues/960)) ([5231e6c](https://github.com/vtex/faststore/commit/5231e6c455be73b9d870627188c07a420651ed44))
-
-
-
-
-
-## 1.1.9 (2021-09-15)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.1.8 (2021-09-14)
-
-
-### Features
-
-* **store-api:** Store API TypeDefs ([#942](https://github.com/vtex/faststore/issues/942)) ([b440dc9](https://github.com/vtex/faststore/commit/b440dc9f023da82b5c443c465375e74f909d1b8d))
-
-
-
-
-
-## 1.1.7 (2021-09-13)
-
-
-### Features
-
-* **store-ui:** Add Skeleton Atom ([#911](https://github.com/vtex/faststore/issues/911)) ([ef25cde](https://github.com/vtex/faststore/commit/ef25cdea6f6e344b4005ecd2ec0c80d959df35b0))
-
-
-
-
-
-## 1.1.6 (2021-09-09)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.1.5 (2021-09-09)
-
-
-### Features
-
-* **store-sdk:** custom events, tests and docs ([#937](https://github.com/vtex/faststore/issues/937)) ([c268542](https://github.com/vtex/faststore/commit/c2685425b8a2b6c40ce2f79a5a0afc2b2022760d))
-
-
-
-
-
-## 1.1.4 (2021-09-09)
-
-
-### Features
-
-* support lambdas ([#933](https://github.com/vtex/faststore/issues/933)) ([0f14557](https://github.com/vtex/faststore/commit/0f14557f7b98635bc82ede499b12cc28f2f51b6e))
-
-
-
-
-
-## 1.1.3 (2021-09-08)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.1.2 (2021-09-06)
-
-
-### Features
-
-* **store-ui:** adding list atom ([#918](https://github.com/vtex/faststore/issues/918)) ([72c3b2e](https://github.com/vtex/faststore/commit/72c3b2eeac85c784bbee310898b24823c2c18c3a))
-
-
-
-
-
-## 1.1.1 (2021-09-01)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## [1.0.3](https://github.com/vtex/faststore/compare/v1.1.0...v1.0.3) (2021-09-01)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.0.2 (2021-09-01)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 1.0.1 (2021-08-31)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.36 (2021-08-31)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.35 (2021-08-30)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.34 (2021-08-30)
-
-
-### Features
-
-* **store-ui:** price range ([#924](https://github.com/vtex/faststore/issues/924)) ([e5c5d9a](https://github.com/vtex/faststore/commit/e5c5d9aade59d91aead75af6a09d7db3cc67348e))
-
-
-
-
-
-## 0.373.33 (2021-08-30)
-
-
-### Features
-
-* **store-ui:** slider ([#917](https://github.com/vtex/faststore/issues/917)) ([15a5f82](https://github.com/vtex/faststore/commit/15a5f826f3ad0054934c5092a2def4cd8d2a7c3c))
-
-
-
-
-
-## 0.373.32 (2021-08-27)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.31 (2021-08-27)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.30 (2021-08-27)
-
-
-### Bug Fixes
-
-* move pixel back to gatsby-theme-store ([#922](https://github.com/vtex/faststore/issues/922)) ([58de70d](https://github.com/vtex/faststore/commit/58de70d943aec36883384a0d6545ad7ab7d8f6bb))
-
-
-
-
-
-## 0.373.29 (2021-08-26)
-
-
-### Bug Fixes
-
-* **gatsby-plugin-cms:** null cms nodes were preventing stores from building ([0270037](https://github.com/vtex/faststore/commit/027003711c00854fc6679b6d469a2be13a3d0437))
-
-
-
-
-
-## 0.373.28 (2021-08-26)
-
-
-### Features
-
-* **store-ui:** Add IconButton Molecule ([#900](https://github.com/vtex/faststore/issues/900)) ([0114409](https://github.com/vtex/faststore/commit/0114409d7efb8e5146d2b17b5fc5500ceb16b7bf))
-
-
-
-
-
-## 0.373.27 (2021-08-24)
-
-
-### Features
-
-* **store-ui:** Create Badge component ([#894](https://github.com/vtex/faststore/issues/894)) ([1438be3](https://github.com/vtex/faststore/commit/1438be37e9670028b263b2331bb7671cebcf4392))
-
-
-
-
-
-## 0.373.26 (2021-08-24)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.25 (2021-08-24)
-
-
-### Bug Fixes
-
-* **gatsby-plugin-graphql:** Export schema types ([#916](https://github.com/vtex/faststore/issues/916)) ([65d43d3](https://github.com/vtex/faststore/commit/65d43d3191422ef14988dabe0aa8383daf74b471))
-
-
-
-
-
-## 0.373.24 (2021-08-23)
-
-
-### Features
-
-* **store-ui:** radio component ([#906](https://github.com/vtex/faststore/issues/906)) ([06ef1dd](https://github.com/vtex/faststore/commit/06ef1dd3aa0cda304f4341697859c9b0fc16cfc2))
-
-
-
-
-
-## 0.373.23 (2021-08-23)
-
-
-### Features
-
-* **store-ui:** Adding select atom ([#876](https://github.com/vtex/faststore/issues/876)) ([3276269](https://github.com/vtex/faststore/commit/3276269813b6208b88d7178293b9550b2b05cc77))
-
-
-
-
-
-## 0.373.22 (2021-08-23)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.21 (2021-08-20)
-
-
-### Bug Fixes
-
-* **store-ui:** Remove unnecessary ID and improve a11y ([#915](https://github.com/vtex/faststore/issues/915)) ([7ee629d](https://github.com/vtex/faststore/commit/7ee629d6b738ed67332000e47ebdb9fcb5dc2883))
-
-
-
-
-
-## 0.373.20 (2021-08-18)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.19 (2021-08-18)
-
-
-### Features
-
-* **store-sdk:** Add Session to store-sdk ([#896](https://github.com/vtex/faststore/issues/896)) ([6a7f1b5](https://github.com/vtex/faststore/commit/6a7f1b5458bdb44aff2760bcd32ddf8888c05740))
-
-
-
-
-
-## 0.373.18 (2021-08-18)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.17 (2021-08-18)
-
-
-### Features
-
-* **store-ui:** Overlay Atom Component ([#890](https://github.com/vtex/faststore/issues/890)) ([a0757bc](https://github.com/vtex/faststore/commit/a0757bcf1155084f5b66f4625f47c8efa18285b3))
-
-
-
-
-
-## 0.373.16 (2021-08-17)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.15 (2021-08-16)
-
-
-### Features
-
-* **store-ui:** Create Carousel component and useSlider hook ([#815](https://github.com/vtex/faststore/issues/815)) ([f46108c](https://github.com/vtex/faststore/commit/f46108c038402f003c7157833efb052554d339d4))
-
-
-
-
-
-## 0.373.14 (2021-08-16)
-
-
-### Bug Fixes
-
-* **gatsby-plugin-nginx:** Spread routes support ([#895](https://github.com/vtex/faststore/issues/895)) ([6bb2331](https://github.com/vtex/faststore/commit/6bb2331b8961245e8abf5f44fb2814f9562d1f3d))
-
-
-
-
-
-## 0.373.13 (2021-08-13)
-
-
-### Features
-
-* **store-ui:** Basic CSS theme and theme-addon for Storybook ([#828](https://github.com/vtex/faststore/issues/828)) ([e7338ad](https://github.com/vtex/faststore/commit/e7338adda76a090b0cd55c72a2e0867c92e15fb0))
-
-
-
-
-
-## 0.373.12 (2021-08-12)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.11 (2021-08-12)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.10 (2021-08-12)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.9 (2021-08-12)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.8 (2021-08-11)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.7 (2021-08-11)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.6 (2021-08-11)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.5 (2021-08-10)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.4 (2021-08-10)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.3 (2021-08-10)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.2 (2021-08-05)
-
-**Note:** Version bump only for package openstore
-
-
-
-
-
-## 0.373.1 (2021-08-05)
+## 1.2.8 (2021-10-15)
**Note:** Version bump only for package openstore
+## 1.2.7 (2021-10-15)
+**Note:** Version bump only for package openstore
-
-
-## 0.372.22 (2021-07-30)
-
-
-### Features
-
-* **collections:** Source collections from category tree ([#871](https://github.com/vtex/faststore/issues/871)) ([e4ca79a](https://github.com/vtex/faststore/commit/e4ca79a810ca89f609082b994a9ad069e9d64579))
-
-
-
-
-
-## 0.372.21 (2021-07-29)
+## 1.2.6 (2021-10-15)
**Note:** Version bump only for package openstore
+## 1.2.5 (2021-10-15)
+**Note:** Version bump only for package openstore
+## 1.2.4 (2021-10-14)
+### Features
-## 0.372.20 (2021-07-29)
+- **store-ui:** Accordion molecule ([#985](https://github.com/vtex/faststore/issues/985)) ([a35fb51](https://github.com/vtex/faststore/commit/a35fb51b675e41af6070da8b521a3a4da25a0d65))
+## 1.2.3 (2021-10-14)
-### Features
+**Note:** Version bump only for package openstore
-* **gatsby-theme-store:** fix product click event ([#866](https://github.com/vtex/faststore/issues/866)) ([eeb4df2](https://github.com/vtex/faststore/commit/eeb4df2308a8113256c8c716574ef213d1da9468))
+## 1.2.2 (2021-10-13)
+**Note:** Version bump only for package openstore
+## 1.2.1 (2021-10-08)
+**Note:** Version bump only for package openstore
+## 1.1.18 (2021-10-05)
-## 0.372.19 (2021-07-29)
+**Note:** Version bump only for package openstore
+## 1.1.17 (2021-10-05)
-### Bug Fixes
+### Features
-* **gatsby-theme-store:** useBuyButton only redirects users to the checkout when product is added successfully ([#823](https://github.com/vtex/faststore/issues/823)) ([304178e](https://github.com/vtex/faststore/commit/304178e05e2c396407f47afc76ba2e9b959f6147))
+- **store-api:** Add channel support for products ([#968](https://github.com/vtex/faststore/issues/968)) ([923d343](https://github.com/vtex/faststore/commit/923d343bcde8fbebfff9d32ba52ac26cd0504484))
+## 1.1.16 (2021-10-04)
+### Features
+- **store-api:** Add cart to store-api ([#963](https://github.com/vtex/faststore/issues/963)) ([0607d82](https://github.com/vtex/faststore/commit/0607d82f9f17de0b4045a7efbe99004d43e87056))
+## 1.1.15 (2021-10-01)
-## 0.372.18 (2021-07-27)
+### Features
-**Note:** Version bump only for package openstore
+- Configure storybook theme ([#979](https://github.com/vtex/faststore/issues/979)) ([736811f](https://github.com/vtex/faststore/commit/736811f6381b4fd5f3f6d976198262216fe3ebcb))
+## 1.1.14 (2021-09-28)
+### Features
+- **store-ui:** Add Modal molecule ([#957](https://github.com/vtex/faststore/issues/957)) ([530b308](https://github.com/vtex/faststore/commit/530b3085a5707be459b37757844ce2e52b2f2981))
+## 1.1.13 (2021-09-23)
-## 0.372.17 (2021-07-22)
+**Note:** Version bump only for package openstore
+## 1.1.12 (2021-09-22)
### Bug Fixes
-* **gatsby-plugin-nginx:** Fix proxy pass when toPath has port numbers on it ([#830](https://github.com/vtex/faststore/issues/830)) ([574f9bd](https://github.com/vtex/faststore/commit/574f9bd575fff7878106ef0f05145fd7f759a827))
-
+- users were unable to develop a store in an account without CMS pages ([#969](https://github.com/vtex/faststore/issues/969)) ([7b28a4e](https://github.com/vtex/faststore/commit/7b28a4e0da1edec7e843a614339909c6565b220a))
+## 1.1.11 (2021-09-17)
+### Features
+- **store-ui:** Spinner atom ([#961](https://github.com/vtex/faststore/issues/961)) ([59034b7](https://github.com/vtex/faststore/commit/59034b726ac83c79f591cd24739a8c15316c92b3)), closes [#918](https://github.com/vtex/faststore/issues/918) [#911](https://github.com/vtex/faststore/issues/911)
-## 0.372.16 (2021-07-19)
+### BREAKING CHANGES
+- **store-ui:** Remove deprecated folders (#927)
-### Bug Fixes
+## 1.1.10 (2021-09-16)
-* **store-ui:** Fix bullets iterator ([#824](https://github.com/vtex/faststore/issues/824)) ([74034a6](https://github.com/vtex/faststore/commit/74034a667a6b4f40602ec179575bcedaf18c4af4))
+### Features
+- **store-api:** Add codegen ([#960](https://github.com/vtex/faststore/issues/960)) ([5231e6c](https://github.com/vtex/faststore/commit/5231e6c455be73b9d870627188c07a420651ed44))
+## 1.1.9 (2021-09-15)
+**Note:** Version bump only for package openstore
+## 1.1.8 (2021-09-14)
-## 0.372.15 (2021-07-15)
+### Features
-**Note:** Version bump only for package openstore
+- **store-api:** Store API TypeDefs ([#942](https://github.com/vtex/faststore/issues/942)) ([b440dc9](https://github.com/vtex/faststore/commit/b440dc9f023da82b5c443c465375e74f909d1b8d))
+## 1.1.7 (2021-09-13)
+### Features
+- **store-ui:** Add Skeleton Atom ([#911](https://github.com/vtex/faststore/issues/911)) ([ef25cde](https://github.com/vtex/faststore/commit/ef25cdea6f6e344b4005ecd2ec0c80d959df35b0))
+## 1.1.6 (2021-09-09)
-## 0.372.14 (2021-07-15)
+**Note:** Version bump only for package openstore
+## 1.1.5 (2021-09-09)
### Features
-* **store-ui:** update accordion version ([#820](https://github.com/vtex/faststore/issues/820)) ([624060a](https://github.com/vtex/faststore/commit/624060a1a88740794f82bb4d5782f896dc80695f))
-
+- **store-sdk:** custom events, tests and docs ([#937](https://github.com/vtex/faststore/issues/937)) ([c268542](https://github.com/vtex/faststore/commit/c2685425b8a2b6c40ce2f79a5a0afc2b2022760d))
+## 1.1.4 (2021-09-09)
+### Features
+- support lambdas ([#933](https://github.com/vtex/faststore/issues/933)) ([0f14557](https://github.com/vtex/faststore/commit/0f14557f7b98635bc82ede499b12cc28f2f51b6e))
-## 0.372.13 (2021-07-14)
+## 1.1.3 (2021-09-08)
**Note:** Version bump only for package openstore
+## 1.1.2 (2021-09-06)
+### Features
+- **store-ui:** adding list atom ([#918](https://github.com/vtex/faststore/issues/918)) ([72c3b2e](https://github.com/vtex/faststore/commit/72c3b2eeac85c784bbee310898b24823c2c18c3a))
-
-## 0.372.12 (2021-07-14)
+## 1.1.1 (2021-09-01)
**Note:** Version bump only for package openstore
+## [1.0.3](https://github.com/vtex/faststore/compare/v1.1.0...v1.0.3) (2021-09-01)
+**Note:** Version bump only for package openstore
+## 1.0.2 (2021-09-01)
+**Note:** Version bump only for package openstore
-## 0.372.11 (2021-07-14)
+## 1.0.1 (2021-08-31)
**Note:** Version bump only for package openstore
+## 0.373.36 (2021-08-31)
+**Note:** Version bump only for package openstore
+## 0.373.35 (2021-08-30)
+**Note:** Version bump only for package openstore
-## 0.372.10 (2021-07-13)
-
+## 0.373.34 (2021-08-30)
### Features
-* **seo:** Add next/prev links in search page's infinite scroll. ([#811](https://github.com/vtex/faststore/issues/811)) ([89fa673](https://github.com/vtex/faststore/commit/89fa6738034e290c6806a55db21209925cf50783))
-
+- **store-ui:** price range ([#924](https://github.com/vtex/faststore/issues/924)) ([e5c5d9a](https://github.com/vtex/faststore/commit/e5c5d9aade59d91aead75af6a09d7db3cc67348e))
+## 0.373.33 (2021-08-30)
+### Features
+- **store-ui:** slider ([#917](https://github.com/vtex/faststore/issues/917)) ([15a5f82](https://github.com/vtex/faststore/commit/15a5f826f3ad0054934c5092a2def4cd8d2a7c3c))
-## 0.372.9 (2021-07-12)
+## 0.373.32 (2021-08-27)
**Note:** Version bump only for package openstore
+## 0.373.31 (2021-08-27)
+**Note:** Version bump only for package openstore
+## 0.373.30 (2021-08-27)
+### Bug Fixes
-## 0.372.8 (2021-07-12)
+- move pixel back to gatsby-theme-store ([#922](https://github.com/vtex/faststore/issues/922)) ([58de70d](https://github.com/vtex/faststore/commit/58de70d943aec36883384a0d6545ad7ab7d8f6bb))
+## 0.373.29 (2021-08-26)
### Bug Fixes
-* **contributing:** updating documentation ([#816](https://github.com/vtex/faststore/issues/816)) ([7923668](https://github.com/vtex/faststore/commit/7923668033da7ea7243e72f54225f6e029626e64))
-
-
+- **gatsby-plugin-cms:** null cms nodes were preventing stores from building ([0270037](https://github.com/vtex/faststore/commit/027003711c00854fc6679b6d469a2be13a3d0437))
+## 0.373.28 (2021-08-26)
+### Features
-## 0.372.7 (2021-07-09)
+- **store-ui:** Add IconButton Molecule ([#900](https://github.com/vtex/faststore/issues/900)) ([0114409](https://github.com/vtex/faststore/commit/0114409d7efb8e5146d2b17b5fc5500ceb16b7bf))
+## 0.373.27 (2021-08-24)
### Features
-* **store-ui:** Adding data-testid to our components ([#530](https://github.com/vtex/faststore/issues/530)) ([eed2760](https://github.com/vtex/faststore/commit/eed2760438b3f83fd997ebb76e2794cfd56449aa))
+- **store-ui:** Create Badge component ([#894](https://github.com/vtex/faststore/issues/894)) ([1438be3](https://github.com/vtex/faststore/commit/1438be37e9670028b263b2331bb7671cebcf4392))
+## 0.373.26 (2021-08-24)
+**Note:** Version bump only for package openstore
+## 0.373.25 (2021-08-24)
+### Bug Fixes
-## 0.372.6 (2021-07-09)
+- **gatsby-plugin-graphql:** Export schema types ([#916](https://github.com/vtex/faststore/issues/916)) ([65d43d3](https://github.com/vtex/faststore/commit/65d43d3191422ef14988dabe0aa8383daf74b471))
+## 0.373.24 (2021-08-23)
### Features
-* **store-ui:** Checkbox atom component ([#813](https://github.com/vtex/faststore/issues/813)) ([36834fa](https://github.com/vtex/faststore/commit/36834fa572305ca26c1fea8e60e011ff768bc13e))
+- **store-ui:** radio component ([#906](https://github.com/vtex/faststore/issues/906)) ([06ef1dd](https://github.com/vtex/faststore/commit/06ef1dd3aa0cda304f4341697859c9b0fc16cfc2))
+## 0.373.23 (2021-08-23)
+### Features
+- **store-ui:** Adding select atom ([#876](https://github.com/vtex/faststore/issues/876)) ([3276269](https://github.com/vtex/faststore/commit/3276269813b6208b88d7178293b9550b2b05cc77))
+## 0.373.22 (2021-08-23)
-## 0.372.5 (2021-07-09)
+**Note:** Version bump only for package openstore
+## 0.373.21 (2021-08-20)
### Bug Fixes
-* **seo:** Fix undefined host in canonical tags of product pages ([#814](https://github.com/vtex/faststore/issues/814)) ([3ba980d](https://github.com/vtex/faststore/commit/3ba980d4a9bec1cb9cc8b6b51140e9418247ac6a))
-
-
+- **store-ui:** Remove unnecessary ID and improve a11y ([#915](https://github.com/vtex/faststore/issues/915)) ([7ee629d](https://github.com/vtex/faststore/commit/7ee629d6b738ed67332000e47ebdb9fcb5dc2883))
-
-
-## 0.372.4 (2021-07-08)
+## 0.373.20 (2021-08-18)
**Note:** Version bump only for package openstore
+## 0.373.19 (2021-08-18)
+### Features
+- **store-sdk:** Add Session to store-sdk ([#896](https://github.com/vtex/faststore/issues/896)) ([6a7f1b5](https://github.com/vtex/faststore/commit/6a7f1b5458bdb44aff2760bcd32ddf8888c05740))
+## 0.373.18 (2021-08-18)
-## 0.372.3 (2021-07-06)
+**Note:** Version bump only for package openstore
+## 0.373.17 (2021-08-18)
### Features
-* **gatsby-theme-store:** Move auth pages to stores ([#809](https://github.com/vtex/faststore/issues/809)) ([8abbe7f](https://github.com/vtex/faststore/commit/8abbe7fcb455fc1449960ef26a02df36a0d4c8dd))
+- **store-ui:** Overlay Atom Component ([#890](https://github.com/vtex/faststore/issues/890)) ([a0757bc](https://github.com/vtex/faststore/commit/a0757bcf1155084f5b66f4625f47c8efa18285b3))
+## 0.373.16 (2021-08-17)
+**Note:** Version bump only for package openstore
+## 0.373.15 (2021-08-16)
+### Features
-## 0.372.2 (2021-07-06)
+- **store-ui:** Create Carousel component and useSlider hook ([#815](https://github.com/vtex/faststore/issues/815)) ([f46108c](https://github.com/vtex/faststore/commit/f46108c038402f003c7157833efb052554d339d4))
+## 0.373.14 (2021-08-16)
### Bug Fixes
-* **gatsby-plugin-thumbor:** Remove cookie on redirect ([#810](https://github.com/vtex/faststore/issues/810)) ([9a2f7fc](https://github.com/vtex/faststore/commit/9a2f7fcd3410ef606843c03552857f7e09f1528b))
-
-
-
-
-
-## 0.372.1 (2021-07-06)
+- **gatsby-plugin-nginx:** Spread routes support ([#895](https://github.com/vtex/faststore/issues/895)) ([6bb2331](https://github.com/vtex/faststore/commit/6bb2331b8961245e8abf5f44fb2814f9562d1f3d))
+## 0.373.13 (2021-08-13)
### Features
-* **gatsby-theme-store:** product view ([#803](https://github.com/vtex/faststore/issues/803)) ([082d3f9](https://github.com/vtex/faststore/commit/082d3f9b1ffac15f444b9a7aacc62f21dc331237))
-
-
+- **store-ui:** Basic CSS theme and theme-addon for Storybook ([#828](https://github.com/vtex/faststore/issues/828)) ([e7338ad](https://github.com/vtex/faststore/commit/e7338adda76a090b0cd55c72a2e0867c92e15fb0))
+## 0.373.12 (2021-08-12)
+**Note:** Version bump only for package openstore
-## 0.371.38 (2021-07-06)
+## 0.373.11 (2021-08-12)
**Note:** Version bump only for package openstore
+## 0.373.10 (2021-08-12)
+**Note:** Version bump only for package openstore
+## 0.373.9 (2021-08-12)
+**Note:** Version bump only for package openstore
-## 0.371.37 (2021-07-05)
+## 0.373.8 (2021-08-11)
+**Note:** Version bump only for package openstore
-### Bug Fixes
+## 0.373.7 (2021-08-11)
-* **gatsby-theme-store:** set isDisposable to true on setRegionMutation, fixing zip code persistence ([#802](https://github.com/vtex/faststore/issues/802)) ([#802](https://github.com/vtex/faststore/issues/802)) ([46f65f8](https://github.com/vtex/faststore/commit/46f65f89270cd8004283c14d8988a9490b513228))
+**Note:** Version bump only for package openstore
+## 0.373.6 (2021-08-11)
+**Note:** Version bump only for package openstore
+## 0.373.5 (2021-08-10)
+**Note:** Version bump only for package openstore
-## 0.371.36 (2021-07-05)
+## 0.373.4 (2021-08-10)
**Note:** Version bump only for package openstore
+## 0.373.3 (2021-08-10)
+**Note:** Version bump only for package openstore
+## 0.373.2 (2021-08-05)
+**Note:** Version bump only for package openstore
-## 0.371.35 (2021-07-05)
+## 0.373.1 (2021-08-05)
**Note:** Version bump only for package openstore
+## 0.372.22 (2021-07-30)
+### Features
+- **collections:** Source collections from category tree ([#871](https://github.com/vtex/faststore/issues/871)) ([e4ca79a](https://github.com/vtex/faststore/commit/e4ca79a810ca89f609082b994a9ad069e9d64579))
+## 0.372.21 (2021-07-29)
-## 0.371.34 (2021-07-05)
+**Note:** Version bump only for package openstore
+## 0.372.20 (2021-07-29)
### Features
-* move status pages ([#807](https://github.com/vtex/faststore/issues/807)) ([4c5cf62](https://github.com/vtex/faststore/commit/4c5cf6282f18f797a52b06ba8d6770cf7b6c2533))
+- **gatsby-theme-store:** fix product click event ([#866](https://github.com/vtex/faststore/issues/866)) ([eeb4df2](https://github.com/vtex/faststore/commit/eeb4df2308a8113256c8c716574ef213d1da9468))
+## 0.372.19 (2021-07-29)
+### Bug Fixes
+- **gatsby-theme-store:** useBuyButton only redirects users to the checkout when product is added successfully ([#823](https://github.com/vtex/faststore/issues/823)) ([304178e](https://github.com/vtex/faststore/commit/304178e05e2c396407f47afc76ba2e9b959f6147))
+## 0.372.18 (2021-07-27)
-## 0.371.33 (2021-07-01)
+**Note:** Version bump only for package openstore
+## 0.372.17 (2021-07-22)
### Bug Fixes
-* **gatsby-theme-store:** complex plp navigation ([#749](https://github.com/vtex/faststore/issues/749)) ([849f079](https://github.com/vtex/faststore/commit/849f079a29550e9106d4aa00254cd81060022634))
-
+- **gatsby-plugin-nginx:** Fix proxy pass when toPath has port numbers on it ([#830](https://github.com/vtex/faststore/issues/830)) ([574f9bd](https://github.com/vtex/faststore/commit/574f9bd575fff7878106ef0f05145fd7f759a827))
+## 0.372.16 (2021-07-19)
+### Bug Fixes
+- **store-ui:** Fix bullets iterator ([#824](https://github.com/vtex/faststore/issues/824)) ([74034a6](https://github.com/vtex/faststore/commit/74034a667a6b4f40602ec179575bcedaf18c4af4))
-## 0.371.32 (2021-07-01)
+## 0.372.15 (2021-07-15)
**Note:** Version bump only for package openstore
+## 0.372.14 (2021-07-15)
+### Features
+- **store-ui:** update accordion version ([#820](https://github.com/vtex/faststore/issues/820)) ([624060a](https://github.com/vtex/faststore/commit/624060a1a88740794f82bb4d5782f896dc80695f))
+## 0.372.13 (2021-07-14)
-## 0.371.31 (2021-07-01)
+**Note:** Version bump only for package openstore
+## 0.372.12 (2021-07-14)
-### Features
+**Note:** Version bump only for package openstore
-* **store-ui:** components migration to .tsx + .mdx and update storybook version to v6.3 ([#782](https://github.com/vtex/faststore/issues/782)) ([9c8da3c](https://github.com/vtex/faststore/commit/9c8da3cc050e30916303b495b00532bde6c6328d))
+## 0.372.11 (2021-07-14)
+
+**Note:** Version bump only for package openstore
+## 0.372.10 (2021-07-13)
+### Features
+- **seo:** Add next/prev links in search page's infinite scroll. ([#811](https://github.com/vtex/faststore/issues/811)) ([89fa673](https://github.com/vtex/faststore/commit/89fa6738034e290c6806a55db21209925cf50783))
+## 0.372.9 (2021-07-12)
-## 0.371.30 (2021-07-01)
+**Note:** Version bump only for package openstore
+## 0.372.8 (2021-07-12)
### Bug Fixes
-* **gatsby-source-vtex:** page size ([#799](https://github.com/vtex/faststore/issues/799)) ([03b4b61](https://github.com/vtex/faststore/commit/03b4b61d8de5e5554b729e2ef41f0dfd7eca558d))
+- **contributing:** updating documentation ([#816](https://github.com/vtex/faststore/issues/816)) ([7923668](https://github.com/vtex/faststore/commit/7923668033da7ea7243e72f54225f6e029626e64))
+## 0.372.7 (2021-07-09)
+### Features
+- **store-ui:** Adding data-testid to our components ([#530](https://github.com/vtex/faststore/issues/530)) ([eed2760](https://github.com/vtex/faststore/commit/eed2760438b3f83fd997ebb76e2794cfd56449aa))
+## 0.372.6 (2021-07-09)
-## 0.371.29 (2021-06-30)
+### Features
+- **store-ui:** Checkbox atom component ([#813](https://github.com/vtex/faststore/issues/813)) ([36834fa](https://github.com/vtex/faststore/commit/36834fa572305ca26c1fea8e60e011ff768bc13e))
-### Features
+## 0.372.5 (2021-07-09)
-* Use Gatsby's file system routing API for product pages ([#795](https://github.com/vtex/faststore/issues/795)) ([c9b8eed](https://github.com/vtex/faststore/commit/c9b8eed75834738e9b869780790c772947ec65c3))
+### Bug Fixes
+
+- **seo:** Fix undefined host in canonical tags of product pages ([#814](https://github.com/vtex/faststore/issues/814)) ([3ba980d](https://github.com/vtex/faststore/commit/3ba980d4a9bec1cb9cc8b6b51140e9418247ac6a))
+## 0.372.4 (2021-07-08)
+**Note:** Version bump only for package openstore
+## 0.372.3 (2021-07-06)
+### Features
-## 0.371.28 (2021-06-30)
+- **gatsby-theme-store:** Move auth pages to stores ([#809](https://github.com/vtex/faststore/issues/809)) ([8abbe7f](https://github.com/vtex/faststore/commit/8abbe7fcb455fc1449960ef26a02df36a0d4c8dd))
-**Note:** Version bump only for package openstore
+## 0.372.2 (2021-07-06)
+
+### Bug Fixes
+- **gatsby-plugin-thumbor:** Remove cookie on redirect ([#810](https://github.com/vtex/faststore/issues/810)) ([9a2f7fc](https://github.com/vtex/faststore/commit/9a2f7fcd3410ef606843c03552857f7e09f1528b))
+## 0.372.1 (2021-07-06)
+### Features
+- **gatsby-theme-store:** product view ([#803](https://github.com/vtex/faststore/issues/803)) ([082d3f9](https://github.com/vtex/faststore/commit/082d3f9b1ffac15f444b9a7aacc62f21dc331237))
-## 0.371.27 (2021-06-30)
+## 0.371.38 (2021-07-06)
**Note:** Version bump only for package openstore
+## 0.371.37 (2021-07-05)
+
+### Bug Fixes
+- **gatsby-theme-store:** set isDisposable to true on setRegionMutation, fixing zip code persistence ([#802](https://github.com/vtex/faststore/issues/802)) ([#802](https://github.com/vtex/faststore/issues/802)) ([46f65f8](https://github.com/vtex/faststore/commit/46f65f89270cd8004283c14d8988a9490b513228))
+## 0.371.36 (2021-07-05)
+**Note:** Version bump only for package openstore
-## 0.371.26 (2021-06-29)
+## 0.371.35 (2021-07-05)
**Note:** Version bump only for package openstore
+## 0.371.34 (2021-07-05)
+
+### Features
+- move status pages ([#807](https://github.com/vtex/faststore/issues/807)) ([4c5cf62](https://github.com/vtex/faststore/commit/4c5cf6282f18f797a52b06ba8d6770cf7b6c2533))
+## 0.371.33 (2021-07-01)
+### Bug Fixes
-## 0.371.25 (2021-06-29)
+- **gatsby-theme-store:** complex plp navigation ([#749](https://github.com/vtex/faststore/issues/749)) ([849f079](https://github.com/vtex/faststore/commit/849f079a29550e9106d4aa00254cd81060022634))
+## 0.371.32 (2021-07-01)
-### Features
+**Note:** Version bump only for package openstore
-* product page incremental builds ([#793](https://github.com/vtex/faststore/issues/793)) ([8ab8bf0](https://github.com/vtex/faststore/commit/8ab8bf0b4a5b24d5e3a24ddc0bf1e449beb0aa88))
+## 0.371.31 (2021-07-01)
+### Features
+- **store-ui:** components migration to .tsx + .mdx and update storybook version to v6.3 ([#782](https://github.com/vtex/faststore/issues/782)) ([9c8da3c](https://github.com/vtex/faststore/commit/9c8da3cc050e30916303b495b00532bde6c6328d))
+## 0.371.30 (2021-07-01)
+### Bug Fixes
-## 0.371.24 (2021-06-25)
+- **gatsby-source-vtex:** page size ([#799](https://github.com/vtex/faststore/issues/799)) ([03b4b61](https://github.com/vtex/faststore/commit/03b4b61d8de5e5554b729e2ef41f0dfd7eca558d))
+## 0.371.29 (2021-06-30)
### Features
-* add changelog with conventional commits ([#790](https://github.com/vtex/faststore/issues/790)) ([d8dfb0f](https://github.com/vtex/faststore/commit/d8dfb0fc075c9111bd30b8c0200166e715be44d7))
-
+- Use Gatsby's file system routing API for product pages ([#795](https://github.com/vtex/faststore/issues/795)) ([c9b8eed](https://github.com/vtex/faststore/commit/c9b8eed75834738e9b869780790c772947ec65c3))
+## 0.371.28 (2021-06-30)
+**Note:** Version bump only for package openstore
+## 0.371.27 (2021-06-30)
-# [0.373.0-alpha.5](https://github.com/vtex/faststore/compare/v0.373.0-alpha.3...v0.373.0-alpha.5) (2021-06-25)
+**Note:** Version bump only for package openstore
+## 0.371.26 (2021-06-29)
-### Bug Fixes
+**Note:** Version bump only for package openstore
-* jsx typings ([99e572a](https://github.com/vtex/faststore/commit/99e572aa91c66c8285f89e969ef612e01a0f0baf))
-* lerna changelog ([236957a](https://github.com/vtex/faststore/commit/236957acca38e56a1fa2c10c83fc528de3f42896))
+## 0.371.25 (2021-06-29)
+### Features
+- product page incremental builds ([#793](https://github.com/vtex/faststore/issues/793)) ([8ab8bf0](https://github.com/vtex/faststore/commit/8ab8bf0b4a5b24d5e3a24ddc0bf1e449beb0aa88))
+## 0.371.24 (2021-06-25)
+### Features
-# [0.373.0-alpha.3](https://github.com/vtex/faststore/compare/v0.373.0-alpha.2...v0.373.0-alpha.3) (2021-06-25)
+- add changelog with conventional commits ([#790](https://github.com/vtex/faststore/issues/790)) ([d8dfb0f](https://github.com/vtex/faststore/commit/d8dfb0fc075c9111bd30b8c0200166e715be44d7))
-**Note:** Version bump only for package openstore
+# [0.373.0-alpha.5](https://github.com/vtex/faststore/compare/v0.373.0-alpha.3...v0.373.0-alpha.5) (2021-06-25)
+### Bug Fixes
+- jsx typings ([99e572a](https://github.com/vtex/faststore/commit/99e572aa91c66c8285f89e969ef612e01a0f0baf))
+- lerna changelog ([236957a](https://github.com/vtex/faststore/commit/236957acca38e56a1fa2c10c83fc528de3f42896))
+# [0.373.0-alpha.3](https://github.com/vtex/faststore/compare/v0.373.0-alpha.2...v0.373.0-alpha.3) (2021-06-25)
+**Note:** Version bump only for package openstore
# [0.373.0-alpha.2](https://github.com/vtex/faststore/compare/v0.373.0-alpha.1...v0.373.0-alpha.2) (2021-06-25)
diff --git a/README.md b/README.md
index 770b1a9dec..5c2c91c9df 100644
--- a/README.md
+++ b/README.md
@@ -18,21 +18,25 @@
- Performance: Keep yourself calm. We use strict budgets to ensure our libs are always light and fast.
- Stability: Generate your pages ahead by using a Jamstack ready toolkit.
- SEO/Analytics: Connect to your favorite analytics provider.
-- Freedom: Use our API/SDK/UI components to connect, manage and display your ecommerce in your favorite React framework
-(Gatsby, Next.JS, Remix etc)
+- Freedom: Use our API/SDK/UI components to connect, manage and display your ecommerce in your favorite React framework
+ (Gatsby, Next.JS, Remix etc)
- Speed: Customize one of our starters to your needs. Do not waste time creating tests, thinking about architecture or infrastructure, it's all taken care of.
## Getting started
+
[Check out the docs](https://faststore.dev/quickstart) to quickstart from one of our official starters or create your own.
## Official Starters
+
- [Gatsby](https://github.com/vtex-sites/gatsby.store): Basic starter with a generic store.
- [NextJS](https://github.com/vtex-sites/nextjs.store): Basic starter with a generic store.
## Learn
+
Check out our [Tutorials](https://faststore.dev/tutorials), [How-to Guides](https://faststore.dev/how-to-guides), [API References](https://faststore.dev/reference) and [Conceptual guides](https://faststore.dev/conceptual-guides) to deep dive in the world of building FastStores.
## Release Notes
+
Follow our monthly release notes at: https://faststore.dev/releases
## Who's using FastStore?
@@ -43,6 +47,7 @@ These are the clients running in production with FastStore:
- [Carrefour](https://mercado.carrefour.com.br/)
## Contributing
+
This is still a work in progress, however, if you are also an adventurous person, you can read the code and have some fun!
## Getting help
@@ -51,11 +56,12 @@ If you find any issues on the project you would like to report, please create an
## Packages
-| Package | Description | Status |
-| :--------------------------- | :---------------------------------------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------: |
-| @faststore/ui | Exports basic Store components. Check out our [storybook](https://faststoreui.netlify.app/) | [![npm version](https://badge.fury.io/js/%40faststore%2Fui.svg)](https://badge.fury.io/js/%40faststore%2Fui) [![size minzip](https://badgen.net/bundlephobia/minzip/@faststore/ui)](https://bundlephobia.com/package/@faststore/ui) [![tree shaking](https://badgen.net/bundlephobia/tree-shaking/@faststore/ui)](https://bundlephobia.com/package/@faststore/ui) [![dependency count](https://badgen.net/bundlephobia/dependency-count/@faststore/ui)](https://bundlephobia.com/package/@faststore/ui) |
-| @faststore/sdk | Exports basic logic hooks for creating your custom ecommerce | [![npm version](https://badge.fury.io/js/%40faststore%2Fsdk.svg)](https://badge.fury.io/js/%40faststore%2Fsdk) [![size minzip](https://badgen.net/bundlephobia/minzip/@faststore/sdk)](https://bundlephobia.com/package/@faststore/sdk) [![tree shaking](https://badgen.net/bundlephobia/tree-shaking/@faststore/sdk)](https://bundlephobia.com/package/@faststore/sdk) [![tree shaking](https://badgen.net/bundlephobia/dependency-count/@faststore/sdk)](https://bundlephobia.com/package/@faststore/sdk)
-| @faststore/api | Connect your site to your ecommerce provider | [![npm version](https://badge.fury.io/js/%40faststore%2Fapi.svg)](https://bundlephobia.com/package/@faststore/api)
+| Package | Description | Status |
+| :------------- | :------------------------------------------------------------------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
+| @faststore/ui | Exports basic Store components. Check out our [storybook](https://faststoreui.netlify.app/) | [![npm version](https://badge.fury.io/js/%40faststore%2Fui.svg)](https://badge.fury.io/js/%40faststore%2Fui) [![size minzip](https://badgen.net/bundlephobia/minzip/@faststore/ui)](https://bundlephobia.com/package/@faststore/ui) [![tree shaking](https://badgen.net/bundlephobia/tree-shaking/@faststore/ui)](https://bundlephobia.com/package/@faststore/ui) [![dependency count](https://badgen.net/bundlephobia/dependency-count/@faststore/ui)](https://bundlephobia.com/package/@faststore/ui) |
+| @faststore/sdk | Exports basic logic hooks for creating your custom ecommerce | [![npm version](https://badge.fury.io/js/%40faststore%2Fsdk.svg)](https://badge.fury.io/js/%40faststore%2Fsdk) [![size minzip](https://badgen.net/bundlephobia/minzip/@faststore/sdk)](https://bundlephobia.com/package/@faststore/sdk) [![tree shaking](https://badgen.net/bundlephobia/tree-shaking/@faststore/sdk)](https://bundlephobia.com/package/@faststore/sdk) [![tree shaking](https://badgen.net/bundlephobia/dependency-count/@faststore/sdk)](https://bundlephobia.com/package/@faststore/sdk) |
+| @faststore/api | Connect your site to your ecommerce provider | [![npm version](https://badge.fury.io/js/%40faststore%2Fapi.svg)](https://bundlephobia.com/package/@faststore/api) |
## License
+
Licensed under the [MIT license](https://github.com/vtex/faststore/blob/master/LICENSE)
diff --git a/apps/docs/CHANGELOG.md b/apps/docs/CHANGELOG.md
index 0bdfc2b412..87d96ff5ce 100644
--- a/apps/docs/CHANGELOG.md
+++ b/apps/docs/CHANGELOG.md
@@ -5,1879 +5,974 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
## 1.9.4 (2022-06-10)
-
### Bug Fixes
-* codesandbox ci ([#1357](https://github.com/vtex/faststore/issues/1357)) ([db07e1f](https://github.com/vtex/faststore/commit/db07e1fb02f28b0f082c361cb2c28250a687b760))
-
-
-
-
+- codesandbox ci ([#1357](https://github.com/vtex/faststore/issues/1357)) ([db07e1f](https://github.com/vtex/faststore/commit/db07e1fb02f28b0f082c361cb2c28250a687b760))
## [1.9.2](https://github.com/vtex/faststore/compare/v1.9.1...v1.9.2) (2022-06-09)
**Note:** Version bump only for package docs
-
-
-
-
## 1.9.1 (2022-06-09)
-
### Reverts
-* Revert "fix: tailwind config on docs (#1345)" (#1351) ([8ffab61](https://github.com/vtex/faststore/commit/8ffab6177d9713dfbd18bf205d16bb0c45db647a)), closes [#1345](https://github.com/vtex/faststore/issues/1345) [#1351](https://github.com/vtex/faststore/issues/1351)
-
-
-
-
+- Revert "fix: tailwind config on docs (#1345)" (#1351) ([8ffab61](https://github.com/vtex/faststore/commit/8ffab6177d9713dfbd18bf205d16bb0c45db647a)), closes [#1345](https://github.com/vtex/faststore/issues/1345) [#1351](https://github.com/vtex/faststore/issues/1351)
## [1.8.52](https://github.com/vtex/faststore/compare/v1.8.51...v1.8.52) (2022-06-03)
**Note:** Version bump only for package docs
-
-
-
-
## 1.8.51 (2022-06-03)
-
### Features
-* **UI:** Add Hero component ([#1336](https://github.com/vtex/faststore/issues/1336)) ([767c0cd](https://github.com/vtex/faststore/commit/767c0cdc5eaf6bd56020d64fd7718b1379c09390))
-
-
-
-
+- **UI:** Add Hero component ([#1336](https://github.com/vtex/faststore/issues/1336)) ([767c0cd](https://github.com/vtex/faststore/commit/767c0cdc5eaf6bd56020d64fd7718b1379c09390))
## [1.8.50](https://github.com/vtex/faststore/compare/v1.8.49...v1.8.50) (2022-06-02)
**Note:** Version bump only for package docs
-
-
-
-
## 1.8.49 (2022-05-31)
-
### Bug Fixes
-* remove docs from build on codesandbox ([#1334](https://github.com/vtex/faststore/issues/1334)) ([c9eabde](https://github.com/vtex/faststore/commit/c9eabdea8d951d42a9b3898572719e1f45294b33))
-
-
-
-
+- remove docs from build on codesandbox ([#1334](https://github.com/vtex/faststore/issues/1334)) ([c9eabde](https://github.com/vtex/faststore/commit/c9eabdea8d951d42a9b3898572719e1f45294b33))
## [1.8.48](https://github.com/vtex/faststore/compare/v1.8.47...v1.8.48) (2022-05-30)
**Note:** Version bump only for package docs
-
-
-
-
## 1.8.46 (2022-05-30)
-
### Features
-* using cache ([#1330](https://github.com/vtex/faststore/issues/1330)) ([6f8a7a4](https://github.com/vtex/faststore/commit/6f8a7a4a593f7e82586d7e3d48f5254e011b8df6))
-
-
-
-
+- using cache ([#1330](https://github.com/vtex/faststore/issues/1330)) ([6f8a7a4](https://github.com/vtex/faststore/commit/6f8a7a4a593f7e82586d7e3d48f5254e011b8df6))
## 1.8.45 (2022-05-30)
**Note:** Version bump only for package docs
-
-
-
-
## [1.8.44](https://github.com/vtex/faststore/compare/v1.8.43...v1.8.44) (2022-05-30)
**Note:** Version bump only for package docs
-
-
-
-
## [1.8.43](https://github.com/vtex/faststore/compare/v1.8.42...v1.8.43) (2022-05-30)
**Note:** Version bump only for package docs
-
-
-
-
## 1.8.42 (2022-05-30)
-
### Bug Fixes
-* github release ([194413b](https://github.com/vtex/faststore/commit/194413ba0087c8283942108ab5fdd25964b8901b))
-
-
-
-
+- github release ([194413b](https://github.com/vtex/faststore/commit/194413ba0087c8283942108ab5fdd25964b8901b))
## 1.8.41 (2022-05-30)
**Note:** Version bump only for package docs
-
-
-
-
## 1.8.40 (2022-05-30)
-
### Bug Fixes
-* Cart item with additionalProperty ([#1325](https://github.com/vtex/faststore/issues/1325)) ([8fa6aa1](https://github.com/vtex/faststore/commit/8fa6aa1a88d3e3702a017e581cbcff4281c47f4f))
-
-
-
-
+- Cart item with additionalProperty ([#1325](https://github.com/vtex/faststore/issues/1325)) ([8fa6aa1](https://github.com/vtex/faststore/commit/8fa6aa1a88d3e3702a017e581cbcff4281c47f4f))
## 1.8.39 (2022-05-27)
**Note:** Version bump only for package docs
-
-
-
-
## 1.8.38 (2022-05-27)
**Note:** Version bump only for package docs
-
-
-
-
## 1.8.37 (2022-05-27)
-
### Bug Fixes
-* Increase NodeJS version ([#1323](https://github.com/vtex/faststore/issues/1323)) ([3a6fbe7](https://github.com/vtex/faststore/commit/3a6fbe7c230b7056582c783464bfb45cc5717bed))
-
-
-
-
+- Increase NodeJS version ([#1323](https://github.com/vtex/faststore/issues/1323)) ([3a6fbe7](https://github.com/vtex/faststore/commit/3a6fbe7c230b7056582c783464bfb45cc5717bed))
## 1.8.36 (2022-05-26)
-
### Bug Fixes
-* Top searches ([#1321](https://github.com/vtex/faststore/issues/1321)) ([e2ab99d](https://github.com/vtex/faststore/commit/e2ab99d4f443e013f3fd024fc83bb612fcb27f41))
+- Top searches ([#1321](https://github.com/vtex/faststore/issues/1321)) ([e2ab99d](https://github.com/vtex/faststore/commit/e2ab99d4f443e013f3fd024fc83bb612fcb27f41))
+## 1.8.35 (2022-05-26)
+### Features
+- Add OutOfStock component ([#1314](https://github.com/vtex/faststore/issues/1314)) ([37eac86](https://github.com/vtex/faststore/commit/37eac86ede448ef68aef426f65f2d224694b2cfc))
+## 1.8.34 (2022-05-25)
-## 1.8.35 (2022-05-26)
+**Note:** Version bump only for package docs
+## 1.8.33 (2022-05-24)
### Features
-* Add OutOfStock component ([#1314](https://github.com/vtex/faststore/issues/1314)) ([37eac86](https://github.com/vtex/faststore/commit/37eac86ede448ef68aef426f65f2d224694b2cfc))
+- useStorage update onFocus ([#1316](https://github.com/vtex/faststore/issues/1316)) ([c9874d4](https://github.com/vtex/faststore/commit/c9874d46a16a09159e6e1bd4da4e61ec25bd62d2))
+## 1.8.32 (2022-05-23)
+**Note:** Version bump only for package docs
+## 1.8.31 (2022-05-20)
+**Note:** Version bump only for package docs
-## 1.8.34 (2022-05-25)
+## 1.8.30 (2022-05-20)
**Note:** Version bump only for package docs
+## 1.8.29 (2022-05-19)
+**Note:** Version bump only for package docs
+## 1.8.28 (2022-05-19)
+**Note:** Version bump only for package docs
-## 1.8.33 (2022-05-24)
+## 1.8.27 (2022-05-19)
+**Note:** Version bump only for package docs
-### Features
+## 1.8.26 (2022-05-18)
-* useStorage update onFocus ([#1316](https://github.com/vtex/faststore/issues/1316)) ([c9874d4](https://github.com/vtex/faststore/commit/c9874d46a16a09159e6e1bd4da4e61ec25bd62d2))
+**Note:** Version bump only for package docs
+## 1.8.25 (2022-05-18)
+**Note:** Version bump only for package docs
+## 1.8.24 (2022-05-18)
+### Bug Fixes
-## 1.8.32 (2022-05-23)
+- Breadcrumb broken links ([#1306](https://github.com/vtex/faststore/issues/1306)) ([e1d74d4](https://github.com/vtex/faststore/commit/e1d74d49dc3f7cf90caa80e480a01346934c0d43))
-**Note:** Version bump only for package docs
+## 1.8.23 (2022-05-17)
+### Features
+- Sync Cart with Checkout ([#1299](https://github.com/vtex/faststore/issues/1299)) ([62e8f56](https://github.com/vtex/faststore/commit/62e8f56b31c6bb6cf7260749a90ebef8aba9982b))
+## 1.8.22 (2022-05-17)
+**Note:** Version bump only for package docs
-## 1.8.31 (2022-05-20)
+## 1.8.21 (2022-05-16)
**Note:** Version bump only for package docs
+## 1.8.20 (2022-05-16)
+**Note:** Version bump only for package docs
+## 1.8.19 (2022-05-14)
+**Note:** Version bump only for package docs
-## 1.8.30 (2022-05-20)
+## 1.8.18 (2022-05-14)
**Note:** Version bump only for package docs
+## 1.8.17 (2022-05-13)
+### Features
+- **UI:** Add `ProductCard` component ([#1272](https://github.com/vtex/faststore/issues/1272)) ([ea62210](https://github.com/vtex/faststore/commit/ea6221080da8b3538551f7a77df61a14d8de297d))
-
-## 1.8.29 (2022-05-19)
+## 1.8.16 (2022-05-13)
**Note:** Version bump only for package docs
+## 1.8.15 (2022-05-13)
+**Note:** Version bump only for package docs
+## 1.8.14 (2022-05-13)
+**Note:** Version bump only for package docs
-## 1.8.28 (2022-05-19)
+## 1.8.13 (2022-05-13)
**Note:** Version bump only for package docs
+## 1.8.12 (2022-05-12)
+**Note:** Version bump only for package docs
+## 1.8.11 (2022-05-12)
+**Note:** Version bump only for package docs
-## 1.8.27 (2022-05-19)
+## 1.8.10 (2022-05-12)
**Note:** Version bump only for package docs
+## 1.8.9 (2022-05-12)
+**Note:** Version bump only for package docs
+## 1.8.8 (2022-05-11)
+**Note:** Version bump only for package docs
-## 1.8.26 (2022-05-18)
+## 1.8.7 (2022-05-11)
**Note:** Version bump only for package docs
+## 1.8.6 (2022-05-10)
+**Note:** Version bump only for package docs
+## 1.8.5 (2022-05-10)
+**Note:** Version bump only for package docs
-## 1.8.25 (2022-05-18)
+## 1.8.4 (2022-05-10)
**Note:** Version bump only for package docs
+## [1.8.3](https://github.com/vtex/faststore/compare/v1.8.2...v1.8.3) (2022-05-10)
+**Note:** Version bump only for package docs
+## 1.8.2 (2022-05-09)
+**Note:** Version bump only for package docs
-## 1.8.24 (2022-05-18)
+## 1.8.1 (2022-05-09)
+**Note:** Version bump only for package docs
-### Bug Fixes
+## 1.7.55 (2022-05-06)
-* Breadcrumb broken links ([#1306](https://github.com/vtex/faststore/issues/1306)) ([e1d74d4](https://github.com/vtex/faststore/commit/e1d74d49dc3f7cf90caa80e480a01346934c0d43))
+**Note:** Version bump only for package docs
+## 1.7.54 (2022-05-06)
+**Note:** Version bump only for package docs
+## 1.7.53 (2022-05-06)
+### Bug Fixes
-## 1.8.23 (2022-05-17)
+- suggestions api url ([#1273](https://github.com/vtex/faststore/issues/1273)) ([6f8a961](https://github.com/vtex/faststore/commit/6f8a9613e4627f91815e669a007ec4ff4c54ffe5))
+## 1.7.52 (2022-05-06)
-### Features
+### Bug Fixes
-* Sync Cart with Checkout ([#1299](https://github.com/vtex/faststore/issues/1299)) ([62e8f56](https://github.com/vtex/faststore/commit/62e8f56b31c6bb6cf7260749a90ebef8aba9982b))
+- Release workflow ([#1271](https://github.com/vtex/faststore/issues/1271)) ([3b995a8](https://github.com/vtex/faststore/commit/3b995a82c956c13c4d6f9453ac4f44195c5ef543))
+## 1.7.51 (2022-05-03)
+**Note:** Version bump only for package docs
+## 1.7.50 (2022-05-03)
+**Note:** Version bump only for package docs
-## 1.8.22 (2022-05-17)
+## 1.7.49 (2022-05-02)
**Note:** Version bump only for package docs
+## 1.7.48 (2022-04-29)
+**Note:** Version bump only for package docs
+## 1.7.47 (2022-04-29)
+**Note:** Version bump only for package docs
-## 1.8.21 (2022-05-16)
+## 1.7.46 (2022-04-29)
**Note:** Version bump only for package docs
+## 1.7.45 (2022-04-29)
+**Note:** Version bump only for package docs
+## 1.7.44 (2022-04-28)
+**Note:** Version bump only for package docs
-## 1.8.20 (2022-05-16)
+## 1.7.43 (2022-04-28)
-**Note:** Version bump only for package docs
+### Bug Fixes
+- api schema ([#1254](https://github.com/vtex/faststore/issues/1254)) ([c901b3d](https://github.com/vtex/faststore/commit/c901b3db8e002558e14101339c817ca87db8f949))
+## 1.7.42 (2022-04-28)
+### Features
+- search suggestions ([#1198](https://github.com/vtex/faststore/issues/1198)) ([2b19413](https://github.com/vtex/faststore/commit/2b19413dd11249e4d967ac1c4c1aabdc3a8ec1bf))
-## 1.8.19 (2022-05-14)
+## 1.7.41 (2022-04-27)
**Note:** Version bump only for package docs
+## 1.7.40 (2022-04-27)
+**Note:** Version bump only for package docs
+## 1.7.39 (2022-04-27)
+**Note:** Version bump only for package docs
-## 1.8.18 (2022-05-14)
+## 1.7.38 (2022-04-27)
**Note:** Version bump only for package docs
+## 1.7.37 (2022-04-27)
+**Note:** Version bump only for package docs
+## 1.7.36 (2022-04-27)
+### Bug Fixes
-## 1.8.17 (2022-05-13)
+- **api:** Remove circular dependencies ([#1243](https://github.com/vtex/faststore/issues/1243)) ([e988621](https://github.com/vtex/faststore/commit/e988621c77b946e397ecc33b82be65b04fa119ec))
+## 1.7.35 (2022-04-26)
-### Features
+**Note:** Version bump only for package docs
-* **UI:** Add `ProductCard` component ([#1272](https://github.com/vtex/faststore/issues/1272)) ([ea62210](https://github.com/vtex/faststore/commit/ea6221080da8b3538551f7a77df61a14d8de297d))
+## 1.7.34 (2022-04-25)
+**Note:** Version bump only for package docs
+## 1.7.33 (2022-04-25)
+### Bug Fixes
+- **api:** SearchResult send events ([#1242](https://github.com/vtex/faststore/issues/1242)) ([9cc7cc4](https://github.com/vtex/faststore/commit/9cc7cc4d55802ef0dc75e22d58c46da899674555))
-## 1.8.16 (2022-05-13)
+## 1.7.32 (2022-04-23)
**Note:** Version bump only for package docs
+## 1.7.31 (2022-04-22)
+**Note:** Version bump only for package docs
-
-
-## 1.8.15 (2022-05-13)
+## 1.7.30 (2022-04-22)
**Note:** Version bump only for package docs
+## 1.7.29 (2022-04-22)
+**Note:** Version bump only for package docs
+## 1.7.28 (2022-04-20)
+**Note:** Version bump only for package docs
-## 1.8.14 (2022-05-13)
+## 1.7.27 (2022-04-20)
**Note:** Version bump only for package docs
+## 1.7.26 (2022-04-19)
+### Reverts
+- Revert "feat: Add url to events (#1174)" (#1228) ([67ec438](https://github.com/vtex/faststore/commit/67ec4386b876a4de08bfd96df5147efa958d5496)), closes [#1174](https://github.com/vtex/faststore/issues/1174) [#1228](https://github.com/vtex/faststore/issues/1228)
-
-## 1.8.13 (2022-05-13)
+## 1.7.25 (2022-04-19)
**Note:** Version bump only for package docs
+## 1.7.24 (2022-04-18)
+
+**Note:** Version bump only for package docs
+## 1.7.23 (2022-04-18)
+### Features
+- Add url to events ([#1174](https://github.com/vtex/faststore/issues/1174)) ([0e2befe](https://github.com/vtex/faststore/commit/0e2befe3cb5dc99521a470c4096e31237b93a9c0))
-## 1.8.12 (2022-05-12)
+## 1.7.22 (2022-04-13)
**Note:** Version bump only for package docs
+## 1.7.21 (2022-04-12)
+### Features
+- AggregateRating (Stars) molecule ([#1037](https://github.com/vtex/faststore/issues/1037)) ([23f2fad](https://github.com/vtex/faststore/commit/23f2fad6fd4d58ea369a54a0b6600207016be17e))
-
-## 1.8.11 (2022-05-12)
+## 1.7.20 (2022-04-11)
**Note:** Version bump only for package docs
+## 1.7.19 (2022-04-09)
+**Note:** Version bump only for package docs
-
-
-## 1.8.10 (2022-05-12)
+## 1.7.18 (2022-04-08)
**Note:** Version bump only for package docs
+## 1.7.17 (2022-04-08)
+**Note:** Version bump only for package docs
+## 1.7.16 (2022-04-07)
+**Note:** Version bump only for package docs
-## 1.8.9 (2022-05-12)
+## 1.7.15 (2022-04-07)
**Note:** Version bump only for package docs
+## 1.7.14 (2022-04-07)
+### Bug Fixes
+- Uses catalog slugify ([#1214](https://github.com/vtex/faststore/issues/1214)) ([0b38efc](https://github.com/vtex/faststore/commit/0b38efc96ecab8920cf15f01c29e7f9d5becba3d))
-
-## 1.8.8 (2022-05-11)
+## 1.7.13 (2022-04-07)
**Note:** Version bump only for package docs
+## 1.7.12 (2022-04-06)
+**Note:** Version bump only for package docs
-
-
-## 1.8.7 (2022-05-11)
+## 1.7.11 (2022-04-06)
**Note:** Version bump only for package docs
+## 1.7.10 (2022-04-05)
+**Note:** Version bump only for package docs
+## 1.7.9 (2022-04-05)
+**Note:** Version bump only for package docs
-## 1.8.6 (2022-05-10)
+## 1.7.8 (2022-04-05)
**Note:** Version bump only for package docs
+## 1.7.7 (2022-04-05)
+**Note:** Version bump only for package docs
+## 1.7.6 (2022-04-05)
+**Note:** Version bump only for package docs
-## 1.8.5 (2022-05-10)
+## 1.7.5 (2022-04-04)
**Note:** Version bump only for package docs
+## 1.7.4 (2022-04-01)
+### Bug Fixes
+- release notes images ([#1207](https://github.com/vtex/faststore/issues/1207)) ([279e019](https://github.com/vtex/faststore/commit/279e019bad25581712f73c8fe7a433200d711780))
-
-## 1.8.4 (2022-05-10)
+## 1.7.3 (2022-04-01)
**Note:** Version bump only for package docs
+## 1.7.2 (2022-04-01)
+**Note:** Version bump only for package docs
+## 1.7.1 (2022-04-01)
+**Note:** Version bump only for package docs
-## [1.8.3](https://github.com/vtex/faststore/compare/v1.8.2...v1.8.3) (2022-05-10)
+## 1.6.29 (2022-03-31)
-**Note:** Version bump only for package docs
+### Bug Fixes
+- fix dropdown render in SSR ([#1202](https://github.com/vtex/faststore/issues/1202)) ([60f65b0](https://github.com/vtex/faststore/commit/60f65b0864c2fb59dff61e914c69a326b5229984))
+## 1.6.28 (2022-03-31)
+### Bug Fixes
+- fix dropdown menu position with scroll ([#1199](https://github.com/vtex/faststore/issues/1199)) ([98a228e](https://github.com/vtex/faststore/commit/98a228e364ed26e480936406c1988026f9ebaffc))
-## 1.8.2 (2022-05-09)
+## 1.6.27 (2022-03-31)
**Note:** Version bump only for package docs
+## 1.6.26 (2022-03-31)
+### Features
+- **api:** Handle channel as facet for search and product queries ([#1197](https://github.com/vtex/faststore/issues/1197)) ([00556b1](https://github.com/vtex/faststore/commit/00556b199a48617ff89b1a6b951a0c958f5aa018))
-
-## 1.8.1 (2022-05-09)
+## 1.6.25 (2022-03-29)
**Note:** Version bump only for package docs
+## 1.6.24 (2022-03-29)
+### Bug Fixes
+- fix dropdown click bug ([#1196](https://github.com/vtex/faststore/issues/1196)) ([55202ea](https://github.com/vtex/faststore/commit/55202ead64933b71688ac7399211cc2f086596f2))
+## 1.6.23 (2022-03-28)
-## 1.7.55 (2022-05-06)
-
-**Note:** Version bump only for package docs
+### Bug Fixes
+- fix breadcrumb component bug ([#1193](https://github.com/vtex/faststore/issues/1193)) ([f36ba81](https://github.com/vtex/faststore/commit/f36ba814ed679523d8c1f030c31a086a9e5bb190))
+## 1.6.22 (2022-03-25)
+### Features
+- **sdk:** Improve useStorage and Optimistic revalidate effect ([#1186](https://github.com/vtex/faststore/issues/1186)) ([08c616b](https://github.com/vtex/faststore/commit/08c616be4c6bc5a215da7ab0c37ff2731aa09f9a))
-## 1.7.54 (2022-05-06)
+## 1.6.21 (2022-03-25)
**Note:** Version bump only for package docs
+## 1.6.20 (2022-03-24)
+### Bug Fixes
+- fix dropdown component bug ([#1192](https://github.com/vtex/faststore/issues/1192)) ([f188ac0](https://github.com/vtex/faststore/commit/f188ac0c59db5a0ef7a95eb2412d0bbcd024ae36))
+## 1.6.19 (2022-03-24)
-## 1.7.53 (2022-05-06)
+### Features
+- Add exports to dropdown ([#1188](https://github.com/vtex/faststore/issues/1188)) ([f24359a](https://github.com/vtex/faststore/commit/f24359a34439e0ec8d3069483c31a6f62fa6535d))
-### Bug Fixes
+## 1.6.18 (2022-03-24)
-* suggestions api url ([#1273](https://github.com/vtex/faststore/issues/1273)) ([6f8a961](https://github.com/vtex/faststore/commit/6f8a9613e4627f91815e669a007ec4ff4c54ffe5))
+### Features
+- **api:** Add session mutation ([#1176](https://github.com/vtex/faststore/issues/1176)) ([0306167](https://github.com/vtex/faststore/commit/030616739cc62d9b5aa55cdf532ee6dea0bd793c))
+## 1.6.17 (2022-03-23)
+### Features
+- **UI:** Add dropdown component ([#1178](https://github.com/vtex/faststore/issues/1178)) ([e5153a6](https://github.com/vtex/faststore/commit/e5153a674c37bd2a8b4c65ae6f56eb5cabaf3fc8))
-## 1.7.52 (2022-05-06)
+## 1.6.16 (2022-03-23)
+
+**Note:** Version bump only for package docs
+## 1.6.15 (2022-03-22)
### Bug Fixes
-* Release workflow ([#1271](https://github.com/vtex/faststore/issues/1271)) ([3b995a8](https://github.com/vtex/faststore/commit/3b995a82c956c13c4d6f9453ac4f44195c5ef543))
+- Fix some typos ([#1183](https://github.com/vtex/faststore/issues/1183)) ([97fffb0](https://github.com/vtex/faststore/commit/97fffb02d9cc72f07926bc1a9bc684a99d623765))
+## 1.6.14 (2022-03-21)
+**Note:** Version bump only for package docs
+## 1.6.13 (2022-03-18)
+**Note:** Version bump only for package docs
-## 1.7.51 (2022-05-03)
+## 1.6.12 (2022-03-18)
**Note:** Version bump only for package docs
+## 1.6.11 (2022-03-17)
+**Note:** Version bump only for package docs
+## 1.6.10 (2022-03-16)
+**Note:** Version bump only for package docs
-## 1.7.50 (2022-05-03)
+## 1.6.9 (2022-03-16)
**Note:** Version bump only for package docs
+## 1.6.8 (2022-03-15)
+### Features
+- Add Person Query ([#1139](https://github.com/vtex/faststore/issues/1139)) ([9ec28c2](https://github.com/vtex/faststore/commit/9ec28c21cc6412c5366d1a1c71ef043603cd50c7))
-
-## 1.7.49 (2022-05-02)
+## 1.6.7 (2022-03-14)
**Note:** Version bump only for package docs
+## 1.6.6 (2022-03-14)
+**Note:** Version bump only for package docs
+## 1.6.5 (2022-03-10)
+**Note:** Version bump only for package docs
-## 1.7.48 (2022-04-29)
+## 1.6.4 (2022-03-10)
**Note:** Version bump only for package docs
+## 1.6.3 (2022-03-04)
+**Note:** Version bump only for package docs
+## 1.6.2 (2022-03-04)
+**Note:** Version bump only for package docs
-## 1.7.47 (2022-04-29)
+## 1.6.1 (2022-03-04)
**Note:** Version bump only for package docs
+## 1.5.20 (2022-02-25)
+### Bug Fixes
+- Cart item availability ([#1160](https://github.com/vtex/faststore/issues/1160)) ([fd1be18](https://github.com/vtex/faststore/commit/fd1be18b09e8e5141a2a899e786e7caf08b3ff62))
-
-## 1.7.46 (2022-04-29)
+## 1.5.19 (2022-02-24)
**Note:** Version bump only for package docs
+## 1.5.18 (2022-02-23)
+### Bug Fixes
+- **ui:** Use valid HTML for the Breadcrumb's divider ([#1143](https://github.com/vtex/faststore/issues/1143)) ([b40c3b1](https://github.com/vtex/faststore/commit/b40c3b1405e6aa9a0f2006de9f37a903e40a2103))
+## 1.5.17 (2022-02-22)
-## 1.7.45 (2022-04-29)
-
-**Note:** Version bump only for package docs
-
+### Features
+- Moves some Filter logic to api ([#1154](https://github.com/vtex/faststore/issues/1154)) ([5a591f7](https://github.com/vtex/faststore/commit/5a591f7b42e947577597cc82d8df6a15d2994780))
+## 1.5.16 (2022-02-22)
+**Note:** Version bump only for package docs
-## 1.7.44 (2022-04-28)
+## 1.5.15 (2022-02-22)
**Note:** Version bump only for package docs
+## 1.5.14 (2022-02-22)
+### Features
+- Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))
+## 1.5.13 (2022-02-22)
-## 1.7.43 (2022-04-28)
-
+### Features
-### Bug Fixes
+- Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))
-* api schema ([#1254](https://github.com/vtex/faststore/issues/1254)) ([c901b3d](https://github.com/vtex/faststore/commit/c901b3db8e002558e14101339c817ca87db8f949))
+## 1.5.12 (2022-02-21)
+### Bug Fixes
+- allCollections query pagination and pagetype timeout errors ([#1140](https://github.com/vtex/faststore/issues/1140)) ([0150222](https://github.com/vtex/faststore/commit/01502220fb903c62f0b33b9a703fb45daafae141))
+## 1.5.11 (2022-02-18)
+### Bug Fixes
-## 1.7.42 (2022-04-28)
+- **gatsby-plugin-nginx:** remove trailing slash from incoming requests ([#1145](https://github.com/vtex/faststore/issues/1145)) ([db6f1e1](https://github.com/vtex/faststore/commit/db6f1e173ec43747bf9cfa244b81d86db8a25ce3))
+## 1.5.10 (2022-02-17)
### Features
-* search suggestions ([#1198](https://github.com/vtex/faststore/issues/1198)) ([2b19413](https://github.com/vtex/faststore/commit/2b19413dd11249e4d967ac1c4c1aabdc3a8ec1bf))
-
+- **api:** Add additional property ([#1107](https://github.com/vtex/faststore/issues/1107)) ([bbcfc4a](https://github.com/vtex/faststore/commit/bbcfc4af68148adb54d66a3f1d28a9817ad2956c))
-
-
-
-## 1.7.41 (2022-04-27)
+## 1.5.9 (2022-02-16)
**Note:** Version bump only for package docs
+## 1.5.8 (2022-02-15)
+### Bug Fixes
+- **api:** PDP and PLP breadcrumb list item's URL paths ([#1148](https://github.com/vtex/faststore/issues/1148)) ([ea1790a](https://github.com/vtex/faststore/commit/ea1790a0069b5e19f656d7df0051f391c3c3c611))
-
-## 1.7.40 (2022-04-27)
+## 1.5.7 (2022-02-15)
**Note:** Version bump only for package docs
+## 1.5.6 (2022-02-15)
+### Features
+- Add budgets lighthouse config ([#1150](https://github.com/vtex/faststore/issues/1150)) ([60de848](https://github.com/vtex/faststore/commit/60de84897cb25fe775a3197adf8035610882ced8))
-
-## 1.7.39 (2022-04-27)
+## 1.5.5 (2022-02-09)
**Note:** Version bump only for package docs
+## 1.5.4 (2022-02-09)
+**Note:** Version bump only for package docs
+## 1.5.3 (2022-02-07)
+**Note:** Version bump only for package docs
-## 1.7.38 (2022-04-27)
+## 1.5.2 (2022-02-04)
**Note:** Version bump only for package docs
+## 1.5.1 (2022-02-04)
+**Note:** Version bump only for package docs
+## 1.4.27 (2022-02-03)
+**Note:** Version bump only for package docs
-## 1.7.37 (2022-04-27)
+## 1.4.26 (2022-02-02)
**Note:** Version bump only for package docs
+## 1.4.25 (2022-02-02)
+**Note:** Version bump only for package docs
+## 1.4.24 (2022-02-02)
+**Note:** Version bump only for package docs
-## 1.7.36 (2022-04-27)
-
+## 1.4.23 (2022-02-01)
### Bug Fixes
-* **api:** Remove circular dependencies ([#1243](https://github.com/vtex/faststore/issues/1243)) ([e988621](https://github.com/vtex/faststore/commit/e988621c77b946e397ecc33b82be65b04fa119ec))
-
-
+- unfiltered allCollections query ([#1131](https://github.com/vtex/faststore/issues/1131)) ([4a1744a](https://github.com/vtex/faststore/commit/4a1744ad267517bfb6d3b7d7747725da0533d13f))
+## 1.4.22 (2022-01-26)
+**Note:** Version bump only for package docs
-## 1.7.35 (2022-04-26)
+## 1.4.21 (2022-01-26)
**Note:** Version bump only for package docs
+## 1.4.20 (2022-01-26)
+**Note:** Version bump only for package docs
+## 1.4.19 (2022-01-24)
+**Note:** Version bump only for package docs
-## 1.7.34 (2022-04-25)
+## 1.4.18 (2022-01-17)
**Note:** Version bump only for package docs
+## 1.4.17 (2022-01-13)
+### Bug Fixes
+- replaceAll crashing build with env vars ([#1109](https://github.com/vtex/faststore/issues/1109)) ([801b62e](https://github.com/vtex/faststore/commit/801b62e118238b6828d8cdaa2aff96d6c40278a8))
+## 1.4.16 (2022-01-11)
-## 1.7.33 (2022-04-25)
+**Note:** Version bump only for package docs
+## 1.4.15 (2022-01-11)
### Bug Fixes
-* **api:** SearchResult send events ([#1242](https://github.com/vtex/faststore/issues/1242)) ([9cc7cc4](https://github.com/vtex/faststore/commit/9cc7cc4d55802ef0dc75e22d58c46da899674555))
-
+- **api:** Breadcrumb data on collection pages ([#1104](https://github.com/vtex/faststore/issues/1104)) ([25d3c2b](https://github.com/vtex/faststore/commit/25d3c2bd07158ffca75bfe377a5b932c8fb36ae5))
+## 1.4.14 (2022-01-07)
+### Features
+- add item generics to analytics types for easy customization ([#1101](https://github.com/vtex/faststore/issues/1101)) ([51e9d96](https://github.com/vtex/faststore/commit/51e9d96b82062113a96a95159963ff85a22086fc))
-## 1.7.32 (2022-04-23)
+## 1.4.13 (2022-01-07)
**Note:** Version bump only for package docs
+## 1.4.12 (2022-01-07)
+**Note:** Version bump only for package docs
+## 1.4.11 (2022-01-06)
+**Note:** Version bump only for package docs
-## 1.7.31 (2022-04-22)
+## 1.4.10 (2022-01-06)
-**Note:** Version bump only for package docs
+### Bug Fixes
+- **api:** Sku loader ([#1100](https://github.com/vtex/faststore/issues/1100)) ([82d029f](https://github.com/vtex/faststore/commit/82d029fbb4fd7613c80d099587b00812c410e448))
+## 1.4.9 (2022-01-06)
+### Features
+- add headers to nginx via env vars ([#1049](https://github.com/vtex/faststore/issues/1049)) ([3553372](https://github.com/vtex/faststore/commit/355337273ce03660db9fd14482818cc24c99f4e2))
-## 1.7.30 (2022-04-22)
+## 1.4.8 (2022-01-05)
**Note:** Version bump only for package docs
+## 1.4.7 (2022-01-05)
+### Bug Fixes
+- fix accessibility on storybook ([#1096](https://github.com/vtex/faststore/issues/1096)) ([55805b1](https://github.com/vtex/faststore/commit/55805b1b2cffd111ef64857321c20e0a001a93b2))
-
-## 1.7.29 (2022-04-22)
+## 1.4.6 (2022-01-05)
**Note:** Version bump only for package docs
+## 1.4.5 (2022-01-04)
+**Note:** Version bump only for package docs
+## 1.4.4 (2022-01-04)
+### Bug Fixes
-## 1.7.28 (2022-04-20)
+- adjust data attributes pattern on multiple components ([#1093](https://github.com/vtex/faststore/issues/1093)) ([ca9172f](https://github.com/vtex/faststore/commit/ca9172fb353cfce7011f9144c1e94ed7e6b73f5f))
-**Note:** Version bump only for package docs
+## 1.4.3 (2022-01-03)
+**Note:** Version bump only for package docs
+## 1.4.2 (2022-01-03)
+### Bug Fixes
+- **ui:** removing aria-labelledby from payment methods component ([#1092](https://github.com/vtex/faststore/issues/1092)) ([bf4c7a9](https://github.com/vtex/faststore/commit/bf4c7a981c379ffb1777a2fd8cae787f735f7d2d))
-## 1.7.27 (2022-04-20)
+## 1.4.1 (2022-01-03)
**Note:** Version bump only for package docs
+## 1.3.46 (2021-12-23)
+**Note:** Version bump only for package docs
+## 1.3.45 (2021-12-21)
+**Note:** Version bump only for package docs
-## 1.7.26 (2022-04-19)
-
-
-### Reverts
-
-* Revert "feat: Add url to events (#1174)" (#1228) ([67ec438](https://github.com/vtex/faststore/commit/67ec4386b876a4de08bfd96df5147efa958d5496)), closes [#1174](https://github.com/vtex/faststore/issues/1174) [#1228](https://github.com/vtex/faststore/issues/1228)
+## 1.3.44 (2021-12-21)
+**Note:** Version bump only for package docs
+## 1.3.43 (2021-12-20)
+### Features
+- QuantitySelector component ([#1083](https://github.com/vtex/faststore/issues/1083)) ([6ade6c0](https://github.com/vtex/faststore/commit/6ade6c02b06fdb74ba2cd2978d8ac4bda35672d2))
-## 1.7.25 (2022-04-19)
+## 1.3.42 (2021-12-20)
**Note:** Version bump only for package docs
+## 1.3.41 (2021-12-20)
+### Features
+- **ui:** Incentive atom ([#1064](https://github.com/vtex/faststore/issues/1064)) ([1b136c7](https://github.com/vtex/faststore/commit/1b136c7d7fc8f2b99259ef1908286713697e03da))
+## 1.3.40 (2021-12-18)
-## 1.7.24 (2022-04-18)
-
-**Note:** Version bump only for package docs
+### Features
+- **ui:** Link atom ([#1067](https://github.com/vtex/faststore/issues/1067)) ([c49b2dd](https://github.com/vtex/faststore/commit/c49b2ddc31ba4184bed19a8934fbf4d5f0b47a5f))
+## 1.3.39 (2021-12-17)
+**Note:** Version bump only for package docs
+## 1.3.38 (2021-12-16)
-## 1.7.23 (2022-04-18)
+**Note:** Version bump only for package docs
+## 1.3.37 (2021-12-15)
### Features
-* Add url to events ([#1174](https://github.com/vtex/faststore/issues/1174)) ([0e2befe](https://github.com/vtex/faststore/commit/0e2befe3cb5dc99521a470c4096e31237b93a9c0))
-
+- **ui:** Card component ([#1079](https://github.com/vtex/faststore/issues/1079)) ([7f10a5d](https://github.com/vtex/faststore/commit/7f10a5dcec21f7c9d59ba645755fe298e96269df))
+## 1.3.36 (2021-12-15)
+### Bug Fixes
+- expose JS files only ([#1081](https://github.com/vtex/faststore/issues/1081)) ([e363c12](https://github.com/vtex/faststore/commit/e363c120f22b10da81ceb3e2d8fcc58c1b4665af))
-## 1.7.22 (2022-04-13)
+## 1.3.35 (2021-12-14)
**Note:** Version bump only for package docs
+## 1.3.34 (2021-12-11)
+### Bug Fixes
+- **docs:** Fix algolia search ([#1078](https://github.com/vtex/faststore/issues/1078)) ([986074f](https://github.com/vtex/faststore/commit/986074f061365d812650a82748ca5a9fc1dac6d5))
+## 1.3.33 (2021-12-10)
-## 1.7.21 (2022-04-12)
+**Note:** Version bump only for package docs
+## 1.3.32 (2021-12-10)
-### Features
+**Note:** Version bump only for package docs
-* AggregateRating (Stars) molecule ([#1037](https://github.com/vtex/faststore/issues/1037)) ([23f2fad](https://github.com/vtex/faststore/commit/23f2fad6fd4d58ea369a54a0b6600207016be17e))
-
-
-
-
-
-## 1.7.20 (2022-04-11)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.19 (2022-04-09)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.18 (2022-04-08)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.17 (2022-04-08)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.16 (2022-04-07)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.15 (2022-04-07)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.14 (2022-04-07)
-
-
-### Bug Fixes
-
-* Uses catalog slugify ([#1214](https://github.com/vtex/faststore/issues/1214)) ([0b38efc](https://github.com/vtex/faststore/commit/0b38efc96ecab8920cf15f01c29e7f9d5becba3d))
-
-
-
-
-
-## 1.7.13 (2022-04-07)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.12 (2022-04-06)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.11 (2022-04-06)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.10 (2022-04-05)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.9 (2022-04-05)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.8 (2022-04-05)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.7 (2022-04-05)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.6 (2022-04-05)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.5 (2022-04-04)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.4 (2022-04-01)
-
-
-### Bug Fixes
-
-* release notes images ([#1207](https://github.com/vtex/faststore/issues/1207)) ([279e019](https://github.com/vtex/faststore/commit/279e019bad25581712f73c8fe7a433200d711780))
-
-
-
-
-
-## 1.7.3 (2022-04-01)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.2 (2022-04-01)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.7.1 (2022-04-01)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.29 (2022-03-31)
-
-
-### Bug Fixes
-
-* fix dropdown render in SSR ([#1202](https://github.com/vtex/faststore/issues/1202)) ([60f65b0](https://github.com/vtex/faststore/commit/60f65b0864c2fb59dff61e914c69a326b5229984))
-
-
-
-
-
-## 1.6.28 (2022-03-31)
-
-
-### Bug Fixes
-
-* fix dropdown menu position with scroll ([#1199](https://github.com/vtex/faststore/issues/1199)) ([98a228e](https://github.com/vtex/faststore/commit/98a228e364ed26e480936406c1988026f9ebaffc))
-
-
-
-
-
-## 1.6.27 (2022-03-31)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.26 (2022-03-31)
-
-
-### Features
-
-* **api:** Handle channel as facet for search and product queries ([#1197](https://github.com/vtex/faststore/issues/1197)) ([00556b1](https://github.com/vtex/faststore/commit/00556b199a48617ff89b1a6b951a0c958f5aa018))
-
-
-
-
-
-## 1.6.25 (2022-03-29)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.24 (2022-03-29)
-
-
-### Bug Fixes
-
-* fix dropdown click bug ([#1196](https://github.com/vtex/faststore/issues/1196)) ([55202ea](https://github.com/vtex/faststore/commit/55202ead64933b71688ac7399211cc2f086596f2))
-
-
-
-
-
-## 1.6.23 (2022-03-28)
-
-
-### Bug Fixes
-
-* fix breadcrumb component bug ([#1193](https://github.com/vtex/faststore/issues/1193)) ([f36ba81](https://github.com/vtex/faststore/commit/f36ba814ed679523d8c1f030c31a086a9e5bb190))
-
-
-
-
-
-## 1.6.22 (2022-03-25)
-
-
-### Features
-
-* **sdk:** Improve useStorage and Optimistic revalidate effect ([#1186](https://github.com/vtex/faststore/issues/1186)) ([08c616b](https://github.com/vtex/faststore/commit/08c616be4c6bc5a215da7ab0c37ff2731aa09f9a))
-
-
-
-
-
-## 1.6.21 (2022-03-25)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.20 (2022-03-24)
-
-
-### Bug Fixes
-
-* fix dropdown component bug ([#1192](https://github.com/vtex/faststore/issues/1192)) ([f188ac0](https://github.com/vtex/faststore/commit/f188ac0c59db5a0ef7a95eb2412d0bbcd024ae36))
-
-
-
-
-
-## 1.6.19 (2022-03-24)
-
-
-### Features
-
-* Add exports to dropdown ([#1188](https://github.com/vtex/faststore/issues/1188)) ([f24359a](https://github.com/vtex/faststore/commit/f24359a34439e0ec8d3069483c31a6f62fa6535d))
-
-
-
-
-
-## 1.6.18 (2022-03-24)
-
-
-### Features
-
-* **api:** Add session mutation ([#1176](https://github.com/vtex/faststore/issues/1176)) ([0306167](https://github.com/vtex/faststore/commit/030616739cc62d9b5aa55cdf532ee6dea0bd793c))
-
-
-
-
-
-## 1.6.17 (2022-03-23)
-
-
-### Features
-
-* **UI:** Add dropdown component ([#1178](https://github.com/vtex/faststore/issues/1178)) ([e5153a6](https://github.com/vtex/faststore/commit/e5153a674c37bd2a8b4c65ae6f56eb5cabaf3fc8))
-
-
-
-
-
-## 1.6.16 (2022-03-23)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.15 (2022-03-22)
-
-
-### Bug Fixes
-
-* Fix some typos ([#1183](https://github.com/vtex/faststore/issues/1183)) ([97fffb0](https://github.com/vtex/faststore/commit/97fffb02d9cc72f07926bc1a9bc684a99d623765))
-
-
-
-
-
-## 1.6.14 (2022-03-21)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.13 (2022-03-18)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.12 (2022-03-18)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.11 (2022-03-17)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.10 (2022-03-16)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.9 (2022-03-16)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.8 (2022-03-15)
-
-
-### Features
-
-* Add Person Query ([#1139](https://github.com/vtex/faststore/issues/1139)) ([9ec28c2](https://github.com/vtex/faststore/commit/9ec28c21cc6412c5366d1a1c71ef043603cd50c7))
-
-
-
-
-
-## 1.6.7 (2022-03-14)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.6 (2022-03-14)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.5 (2022-03-10)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.4 (2022-03-10)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.3 (2022-03-04)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.2 (2022-03-04)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.6.1 (2022-03-04)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.20 (2022-02-25)
-
-
-### Bug Fixes
-
-* Cart item availability ([#1160](https://github.com/vtex/faststore/issues/1160)) ([fd1be18](https://github.com/vtex/faststore/commit/fd1be18b09e8e5141a2a899e786e7caf08b3ff62))
-
-
-
-
-
-## 1.5.19 (2022-02-24)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.18 (2022-02-23)
-
-
-### Bug Fixes
-
-* **ui:** Use valid HTML for the Breadcrumb's divider ([#1143](https://github.com/vtex/faststore/issues/1143)) ([b40c3b1](https://github.com/vtex/faststore/commit/b40c3b1405e6aa9a0f2006de9f37a903e40a2103))
-
-
-
-
-
-## 1.5.17 (2022-02-22)
-
-
-### Features
-
-* Moves some Filter logic to api ([#1154](https://github.com/vtex/faststore/issues/1154)) ([5a591f7](https://github.com/vtex/faststore/commit/5a591f7b42e947577597cc82d8df6a15d2994780))
-
-
-
-
-
-## 1.5.16 (2022-02-22)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.15 (2022-02-22)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.14 (2022-02-22)
-
-
-### Features
-
-* Ajust SearchInput reference export ([#1155](https://github.com/vtex/faststore/issues/1155)) ([22d632d](https://github.com/vtex/faststore/commit/22d632d02657be5bef7595ad4179e5086eef7580))
-
-
-
-
-
-## 1.5.13 (2022-02-22)
-
-
-### Features
-
-* Ajust SearchInput reference ([#1153](https://github.com/vtex/faststore/issues/1153)) ([c2ee199](https://github.com/vtex/faststore/commit/c2ee199402bc4e9d5846dc50778778e940ac7124))
-
-
-
-
-
-## 1.5.12 (2022-02-21)
-
-
-### Bug Fixes
-
-* allCollections query pagination and pagetype timeout errors ([#1140](https://github.com/vtex/faststore/issues/1140)) ([0150222](https://github.com/vtex/faststore/commit/01502220fb903c62f0b33b9a703fb45daafae141))
-
-
-
-
-
-## 1.5.11 (2022-02-18)
-
-
-### Bug Fixes
-
-* **gatsby-plugin-nginx:** remove trailing slash from incoming requests ([#1145](https://github.com/vtex/faststore/issues/1145)) ([db6f1e1](https://github.com/vtex/faststore/commit/db6f1e173ec43747bf9cfa244b81d86db8a25ce3))
-
-
-
-
-
-## 1.5.10 (2022-02-17)
-
-
-### Features
-
-* **api:** Add additional property ([#1107](https://github.com/vtex/faststore/issues/1107)) ([bbcfc4a](https://github.com/vtex/faststore/commit/bbcfc4af68148adb54d66a3f1d28a9817ad2956c))
-
-
-
-
-
-## 1.5.9 (2022-02-16)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.8 (2022-02-15)
-
-
-### Bug Fixes
-
-* **api:** PDP and PLP breadcrumb list item's URL paths ([#1148](https://github.com/vtex/faststore/issues/1148)) ([ea1790a](https://github.com/vtex/faststore/commit/ea1790a0069b5e19f656d7df0051f391c3c3c611))
-
-
-
-
-
-## 1.5.7 (2022-02-15)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.6 (2022-02-15)
-
-
-### Features
-
-* Add budgets lighthouse config ([#1150](https://github.com/vtex/faststore/issues/1150)) ([60de848](https://github.com/vtex/faststore/commit/60de84897cb25fe775a3197adf8035610882ced8))
-
-
-
-
-
-## 1.5.5 (2022-02-09)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.4 (2022-02-09)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.3 (2022-02-07)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.2 (2022-02-04)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.5.1 (2022-02-04)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.27 (2022-02-03)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.26 (2022-02-02)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.25 (2022-02-02)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.24 (2022-02-02)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.23 (2022-02-01)
-
-
-### Bug Fixes
-
-* unfiltered allCollections query ([#1131](https://github.com/vtex/faststore/issues/1131)) ([4a1744a](https://github.com/vtex/faststore/commit/4a1744ad267517bfb6d3b7d7747725da0533d13f))
-
-
-
-
-
-## 1.4.22 (2022-01-26)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.21 (2022-01-26)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.20 (2022-01-26)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.19 (2022-01-24)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.18 (2022-01-17)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.17 (2022-01-13)
-
-
-### Bug Fixes
-
-* replaceAll crashing build with env vars ([#1109](https://github.com/vtex/faststore/issues/1109)) ([801b62e](https://github.com/vtex/faststore/commit/801b62e118238b6828d8cdaa2aff96d6c40278a8))
-
-
-
-
-
-## 1.4.16 (2022-01-11)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.15 (2022-01-11)
-
-
-### Bug Fixes
-
-* **api:** Breadcrumb data on collection pages ([#1104](https://github.com/vtex/faststore/issues/1104)) ([25d3c2b](https://github.com/vtex/faststore/commit/25d3c2bd07158ffca75bfe377a5b932c8fb36ae5))
-
-
-
-
-
-## 1.4.14 (2022-01-07)
-
-
-### Features
-
-* add item generics to analytics types for easy customization ([#1101](https://github.com/vtex/faststore/issues/1101)) ([51e9d96](https://github.com/vtex/faststore/commit/51e9d96b82062113a96a95159963ff85a22086fc))
-
-
-
-
-
-## 1.4.13 (2022-01-07)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.12 (2022-01-07)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.11 (2022-01-06)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.10 (2022-01-06)
-
-
-### Bug Fixes
-
-* **api:** Sku loader ([#1100](https://github.com/vtex/faststore/issues/1100)) ([82d029f](https://github.com/vtex/faststore/commit/82d029fbb4fd7613c80d099587b00812c410e448))
-
-
-
-
-
-## 1.4.9 (2022-01-06)
-
-
-### Features
-
-* add headers to nginx via env vars ([#1049](https://github.com/vtex/faststore/issues/1049)) ([3553372](https://github.com/vtex/faststore/commit/355337273ce03660db9fd14482818cc24c99f4e2))
-
-
-
-
-
-## 1.4.8 (2022-01-05)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.7 (2022-01-05)
-
-
-### Bug Fixes
-
-* fix accessibility on storybook ([#1096](https://github.com/vtex/faststore/issues/1096)) ([55805b1](https://github.com/vtex/faststore/commit/55805b1b2cffd111ef64857321c20e0a001a93b2))
-
-
-
-
-
-## 1.4.6 (2022-01-05)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.5 (2022-01-04)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.4 (2022-01-04)
-
-
-### Bug Fixes
-
-* adjust data attributes pattern on multiple components ([#1093](https://github.com/vtex/faststore/issues/1093)) ([ca9172f](https://github.com/vtex/faststore/commit/ca9172fb353cfce7011f9144c1e94ed7e6b73f5f))
-
-
-
-
-
-## 1.4.3 (2022-01-03)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.4.2 (2022-01-03)
-
-
-### Bug Fixes
-
-* **ui:** removing aria-labelledby from payment methods component ([#1092](https://github.com/vtex/faststore/issues/1092)) ([bf4c7a9](https://github.com/vtex/faststore/commit/bf4c7a981c379ffb1777a2fd8cae787f735f7d2d))
-
-
-
-
-
-## 1.4.1 (2022-01-03)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.46 (2021-12-23)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.45 (2021-12-21)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.44 (2021-12-21)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.43 (2021-12-20)
-
-
-### Features
-
-* QuantitySelector component ([#1083](https://github.com/vtex/faststore/issues/1083)) ([6ade6c0](https://github.com/vtex/faststore/commit/6ade6c02b06fdb74ba2cd2978d8ac4bda35672d2))
-
-
-
-
-
-## 1.3.42 (2021-12-20)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.41 (2021-12-20)
-
-
-### Features
-
-* **ui:** Incentive atom ([#1064](https://github.com/vtex/faststore/issues/1064)) ([1b136c7](https://github.com/vtex/faststore/commit/1b136c7d7fc8f2b99259ef1908286713697e03da))
-
-
-
-
-
-## 1.3.40 (2021-12-18)
-
-
-### Features
-
-* **ui:** Link atom ([#1067](https://github.com/vtex/faststore/issues/1067)) ([c49b2dd](https://github.com/vtex/faststore/commit/c49b2ddc31ba4184bed19a8934fbf4d5f0b47a5f))
-
-
-
-
-
-## 1.3.39 (2021-12-17)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.38 (2021-12-16)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.37 (2021-12-15)
-
-
-### Features
-
-* **ui:** Card component ([#1079](https://github.com/vtex/faststore/issues/1079)) ([7f10a5d](https://github.com/vtex/faststore/commit/7f10a5dcec21f7c9d59ba645755fe298e96269df))
-
-
-
-
-
-## 1.3.36 (2021-12-15)
-
-
-### Bug Fixes
-
-* expose JS files only ([#1081](https://github.com/vtex/faststore/issues/1081)) ([e363c12](https://github.com/vtex/faststore/commit/e363c120f22b10da81ceb3e2d8fcc58c1b4665af))
-
-
-
-
-
-## 1.3.35 (2021-12-14)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.34 (2021-12-11)
-
-
-### Bug Fixes
-
-* **docs:** Fix algolia search ([#1078](https://github.com/vtex/faststore/issues/1078)) ([986074f](https://github.com/vtex/faststore/commit/986074f061365d812650a82748ca5a9fc1dac6d5))
-
-
-
-
-
-## 1.3.33 (2021-12-10)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.32 (2021-12-10)
-
-**Note:** Version bump only for package docs
-
-
-
-
-
-## 1.3.31 (2021-12-10)
+## 1.3.31 (2021-12-10)
**Note:** Version bump only for package docs
-
-
-
-
## 1.3.30 (2021-12-10)
**Note:** Version bump only for package docs
-
-
-
-
## 1.3.29 (2021-12-10)
**Note:** Version bump only for package docs
-
-
-
-
## 1.3.28 (2021-12-10)
**Note:** Version bump only for package docs
-
-
-
-
## 1.3.27 (2021-12-10)
-
### Bug Fixes
-* Add Banner Components exportation ([#1072](https://github.com/vtex/faststore/issues/1072)) ([4024104](https://github.com/vtex/faststore/commit/4024104f9804c8762037f03d986a4334af819b3c))
-
-
-
-
+- Add Banner Components exportation ([#1072](https://github.com/vtex/faststore/issues/1072)) ([4024104](https://github.com/vtex/faststore/commit/4024104f9804c8762037f03d986a4334af819b3c))
## 1.3.26 (2021-12-09)
**Note:** Version bump only for package docs
-
-
-
-
## 1.3.25 (2021-12-09)
**Note:** Version bump only for package docs
-
-
-
-
## 1.3.24 (2021-12-09)
-
### Bug Fixes
-* fix UI storybook imports ([#1069](https://github.com/vtex/faststore/issues/1069)) ([e4a2402](https://github.com/vtex/faststore/commit/e4a2402235c60488fde7021bf3200d967af3cb83))
-
-
-
-
+- fix UI storybook imports ([#1069](https://github.com/vtex/faststore/issues/1069)) ([e4a2402](https://github.com/vtex/faststore/commit/e4a2402235c60488fde7021bf3200d967af3cb83))
## 1.3.23 (2021-12-09)
**Note:** Version bump only for package docs
-
-
-
-
## 1.3.22 (2021-12-07)
**Note:** Version bump only for package docs
-
-
-
-
## 1.3.21 (2021-12-07)
-
### Features
-* add docs ([#1058](https://github.com/vtex/faststore/issues/1058)) ([35f3e62](https://github.com/vtex/faststore/commit/35f3e62ae09c350632479742c9ce2c22e8862b23))
+- add docs ([#1058](https://github.com/vtex/faststore/issues/1058)) ([35f3e62](https://github.com/vtex/faststore/commit/35f3e62ae09c350632479742c9ce2c22e8862b23))
diff --git a/apps/docs/babel.config.js b/apps/docs/babel.config.js
index e00595dae7..6752648189 100644
--- a/apps/docs/babel.config.js
+++ b/apps/docs/babel.config.js
@@ -1,3 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
-};
+}
diff --git a/apps/docs/blog/2021-07-05-faststore.md b/apps/docs/blog/2021-07-05-faststore.md
index bf40ec828e..4d443d84ce 100644
--- a/apps/docs/blog/2021-07-05-faststore.md
+++ b/apps/docs/blog/2021-07-05-faststore.md
@@ -7,72 +7,68 @@ hide_table_of_contents: false
Roll out the welcome mat, team, FastStore Release Notes it's here! 🎉
-We are excited to bring the latest key changes on our platform from last June and make sure you're up-to-date with:
+We are excited to bring the latest key changes on our platform from last June and make sure you're up-to-date with:
- Features on point
- Bugs? Not on my watch!
- Improvements to take you to the next level
-- Breaking changes
+- Breaking changes
- Documentation to guide you
- And a special thanks to our folks!
-Our team has prepared thrilling releases which will brighten your day. Lay back, spread the word and let's check it! 🚀
+Our team has prepared thrilling releases which will brighten your day. Lay back, spread the word and let's check it! 🚀
-
## Features 🚀
-- We've added the **Thumbor plugin** so you can integrate `gatsby-plugin-image` with [thumbor](http://thumbor.org/), make your own smart image handling service and
- Thumbor is an open-source image processing service that enables you to process any image on the web.Check out the [documentation](https://github.com/vtex/faststore/blob/master/packages/gatsby-plugin-thumbor/README.md) and get more details on how to use it.
+- We've added the **Thumbor plugin** so you can integrate `gatsby-plugin-image` with [thumbor](http://thumbor.org/), make your own smart image handling service and
+ Thumbor is an open-source image processing service that enables you to process any image on the web.Check out the [documentation](https://github.com/vtex/faststore/blob/master/packages/gatsby-plugin-thumbor/README.md) and get more details on how to use it.
- **Renovate preset configuration:** a preset configuration for Renovate app, so stores can use the same configuration source for their Renovate configuration. https://github.com/vtex/faststore/tree/master/packages/renovate-config
-
- **Price atom:** [#760](https://github.com/vtex/faststore/pull/760): Let's imagine, you want to render some prices, like the following:
- ![Screen Shot 2021-06-11 at 11 57 46](https://user-images.githubusercontent.com/8127610/121706732-48d47180-caac-11eb-8d56-80049b60f46f.png)
-
- With the Price atom, you can now show prices in your storefront. Take a look on the [Price package](https://github.com/vtex/faststore/tree/master/packages/store-ui/src/atoms/Price)
-
-
-- **MDX story:** [#762](https://github.com/vtex/faststore/pull/762): We brought [MDX](https://storybook.js.org/docs/react/writing-docs/mdx), so you can get the best of both worlds: writing documentation with Markdown syntax and embed JSX component blocks on the same document. Check the following example to see how it works:
+ ![Screen Shot 2021-06-11 at 11 57 46](https://user-images.githubusercontent.com/8127610/121706732-48d47180-caac-11eb-8d56-80049b60f46f.png)
+ With the Price atom, you can now show prices in your storefront. Take a look on the [Price package](https://github.com/vtex/faststore/tree/master/packages/store-ui/src/atoms/Price)
+- **MDX story:** [#762](https://github.com/vtex/faststore/pull/762): We brought [MDX](https://storybook.js.org/docs/react/writing-docs/mdx), so you can get the best of both worlds: writing documentation with Markdown syntax and embed JSX component blocks on the same document. Check the following example to see how it works:
- It's an accessible way to collaborate on suggestions or add more information to our components. Easy-peasy, yet powerful!
-
+ It's an accessible way to collaborate on suggestions or add more information to our components. Easy-peasy, yet powerful!
## Bug Fixes 🐛
-- **CI/CD** [#680](https://github.com/vtex/faststore/pull/680): by changing CI/CD it solves two issues on master: building twice the same code and running the CI workflow twice.
+- **CI/CD** [#680](https://github.com/vtex/faststore/pull/680): by changing CI/CD it solves two issues on master: building twice the same code and running the CI workflow twice.
-- **Source products using Intelligent Search** [#738](https://github.com/vtex/faststore/pull/738): previously, to speed up the search for products, it was possible to paginate the search and search the pages in parallel. However, the API would return duplicate products between pages which caused an unreliable build, where consecutive builds would generate a different amount of pages. To fix this issue, we have Intelligent Search (IS).
+- **Source products using Intelligent Search** [#738](https://github.com/vtex/faststore/pull/738): previously, to speed up the search for products, it was possible to paginate the search and search the pages in parallel. However, the API would return duplicate products between pages which caused an unreliable build, where consecutive builds would generate a different amount of pages. To fix this issue, we have Intelligent Search (IS).
- **Handle chunkLoadError** [#771](https://github.com/vtex/faststore/pull/771): After an error, if the page got refreshed way too fast or if the file was not available on the server anymore, webpack would throw a ChunkLoadError, and then you would be redirected to the 500 page. This solves the problem by refreshing the page when a `chunkLoadError` happens on the React tree.
- **Replace on personalized search redirect** [#780](https://github.com/vtex/faststore/pull/780):
-When redirect, use `replace` instead `push` to replace the URL to personalized search.
+ When redirect, use `replace` instead `push` to replace the URL to personalized search.
## Breaking Changes 💥
- **Storybook** [#776](https://github.com/vtex/faststore/pull/776): we're excited to announce the [Store UI](https://storeui.netlify.app/), a store component library for building your next digital experience.
-Make sure to explore it and take a look in [here](https://github.com/vtex/faststore/tree/master/packages/store-ui) to follow the improvements and see how can you contribute.
+ Make sure to explore it and take a look in [here](https://github.com/vtex/faststore/tree/master/packages/store-ui) to follow the improvements and see how can you contribute.
## Improvements ✔️
+
- **`gatsby-plugin-nginx` configurability** [#747](https://github.com/vtex/faststore/pull/747): Now, `gatsby-plugin-nginx` configurability can add custom server block options, add custom http block options, and create redirects with more than one variable.
- **React version** [#753](https://github.com/vtex/faststore/pull/753): with this improvement we upgrade it to add support for React 18.
-- **CONTRIBUTING.md** [#775](https://github.com/vtex/faststore/pull/775): We've added a bot to include the commands to release the application, so [CONTRIBUTING.md](https://github.com/vtex/faststore/blob/master/CONTRIBUTING.MD) doesn't need to do this service from now.
-
+- **CONTRIBUTING.md** [#775](https://github.com/vtex/faststore/pull/775): We've added a bot to include the commands to release the application, so [CONTRIBUTING.md](https://github.com/vtex/faststore/blob/master/CONTRIBUTING.MD) doesn't need to do this service from now.
## Documentation 📑
+
- Move faststore docs to a folder inside Store Framework [#685](https://github.com/vtex/faststore/pull/685) - [documentation](https://github.com/vtex/faststore/blob/master/docs/e2e-testing.md)
- Choosing Static Paths [#791](https://github.com/vtex/faststore/pull/791) - [documentation](https://github.com/vtex/faststore/blob/master/docs/static-paths.md)
## Praises ✨
+
- [@leomp12](https://github.com/leomp12)
- [@cameronbraid](https://github.com/cameronbraid)
diff --git a/apps/docs/blog/2021-08-03-faststore.md b/apps/docs/blog/2021-08-03-faststore.md
index fd3e8ec4f3..15e6b294c8 100644
--- a/apps/docs/blog/2021-08-03-faststore.md
+++ b/apps/docs/blog/2021-08-03-faststore.md
@@ -7,49 +7,49 @@ hide_table_of_contents: false
Gather around, people! FastStore Release Notes are back for the 2nd edition.🎊
-Before we check out what our first-class team has prepared this past month (I really do mean it), Let's take a moment to praise you. Yes, you! You who is bold enough to be part of this transformation with us. Thank you!
+Before we check out what our first-class team has prepared this past month (I really do mean it), Let's take a moment to praise you. Yes, you! You who is bold enough to be part of this transformation with us. Thank you!
-Now, shall we started it? 🚀
+Now, shall we started it? 🚀
-
## Features 🚀
-- **CHANGELOG.MD** [#790](https://github.com/vtex/faststore/pull/790): Keep the changelog up-to-date does not need to be a roadblock in your routine. `CHANGELOG.md` is automatically generated from your commit message. For a better way to create an explicit commit history, the commit merge messages need to follow the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/).
- For example, if your change is about a **fix**, create a commit with the following message:
- ```sh
- fix: describe what you are fixing here
- ```
- The PR title will become the merge commit message and will be used to generate the changelog.
- ![ie-generated-changelog](https://user-images.githubusercontent.com/1753396/123467151-8f56bf80-d5c6-11eb-9bec-acb305b09ac4.png)
+- **CHANGELOG.MD** [#790](https://github.com/vtex/faststore/pull/790): Keep the changelog up-to-date does not need to be a roadblock in your routine. `CHANGELOG.md` is automatically generated from your commit message. For a better way to create an explicit commit history, the commit merge messages need to follow the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/).
+ For example, if your change is about a **fix**, create a commit with the following message:
-- **Product page incremental builds** [#793](https://github.com/vtex/faststore/pull/793): Sourcing data does not need to be painful and bring problems when using Gatsby's incremental builds. Using `gatsby-graphql-toolkit` for sourcing data and using the declarative Gatsby File System API for declaratively create product pages can solve those issues.
+ ```sh
+ fix: describe what you are fixing here
+ ```
- Also, If you want to refresh the products, run the following command to clear the cache with Gatsby's cache:
+ The PR title will become the merge commit message and will be used to generate the changelog.
+ ![ie-generated-changelog](https://user-images.githubusercontent.com/1753396/123467151-8f56bf80-d5c6-11eb-9bec-acb305b09ac4.png)
- ```sh
- yarn clean
+- **Product page incremental builds** [#793](https://github.com/vtex/faststore/pull/793): Sourcing data does not need to be painful and bring problems when using Gatsby's incremental builds. Using `gatsby-graphql-toolkit` for sourcing data and using the declarative Gatsby File System API for declaratively create product pages can solve those issues.
- ```
- Do not hesitate to check out the [Gatsby GraphQL Source Toolkit](https://github.com/gatsbyjs/gatsby-graphql-toolkit#gatsby-graphql-source-toolkit) for more information.
+ Also, If you want to refresh the products, run the following command to clear the cache with Gatsby's cache:
-- **Product view - `gatsby-theme-store`** [##803](https://github.com/vtex/faststore/pull/803): We are one step closer to make `gatsby-theme-store` in `gatsby-plugin-store` since now it removes product view from `gatsby-theme-store` and create basic build blocks to drop shadow on product pages.
+ ```sh
+ yarn clean
+
+ ```
- Also, to understand better about shadowing, see the [shadowing documentation](https://github.com/vtex/faststore/blob/master/docs/shadowing.md).
-
+ Do not hesitate to check out the [Gatsby GraphQL Source Toolkit](https://github.com/gatsbyjs/gatsby-graphql-toolkit#gatsby-graphql-source-toolkit) for more information.
+
+- **Product view - `gatsby-theme-store`** [##803](https://github.com/vtex/faststore/pull/803): We are one step closer to make `gatsby-theme-store` in `gatsby-plugin-store` since now it removes product view from `gatsby-theme-store` and create basic build blocks to drop shadow on product pages.
+ Also, to understand better about shadowing, see the [shadowing documentation](https://github.com/vtex/faststore/blob/master/docs/shadowing.md).
## Bug Fixes 🐛
-- **Using origin vtex** [#797](https://github.com/vtex/faststore/pull/797): No data trust issues around here, folks! To source product changes with the right values, now we use `productOriginVtex` option in search query
+- **Using origin vtex** [#797](https://github.com/vtex/faststore/pull/797): No data trust issues around here, folks! To source product changes with the right values, now we use `productOriginVtex` option in search query
-- **Page size - `gatsby-source-vtex`** [#799](hhttps://github.com/vtex/faststore/pull/799): Weep no more for 404 errors while fetching products: we fix it! Also `gatsby-source-vtex`adds an option to fetch fewer products for testing purposes.
+- **Page size - `gatsby-source-vtex`** [#799](hhttps://github.com/vtex/faststore/pull/799): Weep no more for 404 errors while fetching products: we fix it! Also `gatsby-source-vtex`adds an option to fetch fewer products for testing purposes.
- **Zip code persistence throughout the checkout flow**[#802](https://github.com/vtex/faststore/pull/802): Setting the zip code on the order form requires creating a new address for the user. However, for this use case, the `isDIsposable` field should be set to `true`, otherwise the behaviour is not well defined.
-- **Missing GraphQL error messages**[#804](https://github.com/vtex/faststore/pull/804): An error like the one below does not say much, right?
+- **Missing GraphQL error messages**[#804](https://github.com/vtex/faststore/pull/804): An error like the one below does not say much, right?
![before-error](https://user-images.githubusercontent.com/5691711/124333423-88055800-db6a-11eb-9e5c-f6bfe43a1e8a.png)
@@ -79,6 +79,7 @@ To make search engines understand pagination and keep the page's relevance we re
![final-result](https://user-images.githubusercontent.com/1753396/124824941-611f9b00-df49-11eb-83d7-8108ad251355.png)
## Improvements ✔️
+
**Improve atoms pattern consistency** [#819](https://github.com/vtex/faststore/pull/819): We are always improving [Store UI](https://storeui.netlify.app/) and this time, We have added `ComponentArgTypes` type to improve the typescript check when typing argtypes from components:
![argtypes](https://user-images.githubusercontent.com/15680320/125642773-27945317-6663-4f03-8566-3f04d10b604d.png)
@@ -89,8 +90,8 @@ Any other improvements in atoms pattern consistency? Yes, let's see the followin
- Molecules and Atoms argtypes, to improve typescript errors.
- Checkbox export Prop name to CheckboxProps.
+**Improve cms graphql types generation** [#865](https://github.com/vtex/faststore/pull/865), in other words, it improves graphql type generation for the cms plugin.
-**Improve cms graphql types generation** [#865](https://github.com/vtex/faststore/pull/865), in other words, it improves graphql type generation for the cms plugin.
> This is an architectural only change, no feature on the website should be changed. For this, make sure all content on the website stays the same from master.
For example, we have the following contentType written in Json Schema:
@@ -128,6 +129,7 @@ For example, we have the following contentType written in Json Schema:
```
+
Which will generate the following type on the gatsby's graphql layer:
```sh
@@ -148,6 +150,7 @@ type CmsHomePage = {
```
+
And then query this data on React components by writing the following graphql query:
```sh
@@ -168,11 +171,10 @@ query HomePageQuery {
```
-
## Documentation 📑
-- [How to implement the Search Banner Feature](https://github.com/vtex/faststore/blob/master/docs/how-to-create-banner-search.md) [#812](https://github.com/vtex/faststore/pull/812)
-- Update - [CONTRIBUTING.md](https://github.com/vtex/faststore/blob/master/CONTRIBUTING.MD) [#816](https://github.com/vtex/faststore/pull/816)
+- [How to implement the Search Banner Feature](https://github.com/vtex/faststore/blob/master/docs/how-to-create-banner-search.md) [#812](https://github.com/vtex/faststore/pull/812)
+- Update - [CONTRIBUTING.md](https://github.com/vtex/faststore/blob/master/CONTRIBUTING.MD) [#816](https://github.com/vtex/faststore/pull/816)
Now that you are up-to-date with the release notes, I hope you feel energized to keep up the good work! Make sure to `star` the repo, so you keep your eyes on our next Release Notes.
See you next month 👋
diff --git a/apps/docs/blog/2021-09-01-faststore.md b/apps/docs/blog/2021-09-01-faststore.md
index 47dc8f040e..3651600b3d 100644
--- a/apps/docs/blog/2021-09-01-faststore.md
+++ b/apps/docs/blog/2021-09-01-faststore.md
@@ -1,6 +1,6 @@
---
title: September, 2021
-description: FastStore Release Notes
+description: FastStore Release Notes
tags: [faststore]
hide_table_of_contents: false
---
@@ -13,7 +13,6 @@ our team news for these Release Notes, take a look at our edition's highlights:
-
- 🚀 **Badge component** - create badges on top of your products.
- 💥 **Deprecated folders removed** - Who doesn't like a tidy house?
@@ -23,14 +22,13 @@ Get your birthday hat, and shall we check this edition?
## Features 🚀
- **Select Atom** [#876](https://github.com/vtex/faststore/pull/876): We have added to [Store UI](https://storeui.netlify.app)
-the **Select** atom, which generates a select component, as you can see below.
-![select-atom](https://user-images.githubusercontent.com/67270558/131666437-f7566813-37a5-47dc-bb12-c2f6a248cf36.gif)
+ the **Select** atom, which generates a select component, as you can see below.
+ ![select-atom](https://user-images.githubusercontent.com/67270558/131666437-f7566813-37a5-47dc-bb12-c2f6a248cf36.gif)
To check other options and see the code, go to [Select Atom on Store UI](https://storeui.netlify.app/?path=/docs/atoms-select--default-select).
-
- **Badge component** [#894](https://github.com/vtex/faststore/pull/894): a badge component is a great alternative when you want to create a **discount badge (or any highlighted property)** and add them on top of
-your product.
+ your product.
For example, a discount badge on top of some ProductSummary components:
@@ -38,7 +36,7 @@ your product.
Explore more of this component in [Store UI](https://storeui.netlify.app/?path=/docs/atoms-badge--badge) and the [FastStore repo](https://github.com/vtex/faststore/tree/master/packages/store-ui/src/atoms/Badge).
-- **Icon Button** [#900](https://github.com/vtex/faststore/pull/900): one more feature for your store is the Icon Button, which adds a **Shopping cart icon** to it.
+- **Icon Button** [#900](https://github.com/vtex/faststore/pull/900): one more feature for your store is the Icon Button, which adds a **Shopping cart icon** to it.
Take a look at the [Store UI IconButton](https://storeui.netlify.app/?path=/docs/molecules-iconbutton--default) and also the [repo](https://github.com/vtex/faststore/tree/master/packages/store-ui/src/molecules/IconButton).
@@ -51,11 +49,9 @@ your product.
With this fix it tracks the filename of the query and only warns when two queries of the same name in different files are created.
- **Spread routes support - `gatsby-plugin-nginx`** [#895](hhttps://github.com/vtex/faststore/pull/895): Before any page created was available at, and only at `/:slug/`. If the user entered in `/:slug` it will receive a 404.
-Now, we make the route `/{StoreCollection.slug}/`, for example, also respond at `/:slug`. Check more details in the [Spread routes support PR](https://github.com/vtex/faststore/pull/895).
-
-- **Preventing stores from building - `gatsby-plugin-cms`**[#921](https://github.com/vtex/faststore/pull/921): Stores no longer break the build when remote nodes are null.
-
+ Now, we make the route `/{StoreCollection.slug}/`, for example, also respond at `/:slug`. Check more details in the [Spread routes support PR](https://github.com/vtex/faststore/pull/895).
+- **Preventing stores from building - `gatsby-plugin-cms`**[#921](https://github.com/vtex/faststore/pull/921): Stores no longer break the build when remote nodes are null.
## Breaking Changes 💥
@@ -63,18 +59,16 @@ Now, we make the route `/{StoreCollection.slug}/`, for example, also respond at
Also, it reduces the store-ui size to 10kb maximum.
-
-
## Improvements ✔️
+
- **Upgrade Gatsby** [#887](https://github.com/vtex/faststore/pull/887): Upgrading gatsby on each store could lead to some errors on `theme-store` and `plugin-performance`. Now, the packages are fixed while upgrading gatsby.
- **Remove `gatsby-config.js` from `theme-store`** [#888](https://github.com/vtex/faststore/pull/888):
-To use different styling systems on different stores, we have removed `gatsby-config` from theme-store, virtually making it a plugin.
+ To use different styling systems on different stores, we have removed `gatsby-config` from theme-store, virtually making it a plugin.
- **Upgrade Storybook version** [#905](https://github.com/vtex/faststore/pull/905): Upgrades are always welcome, especially when we are talking about bugs! To fix bugs in some storybook versions we have to upgrade the package version.
-
-That's all, folks, for our Release Notes. It should be a cakewalk to keep up the good work!
+That's all, folks, for our Release Notes. It should be a cakewalk to keep up the good work!
Make sure to `star` the repo so you keep your eyes on our next Release Notes.
See you next month 👋🚀
diff --git a/apps/docs/blog/2021-10-08-faststore.md b/apps/docs/blog/2021-10-08-faststore.md
index da29fb5f4c..0b529c87e3 100644
--- a/apps/docs/blog/2021-10-08-faststore.md
+++ b/apps/docs/blog/2021-10-08-faststore.md
@@ -1,6 +1,6 @@
---
title: October, 2021
-description: FastStore Release Notes
+description: FastStore Release Notes
tags: [faststore]
hide_table_of_contents: false
---
@@ -9,49 +9,45 @@ We've created a new plugin to source products and collections into the Gatsby's
-## Features
+## Features
- 🚀 **Send and receive custom events via the Analytics module** [#937](https://github.com/vtex/faststore/pull/937)
-
- We've added the `UnknownEvent` event type to [the Analytics module](https://github.com/vtex/faststore/tree/master/packages/store-sdk/docs/analytics)\ This is a minimal event sent via the `sendAnalyticsEvent` function, which can be overwritten by other event types, such as [pre-purchase interactions](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag#pre-purchase_interactions).
- - Check out the details on how to manage analytics events in [the Analytics module documentation](https://github.com/vtex/faststore/tree/master/packages/store-sdk/docs/analytics) and [the Google Analytics 4 (GA4) data model](https://developers.google.com/analytics/devguides/collection/ga4/reference/events).
+ We've added the `UnknownEvent` event type to [the Analytics module](https://github.com/vtex/faststore/tree/master/packages/store-sdk/docs/analytics)\ This is a minimal event sent via the `sendAnalyticsEvent` function, which can be overwritten by other event types, such as [pre-purchase interactions](https://developers.google.com/analytics/devguides/collection/ga4/ecommerce?client_type=gtag#pre-purchase_interactions).
-- 🚀 **Source store plugin** [#944](https://github.com/vtex/faststore/pull/944)
+ - Check out the details on how to manage analytics events in [the Analytics module documentation](https://github.com/vtex/faststore/tree/master/packages/store-sdk/docs/analytics) and [the Google Analytics 4 (GA4) data model](https://developers.google.com/analytics/devguides/collection/ga4/reference/events).
- We've added the plugin `gatsby-source-store` to source products and collections into the Gatsby's GraphQL layer. This plugin replaces the `gatsby-source-vtex` plugin and works with the store-api GraphQL schema.
+- 🚀 **Source store plugin** [#944](https://github.com/vtex/faststore/pull/944)
- - Learn how to install and use the `gatsby-source-store` plugin [ here](https://github.com/vtex/faststore/tree/master/packages/gatsby-source-store).
+ We've added the plugin `gatsby-source-store` to source products and collections into the Gatsby's GraphQL layer. This plugin replaces the `gatsby-source-vtex` plugin and works with the store-api GraphQL schema.
+ - Learn how to install and use the `gatsby-source-store` plugin [ here](https://github.com/vtex/faststore/tree/master/packages/gatsby-source-store).
- 🚀 **Modal Molecule** [#957](https://github.com/vtex/faststore/pull/957)
- Use the [Modal Molecule](https://storeui.netlify.app/?path=/docs/molecules-modal--modal) to create alert windows in your storefront.
-
- ![gif-modal](https://user-images.githubusercontent.com/67270558/136008113-42f3722d-f82d-4b3f-bbe7-eaee04cb927f.gif)
+ Use the [Modal Molecule](https://storeui.netlify.app/?path=/docs/molecules-modal--modal) to create alert windows in your storefront.
+ ![gif-modal](https://user-images.githubusercontent.com/67270558/136008113-42f3722d-f82d-4b3f-bbe7-eaee04cb927f.gif)
- 🚀 **GraphQL Code Generator** [#960](https://github.com/vtex/faststore/pull/960)
- We've added the [GraphQL Code Generator](https://www.graphql-code-generator.com/) CLI to automatically generate TypeScript typings for [`store-api`](https://github.com/vtex/faststore/tree/master/packages/store-api).
+ We've added the [GraphQL Code Generator](https://www.graphql-code-generator.com/) CLI to automatically generate TypeScript typings for [`store-api`](https://github.com/vtex/faststore/tree/master/packages/store-api).
- 🚀 **Spinner atom** [#961](https://github.com/vtex/faststore/pull/961)
- Now, you can use the [Spinner atom](https://storeui.netlify.app/?path=/story/getting-started-welcome--welcome) as a loading button component.
+ Now, you can use the [Spinner atom](https://storeui.netlify.app/?path=/story/getting-started-welcome--welcome) as a loading button component.
- ![spinner-atom](https://user-images.githubusercontent.com/67270558/136010637-02d1608f-2de6-48f2-8678-50d9275cc390.gif)
+ ![spinner-atom](https://user-images.githubusercontent.com/67270558/136010637-02d1608f-2de6-48f2-8678-50d9275cc390.gif)
-- 🚀 **Cart component with state validation** [#963](https://github.com/vtex/faststore/pull/963)
+- 🚀 **Cart component with state validation** [#963](https://github.com/vtex/faststore/pull/963)
-We modified the Cart APIs to provide a cart with state validation. The browser now has its cart state, which is validated by the backend. The backend signalizes if the frontend should be modified or not. For example, if the browser's state is not valid, containing a product currently unavailable at your store, the backend will send the updated cart state to the frontend.
+We modified the Cart APIs to provide a cart with state validation. The browser now has its cart state, which is validated by the backend. The backend signalizes if the frontend should be modified or not. For example, if the browser's state is not valid, containing a product currently unavailable at your store, the backend will send the updated cart state to the frontend.
- 🚀 **Storybook theme** [#979](https://github.com/vtex/faststore/pull/979)
- Besides adding a new logo and theme to the Store UI Storybook, we also synced the [FastStore CHANGELOG.md](https://github.com/vtex/faststore/blob/master/CHANGELOG.md) with the [Storybook Changelog](https://storeui.netlify.app/?path=/story/releases-changelog--page).
-
-
+ Besides adding a new logo and theme to the Store UI Storybook, we also synced the [FastStore CHANGELOG.md](https://github.com/vtex/faststore/blob/master/CHANGELOG.md) with the [Storybook Changelog](https://storeui.netlify.app/?path=/story/releases-changelog--page).
-## Bug Fixes
+## Bug Fixes
- 🐛 **Developing a store in an account without the CMS Pages module** [#969](https://github.com/vtex/faststore/pull/969) - You can now develop on a store that does not have the CMS Pages module yet.
diff --git a/apps/docs/blog/2021-11-18-faststore.md b/apps/docs/blog/2021-11-18-faststore.md
index 0f340f6832..c566ec8d63 100644
--- a/apps/docs/blog/2021-11-18-faststore.md
+++ b/apps/docs/blog/2021-11-18-faststore.md
@@ -1,6 +1,6 @@
---
title: November, 2021
-description: FastStore Release Notes
+description: FastStore Release Notes
tags: [faststore]
hide_table_of_contents: false
---
@@ -9,48 +9,45 @@ New Accordion, Breadcrumb, and Table components now available in the FastStore U
-## Features 🚀
+## Features 🚀
- **New component: Accordion molecule** [(#985)](https://github.com/vtex/faststore/pull/985)
-We have added the [Accordion component](https://faststoreui.netlify.app/?path=/docs/molecules-accordion--multiple-and-collapsible) to the FastStore UI. The Accordion component hides its content by default.
+ We have added the [Accordion component](https://faststoreui.netlify.app/?path=/docs/molecules-accordion--multiple-and-collapsible) to the FastStore UI. The Accordion component hides its content by default.
![accordion](https://user-images.githubusercontent.com/67270558/139713271-b44c5724-c65e-4030-b660-a172410b6034.gif)
-
- **New component: Breadcrumb molecule** [(#986)](https://github.com/vtex/faststore/pull/986)
-We have added the [Breadcrumb Molecule](https://faststoreui.netlify.app/?path=/docs/molecules-breadcrumb--breadcrumb) to the FastStore UI. Use it to create secondary navigation and help users identify their location in the store.
+ We have added the [Breadcrumb Molecule](https://faststoreui.netlify.app/?path=/docs/molecules-breadcrumb--breadcrumb) to the FastStore UI. Use it to create secondary navigation and help users identify their location in the store.
![breadcrumb](https://user-images.githubusercontent.com/67270558/139714982-2400c384-e4b6-414b-b401-686830b85589.png)
- **New component: Table molecule** [(#987)](https://github.com/vtex/faststore/pull/987)
-We have added the [Table molecule](https://faststoreui.netlify.app/?path=/docs/molecules-table--table) to the FastStore UI.
+ We have added the [Table molecule](https://faststoreui.netlify.app/?path=/docs/molecules-table--table) to the FastStore UI.
![table](https://user-images.githubusercontent.com/67270558/140552170-56f8460e-1023-49c0-b05e-f8a500390757.png)
## Bug fixes 🐛
- **Browser support** [(#984)](https://github.com/vtex/faststore/pull/984)
-FastStore 0.x now supports older browsers versions.
-
-- **Search Input Accessibility issues** [(#1000)](https://github.com/vtex/faststore/pull/1000)
-We have added `aria-labels` to the input field and button of the [Search Input component](https://faststoreui.netlify.app/?path=/docs/molecules-searchinput--default) to solve [accessibility issues](https://www.a11yproject.com/checklist/).
+ FastStore 0.x now supports older browsers versions.
+- **Search Input Accessibility issues** [(#1000)](https://github.com/vtex/faststore/pull/1000)
+ We have added `aria-labels` to the input field and button of the [Search Input component](https://faststoreui.netlify.app/?path=/docs/molecules-searchinput--default) to solve [accessibility issues](https://www.a11yproject.com/checklist/).
## Improvements ✔️
-- **Add a11y tests for all atoms** [(#988)](https://github.com/vtex/faststore/pull/988)
-We have added accessibility tests for atoms of [FastStore UI](https://faststoreui.netlify.app/?path=/story/getting-started-welcome--welcome)
+- **Add a11y tests for all atoms** [(#988)](https://github.com/vtex/faststore/pull/988)
+ We have added accessibility tests for atoms of [FastStore UI](https://faststoreui.netlify.app/?path=/story/getting-started-welcome--welcome)
- **Add a11y tests for all molecules** [(#992)](https://github.com/vtex/faststore/pull/992)
-We have added accessibility tests for molecules of [FastStore UI](https://faststoreui.netlify.app/?path=/story/getting-started-welcome--welcome).
-
- **Accordion doc** [(#994)](https://github.com/vtex/faststore/pull/994)
-We have improved the Storybook doc to show more information about the components that compose the [Accordion](https://faststoreui.netlify.app/?path=/docs/molecules-accordion--multiple-and-collapsible).
+ We have added accessibility tests for molecules of [FastStore UI](https://faststoreui.netlify.app/?path=/story/getting-started-welcome--welcome).
+ **Accordion doc** [(#994)](https://github.com/vtex/faststore/pull/994)
+ We have improved the Storybook doc to show more information about the components that compose the [Accordion](https://faststoreui.netlify.app/?path=/docs/molecules-accordion--multiple-and-collapsible).
## Breaking Changes 💥
- **Lighthouse CI updated: Changes on performance score and Lighthouse report**
-We have updated the Lighthouse CI to the [version 8 of Google Lighthouse](https://www.debugbear.com/blog/lighthouse-v8) that can reflect on score variations in Lighthouse CI of Pull Requests.
+ We have updated the Lighthouse CI to the [version 8 of Google Lighthouse](https://www.debugbear.com/blog/lighthouse-v8) that can reflect on score variations in Lighthouse CI of Pull Requests.
From now on, the overall score of **`Cumulative Shift Layout` and `Total Blocking Time` have increased in importance**, and the **deprioritized** metrics are **`First Contentful Paint`, `Speed Index`, and `Time to Interactive`.**
diff --git a/apps/docs/blog/2021-12-22-faststore.md b/apps/docs/blog/2021-12-22-faststore.md
index 057f16c959..ea015d8cef 100644
--- a/apps/docs/blog/2021-12-22-faststore.md
+++ b/apps/docs/blog/2021-12-22-faststore.md
@@ -1,6 +1,6 @@
---
title: December, 2021
-description: FastStore Release Notes
+description: FastStore Release Notes
tags: [faststore]
hide_table_of_contents: false
---
@@ -11,16 +11,16 @@ New FastStore Documentation Portal and enhanced contributing processes for FastS
-## General
+## General
- 🎉 **New FastStore Documentation Portal**. - [#1061](https://github.com/vtex/faststore/pull/1061)
-
- The first iteration of the FastStore Documentation Portal is now available at [https://faststore.dev](https://faststore.dev). Send feedback and open documentation requests via [GitHub issues](https://github.com/vtex/faststore/issues/new/choose). *Bear in mind that this is still a work in progress.*
+
+ The first iteration of the FastStore Documentation Portal is now available at [https://faststore.dev](https://faststore.dev). Send feedback and open documentation requests via [GitHub issues](https://github.com/vtex/faststore/issues/new/choose). _Bear in mind that this is still a work in progress._
## FastStore UI
### Label
-
+
- 🎉 **New [Label](/reference/ui/atoms/label) component.** - [#1001](https://github.com/vtex/faststore/pull/1001)
Use the `Label` component to identify text fields, checkboxes, radio buttons, and drop-down menus.
@@ -30,7 +30,7 @@ New FastStore Documentation Portal and enhanced contributing processes for FastS
### Alert
-- 🎉 **New [Alert](/reference/ui/molecules/alert) component.** - [#1020](https://github.com/vtex/faststore/pull/1020)
+- 🎉 **New [Alert](/reference/ui/molecules/alert) component.** - [#1020](https://github.com/vtex/faststore/pull/1020)
Use the `Alert` component to display short messages related to the behavior of a system, feature or page.
```tsx live
@@ -38,106 +38,107 @@ New FastStore Documentation Portal and enhanced contributing processes for FastS
const styles = {
warning: {
backgroundColor: '#fff2d4',
- color: "#eea236",
- borderRadius: "0.5rem",
- padding: "1rem"
+ color: '#eea236',
+ borderRadius: '0.5rem',
+ padding: '1rem',
},
}
return (
-
-
- } />
-
- This is an example of how you can use the Alert component along with icons!
-
-
-
+
+
+ } />
+
+ This is an example of how you can use the Alert component along with
+ icons!
+
+
+
)
}
```
### PaymentMethods
-- 🎉 **New [`PaymentMethods`](/reference/ui/molecules/PaymentMethods) component.** - [#1020](https://github.com/vtex/faststore/pull/1020)
+- 🎉 **New [`PaymentMethods`](/reference/ui/molecules/PaymentMethods) component.** - [#1020](https://github.com/vtex/faststore/pull/1020)
Use the `PaymentMethods` component to display the logos of the available payment options in a store.
```tsx live
function Component() {
const VisaCard = () => (
)
const MasterCard = () => (
)
const AmericanExpressCard = () => (
)
const MaestroCard = () => (
)
const EloCard = () => (
)
const HiperCard = () => (
)
const PayPal = () => (
)
const DinersClub = () => (
)
return (
-
+
@@ -153,11 +154,11 @@ New FastStore Documentation Portal and enhanced contributing processes for FastS
### RadioGroup
-- 🎉 **New [`RadioGroup`](/reference/ui/molecules/RadioGroup) component.** - [#1033](https://github.com/vtex/faststore/pull/1033)
+- 🎉 **New [`RadioGroup`](/reference/ui/molecules/RadioGroup) component.** - [#1033](https://github.com/vtex/faststore/pull/1033)
Use the `RadioGroup` component to allow users to select a single option from a list of two or more mutually exclusive options.
```tsx live
- function Component () {
+ function Component() {
const [option, setOption] = useState('radio-1')
return (
@@ -167,39 +168,38 @@ New FastStore Documentation Portal and enhanced contributing processes for FastS
onChange={(v) => setOption(v.currentTarget.value)}
>
- Radio 1
+ Radio 1
- Radio 2
+ Radio 2
)
}
```
-
### Contributing
- ✨ **Improved [FastStore UI Storybook](https://faststoreui.netlify.app/) with web accessibility checks for components.** - [#1036](https://github.com/vtex/faststore/pull/1036)
-
- [FastStore UI Storybook](https://faststoreui.netlify.app/) now has a new tab called `Accessibility` that helps developers test components' compliance with web accessibility standards.
+
+ [FastStore UI Storybook](https://faststoreui.netlify.app/) now has a new tab called `Accessibility` that helps developers test components' compliance with web accessibility standards.
- ✨ **Enhanced process to create components in the FastStore UI.** - [#1039](https://github.com/vtex/faststore/pull/1039)
- If you are developing new components for the FastStore UI, just run `yarn generate-ui-component` in the [FastStore project](https://github.com/vtex/faststore), give a name to your component and answer which component type you are developing to automatically create all the basic files your component will need.
+ If you are developing new components for the FastStore UI, just run `yarn generate-ui-component` in the [FastStore project](https://github.com/vtex/faststore), give a name to your component and answer which component type you are developing to automatically create all the basic files your component will need.
- ![Contributing](https://vtexhelp.vtexassets.com/assets/docs/src/yarn-generate___8bca378fc167c505fa09145a2eee80ca.gif)
-
- *For more information, please refer to our [Contribution guide](https://github.com/vtex/faststore/blob/master/CONTRIBUTING.MD#creating-components-on-the-faststoreui).*
+ ![Contributing](https://vtexhelp.vtexassets.com/assets/docs/src/yarn-generate___8bca378fc167c505fa09145a2eee80ca.gif)
+
+ _For more information, please refer to our [Contribution guide](https://github.com/vtex/faststore/blob/master/CONTRIBUTING.MD#creating-components-on-the-faststoreui)._
## FastStore API
### VTEX Platform
-- 🐛 **Fix SKU unavailability issue.** - [#1014](https://github.com/vtex/faststore/pull/1014)
-
+- 🐛 **Fix SKU unavailability issue.** - [#1014](https://github.com/vtex/faststore/pull/1014)
+
The checkout process is no longer interrupted when an SKU has sellers that are not available on the current sales channel.
- 🐛 **Fix facets selection.** - [#1026](https://github.com/vtex/faststore/pull/1026)
-
- Faceted search now accepts multiple selection.
\ No newline at end of file
+
+ Faceted search now accepts multiple selection.
diff --git a/apps/docs/blog/2022-02-04-faststore.md b/apps/docs/blog/2022-02-04-faststore.md
index 054b0311e0..f8a39b6a31 100644
--- a/apps/docs/blog/2022-02-04-faststore.md
+++ b/apps/docs/blog/2022-02-04-faststore.md
@@ -1,9 +1,10 @@
---
title: January, 2022
-description: FastStore Release Notes
+description: FastStore Release Notes
tags: [faststore]
hide_table_of_contents: false
---
+
# January 2022
New Incentive, Link, Card and QuantitySelector components now available in the FastStore UI. Also, new Platform integration, VTEX Headless CMS and Security guides.
@@ -11,17 +12,21 @@ New Incentive, Link, Card and QuantitySelector components now available in the F
## FastStore UI
-### Incentive
+
+### Incentive
+
- 🎉 **New [Incentive](https://faststore.dev/reference/ui/atoms/Incentive) atom** - [#1064](https://github.com/vtex/faststore/pull/1064) Use the `Incentive` component to display a trust badge for your store’s website.
![Incentive](https://user-images.githubusercontent.com/67270558/152564764-c5fc9793-1b5c-4777-8749-8497da862303.svg)
+### Link
-### Link
- 🎉 **New [Link](https://faststore.dev/reference/ui/atoms/Link) atom** - [#1067](https://github.com/vtex/faststore/pull/1067) Use the `Link` component to display a hyperlink as any HTML tag.
![link](https://user-images.githubusercontent.com/67270558/152562969-ed41b7a9-babb-482b-9007-a34832533439.gif)
+
### Card
+
- 🎉 **New [Card](https://faststore.dev/reference/ui/molecules/Card) organism** - [#1079](https://github.com/vtex/faststore/pull/1079) Use the `Card` component to display summarized information about a product.
![Card](https://user-images.githubusercontent.com/67270558/152563513-5dff3501-a385-4fd5-a09b-4336499b424a.svg)
@@ -32,25 +37,22 @@ New Incentive, Link, Card and QuantitySelector components now available in the F
![QuantitySelector](https://user-images.githubusercontent.com/67270558/152564074-5a9b366d-8901-4cfc-b310-d73e897979d5.gif)
-
- 🎉 **Add missing components.** - [#1063](https://github.com/vtex/faststore/pull/1063)
-`Breadcrumb`, `LoadingButton`, `PriceRange`, `RadioGroup` components are now exported by @faststore/ui.
+ `Breadcrumb`, `LoadingButton`, `PriceRange`, `RadioGroup` components are now exported by @faststore/ui.
### Badge
- ✨ **Add `...otherProps` to the [`Badge` component](https://faststore.dev/reference/ui/atoms/Badge)** - [#1085](https://github.com/vtex/faststore/pull/1085) Other props can now be passed on the Badge component.
-### Radio
-
-- 🐛 **Fix FastStore UI imports** - [#1069](https://github.com/vtex/faststore/pull/1069)
-The `RadioGroup` and `RadioOption` components are now correctly imported in the UI.
+### Radio
+- 🐛 **Fix FastStore UI imports** - [#1069](https://github.com/vtex/faststore/pull/1069)
+ The `RadioGroup` and `RadioOption` components are now correctly imported in the UI.
### Payment Methods
-- 🐛 **Removing aria-labelledby from payment methods component** - [#1092](https://github.com/vtex/faststore/pull/1092)
-The `PaymentMethods` component is no longer returning an accessibility error on [FastStore UI](https://faststoreui.netlify.app/?path=/story/molecules-paymentmethods--payment-methods).
-
+- 🐛 **Removing aria-labelledby from payment methods component** - [#1092](https://github.com/vtex/faststore/pull/1092)
+ The `PaymentMethods` component is no longer returning an accessibility error on [FastStore UI](https://faststoreui.netlify.app/?path=/story/molecules-paymentmethods--payment-methods).
### Accessibility
@@ -58,89 +60,85 @@ The `PaymentMethods` component is no longer returning an accessibility error on
### AccordionItem
-- ✨ **Add `prefixId` attribute to [AccordionItem](https://faststore.dev/reference/ui/molecules/Accordion#accordionitem)** - [#1118](https://github.com/vtex/faststore/pull/1118) The `prefixId` attribute, avoids the problem of having two Accordion IDs in the same page.
-
+- ✨ **Add `prefixId` attribute to [AccordionItem](https://faststore.dev/reference/ui/molecules/Accordion#accordionitem)** - [#1118](https://github.com/vtex/faststore/pull/1118) The `prefixId` attribute, avoids the problem of having two Accordion IDs in the same page.
### Starters
- ✨ **Update Starter Library** - [#1133](https://github.com/vtex/faststore/pull/1133) The Starter Library has new [Base Store](https://faststore.dev/starters/base) images.
-
### Contributing
-
- 🎉 **New [issue templates](https://github.com/vtex/faststore/issues/new/choose)** - [#1086](https://github.com/vtex/faststore/pull/1086)
-Now you can use the templates to open issues or describe the proposed changes in your pull requests. For more info, refer to our *[Contribution guide](https://github.com/vtex/faststore/blob/master/CONTRIBUTING.MD#creating-pull-requests).*
+ Now you can use the templates to open issues or describe the proposed changes in your pull requests. For more info, refer to our _[Contribution guide](https://github.com/vtex/faststore/blob/master/CONTRIBUTING.MD#creating-pull-requests)._
## FastStore SDK
+
### Analytics
-- ✨ **Add `item` generics to analytics events** - [#1101](https://github.com/vtex/faststore/pull/1101) With the `item` property, users can control over a variety of types rather than a single one. This allows users to add extra properties inside an item.
+
+- ✨ **Add `item` generics to analytics events** - [#1101](https://github.com/vtex/faststore/pull/1101) With the `item` property, users can control over a variety of types rather than a single one. This allows users to add extra properties inside an item.
## FastStore API
+
### VTEX Platform
- 🎉 **Add Sales channel to product query** - [#1108](https://github.com/vtex/faststore/pull/1108)
-The `salesChannel` is now available in the product query.
+ The `salesChannel` is now available in the product query.
-- 🐛 **Fix JS files exposure** - [#1081](https://github.com/vtex/faststore/pull/1081)
-This fix makes the `graphql-utils` package compatible with other frameworks.
+- 🐛 **Fix JS files exposure** - [#1081](https://github.com/vtex/faststore/pull/1081)
+ This fix makes the `graphql-utils` package compatible with other frameworks.
-- 🐛 **Fix ordering of breadcrumbList** - [#1094](https://github.com/vtex/faststore/pull/1094)
-The `categoryTrees` of the Breadcrumb component is now reversed and displaying the right category and subcategories in the store.
+- 🐛 **Fix ordering of breadcrumbList** - [#1094](https://github.com/vtex/faststore/pull/1094)
+ The `categoryTrees` of the Breadcrumb component is now reversed and displaying the right category and subcategories in the store.
-- 🐛 **Fix SKU loader** - [#1100](https://github.com/vtex/faststore/pull/1100)
-The SKU `dataLoader` algorithm is now fixed and can avoid potential errors, such as the *Could not find SKU for product* message.
+- 🐛 **Fix SKU loader** - [#1100](https://github.com/vtex/faststore/pull/1100)
+ The SKU `dataLoader` algorithm is now fixed and can avoid potential errors, such as the _Could not find SKU for product_ message.
-- 🐛 **Fix Breadcrumb data on collection pages** - [#1104](https://github.com/vtex/faststore/pull/1104)
-Breadcrumb lists no longer return empty, now the catalog data fills the Breadcrumb information.
+- 🐛 **Fix Breadcrumb data on collection pages** - [#1104](https://github.com/vtex/faststore/pull/1104)
+ Breadcrumb lists no longer return empty, now the catalog data fills the Breadcrumb information.
-- 🐛 **Fix redirect to external pages** - [#1114](https://github.com/vtex/faststore/pull/1114)
-The `redirect.csv` file now allows redirecting to an external page.
+- 🐛 **Fix redirect to external pages** - [#1114](https://github.com/vtex/faststore/pull/1114)
+ The `redirect.csv` file now allows redirecting to an external page.
-- 🐛 **Fix unfiltered allCollections query** - [#1131](https://github.com/vtex/faststore/pull/1131)
-The collection query no longer opens to many requests to fetch categories, brands, and landing pages, since the collection field resolver respects the first and after parameters to not open to many requests.
+- 🐛 **Fix unfiltered allCollections query** - [#1131](https://github.com/vtex/faststore/pull/1131)
+ The collection query no longer opens to many requests to fetch categories, brands, and landing pages, since the collection field resolver respects the first and after parameters to not open to many requests.
## VTEX Headless CMS
- ✨ **fetch content by ID using REST API from CMS for preview** - [#1120](https://github.com/vtex/faststore/pull/1120) Now the `gatsby-plugin-cms` receives `webhookBody` params, fetch the values on the CMS API and return it to preview on webOps.
-## Documentation
+## Documentation
- 📑 **New SDK Search reference** - [#1065](https://github.com/vtex/faststore/pull/1065)
-Check out the new [`Search` SDK](https://faststore.dev/reference/sdk/search) module documentation and learn how to increase product discoverability by implementing a faceted search in your store.
+ Check out the new [`Search` SDK](https://faststore.dev/reference/sdk/search) module documentation and learn how to increase product discoverability by implementing a faceted search in your store.
- 📑 **Updated the [Quickstart documentation](https://faststore.dev/quickstart#step-3-configuring-your-project-settings)** - [#1066](https://github.com/vtex/faststore/pull/1066) Now you configure your FastStore project settings in the `store.config.js` file, an easy way to set up the repo without creating environment variables.
- 📑 **New FastStore FAQ** - [#1068](https://github.com/vtex/faststore/pull/1068)
-Check out the [Frequently Asked Questions on FastStore Portal](https://faststore.dev/faq).
+ Check out the [Frequently Asked Questions on FastStore Portal](https://faststore.dev/faq).
- 📑 **New Starters Library** - [#1065](https://github.com/vtex/faststore/pull/1066)
-Check out the new [Starter Library](https://faststore.dev/starters) and quickly start your FastStore website with the templates.
+ Check out the new [Starter Library](https://faststore.dev/starters) and quickly start your FastStore website with the templates.
- 📑 **New SDK Cart documentation** - [#1095](https://github.com/vtex/faststore/pull/1095)
-Check out the new [SDK Card documentation](https://faststore.dev/reference/sdk/cart) and start managing your store’s shopping cart.
-
+ Check out the new [SDK Card documentation](https://faststore.dev/reference/sdk/cart) and start managing your store’s shopping cart.
- 📑 **New VTEX IO WebOps Secrets guides** - [#1105](https://github.com/vtex/faststore/pull/1105)
-Check out the new [Security documentation](https://faststore.dev/how-to-guides/webops/security) and learn how to use the Secrets API. Use it to hold confidential data and avoid exposing sensitive data in your FastStore code..
+ Check out the new [Security documentation](https://faststore.dev/how-to-guides/webops/security) and learn how to use the Secrets API. Use it to hold confidential data and avoid exposing sensitive data in your FastStore code..
- 📑 **New VTEX Headless CMS documentation** - [#1111](https://github.com/vtex/faststore/pull/1111) Check out the new track for [VTEX Headless CMS](https://faststore.dev/tutorials/cms-overview) and learn how to integrate your FastStore project with VTEX Headless CMS, our preferred solution for content management.
- 📑 **New Migrating from gatsby-plugin-cms to gatsby-source-cms guide** - [#1126](https://github.com/vtex/faststore/pull/1126)
-Check out the new **[Migrating from gatsby-plugin-cms to gatsby-source-cms guide](https://faststore.dev/how-to-guides/cms/vtex-headless-cms/Migrating%20from%20gatsby-plugin-cms%20to%20gatsby-source-cms)** and learn how to migrate to the newer `gatsby-source-cms` plugin that uses a dedicated API to fetch the content from the VTEX Headless CMS. Also it lets you use the Gatsby Preview Server to build and preview your pages before publishing them.
-
+ Check out the new **[Migrating from gatsby-plugin-cms to gatsby-source-cms guide](https://faststore.dev/how-to-guides/cms/vtex-headless-cms/Migrating%20from%20gatsby-plugin-cms%20to%20gatsby-source-cms)** and learn how to migrate to the newer `gatsby-source-cms` plugin that uses a dedicated API to fetch the content from the VTEX Headless CMS. Also it lets you use the Gatsby Preview Server to build and preview your pages before publishing them.
- 📑 **New on VTEX Platform integration - Hosting a FastStore + VTEX website** - [#1129](https://github.com/vtex/faststore/pull/1129)
-Check out the new **[Hosting a FastStore + VTEX website](https://faststore.dev/how-to-guides/cms/vtex-headless-cms/Migrating%20from%20gatsby-plugin-cms%20to%20gatsby-source-cms)** guide and learn how to integrate your FastStore storefront project with VTEX, how to make it publicly available to end-users and have the VTEX Checkout functioning in your store.
+ Check out the new **[Hosting a FastStore + VTEX website](https://faststore.dev/how-to-guides/cms/vtex-headless-cms/Migrating%20from%20gatsby-plugin-cms%20to%20gatsby-source-cms)** guide and learn how to integrate your FastStore storefront project with VTEX, how to make it publicly available to end-users and have the VTEX Checkout functioning in your store.
- 📑 **New on VTEX Platform integration - Integrating VTEX login** - [#1132](https://github.com/vtex/faststore/pull/1132)
-Check out the new **[Integrating VTEX login](https://faststore.dev/how-to-guides/platform-integration/vtex/integrating-the-vtex-login)** guide and learn how to integrate the **VTEX Login** with your **FastStore** project.
-
+ Check out the new **[Integrating VTEX login](https://faststore.dev/how-to-guides/platform-integration/vtex/integrating-the-vtex-login)** guide and learn how to integrate the **VTEX Login** with your **FastStore** project.
## Internal
- ✨ **Auto generate reference documentation for FastStore UI components with `react-docgen-typescript` plugin** - [#1070](https://github.com/vtex/faststore/pull/1070)
- 🎉 **Send feedback for any documentation available on [FastStore Portal](https://faststore.dev/).** - [#1097](https://github.com/vtex/faststore/pull/1097)
-To submit the feedback, look for *Was this page helpful?* at the end of any documentation on the Portal.
-
+ To submit the feedback, look for _Was this page helpful?_ at the end of any documentation on the Portal.
diff --git a/apps/docs/blog/2022-02-08-webops.md b/apps/docs/blog/2022-02-08-webops.md
index 8a8c90706f..b491413596 100644
--- a/apps/docs/blog/2022-02-08-webops.md
+++ b/apps/docs/blog/2022-02-08-webops.md
@@ -7,9 +7,9 @@ hide_table_of_contents: false
Hello WebOps users,
-With the increased number of concurrent users of the WebOps platform, we noticed WebOps pipelines were taking longer to execute.
+With the increased number of concurrent users of the WebOps platform, we noticed WebOps pipelines were taking longer to execute.
Under high loads, workflows that used to take from 2 to 10 minutes started to span between 20 and 50 minutes. **This caused CMS publications to take longer than they should, harming the developer experience.**
Earlier this week, we began an investigation into it, and we managed to improve the situation drastically. **Our pipelines runtime is now back to the 2-10 minutes range, depending on the workload type and size of the store.**
-We are working hard to deliver improvements to our platform such as this. Expect further improvements during the closed beta as we work on our platform's stability and performance!
\ No newline at end of file
+We are working hard to deliver improvements to our platform such as this. Expect further improvements during the closed beta as we work on our platform's stability and performance!
diff --git a/apps/docs/blog/2022-03-04-faststore.md b/apps/docs/blog/2022-03-04-faststore.md
index e09440a637..17f98f279e 100644
--- a/apps/docs/blog/2022-03-04-faststore.md
+++ b/apps/docs/blog/2022-03-04-faststore.md
@@ -1,6 +1,6 @@
---
title: February, 2022
-description: FastStore Release Notes
+description: FastStore Release Notes
tags: [faststore]
hide_table_of_contents: false
---
@@ -17,38 +17,42 @@ Adjustments in the `SearchInput` reference and `useStorage` hook. Fixes in `Stor
- ✨ **Adjust `SearchInput` reference** - [#1153](https://github.com/vtex/faststore/pull/1153) The `SearchInput` component now uses imperative code for input behaviors. The [`useImperativeHandle` hook](https://reactjs.org/docs/hooks-reference.html#useimperativehandle) is used to give the component control over the value that is returned by explicitly stating the return value.
-
## FastStore
+
### SDK
-- ✨ **Stable `useStorage` hook** - [#1146](https://github.com/vtex/faststore/pull/1146)
-The `useStorage` hook is now stable, meaning that if there is no value stored on the persistent storage, the hook won't trigger a re-rendering of the React API. Instead, the `useStorage` will use the `initialValue`. This behavior leads to a smaller footprint of the user's device and smaller total blocking time (TBTs).
+
+- ✨ **Stable `useStorage` hook** - [#1146](https://github.com/vtex/faststore/pull/1146)
+ The `useStorage` hook is now stable, meaning that if there is no value stored on the persistent storage, the hook won't trigger a re-rendering of the React API. Instead, the `useStorage` will use the `initialValue`. This behavior leads to a smaller footprint of the user's device and smaller total blocking time (TBTs).
## FastStore API
+
### VTEX Platform
-- 🐛 **Fix `allCollections` query pagination and pagetype timeout errors** - [#1140](https://github.com/vtex/faststore/pull/1140)
-The pagination of `allCollections` requests and timeouts during pagetype fetching were fixed.
+- 🐛 **Fix `allCollections` query pagination and pagetype timeout errors** - [#1140](https://github.com/vtex/faststore/pull/1140)
+ The pagination of `allCollections` requests and timeouts during pagetype fetching were fixed.
- 🐛 **Fix PDP and PLP breadcrumb list item's URL paths** - [#1148](https://github.com/vtex/faststore/pull/1148)
-Uppercase and spaces in PLP and PDP links used in the breadcrumb component have been fixed.
+ Uppercase and spaces in PLP and PDP links used in the breadcrumb component have been fixed.
-- ✨ **Moves some Filter logic to the API** - [#1154](https://github.com/vtex/faststore/pull/1154)
-Logic from the `Filter` component was moved from the frontend to the backend (API) to reduce processing on the frontend. Thus, the VTEX API can now sort the facets values alphabetically. Also, the `departamento` facet was removed from the PLP page.
+- ✨ **Moves some Filter logic to the API** - [#1154](https://github.com/vtex/faststore/pull/1154)
+ Logic from the `Filter` component was moved from the frontend to the backend (API) to reduce processing on the frontend. Thus, the VTEX API can now sort the facets values alphabetically. Also, the `departamento` facet was removed from the PLP page.
-- 🐛 **Fix `StoreProduct` returning wrong SKU** - [#1156](https://github.com/vtex/faststore/pull/1156)
-SKU IDs on accounts in which multiple SKUs are available for each product no longer retur incorrect `StoreProduct` values.
+- 🐛 **Fix `StoreProduct` returning wrong SKU** - [#1156](https://github.com/vtex/faststore/pull/1156)
+ SKU IDs on accounts in which multiple SKUs are available for each product no longer retur incorrect `StoreProduct` values.
-- 🐛 **Fix filter active brands** - [#1157](https://github.com/vtex/faststore/pull/1157)
-The `NotFoundError: Catalog returned FullText for slug: canyon.` error no longer occurs for cases where the API returns a list of brands containing inactive brands.
+- 🐛 **Fix filter active brands** - [#1157](https://github.com/vtex/faststore/pull/1157)
+ The `NotFoundError: Catalog returned FullText for slug: canyon.` error no longer occurs for cases where the API returns a list of brands containing inactive brands.
-- 🐛 **Fix Cart item availability** - [#1160](https://github.com/vtex/faststore/pull/1160)
-Now, if a product has a limited inventory, the cart component limits the number of products the user can add to it. Also, if the user adds more items, a toast message is raised, warning the user.
+- 🐛 **Fix Cart item availability** - [#1160](https://github.com/vtex/faststore/pull/1160)
+ Now, if a product has a limited inventory, the cart component limits the number of products the user can add to it. Also, if the user adds more items, a toast message is raised, warning the user.
## `gatsby-plugin-nginx`
-- 🐛 **Remove trailing slash from incoming requests** - [#1145](https://github.com/vtex/faststore/pull/1145)
-Now, headers are properly set when a requested page has an exact match, but the request URL contains a trailing slash.
+
+- 🐛 **Remove trailing slash from incoming requests** - [#1145](https://github.com/vtex/faststore/pull/1145)
+ Now, headers are properly set when a requested page has an exact match, but the request URL contains a trailing slash.
## `lighthouse-config`
-- ✨ **Add performance budgets to `lighthouse config`** - [#1150](https://github.com/vtex/faststore/pull/1150)
-Now, the Lighthouse report includes a *Performance Budgets* section.
-A [performance budget](https://web.dev/i18n/en/performance-budgets-101/) establishes limits on metrics that influence site performance.
+
+- ✨ **Add performance budgets to `lighthouse config`** - [#1150](https://github.com/vtex/faststore/pull/1150)
+ Now, the Lighthouse report includes a _Performance Budgets_ section.
+ A [performance budget](https://web.dev/i18n/en/performance-budgets-101/) establishes limits on metrics that influence site performance.
diff --git a/apps/docs/blog/2022-04-01-basestore.md b/apps/docs/blog/2022-04-01-basestore.md
index 2b0d0ad00d..41f94d2a0f 100644
--- a/apps/docs/blog/2022-04-01-basestore.md
+++ b/apps/docs/blog/2022-04-01-basestore.md
@@ -1,5 +1,5 @@
---
-description: Base Store Release Notes
+description: Base Store Release Notes
tags: [basestore]
hide_table_of_contents: false
---
@@ -9,90 +9,80 @@ hide_table_of_contents: false
The Base Store now has new components: `EmptyState`, `Suggestions`, and `SearchHistory`. Also to improve the page's performance, inline icons were removed from the final bundle.
+
## 🎉 New feature
- **New `EmptyState` component** - [#367](https://github.com/vtex-sites/base.store/pull/367)
-Use the `EmptyState` in the `CartSidebar` and `ProductGallery` components to display a custom page for empty carts and product results.
-![no results-page](https://user-images.githubusercontent.com/67270558/160859291-211054fd-734a-4d21-b279-09c8c8fd5d40.gif)
+ Use the `EmptyState` in the `CartSidebar` and `ProductGallery` components to display a custom page for empty carts and product results.
+ ![no results-page](https://user-images.githubusercontent.com/67270558/160859291-211054fd-734a-4d21-b279-09c8c8fd5d40.gif)
-- **Self-contained `sections`** - [#371](https://github.com/vtex-sites/base.store/pull/371)
-The logic developed in the `pages` folder has been moved to the `sections` component. As a result, CMS users can rearrange and reorder each storefront section.
+- **Self-contained `sections`** - [#371](https://github.com/vtex-sites/base.store/pull/371)
+ The logic developed in the `pages` folder has been moved to the `sections` component. As a result, CMS users can rearrange and reorder each storefront section.
- **New Search `Suggestions` component** - [#372](https://github.com/vtex-sites/base.store/pull/372)
-Use the`Suggestions` component to encapsulate autocomplete suggestions and suggested products.
-![suggestions-component](https://user-images.githubusercontent.com/15722605/157681906-66b9955a-7232-4885-b71c-565eb6d55fe4.png)
-
+ Use the`Suggestions` component to encapsulate autocomplete suggestions and suggested products.
+ ![suggestions-component](https://user-images.githubusercontent.com/15722605/157681906-66b9955a-7232-4885-b71c-565eb6d55fe4.png)
-- **New `SearchHistory` component** - [#391](https://github.com/vtex-sites/base.store/pull/391)
-Use the `SearchHistory` component to show the user's search history in the store page.
-![search-history-gif](https://user-images.githubusercontent.com/67270558/160863310-c6167a36-ec6d-4470-88bc-be9dc0f2e9fb.gif)
-
-- **New session query** - [#392](https://github.com/vtex-sites/base.store/pull/392)
-Use the `StoreSession` query to get new sales channels when a user changes their postal code.
+- **New `SearchHistory` component** - [#391](https://github.com/vtex-sites/base.store/pull/391)
+ Use the `SearchHistory` component to show the user's search history in the store page.
+ ![search-history-gif](https://user-images.githubusercontent.com/67270558/160863310-c6167a36-ec6d-4470-88bc-be9dc0f2e9fb.gif)
+- **New session query** - [#392](https://github.com/vtex-sites/base.store/pull/392)
+ Use the `StoreSession` query to get new sales channels when a user changes their postal code.
- **New `interactive` variant added to the `Badge` component** - [#396](https://github.com/vtex-sites/base.store/pull/396)
-Use the `interactive` variant in a `Badge` component to allow users to close the badge.
-![interactive](https://user-images.githubusercontent.com/15722605/158883971-a04f56a2-b387-49e3-9fe0-636a0122bf6a.png)
-
-- **Added `hideUnavailableItems` to `store.config`** - [#400](https://github.com/vtex-sites/base.store/pull/400)
-The Search API now has the `hideUnavailableItems` parameter. This parameter either hides (true) or displays (false) an out-of-stock product.
-
-- **New `styles/global` folder** - [#407](https://github.com/vtex-sites/base.store/pull/407)
-This PR sets the stage for the upcoming Theming structure by gathering all CSS variables (tokens) into the `styles/global` folder. It applies a coherent naming scheme and simplifies global styles.
-
+ Use the `interactive` variant in a `Badge` component to allow users to close the badge.
+ ![interactive](https://user-images.githubusercontent.com/15722605/158883971-a04f56a2-b387-49e3-9fe0-636a0122bf6a.png)
+- **Added `hideUnavailableItems` to `store.config`** - [#400](https://github.com/vtex-sites/base.store/pull/400)
+ The Search API now has the `hideUnavailableItems` parameter. This parameter either hides (true) or displays (false) an out-of-stock product.
+
+- **New `styles/global` folder** - [#407](https://github.com/vtex-sites/base.store/pull/407)
+ This PR sets the stage for the upcoming Theming structure by gathering all CSS variables (tokens) into the `styles/global` folder. It applies a coherent naming scheme and simplifies global styles.
+
## 🐛 Bug fix
- **Fixed the `HeroImage` size and css** - [#363](https://github.com/vtex-sites/base.store/pull/363)
-The `HeroImage` HTML size property has been fixed. The browser will now create a better image to fetch based on the device's screen (mobile or desktop).
+ The `HeroImage` HTML size property has been fixed. The browser will now create a better image to fetch based on the device's screen (mobile or desktop).
- **Fixed facets** - [#380](https://github.com/vtex-sites/base.store/pull/380)
-The `filter` on the mobile version is now stable, and users can choose which facets to apply.
+ The `filter` on the mobile version is now stable, and users can choose which facets to apply.
- **Fixed the`Tiles` component semantic markup** - [#383](https://github.com/vtex-sites/base.store/pull/383)
-The semantic markup for `Tiles` is now fixed to `ul` and `li` instead of a generic `div`.
-
+ The semantic markup for `Tiles` is now fixed to `ul` and `li` instead of a generic `div`.
- **Fixed the `CartItem` title and image** - [#405](https://github.com/vtex-sites/base.store/pull/405)
-The image size no longer breaks when a product title is longer than two lines. Now, the image size remains the same, and the product title is shortened.
+ The image size no longer breaks when a product title is longer than two lines. Now, the image size remains the same, and the product title is shortened.
- **Fixed the Button cursor** - [#419](https://github.com/vtex-sites/base.store/pull/419)
-Now the browser chooses which cursor to use depending on the component. For example, for links, use `pointer`, and for buttons, use `default`.
+ Now the browser chooses which cursor to use depending on the component. For example, for links, use `pointer`, and for buttons, use `default`.
## ✨ Enhancement
-- **Improved performance with `content-visibility` in `Section`** - [#368](https://github.com/vtex-sites/base.store/pull/368)
-The `content-visibility` CSS property was added to the `Section` component. The property lazy loads part of the page's content and saves loading time.
+- **Improved performance with `content-visibility` in `Section`** - [#368](https://github.com/vtex-sites/base.store/pull/368)
+ The `content-visibility` CSS property was added to the `Section` component. The property lazy loads part of the page's content and saves loading time.
- **Avoided performance decrease with the removal of inline icons** - [#378](https://github.com/vtex-sites/base.store/pull/378)
-In order to remove unnecessary JavaScript and improve page performance, inline icons were removed from the final bundle and moved to SVG files.
+ In order to remove unnecessary JavaScript and improve page performance, inline icons were removed from the final bundle and moved to SVG files.
## 🧹 Chore
-- **Fixes in PLP loading** - [#362](https://github.com/vtex-sites/base.store/pull/362)
-Following the implementation of the [Skeleton Loading components](https://github.com/vtex-sites/base.store/pull/317), some loading logic on the PLP has been changed:
- - The useTotalCount hook was removed.
- - The `Sort` and `Filter` Skeleton buttons are now loaded at the same time.
- - The most recent `Filter` items are now kept expanded in the mobile version
-
+- **Fixes in PLP loading** - [#362](https://github.com/vtex-sites/base.store/pull/362)
+ Following the implementation of the [Skeleton Loading components](https://github.com/vtex-sites/base.store/pull/317), some loading logic on the PLP has been changed: - The useTotalCount hook was removed. - The `Sort` and `Filter` Skeleton buttons are now loaded at the same time. - The most recent `Filter` items are now kept expanded in the mobile version
- **`Badge` variants renamed** - [#381](https://github.com/vtex-sites/base.store/pull/381)
-The `Badge` variants have been renamed so that the semantic meaning of `Badge` is not jeopardized. Changes made include:
+ The `Badge` variants have been renamed so that the semantic meaning of `Badge` is not jeopardized. Changes made include:
+
+ - Before:
+ `BadgeVariants = 'outOfStock' | 'new' | 'recommended' | 'neutral'`
- - Before:
- `BadgeVariants = 'outOfStock' | 'new' | 'recommended' | 'neutral'`
+ - Now:
+ `BadgeVariants = 'neutral' | 'info' | 'highlighted'`
- - Now:
- `BadgeVariants = 'neutral' | 'info' | 'highlighted'`
-
-- **Moved UI components and IconSVG to the `ui` folder** - [#386](https://github.com/vtex-sites/base.store/pull/386)
-The `ui` folder centralizes UI components and IconSVG, making it easier to add UI components and icons to the storefront.
+- **Moved UI components and IconSVG to the `ui` folder** - [#386](https://github.com/vtex-sites/base.store/pull/386)
+ The `ui` folder centralizes UI components and IconSVG, making it easier to add UI components and icons to the storefront.
- **Replaced inline `` tags by tags** - [#408](https://github.com/vtex-sites/base.store/pull/408)
-Inline styles are now contained in their own stylesheet, eliminating CSS code splitting and lowering the Total Blocking Time (TBT) metric.
-
+ Inline styles are now contained in their own stylesheet, eliminating CSS code splitting and lowering the Total Blocking Time (TBT) metric.
- **Removed frontend computation to the backend** - [#411](https://github.com/vtex-sites/base.store/pull/411)
-Offers are now sorted according to the order of the offers array.
+ Offers are now sorted according to the order of the offers array.
- **Improved the login performance** - [#418](https://github.com/vtex-sites/base.store/pull/418)
-Now the API returns `null` for the person query when executed by an anonymous user, avoiding a mismatch with the default user session values, preventing the session of the anonymous user from being reset, and lowering the Total Blocking Time (TBT) metric.
-
-
+ Now the API returns `null` for the person query when executed by an anonymous user, avoiding a mismatch with the default user session values, preventing the session of the anonymous user from being reset, and lowering the Total Blocking Time (TBT) metric.
diff --git a/apps/docs/blog/2022-04-01-faststore.md b/apps/docs/blog/2022-04-01-faststore.md
index 2db972beb1..125ec611bc 100644
--- a/apps/docs/blog/2022-04-01-faststore.md
+++ b/apps/docs/blog/2022-04-01-faststore.md
@@ -1,5 +1,5 @@
---
-description: FastStore Release Notes
+description: FastStore Release Notes
tags: [faststore]
hide_table_of_contents: false
---
@@ -12,59 +12,54 @@ The FastStore API now includes an Express GraphQL Server, and the FastStore UI n
## FastStore UI
-### Dropdown
-- 🎉 **New `Dropdown` molecule** - [#1178](https://github.com/vtex/faststore/pull/1178) Use the `Dropdown` component as an options menu or a dropdown select.
-![dropdown-menu](https://user-images.githubusercontent.com/51174217/158895409-45d16396-1181-49ec-a029-17e0b3599f34.gif)
+### Dropdown
+- 🎉 **New `Dropdown` molecule** - [#1178](https://github.com/vtex/faststore/pull/1178) Use the `Dropdown` component as an options menu or a dropdown select.
+ ![dropdown-menu](https://user-images.githubusercontent.com/51174217/158895409-45d16396-1181-49ec-a029-17e0b3599f34.gif)
## FastStore SDK
+
### setSession function
-
-- 🐛 **Fixed `setSession` function type** - [#1172](https://github.com/vtex/faststore/pull/1172)
-Now the `ContextValue` of the `setSession` function receives a `session: Partial` argument. With the fix, it's possible to pass partial information of a session. For example:
-```
+- 🐛 **Fixed `setSession` function type** - [#1172](https://github.com/vtex/faststore/pull/1172)
+ Now the `ContextValue` of the `setSession` function receives a `session: Partial` argument. With the fix, it's possible to pass partial information of a session. For example:
+
+```
const { setSession } = useSession()
setSession({ postalCode: 'foo' })
```
-
-
-- ✨ **Improve the performance of `useStorage` hook** - [#1186](https://github.com/vtex/faststore/pull/1186)
-The `setTimeout` function was created to prevent the creation of tasks that take longer than 50ms to process. The function improves the performance of the `useStorage` hook by wrapping two of its tasks: the async promise and the set state of an item.
+- ✨ **Improve the performance of `useStorage` hook** - [#1186](https://github.com/vtex/faststore/pull/1186)
+ The `setTimeout` function was created to prevent the creation of tasks that take longer than 50ms to process. The function improves the performance of the `useStorage` hook by wrapping two of its tasks: the async promise and the set state of an item.
- ✨ **Add `setFacets` function to the search context** - [#1189](https://github.com/vtex/faststore/pull/1189)
-The `setFacets` function sets all selected facets without any processing, allowing full control of the selected facets.
-
+ The `setFacets` function sets all selected facets without any processing, allowing full control of the selected facets.
-
## FastStore API
+
### VTEX Platform
-- 🐛 **Added missing `totalCount` field to `pageInfo` in `allCollections` query** - [#1173](https://github.com/vtex/faststore/pull/1173)
-Now the resolver for the `allCollections` query returns the number of valid collections in the store when a user asks for `pageInfo.totalCount` field.
-
-- 🎉 **New `Session` query** - [#1176](https://github.com/vtex/faststore/pull/1176)
-The `Session` query returns only the channel and country values. The addition of this query enables VTEX regionalization, which requires the `regionId` located within the channel.
-
+- 🐛 **Added missing `totalCount` field to `pageInfo` in `allCollections` query** - [#1173](https://github.com/vtex/faststore/pull/1173)
+ Now the resolver for the `allCollections` query returns the number of valid collections in the store when a user asks for `pageInfo.totalCount` field.
+- 🎉 **New `Session` query** - [#1176](https://github.com/vtex/faststore/pull/1176)
+ The `Session` query returns only the channel and country values. The addition of this query enables VTEX regionalization, which requires the `regionId` located within the channel.
- 🎉 **Add local server and GraphQL tests** - [#1179](https://github.com/vtex/faststore/pull/1179)
-The `@faststore/api` package now comes with an [Express GraphQL Server](https://graphql.org/graphql-js/running-an-express-graphql-server/) setup allowing you to test the API without having to link the package to a store.
+ The `@faststore/api` package now comes with an [Express GraphQL Server](https://graphql.org/graphql-js/running-an-express-graphql-server/) setup allowing you to test the API without having to link the package to a store.
-- ✨ **`hideUnavaibleitems` parameter in the search API** - [#1180](https://github.com/vtex/faststore/pull/1180)
-The Search API now has a parameter called `hideUnavailableItems`. This parameter either hides (true) or displays (false) an out-of-stock product.
+- ✨ **`hideUnavaibleitems` parameter in the search API** - [#1180](https://github.com/vtex/faststore/pull/1180)
+ The Search API now has a parameter called `hideUnavailableItems`. This parameter either hides (true) or displays (false) an out-of-stock product.
- 🐛 **Removed frontend computation to the backend** - [#1184](https://github.com/vtex/faststore/pull/1184)
-Offers are now sorted according to the order of the `offers` array.
+ Offers are now sorted according to the order of the `offers` array.
- ✨ **Returning null as profile** - [#1190](https://github.com/vtex/faststore/pull/1190)
-Now the API returns `null` for the `person` query when executed by an anonymous user, avoiding a mismatch with the default user session values, preventing the session of the anonymous user from being reset, and lowering the Total Blocking Time (TBT) metric.
-
-
+ Now the API returns `null` for the `person` query when executed by an anonymous user, avoiding a mismatch with the default user session values, preventing the session of the anonymous user from being reset, and lowering the Total Blocking Time (TBT) metric.
## Documentation
-- 📑 Added [VTEX Headless CMS API Reference](https://faststore.dev/vtex-headless-cms-api) - [#1194](https://github.com/vtex/faststore/pull/1194)
-The `vtex.admin-releases@0.x` app was added to [Step 2 - Installing the Headless CMS app on your VTEX account](https://faststore.dev/tutorials/cms/1#step-2---installing-the-headless-cms-app-on-your-vtex-account). The app is one of the VTEX Headless CMS's required apps.
+- 📑 Added [VTEX Headless CMS API Reference](https://faststore.dev/vtex-headless-cms-api) - [#1194](https://github.com/vtex/faststore/pull/1194)
+ The `vtex.admin-releases@0.x` app was added to [Step 2 - Installing the Headless CMS app on your VTEX account](https://faststore.dev/tutorials/cms/1#step-2---installing-the-headless-cms-app-on-your-vtex-account). The app is one of the VTEX Headless CMS's required apps.
## Internal
+
- 🐛 **Fixed codebase typos** - [#1183](https://github.com/vtex/faststore/pull/1183)
diff --git a/apps/docs/blog/2022-04-05-faststore.md b/apps/docs/blog/2022-04-05-faststore.md
index 69bd17def8..a6bd30252e 100644
--- a/apps/docs/blog/2022-04-05-faststore.md
+++ b/apps/docs/blog/2022-04-05-faststore.md
@@ -10,7 +10,7 @@ We updated our infrastructure to allow you to use site generators that support *
## What has changed?
-Before, there were only two ways to render a FastStore website: either via client-side rendering (CSR) or static site generation (SSG). Now, you can also use server-side rendering.
+Before, there were only two ways to render a FastStore website: either via client-side rendering (CSR) or static site generation (SSG). Now, you can also use server-side rendering.
:::info
Server-side rendering (SSR) is a method of rendering pages at run-time. It loads the website code on a server and returns a fully rendered HTML page to the client (browser).
@@ -18,8 +18,8 @@ Server-side rendering (SSR) is a method of rendering pages at run-time. It loads
## Why did we make these changes?
-We made these changes precisely to support Gatsby 4 and NextJS. With these frameworks, you will be able to choose the best way to generate the pages of your store website, opening up new possibilities for what you can create with FastStore.
+We made these changes precisely to support Gatsby 4 and NextJS. With these frameworks, you will be able to choose the best way to generate the pages of your store website, opening up new possibilities for what you can create with FastStore.
## What needs to be done?
-These changes make Gatsby 4 available for usage, but they do not automatically change the Gatsby version of your project. For further instructions on how to migrate from Gatsby 3 to Gatsby 4, please refer to [this article.](https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v3-to-v4/)
\ No newline at end of file
+These changes make Gatsby 4 available for usage, but they do not automatically change the Gatsby version of your project. For further instructions on how to migrate from Gatsby 3 to Gatsby 4, please refer to [this article.](https://www.gatsbyjs.com/docs/reference/release-notes/migrating-from-v3-to-v4/)
diff --git a/apps/docs/blog/2022-04-05-webops.md b/apps/docs/blog/2022-04-05-webops.md
index 2a835f72c2..5bb9c8766a 100644
--- a/apps/docs/blog/2022-04-05-webops.md
+++ b/apps/docs/blog/2022-04-05-webops.md
@@ -10,7 +10,7 @@ The WebOps pipeline has been updated to use the newest **Lighthouse** version. I
## What has changed?
-Before, the WebOps pipeline was using Lighthouse version 8. Now, we are using Lighthouse 9. As a result, newer audit reports may slightly differ from those previously issued. For more information, please refer to [this announcement](https://developer.chrome.com/blog/lighthouse-9-0/).
+Before, the WebOps pipeline was using Lighthouse version 8. Now, we are using Lighthouse 9. As a result, newer audit reports may slightly differ from those previously issued. For more information, please refer to [this announcement](https://developer.chrome.com/blog/lighthouse-9-0/).
## Why did we make these changes?
@@ -18,4 +18,4 @@ We understood that getting different results from WebOps and Lighthouse could le
## What needs to be done?
-These changes are already available for everyone. Thus no further action is required to use WebOps with Lighthouse 9.
\ No newline at end of file
+These changes are already available for everyone. Thus no further action is required to use WebOps with Lighthouse 9.
diff --git a/apps/docs/blog/2022-04-22-webops.md b/apps/docs/blog/2022-04-22-webops.md
index 51dfb8cdf4..07e35fe95e 100644
--- a/apps/docs/blog/2022-04-22-webops.md
+++ b/apps/docs/blog/2022-04-22-webops.md
@@ -5,13 +5,13 @@ tags: [webops]
# Lighthouse reports now available for deploy previews
-Now every deploy preview will have a new *Lighthouse Reports* box with quick-access links to reports for all pages you have listed in the Lighthouse CI section of the `store.config.js` file. That way, you can easily track how each pull request impacts the performance, SEO, and accessibility of your store.
+Now every deploy preview will have a new _Lighthouse Reports_ box with quick-access links to reports for all pages you have listed in the Lighthouse CI section of the `store.config.js` file. That way, you can easily track how each pull request impacts the performance, SEO, and accessibility of your store.
![](https://vtexhelp.vtexassets.com/assets/docs/src/lighthouse-reports___209781e761b4c873d78f39dbdd1dc6f6.png)
## What has changed?
-The Lighthouse CI now makes generated Lighthouse Reports available for developers via [Google Lighthouse Viewer](https://googlechrome.github.io/lighthouse/viewer/) for each deploy preview and uploads them to AWS S3. WebOps, then, adds comments on new PRs with links to those reports.
+The Lighthouse CI now makes generated Lighthouse Reports available for developers via [Google Lighthouse Viewer](https://googlechrome.github.io/lighthouse/viewer/) for each deploy preview and uploads them to AWS S3. WebOps, then, adds comments on new PRs with links to those reports.
Links to these reports are also shared in the logs of the WebOps pipeline for Lighthouse.
@@ -23,4 +23,4 @@ These changes aim to make it simpler for you to track how each deploy affects yo
## What needs to be done?
-Nothing. This improvement is already available for all WebOps users. Enjoy!
\ No newline at end of file
+Nothing. This improvement is already available for all WebOps users. Enjoy!
diff --git a/apps/docs/blog/2022-04-30-basestore.md b/apps/docs/blog/2022-04-30-basestore.md
index cdfe3b0b39..375a2e0453 100644
--- a/apps/docs/blog/2022-04-30-basestore.md
+++ b/apps/docs/blog/2022-04-30-basestore.md
@@ -14,5 +14,6 @@ This change is due to the [launch of a Next.js base store starter](https://fasts
## What needs to be done?
Whenever you need to access the Base Store repository, make sure you have the correct repository name and URL for the framework you are using:
+
- [gatsby.store](https://github.com/vtex-sites/gatsby.store): former `basestore`
- [nextjs.store](https://github.com/vtex-sites/nextjs.store): new starter
diff --git a/apps/docs/blog/2022-05-02-cms.md b/apps/docs/blog/2022-05-02-cms.md
index a748e8b46f..10c536afcd 100644
--- a/apps/docs/blog/2022-05-02-cms.md
+++ b/apps/docs/blog/2022-05-02-cms.md
@@ -20,6 +20,7 @@ CMS previews may contain sales promotions and product launches that are not yet
## What needs to be done?
Every CMS preview is now private by default. However, to be able to log in and view the private previews, you must install the `vtex.faststore-auth` app in your account. To do this, run the following command:
+
```
vtex install vtex.faststore-auth
```
diff --git a/apps/docs/blog/2022-05-06-basestore.md b/apps/docs/blog/2022-05-06-basestore.md
index 62937923b2..f55a6eba14 100644
--- a/apps/docs/blog/2022-05-06-basestore.md
+++ b/apps/docs/blog/2022-05-06-basestore.md
@@ -1,6 +1,6 @@
---
title: Base Store - April, 2022
-description: Base Store Release Notes
+description: Base Store Release Notes
tags: [basestore]
hide_table_of_contents: false
---
@@ -12,9 +12,7 @@ The Base Store now has a new search API, components with a new theming structure
:::caution
These Release Notes have news from the `base.store`, [gatsby.store](https://github.com/vtex-sites/gatsby.store) (former `base.store`) and [nextjs.store](https://github.com/vtex-sites/nextjs.store) starters.
-
-
-*What happened to the base.store PRs?*
+_What happened to the base.store PRs?_
Since the announcement that the `base.store` repository has changed its name to `gatsby.store` due to the new starter, `nextjs.store`, the `base.store` PRs were recreated to the `gatsby.store` repository. See the [official announcement](https://www.faststore.dev/releases/2022/04/30/basestore) for more details.
:::
@@ -22,106 +20,101 @@ Since the announcement that the `base.store` repository has changed its name to
## 🎉 New feature
- **New search event API** - ([Gatsby #2](https://github.com/vtex-sites/gatsby.store/pull/2) / [Next.js #2](https://github.com/vtex-sites/nextjs.store/pull/2))
-The `search.query` event has been added to the VTEX Intelligent Search Analytics API. This event is used to generate indices like `Top Searches` and `Suggestions`.
+ The `search.query` event has been added to the VTEX Intelligent Search Analytics API. This event is used to generate indices like `Top Searches` and `Suggestions`.
- **New theming structure to the `BannerText`** - ([Base Store - #470](https://github.com/vtex-sites/base.store/pull/470))
-Local tokens (CSS variables) were added to the `BannerText` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
+ Local tokens (CSS variables) were added to the `BannerText` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
- **New theming structure to the `Product Shelf` component** - ([Base Store - #464](https://github.com/vtex-sites/base.store/pull/464))
-Local tokens (CSS variables) were added to the `Product Shelf` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
+ Local tokens (CSS variables) were added to the `Product Shelf` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
- **New theming structure to `Badge` component** - ([Base Store - #462](https://github.com/vtex-sites/base.store/pull/462))
-Local tokens (CSS variables) were added to the `Badge` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
+ Local tokens (CSS variables) were added to the `Badge` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
- **New theming structure to the `Quantity Selector` component** - ([Base Store - #448](https://github.com/vtex-sites/base.store/pull/448))
-Local tokens (CSS variables) were added to the `Quantity Selector` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
+ Local tokens (CSS variables) were added to the `Quantity Selector` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
- **`Button` new theming** - [#442](https://github.com/vtex-sites/base.store/pull/442)
-Local tokens (CSS variables) were added to the `Button` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens. Also, this change:
+ Local tokens (CSS variables) were added to the `Button` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens. Also, this change:
- - Gathers the buttons variants into a single folder;
- - Switches the order of the buttons variants prefixes/suffixes;
- - Fixes the variant Alert colors.
+ - Gathers the buttons variants into a single folder;
+ - Switches the order of the buttons variants prefixes/suffixes;
+ - Fixes the variant Alert colors.
- **New theming structure to `Hero` component** - ([Base Store - #435](https://github.com/vtex-sites/base.store/pull/435))
-Local tokens (CSS variables) were added to the `Hero` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
+ Local tokens (CSS variables) were added to the `Hero` component in the new theming structure ([#407](https://github.com/vtex-sites/base.store/pull/407)) to configure the component's properties and connect the local tokens to the global tokens.
- **New VTEX Search tracking** - ([Base Store - #389](https://github.com/vtex-sites/base.store/pull/389))
-
- **New Storybook package to the `base.store`** - ([Base Store - #463](https://github.com/vtex-sites/base.store/pull/463))
-Use the Storybook as a testing enviroment for components.
-To enable it, run `yarn storybook` in the terminal and, after the build, open `localhost:6006`.
+ Use the Storybook as a testing enviroment for components.
+ To enable it, run `yarn storybook` in the terminal and, after the build, open `localhost:6006`.
- **`RegionalizationModal` component** - [#426](https://github.com/vtex-sites/base.store/pull/426)
-The`RegionalizationModal` allows users to set their current location and check available products for their region.
-
- ![image](https://vtexhelp.vtexassets.com/assets/docs/src/regionalization-modal___087d6e5c0e2422539d24283d3c916c7e.png)
+ The`RegionalizationModal` allows users to set their current location and check available products for their region.
+![image](https://vtexhelp.vtexassets.com/assets/docs/src/regionalization-modal___087d6e5c0e2422539d24283d3c916c7e.png)
- **`Breadcrumb` component** - [#436](https://github.com/vtex-sites/base.store/pull/436)
-The `Dropdown` was added to the `Breadcrumb` component. The `Dropdown` allows related pages to be linked at every level via dropdown menus.
+ The `Dropdown` was added to the `Breadcrumb` component. The `Dropdown` allows related pages to be linked at every level via dropdown menus.
![image](https://vtexhelp.vtexassets.com/assets/docs/src/dropdown-breadcrumb___7581fafaeba6b9857b226612fd61873f.gif)
## 🐛 Bug fix
- **Adjust Incentives List to render CMS data** - ([Base Store - #474](https://github.com/vtex-sites/base.store/pull/474))
-Now CMS users can edit the icons, title and subtitles of the Incentives List.
-
+ Now CMS users can edit the icons, title and subtitles of the Incentives List.
- **Unused CSS imports** - ([Base Store - #476](https://github.com/vtex-sites/base.store/pull/476))
-Unused CSS imports were removed from components that are not yet being used.
-
+ Unused CSS imports were removed from components that are not yet being used.
- **Storybook initialization** - ([Base Store - #492](https://github.com/vtex-sites/base.store/pull/492))
-To avoid issues with styles being applied while running `yarn storybook`, the `components.scss` has been added as `storybook-components.scss`, and the `package.json` was updated to include `@reach/router`.
-
+ To avoid issues with styles being applied while running `yarn storybook`, the `components.scss` has been added as `storybook-components.scss`, and the `package.json` was updated to include `@reach/router`.
- **Styling issue on `RegionalizationModal`** - ([Base Store - #488](https://github.com/vtex-sites/base.store/pull/488))
-The `RegionalizationModal` no longer misses its imports in `layout.css`:
+ The `RegionalizationModal` no longer misses its imports in `layout.css`:
+
```
@import "src/components/regionalization/RegionalizationBar/regionalization-bar.scss";
@import "src/components/regionalization/RegionalizationButton/regionalization-button.scss";
@import "src/components/regionalization/RegionalizationInput/regionalization-input.scss";
@import "src/components/regionalization/RegionalizationModal/regionalization-modal.scss";
```
-
+
- **Unusued CSS issues** - ([Base Store - #480](https://github.com/vtex-sites/base.store/pull/480))
-The error *"Unused CSS"* in the Lighthouse CI is fixed.
-
-- **`Hero` layout shift** - ([Base Store - #472](https://github.com/vtex-sites/base.store/pull/472))
-The layout shift on `Hero` section was fixed. Now the the CLS is fixed on lighthouse report.
+ The error _"Unused CSS"_ in the Lighthouse CI is fixed.
+- **`Hero` layout shift** - ([Base Store - #472](https://github.com/vtex-sites/base.store/pull/472))
+ The layout shift on `Hero` section was fixed. Now the the CLS is fixed on lighthouse report.
- **Tweaks layout section spacings** - ([Base Store - #469](https://github.com/vtex-sites/base.store/pull/469))
-The spacing between components with the `layout section` class has been changed from *margin* to *padding*. This change is due to a problem with the `box-shadow` on the `product-card`.
+ The spacing between components with the `layout section` class has been changed from _margin_ to _padding_. This change is due to a problem with the `box-shadow` on the `product-card`.
## ✨ Enhancement
+
- **Update Regionalization input to use the `TextInput` component** - ([Gatsby #9](https://github.com/vtex-sites/gatsby.store/pull/9) / [Next.js #9](https://github.com/vtex-sites/nextjs.store/pull/9))
-The Regionalization Input now uses the `InputText` component.
-
+ The Regionalization Input now uses the `InputText` component.
- **Update `RegionalizationButton` and `RegionalizationBar` to show the postal code** - ([Gatsby #8](https://github.com/vtex-sites/gatsby.store/pull/8) / [Next.js #7](https://github.com/vtex-sites/nextjs.store/pull/7))
-The Regionalization Button and Regionalization Bar now shows the last postal code saved, instead of receiving a `content` prop.
-
-
+ The Regionalization Button and Regionalization Bar now shows the last postal code saved, instead of receiving a `content` prop.
## 🧹 Chore
+
- **Update `pull_request_template.md`**[#12](https://github.com/vtex-sites/gatsby.store/pull/12)
-To better highlight the changes made in the `CHANGELOG.md` and Release Notes, new items were added to the `pull_request_template.md`.
-
+ To better highlight the changes made in the `CHANGELOG.md` and Release Notes, new items were added to the `pull_request_template.md`.
- **Lighthouse check via GitHub Action** [#484](https://github.com/vtex-sites/base.store/pull/484)
-Removed the GitHub Action that was running Lighthouse since it was failing and WebOps already runs the Lighthouse.
-
+ Removed the GitHub Action that was running Lighthouse since it was failing and WebOps already runs the Lighthouse.
+
## Framework-specific updates
### Gatsby
-
+
#### 🎉 New feature
+
- **Organizing Storybook** [#5](https://github.com/vtex-sites/gatsby.store/pull/5)
-The Storybook is now organized following the [Atomic design](https://bradfrost.com/blog/post/atomic-web-design/) classification. Storybook components now have improved controls that focus on relevant changes to each one.
-
-#### ✨ Enhancement
+ The Storybook is now organized following the [Atomic design](https://bradfrost.com/blog/post/atomic-web-design/) classification. Storybook components now have improved controls that focus on relevant changes to each one.
+
+#### ✨ Enhancement
+
- **`ImageGallery`** [#6](https://github.com/vtex-sites/gatsby.store/pull/6)
-`ImageGallery` now uses native scroll instead of `useSlider`.
-
+ `ImageGallery` now uses native scroll instead of `useSlider`.
+
#### 🧹 Chore
-- **`ImageGallery` to the PDP** [#6](https://github.com/vtex-sites/gatsby.store/pull/6)
-The `ImageGallery` component is now integrated to the PDP.
+- **`ImageGallery` to the PDP** [#6](https://github.com/vtex-sites/gatsby.store/pull/6)
+ The `ImageGallery` component is now integrated to the PDP.
diff --git a/apps/docs/blog/2022-05-06-faststore.md b/apps/docs/blog/2022-05-06-faststore.md
index 207d1e3624..3e244c8054 100644
--- a/apps/docs/blog/2022-05-06-faststore.md
+++ b/apps/docs/blog/2022-05-06-faststore.md
@@ -1,6 +1,6 @@
---
title: FastStore - April, 2022
-description: FastStore Release Notes
+description: FastStore Release Notes
tags: [faststore]
hide_table_of_contents: false
---
@@ -12,102 +12,104 @@ The FastStore API no longer includes unused Gatsby plugins and now handles `chan
## FastStore UI
### Banner
-- 🐛 **`otherProps` parameter** - [#1218](https://github.com/vtex/faststore/pull/1218)
-Other props can now be passed on the Banner component.
-
-### DropdownMenu
-- 🐛 **Fix `DropdownMenu` position** - [#1199](https://github.com/vtex/faststore/pull/1199)
-The `DropdownMenu` component no longer has issues with scrolling. Now the component has the properties `scrollLeft` and `scrollTop` to calculate the position, and adds `event.preventDefault()` in `KeyDown` press event, avoiding page scroll when pressed.
+- 🐛 **`otherProps` parameter** - [#1218](https://github.com/vtex/faststore/pull/1218)
+ Other props can now be passed on the Banner component.
+
+### DropdownMenu
+
+- 🐛 **Fix `DropdownMenu` position** - [#1199](https://github.com/vtex/faststore/pull/1199)
+ The `DropdownMenu` component no longer has issues with scrolling. Now the component has the properties `scrollLeft` and `scrollTop` to calculate the position, and adds `event.preventDefault()` in `KeyDown` press event, avoiding page scroll when pressed.
## FastStore SDK
-### Analytics
-- 🐛 **Fixed URL to events** - [#1228](https://github.com/vtex/faststore/pull/1228)
-The Analytics SDK types is now compliant with Google Analytics 4 (GA4), which means custom properties can't be added to events directly on the SDK.
+### Analytics
+
+- 🐛 **Fixed URL to events** - [#1228](https://github.com/vtex/faststore/pull/1228)
+ The Analytics SDK types is now compliant with Google Analytics 4 (GA4), which means custom properties can't be added to events directly on the SDK.
## lighthouse-config
+
### Performance budget
+
- 🧹 **Increased the performance budget back to 95** - [1201](https://github.com/vtex/faststore/pull/1201)
## FastStore API
+
### VTEX Platform
#### Breaking change
-- 💥 **Removed Gatsby plugins** - [1215](https://github.com/vtex/faststore/pull/1215)
-All unused Gatsby plugins were removed to be more open to other frameworks. The removal of unused Gatsby plugins also improved the speed with which the FastStore monorepo was published and developed.
+- 💥 **Removed Gatsby plugins** - [1215](https://github.com/vtex/faststore/pull/1215)
+ All unused Gatsby plugins were removed to be more open to other frameworks. The removal of unused Gatsby plugins also improved the speed with which the FastStore monorepo was published and developed.
+
+| Before | After |
+| -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
+| ![CI before](https://vtexhelp.vtexassets.com/assets/docs/src/ci-before___bcedaedec930f2dbceed123d3772bf7b.png) | ![CI after](https://vtexhelp.vtexassets.com/assets/docs/src/ci-after___5acdc31491853359ba96d17234e112e6.png) |
-| Before | After |
-| ------ | ----- |
-| ![CI before](https://vtexhelp.vtexassets.com/assets/docs/src/ci-before___bcedaedec930f2dbceed123d3772bf7b.png) | ![CI after](https://vtexhelp.vtexassets.com/assets/docs/src/ci-after___5acdc31491853359ba96d17234e112e6.png) |
+- 💥 **Handle `channel` as facet for search and product queries** - [1197](https://github.com/vtex/faststore/pull/1197)
+ The `channel` function is now a string object that contains `salesChannel` and `regionId`. Before, `channel` were a integer that represented a sales channel now it has the following format in `store.config.js`:
-- 💥 **Handle `channel` as facet for search and product queries** - [1197](https://github.com/vtex/faststore/pull/1197)
-The `channel` function is now a string object that contains `salesChannel` and `regionId`. Before, `channel` were a integer that represented a sales channel now it has the following format in `store.config.js`:
```
// Default channel
channel: '{"salesChannel":"1"}',
```
-
#### Enhancement
-- ✨ **New Search event API** - [#1241](https://github.com/vtex/faststore/pull/1241)
-The `search.query` event has been added to the VTEX Intelligent Search Analytics API. This event is used to generate indices like `Top Searches` and `Suggestions`.
-- ✨ **New Intelligent Search API** - [#1216](https://github.com/vtex/faststore/pull/1216)
-The simulation of search queries has been removed in favor of the new Intelligent Search API, which already performs the simulation.
+- ✨ **New Search event API** - [#1241](https://github.com/vtex/faststore/pull/1241)
+ The `search.query` event has been added to the VTEX Intelligent Search Analytics API. This event is used to generate indices like `Top Searches` and `Suggestions`.
+
+- ✨ **New Intelligent Search API** - [#1216](https://github.com/vtex/faststore/pull/1216)
+ The simulation of search queries has been removed in favor of the new Intelligent Search API, which already performs the simulation.
#### Bug fix
-- 🐛 **`@faststore/api` and VTEX catalog slug mismatches** - [#1214](https://github.com/vtex/faststore/pull/1214)
-The links between `@faststore/api` and VTEX Catalog are now fixed.
-
-
+- 🐛 **`@faststore/api` and VTEX catalog slug mismatches** - [#1214](https://github.com/vtex/faststore/pull/1214)
+ The links between `@faststore/api` and VTEX Catalog are now fixed.
+
#### Chore
+
- 🧹 **Stable tests for the `faststore/api`** - [1200](https://github.com/vtex/faststore/pull/1200)
-The tests from `@faststore/api` are no longer reliant on dynamic data, which means they won't fail if something changes in the account from which the data is collected.
-
+ The tests from `@faststore/api` are no longer reliant on dynamic data, which means they won't fail if something changes in the account from which the data is collected.
## Documentation
- 📑 **[Troubleshooting](https://www.faststore.dev/tutorials/cms/Troubleshooting) for Creating storefronts with Gatsby** - [#1261](https://github.com/vtex/faststore/pull/1261)
-Check out the new tutorial for common errors that you might face while working with FastStore.
+ Check out the new tutorial for common errors that you might face while working with FastStore.
-- 📑 **New [Other Resources](https://faststore.dev/resources)** - [#1251](https://github.com/vtex/faststore/pull/1251)
+- 📑 **New [Other Resources](https://faststore.dev/resources)** - [#1251](https://github.com/vtex/faststore/pull/1251)
- 📑 **New: send your feedback about faststore.dev** - [#1247](https://github.com/vtex/faststore/pull/1247)
- 📑 **New Starter: Next.JS** - [#1240](https://github.com/vtex/faststore/pull/1240)
- 📑 **New: [Starter submission](https://www.faststore.dev/starters/submissions)** - [#1239](https://github.com/vtex/faststore/pull/1239)
-Submit your starter and get featured on the FastStore Community Starters Library.
-
-- 📑 **New [Release Notes - Lighthouse reports](https://faststore.dev/releases/2022/04/22/webops)** - [#1235](https://github.com/vtex/faststore/pull/1235)
+ Submit your starter and get featured on the FastStore Community Starters Library.
+- 📑 **New [Release Notes - Lighthouse reports](https://faststore.dev/releases/2022/04/22/webops)** - [#1235](https://github.com/vtex/faststore/pull/1235)
- 📑 **New dark mode available in faststore.dev** - [#1233](https://github.com/vtex/faststore/pull/1233)
- 📑 **Updated [Extending the schema](https://faststore.dev/reference/api/faststore-api#extending-the-schema) in FastStore API documentation** - [#1224](https://github.com/vtex/faststore/pull/1224)
- 📑 **New [Troubleshooting problems in FastStore](https://faststore.dev/how-to-guides/local-development/troubleshooting-problems-in-faststore)** - [#1219](https://github.com/vtex/faststore/pull/1219)
-Check out the new guide on identifying if the issue you are facing is from FasStore/WebOps or a mistake on your side.
+ Check out the new guide on identifying if the issue you are facing is from FasStore/WebOps or a mistake on your side.
- 📑 **New [Sending CMS updates to VTEX IO WebOps](https://faststore.dev/how-to-guides/cms/vtex-headless-cms/Sending%20CMS%20updates%20to%20VTEX%20IO%20WebOps)** - [#1213](https://github.com/vtex/faststore/pull/1213)
-Check out the new user guide to learn how to set up WebOps to communicate with the VTEX Headless CMS and receive CMS updates via the VTEX Admin.
+ Check out the new user guide to learn how to set up WebOps to communicate with the VTEX Headless CMS and receive CMS updates via the VTEX Admin.
- 📑 **Updated [Configuring your VTEX account](https://faststore.dev/tutorials/cms/1#step-2---installing-the-headless-cms-app-on-your-vtex-account)** - [#1212](https://github.com/vtex/faststore/pull/1212)
-The `vtex.admin-cms@0.x` and `vtex.admin-cms-graphql-rc@0.x` were updated to `@1.x`. Also, updated the build URL to `/build-releases` since Releases is now the default option to build and publish on the CMS.
-
+ The `vtex.admin-cms@0.x` and `vtex.admin-cms-graphql-rc@0.x` were updated to `@1.x`. Also, updated the build URL to `/build-releases` since Releases is now the default option to build and publish on the CMS.
- 📑 **New [Enabling private CMS previews](https://faststore.dev/how-to-guides/cms/vtex-headless-cms/Enabling%20private%20CMS%20previews)** - [#1211](https://github.com/vtex/faststore/pull/1211)
-Check out the new VTEX Headless CMS user guide on how to change public previews to private previews.
+ Check out the new VTEX Headless CMS user guide on how to change public previews to private previews.
-- 📑 **New [Gatsby 4 now available](https://faststore.dev/releases/2022/04/05/faststore) Release Note** - [#1210](https://github.com/vtex/faststore/pull/1210)
-FastStore infrastructure now allows the use of site generators that support server-side rendering (SSR), such as Next.js and Gatsby 4.
-
+- 📑 **New [Gatsby 4 now available](https://faststore.dev/releases/2022/04/05/faststore) Release Note** - [#1210](https://github.com/vtex/faststore/pull/1210)
+ FastStore infrastructure now allows the use of site generators that support server-side rendering (SSR), such as Next.js and Gatsby 4.
## Internal
+
- 📑 **Updated `faststore.dev` homepage** - [#1250](https://github.com/vtex/faststore/pull/1250)
-
- 📑 **Updated FAQ page in `faststore.dev`** - [#1249](https://github.com/vtex/faststore/pull/1249)
- 📑 **Updated `announcementBar` in `faststore.dev`** - [#1237](https://github.com/vtex/faststore/pull/1237)
@@ -119,6 +121,4 @@ FastStore infrastructure now allows the use of site generators that support serv
- 📑 **Updated `docusaurus.config.js` with GA4 `trackingID`** - [#1226](https://github.com/vtex/faststore/pull/1226)
- 📑 **Implemented Google Analytics 4 (GA4) in `faststore.dev`** - [#1222](https://github.com/vtex/faststore/pull/1222)
-
-
- 📑 **Updated [Gatsby overview](https://faststore.dev/tutorials/gatsby-overview)** - [#1205](https://github.com/vtex/faststore/pull/1205)
diff --git a/apps/docs/blog/2022-05-18-faststore.md b/apps/docs/blog/2022-05-18-faststore.md
index 7998b86bef..81ddc18fbc 100644
--- a/apps/docs/blog/2022-05-18-faststore.md
+++ b/apps/docs/blog/2022-05-18-faststore.md
@@ -15,12 +15,15 @@ While working on your FastStore website, you can run your project locally and us
## What needs to be done?
To explore the FastStore API reference documentation, follow these steps:
+
1. Run `yarn` in your project to reinstall the `@faststore/api` dependency.
2. Run `yarn develop` to start a local server.
3. Access GraphiQL by going to this address:
+
```
http://localhost:8000/__graphql
```
+
4. Click on the `Docs` button on the upper right corner.
5. On the docs tab you can browse through the definitions or search for types by name.
diff --git a/apps/docs/blog/2022-05-19-webops.md b/apps/docs/blog/2022-05-19-webops.md
index 9f8dcb3a97..4f569d5680 100644
--- a/apps/docs/blog/2022-05-19-webops.md
+++ b/apps/docs/blog/2022-05-19-webops.md
@@ -6,7 +6,7 @@ hide_table_of_contents: false
# Improvement in page loading time with Incremental Static Build
-WebOps now supports **Incremental Static Build (ISB)**, a hybrid server-side and client-side rendering solution. With ISB, only part of the pages are generated during the website build. The others are generated as shoppers start visiting them.
+WebOps now supports **Incremental Static Build (ISB)**, a hybrid server-side and client-side rendering solution. With ISB, only part of the pages are generated during the website build. The others are generated as shoppers start visiting them.
In practice, the first user to load a page triggers its generation. And, once the first load completes, the final page is cached. Then, all subsequent visitors receive the cached version of that page immediately and experience an optimized page loading time.
@@ -16,13 +16,14 @@ This feature is strongly recommended for stores with thousands of SKUs since gen
## What has changed?
-To improve the loading time of SKU pages, you can now activate Incremental Static Build for your FastStore project. Part of the store's pages will be generated in each build, but the SKU pages will follow the Incremental Static Build behavior described above.
+To improve the loading time of SKU pages, you can now activate Incremental Static Build for your FastStore project. Part of the store's pages will be generated in each build, but the SKU pages will follow the Incremental Static Build behavior described above.
:::caution
Keep in mind that:
+
- A deploy resets the caching status of all pages, meaning that pages previously generated must be requested again in order to be re-generated.
- Once a page is generated, it will not be re-generated by external content changes. For example, if you edit a given product's description in the VTEX platform, you must redeploy your website to generate the page with the updated description.
-:::
+ :::
## What needs to be done?
@@ -31,16 +32,19 @@ In order to activate this capability, follow these steps, according to the frame
### Gatsby
1. Open your FastStore project and update all pages requesting server data to use the following cache-control headers:
+
```tsx
return {
- status: 200,
- props: data ?? {},
- headers: {
- 'cache-control': 's-maxage=31536000, stale-while-revalidate',
- },
-}
+ status: 200,
+ props: data ?? {},
+ headers: {
+ 'cache-control': 's-maxage=31536000, stale-while-revalidate',
+ },
+}
```
+
2. Set the following variable to `true` on your `vtex.env` file:
+
```env title="vtex.env"
USE_STALE_CACHE=true
```
@@ -49,6 +53,7 @@ USE_STALE_CACHE=true
1. Open your FastStore project and update all pages requesting server data to use the `getStaticProps` and `getStaticPaths` APIs.
2. Set the following variable to `true` on your `vtex.env` file:
+
```env title="vtex.env"
USE_STALE_CACHE=true
```
diff --git a/apps/docs/blog/2022-05-30-faststore.md b/apps/docs/blog/2022-05-30-faststore.md
index 539d1d9886..9b47bd3782 100644
--- a/apps/docs/blog/2022-05-30-faststore.md
+++ b/apps/docs/blog/2022-05-30-faststore.md
@@ -6,13 +6,13 @@ hide_table_of_contents: false
# Changes in the secure subdomain configuration
-We've recently changed the configurations needed for the `secure` subdomain. Hence, if you come across the **"This connection is not private"** error while trying to complete an order at your store website, check if your website's secure subdomain is pointing to `secure.{hostname}.cdn.vtex.com`, where `{hostname}` is the **complete** address of your store.
+We've recently changed the configurations needed for the `secure` subdomain. Hence, if you come across the **"This connection is not private"** error while trying to complete an order at your store website, check if your website's secure subdomain is pointing to `secure.{hostname}.cdn.vtex.com`, where `{hostname}` is the **complete** address of your store.
![](https://vtexhelp.vtexassets.com/assets/docs/src/not-secure___d8621c4ec4766fde0206c32055a2975d.jpeg)
## What has changed?
-The `secure` subdomain must now point to `secure.{hostname}.cdn.vtex.com`, where `{hostname}` is the **complete** address of your store. Before, the `secure` subdomain was being pointed to `{account}.vtexcommercestable.com.br`.
+The `secure` subdomain must now point to `secure.{hostname}.cdn.vtex.com`, where `{hostname}` is the **complete** address of your store. Before, the `secure` subdomain was being pointed to `{account}.vtexcommercestable.com.br`.
## What needs to be done?
diff --git a/apps/docs/blog/2022-06-03-basestore.md b/apps/docs/blog/2022-06-03-basestore.md
index 4f296eaee8..f4080d6086 100644
--- a/apps/docs/blog/2022-06-03-basestore.md
+++ b/apps/docs/blog/2022-06-03-basestore.md
@@ -1,100 +1,110 @@
---
title: Base Store - May 2022
-description: Base Store Release Notes
+description: Base Store Release Notes
tags: [base store]
hide_table_of_contents: false
---
+
New cart-related events are now being tracked, and enhancements in the LCP score have been implemented. Also, more components have been updated to use the Base Store theming structure.
+
## 🐛 Bug fix
+
- **Fixed search suggestions locale issue** ([Gatsby #69](https://github.com/vtex-sites/gatsby.store/pull/69) | [Next.js #71](https://github.com/vtex-sites/nextjs.store/pull/71))
-All requests to the FastStore Search API now receive locale info so the search can return product suggestions according to the user locale.
+ All requests to the FastStore Search API now receive locale info so the search can return product suggestions according to the user locale.
- **Fixed custom attributes for `img` and `link` tags** ([Gatsby #60](https://github.com/vtex-sites/gatsby.store/pull/60) | [Next.js #60](https://github.com/vtex-sites/nextjs.store/pull/60))
-Custom attributes are now only passed to `img` and `link` HTML tags to avoid inconsistencies in other components.
-
-
-## ✨ Enhancement
+ Custom attributes are now only passed to `img` and `link` HTML tags to avoid inconsistencies in other components.
+
+## ✨ Enhancement
+
- **Improved page loading time with Incremental Static Build** ([Gatsby #47](https://github.com/vtex-sites/gatsby.store/pull/47) | [Next.js #39](https://github.com/vtex-sites/nextjs.store/pull/39))
-Base Store now uses the new Incremental Static Build (ISB) WebOps solution.
+ Base Store now uses the new Incremental Static Build (ISB) WebOps solution.
- **Replaced `OutOfStock` component** ([Gatsby #70](https://github.com/vtex-sites/gatsby.store/pull/70) | [Next.js #72](https://github.com/vtex-sites/nextjs.store/pull/72))
-Base Store now uses the `OutofStock` component from the FastStore UI library.
+ Base Store now uses the `OutofStock` component from the FastStore UI library.
- **Improved page LCP** ([Gatsby #51](https://github.com/vtex-sites/gatsby.store/pull/51) | [Next.js #49](https://github.com/vtex-sites/nextjs.store/pull/49))
-Improved Largest Contentful Paint (LCP) score after implementing the `fetchpriority` attribute.
+ Improved Largest Contentful Paint (LCP) score after implementing the `fetchpriority` attribute.
- **Added analytics events to `CartItem`** ([Gatsby #43](https://github.com/vtex-sites/gatsby.store/pull/43) | [Next.js #35](https://github.com/vtex-sites/nextjs.store/pull/35))
-The `CartItem` component now tracks user actions via the `add_to_cart` and `remove_from_cart` Google Analytics events.
+ The `CartItem` component now tracks user actions via the `add_to_cart` and `remove_from_cart` Google Analytics events.
- **Updated `Select` theming** ([Gatsby #17](https://github.com/vtex-sites/gatsby.store/pull/17) | [Next.js #16](https://github.com/vtex-sites/nextjs.store/pull/16))
-The `Select` component now has new tokens based on the Base Store [Theming Structure](https://github.com/vtex-sites/base.store/pull/407).
+ The `Select` component now has new tokens based on the Base Store [Theming Structure](https://github.com/vtex-sites/base.store/pull/407).
- **Updated `Incentives` theming** ([Gatsby #49](https://github.com/vtex-sites/gatsby.store/pull/49) | [Next.js #56](https://github.com/vtex-sites/nextjs.store/pull/56))
-The `Incentives` component now has new tokens based on the Base Store [Theming Structure](https://github.com/vtex-sites/base.store/pull/407).
+ The `Incentives` component now has new tokens based on the Base Store [Theming Structure](https://github.com/vtex-sites/base.store/pull/407).
- **Improved Theming documentation on Storybook** ([Gatsby #26](https://github.com/vtex-sites/gatsby.store/pull/26) | [Next.js #67](https://github.com/vtex-sites/nextjs.store/pull/67))
-New docs published on the Base Store Storybook. Also, a new documentation format based on [MDX](https://storybook.js.org/docs/react/writing-docs/mdx) was implemented.
-
-## 🧹 Chore
+ New docs published on the Base Store Storybook. Also, a new documentation format based on [MDX](https://storybook.js.org/docs/react/writing-docs/mdx) was implemented.
+
+## 🧹 Chore
- **`CartItem` tests for analytics events** ([Gatsby #66](https://github.com/vtex-sites/gatsby.store/pull/66) | [Next.js #66](https://github.com/vtex-sites/nextjs.store/pull/66))
-The `CartItem` component now has tests to check if events are fired to Google Analytics when users change the quantity of a product on the minicart.
+ The `CartItem` component now has tests to check if events are fired to Google Analytics when users change the quantity of a product on the minicart.
- **Updated`QuantitySelector` styling** ([Gatsby #75](https://github.com/vtex-sites/gatsby.store/pull/75) | [Next.js #76](https://github.com/vtex-sites/nextjs.store/pull/76))
-The `QuantitySelector` component now uses CSS modules.
+ The `QuantitySelector` component now uses CSS modules.
## Framework-specific updates
### Gatsby
-#### 🎉 New feature
+
+#### 🎉 New feature
+
- **New local tokens added to `Checkbox`** [#61](https://github.com/vtex-sites/gatsby.store/pull/61)
-The `Checkbox` component now has new tokens based on the Base Store [Theming Structure](https://github.com/vtex-sites/base.store/pull/407).
+ The `Checkbox` component now has new tokens based on the Base Store [Theming Structure](https://github.com/vtex-sites/base.store/pull/407).
- **Support for product attachments available** [#53](https://github.com/vtex-sites/gatsby.store/pull/53)
-The Base Store now supports product attachments.
+ The Base Store now supports product attachments.
#### 🐛 Bug fix
+
- **`ArrowsClockwise` icon closing tag [#57](https://github.com/vtex-sites/gatsby.store/pull/57)**
-The closing tag of the `ArrowsClockwise` icon was fixed and no longer breaks icons on Firefox.
+ The closing tag of the `ArrowsClockwise` icon was fixed and no longer breaks icons on Firefox.
#### 🧹 Chore
+
- **Updated product components styling [#54](https://github.com/vtex-sites/gatsby.store/pull/54)**
-The `ProductCard`, `ProductGrid`, and `ProductGallery` components now use CSS modules.
+ The `ProductCard`, `ProductGrid`, and `ProductGallery` components now use CSS modules.
- **Upgraded Gatsby and other dependencies [#59](https://github.com/vtex-sites/gatsby.store/pull/59)**
-After Gatsby's [improvements in Image and Font Loading Times announcement](https://www.gatsbyjs.com/docs/reference/release-notes/v4.14/#improvements-in-image-and-font-loading-times), Gatsby and other dependencies have been upgraded.
+ After Gatsby's [improvements in Image and Font Loading Times announcement](https://www.gatsbyjs.com/docs/reference/release-notes/v4.14/#improvements-in-image-and-font-loading-times), Gatsby and other dependencies have been upgraded.
- **Updated ImageGallery styling [#41](https://github.com/vtex-sites/gatsby.store/pull/41)**
-The `ImageGallery` component now uses CSS modules.
+ The `ImageGallery` component now uses CSS modules.
### Next.js
+
#### 🎉 New feature
+
- **New `Toggle` component [#15](https://github.com/vtex-sites/nextjs.store/pull/15)**
-The `Toggle` component works as a checkbox, but in the form of a switch control.
+ The `Toggle` component works as a checkbox, but in the form of a switch control.
- **Updated `Link` theming [#17](https://github.com/vtex-sites/nextjs.store/pull/17)**
-The `Link` component now has new tokens based on the Base Store [Theming Structure](https://github.com/vtex-sites/base.store/pull/407).
+ The `Link` component now has new tokens based on the Base Store [Theming Structure](https://github.com/vtex-sites/base.store/pull/407).
#### 🐛 Bug fix
- **Fixed the `fetchPriority` prop warning [#54](https://github.com/vtex-sites/nextjs.store/pull/54)**
-Fixed warning related to the `fetchPriority` being written in camel case.
+ Fixed warning related to the `fetchPriority` being written in camel case.
- **Fixed Storybook error while importing CSS styles [#53](https://github.com/vtex-sites/nextjs.store/pull/53)**
- **Fixed `EmptyState` visual bug [#11](https://github.com/vtex-sites/nextjs.store/pull/11)**
-The vertical gap for the empty cart state is now fixed.
+ The vertical gap for the empty cart state is now fixed.
-| Before | After |
-| -------- | -------- |
-| ![Screen Shot 2022-05-02 at 15 08 03](https://user-images.githubusercontent.com/381395/166301327-5d18aaa1-cd0c-47c8-b7b6-c94c3a0c8170.png) | ![Screen Shot 2022-05-02 at 15 07 31](https://user-images.githubusercontent.com/381395/166301331-223b849d-35ac-4482-9a64-d9f74d1055e4.png) |
+| Before | After |
+| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
+| ![Screen Shot 2022-05-02 at 15 08 03](https://user-images.githubusercontent.com/381395/166301327-5d18aaa1-cd0c-47c8-b7b6-c94c3a0c8170.png) | ![Screen Shot 2022-05-02 at 15 07 31](https://user-images.githubusercontent.com/381395/166301331-223b849d-35ac-4482-9a64-d9f74d1055e4.png) |
#### 🧹 Chore
+
- **camelCase standard for CSS Modules classes [#42](https://github.com/vtex-sites/nextjs.store/pull/42)**
-Since the `gatsby.store` only imports classes as camel case, the `nextjs.store` now has a configuration to import classes as camel case too.
+ Since the `gatsby.store` only imports classes as camel case, the `nextjs.store` now has a configuration to import classes as camel case too.
- **Improved home performance [#45](https://github.com/vtex-sites/nextjs.store/pull/45)**
-- **Updated global tokens nomenclature [#51](https://github.com/vtex-sites/nextjs.store/pull/51)**
\ No newline at end of file
+- **Updated global tokens nomenclature [#51](https://github.com/vtex-sites/nextjs.store/pull/51)**
diff --git a/apps/docs/blog/2022-06-03-faststore.md b/apps/docs/blog/2022-06-03-faststore.md
index 695d980d74..44b03bb18f 100644
--- a/apps/docs/blog/2022-06-03-faststore.md
+++ b/apps/docs/blog/2022-06-03-faststore.md
@@ -1,6 +1,6 @@
---
title: FastStore - May 2022
-description: FastStore Release Notes
+description: FastStore Release Notes
tags: [faststore]
hide_table_of_contents: false
---
@@ -8,72 +8,80 @@ hide_table_of_contents: false
New OutOfStock and ProductCard components added to the FastStore UI. Also, improvements in the FastStore API now allow fetching additional properties of a product.
+
## FastStore UI
### `OutOfStock`
+
-
-Use the OutOfStock component to display a subscription form for shoppers who want to be alerted when the product is back in stock.
+ Use the OutOfStock component to display a subscription form for shoppers who want to be alerted when the product is back in stock.
![out-of-stock](https://user-images.githubusercontent.com/51174217/169893136-8834db12-af0b-4b64-9365-cce67368c094.png)
### `ProductCard`
+
-
-Use the ProductCard component to provide a general view of a product, including images, name, price, discount, and buy button.
+ Use the ProductCard component to provide a general view of a product, including images, name, price, discount, and buy button.
![product-card](https://user-images.githubusercontent.com/3356699/167171222-01edef9e-fe53-4910-ac41-7fd5329fcdfd.png)
## FastStore SDK
+
### `useStorage`
+
-
-The shopping cart is now persistent across the browser's tabs. Before, if two items were added to the cart through distinct tabs, the last item would always overwrite the prior one.
+ The shopping cart is now persistent across the browser's tabs. Before, if two items were added to the cart through distinct tabs, the last item would always overwrite the prior one.
## FastStore API
+
### VTEX Platform
-
-All requests to the FastStore Search API now receive locale info so the search can return product suggestions according to the user locale.
+ All requests to the FastStore Search API now receive locale info so the search can return product suggestions according to the user locale.
-
-Breadcrumb links that were broken have been fixed, allowing shoppers to navigate the website without getting 404 errors.
+ Breadcrumb links that were broken have been fixed, allowing shoppers to navigate the website without getting 404 errors.
-
✨Support for querying additional properties of a product - #1304
-The FastStore API has been enhanced to support querying any additional property of a product.
+ The FastStore API has been enhanced to support querying any additional property of a product.
-
-The behavior of the validateCart resolver has been modified. After placing an order, the cart is now cleared, and any changes made during checkout are reflected in the cart.
+ The behavior of the validateCart resolver has been modified. After placing an order, the cart is now cleared, and any changes made during checkout are reflected in the cart.
-
🐛The Search API now receives selectedFacets component - #1297
-Filtering search results according to the user's region has been fixed.
+ Filtering search results according to the user's region has been fixed.
-
-Product offers related to a specific SKU have been fixed, and now the offers are available only for available SKUs.
+ Product offers related to a specific SKU have been fixed, and now the offers are available only for available SKUs.
-
-FastStore API reference documentation is now available. For more information, refer to this announcement.
+ FastStore API reference documentation is now available. For more information, refer to this announcement.
-
📑Improved the descriptions of FastStore API - #1303
diff --git a/apps/docs/docs/conceptual-guides.md b/apps/docs/docs/conceptual-guides.md
index 5d13969c80..d399b1a31c 100644
--- a/apps/docs/docs/conceptual-guides.md
+++ b/apps/docs/docs/conceptual-guides.md
@@ -2,4 +2,4 @@
:::caution WIP
This documentation is currently under development.
-:::
\ No newline at end of file
+:::
diff --git a/apps/docs/docs/conceptual-guides/jamstack.md b/apps/docs/docs/conceptual-guides/jamstack.md
index c0b64f1b97..cc52193e5d 100644
--- a/apps/docs/docs/conceptual-guides/jamstack.md
+++ b/apps/docs/docs/conceptual-guides/jamstack.md
@@ -1,4 +1,4 @@
-# Jamstack
+# Jamstack
:::caution WIP
This documentation is currently under development.
diff --git a/apps/docs/docs/conceptual-guides/plugin.md b/apps/docs/docs/conceptual-guides/plugin.md
index 9affb30b20..489619290b 100644
--- a/apps/docs/docs/conceptual-guides/plugin.md
+++ b/apps/docs/docs/conceptual-guides/plugin.md
@@ -6,4 +6,4 @@ id: P-plugin
:::caution WIP
This documentation is currently under development.
-:::
\ No newline at end of file
+:::
diff --git a/apps/docs/docs/conceptual-guides/starter.md b/apps/docs/docs/conceptual-guides/starter.md
index 9603e1837a..59c5802ed4 100644
--- a/apps/docs/docs/conceptual-guides/starter.md
+++ b/apps/docs/docs/conceptual-guides/starter.md
@@ -6,4 +6,4 @@ id: S-starter
:::caution WIP
This documentation is currently under development.
-:::
\ No newline at end of file
+:::
diff --git a/apps/docs/docs/conceptual-guides/static-site-generator.md b/apps/docs/docs/conceptual-guides/static-site-generator.md
index 788b6f7cc6..5162557895 100644
--- a/apps/docs/docs/conceptual-guides/static-site-generator.md
+++ b/apps/docs/docs/conceptual-guides/static-site-generator.md
@@ -8,4 +8,4 @@ id: S-ssg
This documentation is currently under development.
:::
-![](https://vtexhelp.vtexassets.com/assets/docs/src/StaticSiteGenerator___8cbe91c9104700581f219dd6affeeb11.jpg)
\ No newline at end of file
+![](https://vtexhelp.vtexassets.com/assets/docs/src/StaticSiteGenerator___8cbe91c9104700581f219dd6affeeb11.jpg)
diff --git a/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Enabling private CMS previews.md b/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Enabling private CMS previews.md
index e1565a6708..1633f50d65 100644
--- a/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Enabling private CMS previews.md
+++ b/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Enabling private CMS previews.md
@@ -12,9 +12,9 @@ To complete this guide, you must have the VTEX IO CLI installed in your machine.
## Step by step
-1. Open the terminal and log in to your VTEX account.
- *Remember to replace the values between curly brackets according to your scenario.*
-
+1. Open the terminal and log in to your VTEX account.
+ _Remember to replace the values between curly brackets according to your scenario._
+
```
vtex login {account}
```
@@ -24,10 +24,11 @@ To complete this guide, you must have the VTEX IO CLI installed in your machine.
:::
2. Install the `vtex.faststore-auth` app in your account.
- ```
- vtex install vtex.faststore-auth
- ```
+ ```
+ vtex install vtex.faststore-auth
+ ```
3. Now, open your FastStore project in any code editor of your preference and add the following flag to your `vtex.env` file:
+
```diff {9} title="vtex.env"
# configures Gatsby
GATSBY_CPU_COUNT=4
@@ -38,7 +39,8 @@ To complete this guide, you must have the VTEX IO CLI installed in your machine.
USE_GATSBY_CACHE=false
+ USE_CMS_PREVIEW_AUTH=true
- ```
+ ```
+
4. Open a Pull Request including the previous changes.
5. Merge the Pull Request.
diff --git a/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Installing Releases on VTEX Headless CMS.md b/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Installing Releases on VTEX Headless CMS.md
index 967700f307..e0d423c4ac 100644
--- a/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Installing Releases on VTEX Headless CMS.md
+++ b/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Installing Releases on VTEX Headless CMS.md
@@ -11,38 +11,49 @@ To complete this guide, you must have the VTEX IO CLI installed in your machine.
---
## Step by step
+
### Step 1 - Setting up the Releases app
+
1. Open the terminal and log in to your VTEX account.
- - *Replace the value between curly braces according to your scenario.*
-
- ```
- vtex login {account}
- ```
+ - _Replace the value between curly braces according to your scenario._
+
+```
+vtex login {account}
+```
2. Upgrade the Admin CMS app to 1.x by running the following command:
- ```
- vtex install admin-cms@1.x admin-cms-graphql-rc@1.x
- ```
+
+ ```
+ vtex install admin-cms@1.x admin-cms-graphql-rc@1.x
+ ```
3. Install the Admin Releases app:
- ```
- vtex install vtex.admin-releases@0.x
- ```
+
+ ```
+ vtex install vtex.admin-releases@0.x
+ ```
4. Create a file named `cms-webhook-urls.json` in the root folder of your repository with the following content:
- ```json title="cms-webhook-urls.json"
- {"urls":["https://{workspace}--{account}.myvtex.com/cms-releases/webhook-releases"] }
- ```
+ ```json title="cms-webhook-urls.json"
+ {
+ "urls": [
+ "https://{workspace}--{account}.myvtex.com/cms-releases/webhook-releases"
+ ]
+ }
+ ```
### Step 2 - Updating the VTEX Headless CMS settings
+
1. Open the VTEX Admin.
2. Go to **Account Settings > Apps > My apps**.
3. Look for the **CMS (alpha)** app and click on **Settings**.
4. Update the **Build Webhook** URL value with the releases URL (`https://app.io.vtex.com/vtex.cms-builder-sf-jamstack/v1/{ACCOUNT}/{WORKSPACE}/build-releases`) as shown in the image below.
-![Build Webhook Url Example](https://vtexhelp.vtexassets.com/assets/docs/src/releases-cms___b94b78c7fdb4dc7015839eccd9f534ce.png)
+ ![Build Webhook Url Example](https://vtexhelp.vtexassets.com/assets/docs/src/releases-cms___b94b78c7fdb4dc7015839eccd9f534ce.png)
### Step 3 - Recovering data
+
When upgrading the VTEX Headless CMS, the data saved in the account will be lost. To recover your account data, follow the steps below.
+
1. On the Admin, go to the CMS `0.x` **Settings** (`https://{workspace}--{account}.myvtex.com/admin/apps/vtex.admin-cms-graphql-rc@0.x/setup/`) and copy all your definitions (e.g., Builder ID, Build Webhook URL, etc.).
2. Now, go to the CMS `1.x` **Settings** (`https://{workspace}--{account}.myvtex.com/admin/apps/vtex.admin-cms-graphql-rc@1.x/setup/`) and paste the values previously copied accordingly.
3. Open the terminal and change to your FastStore project repository.
@@ -51,12 +62,3 @@ When upgrading the VTEX Headless CMS, the data saved in the account will be lost
:::info
If you are using `gatsby-plugin-cms` (check your `package.json` file), you will also need to install the `vtex.graphql-gateway@1.0.1-hkignore.0` app. For more information, please refer to the [Migrating from gatsby-plugin-cms to gatsby-source-cms](/how-to-guides/cms/vtex-headless-cms/Migrating%20from%20gatsby-plugin-cms%20to%20gatsby-source-cms) guide.
:::
-
-
-
-
-
-
-
-
-
diff --git a/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Migrating from gatsby-plugin-cms to gatsby-source-cms.md b/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Migrating from gatsby-plugin-cms to gatsby-source-cms.md
index fb0c0df991..79a3d4b4ff 100644
--- a/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Migrating from gatsby-plugin-cms to gatsby-source-cms.md
+++ b/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Migrating from gatsby-plugin-cms to gatsby-source-cms.md
@@ -19,20 +19,20 @@ To complete this guide, you must have the VTEX IO CLI installed in your machine.
### Step 1 - Uninstalling the deprecated plugin
-Before proceeding any further, make sure to uninstall the deprecated `gatsby-plugin-cms` from your FastStore project.
+Before proceeding any further, make sure to uninstall the deprecated `gatsby-plugin-cms` from your FastStore project.
-1. Open the terminal and **change to the root directory of your FastStore project.**
+1. Open the terminal and **change to the root directory of your FastStore project.**
2. Remove the `gatsby-plugin-cms` plugin from your project by running the following command:
- ```bash
- yarn remove @vtex/gatsby-plugin-cms
- ```
+ ```bash
+ yarn remove @vtex/gatsby-plugin-cms
+ ```
3. Also, remove the files related to the deprecated `gatsby-plugin-cms` plugin:
- ```bash
- rm -rf ./src/@vtex/gatsby-plugin-cms/
- ```
+ ```bash
+ rm -rf ./src/@vtex/gatsby-plugin-cms/
+ ```
### Step 2 - Installing the `gatsby-source-cms` plugin
@@ -46,31 +46,31 @@ Now that you have uninstalled the deprecated plugin, you're ready to install the
2. Open the `gatsby-config.js` file and update it to fetch the CMS pages using the new Gatsby plugin as in the following:
- ```diff
- -{
- - resolve: '@vtex/gatsby-plugin-cms',
- - options: {
- - tenant: account,
- - workspace,
- - environment,
- - },
- -},
-
- +{
- + resolve: '@vtex/gatsby-source-cms',
- + options: {
- + workspace, // workspace you're using to develop or master
- + tenant: account, // the name of your VTEX account
- + },
- +},
- ```
+ ```diff
+ -{
+ - resolve: '@vtex/gatsby-plugin-cms',
+ - options: {
+ - tenant: account,
+ - workspace,
+ - environment,
+ - },
+ -},
+
+ +{
+ + resolve: '@vtex/gatsby-source-cms',
+ + options: {
+ + workspace, // workspace you're using to develop or master
+ + tenant: account, // the name of your VTEX account
+ + },
+ +},
+ ```
### Step 3 - Recovering Content Types, Sections and Translation Keys
Now, it's time to set up the folder structure necessary for the `gatsby-source-cms` plugin to function and recover your Content Types, Sections, and Translation Keys definitions.
1. Create a new folder called `cms` in the root directory of your project:
-
+
```bash
mkdir cms
```
@@ -114,6 +114,7 @@ wget https://{account}.vtex.app/page-data/_cms/sections.json -O ./cms/sections.j
wget https://{account}.vtex.app/page-data/_cms/content-types.json -O ./cms/content-types.json
wget https://{account}.vtex.app/page-data/_cms/translation-keys.json -O ./cms/translation-keys.json
```
+
@@ -124,7 +125,7 @@ Now, look for the `sections.json`, `content-types.json`, and `translation-keys.j
Even though you can reuse most of your Content Type, Section, and Translation Key definitions, you might need to adapt some of your schemas and queries to guarantee that the migration will be successful.
1. Open the terminal and run `yarn develop` to start a local development server.
-2. Open the Graph*i*QL IDE ([http://localhost:8000/__graphql](http://localhost:8000/__graphql)) and test your old queries, making sure they are compatible with the `gatsby-source-cms` plugin. Notice that you may need to adapt some queries to use `data` instead of `props`.
+2. Open the Graph*i*QL IDE ([http://localhost:8000/\_\_graphql](http://localhost:8000/__graphql)) and test your old queries, making sure they are compatible with the `gatsby-source-cms` plugin. Notice that you may need to adapt some queries to use `data` instead of `props`.
3. If necessary, open your project and update the GraphQL queries used in your components.
### Step 4 - Syncing your changes
@@ -132,34 +133,36 @@ Even though you can reuse most of your Content Type, Section, and Translation Ke
You can now sync your Content Type, Section, and Translation Key definitions with your VTEX account. This will allow you to see your definitions in the VTEX Headless CMS via the Admin interface.
1. Open the terminal and log in to your VTEX account.
- - *Replace the value between curly brackets according to your scenario.*
-
- ```bash
- vtex login {account}
- ```
+
+ - _Replace the value between curly brackets according to your scenario._
+
+ ```bash
+ vtex login {account}
+ ```
2. Create a new development workspace to test your Content Types, Sections and Translation Keys locally.
- - *Replace the value between curly brackets according to your scenario.*
- ```bash
- vtex use {workspace}
- ```
+ - _Replace the value between curly brackets according to your scenario._
+
+ ```bash
+ vtex use {workspace}
+ ```
3. Install the VTEX Headless CMS plugin for the VTEX IO CLI:
- ```bash
- vtex plugins install cms
- ```
+ ```bash
+ vtex plugins install cms
+ ```
4. Sync your changes in the `cms` folder with your VTEX workspace by running the following command:
- ```bash
- vtex cms sync
- ```
+ ```bash
+ vtex cms sync
+ ```
- :::info
- Use the `--watch` argument to automatically sync your changes with the VTEX Headless CMS app while developing your schemas as in the following: `vtex cms sync --watch`.
- :::
+ :::info
+ Use the `--watch` argument to automatically sync your changes with the VTEX Headless CMS app while developing your schemas as in the following: `vtex cms sync --watch`.
+ :::
---
@@ -177,4 +180,4 @@ try migrating your queries to fetch your store collections.
## Related resources
-- Gatsby Docs: [Running a Gatsby Preview Server](https://www.gatsbyjs.com/docs/how-to/local-development/running-a-gatsby-preview-server/)
\ No newline at end of file
+- Gatsby Docs: [Running a Gatsby Preview Server](https://www.gatsbyjs.com/docs/how-to/local-development/running-a-gatsby-preview-server/)
diff --git a/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Sending CMS updates to VTEX IO WebOps.md b/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Sending CMS updates to VTEX IO WebOps.md
index 162aa8759d..45f93dd547 100644
--- a/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Sending CMS updates to VTEX IO WebOps.md
+++ b/apps/docs/docs/how-to-guides/cms/vtex-headless-cms/Sending CMS updates to VTEX IO WebOps.md
@@ -2,18 +2,19 @@
description: Configure the WebOps webhooks responsible for communicating with the VTEX Headless CMS.
---
-# Communicating WebOps updates to the Headless CMS
+# Communicating WebOps updates to the Headless CMS
If you are developing your FastStore project with WebOps and VTEX Headless CMS, you must ensure that WebOps is aware of every CMS update performed via the VTEX Admin. To do so, you must configure the WebOps webhooks responsible for communicating with the VTEX Headless CMS as in the following step by step.
## Step by step
1. Open your FastStore project in any code editor of your preference.
-2. Create the `cms-webhook-urls.json` file in the root directory of your project.
+2. Create the `cms-webhook-urls.json` file in the root directory of your project.
3. Add the webhooks corresponding to your store website as in the following:
+
```json title="cms-webhook-urls.json"
{
- "urls": [ "https://{account}.myvtex.com/cms-releases/webhook-releases"]
+ "urls": ["https://{account}.myvtex.com/cms-releases/webhook-releases"]
}
```
@@ -24,4 +25,4 @@ If you are developing your FastStore project with WebOps and VTEX Headless CMS,
4. Open a Pull Request including the previous changes.
5. Merge the Pull Request.
-Now, if you request to publish a page via the VTEX Headless CMS, WebOps will rebuild your store website and, if successful, change the status of your draft to **Published**.
\ No newline at end of file
+Now, if you request to publish a page via the VTEX Headless CMS, WebOps will rebuild your store website and, if successful, change the status of your draft to **Published**.
diff --git a/apps/docs/docs/how-to-guides/contributing/design-principles.md b/apps/docs/docs/how-to-guides/contributing/design-principles.md
index 781ef2cfc0..7fc72df1f5 100644
--- a/apps/docs/docs/how-to-guides/contributing/design-principles.md
+++ b/apps/docs/docs/how-to-guides/contributing/design-principles.md
@@ -15,8 +15,11 @@ interface CheckboxGroupProps {}
const CheckboxGroup = ({ onChange, testId, ...props }: CheckboxGroupProps) => {
return (
-
{/* Pay attention to the data-attribute */}
- {/* Pay attention to the data-attribute */}
+
+ {' '}
+ {/* Pay attention to the data-attribute */}
+ {' '}
+ {/* Pay attention to the data-attribute */}
@@ -57,7 +60,7 @@ const CheckboxGroup = ({ onChange, testId, disabled, ...props }: CheckboxGroupPr
Styling the disabled state:
```css
-[data-checkbox][data-disabled] {
+[data-checkbox][data-disabled] {
/* your style here */
}
```
@@ -65,9 +68,12 @@ Styling the disabled state:
Another example for a carousel component:
```css
-[data-store-carousel] {}
-[data-store-carousel-arrows="left"] {}
-[data-store-carousel-arrows="right"] {}
+[data-store-carousel] {
+}
+[data-store-carousel-arrows='left'] {
+}
+[data-store-carousel-arrows='right'] {
+}
```
For more information look at the [styling discussion](https://github.com/vtex/faststore/discussions/919).
@@ -102,15 +108,19 @@ Each component should have your test for each property, behavior, and data-attri
Each component should have tests for accessibility using jest-axe. Also, implement tests to check the specifications for described components on [W3 best practices](https://www.w3.org/TR/wai-aria-practices-1.1).
-For example, tests for Modal Dialog component:
+For example, tests for Modal Dialog component:
```tsx
import { axe } from 'jest-axe'
describe('Modal', () => {
it('Accessibility test with AXE', async () => {
- render(Modal example)
-
+ render(
+
+ Modal example
+
+ )
+
expect(await axe(document.body)).toHaveNoViolations()
})
@@ -140,6 +150,7 @@ describe('Modal', () => {
Don't use slots on organisms. It is desired that the organisms should be more like documentation about using atoms and molecules components.
### When use slots?
+
TODO:
## Export hook vs export UI
@@ -183,32 +194,37 @@ export default {
},
} as Meta
```
+
> Don't spread the props on the component template.
A default template for the story `.mdx` file:
-```mdx
+````mdx
# Component name Here
+
## Default
+
## Secondary
+
## Props
+
## CSS Selectors
+
[data-attribute] {}
-
-```
+````
Write everything that's important for your component inside the `.mdx`.
diff --git a/apps/docs/docs/how-to-guides/faststore-api/creating-resolvers.md b/apps/docs/docs/how-to-guides/faststore-api/creating-resolvers.md
index 0eb50cb4a7..c9f3851eef 100644
--- a/apps/docs/docs/how-to-guides/faststore-api/creating-resolvers.md
+++ b/apps/docs/docs/how-to-guides/faststore-api/creating-resolvers.md
@@ -5,12 +5,14 @@ This documentation is currently under development.
:::
If your ecommerce platform is not supported you have two options.
+
1. Make a contribution
2. Create inline resolvers for your platform
Inline resolves means you are going to write all resolvers for the api schema in your project or in an external library. This is recommended if you are supporting a niche platform and want to have full control over how each field is processed.
To create your own resolvers, you can:
+
```ts
import { getTypeDefs } from '@faststore/api'
import { ApolloServer } from 'apollo-server'
@@ -29,4 +31,4 @@ const resolvers = {
const schema = makeExecutableSchema({ resolvers, typeDefs })
// You now have a runnable GraphQL schema, you can create a server or run queries locally.
-```
\ No newline at end of file
+```
diff --git a/apps/docs/docs/how-to-guides/faststore-api/extending-the-faststore-api.md b/apps/docs/docs/how-to-guides/faststore-api/extending-the-faststore-api.md
index 8508cb788d..76e7013637 100644
--- a/apps/docs/docs/how-to-guides/faststore-api/extending-the-faststore-api.md
+++ b/apps/docs/docs/how-to-guides/faststore-api/extending-the-faststore-api.md
@@ -7,6 +7,7 @@ This documentation is currently under development.
GraphQL is a very versatile language. By using the exported `getSchema` function, you can not only extend the base schema but also redefine the whole resolvers implementation.
To extend the schema, one can:
+
```ts
import { getSchema, getTypeDefs } from '@faststore/api'
import { makeExecutableSchema, mergeSchemas } from '@graphql-tools/schema'
diff --git a/apps/docs/docs/how-to-guides/migrating-from-SF.md b/apps/docs/docs/how-to-guides/migrating-from-SF.md
index 2b7a676f9a..9bf265c399 100644
--- a/apps/docs/docs/how-to-guides/migrating-from-SF.md
+++ b/apps/docs/docs/how-to-guides/migrating-from-SF.md
@@ -2,4 +2,4 @@
:::caution WIP
This documentation is currently under development.
-:::
\ No newline at end of file
+:::
diff --git a/apps/docs/docs/how-to-guides/performance/performance.md b/apps/docs/docs/how-to-guides/performance/performance.md
index 5d13969c80..d399b1a31c 100644
--- a/apps/docs/docs/how-to-guides/performance/performance.md
+++ b/apps/docs/docs/how-to-guides/performance/performance.md
@@ -2,4 +2,4 @@
:::caution WIP
This documentation is currently under development.
-:::
\ No newline at end of file
+:::
diff --git a/apps/docs/docs/how-to-guides/platform-integration/vtex-integration.md b/apps/docs/docs/how-to-guides/platform-integration/vtex-integration.md
index 8d42379783..cd590c8b43 100644
--- a/apps/docs/docs/how-to-guides/platform-integration/vtex-integration.md
+++ b/apps/docs/docs/how-to-guides/platform-integration/vtex-integration.md
@@ -110,4 +110,4 @@ Therefore, to provide shoppers with a full checkout and post-purchase experience
-
\ No newline at end of file
+
diff --git a/apps/docs/docs/how-to-guides/platform-integration/vtex/hosting-a-faststore-vtex-website.md b/apps/docs/docs/how-to-guides/platform-integration/vtex/hosting-a-faststore-vtex-website.md
index afbebd0954..a23c1fffe9 100644
--- a/apps/docs/docs/how-to-guides/platform-integration/vtex/hosting-a-faststore-vtex-website.md
+++ b/apps/docs/docs/how-to-guides/platform-integration/vtex/hosting-a-faststore-vtex-website.md
@@ -21,10 +21,13 @@ Use the `nslookup` command as in the following to check which **IP address** cor
1. Open the terminal.
2. Check which IP addresses are capable of hosting your website by running the following command:
- - Remember to replace `{URL}` with your automatic deployment URL (e.g., `base.vtex.app`, `base.netlify.app`, `base.vercel.app`).
- ```
- nslookup {URL}
- ```
+
+- Remember to replace `{URL}` with your automatic deployment URL (e.g., `base.vtex.app`, `base.netlify.app`, `base.vercel.app`).
+
+```
+nslookup {URL}
+```
+
4. Copy and save one of the IP addresses presented below the `Non-authoritative answer` message for further usage.
![Getting the IP address of your website via the terminal](https://vtexhelp.vtexassets.com/assets/docs/src/nslookup___388da0c4d31ac04a2979dd6435107f93.png)
@@ -37,9 +40,9 @@ Now, it's time to make your website publicly available on the internet.
If you still need to configure other VTEX solutions, please **use a fictitious domain name** when taking the following steps. Then, once you set up all the desired integrations, repeat this guide using your final domain to make your website publicly available to end-users.
:::
-1. Access your domain provider website.
-2. Configure a **domain name** (for example, `vtexfaststore.com`) that points to the **IP address** you saved in the previous step. *Check the documentation of your domain provider for more information.*
-4. Now, configure a **subdomain** named `secure` that points to `secure.{rootDomain}.cdn.vtex.com`, where `{rootDomain}` is the **complete** address of your website. For example, `secure.vtexfaststore.com.cdn.vtex.com`. This subdomain will be used by the **Checkout**, **Order Placed**, **Login**, and **My Account** pages.
+1. Access your domain provider website.
+2. Configure a **domain name** (for example, `vtexfaststore.com`) that points to the **IP address** you saved in the previous step. _Check the documentation of your domain provider for more information._
+3. Now, configure a **subdomain** named `secure` that points to `secure.{rootDomain}.cdn.vtex.com`, where `{rootDomain}` is the **complete** address of your website. For example, `secure.vtexfaststore.com.cdn.vtex.com`. This subdomain will be used by the **Checkout**, **Order Placed**, **Login**, and **My Account** pages.
### Step 3 - Setting up your VTEX account
@@ -58,13 +61,14 @@ Back to your FastStore project, you must also configure your project to point to
1. Open your FastStore project in any code editor of your preference.
2. Open the `store.config.js` file.
-4. Update the `storeUrl`, `secureSubdomain`, `checkoutUrl`, `loginUrl`, and `accountUrl` properties as in the following:
+3. Update the `storeUrl`, `secureSubdomain`, `checkoutUrl`, `loginUrl`, and `accountUrl` properties as in the following:
+
- **`storeUrl`**: https://{rootDomain}
- **`secureSubdomain`**: https://{subdomain}.{rootDomain}
- **`checkoutUrl`**: https://{subdomain}.{rootDomain}/checkout
- **`loginUrl`**: https://{subdomain}.{rootDomain}/api/io/login
- **`accountUrl`**: https://{subdomain}.{rootDomain}/api/io/account
- Take the follwoing example of how this code block would look after configuring a store with the `vtexfaststore.com` root domain and `secure` subdomain:
+ Take the follwoing example of how this code block would look after configuring a store with the `vtexfaststore.com` root domain and `secure` subdomain:
```diff title="store.config.js"
...
@@ -84,8 +88,8 @@ Back to your FastStore project, you must also configure your project to point to
...
```
-5. Save your changes.
-6. Open a Pull Request and commit your changes.
+4. Save your changes.
+5. Open a Pull Request and commit your changes.
---
diff --git a/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-the-vtex-login.md b/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-the-vtex-login.md
index 3ad6549123..735ea52647 100644
--- a/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-the-vtex-login.md
+++ b/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-the-vtex-login.md
@@ -27,18 +27,19 @@ By the end of this step, changes will be live to all end-users, meaning that onc
3. In the left-side navigation menu, click on **CMS**.
4. Click on **HTML Templates** and open the **Home** file.
5. Add the following script to the Home's ``.
- - *Replace the value between curly brackets with your store domain.*
-
+
+ - _Replace the value between curly brackets with your store domain._
+
```xhtml
-
+
```
6. Clean the `` section to remove unnecessary code. By the end of this step, your Home file should look like the following:
- ![Home Template](https://vtexhelp.vtexassets.com/assets/docs/src/home-template___a12a67566b69529d2a3f19c98f135060.png)
+![Home Template](https://vtexhelp.vtexassets.com/assets/docs/src/home-template___a12a67566b69529d2a3f19c98f135060.png)
7. Click on the **Save Template** button.
-### Step 2 - Setting the auth cookie root domain
+### Step 2 - Setting the auth cookie root domain
To authenticate client requests and maintain session information, you must ensure that the auth cookies are set up for the **Login** subdomain. To do that, [open a support ticket](https://help-tickets.vtex.com/smartlink/sso/login/zendesk) to the Identity team requesting to set up the auth cookie root domain for your FastStore URL.
diff --git a/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-vtex-checkout.md b/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-vtex-checkout.md
index 79a233c100..11403961cb 100644
--- a/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-vtex-checkout.md
+++ b/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-vtex-checkout.md
@@ -7,12 +7,14 @@ sidebar_position: 4
In this guide, you'll learn how to integrate your **FastStore** project with the **VTEX Checkout**. The Checkout comprehends the pages responsible for receiving the shopper's information necessary to process an order.
To successfully integrate the VTEX Checkout with your FastStore project, you must ensure that:
-- Shoppers will be presented with an updated version of the Order Placed page once they place an order.
+
+- Shoppers will be presented with an updated version of the Order Placed page once they place an order.
- All links in the Header and Footer of the Checkout point to your FastStore website.
## Before you start
Before proceeding any further, make sure you already have:
+
- [Your FastStore + VTEX website hosted on the internet](/how-to-guides/platform-integration/vtex/hosting-a-faststore-vtex-website).
---
@@ -26,19 +28,21 @@ Take the following steps to guarantee shoppers will be redirected to the newest
1. Access the **VTEX Admin**.
2. Go to **Store Setup > Checkout**.
3. Click on the **gear button** in the **Default** card.
-4. Change to the **Code** tab.
-5. Select `checkout-confirmation-custom.js` under **Files**.
+4. Change to the **Code** tab.
+5. Select `checkout-confirmation-custom.js` under **Files**.
6. Add the following JavaScript code in the editor:
- ```jsx {4-5} title="checkout-confirmation-custom.js"
- // WARNING: THE USAGE OF CUSTOM SCRIPTS IS NOT SUPPORTED. VTEX IS NOT LIABLE FOR ANY DAMAGES THIS MAY CAUSE.
- // THIS MAY BREAK YOUR STORE AND STOP SALES. IN CASE OF ERRORS, PLEASE DELETE THE CONTENT OF THIS SCRIPT.
+```jsx {4-5} title="checkout-confirmation-custom.js"
+// WARNING: THE USAGE OF CUSTOM SCRIPTS IS NOT SUPPORTED. VTEX IS NOT LIABLE FOR ANY DAMAGES THIS MAY CAUSE.
+// THIS MAY BREAK YOUR STORE AND STOP SALES. IN CASE OF ERRORS, PLEASE DELETE THE CONTENT OF THIS SCRIPT.
+
+const og = new URLSearchParams(location.search).get('og')
+window.location.assign(
+ `${window.location.origin}/api/io${window.location.pathname}?og=${og}`
+)
+```
- const og = new URLSearchParams(location.search).get('og')
- window.location.assign(`${window.location.origin}/api/io${window.location.pathname}?og=${og}`)
- ```
-
-7. Click on **Save**. Notice that, as soon as you hit the *Save* button, your changes will be live to all clients.
+7. Click on **Save**. Notice that, as soon as you hit the _Save_ button, your changes will be live to all clients.
![](https://vtexhelp.vtexassets.com/assets/docs/src/orderplacedversion___224b9d7a692b85ae1e56eee5744bd511.png)
@@ -46,19 +50,17 @@ Take the following steps to guarantee shoppers will be redirected to the newest
We now need to update the links presented in the Header and Footer of the Checkout pages, guaranteeing that all links point to your FastStore website. To do that, take the following steps.
-1. Still in the VTEX Admin at the **Store Setup > Checkout > Default > Code** tab, click on `checkout-footer.js` under **Files**.
+1. Still in the VTEX Admin at the **Store Setup > Checkout > Default > Code** tab, click on `checkout-footer.js` under **Files**.
2. Edit the `checkout-header.js` code according to your scenario, making sure all links are pointing to your FastStore website. For example:
- ```diff title="checkout-header.js"
-
+ ```
-3. Click on **Save**. Notice that, as soon as you hit the *Save* button, your changes will be live to all clients.
+3. Click on **Save**. Notice that, as soon as you hit the _Save_ button, your changes will be live to all clients.
Once you adjust all the Header links of the Checkout pages, make sure to repeat this process for the `checkout-footer.js` file to adjust the Checkout Footer.
-
-
diff --git a/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-vtex-orderplaced-myaccount.md b/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-vtex-orderplaced-myaccount.md
index 2337cd972b..641adcbed3 100644
--- a/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-vtex-orderplaced-myaccount.md
+++ b/apps/docs/docs/how-to-guides/platform-integration/vtex/integrating-vtex-orderplaced-myaccount.md
@@ -4,7 +4,7 @@ sidebar_position: 5
# Implementing VTEX Order Placed and My Account
-To create a complete digital commerce experience for your FastStore project, you need to provide shoppers with a Checkout and My Account space, for example. In this guide, we'll teach you how to implement the **Order Placed** page, which displays a successful message right after the checkout process is completed, and a **My Account** space, which allows customers to manage their orders and personal data (e.g., profile info, password, addresses, and credit cards) on a single page.
+To create a complete digital commerce experience for your FastStore project, you need to provide shoppers with a Checkout and My Account space, for example. In this guide, we'll teach you how to implement the **Order Placed** page, which displays a successful message right after the checkout process is completed, and a **My Account** space, which allows customers to manage their orders and personal data (e.g., profile info, password, addresses, and credit cards) on a single page.
Notice that, since we're using a subdomain for these integrations that is unrelated to FastStore itself, we'll use VTEX IO in this guide. VTEX IO is a VTEX solution to create VTEX apps. But don't worry: to finish this guide, you won't need to dive into VTEX IO concepts.
@@ -13,21 +13,22 @@ Notice that, since we're using a subdomain for these integrations that is unrela
## Before you start
Before proceeding any further, make sure you already have:
+
- Integrated your FastStore project with the VTEX Checkout. See [this](/how-to-guides/platform-integration/vtex/integrating-vtex-checkout) doc for more info.
- The VTEX IO CLI installed on your machine. See [this](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-vtex-io-cli-installation-and-command-reference) doc for more info.
-- The `vtex.edition-store` `3.x` or greater app version installed on your VTEX account.
- - *Run `vtex edition get` to check if the `vtex.edition-store` app is installed on your account. If not, [open a support ticket](https://help.vtex.com/en/support) communicating you need the `vtex.edition-store@3.x` to be installed on your account so you can integrate your FastStore project with the VTEX platform.*
+- The `vtex.edition-store` `3.x` or greater app version installed on your VTEX account.
+ - _Run `vtex edition get` to check if the `vtex.edition-store` app is installed on your account. If not, [open a support ticket](https://help.vtex.com/en/support) communicating you need the `vtex.edition-store@3.x` to be installed on your account so you can integrate your FastStore project with the VTEX platform._
---
## Step by step
-### Step 1 - Creating your app
+### Step 1 - Creating your app
1. Open the terminal and clone the [`faststore-vtex-integrations`](https://github.com/vtex/faststore-vtex-integrations/) project into your local files.
```sh
npx degit vtex/faststore-vtex-integrations
- ```
+ ```
2. Open the `faststore-vtex-integrations` directory in any code editor of your preference.
3. Open the `manifest.json` file and update the value of the `vendor` field with the name of your VTEX account.
4. Using the terminal, log in to your VTEX account.
@@ -36,28 +37,28 @@ Before proceeding any further, make sure you already have:
vtex login {account}
```
- :::caution
- Replace the value between curly brackets with the name of your account.
- :::
+:::caution
+Replace the value between curly brackets with the name of your account.
+:::
5. Create a new development workspace.
```sh
vtex workspace use {workspace}
- ```
- :::caution
- Replace the value between curly brackets with any name of your preference, making sure the name you choose is not already taken.
- :::
-
+ ```
+ :::caution
+ Replace the value between curly brackets with any name of your preference, making sure the name you choose is not already taken.
+ :::
Enter `Y` to continue creating the new workspace.
6. Link your app to sync your local changes with the VTEX IO cloud development environment.
+
```sh
vtex link
- ```
+ ```
-7. Now, open a new browser window and access `https://{workspace}--{account}.myvtex.com` to see your changes live. *Remember to replace the values between curly brackets according to your scenario.*
+7. Now, open a new browser window and access `https://{workspace}--{account}.myvtex.com` to see your changes live. _Remember to replace the values between curly brackets according to your scenario._
8. Add items to your shopping cart and proceed to checkout. Place an order and observe if you are being taken to the Order Placed page:
- ![Order Placed page](https://vtexhelp.vtexassets.com/assets/docs/src/order-placed-page___1c8555354e041450be5fb90f7ba1f7d6.png)
+![Order Placed page](https://vtexhelp.vtexassets.com/assets/docs/src/order-placed-page___1c8555354e041450be5fb90f7ba1f7d6.png)
### Step 2 - Updating the store logo
@@ -65,26 +66,28 @@ After accessing the Order Placed page, you probably noticed the FastStore logo.
1. Save your logo inside the `assets` folder.
2. Open the `store/blocks/header.jsonc` file and update the `title`, `href`, `url`, and `width` values of your store logo (`logo#desktop` and `logo#mobile`) according to your scenario:
- ```jsonc title="store/blocks/header.json" {4-7,13-16}
- ...
- "logo#desktop": {
- "props": {
- "title": "{altText}",
- "href": "https://{maindomain}",
- "url": "assets/{logoPath}",
- "width": "{widthValue}"
- }
+
+```jsonc title="store/blocks/header.json" {4-7,13-16}
+...
+"logo#desktop": {
+ "props": {
+ "title": "{altText}",
+ "href": "https://{maindomain}",
+ "url": "assets/{logoPath}",
+ "width": "{widthValue}"
}
- ...
- "logo#mobile": {
- "props": {
- "title": "{altText}",
- "href": "https://{maindomain}",
- "url": "assets/{logoPath}",
- "width": "{widthValue}"
- }
+}
+...
+ "logo#mobile": {
+ "props": {
+ "title": "{altText}",
+ "href": "https://{maindomain}",
+ "url": "assets/{logoPath}",
+ "width": "{widthValue}"
}
- ```
+}
+```
+
3. Save your changes.
### Step 3 - (Optional) Styling the Order Placed and My Account header
@@ -96,37 +99,46 @@ If you want to change the style of the header presented in the **Order Placed**
Now that everything is as expected, you need to make your changes publicly available to your store shoppers. To do that, take the following steps:
1. Open the terminal and create a production workspace.
- ```
- vtex use {workspace} --production
- ```
+
+```
+vtex use {workspace} --production
+```
+
2. Change to the `faststore-vtex-integrations` directory.
3. Release a new app version.
- ```
- vtex release major stable
- ```
+
+```
+vtex release major stable
+```
+
3. Publish your app as a candidate version.
- ```
- vtex publish
- ```
+
+```
+vtex publish
+```
+
4. Install the candidate version indicating the app's version as in the following:
- ```
- vtex install {vendor}.{name}@{version}
- ```
- :::caution
- Replace the values between curly brackets according to the `manifest.json` file of your `faststore-vtex-integrations` app.
- :::
-5. Deploy the candidate version as a stable version.
- ```
- vtex deploy {vendor}.{appname}@{appversion}
- ```
+
+```
+vtex install {vendor}.{name}@{version}
+```
+
+:::caution
+Replace the values between curly brackets according to the `manifest.json` file of your `faststore-vtex-integrations` app.
+::: 5. Deploy the candidate version as a stable version.
+
+```
+vtex deploy {vendor}.{appname}@{appversion}
+```
+
6. Promote your Production workspace to master to make your changes publicly available to your store shoppers.
```
vtex workspace promote
- ```
+ ```
That's all. Now, if you place an order in your store, you'll be presented with the **Order Placed** page. Similarly, you'll also have access to the **My Account** page.
-## Related resources
+## Related resources
- [My Account](https://github.com/vtex-apps/my-account)
- [Order Placed](https://github.com/vtex-apps/order-placed)
diff --git a/apps/docs/docs/how-to-guides/platform-integration/vtex/setting-up-an-account.md b/apps/docs/docs/how-to-guides/platform-integration/vtex/setting-up-an-account.md
index 8de35a4462..0e4ef69572 100644
--- a/apps/docs/docs/how-to-guides/platform-integration/vtex/setting-up-an-account.md
+++ b/apps/docs/docs/how-to-guides/platform-integration/vtex/setting-up-an-account.md
@@ -13,6 +13,7 @@ Notice that, because needed dependencies, such as [VTEX Intelligent Search](http
## Before you start
Before proceeding any further, make sure you have:
+
- Access to a **VTEX** account.
- The **VTEX IO CLI** installed on your machine. Please refer to [this guide](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-vtex-io-cli-installation-and-command-reference) for more information.
@@ -24,24 +25,25 @@ In this step by step, you'll use the FastStore plugin for the VTEX IO CLI to ins
1. Install the FastStore plugin for the VTEX IO CLI:
- ```
- vtex plugins install faststore
- ```
+ ```
+ vtex plugins install faststore
+ ```
2. Log in to your VTEX account:
- - *Remember to replace the values between curly brackets according to your scenario.*
- ```
- vtex login {account}
- ```
+ - _Remember to replace the values between curly brackets according to your scenario._
+
+ ```
+ vtex login {account}
+ ```
3. Set up your VTEX account for FastStore by running the following command:
- ```
- vtex faststore setup
- ```
+ ```
+ vtex faststore setup
+ ```
-Once the command completes, you should see the following message: ```Happy coding on FastStore 🎉```.
+Once the command completes, you should see the following message: `Happy coding on FastStore 🎉`.
## Next steps
diff --git a/apps/docs/docs/how-to-guides/platform-integration/vtex/troubleshooting.md b/apps/docs/docs/how-to-guides/platform-integration/vtex/troubleshooting.md
index d3357a78d0..3c740ddbbe 100644
--- a/apps/docs/docs/how-to-guides/platform-integration/vtex/troubleshooting.md
+++ b/apps/docs/docs/how-to-guides/platform-integration/vtex/troubleshooting.md
@@ -13,6 +13,6 @@ You may find the following error after trying to complete a purchase in your sto
![](https://vtexhelp.vtexassets.com/assets/docs/src/not-secure___d8621c4ec4766fde0206c32055a2975d.jpeg)
-**Cause:** This error occurs when your browser is unable to verify whether a website is safe to visit. This usually happens when the browser notices a problem while creating an SSL connection or can’t verify the certificate.
+**Cause:** This error occurs when your browser is unable to verify whether a website is safe to visit. This usually happens when the browser notices a problem while creating an SSL connection or can’t verify the certificate.
-**Solution:** Follow the [**Hosting a FastStore + VTEX website**](/how-to-guides/platform-integration/vtex/hosting-a-faststore-vtex-website#step-2---setting-up-your-vtex-account) guide. If the issue persists, check if the `secure` subdomain of your website is pointing to `secure.{hostname}.cdn.vtex.com`, where `hostname` is the complete address of your store.
\ No newline at end of file
+**Solution:** Follow the [**Hosting a FastStore + VTEX website**](/how-to-guides/platform-integration/vtex/hosting-a-faststore-vtex-website#step-2---setting-up-your-vtex-account) guide. If the issue persists, check if the `secure` subdomain of your website is pointing to `secure.{hostname}.cdn.vtex.com`, where `hostname` is the complete address of your store.
diff --git a/apps/docs/docs/how-to-guides/routing/managing-url-redirects.md b/apps/docs/docs/how-to-guides/routing/managing-url-redirects.md
index e88d5f71f0..a01d761a94 100644
--- a/apps/docs/docs/how-to-guides/routing/managing-url-redirects.md
+++ b/apps/docs/docs/how-to-guides/routing/managing-url-redirects.md
@@ -2,4 +2,4 @@
:::caution WIP
This documentation is currently under development.
-:::
\ No newline at end of file
+:::
diff --git a/apps/docs/docs/how-to-guides/styling/styling-components.md b/apps/docs/docs/how-to-guides/styling/styling-components.md
index 69c127f065..884ec0e966 100644
--- a/apps/docs/docs/how-to-guides/styling/styling-components.md
+++ b/apps/docs/docs/how-to-guides/styling/styling-components.md
@@ -1,5 +1,5 @@
-# Styling components
+# Styling components
:::caution WIP
This documentation is currently under development.
-:::
\ No newline at end of file
+:::
diff --git a/apps/docs/docs/how-to-guides/testing/e2e-testing.md b/apps/docs/docs/how-to-guides/testing/e2e-testing.md
index 9b0649659b..b16d165841 100644
--- a/apps/docs/docs/how-to-guides/testing/e2e-testing.md
+++ b/apps/docs/docs/how-to-guides/testing/e2e-testing.md
@@ -2,4 +2,4 @@
:::caution WIP
This documentation is currently under development.
-:::
\ No newline at end of file
+:::
diff --git a/apps/docs/docs/how-to-guides/troubleshooting.md b/apps/docs/docs/how-to-guides/troubleshooting.md
index b08976b767..b3fcbe32fa 100644
--- a/apps/docs/docs/how-to-guides/troubleshooting.md
+++ b/apps/docs/docs/how-to-guides/troubleshooting.md
@@ -1,9 +1,9 @@
---
sidebar_position: 0
description: Check our general guidelines on how to debug a FastStore website.
-tags:
- - performance
- - troubleshooting
+tags:
+ - performance
+ - troubleshooting
---
import Tabs from '@theme/Tabs';
@@ -14,7 +14,8 @@ import TabItem from '@theme/TabItem';
Ecommerce websites are comprised of complex solutions with multiple scripts and APIs. That's why debugging such a system may sometimes be challenging. Hence, to help you pinpoint the exact origin of the errors you may be facing, we've developed general guidelines you can use to troubleshoot these issues.
The first thing to note is that there are three primary sources of errors on FastStore projects:
-- **Starter bugs** - issues present on the Starter. These bugs are forked from the Starter project and replicated on your project even before you begin writing your own code.
+
+- **Starter bugs** - issues present on the Starter. These bugs are forked from the Starter project and replicated on your project even before you begin writing your own code.
- **Ecommerce provider API bugs** - issues related to your ecommerce provider API. For instance, the API returns data in the wrong order.
- **Customization bugs** issues introduced during development.
@@ -22,10 +23,10 @@ Thus, to begin debugging your project, we recommend using the approach outlined
![Troubleshooting diagram](https://vtexhelp.vtexassets.com/assets/docs/src/troubleshooting___29553290ed113195a19062e7275e5cb7.png)
-**Check if the bug you are facing is a Starter bug**. Please refer to the [Identifying development errors and Starter bugs](/how-to-guides/troubleshooting/identifying-development-errors-and-starter-bugs) guide for more information.
+**Check if the bug you are facing is a Starter bug**. Please refer to the [Identifying development errors and Starter bugs](/how-to-guides/troubleshooting/identifying-development-errors-and-starter-bugs) guide for more information.
-If you detect that you are facing a Starter bug, report the problem by opening an issue at the Starter repository. Otherwise, **test if the API requests from your ecommerce provider are working as expected**. For instance, VTEX has a [list of REST APIs](https://developers.vtex.com/vtex-rest-api/docs/getting-started-list-of-rest-apis) where you can test if the request responses are as expected.
+If you detect that you are facing a Starter bug, report the problem by opening an issue at the Starter repository. Otherwise, **test if the API requests from your ecommerce provider are working as expected**. For instance, VTEX has a [list of REST APIs](https://developers.vtex.com/vtex-rest-api/docs/getting-started-list-of-rest-apis) where you can test if the request responses are as expected.
If you check the problem is not related to your ecommerce provider APIs, consider that the issue may be related to your own code. In this case, if your feature was working properly in the past, **use binary search to detect when, in time, the bug was introduced**. For more information, please refer to the [Tracing the error source](/how-to-guides/troubleshooting/tracing-the-error-source) guide.
-Finally, if this is a new issue and you are not sure your feature was working before, check [React docs](https://reactjs.org/docs/design-principles.html#debugging) to continue debugging your project. Also, consider checking [Gatsby troubleshooting guides](https://www.gatsbyjs.com/docs/how-to/local-development/troubleshooting-common-errors/) or [Next.js troubleshooting guides](https://nextjs.org/docs/advanced-features/debugging).
\ No newline at end of file
+Finally, if this is a new issue and you are not sure your feature was working before, check [React docs](https://reactjs.org/docs/design-principles.html#debugging) to continue debugging your project. Also, consider checking [Gatsby troubleshooting guides](https://www.gatsbyjs.com/docs/how-to/local-development/troubleshooting-common-errors/) or [Next.js troubleshooting guides](https://nextjs.org/docs/advanced-features/debugging).
diff --git a/apps/docs/docs/how-to-guides/troubleshooting/identifying-development-errors-and-starter-bugs.md b/apps/docs/docs/how-to-guides/troubleshooting/identifying-development-errors-and-starter-bugs.md
index 85b85da2f8..a0053f5016 100644
--- a/apps/docs/docs/how-to-guides/troubleshooting/identifying-development-errors-and-starter-bugs.md
+++ b/apps/docs/docs/how-to-guides/troubleshooting/identifying-development-errors-and-starter-bugs.md
@@ -1,9 +1,9 @@
---
sidebar_position: 1
description: Check if you are facing a bug from the Starter.
-tags:
- - performance
- - troubleshooting
+tags:
+ - performance
+ - troubleshooting
---
import Tabs from '@theme/Tabs';
@@ -11,7 +11,7 @@ import TabItem from '@theme/TabItem';
# Identifying development errors and Starter bugs
-While developing with FastStore, you may run into errors. Some of these may require fixes in FastStore libraries, while others may require adjusting your code.
+While developing with FastStore, you may run into errors. Some of these may require fixes in FastStore libraries, while others may require adjusting your code.
Hence, before proceeding with any advanced troubleshooting, we recommend that you first check if you are facing a bug from FastStore/WebOps or a mistake on your side.
@@ -36,7 +36,6 @@ npx degit vtex-sites/gatsby.store
-
2. Change to the cloned repository and run `yarn`.
@@ -57,20 +56,22 @@ cd gatsby.store && yarn
3. Open the `store.config.js` file and update the value of the `storeId` field with the account name of your store.
- ```diff
- module.exports = {
- platform: 'vtex',
-
- api: {
- + storeId: {account}
- environment: 'vtexcommercestable'
- }
+
+ ```diff
+ module.exports = {
+ platform: 'vtex',
+
+ api: {
+ + storeId: {account}
+ environment: 'vtexcommercestable'
}
- ```
+ }
+ ```
+
4. Start a local server.
- ```
- yarn develop
- ```
+ ```
+ yarn develop
+ ```
5. Access [http://localhost:8000/](http://localhost:8000/) and test the features you are having trouble with.
If the problem persists with the Base Store starter, we recommend [opening an issue](https://github.com/vtex/faststore/issues/new/choose) and reporting the problem. However, if the error only occurs in your own project, please refer to the [Tracing the error source](/how-to-guides/troubleshooting/tracing-the-error-source) guide to continue debugging your store.
diff --git a/apps/docs/docs/how-to-guides/troubleshooting/tracing-the-error-source.md b/apps/docs/docs/how-to-guides/troubleshooting/tracing-the-error-source.md
index d39e5e4a5b..2eab2efb7b 100644
--- a/apps/docs/docs/how-to-guides/troubleshooting/tracing-the-error-source.md
+++ b/apps/docs/docs/how-to-guides/troubleshooting/tracing-the-error-source.md
@@ -1,14 +1,14 @@
---
sidebar_position: 2
description: Find where in time the bug was introduced.
-tags:
- - performance
- - troubleshooting
+tags:
+ - performance
+ - troubleshooting
---
# Tracing the error source
-If the issue you are facing is new and didn't exist in the past, use the **Binary Search** debugging process presented in the following to find where in time and which changes to the code caused this new bug.
+If the issue you are facing is new and didn't exist in the past, use the **Binary Search** debugging process presented in the following to find where in time and which changes to the code caused this new bug.
Notice that the FastStore development workflow is **Git-based**, meaning developers must create a commit on the store's `main` branch for each new release. This action generates a release timeline which you can use to go back to previous versions of your store and test if the issue was already happening in the past.
@@ -26,17 +26,18 @@ To speed up the process of going back in time, checking version by version of yo
```
2. Copy the hash of a commit that worked properly in the past.
3. Use binary search to find the commit that introduced the bug:
- - *Replace `{commitHash}` with the hash value you copied in the previous step.*
+ - _Replace `{commitHash}` with the hash value you copied in the previous step._
```
git bisect start HEAD {commitHash}
```
-4. Start a local development server to test this previous version of your store:
+4. Start a local development server to test this previous version of your store:
```
yarn && yarn develop
```
5. Access your localhost using the browser and test your features.
If everything works as expected, bisect your project as in the following:
+
```
git bisect good
```
@@ -47,11 +48,11 @@ Otherwise, if that version is broken, run the following command:
git bisect bad
```
-After a few iterations, Git will find the bad version for you. Then, after identifying this version, use `git diff` to detect the changes that caused the issue.
+After a few iterations, Git will find the bad version for you. Then, after identifying this version, use `git diff` to detect the changes that caused the issue.
---
## Related resources
- [git-bisect](https://git-scm.com/docs/git-bisect)
-- [git-diff](https://git-scm.com/docs/git-diff)
\ No newline at end of file
+- [git-diff](https://git-scm.com/docs/git-diff)
diff --git a/apps/docs/docs/how-to-guides/webops/security.md b/apps/docs/docs/how-to-guides/webops/security.md
index 6f8160d01a..1a677f3dc6 100644
--- a/apps/docs/docs/how-to-guides/webops/security.md
+++ b/apps/docs/docs/how-to-guides/webops/security.md
@@ -2,19 +2,20 @@
pagination_prev: null
---
-# Security
+# Security
When developing your FastStore project, you may use private services and dependencies that require credentials and passwords to build your store website. Thus, you may not want this information to be exposed and kept unsafe in your remote repository. At the same time, you may want this data to be easily accessible, so you can change and update it whenever you desire. To address this case, VTEX IO WebOps provides the Secrets API.
## Secrets
-A **Secret** is an API object used to hold confidential data, such as credentials, passwords, and tokens that access private APIs and dependencies necessaries for your store build. Henceforth, you can use Secrets to avoid exposing sensitive data in your **FastStore** code.
+A **Secret** is an API object used to hold confidential data, such as credentials, passwords, and tokens that access private APIs and dependencies necessaries for your store build. Henceforth, you can use Secrets to avoid exposing sensitive data in your **FastStore** code.
Secrets are encrypted and saved directly in the FastStore project, guaranteeing the safe storage of your data. **VTEX IO WebOps** then decrypts and consumes your Secrets as environment variables to build your store.
![](https://vtexhelp.vtexassets.com/assets/docs/src/secrets-diagram___6a3b06208dca94abec86dd5b5d88aa01.png)
To manage your Secrets, you'll use a **VTEX IO CLI** plugin called **WebOps Secrets (WOS)**, which allows you to:
+
- Set up your **VTEX account** to save Secrets.
- Encrypt the Secrets file.
- Decrypt the Secrets file.
@@ -22,4 +23,4 @@ To manage your Secrets, you'll use a **VTEX IO CLI** plugin called **WebOps Secr
Please refer to the following docs to learn more about Secrets:
1. [Setting up your VTEX account to save Secrets](/how-to-guides/webops/security/setting-up-secrets)
-2. [Managing secrets](/how-to-guides/webops/security/managing-secrets)
\ No newline at end of file
+2. [Managing secrets](/how-to-guides/webops/security/managing-secrets)
diff --git a/apps/docs/docs/how-to-guides/webops/security/managing-secrets.md b/apps/docs/docs/how-to-guides/webops/security/managing-secrets.md
index f0123bab29..df3c622389 100644
--- a/apps/docs/docs/how-to-guides/webops/security/managing-secrets.md
+++ b/apps/docs/docs/how-to-guides/webops/security/managing-secrets.md
@@ -23,17 +23,17 @@ For more information, please refer to [Setting up the secrets file](/how-to-guid
1. Open your FastStore project in any code editor of your choice.
2. Open the `secrets.revealed.json` file. Notice that the `account` key-value pair is already defined in the `secrets.revealed.json` file.
3. According to your scenario, add, modify or delete secrets in the `secrets.revealed.json` file. Keep in mind that secret names must obey the following javascript pattern: `^[a-zA-Z_][a-zA-Z0-9_]*$`. Also, remember that secrets must be defined as key-value items as in the following example:
-
- ```json
- {
- "account": "account-name",
- "name_of_the_secret": "value of the secret"
- }
- ```
-
- :::caution
- Do not remove the `account` item from the `secrets.revealed.json` file since this information is necessary to build the store.
- :::
+
+ ```json
+ {
+ "account": "account-name",
+ "name_of_the_secret": "value of the secret"
+ }
+ ```
+
+ :::caution
+ Do not remove the `account` item from the `secrets.revealed.json` file since this information is necessary to build the store.
+ :::
### Step 2 - Hiding your store secrets
@@ -43,8 +43,8 @@ To encrypt your secrets, run the following command:
```sh
vtex secrets hide
-```
+```
-That's all! Now you can commit and push your changes to your remote repository.
+That's all! Now you can commit and push your changes to your remote repository.
-Notice that whenever you need to update your Secrets, you must run `vtex secrets reveal` to first decrypt them. The Secrets file extension will change back to `secrets.revealed.json` and you'll be able to edit it. Once you finish your changes, you must run `vtex secrets hide` again.
+Notice that whenever you need to update your Secrets, you must run `vtex secrets reveal` to first decrypt them. The Secrets file extension will change back to `secrets.revealed.json` and you'll be able to edit it. Once you finish your changes, you must run `vtex secrets hide` again.
diff --git a/apps/docs/docs/how-to-guides/webops/security/setting-up-secrets.md b/apps/docs/docs/how-to-guides/webops/security/setting-up-secrets.md
index 6dc074a92d..5cabdeb439 100644
--- a/apps/docs/docs/how-to-guides/webops/security/setting-up-secrets.md
+++ b/apps/docs/docs/how-to-guides/webops/security/setting-up-secrets.md
@@ -10,7 +10,7 @@ To set up your account, you will first need to install the WebOps Secrets (WOS)
## Before you start
-Before proceeding any further with this guide, make sure you have:
+Before proceeding any further with this guide, make sure you have:
- Installed the VTEX IO CLI on your machine. Please refer to [this](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-vtex-io-cli-install) document for more information.
- Cloned your FastStore project into your local files.
@@ -20,41 +20,43 @@ Before proceeding any further with this guide, make sure you have:
### Step 1 - Installing the Secrets plugin
1. Open the terminal and log in to your VTEX account using the VTEX IO CLI.
- ```sh
- $ vtex login {account-name}
- ```
- :::caution
- ️Replace the value between curly braces according to your scenario.
- :::
+ ```sh
+ $ vtex login {account-name}
+ ```
+
+ :::caution
+ ️Replace the value between curly braces according to your scenario.
+ :::
2. Install the Secrets plugin by running the following command.
- ```sh
- vtex plugins install webops-secrets
- ```
+ ```sh
+ vtex plugins install webops-secrets
+ ```
3. Run `vtex secrets` to ensure the installation of the Secrets plugin was successful and check its all three subcommands.
-
+
![Secrets plugin](https://vtexhelp.vtexassets.com/assets/docs/src/vtex-secrets___9f0057469565607863794da75b404d8c.png)
### Step 2 - Setting up your VTEX account to accept secrets
1. Change the current directory to your FastStore’s repository root.
-2. In the root of your project, create the `vtex.env` file and keep it empty.
+2. In the root of your project, create the `vtex.env` file and keep it empty.
+
- Skip this step if your project already has the `vtex.env` file.
-
+
```sh
touch vtex.env
```
-
+
3. Now, run the following command to configure your VTEX account and your FastStore project to be able to save Secrets.
- ```sh
- vtex secrets setup
- ```
+ ```sh
+ vtex secrets setup
+ ```
- ![Secrets Setup](https://vtexhelp.vtexassets.com/assets/docs/src/secrets___6b6c362a97aa2f1802703b86ab2128fa.gif)
+ ![Secrets Setup](https://vtexhelp.vtexassets.com/assets/docs/src/secrets___6b6c362a97aa2f1802703b86ab2128fa.gif)
After running the `vtex secrets setup` command, the `secrets.revealed.json` file will be created in the root of your repository. Also, the `.gitignore` file will be updated with the `secrets.revealed.json` file to avoid any risks of exposing your Secrets by mistake on the remote repository.
diff --git a/apps/docs/docs/playground.md b/apps/docs/docs/playground.md
index f2d2108d8b..e2c8e2f995 100644
--- a/apps/docs/docs/playground.md
+++ b/apps/docs/docs/playground.md
@@ -19,5 +19,4 @@ Launch our **CodeSandbox** to instantly run a FastStore website, play around wit
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
>
-
[![Edit nextjs.store](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/nextjs-store-5q6d95?fontsize=14&hidenavigation=1&theme=dark)
diff --git a/apps/docs/docs/quickstart.md b/apps/docs/docs/quickstart.md
index d1a1a6b594..ffc2a25028 100644
--- a/apps/docs/docs/quickstart.md
+++ b/apps/docs/docs/quickstart.md
@@ -8,15 +8,15 @@ import TabItem from '@theme/TabItem';
# Quickstart
-*Pick your favorite Static Site Generator and locally run your VTEX store in less than 5 minutes*
+_Pick your favorite Static Site Generator and locally run your VTEX store in less than 5 minutes_
---
-:::info
+:::info
This guide is for intermediate to advanced developers. For a comprehensive intro to FastStore, head to our [getting started tutorial](/tutorials/fundamentals/0)!
:::
-## Step by step
+## Step by step
### Step 1. Starting a new FastStore project
@@ -36,12 +36,9 @@ npx degit vtex-sites/nextjs.store mystore.store && cd mystore.store
npx degit vtex-sites/gatsby.store mystore.store && cd mystore.store
```
-
-
-
### Step 2. Installing dependencies
Install dependencies using yarn.
@@ -54,7 +51,7 @@ yarn install
Open the `store.config.js` file using the code editor of your choice and set up the config to you store.
-1. Replace the`storeId` value with the id of your account.
+1. Replace the`storeId` value with the id of your account.
2. Replace the `storeUrl` and `checkoutUrl` values with the corresponding production URLs of your store.
3. Go to the `lighthouse.pages` property and add the paths of the pages you want to track performance over time.
4. Go to the `cypress.pages` property and add the paths of the pages you want to end-to-end test before each release.
@@ -69,6 +66,6 @@ yarn develop
-Your store will start at a hot-reloading environment at [http://localhost:8000/](http://localhost:8000/). You'll also have access to GraphiQL, a tool that you can use to fetch data and build queries, at [http://localhost:8000/___graphql](http://localhost:8000/___graphql).
+Your store will start at a hot-reloading environment at [http://localhost:8000/](http://localhost:8000/). You'll also have access to GraphiQL, a tool that you can use to fetch data and build queries, at [http://localhost:8000/\_\_\_graphql](http://localhost:8000/___graphql).
-🎉 *That's all!* You're now ready to start making changes to your FastStore storefront.
+🎉 _That's all!_ You're now ready to start making changes to your FastStore storefront.
diff --git a/apps/docs/docs/reference.md b/apps/docs/docs/reference.md
index 50dcd92667..17ed78a6f5 100644
--- a/apps/docs/docs/reference.md
+++ b/apps/docs/docs/reference.md
@@ -9,9 +9,9 @@ import FastStorePackages from "@site/src/components/FastStorePackages/FastStoreP
# FastStore
-FastStore is a **light yet powerful set of libraries** made for developers who want to explore their knowledge and creativity building comprehensive ecommerce solutions. FastStore supports integration with **headless ecommerce platforms** and delivers all the necessary building blocks for creating custom ecommerce experiences.
+FastStore is a **light yet powerful set of libraries** made for developers who want to explore their knowledge and creativity building comprehensive ecommerce solutions. FastStore supports integration with **headless ecommerce platforms** and delivers all the necessary building blocks for creating custom ecommerce experiences.
-FastStore architecture is **Jamstack-based**, meaning FastStore projects can be deployed with VTEX IO WebOps, Netlify, Vercel, or any other Jamstack platform in the market.
+FastStore architecture is **Jamstack-based**, meaning FastStore projects can be deployed with VTEX IO WebOps, Netlify, Vercel, or any other Jamstack platform in the market.
With FastStore and by following our recommended practices, you can achieve outstanding performance on your store website (**90+ on [Google PageSpeed Insights](https://pagespeed.web.dev/)**). In addition, FastStore also delivers:
@@ -33,12 +33,12 @@ FastStore encapsulates the following three main packages:
-Besides these three main libraries, FastStore also counts with the following packages:
+Besides these three main libraries, FastStore also counts with the following packages:
-- **`graphql-utils`** - Extracts and processes GraphQL queries.
+- **`graphql-utils`** - Extracts and processes GraphQL queries.
- **`lighthouse-config`** - An ecommerce focused [Lighthouse](https://developers.google.com/web/tools/lighthouse/) CI configuration.
- **`renovate-config`** - Configuration of [Renovate](https://github.com/renovatebot/renovate), a bot responsible for updating dependencies automatically.
-
+
:::caution
If you check FastStore repository on GitHub, you'll also find some Gatsby-specific plugins (`@vtex/gatsby-plugin-cms`, `@vtex/gatsby-plugin-nginx`, `@vtex/gatsby-source-store`, `@vtex/gatsby-source-vtex`. We aim to provide Gatsby-agnostic solutions for these plugins soon.
:::
diff --git a/apps/docs/docs/reference/api/enums.md b/apps/docs/docs/reference/api/enums.md
index 156311a710..7666a6843e 100644
--- a/apps/docs/docs/reference/api/enums.md
+++ b/apps/docs/docs/reference/api/enums.md
@@ -99,4 +99,4 @@ Status used to indicate a message type. For instance, a shopping cart informativ
ERROR
-
\ No newline at end of file
+
diff --git a/apps/docs/docs/reference/api/faststore-api.md b/apps/docs/docs/reference/api/faststore-api.md
index 8b31d9610e..e892753977 100644
--- a/apps/docs/docs/reference/api/faststore-api.md
+++ b/apps/docs/docs/reference/api/faststore-api.md
@@ -8,10 +8,11 @@ import GraphQLExplorer from '@site/src/components/GraphQLExplorer/GraphQLExplore
# FastStore API
**FastStore API** is an interface between your ecommerce platform and your store's frontend. It uses **[GraphQL](https://graphql.org/)**, a query language for APIs and a runtime for fulfilling queries, to expose structured data from everyday e-commerce tasks to frontend components. With the FastStore API, it's possible to:
+
- Retrieve product data.
- Add items to the cart.
- Apply promotions to products.
-- Filter search results.
+- Filter search results.
Also, thanks to a type-safe **GraphQL** protocol, the FastStore API allows developers to fetch only the strongly **typed data** needed for building robust and responsive solutions. In practice, developers can source the FastStore API to the [**Next.js**](https://nextjs.org/) or [**Gatsby**](https://www.gatsbyjs.com/) data layers and consume it on frontend components to create stores that use the [**Jamstack**](https://jamstack.org/) architecture.
@@ -23,7 +24,7 @@ To learn more about GraphQL and its main concepts, visit the official [GraphQL w
## Playground
-The FastStore GraphQL API allows you to query and modify your store public data in an efficient and flexible manner.
+The FastStore GraphQL API allows you to query and modify your store public data in an efficient and flexible manner.
Use the GraphQL playground in the following to test and explore the FastStore API.
@@ -39,13 +40,13 @@ Use the GraphQL playground in the following to test and explore the FastStore AP
## Key features
-FastStore API is based on [**Schema.org**](https://schema.org/) and inspired by **clean architecture**.
+FastStore API is based on [**Schema.org**](https://schema.org/) and inspired by **clean architecture**.
-### Improved brand's findability
+### Improved brand's findability
FastStore API extends and simplifies [**Schema.org**](https://schema.org/), a set of agreed definitions for implementing structured data developed by Google, Microsoft, Yahoo, and Yandex.
-The Schema markup aids search engines in understanding and displaying your content in a relevant way. It may improve your brand's findability by leading your website to a higher ranking in search results and, consequently, to more clicks and interactions with your store's website.
+The Schema markup aids search engines in understanding and displaying your content in a relevant way. It may improve your brand's findability by leading your website to a higher ranking in search results and, consequently, to more clicks and interactions with your store's website.
### Flexible backend for frontend architecture
diff --git a/apps/docs/docs/reference/api/get-started.md b/apps/docs/docs/reference/api/get-started.md
index 8e106ea4d9..25432d3568 100644
--- a/apps/docs/docs/reference/api/get-started.md
+++ b/apps/docs/docs/reference/api/get-started.md
@@ -20,4 +20,4 @@ Explore the GraphQL data layer by running a local server of your FastStore proje
1. Open the terminal and change to your FastStore project directory.
2. Install dependencies using yarn (`yarn install`),
3. Start a development server (`yarn develop`).
-4. Access [http://localhost:8000/___graphql](http://localhost:8000/___graphql) to fetch data and build queries.
\ No newline at end of file
+4. Access [http://localhost:8000/\_\_\_graphql](http://localhost:8000/___graphql) to fetch data and build queries.
diff --git a/apps/docs/docs/reference/api/mutations.md b/apps/docs/docs/reference/api/mutations.md
index 6e49c267bf..4ecd4ec22f 100644
--- a/apps/docs/docs/reference/api/mutations.md
+++ b/apps/docs/docs/reference/api/mutations.md
@@ -31,7 +31,6 @@ Shopping cart identifier.
-
## Session
@@ -60,4 +59,3 @@ Web session identifier.
-
diff --git a/apps/docs/docs/reference/api/queries.md b/apps/docs/docs/reference/api/queries.md
index 5e9d39da1c..35049956b4 100644
--- a/apps/docs/docs/reference/api/queries.md
+++ b/apps/docs/docs/reference/api/queries.md
@@ -1,10 +1,10 @@
# Queries
-Arguments must be provided by the user.
+Arguments must be provided by the user.
Arguments preeceded by an exclamation mark (`!`) are not nullable.
-## Product
+## Product
@@ -58,7 +58,6 @@ Product pagination argument, indicating the cursor corresponding with the item a
-
## Collection
@@ -115,8 +114,7 @@ Collection pagination argument, indicating the cursor corresponding with the ite
-
-## Search
+## Search
diff --git a/apps/docs/docs/reference/plugins/gatsby.md b/apps/docs/docs/reference/plugins/gatsby.md
index 40c8335ec1..7123756c2c 100644
--- a/apps/docs/docs/reference/plugins/gatsby.md
+++ b/apps/docs/docs/reference/plugins/gatsby.md
@@ -3,9 +3,8 @@ title: Gatsby Plugins
sidebar_label: Gatsby
---
-# Gatsby
+# Gatsby
:::caution WIP
This documentation is currently under development.
:::
-
diff --git a/apps/docs/docs/reference/sdk/Analytics.md b/apps/docs/docs/reference/sdk/Analytics.md
index 7d13c496d4..70e9c50b9d 100644
--- a/apps/docs/docs/reference/sdk/Analytics.md
+++ b/apps/docs/docs/reference/sdk/Analytics.md
@@ -7,6 +7,7 @@ The analytics module lets you manage analytics events based on [Google Analytics
Analytics events can be sent by using the `sendAnalyticsEvent` function and it's especially useful to send common ecommerce events such as `add_to_cart`. It enforces standard GA4 events via type check and IntelliSense suggestions, but this behavior can be altered via overriding the function's types.
To fire a standard GA4 event:
+
```tsx
import { useCallback } from 'react'
import { sendAnalyticsEvent } from '@faststore/sdk'
@@ -14,14 +15,14 @@ import { sendAnalyticsEvent } from '@faststore/sdk'
const MyComponent = () => {
const addToCartCallback = useCallback(() => {
/* ... */
-
+
const addToCartEvent = {
type: 'add_to_cart',
data: {
items: [
/* ... */
- ]
- }
+ ],
+ },
}
sendAnalyticsEvent(addToCartEvent)
@@ -40,7 +41,7 @@ import { useCallback } from 'react'
import { sendAnalyticsEvent } from '@faststore/sdk'
interface CustomEvent {
- type: 'custom_event',
+ type: 'custom_event'
data: {
customProperty?: string
}
@@ -49,12 +50,12 @@ interface CustomEvent {
const MyComponent = () => {
const customEventCallback = useCallback(() => {
/* ... */
-
+
const customEvent = {
type: 'custom_event',
data: {
- customProperty: 'value'
- }
+ customProperty: 'value',
+ },
}
sendAnalyticsEvent(customEvent)
@@ -76,22 +77,22 @@ import type { AnalyticsEvent } from '@faststore/sdk'
/**
* Notice that we typed it as AnalyticsEvent, but there may be events that are not from this type.
- *
+ *
* Since we're dealing with it on a switch and we are providing an empty default clause,
* we're not gonna have issues receiving custom events sent by other components or libraries.
*/
function handler(event: AnalyticsEvent) {
- switch(event.type) {
+ switch (event.type) {
case 'add_to_cart': {
/* ... */
}
/* ... */
-
+
default: {
/* ... */
}
- }
+ }
}
// In your component:
@@ -100,4 +101,4 @@ const MyComponent = () => {
/* ... */
}
-```
\ No newline at end of file
+```
diff --git a/apps/docs/docs/reference/sdk/UI.md b/apps/docs/docs/reference/sdk/UI.md
index 75066eaf45..351828b543 100644
--- a/apps/docs/docs/reference/sdk/UI.md
+++ b/apps/docs/docs/reference/sdk/UI.md
@@ -1,4 +1,5 @@
# UI Provider
-This component should be used to control any UI side effects your UI may have. An example is having a global state for the minicart so we can open it when the user clicks on the buyButton.
-Trying to predict all possible UI global states is impossible, so if you need custom global states, you can add custom actions and effects to the global state. For a more hands on example, please take a look at our unit tests for this module in `/tests/ui/Provider.test.tsx`
\ No newline at end of file
+This component should be used to control any UI side effects your UI may have. An example is having a global state for the minicart so we can open it when the user clicks on the buyButton.
+
+Trying to predict all possible UI global states is impossible, so if you need custom global states, you can add custom actions and effects to the global state. For a more hands on example, please take a look at our unit tests for this module in `/tests/ui/Provider.test.tsx`
diff --git a/apps/docs/docs/reference/sdk/cart.md b/apps/docs/docs/reference/sdk/cart.md
index 9427f19821..fc197f7542 100644
--- a/apps/docs/docs/reference/sdk/cart.md
+++ b/apps/docs/docs/reference/sdk/cart.md
@@ -5,18 +5,18 @@ keywords: [cart, minicart, checkout]
# Cart
-The Cart module offers all the functionalities necessary to handle your store's shopping cart. It supports large orders and complex ecommerce operations, such as the ones that provide marketplace, coupon, gift, and promotion options. The Cart state is saved on the browser's [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) and is structured as in the following.
+The Cart module offers all the functionalities necessary to handle your store's shopping cart. It supports large orders and complex ecommerce operations, such as the ones that provide marketplace, coupon, gift, and promotion options. The Cart state is saved on the browser's [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API) and is structured as in the following.
![Cart SDK Architecture](https://vtexhelp.vtexassets.com/assets/docs/src/Cart___74c390e654f666b3a2adb7b6a0b5ecf7.png)
+The Cart module provides two modes:
-The Cart module provides two modes:
-- **Pure** (default) - works entirely on the client-side.
+- **Pure** (default) - works entirely on the client-side.
- **Optimistic** - validates the cart state on the server-side using debounce requests to make the app more responsive and reduce data traffic on the users' device.
## Pure cart
-In the Pure mode, the shopping cart works entirely on the client-side. Hence, every time a user changes their shopping cart, the new cart's state is stored in the browser's IndexedDB. This way, the next time the user opens your store website, their cart will hydrate from its last state.
+In the Pure mode, the shopping cart works entirely on the client-side. Hence, every time a user changes their shopping cart, the new cart's state is stored in the browser's IndexedDB. This way, the next time the user opens your store website, their cart will hydrate from its last state.
Notice that, because of how it was built, the Pure cart can also work offline. However, the Pure cart is deterministic, meaning that, given an input, it always returns the same output. Hence, the Pure mode can't cause side effects on the commerce platform to correct undesired behaviors such as adding unavailable items to the cart.
@@ -26,14 +26,14 @@ To use the Pure cart, you must use the `CartProvider` component and call the `us
import { CartProvider, useCart } from '@faststore/sdk'
// In the App's root component:
-const App = ({children}) => {
+const App = ({ children }) => {
return {children}
}
// In your component:
const MyComponent = () => {
const { items } = useCart()
-
+
return
}
diff --git a/apps/docs/docs/reference/sdk/faststore-sdk.md b/apps/docs/docs/reference/sdk/faststore-sdk.md
index 2f2be058eb..2fdbe34dba 100644
--- a/apps/docs/docs/reference/sdk/faststore-sdk.md
+++ b/apps/docs/docs/reference/sdk/faststore-sdk.md
@@ -12,7 +12,7 @@ FastStore SDK is a simple, framework-agnostic implementation of Commerce APIs to
The analytics data layer is based on [the official GA4 specification](https://developers.google.com/gtagjs/reference/ga4-events).
-## Get started
+## Get started
### Installation
@@ -35,4 +35,4 @@ const MyStoreComponent: FC = () => {
return Hello Commerce
}
-```
\ No newline at end of file
+```
diff --git a/apps/docs/docs/reference/sdk/seach.md b/apps/docs/docs/reference/sdk/seach.md
index 1b24853e82..85c586e766 100644
--- a/apps/docs/docs/reference/sdk/seach.md
+++ b/apps/docs/docs/reference/sdk/seach.md
@@ -1,16 +1,16 @@
---
id: search
sidebar_label: Overview
-keywords: [faceted search, faceted navigation, search, product listing page, plp]
+keywords:
+ [faceted search, faceted navigation, search, product listing page, plp]
---
-# Search
+# Search
-*If shoppers can't find your products, they won't buy them. Increase product discoverability by implementing a **faceted search** in your store with the `Search` SDK module.*
+_If shoppers can't find your products, they won't buy them. Increase product discoverability by implementing a **faceted search** in your store with the `Search` SDK module._
---
-
## What is faceted search?
Faceted search helps shoppers quickly find what they need via facet filters that narrow down product options. Facet planning can make your leads think about the questions a salesperson would ask to help someone find the exact product they are looking for.
@@ -21,28 +21,30 @@ For example, when browsing your store for a laptop, shoppers could be presented
## How the `Search` module works?
-The `Search` SDK module provides a standard for creating and modifying **faceted search** states. Faceted navigation generates a unique and serialized URL for every facet combination, which we'll call facet states.
+The `Search` SDK module provides a standard for creating and modifying **faceted search** states. Faceted navigation generates a unique and serialized URL for every facet combination, which we'll call facet states.
Developers can store facet states in the browser's [History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API) to navigate through the user's history and manipulate a website's URL without a full page refresh. This way, one can create a rich, router-independent way for applying and removing facets.
Two main parts shape the behavior of the `Search` SDK module:
+
- [`SearchProvider`](https://github.com/vtex/faststore/blob/master/packages/sdk/src/search/Provider.tsx) component and [`useSearch`](https://github.com/vtex/faststore/blob/master/packages/sdk/src/search/useSearch.ts) hook
- [`serializer`](https://github.com/vtex/faststore/blob/master/packages/sdk/src/search/serializer.ts)
-
+
### SearchProvider
The `SearchProvider` defines the interfaces that describe a faceted search state and the functions that change these states.
The main `State` interface allows you to handle the following variables:
-|Argument|Type |Description|
-|--------|------------|---------------------------------------------------|
-|`base` |`string` | Base URL path to be ignored by the search context. Use `/en` to ignore the locale specific part of the url on the search context. |
-|`page` |`number` | Index of the current page in the pagination context. Use `0` if it's the first page in the pagination result. `1` if it's the second and so on. |
-|`selectedFacets`|`Facet[]`|All selected facets.|
-|`sort` | `SearchSort`|Selected sorting criteria for the search (e.g, ascending/descending price, number of reviews)|
-|`term` |`string` | Terms of the full text search.|
+| Argument | Type | Description |
+| ---------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
+| `base` | `string` | Base URL path to be ignored by the search context. Use `/en` to ignore the locale specific part of the url on the search context. |
+| `page` | `number` | Index of the current page in the pagination context. Use `0` if it's the first page in the pagination result. `1` if it's the second and so on. |
+| `selectedFacets` | `Facet[]` | All selected facets. |
+| `sort` | `SearchSort` | Selected sorting criteria for the search (e.g, ascending/descending price, number of reviews) |
+| `term` | `string` | Terms of the full text search. |
To change the facet state, the following functions are also available:
+
- `setFacet` - Select a facet by its key.
- `toggleFacet` - Replace a selected facet by key.
- `removeFacet` - Remove the selected facet by its value.
@@ -52,16 +54,18 @@ To change the facet state, the following functions are also available:
The `serializer` file handles URL parsing to create a serialized URL for every facet combination.
## Example
+
Suppose we want to create a full-text search page that renders a checkbox, which toggles a facet for the `faststore` brand. To build this feature, we will use the browser's URL to keep the state of the faceted search. Then, whenever someone selects the `faststore` facet, we will redirect them to the corresponding URL, updating the UI and re-rendering the necessary components to display all product items from the `faststore` brand.
+
```tsx
import { SearchProvider, parseSearchState } from '@faststore/sdk'
-function Page () {
+function Page() {
const params = useMemo(() => parseSearchState(new URL(window.href)), [])
return (
window.location.href = url.href}
+ onChange={(url: URL) => (window.location.href = url.href)}
itemsPerPage={12}
{...params}
>
@@ -70,19 +74,19 @@ function Page () {
)
}
-function Checkbox () {
+function Checkbox() {
const { toggleFacet } = useSession()
return (
- toggleFacet({key: 'brand', value: 'faststore'})}
+ toggleFacet({ key: 'brand', value: 'faststore' })}
/>
)
}
```
-This example has two components: `Page` and `Checkbox`.
+This example has two components: `Page` and `Checkbox`.
The `Page` component parses the search state from the browser's URL using `parseSearchState` and provides the parsed output to the `SearchProvider` component. The `SearchProvider` wraps the entire page, providing the necessary context for the Faceted Search.
diff --git a/apps/docs/docs/reference/ui/faststore-ui.md b/apps/docs/docs/reference/ui/faststore-ui.md
index fbad9c1c87..ef50ad74bd 100644
--- a/apps/docs/docs/reference/ui/faststore-ui.md
+++ b/apps/docs/docs/reference/ui/faststore-ui.md
@@ -1,4 +1,4 @@
-# FastStore UI
+# FastStore UI
FastStore UI is an ecommerce-focused library that provides best-of-breed components, blazing-fast performance, and a frictionless development experience to create storefronts.
@@ -24,4 +24,4 @@ FastStore UI is built by developers, for developers. That's why one of our main
### Open Source
-FastStore UI believes in the open-source to foster open collaboration and create value together with our partners and volunteer contributors. Because all FastStore UI components are open source, you can simply copy the source code from GitHub and modify it to your liking. To support it, we grant developers communication channels throughout the community and direct contact with our development team.
\ No newline at end of file
+FastStore UI believes in the open-source to foster open collaboration and create value together with our partners and volunteer contributors. Because all FastStore UI components are open source, you can simply copy the source code from GitHub and modify it to your liking. To support it, we grant developers communication channels throughout the community and direct contact with our development team.
diff --git a/apps/docs/docs/reference/ui/get-started-faststore-ui.md b/apps/docs/docs/reference/ui/get-started-faststore-ui.md
index bdd16980cc..d937124776 100644
--- a/apps/docs/docs/reference/ui/get-started-faststore-ui.md
+++ b/apps/docs/docs/reference/ui/get-started-faststore-ui.md
@@ -41,30 +41,21 @@ Check a live and interactive demo of the `Card` component.
/>
-
- Vintage Top Camera
-
+
Vintage Top Camera
-
+
-
- 15% OFF
-
+ 15% OFF
-
+
```
diff --git a/apps/docs/docs/templates/how-to-guide-template.md b/apps/docs/docs/templates/how-to-guide-template.md
index 2893664c08..6070191666 100644
--- a/apps/docs/docs/templates/how-to-guide-template.md
+++ b/apps/docs/docs/templates/how-to-guide-template.md
@@ -1,39 +1,39 @@
# How to [task to accomplish]
-Each **How to Guide** is a practical procedure that solves a question or problem. Each title can clearly be preceded by the words **“How to”**. Example: How to **create specifications**
+Each **How to Guide** is a practical procedure that solves a question or problem. Each title can clearly be preceded by the words **“How to”**. Example: How to **create specifications**
-||
-|--|--|
-|**Type**|Procedural|
-|**Audience** [beginner/intermediary/advanced]||
-|**Objective (How do I...?)**||
-|**Keywords** [price/SEO/search/merchandising...]] ||
+| |
+| ------------------------------------------------- | ---------- |
+| **Type** | Procedural |
+| **Audience** [beginner/intermediary/advanced] | |
+| **Objective (How do I...?)** | |
+| **Keywords** [price/SEO/search/merchandising...]] | |
In a sentence or two, summarize what the user is going to accomplish after completing this guide. Example:
->*This guide covers how to create a specification for a product or an SKU.*
+> _This guide covers how to create a specification for a product or an SKU._
Give an overview of the core concepts and information required for this guide. Be succint. Example:
->*Specifications are additional properties that can be added to your store's products or SKUs. A specification is used to create site browsing filters and to differentiate SKUs and products within the product page.*
+> _Specifications are additional properties that can be added to your store's products or SKUs. A specification is used to create site browsing filters and to differentiate SKUs and products within the product page._
{Image or gif of the expected behavior after completing the guide}
----
+---
## Before you start
List any steps the user should take before taking this guide. Example:
-> *Before you begin, you should already have:*
->
-> - *Configured the `.env` file in your project - (For more information, check [this guide](/).)*
+> _Before you begin, you should already have:_
+>
+> - _Configured the `.env` file in your project - (For more information, check [this guide](/).)_
Include known issues, bugs or other important information in this section.
-> *You should also consider that:*
->
-> - *This guide uses the Base Store starter.*
+> _You should also consider that:_
+>
+> - _This guide uses the Base Store starter._
---
@@ -63,4 +63,4 @@ Explain the expected behavior once you complete this step by step.
## Additional resources
-Link to related documentation the user could also be interested.
\ No newline at end of file
+Link to related documentation the user could also be interested.
diff --git a/apps/docs/docs/templates/ui-components.md b/apps/docs/docs/templates/ui-components.md
index 437191ec1c..11cff2071c 100644
--- a/apps/docs/docs/templates/ui-components.md
+++ b/apps/docs/docs/templates/ui-components.md
@@ -8,73 +8,75 @@ keywords:
import PropsSection from "@site/src/components/PropsSection/PropsSection";
-Briefly describe the component and its functions.
+Briefly describe the component and its functions.
-Example: The *add component name* component are *add component meaning* used to *add the component function*.
+Example: The _add component name_ component are _add component meaning_ used to _add the component function_.
## Import
```tsx
import { ComponentName } from '@faststore/ui'
```
+
## Usage
```tsx live
/* Replace ComponentName with the name of the component. */
-
+
```
+
### Variants (Optional)
-> *Use this section only if the component has variants.*
+> _Use this section only if the component has variants._
+
#### VariantName
-```tsx live
+````tsx live
```tsx live
/* Replace ComponentName and VariantName accordingly. */
-```
+````
### Use cases
-Use the *ComponentName* component to:
+Use the _ComponentName_ component to:
-- *Add use case*
-- *Add use case*
-- *Add use case*
+- _Add use case_
+- _Add use case_
+- _Add use case_
## Props
-*Replace `ComponentName` with the component name.*
+_Replace `ComponentName` with the component name._
## Customization
-*Add CSS handles (e.g., `data-store-badge`).*
+_Add CSS handles (e.g., `data-store-badge`)._
## Best practices
-*List the component's best practices. Start each sentence with an imperative verb (e.g., `Use`, `Place`, `Add`.)*
+_List the component's best practices. Start each sentence with an imperative verb (e.g., `Use`, `Place`, `Add`.)_
### Do's
-- *Add recommendation (e.g., Use tooltips only on elements that are keyboard-focusable and interactive.)*
-- *Add recommendation*
-- *Add recommendation*
+- _Add recommendation (e.g., Use tooltips only on elements that are keyboard-focusable and interactive.)_
+- _Add recommendation_
+- _Add recommendation_
### Don'ts
-- *Add recommendation (e.g., Don't use color alone to convey information.)*
-- *Add recommendation*
-- *Add recommendation*
+- _Add recommendation (e.g., Don't use color alone to convey information.)_
+- _Add recommendation_
+- _Add recommendation_
## Accessibility
-*List the accessibility features of the component.*
-
-- *Add accessibility feature (e.g., Tab has role `tab`.)*
-- *Add accessibility feature*
-- *Add accessibility feature*
+_List the accessibility features of the component._
+- _Add accessibility feature (e.g., Tab has role `tab`.)_
+- _Add accessibility feature_
+- _Add accessibility feature_
diff --git a/apps/docs/docs/tutorials/cms-overview.md b/apps/docs/docs/tutorials/cms-overview.md
index 935b56aeeb..4b0dc7eb63 100644
--- a/apps/docs/docs/tutorials/cms-overview.md
+++ b/apps/docs/docs/tutorials/cms-overview.md
@@ -7,11 +7,11 @@ import CardGrid from "@site/src/components/CardGrid/CardGrid"
# Overview
-*In this tutorial you'll learn how to integrate your FastStore project with **VTEX Headless CMS**, our preferred solution for content management.*
+_In this tutorial you'll learn how to integrate your FastStore project with **VTEX Headless CMS**, our preferred solution for content management._
---
-> This tutorial is designed for those who prefer to learn by doing. For a deeper understanding of the concepts in this section, you can check the [Concepts](/conceptual-guides) section. Instead, if you want to solve real-world issues, check our [How-to guides](/how-to-guides).
+> This tutorial is designed for those who prefer to learn by doing. For a deeper understanding of the concepts in this section, you can check the [Concepts](/conceptual-guides) section. Instead, if you want to solve real-world issues, check our [How-to guides](/how-to-guides).
@@ -27,4 +27,4 @@ import CardGrid from "@site/src/components/CardGrid/CardGrid"
[**5. Promoting your changes** Promote your changes to production after integrating your project with the VTEX Headless CMS.](/tutorials/cms/5)
-
\ No newline at end of file
+
diff --git a/apps/docs/docs/tutorials/cms-storecomponents/00 - Introducing the VTEX CMS.md b/apps/docs/docs/tutorials/cms-storecomponents/00 - Introducing the VTEX CMS.md
index f54914b503..06172f2b62 100644
--- a/apps/docs/docs/tutorials/cms-storecomponents/00 - Introducing the VTEX CMS.md
+++ b/apps/docs/docs/tutorials/cms-storecomponents/00 - Introducing the VTEX CMS.md
@@ -1,7 +1,7 @@
---
id: 0
sidebar_position: 2
-sidebar_label: "0. Introducing the VTEX Headless CMS"
+sidebar_label: '0. Introducing the VTEX Headless CMS'
toc_max_heading_level: 4
pagination_next: tutorials/cms-storecomponents/1
---
@@ -10,7 +10,7 @@ pagination_next: tutorials/cms-storecomponents/1
In this tutorial you'll learn how to integrate your storefront project with **VTEX Headless CMS**, our preferred solution for content management.
-A Content Management System (CMS) allows others to edit the frontend content of your store without having to touch your code at all. VTEX Headless CMS is a VTEX App and a no-code management system for storefront content.
+A Content Management System (CMS) allows others to edit the frontend content of your store without having to touch your code at all. VTEX Headless CMS is a VTEX App and a no-code management system for storefront content.
Once you finish this tutorial, editors will have the autonomy to create, edit, and publish web content via the VTEX Admin with the VTEX Headless CMS app.
@@ -36,7 +36,7 @@ Also, before starting this tutorial, make sure you have:
VTEX Headless CMS is a **Headless CMS**. That means we store our content in a data layer decoupled from the frontend and use VTEX Headless CMS to deliver this content as structured data to our FastStore project via an API.
-As with any other VTEX Admin app, you can install the VTEX Headless CMS in your VTEX account and access it via the Admin. Once installed in your account, you can access the VTEX Headless CMS at **Store Setup > CMS (alpha) > Pages (alpha)**.
+As with any other VTEX Admin app, you can install the VTEX Headless CMS in your VTEX account and access it via the Admin. Once installed in your account, you can access the VTEX Headless CMS at **Store Setup > CMS (alpha) > Pages (alpha)**.
You'll then see a list of all web pages created with the VTEX Headless CMS. Notice that this list will be empty at first, but once editors start creating new pages, your interface should look similar to the following:
@@ -46,16 +46,16 @@ You'll then see a list of all web pages created with the VTEX Headless CMS. Noti
Each page created with the VTEX Headless CMS is related to a specific URL and is distinguished by the following properties:
-- **Name:** identifies a given page. This name is not available elsewhere and is used only internally in the VTEX Headless CMS for identification purposes.
+- **Name:** identifies a given page. This name is not available elsewhere and is used only internally in the VTEX Headless CMS for identification purposes.
- **Type:** determines the nature of a page. For example, the **Type** can be a Landing Page, a Product Listing Page (PLP), a Product Detail Page (PDP), etc. You, as a developer, are the one who will define which content types will be available for the editors of your store.
- **Last modified:** indicates the last time a given page was edited.
-- **Version:** identifies the state of a page, if it's *Draft*, *Publishing*, or *Published*. Notice that editors can have more than one version of the same page with distinct settings and content.
+- **Version:** identifies the state of a page, if it's _Draft_, _Publishing_, or _Published_. Notice that editors can have more than one version of the same page with distinct settings and content.
![CMS Settings](https://vtexhelp.vtexassets.com/assets/docs/src/cms-content-types___f74003dbbffde1d11b5d38800c31933b.png)
-### Sections
+### Sections
-Once you start creating or editing a page, you'll see that these are composed of a series of **Sections**.
+Once you start creating or editing a page, you'll see that these are composed of a series of **Sections**.
![CMS Section](https://vtexhelp.vtexassets.com/assets/docs/src/cms-section___d3211ca1a5752e2498b58970872d9aaf.png)
diff --git a/apps/docs/docs/tutorials/cms-storecomponents/01 - Installing and configuring the VTEX CMS app.md b/apps/docs/docs/tutorials/cms-storecomponents/01 - Installing and configuring the VTEX CMS app.md
index 896d1e7079..bdbbf1d4aa 100644
--- a/apps/docs/docs/tutorials/cms-storecomponents/01 - Installing and configuring the VTEX CMS app.md
+++ b/apps/docs/docs/tutorials/cms-storecomponents/01 - Installing and configuring the VTEX CMS app.md
@@ -1,7 +1,7 @@
---
id: 1
sidebar_position: 3
-sidebar_label: "1. Installing and configuring the VTEX Headless CMS app"
+sidebar_label: '1. Installing and configuring the VTEX Headless CMS app'
pagination_next: tutorials/cms-storecomponents/2
---
@@ -31,13 +31,14 @@ In this step, you'll install the VTEX Headless CMS app and all its dependencies
2. Install the VTEX Headless CMS app and all its dependencies.
- ```
- vtex install vtex.admin-cms@0.x vtex.admin-cms-graphql-rc@0.x vtex.cms-builder-sf-jamstack@1.x
- ```
+```
+vtex install vtex.admin-cms@0.x vtex.admin-cms-graphql-rc@0.x vtex.cms-builder-sf-jamstack@1.x
+```
-## (Optional) Configuring the VTEX Headless CMS to test your local definitions
+## (Optional) Configuring the VTEX Headless CMS to test your local definitions
By default, VTEX Headless CMS fetches the configurations from the deployed version of your store's website. However, if you prefer first to create and try the definitions of your Sections and Content Types locally, you can change this behavior by taking the following steps:
+
- Generate public URLs for your localhost.
- Create a workspace in your VTEX account that points the VTEX Headless CMS to your local server.
@@ -50,37 +51,38 @@ In this step, we'll use [ngrok](https://ngrok.com/) - an application that expose
3. Start a development server by running `yarn develop`.
4. Open a new window of the terminal and run `ngrok http 8000` to generate a public URL for your localhost.
- ![ngrok](https://vtexhelp.vtexassets.com/assets/docs/src/ngrok___b18d12281f9b12918ab8efc2d1badecf.jpg)
+![ngrok](https://vtexhelp.vtexassets.com/assets/docs/src/ngrok___b18d12281f9b12918ab8efc2d1badecf.jpg)
-5. Copy the **Forwarding** link and save it for later usage.
+5. Copy the **Forwarding** link and save it for later usage.
### Configuring the VTEX Headless CMS app
In this step, we'll learn how to configure the VTEX Headless CMS app to use that ngrok URL to fetch your local definitions of Content Types and Sections.
1. Open the terminal and log in to your VTEX account by running the following command:
-
- ```
- vtex login {accountName}
- ```
- :::caution
- Remember to replace the values between curly brackets according to your scenario.
- :::
+```
+vtex login {accountName}
+```
+
+:::caution
+Remember to replace the values between curly brackets according to your scenario.
+:::
2. Create a new workspace:
-
- ```
- vtex use {workspaceName}
- ```
+
+```
+vtex use {workspaceName}
+```
3. Open the `admin-cms-graphql-rc` Settings in the Admin of the workspace you just created: [https://{workspaceName}--{accountName}.myvtex.com/admin/apps/vtex.admin-cms-graphql-rc@0.x/setup/](https://{workspaceName}--{accountName}.myvtex.com/admin/apps/vtex.admin-cms-graphql-rc@0.x/setup/)
4. Select **Add More**.
5. Fill in the **Builder ID** field with `faststore`.
6. Fill in the following fields with the URL address generated by ngrok as in the following:
- - **Sections URL:** {ngrokAddress}/page-data/_cms/sections.json
- - **Content types URL:** {ngrokAddress}/page-data/_cms/content-types.json
- - **Translation keys URL:** {ngrokAddress}/page-data/_cms/translation-keys.json
+
+- **Sections URL:** {ngrokAddress}/page-data/\_cms/sections.json
+- **Content types URL:** {ngrokAddress}/page-data/\_cms/content-types.json
+- **Translation keys URL:** {ngrokAddress}/page-data/\_cms/translation-keys.json
![CMS Settings](https://vtexhelp.vtexassets.com/assets/docs/src/cms-settings___58d08fcee2200e3e9bb865a0d9e45ac9.png)
diff --git a/apps/docs/docs/tutorials/cms-storecomponents/02 - Installing the VTEX CMS plugin.md b/apps/docs/docs/tutorials/cms-storecomponents/02 - Installing the VTEX CMS plugin.md
index b0f08c04ca..1248007b3a 100644
--- a/apps/docs/docs/tutorials/cms-storecomponents/02 - Installing the VTEX CMS plugin.md
+++ b/apps/docs/docs/tutorials/cms-storecomponents/02 - Installing the VTEX CMS plugin.md
@@ -1,7 +1,7 @@
---
id: 2
sidebar_position: 4
-sidebar_label: "2. Installing the VTEX Headless CMS plugin in your FastStore project"
+sidebar_label: '2. Installing the VTEX Headless CMS plugin in your FastStore project'
pagination_next: tutorials/cms-storecomponents/3
---
@@ -16,7 +16,7 @@ This tutorial is intended for those who started their FastStore project with the
## Introduction
-As a developer, besides creating custom frontend components for your client's store, you will also create the schemas that make the content of these components editable via the CMS. Notice that you are the one responsible for giving business users the autonomy and flexibility to manage the frontend content of your choice.
+As a developer, besides creating custom frontend components for your client's store, you will also create the schemas that make the content of these components editable via the CMS. Notice that you are the one responsible for giving business users the autonomy and flexibility to manage the frontend content of your choice.
So back to our FastStore project, in this part of this tutorial, we'll set up our environment to later define our Sections and Content Types.
@@ -29,9 +29,9 @@ To integrate your FastStore project with VTEX Headless CMS data layer, we'll nee
1. Open the terminal and change to the source directory of your FastStore project.
2. Install the VTEX Headless CMS plugin.
- ```
- yarn add @vtex/gatsby-plugin-cms
- ```
+```
+yarn add @vtex/gatsby-plugin-cms
+```
3. Now, in the root directory of your project, open the `gatsby-config.js` file and add the following configurations for `@vtex/gatsby-plugin-cms`.
@@ -58,41 +58,41 @@ Remember to replace the values between curly brackets according to your scenario
## Configuring the CMS plugin
-Now let's configure the CMS plugin to define which components of our project will be available at the VTEX Headless CMS.
+Now let's configure the CMS plugin to define which components of our project will be available at the VTEX Headless CMS.
1. Create an `index.ts` file inside `src/@vtex/gatsby-plugin-cms/`.
- ```
- src/
- ├── @vtex
- │ ├── gatsby-plugin-cms
- │ │ └── index.ts
- ```
+```
+src/
+├── @vtex
+│ ├── gatsby-plugin-cms
+│ │ └── index.ts
+```
2. Copy and paste the following code in the `src/@vtex/gatsby-plugin-cms/index.ts` file.
- ```ts title="/src/@vtex/gatsby-plugin-cms/index.ts"
- import type { BuilderConfig } from '@vtex/gatsby-plugin-cms'
+```ts title="/src/@vtex/gatsby-plugin-cms/index.ts"
+import type { BuilderConfig } from '@vtex/gatsby-plugin-cms'
- export const builderConfig: BuilderConfig = {
- blocks: {
- // your sections
- },
- contentTypes: {
- // your content types
- home: {
- name: 'Home Page',
- extraBlocks: {},
- },
+export const builderConfig: BuilderConfig = {
+ blocks: {
+ // your sections
+ },
+ contentTypes: {
+ // your content types
+ home: {
+ name: 'Home Page',
+ extraBlocks: {},
},
- messages: {
- // your translation keys
- }
- }
- ```
+ },
+ messages: {
+ // your translation keys
+ },
+}
+```
3. Save your changes.
-
+
Now if you open the VTEX Headless CMS app in the VTEX Admin and click on **Create New**, you'll see the option to create a page of the **Home Page** type.
### Understanding the `gatsby-plugin-cms/index.ts` file
@@ -102,13 +102,13 @@ In this section, let's find out what the `gatsby-plugin-cms/index.ts` file does.
- `blocks` - a Javascript object that describes the schema of a frontend component. A schema defines the structure of a section of the VTEX Headless CMS. Take the following example of the Dynamic Shelf component.
-
-
+defaultValue="CMS"
+values={[
+{label: 'Code', value: 'code'},
+{label: 'CMS', value: 'CMS'},
+]}>
+
+
```ts title=src/@vtex/gatsby-plugin-cms/index.ts
@@ -160,13 +160,13 @@ const DynamicShelf: Schema = {
- `contentTypes` - a Javascript object that describes the types of pages available for customization at the VTEX Headless CMS.
-
-
+defaultValue="CMS"
+values={[
+{label: 'Code', value: 'code'},
+{label: 'CMS', value: 'CMS'},
+]}>
+
+
```ts title=src/@vtex/gatsby-plugin-cms/index.ts
@@ -197,7 +197,7 @@ export const contentTypes: ContentTypes = {
- `messages` - an object that defines translation keys.
-
+
```ts title=src/@vtex/gatsby-plugin-cms/index.ts
messages: {
'admin/socialmediaTitle': 'Social Media',
diff --git a/apps/docs/docs/tutorials/cms-storecomponents/03 - Adding Sections to the CMS.md b/apps/docs/docs/tutorials/cms-storecomponents/03 - Adding Sections to the CMS.md
index 83298f5a55..3f5fcc9db7 100644
--- a/apps/docs/docs/tutorials/cms-storecomponents/03 - Adding Sections to the CMS.md
+++ b/apps/docs/docs/tutorials/cms-storecomponents/03 - Adding Sections to the CMS.md
@@ -48,11 +48,11 @@ const AwesomeComponent: Schema = {
Notice that each component will present a unique structure. However, you'll always need to define at least the following values:
-|Key |Description|
-|:-----------|:-----------------------------------------------------|
-|`title` |The name that identifies your component in the CMS interface.|
-`description`|A brief description to help editors understand the behavior of your component.|
-|`type` |The data type of your schema. Possible values are [`string`](https://json-schema.org/understanding-json-schema/reference/string.html), [`object`](https://json-schema.org/understanding-json-schema/reference/object.html), [`array`](https://json-schema.org/understanding-json-schema/reference/array.html), [`number`](https://json-schema.org/understanding-json-schema/reference/numeric.html#number), [`integer`](https://json-schema.org/understanding-json-schema/reference/string.html), [`boolean`](https://json-schema.org/understanding-json-schema/reference/boolean.html).|
+| Key | Description |
+| :------------ | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `title` | The name that identifies your component in the CMS interface. |
+| `description` | A brief description to help editors understand the behavior of your component. |
+| `type` | The data type of your schema. Possible values are [`string`](https://json-schema.org/understanding-json-schema/reference/string.html), [`object`](https://json-schema.org/understanding-json-schema/reference/object.html), [`array`](https://json-schema.org/understanding-json-schema/reference/array.html), [`number`](https://json-schema.org/understanding-json-schema/reference/numeric.html#number), [`integer`](https://json-schema.org/understanding-json-schema/reference/string.html), [`boolean`](https://json-schema.org/understanding-json-schema/reference/boolean.html). |
Now, depending on the `type` of your schema, you may need to define particular fields related to your component structure. For example, for a schema of the `object` type, you'll need to determine `properties` that map key-value pairs. For a schema of the `array` type, you'll need to define the `items` of that array.
@@ -67,29 +67,29 @@ When defining your Schema, you can also use the [`uiSchema`](https://react-jsons
Check the following example of the `draftjs-rich-text` component being used.
-
-
+defaultValue="code"
+values={[
+{label: 'Code', value: 'code'},
+{label: 'CMS', value: 'CMS'},
+]}>
+
+
@@ -110,7 +110,7 @@ import { Schema, BuilderConfig } from '@vtex/gatsby-plugin-cms'
export const builderConfig: BuilderConfig = {
blocks: {
// your sections
- AwesomeComponent
+ AwesomeComponent,
},
contentTypes: {
// your content types
diff --git a/apps/docs/docs/tutorials/cms-storecomponents/04 - Adding content types to the CMS.md b/apps/docs/docs/tutorials/cms-storecomponents/04 - Adding content types to the CMS.md
index a8b32fd13e..616913cf06 100644
--- a/apps/docs/docs/tutorials/cms-storecomponents/04 - Adding content types to the CMS.md
+++ b/apps/docs/docs/tutorials/cms-storecomponents/04 - Adding content types to the CMS.md
@@ -1,7 +1,7 @@
---
id: 4
sidebar_position: 6
-sidebar_label: "4. Adding Content Types to the VTEX Headless CMS"
+sidebar_label: '4. Adding Content Types to the VTEX Headless CMS'
pagination_next: tutorials/cms-storecomponents/5
---
@@ -21,10 +21,9 @@ In this part of this tutorial, you'll learn how to make different Content Types
## Declaring Content Types
-
To define different Content Types, we'll declare the `contentTypes` object in the `src/@vtex/gatsby-plugin-cms/index.ts` file. First, you must import the `ContentTypes` object from `@vtex/gatsby-plugin-cms` and then declare your content types as in the following example:
-```ts {1,21-36} title=src/@vtex/gatsby-plugin-cms/index.ts
+```ts {1,21-36} title=src/@vtex/gatsby-plugin-cms/index.ts
import { Schema, ContentTypes, BuilderConfig } from '@vtex/gatsby-plugin-cms'
import { PLP } from '@vtex/gatsby-plugin-cms'
@@ -65,10 +64,10 @@ export const contentTypes: ContentTypes = {
Notice that, to define a content type, we must specify the following parameters:
-|Key |Description|
-|:-----------|:-----------------------------------------------------|
-|`name` |The name that identifies your page in the CMS UI.|
-|(optional) `extraBlocks`|Special sections available for use in that specific content type. If you declare these sections inside another object, such as `seo`, they will be presented in a distinct tab called **SEO**.|
+| Key | Description |
+| :----------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `name` | The name that identifies your page in the CMS UI. |
+| (optional) `extraBlocks` | Special sections available for use in that specific content type. If you declare these sections inside another object, such as `seo`, they will be presented in a distinct tab called **SEO**. |
Back to the previous example, notice that we defined three different `contentTypes`: the Home Page, Product Listing Page (PLP), and Global SEO. Notice that the "Global SEO" content type has a custom section named SEO, which allows editors to change the `siteMetadata` and `facebook` sections. Take the following example of creating a Global SEO page.
@@ -84,7 +83,7 @@ import { Schema, BuilderConfig } from '@vtex/gatsby-plugin-cms'
export const builderConfig: BuilderConfig = {
blocks: {
// your sections
- AwesomeComponent
+ AwesomeComponent,
},
// your content types
contentTypes,
diff --git a/apps/docs/docs/tutorials/cms-storecomponents/05 - Defining translation keys.md b/apps/docs/docs/tutorials/cms-storecomponents/05 - Defining translation keys.md
index dcbbc69ba4..b1b045ec6e 100644
--- a/apps/docs/docs/tutorials/cms-storecomponents/05 - Defining translation keys.md
+++ b/apps/docs/docs/tutorials/cms-storecomponents/05 - Defining translation keys.md
@@ -1,7 +1,7 @@
---
id: 5
sidebar_position: 7
-sidebar_label: "5. Defining translation keys"
+sidebar_label: '5. Defining translation keys'
pagination_next: tutorials/cms-storecomponents/6
---
@@ -21,7 +21,7 @@ Now that we have created our Section schemas and Content Types, we will declare
Declare the translation keys directly inside `messages` in the `builderConfig` object as in the following example.
-```ts {1,20-41} title=src/@vtex/gatsby-plugin-cms/index.ts
+```ts {1,20-41} title=src/@vtex/gatsby-plugin-cms/index.ts
import type { Schema, ContentTypes, BuilderConfig } from '@vtex/gatsby-plugin-cms'
import { PLP } from '@vtex/gatsby-plugin-cms'
@@ -59,4 +59,4 @@ export const builderConfig: BuilderConfig = {
'Appears when the page is shared on social media',
},
}
-```
\ No newline at end of file
+```
diff --git a/apps/docs/docs/tutorials/cms-storecomponents/06 - Querying the CMS data.md b/apps/docs/docs/tutorials/cms-storecomponents/06 - Querying the CMS data.md
index 5197da44a6..3cae2b2bf8 100644
--- a/apps/docs/docs/tutorials/cms-storecomponents/06 - Querying the CMS data.md
+++ b/apps/docs/docs/tutorials/cms-storecomponents/06 - Querying the CMS data.md
@@ -1,7 +1,7 @@
---
id: 6
sidebar_position: 8
-sidebar_label: "6. Querying the CMS data"
+sidebar_label: '6. Querying the CMS data'
pagination_next: tutorials/cms-storecomponents/7
---
@@ -28,37 +28,38 @@ Before we query the CMS data in our `pages` components, let's verify how our dat
```
yarn develop
```
-3. Open the GraphiQL IDE at [http://localhost:8000/__graphql](http://localhost:8000/__graphql). Notice that a corresponding type on the GraphQL data layer is available for each content type that you have defined (e.g., `cmsHome`, `cmsPlp`, `cmsSeo`).
+3. Open the GraphiQL IDE at [http://localhost:8000/\_\_graphql](http://localhost:8000/__graphql). Notice that a corresponding type on the GraphQL data layer is available for each content type that you have defined (e.g., `cmsHome`, `cmsPlp`, `cmsSeo`).
4. Test some queries and check what they return. For example, for the `home` content type, try the following query:
-
```gql
- query MyQuery {
- cmsHome {
- sections {
- name
- props
- }
- }
- }
- ```
-
- This will return a JSON object as in the following example:
-
- ```json
- {
- "name": "DynamicShelf",
- "props": {
- "searchParams": {
- "hideUnavailableItems": true,
- "from": 0,
- "to": 11,
- "collection": "143",
- "orderBy": "OrderByScoreDESC"
- },
- "title": "Special Offers"
- }
- },
- ```
+ query MyQuery {
+ cmsHome {
+ sections {
+ name
+ props
+ }
+ }
+ }
+ ```
+
+````
+
+This will return a JSON object as in the following example:
+
+```json
+{
+ "name": "DynamicShelf",
+ "props": {
+ "searchParams": {
+ "hideUnavailableItems": true,
+ "from": 0,
+ "to": 11,
+ "collection": "143",
+ "orderBy": "OrderByScoreDESC"
+ },
+ "title": "Special Offers"
+ }
+},
+````
In the following, we'll see how we will query this structured data inside our React components.
@@ -74,41 +75,41 @@ Let's now query the CMS data in our `pages` so we can update our React component
2. Open the corresponding page of your content type. For example, for the home page, open `/src/pages/index.tsx`.
3. Update the GraphQL query of your content type to fetch the desired data from the CMS. Take the following example.
- ```graphql {9-28} title=src/pages/index.tsx
- export const query = graphql`
- query HomePageQuery(
- $from: Int!
- $to: Int!
- $collection: String!
- $orderBy: String!
- $hideUnavailableItems: Boolean!
- ) {
- cmsSeo {
- seo {
- facebook {
- description
- thumbnail
- title
- }
- siteMetadata {
- description
- title
- titleTemplate
- }
+```graphql {9-28} title=src/pages/index.tsx
+export const query = graphql`
+ query HomePageQuery(
+ $from: Int!
+ $to: Int!
+ $collection: String!
+ $orderBy: String!
+ $hideUnavailableItems: Boolean!
+ ) {
+ cmsSeo {
+ seo {
+ facebook {
+ description
+ thumbnail
+ title
}
- }
- cmsHome {
- sections {
- name
- props
+ siteMetadata {
+ description
+ title
+ titleTemplate
}
}
- ...
- `
- ```
+ }
+ cmsHome {
+ sections {
+ name
+ props
+ }
+ }
+ ...
+`
+```
- ---
+---
## Related resources
-- [Gatsby documentation - Querying data in pages with GraphQL](https://www.gatsbyjs.com/docs/how-to/querying-data/page-query/)
\ No newline at end of file
+- [Gatsby documentation - Querying data in pages with GraphQL](https://www.gatsbyjs.com/docs/how-to/querying-data/page-query/)
diff --git a/apps/docs/docs/tutorials/cms-storecomponents/07 - Adapting the views components.md b/apps/docs/docs/tutorials/cms-storecomponents/07 - Adapting the views components.md
index c19e347d81..7dff9c65a6 100644
--- a/apps/docs/docs/tutorials/cms-storecomponents/07 - Adapting the views components.md
+++ b/apps/docs/docs/tutorials/cms-storecomponents/07 - Adapting the views components.md
@@ -1,7 +1,7 @@
---
id: 7
sidebar_position: 9
-sidebar_label: "7. Adapting the views components"
+sidebar_label: '7. Adapting the views components'
---
# Part 7: Adapting the `views` components
@@ -18,7 +18,7 @@ Finally, we need to update the `views` components. The `views` components bring
## Updating the `views` components
-To update your `views` components, you must implement the logic that makes more sense for your scenario. Take the following example.
+To update your `views` components, you must implement the logic that makes more sense for your scenario. Take the following example.
```tsx
import type { ComponentPropsWithoutRef, FC } from 'react'
@@ -94,4 +94,4 @@ const AboveTheFold: FC = ({ data }) => {
export default AboveTheFold
```
-🎉 Congratulations! Your FastStore project is now completed integrated with the VTEX Headless CMS, and editors will now have the autonomy to create, edit, and publish web content via the VTEX Admin with the VTEX Headless CMS app.
\ No newline at end of file
+🎉 Congratulations! Your FastStore project is now completed integrated with the VTEX Headless CMS, and editors will now have the autonomy to create, edit, and publish web content via the VTEX Admin with the VTEX Headless CMS app.
diff --git a/apps/docs/docs/tutorials/cms/00 - Introducing the VTEX CMS.md b/apps/docs/docs/tutorials/cms/00 - Introducing the VTEX CMS.md
index 053aabf69d..e1138f0381 100644
--- a/apps/docs/docs/tutorials/cms/00 - Introducing the VTEX CMS.md
+++ b/apps/docs/docs/tutorials/cms/00 - Introducing the VTEX CMS.md
@@ -1,7 +1,7 @@
---
id: 0
description: Discover the advantages of integrating your FastStore project with a CMS and get to know the VTEX Headless CMS.
-sidebar_label: "0. Introducing the VTEX Headless CMS"
+sidebar_label: '0. Introducing the VTEX Headless CMS'
toc_max_heading_level: 4
pagination_label: Introduction
---
@@ -10,7 +10,7 @@ pagination_label: Introduction
## Introduction
-As a developer, you are responsible not only for creating custom frontend solutions for your client's store but also for defining which content of the storefront will be editable via a Content Management System (CMS). A CMS allows others to edit the frontend content of your store without having to touch your code at all.
+As a developer, you are responsible not only for creating custom frontend solutions for your client's store but also for defining which content of the storefront will be editable via a Content Management System (CMS). A CMS allows others to edit the frontend content of your store without having to touch your code at all.
In this tutorial, you'll learn how to integrate your FastStore project with the **VTEX Headless CMS**, our preferred solution for content management. This will give editors the autonomy to create, edit, and publish web content via the VTEX Admin.
@@ -38,7 +38,7 @@ This tutorial covers how to integrate your **Gatsby + FastStore** project with t
VTEX Headless CMS is a VTEX App and a no-code management system for storefront content. That means you can store your content as structured data in a layer decoupled from the frontend and then use the VTEX Headless CMS to access and deliver your content to your FastStore project.
-As with any other VTEX Admin app, you can install the VTEX Headless CMS in your VTEX account and access it via the Admin. Once installed in your account, you can access the VTEX Headless CMS at **Store Setup > CMS (alpha) > Pages (alpha)**.
+As with any other VTEX Admin app, you can install the VTEX Headless CMS in your VTEX account and access it via the Admin. Once installed in your account, you can access the VTEX Headless CMS at **Store Setup > CMS (alpha) > Pages (alpha)**.
You'll then see a list of all web pages created with the VTEX Headless CMS. Notice that this list will be empty at first, but once editors start creating new pages, your interface will look similar to the following:
@@ -46,10 +46,10 @@ You'll then see a list of all web pages created with the VTEX Headless CMS. Noti
Notice that each page created with the VTEX Headless CMS is related to a specific URL and is distinguished by the following properties:
-- **Name:** identifies a given page. This name is not available elsewhere and is used only internally in the VTEX Headless CMS for identification purposes.
+- **Name:** identifies a given page. This name is not available elsewhere and is used only internally in the VTEX Headless CMS for identification purposes.
- **Type** (a.k.a., Content Type): determines the nature of a page. For example, the **Type** can be a Landing Page, a Product Listing Page (PLP), a Product Detail Page (PDP), etc. You, as a developer, are the one responsible for defining which content types will be available for the editors of your store.
- **Last modified:** indicates the last time a given page was edited.
-- **Version:** identifies the state of a page, if it's *Draft*, *Publishing*, or *Published*. Notice that editors can have more than one version of the same page with distinct settings and content.
+- **Version:** identifies the state of a page, if it's _Draft_, _Publishing_, or _Published_. Notice that editors can have more than one version of the same page with distinct settings and content.
### Content Types
@@ -59,10 +59,10 @@ Once editors click on **Create New** in the VTEX Headless CMS interface, they'll
### Sections
-For each Content Type, different **Sections** will be available to compose that page. Sections represent the content structure of a React component, for example, a Carousel or a Dynamic Shelf.
+For each Content Type, different **Sections** will be available to compose that page. Sections represent the content structure of a React component, for example, a Carousel or a Dynamic Shelf.
![CMS Section](https://vtexhelp.vtexassets.com/assets/docs/src/cms-section___d3211ca1a5752e2498b58970872d9aaf.png)
Sections can be reused in different pages of an ecommerce. You are the one who will choose which Sections will be available at the CMS. Check the following example of the Carousel Section being used:
-![Carousel Section](https://vtexhelp.vtexassets.com/assets/docs/src/cms-carousel___e9a4053e9ec30ee94466150e82b9dc93.png)
\ No newline at end of file
+![Carousel Section](https://vtexhelp.vtexassets.com/assets/docs/src/cms-carousel___e9a4053e9ec30ee94466150e82b9dc93.png)
diff --git a/apps/docs/docs/tutorials/cms/01 - Configuring your VTEX account.md b/apps/docs/docs/tutorials/cms/01 - Configuring your VTEX account.md
index 9357fd083a..9f5f2f4d04 100644
--- a/apps/docs/docs/tutorials/cms/01 - Configuring your VTEX account.md
+++ b/apps/docs/docs/tutorials/cms/01 - Configuring your VTEX account.md
@@ -1,7 +1,7 @@
---
id: 1
description: Set up all the necessary tools to integrate your FastStore project with the VTEX Headless CMS.
-sidebar_label: "1. Configuring your VTEX account"
+sidebar_label: '1. Configuring your VTEX account'
pagination_label: Part 1
---
@@ -15,41 +15,41 @@ First, we will install the **VTEX IO CLI**. The VTEX IO CLI will help you during
---
-## Step by step
+## Step by step
### Step 1 - Setting up the command-line environment
1. Install the VTEX IO CLI on your machine. Please refer to [this](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-vtex-io-cli-install) document for more information.
2. Log in to your VTEX account:
- - *Remember to replace the values between curly brackets according to your scenario.*
- ```
- vtex login {account}
- ```
-
+- _Remember to replace the values between curly brackets according to your scenario._
+
+```
+vtex login {account}
+```
+
3. Install the VTEX Headless CMS plugin:
- ```sh
- vtex plugins install cms
- ```
+ ```sh
+ vtex plugins install cms
+ ```
Now, check if the installation of the VTEX Headless CMS plugin was successful by running `vtex cms`.
- ![VTEX Headless CMS plugin](https://vtexhelp.vtexassets.com/assets/docs/src/CMSPluginCLI___63a1f4d454fd5d42353d5ee276028962.png)
+![VTEX Headless CMS plugin](https://vtexhelp.vtexassets.com/assets/docs/src/CMSPluginCLI___63a1f4d454fd5d42353d5ee276028962.png)
:::caution
If you find any problems while installing the plugin, please refer to our [Troubleshooting](/tutorials/cms/Troubleshooting) article.
:::
-
### Step 2 - Installing the Headless CMS app on your VTEX account
Install the VTEX Headless CMS app and all its dependencies in your VTEX account by running the following command:
- ```
- vtex install vtex.admin-cms@1.x vtex.admin-cms-graphql@0.x vtex.admin-cms-graphql-rc@1.x vtex.admin-releases@0.x vtex.cms-builder-sf-jamstack@1.x
- ```
+```
+vtex install vtex.admin-cms@1.x vtex.admin-cms-graphql@0.x vtex.admin-cms-graphql-rc@1.x vtex.admin-releases@0.x vtex.cms-builder-sf-jamstack@1.x
+```
Now you can check the VTEX Headless CMS interface by accessing the VTEX Admin and then going to **Store Setup > CMS (Alpha) > Pages (Alpha)**.
@@ -61,8 +61,9 @@ Next, let's configure the URLs of the webhooks used by the VTEX Headless CMS app
2. Go to **Account Settings > Apps > My apps.**
3. Look for the **CMS (alpha)** app and click on **Settings.**
4. Select **Add More**.
-5. Fill in the **Builder ID** field with `faststore`.
-6. Fill in the **Build Webhook URL** field with the following value. *Replace the values between curly brackets according to your scenario.*
+5. Fill in the **Builder ID** field with `faststore`.
+6. Fill in the **Build Webhook URL** field with the following value. _Replace the values between curly brackets according to your scenario._
+
```
https://app.io.vtex.com/vtex.cms-builder-sf-jamstack/v1/{account}/{workspace}/build-releases
```
@@ -71,25 +72,27 @@ Next, let's configure the URLs of the webhooks used by the VTEX Headless CMS app
When an editor clicks to publish a page using the VTEX Headless CMS interface, the CMS calls the **Build Webhook URL**, which changes the status of that page to `publishing`. The CMS, then, waits for the content to be built in the background.
:::
-7. Now, fill in the **Production base URL** filed with the following value. *Replace the values between curly brackets according to your scenario.*
- ```
- https://{account}.vtex.com/
- ```
-
+7. Now, fill in the **Production base URL** filed with the following value. _Replace the values between curly brackets according to your scenario._
+
+```
+https://{account}.vtex.com/
+```
+
8. Click on **Save.**
![CMS Settings](https://vtexhelp.vtexassets.com/assets/docs/src/cms-settings2___54ec9a22584b5aad09d0b403993cbee2.png)
-### Step 4 - Communicating WebOps updates to the Headless CMS
+### Step 4 - Communicating WebOps updates to the Headless CMS
Now, if you are developing your FastStore project with WebOps and VTEX Headless CMS, you must ensure that WebOps is aware of every CMS update performed via the VTEX Admin. To do so, you must configure the WebOps webhooks responsible for communicating with the VTEX Headless CMS as in the following.
1. Open your FastStore project in any code editor of your preference.
-2. Create the `cms-webhook-urls.json` file in the root directory of your project.
+2. Create the `cms-webhook-urls.json` file in the root directory of your project.
3. Add the webhooks corresponding to your store website as in the following:
+
```json title="cms-webhook-urls.json"
{
- "urls": [ "https://{account}.myvtex.com/cms-releases/webhook-releases"]
+ "urls": ["https://{account}.myvtex.com/cms-releases/webhook-releases"]
}
```
@@ -107,4 +110,3 @@ Now you're ready to start defining which Content Types and Sections will be edit
## Related resources
- [VTEX IO CLI](https://developers.vtex.com/vtex-developer-docs/docs/vtex-io-documentation-vtex-io-cli-installation-and-command-reference)
-
diff --git a/apps/docs/docs/tutorials/cms/02 - Setting up the VTEX Headless CMS in your FastStore project.md b/apps/docs/docs/tutorials/cms/02 - Setting up the VTEX Headless CMS in your FastStore project.md
index 787eb4b8dd..e4ab2f27d1 100644
--- a/apps/docs/docs/tutorials/cms/02 - Setting up the VTEX Headless CMS in your FastStore project.md
+++ b/apps/docs/docs/tutorials/cms/02 - Setting up the VTEX Headless CMS in your FastStore project.md
@@ -1,7 +1,7 @@
---
id: 2
description: Set up the VTEX Headless CMS in your FastStore project.
-sidebar_label: "2. Setting up the VTEX Headless CMS in your FastStore project"
+sidebar_label: '2. Setting up the VTEX Headless CMS in your FastStore project'
pagination_label: Part 2
---
@@ -24,83 +24,84 @@ By the end of this part of this tutorial, you will be able to see your first def
```
mkdir cms
```
-3. Inside the `cms` folder, create the three following files:
+3. Inside the `cms` folder, create the three following files:
- - `content-types.json` - an array of JSON objects that describes the **Content Types** available for customization at the VTEX Headless CMS app.
- - `sections.json` - an array of JSON objects that describes the content structure of the frontend **Section** components available for customization at the VTEX Headless CMS app.
- - `translation-keys.json` - an array of JSON objects that defines the translation keys of the Sections descriptions.
-
- ```
- touch cms/content-types.json cms/sections.json cms/translation-keys.json
- ```
+- `content-types.json` - an array of JSON objects that describes the **Content Types** available for customization at the VTEX Headless CMS app.
+- `sections.json` - an array of JSON objects that describes the content structure of the frontend **Section** components available for customization at the VTEX Headless CMS app.
+- `translation-keys.json` - an array of JSON objects that defines the translation keys of the Sections descriptions.
+
+```
+touch cms/content-types.json cms/sections.json cms/translation-keys.json
+```
4. Update the `sections.json` file with an empty array:
```
- echo "[]" > cms/sections.json
+ echo "[]" > cms/sections.json
```
5. Update the `translation-keys.json` file with an empty object:
```
echo "{}" > cms/translation-keys.json
```
6. Now, open the `content-types.json` file in any code editor of your choice and add the following code:
- ```json title="cms/content-types.json"
- [
- {
- "id": "home",
- "name": "Home Page",
- "configurationSchemaSets": []
- },
- {
- "id": "institutionalPage",
- "name": "Institutional page",
- "configurationSchemaSets": [
- {
- "name": "SEO",
- "configurations": [
- {
- "name": "siteMetadataWithSlug",
- "schema": {
- "title": "Site Metadata",
- "description": "Configure global site metadata",
- "type": "object",
- "widget": {
- "ui:ObjectFieldTemplate": "GoogleSeoPreview"
+
+```json title="cms/content-types.json"
+[
+ {
+ "id": "home",
+ "name": "Home Page",
+ "configurationSchemaSets": []
+ },
+ {
+ "id": "institutionalPage",
+ "name": "Institutional page",
+ "configurationSchemaSets": [
+ {
+ "name": "SEO",
+ "configurations": [
+ {
+ "name": "siteMetadataWithSlug",
+ "schema": {
+ "title": "Site Metadata",
+ "description": "Configure global site metadata",
+ "type": "object",
+ "widget": {
+ "ui:ObjectFieldTemplate": "GoogleSeoPreview"
+ },
+ "properties": {
+ "title": {
+ "title": "Default page title",
+ "description": "Display this title when no other tile is available",
+ "type": "string",
+ "default": "Store Theme | VTEX SFJ"
+ },
+ "description": {
+ "title": "Meta tag description",
+ "type": "string",
+ "default": "A beautifully designed site for general VTEX stores"
+ },
+ "titleTemplate": {
+ "title": "Title template to be used in category/product pages",
+ "type": "string",
+ "default": "%s | Store Theme"
},
- "properties": {
- "title": {
- "title": "Default page title",
- "description": "Display this title when no other tile is available",
- "type": "string",
- "default": "Store Theme | VTEX SFJ"
- },
- "description": {
- "title": "Meta tag description",
- "type": "string",
- "default": "A beautifully designed site for general VTEX stores"
- },
- "titleTemplate": {
- "title": "Title template to be used in category/product pages",
- "type": "string",
- "default": "%s | Store Theme"
- },
- "slug": {
- "title": "URL Slug",
- "type": "string",
- "default": "/landing-page-url"
- }
+ "slug": {
+ "title": "URL Slug",
+ "type": "string",
+ "default": "/landing-page-url"
}
}
}
- ]
- }
- ]
- }
- ]
- ```
+ }
+ ]
+ }
+ ]
+ }
+]
+```
- :::info
- Don't worry about the structure of this file for now, as we'll learn more about it later in this tutorial. However, notice that we have defined two different Content Types: the **Home Page** and the **Institutional Page**.
- :::
+:::info
+Don't worry about the structure of this file for now, as we'll learn more about it later in this tutorial. However, notice that we have defined two different Content Types: the **Home Page** and the **Institutional Page**.
+:::
7. Save your changes in the `content-types.json` file.
@@ -109,8 +110,8 @@ By the end of this part of this tutorial, you will be able to see your first def
Let's now sync our changes with the VTEX Headless CMS app and see what happens.
1. Open the terminal and log in to your VTEX account.
-2. Create a new development workspace by running the following command.
-
+2. Create a new development workspace by running the following command.
+
```sh
vtex use {workspace}
```
@@ -118,11 +119,11 @@ Let's now sync our changes with the VTEX Headless CMS app and see what happens.
:::caution
Remember to replace the values between curly brackets according to your scenario.
:::
-
+
:::info
Use a development workspace to try your definitions of Sections and Content Types before syncing them with the VTEX `master` workspace.
:::
-
+
3. Change to the root directory of your FastStore project.
4. Sync your changes in the `cms` folder with the VTEX Headless CMS app:
```sh
@@ -135,12 +136,11 @@ Once your changes are synced with the VTEX Headless CMS, the terminal will show
CMS synced successfully...
```
-
### Step 3 - Checking your changes
1. Access the VTEX Admin using the workspace you previously created (e.g., `https://{workspace}--{account}.myvtex.com/admin`).
2. Go to **Store Development > CMS (Alpha) > Pages (Alpha)**.
-3. Click on **Create New**.
+3. Click on **Create New**.
You should now see the Content Type we created in the previous step available for use at the VTEX Headless CMS app. However, no sections or translation keys will be available yet. We'll learn more about this in the following part of this tutorial.
diff --git a/apps/docs/docs/tutorials/cms/03 - Adding Content Types and Sections to the VTEX Headless CMS.md b/apps/docs/docs/tutorials/cms/03 - Adding Content Types and Sections to the VTEX Headless CMS.md
index 773832bdad..3311f2f6d5 100644
--- a/apps/docs/docs/tutorials/cms/03 - Adding Content Types and Sections to the VTEX Headless CMS.md
+++ b/apps/docs/docs/tutorials/cms/03 - Adding Content Types and Sections to the VTEX Headless CMS.md
@@ -128,7 +128,6 @@ For more information on how to write a `schema`, check the [`JSON Schema Referen
After editing the `cms/content-types.json` file, remember to save your changes and check them live by accessing the VTEX Admin at **CMS (alpha) > Pages (alpha)**. Click on **Create New** and check the available Content Type options. Click on **Institutional Page** to create a new **Institutional Page** and check the SEO tab.
-
Try our generic Content Type definition.
@@ -494,7 +493,6 @@ values={[
-
#### The **`schema`** property
The `schema` will always be unique for each of your Sections as they create the form that editors will use to submit data and change the content of a given React component.
@@ -865,7 +863,6 @@ After creating our Section schemas and Content Types, we will declare the Transl
Copy and paste the following code in the `cms/translation-keys.json` file to try our generic Translation Key definitions. Remember to save your changes.
-
```json title="cms/translation-keys.json"
{
"admin/socialmediaTitle": "Social Media",
diff --git a/apps/docs/docs/tutorials/cms/04 - Querying the CMS data.md b/apps/docs/docs/tutorials/cms/04 - Querying the CMS data.md
index beeabd060e..3519edc4b2 100644
--- a/apps/docs/docs/tutorials/cms/04 - Querying the CMS data.md
+++ b/apps/docs/docs/tutorials/cms/04 - Querying the CMS data.md
@@ -1,7 +1,7 @@
---
id: 4
description: Adapt your storefront components to consume data from the VTEX Headless CMS.
-sidebar_label: "4. Querying the CMS data"
+sidebar_label: '4. Querying the CMS data'
pagination_label: Part 4
---
@@ -9,7 +9,7 @@ pagination_label: Part 4
## Introduction
-After syncing your Section and Content Type definitions with the VTEX Headless CMS, each Content Type will have a corresponding type on the Gatsby GraphQL layer.
+After syncing your Section and Content Type definitions with the VTEX Headless CMS, each Content Type will have a corresponding type on the Gatsby GraphQL layer.
In this section, we'll see how to query for this data using the Graph*i*QL IDE and how to adapt our `pages` components to consume this data.
@@ -24,9 +24,9 @@ To fetch data from the VTEX Headless CMS data layer into your FastStore project,
1. Open the terminal and change to the source directory of your FastStore project.
2. Install the VTEX Headless CMS plugin.
- ```sh
- yarn add @vtex/gatsby-source-cms
- ```
+```sh
+yarn add @vtex/gatsby-source-cms
+```
3. Open the `gatsby-config.js` file and add the following configurations for the `@vtex/gatsby-source-cms` plugin.
@@ -50,7 +50,6 @@ module.exports = {
Remember to replace the values between curly brackets according to your scenario.
:::
-
### Step 2 - Querying the CMS data in GraphiQL
Before we query the CMS data in our `pages` components, let's verify how our data is structured using the GraphiQL IDE.
@@ -60,47 +59,48 @@ Before we query the CMS data in our `pages` components, let's verify how our dat
```sh
yarn develop
```
-3. Open the GraphiQL IDE at [http://localhost:8000/__graphql](http://localhost:8000/__graphql). Notice that a corresponding type on the GraphQL data layer is available for each content type that you have defined (e.g., `cmsHome`, `cmsInstitutionalPage`).
+3. Open the GraphiQL IDE at [http://localhost:8000/\_\_graphql](http://localhost:8000/__graphql). Notice that a corresponding type on the GraphQL data layer is available for each content type that you have defined (e.g., `cmsHome`, `cmsInstitutionalPage`).
4. Test some queries and check what they return. For example, for the `home` content type, try the following query:
-
```gql
- query MyQuery {
- cmsHome {
- sections {
- name
- data
- }
- }
- }
- ```
-
- This will return a JSON object as in the following example:
-
- ```json
- {
- "data": {
- "cmsHome": {
- "sections": [
- {
- "name": "DynamicShelf",
- "props": {
- "searchParams": {
- "hideUnavailableItems": true,
- "from": 0,
- "to": 11,
- "collection": "143"
- },
- "title": "Special Offers"
- }
+ query MyQuery {
+ cmsHome {
+ sections {
+ name
+ data
+ }
+ }
+ }
+ ```
+
+````
+
+This will return a JSON object as in the following example:
+
+```json
+{
+ "data": {
+ "cmsHome": {
+ "sections": [
+ {
+ "name": "DynamicShelf",
+ "props": {
+ "searchParams": {
+ "hideUnavailableItems": true,
+ "from": 0,
+ "to": 11,
+ "collection": "143"
+ },
+ "title": "Special Offers"
}
- ]
- }
- },
- "extensions": {
- "enableRefresh": "true"
+ }
+ ]
}
+ },
+ "extensions": {
+ "enableRefresh": "true"
}
- ```
+}
+````
Next, we'll query this data inside our React components and use it to update their contents.
@@ -112,27 +112,25 @@ Let's now query the CMS data in our `pages` so we can update our React component
2. Open the corresponding `pages` component of a Content Type you're integrating with the VTEX Headless CMS. For example, for the Home Page, open `/src/pages/index.tsx`.
3. Update the GraphQL query of your content type to fetch the desired data from the CMS. Take the following example.
- ```graphql {10-15} title=src/pages/index.tsx
- export const query = graphql`
- query HomePageQuery(
- site {
- siteMetadata {
- title
- description
- titleTemplate
- }
+```graphql {10-15} title=src/pages/index.tsx
+export const query = graphql`
+ query HomePageQuery(
+ site {
+ siteMetadata {
+ title
+ description
+ titleTemplate
}
- cmsHome {
- sections {
- name
- data
- }
+ }
+ cmsHome {
+ sections {
+ name
+ data
}
- ...
- `
- ```
-
-
+ }
+ ...
+`
+```
### Step 4 - Rendering the CMS content
@@ -142,73 +140,77 @@ Finally, let's update our components to present the content submitted via the VT
2. Go to the `src/components` folder and create a new file named `RenderCMS.tsx`.
3. Copy and paste the following code into the `RenderCMS.tsx` file.
- ```tsx title="src/components/RenderCMS.tsx"
- import React from 'react'
- import Shelf from 'src/components/sections/Shelf'
- import type { ComponentType } from 'react'
-
- /**
- * Sections: Components imported from '../components/sections' only.
- * Do not import or render components from any other folder in here.
- */
- const COMPONENTS: Record> = {
- Shelf
- }
+```tsx title="src/components/RenderCMS.tsx"
+import React from 'react'
+import Shelf from 'src/components/sections/Shelf'
+import type { ComponentType } from 'react'
- interface Props {
- sections?: Array<{ name: string; data: unknown }>
- }
+/**
+ * Sections: Components imported from '../components/sections' only.
+ * Do not import or render components from any other folder in here.
+ */
+const COMPONENTS: Record> = {
+ Shelf,
+}
- function RenderCMS({ sections }: Props) {
- return (
- <>
- {sections?.map(({ name, data }, index) => {
- const Component = COMPONENTS[name]
+interface Props {
+ sections?: Array<{ name: string; data: unknown }>
+}
- if (!Component) {
- throw new Error(
- `Could not find component for block ${name}. Add a new component for this block or remove it from the CMS`
- )
- }
+function RenderCMS({ sections }: Props) {
+ return (
+ <>
+ {sections?.map(({ name, data }, index) => {
+ const Component = COMPONENTS[name]
- return
- })}
- >
- )
- }
+ if (!Component) {
+ throw new Error(
+ `Could not find component for block ${name}. Add a new component for this block or remove it from the CMS`
+ )
+ }
+
+ return
+ })}
+ >
+ )
+}
- export default RenderCMS
- ```
+export default RenderCMS
+```
4. Import the React components corresponding to the Sections you previously created in the CMS (e.g., `RichText`, `Shelf`) and add it to `COMPONENTS`. For example:
- ```tsx {3,8} title="src/components/RenderCMS.tsx"
- import React from 'react'
- import Shelf from 'src/components/sections/Shelf'
- import RichText from 'src/components/sections/RichText'
- import type { ComponentType } from 'react'
+```tsx {3,8} title="src/components/RenderCMS.tsx"
+import React from 'react'
+import Shelf from 'src/components/sections/Shelf'
+import RichText from 'src/components/sections/RichText'
+import type { ComponentType } from 'react'
- const COMPONENTS: Record> = {
+const COMPONENTS: Record> = {
Shelf,
RichText,
- }
- ```
+}
+```
-5. Save your changes.
+5. Save your changes.
6. Now, go to the `pages` component corresponding to the Content Type you are integrating with the CMS. For example, for the **Home Page**, go to the `src/pages/index.tsx` file.
7. Import the `RenderCMS` component.
- ```tsx
- import RenderCMS from 'src/components/RenderCMS'
- ```
+
+```tsx
+import RenderCMS from 'src/components/RenderCMS'
+```
+
8. Add the `RenderCMS` component to your page as in the following example.
- ```tsx title="src/pages/index.tsx"
-
- ```
+
+```tsx title="src/pages/index.tsx"
+
+```
+
9. Save your changes.
-
+
---
## Related resources
- [Gatsby documentation - Plugins](https://www.gatsbyjs.com/docs/how-to/plugins-and-themes/)
-- [Gatsby documentation - Querying data in pages with GraphQL](https://www.gatsbyjs.com/docs/how-to/querying-data/page-query/)
\ No newline at end of file
+- [Gatsby documentation - Querying data in pages with GraphQL](https://www.gatsbyjs.com/docs/how-to/querying-data/page-query/)
diff --git a/apps/docs/docs/tutorials/cms/05 - Adapting the views components.md b/apps/docs/docs/tutorials/cms/05 - Adapting the views components.md
index 5fad569ab8..40d8f1366c 100644
--- a/apps/docs/docs/tutorials/cms/05 - Adapting the views components.md
+++ b/apps/docs/docs/tutorials/cms/05 - Adapting the views components.md
@@ -1,7 +1,7 @@
---
id: 5
description: Promote your changes to production after integrating your project with the VTEX Headless CMS.
-sidebar_label: "5. Promoting your changes"
+sidebar_label: '5. Promoting your changes'
pagination_label: Part 5
---
@@ -34,4 +34,4 @@ Now, if you are happy with your Content Type, Section and Translation Keys defin
## See more
-- [VTEX Headless CMS API Reference](/vtex-headless-cms-api)
\ No newline at end of file
+- [VTEX Headless CMS API Reference](/vtex-headless-cms-api)
diff --git a/apps/docs/docs/tutorials/cms/Troubleshooting.md b/apps/docs/docs/tutorials/cms/Troubleshooting.md
index 1699529090..b13f26250e 100644
--- a/apps/docs/docs/tutorials/cms/Troubleshooting.md
+++ b/apps/docs/docs/tutorials/cms/Troubleshooting.md
@@ -4,11 +4,11 @@ sidebar_label: Troubleshooting
pagination_next: null
---
-# Troubleshooting - VTEX Headless CMS integration
+# Troubleshooting - VTEX Headless CMS integration
Throughout this tutorial, you may come across common errors that have already tricked other FastStore users. This article is intended to help you troubleshoot some of these issues.
-## Error installing the Headless CMS plugin of VTEX IO CLI
+## Error installing the Headless CMS plugin of VTEX IO CLI
If you are a Windows user, you may find the following error after requesting to install the VTEX Headless CMS plugin of VTEX IO CLI:
@@ -16,14 +16,14 @@ If you are a Windows user, you may find the following error after requesting to
vtex plugins install cms
warning "@vtex/cli-plugin-cms > @vtex/api > apollo-server-core > apollo-graphql@0.9.5" has incorrect peer dependency "graphql@^14.2.1 || ^15.0.0".
Installing plugin @vtex/cli-plugin-cms... failed
- Error: EPERM: operation not permitted, symlink
+ Error: EPERM: operation not permitted, symlink
'C:\Users\LukeSkywalker\AppData\Roaming\npm\node_modules\vtex' ->
'C:\Users\LukeSkywalker\AppData\Local\vtex\node_modules\vtex'
Code: EPERM
-```
+```
To solve this issue, please launch the Windows Terminal as administrator. Then, run `vtex cms`.
![](https://vtexhelp.vtexassets.com/assets/docs/src/TroubleshootingCMS___fd0e1b6bd9843af1cca2991104370a1a.jpg)
-This will allow the system to create the [symbolic link](https://en.wikipedia.org/wiki/Symbolic_link) necessary for running commands from the VTEX Headless CMS plugin.
\ No newline at end of file
+This will allow the system to create the [symbolic link](https://en.wikipedia.org/wiki/Symbolic_link) necessary for running commands from the VTEX Headless CMS plugin.
diff --git a/apps/docs/docs/tutorials/fundamentals/concepts.md b/apps/docs/docs/tutorials/fundamentals/concepts.md
index e15c0906cd..2499c721b7 100644
--- a/apps/docs/docs/tutorials/fundamentals/concepts.md
+++ b/apps/docs/docs/tutorials/fundamentals/concepts.md
@@ -16,18 +16,14 @@ This documentation is currently under development.
### Single Page Applications
-
## Understanding rendering
### Server-side rendered
### Client-side rendered
-
## Jamstack
-
## Static Site Generators
![](https://vtexhelp.vtexassets.com/assets/docs/src/StaticSiteGenerator___8cbe91c9104700581f219dd6affeeb11.jpg)
-
diff --git a/apps/docs/docs/tutorials/fundamentals/faststore.md b/apps/docs/docs/tutorials/fundamentals/faststore.md
index d42283c041..9fc78c3716 100644
--- a/apps/docs/docs/tutorials/fundamentals/faststore.md
+++ b/apps/docs/docs/tutorials/fundamentals/faststore.md
@@ -4,23 +4,24 @@ title: FastStore
sidebar_label: What is FastStore
---
-*[FastStore](https://github.com/vtex/faststore) is a collection of **open-source** libraries consisting of an ecommerce-focused SDK package, a React UI components library and a GraphQL API to connect to your ecommerce provider.*
+_[FastStore](https://github.com/vtex/faststore) is a collection of **open-source** libraries consisting of an ecommerce-focused SDK package, a React UI components library and a GraphQL API to connect to your ecommerce provider._
---
-## What is FastStore
+## What is FastStore
[FastStore](https://github.com/vtex/faststore) is a light yet powerful **set of libraries** made for developers who want to explore their knowledge and creativity building comprehensive and unique ecommerce solutions. It supports integrations with headless ecommerce platforms, allows meaningful analytics capabilities, and gives developers back the freedom of customization.
## What is included
That is possible because FastStore was cleverly split into **a UI, SDK and API packages.** The UI package is a **CSS framework-agnostic** library that crafts the behavior of React components into data attributes. The SDK is an extensible state management library that handles all meaningful states an ecommerce store might have, such as:
+
- **Session** - handles auth, region, locale, and currency data.
- **Cart** - handles the addition, remotion, update, and current state of a store cart.
- **UI** - handles the state of the components of a store (e.g., display/hide mini cart).
- **Search** - handles the state of the faceted search (e.g., apply filters and sort).
-Our SDKs also provide GA4 compatible analytics functions to help you create powerful analytics capabilities in your ecommerce.
+Our SDKs also provide GA4 compatible analytics functions to help you create powerful analytics capabilities in your ecommerce.
Finally, the API package lets you connect to your favorite ecommerce provider by creating interfaces for querying products, collections and manipulating carts.
FastStore never constrains developers to any proprietary framework. It is opinionated by default but flexible under the hood.
@@ -28,6 +29,7 @@ FastStore never constrains developers to any proprietary framework. It is opinio
## Our philosophy
Instead of focussing on the next big thing in ecommerce, we tend to focus on what will never change, and try to nail it really well. Our pillars are:
+
1. Performance: Amazing UX with great points on Lighthouse and Web Vitals
2. Stability: Your ecommerce should never lose a sale due to provider issues
3. Analytics/SEO: Understand who's visiting your store and reach a higher organic traffic
diff --git a/apps/docs/docs/tutorials/gatsby/04 - Understanding the project structure.md b/apps/docs/docs/tutorials/gatsby/04 - Understanding the project structure.md
index bf21a964d5..d7f4522ab9 100644
--- a/apps/docs/docs/tutorials/gatsby/04 - Understanding the project structure.md
+++ b/apps/docs/docs/tutorials/gatsby/04 - Understanding the project structure.md
@@ -1,11 +1,11 @@
---
id: 4
-title: "Part 3: Understanding the project structure"
-sidebar_label: "3. Understanding the project structure"
+title: 'Part 3: Understanding the project structure'
+sidebar_label: '3. Understanding the project structure'
pagination_label: Part 3
---
-*Find out how to organize your FastStore + Gatsby project and get to know our recommended conventions for naming files and folders.*
+_Find out how to organize your FastStore + Gatsby project and get to know our recommended conventions for naming files and folders._
---
@@ -61,9 +61,9 @@ pagination_label: Part 3
└── yarn.lock
```
-
+
-## Overview
+## Overview
In the previous sections of this tutorial, you started your first FastStore + Gatsby store and learned how to run a local server. Now it's time to understand how our project is structured.
@@ -73,8 +73,7 @@ Let's start taking a look at the structure to the right that represents the sour
Notice that some of these folders, such as `node_modules` and `public`, might be familiar to you. Others, however, are VTEX and Gatsby-specific and might be new to you. Let's investigate them.
-
-## Basic files and folders
+## Basic files and folders
### `node_modules`
@@ -82,11 +81,11 @@ The **`node_modules`** folder is where [npm](https://www.npmjs.com/) saves and i
### `package.json` and `package.json`files
-Similar to the `node_modules` folder, the `package.json` and `package‑lock.json` files are vital to any JavaScript/Node project. They record all the metadata [npm](https://www.npmjs.com/) needs to identify the project and handle its dependencies and scripts.
-
+Similar to the `node_modules` folder, the `package.json` and `package‑lock.json` files are vital to any JavaScript/Node project. They record all the metadata [npm](https://www.npmjs.com/) needs to identify the project and handle its dependencies and scripts.
+
### `cache` and `public`
-The `cache` and `public` folders are *automatically generated* by Gatsby when you build your website. They are used to **expose the output assets created during the development and building processes**. It's important to know that the `cache` folder stores an internal cache and that the `public` folder is where the production‑ready version of your website lives. Remember that these two folders are not meant for modification and should be added to `.gitignore`.
+The `cache` and `public` folders are _automatically generated_ by Gatsby when you build your website. They are used to **expose the output assets created during the development and building processes**. It's important to know that the `cache` folder stores an internal cache and that the `public` folder is where the production‑ready version of your website lives. Remember that these two folders are not meant for modification and should be added to `.gitignore`.
## Configuration files
@@ -95,7 +94,7 @@ You'll notice some VTEX and Gatsby-specific files responsible for your project s
- [`store.config.js`](#storeconfigjs) - Configures environment variables to connect to your VTEX account.
- [`gatsby‑browser.js`](#gatsbybrowserjs) - Changes the browser behavior and allows wrapping components around all your store pages.
- [`gatsby‑config.js`](#gatsbyconfigjs) - Sets up your site metadata.
-- [`gatsby‑node.js`](#gatsbynodejs) - Runs Javascript code during build.
+- [`gatsby‑node.js`](#gatsbynodejs) - Runs Javascript code during build.
- [`gatsby‑ssr.js`](#gatsbyssrjs) - Customizes server-side rendering settings.
### `store.config.js`
@@ -104,13 +103,13 @@ The `store.config.js` file stores the environment variables needed for accessing
### `gatsby‑browser.js`
-The `gatsby‑browser` file allows you to use the [Gatsby Browser API](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-browser/). You can use it to change and customize Gatsby's behavior in the browser and make components wrap around all your web pages. For example, you can use it to import global CSS styles and render components that are common to all your store pages.
+The `gatsby‑browser` file allows you to use the [Gatsby Browser API](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-browser/). You can use it to change and customize Gatsby's behavior in the browser and make components wrap around all your web pages. For example, you can use it to import global CSS styles and render components that are common to all your store pages.
![](https://vtexhelp.vtexassets.com/assets/docs/src/gatsby-browser___148097949626d1d7b9bf09979fe1aec7.png)
### `gatsby‑config.js`
-The `gatsby‑config` file allows you to use the [Gatsby Config API](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/). It is the main configuration file in a Gatsby website. You can use it to specify your site metadata and configure [Gatsby Plugins](https://www.gatsbyjs.com/docs/plugins/).
+The `gatsby‑config` file allows you to use the [Gatsby Config API](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-config/). It is the main configuration file in a Gatsby website. You can use it to specify your site metadata and configure [Gatsby Plugins](https://www.gatsbyjs.com/docs/plugins/).
![](https://vtexhelp.vtexassets.com/assets/docs/src/gatsby-config___c979d882de2c8d26beebdf56cb5992f4.png)
@@ -120,38 +119,37 @@ If you're not familiar with [Gatsby Plugins](https://www.gatsbyjs.com/docs/plugi
### `gatsby‑node.js`
-The `gatsby‑node.js` file is where you'll define and configure [Gatsby Node APIs](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-node/). The code within this file runs once during the build process of your site, allowing you to customize and extend the Gatsby settings that affect the build.
+The `gatsby‑node.js` file is where you'll define and configure [Gatsby Node APIs](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-node/). The code within this file runs once during the build process of your site, allowing you to customize and extend the Gatsby settings that affect the build.
![](https://vtexhelp.vtexassets.com/assets/docs/src/gatsby-node___0379ab0017881624a571d1086af6d204.png)
### `gatsby‑ssr.js`
-The `gatsby‑ssr.js` file allows you to use the [Gatsby Server Rendering APIs](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-ssr/). These enable customizing the content of static HTML files as they are Server-Side Rendered (SSR) by Gatsby and Node.js.
+The `gatsby‑ssr.js` file allows you to use the [Gatsby Server Rendering APIs](https://www.gatsbyjs.com/docs/reference/config-files/gatsby-ssr/). These enable customizing the content of static HTML files as they are Server-Side Rendered (SSR) by Gatsby and Node.js.
![](https://vtexhelp.vtexassets.com/assets/docs/src/gatsby-ssr___2e4e57aafda0964f72e1a0e2e3b8091a.png)
-
## The `src` folder
Now that you recognize your projects' most essential folders and files, let's explore the `src` folder. The `src` folder contains the source code that makes up your store website. It is where you'll store all the code related to what you see on your store frontend, such as texts and images. In other words, it's **where we'll actually develop our React components and storefront.**
To keep the source code well-organized, we adopted the [Model-view-controller architecture](https://developer.mozilla.org/en-US/docs/Glossary/MVC), splitting the code into several subfolders as presented in the following:
-- **Model** - The Model handles data fetching and manages data structure. Since this project uses Jamstack, we split where *static* and *dynamic* data are fetched.
-
- - [`pages`](#pages) - Used to automatically generate URL routes corresponding to the files created within this folder. It is also where you'll fetch **static data.**
+- **Model** - The Model handles data fetching and manages data structure. Since this project uses Jamstack, we split where _static_ and _dynamic_ data are fetched.
+
+ - [`pages`](#pages) - Used to automatically generate URL routes corresponding to the files created within this folder. It is also where you'll fetch **static data.**
- [`views`](#views) - Used to create the frontend content of a specific page by bringing together static data from `pages`, reusable components from `components`, and new **dynamic attributes.**
-
+
- **View** - The View creates your website's Look and Feel, determining how the user will see and interact with it.
-
+
- [`components`](#components) - Used to store **reusable React components.**
- **Controller** - The Controller is responsible for updating the Model and View layers in response to user requests.
-
- - [`sdk`](#sdk) - Used to store **hooks and logical pieces of code.**
+
+ - [`sdk`](#sdk) - Used to store **hooks and logical pieces of code.**
:::note
-Remember that, because Gatsby is a React‑based framework, our main task will be to use, style, and create components that compose our storefront. Hence, **everything inside the `src` folder, including pages, will be mostly React components.** You will then find many `.tsx` files within this folder, which is the file format used by React to produce React components. `.tsx` stands for TypeScript XML, indicating the mix of TypeScript syntax with HTML. In other words, **`.tsx` is a TypeScript syntax extension that allows us to write HTML‑like syntax within React components.**
+Remember that, because Gatsby is a React‑based framework, our main task will be to use, style, and create components that compose our storefront. Hence, **everything inside the `src` folder, including pages, will be mostly React components.** You will then find many `.tsx` files within this folder, which is the file format used by React to produce React components. `.tsx` stands for TypeScript XML, indicating the mix of TypeScript syntax with HTML. In other words, **`.tsx` is a TypeScript syntax extension that allows us to write HTML‑like syntax within React components.**
:::
### `pages`
@@ -164,11 +162,11 @@ This is also where you'll fetch static data, such as your store metadata.
Within this folder, you'll already find some pre-defined subfolders and files, such as:
-- `index.tsx` - Responsible for making your store's homepage available.
+- `index.tsx` - Responsible for making your store's homepage available.
- `{StoreCollection.slug}/[...].tsx` - Responsible for making Collection pages available at https://mystore.vtex.app/{collectionName}.
- `s/[...].tsx` - Responsible for making Search Result pages available at https://mystore.vtex.app/s/{searchString}?map=term.
-- `{StoreProduct.slug}/p.tsx` - Responsible for making **static** Product pages available at https://mystore.vtex.app/{productSlug}/p.
-- `[slug]/p.tsx` - Responsible for making **client-only** routes available at https://mystore.vtex.app/{productSlug}/p for **dynamic** Product pages, i.e., pages whose content isn't available at build time and is fetched on the client side.
+- `{StoreProduct.slug}/p.tsx` - Responsible for making **static** Product pages available at https://mystore.vtex.app/{productSlug}/p.
+- `[slug]/p.tsx` - Responsible for making **client-only** routes available at https://mystore.vtex.app/{productSlug}/p for **dynamic** Product pages, i.e., pages whose content isn't available at build time and is fetched on the client side.
:::note
Learn more about client-only routes [here.](https://www.gatsbyjs.com/docs/reference/routing/file-system-route-api/#creating-client-only-routes)
@@ -176,11 +174,11 @@ Learn more about client-only routes [here.](https://www.gatsbyjs.com/docs/refere
### `components`
-As the name suggests, the components folder is where you'll store all your **reusable React components**, such as the *Product* component illustrated in the following image. The components declared within this folder are supposed to be added to a page component and, together, make up the different parts of the UI.
+As the name suggests, the components folder is where you'll store all your **reusable React components**, such as the _Product_ component illustrated in the following image. The components declared within this folder are supposed to be added to a page component and, together, make up the different parts of the UI.
![](https://vtexhelp.vtexassets.com/assets/docs/src/components-folder___681b5e8f626f5447bd2c4f43e1a821a7.jpg)
-Notice that these components are **non-routable**, i.e., they are not web pages by themselves. For example, it's not possible to navigate to the *Product* component.
+Notice that these components are **non-routable**, i.e., they are not web pages by themselves. For example, it's not possible to navigate to the _Product_ component.
Also, since you may have numerous reusable components in your project, we recommend as a good practice that you organize this folder using domain-specific subfolders. For example, in the [Base store](/starters/base), you will find:
@@ -193,11 +191,11 @@ Also, since you may have numerous reusable components in your project, we recomm
### `views`
-The `views` folder provides a functional storefront page by bringing together static data from `pages`, reusable components from `components`, and dynamic data. Ideally, you should use components within the `components/sections` folder for easier integration with CMS.
+The `views` folder provides a functional storefront page by bringing together static data from `pages`, reusable components from `components`, and dynamic data. Ideally, you should use components within the `components/sections` folder for easier integration with CMS.
![](https://vtexhelp.vtexassets.com/assets/docs/src/views-folder___ab065f3432d2a29e7d4b6219c744496e.png)
-Within the `views` folder, you'll find the [`Layout.tsx` file](#layouttsx) and [page-specific subfolders](#page-specific-subfolders), such as `collection`, `home`, `product`, and `search`.
+Within the `views` folder, you'll find the [`Layout.tsx` file](#layouttsx) and [page-specific subfolders](#page-specific-subfolders), such as `collection`, `home`, `product`, and `search`.
#### Page-specific subfolders
@@ -219,11 +217,11 @@ Within the `views` folder, you'll also find the `Layout.tsx` file. This file con
The `sdk` folder contains hooks responsible for controlling your application's logic and handling incoming URL requests to your store (e.g., adding or removing items from the cart).
-For example, when someone sends a request to your web application using the *Add to cart* button, the `useBuyButton.ts` SDK will handle this request and update the appropriate states of your store.
+For example, when someone sends a request to your web application using the _Add to cart_ button, the `useBuyButton.ts` SDK will handle this request and update the appropriate states of your store.
![](https://vtexhelp.vtexassets.com/assets/docs/src/sdk-folder___0720414f88b6f43e13d223a9711fd21c.gif)
-Under the hood, the `sdk` folder works as a Controller between the Model and the View layers. After an SDK receives and treats a given input from the client, it sends commands to the View and Model layers. Commands sent to the View layer are responsible for updating user interface components, such as the number of items shown in the cart. Meanwhile, commands sent to the Model layer are used to update data and states of your store.
+Under the hood, the `sdk` folder works as a Controller between the Model and the View layers. After an SDK receives and treats a given input from the client, it sends commands to the View and Model layers. Commands sent to the View layer are responsible for updating user interface components, such as the number of items shown in the cart. Meanwhile, commands sent to the Model layer are used to update data and states of your store.
In summary, the `sdk` folder is responsible for controlling the application logic. Hence, if you ever need to write a custom business logic, this is the place where you should place your code.
@@ -240,4 +238,3 @@ Then, you could develop Campaign-specific React components, such as carousels an
Then you would need to create a `blackfriday/index.tsx` file within `views` to develop your page's look and feel. In this file, we would import and bring together our recently created `components/sections` components, providing them with static data from `src/pages/blackfriday.tsx` and enriching them with dynamic attributes. Optionally, you could also develop new rules to handle SEO and include them in the `blackfriday/index.tsx` file.
Finally, you would need to import the `src/views/blackfriday/index.tsx` file into the `src/pages/blackfriday.tsx` file to render the page.
-
diff --git a/apps/docs/docs/tutorials/gatsby/05 - Using components.md b/apps/docs/docs/tutorials/gatsby/05 - Using components.md
index 5e958e4a3d..35853a34a1 100644
--- a/apps/docs/docs/tutorials/gatsby/05 - Using components.md
+++ b/apps/docs/docs/tutorials/gatsby/05 - Using components.md
@@ -1,11 +1,11 @@
---
id: 5
-title: "Part 4: Using FastStore UI components"
-sidebar_label: "4. Using FastStore UI components"
+title: 'Part 4: Using FastStore UI components'
+sidebar_label: '4. Using FastStore UI components'
pagination_label: Part 4
---
-*Get to know FastStore UI - a lightweight, performant, and ecommerce-ready component library.*
+_Get to know FastStore UI - a lightweight, performant, and ecommerce-ready component library._
---
@@ -20,7 +20,7 @@ Let's now discover and use some of the components of **FastStore UI**.
## Before you start
In this tutorial, you'll use [**FastStore UI**](/reference/ui/faststore-ui). FastStore UI is already installed in your project and you can start using it straight away.
-
+
:::info
Both Gatsby and FastStore are not strict to any React framework. If you prefer, you can uninstall `@faststore/ui` and pick any React library of your preference. Unfortunately, many component libraries out there are not built with performance as a priority. Components are bloated and framework-dependent, leading to larger bundle sizes and loading times. That's why we highly recommend using **FastStore UI**.
:::
@@ -36,8 +36,8 @@ FastStore UI library follows the Atomic Design pattern. Atomic Design breaks use
- **Atoms** are the smallest possible components, such as buttons, labels, icons, and badges. Atoms can't be broken down into smaller pieces without becoming completely useless.
- **Molecules** are simple groups of two or more atoms functioning together as a unit. As an example, take a Search component comprising a text input and a button with an icon.
- **Organisms** are relatively complex components that form distinct sections of an interface. Organisms can be composed of multiple molecules, atoms, and/or other organisms. For example, a Header component comprises a Search molecule, Logo atom and a list of links.
-- **Templates** provide context and create relationships between these relatively abstract molecules and organisms through positions, placements and patterns of the pages. Templates don't render any component and are the skeletal structure of what a page would look like.
-- **Pages** are specific instances of templates. They render what an interface looks like with real representative content in place.
+- **Templates** provide context and create relationships between these relatively abstract molecules and organisms through positions, placements and patterns of the pages. Templates don't render any component and are the skeletal structure of what a page would look like.
+- **Pages** are specific instances of templates. They render what an interface looks like with real representative content in place.
The Atomic Design classifies components according to their level of abstraction and reusability. For example, a page is not reusable and does not appear more than once in an app. On the other hand, simpler components, such as atoms, molecules, and organisms may appear multiple times in the same app.
@@ -47,9 +47,10 @@ Check the documentation of all components availalble in the FastStore UI [here](
## Adding components to the Homepage
-Now that we are familiar with the structure of FastStore UI components, let's get back to our FastStore project and add a Carousel to the Homepage of our store website.
+Now that we are familiar with the structure of FastStore UI components, let's get back to our FastStore project and add a Carousel to the Homepage of our store website.
> If you haven’t already, start a development server:
+>
> 1. Open the command line application.
> 2. Change to your project directory.
> 3. Run `yarn develop` to start a development server.
@@ -59,17 +60,17 @@ Now that we are familiar with the structure of FastStore UI components, let's ge
2. Open your Homepage file `src/views/home/index.tsx`.
3. Import the [`Button`](/reference/ui/atoms/Button) and [`Carousel`](/reference/ui/molecules/Carousel) components from `@faststore/ui` to your Homepage.
- ```tsx {4} title="/src/views/home/index.tsx"
- import React from 'react'
- import type { Props as PageProps } from 'src/pages/index'
- import Seo from './Seo'
- import { Button, Carousel } from '@faststore/ui'
- ```
+```tsx {4} title="/src/views/home/index.tsx"
+import React from 'react'
+import type { Props as PageProps } from 'src/pages/index'
+import Seo from './Seo'
+import { Button, Carousel } from '@faststore/ui'
+```
-4. Create a new `div` to present your carousel and some navigation buttons on your Homepage as in the following example:
+4. Create a new `div` to present your carousel and some navigation buttons on your Homepage as in the following example:
- ```tsx {10-34} title="/src/views/home/index.tsx"
- function View(props: Props) {
+```tsx {10-34} title="/src/views/home/index.tsx"
+function View(props: Props) {
const title = props.data.site?.siteMetadata?.title ?? ''
return (
@@ -104,13 +105,13 @@ Now that we are familiar with the structure of FastStore UI components, let's ge
>
- )
- }
- ```
+ )
+}
+```
- By the end of this step, your page should look like the following image.
+By the end of this step, your page should look like the following image.
- ![](https://vtexhelp.vtexassets.com/assets/docs/src/import-carousel___c8d6badb71d9c9413f5b2e2099aa8720.png)
+![](https://vtexhelp.vtexassets.com/assets/docs/src/import-carousel___c8d6badb71d9c9413f5b2e2099aa8720.png)
Now, you're probably wondering how to add styles and make this carousel section more visually pleasant. Don't worry; we've got you covered in the following part of this tutorial.
diff --git a/apps/docs/docs/v0/troubleshooting.md b/apps/docs/docs/v0/troubleshooting.md
index 4feabfd027..3a3147b458 100644
--- a/apps/docs/docs/v0/troubleshooting.md
+++ b/apps/docs/docs/v0/troubleshooting.md
@@ -8,13 +8,13 @@ This article is intended for those who started their FastStore project with the
## Redirect loop on MyAccount Page
-If shoppers are experiencing an infinite loop on their MyAccount pages, first check if the version of the `@vtex/gatsby-plugin-nginx` plugin specified in your project's `package.json` file is equal or greater than `0.373.49`.
+If shoppers are experiencing an infinite loop on their MyAccount pages, first check if the version of the `@vtex/gatsby-plugin-nginx` plugin specified in your project's `package.json` file is equal or greater than `0.373.49`.
If so, find and replace **all mentions** to the `/account/` path in your project with `/io/account/`. Make sure to review the `gatsby-node.js` and `src/pages/account.tsx` files, as well as any other component of your storefront that redirects users to the `/account/` path.
Take the following example:
-```diff title="gatsby-node.js" {2,3}
+```diff title="gatsby-node.js" {2,3}
createRedirect({
-- fromPath: '/account/*',
++ fromPath: '/io/account/*',
@@ -24,4 +24,4 @@ Take the following example:
})
```
-After these adjustments, users will be correctly redirected to their MyAccount pages.
\ No newline at end of file
+After these adjustments, users will be correctly redirected to their MyAccount pages.
diff --git a/apps/docs/docusaurus.config.js b/apps/docs/docusaurus.config.js
index ce6bdc9bcb..e5fa27c631 100644
--- a/apps/docs/docusaurus.config.js
+++ b/apps/docs/docusaurus.config.js
@@ -10,40 +10,35 @@ module.exports = {
organizationName: 'vtex', // Usually your GitHub org/user name.
projectName: 'faststore', // Usually your repo name.
themes: ['@docusaurus/theme-live-codeblock'],
- stylesheets: [
- "https://use.fontawesome.com/releases/v5.15.4/css/all.css"
- ],
+ stylesheets: ['https://use.fontawesome.com/releases/v5.15.4/css/all.css'],
customFields: {
- events: require("./static/data/releases"),
- updatesData: require("./static/data/doc-update"),
- starters: require("./static/data/starters"),
+ events: require('./static/data/releases'),
+ updatesData: require('./static/data/doc-update'),
+ starters: require('./static/data/starters'),
},
- scripts:[
- "/scripts/openReplay.js"
- ],
+ scripts: ['/scripts/openReplay.js'],
themeConfig: {
- image: "img/faststore_thumbnail.png",
+ image: 'img/faststore_thumbnail.png',
zoom: {
selector: '.markdown :not(a) > img',
config: {
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
background: {
light: 'rgb(255, 255, 255)',
- dark: 'rgb(50, 50, 50)'
- }
- }
+ dark: 'rgb(50, 50, 50)',
+ },
+ },
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,
- respectPrefersColorScheme: false
+ respectPrefersColorScheme: false,
},
announcementBar: {
id: 'csat',
- content:
- `📢 We’d love to hear about your experience with our Documentation Portal.`,
- textColor: "var(--ifm-color-details)",
- backgroundColor: "var(--ifm-tag-highlight)",
+ content: `📢 We’d love to hear about your experience with our Documentation Portal.`,
+ textColor: 'var(--ifm-color-details)',
+ backgroundColor: 'var(--ifm-tag-highlight)',
isCloseable: false,
},
navbar: {
@@ -65,11 +60,11 @@ module.exports = {
label: 'Tutorials',
},
{
- href: "/faq",
- label: "FAQ",
- position: "right",
- target: "_self",
- className: "FAQbar"
+ href: '/faq',
+ label: 'FAQ',
+ position: 'right',
+ target: '_self',
+ className: 'FAQbar',
},
{
label: 'Release Notes',
@@ -82,14 +77,14 @@ module.exports = {
position: 'right',
items: [
{
- href: "/starters",
- label: "Starters",
- target: "_self",
+ href: '/starters',
+ label: 'Starters',
+ target: '_self',
},
{
href: 'https://community.vtex.com/',
label: 'Community',
- }
+ },
],
},
{
@@ -134,7 +129,7 @@ module.exports = {
{
label: 'Tutorials',
to: '/tutorials',
- }
+ },
],
},
{
@@ -167,7 +162,7 @@ module.exports = {
},
prism: {
theme: require('prism-react-renderer/themes/nightOwlLight'),
- darkTheme: require('prism-react-renderer/themes/dracula')
+ darkTheme: require('prism-react-renderer/themes/dracula'),
},
},
@@ -185,20 +180,19 @@ module.exports = {
},
docs: {
remarkPlugins: [
- [require('@docusaurus/remark-plugin-npm2yarn'), {sync: true}],
+ [require('@docusaurus/remark-plugin-npm2yarn'), { sync: true }],
],
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
// Please change this to your repo.
- editUrl:
- 'https://github.com/vtex/faststore/edit/main/apps/docs',
+ editUrl: 'https://github.com/vtex/faststore/edit/main/apps/docs',
},
blog: {
routeBasePath: 'releases',
showReadingTime: true,
blogSidebarTitle: 'All releases',
blogSidebarCount: 'ALL',
- blogTitle: 'Release Notes'
+ blogTitle: 'Release Notes',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
@@ -224,7 +218,11 @@ module.exports = {
'docusaurus-plugin-react-docgen-typescript',
{
// pass in a single string or an array of strings
- src: ['../../packages/ui/src/**/*.tsx', '!../../packages/ui/src/**/*.test.*', '!../../packages/ui/src/**/*.stories.*'],
+ src: [
+ '../../packages/ui/src/**/*.tsx',
+ '!../../packages/ui/src/**/*.test.*',
+ '!../../packages/ui/src/**/*.stories.*',
+ ],
parserOptions: {
// pass parserOptions to react-docgen-typescript
// here is a good starting point which filters all .tsx files
@@ -233,11 +231,10 @@ module.exports = {
return prop.declarations[0].fileName.endsWith('.tsx')
}
- return false;
+ return false
},
},
},
- ]
+ ],
],
-};
-
+}
diff --git a/apps/docs/plugins/docusaurus-tailwindcss-loader/index.js b/apps/docs/plugins/docusaurus-tailwindcss-loader/index.js
index 49da1e63cf..71a3c7f7ed 100644
--- a/apps/docs/plugins/docusaurus-tailwindcss-loader/index.js
+++ b/apps/docs/plugins/docusaurus-tailwindcss-loader/index.js
@@ -10,9 +10,9 @@ module.exports = function (context, options) {
flexbox: 'no-2009',
},
stage: 4,
- }),
+ })
)
return postcssOptions
},
}
-}
\ No newline at end of file
+}
diff --git a/apps/docs/sidebars.js b/apps/docs/sidebars.js
index 7eed5b34d6..ac40b98a66 100644
--- a/apps/docs/sidebars.js
+++ b/apps/docs/sidebars.js
@@ -9,7 +9,7 @@
Create as many sidebars as you want.
*/
- module.exports = {
+module.exports = {
docsSidebar: [
{
type: 'category',
@@ -28,7 +28,8 @@
type: 'generated-index',
title: 'How-to Guides',
slug: 'how-to-guides',
- description: 'Solve real-world issues by following our goal-oriented step-by-step guides.'
+ description:
+ 'Solve real-world issues by following our goal-oriented step-by-step guides.',
},
items: [
{
@@ -125,7 +126,10 @@
type: 'category',
label: 'Security',
collapsed: true,
- link: { type: 'doc', id: 'how-to-guides/webops/security' },
+ link: {
+ type: 'doc',
+ id: 'how-to-guides/webops/security',
+ },
items: [
{
type: 'autogenerated',
@@ -277,8 +281,8 @@
collapsed: true,
link: { type: 'doc', id: 'reference/api/faststore-api' },
items: [
- 'reference/api/get-started',
- {
+ 'reference/api/get-started',
+ {
type: 'category',
label: 'Queries',
collapsed: true,
@@ -301,11 +305,11 @@
dirName: 'reference/api/mutations',
},
],
- },
- 'reference/api/objects',
- 'reference/api/inputs',
- 'reference/api/enums',
- 'reference/api/scalars',
+ },
+ 'reference/api/objects',
+ 'reference/api/inputs',
+ 'reference/api/enums',
+ 'reference/api/scalars',
],
},
],
@@ -385,5 +389,5 @@
},
],
},
- ]
+ ],
}
diff --git a/apps/docs/src/components/CardGrid/CardGrid.jsx b/apps/docs/src/components/CardGrid/CardGrid.jsx
index 545476b56c..dc6d46c9b2 100644
--- a/apps/docs/src/components/CardGrid/CardGrid.jsx
+++ b/apps/docs/src/components/CardGrid/CardGrid.jsx
@@ -1,9 +1,9 @@
-import React from "react";
+import React from 'react'
-import styles from "./CardGrid.module.css";
+import styles from './CardGrid.module.css'
const CardGrid = ({ children, home = false }) => (
{children}
-);
+)
-export default CardGrid;
\ No newline at end of file
+export default CardGrid
diff --git a/apps/docs/src/components/CodeBlockWrapper/CodeBlockWrapper.tsx b/apps/docs/src/components/CodeBlockWrapper/CodeBlockWrapper.tsx
index 6f4ae934b9..1219ef2224 100644
--- a/apps/docs/src/components/CodeBlockWrapper/CodeBlockWrapper.tsx
+++ b/apps/docs/src/components/CodeBlockWrapper/CodeBlockWrapper.tsx
@@ -1,7 +1,6 @@
import React from 'react'
import type { MouseEventHandler } from 'react'
-
interface CodeBlockWrapperState {
isCodeBlockCollapsed: boolean
isCollapsibleModeOn: boolean
@@ -19,7 +18,7 @@ const CodeBlockWrapper = (props: CodeBlockWrapperProps) => {
return (