-
Notifications
You must be signed in to change notification settings - Fork 322
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
feat(Modal): export new Modal component to /next #2641
feat(Modal): export new Modal component to /next #2641
Conversation
…ll Modal and not cut it
packages/core/src/next.ts
Outdated
@@ -0,0 +1 @@ | |||
export * from "./components/next"; |
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.
Why this again?
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.
it was written badly before
now I followed the same pattern that's with the regular export.
the regular export has one index
in the root, that's reexports index
from hooks/components/etc.
now you have one next
in the root, that's reexports next
from hooks/components/etc.
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.
But we're not exporting anything from /next other than components
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.
yet
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.
Feels a bit like preparation for AC but OK :)
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.
I removed the preparation for AC, you are right 🙃
@@ -25,12 +25,14 @@ const metaSettings = createStoryMetaSettingsDecorator({ | |||
}); | |||
|
|||
export default { | |||
title: "Internal/Components/Modal [New]/Basic modal", | |||
title: "Components/Modal [New]/Basic modal", |
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.
Feels a bit weird title no?
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.
why?
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.
💯
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.
Exciting! 🤩
And damn that's one big component with many files
…t-for-v3-7360832642-export-all-new-modal-components-and-types-7360977361
https://monday.monday.com/boards/3532714909/pulses/7360832642
https://monday.monday.com/boards/3532714909/pulses/7360977361
https://monday.monday.com/boards/3532714909/pulses/7989661376
https://monday.monday.com/boards/3532714909/pulses/8010109228