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

feat(admin-ui): AutoComplete + MultiAutoComplete components #4459

Open
wants to merge 39 commits into
base: feat/new-admin-ui
Choose a base branch
from

Conversation

leopuleo
Copy link
Contributor

@leopuleo leopuleo commented Dec 20, 2024

Changes

This PR introduces two new components and improves many others

AutoComplete + MultiAutoComplete

These two new components are based on the Command component, a wrapper around cmdk. This component can also serve as a foundation for OmniSearch component. Currently, it is kept private and not exposed outside @webiny/admin-ui.

Other improvements

  1. Removed Source Sans Pro font from the admin, the rest of RMWC SCSS variables are still in place.
  2. Removed reset.scss file.
  3. Separator: removed ref from the component.
  4. Input: added inputRef prop, improved how the icons position is handled and removed the possibility of decorating the primitive component.
  5. Select: chores
  6. Textarea: added added textareaRef prop and removed the possibility of decorating the primitive component.

How Has This Been Tested?

Manually + Jest

# Conflicts:
#	packages/admin-ui/src/Button/Button.stories.tsx
#	packages/admin-ui/src/Select/SelectPrimitive.tsx
#	packages/admin-ui/src/Tag/Tag.stories.tsx
#	packages/admin-ui/src/Tag/Tag.tsx
@leopuleo leopuleo self-assigned this Dec 20, 2024
@leopuleo leopuleo requested a review from adrians5j December 20, 2024 16:26
@leopuleo leopuleo marked this pull request as ready for review December 20, 2024 16:26
@leopuleo
Copy link
Contributor Author

/storybook

@webiny webiny deleted a comment from github-actions bot Dec 20, 2024
@webiny webiny deleted a comment from github-actions bot Dec 20, 2024
Copy link

Cypress E2E tests have been initiated (for more information, click here). ✨

@webiny webiny deleted a comment from github-actions bot Dec 20, 2024
Copy link

Jest tests have been initiated (for more information, click here). ✨

Copy link

Cypress E2E tests have been initiated (for more information, click here). ✨

Copy link

Cypress E2E tests have been initiated (for more information, click here). ✨

Copy link

Cypress E2E tests have been initiated (for more information, click here). ✨

Copy link

Jest tests have been initiated (for more information, click here). ✨

Copy link

Cypress E2E tests have been initiated (for more information, click here). ✨

Copy link

Jest tests have been initiated (for more information, click here). ✨

Copy link

Cypress E2E tests have been initiated (for more information, click here). ✨

Copy link

🚀 Storybook Preview
You can preview the Storybook by visiting the link below:

Storybook Preview URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants