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

Establish export pattern for importing individual controls #43

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

NathanFarmer
Copy link
Contributor

@NathanFarmer NathanFarmer commented Mar 18, 2024

  • Establish export pattern for importing individual controls
  • Reorganize Numeric controls
  • Rename AlertControl to AlertLayout

@NathanFarmer NathanFarmer self-assigned this Mar 18, 2024
src/renderers.ts Outdated
Comment on lines 69 to 75
tester: rankWith(2, isNumericControl),
renderer: withJsonFormsControlProps(NumericControl),
},
{
tester: rankWith(2, isNumericControl),
renderer: withJsonFormsControlProps(NumericControl),
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Must be a bad merge here

Comment on lines +73 to +81
tester: rankWith(
3,
and(
or(isNumberControl, isIntegerControl),
schemaMatches((schema: JsonSchema) => {
return schema.minimum !== undefined && schema.maximum !== undefined
}),
),
),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is short enough that I decided to just move it in here with everything else

src/index.ts Outdated Show resolved Hide resolved
@NathanFarmer NathanFarmer requested a review from DrewHoo March 18, 2024 15:53
@NathanFarmer NathanFarmer merged commit e7e3e3f into main Mar 18, 2024
2 of 3 checks passed
@NathanFarmer NathanFarmer deleted the move-numeric-control-and-export-controls branch March 18, 2024 16:23
Copy link

🎉 This PR is included in version 1.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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