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

fix(material): consistently use outlined input variant #2256

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

LukasBoll
Copy link
Contributor

Use outlined input variant as the default to match Material UI

Copy link

netlify bot commented Jan 24, 2024

Deploy Preview for jsonforms-examples ready!

Name Link
🔨 Latest commit 0b5b756
🔍 Latest deploy log https://app.netlify.com/sites/jsonforms-examples/deploys/65b1028975e31200085ba662
😎 Deploy Preview https://deploy-preview-2256--jsonforms-examples.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@coveralls
Copy link

coveralls commented Jan 24, 2024

Coverage Status

coverage: 84.796%. remained the same
when pulling 0b5b756 on LukasBoll:fix/material_outlineed
into 1791e5c on eclipsesource:master.

MIGRATION.md Outdated

### Material Renderers using Outlined Inputs

JSON Forms has been updated to use the `outlined` input variant as the default, aligning more closely with the default style of Material UI.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
JSON Forms has been updated to use the `outlined` input variant as the default, aligning more closely with the default style of Material UI.
JSON Forms now uses the `outlined` input variant as the default, aligning with the default style of Material UI since version 5.

MIGRATION.md Outdated
### Material Renderers using Outlined Inputs

JSON Forms has been updated to use the `outlined` input variant as the default, aligning more closely with the default style of Material UI.
To use the `standard` input variant, as in previous versions of JSON Forms, it is possible to provide JSON Forms with a theme provider:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
To use the `standard` input variant, as in previous versions of JSON Forms, it is possible to provide JSON Forms with a theme provider:
If you would like to use the `standard` input variant, as was default in previous versions of JSON Forms, then this can be accomplished using the Material UI `ThemeProvider`:

Use outlined input variant as the default to match Material UI
Copy link
Member

@sdirix sdirix left a comment

Choose a reason for hiding this comment

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

Thanks!

@sdirix sdirix merged commit 3a68d0c into eclipsesource:master Jan 24, 2024
8 checks passed
@sdirix sdirix linked an issue Jan 30, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Material Renderer Inputs to be aware of Variant
3 participants