Skip to content
Open
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/add-pop-in-icon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clickhouse/click-ui": minor
---

Add the `popin` icon to the icon library.
22 changes: 22 additions & 0 deletions src/components/Assets/Icons/Popin.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import type { SVGAssetProps } from '@/types';

const Popin = (props: SVGAssetProps) => (
<svg
xmlns="http://www.w3.org/2000/svg"
width={24}
height={24}
viewBox="0 0 24 24"
fill="none"
{...props}
>
<path
stroke="#161517"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={1.5}
d="M19 10h-5V5M21 3l-7 7M19 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h5"
/>
</svg>
);

export default Popin;
2 changes: 2 additions & 0 deletions src/components/Assets/Icons/system/IconsDark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ import Play from '../Play';
import Play_In_Circle from '../Play-In-Circle';
import Plug from '../Plug';
import Plus from '../Plus';
import Popin from '../Popin';
import Popout from '../Popout';
import Popover_Arrow from '../Popover-Arrow';
import Puzzle_Piece from '../Puzzle-Piece';
Expand Down Expand Up @@ -305,6 +306,7 @@ const IconsDark: Record<IconName, ComponentType<SVGAssetProps>> = {
'play-in-circle': Play_In_Circle,
plug: Plug,
plus: Plus,
popin: Popin,
popout: Popout,
'popover-arrow': Popover_Arrow,
'puzzle-piece': Puzzle_Piece,
Expand Down
2 changes: 2 additions & 0 deletions src/components/Assets/Icons/system/IconsLight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ import Play from '../Play';
import Play_In_Circle from '../Play-In-Circle';
import Plug from '../Plug';
import Plus from '../Plus';
import Popin from '../Popin';
import Popout from '../Popout';
import Popover_Arrow from '../Popover-Arrow';
import Puzzle_Piece from '../Puzzle-Piece';
Expand Down Expand Up @@ -305,6 +306,7 @@ const IconsLight: Record<IconName, ComponentType<SVGAssetProps>> = {
'play-in-circle': Play_In_Circle,
plug: Plug,
plus: Plus,
popin: Popin,
popout: Popout,
'popover-arrow': Popover_Arrow,
'puzzle-piece': Puzzle_Piece,
Expand Down
1 change: 1 addition & 0 deletions src/components/Assets/Icons/system/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export type IconName =
| 'play-in-circle'
| 'plug'
| 'plus'
| 'popin'
| 'popout'
| 'popover-arrow'
| 'puzzle-piece'
Expand Down
1 change: 1 addition & 0 deletions src/components/Assets/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export const ASSET_NAME_MAPPINGS = {
PlayInCircle: 'play-in-circle',
Plug: 'plug',
Plus: 'plus',
Popin: 'popin',
Popout: 'popout',
PopoverArrow: 'popover-arrow',
PuzzlePiece: 'puzzle-piece',
Expand Down
Loading