Skip to content

Commit 1251a11

Browse files
authored
feat: add DecimalDecreaseIcon and DecimalIncreaseIcon (#789)
1 parent 78dc7da commit 1251a11

File tree

5 files changed

+49
-1
lines changed

5 files changed

+49
-1
lines changed

.changeset/tender-grapes-pay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": patch
3+
---
4+
5+
Add DecimalDecreaseIcon.tsx and DecimalIncreaseIcon.tsx.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
"clear": "pnpm clear:dist && rimraf ./storybook-docs ./storybook-static ./node_modules/.cache",
4848
"clear:dist": "rimraf ./dist",
4949
"release": "pnpm build && changeset publish",
50-
"postinstall": "git config blame.ignoreRevsFile .git-blame-ignore-revs"
50+
"postinstall": "git config blame.ignoreRevsFile .git-blame-ignore-revs",
51+
"add-icons": "cd src/icons && node add-new-icon.js"
5152
},
5253
"publishConfig": {
5354
"directory": "dist"

src/icons/DecimalDecreaseIcon.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { wrapIcon } from './wrap-icon';
2+
3+
export const DecimalDecreaseIcon = wrapIcon(
4+
'DecimalDecreaseIcon',
5+
<svg
6+
xmlns="http://www.w3.org/2000/svg"
7+
width="24"
8+
height="24"
9+
fill="none"
10+
viewBox="0 0 24 24"
11+
>
12+
<path
13+
stroke="#000"
14+
strokeLinecap="round"
15+
strokeLinejoin="round"
16+
strokeWidth="1.5"
17+
d="M5 11h.01M15.5 21 13 18m0 0 2.5-3M13 18h6M10 3a2 2 0 0 1 2 2v4a2 2 0 1 1-4 0V5a2 2 0 0 1 2-2"
18+
/>
19+
</svg>,
20+
);

src/icons/DecimalIncreaseIcon.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { wrapIcon } from './wrap-icon';
2+
3+
export const DecimalIncreaseIcon = wrapIcon(
4+
'DecimalIncreaseIcon',
5+
<svg
6+
xmlns="http://www.w3.org/2000/svg"
7+
width="24"
8+
height="24"
9+
fill="none"
10+
viewBox="0 0 24 24"
11+
>
12+
<path
13+
stroke="#000"
14+
strokeLinecap="round"
15+
strokeLinejoin="round"
16+
strokeWidth="1.5"
17+
d="M5 11h.01M16.5 21l2.5-3m0 0-2.5-3m2.5 3h-6m4-15a2 2 0 0 1 2 2v4a2 2 0 1 1-4 0V5a2 2 0 0 1 2-2m-7 0a2 2 0 0 1 2 2v4a2 2 0 1 1-4 0V5a2 2 0 0 1 2-2"
18+
/>
19+
</svg>,
20+
);

src/icons/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ export { CubeIcon } from './CubeIcon';
4444
export { DangerIcon } from './DangerIcon';
4545
export { DashboardIcon } from './DashboardIcon';
4646
export { DatabaseIcon } from './DatabaseIcon';
47+
export { DecimalDecreaseIcon } from './DecimalDecreaseIcon';
48+
export { DecimalIncreaseIcon } from './DecimalIncreaseIcon';
4749
export { DirectionIcon } from './DirectionIcon';
4850
export { DonutIcon } from './DonutIcon';
4951
export { DownIcon } from './DownIcon';

0 commit comments

Comments
 (0)