diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..1c02faa9e5 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,10 @@ +{ + "name": "PWA Studio", + "image": "mcr.microsoft.com/devcontainers/javascript-node:0-14", + "forwardPorts": [10000], + "postCreateCommand": "yarn install --frozen-lockfile && yarn build && yarn workspace @magento/venia-concept run watch", + "extensions": [ + "larsroettig.vscode-pwa-studio", + "GraphQL.vscode-graphql-syntax" + ] +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 788e760f4c..298acfaa72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,61 +1,48 @@ -# PWA Studio Release 13.0.0 +# PWA Studio Release 13.1.0 -**NOTE:** -_This changelog only contains release notes for PWA Studio and Venia 13.0.0_. +**NOTE:** +_This changelog only contains release notes for PWA Studio and Venia 13.1.0_ _For older release notes, see_ [PWA Studio releases][]. ## Highlights -The 13.0 release of PWA Studio provides customers with many accessibility improvements for keyboard and screen-reader access, as well as several bug fixes. Full details are described below. - -## Accessibility Updates - -- Story: [3865][] — Venia's main menu and modals now prevent the background page from scrolling. -- Story: [3952][] — Added visible text labels to all Venia buttons. -- Story: [3944][] — Added alt text to images and removed screen reader access to hidden content on the Order History page. -- Story: [3971][] — Added visual indication to show when page content has been refreshed. -- Story: [3977][] — Added expanded and collapsed states for the Accordion control. -- Story: [3932][] — Matched the accessible name of buttons to their visible text labels. -- Story: [3973][] — Enabled keyboard navigation on the Cart page. -- Story: [3980][] — Enabled keyboard navigation on the Checkout page. -- Story: [3961][] — Labeled required form fields as required. -- Story: [3978][] — Enabled keyboard navigation on Sign In and Create Account pages. -- Story: [3988][] — Added Accessible names to all icon buttons. -- Story: [3979][] — Enabled keyboard navigation on Checkout page. -- Story: [3962][] — Added visual indications of focus state on buttons. -- Story: [3931][] — Added page title to the Search page for screen readers. -- Story: [4006][] — Added additional documentation and video links to the README for magento/pwa-studio. - -## Bug fixes - -- Bug: [31][] — Fixed the issue where the `setup:upgrade` command got stuck at the `Magento_PageBuilderPwa` step when PageBuilder contained 20+ MB of assets. -- Bug: [3982][] — Replaced `id` with `uid` in `noProductsFound.js` to give a unique value for each category and resolve the browser console warning. -- Bug: [4001][] — Fixed the redirection URL for the Add to Cart button on a configurable product gallery item to match the URL used on the product tile. -- Bug: [3874][] — Fixed all hooks and talons to use named exports to prevent errors when using them for wrapping. -- Bug: [4011][] — Fixed `tabIndex` prop type on `categoryBranch`, categoryLeaf, and categoryTree. -- Bug: [4011][] — Fixed accessibility issue on home page with carousel gallery item links by adding aria-label for link names. -- Bug: [4019][] — Fixed an issue in which the `addToCart` event would crash the app when contexts were not set. -- Bug: [4025][] — Fixed `productPageView` event to capture and add more data when setting the `productPageView` context. - -## 13.0.0 Lighthouse scores - -With each new release of PWA Studio, we perform Lighthouse audits of four Venia page types, each representing a different level of complexity. Shown below are the Lighthouse scores for the 13.0.0 release of these pages on desktop and mobile devices. +- **PHP 8.2 support** — PWA Studio now supports PHP 8.2. GitHub PRs: [4][], [25][], [34][], [5][], [20][], [10][] +- **Payment method persists** — The chosen payment method now persists throughout the user's session. GitHub PR: [3969][] +- **Node 18 support** — PWA Studio now supports Node 18.0,0+. GitHub PR: [172][] + +## Additional fixes + +- Story: [36][] — Updated Zend libraries to respective laminas. +- Bug: [4028][] — Fixed support for Page Builder column-line content type +- Bug: [35][] — Fixed an issue that crashed the Categories page when applying a filter. +- Bug: [4053][] — Fixed an issue that prevented a filter from being applied to the text label. +- Bug: [4059][] — Fixed an issue where the URL was not updated properly in Page Builder. +- Bug: [4061][] — Fixed null-network requests that occurred when refreshing the Venia home page. +- Bug: [4066][] — Fixed fashion-size value to be read by screen readers. +- Bug: [4049][] —Fixed keyboard access for the Cancel button adjacent to the Create Account button. +- Bug: [4064][] — Fixed keyboard access to the Sign in button. +- Bug: [26][] — Fixed Venia sample data cloud deployment with PHP 8.2. +- Bug: [4052][] — Fixed an issue that caused the Additional Giftcard link to appear in the discounted section. + +## 13.1.0 Lighthouse scores + +With each new release of PWA Studio, we perform Lighthouse audits of four Venia page types, each representing a different level of complexity. Shown below are the Lighthouse scores for the 13.1.0 release of these pages on desktop and mobile devices. ### Desktop scores | | Home Page | Product Category | Product Details | Search Results | -| -------------: | :-----------------------------: | :---------------------------------: | :--------------------------------: | :-------------------------------: | +|---------------:|:-------------------------------:|:-----------------------------------:|:----------------------------------:|:---------------------------------:| | **Desktop** | ![](images/venia_page_home.png) | ![](images/venia_page_category.png) | ![](images/venia_page_details.png) | ![](images/venia_page_search.png) | | Performance | ![](images/score_88.svg) | ![](images/score_94.svg) | ![](images/score_63.svg) | ![](images/score_96.svg) | -| Accessibility | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) -| Best Practices | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) -| SEO | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) -| PWA | ![](images/pwa_perfect.svg) | ![](images/pwa_perfect.svg) | ![](images/pwa_perfect.svg) | ![](images/pwa_perfect.svg) | ![](images/pwa_perfect.svg) +| Accessibility | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | +| Best Practices | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | +| SEO | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | +| PWA | ![](images/pwa_perfect.svg) | ![](images/pwa_perfect.svg) | ![](images/pwa_perfect.svg) | ![](images/pwa_perfect.svg) | ### Mobile scores | |   Home Page   | Product Category | Product Details | Search Results | -| -------------: | :-------------------------------: | :---------------------------------: | :--------------------------------: | :-------------------------------: | +|---------------:|:---------------------------------:|:-----------------------------------:|:----------------------------------:|:---------------------------------:| | **Mobile** | ![](images/venia_page_home.png) | ![](images/venia_page_category.png) | ![](images/venia_page_details.png) | ![](images/venia_page_search.png) | | Performance | ![](images/score_23.svg) | ![](images/score_34.svg) | ![](images/score_27.svg) | ![](images/score_39.svg) | | Accessibility | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | @@ -63,13 +50,15 @@ With each new release of PWA Studio, we perform Lighthouse audits of four Venia | SEO | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | ![](images/score_100.svg) | | PWA | ![](images/pwa_perfect.svg) | ![](images/pwa_imperfect.svg) | ![](images/pwa_imperfect.svg) | ![](images/pwa_perfect.svg) | -## Known issue +## Known issues + +- Event data is currently not being stored properly in the database. Our initial investigation concluded that this would affect all PWA Studio customers using Beacon eventing. -When a user logs out, that user's local storage session persists. As a result, the cart ID from the logged out user is retrieved and given to the _guest user_ on the computer. This causes the following error when the guest user tries to check out: `An error has occurred. Please check the input and try again.` To resolve this issue, try disabling graphql session sharing as described in the GraphQL documentation on session cookies here: https://devdocs.magento.com/guides/v2.4/graphql/authorization-tokens.html#session-cookies. +- When a user logs out, that user's local storage session persists. As a result, the cart ID from the logged out user is retrieved and given to the _guest user_ on the computer. This causes the following error when the guest user tries to check out: `An error has occurred. Please check the input and try again.` To resolve this issue, try disabling graphql session sharing as described in the GraphQL documentation on session cookies here: https://devdocs.magento.com/guides/v2.4/graphql/authorization-tokens.html#session-cookies. ## Upgrading from a previous version -Use the steps outlined in this section to update your [scaffolded project][] from 12.7.0 to 13.0.0. +Use the steps outlined in this section to update your [scaffolded project][] from 13.0.0 to 13.1.0. See [Upgrading versions][] for more information about upgrading between PWA Studio versions. [scaffolded project]: https://developer.adobe.com/commerce/pwa-studio/tutorials/ @@ -78,57 +67,53 @@ See [Upgrading versions][] for more information about upgrading between PWA Stud ### Updated package dependencies Open your `package.json` file and update the PWA Studio package dependencies to the versions associated with this release. -The following table lists the latest versions of each package as of 13.0.0. The **bolded** versions with an asterisk (*) are the packages that were updated from PWA Studio 12.7.0. +The following table lists the latest versions of each package as of 13.1.0. The **bolded** versions with an asterisk (*) are the packages that were updated from PWA Studio 13.0.0. **Note:** Your project may not depend on some packages listed in this table. | Package | Latest version | -| -------------------------------------- | -------------- | +|----------------------------------------|----------------| | `babel-preset-peregrine` | 1.2.2 | -| `create-pwa` | **2.3.4*** | -| `experience-platform-connector` | **1.0.3*** | -| `upward-security-headers` | **1.0.12*** | +| `create-pwa` | **2.3.5*** | +| `experience-platform-connector` | **1.0.4*** | +| `upward-security-headers` | **1.0.13*** | | `venia-sample-backends` | 0.0.9 | -| `venia-sample-eventing` | **0.0.4*** | -| `venia-sample-language-packs` | **0.0.12*** | -| `venia-sample-payments-checkmo` | **0.0.10*** | -| `pagebuilder` | **8.0.0*** | -| `peregrine` | **13.0.0*** | +| `venia-sample-eventing` | **0.0.5*** | +| `venia-sample-language-packs` | **0.0.13*** | +| `venia-sample-payments-checkmo` | **0.0.11*** | +| `pagebuilder` | **8.1.0*** | +| `peregrine` | **13.0.1*** | | `pwa-buildpack` | 11.4.1 | | `pwa-theme-venia` | 1.4.0 | | `upward-js` | 5.3.2 | -| `upward-spec` | 5.3.1 | -| `venia-concept` | **13.0.0*** | -| `venia-ui` | **10.0.0*** | -| `magento2-pwa` | 0.3.0 | -| `magento2-pwa-commerce` | 0.0.2 | -| `magento-venia-sample-data-modules` | 0.0.3 | -| `magento-venia-sample-data-modules-ee` | 0.0.2 | -| `magento2-upward-connector` | 2.0.1 | -| `upward-php` | 2.0.1 | - +| `upward-spec` | 5.2.1 | +| `venia-concept` | **13.1.0*** | +| `venia-ui` | **10.1.0*** | +| `magento2-pwa` | **0.5.0*** | +| `magento2-pwa-commerce` | **0.0.3*** | +| `magento-venia-sample-data-modules` | **0.0.4*** | +| `magento-venia-sample-data-modules-ee` | **0.0.3*** | +| `magento2-upward-connector` | **2.0.2*** | +| `upward-php` | **2.0.2*** | + +[4]: https://github.com/magento-commerce/venia-sample-data-modules-ee/pull/4 +[25]: https://github.com/magento-commerce/venia-sample-data-modules/pull/25 +[34]: https://github.com/magento-commerce/magento2-pwa/pull/34 +[5]: https://github.com/magento-commerce/magento2-pwa-commerce/pull/5 +[20]: https://github.com/magento-commerce/magento2-upward-connector/pull/20 +[10]: https://github.com/magento-commerce/upward-php/pull/10 +[3969]: https://github.com/magento/pwa-studio/pull/3969 +[4028]: https://github.com/magento/pwa-studio/pull/4028 +[35]: https://github.com/magento-commerce/magento2-pwa/pull/35 +[4053]: https://github.com/magento/pwa-studio/pull/4053 +[172]: https://github.com/AdobeDocs/commerce-pwa-studio/pull/172 +[4059]: https://github.com/magento/pwa-studio/pull/4059 +[4061]: https://github.com/magento/pwa-studio/pull/4061 +[4066]: https://github.com/magento/pwa-studio/pull/4066 +[4049]: https://github.com/magento/pwa-studio/pull/4049 +[4064]: https://github.com/magento/pwa-studio/pull/4064 +[26]: https://github.com/magento-commerce/venia-sample-data-modules/pull/26 +[4052]: https://github.com/magento/pwa-studio/pull/4052 +[36]: https://github.com/magento-commerce/magento2-pwa/pull/36 [PWA Studio releases]: https://github.com/magento/pwa-studio/releases -[31]: https://github.com/magento-commerce/magento2-pwa/pull/31 -[3865]: https://github.com/magento/pwa-studio/pull/3865 -[3952]: https://github.com/magento/pwa-studio/pull/3952 -[4006]: https://github.com/magento/pwa-studio/pull/4006 -[3944]: https://github.com/magento/pwa-studio/pull/3944 -[3971]: https://github.com/magento/pwa-studio/pull/3971 -[3977]: https://github.com/magento/pwa-studio/pull/3977 -[3932]: https://github.com/magento/pwa-studio/pull/3932 -[3973]: https://github.com/magento/pwa-studio/pull/3973 -[3980]: https://github.com/magento/pwa-studio/pull/3980 -[3961]: https://github.com/magento/pwa-studio/pull/3961 -[3978]: https://github.com/magento/pwa-studio/pull/3978 -[3988]: https://github.com/magento/pwa-studio/pull/3988 -[3979]: https://github.com/magento/pwa-studio/pull/3979 -[3962]: https://github.com/magento/pwa-studio/pull/3962 -[3931]: https://github.com/magento/pwa-studio/pull/3931 -[3982]: https://github.com/magento/pwa-studio/pull/3982 -[4001]: https://github.com/magento/pwa-studio/pull/4001 -[3874]: https://github.com/magento/pwa-studio/pull/3874 -[4011]: https://github.com/magento/pwa-studio/pull/4011 -[4011]: https://github.com/magento/pwa-studio/pull/4011 -[4019]: https://github.com/magento/pwa-studio/pull/4019 -[4025]: https://github.com/magento/pwa-studio/pull/4025 diff --git a/CREATE_RELEASE_NOTES.md b/CREATE_RELEASE_NOTES.md new file mode 100644 index 0000000000..c1708055e2 --- /dev/null +++ b/CREATE_RELEASE_NOTES.md @@ -0,0 +1,195 @@ +# Create release notes for PWA Studio + +Here are the steps you need to follow to create PWA Studio release notes. : + +**PART 1: Code repo tasks** (`magento/pwa-studio`): + +1. Clone the `magento/pwa-studio` repo. +2. Create a `release-notes` branch. +3. Login to the Adobe network using VPN as necessary. +4. Run the JitNotes CLI. +5. Update the `magento-compatibility.js` file. +6. Create a PR. +7. Generate and copy the source-code docs. + +**PART 2: Docs repo tasks** (`AdobeDocs/commerce-pwa-studio`): + +1. Clone the `AdobeDocs/commerce-pwa-studio` repo. +2. Create a `release` branch from `main`. +3. Replace auto-generated docs. +4. Verify changes. +5. Create a PR. +6. Fix markdown linting errors. +7. Merge PR to `main`. + +**PART 3: Deploy docs to production** + +1. From the GitHub AdobeDocs/commerce-pwa-studio repo, access the **Deployment** workflow from the **Actions** tab. + +2. Run the workflow with a production configuration. + +## PART 1: Code repo tasks (`magento/pwa-studio`) + +1. Clone the `magento/pwa-studio` repo: + + ```bash + git clone git@github.com:magento/pwa-studio.git + ``` + +2. CD into the project and run `yarn` to install the dependencies: + + ```bash + cd pwa-studio + yarn + ``` + +3. Add a new `release-notes` branch based off the `release/xx.x` branch. Example: `release-notes/13.1`. + +4. Login to the Adobe network or access it using the GlobalProtect VPN. + + **NOTE**: You must be logged in to the Adobe network to run the JitNotes CLI. + +5. Run the [JitNotes CLI](https://github.com/AdobeDocs/jitnotes) from the `pwa-studio` root: + + ```bash + npx jitnotes + ``` + + This command generates a new `CHANGELOG.md` in the project's root to replace the existing one. + +6. Add relevant content to the following sections of the `CHANGELOG.md`: + + - **Documentation changes** + - **Known issues** + - **Updated package dependencies** table. + + **NOTE**: You may also need to add release note entries to the Jira ticket's **Release note** field if they are shown as missing in the CHANGELOG. + +7. From your `magento/pwa-studio` project root, update the `magento-compatibility.js` file. + + This file is used by the docs script to create the `markdown-compatibility.md` table for the PWA Studio documentation. + + ````diff + module.exports = { + + '13.1.0': '2.4.6', + '13.0.0': '2.4.5', + '12.7.0': '2.4.5', + ```` + +8. Commit and push your changes, then create a PR for approval. Example PR: https://github.com/magento/pwa-studio/pull/4080. + +9. CD into the `pwa-studio/pwa-devdocs` directory and run the following command: + + ```bash + yarn build:docs + ``` + + This command generates the following markdown files: + + - `magento-compatibility.md` + - JSDoc source-code markdown from the following directories: + + ```tree + root + └── packages + ├── buildpack + ├── pagebuilder + ├── peregrine + ├── pwa-buildpack + └── venia-ui + ``` + +10. Open the `auto-generated` directory to verify the generated files: + + ```tree + pwa-devdocs + └── src + └── _includes + └── auto-generated + ├── pagebuilder + ├── peregrine + ├── pwa-buildpack + ├── venia-ui + └── magento-compatibility.md + ``` + +11. Copy the `auto-generated` directory, with all its subdirectories and files. + +## PART 2: Docs repo tasks (`AdobeDocs/commerce-pwa-studio`) + +1. Clone the `AdobeDocs/commerce-pwa-studio` repo: + + ``` + git clone git@github.com:AdobeDocs/commerce-pwa-studio.git + ``` + +2. CD into the project and run `yarn` to install the dependencies: + + ```bash + cd commerce-pwa-studio + yarn + ``` + +3. Add a new `release` branch based off the `main` branch. Example: `release-13.1.0`. + +4. Replace the existing `src/data/auto-generated` directory with the `auto-generated` directory you copied from the `magento/pwa-studio` output. + + This replacement should result in one or more changes to existing files. Example: + + ```diff + 7_Docs-Repos/commerce-pwa-studio [release-13.1.0●] » git status + On branch release-13.1.0 + Changes to be committed: + (use "git restore --staged ..." to unstage) + + modified: src/data/auto-generated/magento-compatibility.md + + modified: src/data/auto-generated/peregrine/lib/talons/CartPage/PriceSummary/usePriceSummary.md + ``` + +5. Run `yarn dev` to build the docs locally and verify the changed files: + + - http://localhost:8000/integrations/adobe-commerce/version-compatibility/. + - http://localhost:8000/api/peregrine/talons/CartPage/PriceSummary/ + +6. Commit and push your release branch to the repo. + +7. Create a PR to merge the source-code changes into `main`: + + ```markdown + ## Purpose of this pull request + + This pull request (PR) updates the docs based on the source-code JSDoc changes made for PWA Studio 13.1.0. + + ## Affected pages + + - src/data/auto-generated/magento-compatibility.md + - src/data/auto-generated/peregrine/lib/talons/CartPage/PriceSummary/usePriceSummary.md + ``` + +8. Fix all markdown linting errors. + + **NOTE:** You WILL have markdown linting errors that you will need to correct. These errors are created by the auto-generated markdown from the `magento/pwa-studio` code base. If you want to fix this at the source, you can adjust the `.hbs` files here: `magento/pwa-devdocs/scripts/create-reference-docs/templates/handlebars`. + + Otherwise, the linting issues you will encounter are described in the logs. Here are two examples: + + - https://github.com/AdobeDocs/commerce-pwa-studio/actions/runs/4702475698/jobs/8339784257#step:6:119 + - https://github.com/AdobeDocs/commerce-pwa-studio/actions/runs/4702475698/jobs/8339784257#step:6:126 + + ![image-20230414135520471](/Users/case/Library/Application Support/typora-user-images/image-20230414135520471.png) + +9. After all CI/CD tests (markdown linters, etc.) pass and your reviewers have approved, merge your PR into `main`. + +## PART 3: Deploy docs to Production + +After the merge tests to `main` have completed successfully, it's time to deploy the documentation changes to the public. Follow these steps. + +1. Navigate to the Deployment UI on GitHub: https://github.com/AdobeDocs/commerce-pwa-studio/actions/workflows/deploy.yml + +2. Click the **Run Workflow** button and configure the dialog as follows: + + - Use workflow from: `Branch: main`. + - Deploy to: `prod`. + - Clean cache: `yes`. + + ![image-20230414141355699](/Users/case/Library/Application Support/typora-user-images/image-20230414141355699.png) + +3. After Deployment is successful, check the live site to make sure the changes are displayed. It may take up to 10 minutes for Fastly to update the site after deployment. diff --git a/magento-compatibility.js b/magento-compatibility.js index 5cbf005cdc..79a277f92c 100644 --- a/magento-compatibility.js +++ b/magento-compatibility.js @@ -4,6 +4,7 @@ // PWA Studio version -> Magento version. module.exports = { + '13.1.0': '2.4.6', '13.0.0': '2.4.5', '12.7.0': '2.4.5', '12.6.0': '2.4.5', diff --git a/package.json b/package.json index 7f1c07c7a9..d2b342ca6b 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@magento/pwa-studio", - "version": "13.0.0", + "version": "13.1.0", "private": true, "workspaces": [ "packages/babel-preset-peregrine", diff --git a/packages/create-pwa/package.json b/packages/create-pwa/package.json index 7df50a3241..8c237eb253 100644 --- a/packages/create-pwa/package.json +++ b/packages/create-pwa/package.json @@ -1,6 +1,6 @@ { "name": "@magento/create-pwa", - "version": "2.3.4", + "version": "2.3.5", "publishConfig": { "access": "public" }, @@ -30,7 +30,7 @@ "homepage": "https://github.com/magento/pwa-studio/tree/main/packages/create-pwa#readme", "dependencies": { "@magento/pwa-buildpack": "~11.4.1", - "@magento/venia-concept": "~13.0.0", + "@magento/venia-concept": "~13.1.0", "chalk": "^2.4.2", "change-case": "^3.1.0", "compression": "~1.7.4", diff --git a/packages/extensions/experience-platform-connector/package.json b/packages/extensions/experience-platform-connector/package.json index 9ea3a47807..1543dc3c11 100644 --- a/packages/extensions/experience-platform-connector/package.json +++ b/packages/extensions/experience-platform-connector/package.json @@ -1,6 +1,6 @@ { "name": "@magento/experience-platform-connector", - "version": "1.0.3", + "version": "1.0.4", "publishConfig": { "access": "public" }, @@ -18,7 +18,7 @@ "devDependencies": {}, "peerDependencies": { "@apollo/client": "~3.5.0", - "@magento/peregrine": "~13.0.0", + "@magento/peregrine": "~13.0.1", "@magento/pwa-buildpack": "~11.4.1", "react": "~17.0.1" }, diff --git a/packages/extensions/upward-security-headers/package.json b/packages/extensions/upward-security-headers/package.json index f3419da2fe..4f88457400 100644 --- a/packages/extensions/upward-security-headers/package.json +++ b/packages/extensions/upward-security-headers/package.json @@ -1,6 +1,6 @@ { "name": "@magento/upward-security-headers", - "version": "1.0.12", + "version": "1.0.13", "publishConfig": { "access": "public" }, @@ -14,7 +14,7 @@ "license": "(OSL-3.0 OR AFL-3.0)", "peerDependencies": { "@magento/pwa-buildpack": "~11.4.1", - "@magento/venia-ui": "~10.0.0", + "@magento/venia-ui": "~10.1.0", "webpack": "~4.46.0" }, "pwa-studio": { diff --git a/packages/extensions/venia-sample-eventing/package.json b/packages/extensions/venia-sample-eventing/package.json index b7495679fb..f18aa86a36 100644 --- a/packages/extensions/venia-sample-eventing/package.json +++ b/packages/extensions/venia-sample-eventing/package.json @@ -1,6 +1,6 @@ { "name": "@magento/venia-sample-eventing", - "version": "0.0.4", + "version": "0.0.5", "publishConfig": { "access": "public" }, @@ -12,7 +12,7 @@ "repository": "github:magento/pwa-studio", "license": "(OSL-3.0 OR AFL-3.0)", "peerDependencies": { - "@magento/peregrine": "~13.0.0", + "@magento/peregrine": "~13.0.1", "@magento/pwa-buildpack": "~11.4.1", "react": "~17.0.1" }, diff --git a/packages/extensions/venia-sample-language-packs/package.json b/packages/extensions/venia-sample-language-packs/package.json index cb9932bb97..1d708a3e33 100644 --- a/packages/extensions/venia-sample-language-packs/package.json +++ b/packages/extensions/venia-sample-language-packs/package.json @@ -1,6 +1,6 @@ { "name": "@magento/venia-sample-language-packs", - "version": "0.0.12", + "version": "0.0.13", "publishConfig": { "access": "public" }, @@ -13,7 +13,7 @@ "license": "(OSL-3.0 OR AFL-3.0)", "peerDependencies": { "@magento/pwa-buildpack": "~11.4.1", - "@magento/venia-ui": "~10.0.0" + "@magento/venia-ui": "~10.1.0" }, "pwa-studio": { "targets": { diff --git a/packages/extensions/venia-sample-payments-checkmo/package.json b/packages/extensions/venia-sample-payments-checkmo/package.json index 042babffed..5b1e500b05 100644 --- a/packages/extensions/venia-sample-payments-checkmo/package.json +++ b/packages/extensions/venia-sample-payments-checkmo/package.json @@ -1,6 +1,6 @@ { "name": "@magento/venia-sample-payments-checkmo", - "version": "0.0.10", + "version": "0.0.11", "publishConfig": { "access": "public" }, @@ -12,9 +12,9 @@ "repository": "github:magento/pwa-studio", "license": "(OSL-3.0 OR AFL-3.0)", "peerDependencies": { - "@magento/peregrine": "~13.0.0", + "@magento/peregrine": "~13.0.1", "@magento/pwa-buildpack": "~11.4.1", - "@magento/venia-ui": "~10.0.0", + "@magento/venia-ui": "~10.1.0", "react": "~17.0.1", "react-intl": "~5.20.0", "react-router-dom": "~5.2.0" diff --git a/packages/pagebuilder/package.json b/packages/pagebuilder/package.json index 1bce31db7d..4bf2a44b06 100644 --- a/packages/pagebuilder/package.json +++ b/packages/pagebuilder/package.json @@ -1,6 +1,6 @@ { "name": "@magento/pagebuilder", - "version": "8.0.0", + "version": "8.1.0", "publishConfig": { "access": "public" }, @@ -34,9 +34,9 @@ "homepage": "https://github.com/magento/pwa-studio/tree/main/packages/pagebuilder#readme", "dependencies": {}, "devDependencies": { - "@magento/peregrine": "~13.0.0", + "@magento/peregrine": "~13.0.1", "@magento/pwa-buildpack": "~11.4.1", - "@magento/venia-ui": "~10.0.0", + "@magento/venia-ui": "~10.1.0", "@storybook/react": "~6.3.7", "jarallax": "~1.11.1", "load-google-maps-api": "~2.0.1", @@ -50,9 +50,9 @@ "peerDependencies": { "@apollo/client": "~3.5.0", "@magento/babel-preset-peregrine": "~1.2.2", - "@magento/peregrine": "~13.0.0", + "@magento/peregrine": "~13.0.1", "@magento/pwa-buildpack": "~11.4.1", - "@magento/venia-ui": "~10.0.0", + "@magento/venia-ui": "~10.1.0", "jarallax": "~1.11.1", "load-google-maps-api": "~2.0.1", "lodash.escape": "~4.0.1", diff --git a/packages/peregrine/package.json b/packages/peregrine/package.json index 1be5a4001f..e28c2a23d5 100644 --- a/packages/peregrine/package.json +++ b/packages/peregrine/package.json @@ -1,6 +1,6 @@ { "name": "@magento/peregrine", - "version": "13.0.0", + "version": "13.0.1", "publishConfig": { "access": "public" }, diff --git a/packages/pwa-buildpack/envVarDefinitions.json b/packages/pwa-buildpack/envVarDefinitions.json index 0ba62ff99b..ac9bb68786 100644 --- a/packages/pwa-buildpack/envVarDefinitions.json +++ b/packages/pwa-buildpack/envVarDefinitions.json @@ -6,7 +6,7 @@ { "name": "MAGENTO_BACKEND_URL", "type": "url", - "desc": "Connect to an instance of Magento 2.3 by specifying its public domain name.", + "desc": "Connect to an instance of Magento by specifying its public domain name.", "example": "https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/" } ] diff --git a/packages/pwa-buildpack/lib/Utilities/__tests__/__snapshots__/createDotEnvFile.spec.js.snap b/packages/pwa-buildpack/lib/Utilities/__tests__/__snapshots__/createDotEnvFile.spec.js.snap index b35e835776..91c294f2ec 100644 --- a/packages/pwa-buildpack/lib/Utilities/__tests__/__snapshots__/createDotEnvFile.spec.js.snap +++ b/packages/pwa-buildpack/lib/Utilities/__tests__/__snapshots__/createDotEnvFile.spec.js.snap @@ -35,7 +35,7 @@ exports[`returns valid dotenv file if env is valid 1`] = ` #### Connecting to a Magento store ############################################# # -# Connect to an instance of Magento 2.3 by specifying its public domain name. +# Connect to an instance of Magento by specifying its public domain name. MAGENTO_BACKEND_URL=https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/ # ################################################################################ diff --git a/packages/venia-concept/package.json b/packages/venia-concept/package.json index bc2f7e69ab..1e415bdb24 100644 --- a/packages/venia-concept/package.json +++ b/packages/venia-concept/package.json @@ -1,6 +1,6 @@ { "name": "@magento/venia-concept", - "version": "13.0.0", + "version": "13.1.0", "publishConfig": { "access": "public" }, @@ -52,11 +52,11 @@ "@babel/runtime": "~7.15.3", "@magento/babel-preset-peregrine": "~1.2.2", "@magento/eslint-config": "~1.5.0", - "@magento/pagebuilder": "~8.0.0", - "@magento/peregrine": "~13.0.0", + "@magento/pagebuilder": "~8.1.0", + "@magento/peregrine": "~13.0.1", "@magento/pwa-theme-venia": "~1.4.0", - "@magento/upward-security-headers": "~1.0.12", - "@magento/venia-ui": "~10.0.0", + "@magento/upward-security-headers": "~1.0.13", + "@magento/venia-ui": "~10.1.0", "@pmmmwh/react-refresh-webpack-plugin": "0.4.1", "@storybook/react": "~6.3.7", "@types/node": "16", diff --git a/packages/venia-ui/lib/components/Header/__tests__/__snapshots__/header.spec.js.snap b/packages/venia-ui/lib/components/Header/__tests__/__snapshots__/header.spec.js.snap index c5ad95f6ba..b7e7612f98 100644 --- a/packages/venia-ui/lib/components/Header/__tests__/__snapshots__/header.spec.js.snap +++ b/packages/venia-ui/lib/components/Header/__tests__/__snapshots__/header.spec.js.snap @@ -23,10 +23,6 @@ Array [ > -
, + , ] `; diff --git a/packages/venia-ui/lib/components/Header/header.js b/packages/venia-ui/lib/components/Header/header.js index fa0bdfb83d..506f59528a 100644 --- a/packages/venia-ui/lib/components/Header/header.js +++ b/packages/venia-ui/lib/components/Header/header.js @@ -68,10 +68,7 @@ const Header = props => {
- + { {searchBar} + ); }; diff --git a/packages/venia-ui/lib/components/Header/onlineIndicator.module.css b/packages/venia-ui/lib/components/Header/onlineIndicator.module.css index 2d4765dee3..9f44fdbf4a 100644 --- a/packages/venia-ui/lib/components/Header/onlineIndicator.module.css +++ b/packages/venia-ui/lib/components/Header/onlineIndicator.module.css @@ -7,9 +7,8 @@ composes: ml-18 from global; composes: w-[3rem] from global; grid-area: primary; - composes: sm_justify-self-start from global; - composes: sm_ml-10 from global; + composes: ml-6 from global; } @media (min-width: 640px) { diff --git a/packages/venia-ui/package.json b/packages/venia-ui/package.json index 79bd865ee0..63a181c0a8 100644 --- a/packages/venia-ui/package.json +++ b/packages/venia-ui/package.json @@ -1,6 +1,6 @@ { "name": "@magento/venia-ui", - "version": "10.0.0", + "version": "10.1.0", "publishConfig": { "access": "public" }, @@ -80,7 +80,7 @@ "peerDependencies": { "@apollo/client": "~3.5.0", "@magento/babel-preset-peregrine": "~1.2.2", - "@magento/peregrine": "~13.0.0", + "@magento/peregrine": "~13.0.1", "@magento/pwa-buildpack": "~11.4.1", "apollo-cache-persist": "~0.1.1", "braintree-web-drop-in": "~1.33.3", diff --git a/pwa-devdocs/package.json b/pwa-devdocs/package.json index e95e4a2a06..b9f27b28ca 100644 --- a/pwa-devdocs/package.json +++ b/pwa-devdocs/package.json @@ -1,7 +1,7 @@ { "name": "pwa-devdocs", "private": true, - "version": "13.0.0", + "version": "13.1.0", "description": "A documentation site for Magento PWA", "main": "gulpfile.js", "dependencies": { @@ -12,6 +12,7 @@ "build:compatibility-table": "node scripts/create-compatibility-table.js", "build:css": "sass --style=compressed src/_scss/main.scss:src/builds/css/main.css", "build:env-var-definition-doc": "node scripts/create-env-variables-docs", + "build:docs": "npm-run-all -s build:reference-doc-snippets build:compatibility-table build:env-var-definition-doc", "build:html": "bundle exec jekyll build --source src -I", "build:js": "webpack --config webpack.config.js", "build:production": "npm-run-all -s clean build:js build:css build:reference-doc-snippets build:compatibility-table build:env-var-definition-doc && jekyll build --source src/ --config src/_config.yml,_config-production.yml",