carbon-components-svelte
carbon-components-svelte copied to clipboard
Layer (new component)
Spun off from #1629
- [ ] Add new Layer component. Reference: https://react.carbondesignsystem.com/?path=/docs/components-layer--overview
- [ ] Deprecate the
lightprop fromTextInput. Recommend usingLayercomponent instead. To be removed in[email protected]. - [ ] Adjust related components to ensure they work well with Layer
I don't think the light prop should be removed in v11. The React library has it marked for removal in v12, doesn't it?
You're right that the React component has it deprecated; probably to ease into its removal when Layer became available, but not because of forthcoming v12 styles. We should follow a similar backwards-compatibility cadence:
https://github.com/carbon-design-system/carbon/blob/be888a850730d9658decaf1336f4b3175eb4d817/packages/react/src/components/TextInput/TextInput.tsx#L84-L90
I updated the criteria above.
What are the outstanding tasks following the merge of PR #1932?