Skip to content
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

✨(react) add TextArea component #199

Merged
merged 4 commits into from
Oct 24, 2023
Merged

✨(react) add TextArea component #199

merged 4 commits into from
Oct 24, 2023

Conversation

NathanVss
Copy link
Member

@NathanVss NathanVss commented Oct 20, 2023

How could we ship a design system library without a textarea?

Capture d’écran 2023-10-20 à 17 17 18 Capture d’écran 2023-10-20 à 17 17 32

@changeset-bot
Copy link

changeset-bot bot commented Oct 20, 2023

🦋 Changeset detected

Latest commit: 56c8138

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@openfun/cunningham-react Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@NathanVss NathanVss changed the title Feat/textarea ✨(react) add TextArea component Oct 20, 2023
@NathanVss NathanVss requested a review from jbpenrath October 20, 2023 15:28
@NathanVss NathanVss self-assigned this Oct 23, 2023
Comment on lines +6 to +9
"border-radius": "8px",
"border-radius--hover": "2px",
"border-radius--focus": "2px",
"border-width": "1px",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized we are defining those tokens for each inputs that seems weird. This is not in the scope of this PR, but I think there is something to improve here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes I agree, we have to keep in mind that we still want to guarantee the possibilty to customize them for each individual inputs, but in the mean time those are always the same .. 🤔

packages/react/src/components/Forms/TextArea/index.mdx Outdated Show resolved Hide resolved
packages/react/src/components/Forms/TextArea/index.scss Outdated Show resolved Hide resolved
Copy link
Member

@jbpenrath jbpenrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

How could we ship a design system library without a textarea?
This is made to showcase the TextArea in real world use cases.
This typo was probably due to a bad copy pasta.
The font family of the design system was not applied to input value.
@NathanVss NathanVss merged commit 41a0b6f into main Oct 24, 2023
@jbpenrath jbpenrath mentioned this pull request Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants