Skip to content

Commit

Permalink
Merge pull request #17 from kaiachain/dev
Browse files Browse the repository at this point in the history
Update version to v1.0.1
  • Loading branch information
skqksh authored Oct 18, 2024
2 parents 626c854 + da66f26 commit ddfd252
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 26 deletions.
5 changes: 1 addition & 4 deletions example/src/Home/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ const Icons = () => {
fill="red"
/>
<KaIcon.CircleQuestion style={{ width: 30, height: 20 }} fill="green" />
<KaIcon.ArrowLineUpRight
style={{ width: 50, height: 50 }}
fill="purple"
/>
<KaIcon.ArrowBarUpRight style={{ width: 50, height: 50 }} fill="purple" />
</Row>
)
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Button/Button.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jest.mock('../../hooks', () => ({
}),
}))

jest.mock('../../icons/ArrowLineUpRight.svg', () => () => (
<div>ArrowLineUpRight</div>
jest.mock('../../icons/ArrowBarUpRight.svg', () => () => (
<div>ArrowBarUpRight</div>
))
jest.mock('../../icons/ChevronRight.svg', () => () => <div>ChevronRight</div>)
jest.mock('../../icons/Check.svg', () => () => <div>Check</div>)
Expand Down
4 changes: 2 additions & 2 deletions src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down Expand Up @@ -236,7 +236,7 @@ export const KaButton = ({
)
case 'upright':
return (
<ArrowLineUpRight
<ArrowBarUpRight
style={{ width: iconSize, height: iconSize }}
fill={rest.disabled ? disabledColor : iconColor}
/>
Expand Down
File renamed without changes
34 changes: 17 additions & 17 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -30,4 +30,4 @@ export default {
Plus,
Search,
X,
};
}

0 comments on commit ddfd252

Please sign in to comment.