-
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
feat(FluidNumberInput): add FluidNumberInput
variant
#12737
feat(FluidNumberInput): add FluidNumberInput
variant
#12737
Conversation
86f84de
to
1c984ba
Compare
❌ Deploy Preview for carbon-elements failed.
|
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for carbon-components-react ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for carbon-components-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
77366d2
to
822f206
Compare
822f206
to
3158644
Compare
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.
This looks super good! A couple minor things below.
Also, I think packages/styles/scss/components/__tests__/number-input-test.js
(and others - fluid-combo-box
, fluid-multiselect
, etc.) need updated to ensure the new mixins exist. Sorry I didn't catch this before - might be something to do for all fluid inputs in a separate PR?
packages/react/src/components/FluidNumberInput/FluidNumberInput.stories.js
Outdated
Show resolved
Hide resolved
packages/react/src/components/FluidNumberInput/FluidNumberInput.stories.js
Outdated
Show resolved
Hide resolved
I'll tackle that in a separate PR (created issue #12817) if that's alright. Pushed up changes adding all skeleton components as subcomponents to the story files |
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.
It looks good except for the label overflow (which I keep forgetting about). It needs to overflow like how we set it up in fluid text input. But that's the only thing I see wrong.
@aagonzales I'll update this one here, and I've created a new issue (#12825) to track the rest of the components and will add the same styles to all of them in a separate PR |
4b9e5e0
to
6b507a0
Compare
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.
That looks good! One more change after talking to Jeannie, we want to just use the regular $body-compact-01
here instead of the mono $code-01
. She wants to change it in the fixed version as well.
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.
LGTM!
…t.stories.js Co-authored-by: Taylor Jones <[email protected]>
6b507a0
to
5de2d57
Compare
@aagonzales updated 👍🏻 |
@tw15egan it does look like the number are appearing in Plex. |
@aagonzales good catch, forgot number inputs reset their own styles, and it was using the browser default. Updated it, so it should not load in IBM Plex Sans |
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.
Perfect! Ship it!
Refs #12126
Closes #12454
Closes #12455
Closes #12826
-Adds in the
FluidNumberInput
component asunstable
Changelog
New
unstable__FluidNumberInput
componentFluidNumberInput
(_fluid-number-input.scss
)FluidNumberInput
(FluidNumberInput.stories.js
)FluidNumberInput
Changed
Testing / Reviewing
Go to
FluidNumberInput
and ensure all stories look correct