-
Notifications
You must be signed in to change notification settings - Fork 14
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
chore(components): export accordion, popover and popovercontainer #2424
Conversation
|
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
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'; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
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.
No description provided.