Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs(icons): Transpile icons #DS-987 #1758

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

curdaj
Copy link
Contributor

@curdaj curdaj commented Nov 19, 2024

Description

I've tried both App Router and Pages Router. In the App router, transpilePackages does not need to be in the configuration, in the Pages Router it is necessary.

Additionaly I fixed missing mandatory elementType in Heading component for both next examples demo pages.

@github-actions github-actions bot added the feature New feature or request label Nov 19, 2024
Copy link

netlify bot commented Nov 19, 2024

Deploy Preview for spirit-design-system-storybook canceled.

Name Link
🔨 Latest commit 55d120e
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-storybook/deploys/673f07ec24c2af0008a4245b

@curdaj curdaj changed the base branch from main to integration/BC-v3-design-tokens November 19, 2024 11:58
Copy link

netlify bot commented Nov 19, 2024

Deploy Preview for spirit-design-system ready!

Name Link
🔨 Latest commit 55d120e
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system/deploys/673f07ec2d5be600089cce09
😎 Deploy Preview https://deploy-preview-1758--spirit-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 95 (🔴 down 1 from production)
Accessibility: 91 (🔴 down 2 from production)
Best Practices: 100 (no change from production)
SEO: 91 (🟢 up 1 from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@coveralls
Copy link

coveralls commented Nov 19, 2024

Coverage Status

coverage: 96.838%. remained the same
when pulling 941adb5 on feat/ds-987-icon-transpiled
into 0ac1422 on integration/BC-v3-design-tokens.

@curdaj curdaj marked this pull request as ready for review November 19, 2024 12:58
@@ -83,4 +83,21 @@ export const Icon = ({ name, , size }) => {
};
```

### Next.js with Pages Router
Copy link
Collaborator

Choose a reason for hiding this comment

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

question (non-blocking): Is the app router okay without the setting?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As I mentioned in PR description, the App Router works correctly without the setting.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can push branch with demo if you want

Copy link
Collaborator

Choose a reason for hiding this comment

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

I mean here should be mentioned that the app router is ok. That is why I asked. So when the developer see it, it know that it will work in the app router without modification.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@curdaj curdaj merged commit e6acc7f into integration/BC-v3-design-tokens Nov 21, 2024
35 checks passed
@curdaj curdaj deleted the feat/ds-987-icon-transpiled branch November 21, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants