-
Notifications
You must be signed in to change notification settings - Fork 857
converts EuiForm (and family) to TypeScript #2896
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d6f5b5e
converts form components to typescript
dimitropoulos aaa2e0b
fixes for Form components being TypeScript now
dimitropoulos 26cf248
updates CHANGELOG
dimitropoulos 04cac88
removes unnecessary constructor in EuiFormRow
dimitropoulos f35bda6
uses array index for element key per review feedback
dimitropoulos 6a6ba6c
prefer FunctionComponent over FC
dimitropoulos 824080f
fixes file extension typo
dimitropoulos f11a885
preference `== null` for EuiFieldNumber.max and .min
dimitropoulos e251367
reverts EuiForm to use a `div` rather than a `form`
dimitropoulos eae3242
removes unwanted exports per review feedback
dimitropoulos 8dc3261
adds `options` props types to exposed exports
dimitropoulos 407f61c
renames `EuiSelectOptionProps` type to `EuiSelectOption`
dimitropoulos ddc7092
exports `EuiSwitchEvent` type
dimitropoulos c197dbc
Merge branch 'master' into form-ts
chandlerprall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,6 @@ | ||
| export { EuiCheckbox, EuiCheckboxProps, EuiCheckboxType } from './checkbox'; | ||
| export { EuiCheckbox, EuiCheckboxProps } from './checkbox'; | ||
| export { | ||
| EuiCheckboxGroup, | ||
| EuiCheckboxGroupProps, | ||
| EuiCheckboxGroupOption, | ||
| EuiCheckboxGroupIdToSelectedMap, | ||
| } from './checkbox_group'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| export { EuiFieldText } from './field_text'; | ||
| export { EuiFieldText, EuiFieldTextProps } from './field_text'; |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,8 @@ | ||
| export { | ||
| EuiFormControlLayout, | ||
| EuiFormControlLayoutProps, | ||
| ICON_SIDES, | ||
| } from './form_control_layout'; | ||
| export { | ||
| EuiFormControlLayoutClearButton, | ||
| } from './form_control_layout_clear_button'; | ||
| export { | ||
| EuiFormControlLayoutCustomIcon, | ||
| } from './form_control_layout_custom_icon'; | ||
|
|
||
| export { EuiFormControlLayoutDelimited } from './form_control_layout_delimited'; | ||
| EuiFormControlLayoutDelimited, | ||
| EuiFormControlLayoutDelimitedProps, | ||
| } from './form_control_layout_delimited'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| export { EuiFormErrorText } from './form_error_text'; | ||
| export { EuiFormErrorText, EuiFormErrorTextProps } from './form_error_text'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| export { EuiFormHelpText } from './form_help_text'; | ||
| export { EuiFormHelpText, EuiFormHelpTextProps } from './form_help_text'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| export { EuiFormLabel } from './form_label'; | ||
| export { EuiFormLabel, EuiFormLabelProps } from './form_label'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| export * from './checkbox'; | ||
| export * from './described_form_group'; | ||
| export * from './field_number'; | ||
| export * from './field_password'; | ||
| export * from './field_search'; | ||
| export * from './field_text'; | ||
| export * from './file_picker'; | ||
| export * from './form'; | ||
| export * from './form_control_layout'; | ||
| export * from './form_error_text'; | ||
| export * from './form_fieldset'; | ||
| export * from './form_help_text'; | ||
| export * from './form_label'; | ||
| export * from './form_row'; | ||
| export * from './radio'; | ||
| export * from './range'; | ||
| export * from './select'; | ||
| export * from './super_select'; | ||
| export * from './switch'; | ||
| export * from './text_area'; | ||
| export * from './validatable_control'; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.