@instructure/ui-checkbox 9.0.2-snapshot-3 → 9.0.2-snapshot-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ parent: Checkbox
|
|
|
9
9
|
**/
|
|
10
10
|
declare class CheckboxFacade extends Component<CheckboxFacadeProps> {
|
|
11
11
|
static readonly componentId = "CheckboxFacade";
|
|
12
|
-
static propTypes: import("@instructure/shared-types
|
|
12
|
+
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
13
13
|
children: import("react").ReactNode;
|
|
14
14
|
checked?: boolean | undefined;
|
|
15
15
|
focused?: boolean | undefined;
|
|
@@ -9,7 +9,7 @@ parent: Checkbox
|
|
|
9
9
|
**/
|
|
10
10
|
declare class ToggleFacade extends Component<ToggleFacadeProps> {
|
|
11
11
|
static readonly componentId = "ToggleFacade";
|
|
12
|
-
static propTypes: import("@instructure/shared-types
|
|
12
|
+
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
13
13
|
children: import("react").ReactNode;
|
|
14
14
|
checked?: boolean | undefined;
|
|
15
15
|
disabled?: boolean | undefined;
|
|
@@ -12,11 +12,11 @@ tags: toggle, switch
|
|
|
12
12
|
**/
|
|
13
13
|
declare class Checkbox extends Component<CheckboxProps, CheckboxState> {
|
|
14
14
|
static readonly componentId = "Checkbox";
|
|
15
|
-
static propTypes: import("@instructure/shared-types
|
|
15
|
+
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
16
16
|
label: React.ReactNode;
|
|
17
17
|
id?: string | undefined;
|
|
18
18
|
value?: string | number | undefined;
|
|
19
|
-
messages?: import("@instructure/ui-form-field
|
|
19
|
+
messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
|
|
20
20
|
defaultChecked?: boolean | undefined;
|
|
21
21
|
checked?: boolean | undefined;
|
|
22
22
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
@@ -37,7 +37,7 @@ declare class Checkbox extends Component<CheckboxProps, CheckboxState> {
|
|
|
37
37
|
label: React.ReactNode;
|
|
38
38
|
id?: string | undefined;
|
|
39
39
|
value?: string | number | undefined;
|
|
40
|
-
messages?: import("@instructure/ui-form-field
|
|
40
|
+
messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
|
|
41
41
|
defaultChecked?: boolean | undefined;
|
|
42
42
|
checked?: boolean | undefined;
|
|
43
43
|
onChange?: ((e: React.ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
@@ -7,7 +7,7 @@ category: components
|
|
|
7
7
|
**/
|
|
8
8
|
declare class CheckboxGroup extends Component<CheckboxGroupProps, CheckboxGroupState> {
|
|
9
9
|
static readonly componentId = "CheckboxGroup";
|
|
10
|
-
static propTypes: import("@instructure/shared-types
|
|
10
|
+
static propTypes: import("@instructure/shared-types").PropValidators<keyof {
|
|
11
11
|
children?: CheckboxChild[] | undefined;
|
|
12
12
|
name: string;
|
|
13
13
|
description: React.ReactNode;
|
|
@@ -16,7 +16,7 @@ declare class CheckboxGroup extends Component<CheckboxGroupProps, CheckboxGroupS
|
|
|
16
16
|
onChange?: ((value: (string | number)[]) => void) | undefined;
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
readOnly?: boolean | undefined;
|
|
19
|
-
messages?: import("@instructure/ui-form-field
|
|
19
|
+
messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
|
|
20
20
|
size?: "small" | "medium" | "large" | undefined;
|
|
21
21
|
layout?: "columns" | "inline" | "stacked" | undefined;
|
|
22
22
|
}>;
|
|
@@ -29,7 +29,7 @@ declare class CheckboxGroup extends Component<CheckboxGroupProps, CheckboxGroupS
|
|
|
29
29
|
onChange?: ((value: (string | number)[]) => void) | undefined;
|
|
30
30
|
disabled?: boolean | undefined;
|
|
31
31
|
readOnly?: boolean | undefined;
|
|
32
|
-
messages?: import("@instructure/ui-form-field
|
|
32
|
+
messages?: import("@instructure/ui-form-field").FormMessage[] | undefined;
|
|
33
33
|
size?: "small" | "medium" | "large" | undefined;
|
|
34
34
|
layout?: "columns" | "inline" | "stacked" | undefined;
|
|
35
35
|
})[];
|