diff --git a/package.json b/package.json index 009e4bc..687556c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@team-return/design-system", - "version": "1.0.81", + "version": "1.0.88", "repository": { "type": "git", "url": "https://github.com/Team-Return/JOBIS-DESIGN-SYSTEM.git" diff --git a/src/components/radiobutton/RadioButton.tsx b/src/components/radiobutton/RadioButton.tsx index c407021..63da17e 100644 --- a/src/components/radiobutton/RadioButton.tsx +++ b/src/components/radiobutton/RadioButton.tsx @@ -10,6 +10,7 @@ interface RadioButtonProps extends marginCssType { disabled?: boolean; onClick?: () => void; value?: string; + checked?: boolean; name?: string; } @@ -20,6 +21,7 @@ export const RadioButton = ({ margin, children, name, + checked, value, }: RadioButtonProps) => { return ( @@ -31,6 +33,7 @@ export const RadioButton = ({ type="radio" value={value} disabled={disabled} + checked={checked} name={name} /> {children} diff --git a/src/components/toast/Toast.tsx b/src/components/toast/Toast.tsx index 9dadd88..d5e165a 100644 --- a/src/components/toast/Toast.tsx +++ b/src/components/toast/Toast.tsx @@ -21,7 +21,7 @@ export const Toast = ({ message = 'Message', }: ToastProps) => { const [isOut, setIsOut] = useState(false); - const { delete: del, list } = useToastStore(); + const { delete: del } = useToastStore(); useEffect(() => { setTimeout(() => { @@ -44,7 +44,6 @@ export const Toast = ({
{title} - {id} {message} diff --git a/src/index.ts b/src/index.ts index e431538..de632ea 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ export * from './components/radiobutton/RadioButton'; export * from './components/modal/Modal'; export * from './components/table/Table'; export * from './components/toast/Toast'; -export * from './components/loading/Loading'; +// export * from './components/loading/Loading'; export * from './components/stack'; export * from './context/ToastContext'; export * from './components/toast/ToastContainer'; diff --git a/src/styles/icon.tsx b/src/styles/icon.tsx index 7dd73e7..b7198cf 100644 --- a/src/styles/icon.tsx +++ b/src/styles/icon.tsx @@ -19,6 +19,8 @@ import Trash from './icons/Trash'; import MyPg from './icons/MyPg'; import EditPencil from './icons/EditPencil'; import KebabMenu from './icons/KebabMenu'; +import BookmarkOn from './icons/BookmarkOn'; +import BookmarkOff from './icons/BookmarkOff'; // Icon paths export const icons = { @@ -43,4 +45,6 @@ export const icons = { MyPg: , EditPencil: , KebabMenu: , + BookmarkOff: , + BookmarkOn: , } as const; diff --git a/src/styles/icons/BookmarkOff.tsx b/src/styles/icons/BookmarkOff.tsx new file mode 100644 index 0000000..f68c68a --- /dev/null +++ b/src/styles/icons/BookmarkOff.tsx @@ -0,0 +1,18 @@ +const BookmarkOff = () => { + return ( + + + + ); +}; + +export default BookmarkOff; diff --git a/src/styles/icons/BookmarkOn.tsx b/src/styles/icons/BookmarkOn.tsx new file mode 100644 index 0000000..1f51106 --- /dev/null +++ b/src/styles/icons/BookmarkOn.tsx @@ -0,0 +1,20 @@ +import Bookmark from './BookmarkOff'; + +const BookmarkOn = () => { + return ( + + + + ); +}; + +export default BookmarkOn; diff --git a/src/styles/icons/EditPencil.tsx b/src/styles/icons/EditPencil.tsx index c80cc62..1764986 100644 --- a/src/styles/icons/EditPencil.tsx +++ b/src/styles/icons/EditPencil.tsx @@ -7,14 +7,14 @@ const EditPencil = () => { fill="none" xmlns="http://www.w3.org/2000/svg" > - + - +