-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e2e55b
commit f6655ad
Showing
235 changed files
with
4,519 additions
and
9,289 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,69 @@ | ||
import { Tabs, TabsTrigger, TabsTriggerList, TextArea } from '@/components' | ||
import React, { useState } from 'react' | ||
import { | ||
Button, | ||
Combobox, | ||
ComboboxContent, | ||
ComboboxItem, | ||
ComboboxTrigger, | ||
Drawer, | ||
DrawerContent, | ||
DrawerTrigger, | ||
Popover, | ||
PopoverContent, | ||
PopoverTrigger, | ||
Select, | ||
SelectContent, | ||
SelectItem, | ||
SelectTrigger, | ||
} from "@/components"; | ||
import { DrawerClose } from "@/components/drawer/components/drawer-close"; | ||
import { DrawerDescription } from "@/components/drawer/components/drawer-description"; | ||
import { DrawerHeader } from "@/components/drawer/components/drawer-header"; | ||
import { DrawerTitle } from "@/components/drawer/components/drawer-title"; | ||
import React, { useState } from "react"; | ||
|
||
const App = () => { | ||
const [state, setValue] = useState('') | ||
const [state, setValue] = useState(""); | ||
|
||
return ( | ||
<div className='h-screen w-full flex flex-col justify-center items-center gap-8'> | ||
<Tabs value={state} onValueChange={setValue}> | ||
<TabsTriggerList> | ||
<TabsTrigger asChild value={1}> | ||
{({ isSelected, ChildrenContainer, Cursor }) => ( | ||
<span> | ||
<ChildrenContainer>Text</ChildrenContainer> | ||
{isSelected ? <Cursor /> : null} | ||
</span> | ||
)} | ||
</TabsTrigger> | ||
<TabsTrigger value={2}>Trigger 2</TabsTrigger> | ||
</TabsTriggerList> | ||
</Tabs> | ||
<TextArea /> | ||
<div className="h-screen w-full flex justify-center items-center gap-8"> | ||
{/* <Popover shouldForwardOutsideInteraction> | ||
<PopoverTrigger>Trigger</PopoverTrigger> | ||
<PopoverContent> | ||
<Button>Button</Button> | ||
</PopoverContent> | ||
</Popover> | ||
<Popover> | ||
<PopoverTrigger>Trigger</PopoverTrigger> | ||
<PopoverContent> | ||
<Button>Button</Button> | ||
</PopoverContent> | ||
</Popover> | ||
<Select> | ||
<SelectTrigger>Trigger</SelectTrigger> | ||
<SelectContent hasScroll={false}> | ||
<SelectItem value='item-1'>Item</SelectItem> | ||
<SelectItem value='item-2'>Item 2</SelectItem> | ||
</SelectContent> | ||
</Select> */} | ||
{/* <Combobox> | ||
<ComboboxTrigger>Trigger</ComboboxTrigger> | ||
<ComboboxContent hasScroll={false} emptyContent={'No data.'}> | ||
<ComboboxItem value='item-1'>Item</ComboboxItem> | ||
<ComboboxItem value='item-2'>Item 2</ComboboxItem> | ||
</ComboboxContent> | ||
</Combobox> */} | ||
<Drawer> | ||
<DrawerTrigger>Trigger</DrawerTrigger> | ||
<DrawerContent> | ||
<DrawerClose>X</DrawerClose> | ||
<DrawerHeader> | ||
<DrawerTitle>Title</DrawerTitle> | ||
<DrawerDescription>Description</DrawerDescription> | ||
</DrawerHeader> | ||
</DrawerContent> | ||
</Drawer> | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export { App } | ||
export { App }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
src/components/_shared/components/icons/caret-sort-icon.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import React from 'react' | ||
import React from "react"; | ||
|
||
const CaretSortIcon = (props: React.ComponentPropsWithoutRef<'svg'>) => { | ||
const CaretSortIcon = (props: React.ComponentPropsWithRef<"svg">) => { | ||
return ( | ||
<svg width='15' height='15' viewBox='0 0 15 15' fill='none' {...props}> | ||
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" {...props}> | ||
<path | ||
d='M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z' | ||
fill='currentColor' | ||
fillRule='evenodd' | ||
clipRule='evenodd' | ||
d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" | ||
fill="currentColor" | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
/> | ||
</svg> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export { CaretSortIcon } | ||
export { CaretSortIcon }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import React from 'react' | ||
import React from "react"; | ||
|
||
const CheckIcon = (props: React.ComponentPropsWithoutRef<'svg'>) => { | ||
const CheckIcon = (props: React.ComponentPropsWithRef<"svg">) => { | ||
return ( | ||
<svg width='15' height='15' viewBox='0 0 15 15' fill='none' {...props}> | ||
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" {...props}> | ||
<path | ||
d='M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z' | ||
fill='currentColor' | ||
fillRule='evenodd' | ||
clipRule='evenodd' | ||
d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" | ||
fill="currentColor" | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
/> | ||
</svg> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export { CheckIcon } | ||
export { CheckIcon }; |
Oops, something went wrong.