-
Notifications
You must be signed in to change notification settings - Fork 140
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(AddSelect): add dynamic additional component at start of body #5438
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for carbon-for-ibm-products ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
@glapadre thanks for providing this! Two things;
one minor code comment: can we switch additionalInfo
to supplementalHeader
? i think that helps convey what the prop does.
i know theres a greater discussion at hand about the add/select structure, so i don't think this needs a whole DSAG intervention, but could you find a designer associated with add/select to sign off on this? i think the story could look a little nicer and better describe what the feature is. working with someone on the design side just to establish like a minimal requirement for this part of the pattern would be great.
if you have any questions holler at me!
@davidmenendez no problem! I started a thread in the issue related to naming convention but it didn't get any traction, |
@glapadre awesome! thanks. keep me up to date 👍 |
@davidmenendez I have shared with Oliver Kauselmann (designer that worked on add/select) and he said he will take a look and share here |
@glapadre awesome! thanks a bunch |
Had a call with Marion H. and Oliver K. and we are working on updating the guidance on the PAL design site, once this is complete Marion and Oliver gave the green light to merge. |
@glapadre any update on this? |
Closes #5252
Add custom component option at the beginning of the Body (in our case we are using TextInput but it could be anything here.
What did you change?
packages/ibm-products-styles/src/__tests__/__snapshots__/styles.test.js.snap
packages/ibm-products-styles/src/components/AddSelect/_add-select.scss
packages/ibm-products/src/components/AddSelect/AddSelect.tsx
packages/ibm-products/src/components/AddSelect/AddSelectBody.test.js
packages/ibm-products/src/components/AddSelect/AddSelectBody.tsx
packages/ibm-products/src/components/MultiAddSelect/MultiAddSelect.stories.jsx
packages/ibm-products/src/components/MultiAddSelect/MultiAddSelect.tsx
packages/ibm-products/src/components/SingleAddSelect/SingleAddSelect.stories.jsx
packages/ibm-products/src/components/SingleAddSelect/SingleAddSelect.tsx
How did you test and verify your work?
Storybook