Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Dec 19, 2024
1 parent b3362e3 commit 248d8de
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<script lang="ts">
import * as Accordion from '@repo/ui/accordion'
import { Button } from '@repo/ui/button'
import { Chip } from '@repo/ui/chip'
import { CourseCard } from '@repo/ui/course-card'
import { DayChip } from '@repo/ui/day-chip'
import { GenedChip } from '@repo/ui/gened-chip'
import { Input } from '@repo/ui/input'
import { RecommendedTag } from '@repo/ui/recommended-tag'
import * as Accordion from '@repo/ui/accordion'
let counter = 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import { Accordion as AccordionPrimitive } from 'bits-ui'
import { slide } from 'svelte/transition'
import { cn } from '../../utils'
type $$Props = AccordionPrimitive.ContentProps
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/components/accordion/accordion-item.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import { Accordion as AccordionPrimitive } from 'bits-ui'
import { cn } from '../../utils'
type $$Props = AccordionPrimitive.ItemProps
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import { Accordion as AccordionPrimitive } from 'bits-ui'
import { ChevronDown } from 'lucide-svelte'
import { cn } from '../../utils'
type $$Props = AccordionPrimitive.TriggerProps
Expand Down
9 changes: 5 additions & 4 deletions packages/ui/src/components/accordion/index.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
import { Accordion as AccordionPrimitive } from 'bits-ui'

import Content from './accordion-content.svelte'
import Item from './accordion-item.svelte'
import Trigger from './accordion-trigger.svelte'
const Root = AccordionPrimitive.Root

export {
Root,
Content,
Item,
Trigger,
//
Root as Accordion,
Content as AccordionContent,
Item as AccordionItem,
Trigger as AccordionTrigger,
Content,
Item,
Root,
Trigger,
}

0 comments on commit 248d8de

Please sign in to comment.