forked from mui/base-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCheckboxIndicatorDataAttributes.ts
54 lines (54 loc) · 1.36 KB
/
CheckboxIndicatorDataAttributes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
export enum CheckboxIndicatorDataAttributes {
/**
* Present when the checkbox is checked.
*/
checked = 'data-checked',
/**
* Present when the checkbox is not checked.
*/
unchecked = 'data-unchecked',
/**
* Present when the checkbox is disabled.
*/
disabled = 'data-disabled',
/**
* Present when the checkbox is readonly.
*/
readonly = 'data-readonly',
/**
* Present when the checkbox is required.
*/
required = 'data-required',
/**
* Present when the checkbox indicator is animating in.
*/
startingStyle = 'data-starting-style',
/**
* Present when the checkbox indicator is animating out.
*/
endingStyle = 'data-ending-style',
/**
* Present when the checkbox is in valid state (when wrapped in Field.Root).
*/
valid = 'data-valid',
/**
* Present when the checkbox is in invalid state (when wrapped in Field.Root).
*/
invalid = 'data-invalid',
/**
* Present when the checkbox has been touched (when wrapped in Field.Root).
*/
touched = 'data-touched',
/**
* Present when the checkbox's value has changed (when wrapped in Field.Root).
*/
dirty = 'data-dirty',
/**
* Present when the checkbox is checked (when wrapped in Field.Root).
*/
filled = 'data-filled',
/**
* Present when the checkbox is focused (when wrapped in Field.Root).
*/
focused = 'data-focused',
}