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/funny-ants-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cube-dev/ui-kit": patch
---

Add CubePauseIcon and CubePlayIcon.
20 changes: 20 additions & 0 deletions src/icons/CubePauseIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { wrapIcon } from './wrap-icon';

export const CubePauseIcon = wrapIcon(
'CubePauseIcon',
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
fill="none"
viewBox="0 0 24 24"
>
<path
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M21 12.5V7.991a1.98 1.98 0 0 0-1-1.717l-7-4.008a2.02 2.02 0 0 0-2 0L4 6.273c-.619.355-1 1.01-1 1.718v8.018c0 .709.381 1.363 1 1.717l7 4.008c.305.174.65.265 1 .265m0 0c.35 0 .695-.091 1-.265m-1 .265V12m0 0 8.73-5.04M12 12 3.27 6.96M17 17v5m4-5v5"
/>
</svg>,
);
20 changes: 20 additions & 0 deletions src/icons/CubePlayIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { wrapIcon } from './wrap-icon';

export const CubePlayIcon = wrapIcon(
'CubePlayIcon',
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
fill="none"
viewBox="0 0 24 24"
>
<path
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
d="M21 13.5V7.991a1.98 1.98 0 0 0-1-1.717l-7-4.008a2.02 2.02 0 0 0-2 0L4 6.273c-.619.355-1 1.01-1 1.718v8.018c0 .709.381 1.363 1 1.717l7 4.008c.305.174.65.265 1 .265m0 0c.35 0 .695-.091 1-.265m-1 .265V12m0 0 8.73-5.04M12 12 3.27 6.96M17 16v6l5-3z"
/>
</svg>,
);
2 changes: 2 additions & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ export { CodeIcon } from './CodeIcon';
export { CopyIcon } from './CopyIcon';
export { CountIcon } from './CountIcon';
export { CubeIcon } from './CubeIcon';
export { CubePauseIcon } from './CubePauseIcon';
export { CubePlayIcon } from './CubePlayIcon';
export { CurrencyDollarIcon } from './CurrencyDollarIcon';
export { DangerIcon } from './DangerIcon';
export { DashboardIcon } from './DashboardIcon';
Expand Down
Loading