Skip to content

Commit

Permalink
refactor: input 컴포넌트 info 상태 옵션 추가 (#ATR-603)
Browse files Browse the repository at this point in the history
  • Loading branch information
LC-02s committed Aug 28, 2024
1 parent f8644f5 commit ac07a87
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,10 @@
color: variable.$ds-green-300;
}
}
*[class$='--info'] & {
color: variable.$ds-blue-400;
.dark & {
color: variable.$ds-blue-300;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const meta: Meta<typeof Select> = {
state: {
description: '셀렉트 박스의 상태를 지정합니다.',
control: 'select',
options: ['default', 'danger', 'warn', 'success'],
options: ['default', 'danger', 'warn', 'success', 'info'],
table: {
type: {
summary: ['default', 'danger', 'warn', 'success'].join(' | '),
summary: ['default', 'danger', 'warn', 'success', 'info'].join(' | '),
},
defaultValue: { summary: 'default' },
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const variants = {
danger: getSelectModifier('danger'),
warn: getSelectModifier('warn'),
success: getSelectModifier('success'),
info: getSelectModifier('info'),
},
size: {
md: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const meta: Meta<typeof TextInput> = {
state: {
description: '인풋의 상태를 지정합니다.',
control: 'select',
options: ['default', 'danger', 'warn', 'success'],
options: ['default', 'danger', 'warn', 'success', 'info'],
table: {
type: {
summary: ['default', 'danger', 'warn', 'success'].join(' | '),
summary: ['default', 'danger', 'warn', 'success', 'info'].join(' | '),
},
defaultValue: { summary: 'default' },
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export const variants = {
danger: getTextInputModifier('danger'),
warn: getTextInputModifier('warn'),
success: getTextInputModifier('success'),
info: getTextInputModifier('info'),
},
size: {
md: '',
Expand Down

0 comments on commit ac07a87

Please sign in to comment.