Skip to content

Commit

Permalink
fix(components): missing relative imports
Browse files Browse the repository at this point in the history
Resolves #2515
  • Loading branch information
benjamincanac committed Nov 2, 2024
1 parent 5a9511f commit 1a93d13
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/components/Accordion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ import { AccordionRoot, AccordionItem, AccordionHeader, AccordionTrigger, Accord
import { reactivePick } from '@vueuse/core'
import { useAppConfig } from '#imports'
import { get } from '../utils'
import UIcon from './Icon.vue'

const props = withDefaults(defineProps<AccordionProps<T>>(), {
type: 'single',
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/Alert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ import { Primitive } from 'radix-vue'
import { useAppConfig } from '#imports'
import UIcon from './Icon.vue'
import UAvatar from './Avatar.vue'
import UButton from './Button.vue'
const props = defineProps<AlertProps>()
const emits = defineEmits<AlertEmits>()
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import { useButtonGroup } from '../composables/useButtonGroup'
import { omit } from '../utils'
import { pickLinkProps } from '../utils/link'
import UIcon from './Icon.vue'
import UAvatar from './Avatar.vue'
import ULink from './Link.vue'
const props = defineProps<ButtonProps>()
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/Checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ import { CheckboxRoot, CheckboxIndicator, Label, useForwardProps } from 'radix-v
import { reactivePick } from '@vueuse/core'
import { useAppConfig } from '#imports'
import { useFormField } from '../composables/useFormField'
import UIcon from './Icon.vue'
const props = defineProps<CheckboxProps>()
const slots = defineSlots<CheckboxSlots>()
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/CommandPalette.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ import { omit, get } from '../utils'
import { highlight } from '../utils/fuse'
import UIcon from './Icon.vue'
import UAvatar from './Avatar.vue'
import UButton from './Button.vue'
import UChip from './Chip.vue'
import UKbd from './Kbd.vue'
import UInput from './Input.vue'
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/Input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import { useComponentIcons } from '../composables/useComponentIcons'
import { useFormField } from '../composables/useFormField'
import { looseToNumber } from '../utils'
import UIcon from './Icon.vue'
import UAvatar from './Avatar.vue'
defineOptions({ inheritAttrs: false })
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/Pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export interface PaginationSlots {
import { PaginationRoot, PaginationList, PaginationListItem, PaginationFirst, PaginationPrev, PaginationEllipsis, PaginationNext, PaginationLast, useForwardPropsEmits } from 'radix-vue'
import { reactivePick } from '@vueuse/core'
import { useAppConfig } from '#imports'
import UButton from './Button.vue'
const props = withDefaults(defineProps<PaginationProps>(), {
size: 'md',
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/Switch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ import { SwitchRoot, SwitchThumb, useForwardProps, Label } from 'radix-vue'
import { reactivePick } from '@vueuse/core'
import { useAppConfig } from '#imports'
import { useFormField } from '../composables/useFormField'
import UIcon from './Icon.vue'
const props = defineProps<SwitchProps>()
const slots = defineSlots<SwitchSlots>()
Expand Down
2 changes: 2 additions & 0 deletions src/runtime/components/Tabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ import { defu } from 'defu'
import { TabsRoot, TabsList, TabsIndicator, TabsTrigger, TabsContent, useForwardPropsEmits } from 'radix-vue'
import { reactivePick } from '@vueuse/core'
import { get } from '../utils'
import UIcon from './Icon.vue'
import UAvatar from './Avatar.vue'

const props = withDefaults(defineProps<TabsProps<T>>(), {
content: true,
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/Toast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ import { reactivePick } from '@vueuse/core'
import { useAppConfig } from '#imports'
import UIcon from './Icon.vue'
import UAvatar from './Avatar.vue'
import UButton from './Button.vue'
const props = withDefaults(defineProps<ToastProps>(), {
close: true
Expand Down

0 comments on commit 1a93d13

Please sign in to comment.