-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
410 additions
and
303 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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,12 +1,8 @@ | ||
import type { BaseUIComponentProps } from '../../utils/types'; | ||
import type { FieldRootOwnerState } from '../Root/FieldRoot.types'; | ||
|
||
export type FieldControlElement = HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement; | ||
|
||
export type FieldControlOwnerState = { | ||
disabled: boolean; | ||
touched: boolean; | ||
dirty: boolean; | ||
valid: boolean; | ||
}; | ||
export type FieldControlOwnerState = FieldRootOwnerState; | ||
|
||
export interface FieldControlProps extends BaseUIComponentProps<'input', FieldControlOwnerState> {} |
This file contains 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
8 changes: 2 additions & 6 deletions
8
packages/mui-base/src/Field/Description/FieldDescription.types.tsx
This file contains 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,11 +1,7 @@ | ||
import type { BaseUIComponentProps } from '../../utils/types'; | ||
import type { FieldRootOwnerState } from '../Root/FieldRoot.types'; | ||
|
||
export type FieldDescriptionOwnerState = { | ||
disabled: boolean; | ||
touched: boolean; | ||
dirty: boolean; | ||
valid: boolean; | ||
}; | ||
export type FieldDescriptionOwnerState = FieldRootOwnerState; | ||
|
||
export interface FieldDescriptionProps | ||
extends BaseUIComponentProps<'p', FieldDescriptionOwnerState> {} |
This file contains 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 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 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 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,10 +1,6 @@ | ||
import type { BaseUIComponentProps } from '../../utils/types'; | ||
import type { FieldRootOwnerState } from '../Root/FieldRoot.types'; | ||
|
||
export type FieldLabelOwnerState = { | ||
disabled: boolean; | ||
touched: boolean; | ||
dirty: boolean; | ||
valid: boolean; | ||
}; | ||
export type FieldLabelOwnerState = FieldRootOwnerState; | ||
|
||
export interface FieldLabelProps extends BaseUIComponentProps<'div', FieldLabelOwnerState> {} |
Oops, something went wrong.