mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 11:39:16 +01:00
chore: ⬆️ Upgrade to the latest Shadcn-Vue version
Some checks failed
Some checks failed
This commit is contained in:
parent
7649ecfb80
commit
092bce0f24
169 changed files with 1860 additions and 1088 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import type { TabsRootEmits, TabsRootProps } from "radix-vue";
|
||||
import { TabsRoot, useForwardPropsEmits } from "radix-vue";
|
||||
import type { TabsRootEmits, TabsRootProps } from "reka-ui";
|
||||
import { TabsRoot, useForwardPropsEmits } from "reka-ui";
|
||||
|
||||
const props = defineProps<TabsRootProps>();
|
||||
const emits = defineEmits<TabsRootEmits>();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { cn } from "@/lib/utils";
|
||||
import { TabsContent, type TabsContentProps } from "radix-vue";
|
||||
import { TabsContent, type TabsContentProps } from "reka-ui";
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
|
||||
const props = defineProps<
|
||||
|
|
@ -17,7 +17,6 @@ const delegatedProps = computed(() => {
|
|||
<template>
|
||||
<TabsContent
|
||||
:class="cn('mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2', props.class)"
|
||||
data-component="tabpanel"
|
||||
v-bind="delegatedProps"
|
||||
>
|
||||
<slot />
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { cn } from "@/lib/utils";
|
||||
import { TabsList, type TabsListProps } from "radix-vue";
|
||||
import { TabsList, type TabsListProps } from "reka-ui";
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
|
||||
const props = defineProps<
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { cn } from "@/lib/utils";
|
||||
import { TabsTrigger, type TabsTriggerProps, useForwardProps } from "radix-vue";
|
||||
import { TabsTrigger, type TabsTriggerProps, useForwardProps } from "reka-ui";
|
||||
import { type HTMLAttributes, computed } from "vue";
|
||||
|
||||
const props = defineProps<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue