-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
layout.ts
82 lines (70 loc) · 1.47 KB
/
layout.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
const boxSizing = ['box-border', 'box-content'];
const display = [
'block',
'inline-block',
'inline',
'flex',
'inline-flex',
'grid',
'inline-grid',
'table',
'inline-table',
'table-row',
'table-cell',
'contents',
'list-item',
'hidden',
];
const boxDecorationBreak = ['decoration-slice', 'decoration-clone'];
const container = ['container'];
const float = ['float-right', 'float-left', 'float-none'];
const clear = ['clear-left', 'clear-right', 'clear-both', 'clear-none'];
const isolation = ['isolate', 'isolation-auto'];
const objectFit = [
'object-contain',
'object-cover',
'object-fill',
'object-none',
'object-scale-down',
];
const overflow = [
'overflow-auto',
'overflow-hidden',
'overflow-visible',
'overflow-scroll',
'overflow-x-auto',
'overflow-y-auto',
'overflow-x-hidden',
'overflow-y-hidden',
'overflow-x-visible',
'overflow-y-visible',
'overflow-x-scroll',
'overflow-y-scroll',
];
const overscrollBehavior = [
'overscroll-auto',
'overscroll-contain',
'overscroll-none',
'overscroll-y-auto',
'overscroll-y-contain',
'overscroll-y-none',
'overscroll-x-auto',
'overscroll-x-contain',
'overscroll-x-none',
];
const position = ['static', 'fixed', 'absolute', 'relative', 'sticky'];
const visibility = ['visible', 'invisible'];
export default {
display,
boxDecorationBreak,
boxSizing,
container,
float,
clear,
isolation,
objectFit,
overflow,
overscrollBehavior,
position,
visibility,
};