Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"ignore": ["@paypal/react-paypal-js-storybook-v6"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here storybook is something we don't want to include in npm, so I think it's fine to skip checking with changeset

}
5 changes: 5 additions & 0 deletions .github/workflows/build-and-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- "packages/paypal-js/types/v6/**/*.d.ts"
- "packages/react-paypal-js/.storybook/**"
- "packages/react-paypal-js/src/**/*.stories.*"
- "packages/react-paypal-js-storybook/v6/.storybook/**"
- "packages/react-paypal-js-storybook/v6/src/**"
- ".github/workflows/build-and-deploy-docs.yml"
- "docs/index.html"
- "docs/readmes/**"
Expand Down Expand Up @@ -49,6 +51,9 @@ jobs:
- name: Build v5 react storybook
run: npm run build-storybook:v5

- name: Build v6 react storybook
run: npm run build-storybook:v6

- name: Setup Pages
uses: actions/configure-pages@v5

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
20.19
10 changes: 10 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,16 @@ <h3>JS SDK v5 React Storybook</h3>
</a>
</div>

<div class="docs-grid">
<a href="./web-sdk-v6-react-storybook/" class="doc-card">
<h3>JS SDK v6 React Storybook</h3>
<p>
Explore interactive React components for PayPal JS SDK
v6.
</p>
</a>
</div>

<div class="footer">
<p>© 2025 PayPal, Inc. All rights reserved.</p>
</div>
Expand Down
16 changes: 15 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/react-paypal-js-storybook/v6/.storybook/manager.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { addons } from "storybook/manager-api";

addons.setConfig({
initialStoryId: "v6-buttons-paypalonetimepaymentbutton--docs",
});
2 changes: 1 addition & 1 deletion packages/react-paypal-js-storybook/v6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"directory": "packages/react-paypal-js-storybook/v6"
},
"dependencies": {
"@paypal/react-paypal-js": "*",
"@paypal/react-paypal-js": "^9.0.0-alpha.6",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
Expand Down
Loading