diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..76add87 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules +dist \ No newline at end of file diff --git a/app.tsx b/app.tsx new file mode 100644 index 0000000..04f6d56 --- /dev/null +++ b/app.tsx @@ -0,0 +1,641 @@ +/* eslint-disable max-lines */ +'use client' + +import React, { useState } from 'react' +import { toast } from 'sonner' + +import { + Button, + Checkbox, + Combobox, + ComboboxContent, + ComboboxItem, + ComboboxTrigger, + Command, + CommandEmpty, + CommandGroup, + CommandInput, + CommandItem, + CommandList, + Dialog, + DialogClose, + DialogContent, + DialogDescription, + DialogFooter, + DialogHeader, + DialogTitle, + DialogTrigger, + Kbd, + NavigationMenu, + NavigationMenuContent, + NavigationMenuItem, + NavigationMenuLink, + NavigationMenuTrigger, + NumberInput, + RadioGroup, + RadioGroupItem, + Select, + SelectContent, + SelectItem, + SelectTrigger, + Separator, + Skeleton, + Switch, + Tabs, + TabsContent, + TabsTrigger, + TabsTriggerList, + TextArea, + TextInput, + Toggle, + ToggleGroup, + ToggleGroupItem, +} from '@/components' +import { Field } from '@/components/_shared/components/field/field/field' +import { FieldLabel } from '@/components/_shared/components/field/field-label/field-label' +import { FieldMessage } from '@/components/_shared/components/field/field-message/field-message' +import { + Accordion, + AccordionContent, + AccordionItem, + AccordionTrigger, +} from '@/components/accordion' +import { AspectRatio } from '@/components/aspect-ratio' +import { Box } from '@/components/box' +import { + Card, + CardBody, + CardDescription, + CardFooter, + CardHeader, + CardTitle, +} from '@/components/card' +import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/collapsible' +import { Container } from '@/components/container' +import { Flex } from '@/components/flex' +import { Form } from '@/components/form' +import { Grid } from '@/components/grid' +import { Heading } from '@/components/heading' +import { Label } from '@/components/label' +import { linkClasses } from '@/components/link' +import { Popover, PopoverContent, PopoverTrigger } from '@/components/popover' +import { Progress } from '@/components/progress' +import { + Sheet, + SheetContent, + SheetDescription, + SheetFooter, + SheetHeader, + SheetTitle, + SheetTrigger, +} from '@/components/sheet' +import { Slider, SliderThumb } from '@/components/slider' +import { Text } from '@/components/text' +import { Toaster } from '@/components/toast' +import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/tooltip' + +const App = () => { + console.log('App') + + const [state, setState] = useState(false) + + return ( +
+
+ + + + + + + + +
+ + + + Accordion 1 + Content 1 + + + Accordion 1 + Content 1 + + + Accordion 1 + Content 1 + + + + random + + Red + Contained + + I am being flexed + I am being flexed too + +
console.log(fields)}> + + + + +
+ +
I am in a grid
+
I am in a grid too
+
I am in a grid too too
+ +
+ + + + {/* */} + + + I am header of a card + description + + I am a body of a card + + + + + + Hi i am a textual text! + Heading 1 + Heading 1 + Heading 1 + Heading 1 + Heading 1 + Heading 1 + +
+ + Trigger popover + + Content popover Content popoverContent popoverContent popover Content popover + + + + Trigger tooltip + This is content + +
+ + Sign in + + + Edit title + Editing a title has serious... + + Lovro je najbolji + + + + + + + + + + Sign up + + + Edit title + Editing a title has serious... + + Lovro je najbolji + + + + + + + + Collapsible trigger + Content + +
+ + + Home + + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + + + + Business + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + + + + + Other + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + Plisani igracke + + Pronadite najbolje plisane igracke. + + + + + + + + + Toggle + + + + + Item 1 + Item 2 + + + + + + Item 1 + Item 2 + + Item 3 + + + Content 1 + Content 2 + Content 3 + + + + + + No results. + + + + + + + + + + + + + + + + + + + + Item 1 + Item 2 + Item 3 + + + + + + + + + console.log('afe')} + keyCombination={['Control', 'k']} + keyCombinationOptions={{ + preventDefault: true, + }} + > + Shift + 3 + + + + + + + + + + + + +