diff --git a/example/src/Home/Icons.tsx b/example/src/Home/Icons.tsx index fa1a9da..0ce213b 100644 --- a/example/src/Home/Icons.tsx +++ b/example/src/Home/Icons.tsx @@ -11,10 +11,7 @@ const Icons = () => { fill="red" /> - + ) } diff --git a/package.json b/package.json index e1a3a45..ae6a097 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kaiachain/kaia-design-system", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "type": "module", "main": "dist/index.js", diff --git a/src/components/Button/Button.test.tsx b/src/components/Button/Button.test.tsx index d59de69..2b133b2 100644 --- a/src/components/Button/Button.test.tsx +++ b/src/components/Button/Button.test.tsx @@ -11,8 +11,8 @@ jest.mock('../../hooks', () => ({ }), })) -jest.mock('../../icons/ArrowLineUpRight.svg', () => () => ( -
ArrowLineUpRight
+jest.mock('../../icons/ArrowBarUpRight.svg', () => () => ( +
ArrowBarUpRight
)) jest.mock('../../icons/ChevronRight.svg', () => () =>
ChevronRight
) jest.mock('../../icons/Check.svg', () => () =>
Check
) diff --git a/src/components/Button/Button.tsx b/src/components/Button/Button.tsx index 1f9f1c9..74ea6b6 100644 --- a/src/components/Button/Button.tsx +++ b/src/components/Button/Button.tsx @@ -5,7 +5,7 @@ import { darkTheme, KaFontType, themeFunc } from '../../styles' import { KaText } from '../Text/Text' import { useKaTheme } from '../../hooks' import ChevronRight from '../../icons/ChevronRight.svg' -import ArrowLineUpRight from '../../icons/ArrowLineUpRight.svg' +import ArrowBarUpRight from '../../icons/ArrowBarUpRight.svg' import Check from '../../icons/Check.svg' const StyledButton = styled.button` @@ -236,7 +236,7 @@ export const KaButton = ({ ) case 'upright': return ( - diff --git a/src/icons/ArrowLineUpRIght.svg b/src/icons/ArrowBarUpRight.svg similarity index 100% rename from src/icons/ArrowLineUpRIght.svg rename to src/icons/ArrowBarUpRight.svg diff --git a/src/icons/index.ts b/src/icons/index.ts index 59a749a..88a0d2d 100644 --- a/src/icons/index.ts +++ b/src/icons/index.ts @@ -1,21 +1,21 @@ -import ArrowLineUpRight from './ArrowLineUpRight.svg'; -import ArrowUpRight from './ArrowUpRight.svg'; -import Check from './Check.svg'; -import ChevronBottom from './ChevronBottom.svg'; -import ChevronLeft from './ChevronLeft.svg'; -import ChevronRight from './ChevronRight.svg'; -import ChevronTop from './ChevronTop.svg'; -import CircleInfoFilled from './CircleInfoFilled.svg'; -import CircleQuestion from './CircleQuestion.svg'; -import IndentDownRight from './IndentDownRight.svg'; -import Minus from './Minus.svg'; -import Paste from './Paste.svg'; -import Plus from './Plus.svg'; -import Search from './Search.svg'; -import X from './X.svg'; +import ArrowBarUpRight from './ArrowBarUpRight.svg' +import ArrowUpRight from './ArrowUpRight.svg' +import Check from './Check.svg' +import ChevronBottom from './ChevronBottom.svg' +import ChevronLeft from './ChevronLeft.svg' +import ChevronRight from './ChevronRight.svg' +import ChevronTop from './ChevronTop.svg' +import CircleInfoFilled from './CircleInfoFilled.svg' +import CircleQuestion from './CircleQuestion.svg' +import IndentDownRight from './IndentDownRight.svg' +import Minus from './Minus.svg' +import Paste from './Paste.svg' +import Plus from './Plus.svg' +import Search from './Search.svg' +import X from './X.svg' export default { - ArrowLineUpRight, + ArrowBarUpRight, ArrowUpRight, Check, ChevronBottom, @@ -30,4 +30,4 @@ export default { Plus, Search, X, -}; +}