@@ -3,11 +3,11 @@ import { ProgressingProps } from '@Common/Types'
3
3
import { ButtonProps } from './types'
4
4
5
5
export const BUTTON_SIZE_TO_CLASS_NAME_MAP : Record < ButtonProps [ 'size' ] , string > = {
6
- [ ComponentSizeType . xs ] : 'px-9 py-1 fs-12 lh-20 fw-6 dc__gap-6' ,
7
- [ ComponentSizeType . small ] : 'px-9 py-3 fs-12 lh-20 fw-6 dc__gap-6 ' ,
8
- [ ComponentSizeType . medium ] : 'px-11 py-5 fs-13 lh-20 fw-6 dc__gap-8' ,
9
- [ ComponentSizeType . large ] : 'px-13 py-7 fs-13 lh-20 fw-6 dc__gap-10' ,
10
- [ ComponentSizeType . xl ] : 'px-15 py-9 fs-14 lh-20 fw-6 dc__gap-12' ,
6
+ [ ComponentSizeType . xs ] : 'px-9 py-1 fs-12 lh-20 fw-6 dc__gap-6 mw-48 ' ,
7
+ [ ComponentSizeType . small ] : 'px-9 py-3 fs-12 lh-20 fw-6 dc__gap-8 mw-48 ' ,
8
+ [ ComponentSizeType . medium ] : 'px-11 py-5 fs-13 lh-20 fw-6 dc__gap-8 mw-48 ' ,
9
+ [ ComponentSizeType . large ] : 'px-13 py-7 fs-13 lh-20 fw-6 dc__gap-10 mw-64 ' ,
10
+ [ ComponentSizeType . xl ] : 'px-15 py-9 fs-14 lh-20 fw-6 dc__gap-12 mw-64 ' ,
11
11
} as const
12
12
13
13
export const ICON_BUTTON_SIZE_TO_CLASS_NAME_MAP : Record < ButtonProps [ 'size' ] , string > = {
@@ -18,31 +18,15 @@ export const ICON_BUTTON_SIZE_TO_CLASS_NAME_MAP: Record<ButtonProps['size'], str
18
18
[ ComponentSizeType . xl ] : 'p-7' ,
19
19
} as const
20
20
21
- export const BUTTON_SIZE_TO_ICON_CLASS_NAME_MAP : Record < ButtonProps [ 'size' ] , string > = {
22
- [ ComponentSizeType . xs ] : 'icon-dim-12' ,
23
- [ ComponentSizeType . small ] : 'icon-dim-12' ,
24
- [ ComponentSizeType . medium ] : 'icon-dim-16' ,
25
- [ ComponentSizeType . large ] : 'icon-dim-16' ,
26
- [ ComponentSizeType . xl ] : 'icon-dim-20' ,
27
- } as const
28
-
29
- export const ICON_BUTTON_SIZE_TO_ICON_CLASS_NAME_MAP : Record < ButtonProps [ 'size' ] , string > = {
30
- [ ComponentSizeType . xs ] : 'icon-dim-16' ,
31
- [ ComponentSizeType . small ] : 'icon-dim-16' ,
32
- [ ComponentSizeType . medium ] : 'icon-dim-16' ,
33
- [ ComponentSizeType . large ] : 'icon-dim-20' ,
34
- [ ComponentSizeType . xl ] : 'icon-dim-24' ,
35
- } as const
36
-
37
- export const BUTTON_SIZE_TO_LOADER_SIZE_MAP : Record < ButtonProps [ 'size' ] , ProgressingProps [ 'size' ] > = {
21
+ export const BUTTON_SIZE_TO_ICON_SIZE_MAP : Record < ButtonProps [ 'size' ] , ProgressingProps [ 'size' ] > = {
38
22
[ ComponentSizeType . xs ] : 12 ,
39
- [ ComponentSizeType . small ] : 12 ,
23
+ [ ComponentSizeType . small ] : 16 ,
40
24
[ ComponentSizeType . medium ] : 16 ,
41
25
[ ComponentSizeType . large ] : 16 ,
42
26
[ ComponentSizeType . xl ] : 20 ,
43
27
} as const
44
28
45
- export const ICON_BUTTON_SIZE_TO_LOADER_SIZE_MAP : Record < ButtonProps [ 'size' ] , ProgressingProps [ 'size' ] > = {
29
+ export const ICON_BUTTON_SIZE_TO_ICON_SIZE_MAP : Record < ButtonProps [ 'size' ] , ProgressingProps [ 'size' ] > = {
46
30
[ ComponentSizeType . xs ] : 16 ,
47
31
[ ComponentSizeType . small ] : 16 ,
48
32
[ ComponentSizeType . medium ] : 16 ,
0 commit comments