@@ -33,41 +33,26 @@ function getSideOffsetAmount(indent: SideOffset, align: Align) {
33
33
left : {
34
34
[ Indent . none ] : "w-full" ,
35
35
[ Indent . THREE_HUNDRED ] : "w-[calc(100%_-_theme(spacing.300))]" ,
36
- [ Indent . small ] : "w-[calc(100%_-_theme(spacing.300))]" , // deprecated
37
36
[ Indent . FOUR_HUNDRED ] : "w-[calc(100%_-_theme(spacing.400))]" ,
38
- [ Indent . medium ] : "w-[calc(100%_-_theme(spacing.400))]" , // deprecated
39
37
[ Indent . SIX_HUNDRED ] : "w-[calc(100%_-_theme(spacing.600))]" ,
40
- [ Indent . large ] : "w-[calc(100%_-_theme(spacing.600))]" , // deprecated
41
38
[ Indent . EIGHT_HUNDRED ] : "w-[calc(100%_-_theme(spacing.800))]" ,
42
- [ Indent . XLarge ] : "w-[calc(100%_-_theme(spacing.800))]" , // deprecated
43
39
[ Indent . ONE_THOUSAND ] : "w-[calc(100%_-_theme(spacing.1000))]" ,
44
- [ Indent . XXLarge ] : "w-[calc(100%_-_theme(spacing.1000))]" , // deprecated
45
40
} ,
46
41
right : {
47
42
[ Indent . none ] : "w-full" ,
48
43
[ Indent . THREE_HUNDRED ] : "ms-300 w-[calc(100%_-_theme(spacing.300))]" ,
49
- [ Indent . small ] : "ms-300 w-[calc(100%_-_theme(spacing.300))]" , // deprecated
50
44
[ Indent . FOUR_HUNDRED ] : "ms-400 w-[calc(100%_-_theme(spacing.400))]" ,
51
- [ Indent . medium ] : "ms-400 w-[calc(100%_-_theme(spacing.400))]" , // deprecated
52
45
[ Indent . SIX_HUNDRED ] : "ms-600 w-[calc(100%_-_theme(spacing.600))]" ,
53
- [ Indent . large ] : "ms-600 w-[calc(100%_-_theme(spacing.600))]" , // deprecated
54
46
[ Indent . EIGHT_HUNDRED ] : "ms-800 w-[calc(100%_-_theme(spacing.800))]" ,
55
- [ Indent . XLarge ] : "ms-800 w-[calc(100%_-_theme(spacing.800))]" , // deprecated
56
47
[ Indent . ONE_THOUSAND ] : "ms-1000 w-[calc(100%_-_theme(spacing.1000))]" ,
57
- [ Indent . XXLarge ] : "ms-1000 w-[calc(100%_-_theme(spacing.1000))]" , // deprecated
58
48
} ,
59
49
center : {
60
50
[ Indent . none ] : "w-full" ,
61
51
[ Indent . THREE_HUNDRED ] : "ms-300 w-[calc(100%_-_theme(spacing.300)*2)]" ,
62
- [ Indent . small ] : "ms-300 w-[calc(100%_-_theme(spacing.300)*2)]" , // deprecated
63
52
[ Indent . FOUR_HUNDRED ] : "ms-400 w-[calc(100%_-_theme(spacing.400)*2)]" ,
64
- [ Indent . medium ] : "ms-400 w-[calc(100%_-_theme(spacing.400)*2)]" , // deprecated
65
53
[ Indent . SIX_HUNDRED ] : "ms-600 w-[calc(100%_-_theme(spacing.600)*2)]" ,
66
- [ Indent . large ] : "ms-600 w-[calc(100%_-_theme(spacing.600)*2)]" , // deprecated
67
54
[ Indent . EIGHT_HUNDRED ] : "ms-800 w-[calc(100%_-_theme(spacing.800)*2)]" ,
68
- [ Indent . XLarge ] : "ms-800 w-[calc(100%_-_theme(spacing.800)*2)]" , // deprecated
69
55
[ Indent . ONE_THOUSAND ] : "ms-1000 w-[calc(100%_-_theme(spacing.1000)*2)]" ,
70
- [ Indent . XXLarge ] : "ms-1000 w-[calc(100%_-_theme(spacing.1000)*2)]" , // deprecated
71
56
} ,
72
57
} ;
73
58
0 commit comments