Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tender-grapes-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Add DecimalDecreaseIcon.tsx and DecimalIncreaseIcon.tsx.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"clear": "pnpm clear:dist && rimraf ./storybook-docs ./storybook-static ./node_modules/.cache",
"clear:dist": "rimraf ./dist",
"release": "pnpm build && changeset publish",
"postinstall": "git config blame.ignoreRevsFile .git-blame-ignore-revs"
"postinstall": "git config blame.ignoreRevsFile .git-blame-ignore-revs",
"add-icons": "cd src/icons && node add-new-icon.js"
},
"publishConfig": {
"directory": "dist"
Expand Down
20 changes: 20 additions & 0 deletions src/icons/DecimalDecreaseIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { wrapIcon } from './wrap-icon';

export const DecimalDecreaseIcon = wrapIcon(
'DecimalDecreaseIcon',
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
fill="none"
viewBox="0 0 24 24"
>
<path
stroke="#000"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
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"
/>
</svg>,
);
20 changes: 20 additions & 0 deletions src/icons/DecimalIncreaseIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { wrapIcon } from './wrap-icon';

export const DecimalIncreaseIcon = wrapIcon(
'DecimalIncreaseIcon',
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
fill="none"
viewBox="0 0 24 24"
>
<path
stroke="#000"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
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"
/>
</svg>,
);
2 changes: 2 additions & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export { CubeIcon } from './CubeIcon';
export { DangerIcon } from './DangerIcon';
export { DashboardIcon } from './DashboardIcon';
export { DatabaseIcon } from './DatabaseIcon';
export { DecimalDecreaseIcon } from './DecimalDecreaseIcon';
export { DecimalIncreaseIcon } from './DecimalIncreaseIcon';
export { DirectionIcon } from './DirectionIcon';
export { DonutIcon } from './DonutIcon';
export { DownIcon } from './DownIcon';
Expand Down
Loading