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

refactor(SingleAddSelect): implement typescript types #5144

Merged
merged 10 commits into from
May 22, 2024

Conversation

makafsal
Copy link
Contributor

@makafsal makafsal commented May 10, 2024

Contributes to #5117 #5123 #5122

What did you change?

Moved these .js files to .tsx.

  1. packages/ibm-products/src/components/SingleAddSelect/SingleAddSelect.tsx
  2. packages/ibm-products/src/components/AddSelect/AddSelect.tsx
  3. packages/ibm-products/src/components/AddSelect/AddSelectSort.tsx
  4. packages/ibm-products/src/components/AddSelect/AddSelectBody.tsx
  5. packages/ibm-products/src/components/Tearsheet/Tearsheet.tsx
  6. packages/ibm-products/src/components/MultiAddSelect/MultiAddSelect.tsx

Because all these components are connected, hence I migrated them together to avoid conflicts in future.

How did you test and verify your work?

Storybook

@makafsal makafsal requested a review from a team as a code owner May 10, 2024 07:18
@makafsal makafsal requested review from davidmenendez and emyarod and removed request for a team May 10, 2024 07:18
Copy link

netlify bot commented May 10, 2024

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit 3f78187
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/664aef251e832500084a00db
😎 Deploy Preview https://deploy-preview-5144--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@makafsal makafsal closed this May 10, 2024
@makafsal makafsal reopened this May 10, 2024
Copy link
Contributor

@davidmenendez davidmenendez left a comment

Choose a reason for hiding this comment

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

looks great. one last thing- similarly to the dataspreadsheet refactor, can you move the types into their own file? d4c4395#diff-e0e53665040074874d795a3d1adad8fbb56210c909296066a7e87fcfb25e10b9

@makafsal
Copy link
Contributor Author

@davidmenendez sure, refactored.

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

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

looks good to me!

@elycheea elycheea added this pull request to the merge queue May 22, 2024
Merged via the queue into carbon-design-system:main with commit a20e768 May 22, 2024
17 checks passed
paul-balchin-ibm pushed a commit to paul-balchin-ibm/ibm-products that referenced this pull request May 23, 2024
…system#5144)

* refactor(SingleAddSelect): implement typescript types

* refactor: types for addSelect, addSelectSort, addSelectBody, Tearsheet

* refactor(MultiAddSelect): implement types

* refactor: correct any types

* chore(AddSelectBody): remove unwanted comment

* refactor: move common types
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.

None yet

4 participants