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

chore(components): export accordion, popover and popovercontainer #2424

Conversation

alizedebray
Copy link
Contributor

No description provided.

Copy link

changeset-bot bot commented Dec 20, 2023

⚠️ No Changeset found

Latest commit: c5b0a05

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

sonarcloud bot commented Dec 20, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@swisspost-bot
Copy link
Contributor

swisspost-bot commented Dec 20, 2023

Preview environment ready: https://preview-2424--swisspost-design-system-next.netlify.app

export { PostAlert } from './components/post-alert/post-alert';
export { PostCollapsible } from './components/post-collapsible/post-collapsible';
export { PostIcon } from './components/post-icon/post-icon';
export { PostPopover } from './components/post-popover/post-popover';
export { PostPopovercontainer } from './components/post-popovercontainer/post-popovercontainer';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@oliverschuerch This is actually an undocumented (internal) component, should it still be exported here?

Copy link
Contributor

Choose a reason for hiding this comment

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

In general, I would say "no".
But as long as stencil is generating the types for this component and putting them in the components.d.ts file, we need to export all the components. Otherwise we will not be able to release a bug-free components-angular package.

I have created a ticket to address this problem: #2426.

export { PostAlert } from './components/post-alert/post-alert';
export { PostCollapsible } from './components/post-collapsible/post-collapsible';
export { PostIcon } from './components/post-icon/post-icon';
export { PostPopover } from './components/post-popover/post-popover';
export { PostPopovercontainer } from './components/post-popovercontainer/post-popovercontainer';
Copy link
Contributor

Choose a reason for hiding this comment

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

In general, I would say "no".
But as long as stencil is generating the types for this component and putting them in the components.d.ts file, we need to export all the components. Otherwise we will not be able to release a bug-free components-angular package.

I have created a ticket to address this problem: #2426.

@alizedebray alizedebray merged commit 3509aaf into main Jan 4, 2024
8 checks passed
@alizedebray alizedebray deleted the 2408-add-popover-and-popovercontainer-to-exported-members-in-the-components-package branch January 4, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add popover and popovercontainer to exported members in the components package
3 participants