mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore(components): add eol in script tag to fix syntax highlight
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { AccordionRootProps, AccordionRootEmits } from 'reka-ui'
|
import type { AccordionRootProps, AccordionRootEmits } from 'reka-ui'
|
||||||
import type { AppConfig } from '@nuxt/schema'
|
import type { AppConfig } from '@nuxt/schema'
|
||||||
@@ -60,6 +61,7 @@ export type AccordionSlots<T extends { slot?: string }> = {
|
|||||||
content: SlotProps<T>
|
content: SlotProps<T>
|
||||||
body: SlotProps<T>
|
body: SlotProps<T>
|
||||||
} & DynamicSlots<T, SlotProps<T>>
|
} & DynamicSlots<T, SlotProps<T>>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts" generic="T extends AccordionItem">
|
<script setup lang="ts" generic="T extends AccordionItem">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { AppConfig } from '@nuxt/schema'
|
import type { AppConfig } from '@nuxt/schema'
|
||||||
import _appConfig from '#build/app.config'
|
import _appConfig from '#build/app.config'
|
||||||
@@ -51,6 +52,7 @@ export type BreadcrumbSlots<T extends { slot?: string }> = {
|
|||||||
'item-trailing': SlotProps<T>
|
'item-trailing': SlotProps<T>
|
||||||
'separator'(props?: {}): any
|
'separator'(props?: {}): any
|
||||||
} & DynamicSlots<T, SlotProps<T>>
|
} & DynamicSlots<T, SlotProps<T>>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts" generic="T extends BreadcrumbItem">
|
<script setup lang="ts" generic="T extends BreadcrumbItem">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { VariantProps } from 'tailwind-variants'
|
import type { VariantProps } from 'tailwind-variants'
|
||||||
import type { MaybeRefOrGetter } from '@vueuse/shared'
|
import type { MaybeRefOrGetter } from '@vueuse/shared'
|
||||||
@@ -70,6 +71,7 @@ export type ColorPickerProps = {
|
|||||||
class?: any
|
class?: any
|
||||||
ui?: Partial<typeof colorPicker.slots>
|
ui?: Partial<typeof colorPicker.slots>
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { ListboxRootProps, ListboxRootEmits } from 'reka-ui'
|
import type { ListboxRootProps, ListboxRootEmits } from 'reka-ui'
|
||||||
import type { FuseResult } from 'fuse.js'
|
import type { FuseResult } from 'fuse.js'
|
||||||
@@ -130,6 +131,7 @@ export type CommandPaletteSlots<G extends { slot?: string }, T extends { slot?:
|
|||||||
'item-label': SlotProps<T>
|
'item-label': SlotProps<T>
|
||||||
'item-trailing': SlotProps<T>
|
'item-trailing': SlotProps<T>
|
||||||
} & DynamicSlots<G, SlotProps<T>> & DynamicSlots<T, SlotProps<T>>
|
} & DynamicSlots<G, SlotProps<T>> & DynamicSlots<T, SlotProps<T>>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts" generic="G extends CommandPaletteGroup<T>, T extends CommandPaletteItem">
|
<script setup lang="ts" generic="G extends CommandPaletteGroup<T>, T extends CommandPaletteItem">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { VariantProps } from 'tailwind-variants'
|
import type { VariantProps } from 'tailwind-variants'
|
||||||
import type { ContextMenuRootProps, ContextMenuRootEmits, ContextMenuContentProps } from 'reka-ui'
|
import type { ContextMenuRootProps, ContextMenuRootEmits, ContextMenuContentProps } from 'reka-ui'
|
||||||
@@ -93,6 +94,7 @@ export type ContextMenuSlots<T extends { slot?: string }> = {
|
|||||||
'item-label': SlotProps<T>
|
'item-label': SlotProps<T>
|
||||||
'item-trailing': SlotProps<T>
|
'item-trailing': SlotProps<T>
|
||||||
} & DynamicSlots<T, SlotProps<T>>
|
} & DynamicSlots<T, SlotProps<T>>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts" generic="T extends ContextMenuItem">
|
<script setup lang="ts" generic="T extends ContextMenuItem">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { VariantProps } from 'tailwind-variants'
|
import type { VariantProps } from 'tailwind-variants'
|
||||||
import type { DropdownMenuRootProps, DropdownMenuRootEmits, DropdownMenuContentProps, DropdownMenuArrowProps } from 'reka-ui'
|
import type { DropdownMenuRootProps, DropdownMenuRootEmits, DropdownMenuContentProps, DropdownMenuArrowProps } from 'reka-ui'
|
||||||
@@ -101,6 +102,7 @@ export type DropdownMenuSlots<T extends { slot?: string }> = {
|
|||||||
'item-label': SlotProps<T>
|
'item-label': SlotProps<T>
|
||||||
'item-trailing': SlotProps<T>
|
'item-trailing': SlotProps<T>
|
||||||
} & DynamicSlots<T, SlotProps<T>>
|
} & DynamicSlots<T, SlotProps<T>>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts" generic="T extends DropdownMenuItem">
|
<script setup lang="ts" generic="T extends DropdownMenuItem">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { VariantProps } from 'tailwind-variants'
|
import type { VariantProps } from 'tailwind-variants'
|
||||||
import type { NavigationMenuRootProps, NavigationMenuRootEmits, NavigationMenuContentProps, CollapsibleRootProps } from 'reka-ui'
|
import type { NavigationMenuRootProps, NavigationMenuRootEmits, NavigationMenuContentProps, CollapsibleRootProps } from 'reka-ui'
|
||||||
@@ -125,6 +126,7 @@ export type NavigationMenuSlots<T extends { slot?: string }> = {
|
|||||||
'item-trailing': SlotProps<T>
|
'item-trailing': SlotProps<T>
|
||||||
'item-content': SlotProps<T>
|
'item-content': SlotProps<T>
|
||||||
} & DynamicSlots<T, SlotProps<T>>
|
} & DynamicSlots<T, SlotProps<T>>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts" generic="T extends MaybeArrayOfArrayItem<I>, I extends MaybeArrayOfArray<NavigationMenuItem>">
|
<script setup lang="ts" generic="T extends MaybeArrayOfArrayItem<I>, I extends MaybeArrayOfArray<NavigationMenuItem>">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { VariantProps } from 'tailwind-variants'
|
import type { VariantProps } from 'tailwind-variants'
|
||||||
import type { PinInputRootEmits, PinInputRootProps } from 'reka-ui'
|
import type { PinInputRootEmits, PinInputRootProps } from 'reka-ui'
|
||||||
@@ -45,6 +46,7 @@ export type PinInputEmits = PinInputRootEmits & {
|
|||||||
change: [payload: Event]
|
change: [payload: Event]
|
||||||
blur: [payload: Event]
|
blur: [payload: Event]
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { VariantProps } from 'tailwind-variants'
|
import type { VariantProps } from 'tailwind-variants'
|
||||||
import type { StepperRootProps, StepperRootEmits } from 'reka-ui'
|
import type { StepperRootProps, StepperRootEmits } from 'reka-ui'
|
||||||
@@ -68,6 +69,7 @@ export type StepperSlots<T extends StepperItem> = {
|
|||||||
description: SlotProps<T>
|
description: SlotProps<T>
|
||||||
content: SlotProps<T>
|
content: SlotProps<T>
|
||||||
} & DynamicSlots<T, SlotProps<T>>
|
} & DynamicSlots<T, SlotProps<T>>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts" generic="T extends StepperItem">
|
<script setup lang="ts" generic="T extends StepperItem">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { VariantProps } from 'tailwind-variants'
|
import type { VariantProps } from 'tailwind-variants'
|
||||||
import type { TabsRootProps, TabsRootEmits } from 'reka-ui'
|
import type { TabsRootProps, TabsRootEmits } from 'reka-ui'
|
||||||
@@ -76,6 +77,7 @@ export type TabsSlots<T extends { slot?: string }> = {
|
|||||||
trailing: SlotProps<T>
|
trailing: SlotProps<T>
|
||||||
content: SlotProps<T>
|
content: SlotProps<T>
|
||||||
} & DynamicSlots<T, SlotProps<T>>
|
} & DynamicSlots<T, SlotProps<T>>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts" generic="T extends TabsItem">
|
<script setup lang="ts" generic="T extends TabsItem">
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
<!-- eslint-disable vue/block-tag-newline -->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import type { VariantProps } from 'tailwind-variants'
|
import type { VariantProps } from 'tailwind-variants'
|
||||||
import type { TreeRootProps, TreeRootEmits } from 'reka-ui'
|
import type { TreeRootProps, TreeRootEmits } from 'reka-ui'
|
||||||
@@ -97,6 +98,7 @@ export type TreeSlots<T extends { slot?: string }> = {
|
|||||||
'item-label': SlotProps<T>
|
'item-label': SlotProps<T>
|
||||||
'item-trailing': SlotProps<T>
|
'item-trailing': SlotProps<T>
|
||||||
} & DynamicSlots<T, SlotProps<T>>
|
} & DynamicSlots<T, SlotProps<T>>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script setup lang="ts" generic="T extends TreeItem, M extends boolean = false, K extends SelectItemKey<T> | undefined = undefined">
|
<script setup lang="ts" generic="T extends TreeItem, M extends boolean = false, K extends SelectItemKey<T> | undefined = undefined">
|
||||||
|
|||||||
Reference in New Issue
Block a user