Replies: 2 comments 1 reply
-
👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Let's totally roll this up into v11 👍 We can start figuring out the new exports today, as well, and start adding in deprecation warnings plus the new bindings. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why are PasswordInput and ControlledPasswordInput exposed as sub components of TextInput (
TextInput.PasswordInput
andTextInput.ControlledPasswordInput
)?They are exposed as exports from
TextInput/index.js
.But not in the
carbon-components-react/es/index.js
.I believe this is a vestigial pattern that you’ll see implemented in part across the library. (FilterableMultiselect I think?) Is the plan is to normalize/revert this strategy to make the variants more discoverable or to simply use props rather than duplicate, slightly altered components. For example, why PasswordInput and not
<TextInput controlled type=“password”>
Beta Was this translation helpful? Give feedback.
All reactions