@remember-web/primitive 0.2.7 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/src/Badge/style.cjs.js +1 -1
  2. package/dist/src/Badge/style.cjs.js.map +1 -1
  3. package/dist/src/Badge/style.d.ts.map +1 -1
  4. package/dist/src/Badge/style.esm.js +1 -1
  5. package/dist/src/Badge/style.esm.js.map +1 -1
  6. package/dist/src/Buttons/Button/const.cjs.js +4 -4
  7. package/dist/src/Buttons/Button/const.cjs.js.map +1 -1
  8. package/dist/src/Buttons/Button/const.d.ts +4 -4
  9. package/dist/src/Buttons/Button/const.esm.js +4 -4
  10. package/dist/src/Buttons/Button/const.esm.js.map +1 -1
  11. package/dist/src/Chips/Chip/const.cjs.js +107 -0
  12. package/dist/src/Chips/Chip/const.cjs.js.map +1 -0
  13. package/dist/src/Chips/Chip/const.d.ts +15 -0
  14. package/dist/src/Chips/Chip/const.d.ts.map +1 -0
  15. package/dist/src/Chips/Chip/const.esm.js +104 -0
  16. package/dist/src/Chips/Chip/const.esm.js.map +1 -0
  17. package/dist/src/Chips/Chip/index.cjs.js +57 -0
  18. package/dist/src/Chips/Chip/index.cjs.js.map +1 -0
  19. package/dist/src/Chips/Chip/index.d.ts +4 -0
  20. package/dist/src/Chips/Chip/index.d.ts.map +1 -0
  21. package/dist/src/Chips/Chip/index.esm.js +50 -0
  22. package/dist/src/Chips/Chip/index.esm.js.map +1 -0
  23. package/dist/src/Chips/Chip/styles.cjs.js +46 -0
  24. package/dist/src/Chips/Chip/styles.cjs.js.map +1 -0
  25. package/dist/src/Chips/Chip/styles.d.ts +5 -0
  26. package/dist/src/Chips/Chip/styles.d.ts.map +1 -0
  27. package/dist/src/Chips/Chip/styles.esm.js +36 -0
  28. package/dist/src/Chips/Chip/styles.esm.js.map +1 -0
  29. package/dist/src/Chips/Chip/typeGuard.cjs.js +31 -0
  30. package/dist/src/Chips/Chip/typeGuard.cjs.js.map +1 -0
  31. package/dist/src/Chips/Chip/typeGuard.d.ts +3 -0
  32. package/dist/src/Chips/Chip/typeGuard.d.ts.map +1 -0
  33. package/dist/src/Chips/Chip/typeGuard.esm.js +29 -0
  34. package/dist/src/Chips/Chip/typeGuard.esm.js.map +1 -0
  35. package/dist/src/Chips/Chip/types.d.ts +43 -0
  36. package/dist/src/Chips/Chip/types.d.ts.map +1 -0
  37. package/dist/src/Chips/index.d.ts +2 -0
  38. package/dist/src/Chips/index.d.ts.map +1 -0
  39. package/dist/src/Control/BaseToggle/index.cjs.js +1 -1
  40. package/dist/src/Control/BaseToggle/index.cjs.js.map +1 -1
  41. package/dist/src/Control/BaseToggle/index.esm.js +1 -1
  42. package/dist/src/Control/BaseToggle/index.esm.js.map +1 -1
  43. package/dist/src/Floating/DropdownMenu/styles.cjs.js +3 -3
  44. package/dist/src/Floating/DropdownMenu/styles.cjs.js.map +1 -1
  45. package/dist/src/Floating/DropdownMenu/styles.d.ts +1 -1
  46. package/dist/src/Floating/DropdownMenu/styles.d.ts.map +1 -1
  47. package/dist/src/Floating/DropdownMenu/styles.esm.js +3 -3
  48. package/dist/src/Floating/DropdownMenu/styles.esm.js.map +1 -1
  49. package/dist/src/Floating/Tooltip/styles.cjs.js +2 -2
  50. package/dist/src/Floating/Tooltip/styles.cjs.js.map +1 -1
  51. package/dist/src/Floating/Tooltip/styles.d.ts +1 -1
  52. package/dist/src/Floating/Tooltip/styles.d.ts.map +1 -1
  53. package/dist/src/Floating/Tooltip/styles.esm.js +2 -2
  54. package/dist/src/Floating/Tooltip/styles.esm.js.map +1 -1
  55. package/dist/src/Inputs/Select/NativeSelect/styles.cjs.js +1 -1
  56. package/dist/src/Inputs/Select/NativeSelect/styles.cjs.js.map +1 -1
  57. package/dist/src/Inputs/Select/NativeSelect/styles.esm.js +1 -1
  58. package/dist/src/Inputs/Select/NativeSelect/styles.esm.js.map +1 -1
  59. package/dist/src/Inputs/Select/styles.cjs.js +2 -2
  60. package/dist/src/Inputs/Select/styles.cjs.js.map +1 -1
  61. package/dist/src/Inputs/Select/styles.esm.js +2 -2
  62. package/dist/src/Inputs/Select/styles.esm.js.map +1 -1
  63. package/dist/src/Inputs/TextInput/index.cjs.js +8 -2
  64. package/dist/src/Inputs/TextInput/index.cjs.js.map +1 -1
  65. package/dist/src/Inputs/TextInput/index.d.ts.map +1 -1
  66. package/dist/src/Inputs/TextInput/index.esm.js +8 -2
  67. package/dist/src/Inputs/TextInput/index.esm.js.map +1 -1
  68. package/dist/src/Inputs/TextInput/styles.cjs.js +6 -6
  69. package/dist/src/Inputs/TextInput/styles.cjs.js.map +1 -1
  70. package/dist/src/Inputs/TextInput/styles.d.ts +1 -1
  71. package/dist/src/Inputs/TextInput/styles.esm.js +6 -6
  72. package/dist/src/Inputs/TextInput/styles.esm.js.map +1 -1
  73. package/dist/src/Logos/RememberServiceLogo/index.cjs.js +11 -5
  74. package/dist/src/Logos/RememberServiceLogo/index.cjs.js.map +1 -1
  75. package/dist/src/Logos/RememberServiceLogo/index.d.ts.map +1 -1
  76. package/dist/src/Logos/RememberServiceLogo/index.esm.js +10 -4
  77. package/dist/src/Logos/RememberServiceLogo/index.esm.js.map +1 -1
  78. package/dist/src/Logos/RememberServiceLogo/style.cjs.js +2 -2
  79. package/dist/src/Logos/RememberServiceLogo/style.cjs.js.map +1 -1
  80. package/dist/src/Logos/RememberServiceLogo/style.d.ts.map +1 -1
  81. package/dist/src/Logos/RememberServiceLogo/style.esm.js +3 -3
  82. package/dist/src/Logos/RememberServiceLogo/style.esm.js.map +1 -1
  83. package/dist/src/Modals/Dialog/styles.cjs.js +2 -2
  84. package/dist/src/Modals/Dialog/styles.cjs.js.map +1 -1
  85. package/dist/src/Modals/Dialog/styles.esm.js +2 -2
  86. package/dist/src/Modals/Dialog/styles.esm.js.map +1 -1
  87. package/dist/src/Paginations/styles.cjs.js +3 -3
  88. package/dist/src/Paginations/styles.cjs.js.map +1 -1
  89. package/dist/src/Paginations/styles.esm.js +3 -3
  90. package/dist/src/Paginations/styles.esm.js.map +1 -1
  91. package/dist/src/index.cjs.js +2 -0
  92. package/dist/src/index.cjs.js.map +1 -1
  93. package/dist/src/index.d.ts +1 -0
  94. package/dist/src/index.d.ts.map +1 -1
  95. package/dist/src/index.esm.js +1 -0
  96. package/dist/src/index.esm.js.map +1 -1
  97. package/dist/src/stories/common.styles.d.ts +2 -1
  98. package/dist/src/stories/common.styles.d.ts.map +1 -1
  99. package/package.json +3 -3
  100. package/src/Badge/style.tsx +1 -2
  101. package/src/Buttons/Button/const.ts +4 -4
  102. package/src/Chips/Chip/Chip.stories.tsx +138 -0
  103. package/src/Chips/Chip/const.ts +115 -0
  104. package/src/Chips/Chip/index.tsx +51 -0
  105. package/src/Chips/Chip/styles.ts +80 -0
  106. package/src/Chips/Chip/typeGuard.ts +48 -0
  107. package/src/Chips/Chip/types.ts +61 -0
  108. package/src/Chips/index.ts +1 -0
  109. package/src/Common/Typography/Typography.stories.tsx +7 -7
  110. package/src/Control/BaseToggle/index.tsx +1 -1
  111. package/src/Floating/DropdownMenu/styles.tsx +12 -7
  112. package/src/Floating/Tooltip/styles.ts +9 -13
  113. package/src/Inputs/Select/NativeSelect/styles.ts +1 -1
  114. package/src/Inputs/Select/styles.ts +2 -2
  115. package/src/Inputs/TextInput/index.tsx +9 -2
  116. package/src/Inputs/TextInput/styles.ts +7 -7
  117. package/src/Logos/RememberServiceLogo/index.tsx +6 -4
  118. package/src/Logos/RememberServiceLogo/style.ts +1 -7
  119. package/src/Modals/Dialog/styles.ts +2 -2
  120. package/src/Paginations/styles.ts +3 -3
  121. package/src/index.ts +1 -0
  122. package/src/stories/common.styles.tsx +10 -4
