-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fluid inputs: Evaluate indexing strategy for platform #12025
Comments
You can view the assets currently indexed as part of the Carbon React library here: https://next.carbondesignsystem.com/libraries/carbon-react/latest/assets The React library is indexed here: https://github.com/carbon-design-system/carbon/blob/main/packages/react/carbon.yml If a new component needs indexed, and it's likely that other libraries will also offer that component, then it's best to define the component in the Styles package (https://github.com/carbon-design-system/carbon/blob/main/packages/styles/carbon.yml) and then also index it in the React library with the same
And then you can see other frameworks in the asset detail pages: |
Also, I understand that not every exported component makes its way into the index: https://github.com/carbon-design-system/carbon/blob/main/packages/react/src/index.js For example, we index Accordion, but not the subcomponent AccordionItem, because AccordionItem is documented via its parent Accordion. You might have to make a similar decision - is FluidTextInput its own top-level component or is it documented through FluidForm? |
I would consider |
Yes, they will be their own top-level components. How/should the components be indexed? Experimental? As-is: Unstable_FluidTextInput From a design side we might need to create little thumbnails. Check with Jeannie. |
We'll call this as complete - for now we're going to go with what we've got and index component variants like FluidTextInput as their own component. If the platform changes strategies on how to surface variants, we can reassess at that point. |
As part of adding the Fluid Inputs to the system #5416, something to consider is how we want these to be indexed into the platform.
Open questions:
The text was updated successfully, but these errors were encountered: