-
Notifications
You must be signed in to change notification settings - Fork 66
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
1 parent
de201e9
commit aae4443
Showing
109 changed files
with
652 additions
and
682 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
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 |
---|---|---|
|
@@ -5,4 +5,3 @@ export interface TableProps { | |
declare function Table(props: TableProps): JSX.Element; | ||
|
||
export default Table; | ||
|
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,10 +1,8 @@ | ||
import React from 'react'; | ||
import { ControlledSelectionStatusProps } from './ControlledSelectionStatus'; | ||
|
||
export interface ControlledSelectionStatusProps { | ||
className?: string; | ||
clearSelectionText?: string | JSX.Element; | ||
} | ||
export interface SelectionStatusProps extends ControlledSelectionStatusProps {} | ||
|
||
declare const ControlledSelectionStatus: React.FC<ControlledSelectionStatusProps>; | ||
declare const SelectionStatus: React.FC<SelectionStatusProps>; | ||
|
||
export default ControlledSelectionStatus; | ||
export default SelectionStatus; |
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,34 +1,35 @@ | ||
import { ReactNode } from 'react'; | ||
import React from 'react'; | ||
|
||
type CheckboxSetControlProps = { | ||
onBlur?: (...args: any[]) => any; | ||
onFocus?: (...args: any[]) => any; | ||
onChange?: (...args: any[]) => any; | ||
checked?: boolean; | ||
defaultChecked?: boolean; | ||
value?: string; | ||
export type CheckboxProps = { | ||
value: string; | ||
onBlur?: React.FocusEventHandler<HTMLInputElement>; | ||
onFocus?: React.FocusEventHandler<HTMLInputElement>; | ||
onChange?: React.ChangeEventHandler<HTMLInputElement>; | ||
}; | ||
|
||
type CheckboxSetContextValue = { | ||
export type FormCheckboxSetContextValue = { | ||
name?: string; | ||
value?: string[]; | ||
defaultValue?: string[]; | ||
getCheckboxControlProps: (props: CheckboxSetControlProps) => CheckboxSetControlProps; | ||
onBlur?: (...args: any[]) => any; | ||
onFocus?: (...args: any[]) => any; | ||
onChange?: (...args: any[]) => any; | ||
hasCheckboxSetProvider?: boolean; | ||
onBlur?: React.FocusEventHandler<HTMLInputElement>; | ||
onFocus?: React.FocusEventHandler<HTMLInputElement>; | ||
onChange?: React.ChangeEventHandler<HTMLInputElement>; | ||
getCheckboxControlProps: (checkboxProps: CheckboxProps) => CheckboxProps; | ||
hasCheckboxSetProvider: boolean; | ||
}; | ||
|
||
type FormCheckboxSetContextProviderProps = { | ||
children: ReactNode; | ||
export declare const FormCheckboxSetContext: React.Context<FormCheckboxSetContextValue>; | ||
|
||
export declare const useCheckboxSetContext: () => FormCheckboxSetContextValue; | ||
|
||
export type FormCheckboxSetContextProviderProps = { | ||
children: React.ReactNode; | ||
name?: string; | ||
onBlur?: (...args: any[]) => any; | ||
onFocus?: (...args: any[]) => any; | ||
onChange?: (...args: any[]) => any; | ||
onBlur?: React.FocusEventHandler<HTMLInputElement>; | ||
onFocus?: React.FocusEventHandler<HTMLInputElement>; | ||
onChange?: React.ChangeEventHandler<HTMLInputElement>; | ||
value?: string[]; | ||
defaultValue?: string[]; | ||
}; | ||
|
||
export function useCheckboxSetContext(): CheckboxSetContextValue; | ||
export function FormCheckboxSetContextProvider(props: FormCheckboxSetContextProviderProps): JSX.Element; | ||
export declare const FormCheckboxSetContextProvider: React.FC<FormCheckboxSetContextProviderProps>; |
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,16 +1,16 @@ | ||
import React from 'react'; | ||
|
||
export type FeedbackTypes = 'default' | 'valid' | 'invalid' | 'warning' | 'criteria-empty' | 'criteria-valid' | 'criteria-invalid'; | ||
export type FeedbackVariants = 'default' | 'valid' | 'invalid' | 'warning' | 'criteria-empty' | 'criteria-valid' | 'criteria-invalid'; | ||
|
||
export interface FormControlFeedbackProps { | ||
children: React.ReactNode; | ||
className?: string; | ||
hasIcon?: boolean; | ||
type?: FeedbackTypes, | ||
type?: FeedbackVariants, | ||
icon?: React.ReactNode; | ||
muted?: boolean; | ||
} | ||
|
||
declare const FormControlFeedback = React.FC<FormControlFeedbackProps>; | ||
declare const FormControlFeedback: React.FC<FormControlFeedbackProps>; | ||
|
||
export default FormControlFeedback; |
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
Oops, something went wrong.