@@ -25,7 +25,7 @@ export const Overview: Story = {
25
25
  render: () => (
26
26
  <Paper $minWidth={640} $maxWidth={800}>
27
27
  <TitleContainer>
28
- <Typography variant="Headline2_B">Typography</Typography>
28
+ <Typography variant="Headline">Typography</Typography>
29
29
  </TitleContainer>
30
30
  <Table>
31
31
  <TableHeader>
@@ -53,7 +53,7 @@ export const Overview: Story = {
53
53
  </Typography>
54
54
  </TableColumn>
55
55
  <TableColumn align="center">{fontSize}px</TableColumn>
56
- <TableColumn align="center">{lineHeight}px</TableColumn>
56
+ <TableColumn align="center">{lineHeight}</TableColumn>
57
57
  <TableColumn align="center">{fontWeight}</TableColumn>
58
58
  </TableRow>
59
59
  );
@@ -68,28 +68,28 @@ export const Variants: Story = {
68
68
  render: (args) => (
69
69
  <Paper>
70
70
  <TitleContainer>
71
- <Typography variant="Headline4_B">적용 스타일</Typography>
71
+ <Typography variant="SubTitle1">적용 스타일</Typography>
72
72
  <Typography {...args}>{args.children || args.variant}</Typography>
73
73
  </TitleContainer>
74
- <Typography variant="Headline4_B">실제 마크업</Typography>
74
+ <Typography variant="SubTitle1">실제 마크업</Typography>
75
75
  {renderToStaticMarkup(
76
76
  <Typography {...args}>{args.children || args.variant}</Typography>
77
77
  )}
78
78
  </Paper>
79
79
  ),
80
- args: { variant: 'Headline2_B' },
80
+ args: { variant: 'Headline' },
81
81
  };
82
82
 
83
83
  export const Ellipsis: Story = {
84
84
  render: ({ variant, ...args }) => (
85
85
  <Paper>
86
- <Typography variant="Body1" ellipsis={1} maxWidth={160} {...args}>
86
+ <Typography variant="UIBody2" ellipsis={1} maxWidth={160} {...args}>
87
87
  아주긴이름아주긴이름아주긴이 름아주긴이름아주
88
88
  긴이름아주긴이름아주긴이름아주긴이름
89
89
  </Typography>
90
90
  </Paper>
91
91
  ),
92
- args: { variant: 'Headline2_B' },
92
+ args: { variant: 'Headline' },
93
93
  };
94
94
 
95
95
  export default meta;
@@ -31,7 +31,7 @@ const _BaseToggle: ForwardRefRenderFunction<
31
31
  ) => {
32
32
  const isStringLabel = typeof _label === 'string';
33
33
  const label = isStringLabel ? (
34
- <Typography variant="Body1">{_label}</Typography>
34
+ <Typography variant="UIBody3">{_label}</Typography>
35
35
  ) : (
36
36
  _label
37
37
  );
@@ -6,7 +6,7 @@ import {
6
6
  getTypographyStyles,
7
7
  } from '@remember-web/mixin';
8
8
  import type { ConvertTransientProps } from '@remember-web/shared';
9
- import styled, { css, CSSProperties } from 'styled-components';
9
+ import styled, { css, type CSSProperties } from 'styled-components';
10
10
 
11
11
  import { StyledPopoverContent } from '../Popover/styles';
12
12
 
@@ -15,7 +15,7 @@ export const dropdownMenuItemCSS = css`
15
15
  align-items: center;
16
16
  padding: 8px 12px;
17
17
 
18
- ${getTypographyStyles('Body1')};
18
+ ${getTypographyStyles('UIBody2')};
19
19
  color: ${contents000};
20
20
  transition: background-color 0.07s;
21
21
  border-radius: unset;
@@ -35,7 +35,7 @@ export const DropdownMenuItemDisabledCSS = css`
35
35
 
36
36
  export const StyledDropdownMenuSectionTitle = styled.span`
37
37
  ${dropdownMenuItemCSS};
38
- ${getTypographyStyles('Body2_M')};
38
+ ${getTypographyStyles('Caption1')};
39
39
  color: ${contents200};
40
40
  `;
41
41
 
@@ -58,6 +58,10 @@ export const getDropdownMenuItemCss = ({
58
58
  css`
59
59
  font-weight: ${$active ? 600 : 400};
60
60
 
61
+ &:hover{
62
+ font-weight: 600;
63
+ }
64
+
61
65
  &:focus-visible {
62
66
  outline: none;
63
67
  }
@@ -73,12 +77,13 @@ export const StyledDropdownMenuItem = styled.div.attrs<DropdownMenuItemProps>(
73
77
  })
74
78
  )<StyledDropdownMenuItemProps>(getDropdownMenuItemCss);
75
79
 
76
-
77
- export const StyledDropdownMenuContentWrapper = styled.div<{$zIndex?: CSSProperties['zIndex']}>`
80
+ export const StyledDropdownMenuContentWrapper = styled.div<{
81
+ $zIndex?: CSSProperties['zIndex'];
82
+ }>`
78
83
  [data-radix-popper-content-wrapper]{
79
- ${({$zIndex}) => $zIndex && css` z-index: ${$zIndex} !important; `}
84
+ ${({ $zIndex }) => $zIndex && css` z-index: ${$zIndex} !important; `}
80
85
  }
81
- `
86
+ `;
82
87
 
83
88
  export const StyledDropdownMenuSection = styled.div``;
84
89
 
@@ -9,8 +9,8 @@ import {
9
9
  } from '@remember-web/mixin';
10
10
  import styled, { css, keyframes } from 'styled-components';
11
11
 
12
+ import type { CSSProperties } from 'react';
12
13
  import type { TooltipSize, TooltipTextAlign } from './types';
13
- import { CSSProperties } from 'react';
14
14
 
15
15
  const TOOLTIP_CONTENT_CONSTANTS: Record<
16
16
  TooltipSize,
@@ -18,11 +18,11 @@ const TOOLTIP_CONTENT_CONSTANTS: Record<
18
18
  > = {
19
19
  large: {
20
20
  padding: '8px 12px',
21
- typography: 'Body1',
21
+ typography: 'UIBody2',
22
22
  },
23
23
  small: {
24
24
  padding: '4px 8px',
25
- typography: 'Body2',
25
+ typography: 'UIBody3',
26
26
  },
27
27
  };
28
28
 
@@ -43,11 +43,13 @@ export const TooltipTriggerWrapper = styled.div`
43
43
  }
44
44
  `;
45
45
 
46
- export const TooltipContentWrapper = styled.div<{$zIndex?: CSSProperties['zIndex']}>`
46
+ export const TooltipContentWrapper = styled.div<{
47
+ $zIndex?: CSSProperties['zIndex'];
48
+ }>`
47
49
  [data-radix-popper-content-wrapper]{
48
- ${({$zIndex}) => $zIndex && css` z-index: ${$zIndex} !important; `}
50
+ ${({ $zIndex }) => $zIndex && css` z-index: ${$zIndex} !important; `}
49
51
  }
50
- `
52
+ `;
51
53
 
52
54
  export const TooltipContent = styled(RadixTooltip.Content)<{
53
55
  $size: TooltipSize;
@@ -65,13 +67,7 @@ export const TooltipContent = styled(RadixTooltip.Content)<{
65
67
  will-change: opacity;
66
68
  animation: ${fadeIn} 200ms forwards;
67
69
  gap: 4px;
68
- ${({
69
- $size,
70
- $maxWidth,
71
- $backgroundColor,
72
- $contentColor,
73
- $textAlign,
74
- }) => [
70
+ ${({ $size, $maxWidth, $backgroundColor, $contentColor, $textAlign }) => [
75
71
  css`
76
72
  padding: ${TOOLTIP_CONTENT_CONSTANTS[$size].padding};
77
73
  ${getTypographyStyles(TOOLTIP_CONTENT_CONSTANTS[$size].typography)};
@@ -16,7 +16,7 @@ export const StyledSelect = styled.select<{
16
16
  }>`
17
17
  all: unset;
18
18
 
19
- ${getTypographyStyles('Body1_M')}
19
+ ${getTypographyStyles('UIBody2')}
20
20
  border: 1px solid ${contents300};
21
21
  border-radius: 4px;
22
22
  padding: 10px 36px 10px 12px;
@@ -11,7 +11,7 @@ import {
11
11
  import styled from 'styled-components';
12
12
 
13
13
  export const SelectContainer = styled.div<{ $width?: number | string }>`
14
- ${getTypographyStyles('Body1_M')}
14
+ ${getTypographyStyles('UIBody2')}
15
15
  color: ${contents000};
16
16
  width: ${({ $width }) => {
17
17
  if (!$width) {
@@ -39,7 +39,7 @@ export const SelectContainer = styled.div<{ $width?: number | string }>`
39
39
  `;
40
40
 
41
41
  export const SelectLabel = styled.label`
42
- ${getTypographyStyles('Headline4_B')}
42
+ ${getTypographyStyles('SubTitle1')}
43
43
  display: block;
44
44
  margin-bottom: 12px;
45
45
  display: flex;
@@ -39,6 +39,13 @@ const TextInput: ForwardRefRenderFunction<HTMLInputElement, InputProps> = (
39
39
  props.hasTogglePasswordVisibilityButton &&
40
40
  isVisiblePassword;
41
41
 
42
+ // NOTE: InputInner 컴포넌트에 전달되는 input native 속성에 커스텀 props인 hasTogglePasswordVisibilityButton가 전달되지 않도록 하는 처리
43
+ // type === 'password' 일 때에 hasTogglePasswordVisibilityButton 속성이 존재할 수 있음.
44
+ const inputInnerProps = {
45
+ ...props,
46
+ hasTogglePasswordVisibilityButton: undefined,
47
+ };
48
+
42
49
  return (
43
50
  <InputWrapper $width={width}>
44
51
  {label && (
@@ -49,7 +56,7 @@ const TextInput: ForwardRefRenderFunction<HTMLInputElement, InputProps> = (
49
56
  )}
50
57
  <InputContainer
51
58
  disabled={disabled}
52
- hasError={!!errorMessage}
59
+ $hasError={!!errorMessage}
53
60
  className={className}
54
61
  >
55
62
  {leftElement && <InputDecorator>{leftElement}</InputDecorator>}
@@ -57,7 +64,7 @@ const TextInput: ForwardRefRenderFunction<HTMLInputElement, InputProps> = (
57
64
  disabled={disabled}
58
65
  id={inputId}
59
66
  aria-labelledby={label ? labelId : undefined}
60
- {...props}
67
+ {...inputInnerProps}
61
68
  type={isForceVisibleInput ? 'text' : props.type || 'text'}
62
69
  ref={ref}
63
70
  />
@@ -23,7 +23,7 @@ export const InputWrapper = styled.div<{ $width?: string | number }>`
23
23
 
24
24
  export const InputContainer = styled.div<{
25
25
  disabled?: boolean;
26
- hasError?: boolean;
26
+ $hasError?: boolean;
27
27
  }>`
28
28
  display: flex;
29
29
  align-items: center;
@@ -36,8 +36,8 @@ export const InputContainer = styled.div<{
36
36
  border-color 0.2s,
37
37
  background-color 0.2s;
38
38
 
39
- ${({ hasError, disabled }) => [
40
- hasError
39
+ ${({ $hasError, disabled }) => [
40
+ $hasError
41
41
  ? css`
42
42
  border-color: ${roleRed};
43
43
  `
@@ -62,7 +62,7 @@ export const InputDecorator = styled.div`
62
62
  `;
63
63
 
64
64
  export const InputInner = styled.input`
65
- ${getTypographyStyles('Body1_M')}
65
+ ${getTypographyStyles('UIBody2')}
66
66
  color: ${contents000};
67
67
 
68
68
  display: block;
@@ -86,7 +86,7 @@ export const InputInner = styled.input`
86
86
  `;
87
87
 
88
88
  export const InputLabel = styled.label`
89
- ${getTypographyStyles('Headline4_B')}
89
+ ${getTypographyStyles('SubTitle1')}
90
90
  display: block;
91
91
  margin-bottom: 12px;
92
92
  display: flex;
@@ -100,14 +100,14 @@ export const InputLabel = styled.label`
100
100
  `;
101
101
 
102
102
  export const InputError = styled.div`
103
- ${getTypographyStyles('Body2_M')}
103
+ ${getTypographyStyles('Caption1')}
104
104
  color: ${roleRed};
105
105
 
106
106
  margin-top: 8px;
107
107
  `;
108
108
 
109
109
  export const InputHintText = styled.span<{ textColor?: ColorVariable }>`
110
- ${getTypographyStyles('Body1_M')}
110
+ ${getTypographyStyles('UIBody2')}
111
111
  color: ${({ textColor }) => textColor};
112
112
  white-space: nowrap;
113
113
  `;
@@ -1,6 +1,6 @@
1
1
  import type { GetStyledComponentProps } from '@remember-web/shared';
2
2
 
3
- import { Divider } from '@/Common';
3
+ import { Divider, Flex, Typography } from '@/Common';
4
4
  import type { RememberLogoProps } from '@/Logos/types';
5
5
 
6
6
  import { RememberLogo } from '../RememberLogo';
@@ -22,10 +22,12 @@ export const RememberServiceLogo = <As,>({
22
22
  <StyledServiceLogoRoot $color={color} {...props}>
23
23
  <RememberLogo color={color} />
24
24
  {label && (
25
- <>
25
+ <Flex gap={8}>
26
26
  <Divider decorative orientation="vertical" style={{ height: '15px' }} />
27
- <b>{label}</b>
28
- </>
27
+ <Typography variant="SubTitle1" style={{ lineHeight: 1 }}>
28
+ {label}
29
+ </Typography>
30
+ </Flex>
29
31
  )}
30
32
  </StyledServiceLogoRoot>
31
33
  );
@@ -7,12 +7,6 @@ export const StyledServiceLogoRoot = styled.a<{ $color?: string }>`
7
7
  color: ${({ $color = contents000 }) => $color};
8
8
 
9
9
  display: flex;
10
- align-items: end;
10
+ align-items: flex-end;
11
11
  gap: 8px;
12
-
13
- > b {
14
- ${getTypographyStyles('Title2')};
15
- text-decoration: none;
16
- line-height: 16px;
17
- }
18
12
  `;
@@ -66,7 +66,7 @@ export const IconButton = styled.button`
66
66
  `;
67
67
 
68
68
  export const DialogTitle = styled(DialogPrimitive.Title)`
69
- ${getTypographyStyles('Headline4_B')}
69
+ ${getTypographyStyles('SubTitle1')}
70
70
 
71
71
  color: ${contents000};
72
72
  margin: 0;
@@ -75,7 +75,7 @@ export const DialogTitle = styled(DialogPrimitive.Title)`
75
75
  `;
76
76
 
77
77
  export const DialogDescription = styled(DialogPrimitive.Description)`
78
- ${getTypographyStyles('Body1_M')}
78
+ ${getTypographyStyles('UIBody3')}
79
79
 
80
80
  color: ${contents100};
81
81
  margin: 4px 0 24px;
@@ -30,7 +30,7 @@ export const PaginationContainer = styled.nav`
30
30
  export const CompactPaginationContainer = styled.div`
31
31
  all: unset;
32
32
 
33
- ${getTypographyStyles('Body1_M')}
33
+ ${getTypographyStyles('UIBody3')}
34
34
  gap: 16px;
35
35
  display: flex;
36
36
  align-items: center;
@@ -39,7 +39,7 @@ export const CompactPaginationContainer = styled.div`
39
39
  `;
40
40
 
41
41
  export const CurrentPage = styled.span`
42
- ${getTypographyStyles('Body1_B')}
42
+ ${getTypographyStyles('SubTitle2')}
43
43
  `;
44
44
 
45
45
  export const Pages = styled.ul`
@@ -55,7 +55,7 @@ const DefaultButton = styled.button.attrs({ type: 'button' })`
55
55
  appearance: none;
56
56
  box-sizing: border-box;
57
57
 
58
- ${getTypographyStyles('Body1_M')}
58
+ ${getTypographyStyles('UIBody3')}
59
59
  display: grid;
60
60
  place-items: center;
61
61
 
package/src/index.ts CHANGED
@@ -8,3 +8,4 @@ export * from './Modals';
8
8
  export * from './Paginations';
9
9
  export * from './Inputs';
10
10
  export * from './Floating';
11
+ export * from './Chips';
@@ -44,7 +44,7 @@ export const TableHeader = styled.thead``;
44
44
 
45
45
  export const TableBody = styled.tbody``;
46
46
 
47
- const Th = styled.th<{ align?: TextAlign }>`
47
+ const Th = styled.th<{ align?: TextAlign; rowSpan?: number }>`
48
48
  border: 1px solid ${contents100};
49
49
  border-width: 1px 0 1px 0;
50
50
  padding: 10px;
@@ -52,7 +52,7 @@ const Th = styled.th<{ align?: TextAlign }>`
52
52
  vertical-align: middle;
53
53
  `;
54
54
 
55
- const Td = styled.td<{ align?: TextAlign }>`
55
+ const Td = styled.td<{ align?: TextAlign; rowSpan?: number }>`
56
56
  border-bottom: 1px solid ${contents300};
57
57
  vertical-align: top;
58
58
  padding: 20px 10px;
@@ -63,16 +63,22 @@ const Td = styled.td<{ align?: TextAlign }>`
63
63
  export const TableColumn = ({
64
64
  isHeader,
65
65
  align = 'left',
66
+ rowSpan,
66
67
  children,
67
68
  }: {
68
69
  isHeader?: boolean;
69
70
  align?: TextAlign;
71
+ rowSpan?: number;
70
72
  children: ReactNode;
71
73
  }) =>
72
74
  isHeader ? (
73
- <Th align={align}>{children}</Th>
75
+ <Th align={align} rowSpan={rowSpan}>
76
+ {children}
77
+ </Th>
74
78
  ) : (
75
- <Td align={align}>{children}</Td>
79
+ <Td align={align} rowSpan={rowSpan}>
80
+ {children}
81
+ </Td>
76
82
  );
77
83
 
78
84
  export const TableRow = styled.tr``;