@@ -21,6 +21,7 @@ import { ButtonProps } from './types'
2121
2222export const BUTTON_SIZE_TO_CLASS_NAME_MAP : Record < ButtonProps [ 'size' ] , string > = {
2323 [ ComponentSizeType . xxs_small_icon ] : `${ COMPONENT_SIZE_TYPE_TO_FONT_AND_BLOCK_PADDING_MAP [ ComponentSizeType . xxs ] } px-9 dc__gap-6 mw-48` ,
24+ [ ComponentSizeType . xxxs ] : `${ COMPONENT_SIZE_TYPE_TO_FONT_AND_BLOCK_PADDING_MAP [ ComponentSizeType . xxs ] } px-9 dc__gap-6 mw-48` ,
2425 [ ComponentSizeType . xxs ] : `${ COMPONENT_SIZE_TYPE_TO_FONT_AND_BLOCK_PADDING_MAP [ ComponentSizeType . xxs ] } px-9 dc__gap-6 mw-48` ,
2526 [ ComponentSizeType . xs ] : `${ COMPONENT_SIZE_TYPE_TO_FONT_AND_BLOCK_PADDING_MAP [ ComponentSizeType . xs ] } px-9 dc__gap-6 mw-48` ,
2627 [ ComponentSizeType . small ] : `${ COMPONENT_SIZE_TYPE_TO_FONT_AND_BLOCK_PADDING_MAP [ ComponentSizeType . small ] } px-9 dc__gap-8 mw-48` ,
@@ -36,6 +37,7 @@ export const BUTTON_FONT_WEIGHT_TO_CLASS_NAME_MAP: Record<ButtonProps['fontWeigh
3637
3738export const ICON_BUTTON_SIZE_TO_CLASS_NAME_MAP : Record < ButtonProps [ 'size' ] , string > = {
3839 [ ComponentSizeType . xxs_small_icon ] : 'p-4' ,
40+ [ ComponentSizeType . xxxs ] : 'p-1' ,
3941 [ ComponentSizeType . xxs ] : 'p-1' ,
4042 [ ComponentSizeType . xs ] : 'p-3' ,
4143 [ ComponentSizeType . small ] : 'p-5' ,
@@ -46,6 +48,7 @@ export const ICON_BUTTON_SIZE_TO_CLASS_NAME_MAP: Record<ButtonProps['size'], str
4648
4749export const BUTTON_SIZE_TO_ICON_SIZE_MAP : Record < ButtonProps [ 'size' ] , ProgressingProps [ 'size' ] > = {
4850 [ ComponentSizeType . xxs_small_icon ] : 12 ,
51+ [ ComponentSizeType . xxxs ] : 14 ,
4952 [ ComponentSizeType . xxs ] : 14 ,
5053 [ ComponentSizeType . xs ] : 14 ,
5154 [ ComponentSizeType . small ] : 16 ,
@@ -56,6 +59,7 @@ export const BUTTON_SIZE_TO_ICON_SIZE_MAP: Record<ButtonProps['size'], Progressi
5659
5760export const ICON_BUTTON_SIZE_TO_ICON_SIZE_MAP : Record < ButtonProps [ 'size' ] , ProgressingProps [ 'size' ] > = {
5861 [ ComponentSizeType . xxs_small_icon ] : 12 ,
62+ [ ComponentSizeType . xxxs ] : 16 ,
5963 [ ComponentSizeType . xxs ] : 16 ,
6064 [ ComponentSizeType . xs ] : 16 ,
6165 [ ComponentSizeType . small ] : 16 ,
0 commit comments